xaudio2_5: Forward to xaudio2_7.
[wine/multimedia.git] / configure
blob8af7bc8fc671b4eb3fdd0389ff1d0ec2bbdf7813
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.52.
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.7.52'
584 PACKAGE_STRING='Wine 1.7.52'
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 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
708 OTOOL
710 LDRPATH_LOCAL
711 LDRPATH_INSTALL
712 DLLFLAGS
713 DLLPREFIX
714 dlldir
716 OPENGL_LIBS
717 ICOTOOL
718 CONVERT
719 RSVG
720 FONTFORGE
721 PKG_CONFIG
722 MSGFMT
723 LDCONFIG
724 EGREP
725 GREP
726 LN_S
727 RANLIB
728 ARFLAGS
729 STRIP
730 ac_ct_AR
732 BISON
733 FLEX
734 TOOLSDIR
735 TARGETFLAGS
737 CPPBIN
738 ac_ct_CXX
739 CXXFLAGS
741 OBJEXT
742 EXEEXT
743 ac_ct_CC
744 CPPFLAGS
745 LDFLAGS
746 CFLAGS
748 SET_MAKE
749 host_os
750 host_vendor
751 host_cpu
752 host
753 build_os
754 build_vendor
755 build_cpu
756 build
757 target_alias
758 host_alias
759 build_alias
760 LIBS
761 ECHO_T
762 ECHO_N
763 ECHO_C
764 DEFS
765 mandir
766 localedir
767 libdir
768 psdir
769 pdfdir
770 dvidir
771 htmldir
772 infodir
773 docdir
774 oldincludedir
775 includedir
776 runstatedir
777 localstatedir
778 sharedstatedir
779 sysconfdir
780 datadir
781 datarootdir
782 libexecdir
783 sbindir
784 bindir
785 program_transform_name
786 prefix
787 exec_prefix
788 PACKAGE_URL
789 PACKAGE_BUGREPORT
790 PACKAGE_STRING
791 PACKAGE_VERSION
792 PACKAGE_TARNAME
793 PACKAGE_NAME
794 PATH_SEPARATOR
795 SHELL'
796 ac_subst_files=''
797 ac_user_opts='
798 enable_option_checking
799 enable_win16
800 enable_win64
801 enable_tests
802 enable_maintainer_mode
803 with_alsa
804 with_capi
805 with_cms
806 with_coreaudio
807 with_cups
808 with_curses
809 with_dbus
810 with_fontconfig
811 with_freetype
812 with_gettext
813 with_gettextpo
814 with_gphoto
815 with_glu
816 with_gnutls
817 with_gsm
818 with_gstreamer
819 with_hal
820 with_jpeg
821 with_ldap
822 with_mpg123
823 with_netapi
824 with_openal
825 with_opencl
826 with_opengl
827 with_osmesa
828 with_oss
829 with_pcap
830 with_png
831 with_pthread
832 with_sane
833 with_tiff
834 with_v4l
835 with_xcomposite
836 with_xcursor
837 with_xinerama
838 with_xinput
839 with_xinput2
840 with_xml
841 with_xrandr
842 with_xrender
843 with_xshape
844 with_xshm
845 with_xslt
846 with_xxf86vm
847 with_zlib
848 with_wine_tools
849 with_wine64
850 enable_largefile
851 with_x
852 enable_acledit
853 enable_aclui
854 enable_activeds
855 enable_actxprxy
856 enable_advapi32
857 enable_advpack
858 enable_amstream
859 enable_api_ms_win_core_com_l1_1_0
860 enable_api_ms_win_core_console_l1_1_0
861 enable_api_ms_win_core_datetime_l1_1_0
862 enable_api_ms_win_core_datetime_l1_1_1
863 enable_api_ms_win_core_debug_l1_1_0
864 enable_api_ms_win_core_debug_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_0
866 enable_api_ms_win_core_errorhandling_l1_1_1
867 enable_api_ms_win_core_errorhandling_l1_1_2
868 enable_api_ms_win_core_fibers_l1_1_0
869 enable_api_ms_win_core_fibers_l1_1_1
870 enable_api_ms_win_core_file_l1_1_0
871 enable_api_ms_win_core_file_l1_2_0
872 enable_api_ms_win_core_file_l2_1_0
873 enable_api_ms_win_core_file_l2_1_1
874 enable_api_ms_win_core_handle_l1_1_0
875 enable_api_ms_win_core_heap_l1_1_0
876 enable_api_ms_win_core_heap_l1_2_0
877 enable_api_ms_win_core_heap_obsolete_l1_1_0
878 enable_api_ms_win_core_interlocked_l1_1_0
879 enable_api_ms_win_core_interlocked_l1_2_0
880 enable_api_ms_win_core_io_l1_1_1
881 enable_api_ms_win_core_kernel32_legacy_l1_1_0
882 enable_api_ms_win_core_libraryloader_l1_1_0
883 enable_api_ms_win_core_libraryloader_l1_1_1
884 enable_api_ms_win_core_localization_l1_2_0
885 enable_api_ms_win_core_localization_l1_2_1
886 enable_api_ms_win_core_localization_obsolete_l1_1_0
887 enable_api_ms_win_core_localregistry_l1_1_0
888 enable_api_ms_win_core_memory_l1_1_0
889 enable_api_ms_win_core_memory_l1_1_1
890 enable_api_ms_win_core_misc_l1_1_0
891 enable_api_ms_win_core_namedpipe_l1_1_0
892 enable_api_ms_win_core_namedpipe_l1_2_0
893 enable_api_ms_win_core_processenvironment_l1_1_0
894 enable_api_ms_win_core_processenvironment_l1_2_0
895 enable_api_ms_win_core_processthreads_l1_1_0
896 enable_api_ms_win_core_processthreads_l1_1_1
897 enable_api_ms_win_core_processthreads_l1_1_2
898 enable_api_ms_win_core_profile_l1_1_0
899 enable_api_ms_win_core_psapi_l1_1_0
900 enable_api_ms_win_core_registry_l1_1_0
901 enable_api_ms_win_core_rtlsupport_l1_1_0
902 enable_api_ms_win_core_rtlsupport_l1_2_0
903 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
904 enable_api_ms_win_core_string_l1_1_0
905 enable_api_ms_win_core_synch_l1_1_0
906 enable_api_ms_win_core_synch_l1_2_0
907 enable_api_ms_win_core_sysinfo_l1_1_0
908 enable_api_ms_win_core_sysinfo_l1_2_0
909 enable_api_ms_win_core_sysinfo_l1_2_1
910 enable_api_ms_win_core_threadpool_legacy_l1_1_0
911 enable_api_ms_win_core_timezone_l1_1_0
912 enable_api_ms_win_core_url_l1_1_0
913 enable_api_ms_win_core_util_l1_1_0
914 enable_api_ms_win_core_winrt_error_l1_1_0
915 enable_api_ms_win_core_winrt_error_l1_1_1
916 enable_api_ms_win_core_winrt_l1_1_0
917 enable_api_ms_win_core_winrt_string_l1_1_0
918 enable_api_ms_win_core_xstate_l2_1_0
919 enable_api_ms_win_crt_conio_l1_1_0
920 enable_api_ms_win_crt_convert_l1_1_0
921 enable_api_ms_win_crt_environment_l1_1_0
922 enable_api_ms_win_crt_filesystem_l1_1_0
923 enable_api_ms_win_crt_heap_l1_1_0
924 enable_api_ms_win_crt_locale_l1_1_0
925 enable_api_ms_win_crt_math_l1_1_0
926 enable_api_ms_win_crt_multibyte_l1_1_0
927 enable_api_ms_win_crt_private_l1_1_0
928 enable_api_ms_win_crt_process_l1_1_0
929 enable_api_ms_win_crt_runtime_l1_1_0
930 enable_api_ms_win_crt_stdio_l1_1_0
931 enable_api_ms_win_crt_string_l1_1_0
932 enable_api_ms_win_crt_time_l1_1_0
933 enable_api_ms_win_crt_utility_l1_1_0
934 enable_api_ms_win_downlevel_advapi32_l1_1_0
935 enable_api_ms_win_downlevel_advapi32_l2_1_0
936 enable_api_ms_win_downlevel_normaliz_l1_1_0
937 enable_api_ms_win_downlevel_ole32_l1_1_0
938 enable_api_ms_win_downlevel_shell32_l1_1_0
939 enable_api_ms_win_downlevel_shlwapi_l1_1_0
940 enable_api_ms_win_downlevel_shlwapi_l2_1_0
941 enable_api_ms_win_downlevel_user32_l1_1_0
942 enable_api_ms_win_downlevel_version_l1_1_0
943 enable_api_ms_win_eventing_provider_l1_1_0
944 enable_api_ms_win_ntuser_dc_access_l1_1_0
945 enable_api_ms_win_security_base_l1_1_0
946 enable_api_ms_win_security_base_l1_2_0
947 enable_api_ms_win_security_sddl_l1_1_0
948 enable_api_ms_win_service_core_l1_1_1
949 enable_api_ms_win_service_management_l1_1_0
950 enable_api_ms_win_service_winsvc_l1_2_0
951 enable_apphelp
952 enable_appwiz_cpl
953 enable_atl
954 enable_atl100
955 enable_atl110
956 enable_atl80
957 enable_atl90
958 enable_authz
959 enable_avicap32
960 enable_avifil32
961 enable_avrt
962 enable_bcrypt
963 enable_browseui
964 enable_cabinet
965 enable_capi2032
966 enable_cards
967 enable_cfgmgr32
968 enable_clusapi
969 enable_combase
970 enable_comcat
971 enable_comctl32
972 enable_comdlg32
973 enable_compstui
974 enable_comsvcs
975 enable_connect
976 enable_credui
977 enable_crtdll
978 enable_crypt32
979 enable_cryptdlg
980 enable_cryptdll
981 enable_cryptext
982 enable_cryptnet
983 enable_cryptui
984 enable_ctapi32
985 enable_ctl3d32
986 enable_d2d1
987 enable_d3d10
988 enable_d3d10_1
989 enable_d3d10core
990 enable_d3d11
991 enable_d3d8
992 enable_d3d9
993 enable_d3dcompiler_33
994 enable_d3dcompiler_34
995 enable_d3dcompiler_35
996 enable_d3dcompiler_36
997 enable_d3dcompiler_37
998 enable_d3dcompiler_38
999 enable_d3dcompiler_39
1000 enable_d3dcompiler_40
1001 enable_d3dcompiler_41
1002 enable_d3dcompiler_42
1003 enable_d3dcompiler_43
1004 enable_d3dcompiler_46
1005 enable_d3dcompiler_47
1006 enable_d3dim
1007 enable_d3drm
1008 enable_d3dx10_33
1009 enable_d3dx10_34
1010 enable_d3dx10_35
1011 enable_d3dx10_36
1012 enable_d3dx10_37
1013 enable_d3dx10_38
1014 enable_d3dx10_39
1015 enable_d3dx10_40
1016 enable_d3dx10_41
1017 enable_d3dx10_42
1018 enable_d3dx10_43
1019 enable_d3dx11_42
1020 enable_d3dx11_43
1021 enable_d3dx9_24
1022 enable_d3dx9_25
1023 enable_d3dx9_26
1024 enable_d3dx9_27
1025 enable_d3dx9_28
1026 enable_d3dx9_29
1027 enable_d3dx9_30
1028 enable_d3dx9_31
1029 enable_d3dx9_32
1030 enable_d3dx9_33
1031 enable_d3dx9_34
1032 enable_d3dx9_35
1033 enable_d3dx9_36
1034 enable_d3dx9_37
1035 enable_d3dx9_38
1036 enable_d3dx9_39
1037 enable_d3dx9_40
1038 enable_d3dx9_41
1039 enable_d3dx9_42
1040 enable_d3dx9_43
1041 enable_d3dxof
1042 enable_davclnt
1043 enable_dbgeng
1044 enable_dbghelp
1045 enable_dciman32
1046 enable_ddraw
1047 enable_ddrawex
1048 enable_devenum
1049 enable_dhcpcsvc
1050 enable_difxapi
1051 enable_dinput
1052 enable_dinput8
1053 enable_dispex
1054 enable_dmband
1055 enable_dmcompos
1056 enable_dmime
1057 enable_dmloader
1058 enable_dmscript
1059 enable_dmstyle
1060 enable_dmsynth
1061 enable_dmusic
1062 enable_dmusic32
1063 enable_dnsapi
1064 enable_dplay
1065 enable_dplayx
1066 enable_dpnaddr
1067 enable_dpnet
1068 enable_dpnhpast
1069 enable_dpnlobby
1070 enable_dpvoice
1071 enable_dpwsockx
1072 enable_drmclien
1073 enable_dsound
1074 enable_dssenh
1075 enable_dswave
1076 enable_dwmapi
1077 enable_dwrite
1078 enable_dxdiagn
1079 enable_dxgi
1080 enable_dxva2
1081 enable_esent
1082 enable_evr
1083 enable_explorerframe
1084 enable_ext_ms_win_gdi_devcaps_l1_1_0
1085 enable_faultrep
1086 enable_fltlib
1087 enable_fntcache
1088 enable_fontsub
1089 enable_fusion
1090 enable_fwpuclnt
1091 enable_gameux
1092 enable_gdi32
1093 enable_gdiplus
1094 enable_glu32
1095 enable_gphoto2_ds
1096 enable_gpkcsp
1097 enable_hal
1098 enable_hhctrl_ocx
1099 enable_hid
1100 enable_hidclass_sys
1101 enable_hlink
1102 enable_hnetcfg
1103 enable_httpapi
1104 enable_iccvid
1105 enable_icmp
1106 enable_ieframe
1107 enable_imaadp32_acm
1108 enable_imagehlp
1109 enable_imm32
1110 enable_inetcomm
1111 enable_inetcpl_cpl
1112 enable_inetmib1
1113 enable_infosoft
1114 enable_initpki
1115 enable_inkobj
1116 enable_inseng
1117 enable_iphlpapi
1118 enable_itircl
1119 enable_itss
1120 enable_joy_cpl
1121 enable_jscript
1122 enable_jsproxy
1123 enable_kernel32
1124 enable_ksuser
1125 enable_ktmw32
1126 enable_loadperf
1127 enable_localspl
1128 enable_localui
1129 enable_lz32
1130 enable_mapi32
1131 enable_mapistub
1132 enable_mciavi32
1133 enable_mcicda
1134 enable_mciqtz32
1135 enable_mciseq
1136 enable_mciwave
1137 enable_mf
1138 enable_mfplat
1139 enable_mfreadwrite
1140 enable_mgmtapi
1141 enable_midimap
1142 enable_mlang
1143 enable_mmcndmgr
1144 enable_mmdevapi
1145 enable_mountmgr_sys
1146 enable_mpr
1147 enable_mprapi
1148 enable_msacm32_drv
1149 enable_msacm32
1150 enable_msadp32_acm
1151 enable_msasn1
1152 enable_mscat32
1153 enable_mscms
1154 enable_mscoree
1155 enable_msctf
1156 enable_msctfp
1157 enable_msdaps
1158 enable_msdelta
1159 enable_msdmo
1160 enable_msftedit
1161 enable_msg711_acm
1162 enable_msgsm32_acm
1163 enable_mshtml_tlb
1164 enable_mshtml
1165 enable_msi
1166 enable_msident
1167 enable_msimg32
1168 enable_msimsg
1169 enable_msimtf
1170 enable_msisip
1171 enable_msisys_ocx
1172 enable_msls31
1173 enable_msnet32
1174 enable_mspatcha
1175 enable_msrle32
1176 enable_msscript_ocx
1177 enable_mssign32
1178 enable_mssip32
1179 enable_mstask
1180 enable_msvcirt
1181 enable_msvcm80
1182 enable_msvcm90
1183 enable_msvcp100
1184 enable_msvcp110
1185 enable_msvcp120
1186 enable_msvcp120_app
1187 enable_msvcp60
1188 enable_msvcp70
1189 enable_msvcp71
1190 enable_msvcp80
1191 enable_msvcp90
1192 enable_msvcr100
1193 enable_msvcr110
1194 enable_msvcr120
1195 enable_msvcr120_app
1196 enable_msvcr70
1197 enable_msvcr71
1198 enable_msvcr80
1199 enable_msvcr90
1200 enable_msvcrt
1201 enable_msvcrt20
1202 enable_msvcrt40
1203 enable_msvcrtd
1204 enable_msvfw32
1205 enable_msvidc32
1206 enable_mswsock
1207 enable_msxml
1208 enable_msxml2
1209 enable_msxml3
1210 enable_msxml4
1211 enable_msxml6
1212 enable_nddeapi
1213 enable_ndis_sys
1214 enable_netapi32
1215 enable_netcfgx
1216 enable_netprofm
1217 enable_newdev
1218 enable_normaliz
1219 enable_npmshtml
1220 enable_npptools
1221 enable_ntdll
1222 enable_ntdsapi
1223 enable_ntoskrnl_exe
1224 enable_ntprint
1225 enable_objsel
1226 enable_odbc32
1227 enable_odbccp32
1228 enable_odbccu32
1229 enable_ole32
1230 enable_oleacc
1231 enable_oleaut32
1232 enable_olecli32
1233 enable_oledb32
1234 enable_oledlg
1235 enable_olepro32
1236 enable_olesvr32
1237 enable_olethk32
1238 enable_openal32
1239 enable_opencl
1240 enable_opengl32
1241 enable_packager
1242 enable_pdh
1243 enable_photometadatahandler
1244 enable_pidgen
1245 enable_powrprof
1246 enable_printui
1247 enable_prntvpt
1248 enable_propsys
1249 enable_psapi
1250 enable_pstorec
1251 enable_qcap
1252 enable_qedit
1253 enable_qmgr
1254 enable_qmgrprxy
1255 enable_quartz
1256 enable_query
1257 enable_rasapi32
1258 enable_rasdlg
1259 enable_regapi
1260 enable_resutils
1261 enable_riched20
1262 enable_riched32
1263 enable_rpcrt4
1264 enable_rsabase
1265 enable_rsaenh
1266 enable_rstrtmgr
1267 enable_rtutils
1268 enable_samlib
1269 enable_sane_ds
1270 enable_scarddlg
1271 enable_sccbase
1272 enable_schannel
1273 enable_schedsvc
1274 enable_scrrun
1275 enable_scsiport_sys
1276 enable_secur32
1277 enable_security
1278 enable_sensapi
1279 enable_serialui
1280 enable_setupapi
1281 enable_sfc
1282 enable_sfc_os
1283 enable_shdoclc
1284 enable_shdocvw
1285 enable_shell32
1286 enable_shfolder
1287 enable_shlwapi
1288 enable_slbcsp
1289 enable_slc
1290 enable_snmpapi
1291 enable_softpub
1292 enable_spoolss
1293 enable_stdole2_tlb
1294 enable_stdole32_tlb
1295 enable_sti
1296 enable_svrapi
1297 enable_sxs
1298 enable_t2embed
1299 enable_tapi32
1300 enable_taskschd
1301 enable_traffic
1302 enable_twain_32
1303 enable_ucrtbase
1304 enable_unicows
1305 enable_updspapi
1306 enable_url
1307 enable_urlmon
1308 enable_usbd_sys
1309 enable_user32
1310 enable_userenv
1311 enable_usp10
1312 enable_uxtheme
1313 enable_vbscript
1314 enable_vcomp
1315 enable_vcomp100
1316 enable_vcomp110
1317 enable_vcomp90
1318 enable_vdmdbg
1319 enable_version
1320 enable_vssapi
1321 enable_wbemdisp
1322 enable_wbemprox
1323 enable_webservices
1324 enable_wer
1325 enable_wevtapi
1326 enable_wiaservc
1327 enable_windowscodecs
1328 enable_windowscodecsext
1329 enable_winealsa_drv
1330 enable_winecoreaudio_drv
1331 enable_wined3d
1332 enable_winegstreamer
1333 enable_winejoystick_drv
1334 enable_winemac_drv
1335 enable_winemapi
1336 enable_winemp3_acm
1337 enable_wineoss_drv
1338 enable_wineps_drv
1339 enable_wineqtdecoder
1340 enable_winex11_drv
1341 enable_wing32
1342 enable_winhttp
1343 enable_wininet
1344 enable_winmm
1345 enable_winnls32
1346 enable_winscard
1347 enable_winspool_drv
1348 enable_winsta
1349 enable_wintab32
1350 enable_wintrust
1351 enable_wlanapi
1352 enable_wldap32
1353 enable_wmi
1354 enable_wmiutils
1355 enable_wmp
1356 enable_wmvcore
1357 enable_wnaspi32
1358 enable_wpcap
1359 enable_ws2_32
1360 enable_wshom_ocx
1361 enable_wsnmp32
1362 enable_wsock32
1363 enable_wtsapi32
1364 enable_wuapi
1365 enable_wuaueng
1366 enable_x3daudio1_1
1367 enable_x3daudio1_2
1368 enable_x3daudio1_3
1369 enable_x3daudio1_4
1370 enable_x3daudio1_5
1371 enable_x3daudio1_6
1372 enable_x3daudio1_7
1373 enable_xapofx1_1
1374 enable_xapofx1_3
1375 enable_xapofx1_4
1376 enable_xapofx1_5
1377 enable_xaudio2_3
1378 enable_xaudio2_4
1379 enable_xaudio2_5
1380 enable_xaudio2_7
1381 enable_xaudio2_8
1382 enable_xinput1_1
1383 enable_xinput1_2
1384 enable_xinput1_3
1385 enable_xinput1_4
1386 enable_xinput9_1_0
1387 enable_xmllite
1388 enable_xolehlp
1389 enable_xpsprint
1390 enable_xpssvcs
1391 enable_documentation
1392 enable_fonts
1393 enable_include
1394 enable_libs_port
1395 enable_libs_wine
1396 enable_libs_wpp
1397 enable_loader
1398 enable_arp
1399 enable_aspnet_regiis
1400 enable_attrib
1401 enable_cabarc
1402 enable_cacls
1403 enable_clock
1404 enable_cmd
1405 enable_conhost
1406 enable_control
1407 enable_cscript
1408 enable_dpnsvr
1409 enable_dxdiag
1410 enable_eject
1411 enable_expand
1412 enable_explorer
1413 enable_extrac32
1414 enable_findstr
1415 enable_hh
1416 enable_hostname
1417 enable_icinfo
1418 enable_iexplore
1419 enable_ipconfig
1420 enable_lodctr
1421 enable_mofcomp
1422 enable_mshta
1423 enable_msiexec
1424 enable_net
1425 enable_netsh
1426 enable_netstat
1427 enable_ngen
1428 enable_notepad
1429 enable_oleview
1430 enable_ping
1431 enable_plugplay
1432 enable_presentationfontcache
1433 enable_progman
1434 enable_reg
1435 enable_regasm
1436 enable_regedit
1437 enable_regsvcs
1438 enable_regsvr32
1439 enable_rpcss
1440 enable_rundll32
1441 enable_sc
1442 enable_schtasks
1443 enable_sdbinst
1444 enable_secedit
1445 enable_servicemodelreg
1446 enable_services
1447 enable_spoolsv
1448 enable_start
1449 enable_svchost
1450 enable_systeminfo
1451 enable_taskkill
1452 enable_tasklist
1453 enable_taskmgr
1454 enable_termsv
1455 enable_uninstaller
1456 enable_unlodctr
1457 enable_view
1458 enable_wevtutil
1459 enable_wineboot
1460 enable_winebrowser
1461 enable_winecfg
1462 enable_wineconsole
1463 enable_winedbg
1464 enable_winedevice
1465 enable_winefile
1466 enable_winemenubuilder
1467 enable_winemine
1468 enable_winemsibuilder
1469 enable_winepath
1470 enable_winetest
1471 enable_winhlp32
1472 enable_winver
1473 enable_wmic
1474 enable_wordpad
1475 enable_write
1476 enable_wscript
1477 enable_wusa
1478 enable_xcopy
1479 enable_server
1480 enable_tools
1482 ac_precious_vars='build_alias
1483 host_alias
1484 target_alias
1486 CFLAGS
1487 LDFLAGS
1488 LIBS
1489 CPPFLAGS
1491 CXXFLAGS
1494 XMKMF
1495 XML2_CFLAGS
1496 XML2_LIBS
1497 XSLT_CFLAGS
1498 XSLT_LIBS
1499 DBUS_CFLAGS
1500 DBUS_LIBS
1501 HAL_CFLAGS
1502 HAL_LIBS
1503 GNUTLS_CFLAGS
1504 GNUTLS_LIBS
1505 SANE_CFLAGS
1506 SANE_LIBS
1507 GPHOTO2_CFLAGS
1508 GPHOTO2_LIBS
1509 GPHOTO2_PORT_CFLAGS
1510 GPHOTO2_PORT_LIBS
1511 LCMS2_CFLAGS
1512 LCMS2_LIBS
1513 FREETYPE_CFLAGS
1514 FREETYPE_LIBS
1515 GSTREAMER_CFLAGS
1516 GSTREAMER_LIBS
1517 CAPI20_CFLAGS
1518 CAPI20_LIBS
1519 FONTCONFIG_CFLAGS
1520 FONTCONFIG_LIBS
1521 JPEG_CFLAGS
1522 JPEG_LIBS
1523 PNG_CFLAGS
1524 PNG_LIBS
1525 TIFF_CFLAGS
1526 TIFF_LIBS
1527 MPG123_CFLAGS
1528 MPG123_LIBS'
1531 # Initialize some variables set by options.
1532 ac_init_help=
1533 ac_init_version=false
1534 ac_unrecognized_opts=
1535 ac_unrecognized_sep=
1536 # The variables have the same names as the options, with
1537 # dashes changed to underlines.
1538 cache_file=/dev/null
1539 exec_prefix=NONE
1540 no_create=
1541 no_recursion=
1542 prefix=NONE
1543 program_prefix=NONE
1544 program_suffix=NONE
1545 program_transform_name=s,x,x,
1546 silent=
1547 site=
1548 srcdir=
1549 verbose=
1550 x_includes=NONE
1551 x_libraries=NONE
1553 # Installation directory options.
1554 # These are left unexpanded so users can "make install exec_prefix=/foo"
1555 # and all the variables that are supposed to be based on exec_prefix
1556 # by default will actually change.
1557 # Use braces instead of parens because sh, perl, etc. also accept them.
1558 # (The list follows the same order as the GNU Coding Standards.)
1559 bindir='${exec_prefix}/bin'
1560 sbindir='${exec_prefix}/sbin'
1561 libexecdir='${exec_prefix}/libexec'
1562 datarootdir='${prefix}/share'
1563 datadir='${datarootdir}'
1564 sysconfdir='${prefix}/etc'
1565 sharedstatedir='${prefix}/com'
1566 localstatedir='${prefix}/var'
1567 runstatedir='${localstatedir}/run'
1568 includedir='${prefix}/include'
1569 oldincludedir='/usr/include'
1570 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1571 infodir='${datarootdir}/info'
1572 htmldir='${docdir}'
1573 dvidir='${docdir}'
1574 pdfdir='${docdir}'
1575 psdir='${docdir}'
1576 libdir='${exec_prefix}/lib'
1577 localedir='${datarootdir}/locale'
1578 mandir='${datarootdir}/man'
1580 ac_prev=
1581 ac_dashdash=
1582 for ac_option
1584 # If the previous option needs an argument, assign it.
1585 if test -n "$ac_prev"; then
1586 eval $ac_prev=\$ac_option
1587 ac_prev=
1588 continue
1591 case $ac_option in
1592 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1593 *=) ac_optarg= ;;
1594 *) ac_optarg=yes ;;
1595 esac
1597 # Accept the important Cygnus configure options, so we can diagnose typos.
1599 case $ac_dashdash$ac_option in
1601 ac_dashdash=yes ;;
1603 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1604 ac_prev=bindir ;;
1605 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1606 bindir=$ac_optarg ;;
1608 -build | --build | --buil | --bui | --bu)
1609 ac_prev=build_alias ;;
1610 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1611 build_alias=$ac_optarg ;;
1613 -cache-file | --cache-file | --cache-fil | --cache-fi \
1614 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1615 ac_prev=cache_file ;;
1616 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1617 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1618 cache_file=$ac_optarg ;;
1620 --config-cache | -C)
1621 cache_file=config.cache ;;
1623 -datadir | --datadir | --datadi | --datad)
1624 ac_prev=datadir ;;
1625 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1626 datadir=$ac_optarg ;;
1628 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1629 | --dataroo | --dataro | --datar)
1630 ac_prev=datarootdir ;;
1631 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1632 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1633 datarootdir=$ac_optarg ;;
1635 -disable-* | --disable-*)
1636 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1637 # Reject names that are not valid shell variable names.
1638 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1639 as_fn_error $? "invalid feature name: $ac_useropt"
1640 ac_useropt_orig=$ac_useropt
1641 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1642 case $ac_user_opts in
1644 "enable_$ac_useropt"
1645 "*) ;;
1646 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1647 ac_unrecognized_sep=', ';;
1648 esac
1649 eval enable_$ac_useropt=no ;;
1651 -docdir | --docdir | --docdi | --doc | --do)
1652 ac_prev=docdir ;;
1653 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1654 docdir=$ac_optarg ;;
1656 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1657 ac_prev=dvidir ;;
1658 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1659 dvidir=$ac_optarg ;;
1661 -enable-* | --enable-*)
1662 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1663 # Reject names that are not valid shell variable names.
1664 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1665 as_fn_error $? "invalid feature name: $ac_useropt"
1666 ac_useropt_orig=$ac_useropt
1667 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1668 case $ac_user_opts in
1670 "enable_$ac_useropt"
1671 "*) ;;
1672 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1673 ac_unrecognized_sep=', ';;
1674 esac
1675 eval enable_$ac_useropt=\$ac_optarg ;;
1677 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1678 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1679 | --exec | --exe | --ex)
1680 ac_prev=exec_prefix ;;
1681 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1682 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1683 | --exec=* | --exe=* | --ex=*)
1684 exec_prefix=$ac_optarg ;;
1686 -gas | --gas | --ga | --g)
1687 # Obsolete; use --with-gas.
1688 with_gas=yes ;;
1690 -help | --help | --hel | --he | -h)
1691 ac_init_help=long ;;
1692 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1693 ac_init_help=recursive ;;
1694 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1695 ac_init_help=short ;;
1697 -host | --host | --hos | --ho)
1698 ac_prev=host_alias ;;
1699 -host=* | --host=* | --hos=* | --ho=*)
1700 host_alias=$ac_optarg ;;
1702 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1703 ac_prev=htmldir ;;
1704 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1705 | --ht=*)
1706 htmldir=$ac_optarg ;;
1708 -includedir | --includedir | --includedi | --included | --include \
1709 | --includ | --inclu | --incl | --inc)
1710 ac_prev=includedir ;;
1711 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1712 | --includ=* | --inclu=* | --incl=* | --inc=*)
1713 includedir=$ac_optarg ;;
1715 -infodir | --infodir | --infodi | --infod | --info | --inf)
1716 ac_prev=infodir ;;
1717 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1718 infodir=$ac_optarg ;;
1720 -libdir | --libdir | --libdi | --libd)
1721 ac_prev=libdir ;;
1722 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1723 libdir=$ac_optarg ;;
1725 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1726 | --libexe | --libex | --libe)
1727 ac_prev=libexecdir ;;
1728 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1729 | --libexe=* | --libex=* | --libe=*)
1730 libexecdir=$ac_optarg ;;
1732 -localedir | --localedir | --localedi | --localed | --locale)
1733 ac_prev=localedir ;;
1734 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1735 localedir=$ac_optarg ;;
1737 -localstatedir | --localstatedir | --localstatedi | --localstated \
1738 | --localstate | --localstat | --localsta | --localst | --locals)
1739 ac_prev=localstatedir ;;
1740 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1741 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1742 localstatedir=$ac_optarg ;;
1744 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1745 ac_prev=mandir ;;
1746 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1747 mandir=$ac_optarg ;;
1749 -nfp | --nfp | --nf)
1750 # Obsolete; use --without-fp.
1751 with_fp=no ;;
1753 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1754 | --no-cr | --no-c | -n)
1755 no_create=yes ;;
1757 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1758 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1759 no_recursion=yes ;;
1761 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1762 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1763 | --oldin | --oldi | --old | --ol | --o)
1764 ac_prev=oldincludedir ;;
1765 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1766 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1767 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1768 oldincludedir=$ac_optarg ;;
1770 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1771 ac_prev=prefix ;;
1772 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1773 prefix=$ac_optarg ;;
1775 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1776 | --program-pre | --program-pr | --program-p)
1777 ac_prev=program_prefix ;;
1778 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1779 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1780 program_prefix=$ac_optarg ;;
1782 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1783 | --program-suf | --program-su | --program-s)
1784 ac_prev=program_suffix ;;
1785 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1786 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1787 program_suffix=$ac_optarg ;;
1789 -program-transform-name | --program-transform-name \
1790 | --program-transform-nam | --program-transform-na \
1791 | --program-transform-n | --program-transform- \
1792 | --program-transform | --program-transfor \
1793 | --program-transfo | --program-transf \
1794 | --program-trans | --program-tran \
1795 | --progr-tra | --program-tr | --program-t)
1796 ac_prev=program_transform_name ;;
1797 -program-transform-name=* | --program-transform-name=* \
1798 | --program-transform-nam=* | --program-transform-na=* \
1799 | --program-transform-n=* | --program-transform-=* \
1800 | --program-transform=* | --program-transfor=* \
1801 | --program-transfo=* | --program-transf=* \
1802 | --program-trans=* | --program-tran=* \
1803 | --progr-tra=* | --program-tr=* | --program-t=*)
1804 program_transform_name=$ac_optarg ;;
1806 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1807 ac_prev=pdfdir ;;
1808 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1809 pdfdir=$ac_optarg ;;
1811 -psdir | --psdir | --psdi | --psd | --ps)
1812 ac_prev=psdir ;;
1813 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1814 psdir=$ac_optarg ;;
1816 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1817 | -silent | --silent | --silen | --sile | --sil)
1818 silent=yes ;;
1820 -runstatedir | --runstatedir | --runstatedi | --runstated \
1821 | --runstate | --runstat | --runsta | --runst | --runs \
1822 | --run | --ru | --r)
1823 ac_prev=runstatedir ;;
1824 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1825 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1826 | --run=* | --ru=* | --r=*)
1827 runstatedir=$ac_optarg ;;
1829 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1830 ac_prev=sbindir ;;
1831 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1832 | --sbi=* | --sb=*)
1833 sbindir=$ac_optarg ;;
1835 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1836 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1837 | --sharedst | --shareds | --shared | --share | --shar \
1838 | --sha | --sh)
1839 ac_prev=sharedstatedir ;;
1840 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1841 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1842 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1843 | --sha=* | --sh=*)
1844 sharedstatedir=$ac_optarg ;;
1846 -site | --site | --sit)
1847 ac_prev=site ;;
1848 -site=* | --site=* | --sit=*)
1849 site=$ac_optarg ;;
1851 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1852 ac_prev=srcdir ;;
1853 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1854 srcdir=$ac_optarg ;;
1856 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1857 | --syscon | --sysco | --sysc | --sys | --sy)
1858 ac_prev=sysconfdir ;;
1859 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1860 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1861 sysconfdir=$ac_optarg ;;
1863 -target | --target | --targe | --targ | --tar | --ta | --t)
1864 ac_prev=target_alias ;;
1865 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1866 target_alias=$ac_optarg ;;
1868 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1869 verbose=yes ;;
1871 -version | --version | --versio | --versi | --vers | -V)
1872 ac_init_version=: ;;
1874 -with-* | --with-*)
1875 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1876 # Reject names that are not valid shell variable names.
1877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1878 as_fn_error $? "invalid package name: $ac_useropt"
1879 ac_useropt_orig=$ac_useropt
1880 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1881 case $ac_user_opts in
1883 "with_$ac_useropt"
1884 "*) ;;
1885 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1886 ac_unrecognized_sep=', ';;
1887 esac
1888 eval with_$ac_useropt=\$ac_optarg ;;
1890 -without-* | --without-*)
1891 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1892 # Reject names that are not valid shell variable names.
1893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1894 as_fn_error $? "invalid package name: $ac_useropt"
1895 ac_useropt_orig=$ac_useropt
1896 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1897 case $ac_user_opts in
1899 "with_$ac_useropt"
1900 "*) ;;
1901 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1902 ac_unrecognized_sep=', ';;
1903 esac
1904 eval with_$ac_useropt=no ;;
1906 --x)
1907 # Obsolete; use --with-x.
1908 with_x=yes ;;
1910 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1911 | --x-incl | --x-inc | --x-in | --x-i)
1912 ac_prev=x_includes ;;
1913 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1914 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1915 x_includes=$ac_optarg ;;
1917 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1918 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1919 ac_prev=x_libraries ;;
1920 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1921 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1922 x_libraries=$ac_optarg ;;
1924 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1925 Try \`$0 --help' for more information"
1928 *=*)
1929 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1930 # Reject names that are not valid shell variable names.
1931 case $ac_envvar in #(
1932 '' | [0-9]* | *[!_$as_cr_alnum]* )
1933 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1934 esac
1935 eval $ac_envvar=\$ac_optarg
1936 export $ac_envvar ;;
1939 # FIXME: should be removed in autoconf 3.0.
1940 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1941 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1942 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1943 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1946 esac
1947 done
1949 if test -n "$ac_prev"; then
1950 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1951 as_fn_error $? "missing argument to $ac_option"
1954 if test -n "$ac_unrecognized_opts"; then
1955 case $enable_option_checking in
1956 no) ;;
1957 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1958 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1959 esac
1962 # Check all directory arguments for consistency.
1963 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1964 datadir sysconfdir sharedstatedir localstatedir includedir \
1965 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1966 libdir localedir mandir runstatedir
1968 eval ac_val=\$$ac_var
1969 # Remove trailing slashes.
1970 case $ac_val in
1971 */ )
1972 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1973 eval $ac_var=\$ac_val;;
1974 esac
1975 # Be sure to have absolute directory names.
1976 case $ac_val in
1977 [\\/$]* | ?:[\\/]* ) continue;;
1978 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1979 esac
1980 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1981 done
1983 # There might be people who depend on the old broken behavior: `$host'
1984 # used to hold the argument of --host etc.
1985 # FIXME: To remove some day.
1986 build=$build_alias
1987 host=$host_alias
1988 target=$target_alias
1990 # FIXME: To remove some day.
1991 if test "x$host_alias" != x; then
1992 if test "x$build_alias" = x; then
1993 cross_compiling=maybe
1994 elif test "x$build_alias" != "x$host_alias"; then
1995 cross_compiling=yes
1999 ac_tool_prefix=
2000 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2002 test "$silent" = yes && exec 6>/dev/null
2005 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2006 ac_ls_di=`ls -di .` &&
2007 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2008 as_fn_error $? "working directory cannot be determined"
2009 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2010 as_fn_error $? "pwd does not report name of working directory"
2013 # Find the source files, if location was not specified.
2014 if test -z "$srcdir"; then
2015 ac_srcdir_defaulted=yes
2016 # Try the directory containing this script, then the parent directory.
2017 ac_confdir=`$as_dirname -- "$as_myself" ||
2018 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2019 X"$as_myself" : 'X\(//\)[^/]' \| \
2020 X"$as_myself" : 'X\(//\)$' \| \
2021 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2022 $as_echo X"$as_myself" |
2023 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2024 s//\1/
2027 /^X\(\/\/\)[^/].*/{
2028 s//\1/
2031 /^X\(\/\/\)$/{
2032 s//\1/
2035 /^X\(\/\).*/{
2036 s//\1/
2039 s/.*/./; q'`
2040 srcdir=$ac_confdir
2041 if test ! -r "$srcdir/$ac_unique_file"; then
2042 srcdir=..
2044 else
2045 ac_srcdir_defaulted=no
2047 if test ! -r "$srcdir/$ac_unique_file"; then
2048 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2049 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2051 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2052 ac_abs_confdir=`(
2053 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2054 pwd)`
2055 # When building in place, set srcdir=.
2056 if test "$ac_abs_confdir" = "$ac_pwd"; then
2057 srcdir=.
2059 # Remove unnecessary trailing slashes from srcdir.
2060 # Double slashes in file names in object file debugging info
2061 # mess up M-x gdb in Emacs.
2062 case $srcdir in
2063 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2064 esac
2065 for ac_var in $ac_precious_vars; do
2066 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2067 eval ac_env_${ac_var}_value=\$${ac_var}
2068 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2069 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2070 done
2073 # Report the --help message.
2075 if test "$ac_init_help" = "long"; then
2076 # Omit some internal or obsolete options to make the list less imposing.
2077 # This message is too long to be a string in the A/UX 3.1 sh.
2078 cat <<_ACEOF
2079 \`configure' configures Wine 1.7.52 to adapt to many kinds of systems.
2081 Usage: $0 [OPTION]... [VAR=VALUE]...
2083 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2084 VAR=VALUE. See below for descriptions of some of the useful variables.
2086 Defaults for the options are specified in brackets.
2088 Configuration:
2089 -h, --help display this help and exit
2090 --help=short display options specific to this package
2091 --help=recursive display the short help of all the included packages
2092 -V, --version display version information and exit
2093 -q, --quiet, --silent do not print \`checking ...' messages
2094 --cache-file=FILE cache test results in FILE [disabled]
2095 -C, --config-cache alias for \`--cache-file=config.cache'
2096 -n, --no-create do not create output files
2097 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2099 Installation directories:
2100 --prefix=PREFIX install architecture-independent files in PREFIX
2101 [$ac_default_prefix]
2102 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2103 [PREFIX]
2105 By default, \`make install' will install all the files in
2106 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2107 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2108 for instance \`--prefix=\$HOME'.
2110 For better control, use the options below.
2112 Fine tuning of the installation directories:
2113 --bindir=DIR user executables [EPREFIX/bin]
2114 --sbindir=DIR system admin executables [EPREFIX/sbin]
2115 --libexecdir=DIR program executables [EPREFIX/libexec]
2116 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2117 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2118 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2119 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2120 --libdir=DIR object code libraries [EPREFIX/lib]
2121 --includedir=DIR C header files [PREFIX/include]
2122 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2123 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2124 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2125 --infodir=DIR info documentation [DATAROOTDIR/info]
2126 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2127 --mandir=DIR man documentation [DATAROOTDIR/man]
2128 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2129 --htmldir=DIR html documentation [DOCDIR]
2130 --dvidir=DIR dvi documentation [DOCDIR]
2131 --pdfdir=DIR pdf documentation [DOCDIR]
2132 --psdir=DIR ps documentation [DOCDIR]
2133 _ACEOF
2135 cat <<\_ACEOF
2137 X features:
2138 --x-includes=DIR X include files are in DIR
2139 --x-libraries=DIR X library files are in DIR
2141 System types:
2142 --build=BUILD configure for building on BUILD [guessed]
2143 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2144 _ACEOF
2147 if test -n "$ac_init_help"; then
2148 case $ac_init_help in
2149 short | recursive ) echo "Configuration of Wine 1.7.52:";;
2150 esac
2151 cat <<\_ACEOF
2153 Optional Features:
2154 --disable-option-checking ignore unrecognized --enable/--with options
2155 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2156 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2157 --disable-win16 do not include Win16 support
2158 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2159 binaries)
2160 --disable-tests do not build the regression tests
2161 --enable-maintainer-mode
2162 enable maintainer-specific build rules
2163 --disable-largefile omit support for large files
2165 Optional Packages:
2166 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2167 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2168 --without-alsa do not use the Alsa sound support
2169 --without-capi do not use CAPI (ISDN support)
2170 --without-cms do not use CMS (color management support)
2171 --without-coreaudio do not use the CoreAudio sound support
2172 --without-cups do not use CUPS
2173 --without-curses do not use (n)curses
2174 --without-dbus do not use DBus (dynamic device support)
2175 --without-fontconfig do not use fontconfig
2176 --without-freetype do not use the FreeType library
2177 --without-gettext do not use gettext
2178 --with-gettextpo use the GetTextPO library to rebuild po files
2179 --without-gphoto do not use gphoto (Digital Camera support)
2180 --without-glu do not use the GLU library
2181 --without-gnutls do not use GnuTLS (schannel support)
2182 --without-gsm do not use libgsm (GSM 06.10 codec support)
2183 --without-gstreamer do not use GStreamer (codecs support)
2184 --without-hal do not use HAL (dynamic device support)
2185 --without-jpeg do not use JPEG
2186 --without-ldap do not use LDAP
2187 --without-mpg123 do not use the mpg123 library
2188 --without-netapi do not use the Samba NetAPI library
2189 --without-openal do not use OpenAL
2190 --without-opencl do not use OpenCL
2191 --without-opengl do not use OpenGL
2192 --without-osmesa do not use the OSMesa library
2193 --without-oss do not use the OSS sound support
2194 --without-pcap do not use the Packet Capture library
2195 --without-png do not use PNG
2196 --without-pthread do not use the pthread library
2197 --without-sane do not use SANE (scanner support)
2198 --without-tiff do not use TIFF
2199 --without-v4l do not use v4l1 (v4l support)
2200 --without-xcomposite do not use the Xcomposite extension
2201 --without-xcursor do not use the Xcursor extension
2202 --without-xinerama do not use Xinerama (multi-monitor support)
2203 --without-xinput do not use the Xinput extension
2204 --without-xinput2 do not use the Xinput 2 extension
2205 --without-xml do not use XML
2206 --without-xrandr do not use Xrandr (resolution changes)
2207 --without-xrender do not use the Xrender extension
2208 --without-xshape do not use the Xshape extension
2209 --without-xshm do not use XShm (shared memory extension)
2210 --without-xslt do not use XSLT
2211 --without-xxf86vm do not use XFree video mode extension
2212 --without-zlib do not use Zlib (data compression)
2213 --with-wine-tools=DIR use Wine tools from directory DIR
2214 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2215 --with-x use the X Window System
2217 Some influential environment variables:
2218 CC C compiler command
2219 CFLAGS C compiler flags
2220 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2221 nonstandard directory <lib dir>
2222 LIBS libraries to pass to the linker, e.g. -l<library>
2223 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2224 you have headers in a nonstandard directory <include dir>
2225 CXX C++ compiler command
2226 CXXFLAGS C++ compiler flags
2227 CPP C preprocessor
2228 XMKMF Path to xmkmf, Makefile generator for X Window System
2229 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2230 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2231 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2232 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2233 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2234 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2235 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2236 HAL_LIBS Linker flags for hal, overriding pkg-config
2237 GNUTLS_CFLAGS
2238 C compiler flags for gnutls, overriding pkg-config
2239 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2240 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2241 SANE_LIBS Linker flags for libsane, overriding pkg-config
2242 GPHOTO2_CFLAGS
2243 C compiler flags for libgphoto2, overriding pkg-config
2244 GPHOTO2_LIBS
2245 Linker flags for libgphoto2, overriding pkg-config
2246 GPHOTO2_PORT_CFLAGS
2247 C compiler flags for libgphoto2_port, overriding pkg-config
2248 GPHOTO2_PORT_LIBS
2249 Linker flags for libgphoto2_port, overriding pkg-config
2250 LCMS2_CFLAGS
2251 C compiler flags for lcms2, overriding pkg-config
2252 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2253 FREETYPE_CFLAGS
2254 C compiler flags for freetype2, overriding pkg-config
2255 FREETYPE_LIBS
2256 Linker flags for freetype2, overriding pkg-config
2257 GSTREAMER_CFLAGS
2258 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2259 GSTREAMER_LIBS
2260 Linker flags for gstreamer-app-0.10, overriding pkg-config
2261 CAPI20_CFLAGS
2262 C compiler flags for capi20, overriding pkg-config
2263 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2264 FONTCONFIG_CFLAGS
2265 C compiler flags for fontconfig, overriding pkg-config
2266 FONTCONFIG_LIBS
2267 Linker flags for fontconfig, overriding pkg-config
2268 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2269 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2270 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2271 PNG_LIBS Linker flags for libpng, overriding pkg-config
2272 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2273 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2274 MPG123_CFLAGS
2275 C compiler flags for libmpg123, overriding pkg-config
2276 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2278 Use these variables to override the choices made by `configure' or to help
2279 it to find libraries and programs with nonstandard names/locations.
2281 Report bugs to <wine-devel@winehq.org>.
2282 Wine home page: <http://www.winehq.org>.
2283 _ACEOF
2284 ac_status=$?
2287 if test "$ac_init_help" = "recursive"; then
2288 # If there are subdirs, report their specific --help.
2289 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2290 test -d "$ac_dir" ||
2291 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2292 continue
2293 ac_builddir=.
2295 case "$ac_dir" in
2296 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2298 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2299 # A ".." for each directory in $ac_dir_suffix.
2300 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2301 case $ac_top_builddir_sub in
2302 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2303 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2304 esac ;;
2305 esac
2306 ac_abs_top_builddir=$ac_pwd
2307 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2308 # for backward compatibility:
2309 ac_top_builddir=$ac_top_build_prefix
2311 case $srcdir in
2312 .) # We are building in place.
2313 ac_srcdir=.
2314 ac_top_srcdir=$ac_top_builddir_sub
2315 ac_abs_top_srcdir=$ac_pwd ;;
2316 [\\/]* | ?:[\\/]* ) # Absolute name.
2317 ac_srcdir=$srcdir$ac_dir_suffix;
2318 ac_top_srcdir=$srcdir
2319 ac_abs_top_srcdir=$srcdir ;;
2320 *) # Relative name.
2321 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2322 ac_top_srcdir=$ac_top_build_prefix$srcdir
2323 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2324 esac
2325 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2327 cd "$ac_dir" || { ac_status=$?; continue; }
2328 # Check for guested configure.
2329 if test -f "$ac_srcdir/configure.gnu"; then
2330 echo &&
2331 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2332 elif test -f "$ac_srcdir/configure"; then
2333 echo &&
2334 $SHELL "$ac_srcdir/configure" --help=recursive
2335 else
2336 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2337 fi || ac_status=$?
2338 cd "$ac_pwd" || { ac_status=$?; break; }
2339 done
2342 test -n "$ac_init_help" && exit $ac_status
2343 if $ac_init_version; then
2344 cat <<\_ACEOF
2345 Wine configure 1.7.52
2346 generated by GNU Autoconf 2.69
2348 Copyright (C) 2012 Free Software Foundation, Inc.
2349 This configure script is free software; the Free Software Foundation
2350 gives unlimited permission to copy, distribute and modify it.
2351 _ACEOF
2352 exit
2355 ## ------------------------ ##
2356 ## Autoconf initialization. ##
2357 ## ------------------------ ##
2359 # ac_fn_c_try_compile LINENO
2360 # --------------------------
2361 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2362 ac_fn_c_try_compile ()
2364 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2365 rm -f conftest.$ac_objext
2366 if { { ac_try="$ac_compile"
2367 case "(($ac_try" in
2368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2369 *) ac_try_echo=$ac_try;;
2370 esac
2371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2372 $as_echo "$ac_try_echo"; } >&5
2373 (eval "$ac_compile") 2>conftest.err
2374 ac_status=$?
2375 if test -s conftest.err; then
2376 grep -v '^ *+' conftest.err >conftest.er1
2377 cat conftest.er1 >&5
2378 mv -f conftest.er1 conftest.err
2380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2381 test $ac_status = 0; } && {
2382 test -z "$ac_c_werror_flag" ||
2383 test ! -s conftest.err
2384 } && test -s conftest.$ac_objext; then :
2385 ac_retval=0
2386 else
2387 $as_echo "$as_me: failed program was:" >&5
2388 sed 's/^/| /' conftest.$ac_ext >&5
2390 ac_retval=1
2392 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2393 as_fn_set_status $ac_retval
2395 } # ac_fn_c_try_compile
2397 # ac_fn_cxx_try_compile LINENO
2398 # ----------------------------
2399 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2400 ac_fn_cxx_try_compile ()
2402 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2403 rm -f conftest.$ac_objext
2404 if { { ac_try="$ac_compile"
2405 case "(($ac_try" in
2406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2407 *) ac_try_echo=$ac_try;;
2408 esac
2409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2410 $as_echo "$ac_try_echo"; } >&5
2411 (eval "$ac_compile") 2>conftest.err
2412 ac_status=$?
2413 if test -s conftest.err; then
2414 grep -v '^ *+' conftest.err >conftest.er1
2415 cat conftest.er1 >&5
2416 mv -f conftest.er1 conftest.err
2418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2419 test $ac_status = 0; } && {
2420 test -z "$ac_cxx_werror_flag" ||
2421 test ! -s conftest.err
2422 } && test -s conftest.$ac_objext; then :
2423 ac_retval=0
2424 else
2425 $as_echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.$ac_ext >&5
2428 ac_retval=1
2430 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2431 as_fn_set_status $ac_retval
2433 } # ac_fn_cxx_try_compile
2435 # ac_fn_c_try_link LINENO
2436 # -----------------------
2437 # Try to link conftest.$ac_ext, and return whether this succeeded.
2438 ac_fn_c_try_link ()
2440 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2441 rm -f conftest.$ac_objext conftest$ac_exeext
2442 if { { ac_try="$ac_link"
2443 case "(($ac_try" in
2444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2445 *) ac_try_echo=$ac_try;;
2446 esac
2447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2448 $as_echo "$ac_try_echo"; } >&5
2449 (eval "$ac_link") 2>conftest.err
2450 ac_status=$?
2451 if test -s conftest.err; then
2452 grep -v '^ *+' conftest.err >conftest.er1
2453 cat conftest.er1 >&5
2454 mv -f conftest.er1 conftest.err
2456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2457 test $ac_status = 0; } && {
2458 test -z "$ac_c_werror_flag" ||
2459 test ! -s conftest.err
2460 } && test -s conftest$ac_exeext && {
2461 test "$cross_compiling" = yes ||
2462 test -x conftest$ac_exeext
2463 }; then :
2464 ac_retval=0
2465 else
2466 $as_echo "$as_me: failed program was:" >&5
2467 sed 's/^/| /' conftest.$ac_ext >&5
2469 ac_retval=1
2471 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2472 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2473 # interfere with the next link command; also delete a directory that is
2474 # left behind by Apple's compiler. We do this before executing the actions.
2475 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2476 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2477 as_fn_set_status $ac_retval
2479 } # ac_fn_c_try_link
2481 # ac_fn_c_try_cpp LINENO
2482 # ----------------------
2483 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2484 ac_fn_c_try_cpp ()
2486 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2487 if { { ac_try="$ac_cpp conftest.$ac_ext"
2488 case "(($ac_try" in
2489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2490 *) ac_try_echo=$ac_try;;
2491 esac
2492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2493 $as_echo "$ac_try_echo"; } >&5
2494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2495 ac_status=$?
2496 if test -s conftest.err; then
2497 grep -v '^ *+' conftest.err >conftest.er1
2498 cat conftest.er1 >&5
2499 mv -f conftest.er1 conftest.err
2501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2502 test $ac_status = 0; } > conftest.i && {
2503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2504 test ! -s conftest.err
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 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2514 as_fn_set_status $ac_retval
2516 } # ac_fn_c_try_cpp
2518 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2519 # -------------------------------------------------------
2520 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2521 # the include files in INCLUDES and setting the cache variable VAR
2522 # accordingly.
2523 ac_fn_c_check_header_mongrel ()
2525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2526 if eval \${$3+:} false; then :
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2528 $as_echo_n "checking for $2... " >&6; }
2529 if eval \${$3+:} false; then :
2530 $as_echo_n "(cached) " >&6
2532 eval ac_res=\$$3
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2534 $as_echo "$ac_res" >&6; }
2535 else
2536 # Is the header compilable?
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2538 $as_echo_n "checking $2 usability... " >&6; }
2539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2540 /* end confdefs.h. */
2542 #include <$2>
2543 _ACEOF
2544 if ac_fn_c_try_compile "$LINENO"; then :
2545 ac_header_compiler=yes
2546 else
2547 ac_header_compiler=no
2549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2551 $as_echo "$ac_header_compiler" >&6; }
2553 # Is the header present?
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2555 $as_echo_n "checking $2 presence... " >&6; }
2556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2557 /* end confdefs.h. */
2558 #include <$2>
2559 _ACEOF
2560 if ac_fn_c_try_cpp "$LINENO"; then :
2561 ac_header_preproc=yes
2562 else
2563 ac_header_preproc=no
2565 rm -f conftest.err conftest.i conftest.$ac_ext
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2567 $as_echo "$ac_header_preproc" >&6; }
2569 # So? What about this header?
2570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2571 yes:no: )
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2573 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2575 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2577 no:yes:* )
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2579 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2581 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2583 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2585 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2587 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2588 ( $as_echo "## ------------------------------------ ##
2589 ## Report this to wine-devel@winehq.org ##
2590 ## ------------------------------------ ##"
2591 ) | sed "s/^/$as_me: WARNING: /" >&2
2593 esac
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2595 $as_echo_n "checking for $2... " >&6; }
2596 if eval \${$3+:} false; then :
2597 $as_echo_n "(cached) " >&6
2598 else
2599 eval "$3=\$ac_header_compiler"
2601 eval ac_res=\$$3
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2603 $as_echo "$ac_res" >&6; }
2605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2607 } # ac_fn_c_check_header_mongrel
2609 # ac_fn_c_try_run LINENO
2610 # ----------------------
2611 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2612 # that executables *can* be run.
2613 ac_fn_c_try_run ()
2615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2616 if { { ac_try="$ac_link"
2617 case "(($ac_try" in
2618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2620 esac
2621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2622 $as_echo "$ac_try_echo"; } >&5
2623 (eval "$ac_link") 2>&5
2624 ac_status=$?
2625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2626 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2627 { { case "(($ac_try" in
2628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2629 *) ac_try_echo=$ac_try;;
2630 esac
2631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2632 $as_echo "$ac_try_echo"; } >&5
2633 (eval "$ac_try") 2>&5
2634 ac_status=$?
2635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2636 test $ac_status = 0; }; }; then :
2637 ac_retval=0
2638 else
2639 $as_echo "$as_me: program exited with status $ac_status" >&5
2640 $as_echo "$as_me: failed program was:" >&5
2641 sed 's/^/| /' conftest.$ac_ext >&5
2643 ac_retval=$ac_status
2645 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2647 as_fn_set_status $ac_retval
2649 } # ac_fn_c_try_run
2651 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2652 # -------------------------------------------------------
2653 # Tests whether HEADER exists and can be compiled using the include files in
2654 # INCLUDES, setting the cache variable VAR accordingly.
2655 ac_fn_c_check_header_compile ()
2657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2659 $as_echo_n "checking for $2... " >&6; }
2660 if eval \${$3+:} false; then :
2661 $as_echo_n "(cached) " >&6
2662 else
2663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2664 /* end confdefs.h. */
2666 #include <$2>
2667 _ACEOF
2668 if ac_fn_c_try_compile "$LINENO"; then :
2669 eval "$3=yes"
2670 else
2671 eval "$3=no"
2673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2675 eval ac_res=\$$3
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2677 $as_echo "$ac_res" >&6; }
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2680 } # ac_fn_c_check_header_compile
2682 # ac_fn_c_check_func LINENO FUNC VAR
2683 # ----------------------------------
2684 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2685 ac_fn_c_check_func ()
2687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2689 $as_echo_n "checking for $2... " >&6; }
2690 if eval \${$3+:} false; then :
2691 $as_echo_n "(cached) " >&6
2692 else
2693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2694 /* end confdefs.h. */
2695 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2697 #define $2 innocuous_$2
2699 /* System header to define __stub macros and hopefully few prototypes,
2700 which can conflict with char $2 (); below.
2701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2702 <limits.h> exists even on freestanding compilers. */
2704 #ifdef __STDC__
2705 # include <limits.h>
2706 #else
2707 # include <assert.h>
2708 #endif
2710 #undef $2
2712 /* Override any GCC internal prototype to avoid an error.
2713 Use char because int might match the return type of a GCC
2714 builtin and then its argument prototype would still apply. */
2715 #ifdef __cplusplus
2716 extern "C"
2717 #endif
2718 char $2 ();
2719 /* The GNU C library defines this for functions which it implements
2720 to always fail with ENOSYS. Some functions are actually named
2721 something starting with __ and the normal name is an alias. */
2722 #if defined __stub_$2 || defined __stub___$2
2723 choke me
2724 #endif
2727 main ()
2729 return $2 ();
2731 return 0;
2733 _ACEOF
2734 if ac_fn_c_try_link "$LINENO"; then :
2735 eval "$3=yes"
2736 else
2737 eval "$3=no"
2739 rm -f core conftest.err conftest.$ac_objext \
2740 conftest$ac_exeext conftest.$ac_ext
2742 eval ac_res=\$$3
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2744 $as_echo "$ac_res" >&6; }
2745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2747 } # ac_fn_c_check_func
2749 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2750 # ----------------------------------------------------
2751 # Tries to find if the field MEMBER exists in type AGGR, after including
2752 # INCLUDES, setting cache variable VAR accordingly.
2753 ac_fn_c_check_member ()
2755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2757 $as_echo_n "checking for $2.$3... " >&6; }
2758 if eval \${$4+:} false; then :
2759 $as_echo_n "(cached) " >&6
2760 else
2761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2762 /* end confdefs.h. */
2765 main ()
2767 static $2 ac_aggr;
2768 if (ac_aggr.$3)
2769 return 0;
2771 return 0;
2773 _ACEOF
2774 if ac_fn_c_try_compile "$LINENO"; then :
2775 eval "$4=yes"
2776 else
2777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2781 main ()
2783 static $2 ac_aggr;
2784 if (sizeof ac_aggr.$3)
2785 return 0;
2787 return 0;
2789 _ACEOF
2790 if ac_fn_c_try_compile "$LINENO"; then :
2791 eval "$4=yes"
2792 else
2793 eval "$4=no"
2795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2799 eval ac_res=\$$4
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2801 $as_echo "$ac_res" >&6; }
2802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 } # ac_fn_c_check_member
2806 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2807 # -------------------------------------------
2808 # Tests whether TYPE exists after having included INCLUDES, setting cache
2809 # variable VAR accordingly.
2810 ac_fn_c_check_type ()
2812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2814 $as_echo_n "checking for $2... " >&6; }
2815 if eval \${$3+:} false; then :
2816 $as_echo_n "(cached) " >&6
2817 else
2818 eval "$3=no"
2819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2820 /* end confdefs.h. */
2823 main ()
2825 if (sizeof ($2))
2826 return 0;
2828 return 0;
2830 _ACEOF
2831 if ac_fn_c_try_compile "$LINENO"; then :
2832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2833 /* end confdefs.h. */
2836 main ()
2838 if (sizeof (($2)))
2839 return 0;
2841 return 0;
2843 _ACEOF
2844 if ac_fn_c_try_compile "$LINENO"; then :
2846 else
2847 eval "$3=yes"
2849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2853 eval ac_res=\$$3
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2855 $as_echo "$ac_res" >&6; }
2856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2858 } # ac_fn_c_check_type
2859 cat >config.log <<_ACEOF
2860 This file contains any messages produced by compilers while
2861 running configure, to aid debugging if configure makes a mistake.
2863 It was created by Wine $as_me 1.7.52, which was
2864 generated by GNU Autoconf 2.69. Invocation command line was
2866 $ $0 $@
2868 _ACEOF
2869 exec 5>>config.log
2871 cat <<_ASUNAME
2872 ## --------- ##
2873 ## Platform. ##
2874 ## --------- ##
2876 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2877 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2878 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2879 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2880 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2882 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2883 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2885 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2886 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2887 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2888 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2889 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2890 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2891 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2893 _ASUNAME
2895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2896 for as_dir in $PATH
2898 IFS=$as_save_IFS
2899 test -z "$as_dir" && as_dir=.
2900 $as_echo "PATH: $as_dir"
2901 done
2902 IFS=$as_save_IFS
2904 } >&5
2906 cat >&5 <<_ACEOF
2909 ## ----------- ##
2910 ## Core tests. ##
2911 ## ----------- ##
2913 _ACEOF
2916 # Keep a trace of the command line.
2917 # Strip out --no-create and --no-recursion so they do not pile up.
2918 # Strip out --silent because we don't want to record it for future runs.
2919 # Also quote any args containing shell meta-characters.
2920 # Make two passes to allow for proper duplicate-argument suppression.
2921 ac_configure_args=
2922 ac_configure_args0=
2923 ac_configure_args1=
2924 ac_must_keep_next=false
2925 for ac_pass in 1 2
2927 for ac_arg
2929 case $ac_arg in
2930 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2931 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2932 | -silent | --silent | --silen | --sile | --sil)
2933 continue ;;
2934 *\'*)
2935 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2936 esac
2937 case $ac_pass in
2938 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2940 as_fn_append ac_configure_args1 " '$ac_arg'"
2941 if test $ac_must_keep_next = true; then
2942 ac_must_keep_next=false # Got value, back to normal.
2943 else
2944 case $ac_arg in
2945 *=* | --config-cache | -C | -disable-* | --disable-* \
2946 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2947 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2948 | -with-* | --with-* | -without-* | --without-* | --x)
2949 case "$ac_configure_args0 " in
2950 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2951 esac
2953 -* ) ac_must_keep_next=true ;;
2954 esac
2956 as_fn_append ac_configure_args " '$ac_arg'"
2958 esac
2959 done
2960 done
2961 { ac_configure_args0=; unset ac_configure_args0;}
2962 { ac_configure_args1=; unset ac_configure_args1;}
2964 # When interrupted or exit'd, cleanup temporary files, and complete
2965 # config.log. We remove comments because anyway the quotes in there
2966 # would cause problems or look ugly.
2967 # WARNING: Use '\'' to represent an apostrophe within the trap.
2968 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2969 trap 'exit_status=$?
2970 # Save into config.log some information that might help in debugging.
2972 echo
2974 $as_echo "## ---------------- ##
2975 ## Cache variables. ##
2976 ## ---------------- ##"
2977 echo
2978 # The following way of writing the cache mishandles newlines in values,
2980 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2981 eval ac_val=\$$ac_var
2982 case $ac_val in #(
2983 *${as_nl}*)
2984 case $ac_var in #(
2985 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2986 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2987 esac
2988 case $ac_var in #(
2989 _ | IFS | as_nl) ;; #(
2990 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2991 *) { eval $ac_var=; unset $ac_var;} ;;
2992 esac ;;
2993 esac
2994 done
2995 (set) 2>&1 |
2996 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2997 *${as_nl}ac_space=\ *)
2998 sed -n \
2999 "s/'\''/'\''\\\\'\'''\''/g;
3000 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3001 ;; #(
3003 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3005 esac |
3006 sort
3008 echo
3010 $as_echo "## ----------------- ##
3011 ## Output variables. ##
3012 ## ----------------- ##"
3013 echo
3014 for ac_var in $ac_subst_vars
3016 eval ac_val=\$$ac_var
3017 case $ac_val in
3018 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3019 esac
3020 $as_echo "$ac_var='\''$ac_val'\''"
3021 done | sort
3022 echo
3024 if test -n "$ac_subst_files"; then
3025 $as_echo "## ------------------- ##
3026 ## File substitutions. ##
3027 ## ------------------- ##"
3028 echo
3029 for ac_var in $ac_subst_files
3031 eval ac_val=\$$ac_var
3032 case $ac_val in
3033 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3034 esac
3035 $as_echo "$ac_var='\''$ac_val'\''"
3036 done | sort
3037 echo
3040 if test -s confdefs.h; then
3041 $as_echo "## ----------- ##
3042 ## confdefs.h. ##
3043 ## ----------- ##"
3044 echo
3045 cat confdefs.h
3046 echo
3048 test "$ac_signal" != 0 &&
3049 $as_echo "$as_me: caught signal $ac_signal"
3050 $as_echo "$as_me: exit $exit_status"
3051 } >&5
3052 rm -f core *.core core.conftest.* &&
3053 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3054 exit $exit_status
3056 for ac_signal in 1 2 13 15; do
3057 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3058 done
3059 ac_signal=0
3061 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3062 rm -f -r conftest* confdefs.h
3064 $as_echo "/* confdefs.h */" > confdefs.h
3066 # Predefined preprocessor variables.
3068 cat >>confdefs.h <<_ACEOF
3069 #define PACKAGE_NAME "$PACKAGE_NAME"
3070 _ACEOF
3072 cat >>confdefs.h <<_ACEOF
3073 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3074 _ACEOF
3076 cat >>confdefs.h <<_ACEOF
3077 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3078 _ACEOF
3080 cat >>confdefs.h <<_ACEOF
3081 #define PACKAGE_STRING "$PACKAGE_STRING"
3082 _ACEOF
3084 cat >>confdefs.h <<_ACEOF
3085 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3086 _ACEOF
3088 cat >>confdefs.h <<_ACEOF
3089 #define PACKAGE_URL "$PACKAGE_URL"
3090 _ACEOF
3093 # Let the site file select an alternate cache file if it wants to.
3094 # Prefer an explicitly selected file to automatically selected ones.
3095 ac_site_file1=NONE
3096 ac_site_file2=NONE
3097 if test -n "$CONFIG_SITE"; then
3098 # We do not want a PATH search for config.site.
3099 case $CONFIG_SITE in #((
3100 -*) ac_site_file1=./$CONFIG_SITE;;
3101 */*) ac_site_file1=$CONFIG_SITE;;
3102 *) ac_site_file1=./$CONFIG_SITE;;
3103 esac
3104 elif test "x$prefix" != xNONE; then
3105 ac_site_file1=$prefix/share/config.site
3106 ac_site_file2=$prefix/etc/config.site
3107 else
3108 ac_site_file1=$ac_default_prefix/share/config.site
3109 ac_site_file2=$ac_default_prefix/etc/config.site
3111 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3113 test "x$ac_site_file" = xNONE && continue
3114 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3116 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3117 sed 's/^/| /' "$ac_site_file" >&5
3118 . "$ac_site_file" \
3119 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3121 as_fn_error $? "failed to load site script $ac_site_file
3122 See \`config.log' for more details" "$LINENO" 5; }
3124 done
3126 if test -r "$cache_file"; then
3127 # Some versions of bash will fail to source /dev/null (special files
3128 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3129 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3131 $as_echo "$as_me: loading cache $cache_file" >&6;}
3132 case $cache_file in
3133 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3134 *) . "./$cache_file";;
3135 esac
3137 else
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3139 $as_echo "$as_me: creating cache $cache_file" >&6;}
3140 >$cache_file
3143 # Check that the precious variables saved in the cache have kept the same
3144 # value.
3145 ac_cache_corrupted=false
3146 for ac_var in $ac_precious_vars; do
3147 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3148 eval ac_new_set=\$ac_env_${ac_var}_set
3149 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3150 eval ac_new_val=\$ac_env_${ac_var}_value
3151 case $ac_old_set,$ac_new_set in
3152 set,)
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3154 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3155 ac_cache_corrupted=: ;;
3156 ,set)
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3158 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3159 ac_cache_corrupted=: ;;
3160 ,);;
3162 if test "x$ac_old_val" != "x$ac_new_val"; then
3163 # differences in whitespace do not lead to failure.
3164 ac_old_val_w=`echo x $ac_old_val`
3165 ac_new_val_w=`echo x $ac_new_val`
3166 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3168 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3169 ac_cache_corrupted=:
3170 else
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3172 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3173 eval $ac_var=\$ac_old_val
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3176 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3178 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3179 fi;;
3180 esac
3181 # Pass precious variables to config.status.
3182 if test "$ac_new_set" = set; then
3183 case $ac_new_val in
3184 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3185 *) ac_arg=$ac_var=$ac_new_val ;;
3186 esac
3187 case " $ac_configure_args " in
3188 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3189 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3190 esac
3192 done
3193 if $ac_cache_corrupted; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3197 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3198 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3200 ## -------------------- ##
3201 ## Main body of script. ##
3202 ## -------------------- ##
3204 ac_ext=c
3205 ac_cpp='$CPP $CPPFLAGS'
3206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3212 ac_config_headers="$ac_config_headers include/config.h"
3214 ac_aux_dir=
3215 for ac_dir in tools "$srcdir"/tools; do
3216 if test -f "$ac_dir/install-sh"; then
3217 ac_aux_dir=$ac_dir
3218 ac_install_sh="$ac_aux_dir/install-sh -c"
3219 break
3220 elif test -f "$ac_dir/install.sh"; then
3221 ac_aux_dir=$ac_dir
3222 ac_install_sh="$ac_aux_dir/install.sh -c"
3223 break
3224 elif test -f "$ac_dir/shtool"; then
3225 ac_aux_dir=$ac_dir
3226 ac_install_sh="$ac_aux_dir/shtool install -c"
3227 break
3229 done
3230 if test -z "$ac_aux_dir"; then
3231 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3234 # These three variables are undocumented and unsupported,
3235 # and are intended to be withdrawn in a future Autoconf release.
3236 # They can cause serious problems if a builder's source tree is in a directory
3237 # whose full name contains unusual characters.
3238 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3239 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3240 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3244 libwine_version="1.0"
3248 # Check whether --enable-win16 was given.
3249 if test "${enable_win16+set}" = set; then :
3250 enableval=$enable_win16;
3253 # Check whether --enable-win64 was given.
3254 if test "${enable_win64+set}" = set; then :
3255 enableval=$enable_win64;
3258 # Check whether --enable-tests was given.
3259 if test "${enable_tests+set}" = set; then :
3260 enableval=$enable_tests;
3263 # Check whether --enable-maintainer-mode was given.
3264 if test "${enable_maintainer_mode+set}" = set; then :
3265 enableval=$enable_maintainer_mode;
3270 # Check whether --with-alsa was given.
3271 if test "${with_alsa+set}" = set; then :
3272 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3276 # Check whether --with-capi was given.
3277 if test "${with_capi+set}" = set; then :
3278 withval=$with_capi;
3282 # Check whether --with-cms was given.
3283 if test "${with_cms+set}" = set; then :
3284 withval=$with_cms;
3288 # Check whether --with-coreaudio was given.
3289 if test "${with_coreaudio+set}" = set; then :
3290 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3294 # Check whether --with-cups was given.
3295 if test "${with_cups+set}" = set; then :
3296 withval=$with_cups;
3300 # Check whether --with-curses was given.
3301 if test "${with_curses+set}" = set; then :
3302 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3306 # Check whether --with-dbus was given.
3307 if test "${with_dbus+set}" = set; then :
3308 withval=$with_dbus;
3312 # Check whether --with-fontconfig was given.
3313 if test "${with_fontconfig+set}" = set; then :
3314 withval=$with_fontconfig;
3318 # Check whether --with-freetype was given.
3319 if test "${with_freetype+set}" = set; then :
3320 withval=$with_freetype;
3324 # Check whether --with-gettext was given.
3325 if test "${with_gettext+set}" = set; then :
3326 withval=$with_gettext;
3330 # Check whether --with-gettextpo was given.
3331 if test "${with_gettextpo+set}" = set; then :
3332 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3336 # Check whether --with-gphoto was given.
3337 if test "${with_gphoto+set}" = set; then :
3338 withval=$with_gphoto;
3342 # Check whether --with-glu was given.
3343 if test "${with_glu+set}" = set; then :
3344 withval=$with_glu;
3348 # Check whether --with-gnutls was given.
3349 if test "${with_gnutls+set}" = set; then :
3350 withval=$with_gnutls;
3354 # Check whether --with-gsm was given.
3355 if test "${with_gsm+set}" = set; then :
3356 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3360 # Check whether --with-gstreamer was given.
3361 if test "${with_gstreamer+set}" = set; then :
3362 withval=$with_gstreamer;
3366 # Check whether --with-hal was given.
3367 if test "${with_hal+set}" = set; then :
3368 withval=$with_hal;
3372 # Check whether --with-jpeg was given.
3373 if test "${with_jpeg+set}" = set; then :
3374 withval=$with_jpeg;
3378 # Check whether --with-ldap was given.
3379 if test "${with_ldap+set}" = set; then :
3380 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3384 # Check whether --with-mpg123 was given.
3385 if test "${with_mpg123+set}" = set; then :
3386 withval=$with_mpg123;
3390 # Check whether --with-netapi was given.
3391 if test "${with_netapi+set}" = set; then :
3392 withval=$with_netapi;
3396 # Check whether --with-openal was given.
3397 if test "${with_openal+set}" = set; then :
3398 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3402 # Check whether --with-opencl was given.
3403 if test "${with_opencl+set}" = set; then :
3404 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3408 # Check whether --with-opengl was given.
3409 if test "${with_opengl+set}" = set; then :
3410 withval=$with_opengl;
3414 # Check whether --with-osmesa was given.
3415 if test "${with_osmesa+set}" = set; then :
3416 withval=$with_osmesa;
3420 # Check whether --with-oss was given.
3421 if test "${with_oss+set}" = set; then :
3422 withval=$with_oss;
3426 # Check whether --with-pcap was given.
3427 if test "${with_pcap+set}" = set; then :
3428 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3432 # Check whether --with-png was given.
3433 if test "${with_png+set}" = set; then :
3434 withval=$with_png;
3438 # Check whether --with-pthread was given.
3439 if test "${with_pthread+set}" = set; then :
3440 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3444 # Check whether --with-sane was given.
3445 if test "${with_sane+set}" = set; then :
3446 withval=$with_sane;
3450 # Check whether --with-tiff was given.
3451 if test "${with_tiff+set}" = set; then :
3452 withval=$with_tiff;
3456 # Check whether --with-v4l was given.
3457 if test "${with_v4l+set}" = set; then :
3458 withval=$with_v4l;
3462 # Check whether --with-xcomposite was given.
3463 if test "${with_xcomposite+set}" = set; then :
3464 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3468 # Check whether --with-xcursor was given.
3469 if test "${with_xcursor+set}" = set; then :
3470 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3474 # Check whether --with-xinerama was given.
3475 if test "${with_xinerama+set}" = set; then :
3476 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3480 # Check whether --with-xinput was given.
3481 if test "${with_xinput+set}" = set; then :
3482 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3486 # Check whether --with-xinput2 was given.
3487 if test "${with_xinput2+set}" = set; then :
3488 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3492 # Check whether --with-xml was given.
3493 if test "${with_xml+set}" = set; then :
3494 withval=$with_xml;
3498 # Check whether --with-xrandr was given.
3499 if test "${with_xrandr+set}" = set; then :
3500 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3504 # Check whether --with-xrender was given.
3505 if test "${with_xrender+set}" = set; then :
3506 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3510 # Check whether --with-xshape was given.
3511 if test "${with_xshape+set}" = set; then :
3512 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3516 # Check whether --with-xshm was given.
3517 if test "${with_xshm+set}" = set; then :
3518 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3522 # Check whether --with-xslt was given.
3523 if test "${with_xslt+set}" = set; then :
3524 withval=$with_xslt;
3528 # Check whether --with-xxf86vm was given.
3529 if test "${with_xxf86vm+set}" = set; then :
3530 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
3534 # Check whether --with-zlib was given.
3535 if test "${with_zlib+set}" = set; then :
3536 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3541 # Check whether --with-wine-tools was given.
3542 if test "${with_wine_tools+set}" = set; then :
3543 withval=$with_wine_tools;
3547 # Check whether --with-wine64 was given.
3548 if test "${with_wine64+set}" = set; then :
3549 withval=$with_wine64;
3553 # Make sure we can run config.sub.
3554 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3555 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3558 $as_echo_n "checking build system type... " >&6; }
3559 if ${ac_cv_build+:} false; then :
3560 $as_echo_n "(cached) " >&6
3561 else
3562 ac_build_alias=$build_alias
3563 test "x$ac_build_alias" = x &&
3564 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3565 test "x$ac_build_alias" = x &&
3566 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3567 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3568 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3572 $as_echo "$ac_cv_build" >&6; }
3573 case $ac_cv_build in
3574 *-*-*) ;;
3575 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3576 esac
3577 build=$ac_cv_build
3578 ac_save_IFS=$IFS; IFS='-'
3579 set x $ac_cv_build
3580 shift
3581 build_cpu=$1
3582 build_vendor=$2
3583 shift; shift
3584 # Remember, the first character of IFS is used to create $*,
3585 # except with old shells:
3586 build_os=$*
3587 IFS=$ac_save_IFS
3588 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3592 $as_echo_n "checking host system type... " >&6; }
3593 if ${ac_cv_host+:} false; then :
3594 $as_echo_n "(cached) " >&6
3595 else
3596 if test "x$host_alias" = x; then
3597 ac_cv_host=$ac_cv_build
3598 else
3599 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3600 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3605 $as_echo "$ac_cv_host" >&6; }
3606 case $ac_cv_host in
3607 *-*-*) ;;
3608 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3609 esac
3610 host=$ac_cv_host
3611 ac_save_IFS=$IFS; IFS='-'
3612 set x $ac_cv_host
3613 shift
3614 host_cpu=$1
3615 host_vendor=$2
3616 shift; shift
3617 # Remember, the first character of IFS is used to create $*,
3618 # except with old shells:
3619 host_os=$*
3620 IFS=$ac_save_IFS
3621 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3625 case "$srcdir" in
3626 .) ;;
3627 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3628 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3629 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3630 fi ;;
3631 esac
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3635 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3636 set x ${MAKE-make}
3637 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3638 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 cat >conftest.make <<\_ACEOF
3642 SHELL = /bin/sh
3643 all:
3644 @echo '@@@%%%=$(MAKE)=@@@%%%'
3645 _ACEOF
3646 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3647 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3648 *@@@%%%=?*=@@@%%%*)
3649 eval ac_cv_prog_make_${ac_make}_set=yes;;
3651 eval ac_cv_prog_make_${ac_make}_set=no;;
3652 esac
3653 rm -f conftest.make
3655 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3657 $as_echo "yes" >&6; }
3658 SET_MAKE=
3659 else
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3661 $as_echo "no" >&6; }
3662 SET_MAKE="MAKE=${MAKE-make}"
3665 ac_ext=c
3666 ac_cpp='$CPP $CPPFLAGS'
3667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3670 if test -n "$ac_tool_prefix"; then
3671 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3672 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674 $as_echo_n "checking for $ac_word... " >&6; }
3675 if ${ac_cv_prog_CC+:} false; then :
3676 $as_echo_n "(cached) " >&6
3677 else
3678 if test -n "$CC"; then
3679 ac_cv_prog_CC="$CC" # Let the user override the test.
3680 else
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 for as_dir in $PATH
3684 IFS=$as_save_IFS
3685 test -z "$as_dir" && as_dir=.
3686 for ac_exec_ext in '' $ac_executable_extensions; do
3687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3688 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3690 break 2
3692 done
3693 done
3694 IFS=$as_save_IFS
3698 CC=$ac_cv_prog_CC
3699 if test -n "$CC"; then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3701 $as_echo "$CC" >&6; }
3702 else
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704 $as_echo "no" >&6; }
3709 if test -z "$ac_cv_prog_CC"; then
3710 ac_ct_CC=$CC
3711 # Extract the first word of "gcc", so it can be a program name with args.
3712 set dummy gcc; ac_word=$2
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3714 $as_echo_n "checking for $ac_word... " >&6; }
3715 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3716 $as_echo_n "(cached) " >&6
3717 else
3718 if test -n "$ac_ct_CC"; then
3719 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3720 else
3721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722 for as_dir in $PATH
3724 IFS=$as_save_IFS
3725 test -z "$as_dir" && as_dir=.
3726 for ac_exec_ext in '' $ac_executable_extensions; do
3727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3728 ac_cv_prog_ac_ct_CC="gcc"
3729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3730 break 2
3732 done
3733 done
3734 IFS=$as_save_IFS
3738 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3739 if test -n "$ac_ct_CC"; then
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3741 $as_echo "$ac_ct_CC" >&6; }
3742 else
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744 $as_echo "no" >&6; }
3747 if test "x$ac_ct_CC" = x; then
3748 CC=""
3749 else
3750 case $cross_compiling:$ac_tool_warned in
3751 yes:)
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3754 ac_tool_warned=yes ;;
3755 esac
3756 CC=$ac_ct_CC
3758 else
3759 CC="$ac_cv_prog_CC"
3762 if test -z "$CC"; then
3763 if test -n "$ac_tool_prefix"; then
3764 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3765 set dummy ${ac_tool_prefix}cc; ac_word=$2
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3767 $as_echo_n "checking for $ac_word... " >&6; }
3768 if ${ac_cv_prog_CC+:} false; then :
3769 $as_echo_n "(cached) " >&6
3770 else
3771 if test -n "$CC"; then
3772 ac_cv_prog_CC="$CC" # Let the user override the test.
3773 else
3774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3775 for as_dir in $PATH
3777 IFS=$as_save_IFS
3778 test -z "$as_dir" && as_dir=.
3779 for ac_exec_ext in '' $ac_executable_extensions; do
3780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3781 ac_cv_prog_CC="${ac_tool_prefix}cc"
3782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 break 2
3785 done
3786 done
3787 IFS=$as_save_IFS
3791 CC=$ac_cv_prog_CC
3792 if test -n "$CC"; then
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3794 $as_echo "$CC" >&6; }
3795 else
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3797 $as_echo "no" >&6; }
3803 if test -z "$CC"; then
3804 # Extract the first word of "cc", so it can be a program name with args.
3805 set dummy cc; ac_word=$2
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807 $as_echo_n "checking for $ac_word... " >&6; }
3808 if ${ac_cv_prog_CC+:} false; then :
3809 $as_echo_n "(cached) " >&6
3810 else
3811 if test -n "$CC"; then
3812 ac_cv_prog_CC="$CC" # Let the user override the test.
3813 else
3814 ac_prog_rejected=no
3815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3816 for as_dir in $PATH
3818 IFS=$as_save_IFS
3819 test -z "$as_dir" && as_dir=.
3820 for ac_exec_ext in '' $ac_executable_extensions; do
3821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3822 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3823 ac_prog_rejected=yes
3824 continue
3826 ac_cv_prog_CC="cc"
3827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3828 break 2
3830 done
3831 done
3832 IFS=$as_save_IFS
3834 if test $ac_prog_rejected = yes; then
3835 # We found a bogon in the path, so make sure we never use it.
3836 set dummy $ac_cv_prog_CC
3837 shift
3838 if test $# != 0; then
3839 # We chose a different compiler from the bogus one.
3840 # However, it has the same basename, so the bogon will be chosen
3841 # first if we set CC to just the basename; use the full file name.
3842 shift
3843 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3848 CC=$ac_cv_prog_CC
3849 if test -n "$CC"; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3851 $as_echo "$CC" >&6; }
3852 else
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3854 $as_echo "no" >&6; }
3859 if test -z "$CC"; then
3860 if test -n "$ac_tool_prefix"; then
3861 for ac_prog in cl.exe
3863 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3864 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3866 $as_echo_n "checking for $ac_word... " >&6; }
3867 if ${ac_cv_prog_CC+:} false; then :
3868 $as_echo_n "(cached) " >&6
3869 else
3870 if test -n "$CC"; then
3871 ac_cv_prog_CC="$CC" # Let the user override the test.
3872 else
3873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874 for as_dir in $PATH
3876 IFS=$as_save_IFS
3877 test -z "$as_dir" && as_dir=.
3878 for ac_exec_ext in '' $ac_executable_extensions; do
3879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3880 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3882 break 2
3884 done
3885 done
3886 IFS=$as_save_IFS
3890 CC=$ac_cv_prog_CC
3891 if test -n "$CC"; then
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3893 $as_echo "$CC" >&6; }
3894 else
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3896 $as_echo "no" >&6; }
3900 test -n "$CC" && break
3901 done
3903 if test -z "$CC"; then
3904 ac_ct_CC=$CC
3905 for ac_prog in cl.exe
3907 # Extract the first word of "$ac_prog", so it can be a program name with args.
3908 set dummy $ac_prog; ac_word=$2
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910 $as_echo_n "checking for $ac_word... " >&6; }
3911 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3912 $as_echo_n "(cached) " >&6
3913 else
3914 if test -n "$ac_ct_CC"; then
3915 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3916 else
3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918 for as_dir in $PATH
3920 IFS=$as_save_IFS
3921 test -z "$as_dir" && as_dir=.
3922 for ac_exec_ext in '' $ac_executable_extensions; do
3923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3924 ac_cv_prog_ac_ct_CC="$ac_prog"
3925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3926 break 2
3928 done
3929 done
3930 IFS=$as_save_IFS
3934 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3935 if test -n "$ac_ct_CC"; then
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3937 $as_echo "$ac_ct_CC" >&6; }
3938 else
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940 $as_echo "no" >&6; }
3944 test -n "$ac_ct_CC" && break
3945 done
3947 if test "x$ac_ct_CC" = x; then
3948 CC=""
3949 else
3950 case $cross_compiling:$ac_tool_warned in
3951 yes:)
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3954 ac_tool_warned=yes ;;
3955 esac
3956 CC=$ac_ct_CC
3963 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3965 as_fn_error $? "no acceptable C compiler found in \$PATH
3966 See \`config.log' for more details" "$LINENO" 5; }
3968 # Provide some information about the compiler.
3969 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3970 set X $ac_compile
3971 ac_compiler=$2
3972 for ac_option in --version -v -V -qversion; do
3973 { { ac_try="$ac_compiler $ac_option >&5"
3974 case "(($ac_try" in
3975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3976 *) ac_try_echo=$ac_try;;
3977 esac
3978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3979 $as_echo "$ac_try_echo"; } >&5
3980 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3981 ac_status=$?
3982 if test -s conftest.err; then
3983 sed '10a\
3984 ... rest of stderr output deleted ...
3985 10q' conftest.err >conftest.er1
3986 cat conftest.er1 >&5
3988 rm -f conftest.er1 conftest.err
3989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3990 test $ac_status = 0; }
3991 done
3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3994 /* end confdefs.h. */
3997 main ()
4001 return 0;
4003 _ACEOF
4004 ac_clean_files_save=$ac_clean_files
4005 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4006 # Try to create an executable without -o first, disregard a.out.
4007 # It will help us diagnose broken compilers, and finding out an intuition
4008 # of exeext.
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4010 $as_echo_n "checking whether the C compiler works... " >&6; }
4011 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4013 # The possible output files:
4014 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4016 ac_rmfiles=
4017 for ac_file in $ac_files
4019 case $ac_file in
4020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4021 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4022 esac
4023 done
4024 rm -f $ac_rmfiles
4026 if { { ac_try="$ac_link_default"
4027 case "(($ac_try" in
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4030 esac
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_link_default") 2>&5
4034 ac_status=$?
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; then :
4037 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4038 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4039 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4040 # so that the user can short-circuit this test for compilers unknown to
4041 # Autoconf.
4042 for ac_file in $ac_files ''
4044 test -f "$ac_file" || continue
4045 case $ac_file in
4046 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4048 [ab].out )
4049 # We found the default executable, but exeext='' is most
4050 # certainly right.
4051 break;;
4052 *.* )
4053 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4054 then :; else
4055 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057 # We set ac_cv_exeext here because the later test for it is not
4058 # safe: cross compilers may not add the suffix if given an `-o'
4059 # argument, so we may need to know it at that point already.
4060 # Even if this section looks crufty: it has the advantage of
4061 # actually working.
4062 break;;
4064 break;;
4065 esac
4066 done
4067 test "$ac_cv_exeext" = no && ac_cv_exeext=
4069 else
4070 ac_file=''
4072 if test -z "$ac_file"; then :
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4074 $as_echo "no" >&6; }
4075 $as_echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.$ac_ext >&5
4078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080 as_fn_error 77 "C compiler cannot create executables
4081 See \`config.log' for more details" "$LINENO" 5; }
4082 else
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4084 $as_echo "yes" >&6; }
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4087 $as_echo_n "checking for C compiler default output file name... " >&6; }
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4089 $as_echo "$ac_file" >&6; }
4090 ac_exeext=$ac_cv_exeext
4092 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4093 ac_clean_files=$ac_clean_files_save
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4095 $as_echo_n "checking for suffix of executables... " >&6; }
4096 if { { ac_try="$ac_link"
4097 case "(($ac_try" in
4098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4100 esac
4101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102 $as_echo "$ac_try_echo"; } >&5
4103 (eval "$ac_link") 2>&5
4104 ac_status=$?
4105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106 test $ac_status = 0; }; then :
4107 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4108 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4109 # work properly (i.e., refer to `conftest.exe'), while it won't with
4110 # `rm'.
4111 for ac_file in conftest.exe conftest conftest.*; do
4112 test -f "$ac_file" || continue
4113 case $ac_file in
4114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4115 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4116 break;;
4117 * ) break;;
4118 esac
4119 done
4120 else
4121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4124 See \`config.log' for more details" "$LINENO" 5; }
4126 rm -f conftest conftest$ac_cv_exeext
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4128 $as_echo "$ac_cv_exeext" >&6; }
4130 rm -f conftest.$ac_ext
4131 EXEEXT=$ac_cv_exeext
4132 ac_exeext=$EXEEXT
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4135 #include <stdio.h>
4137 main ()
4139 FILE *f = fopen ("conftest.out", "w");
4140 return ferror (f) || fclose (f) != 0;
4143 return 0;
4145 _ACEOF
4146 ac_clean_files="$ac_clean_files conftest.out"
4147 # Check that the compiler produces executables we can run. If not, either
4148 # the compiler is broken, or we cross compile.
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4150 $as_echo_n "checking whether we are cross compiling... " >&6; }
4151 if test "$cross_compiling" != yes; then
4152 { { ac_try="$ac_link"
4153 case "(($ac_try" in
4154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4155 *) ac_try_echo=$ac_try;;
4156 esac
4157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4158 $as_echo "$ac_try_echo"; } >&5
4159 (eval "$ac_link") 2>&5
4160 ac_status=$?
4161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4162 test $ac_status = 0; }
4163 if { ac_try='./conftest$ac_cv_exeext'
4164 { { case "(($ac_try" in
4165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4166 *) ac_try_echo=$ac_try;;
4167 esac
4168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4169 $as_echo "$ac_try_echo"; } >&5
4170 (eval "$ac_try") 2>&5
4171 ac_status=$?
4172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4173 test $ac_status = 0; }; }; then
4174 cross_compiling=no
4175 else
4176 if test "$cross_compiling" = maybe; then
4177 cross_compiling=yes
4178 else
4179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4181 as_fn_error $? "cannot run C compiled programs.
4182 If you meant to cross compile, use \`--host'.
4183 See \`config.log' for more details" "$LINENO" 5; }
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4188 $as_echo "$cross_compiling" >&6; }
4190 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4191 ac_clean_files=$ac_clean_files_save
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4193 $as_echo_n "checking for suffix of object files... " >&6; }
4194 if ${ac_cv_objext+:} false; then :
4195 $as_echo_n "(cached) " >&6
4196 else
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4201 main ()
4205 return 0;
4207 _ACEOF
4208 rm -f conftest.o conftest.obj
4209 if { { ac_try="$ac_compile"
4210 case "(($ac_try" in
4211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212 *) ac_try_echo=$ac_try;;
4213 esac
4214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4215 $as_echo "$ac_try_echo"; } >&5
4216 (eval "$ac_compile") 2>&5
4217 ac_status=$?
4218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4219 test $ac_status = 0; }; then :
4220 for ac_file in conftest.o conftest.obj conftest.*; do
4221 test -f "$ac_file" || continue;
4222 case $ac_file in
4223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4224 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4225 break;;
4226 esac
4227 done
4228 else
4229 $as_echo "$as_me: failed program was:" >&5
4230 sed 's/^/| /' conftest.$ac_ext >&5
4232 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4234 as_fn_error $? "cannot compute suffix of object files: cannot compile
4235 See \`config.log' for more details" "$LINENO" 5; }
4237 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4240 $as_echo "$ac_cv_objext" >&6; }
4241 OBJEXT=$ac_cv_objext
4242 ac_objext=$OBJEXT
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4244 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4245 if ${ac_cv_c_compiler_gnu+:} false; then :
4246 $as_echo_n "(cached) " >&6
4247 else
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4252 main ()
4254 #ifndef __GNUC__
4255 choke me
4256 #endif
4259 return 0;
4261 _ACEOF
4262 if ac_fn_c_try_compile "$LINENO"; then :
4263 ac_compiler_gnu=yes
4264 else
4265 ac_compiler_gnu=no
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4272 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4273 if test $ac_compiler_gnu = yes; then
4274 GCC=yes
4275 else
4276 GCC=
4278 ac_test_CFLAGS=${CFLAGS+set}
4279 ac_save_CFLAGS=$CFLAGS
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4281 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4282 if ${ac_cv_prog_cc_g+:} false; then :
4283 $as_echo_n "(cached) " >&6
4284 else
4285 ac_save_c_werror_flag=$ac_c_werror_flag
4286 ac_c_werror_flag=yes
4287 ac_cv_prog_cc_g=no
4288 CFLAGS="-g"
4289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4290 /* end confdefs.h. */
4293 main ()
4297 return 0;
4299 _ACEOF
4300 if ac_fn_c_try_compile "$LINENO"; then :
4301 ac_cv_prog_cc_g=yes
4302 else
4303 CFLAGS=""
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4308 main ()
4312 return 0;
4314 _ACEOF
4315 if ac_fn_c_try_compile "$LINENO"; then :
4317 else
4318 ac_c_werror_flag=$ac_save_c_werror_flag
4319 CFLAGS="-g"
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4324 main ()
4328 return 0;
4330 _ACEOF
4331 if ac_fn_c_try_compile "$LINENO"; then :
4332 ac_cv_prog_cc_g=yes
4334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4339 ac_c_werror_flag=$ac_save_c_werror_flag
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4342 $as_echo "$ac_cv_prog_cc_g" >&6; }
4343 if test "$ac_test_CFLAGS" = set; then
4344 CFLAGS=$ac_save_CFLAGS
4345 elif test $ac_cv_prog_cc_g = yes; then
4346 if test "$GCC" = yes; then
4347 CFLAGS="-g -O2"
4348 else
4349 CFLAGS="-g"
4351 else
4352 if test "$GCC" = yes; then
4353 CFLAGS="-O2"
4354 else
4355 CFLAGS=
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4359 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4360 if ${ac_cv_prog_cc_c89+:} false; then :
4361 $as_echo_n "(cached) " >&6
4362 else
4363 ac_cv_prog_cc_c89=no
4364 ac_save_CC=$CC
4365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4367 #include <stdarg.h>
4368 #include <stdio.h>
4369 struct stat;
4370 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4371 struct buf { int x; };
4372 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4373 static char *e (p, i)
4374 char **p;
4375 int i;
4377 return p[i];
4379 static char *f (char * (*g) (char **, int), char **p, ...)
4381 char *s;
4382 va_list v;
4383 va_start (v,p);
4384 s = g (p, va_arg (v,int));
4385 va_end (v);
4386 return s;
4389 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4390 function prototypes and stuff, but not '\xHH' hex character constants.
4391 These don't provoke an error unfortunately, instead are silently treated
4392 as 'x'. The following induces an error, until -std is added to get
4393 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4394 array size at least. It's necessary to write '\x00'==0 to get something
4395 that's true only with -std. */
4396 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4398 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4399 inside strings and character constants. */
4400 #define FOO(x) 'x'
4401 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4403 int test (int i, double x);
4404 struct s1 {int (*f) (int a);};
4405 struct s2 {int (*f) (double a);};
4406 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4407 int argc;
4408 char **argv;
4410 main ()
4412 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4414 return 0;
4416 _ACEOF
4417 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4418 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4420 CC="$ac_save_CC $ac_arg"
4421 if ac_fn_c_try_compile "$LINENO"; then :
4422 ac_cv_prog_cc_c89=$ac_arg
4424 rm -f core conftest.err conftest.$ac_objext
4425 test "x$ac_cv_prog_cc_c89" != "xno" && break
4426 done
4427 rm -f conftest.$ac_ext
4428 CC=$ac_save_CC
4431 # AC_CACHE_VAL
4432 case "x$ac_cv_prog_cc_c89" in
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4435 $as_echo "none needed" >&6; } ;;
4436 xno)
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4438 $as_echo "unsupported" >&6; } ;;
4440 CC="$CC $ac_cv_prog_cc_c89"
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4442 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4443 esac
4444 if test "x$ac_cv_prog_cc_c89" != xno; then :
4448 ac_ext=c
4449 ac_cpp='$CPP $CPPFLAGS'
4450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4454 ac_ext=cpp
4455 ac_cpp='$CXXCPP $CPPFLAGS'
4456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4459 if test -z "$CXX"; then
4460 if test -n "$CCC"; then
4461 CXX=$CCC
4462 else
4463 if test -n "$ac_tool_prefix"; then
4464 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4466 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4467 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4469 $as_echo_n "checking for $ac_word... " >&6; }
4470 if ${ac_cv_prog_CXX+:} false; then :
4471 $as_echo_n "(cached) " >&6
4472 else
4473 if test -n "$CXX"; then
4474 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4475 else
4476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4477 for as_dir in $PATH
4479 IFS=$as_save_IFS
4480 test -z "$as_dir" && as_dir=.
4481 for ac_exec_ext in '' $ac_executable_extensions; do
4482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4483 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4485 break 2
4487 done
4488 done
4489 IFS=$as_save_IFS
4493 CXX=$ac_cv_prog_CXX
4494 if test -n "$CXX"; then
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4496 $as_echo "$CXX" >&6; }
4497 else
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4499 $as_echo "no" >&6; }
4503 test -n "$CXX" && break
4504 done
4506 if test -z "$CXX"; then
4507 ac_ct_CXX=$CXX
4508 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4510 # Extract the first word of "$ac_prog", so it can be a program name with args.
4511 set dummy $ac_prog; ac_word=$2
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4513 $as_echo_n "checking for $ac_word... " >&6; }
4514 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4515 $as_echo_n "(cached) " >&6
4516 else
4517 if test -n "$ac_ct_CXX"; then
4518 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4519 else
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 for as_dir in $PATH
4523 IFS=$as_save_IFS
4524 test -z "$as_dir" && as_dir=.
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4527 ac_cv_prog_ac_ct_CXX="$ac_prog"
4528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4529 break 2
4531 done
4532 done
4533 IFS=$as_save_IFS
4537 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4538 if test -n "$ac_ct_CXX"; then
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4540 $as_echo "$ac_ct_CXX" >&6; }
4541 else
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4543 $as_echo "no" >&6; }
4547 test -n "$ac_ct_CXX" && break
4548 done
4550 if test "x$ac_ct_CXX" = x; then
4551 CXX="g++"
4552 else
4553 case $cross_compiling:$ac_tool_warned in
4554 yes:)
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4557 ac_tool_warned=yes ;;
4558 esac
4559 CXX=$ac_ct_CXX
4565 # Provide some information about the compiler.
4566 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4567 set X $ac_compile
4568 ac_compiler=$2
4569 for ac_option in --version -v -V -qversion; do
4570 { { ac_try="$ac_compiler $ac_option >&5"
4571 case "(($ac_try" in
4572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4573 *) ac_try_echo=$ac_try;;
4574 esac
4575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4576 $as_echo "$ac_try_echo"; } >&5
4577 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4578 ac_status=$?
4579 if test -s conftest.err; then
4580 sed '10a\
4581 ... rest of stderr output deleted ...
4582 10q' conftest.err >conftest.er1
4583 cat conftest.er1 >&5
4585 rm -f conftest.er1 conftest.err
4586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4587 test $ac_status = 0; }
4588 done
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4591 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4592 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4593 $as_echo_n "(cached) " >&6
4594 else
4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4599 main ()
4601 #ifndef __GNUC__
4602 choke me
4603 #endif
4606 return 0;
4608 _ACEOF
4609 if ac_fn_cxx_try_compile "$LINENO"; then :
4610 ac_compiler_gnu=yes
4611 else
4612 ac_compiler_gnu=no
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4619 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4620 if test $ac_compiler_gnu = yes; then
4621 GXX=yes
4622 else
4623 GXX=
4625 ac_test_CXXFLAGS=${CXXFLAGS+set}
4626 ac_save_CXXFLAGS=$CXXFLAGS
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4628 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4629 if ${ac_cv_prog_cxx_g+:} false; then :
4630 $as_echo_n "(cached) " >&6
4631 else
4632 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4633 ac_cxx_werror_flag=yes
4634 ac_cv_prog_cxx_g=no
4635 CXXFLAGS="-g"
4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4640 main ()
4644 return 0;
4646 _ACEOF
4647 if ac_fn_cxx_try_compile "$LINENO"; then :
4648 ac_cv_prog_cxx_g=yes
4649 else
4650 CXXFLAGS=""
4651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4652 /* end confdefs.h. */
4655 main ()
4659 return 0;
4661 _ACEOF
4662 if ac_fn_cxx_try_compile "$LINENO"; then :
4664 else
4665 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4666 CXXFLAGS="-g"
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4671 main ()
4675 return 0;
4677 _ACEOF
4678 if ac_fn_cxx_try_compile "$LINENO"; then :
4679 ac_cv_prog_cxx_g=yes
4681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4686 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4689 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4690 if test "$ac_test_CXXFLAGS" = set; then
4691 CXXFLAGS=$ac_save_CXXFLAGS
4692 elif test $ac_cv_prog_cxx_g = yes; then
4693 if test "$GXX" = yes; then
4694 CXXFLAGS="-g -O2"
4695 else
4696 CXXFLAGS="-g"
4698 else
4699 if test "$GXX" = yes; then
4700 CXXFLAGS="-O2"
4701 else
4702 CXXFLAGS=
4705 ac_ext=c
4706 ac_cpp='$CPP $CPPFLAGS'
4707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4711 if test -n "$ac_tool_prefix"; then
4712 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4713 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4715 $as_echo_n "checking for $ac_word... " >&6; }
4716 if ${ac_cv_prog_CPPBIN+:} false; then :
4717 $as_echo_n "(cached) " >&6
4718 else
4719 if test -n "$CPPBIN"; then
4720 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4721 else
4722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4723 for as_dir in $PATH
4725 IFS=$as_save_IFS
4726 test -z "$as_dir" && as_dir=.
4727 for ac_exec_ext in '' $ac_executable_extensions; do
4728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4731 break 2
4733 done
4734 done
4735 IFS=$as_save_IFS
4739 CPPBIN=$ac_cv_prog_CPPBIN
4740 if test -n "$CPPBIN"; then
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4742 $as_echo "$CPPBIN" >&6; }
4743 else
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 $as_echo "no" >&6; }
4750 if test -z "$ac_cv_prog_CPPBIN"; then
4751 ac_ct_CPPBIN=$CPPBIN
4752 # Extract the first word of "cpp", so it can be a program name with args.
4753 set dummy cpp; ac_word=$2
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4755 $as_echo_n "checking for $ac_word... " >&6; }
4756 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4757 $as_echo_n "(cached) " >&6
4758 else
4759 if test -n "$ac_ct_CPPBIN"; then
4760 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4761 else
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 for as_dir in $PATH
4765 IFS=$as_save_IFS
4766 test -z "$as_dir" && as_dir=.
4767 for ac_exec_ext in '' $ac_executable_extensions; do
4768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4769 ac_cv_prog_ac_ct_CPPBIN="cpp"
4770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4771 break 2
4773 done
4774 done
4775 IFS=$as_save_IFS
4779 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4780 if test -n "$ac_ct_CPPBIN"; then
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4782 $as_echo "$ac_ct_CPPBIN" >&6; }
4783 else
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785 $as_echo "no" >&6; }
4788 if test "x$ac_ct_CPPBIN" = x; then
4789 CPPBIN="cpp"
4790 else
4791 case $cross_compiling:$ac_tool_warned in
4792 yes:)
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4795 ac_tool_warned=yes ;;
4796 esac
4797 CPPBIN=$ac_ct_CPPBIN
4799 else
4800 CPPBIN="$ac_cv_prog_CPPBIN"
4804 cat >>confdefs.h <<_ACEOF
4805 #define EXEEXT "$ac_exeext"
4806 _ACEOF
4808 if test -n "$ac_tool_prefix"; then
4809 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4810 set dummy ${ac_tool_prefix}ld; ac_word=$2
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4812 $as_echo_n "checking for $ac_word... " >&6; }
4813 if ${ac_cv_prog_LD+:} false; then :
4814 $as_echo_n "(cached) " >&6
4815 else
4816 if test -n "$LD"; then
4817 ac_cv_prog_LD="$LD" # Let the user override the test.
4818 else
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH
4822 IFS=$as_save_IFS
4823 test -z "$as_dir" && as_dir=.
4824 for ac_exec_ext in '' $ac_executable_extensions; do
4825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4826 ac_cv_prog_LD="${ac_tool_prefix}ld"
4827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4828 break 2
4830 done
4831 done
4832 IFS=$as_save_IFS
4836 LD=$ac_cv_prog_LD
4837 if test -n "$LD"; then
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4839 $as_echo "$LD" >&6; }
4840 else
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842 $as_echo "no" >&6; }
4847 if test -z "$ac_cv_prog_LD"; then
4848 ac_ct_LD=$LD
4849 # Extract the first word of "ld", so it can be a program name with args.
4850 set dummy ld; ac_word=$2
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4852 $as_echo_n "checking for $ac_word... " >&6; }
4853 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4854 $as_echo_n "(cached) " >&6
4855 else
4856 if test -n "$ac_ct_LD"; then
4857 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4858 else
4859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4860 for as_dir in $PATH
4862 IFS=$as_save_IFS
4863 test -z "$as_dir" && as_dir=.
4864 for ac_exec_ext in '' $ac_executable_extensions; do
4865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4866 ac_cv_prog_ac_ct_LD="ld"
4867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4868 break 2
4870 done
4871 done
4872 IFS=$as_save_IFS
4876 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4877 if test -n "$ac_ct_LD"; then
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4879 $as_echo "$ac_ct_LD" >&6; }
4880 else
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 $as_echo "no" >&6; }
4885 if test "x$ac_ct_LD" = x; then
4886 LD=""
4887 else
4888 case $cross_compiling:$ac_tool_warned in
4889 yes:)
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4892 ac_tool_warned=yes ;;
4893 esac
4894 LD=$ac_ct_LD
4896 else
4897 LD="$ac_cv_prog_LD"
4901 case $host in
4902 *-darwin*)
4903 if test "x$enable_win64" = "xyes"
4904 then
4905 CC="$CC -m64"
4906 CXX="$CXX -m64"
4907 host_cpu="x86_64"
4908 notice_platform="64-bit "
4909 TARGETFLAGS="-m64"
4911 else
4912 CC="$CC -m32"
4913 CXX="$CXX -m32"
4914 host_cpu="i386"
4915 notice_platform="32-bit "
4916 TARGETFLAGS="-m32"
4918 enable_win16=${enable_win16:-yes}
4920 with_fontconfig=${with_fontconfig:-no}
4922 x86_64*|amd64*)
4923 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4924 then
4925 CC="$CC -m32"
4926 CXX="$CXX -m32"
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4928 $as_echo_n "checking whether $CC works... " >&6; }
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4934 main ()
4938 return 0;
4940 _ACEOF
4941 if ac_fn_c_try_link "$LINENO"; then :
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4943 $as_echo "yes" >&6; }
4944 else
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4947 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4949 rm -f core conftest.err conftest.$ac_objext \
4950 conftest$ac_exeext conftest.$ac_ext
4951 host_cpu="i386"
4952 notice_platform="32-bit "
4953 TARGETFLAGS="-m32"
4955 enable_win16=${enable_win16:-yes}
4956 else
4957 if test "x${GCC}" = "xyes"
4958 then
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4960 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4962 /* end confdefs.h. */
4963 #include <stdarg.h>
4965 main ()
4967 void func(__builtin_ms_va_list *args);
4969 return 0;
4971 _ACEOF
4972 if ac_fn_c_try_compile "$LINENO"; then :
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4974 $as_echo "yes" >&6; }
4975 else
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4978 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4982 host_cpu="x86_64"
4983 TARGETFLAGS="-m64"
4987 arm*)
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4989 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4991 /* end confdefs.h. */
4992 int ac_test(int i) { return i; }
4994 main ()
4996 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4998 return 0;
5000 _ACEOF
5001 if ac_fn_c_try_link "$LINENO"; then :
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5003 $as_echo "yes" >&6; }
5004 else
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5007 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5009 rm -f core conftest.err conftest.$ac_objext \
5010 conftest$ac_exeext conftest.$ac_ext
5011 CFLAGS="$CFLAGS -marm"
5012 TARGETFLAGS="-marm"
5015 *-mingw32*|*-cygwin*)
5016 enable_win16=${enable_win16:-no}
5017 CFLAGS="$CFLAGS -D_WIN32"
5019 i[3456789]86*)
5020 enable_win16=${enable_win16:-yes}
5022 esac
5024 enable_win16=${enable_win16:-no}
5025 enable_win64=${enable_win64:-no}
5027 enable_winetest=${enable_winetest:-$enable_tests}
5029 if test -n "$with_wine64"
5030 then
5031 if test "x$enable_win64" = "xyes"
5032 then
5033 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5034 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5036 enable_fonts=${enable_fonts:-no}
5037 enable_server=${enable_server:-no}
5038 elif test "x$enable_win64" = "xyes"
5039 then
5040 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5044 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5045 if ${wine_cv_toolsdir+:} false; then :
5046 $as_echo_n "(cached) " >&6
5047 else
5048 wine_cv_toolsdir="$with_wine_tools"
5049 if test -z "$with_wine_tools"; then
5050 if test "$cross_compiling" = "yes"; then
5051 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5052 elif test -n "$with_wine64"; then
5053 wine_cv_toolsdir="$with_wine64"
5056 if test -z "$wine_cv_toolsdir"; then
5057 wine_makedep=tools/makedep
5058 wine_cv_toolsdir="\$(top_builddir)"
5059 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5060 wine_makedep=$wine_cv_toolsdir/tools/makedep
5061 case "$wine_cv_toolsdir" in
5062 /*) ;;
5063 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5064 esac
5065 enable_tools=${enable_tools:-no}
5066 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5067 else
5068 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5072 $as_echo "$wine_cv_toolsdir" >&6; }
5073 TOOLSDIR=$wine_cv_toolsdir
5075 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5076 then
5077 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5081 for ac_prog in flex
5083 # Extract the first word of "$ac_prog", so it can be a program name with args.
5084 set dummy $ac_prog; ac_word=$2
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if ${ac_cv_prog_FLEX+:} false; then :
5088 $as_echo_n "(cached) " >&6
5089 else
5090 if test -n "$FLEX"; then
5091 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5092 else
5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094 for as_dir in $PATH
5096 IFS=$as_save_IFS
5097 test -z "$as_dir" && as_dir=.
5098 for ac_exec_ext in '' $ac_executable_extensions; do
5099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5100 ac_cv_prog_FLEX="$ac_prog"
5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102 break 2
5104 done
5105 done
5106 IFS=$as_save_IFS
5110 FLEX=$ac_cv_prog_FLEX
5111 if test -n "$FLEX"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5113 $as_echo "$FLEX" >&6; }
5114 else
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5120 test -n "$FLEX" && break
5121 done
5122 test -n "$FLEX" || FLEX="none"
5124 if test "$FLEX" = "none"
5125 then
5126 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5129 $as_echo_n "checking whether flex is recent enough... " >&6; }
5130 cat >conftest.l <<EOF
5131 %top{
5132 #include "prediluvian.h"
5136 if $FLEX -t conftest.l >/dev/null 2>&5
5137 then
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5139 $as_echo "yes" >&6; }
5140 else
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 $as_echo "no" >&6; }
5143 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5146 for ac_prog in bison
5148 # Extract the first word of "$ac_prog", so it can be a program name with args.
5149 set dummy $ac_prog; ac_word=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if ${ac_cv_prog_BISON+:} false; then :
5153 $as_echo_n "(cached) " >&6
5154 else
5155 if test -n "$BISON"; then
5156 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5157 else
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 for as_dir in $PATH
5161 IFS=$as_save_IFS
5162 test -z "$as_dir" && as_dir=.
5163 for ac_exec_ext in '' $ac_executable_extensions; do
5164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_BISON="$ac_prog"
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 break 2
5169 done
5170 done
5171 IFS=$as_save_IFS
5175 BISON=$ac_cv_prog_BISON
5176 if test -n "$BISON"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5178 $as_echo "$BISON" >&6; }
5179 else
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5185 test -n "$BISON" && break
5186 done
5187 test -n "$BISON" || BISON="none"
5189 if test "$BISON" = "none"
5190 then
5191 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5194 if test -n "$ac_tool_prefix"; then
5195 for ac_prog in ar gar
5197 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5198 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if ${ac_cv_prog_AR+:} false; then :
5202 $as_echo_n "(cached) " >&6
5203 else
5204 if test -n "$AR"; then
5205 ac_cv_prog_AR="$AR" # Let the user override the test.
5206 else
5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5208 for as_dir in $PATH
5210 IFS=$as_save_IFS
5211 test -z "$as_dir" && as_dir=.
5212 for ac_exec_ext in '' $ac_executable_extensions; do
5213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5214 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 break 2
5218 done
5219 done
5220 IFS=$as_save_IFS
5224 AR=$ac_cv_prog_AR
5225 if test -n "$AR"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5227 $as_echo "$AR" >&6; }
5228 else
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5234 test -n "$AR" && break
5235 done
5237 if test -z "$AR"; then
5238 ac_ct_AR=$AR
5239 for ac_prog in ar gar
5241 # Extract the first word of "$ac_prog", so it can be a program name with args.
5242 set dummy $ac_prog; ac_word=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5246 $as_echo_n "(cached) " >&6
5247 else
5248 if test -n "$ac_ct_AR"; then
5249 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5250 else
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $PATH
5254 IFS=$as_save_IFS
5255 test -z "$as_dir" && as_dir=.
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_prog_ac_ct_AR="$ac_prog"
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5260 break 2
5262 done
5263 done
5264 IFS=$as_save_IFS
5268 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5269 if test -n "$ac_ct_AR"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5271 $as_echo "$ac_ct_AR" >&6; }
5272 else
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5278 test -n "$ac_ct_AR" && break
5279 done
5281 if test "x$ac_ct_AR" = x; then
5282 AR="ar"
5283 else
5284 case $cross_compiling:$ac_tool_warned in
5285 yes:)
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5288 ac_tool_warned=yes ;;
5289 esac
5290 AR=$ac_ct_AR
5294 if test -n "$ac_tool_prefix"; then
5295 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5296 set dummy ${ac_tool_prefix}strip; ac_word=$2
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5298 $as_echo_n "checking for $ac_word... " >&6; }
5299 if ${ac_cv_prog_STRIP+:} false; then :
5300 $as_echo_n "(cached) " >&6
5301 else
5302 if test -n "$STRIP"; then
5303 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5304 else
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 for as_dir in $PATH
5308 IFS=$as_save_IFS
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5312 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 break 2
5316 done
5317 done
5318 IFS=$as_save_IFS
5322 STRIP=$ac_cv_prog_STRIP
5323 if test -n "$STRIP"; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5325 $as_echo "$STRIP" >&6; }
5326 else
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328 $as_echo "no" >&6; }
5333 if test -z "$ac_cv_prog_STRIP"; then
5334 ac_ct_STRIP=$STRIP
5335 # Extract the first word of "strip", so it can be a program name with args.
5336 set dummy strip; ac_word=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 $as_echo_n "checking for $ac_word... " >&6; }
5339 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5340 $as_echo_n "(cached) " >&6
5341 else
5342 if test -n "$ac_ct_STRIP"; then
5343 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5344 else
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 for as_dir in $PATH
5348 IFS=$as_save_IFS
5349 test -z "$as_dir" && as_dir=.
5350 for ac_exec_ext in '' $ac_executable_extensions; do
5351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5352 ac_cv_prog_ac_ct_STRIP="strip"
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 break 2
5356 done
5357 done
5358 IFS=$as_save_IFS
5362 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5363 if test -n "$ac_ct_STRIP"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5365 $as_echo "$ac_ct_STRIP" >&6; }
5366 else
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5371 if test "x$ac_ct_STRIP" = x; then
5372 STRIP="strip"
5373 else
5374 case $cross_compiling:$ac_tool_warned in
5375 yes:)
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5378 ac_tool_warned=yes ;;
5379 esac
5380 STRIP=$ac_ct_STRIP
5382 else
5383 STRIP="$ac_cv_prog_STRIP"
5386 ARFLAGS=rc
5388 if test -n "$ac_tool_prefix"; then
5389 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5390 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if ${ac_cv_prog_RANLIB+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 if test -n "$RANLIB"; then
5397 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5398 else
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5406 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 break 2
5410 done
5411 done
5412 IFS=$as_save_IFS
5416 RANLIB=$ac_cv_prog_RANLIB
5417 if test -n "$RANLIB"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5419 $as_echo "$RANLIB" >&6; }
5420 else
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5427 if test -z "$ac_cv_prog_RANLIB"; then
5428 ac_ct_RANLIB=$RANLIB
5429 # Extract the first word of "ranlib", so it can be a program name with args.
5430 set dummy ranlib; ac_word=$2
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5432 $as_echo_n "checking for $ac_word... " >&6; }
5433 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5434 $as_echo_n "(cached) " >&6
5435 else
5436 if test -n "$ac_ct_RANLIB"; then
5437 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5438 else
5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 for as_dir in $PATH
5442 IFS=$as_save_IFS
5443 test -z "$as_dir" && as_dir=.
5444 for ac_exec_ext in '' $ac_executable_extensions; do
5445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5446 ac_cv_prog_ac_ct_RANLIB="ranlib"
5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5448 break 2
5450 done
5451 done
5452 IFS=$as_save_IFS
5456 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5457 if test -n "$ac_ct_RANLIB"; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5459 $as_echo "$ac_ct_RANLIB" >&6; }
5460 else
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }
5465 if test "x$ac_ct_RANLIB" = x; then
5466 RANLIB=":"
5467 else
5468 case $cross_compiling:$ac_tool_warned in
5469 yes:)
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5472 ac_tool_warned=yes ;;
5473 esac
5474 RANLIB=$ac_ct_RANLIB
5476 else
5477 RANLIB="$ac_cv_prog_RANLIB"
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5481 $as_echo_n "checking whether ln -s works... " >&6; }
5482 LN_S=$as_ln_s
5483 if test "$LN_S" = "ln -s"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5485 $as_echo "yes" >&6; }
5486 else
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5488 $as_echo "no, using $LN_S" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5492 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5493 if ${ac_cv_path_GREP+:} false; then :
5494 $as_echo_n "(cached) " >&6
5495 else
5496 if test -z "$GREP"; then
5497 ac_path_GREP_found=false
5498 # Loop through the user's path and test for each of PROGNAME-LIST
5499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5502 IFS=$as_save_IFS
5503 test -z "$as_dir" && as_dir=.
5504 for ac_prog in grep ggrep; do
5505 for ac_exec_ext in '' $ac_executable_extensions; do
5506 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5507 as_fn_executable_p "$ac_path_GREP" || continue
5508 # Check for GNU ac_path_GREP and select it if it is found.
5509 # Check for GNU $ac_path_GREP
5510 case `"$ac_path_GREP" --version 2>&1` in
5511 *GNU*)
5512 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5514 ac_count=0
5515 $as_echo_n 0123456789 >"conftest.in"
5516 while :
5518 cat "conftest.in" "conftest.in" >"conftest.tmp"
5519 mv "conftest.tmp" "conftest.in"
5520 cp "conftest.in" "conftest.nl"
5521 $as_echo 'GREP' >> "conftest.nl"
5522 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5523 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5524 as_fn_arith $ac_count + 1 && ac_count=$as_val
5525 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5526 # Best one so far, save it but keep looking for a better one
5527 ac_cv_path_GREP="$ac_path_GREP"
5528 ac_path_GREP_max=$ac_count
5530 # 10*(2^10) chars as input seems more than enough
5531 test $ac_count -gt 10 && break
5532 done
5533 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5534 esac
5536 $ac_path_GREP_found && break 3
5537 done
5538 done
5539 done
5540 IFS=$as_save_IFS
5541 if test -z "$ac_cv_path_GREP"; then
5542 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5544 else
5545 ac_cv_path_GREP=$GREP
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5550 $as_echo "$ac_cv_path_GREP" >&6; }
5551 GREP="$ac_cv_path_GREP"
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5555 $as_echo_n "checking for egrep... " >&6; }
5556 if ${ac_cv_path_EGREP+:} false; then :
5557 $as_echo_n "(cached) " >&6
5558 else
5559 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5560 then ac_cv_path_EGREP="$GREP -E"
5561 else
5562 if test -z "$EGREP"; then
5563 ac_path_EGREP_found=false
5564 # Loop through the user's path and test for each of PROGNAME-LIST
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5568 IFS=$as_save_IFS
5569 test -z "$as_dir" && as_dir=.
5570 for ac_prog in egrep; do
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5573 as_fn_executable_p "$ac_path_EGREP" || continue
5574 # Check for GNU ac_path_EGREP and select it if it is found.
5575 # Check for GNU $ac_path_EGREP
5576 case `"$ac_path_EGREP" --version 2>&1` in
5577 *GNU*)
5578 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5580 ac_count=0
5581 $as_echo_n 0123456789 >"conftest.in"
5582 while :
5584 cat "conftest.in" "conftest.in" >"conftest.tmp"
5585 mv "conftest.tmp" "conftest.in"
5586 cp "conftest.in" "conftest.nl"
5587 $as_echo 'EGREP' >> "conftest.nl"
5588 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5589 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5590 as_fn_arith $ac_count + 1 && ac_count=$as_val
5591 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5592 # Best one so far, save it but keep looking for a better one
5593 ac_cv_path_EGREP="$ac_path_EGREP"
5594 ac_path_EGREP_max=$ac_count
5596 # 10*(2^10) chars as input seems more than enough
5597 test $ac_count -gt 10 && break
5598 done
5599 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5600 esac
5602 $ac_path_EGREP_found && break 3
5603 done
5604 done
5605 done
5606 IFS=$as_save_IFS
5607 if test -z "$ac_cv_path_EGREP"; then
5608 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5610 else
5611 ac_cv_path_EGREP=$EGREP
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5617 $as_echo "$ac_cv_path_EGREP" >&6; }
5618 EGREP="$ac_cv_path_EGREP"
5621 # Extract the first word of "ldconfig", so it can be a program name with args.
5622 set dummy ldconfig; ac_word=$2
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5624 $as_echo_n "checking for $ac_word... " >&6; }
5625 if ${ac_cv_path_LDCONFIG+:} false; then :
5626 $as_echo_n "(cached) " >&6
5627 else
5628 case $LDCONFIG in
5629 [\\/]* | ?:[\\/]*)
5630 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in /sbin /usr/sbin $PATH
5636 IFS=$as_save_IFS
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5640 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 break 2
5644 done
5645 done
5646 IFS=$as_save_IFS
5648 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5650 esac
5652 LDCONFIG=$ac_cv_path_LDCONFIG
5653 if test -n "$LDCONFIG"; then
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5655 $as_echo "$LDCONFIG" >&6; }
5656 else
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }
5662 for ac_prog in msgfmt
5664 # Extract the first word of "$ac_prog", so it can be a program name with args.
5665 set dummy $ac_prog; ac_word=$2
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5667 $as_echo_n "checking for $ac_word... " >&6; }
5668 if ${ac_cv_prog_MSGFMT+:} false; then :
5669 $as_echo_n "(cached) " >&6
5670 else
5671 if test -n "$MSGFMT"; then
5672 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5673 else
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 for as_dir in $PATH
5677 IFS=$as_save_IFS
5678 test -z "$as_dir" && as_dir=.
5679 for ac_exec_ext in '' $ac_executable_extensions; do
5680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5681 ac_cv_prog_MSGFMT="$ac_prog"
5682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5683 break 2
5685 done
5686 done
5687 IFS=$as_save_IFS
5691 MSGFMT=$ac_cv_prog_MSGFMT
5692 if test -n "$MSGFMT"; then
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5694 $as_echo "$MSGFMT" >&6; }
5695 else
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5697 $as_echo "no" >&6; }
5701 test -n "$MSGFMT" && break
5702 done
5703 test -n "$MSGFMT" || MSGFMT="false"
5705 if ${ac_tool_prefix+:} false; then :
5706 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5707 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709 $as_echo_n "checking for $ac_word... " >&6; }
5710 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5711 $as_echo_n "(cached) " >&6
5712 else
5713 if test -n "$PKG_CONFIG"; then
5714 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5715 else
5716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 for as_dir in $PATH
5719 IFS=$as_save_IFS
5720 test -z "$as_dir" && as_dir=.
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 break 2
5727 done
5728 done
5729 IFS=$as_save_IFS
5733 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5734 if test -n "$PKG_CONFIG"; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5736 $as_echo "$PKG_CONFIG" >&6; }
5737 else
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 $as_echo "no" >&6; }
5744 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5745 if test "x$cross_compiling" = xyes; then :
5747 else
5748 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5749 # Extract the first word of "pkg-config", so it can be a program name with args.
5750 set dummy pkg-config; ac_word=$2
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5752 $as_echo_n "checking for $ac_word... " >&6; }
5753 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5754 $as_echo_n "(cached) " >&6
5755 else
5756 if test -n "$PKG_CONFIG"; then
5757 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5758 else
5759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5760 for as_dir in $PATH
5762 IFS=$as_save_IFS
5763 test -z "$as_dir" && as_dir=.
5764 for ac_exec_ext in '' $ac_executable_extensions; do
5765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5766 ac_cv_prog_PKG_CONFIG="pkg-config"
5767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5768 break 2
5770 done
5771 done
5772 IFS=$as_save_IFS
5776 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5777 if test -n "$PKG_CONFIG"; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5779 $as_echo "$PKG_CONFIG" >&6; }
5780 else
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5782 $as_echo "no" >&6; }
5787 else
5788 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5791 if test "x$enable_maintainer_mode" != "xyes"
5792 then
5793 FONTFORGE=""
5794 RSVG=""
5795 CONVERT=""
5796 ICOTOOL=""
5797 else
5798 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5799 for ac_prog in fontforge
5801 # Extract the first word of "$ac_prog", so it can be a program name with args.
5802 set dummy $ac_prog; ac_word=$2
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804 $as_echo_n "checking for $ac_word... " >&6; }
5805 if ${ac_cv_prog_FONTFORGE+:} false; then :
5806 $as_echo_n "(cached) " >&6
5807 else
5808 if test -n "$FONTFORGE"; then
5809 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5810 else
5811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 for as_dir in $PATH
5814 IFS=$as_save_IFS
5815 test -z "$as_dir" && as_dir=.
5816 for ac_exec_ext in '' $ac_executable_extensions; do
5817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5818 ac_cv_prog_FONTFORGE="$ac_prog"
5819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5820 break 2
5822 done
5823 done
5824 IFS=$as_save_IFS
5828 FONTFORGE=$ac_cv_prog_FONTFORGE
5829 if test -n "$FONTFORGE"; then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5831 $as_echo "$FONTFORGE" >&6; }
5832 else
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834 $as_echo "no" >&6; }
5838 test -n "$FONTFORGE" && break
5839 done
5840 test -n "$FONTFORGE" || FONTFORGE="false"
5842 for ac_prog in rsvg-convert rsvg
5844 # Extract the first word of "$ac_prog", so it can be a program name with args.
5845 set dummy $ac_prog; ac_word=$2
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5847 $as_echo_n "checking for $ac_word... " >&6; }
5848 if ${ac_cv_prog_RSVG+:} false; then :
5849 $as_echo_n "(cached) " >&6
5850 else
5851 if test -n "$RSVG"; then
5852 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5853 else
5854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5855 for as_dir in $PATH
5857 IFS=$as_save_IFS
5858 test -z "$as_dir" && as_dir=.
5859 for ac_exec_ext in '' $ac_executable_extensions; do
5860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5861 ac_cv_prog_RSVG="$ac_prog"
5862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5863 break 2
5865 done
5866 done
5867 IFS=$as_save_IFS
5871 RSVG=$ac_cv_prog_RSVG
5872 if test -n "$RSVG"; then
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5874 $as_echo "$RSVG" >&6; }
5875 else
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5877 $as_echo "no" >&6; }
5881 test -n "$RSVG" && break
5882 done
5883 test -n "$RSVG" || RSVG="false"
5885 for ac_prog in convert
5887 # Extract the first word of "$ac_prog", so it can be a program name with args.
5888 set dummy $ac_prog; ac_word=$2
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5890 $as_echo_n "checking for $ac_word... " >&6; }
5891 if ${ac_cv_prog_CONVERT+:} false; then :
5892 $as_echo_n "(cached) " >&6
5893 else
5894 if test -n "$CONVERT"; then
5895 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5896 else
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5898 for as_dir in $PATH
5900 IFS=$as_save_IFS
5901 test -z "$as_dir" && as_dir=.
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5904 ac_cv_prog_CONVERT="$ac_prog"
5905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5906 break 2
5908 done
5909 done
5910 IFS=$as_save_IFS
5914 CONVERT=$ac_cv_prog_CONVERT
5915 if test -n "$CONVERT"; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5917 $as_echo "$CONVERT" >&6; }
5918 else
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5920 $as_echo "no" >&6; }
5924 test -n "$CONVERT" && break
5925 done
5926 test -n "$CONVERT" || CONVERT="false"
5928 for ac_prog in icotool
5930 # Extract the first word of "$ac_prog", so it can be a program name with args.
5931 set dummy $ac_prog; ac_word=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if ${ac_cv_prog_ICOTOOL+:} false; then :
5935 $as_echo_n "(cached) " >&6
5936 else
5937 if test -n "$ICOTOOL"; then
5938 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5939 else
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 for as_dir in $PATH
5943 IFS=$as_save_IFS
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5947 ac_cv_prog_ICOTOOL="$ac_prog"
5948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5949 break 2
5951 done
5952 done
5953 IFS=$as_save_IFS
5957 ICOTOOL=$ac_cv_prog_ICOTOOL
5958 if test -n "$ICOTOOL"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5960 $as_echo "$ICOTOOL" >&6; }
5961 else
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5967 test -n "$ICOTOOL" && break
5968 done
5969 test -n "$ICOTOOL" || ICOTOOL="false"
5971 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5972 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5974 if test "$CONVERT" = false
5975 then
5976 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5977 else
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5979 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5980 convert_version=`convert --version | head -n1`
5981 if test "x$convert_version" != "x"
5982 then
5983 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5984 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5985 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5986 then
5987 CONVERT=false
5990 if test "$CONVERT" = false
5991 then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5993 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5994 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5995 else
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5997 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6001 if test "$ICOTOOL" = false
6002 then
6003 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6004 else
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6006 $as_echo_n "checking for recent enough icotool... " >&6; }
6007 icotool_version=`icotool --version | head -n1`
6008 if test "x$icotool_version" != "x"
6009 then
6010 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6011 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6012 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6013 then
6014 ICOTOOL=false
6015 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6018 if test "$ICOTOOL" = false
6019 then
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6021 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6022 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6023 else
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6025 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6029 with_gettext=yes
6030 with_gettextpo=yes
6031 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6034 test "x$with_gettext" != xno || MSGFMT=false
6035 if test "$MSGFMT" != "false"
6036 then
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6038 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6039 cat >conftest.po <<EOF
6040 # comment
6041 msgctxt "ctxt"
6042 msgid "id"
6043 msgstr "str"
6045 if $MSGFMT -o /dev/null conftest.po 2>&5
6046 then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6048 $as_echo "yes" >&6; }
6049 else
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6052 MSGFMT=false
6055 if test "$MSGFMT" = false; then :
6056 case "x$with_gettext" in
6057 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6058 xno) ;;
6059 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6060 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6061 esac
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6066 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6067 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6068 $as_echo_n "(cached) " >&6
6069 else
6070 ac_check_lib_save_LIBS=$LIBS
6071 LIBS="-li386 $LIBS"
6072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6073 /* end confdefs.h. */
6075 /* Override any GCC internal prototype to avoid an error.
6076 Use char because int might match the return type of a GCC
6077 builtin and then its argument prototype would still apply. */
6078 #ifdef __cplusplus
6079 extern "C"
6080 #endif
6081 char i386_set_ldt ();
6083 main ()
6085 return i386_set_ldt ();
6087 return 0;
6089 _ACEOF
6090 if ac_fn_c_try_link "$LINENO"; then :
6091 ac_cv_lib_i386_i386_set_ldt=yes
6092 else
6093 ac_cv_lib_i386_i386_set_ldt=no
6095 rm -f core conftest.err conftest.$ac_objext \
6096 conftest$ac_exeext conftest.$ac_ext
6097 LIBS=$ac_check_lib_save_LIBS
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6100 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6101 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6102 cat >>confdefs.h <<_ACEOF
6103 #define HAVE_LIBI386 1
6104 _ACEOF
6106 LIBS="-li386 $LIBS"
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6111 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6112 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6113 $as_echo_n "(cached) " >&6
6114 else
6115 ac_check_lib_save_LIBS=$LIBS
6116 LIBS="-lossaudio $LIBS"
6117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6118 /* end confdefs.h. */
6120 /* Override any GCC internal prototype to avoid an error.
6121 Use char because int might match the return type of a GCC
6122 builtin and then its argument prototype would still apply. */
6123 #ifdef __cplusplus
6124 extern "C"
6125 #endif
6126 char _oss_ioctl ();
6128 main ()
6130 return _oss_ioctl ();
6132 return 0;
6134 _ACEOF
6135 if ac_fn_c_try_link "$LINENO"; then :
6136 ac_cv_lib_ossaudio__oss_ioctl=yes
6137 else
6138 ac_cv_lib_ossaudio__oss_ioctl=no
6140 rm -f core conftest.err conftest.$ac_objext \
6141 conftest$ac_exeext conftest.$ac_ext
6142 LIBS=$ac_check_lib_save_LIBS
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6145 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6146 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6147 cat >>confdefs.h <<_ACEOF
6148 #define HAVE_LIBOSSAUDIO 1
6149 _ACEOF
6151 LIBS="-lossaudio $LIBS"
6156 OPENGL_LIBS=""
6160 # Check whether --enable-largefile was given.
6161 if test "${enable_largefile+set}" = set; then :
6162 enableval=$enable_largefile;
6165 if test "$enable_largefile" != no; then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6168 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6169 if ${ac_cv_sys_largefile_CC+:} false; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 ac_cv_sys_largefile_CC=no
6173 if test "$GCC" != yes; then
6174 ac_save_CC=$CC
6175 while :; do
6176 # IRIX 6.2 and later do not support large files by default,
6177 # so use the C compiler's -n32 option if that helps.
6178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6179 /* end confdefs.h. */
6180 #include <sys/types.h>
6181 /* Check that off_t can represent 2**63 - 1 correctly.
6182 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6183 since some C++ compilers masquerading as C compilers
6184 incorrectly reject 9223372036854775807. */
6185 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6186 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6187 && LARGE_OFF_T % 2147483647 == 1)
6188 ? 1 : -1];
6190 main ()
6194 return 0;
6196 _ACEOF
6197 if ac_fn_c_try_compile "$LINENO"; then :
6198 break
6200 rm -f core conftest.err conftest.$ac_objext
6201 CC="$CC -n32"
6202 if ac_fn_c_try_compile "$LINENO"; then :
6203 ac_cv_sys_largefile_CC=' -n32'; break
6205 rm -f core conftest.err conftest.$ac_objext
6206 break
6207 done
6208 CC=$ac_save_CC
6209 rm -f conftest.$ac_ext
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6213 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6214 if test "$ac_cv_sys_largefile_CC" != no; then
6215 CC=$CC$ac_cv_sys_largefile_CC
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6219 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6220 if ${ac_cv_sys_file_offset_bits+:} false; then :
6221 $as_echo_n "(cached) " >&6
6222 else
6223 while :; do
6224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6225 /* end confdefs.h. */
6226 #include <sys/types.h>
6227 /* Check that off_t can represent 2**63 - 1 correctly.
6228 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6229 since some C++ compilers masquerading as C compilers
6230 incorrectly reject 9223372036854775807. */
6231 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6232 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6233 && LARGE_OFF_T % 2147483647 == 1)
6234 ? 1 : -1];
6236 main ()
6240 return 0;
6242 _ACEOF
6243 if ac_fn_c_try_compile "$LINENO"; then :
6244 ac_cv_sys_file_offset_bits=no; break
6246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6249 #define _FILE_OFFSET_BITS 64
6250 #include <sys/types.h>
6251 /* Check that off_t can represent 2**63 - 1 correctly.
6252 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6253 since some C++ compilers masquerading as C compilers
6254 incorrectly reject 9223372036854775807. */
6255 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6256 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6257 && LARGE_OFF_T % 2147483647 == 1)
6258 ? 1 : -1];
6260 main ()
6264 return 0;
6266 _ACEOF
6267 if ac_fn_c_try_compile "$LINENO"; then :
6268 ac_cv_sys_file_offset_bits=64; break
6270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6271 ac_cv_sys_file_offset_bits=unknown
6272 break
6273 done
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6276 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6277 case $ac_cv_sys_file_offset_bits in #(
6278 no | unknown) ;;
6280 cat >>confdefs.h <<_ACEOF
6281 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6282 _ACEOF
6284 esac
6285 rm -rf conftest*
6286 if test $ac_cv_sys_file_offset_bits = unknown; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6288 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6289 if ${ac_cv_sys_large_files+:} false; then :
6290 $as_echo_n "(cached) " >&6
6291 else
6292 while :; do
6293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6295 #include <sys/types.h>
6296 /* Check that off_t can represent 2**63 - 1 correctly.
6297 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6298 since some C++ compilers masquerading as C compilers
6299 incorrectly reject 9223372036854775807. */
6300 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6301 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6302 && LARGE_OFF_T % 2147483647 == 1)
6303 ? 1 : -1];
6305 main ()
6309 return 0;
6311 _ACEOF
6312 if ac_fn_c_try_compile "$LINENO"; then :
6313 ac_cv_sys_large_files=no; break
6315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6318 #define _LARGE_FILES 1
6319 #include <sys/types.h>
6320 /* Check that off_t can represent 2**63 - 1 correctly.
6321 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6322 since some C++ compilers masquerading as C compilers
6323 incorrectly reject 9223372036854775807. */
6324 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6325 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6326 && LARGE_OFF_T % 2147483647 == 1)
6327 ? 1 : -1];
6329 main ()
6333 return 0;
6335 _ACEOF
6336 if ac_fn_c_try_compile "$LINENO"; then :
6337 ac_cv_sys_large_files=1; break
6339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6340 ac_cv_sys_large_files=unknown
6341 break
6342 done
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6345 $as_echo "$ac_cv_sys_large_files" >&6; }
6346 case $ac_cv_sys_large_files in #(
6347 no | unknown) ;;
6349 cat >>confdefs.h <<_ACEOF
6350 #define _LARGE_FILES $ac_cv_sys_large_files
6351 _ACEOF
6353 esac
6354 rm -rf conftest*
6361 ac_ext=c
6362 ac_cpp='$CPP $CPPFLAGS'
6363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6367 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6368 # On Suns, sometimes $CPP names a directory.
6369 if test -n "$CPP" && test -d "$CPP"; then
6370 CPP=
6372 if test -z "$CPP"; then
6373 if ${ac_cv_prog_CPP+:} false; then :
6374 $as_echo_n "(cached) " >&6
6375 else
6376 # Double quotes because CPP needs to be expanded
6377 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6379 ac_preproc_ok=false
6380 for ac_c_preproc_warn_flag in '' yes
6382 # Use a header file that comes with gcc, so configuring glibc
6383 # with a fresh cross-compiler works.
6384 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6385 # <limits.h> exists even on freestanding compilers.
6386 # On the NeXT, cc -E runs the code through the compiler's parser,
6387 # not just through cpp. "Syntax error" is here to catch this case.
6388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6389 /* end confdefs.h. */
6390 #ifdef __STDC__
6391 # include <limits.h>
6392 #else
6393 # include <assert.h>
6394 #endif
6395 Syntax error
6396 _ACEOF
6397 if ac_fn_c_try_cpp "$LINENO"; then :
6399 else
6400 # Broken: fails on valid input.
6401 continue
6403 rm -f conftest.err conftest.i conftest.$ac_ext
6405 # OK, works on sane cases. Now check whether nonexistent headers
6406 # can be detected and how.
6407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6408 /* end confdefs.h. */
6409 #include <ac_nonexistent.h>
6410 _ACEOF
6411 if ac_fn_c_try_cpp "$LINENO"; then :
6412 # Broken: success on invalid input.
6413 continue
6414 else
6415 # Passes both tests.
6416 ac_preproc_ok=:
6417 break
6419 rm -f conftest.err conftest.i conftest.$ac_ext
6421 done
6422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6423 rm -f conftest.i conftest.err conftest.$ac_ext
6424 if $ac_preproc_ok; then :
6425 break
6428 done
6429 ac_cv_prog_CPP=$CPP
6432 CPP=$ac_cv_prog_CPP
6433 else
6434 ac_cv_prog_CPP=$CPP
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6437 $as_echo "$CPP" >&6; }
6438 ac_preproc_ok=false
6439 for ac_c_preproc_warn_flag in '' yes
6441 # Use a header file that comes with gcc, so configuring glibc
6442 # with a fresh cross-compiler works.
6443 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6444 # <limits.h> exists even on freestanding compilers.
6445 # On the NeXT, cc -E runs the code through the compiler's parser,
6446 # not just through cpp. "Syntax error" is here to catch this case.
6447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6448 /* end confdefs.h. */
6449 #ifdef __STDC__
6450 # include <limits.h>
6451 #else
6452 # include <assert.h>
6453 #endif
6454 Syntax error
6455 _ACEOF
6456 if ac_fn_c_try_cpp "$LINENO"; then :
6458 else
6459 # Broken: fails on valid input.
6460 continue
6462 rm -f conftest.err conftest.i conftest.$ac_ext
6464 # OK, works on sane cases. Now check whether nonexistent headers
6465 # can be detected and how.
6466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6467 /* end confdefs.h. */
6468 #include <ac_nonexistent.h>
6469 _ACEOF
6470 if ac_fn_c_try_cpp "$LINENO"; then :
6471 # Broken: success on invalid input.
6472 continue
6473 else
6474 # Passes both tests.
6475 ac_preproc_ok=:
6476 break
6478 rm -f conftest.err conftest.i conftest.$ac_ext
6480 done
6481 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6482 rm -f conftest.i conftest.err conftest.$ac_ext
6483 if $ac_preproc_ok; then :
6485 else
6486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6488 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6489 See \`config.log' for more details" "$LINENO" 5; }
6492 ac_ext=c
6493 ac_cpp='$CPP $CPPFLAGS'
6494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6500 $as_echo_n "checking for ANSI C header files... " >&6; }
6501 if ${ac_cv_header_stdc+:} false; then :
6502 $as_echo_n "(cached) " >&6
6503 else
6504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6505 /* end confdefs.h. */
6506 #include <stdlib.h>
6507 #include <stdarg.h>
6508 #include <string.h>
6509 #include <float.h>
6512 main ()
6516 return 0;
6518 _ACEOF
6519 if ac_fn_c_try_compile "$LINENO"; then :
6520 ac_cv_header_stdc=yes
6521 else
6522 ac_cv_header_stdc=no
6524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6526 if test $ac_cv_header_stdc = yes; then
6527 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6529 /* end confdefs.h. */
6530 #include <string.h>
6532 _ACEOF
6533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6534 $EGREP "memchr" >/dev/null 2>&1; then :
6536 else
6537 ac_cv_header_stdc=no
6539 rm -f conftest*
6543 if test $ac_cv_header_stdc = yes; then
6544 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6546 /* end confdefs.h. */
6547 #include <stdlib.h>
6549 _ACEOF
6550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6551 $EGREP "free" >/dev/null 2>&1; then :
6553 else
6554 ac_cv_header_stdc=no
6556 rm -f conftest*
6560 if test $ac_cv_header_stdc = yes; then
6561 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6562 if test "$cross_compiling" = yes; then :
6564 else
6565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6566 /* end confdefs.h. */
6567 #include <ctype.h>
6568 #include <stdlib.h>
6569 #if ((' ' & 0x0FF) == 0x020)
6570 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6571 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6572 #else
6573 # define ISLOWER(c) \
6574 (('a' <= (c) && (c) <= 'i') \
6575 || ('j' <= (c) && (c) <= 'r') \
6576 || ('s' <= (c) && (c) <= 'z'))
6577 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6578 #endif
6580 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6582 main ()
6584 int i;
6585 for (i = 0; i < 256; i++)
6586 if (XOR (islower (i), ISLOWER (i))
6587 || toupper (i) != TOUPPER (i))
6588 return 2;
6589 return 0;
6591 _ACEOF
6592 if ac_fn_c_try_run "$LINENO"; then :
6594 else
6595 ac_cv_header_stdc=no
6597 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6598 conftest.$ac_objext conftest.beam conftest.$ac_ext
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6604 $as_echo "$ac_cv_header_stdc" >&6; }
6605 if test $ac_cv_header_stdc = yes; then
6607 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6611 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6612 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6613 inttypes.h stdint.h unistd.h
6614 do :
6615 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6616 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6618 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6619 cat >>confdefs.h <<_ACEOF
6620 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6621 _ACEOF
6625 done
6628 for ac_header in \
6629 AL/al.h \
6630 ApplicationServices/ApplicationServices.h \
6631 AudioToolbox/AudioConverter.h \
6632 AudioUnit/AudioUnit.h \
6633 AudioUnit/AudioComponent.h \
6634 CL/cl.h \
6635 Carbon/Carbon.h \
6636 CoreAudio/CoreAudio.h \
6637 CoreServices/CoreServices.h \
6638 DiskArbitration/DiskArbitration.h \
6639 IOKit/IOKitLib.h \
6640 IOKit/hid/IOHIDLib.h \
6641 OpenAL/al.h \
6642 OpenCL/opencl.h \
6643 QuickTime/ImageCompression.h \
6644 Security/Security.h \
6645 alias.h \
6646 alsa/asoundlib.h \
6647 arpa/inet.h \
6648 arpa/nameser.h \
6649 asm/types.h \
6650 asm/user.h \
6651 curses.h \
6652 direct.h \
6653 dirent.h \
6654 dlfcn.h \
6655 elf.h \
6656 float.h \
6657 fnmatch.h \
6658 getopt.h \
6659 gettext-po.h \
6660 grp.h \
6661 gsm.h \
6662 gsm/gsm.h \
6663 ieeefp.h \
6664 inet/mib2.h \
6665 io.h \
6666 kstat.h \
6667 lber.h \
6668 ldap.h \
6669 libproc.h \
6670 link.h \
6671 linux/cdrom.h \
6672 linux/compiler.h \
6673 linux/filter.h \
6674 linux/hdreg.h \
6675 linux/input.h \
6676 linux/ioctl.h \
6677 linux/joystick.h \
6678 linux/major.h \
6679 linux/param.h \
6680 linux/serial.h \
6681 linux/types.h \
6682 linux/ucdrom.h \
6683 lwp.h \
6684 mach-o/nlist.h \
6685 mach-o/loader.h \
6686 mach/mach.h \
6687 mach/machine.h \
6688 machine/cpu.h \
6689 machine/limits.h \
6690 machine/sysarch.h \
6691 mntent.h \
6692 ncurses.h \
6693 netdb.h \
6694 netinet/in.h \
6695 netinet/in_systm.h \
6696 netinet/tcp.h \
6697 netinet/tcp_fsm.h \
6698 pcap/pcap.h \
6699 poll.h \
6700 port.h \
6701 process.h \
6702 pthread.h \
6703 pwd.h \
6704 sched.h \
6705 scsi/scsi.h \
6706 scsi/scsi_ioctl.h \
6707 scsi/sg.h \
6708 stdbool.h \
6709 stdint.h \
6710 stropts.h \
6711 sys/asoundlib.h \
6712 sys/attr.h \
6713 sys/cdio.h \
6714 sys/elf32.h \
6715 sys/epoll.h \
6716 sys/event.h \
6717 sys/exec_elf.h \
6718 sys/filio.h \
6719 sys/inotify.h \
6720 sys/ioctl.h \
6721 sys/ipc.h \
6722 sys/limits.h \
6723 sys/link.h \
6724 sys/mman.h \
6725 sys/modem.h \
6726 sys/msg.h \
6727 sys/mtio.h \
6728 sys/param.h \
6729 sys/poll.h \
6730 sys/prctl.h \
6731 sys/protosw.h \
6732 sys/ptrace.h \
6733 sys/queue.h \
6734 sys/resource.h \
6735 sys/scsiio.h \
6736 sys/shm.h \
6737 sys/signal.h \
6738 sys/socket.h \
6739 sys/socketvar.h \
6740 sys/sockio.h \
6741 sys/statvfs.h \
6742 sys/strtio.h \
6743 sys/syscall.h \
6744 sys/tihdr.h \
6745 sys/time.h \
6746 sys/timeout.h \
6747 sys/times.h \
6748 sys/uio.h \
6749 sys/user.h \
6750 sys/utsname.h \
6751 sys/vm86.h \
6752 sys/vnode.h \
6753 sys/wait.h \
6754 syscall.h \
6755 termios.h \
6756 unistd.h \
6757 utime.h \
6758 valgrind/memcheck.h \
6759 valgrind/valgrind.h \
6760 zlib.h
6762 do :
6763 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6764 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6765 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6766 cat >>confdefs.h <<_ACEOF
6767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6768 _ACEOF
6772 done
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6775 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6776 if ${ac_cv_header_stat_broken+:} false; then :
6777 $as_echo_n "(cached) " >&6
6778 else
6779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6780 /* end confdefs.h. */
6781 #include <sys/types.h>
6782 #include <sys/stat.h>
6784 #if defined S_ISBLK && defined S_IFDIR
6785 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6786 #endif
6788 #if defined S_ISBLK && defined S_IFCHR
6789 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6790 #endif
6792 #if defined S_ISLNK && defined S_IFREG
6793 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6794 #endif
6796 #if defined S_ISSOCK && defined S_IFREG
6797 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6798 #endif
6800 _ACEOF
6801 if ac_fn_c_try_compile "$LINENO"; then :
6802 ac_cv_header_stat_broken=no
6803 else
6804 ac_cv_header_stat_broken=yes
6806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6809 $as_echo "$ac_cv_header_stat_broken" >&6; }
6810 if test $ac_cv_header_stat_broken = yes; then
6812 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6818 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6819 do :
6820 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6821 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6822 #ifdef HAVE_SYS_PARAM_H
6823 # include <sys/param.h>
6824 #endif
6826 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6827 cat >>confdefs.h <<_ACEOF
6828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6829 _ACEOF
6833 done
6836 for ac_header in \
6837 netinet/ip.h \
6838 net/if.h \
6839 net/if_arp.h \
6840 net/if_dl.h \
6841 net/if_types.h \
6842 net/route.h \
6843 netinet/if_ether.h \
6844 netinet/if_inarp.h \
6845 netinet/in_pcb.h \
6846 netinet/ip_icmp.h \
6847 netinet/ip_var.h \
6848 netinet/udp.h \
6849 netipx/ipx.h \
6850 sys/un.h \
6852 do :
6853 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6854 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6855 #ifdef HAVE_SYS_SOCKET_H
6856 # include <sys/socket.h>
6857 #endif
6858 #ifdef HAVE_SYS_SOCKETVAR_H
6859 # include <sys/socketvar.h>
6860 #endif
6861 #ifdef HAVE_NET_ROUTE_H
6862 # include <net/route.h>
6863 #endif
6864 #ifdef HAVE_NETINET_IN_H
6865 # include <netinet/in.h>
6866 #endif
6867 #ifdef HAVE_NETINET_IN_SYSTM_H
6868 # include <netinet/in_systm.h>
6869 #endif
6870 #ifdef HAVE_NET_IF_H
6871 # include <net/if.h>
6872 #endif
6873 #ifdef HAVE_NETINET_IP_H
6874 # include <netinet/ip.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 netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6888 do :
6889 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6890 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6891 #ifdef HAVE_ALIAS_H
6892 # include <alias.h>
6893 #endif
6894 #ifdef HAVE_SYS_SOCKET_H
6895 # include <sys/socket.h>
6896 #endif
6897 #ifdef HAVE_SYS_SOCKETVAR_H
6898 # include <sys/socketvar.h>
6899 #endif
6900 #ifdef HAVE_SYS_TIMEOUT_H
6901 # include <sys/timeout.h>
6902 #endif
6903 #ifdef HAVE_NETINET_IN_H
6904 # include <netinet/in.h>
6905 #endif
6906 #ifdef HAVE_NETINET_IN_SYSTM_H
6907 # include <netinet/in_systm.h>
6908 #endif
6909 #ifdef HAVE_NETINET_IP_H
6910 # include <netinet/ip.h>
6911 #endif
6912 #ifdef HAVE_NETINET_IP_VAR_H
6913 # include <netinet/ip_var.h>
6914 #endif
6915 #ifdef HAVE_NETINET_IP_ICMP_H
6916 # include <netinet/ip_icmp.h>
6917 #endif
6918 #ifdef HAVE_NETINET_UDP_H
6919 # include <netinet/udp.h>
6920 #endif
6921 #ifdef HAVE_NETINET_TCP_H
6922 # include <netinet/tcp.h>
6923 #endif
6924 #ifdef HAVE_NETINET_TCP_TIMER_H
6925 #include <netinet/tcp_timer.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 linux/ipx.h linux/irda.h linux/rtnetlink.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_ASM_TYPES_H
6943 # include <asm/types.h>
6944 #endif
6945 #ifdef HAVE_SYS_SOCKET_H
6946 # include <sys/socket.h>
6947 #endif
6948 #ifdef HAVE_LINUX_TYPES_H
6949 # include <linux/types.h>
6950 #endif
6952 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6953 cat >>confdefs.h <<_ACEOF
6954 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6955 _ACEOF
6959 done
6962 for ac_header in mach-o/dyld_images.h
6963 do :
6964 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6965 # include <stdbool.h>
6966 #endif
6967 #ifdef HAVE_STDINT_H
6968 # include <stdint.h>
6969 #endif
6971 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6972 cat >>confdefs.h <<_ACEOF
6973 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6974 _ACEOF
6978 done
6981 for ac_header in resolv.h
6982 do :
6983 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6984 #ifdef HAVE_SYS_SOCKET_H
6985 # include <sys/socket.h>
6986 #endif
6987 #ifdef HAVE_NETINET_IN_H
6988 # include <netinet/in.h>
6989 #endif
6990 #ifdef HAVE_ARPA_NAMESER_H
6991 # include <arpa/nameser.h>
6992 #endif
6994 if test "x$ac_cv_header_resolv_h" = xyes; then :
6995 cat >>confdefs.h <<_ACEOF
6996 #define HAVE_RESOLV_H 1
6997 _ACEOF
7001 done
7004 for ac_header in ifaddrs.h
7005 do :
7006 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7008 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7009 cat >>confdefs.h <<_ACEOF
7010 #define HAVE_IFADDRS_H 1
7011 _ACEOF
7015 done
7018 for ac_header in sys/ucontext.h
7019 do :
7020 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7022 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7023 cat >>confdefs.h <<_ACEOF
7024 #define HAVE_SYS_UCONTEXT_H 1
7025 _ACEOF
7029 done
7032 for ac_header in sys/thr.h
7033 do :
7034 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7035 #ifdef HAVE_SYS_UCONTEXT_H
7036 #include <sys/ucontext.h>
7037 #endif
7039 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7040 cat >>confdefs.h <<_ACEOF
7041 #define HAVE_SYS_THR_H 1
7042 _ACEOF
7046 done
7049 for ac_header in pthread_np.h
7050 do :
7051 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7052 #include <pthread.h>
7053 #endif
7055 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7056 cat >>confdefs.h <<_ACEOF
7057 #define HAVE_PTHREAD_NP_H 1
7058 _ACEOF
7062 done
7065 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7066 do :
7067 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7068 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7069 #include <sys/time.h>
7070 #endif
7071 #include <sys/types.h>
7072 #ifdef HAVE_ASM_TYPES_H
7073 #include <asm/types.h>
7074 #endif
7076 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7077 cat >>confdefs.h <<_ACEOF
7078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7079 _ACEOF
7083 done
7086 for ac_header in libprocstat.h
7087 do :
7088 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7089 #include <sys/param.h>
7090 #endif
7091 #ifdef HAVE_SYS_QUEUE_H
7092 #include <sys/queue.h>
7093 #endif
7094 #ifdef HAVE_SYS_SOCKET_H
7095 #include <sys/socket.h>
7096 #endif
7098 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7099 cat >>confdefs.h <<_ACEOF
7100 #define HAVE_LIBPROCSTAT_H 1
7101 _ACEOF
7105 done
7109 dlldir="\${libdir}/wine"
7111 DLLPREFIX=""
7113 DLLFLAGS="-D_REENTRANT"
7115 LDRPATH_INSTALL=""
7117 LDRPATH_LOCAL=""
7119 LIBEXT="so"
7120 DLLEXT=".so"
7121 IMPLIBEXT="def"
7122 STATIC_IMPLIBEXT="def.a"
7123 # Extract the first word of "ldd", so it can be a program name with args.
7124 set dummy ldd; ac_word=$2
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7126 $as_echo_n "checking for $ac_word... " >&6; }
7127 if ${ac_cv_path_LDD+:} false; then :
7128 $as_echo_n "(cached) " >&6
7129 else
7130 case $LDD in
7131 [\\/]* | ?:[\\/]*)
7132 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 as_dummy="/sbin:/usr/sbin:$PATH"
7137 for as_dir in $as_dummy
7139 IFS=$as_save_IFS
7140 test -z "$as_dir" && as_dir=.
7141 for ac_exec_ext in '' $ac_executable_extensions; do
7142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7143 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145 break 2
7147 done
7148 done
7149 IFS=$as_save_IFS
7151 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7153 esac
7155 LDD=$ac_cv_path_LDD
7156 if test -n "$LDD"; then
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7158 $as_echo "$LDD" >&6; }
7159 else
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 $as_echo "no" >&6; }
7165 if test -n "$ac_tool_prefix"; then
7166 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7167 set dummy ${ac_tool_prefix}otool; ac_word=$2
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7169 $as_echo_n "checking for $ac_word... " >&6; }
7170 if ${ac_cv_prog_OTOOL+:} false; then :
7171 $as_echo_n "(cached) " >&6
7172 else
7173 if test -n "$OTOOL"; then
7174 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7175 else
7176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7177 for as_dir in $PATH
7179 IFS=$as_save_IFS
7180 test -z "$as_dir" && as_dir=.
7181 for ac_exec_ext in '' $ac_executable_extensions; do
7182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7183 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7185 break 2
7187 done
7188 done
7189 IFS=$as_save_IFS
7193 OTOOL=$ac_cv_prog_OTOOL
7194 if test -n "$OTOOL"; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7196 $as_echo "$OTOOL" >&6; }
7197 else
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199 $as_echo "no" >&6; }
7204 if test -z "$ac_cv_prog_OTOOL"; then
7205 ac_ct_OTOOL=$OTOOL
7206 # Extract the first word of "otool", so it can be a program name with args.
7207 set dummy otool; ac_word=$2
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209 $as_echo_n "checking for $ac_word... " >&6; }
7210 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7211 $as_echo_n "(cached) " >&6
7212 else
7213 if test -n "$ac_ct_OTOOL"; then
7214 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7215 else
7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7217 for as_dir in $PATH
7219 IFS=$as_save_IFS
7220 test -z "$as_dir" && as_dir=.
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7223 ac_cv_prog_ac_ct_OTOOL="otool"
7224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7225 break 2
7227 done
7228 done
7229 IFS=$as_save_IFS
7233 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7234 if test -n "$ac_ct_OTOOL"; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7236 $as_echo "$ac_ct_OTOOL" >&6; }
7237 else
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7239 $as_echo "no" >&6; }
7242 if test "x$ac_ct_OTOOL" = x; then
7243 OTOOL="otool"
7244 else
7245 case $cross_compiling:$ac_tool_warned in
7246 yes:)
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7249 ac_tool_warned=yes ;;
7250 esac
7251 OTOOL=$ac_ct_OTOOL
7253 else
7254 OTOOL="$ac_cv_prog_OTOOL"
7257 if test -n "$ac_tool_prefix"; then
7258 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7259 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7261 $as_echo_n "checking for $ac_word... " >&6; }
7262 if ${ac_cv_prog_READELF+:} false; then :
7263 $as_echo_n "(cached) " >&6
7264 else
7265 if test -n "$READELF"; then
7266 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7267 else
7268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7269 for as_dir in $PATH
7271 IFS=$as_save_IFS
7272 test -z "$as_dir" && as_dir=.
7273 for ac_exec_ext in '' $ac_executable_extensions; do
7274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7275 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7277 break 2
7279 done
7280 done
7281 IFS=$as_save_IFS
7285 READELF=$ac_cv_prog_READELF
7286 if test -n "$READELF"; then
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7288 $as_echo "$READELF" >&6; }
7289 else
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7291 $as_echo "no" >&6; }
7296 if test -z "$ac_cv_prog_READELF"; then
7297 ac_ct_READELF=$READELF
7298 # Extract the first word of "readelf", so it can be a program name with args.
7299 set dummy readelf; ac_word=$2
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7301 $as_echo_n "checking for $ac_word... " >&6; }
7302 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7303 $as_echo_n "(cached) " >&6
7304 else
7305 if test -n "$ac_ct_READELF"; then
7306 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7307 else
7308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7309 for as_dir in $PATH
7311 IFS=$as_save_IFS
7312 test -z "$as_dir" && as_dir=.
7313 for ac_exec_ext in '' $ac_executable_extensions; do
7314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7315 ac_cv_prog_ac_ct_READELF="readelf"
7316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7317 break 2
7319 done
7320 done
7321 IFS=$as_save_IFS
7325 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7326 if test -n "$ac_ct_READELF"; then
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7328 $as_echo "$ac_ct_READELF" >&6; }
7329 else
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7331 $as_echo "no" >&6; }
7334 if test "x$ac_ct_READELF" = x; then
7335 READELF="true"
7336 else
7337 case $cross_compiling:$ac_tool_warned in
7338 yes:)
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7341 ac_tool_warned=yes ;;
7342 esac
7343 READELF=$ac_ct_READELF
7345 else
7346 READELF="$ac_cv_prog_READELF"
7349 wine_rules_file=conf$$rules.make
7350 rm -f $wine_rules_file
7351 ALL_POT_FILES=""
7352 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7353 ALL_TEST_RESOURCES=""
7356 wine_fn_append_file ()
7358 as_fn_append $1 " \\$as_nl $2"
7361 wine_fn_ignore_file ()
7363 case "$1" in
7364 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7365 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7366 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7367 esac
7370 wine_fn_append_rule ()
7372 $as_echo "$1" >>$wine_rules_file
7375 wine_fn_has_flag ()
7377 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7380 wine_fn_depend_rules ()
7382 wine_fn_append_rule \
7383 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7384 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7385 depend: $ac_dir/depend
7386 .PHONY: $ac_dir/depend
7387 $ac_dir/depend: \$(MAKEDEP) dummy
7388 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7391 wine_fn_pot_rules ()
7393 test "x$with_gettextpo" = xyes || return
7395 if wine_fn_has_flag mc
7396 then
7397 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7398 wine_fn_append_rule \
7399 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7400 @cd $ac_dir && \$(MAKE) msg.pot
7401 $ac_dir/msg.pot: tools/wmc include"
7403 if wine_fn_has_flag po
7404 then
7405 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7406 wine_fn_append_rule \
7407 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7408 @cd $ac_dir && \$(MAKE) rsrc.pot
7409 $ac_dir/rsrc.pot: tools/wrc include"
7413 wine_fn_all_rules ()
7415 wine_fn_depend_rules
7416 wine_fn_append_rule \
7417 "all: $ac_dir
7418 .PHONY: $ac_dir
7419 $ac_dir: $ac_dir/Makefile dummy
7420 @cd $ac_dir && \$(MAKE)"
7423 wine_fn_install_rules ()
7425 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7427 wine_fn_append_rule \
7428 ".PHONY: $ac_dir/install $ac_dir/uninstall
7429 $ac_dir/install:: $ac_dir
7430 @cd $ac_dir && \$(MAKE) install
7431 $ac_dir/uninstall:: $ac_dir/Makefile
7432 @cd $ac_dir && \$(MAKE) uninstall
7433 install:: $ac_dir/install
7434 __uninstall__: $ac_dir/uninstall"
7436 if wine_fn_has_flag install-lib
7437 then
7438 wine_fn_append_rule \
7439 ".PHONY: $ac_dir/install-lib
7440 $ac_dir/install-lib:: $ac_dir
7441 @cd $ac_dir && \$(MAKE) install-lib
7442 install-lib:: $ac_dir/install-lib"
7445 if wine_fn_has_flag install-dev
7446 then
7447 wine_fn_append_rule \
7448 ".PHONY: $ac_dir/install-dev
7449 $ac_dir/install-dev:: $ac_dir
7450 @cd $ac_dir && \$(MAKE) install-dev
7451 install-dev:: $ac_dir/install-dev"
7455 wine_fn_clean_rules ()
7457 ac_clean=$@
7458 ac_extraclean="$ac_dir/Makefile"
7459 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7460 case $ac_dir in
7461 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7462 esac
7464 if wine_fn_has_flag clean
7465 then
7466 wine_fn_append_rule \
7467 "__clean__: $ac_dir/clean
7468 .PHONY: $ac_dir/clean
7469 $ac_dir/clean: $ac_dir/Makefile
7470 @cd $ac_dir && \$(MAKE) clean
7471 \$(RM) $ac_extraclean"
7472 else
7473 wine_fn_append_rule \
7474 "__clean__: $ac_dir/clean
7475 .PHONY: $ac_dir/clean
7476 $ac_dir/clean: dummy
7477 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7481 wine_fn_disabled_rules ()
7483 ac_clean=$@
7484 ac_extraclean="$ac_dir/Makefile"
7485 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7487 wine_fn_append_rule \
7488 "__clean__: $ac_dir/clean
7489 .PHONY: $ac_dir/clean
7490 $ac_dir/clean: dummy
7491 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7494 wine_fn_config_makefile ()
7496 ac_dir=$1
7497 ac_enable=$2
7498 ac_flags=$3
7500 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7501 wine_fn_disabled_rules; return
7503 wine_fn_all_rules
7504 wine_fn_install_rules
7505 wine_fn_clean_rules
7508 wine_fn_config_lib ()
7510 ac_name=$1
7511 ac_flags=$2
7512 ac_dir=dlls/$ac_name
7513 ac_deps="include"
7515 if test "x$enable_tools" = xno; then :
7517 else
7518 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7520 wine_fn_all_rules
7521 wine_fn_clean_rules
7523 wine_fn_append_rule \
7524 ".PHONY: $ac_dir/install $ac_dir/uninstall
7525 $ac_dir/install:: $ac_dir
7526 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7527 $ac_dir/uninstall::
7528 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7529 install install-dev:: $ac_dir/install
7530 __uninstall__: $ac_dir/uninstall
7531 __builddeps__: $ac_dir
7532 $ac_dir: $ac_deps"
7535 wine_fn_config_dll ()
7537 ac_name=$1
7538 ac_dir=dlls/$ac_name
7539 ac_enable=$2
7540 ac_flags=$3
7541 ac_implib=${4:-$ac_name}
7542 ac_file=$ac_dir/lib$ac_implib
7543 ac_dll=$ac_name
7544 ac_deps="include"
7545 ac_implibflags=""
7547 if test "x$enable_tools" = xno; then :
7549 else
7550 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7552 case $ac_name in
7553 *16) ac_implibflags=" -m16" ;;
7554 *.*) ;;
7555 *) ac_dll=$ac_dll.dll ;;
7556 esac
7558 ac_clean=
7559 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7560 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7561 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7562 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7564 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7565 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7566 then
7567 wine_fn_depend_rules
7568 wine_fn_clean_rules $ac_clean
7569 else
7570 wine_fn_disabled_rules $ac_clean
7571 return
7573 else
7574 wine_fn_all_rules
7575 wine_fn_clean_rules $ac_clean
7576 wine_fn_append_rule \
7577 "$ac_dir: __builddeps__
7578 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7579 @cd $ac_dir && \$(MAKE) \$@
7580 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7581 install install-lib:: $ac_dir/install-lib
7582 __uninstall__: $ac_dir/uninstall"
7583 if test -n "$DLLEXT"
7584 then
7585 wine_fn_append_rule \
7586 "$ac_dir/install-lib:: $ac_dir
7587 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7588 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7589 $ac_dir/uninstall::
7590 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7591 else
7592 wine_fn_append_rule \
7593 "$ac_dir/install-lib:: $ac_dir
7594 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7595 $ac_dir/uninstall::
7596 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7599 wine_fn_pot_rules
7602 if wine_fn_has_flag staticimplib
7603 then
7604 wine_fn_append_rule \
7605 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7606 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7607 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7608 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7609 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7610 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7611 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7612 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7613 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7614 $ac_dir/uninstall::
7615 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7616 install install-dev:: $ac_dir/install-dev
7617 __uninstall__: $ac_dir/uninstall"
7619 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7620 then
7621 wine_fn_append_rule \
7622 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7623 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7624 $ac_dir/uninstall::
7625 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7628 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7629 then
7630 wine_fn_append_rule \
7631 "__builddeps__: $ac_file.cross.a
7632 $ac_file.cross.a: $ac_dir/Makefile dummy
7633 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7636 elif wine_fn_has_flag implib
7637 then
7638 wine_fn_append_rule \
7639 "__builddeps__: $ac_file.$IMPLIBEXT
7640 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7641 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7642 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7643 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7644 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7645 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7646 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7647 $ac_dir/uninstall::
7648 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7649 install install-dev:: $ac_dir/install-dev
7650 __uninstall__: $ac_dir/uninstall"
7651 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7652 then
7653 wine_fn_append_rule \
7654 "__builddeps__: $ac_file.cross.a
7655 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7656 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7659 if test "$ac_name" != "$ac_implib"
7660 then
7661 wine_fn_append_rule \
7662 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7663 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7664 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7665 clean::
7666 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7667 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7668 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7669 then
7670 wine_fn_append_rule \
7671 "__builddeps__: dlls/lib$ac_implib.cross.a
7672 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7673 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7674 clean::
7675 \$(RM) dlls/lib$ac_implib.cross.a"
7676 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7682 wine_fn_config_program ()
7684 ac_name=$1
7685 ac_dir=programs/$ac_name
7686 ac_enable=$2
7687 ac_flags=$3
7688 ac_program=$ac_name
7690 case $ac_name in
7691 *.*) ;;
7692 *) ac_program=$ac_program.exe ;;
7693 esac
7695 ac_clean=
7696 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7697 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7698 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7699 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7701 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7702 wine_fn_disabled_rules $ac_clean; return
7705 wine_fn_all_rules
7706 wine_fn_clean_rules $ac_clean
7707 wine_fn_append_rule "$ac_dir: __builddeps__"
7708 wine_fn_pot_rules
7710 wine_fn_has_flag install || return
7711 wine_fn_append_rule \
7712 ".PHONY: $ac_dir/install $ac_dir/uninstall
7713 install install-lib:: $ac_dir/install
7714 __uninstall__: $ac_dir/uninstall"
7716 if test -n "$DLLEXT"
7717 then
7718 wine_fn_append_rule \
7719 "$ac_dir/install:: $ac_dir
7720 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7721 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7722 $ac_dir/uninstall::
7723 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7725 if test -z "$with_wine64" && wine_fn_has_flag installbin
7726 then
7727 wine_fn_append_rule \
7728 "$ac_dir/install:: __tooldeps__
7729 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7730 $ac_dir/uninstall::
7731 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7733 else
7734 wine_fn_append_rule \
7735 "$ac_dir/install:: $ac_dir
7736 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7737 $ac_dir/uninstall::
7738 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7741 if test -z "$with_wine64" && wine_fn_has_flag manpage
7742 then
7743 wine_fn_append_rule \
7744 "$ac_dir/install:: $ac_dir
7745 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7746 $ac_dir/uninstall::
7747 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7751 wine_fn_config_test ()
7753 ac_dir=$1
7754 ac_name=$2
7755 ac_flags=$3
7757 ac_clean=
7758 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7759 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7761 if test "x$enable_tests" = xno; then :
7762 wine_fn_disabled_rules $ac_clean; return
7765 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7766 wine_fn_all_rules
7767 wine_fn_clean_rules $ac_clean
7769 wine_fn_append_rule \
7770 "$ac_dir: programs/winetest/Makefile __builddeps__
7771 programs/winetest: $ac_dir
7772 check test: $ac_dir/test
7773 .PHONY: $ac_dir/test
7774 $ac_dir/test: dummy
7775 @cd $ac_dir && \$(MAKE) test
7776 testclean::
7777 \$(RM) $ac_dir/*.ok"
7779 if test -n "$CROSSTARGET"
7780 then
7781 wine_fn_append_rule \
7782 "crosstest: $ac_dir/crosstest
7783 .PHONY: $ac_dir/crosstest
7784 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7785 @cd $ac_dir && \$(MAKE) crosstest"
7789 wine_fn_config_tool ()
7791 ac_dir=$1
7792 ac_flags=$2
7793 if test "x$enable_tools" = xno; then :
7794 return
7797 wine_fn_all_rules
7798 wine_fn_install_rules
7799 wine_fn_clean_rules
7801 wine_fn_append_rule "__tooldeps__: $ac_dir"
7802 wine_fn_append_rule "$ac_dir: libs/port"
7803 case $ac_dir in
7804 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7805 esac
7808 wine_fn_config_symlink ()
7810 ac_linkdir=
7811 if test "x$1" = "x-d"
7812 then
7813 ac_linkdir=$2
7814 shift; shift
7816 ac_links=$@
7817 wine_fn_append_rule \
7818 "$ac_links:
7819 @./config.status \$@
7820 distclean::
7821 \$(RM) $ac_links"
7822 for f in $ac_links; do wine_fn_ignore_file $f; done
7823 test -n "$ac_linkdir" || return
7824 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7827 wine_binary="wine"
7828 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7829 loader_programs="$wine_binary wine-installed"
7830 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7832 LOADER_RULES="
7833 all: wine.inf
7835 install install-lib:: wine-installed
7836 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7838 uninstall::
7839 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7843 case $host_os in
7844 cygwin*|mingw32*)
7845 if test -n "$ac_tool_prefix"; then
7846 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7847 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7849 $as_echo_n "checking for $ac_word... " >&6; }
7850 if ${ac_cv_prog_DLLTOOL+:} false; then :
7851 $as_echo_n "(cached) " >&6
7852 else
7853 if test -n "$DLLTOOL"; then
7854 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7855 else
7856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7857 for as_dir in $PATH
7859 IFS=$as_save_IFS
7860 test -z "$as_dir" && as_dir=.
7861 for ac_exec_ext in '' $ac_executable_extensions; do
7862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7863 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7865 break 2
7867 done
7868 done
7869 IFS=$as_save_IFS
7873 DLLTOOL=$ac_cv_prog_DLLTOOL
7874 if test -n "$DLLTOOL"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7876 $as_echo "$DLLTOOL" >&6; }
7877 else
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7884 if test -z "$ac_cv_prog_DLLTOOL"; then
7885 ac_ct_DLLTOOL=$DLLTOOL
7886 # Extract the first word of "dlltool", so it can be a program name with args.
7887 set dummy dlltool; ac_word=$2
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7889 $as_echo_n "checking for $ac_word... " >&6; }
7890 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7891 $as_echo_n "(cached) " >&6
7892 else
7893 if test -n "$ac_ct_DLLTOOL"; then
7894 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7895 else
7896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7897 for as_dir in $PATH
7899 IFS=$as_save_IFS
7900 test -z "$as_dir" && as_dir=.
7901 for ac_exec_ext in '' $ac_executable_extensions; do
7902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7903 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7905 break 2
7907 done
7908 done
7909 IFS=$as_save_IFS
7913 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7914 if test -n "$ac_ct_DLLTOOL"; then
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7916 $as_echo "$ac_ct_DLLTOOL" >&6; }
7917 else
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7919 $as_echo "no" >&6; }
7922 if test "x$ac_ct_DLLTOOL" = x; then
7923 DLLTOOL="false"
7924 else
7925 case $cross_compiling:$ac_tool_warned in
7926 yes:)
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7929 ac_tool_warned=yes ;;
7930 esac
7931 DLLTOOL=$ac_ct_DLLTOOL
7933 else
7934 DLLTOOL="$ac_cv_prog_DLLTOOL"
7937 LIBEXT="dll"
7938 DLLEXT=""
7939 IMPLIBEXT="a"
7940 STATIC_IMPLIBEXT="a"
7941 enable_iphlpapi=${enable_iphlpapi:-no}
7942 enable_kernel32=${enable_kernel32:-no}
7943 enable_msvcrt=${enable_msvcrt:-no}
7944 enable_ntdll=${enable_ntdll:-no}
7945 enable_ws2_32=${enable_ws2_32:-no}
7946 enable_loader=${enable_loader:-no}
7947 enable_server=${enable_server:-no}
7948 with_x=${with_x:-no}
7949 with_pthread=${with_pthread:-no}
7951 crtlibs=""
7952 case $host_os in
7953 mingw32*)
7954 crtlibs="-lmsvcrt"
7955 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7957 esac
7959 libwine_targets="libwine.dll libwine.a"
7960 LIBWINE_RULES="
7961 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7963 all: libwine.dll libwine.a
7965 libwine.a: \$(srcdir)/wine.def
7966 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7968 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7969 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7971 install install-lib:: libwine.dll
7972 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7974 install install-dev:: libwine.a
7975 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7977 uninstall::
7978 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7983 darwin*|macosx*)
7984 for ac_header in libunwind.h
7985 do :
7986 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7988 cat >>confdefs.h <<_ACEOF
7989 #define HAVE_LIBUNWIND_H 1
7990 _ACEOF
7994 done
7996 LIBEXT="dylib"
7997 DLLFLAGS="$DLLFLAGS -fPIC"
7998 LIBWINE_LDFLAGS="-multiply_defined suppress"
7999 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8000 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8001 COREFOUNDATION_LIBS="-framework CoreFoundation"
8003 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8005 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8007 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8009 CORESERVICES_LIBS="-framework CoreServices"
8011 APPKIT_LIBS="-framework AppKit"
8013 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8015 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8016 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8017 $as_echo_n "(cached) " >&6
8018 else
8019 ac_wine_try_cflags_saved=$CFLAGS
8020 CFLAGS="$CFLAGS -Wl,-no_pie"
8021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8022 /* end confdefs.h. */
8023 int main(int argc, char **argv) { return 0; }
8024 _ACEOF
8025 if ac_fn_c_try_link "$LINENO"; then :
8026 ac_cv_cflags__Wl__no_pie=yes
8027 else
8028 ac_cv_cflags__Wl__no_pie=no
8030 rm -f core conftest.err conftest.$ac_objext \
8031 conftest$ac_exeext conftest.$ac_ext
8032 CFLAGS=$ac_wine_try_cflags_saved
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8035 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8036 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8037 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8039 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8040 then
8041 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8044 if test "$ac_cv_header_Security_Security_h" = "yes"
8045 then
8046 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8048 ac_save_LIBS="$LIBS"
8049 LIBS="$LIBS $SECURITY_LIBS"
8050 for ac_func in SSLCopyPeerCertificates
8051 do :
8052 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8053 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8054 cat >>confdefs.h <<_ACEOF
8055 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8056 _ACEOF
8059 done
8061 LIBS="$ac_save_LIBS"
8062 with_gnutls=${with_gnutls:-no}
8064 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8065 then
8066 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8067 then
8068 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8070 else
8071 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8074 ac_save_LIBS="$LIBS"
8075 LIBS="$LIBS $COREAUDIO_LIBS"
8076 for ac_func in AUGraphAddNode
8077 do :
8078 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8079 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8080 cat >>confdefs.h <<_ACEOF
8081 #define HAVE_AUGRAPHADDNODE 1
8082 _ACEOF
8085 done
8087 LIBS="$ac_save_LIBS"
8089 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8090 then
8091 OPENAL_LIBS="-framework OpenAL"
8094 cat >>confdefs.h <<_ACEOF
8095 #define HAVE_OPENAL 1
8096 _ACEOF
8098 ac_cv_lib_openal=yes
8100 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8101 then
8102 OPENCL_LIBS="-framework OpenCL"
8104 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8106 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8107 then
8108 ac_save_LIBS="$LIBS"
8109 LIBS="$LIBS $IOKIT_LIBS"
8110 for ac_func in IOHIDManagerCreate
8111 do :
8112 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8113 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8114 cat >>confdefs.h <<_ACEOF
8115 #define HAVE_IOHIDMANAGERCREATE 1
8116 _ACEOF
8119 done
8121 LIBS="$ac_save_LIBS"
8123 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8124 then
8125 ac_save_LIBS="$LIBS"
8126 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8128 $as_echo_n "checking for the QuickTime framework... " >&6; }
8129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8130 /* end confdefs.h. */
8131 #include <QuickTime/ImageCompression.h>
8133 main ()
8135 CodecManagerVersion(NULL);
8137 return 0;
8139 _ACEOF
8140 if ac_fn_c_try_link "$LINENO"; then :
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8142 $as_echo "yes" >&6; }
8143 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8145 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8146 else
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8148 $as_echo "no" >&6; }
8149 ac_cv_header_QuickTime_ImageCompression_h=no
8151 rm -f core conftest.err conftest.$ac_objext \
8152 conftest$ac_exeext conftest.$ac_ext
8153 LIBS="$ac_save_LIBS"
8155 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8156 then
8157 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8159 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8160 then
8161 CARBON_LIBS="-framework Carbon"
8165 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8166 then
8167 ac_save_LIBS="$LIBS"
8168 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8169 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8170 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8171 enable_winemac_drv=${enable_winemac_drv:-yes}
8174 LIBS="$ac_save_LIBS"
8177 if test "x$enable_win16" = "xyes"
8178 then
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8180 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8181 if test "$cross_compiling" = yes; then :
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8183 $as_echo "cross-compiling, assuming yes" >&6; }
8184 else
8185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8187 asm(".text\n"
8188 "bad:\tnop;nop\n"
8189 "good:\tnop;nop\n\t"
8190 ".globl _testfunc\n"
8191 "_testfunc:\tcallw good");
8192 extern void testfunc();
8194 main ()
8196 unsigned short *p = (unsigned short *)testfunc;
8197 return p[0] != 0xe866 || p[1] != 0xfffa
8199 return 0;
8201 _ACEOF
8202 if ac_fn_c_try_run "$LINENO"; then :
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8204 $as_echo "yes" >&6; }
8205 else
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8207 $as_echo "no" >&6; }
8208 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
8210 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8211 conftest.$ac_objext conftest.beam conftest.$ac_ext
8216 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8217 LIBWINE_RULES="
8218 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8220 all: libwine.dylib
8222 libwine.$libwine_version.dylib: \$(OBJS)
8223 \$(CC) -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8225 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8226 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8228 libwine.dylib: libwine.$libwine_soversion.dylib
8229 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8231 install install-lib:: libwine.$libwine_version.dylib
8232 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8233 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8235 install install-dev::
8236 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8238 uninstall::
8239 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8243 as_fn_append LOADER_RULES "
8244 $wine_binary: main.o wine_info.plist
8245 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8247 wine-installed: main.o wine_info.plist
8248 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8252 linux-android*)
8253 DLLFLAGS="$DLLFLAGS -fPIC"
8254 DLLPREFIX="lib"
8255 LDEXECFLAGS=""
8256 dlldir="\${libdir}"
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8258 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8259 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8260 $as_echo_n "(cached) " >&6
8261 else
8262 ac_wine_try_cflags_saved=$CFLAGS
8263 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8265 /* end confdefs.h. */
8266 int main(int argc, char **argv) { return 0; }
8267 _ACEOF
8268 if ac_fn_c_try_link "$LINENO"; then :
8269 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8270 else
8271 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8273 rm -f core conftest.err conftest.$ac_objext \
8274 conftest$ac_exeext conftest.$ac_ext
8275 CFLAGS=$ac_wine_try_cflags_saved
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8278 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8279 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8280 LDEXECFLAGS="-Wl,--export-dynamic"
8282 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8284 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8285 if eval \${$as_ac_var+:} false; then :
8286 $as_echo_n "(cached) " >&6
8287 else
8288 ac_wine_try_cflags_saved=$CFLAGS
8289 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8291 /* end confdefs.h. */
8292 int main(int argc, char **argv) { return 0; }
8293 _ACEOF
8294 if ac_fn_c_try_link "$LINENO"; then :
8295 eval "$as_ac_var=yes"
8296 else
8297 eval "$as_ac_var=no"
8299 rm -f core conftest.err conftest.$ac_objext \
8300 conftest$ac_exeext conftest.$ac_ext
8301 CFLAGS=$ac_wine_try_cflags_saved
8303 eval ac_res=\$$as_ac_var
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8305 $as_echo "$ac_res" >&6; }
8306 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8307 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8308 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8309 else
8310 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8312 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8313 if eval \${$as_ac_var+:} false; then :
8314 $as_echo_n "(cached) " >&6
8315 else
8316 ac_wine_try_cflags_saved=$CFLAGS
8317 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8319 /* end confdefs.h. */
8320 int main(int argc, char **argv) { return 0; }
8321 _ACEOF
8322 if ac_fn_c_try_link "$LINENO"; then :
8323 eval "$as_ac_var=yes"
8324 else
8325 eval "$as_ac_var=no"
8327 rm -f core conftest.err conftest.$ac_objext \
8328 conftest$ac_exeext conftest.$ac_ext
8329 CFLAGS=$ac_wine_try_cflags_saved
8331 eval ac_res=\$$as_ac_var
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8333 $as_echo "$ac_res" >&6; }
8334 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8335 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8336 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8341 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8342 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8343 $as_echo_n "(cached) " >&6
8344 else
8345 ac_wine_try_cflags_saved=$CFLAGS
8346 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8348 /* end confdefs.h. */
8349 int main(int argc, char **argv) { return 0; }
8350 _ACEOF
8351 if ac_fn_c_try_link "$LINENO"; then :
8352 ac_cv_cflags__Wl___enable_new_dtags=yes
8353 else
8354 ac_cv_cflags__Wl___enable_new_dtags=no
8356 rm -f core conftest.err conftest.$ac_objext \
8357 conftest$ac_exeext conftest.$ac_ext
8358 CFLAGS=$ac_wine_try_cflags_saved
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8361 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8362 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8363 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8366 case $host_cpu in
8367 *i[3456789]86* | x86_64)
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8369 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8370 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8371 $as_echo_n "(cached) " >&6
8372 else
8373 ac_wine_try_cflags_saved=$CFLAGS
8374 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8376 /* end confdefs.h. */
8377 int main(int argc, char **argv) { return 0; }
8378 _ACEOF
8379 if ac_fn_c_try_link "$LINENO"; then :
8380 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8381 else
8382 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8384 rm -f core conftest.err conftest.$ac_objext \
8385 conftest$ac_exeext conftest.$ac_ext
8386 CFLAGS=$ac_wine_try_cflags_saved
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8389 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8390 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8391 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8394 esac
8396 libwine_targets="libwine.so"
8397 LIBWINE_RULES="
8398 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8400 all: libwine.so
8402 libwine.so: \$(OBJS)
8403 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8405 install install-lib:: libwine.so
8406 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8408 uninstall::
8409 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8413 as_fn_append LOADER_RULES "
8414 $wine_binary: main.o
8415 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8417 wine-installed: main.o
8418 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8423 DLLFLAGS="$DLLFLAGS -fPIC"
8424 LDEXECFLAGS=""
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8426 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8427 if ${ac_cv_c_dll_gnuelf+:} false; then :
8428 $as_echo_n "(cached) " >&6
8429 else
8430 ac_wine_try_cflags_saved=$CFLAGS
8431 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8433 /* end confdefs.h. */
8434 void myfunc() {}
8435 _ACEOF
8436 if ac_fn_c_try_link "$LINENO"; then :
8437 ac_cv_c_dll_gnuelf="yes"
8438 else
8439 ac_cv_c_dll_gnuelf="no"
8441 rm -f core conftest.err conftest.$ac_objext \
8442 conftest$ac_exeext conftest.$ac_ext
8443 CFLAGS=$ac_wine_try_cflags_saved
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8446 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8447 if test "$ac_cv_c_dll_gnuelf" = "yes"
8448 then
8449 LDSHARED="\$(CC) -shared"
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8451 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8452 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8453 $as_echo_n "(cached) " >&6
8454 else
8455 ac_wine_try_cflags_saved=$CFLAGS
8456 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8458 /* end confdefs.h. */
8459 int main(int argc, char **argv) { return 0; }
8460 _ACEOF
8461 if ac_fn_c_try_link "$LINENO"; then :
8462 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8463 else
8464 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8466 rm -f core conftest.err conftest.$ac_objext \
8467 conftest$ac_exeext conftest.$ac_ext
8468 CFLAGS=$ac_wine_try_cflags_saved
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8471 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8472 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8473 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8474 else
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8476 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8477 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8478 $as_echo_n "(cached) " >&6
8479 else
8480 ac_wine_try_cflags_saved=$CFLAGS
8481 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8483 /* end confdefs.h. */
8484 int main(int argc, char **argv) { return 0; }
8485 _ACEOF
8486 if ac_fn_c_try_link "$LINENO"; then :
8487 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8488 else
8489 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8491 rm -f core conftest.err conftest.$ac_objext \
8492 conftest$ac_exeext conftest.$ac_ext
8493 CFLAGS=$ac_wine_try_cflags_saved
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8496 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8497 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8498 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8502 echo '{ global: *; };' >conftest.map
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8504 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8505 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8506 $as_echo_n "(cached) " >&6
8507 else
8508 ac_wine_try_cflags_saved=$CFLAGS
8509 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8512 int main(int argc, char **argv) { return 0; }
8513 _ACEOF
8514 if ac_fn_c_try_link "$LINENO"; then :
8515 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8516 else
8517 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8519 rm -f core conftest.err conftest.$ac_objext \
8520 conftest$ac_exeext conftest.$ac_ext
8521 CFLAGS=$ac_wine_try_cflags_saved
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8524 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8525 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8526 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8528 rm -f conftest.map
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8531 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8532 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8533 $as_echo_n "(cached) " >&6
8534 else
8535 ac_wine_try_cflags_saved=$CFLAGS
8536 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8539 int main(int argc, char **argv) { return 0; }
8540 _ACEOF
8541 if ac_fn_c_try_link "$LINENO"; then :
8542 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8543 else
8544 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8546 rm -f core conftest.err conftest.$ac_objext \
8547 conftest$ac_exeext conftest.$ac_ext
8548 CFLAGS=$ac_wine_try_cflags_saved
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8551 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8552 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8553 LDEXECFLAGS="-Wl,--export-dynamic"
8556 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8558 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8559 if eval \${$as_ac_var+:} false; then :
8560 $as_echo_n "(cached) " >&6
8561 else
8562 ac_wine_try_cflags_saved=$CFLAGS
8563 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8566 int main(int argc, char **argv) { return 0; }
8567 _ACEOF
8568 if ac_fn_c_try_link "$LINENO"; then :
8569 eval "$as_ac_var=yes"
8570 else
8571 eval "$as_ac_var=no"
8573 rm -f core conftest.err conftest.$ac_objext \
8574 conftest$ac_exeext conftest.$ac_ext
8575 CFLAGS=$ac_wine_try_cflags_saved
8577 eval ac_res=\$$as_ac_var
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8579 $as_echo "$ac_res" >&6; }
8580 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8581 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8582 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8583 else
8584 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8586 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8587 if eval \${$as_ac_var+:} false; then :
8588 $as_echo_n "(cached) " >&6
8589 else
8590 ac_wine_try_cflags_saved=$CFLAGS
8591 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8594 int main(int argc, char **argv) { return 0; }
8595 _ACEOF
8596 if ac_fn_c_try_link "$LINENO"; then :
8597 eval "$as_ac_var=yes"
8598 else
8599 eval "$as_ac_var=no"
8601 rm -f core conftest.err conftest.$ac_objext \
8602 conftest$ac_exeext conftest.$ac_ext
8603 CFLAGS=$ac_wine_try_cflags_saved
8605 eval ac_res=\$$as_ac_var
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8607 $as_echo "$ac_res" >&6; }
8608 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8609 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8610 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8615 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8616 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8617 $as_echo_n "(cached) " >&6
8618 else
8619 ac_wine_try_cflags_saved=$CFLAGS
8620 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8622 /* end confdefs.h. */
8623 int main(int argc, char **argv) { return 0; }
8624 _ACEOF
8625 if ac_fn_c_try_link "$LINENO"; then :
8626 ac_cv_cflags__Wl___enable_new_dtags=yes
8627 else
8628 ac_cv_cflags__Wl___enable_new_dtags=no
8630 rm -f core conftest.err conftest.$ac_objext \
8631 conftest$ac_exeext conftest.$ac_ext
8632 CFLAGS=$ac_wine_try_cflags_saved
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8635 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8636 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8637 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8640 case $host_cpu in
8641 *i[3456789]86* | x86_64)
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8643 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8644 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8645 $as_echo_n "(cached) " >&6
8646 else
8647 ac_wine_try_cflags_saved=$CFLAGS
8648 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8650 /* end confdefs.h. */
8651 int main(int argc, char **argv) { return 0; }
8652 _ACEOF
8653 if ac_fn_c_try_link "$LINENO"; then :
8654 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8655 else
8656 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8658 rm -f core conftest.err conftest.$ac_objext \
8659 conftest$ac_exeext conftest.$ac_ext
8660 CFLAGS=$ac_wine_try_cflags_saved
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8663 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8664 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8665 case $host_os in
8666 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8667 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8668 esac
8671 # Extract the first word of "prelink", so it can be a program name with args.
8672 set dummy prelink; ac_word=$2
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8674 $as_echo_n "checking for $ac_word... " >&6; }
8675 if ${ac_cv_path_PRELINK+:} false; then :
8676 $as_echo_n "(cached) " >&6
8677 else
8678 case $PRELINK in
8679 [\\/]* | ?:[\\/]*)
8680 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684 for as_dir in /sbin /usr/sbin $PATH
8686 IFS=$as_save_IFS
8687 test -z "$as_dir" && as_dir=.
8688 for ac_exec_ext in '' $ac_executable_extensions; do
8689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8690 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8692 break 2
8694 done
8695 done
8696 IFS=$as_save_IFS
8698 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8700 esac
8702 PRELINK=$ac_cv_path_PRELINK
8703 if test -n "$PRELINK"; then
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8705 $as_echo "$PRELINK" >&6; }
8706 else
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8708 $as_echo "no" >&6; }
8712 if test "x$PRELINK" = xfalse
8713 then
8714 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8717 esac
8719 else
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8721 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8722 if ${ac_cv_c_dll_unixware+:} false; then :
8723 $as_echo_n "(cached) " >&6
8724 else
8725 ac_wine_try_cflags_saved=$CFLAGS
8726 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h. */
8729 void myfunc() {}
8730 _ACEOF
8731 if ac_fn_c_try_link "$LINENO"; then :
8732 ac_cv_c_dll_unixware="yes"
8733 else
8734 ac_cv_c_dll_unixware="no"
8736 rm -f core conftest.err conftest.$ac_objext \
8737 conftest$ac_exeext conftest.$ac_ext
8738 CFLAGS=$ac_wine_try_cflags_saved
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8741 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8742 if test "$ac_cv_c_dll_unixware" = "yes"
8743 then
8744 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8747 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8748 LIBWINE_RULES="
8749 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8751 all: libwine.so
8753 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8754 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8756 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8757 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8759 libwine.so: libwine.so.$libwine_soversion
8760 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8762 install install-lib:: libwine.so.$libwine_version
8763 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8764 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8766 install install-dev::
8767 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8769 uninstall::
8770 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8774 as_fn_append LOADER_RULES "
8775 $wine_binary: main.o
8776 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8778 wine-installed: main.o
8779 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8782 esac
8784 as_fn_append LIBWINE_RULES "
8785 EXTRA_TARGETS = $libwine_targets
8788 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8789 enable_winemac_drv=${enable_winemac_drv:-no}
8791 CROSSTARGET=""
8793 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8794 then
8795 case "$host_cpu" in
8796 i[3456789]86*)
8797 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
8798 mingw32-gcc" ;;
8799 x86_64)
8800 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 " ;;
8802 ac_prefix_list="" ;;
8803 esac
8804 for ac_prog in $ac_prefix_list
8806 # Extract the first word of "$ac_prog", so it can be a program name with args.
8807 set dummy $ac_prog; ac_word=$2
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8809 $as_echo_n "checking for $ac_word... " >&6; }
8810 if ${ac_cv_prog_CROSSCC+:} false; then :
8811 $as_echo_n "(cached) " >&6
8812 else
8813 if test -n "$CROSSCC"; then
8814 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8815 else
8816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8817 for as_dir in $PATH
8819 IFS=$as_save_IFS
8820 test -z "$as_dir" && as_dir=.
8821 for ac_exec_ext in '' $ac_executable_extensions; do
8822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8823 ac_cv_prog_CROSSCC="$ac_prog"
8824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8825 break 2
8827 done
8828 done
8829 IFS=$as_save_IFS
8833 CROSSCC=$ac_cv_prog_CROSSCC
8834 if test -n "$CROSSCC"; then
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8836 $as_echo "$CROSSCC" >&6; }
8837 else
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8839 $as_echo "no" >&6; }
8843 test -n "$CROSSCC" && break
8844 done
8845 test -n "$CROSSCC" || CROSSCC="false"
8847 if test "$CROSSCC" != "false"
8848 then
8849 ac_save_CC="$CC"
8850 CC="$CROSSCC"
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8852 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8854 /* end confdefs.h. */
8857 main ()
8861 return 0;
8863 _ACEOF
8864 if ac_fn_c_try_compile "$LINENO"; then :
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8866 $as_echo "yes" >&6; }
8867 set x $CROSSCC
8868 shift
8869 while test $# -ge 1
8871 case "$1" in
8872 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8873 esac
8874 shift
8875 done
8876 else
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8878 $as_echo "no" >&6; }
8880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8881 CC="$ac_save_CC"
8886 if test "$ac_cv_header_pthread_h" = "yes"
8887 then
8888 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8889 if test "x$ac_cv_func_pthread_create" = xyes; then :
8891 else
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8893 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8894 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8895 $as_echo_n "(cached) " >&6
8896 else
8897 ac_check_lib_save_LIBS=$LIBS
8898 LIBS="-lpthread $LIBS"
8899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h. */
8902 /* Override any GCC internal prototype to avoid an error.
8903 Use char because int might match the return type of a GCC
8904 builtin and then its argument prototype would still apply. */
8905 #ifdef __cplusplus
8906 extern "C"
8907 #endif
8908 char pthread_create ();
8910 main ()
8912 return pthread_create ();
8914 return 0;
8916 _ACEOF
8917 if ac_fn_c_try_link "$LINENO"; then :
8918 ac_cv_lib_pthread_pthread_create=yes
8919 else
8920 ac_cv_lib_pthread_pthread_create=no
8922 rm -f core conftest.err conftest.$ac_objext \
8923 conftest$ac_exeext conftest.$ac_ext
8924 LIBS=$ac_check_lib_save_LIBS
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8927 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8928 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8929 PTHREAD_LIBS="-lpthread"
8936 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8937 case "x$with_pthread" in
8938 xno) ;;
8939 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8940 Wine cannot support threads without libpthread.
8941 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8942 esac
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8947 $as_echo_n "checking for X... " >&6; }
8950 # Check whether --with-x was given.
8951 if test "${with_x+set}" = set; then :
8952 withval=$with_x;
8955 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8956 if test "x$with_x" = xno; then
8957 # The user explicitly disabled X.
8958 have_x=disabled
8959 else
8960 case $x_includes,$x_libraries in #(
8961 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8962 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8963 $as_echo_n "(cached) " >&6
8964 else
8965 # One or both of the vars are not set, and there is no cached value.
8966 ac_x_includes=no ac_x_libraries=no
8967 rm -f -r conftest.dir
8968 if mkdir conftest.dir; then
8969 cd conftest.dir
8970 cat >Imakefile <<'_ACEOF'
8971 incroot:
8972 @echo incroot='${INCROOT}'
8973 usrlibdir:
8974 @echo usrlibdir='${USRLIBDIR}'
8975 libdir:
8976 @echo libdir='${LIBDIR}'
8977 _ACEOF
8978 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8979 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8980 for ac_var in incroot usrlibdir libdir; do
8981 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8982 done
8983 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8984 for ac_extension in a so sl dylib la dll; do
8985 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8986 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8987 ac_im_usrlibdir=$ac_im_libdir; break
8989 done
8990 # Screen out bogus values from the imake configuration. They are
8991 # bogus both because they are the default anyway, and because
8992 # using them would break gcc on systems where it needs fixed includes.
8993 case $ac_im_incroot in
8994 /usr/include) ac_x_includes= ;;
8995 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8996 esac
8997 case $ac_im_usrlibdir in
8998 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8999 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9000 esac
9002 cd ..
9003 rm -f -r conftest.dir
9006 # Standard set of common directories for X headers.
9007 # Check X11 before X11Rn because it is often a symlink to the current release.
9008 ac_x_header_dirs='
9009 /usr/X11/include
9010 /usr/X11R7/include
9011 /usr/X11R6/include
9012 /usr/X11R5/include
9013 /usr/X11R4/include
9015 /usr/include/X11
9016 /usr/include/X11R7
9017 /usr/include/X11R6
9018 /usr/include/X11R5
9019 /usr/include/X11R4
9021 /usr/local/X11/include
9022 /usr/local/X11R7/include
9023 /usr/local/X11R6/include
9024 /usr/local/X11R5/include
9025 /usr/local/X11R4/include
9027 /usr/local/include/X11
9028 /usr/local/include/X11R7
9029 /usr/local/include/X11R6
9030 /usr/local/include/X11R5
9031 /usr/local/include/X11R4
9033 /usr/X386/include
9034 /usr/x386/include
9035 /usr/XFree86/include/X11
9037 /usr/include
9038 /usr/local/include
9039 /usr/unsupported/include
9040 /usr/athena/include
9041 /usr/local/x11r5/include
9042 /usr/lpp/Xamples/include
9044 /usr/openwin/include
9045 /usr/openwin/share/include'
9047 if test "$ac_x_includes" = no; then
9048 # Guess where to find include files, by looking for Xlib.h.
9049 # First, try using that file with no special directory specified.
9050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9051 /* end confdefs.h. */
9052 #include <X11/Xlib.h>
9053 _ACEOF
9054 if ac_fn_c_try_cpp "$LINENO"; then :
9055 # We can compile using X headers with no special include directory.
9056 ac_x_includes=
9057 else
9058 for ac_dir in $ac_x_header_dirs; do
9059 if test -r "$ac_dir/X11/Xlib.h"; then
9060 ac_x_includes=$ac_dir
9061 break
9063 done
9065 rm -f conftest.err conftest.i conftest.$ac_ext
9066 fi # $ac_x_includes = no
9068 if test "$ac_x_libraries" = no; then
9069 # Check for the libraries.
9070 # See if we find them without any special options.
9071 # Don't add to $LIBS permanently.
9072 ac_save_LIBS=$LIBS
9073 LIBS="-lX11 $LIBS"
9074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9075 /* end confdefs.h. */
9076 #include <X11/Xlib.h>
9078 main ()
9080 XrmInitialize ()
9082 return 0;
9084 _ACEOF
9085 if ac_fn_c_try_link "$LINENO"; then :
9086 LIBS=$ac_save_LIBS
9087 # We can link X programs with no special library path.
9088 ac_x_libraries=
9089 else
9090 LIBS=$ac_save_LIBS
9091 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9093 # Don't even attempt the hair of trying to link an X program!
9094 for ac_extension in a so sl dylib la dll; do
9095 if test -r "$ac_dir/libX11.$ac_extension"; then
9096 ac_x_libraries=$ac_dir
9097 break 2
9099 done
9100 done
9102 rm -f core conftest.err conftest.$ac_objext \
9103 conftest$ac_exeext conftest.$ac_ext
9104 fi # $ac_x_libraries = no
9106 case $ac_x_includes,$ac_x_libraries in #(
9107 no,* | *,no | *\'*)
9108 # Didn't find X, or a directory has "'" in its name.
9109 ac_cv_have_x="have_x=no";; #(
9111 # Record where we found X for the cache.
9112 ac_cv_have_x="have_x=yes\
9113 ac_x_includes='$ac_x_includes'\
9114 ac_x_libraries='$ac_x_libraries'"
9115 esac
9117 ;; #(
9118 *) have_x=yes;;
9119 esac
9120 eval "$ac_cv_have_x"
9121 fi # $with_x != no
9123 if test "$have_x" != yes; then
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9125 $as_echo "$have_x" >&6; }
9126 no_x=yes
9127 else
9128 # If each of the values was on the command line, it overrides each guess.
9129 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9130 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9131 # Update the cache value to reflect the command line values.
9132 ac_cv_have_x="have_x=yes\
9133 ac_x_includes='$x_includes'\
9134 ac_x_libraries='$x_libraries'"
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9136 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9139 if test "$no_x" = yes; then
9140 # Not all programs may use this symbol, but it does not hurt to define it.
9142 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9144 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9145 else
9146 if test -n "$x_includes"; then
9147 X_CFLAGS="$X_CFLAGS -I$x_includes"
9150 # It would also be nice to do this for all -L options, not just this one.
9151 if test -n "$x_libraries"; then
9152 X_LIBS="$X_LIBS -L$x_libraries"
9153 # For Solaris; some versions of Sun CC require a space after -R and
9154 # others require no space. Words are not sufficient . . . .
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9156 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9157 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9158 ac_xsave_c_werror_flag=$ac_c_werror_flag
9159 ac_c_werror_flag=yes
9160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9164 main ()
9168 return 0;
9170 _ACEOF
9171 if ac_fn_c_try_link "$LINENO"; then :
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9173 $as_echo "no" >&6; }
9174 X_LIBS="$X_LIBS -R$x_libraries"
9175 else
9176 LIBS="$ac_xsave_LIBS -R $x_libraries"
9177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9181 main ()
9185 return 0;
9187 _ACEOF
9188 if ac_fn_c_try_link "$LINENO"; then :
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9190 $as_echo "yes" >&6; }
9191 X_LIBS="$X_LIBS -R $x_libraries"
9192 else
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9194 $as_echo "neither works" >&6; }
9196 rm -f core conftest.err conftest.$ac_objext \
9197 conftest$ac_exeext conftest.$ac_ext
9199 rm -f core conftest.err conftest.$ac_objext \
9200 conftest$ac_exeext conftest.$ac_ext
9201 ac_c_werror_flag=$ac_xsave_c_werror_flag
9202 LIBS=$ac_xsave_LIBS
9205 # Check for system-dependent libraries X programs must link with.
9206 # Do this before checking for the system-independent R6 libraries
9207 # (-lICE), since we may need -lsocket or whatever for X linking.
9209 if test "$ISC" = yes; then
9210 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9211 else
9212 # Martyn Johnson says this is needed for Ultrix, if the X
9213 # libraries were built with DECnet support. And Karl Berry says
9214 # the Alpha needs dnet_stub (dnet does not exist).
9215 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
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 XOpenDisplay ();
9227 main ()
9229 return XOpenDisplay ();
9231 return 0;
9233 _ACEOF
9234 if ac_fn_c_try_link "$LINENO"; then :
9236 else
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9238 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9239 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9240 $as_echo_n "(cached) " >&6
9241 else
9242 ac_check_lib_save_LIBS=$LIBS
9243 LIBS="-ldnet $LIBS"
9244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9245 /* end confdefs.h. */
9247 /* Override any GCC internal prototype to avoid an error.
9248 Use char because int might match the return type of a GCC
9249 builtin and then its argument prototype would still apply. */
9250 #ifdef __cplusplus
9251 extern "C"
9252 #endif
9253 char dnet_ntoa ();
9255 main ()
9257 return dnet_ntoa ();
9259 return 0;
9261 _ACEOF
9262 if ac_fn_c_try_link "$LINENO"; then :
9263 ac_cv_lib_dnet_dnet_ntoa=yes
9264 else
9265 ac_cv_lib_dnet_dnet_ntoa=no
9267 rm -f core conftest.err conftest.$ac_objext \
9268 conftest$ac_exeext conftest.$ac_ext
9269 LIBS=$ac_check_lib_save_LIBS
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9272 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9273 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9274 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9277 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9279 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9280 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9281 $as_echo_n "(cached) " >&6
9282 else
9283 ac_check_lib_save_LIBS=$LIBS
9284 LIBS="-ldnet_stub $LIBS"
9285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9286 /* end confdefs.h. */
9288 /* Override any GCC internal prototype to avoid an error.
9289 Use char because int might match the return type of a GCC
9290 builtin and then its argument prototype would still apply. */
9291 #ifdef __cplusplus
9292 extern "C"
9293 #endif
9294 char dnet_ntoa ();
9296 main ()
9298 return dnet_ntoa ();
9300 return 0;
9302 _ACEOF
9303 if ac_fn_c_try_link "$LINENO"; then :
9304 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9305 else
9306 ac_cv_lib_dnet_stub_dnet_ntoa=no
9308 rm -f core conftest.err conftest.$ac_objext \
9309 conftest$ac_exeext conftest.$ac_ext
9310 LIBS=$ac_check_lib_save_LIBS
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9313 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9314 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9315 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9320 rm -f core conftest.err conftest.$ac_objext \
9321 conftest$ac_exeext conftest.$ac_ext
9322 LIBS="$ac_xsave_LIBS"
9324 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9325 # to get the SysV transport functions.
9326 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9327 # needs -lnsl.
9328 # The nsl library prevents programs from opening the X display
9329 # on Irix 5.2, according to T.E. Dickey.
9330 # The functions gethostbyname, getservbyname, and inet_addr are
9331 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9332 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9333 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9337 if test $ac_cv_func_gethostbyname = no; then
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9339 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9340 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9341 $as_echo_n "(cached) " >&6
9342 else
9343 ac_check_lib_save_LIBS=$LIBS
9344 LIBS="-lnsl $LIBS"
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9348 /* Override any GCC internal prototype to avoid an error.
9349 Use char because int might match the return type of a GCC
9350 builtin and then its argument prototype would still apply. */
9351 #ifdef __cplusplus
9352 extern "C"
9353 #endif
9354 char gethostbyname ();
9356 main ()
9358 return gethostbyname ();
9360 return 0;
9362 _ACEOF
9363 if ac_fn_c_try_link "$LINENO"; then :
9364 ac_cv_lib_nsl_gethostbyname=yes
9365 else
9366 ac_cv_lib_nsl_gethostbyname=no
9368 rm -f core conftest.err conftest.$ac_objext \
9369 conftest$ac_exeext conftest.$ac_ext
9370 LIBS=$ac_check_lib_save_LIBS
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9373 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9374 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9375 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9378 if test $ac_cv_lib_nsl_gethostbyname = no; then
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9380 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9381 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9382 $as_echo_n "(cached) " >&6
9383 else
9384 ac_check_lib_save_LIBS=$LIBS
9385 LIBS="-lbsd $LIBS"
9386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9387 /* end confdefs.h. */
9389 /* Override any GCC internal prototype to avoid an error.
9390 Use char because int might match the return type of a GCC
9391 builtin and then its argument prototype would still apply. */
9392 #ifdef __cplusplus
9393 extern "C"
9394 #endif
9395 char gethostbyname ();
9397 main ()
9399 return gethostbyname ();
9401 return 0;
9403 _ACEOF
9404 if ac_fn_c_try_link "$LINENO"; then :
9405 ac_cv_lib_bsd_gethostbyname=yes
9406 else
9407 ac_cv_lib_bsd_gethostbyname=no
9409 rm -f core conftest.err conftest.$ac_objext \
9410 conftest$ac_exeext conftest.$ac_ext
9411 LIBS=$ac_check_lib_save_LIBS
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9414 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9415 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9416 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9422 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9423 # socket/setsockopt and other routines are undefined under SCO ODT
9424 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9425 # on later versions), says Simon Leinen: it contains gethostby*
9426 # variants that don't use the name server (or something). -lsocket
9427 # must be given before -lnsl if both are needed. We assume that
9428 # if connect needs -lnsl, so does gethostbyname.
9429 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9430 if test "x$ac_cv_func_connect" = xyes; then :
9434 if test $ac_cv_func_connect = no; then
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9436 $as_echo_n "checking for connect in -lsocket... " >&6; }
9437 if ${ac_cv_lib_socket_connect+:} false; then :
9438 $as_echo_n "(cached) " >&6
9439 else
9440 ac_check_lib_save_LIBS=$LIBS
9441 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9445 /* Override any GCC internal prototype to avoid an error.
9446 Use char because int might match the return type of a GCC
9447 builtin and then its argument prototype would still apply. */
9448 #ifdef __cplusplus
9449 extern "C"
9450 #endif
9451 char connect ();
9453 main ()
9455 return connect ();
9457 return 0;
9459 _ACEOF
9460 if ac_fn_c_try_link "$LINENO"; then :
9461 ac_cv_lib_socket_connect=yes
9462 else
9463 ac_cv_lib_socket_connect=no
9465 rm -f core conftest.err conftest.$ac_objext \
9466 conftest$ac_exeext conftest.$ac_ext
9467 LIBS=$ac_check_lib_save_LIBS
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9470 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9471 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9472 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9477 # Guillermo Gomez says -lposix is necessary on A/UX.
9478 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9479 if test "x$ac_cv_func_remove" = xyes; then :
9483 if test $ac_cv_func_remove = no; then
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9485 $as_echo_n "checking for remove in -lposix... " >&6; }
9486 if ${ac_cv_lib_posix_remove+:} false; then :
9487 $as_echo_n "(cached) " >&6
9488 else
9489 ac_check_lib_save_LIBS=$LIBS
9490 LIBS="-lposix $LIBS"
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9494 /* Override any GCC internal prototype to avoid an error.
9495 Use char because int might match the return type of a GCC
9496 builtin and then its argument prototype would still apply. */
9497 #ifdef __cplusplus
9498 extern "C"
9499 #endif
9500 char remove ();
9502 main ()
9504 return remove ();
9506 return 0;
9508 _ACEOF
9509 if ac_fn_c_try_link "$LINENO"; then :
9510 ac_cv_lib_posix_remove=yes
9511 else
9512 ac_cv_lib_posix_remove=no
9514 rm -f core conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9516 LIBS=$ac_check_lib_save_LIBS
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9519 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9520 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9521 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9526 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9527 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9528 if test "x$ac_cv_func_shmat" = xyes; then :
9532 if test $ac_cv_func_shmat = no; then
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9534 $as_echo_n "checking for shmat in -lipc... " >&6; }
9535 if ${ac_cv_lib_ipc_shmat+:} false; then :
9536 $as_echo_n "(cached) " >&6
9537 else
9538 ac_check_lib_save_LIBS=$LIBS
9539 LIBS="-lipc $LIBS"
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9543 /* Override any GCC internal prototype to avoid an error.
9544 Use char because int might match the return type of a GCC
9545 builtin and then its argument prototype would still apply. */
9546 #ifdef __cplusplus
9547 extern "C"
9548 #endif
9549 char shmat ();
9551 main ()
9553 return shmat ();
9555 return 0;
9557 _ACEOF
9558 if ac_fn_c_try_link "$LINENO"; then :
9559 ac_cv_lib_ipc_shmat=yes
9560 else
9561 ac_cv_lib_ipc_shmat=no
9563 rm -f core conftest.err conftest.$ac_objext \
9564 conftest$ac_exeext conftest.$ac_ext
9565 LIBS=$ac_check_lib_save_LIBS
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9568 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9569 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9570 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9576 # Check for libraries that X11R6 Xt/Xaw programs need.
9577 ac_save_LDFLAGS=$LDFLAGS
9578 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9579 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9580 # check for ICE first), but we must link in the order -lSM -lICE or
9581 # we get undefined symbols. So assume we have SM if we have ICE.
9582 # These have to be linked with before -lX11, unlike the other
9583 # libraries we check for below, so use a different variable.
9584 # John Interrante, Karl Berry
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9586 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9587 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9588 $as_echo_n "(cached) " >&6
9589 else
9590 ac_check_lib_save_LIBS=$LIBS
9591 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9595 /* Override any GCC internal prototype to avoid an error.
9596 Use char because int might match the return type of a GCC
9597 builtin and then its argument prototype would still apply. */
9598 #ifdef __cplusplus
9599 extern "C"
9600 #endif
9601 char IceConnectionNumber ();
9603 main ()
9605 return IceConnectionNumber ();
9607 return 0;
9609 _ACEOF
9610 if ac_fn_c_try_link "$LINENO"; then :
9611 ac_cv_lib_ICE_IceConnectionNumber=yes
9612 else
9613 ac_cv_lib_ICE_IceConnectionNumber=no
9615 rm -f core conftest.err conftest.$ac_objext \
9616 conftest$ac_exeext conftest.$ac_ext
9617 LIBS=$ac_check_lib_save_LIBS
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9620 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9621 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9622 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9625 LDFLAGS=$ac_save_LDFLAGS
9630 if test "$have_x" = "yes"
9631 then
9632 ac_save_CPPFLAGS="$CPPFLAGS"
9633 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9636 $as_echo_n "checking for -lX11... " >&6; }
9637 if ${ac_cv_lib_soname_X11+:} false; then :
9638 $as_echo_n "(cached) " >&6
9639 else
9640 ac_check_soname_save_LIBS=$LIBS
9641 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9645 /* Override any GCC internal prototype to avoid an error.
9646 Use char because int might match the return type of a GCC
9647 builtin and then its argument prototype would still apply. */
9648 #ifdef __cplusplus
9649 extern "C"
9650 #endif
9651 char XCreateWindow ();
9653 main ()
9655 return XCreateWindow ();
9657 return 0;
9659 _ACEOF
9660 if ac_fn_c_try_link "$LINENO"; then :
9661 case "$LIBEXT" in
9662 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9663 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'` ;;
9664 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9665 if ${ac_cv_lib_soname_X11:+false} :; then :
9666 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9667 fi ;;
9668 esac
9670 rm -f core conftest.err conftest.$ac_objext \
9671 conftest$ac_exeext conftest.$ac_ext
9672 LIBS=$ac_check_soname_save_LIBS
9674 if ${ac_cv_lib_soname_X11:+false} :; then :
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9676 $as_echo "not found" >&6; }
9678 else
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9680 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9682 cat >>confdefs.h <<_ACEOF
9683 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9684 _ACEOF
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9689 $as_echo_n "checking for -lXext... " >&6; }
9690 if ${ac_cv_lib_soname_Xext+:} false; then :
9691 $as_echo_n "(cached) " >&6
9692 else
9693 ac_check_soname_save_LIBS=$LIBS
9694 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9696 /* end confdefs.h. */
9698 /* Override any GCC internal prototype to avoid an error.
9699 Use char because int might match the return type of a GCC
9700 builtin and then its argument prototype would still apply. */
9701 #ifdef __cplusplus
9702 extern "C"
9703 #endif
9704 char XextCreateExtension ();
9706 main ()
9708 return XextCreateExtension ();
9710 return 0;
9712 _ACEOF
9713 if ac_fn_c_try_link "$LINENO"; then :
9714 case "$LIBEXT" in
9715 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9716 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'` ;;
9717 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9718 if ${ac_cv_lib_soname_Xext:+false} :; then :
9719 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9720 fi ;;
9721 esac
9723 rm -f core conftest.err conftest.$ac_objext \
9724 conftest$ac_exeext conftest.$ac_ext
9725 LIBS=$ac_check_soname_save_LIBS
9727 if ${ac_cv_lib_soname_Xext:+false} :; then :
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9729 $as_echo "not found" >&6; }
9731 else
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9733 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9735 cat >>confdefs.h <<_ACEOF
9736 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9737 _ACEOF
9739 X_LIBS="$X_LIBS -lXext"
9741 X_LIBS="$X_LIBS -lX11"
9743 for ac_header in X11/Xlib.h \
9744 X11/XKBlib.h \
9745 X11/Xutil.h \
9746 X11/Xcursor/Xcursor.h \
9747 X11/extensions/shape.h \
9748 X11/extensions/XInput.h \
9749 X11/extensions/XInput2.h \
9750 X11/extensions/XShm.h \
9751 X11/extensions/Xcomposite.h \
9752 X11/extensions/Xinerama.h \
9753 X11/extensions/Xrandr.h \
9754 X11/extensions/Xrender.h \
9755 X11/extensions/xf86vmode.h \
9756 X11/extensions/xf86vmproto.h
9757 do :
9758 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9759 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9760 # include <X11/Xlib.h>
9761 #endif
9762 #ifdef HAVE_X11_XUTIL_H
9763 # include <X11/Xutil.h>
9764 #endif
9766 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9767 cat >>confdefs.h <<_ACEOF
9768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9769 _ACEOF
9773 done
9776 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9777 then
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9779 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9780 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9781 $as_echo_n "(cached) " >&6
9782 else
9783 ac_check_lib_save_LIBS=$LIBS
9784 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9786 /* end confdefs.h. */
9788 /* Override any GCC internal prototype to avoid an error.
9789 Use char because int might match the return type of a GCC
9790 builtin and then its argument prototype would still apply. */
9791 #ifdef __cplusplus
9792 extern "C"
9793 #endif
9794 char XkbQueryExtension ();
9796 main ()
9798 return XkbQueryExtension ();
9800 return 0;
9802 _ACEOF
9803 if ac_fn_c_try_link "$LINENO"; then :
9804 ac_cv_lib_X11_XkbQueryExtension=yes
9805 else
9806 ac_cv_lib_X11_XkbQueryExtension=no
9808 rm -f core conftest.err conftest.$ac_objext \
9809 conftest$ac_exeext conftest.$ac_ext
9810 LIBS=$ac_check_lib_save_LIBS
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9813 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9814 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9816 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9822 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9823 then
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9825 $as_echo_n "checking for -lXcursor... " >&6; }
9826 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9827 $as_echo_n "(cached) " >&6
9828 else
9829 ac_check_soname_save_LIBS=$LIBS
9830 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9834 /* Override any GCC internal prototype to avoid an error.
9835 Use char because int might match the return type of a GCC
9836 builtin and then its argument prototype would still apply. */
9837 #ifdef __cplusplus
9838 extern "C"
9839 #endif
9840 char XcursorImageLoadCursor ();
9842 main ()
9844 return XcursorImageLoadCursor ();
9846 return 0;
9848 _ACEOF
9849 if ac_fn_c_try_link "$LINENO"; then :
9850 case "$LIBEXT" in
9851 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9852 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'` ;;
9853 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9854 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9855 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9856 fi ;;
9857 esac
9859 rm -f core conftest.err conftest.$ac_objext \
9860 conftest$ac_exeext conftest.$ac_ext
9861 LIBS=$ac_check_soname_save_LIBS
9863 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9865 $as_echo "not found" >&6; }
9867 else
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9869 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9871 cat >>confdefs.h <<_ACEOF
9872 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9873 _ACEOF
9878 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9879 case "x$with_xcursor" in
9880 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9881 xno) ;;
9882 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9883 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9884 esac
9887 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9888 then
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9890 $as_echo_n "checking for -lXi... " >&6; }
9891 if ${ac_cv_lib_soname_Xi+:} false; then :
9892 $as_echo_n "(cached) " >&6
9893 else
9894 ac_check_soname_save_LIBS=$LIBS
9895 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9899 /* Override any GCC internal prototype to avoid an error.
9900 Use char because int might match the return type of a GCC
9901 builtin and then its argument prototype would still apply. */
9902 #ifdef __cplusplus
9903 extern "C"
9904 #endif
9905 char XOpenDevice ();
9907 main ()
9909 return XOpenDevice ();
9911 return 0;
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"; then :
9915 case "$LIBEXT" in
9916 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9917 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'` ;;
9918 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9919 if ${ac_cv_lib_soname_Xi:+false} :; then :
9920 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9921 fi ;;
9922 esac
9924 rm -f core conftest.err conftest.$ac_objext \
9925 conftest$ac_exeext conftest.$ac_ext
9926 LIBS=$ac_check_soname_save_LIBS
9928 if ${ac_cv_lib_soname_Xi:+false} :; then :
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9930 $as_echo "not found" >&6; }
9932 else
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9934 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9936 cat >>confdefs.h <<_ACEOF
9937 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9938 _ACEOF
9943 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9944 case "x$with_xinput" in
9945 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9946 xno) ;;
9947 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9948 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9949 esac
9952 if test "x$ac_cv_lib_soname_Xi" != x
9953 then
9954 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9955 case "x$with_xinput2" in
9956 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9957 xno) ;;
9958 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9959 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9960 esac
9964 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9965 then
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9967 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9968 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9969 $as_echo_n "(cached) " >&6
9970 else
9971 ac_check_lib_save_LIBS=$LIBS
9972 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9976 /* Override any GCC internal prototype to avoid an error.
9977 Use char because int might match the return type of a GCC
9978 builtin and then its argument prototype would still apply. */
9979 #ifdef __cplusplus
9980 extern "C"
9981 #endif
9982 char XShmQueryExtension ();
9984 main ()
9986 return XShmQueryExtension ();
9988 return 0;
9990 _ACEOF
9991 if ac_fn_c_try_link "$LINENO"; then :
9992 ac_cv_lib_Xext_XShmQueryExtension=yes
9993 else
9994 ac_cv_lib_Xext_XShmQueryExtension=no
9996 rm -f core conftest.err conftest.$ac_objext \
9997 conftest$ac_exeext conftest.$ac_ext
9998 LIBS=$ac_check_lib_save_LIBS
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10001 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10002 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10004 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10009 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10010 case "x$with_xshm" in
10011 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10012 xno) ;;
10013 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10014 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10015 esac
10018 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10019 then
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10021 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10022 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10023 $as_echo_n "(cached) " >&6
10024 else
10025 ac_check_lib_save_LIBS=$LIBS
10026 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10030 /* Override any GCC internal prototype to avoid an error.
10031 Use char because int might match the return type of a GCC
10032 builtin and then its argument prototype would still apply. */
10033 #ifdef __cplusplus
10034 extern "C"
10035 #endif
10036 char XShapeQueryExtension ();
10038 main ()
10040 return XShapeQueryExtension ();
10042 return 0;
10044 _ACEOF
10045 if ac_fn_c_try_link "$LINENO"; then :
10046 ac_cv_lib_Xext_XShapeQueryExtension=yes
10047 else
10048 ac_cv_lib_Xext_XShapeQueryExtension=no
10050 rm -f core conftest.err conftest.$ac_objext \
10051 conftest$ac_exeext conftest.$ac_ext
10052 LIBS=$ac_check_lib_save_LIBS
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10055 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10056 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10058 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10063 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10064 case "x$with_xshape" in
10065 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10066 xno) ;;
10067 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10068 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10069 esac
10072 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10073 then
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10075 $as_echo_n "checking for -lXxf86vm... " >&6; }
10076 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10077 $as_echo_n "(cached) " >&6
10078 else
10079 ac_check_soname_save_LIBS=$LIBS
10080 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10082 /* end confdefs.h. */
10084 /* Override any GCC internal prototype to avoid an error.
10085 Use char because int might match the return type of a GCC
10086 builtin and then its argument prototype would still apply. */
10087 #ifdef __cplusplus
10088 extern "C"
10089 #endif
10090 char XF86VidModeQueryExtension ();
10092 main ()
10094 return XF86VidModeQueryExtension ();
10096 return 0;
10098 _ACEOF
10099 if ac_fn_c_try_link "$LINENO"; then :
10100 case "$LIBEXT" in
10101 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10102 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'` ;;
10103 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10104 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10105 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10106 fi ;;
10107 esac
10109 rm -f core conftest.err conftest.$ac_objext \
10110 conftest$ac_exeext conftest.$ac_ext
10111 LIBS=$ac_check_soname_save_LIBS
10113 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10115 $as_echo "not found" >&6; }
10117 else
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10119 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10121 cat >>confdefs.h <<_ACEOF
10122 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10123 _ACEOF
10128 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10129 case "x$with_xxf86vm" in
10130 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10131 xno) ;;
10132 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10133 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10134 esac
10137 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10138 then
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10140 $as_echo_n "checking for -lXrender... " >&6; }
10141 if ${ac_cv_lib_soname_Xrender+:} false; then :
10142 $as_echo_n "(cached) " >&6
10143 else
10144 ac_check_soname_save_LIBS=$LIBS
10145 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10149 /* Override any GCC internal prototype to avoid an error.
10150 Use char because int might match the return type of a GCC
10151 builtin and then its argument prototype would still apply. */
10152 #ifdef __cplusplus
10153 extern "C"
10154 #endif
10155 char XRenderQueryExtension ();
10157 main ()
10159 return XRenderQueryExtension ();
10161 return 0;
10163 _ACEOF
10164 if ac_fn_c_try_link "$LINENO"; then :
10165 case "$LIBEXT" in
10166 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10167 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'` ;;
10168 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10169 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10170 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10171 fi ;;
10172 esac
10174 rm -f core conftest.err conftest.$ac_objext \
10175 conftest$ac_exeext conftest.$ac_ext
10176 LIBS=$ac_check_soname_save_LIBS
10178 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10180 $as_echo "not found" >&6; }
10182 else
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10184 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10186 cat >>confdefs.h <<_ACEOF
10187 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10188 _ACEOF
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10191 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10192 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10193 $as_echo_n "(cached) " >&6
10194 else
10195 ac_check_lib_save_LIBS=$LIBS
10196 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10198 /* end confdefs.h. */
10200 /* Override any GCC internal prototype to avoid an error.
10201 Use char because int might match the return type of a GCC
10202 builtin and then its argument prototype would still apply. */
10203 #ifdef __cplusplus
10204 extern "C"
10205 #endif
10206 char XRenderSetPictureTransform ();
10208 main ()
10210 return XRenderSetPictureTransform ();
10212 return 0;
10214 _ACEOF
10215 if ac_fn_c_try_link "$LINENO"; then :
10216 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10217 else
10218 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10220 rm -f core conftest.err conftest.$ac_objext \
10221 conftest$ac_exeext conftest.$ac_ext
10222 LIBS=$ac_check_lib_save_LIBS
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10225 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10226 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10228 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10233 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10234 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10235 $as_echo_n "(cached) " >&6
10236 else
10237 ac_check_lib_save_LIBS=$LIBS
10238 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10242 /* Override any GCC internal prototype to avoid an error.
10243 Use char because int might match the return type of a GCC
10244 builtin and then its argument prototype would still apply. */
10245 #ifdef __cplusplus
10246 extern "C"
10247 #endif
10248 char XRenderCreateLinearGradient ();
10250 main ()
10252 return XRenderCreateLinearGradient ();
10254 return 0;
10256 _ACEOF
10257 if ac_fn_c_try_link "$LINENO"; then :
10258 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10259 else
10260 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10262 rm -f core conftest.err conftest.$ac_objext \
10263 conftest$ac_exeext conftest.$ac_ext
10264 LIBS=$ac_check_lib_save_LIBS
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10267 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10268 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10270 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10277 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10278 case "x$with_xrender" in
10279 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10280 xno) ;;
10281 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10282 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10283 esac
10286 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10287 then
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10290 #include <X11/Xlib.h>
10291 #include <X11/extensions/Xrandr.h>
10293 main ()
10295 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10297 return 0;
10299 _ACEOF
10300 if ac_fn_c_try_compile "$LINENO"; then :
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10302 $as_echo_n "checking for -lXrandr... " >&6; }
10303 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10304 $as_echo_n "(cached) " >&6
10305 else
10306 ac_check_soname_save_LIBS=$LIBS
10307 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10314 #ifdef __cplusplus
10315 extern "C"
10316 #endif
10317 char XRRQueryExtension ();
10319 main ()
10321 return XRRQueryExtension ();
10323 return 0;
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"; then :
10327 case "$LIBEXT" in
10328 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10329 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'` ;;
10330 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10331 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10332 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10333 fi ;;
10334 esac
10336 rm -f core conftest.err conftest.$ac_objext \
10337 conftest$ac_exeext conftest.$ac_ext
10338 LIBS=$ac_check_soname_save_LIBS
10340 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10342 $as_echo "not found" >&6; }
10344 else
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10346 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10348 cat >>confdefs.h <<_ACEOF
10349 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10350 _ACEOF
10352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10354 #include <X11/Xlib.h>
10355 #include <X11/extensions/Xrandr.h>
10357 main ()
10359 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10361 return 0;
10363 _ACEOF
10364 if ac_fn_c_try_compile "$LINENO"; then :
10366 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10374 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10375 case "x$with_xrandr" in
10376 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10377 xno) ;;
10378 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10379 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10380 esac
10383 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10384 then
10385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10386 /* end confdefs.h. */
10387 #include <X11/Xlib.h>
10388 #include <X11/extensions/Xinerama.h>
10390 main ()
10392 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10394 return 0;
10396 _ACEOF
10397 if ac_fn_c_try_compile "$LINENO"; then :
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10399 $as_echo_n "checking for -lXinerama... " >&6; }
10400 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10401 $as_echo_n "(cached) " >&6
10402 else
10403 ac_check_soname_save_LIBS=$LIBS
10404 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10406 /* end confdefs.h. */
10408 /* Override any GCC internal prototype to avoid an error.
10409 Use char because int might match the return type of a GCC
10410 builtin and then its argument prototype would still apply. */
10411 #ifdef __cplusplus
10412 extern "C"
10413 #endif
10414 char XineramaQueryScreens ();
10416 main ()
10418 return XineramaQueryScreens ();
10420 return 0;
10422 _ACEOF
10423 if ac_fn_c_try_link "$LINENO"; then :
10424 case "$LIBEXT" in
10425 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10426 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'` ;;
10427 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10428 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10429 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10430 fi ;;
10431 esac
10433 rm -f core conftest.err conftest.$ac_objext \
10434 conftest$ac_exeext conftest.$ac_ext
10435 LIBS=$ac_check_soname_save_LIBS
10437 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10439 $as_echo "not found" >&6; }
10441 else
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10443 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10445 cat >>confdefs.h <<_ACEOF
10446 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10447 _ACEOF
10452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10454 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10455 case "x$with_xinerama" in
10456 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10457 xno) ;;
10458 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10459 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10460 esac
10463 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10464 then
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10466 $as_echo_n "checking for -lXcomposite... " >&6; }
10467 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10468 $as_echo_n "(cached) " >&6
10469 else
10470 ac_check_soname_save_LIBS=$LIBS
10471 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10475 /* Override any GCC internal prototype to avoid an error.
10476 Use char because int might match the return type of a GCC
10477 builtin and then its argument prototype would still apply. */
10478 #ifdef __cplusplus
10479 extern "C"
10480 #endif
10481 char XCompositeRedirectWindow ();
10483 main ()
10485 return XCompositeRedirectWindow ();
10487 return 0;
10489 _ACEOF
10490 if ac_fn_c_try_link "$LINENO"; then :
10491 case "$LIBEXT" in
10492 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10493 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'` ;;
10494 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10495 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10496 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10497 fi ;;
10498 esac
10500 rm -f core conftest.err conftest.$ac_objext \
10501 conftest$ac_exeext conftest.$ac_ext
10502 LIBS=$ac_check_soname_save_LIBS
10504 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10506 $as_echo "not found" >&6; }
10508 else
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10510 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10512 cat >>confdefs.h <<_ACEOF
10513 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10514 _ACEOF
10519 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10520 case "x$with_xcomposite" in
10521 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10522 xno) ;;
10523 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10524 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10525 esac
10528 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10529 #include <X11/Xlib.h>
10530 #endif
10532 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10534 cat >>confdefs.h <<_ACEOF
10535 #define HAVE_XICCALLBACK_CALLBACK 1
10536 _ACEOF
10540 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10541 #include <X11/Xlib.h>
10542 #endif
10544 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10546 cat >>confdefs.h <<_ACEOF
10547 #define HAVE_XEVENT_XCOOKIE 1
10548 _ACEOF
10555 opengl_msg=""
10556 if test "x$with_opengl" != "xno"
10557 then
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10559 $as_echo_n "checking for -lGL... " >&6; }
10560 if ${ac_cv_lib_soname_GL+:} false; then :
10561 $as_echo_n "(cached) " >&6
10562 else
10563 ac_check_soname_save_LIBS=$LIBS
10564 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10566 /* end confdefs.h. */
10568 /* Override any GCC internal prototype to avoid an error.
10569 Use char because int might match the return type of a GCC
10570 builtin and then its argument prototype would still apply. */
10571 #ifdef __cplusplus
10572 extern "C"
10573 #endif
10574 char glXCreateContext ();
10576 main ()
10578 return glXCreateContext ();
10580 return 0;
10582 _ACEOF
10583 if ac_fn_c_try_link "$LINENO"; then :
10584 case "$LIBEXT" in
10585 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10586 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'` ;;
10587 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10588 if ${ac_cv_lib_soname_GL:+false} :; then :
10589 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10590 fi ;;
10591 esac
10593 rm -f core conftest.err conftest.$ac_objext \
10594 conftest$ac_exeext conftest.$ac_ext
10595 LIBS=$ac_check_soname_save_LIBS
10597 if ${ac_cv_lib_soname_GL:+false} :; then :
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10599 $as_echo "not found" >&6; }
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10601 $as_echo_n "checking for -lGL... " >&6; }
10602 if ${ac_cv_lib_soname_GL+:} false; then :
10603 $as_echo_n "(cached) " >&6
10604 else
10605 ac_check_soname_save_LIBS=$LIBS
10606 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"
10607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10610 /* Override any GCC internal prototype to avoid an error.
10611 Use char because int might match the return type of a GCC
10612 builtin and then its argument prototype would still apply. */
10613 #ifdef __cplusplus
10614 extern "C"
10615 #endif
10616 char glXCreateContext ();
10618 main ()
10620 return glXCreateContext ();
10622 return 0;
10624 _ACEOF
10625 if ac_fn_c_try_link "$LINENO"; then :
10626 case "$LIBEXT" in
10627 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10628 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'` ;;
10629 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10630 if ${ac_cv_lib_soname_GL:+false} :; then :
10631 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10632 fi ;;
10633 esac
10635 rm -f core conftest.err conftest.$ac_objext \
10636 conftest$ac_exeext conftest.$ac_ext
10637 LIBS=$ac_check_soname_save_LIBS
10639 if ${ac_cv_lib_soname_GL:+false} :; then :
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10641 $as_echo "not found" >&6; }
10642 if test -f /usr/X11R6/lib/libGL.a
10643 then
10644 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10645 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10646 else
10647 opengl_msg="No OpenGL library found on this system."
10649 else
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10651 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10653 cat >>confdefs.h <<_ACEOF
10654 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10655 _ACEOF
10657 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"
10659 else
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10661 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10663 cat >>confdefs.h <<_ACEOF
10664 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10665 _ACEOF
10667 OPENGL_LIBS="-lGL"
10669 if test "x$with_glu" != "xno"
10670 then
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10672 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10673 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10674 $as_echo_n "(cached) " >&6
10675 else
10676 ac_check_lib_save_LIBS=$LIBS
10677 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10679 /* end confdefs.h. */
10681 /* Override any GCC internal prototype to avoid an error.
10682 Use char because int might match the return type of a GCC
10683 builtin and then its argument prototype would still apply. */
10684 #ifdef __cplusplus
10685 extern "C"
10686 #endif
10687 char gluLookAt ();
10689 main ()
10691 return gluLookAt ();
10693 return 0;
10695 _ACEOF
10696 if ac_fn_c_try_link "$LINENO"; then :
10697 ac_cv_lib_GLU_gluLookAt=yes
10698 else
10699 ac_cv_lib_GLU_gluLookAt=no
10701 rm -f core conftest.err conftest.$ac_objext \
10702 conftest$ac_exeext conftest.$ac_ext
10703 LIBS=$ac_check_lib_save_LIBS
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10706 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10707 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10711 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10712 case "x$with_glu" in
10713 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10714 xno) ;;
10715 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10716 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10717 esac
10721 if test "x$with_osmesa" != "xno"
10722 then
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10724 $as_echo_n "checking for -lOSMesa... " >&6; }
10725 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10726 $as_echo_n "(cached) " >&6
10727 else
10728 ac_check_soname_save_LIBS=$LIBS
10729 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10731 /* end confdefs.h. */
10733 /* Override any GCC internal prototype to avoid an error.
10734 Use char because int might match the return type of a GCC
10735 builtin and then its argument prototype would still apply. */
10736 #ifdef __cplusplus
10737 extern "C"
10738 #endif
10739 char glAccum ();
10741 main ()
10743 return glAccum ();
10745 return 0;
10747 _ACEOF
10748 if ac_fn_c_try_link "$LINENO"; then :
10749 case "$LIBEXT" in
10750 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10751 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'` ;;
10752 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10753 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10754 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10755 fi ;;
10756 esac
10758 rm -f core conftest.err conftest.$ac_objext \
10759 conftest$ac_exeext conftest.$ac_ext
10760 LIBS=$ac_check_soname_save_LIBS
10762 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10764 $as_echo "not found" >&6; }
10766 else
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10768 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10770 cat >>confdefs.h <<_ACEOF
10771 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10772 _ACEOF
10776 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10777 case "x$with_osmesa" in
10778 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10779 xno) ;;
10780 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10781 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10782 esac
10786 if test -n "$opengl_msg"; then :
10787 case "x$with_opengl" in
10788 x) as_fn_append wine_warnings "|$opengl_msg
10789 OpenGL and Direct3D won't be supported." ;;
10790 xno) ;;
10791 *) as_fn_error $? "$opengl_msg
10792 OpenGL and Direct3D won't be supported.
10793 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10794 esac
10797 CPPFLAGS="$ac_save_CPPFLAGS"
10798 else
10799 X_CFLAGS=""
10800 X_LIBS=""
10801 enable_winex11_drv=${enable_winex11_drv:-no}
10803 if test "x$X_LIBS" = "x"; then :
10804 case "x$with_x" in
10805 xno) ;;
10806 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10807 without X support, which probably isn't what you want. You will need
10808 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10809 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10810 esac
10813 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10815 if test "$ac_cv_header_CL_cl_h" = "yes"
10816 then
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10818 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10819 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10820 $as_echo_n "(cached) " >&6
10821 else
10822 ac_check_lib_save_LIBS=$LIBS
10823 LIBS="-lOpenCL $LIBS"
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10827 /* Override any GCC internal prototype to avoid an error.
10828 Use char because int might match the return type of a GCC
10829 builtin and then its argument prototype would still apply. */
10830 #ifdef __cplusplus
10831 extern "C"
10832 #endif
10833 char clGetPlatformInfo ();
10835 main ()
10837 return clGetPlatformInfo ();
10839 return 0;
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10844 else
10845 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LIBS=$ac_check_lib_save_LIBS
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10852 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10853 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10854 OPENCL_LIBS="-lOpenCL"
10859 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10860 case "x$with_opencl" in
10861 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10862 xno) ;;
10863 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10864 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10865 esac
10867 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10869 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10870 then
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10872 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10873 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10874 $as_echo_n "(cached) " >&6
10875 else
10876 ac_check_lib_save_LIBS=$LIBS
10877 LIBS="-lpcap $LIBS"
10878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10881 /* Override any GCC internal prototype to avoid an error.
10882 Use char because int might match the return type of a GCC
10883 builtin and then its argument prototype would still apply. */
10884 #ifdef __cplusplus
10885 extern "C"
10886 #endif
10887 char pcap_create ();
10889 main ()
10891 return pcap_create ();
10893 return 0;
10895 _ACEOF
10896 if ac_fn_c_try_link "$LINENO"; then :
10897 ac_cv_lib_pcap_pcap_create=yes
10898 else
10899 ac_cv_lib_pcap_pcap_create=no
10901 rm -f core conftest.err conftest.$ac_objext \
10902 conftest$ac_exeext conftest.$ac_ext
10903 LIBS=$ac_check_lib_save_LIBS
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10906 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10907 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10908 LIBPCAP="-lpcap"
10913 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10914 case "x$with_pcap" in
10915 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10916 xno) ;;
10917 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10918 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10919 esac
10921 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10924 if test "x$with_xml" != "xno"
10925 then
10926 if ${XML2_CFLAGS:+false} :; then :
10927 if ${PKG_CONFIG+:} false; then :
10928 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10931 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10932 if ${XML2_LIBS:+false} :; then :
10933 if ${PKG_CONFIG+:} false; then :
10934 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10937 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10938 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10939 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10940 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10941 ac_save_CPPFLAGS=$CPPFLAGS
10942 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10943 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10944 do :
10945 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10946 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10947 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10948 cat >>confdefs.h <<_ACEOF
10949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10950 _ACEOF
10954 done
10956 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"
10957 then
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10959 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10960 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10961 $as_echo_n "(cached) " >&6
10962 else
10963 ac_check_lib_save_LIBS=$LIBS
10964 LIBS="-lxml2 $XML2_LIBS $LIBS"
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10971 #ifdef __cplusplus
10972 extern "C"
10973 #endif
10974 char xmlParseMemory ();
10976 main ()
10978 return xmlParseMemory ();
10980 return 0;
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"; then :
10984 ac_cv_lib_xml2_xmlParseMemory=yes
10985 else
10986 ac_cv_lib_xml2_xmlParseMemory=no
10988 rm -f core conftest.err conftest.$ac_objext \
10989 conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_lib_save_LIBS
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10993 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10994 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10996 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10998 else
10999 XML2_LIBS=""
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11003 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11004 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11005 $as_echo_n "(cached) " >&6
11006 else
11007 ac_check_lib_save_LIBS=$LIBS
11008 LIBS="-lxml2 $XML2_LIBS $LIBS"
11009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11012 /* Override any GCC internal prototype to avoid an error.
11013 Use char because int might match the return type of a GCC
11014 builtin and then its argument prototype would still apply. */
11015 #ifdef __cplusplus
11016 extern "C"
11017 #endif
11018 char xmlReadMemory ();
11020 main ()
11022 return xmlReadMemory ();
11024 return 0;
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"; then :
11028 ac_cv_lib_xml2_xmlReadMemory=yes
11029 else
11030 ac_cv_lib_xml2_xmlReadMemory=no
11032 rm -f core conftest.err conftest.$ac_objext \
11033 conftest$ac_exeext conftest.$ac_ext
11034 LIBS=$ac_check_lib_save_LIBS
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11037 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11038 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11040 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11045 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11046 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11047 $as_echo_n "(cached) " >&6
11048 else
11049 ac_check_lib_save_LIBS=$LIBS
11050 LIBS="-lxml2 $XML2_LIBS $LIBS"
11051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11054 /* Override any GCC internal prototype to avoid an error.
11055 Use char because int might match the return type of a GCC
11056 builtin and then its argument prototype would still apply. */
11057 #ifdef __cplusplus
11058 extern "C"
11059 #endif
11060 char xmlNewDocPI ();
11062 main ()
11064 return xmlNewDocPI ();
11066 return 0;
11068 _ACEOF
11069 if ac_fn_c_try_link "$LINENO"; then :
11070 ac_cv_lib_xml2_xmlNewDocPI=yes
11071 else
11072 ac_cv_lib_xml2_xmlNewDocPI=no
11074 rm -f core conftest.err conftest.$ac_objext \
11075 conftest$ac_exeext conftest.$ac_ext
11076 LIBS=$ac_check_lib_save_LIBS
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11079 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11080 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11082 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11087 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11088 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11089 $as_echo_n "(cached) " >&6
11090 else
11091 ac_check_lib_save_LIBS=$LIBS
11092 LIBS="-lxml2 $XML2_LIBS $LIBS"
11093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11096 /* Override any GCC internal prototype to avoid an error.
11097 Use char because int might match the return type of a GCC
11098 builtin and then its argument prototype would still apply. */
11099 #ifdef __cplusplus
11100 extern "C"
11101 #endif
11102 char xmlSchemaSetParserStructuredErrors ();
11104 main ()
11106 return xmlSchemaSetParserStructuredErrors ();
11108 return 0;
11110 _ACEOF
11111 if ac_fn_c_try_link "$LINENO"; then :
11112 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11113 else
11114 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11116 rm -f core conftest.err conftest.$ac_objext \
11117 conftest$ac_exeext conftest.$ac_ext
11118 LIBS=$ac_check_lib_save_LIBS
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11121 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11122 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11124 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11129 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11130 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11131 $as_echo_n "(cached) " >&6
11132 else
11133 ac_check_lib_save_LIBS=$LIBS
11134 LIBS="-lxml2 $XML2_LIBS $LIBS"
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11141 #ifdef __cplusplus
11142 extern "C"
11143 #endif
11144 char xmlSchemaSetValidStructuredErrors ();
11146 main ()
11148 return xmlSchemaSetValidStructuredErrors ();
11150 return 0;
11152 _ACEOF
11153 if ac_fn_c_try_link "$LINENO"; then :
11154 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11155 else
11156 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11158 rm -f core conftest.err conftest.$ac_objext \
11159 conftest$ac_exeext conftest.$ac_ext
11160 LIBS=$ac_check_lib_save_LIBS
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11163 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11164 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11166 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11171 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11172 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11173 $as_echo_n "(cached) " >&6
11174 else
11175 ac_check_lib_save_LIBS=$LIBS
11176 LIBS="-lxml2 $XML2_LIBS $LIBS"
11177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11180 /* Override any GCC internal prototype to avoid an error.
11181 Use char because int might match the return type of a GCC
11182 builtin and then its argument prototype would still apply. */
11183 #ifdef __cplusplus
11184 extern "C"
11185 #endif
11186 char xmlFirstElementChild ();
11188 main ()
11190 return xmlFirstElementChild ();
11192 return 0;
11194 _ACEOF
11195 if ac_fn_c_try_link "$LINENO"; then :
11196 ac_cv_lib_xml2_xmlFirstElementChild=yes
11197 else
11198 ac_cv_lib_xml2_xmlFirstElementChild=no
11200 rm -f core conftest.err conftest.$ac_objext \
11201 conftest$ac_exeext conftest.$ac_ext
11202 LIBS=$ac_check_lib_save_LIBS
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11205 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11206 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11208 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11212 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11214 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11216 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11220 else
11221 XML2_CFLAGS=""
11222 XML2_LIBS=""
11224 CPPFLAGS=$ac_save_CPPFLAGS
11225 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11226 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11229 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11230 case "x$with_xml" in
11231 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11232 xno) ;;
11233 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11234 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11235 esac
11238 if test "x$with_xslt" != "xno"
11239 then
11240 if ${XSLT_CFLAGS:+false} :; then :
11241 if ${PKG_CONFIG+:} false; then :
11242 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11245 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11246 if ${XSLT_LIBS:+false} :; then :
11247 if ${PKG_CONFIG+:} false; then :
11248 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11251 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11252 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11253 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11254 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11255 ac_save_CPPFLAGS=$CPPFLAGS
11256 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11257 for ac_header in libxslt/pattern.h libxslt/transform.h
11258 do :
11259 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11260 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11261 # include <libxslt/pattern.h>
11262 #endif
11264 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11265 cat >>confdefs.h <<_ACEOF
11266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11267 _ACEOF
11271 done
11273 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11274 then
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11276 $as_echo_n "checking for -lxslt... " >&6; }
11277 if ${ac_cv_lib_soname_xslt+:} false; then :
11278 $as_echo_n "(cached) " >&6
11279 else
11280 ac_check_soname_save_LIBS=$LIBS
11281 LIBS="-lxslt $XSLT_LIBS $LIBS"
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char xsltCompilePattern ();
11293 main ()
11295 return xsltCompilePattern ();
11297 return 0;
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301 case "$LIBEXT" in
11302 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11303 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'` ;;
11304 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11305 if ${ac_cv_lib_soname_xslt:+false} :; then :
11306 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11307 fi ;;
11308 esac
11310 rm -f core conftest.err conftest.$ac_objext \
11311 conftest$ac_exeext conftest.$ac_ext
11312 LIBS=$ac_check_soname_save_LIBS
11314 if ${ac_cv_lib_soname_xslt:+false} :; then :
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11316 $as_echo "not found" >&6; }
11318 else
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11320 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11322 cat >>confdefs.h <<_ACEOF
11323 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11324 _ACEOF
11328 else
11329 XSLT_CFLAGS=""
11331 CPPFLAGS=$ac_save_CPPFLAGS
11332 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11333 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11336 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11337 case "x$with_xslt" in
11338 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11339 xno) ;;
11340 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11341 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11342 esac
11345 if test "x$with_dbus" != "xno"
11346 then
11347 if ${DBUS_CFLAGS:+false} :; then :
11348 if ${PKG_CONFIG+:} false; then :
11349 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11353 if ${DBUS_LIBS:+false} :; then :
11354 if ${PKG_CONFIG+:} false; then :
11355 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11360 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11361 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11362 ac_save_CPPFLAGS=$CPPFLAGS
11363 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11364 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11365 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11367 $as_echo_n "checking for -ldbus-1... " >&6; }
11368 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11369 $as_echo_n "(cached) " >&6
11370 else
11371 ac_check_soname_save_LIBS=$LIBS
11372 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11374 /* end confdefs.h. */
11376 /* Override any GCC internal prototype to avoid an error.
11377 Use char because int might match the return type of a GCC
11378 builtin and then its argument prototype would still apply. */
11379 #ifdef __cplusplus
11380 extern "C"
11381 #endif
11382 char dbus_connection_close ();
11384 main ()
11386 return dbus_connection_close ();
11388 return 0;
11390 _ACEOF
11391 if ac_fn_c_try_link "$LINENO"; then :
11392 case "$LIBEXT" in
11393 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11394 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'` ;;
11395 *) 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'`
11396 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11397 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11398 fi ;;
11399 esac
11401 rm -f core conftest.err conftest.$ac_objext \
11402 conftest$ac_exeext conftest.$ac_ext
11403 LIBS=$ac_check_soname_save_LIBS
11405 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11407 $as_echo "not found" >&6; }
11408 DBUS_CFLAGS=""
11409 else
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11411 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11413 cat >>confdefs.h <<_ACEOF
11414 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11415 _ACEOF
11419 else
11420 DBUS_CFLAGS=""
11424 CPPFLAGS=$ac_save_CPPFLAGS
11425 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11426 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11429 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11430 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11431 case "x$with_dbus" in
11432 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11433 xno) ;;
11434 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11435 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11436 esac
11439 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11440 then
11441 if ${HAL_CFLAGS:+false} :; then :
11442 if ${PKG_CONFIG+:} false; then :
11443 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11447 if ${HAL_LIBS:+false} :; then :
11448 if ${PKG_CONFIG+:} false; then :
11449 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11453 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11454 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11455 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11456 ac_save_CPPFLAGS=$CPPFLAGS
11457 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11458 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11459 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11461 $as_echo_n "checking for -lhal... " >&6; }
11462 if ${ac_cv_lib_soname_hal+:} false; then :
11463 $as_echo_n "(cached) " >&6
11464 else
11465 ac_check_soname_save_LIBS=$LIBS
11466 LIBS="-lhal $HAL_LIBS $LIBS"
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11470 /* Override any GCC internal prototype to avoid an error.
11471 Use char because int might match the return type of a GCC
11472 builtin and then its argument prototype would still apply. */
11473 #ifdef __cplusplus
11474 extern "C"
11475 #endif
11476 char libhal_ctx_new ();
11478 main ()
11480 return libhal_ctx_new ();
11482 return 0;
11484 _ACEOF
11485 if ac_fn_c_try_link "$LINENO"; then :
11486 case "$LIBEXT" in
11487 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11488 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'` ;;
11489 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11490 if ${ac_cv_lib_soname_hal:+false} :; then :
11491 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11492 fi ;;
11493 esac
11495 rm -f core conftest.err conftest.$ac_objext \
11496 conftest$ac_exeext conftest.$ac_ext
11497 LIBS=$ac_check_soname_save_LIBS
11499 if ${ac_cv_lib_soname_hal:+false} :; then :
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11501 $as_echo "not found" >&6; }
11502 HAL_CFLAGS=""
11503 else
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11505 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11507 cat >>confdefs.h <<_ACEOF
11508 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11509 _ACEOF
11513 else
11514 HAL_CFLAGS=""
11518 CPPFLAGS=$ac_save_CPPFLAGS
11519 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11520 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11522 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11523 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11524 case "x$with_hal" in
11525 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11526 xno) ;;
11527 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11528 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11529 esac
11533 if test "x$with_gnutls" != "xno"
11534 then
11535 if ${GNUTLS_CFLAGS:+false} :; then :
11536 if ${PKG_CONFIG+:} false; then :
11537 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11541 if ${GNUTLS_LIBS:+false} :; then :
11542 if ${PKG_CONFIG+:} false; then :
11543 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11548 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11549 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11550 ac_save_CPPFLAGS=$CPPFLAGS
11551 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11552 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11553 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11555 /* end confdefs.h. */
11556 #include <gnutls/gnutls.h>
11557 #include <gnutls/crypto.h>
11559 main ()
11561 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11563 return 0;
11565 _ACEOF
11566 if ac_fn_c_try_compile "$LINENO"; then :
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11568 $as_echo_n "checking for -lgnutls... " >&6; }
11569 if ${ac_cv_lib_soname_gnutls+:} false; then :
11570 $as_echo_n "(cached) " >&6
11571 else
11572 ac_check_soname_save_LIBS=$LIBS
11573 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11575 /* end confdefs.h. */
11577 /* Override any GCC internal prototype to avoid an error.
11578 Use char because int might match the return type of a GCC
11579 builtin and then its argument prototype would still apply. */
11580 #ifdef __cplusplus
11581 extern "C"
11582 #endif
11583 char gnutls_global_init ();
11585 main ()
11587 return gnutls_global_init ();
11589 return 0;
11591 _ACEOF
11592 if ac_fn_c_try_link "$LINENO"; then :
11593 case "$LIBEXT" in
11594 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11595 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'` ;;
11596 *) 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'`
11597 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11598 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'`
11599 fi ;;
11600 esac
11602 rm -f core conftest.err conftest.$ac_objext \
11603 conftest$ac_exeext conftest.$ac_ext
11604 LIBS=$ac_check_soname_save_LIBS
11606 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11608 $as_echo "not found" >&6; }
11609 GNUTLS_CFLAGS=""
11610 else
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11612 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11614 cat >>confdefs.h <<_ACEOF
11615 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11616 _ACEOF
11621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11622 else
11623 GNUTLS_CFLAGS=""
11627 CPPFLAGS=$ac_save_CPPFLAGS
11628 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11629 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11632 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11633 case "x$with_gnutls" in
11634 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11635 xno) ;;
11636 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11637 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11638 esac
11641 CURSES_LIBS=""
11642 if test "$ac_cv_header_ncurses_h" = "yes"
11643 then
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11645 $as_echo_n "checking for -lncurses... " >&6; }
11646 if ${ac_cv_lib_soname_ncurses+:} false; then :
11647 $as_echo_n "(cached) " >&6
11648 else
11649 ac_check_soname_save_LIBS=$LIBS
11650 LIBS="-lncurses $LIBS"
11651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11654 /* Override any GCC internal prototype to avoid an error.
11655 Use char because int might match the return type of a GCC
11656 builtin and then its argument prototype would still apply. */
11657 #ifdef __cplusplus
11658 extern "C"
11659 #endif
11660 char waddch ();
11662 main ()
11664 return waddch ();
11666 return 0;
11668 _ACEOF
11669 if ac_fn_c_try_link "$LINENO"; then :
11670 case "$LIBEXT" in
11671 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11672 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'` ;;
11673 *) 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'`
11674 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11675 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11676 fi ;;
11677 esac
11679 rm -f core conftest.err conftest.$ac_objext \
11680 conftest$ac_exeext conftest.$ac_ext
11681 LIBS=$ac_check_soname_save_LIBS
11683 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11685 $as_echo "not found" >&6; }
11687 else
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11689 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11691 cat >>confdefs.h <<_ACEOF
11692 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11693 _ACEOF
11695 CURSES_LIBS="-lncurses"
11697 elif test "$ac_cv_header_curses_h" = "yes"
11698 then
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11700 $as_echo_n "checking for -lcurses... " >&6; }
11701 if ${ac_cv_lib_soname_curses+:} false; then :
11702 $as_echo_n "(cached) " >&6
11703 else
11704 ac_check_soname_save_LIBS=$LIBS
11705 LIBS="-lcurses $LIBS"
11706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11709 /* Override any GCC internal prototype to avoid an error.
11710 Use char because int might match the return type of a GCC
11711 builtin and then its argument prototype would still apply. */
11712 #ifdef __cplusplus
11713 extern "C"
11714 #endif
11715 char waddch ();
11717 main ()
11719 return waddch ();
11721 return 0;
11723 _ACEOF
11724 if ac_fn_c_try_link "$LINENO"; then :
11725 case "$LIBEXT" in
11726 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11727 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'` ;;
11728 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11729 if ${ac_cv_lib_soname_curses:+false} :; then :
11730 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11731 fi ;;
11732 esac
11734 rm -f core conftest.err conftest.$ac_objext \
11735 conftest$ac_exeext conftest.$ac_ext
11736 LIBS=$ac_check_soname_save_LIBS
11738 if ${ac_cv_lib_soname_curses:+false} :; then :
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11740 $as_echo "not found" >&6; }
11742 else
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11744 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11746 cat >>confdefs.h <<_ACEOF
11747 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11748 _ACEOF
11750 CURSES_LIBS="-lcurses"
11753 ac_save_LIBS="$LIBS"
11754 LIBS="$LIBS $CURSES_LIBS"
11755 for ac_func in mousemask
11756 do :
11757 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11758 if test "x$ac_cv_func_mousemask" = xyes; then :
11759 cat >>confdefs.h <<_ACEOF
11760 #define HAVE_MOUSEMASK 1
11761 _ACEOF
11764 done
11766 LIBS="$ac_save_LIBS"
11767 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11768 case "x$with_curses" in
11769 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11770 xno) ;;
11771 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11772 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11773 esac
11776 if test "x$with_sane" != "xno"
11777 then
11778 if ${SANE_CFLAGS:+false} :; then :
11779 if ${PKG_CONFIG+:} false; then :
11780 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11783 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11784 if ${SANE_LIBS:+false} :; then :
11785 if ${PKG_CONFIG+:} false; then :
11786 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11789 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11791 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11792 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11793 ac_save_CPPFLAGS=$CPPFLAGS
11794 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11795 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11796 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11798 $as_echo_n "checking for -lsane... " >&6; }
11799 if ${ac_cv_lib_soname_sane+:} false; then :
11800 $as_echo_n "(cached) " >&6
11801 else
11802 ac_check_soname_save_LIBS=$LIBS
11803 LIBS="-lsane $SANE_LIBS $LIBS"
11804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11807 /* Override any GCC internal prototype to avoid an error.
11808 Use char because int might match the return type of a GCC
11809 builtin and then its argument prototype would still apply. */
11810 #ifdef __cplusplus
11811 extern "C"
11812 #endif
11813 char sane_init ();
11815 main ()
11817 return sane_init ();
11819 return 0;
11821 _ACEOF
11822 if ac_fn_c_try_link "$LINENO"; then :
11823 case "$LIBEXT" in
11824 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11825 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'` ;;
11826 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11827 if ${ac_cv_lib_soname_sane:+false} :; then :
11828 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11829 fi ;;
11830 esac
11832 rm -f core conftest.err conftest.$ac_objext \
11833 conftest$ac_exeext conftest.$ac_ext
11834 LIBS=$ac_check_soname_save_LIBS
11836 if ${ac_cv_lib_soname_sane:+false} :; then :
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11838 $as_echo "not found" >&6; }
11839 SANE_CFLAGS=""
11840 else
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11842 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11844 cat >>confdefs.h <<_ACEOF
11845 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11846 _ACEOF
11850 else
11851 SANE_CFLAGS=""
11855 CPPFLAGS=$ac_save_CPPFLAGS
11856 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11857 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11860 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11861 case "x$with_sane" in
11862 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11863 xno) ;;
11864 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11865 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11866 esac
11869 if test "x$with_v4l" != "xno"
11870 then
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11872 $as_echo_n "checking for -lv4l1... " >&6; }
11873 if ${ac_cv_lib_soname_v4l1+:} false; then :
11874 $as_echo_n "(cached) " >&6
11875 else
11876 ac_check_soname_save_LIBS=$LIBS
11877 LIBS="-lv4l1 $LIBS"
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11881 /* Override any GCC internal prototype to avoid an error.
11882 Use char because int might match the return type of a GCC
11883 builtin and then its argument prototype would still apply. */
11884 #ifdef __cplusplus
11885 extern "C"
11886 #endif
11887 char v4l1_open ();
11889 main ()
11891 return v4l1_open ();
11893 return 0;
11895 _ACEOF
11896 if ac_fn_c_try_link "$LINENO"; then :
11897 case "$LIBEXT" in
11898 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11899 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'` ;;
11900 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11901 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11902 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11903 fi ;;
11904 esac
11906 rm -f core conftest.err conftest.$ac_objext \
11907 conftest$ac_exeext conftest.$ac_ext
11908 LIBS=$ac_check_soname_save_LIBS
11910 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11912 $as_echo "not found" >&6; }
11914 else
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11916 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11918 cat >>confdefs.h <<_ACEOF
11919 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11920 _ACEOF
11925 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11926 case "x$with_v4l" in
11927 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11928 xno) ;;
11929 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11930 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11931 esac
11934 if test "x$with_gphoto" != "xno"
11935 then
11936 if ${GPHOTO2_CFLAGS:+false} :; then :
11937 if ${PKG_CONFIG+:} false; then :
11938 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11941 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11942 if ${GPHOTO2_LIBS:+false} :; then :
11943 if ${PKG_CONFIG+:} false; then :
11944 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11947 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11948 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11949 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11950 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11951 ac_save_CPPFLAGS=$CPPFLAGS
11952 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11953 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11954 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11956 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11957 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11958 $as_echo_n "(cached) " >&6
11959 else
11960 ac_check_lib_save_LIBS=$LIBS
11961 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h. */
11965 /* Override any GCC internal prototype to avoid an error.
11966 Use char because int might match the return type of a GCC
11967 builtin and then its argument prototype would still apply. */
11968 #ifdef __cplusplus
11969 extern "C"
11970 #endif
11971 char gp_camera_new ();
11973 main ()
11975 return gp_camera_new ();
11977 return 0;
11979 _ACEOF
11980 if ac_fn_c_try_link "$LINENO"; then :
11981 ac_cv_lib_gphoto2_gp_camera_new=yes
11982 else
11983 ac_cv_lib_gphoto2_gp_camera_new=no
11985 rm -f core conftest.err conftest.$ac_objext \
11986 conftest$ac_exeext conftest.$ac_ext
11987 LIBS=$ac_check_lib_save_LIBS
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11990 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11991 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11993 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11995 else
11996 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11999 else
12000 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12004 CPPFLAGS=$ac_save_CPPFLAGS
12005 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12006 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12008 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12009 if ${PKG_CONFIG+:} false; then :
12010 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12013 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
12014 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12015 if ${PKG_CONFIG+:} false; then :
12016 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12019 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
12020 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12021 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12022 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12023 ac_save_CPPFLAGS=$CPPFLAGS
12024 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12025 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12026 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12028 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12029 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12030 $as_echo_n "(cached) " >&6
12031 else
12032 ac_check_lib_save_LIBS=$LIBS
12033 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12035 /* end confdefs.h. */
12037 /* Override any GCC internal prototype to avoid an error.
12038 Use char because int might match the return type of a GCC
12039 builtin and then its argument prototype would still apply. */
12040 #ifdef __cplusplus
12041 extern "C"
12042 #endif
12043 char gp_port_info_list_new ();
12045 main ()
12047 return gp_port_info_list_new ();
12049 return 0;
12051 _ACEOF
12052 if ac_fn_c_try_link "$LINENO"; then :
12053 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12054 else
12055 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12057 rm -f core conftest.err conftest.$ac_objext \
12058 conftest$ac_exeext conftest.$ac_ext
12059 LIBS=$ac_check_lib_save_LIBS
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12062 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12063 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12065 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12067 else
12068 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12071 else
12072 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12076 CPPFLAGS=$ac_save_CPPFLAGS
12077 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12078 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12081 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12082 case "x$with_gphoto" in
12083 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12084 xno) ;;
12085 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12086 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12087 esac
12089 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12090 case "x$with_gphoto" in
12091 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12092 xno) ;;
12093 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12094 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12095 esac
12099 if test "$ac_cv_header_resolv_h" = "yes"
12100 then
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12102 $as_echo_n "checking for resolver library... " >&6; }
12103 if ${ac_cv_have_resolv+:} false; then :
12104 $as_echo_n "(cached) " >&6
12105 else
12106 ac_save_LIBS="$LIBS"
12107 for lib in '' -lresolv
12109 LIBS="$lib $ac_save_LIBS"
12110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12111 /* end confdefs.h. */
12112 #ifdef HAVE_NETINET_IN_H
12113 #include <netinet/in.h>
12114 #endif
12115 #include <resolv.h>
12117 main ()
12119 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12121 return 0;
12123 _ACEOF
12124 if ac_fn_c_try_link "$LINENO"; then :
12125 ac_cv_have_resolv=${lib:-"none required"}
12126 else
12127 ac_cv_have_resolv="not found"
12129 rm -f core conftest.err conftest.$ac_objext \
12130 conftest$ac_exeext conftest.$ac_ext
12131 test "x$ac_cv_have_resolv" = "xnot found" || break
12132 done
12133 LIBS="$ac_save_LIBS"
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12136 $as_echo "$ac_cv_have_resolv" >&6; }
12138 case "$ac_cv_have_resolv" in
12139 "not found") ;;
12140 "none required")
12142 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12145 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12147 RESOLV_LIBS=$ac_cv_have_resolv
12149 esac
12152 if test "x$with_cms" != "xno"
12153 then
12154 if ${LCMS2_CFLAGS:+false} :; then :
12155 if ${PKG_CONFIG+:} false; then :
12156 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12160 if ${LCMS2_LIBS:+false} :; then :
12161 if ${PKG_CONFIG+:} false; then :
12162 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12166 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12167 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12168 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12169 ac_save_CPPFLAGS=$CPPFLAGS
12170 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12171 for ac_header in lcms2.h
12172 do :
12173 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12174 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12175 cat >>confdefs.h <<_ACEOF
12176 #define HAVE_LCMS2_H 1
12177 _ACEOF
12181 done
12183 if test "$ac_cv_header_lcms2_h" = "yes"
12184 then
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12186 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12187 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12188 $as_echo_n "(cached) " >&6
12189 else
12190 ac_check_lib_save_LIBS=$LIBS
12191 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12195 /* Override any GCC internal prototype to avoid an error.
12196 Use char because int might match the return type of a GCC
12197 builtin and then its argument prototype would still apply. */
12198 #ifdef __cplusplus
12199 extern "C"
12200 #endif
12201 char cmsOpenProfileFromFile ();
12203 main ()
12205 return cmsOpenProfileFromFile ();
12207 return 0;
12209 _ACEOF
12210 if ac_fn_c_try_link "$LINENO"; then :
12211 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12212 else
12213 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12215 rm -f core conftest.err conftest.$ac_objext \
12216 conftest$ac_exeext conftest.$ac_ext
12217 LIBS=$ac_check_lib_save_LIBS
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12220 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12221 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12223 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12225 else
12226 LCMS2_LIBS=""
12229 else
12230 LCMS2_CFLAGS=""
12231 LCMS2_LIBS=""
12233 CPPFLAGS=$ac_save_CPPFLAGS
12234 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12235 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12238 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12239 case "x$with_cms" in
12240 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12241 xno) ;;
12242 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12243 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12244 esac
12247 if test "x$with_freetype" != "xno"
12248 then
12249 if ${FREETYPE_CFLAGS:+false} :; then :
12250 if ${PKG_CONFIG+:} false; then :
12251 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12254 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12255 if ${FREETYPE_LIBS:+false} :; then :
12256 if ${PKG_CONFIG+:} false; then :
12257 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12260 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12261 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12262 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12263 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12264 ac_save_CPPFLAGS=$CPPFLAGS
12265 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12266 for ac_header in ft2build.h
12267 do :
12268 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12269 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12270 cat >>confdefs.h <<_ACEOF
12271 #define HAVE_FT2BUILD_H 1
12272 _ACEOF
12276 done
12278 if test "$ac_cv_header_ft2build_h" = "yes"
12279 then
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12281 $as_echo_n "checking for -lfreetype... " >&6; }
12282 if ${ac_cv_lib_soname_freetype+:} false; then :
12283 $as_echo_n "(cached) " >&6
12284 else
12285 ac_check_soname_save_LIBS=$LIBS
12286 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12288 /* end confdefs.h. */
12290 /* Override any GCC internal prototype to avoid an error.
12291 Use char because int might match the return type of a GCC
12292 builtin and then its argument prototype would still apply. */
12293 #ifdef __cplusplus
12294 extern "C"
12295 #endif
12296 char FT_Init_FreeType ();
12298 main ()
12300 return FT_Init_FreeType ();
12302 return 0;
12304 _ACEOF
12305 if ac_fn_c_try_link "$LINENO"; then :
12306 case "$LIBEXT" in
12307 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12308 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'` ;;
12309 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12310 if ${ac_cv_lib_soname_freetype:+false} :; then :
12311 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12312 fi ;;
12313 esac
12315 rm -f core conftest.err conftest.$ac_objext \
12316 conftest$ac_exeext conftest.$ac_ext
12317 LIBS=$ac_check_soname_save_LIBS
12319 if ${ac_cv_lib_soname_freetype:+false} :; then :
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12321 $as_echo "not found" >&6; }
12322 FREETYPE_LIBS=""
12323 else
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12325 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12327 cat >>confdefs.h <<_ACEOF
12328 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12329 _ACEOF
12332 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12334 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12335 #include FT_MODULE_H
12337 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12339 cat >>confdefs.h <<_ACEOF
12340 #define HAVE_FT_TRUETYPEENGINETYPE 1
12341 _ACEOF
12347 else
12348 FREETYPE_CFLAGS=""
12349 FREETYPE_LIBS=""
12351 CPPFLAGS=$ac_save_CPPFLAGS
12352 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12353 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12356 if test "x$ac_cv_lib_soname_freetype" = x; then :
12357 case "x$with_freetype" in
12358 xno) ;;
12359 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12360 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12361 esac
12363 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12366 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12367 if ${ac_cv_c_ppdev+:} false; then :
12368 $as_echo_n "(cached) " >&6
12369 else
12370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12371 /* end confdefs.h. */
12372 #ifdef HAVE_SYS_IOCTL_H
12373 # include <sys/ioctl.h>
12374 #endif
12375 #include <linux/ppdev.h>
12377 main ()
12379 ioctl (1,PPCLAIM,0)
12381 return 0;
12383 _ACEOF
12384 if ac_fn_c_try_compile "$LINENO"; then :
12385 ac_cv_c_ppdev="yes"
12386 else
12387 ac_cv_c_ppdev="no"
12389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12392 $as_echo "$ac_cv_c_ppdev" >&6; }
12393 if test "$ac_cv_c_ppdev" = "yes"
12394 then
12396 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12400 ac_wine_check_funcs_save_LIBS="$LIBS"
12401 LIBS="$LIBS $PTHREAD_LIBS"
12402 for ac_func in \
12403 pthread_attr_get_np \
12404 pthread_getattr_np \
12405 pthread_getthreadid_np \
12406 pthread_get_stackaddr_np \
12407 pthread_get_stacksize_np
12408 do :
12409 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12410 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12411 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12412 cat >>confdefs.h <<_ACEOF
12413 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12414 _ACEOF
12417 done
12419 LIBS="$ac_wine_check_funcs_save_LIBS"
12421 if test "$ac_cv_header_zlib_h" = "yes"
12422 then
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12424 $as_echo_n "checking for inflate in -lz... " >&6; }
12425 if ${ac_cv_lib_z_inflate+:} false; then :
12426 $as_echo_n "(cached) " >&6
12427 else
12428 ac_check_lib_save_LIBS=$LIBS
12429 LIBS="-lz $LIBS"
12430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h. */
12433 /* Override any GCC internal prototype to avoid an error.
12434 Use char because int might match the return type of a GCC
12435 builtin and then its argument prototype would still apply. */
12436 #ifdef __cplusplus
12437 extern "C"
12438 #endif
12439 char inflate ();
12441 main ()
12443 return inflate ();
12445 return 0;
12447 _ACEOF
12448 if ac_fn_c_try_link "$LINENO"; then :
12449 ac_cv_lib_z_inflate=yes
12450 else
12451 ac_cv_lib_z_inflate=no
12453 rm -f core conftest.err conftest.$ac_objext \
12454 conftest$ac_exeext conftest.$ac_ext
12455 LIBS=$ac_check_lib_save_LIBS
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12458 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12459 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12461 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12463 Z_LIBS="-lz"
12468 if test "x$Z_LIBS" = "x"; then :
12469 case "x$with_zlib" in
12470 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12471 xno) ;;
12472 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12473 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12474 esac
12477 if test "x$enable_tools" != xno
12478 then
12479 if test "$ac_cv_header_gettext_po_h" = "yes"
12480 then
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12482 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12483 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12484 $as_echo_n "(cached) " >&6
12485 else
12486 ac_check_lib_save_LIBS=$LIBS
12487 LIBS="-lgettextpo $LIBS"
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12491 /* Override any GCC internal prototype to avoid an error.
12492 Use char because int might match the return type of a GCC
12493 builtin and then its argument prototype would still apply. */
12494 #ifdef __cplusplus
12495 extern "C"
12496 #endif
12497 char po_message_msgctxt ();
12499 main ()
12501 return po_message_msgctxt ();
12503 return 0;
12505 _ACEOF
12506 if ac_fn_c_try_link "$LINENO"; then :
12507 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12508 else
12509 ac_cv_lib_gettextpo_po_message_msgctxt=no
12511 rm -f core conftest.err conftest.$ac_objext \
12512 conftest$ac_exeext conftest.$ac_ext
12513 LIBS=$ac_check_lib_save_LIBS
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12516 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12517 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12519 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12521 GETTEXTPO_LIBS="-lgettextpo"
12526 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12527 case "x$with_gettextpo" in
12528 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12529 xno) ;;
12530 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12531 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12532 esac
12536 if test "x$with_gstreamer" != "xno"
12537 then
12538 if ${GSTREAMER_CFLAGS:+false} :; then :
12539 if ${PKG_CONFIG+:} false; then :
12540 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12544 if ${GSTREAMER_LIBS:+false} :; then :
12545 if ${PKG_CONFIG+:} false; then :
12546 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12551 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12552 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12553 ac_save_CPPFLAGS=$CPPFLAGS
12554 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12555 ac_gst_incl=""
12556 for i in $GSTREAMER_CFLAGS
12558 case "$i" in
12559 -I*) ac_gst_incl="$ac_gst_incl $i";;
12560 esac
12561 done
12562 GSTREAMER_CFLAGS=$ac_gst_incl
12563 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12564 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12565 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12566 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12567 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12569 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12572 #include <gst/app/gstappsink.h>
12574 main ()
12576 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12578 return 0;
12580 _ACEOF
12581 if ac_fn_c_try_compile "$LINENO"; then :
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12583 $as_echo "yes" >&6; }
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12585 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12586 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12587 $as_echo_n "(cached) " >&6
12588 else
12589 ac_check_lib_save_LIBS=$LIBS
12590 LIBS="-lgstreamer-0.10 $LIBS"
12591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12592 /* end confdefs.h. */
12594 /* Override any GCC internal prototype to avoid an error.
12595 Use char because int might match the return type of a GCC
12596 builtin and then its argument prototype would still apply. */
12597 #ifdef __cplusplus
12598 extern "C"
12599 #endif
12600 char gst_pad_get_caps_reffed ();
12602 main ()
12604 return gst_pad_get_caps_reffed ();
12606 return 0;
12608 _ACEOF
12609 if ac_fn_c_try_link "$LINENO"; then :
12610 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12611 else
12612 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12614 rm -f core conftest.err conftest.$ac_objext \
12615 conftest$ac_exeext conftest.$ac_ext
12616 LIBS=$ac_check_lib_save_LIBS
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12619 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12620 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12622 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12623 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12624 $as_echo_n "(cached) " >&6
12625 else
12626 ac_check_lib_save_LIBS=$LIBS
12627 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 /* Override any GCC internal prototype to avoid an error.
12632 Use char because int might match the return type of a GCC
12633 builtin and then its argument prototype would still apply. */
12634 #ifdef __cplusplus
12635 extern "C"
12636 #endif
12637 char gst_app_buffer_new ();
12639 main ()
12641 return gst_app_buffer_new ();
12643 return 0;
12645 _ACEOF
12646 if ac_fn_c_try_link "$LINENO"; then :
12647 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12648 else
12649 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12651 rm -f core conftest.err conftest.$ac_objext \
12652 conftest$ac_exeext conftest.$ac_ext
12653 LIBS=$ac_check_lib_save_LIBS
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12656 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12657 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12663 else
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12665 $as_echo "no" >&6; }
12667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12671 else
12672 GSTREAMER_CFLAGS=""
12676 CPPFLAGS=$ac_save_CPPFLAGS
12677 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12678 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12681 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12682 case "x$with_gstreamer" in
12683 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12684 xno) ;;
12685 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12686 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12687 esac
12689 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12691 ALSA_LIBS=""
12693 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12694 then
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12696 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12697 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12698 $as_echo_n "(cached) " >&6
12699 else
12700 ac_check_lib_save_LIBS=$LIBS
12701 LIBS="-lasound $LIBS"
12702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12703 /* end confdefs.h. */
12705 /* Override any GCC internal prototype to avoid an error.
12706 Use char because int might match the return type of a GCC
12707 builtin and then its argument prototype would still apply. */
12708 #ifdef __cplusplus
12709 extern "C"
12710 #endif
12711 char snd_pcm_hw_params_get_access_mask ();
12713 main ()
12715 return snd_pcm_hw_params_get_access_mask ();
12717 return 0;
12719 _ACEOF
12720 if ac_fn_c_try_link "$LINENO"; then :
12721 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12722 else
12723 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12725 rm -f core conftest.err conftest.$ac_objext \
12726 conftest$ac_exeext conftest.$ac_ext
12727 LIBS=$ac_check_lib_save_LIBS
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12730 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12731 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12733 /* end confdefs.h. */
12734 #ifdef HAVE_ALSA_ASOUNDLIB_H
12735 #include <alsa/asoundlib.h>
12736 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12737 #include <sys/asoundlib.h>
12738 #endif
12740 main ()
12742 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12744 return 0;
12746 _ACEOF
12747 if ac_fn_c_try_compile "$LINENO"; then :
12748 ALSA_LIBS="-lasound"
12750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12755 if test "x$with_oss" != xno
12756 then
12757 ac_save_CPPFLAGS="$CPPFLAGS"
12758 if test -f /etc/oss.conf
12759 then
12760 . /etc/oss.conf
12762 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12763 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12764 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12765 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12766 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12768 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12770 cat >>confdefs.h <<_ACEOF
12771 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12772 _ACEOF
12774 OSS4_CFLAGS="$ac_oss_incl"
12781 CPPFLAGS="$ac_save_CPPFLAGS"
12782 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12783 then
12784 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12788 if test "x$with_capi" != "xno"
12789 then
12790 if ${CAPI20_CFLAGS:+false} :; then :
12791 if ${PKG_CONFIG+:} false; then :
12792 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12796 if ${CAPI20_LIBS:+false} :; then :
12797 if ${PKG_CONFIG+:} false; then :
12798 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12803 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12804 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12805 ac_save_CPPFLAGS=$CPPFLAGS
12806 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12807 for ac_header in capi20.h linux/capi.h
12808 do :
12809 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12810 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12812 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12813 cat >>confdefs.h <<_ACEOF
12814 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12815 _ACEOF
12819 done
12821 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12822 then
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12824 $as_echo_n "checking for -lcapi20... " >&6; }
12825 if ${ac_cv_lib_soname_capi20+:} false; then :
12826 $as_echo_n "(cached) " >&6
12827 else
12828 ac_check_soname_save_LIBS=$LIBS
12829 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12831 /* end confdefs.h. */
12833 /* Override any GCC internal prototype to avoid an error.
12834 Use char because int might match the return type of a GCC
12835 builtin and then its argument prototype would still apply. */
12836 #ifdef __cplusplus
12837 extern "C"
12838 #endif
12839 char capi20_register ();
12841 main ()
12843 return capi20_register ();
12845 return 0;
12847 _ACEOF
12848 if ac_fn_c_try_link "$LINENO"; then :
12849 case "$LIBEXT" in
12850 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12851 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'` ;;
12852 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12853 if ${ac_cv_lib_soname_capi20:+false} :; then :
12854 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12855 fi ;;
12856 esac
12858 rm -f core conftest.err conftest.$ac_objext \
12859 conftest$ac_exeext conftest.$ac_ext
12860 LIBS=$ac_check_soname_save_LIBS
12862 if ${ac_cv_lib_soname_capi20:+false} :; then :
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12864 $as_echo "not found" >&6; }
12866 else
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12868 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12870 cat >>confdefs.h <<_ACEOF
12871 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12872 _ACEOF
12877 CPPFLAGS=$ac_save_CPPFLAGS
12878 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12879 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12882 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12883 case "x$with_capi" in
12884 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12885 xno) ;;
12886 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12887 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12888 esac
12891 CUPS_CFLAGS=""
12893 if test "x$with_cups" != "xno"
12894 then
12895 ac_save_CPPFLAGS="$CPPFLAGS"
12896 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12897 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12898 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12899 for ac_header in cups/cups.h
12900 do :
12901 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12902 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12903 cat >>confdefs.h <<_ACEOF
12904 #define HAVE_CUPS_CUPS_H 1
12905 _ACEOF
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12907 $as_echo_n "checking for -lcups... " >&6; }
12908 if ${ac_cv_lib_soname_cups+:} false; then :
12909 $as_echo_n "(cached) " >&6
12910 else
12911 ac_check_soname_save_LIBS=$LIBS
12912 LIBS="-lcups $ac_cups_libs $LIBS"
12913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12914 /* end confdefs.h. */
12916 /* Override any GCC internal prototype to avoid an error.
12917 Use char because int might match the return type of a GCC
12918 builtin and then its argument prototype would still apply. */
12919 #ifdef __cplusplus
12920 extern "C"
12921 #endif
12922 char cupsGetDefault ();
12924 main ()
12926 return cupsGetDefault ();
12928 return 0;
12930 _ACEOF
12931 if ac_fn_c_try_link "$LINENO"; then :
12932 case "$LIBEXT" in
12933 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12934 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'` ;;
12935 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12936 if ${ac_cv_lib_soname_cups:+false} :; then :
12937 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12938 fi ;;
12939 esac
12941 rm -f core conftest.err conftest.$ac_objext \
12942 conftest$ac_exeext conftest.$ac_ext
12943 LIBS=$ac_check_soname_save_LIBS
12945 if ${ac_cv_lib_soname_cups:+false} :; then :
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12947 $as_echo "not found" >&6; }
12949 else
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12951 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12953 cat >>confdefs.h <<_ACEOF
12954 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12955 _ACEOF
12957 CUPS_CFLAGS="$ac_cups_cflags"
12961 done
12963 CPPFLAGS="$ac_save_CPPFLAGS"
12965 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12966 case "x$with_cups" in
12967 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12968 xno) ;;
12969 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12970 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12971 esac
12974 if test "x$with_fontconfig" != "xno"
12975 then
12976 if ${FONTCONFIG_CFLAGS:+false} :; then :
12977 if ${PKG_CONFIG+:} false; then :
12978 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12981 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12982 if ${FONTCONFIG_LIBS:+false} :; then :
12983 if ${PKG_CONFIG+:} false; then :
12984 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12987 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12989 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12990 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12991 ac_save_CPPFLAGS=$CPPFLAGS
12992 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12993 for ac_header in fontconfig/fontconfig.h
12994 do :
12995 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12996 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12997 cat >>confdefs.h <<_ACEOF
12998 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12999 _ACEOF
13003 done
13005 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13006 then
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13008 $as_echo_n "checking for -lfontconfig... " >&6; }
13009 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13010 $as_echo_n "(cached) " >&6
13011 else
13012 ac_check_soname_save_LIBS=$LIBS
13013 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13017 /* Override any GCC internal prototype to avoid an error.
13018 Use char because int might match the return type of a GCC
13019 builtin and then its argument prototype would still apply. */
13020 #ifdef __cplusplus
13021 extern "C"
13022 #endif
13023 char FcInit ();
13025 main ()
13027 return FcInit ();
13029 return 0;
13031 _ACEOF
13032 if ac_fn_c_try_link "$LINENO"; then :
13033 case "$LIBEXT" in
13034 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13035 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'` ;;
13036 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13037 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13038 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13039 fi ;;
13040 esac
13042 rm -f core conftest.err conftest.$ac_objext \
13043 conftest$ac_exeext conftest.$ac_ext
13044 LIBS=$ac_check_soname_save_LIBS
13046 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13048 $as_echo "not found" >&6; }
13049 FONTCONFIG_CFLAGS=""
13050 else
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13052 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13054 cat >>confdefs.h <<_ACEOF
13055 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13056 _ACEOF
13060 else
13061 FONTCONFIG_CFLAGS=""
13063 CPPFLAGS=$ac_save_CPPFLAGS
13064 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13065 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13068 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13069 case "x$with_fontconfig" in
13070 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13071 xno) ;;
13072 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13073 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13074 esac
13077 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13078 then
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13080 $as_echo_n "checking for -lgsm... " >&6; }
13081 if ${ac_cv_lib_soname_gsm+:} false; then :
13082 $as_echo_n "(cached) " >&6
13083 else
13084 ac_check_soname_save_LIBS=$LIBS
13085 LIBS="-lgsm $LIBS"
13086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13089 /* Override any GCC internal prototype to avoid an error.
13090 Use char because int might match the return type of a GCC
13091 builtin and then its argument prototype would still apply. */
13092 #ifdef __cplusplus
13093 extern "C"
13094 #endif
13095 char gsm_create ();
13097 main ()
13099 return gsm_create ();
13101 return 0;
13103 _ACEOF
13104 if ac_fn_c_try_link "$LINENO"; then :
13105 case "$LIBEXT" in
13106 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13107 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'` ;;
13108 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13109 if ${ac_cv_lib_soname_gsm:+false} :; then :
13110 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13111 fi ;;
13112 esac
13114 rm -f core conftest.err conftest.$ac_objext \
13115 conftest$ac_exeext conftest.$ac_ext
13116 LIBS=$ac_check_soname_save_LIBS
13118 if ${ac_cv_lib_soname_gsm:+false} :; then :
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13120 $as_echo "not found" >&6; }
13122 else
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13124 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13126 cat >>confdefs.h <<_ACEOF
13127 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13128 _ACEOF
13133 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13134 case "x$with_gsm" in
13135 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13136 xno) ;;
13137 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13138 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13139 esac
13142 if test "x$with_jpeg" != "xno"
13143 then
13144 if ${JPEG_CFLAGS:+false} :; then :
13145 if ${PKG_CONFIG+:} false; then :
13146 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13150 if ${JPEG_LIBS:+false} :; then :
13151 if ${PKG_CONFIG+:} false; then :
13152 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13157 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13158 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13159 ac_save_CPPFLAGS=$CPPFLAGS
13160 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13161 for ac_header in jpeglib.h
13162 do :
13163 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13164 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13165 cat >>confdefs.h <<_ACEOF
13166 #define HAVE_JPEGLIB_H 1
13167 _ACEOF
13171 done
13173 if test "$ac_cv_header_jpeglib_h" = "yes"
13174 then
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13176 $as_echo_n "checking for -ljpeg... " >&6; }
13177 if ${ac_cv_lib_soname_jpeg+:} false; then :
13178 $as_echo_n "(cached) " >&6
13179 else
13180 ac_check_soname_save_LIBS=$LIBS
13181 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13183 /* end confdefs.h. */
13185 /* Override any GCC internal prototype to avoid an error.
13186 Use char because int might match the return type of a GCC
13187 builtin and then its argument prototype would still apply. */
13188 #ifdef __cplusplus
13189 extern "C"
13190 #endif
13191 char jpeg_start_decompress ();
13193 main ()
13195 return jpeg_start_decompress ();
13197 return 0;
13199 _ACEOF
13200 if ac_fn_c_try_link "$LINENO"; then :
13201 case "$LIBEXT" in
13202 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13203 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'` ;;
13204 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13205 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13206 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13207 fi ;;
13208 esac
13210 rm -f core conftest.err conftest.$ac_objext \
13211 conftest$ac_exeext conftest.$ac_ext
13212 LIBS=$ac_check_soname_save_LIBS
13214 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13216 $as_echo "not found" >&6; }
13217 JPEG_CFLAGS=""
13218 else
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13220 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13222 cat >>confdefs.h <<_ACEOF
13223 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13224 _ACEOF
13228 else
13229 JPEG_CFLAGS=""
13231 CPPFLAGS=$ac_save_CPPFLAGS
13232 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13233 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13236 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13237 case "x$with_jpeg" in
13238 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13239 xno) ;;
13240 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13241 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13242 esac
13245 if test "x$with_png" != "xno"
13246 then
13247 if ${PNG_CFLAGS:+false} :; then :
13248 if ${PKG_CONFIG+:} false; then :
13249 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13252 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13253 if ${PNG_LIBS:+false} :; then :
13254 if ${PKG_CONFIG+:} false; then :
13255 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13258 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13260 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13261 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13262 ac_save_CPPFLAGS=$CPPFLAGS
13263 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13264 for ac_header in png.h
13265 do :
13266 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13267 if test "x$ac_cv_header_png_h" = xyes; then :
13268 cat >>confdefs.h <<_ACEOF
13269 #define HAVE_PNG_H 1
13270 _ACEOF
13274 done
13276 if test "$ac_cv_header_png_h" = "yes"
13277 then
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13279 $as_echo_n "checking for -lpng... " >&6; }
13280 if ${ac_cv_lib_soname_png+:} false; then :
13281 $as_echo_n "(cached) " >&6
13282 else
13283 ac_check_soname_save_LIBS=$LIBS
13284 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13288 /* Override any GCC internal prototype to avoid an error.
13289 Use char because int might match the return type of a GCC
13290 builtin and then its argument prototype would still apply. */
13291 #ifdef __cplusplus
13292 extern "C"
13293 #endif
13294 char png_create_read_struct ();
13296 main ()
13298 return png_create_read_struct ();
13300 return 0;
13302 _ACEOF
13303 if ac_fn_c_try_link "$LINENO"; then :
13304 case "$LIBEXT" in
13305 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13306 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'` ;;
13307 *) 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'`
13308 if ${ac_cv_lib_soname_png:+false} :; then :
13309 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13310 fi ;;
13311 esac
13313 rm -f core conftest.err conftest.$ac_objext \
13314 conftest$ac_exeext conftest.$ac_ext
13315 LIBS=$ac_check_soname_save_LIBS
13317 if ${ac_cv_lib_soname_png:+false} :; then :
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13319 $as_echo "not found" >&6; }
13320 PNG_CFLAGS=""
13321 else
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13323 $as_echo "$ac_cv_lib_soname_png" >&6; }
13325 cat >>confdefs.h <<_ACEOF
13326 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13327 _ACEOF
13329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13330 /* end confdefs.h. */
13331 #include <png.h>
13333 main ()
13335 typeof(png_set_expand_gray_1_2_4_to_8) *p
13337 return 0;
13339 _ACEOF
13340 if ac_fn_c_try_compile "$LINENO"; then :
13342 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13347 else
13348 PNG_CFLAGS=""
13350 CPPFLAGS=$ac_save_CPPFLAGS
13351 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13352 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13355 if test "x$ac_cv_lib_soname_png" = "x"; then :
13356 case "x$with_png" in
13357 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13358 xno) ;;
13359 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13360 This is an error since --with-png was requested." "$LINENO" 5 ;;
13361 esac
13364 if test "x$with_tiff" != "xno"
13365 then
13366 if ${TIFF_CFLAGS:+false} :; then :
13367 if ${PKG_CONFIG+:} false; then :
13368 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13372 if ${TIFF_LIBS:+false} :; then :
13373 if ${PKG_CONFIG+:} false; then :
13374 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13379 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13380 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13381 ac_save_CPPFLAGS=$CPPFLAGS
13382 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13383 for ac_header in tiffio.h
13384 do :
13385 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13386 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13387 cat >>confdefs.h <<_ACEOF
13388 #define HAVE_TIFFIO_H 1
13389 _ACEOF
13393 done
13395 if test "$ac_cv_header_tiffio_h" = "yes"
13396 then
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13398 $as_echo_n "checking for -ltiff... " >&6; }
13399 if ${ac_cv_lib_soname_tiff+:} false; then :
13400 $as_echo_n "(cached) " >&6
13401 else
13402 ac_check_soname_save_LIBS=$LIBS
13403 LIBS="-ltiff $TIFF_LIBS $LIBS"
13404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13405 /* end confdefs.h. */
13407 /* Override any GCC internal prototype to avoid an error.
13408 Use char because int might match the return type of a GCC
13409 builtin and then its argument prototype would still apply. */
13410 #ifdef __cplusplus
13411 extern "C"
13412 #endif
13413 char TIFFClientOpen ();
13415 main ()
13417 return TIFFClientOpen ();
13419 return 0;
13421 _ACEOF
13422 if ac_fn_c_try_link "$LINENO"; then :
13423 case "$LIBEXT" in
13424 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13425 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'` ;;
13426 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13427 if ${ac_cv_lib_soname_tiff:+false} :; then :
13428 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13429 fi ;;
13430 esac
13432 rm -f core conftest.err conftest.$ac_objext \
13433 conftest$ac_exeext conftest.$ac_ext
13434 LIBS=$ac_check_soname_save_LIBS
13436 if ${ac_cv_lib_soname_tiff:+false} :; then :
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13438 $as_echo "not found" >&6; }
13440 else
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13442 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13444 cat >>confdefs.h <<_ACEOF
13445 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13446 _ACEOF
13451 CPPFLAGS=$ac_save_CPPFLAGS
13452 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13453 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13456 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13457 case "x$with_tiff" in
13458 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13459 xno) ;;
13460 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13461 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13462 esac
13465 if test "x$with_mpg123" != "xno"
13466 then
13467 if ${MPG123_CFLAGS:+false} :; then :
13468 if ${PKG_CONFIG+:} false; then :
13469 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13473 if ${MPG123_LIBS:+false} :; then :
13474 if ${PKG_CONFIG+:} false; then :
13475 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13479 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13480 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13481 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13482 ac_save_CPPFLAGS=$CPPFLAGS
13483 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13484 for ac_header in mpg123.h
13485 do :
13486 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13487 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13488 cat >>confdefs.h <<_ACEOF
13489 #define HAVE_MPG123_H 1
13490 _ACEOF
13494 done
13496 if test "$ac_cv_header_mpg123_h" = "yes"
13497 then
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13499 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13500 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13501 $as_echo_n "(cached) " >&6
13502 else
13503 ac_check_lib_save_LIBS=$LIBS
13504 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13506 /* end confdefs.h. */
13508 /* Override any GCC internal prototype to avoid an error.
13509 Use char because int might match the return type of a GCC
13510 builtin and then its argument prototype would still apply. */
13511 #ifdef __cplusplus
13512 extern "C"
13513 #endif
13514 char mpg123_feed ();
13516 main ()
13518 return mpg123_feed ();
13520 return 0;
13522 _ACEOF
13523 if ac_fn_c_try_link "$LINENO"; then :
13524 ac_cv_lib_mpg123_mpg123_feed=yes
13525 else
13526 ac_cv_lib_mpg123_mpg123_feed=no
13528 rm -f core conftest.err conftest.$ac_objext \
13529 conftest$ac_exeext conftest.$ac_ext
13530 LIBS=$ac_check_lib_save_LIBS
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13533 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13534 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13536 else
13537 MPG123_LIBS=""
13540 else
13541 MPG123_CFLAGS=""
13542 MPG123_LIBS=""
13544 CPPFLAGS=$ac_save_CPPFLAGS
13545 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13546 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13549 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13550 case "x$with_mpg123" in
13551 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13552 xno) ;;
13553 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13554 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13555 esac
13557 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}
13559 if test "$ac_cv_header_AL_al_h" = "yes"
13560 then
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13562 $as_echo_n "checking for -lopenal... " >&6; }
13563 if ${ac_cv_lib_soname_openal+:} false; then :
13564 $as_echo_n "(cached) " >&6
13565 else
13566 ac_check_soname_save_LIBS=$LIBS
13567 LIBS="-lopenal $LIBS"
13568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13569 /* end confdefs.h. */
13571 /* Override any GCC internal prototype to avoid an error.
13572 Use char because int might match the return type of a GCC
13573 builtin and then its argument prototype would still apply. */
13574 #ifdef __cplusplus
13575 extern "C"
13576 #endif
13577 char alGetSource3i ();
13579 main ()
13581 return alGetSource3i ();
13583 return 0;
13585 _ACEOF
13586 if ac_fn_c_try_link "$LINENO"; then :
13587 case "$LIBEXT" in
13588 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13589 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'` ;;
13590 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13591 if ${ac_cv_lib_soname_openal:+false} :; then :
13592 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13593 fi ;;
13594 esac
13596 rm -f core conftest.err conftest.$ac_objext \
13597 conftest$ac_exeext conftest.$ac_ext
13598 LIBS=$ac_check_soname_save_LIBS
13600 if ${ac_cv_lib_soname_openal:+false} :; then :
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13602 $as_echo "not found" >&6; }
13604 else
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13606 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13608 cat >>confdefs.h <<_ACEOF
13609 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13610 _ACEOF
13612 OPENAL_LIBS="-lopenal"
13614 ac_cv_lib_openal=yes
13616 cat >>confdefs.h <<_ACEOF
13617 #define HAVE_OPENAL 1
13618 _ACEOF
13622 if test "x$ac_cv_lib_openal" != xyes; then :
13623 case "x$with_openal" in
13624 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13625 xno) ;;
13626 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13627 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13628 esac
13630 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13632 if test "x$ac_cv_lib_openal" = xyes
13633 then
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13635 $as_echo_n "checking for openal-soft... " >&6; }
13636 if ${ac_cv_have_openalsoft+:} false; then :
13637 $as_echo_n "(cached) " >&6
13638 else
13639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13640 /* end confdefs.h. */
13641 #include <AL/alext.h>
13642 LPALCRENDERSAMPLESSOFT x;
13644 main ()
13648 return 0;
13650 _ACEOF
13651 if ac_fn_c_try_compile "$LINENO"; then :
13652 ac_cv_have_openalsoft=yes
13653 else
13654 ac_cv_have_openalsoft=no
13656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13659 $as_echo "$ac_cv_have_openalsoft" >&6; }
13661 if test "x$ac_cv_have_openalsoft" != xyes
13662 then
13663 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13664 enable_xaudio2_7=${enable_xaudio2_7:-no}
13667 if test "$ac_cv_header_kstat_h" = "yes"
13668 then
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13670 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13671 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13672 $as_echo_n "(cached) " >&6
13673 else
13674 ac_check_lib_save_LIBS=$LIBS
13675 LIBS="-lkstat $LIBS"
13676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13677 /* end confdefs.h. */
13679 /* Override any GCC internal prototype to avoid an error.
13680 Use char because int might match the return type of a GCC
13681 builtin and then its argument prototype would still apply. */
13682 #ifdef __cplusplus
13683 extern "C"
13684 #endif
13685 char kstat_open ();
13687 main ()
13689 return kstat_open ();
13691 return 0;
13693 _ACEOF
13694 if ac_fn_c_try_link "$LINENO"; then :
13695 ac_cv_lib_kstat_kstat_open=yes
13696 else
13697 ac_cv_lib_kstat_kstat_open=no
13699 rm -f core conftest.err conftest.$ac_objext \
13700 conftest$ac_exeext conftest.$ac_ext
13701 LIBS=$ac_check_lib_save_LIBS
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13704 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13705 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13707 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13709 KSTAT_LIBS="-lkstat"
13715 if test "$ac_cv_header_libprocstat_h" = "yes"
13716 then
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13718 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13719 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13720 $as_echo_n "(cached) " >&6
13721 else
13722 ac_check_lib_save_LIBS=$LIBS
13723 LIBS="-lprocstat $LIBS"
13724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13725 /* end confdefs.h. */
13727 /* Override any GCC internal prototype to avoid an error.
13728 Use char because int might match the return type of a GCC
13729 builtin and then its argument prototype would still apply. */
13730 #ifdef __cplusplus
13731 extern "C"
13732 #endif
13733 char procstat_open_sysctl ();
13735 main ()
13737 return procstat_open_sysctl ();
13739 return 0;
13741 _ACEOF
13742 if ac_fn_c_try_link "$LINENO"; then :
13743 ac_cv_lib_procstat_procstat_open_sysctl=yes
13744 else
13745 ac_cv_lib_procstat_procstat_open_sysctl=no
13747 rm -f core conftest.err conftest.$ac_objext \
13748 conftest$ac_exeext conftest.$ac_ext
13749 LIBS=$ac_check_lib_save_LIBS
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13752 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13753 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13755 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13757 PROCSTAT_LIBS="-lprocstat"
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13764 $as_echo_n "checking for -lodbc... " >&6; }
13765 if ${ac_cv_lib_soname_odbc+:} false; then :
13766 $as_echo_n "(cached) " >&6
13767 else
13768 ac_check_soname_save_LIBS=$LIBS
13769 LIBS="-lodbc $LIBS"
13770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13773 /* Override any GCC internal prototype to avoid an error.
13774 Use char because int might match the return type of a GCC
13775 builtin and then its argument prototype would still apply. */
13776 #ifdef __cplusplus
13777 extern "C"
13778 #endif
13779 char SQLConnect ();
13781 main ()
13783 return SQLConnect ();
13785 return 0;
13787 _ACEOF
13788 if ac_fn_c_try_link "$LINENO"; then :
13789 case "$LIBEXT" in
13790 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13791 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'` ;;
13792 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13793 if ${ac_cv_lib_soname_odbc:+false} :; then :
13794 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13795 fi ;;
13796 esac
13798 rm -f core conftest.err conftest.$ac_objext \
13799 conftest$ac_exeext conftest.$ac_ext
13800 LIBS=$ac_check_soname_save_LIBS
13802 if ${ac_cv_lib_soname_odbc:+false} :; then :
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13804 $as_echo "not found" >&6; }
13805 cat >>confdefs.h <<_ACEOF
13806 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13807 _ACEOF
13809 else
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13811 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13813 cat >>confdefs.h <<_ACEOF
13814 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13815 _ACEOF
13820 if test "x$with_netapi" != "xno"
13821 then
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13823 $as_echo_n "checking for -lnetapi... " >&6; }
13824 if ${ac_cv_lib_soname_netapi+:} false; then :
13825 $as_echo_n "(cached) " >&6
13826 else
13827 ac_check_soname_save_LIBS=$LIBS
13828 LIBS="-lnetapi $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 libnetapi_init ();
13840 main ()
13842 return libnetapi_init ();
13844 return 0;
13846 _ACEOF
13847 if ac_fn_c_try_link "$LINENO"; then :
13848 case "$LIBEXT" in
13849 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13850 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'` ;;
13851 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13852 if ${ac_cv_lib_soname_netapi:+false} :; then :
13853 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$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_netapi:+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_LIBNETAPI "libnetapi.$LIBEXT"
13866 _ACEOF
13868 else
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13870 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13872 cat >>confdefs.h <<_ACEOF
13873 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13874 _ACEOF
13880 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13881 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13882 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13883 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13885 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13886 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13887 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13888 then
13889 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13893 EXTRACFLAGS=""
13895 if test "x${GCC}" = "xyes"
13896 then
13897 EXTRACFLAGS="-Wall -pipe"
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13900 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13901 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13902 $as_echo_n "(cached) " >&6
13903 else
13904 if test "$cross_compiling" = yes; then :
13905 ac_cv_c_gcc_strength_bug="no"
13906 else
13907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13908 /* end confdefs.h. */
13909 int L[4] = {0,1,2,3};
13911 main ()
13913 static int Array[3];
13914 unsigned int B = 3;
13915 int i;
13916 for(i=0; i<B; i++) Array[i] = i - 3;
13917 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13918 L[i] = 4;
13919 return (Array[1] != -2 || L[2] != 3)
13921 return 0;
13923 _ACEOF
13924 if ac_fn_c_try_run "$LINENO"; then :
13925 ac_cv_c_gcc_strength_bug="no"
13926 else
13927 ac_cv_c_gcc_strength_bug="yes"
13929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13930 conftest.$ac_objext conftest.beam conftest.$ac_ext
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13935 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13936 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13937 then
13938 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13942 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13943 if ${ac_cv_cflags__fno_builtin+:} false; then :
13944 $as_echo_n "(cached) " >&6
13945 else
13946 ac_wine_try_cflags_saved=$CFLAGS
13947 CFLAGS="$CFLAGS -fno-builtin"
13948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13950 int main(int argc, char **argv) { return 0; }
13951 _ACEOF
13952 if ac_fn_c_try_link "$LINENO"; then :
13953 ac_cv_cflags__fno_builtin=yes
13954 else
13955 ac_cv_cflags__fno_builtin=no
13957 rm -f core conftest.err conftest.$ac_objext \
13958 conftest$ac_exeext conftest.$ac_ext
13959 CFLAGS=$ac_wine_try_cflags_saved
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13962 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13963 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13964 BUILTINFLAG="-fno-builtin"
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13968 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13969 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13970 $as_echo_n "(cached) " >&6
13971 else
13972 ac_wine_try_cflags_saved=$CFLAGS
13973 CFLAGS="$CFLAGS -fno-strict-aliasing"
13974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13976 int main(int argc, char **argv) { return 0; }
13977 _ACEOF
13978 if ac_fn_c_try_link "$LINENO"; then :
13979 ac_cv_cflags__fno_strict_aliasing=yes
13980 else
13981 ac_cv_cflags__fno_strict_aliasing=no
13983 rm -f core conftest.err conftest.$ac_objext \
13984 conftest$ac_exeext conftest.$ac_ext
13985 CFLAGS=$ac_wine_try_cflags_saved
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13988 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13989 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13990 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13992 saved_CFLAGS=$CFLAGS
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13994 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13995 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13996 $as_echo_n "(cached) " >&6
13997 else
13998 ac_wine_try_cflags_saved=$CFLAGS
13999 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14002 int main(int argc, char **argv) { return 0; }
14003 _ACEOF
14004 if ac_fn_c_try_link "$LINENO"; then :
14005 ac_cv_cflags__Werror_unknown_warning_option=yes
14006 else
14007 ac_cv_cflags__Werror_unknown_warning_option=no
14009 rm -f core conftest.err conftest.$ac_objext \
14010 conftest$ac_exeext conftest.$ac_ext
14011 CFLAGS=$ac_wine_try_cflags_saved
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14014 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14015 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14016 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14019 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14020 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14021 $as_echo_n "(cached) " >&6
14022 else
14023 ac_wine_try_cflags_saved=$CFLAGS
14024 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14026 /* end confdefs.h. */
14027 int main(int argc, char **argv) { return 0; }
14028 _ACEOF
14029 if ac_fn_c_try_link "$LINENO"; then :
14030 ac_cv_cflags__Wdeclaration_after_statement=yes
14031 else
14032 ac_cv_cflags__Wdeclaration_after_statement=no
14034 rm -f core conftest.err conftest.$ac_objext \
14035 conftest$ac_exeext conftest.$ac_ext
14036 CFLAGS=$ac_wine_try_cflags_saved
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14039 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14040 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14041 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14044 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14045 if ${ac_cv_cflags__Wempty_body+:} false; then :
14046 $as_echo_n "(cached) " >&6
14047 else
14048 ac_wine_try_cflags_saved=$CFLAGS
14049 CFLAGS="$CFLAGS -Wempty-body"
14050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14051 /* end confdefs.h. */
14052 int main(int argc, char **argv) { return 0; }
14053 _ACEOF
14054 if ac_fn_c_try_link "$LINENO"; then :
14055 ac_cv_cflags__Wempty_body=yes
14056 else
14057 ac_cv_cflags__Wempty_body=no
14059 rm -f core conftest.err conftest.$ac_objext \
14060 conftest$ac_exeext conftest.$ac_ext
14061 CFLAGS=$ac_wine_try_cflags_saved
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14064 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14065 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14066 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14069 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14070 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14071 $as_echo_n "(cached) " >&6
14072 else
14073 ac_wine_try_cflags_saved=$CFLAGS
14074 CFLAGS="$CFLAGS -Wignored-qualifiers"
14075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14077 int main(int argc, char **argv) { return 0; }
14078 _ACEOF
14079 if ac_fn_c_try_link "$LINENO"; then :
14080 ac_cv_cflags__Wignored_qualifiers=yes
14081 else
14082 ac_cv_cflags__Wignored_qualifiers=no
14084 rm -f core conftest.err conftest.$ac_objext \
14085 conftest$ac_exeext conftest.$ac_ext
14086 CFLAGS=$ac_wine_try_cflags_saved
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14089 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14090 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14091 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14094 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14095 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14096 $as_echo_n "(cached) " >&6
14097 else
14098 ac_wine_try_cflags_saved=$CFLAGS
14099 CFLAGS="$CFLAGS -Wstrict-prototypes"
14100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14102 int main(int argc, char **argv) { return 0; }
14103 _ACEOF
14104 if ac_fn_c_try_link "$LINENO"; then :
14105 ac_cv_cflags__Wstrict_prototypes=yes
14106 else
14107 ac_cv_cflags__Wstrict_prototypes=no
14109 rm -f core conftest.err conftest.$ac_objext \
14110 conftest$ac_exeext conftest.$ac_ext
14111 CFLAGS=$ac_wine_try_cflags_saved
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14114 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14115 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14116 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14119 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14120 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14121 $as_echo_n "(cached) " >&6
14122 else
14123 ac_wine_try_cflags_saved=$CFLAGS
14124 CFLAGS="$CFLAGS -Wtype-limits"
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14127 int main(int argc, char **argv) { return 0; }
14128 _ACEOF
14129 if ac_fn_c_try_link "$LINENO"; then :
14130 ac_cv_cflags__Wtype_limits=yes
14131 else
14132 ac_cv_cflags__Wtype_limits=no
14134 rm -f core conftest.err conftest.$ac_objext \
14135 conftest$ac_exeext conftest.$ac_ext
14136 CFLAGS=$ac_wine_try_cflags_saved
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14139 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14140 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14141 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14144 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14145 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14146 $as_echo_n "(cached) " >&6
14147 else
14148 ac_wine_try_cflags_saved=$CFLAGS
14149 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14152 int main(int argc, char **argv) { return 0; }
14153 _ACEOF
14154 if ac_fn_c_try_link "$LINENO"; then :
14155 ac_cv_cflags__Wunused_but_set_parameter=yes
14156 else
14157 ac_cv_cflags__Wunused_but_set_parameter=no
14159 rm -f core conftest.err conftest.$ac_objext \
14160 conftest$ac_exeext conftest.$ac_ext
14161 CFLAGS=$ac_wine_try_cflags_saved
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14164 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14165 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14166 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14169 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14170 if ${ac_cv_cflags__Wvla+:} false; then :
14171 $as_echo_n "(cached) " >&6
14172 else
14173 ac_wine_try_cflags_saved=$CFLAGS
14174 CFLAGS="$CFLAGS -Wvla"
14175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14176 /* end confdefs.h. */
14177 int main(int argc, char **argv) { return 0; }
14178 _ACEOF
14179 if ac_fn_c_try_link "$LINENO"; then :
14180 ac_cv_cflags__Wvla=yes
14181 else
14182 ac_cv_cflags__Wvla=no
14184 rm -f core conftest.err conftest.$ac_objext \
14185 conftest$ac_exeext conftest.$ac_ext
14186 CFLAGS=$ac_wine_try_cflags_saved
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14189 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14190 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14191 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14194 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14195 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14196 $as_echo_n "(cached) " >&6
14197 else
14198 ac_wine_try_cflags_saved=$CFLAGS
14199 CFLAGS="$CFLAGS -Wwrite-strings"
14200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h. */
14202 int main(int argc, char **argv) { return 0; }
14203 _ACEOF
14204 if ac_fn_c_try_link "$LINENO"; then :
14205 ac_cv_cflags__Wwrite_strings=yes
14206 else
14207 ac_cv_cflags__Wwrite_strings=no
14209 rm -f core conftest.err conftest.$ac_objext \
14210 conftest$ac_exeext conftest.$ac_ext
14211 CFLAGS=$ac_wine_try_cflags_saved
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14214 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14215 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14216 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14220 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14221 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14222 $as_echo_n "(cached) " >&6
14223 else
14224 ac_wine_try_cflags_saved=$CFLAGS
14225 CFLAGS="$CFLAGS -Wpointer-arith"
14226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14228 int main(int argc, char **argv) { return 0; }
14229 _ACEOF
14230 if ac_fn_c_try_link "$LINENO"; then :
14231 ac_cv_cflags__Wpointer_arith=yes
14232 else
14233 ac_cv_cflags__Wpointer_arith=no
14235 rm -f core conftest.err conftest.$ac_objext \
14236 conftest$ac_exeext conftest.$ac_ext
14237 CFLAGS=$ac_wine_try_cflags_saved
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14240 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14241 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14242 saved_string_h_CFLAGS=$CFLAGS
14243 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14245 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14246 if ${ac_cv_c_string_h_warnings+:} false; then :
14247 $as_echo_n "(cached) " >&6
14248 else
14249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14250 /* end confdefs.h. */
14251 #include <string.h>
14253 main ()
14257 return 0;
14259 _ACEOF
14260 if ac_fn_c_try_compile "$LINENO"; then :
14261 ac_cv_c_string_h_warnings=no
14262 else
14263 ac_cv_c_string_h_warnings=yes
14265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14268 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14269 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14270 CFLAGS=$saved_string_h_CFLAGS
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14274 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14275 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14276 $as_echo_n "(cached) " >&6
14277 else
14278 ac_wine_try_cflags_saved=$CFLAGS
14279 CFLAGS="$CFLAGS -Wlogical-op"
14280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14282 int main(int argc, char **argv) { return 0; }
14283 _ACEOF
14284 if ac_fn_c_try_link "$LINENO"; then :
14285 ac_cv_cflags__Wlogical_op=yes
14286 else
14287 ac_cv_cflags__Wlogical_op=no
14289 rm -f core conftest.err conftest.$ac_objext \
14290 conftest$ac_exeext conftest.$ac_ext
14291 CFLAGS=$ac_wine_try_cflags_saved
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14294 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14295 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14296 saved_string_h_CFLAGS=$CFLAGS
14297 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14299 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14300 if ${ac_cv_c_logicalop_noisy+:} false; then :
14301 $as_echo_n "(cached) " >&6
14302 else
14303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14305 #include <string.h>
14306 char*f(const char *h,char n) {return strchr(h,n);}
14308 main ()
14312 return 0;
14314 _ACEOF
14315 if ac_fn_c_try_compile "$LINENO"; then :
14316 ac_cv_c_logicalop_noisy=no
14317 else
14318 ac_cv_c_logicalop_noisy=yes
14320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14323 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14324 CFLAGS=$saved_string_h_CFLAGS
14325 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14328 CFLAGS=$saved_CFLAGS
14330 for ac_flag in $CFLAGS; do
14331 case $ac_flag in
14332 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14333 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14334 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14335 $as_echo_n "(cached) " >&6
14336 else
14337 ac_wine_try_cflags_saved=$CFLAGS
14338 CFLAGS="$CFLAGS -gdwarf-2"
14339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14340 /* end confdefs.h. */
14341 int main(int argc, char **argv) { return 0; }
14342 _ACEOF
14343 if ac_fn_c_try_link "$LINENO"; then :
14344 ac_cv_cflags__gdwarf_2=yes
14345 else
14346 ac_cv_cflags__gdwarf_2=no
14348 rm -f core conftest.err conftest.$ac_objext \
14349 conftest$ac_exeext conftest.$ac_ext
14350 CFLAGS=$ac_wine_try_cflags_saved
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14353 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14354 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14355 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14358 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14359 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14360 $as_echo_n "(cached) " >&6
14361 else
14362 ac_wine_try_cflags_saved=$CFLAGS
14363 CFLAGS="$CFLAGS -gstrict-dwarf"
14364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */
14366 int main(int argc, char **argv) { return 0; }
14367 _ACEOF
14368 if ac_fn_c_try_link "$LINENO"; then :
14369 ac_cv_cflags__gstrict_dwarf=yes
14370 else
14371 ac_cv_cflags__gstrict_dwarf=no
14373 rm -f core conftest.err conftest.$ac_objext \
14374 conftest$ac_exeext conftest.$ac_ext
14375 CFLAGS=$ac_wine_try_cflags_saved
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14378 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14379 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14380 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14381 fi ;;
14382 esac
14383 done
14385 case $host_cpu in
14386 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14387 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14388 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14389 $as_echo_n "(cached) " >&6
14390 else
14391 ac_wine_try_cflags_saved=$CFLAGS
14392 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h. */
14395 int main(int argc, char **argv) { return 0; }
14396 _ACEOF
14397 if ac_fn_c_try_link "$LINENO"; then :
14398 ac_cv_cflags__fno_omit_frame_pointer=yes
14399 else
14400 ac_cv_cflags__fno_omit_frame_pointer=no
14402 rm -f core conftest.err conftest.$ac_objext \
14403 conftest$ac_exeext conftest.$ac_ext
14404 CFLAGS=$ac_wine_try_cflags_saved
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14407 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14408 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14409 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14410 fi ;;
14411 esac
14413 case $host in
14414 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14415 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14416 if ${ac_cv_cflags__Wno_format+:} false; then :
14417 $as_echo_n "(cached) " >&6
14418 else
14419 ac_wine_try_cflags_saved=$CFLAGS
14420 CFLAGS="$CFLAGS -Wno-format"
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14423 int main(int argc, char **argv) { return 0; }
14424 _ACEOF
14425 if ac_fn_c_try_link "$LINENO"; then :
14426 ac_cv_cflags__Wno_format=yes
14427 else
14428 ac_cv_cflags__Wno_format=no
14430 rm -f core conftest.err conftest.$ac_objext \
14431 conftest$ac_exeext conftest.$ac_ext
14432 CFLAGS=$ac_wine_try_cflags_saved
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14435 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14436 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14437 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14438 fi ;;
14439 esac
14441 if test "x$enable_maintainer_mode" = "xyes"
14442 then
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14444 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14445 if ${ac_cv_cflags__Werror+:} false; then :
14446 $as_echo_n "(cached) " >&6
14447 else
14448 ac_wine_try_cflags_saved=$CFLAGS
14449 CFLAGS="$CFLAGS -Werror"
14450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14451 /* end confdefs.h. */
14452 int main(int argc, char **argv) { return 0; }
14453 _ACEOF
14454 if ac_fn_c_try_link "$LINENO"; then :
14455 ac_cv_cflags__Werror=yes
14456 else
14457 ac_cv_cflags__Werror=no
14459 rm -f core conftest.err conftest.$ac_objext \
14460 conftest$ac_exeext conftest.$ac_ext
14461 CFLAGS=$ac_wine_try_cflags_saved
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14464 $as_echo "$ac_cv_cflags__Werror" >&6; }
14465 if test "x$ac_cv_cflags__Werror" = xyes; then :
14466 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14470 saved_CFLAGS="$CFLAGS"
14471 CFLAGS="$CFLAGS -Werror"
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14473 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14474 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14475 $as_echo_n "(cached) " >&6
14476 else
14477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14479 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14481 main ()
14485 return 0;
14487 _ACEOF
14488 if ac_fn_c_try_compile "$LINENO"; then :
14489 ac_cv_have_ms_hook_prologue="yes"
14490 else
14491 ac_cv_have_ms_hook_prologue="no"
14493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14496 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14497 CFLAGS="$saved_CFLAGS"
14498 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14499 then
14501 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14503 else
14504 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14511 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14512 if ${ac_cv_c_fortify_enabled+:} false; then :
14513 $as_echo_n "(cached) " >&6
14514 else
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14517 #include <string.h>
14519 main ()
14521 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14522 #error Fortify enabled
14523 #endif
14525 return 0;
14527 _ACEOF
14528 if ac_fn_c_try_compile "$LINENO"; then :
14529 ac_cv_c_fortify_enabled=no
14530 else
14531 ac_cv_c_fortify_enabled=yes
14533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14536 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14537 if test "$ac_cv_c_fortify_enabled" = yes
14538 then
14539 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14544 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14545 if ${ac_cv_c_extern_prefix+:} false; then :
14546 $as_echo_n "(cached) " >&6
14547 else
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 extern int ac_test;
14552 main ()
14554 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14556 return 0;
14558 _ACEOF
14559 if ac_fn_c_try_link "$LINENO"; then :
14560 ac_cv_c_extern_prefix="yes"
14561 else
14562 ac_cv_c_extern_prefix="no"
14564 rm -f core conftest.err conftest.$ac_objext \
14565 conftest$ac_exeext conftest.$ac_ext
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14568 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14570 case $host_cpu in
14571 *i[3456789]86*)
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14573 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14574 if ${ac_cv_c_stdcall_suffix+:} false; then :
14575 $as_echo_n "(cached) " >&6
14576 else
14577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14578 /* end confdefs.h. */
14579 #ifndef _MSC_VER
14580 #define __stdcall __attribute__((__stdcall__))
14581 #endif
14582 int __stdcall ac_test(int i) { return i; }
14584 main ()
14586 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14588 return 0;
14590 _ACEOF
14591 if ac_fn_c_try_link "$LINENO"; then :
14592 ac_cv_c_stdcall_suffix="yes"
14593 else
14594 ac_cv_c_stdcall_suffix="no"
14596 rm -f core conftest.err conftest.$ac_objext \
14597 conftest$ac_exeext conftest.$ac_ext
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14600 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14601 *) ac_cv_c_stdcall_suffix="no" ;;
14602 esac
14605 if test "$ac_cv_c_extern_prefix" = "yes"
14606 then
14607 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14609 asm_name_prefix="_"
14610 else
14611 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14613 asm_name_prefix=""
14617 if test "$ac_cv_c_stdcall_suffix" = "yes"
14618 then
14619 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14621 else
14622 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14628 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14629 if ${ac_cv_asm_func_def+:} false; then :
14630 $as_echo_n "(cached) " >&6
14631 else
14632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14636 main ()
14638 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14640 return 0;
14642 _ACEOF
14643 if ac_fn_c_try_link "$LINENO"; then :
14644 ac_cv_asm_func_def=".def"
14645 else
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14650 main ()
14652 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14654 return 0;
14656 _ACEOF
14657 if ac_fn_c_try_link "$LINENO"; then :
14658 ac_cv_asm_func_def=".type @function"
14659 else
14660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14661 /* end confdefs.h. */
14664 main ()
14666 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14668 return 0;
14670 _ACEOF
14671 if ac_fn_c_try_link "$LINENO"; then :
14672 ac_cv_asm_func_def=".type 2"
14673 else
14674 ac_cv_asm_func_def="unknown"
14676 rm -f core conftest.err conftest.$ac_objext \
14677 conftest$ac_exeext conftest.$ac_ext
14679 rm -f core conftest.err conftest.$ac_objext \
14680 conftest$ac_exeext conftest.$ac_ext
14682 rm -f core conftest.err conftest.$ac_objext \
14683 conftest$ac_exeext conftest.$ac_ext
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14686 $as_echo "$ac_cv_asm_func_def" >&6; }
14689 case "$ac_cv_asm_func_def" in
14690 ".def")
14691 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14693 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14694 ".type @function")
14695 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14697 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14698 ".type 2")
14699 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14701 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14703 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14705 asm_func_header="" ;;
14706 esac
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14709 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14710 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14711 $as_echo_n "(cached) " >&6
14712 else
14713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14714 /* end confdefs.h. */
14715 asm(".text\n\t.long 0");
14717 main ()
14721 return 0;
14723 _ACEOF
14724 if ac_fn_c_try_compile "$LINENO"; then :
14725 ac_cv_c_asm_outside_funcs="yes"
14726 else
14727 ac_cv_c_asm_outside_funcs="no"
14729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14732 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14735 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14736 if ${ac_cv_c_dot_previous+:} false; then :
14737 $as_echo_n "(cached) " >&6
14738 else
14739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14740 /* end confdefs.h. */
14743 main ()
14745 asm(".text\nac_test:\t.long 0\n\t.previous");
14747 return 0;
14749 _ACEOF
14750 if ac_fn_c_try_link "$LINENO"; then :
14751 ac_cv_c_dot_previous="yes"
14752 else
14753 ac_cv_c_dot_previous="no"
14755 rm -f core conftest.err conftest.$ac_objext \
14756 conftest$ac_exeext conftest.$ac_ext
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14759 $as_echo "$ac_cv_c_dot_previous" >&6; }
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14762 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14763 if ${ac_cv_c_cfi_support+:} false; then :
14764 $as_echo_n "(cached) " >&6
14765 else
14766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14767 /* end confdefs.h. */
14768 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14770 main ()
14774 return 0;
14776 _ACEOF
14777 if ac_fn_c_try_compile "$LINENO"; then :
14778 ac_cv_c_cfi_support="yes"
14779 else
14780 ac_cv_c_cfi_support="no"
14782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14785 $as_echo "$ac_cv_c_cfi_support" >&6; }
14787 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14788 asm_func_trailer=""
14789 if test "$ac_cv_c_dot_previous" = "yes"
14790 then
14791 asm_func_trailer="\\n\\t.previous"
14793 if test "$ac_cv_c_cfi_support" = "yes"
14794 then
14795 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14796 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14798 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14800 UNWINDFLAGS=-fasynchronous-unwind-tables
14802 else
14803 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14805 if test "x$enable_win64" = "xyes"
14806 then
14807 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14811 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14814 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14815 then
14816 cat >>confdefs.h <<_ACEOF
14817 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14818 _ACEOF
14820 else
14821 cat >>confdefs.h <<_ACEOF
14822 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14823 _ACEOF
14827 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14830 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14834 case $build_os in
14835 cygwin*|mingw32*) TOOLSEXT=".exe"
14837 esac
14839 case $host_os in
14840 linux*)
14841 case $host_cpu in
14842 *i[3456789]86*|x86_64*)
14843 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14844 loader_programs="$loader_programs $wine_binary-preloader"
14845 as_fn_append LOADER_RULES "
14846 $wine_binary-preloader: preloader.o
14847 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14849 install install-lib:: $wine_binary-preloader
14850 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14852 uninstall::
14853 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14855 preloader_EXTRADEFS = $BUILTINFLAG
14856 " ;;
14857 esac
14859 esac
14860 as_fn_append LOADER_RULES "
14861 PROGRAMS = $loader_programs
14865 ac_save_CFLAGS="$CFLAGS"
14866 CFLAGS="$CFLAGS $BUILTINFLAG"
14867 for ac_func in \
14868 __res_get_state \
14869 __res_getservers \
14870 _finite \
14871 _isnan \
14872 _pclose \
14873 _popen \
14874 _snprintf \
14875 _spawnvp \
14876 _strdup \
14877 _stricmp \
14878 _strnicmp \
14879 _strtoi64 \
14880 _strtoui64 \
14881 _vsnprintf \
14882 asctime_r \
14883 chsize \
14884 dlopen \
14885 epoll_create \
14886 ffs \
14887 finitef \
14888 fnmatch \
14889 fork \
14890 fpclass \
14891 fstatfs \
14892 fstatvfs \
14893 ftruncate \
14894 futimens \
14895 futimes \
14896 futimesat \
14897 getattrlist \
14898 getdirentries \
14899 getopt_long_only \
14900 getpwuid \
14901 gettimeofday \
14902 getuid \
14903 if_nameindex \
14904 isnanf \
14905 kqueue \
14906 lstat \
14907 memmove \
14908 mmap \
14909 pclose \
14910 pipe2 \
14911 poll \
14912 popen \
14913 port_create \
14914 prctl \
14915 pread \
14916 proc_pidinfo \
14917 pwrite \
14918 readdir \
14919 readlink \
14920 sched_yield \
14921 select \
14922 setproctitle \
14923 setrlimit \
14924 settimeofday \
14925 sigaltstack \
14926 sigprocmask \
14927 snprintf \
14928 statfs \
14929 statvfs \
14930 strcasecmp \
14931 strdup \
14932 strerror \
14933 strncasecmp \
14934 strtold \
14935 strtoll \
14936 strtoull \
14937 symlink \
14938 tcdrain \
14939 thr_kill2 \
14940 timegm \
14941 usleep \
14942 vsnprintf
14944 do :
14945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14946 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14947 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14948 cat >>confdefs.h <<_ACEOF
14949 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14950 _ACEOF
14953 done
14955 CFLAGS="$ac_save_CFLAGS"
14957 if test "$ac_cv_func_dlopen" = no
14958 then
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14960 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14961 if ${ac_cv_lib_dl_dlopen+:} false; then :
14962 $as_echo_n "(cached) " >&6
14963 else
14964 ac_check_lib_save_LIBS=$LIBS
14965 LIBS="-ldl $LIBS"
14966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14967 /* end confdefs.h. */
14969 /* Override any GCC internal prototype to avoid an error.
14970 Use char because int might match the return type of a GCC
14971 builtin and then its argument prototype would still apply. */
14972 #ifdef __cplusplus
14973 extern "C"
14974 #endif
14975 char dlopen ();
14977 main ()
14979 return dlopen ();
14981 return 0;
14983 _ACEOF
14984 if ac_fn_c_try_link "$LINENO"; then :
14985 ac_cv_lib_dl_dlopen=yes
14986 else
14987 ac_cv_lib_dl_dlopen=no
14989 rm -f core conftest.err conftest.$ac_objext \
14990 conftest$ac_exeext conftest.$ac_ext
14991 LIBS=$ac_check_lib_save_LIBS
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14994 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14995 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14996 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14997 DL_LIBS="-ldl"
15002 ac_wine_check_funcs_save_LIBS="$LIBS"
15003 LIBS="$LIBS $DL_LIBS"
15004 for ac_func in dladdr
15005 do :
15006 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15007 if test "x$ac_cv_func_dladdr" = xyes; then :
15008 cat >>confdefs.h <<_ACEOF
15009 #define HAVE_DLADDR 1
15010 _ACEOF
15013 done
15015 LIBS="$ac_wine_check_funcs_save_LIBS"
15017 if test "$ac_cv_func_poll" = no
15018 then
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15020 $as_echo_n "checking for poll in -lpoll... " >&6; }
15021 if ${ac_cv_lib_poll_poll+:} false; then :
15022 $as_echo_n "(cached) " >&6
15023 else
15024 ac_check_lib_save_LIBS=$LIBS
15025 LIBS="-lpoll $LIBS"
15026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15029 /* Override any GCC internal prototype to avoid an error.
15030 Use char because int might match the return type of a GCC
15031 builtin and then its argument prototype would still apply. */
15032 #ifdef __cplusplus
15033 extern "C"
15034 #endif
15035 char poll ();
15037 main ()
15039 return poll ();
15041 return 0;
15043 _ACEOF
15044 if ac_fn_c_try_link "$LINENO"; then :
15045 ac_cv_lib_poll_poll=yes
15046 else
15047 ac_cv_lib_poll_poll=no
15049 rm -f core conftest.err conftest.$ac_objext \
15050 conftest$ac_exeext conftest.$ac_ext
15051 LIBS=$ac_check_lib_save_LIBS
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15054 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15055 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15056 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15057 POLL_LIBS="-lpoll"
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15064 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15065 if ${ac_cv_search_gethostbyname+:} false; then :
15066 $as_echo_n "(cached) " >&6
15067 else
15068 ac_func_search_save_LIBS=$LIBS
15069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15070 /* end confdefs.h. */
15072 /* Override any GCC internal prototype to avoid an error.
15073 Use char because int might match the return type of a GCC
15074 builtin and then its argument prototype would still apply. */
15075 #ifdef __cplusplus
15076 extern "C"
15077 #endif
15078 char gethostbyname ();
15080 main ()
15082 return gethostbyname ();
15084 return 0;
15086 _ACEOF
15087 for ac_lib in '' nsl; do
15088 if test -z "$ac_lib"; then
15089 ac_res="none required"
15090 else
15091 ac_res=-l$ac_lib
15092 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15094 if ac_fn_c_try_link "$LINENO"; then :
15095 ac_cv_search_gethostbyname=$ac_res
15097 rm -f core conftest.err conftest.$ac_objext \
15098 conftest$ac_exeext
15099 if ${ac_cv_search_gethostbyname+:} false; then :
15100 break
15102 done
15103 if ${ac_cv_search_gethostbyname+:} false; then :
15105 else
15106 ac_cv_search_gethostbyname=no
15108 rm conftest.$ac_ext
15109 LIBS=$ac_func_search_save_LIBS
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15112 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15113 ac_res=$ac_cv_search_gethostbyname
15114 if test "$ac_res" != no; then :
15115 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15121 $as_echo_n "checking for library containing connect... " >&6; }
15122 if ${ac_cv_search_connect+:} false; then :
15123 $as_echo_n "(cached) " >&6
15124 else
15125 ac_func_search_save_LIBS=$LIBS
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15129 /* Override any GCC internal prototype to avoid an error.
15130 Use char because int might match the return type of a GCC
15131 builtin and then its argument prototype would still apply. */
15132 #ifdef __cplusplus
15133 extern "C"
15134 #endif
15135 char connect ();
15137 main ()
15139 return connect ();
15141 return 0;
15143 _ACEOF
15144 for ac_lib in '' socket; do
15145 if test -z "$ac_lib"; then
15146 ac_res="none required"
15147 else
15148 ac_res=-l$ac_lib
15149 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15151 if ac_fn_c_try_link "$LINENO"; then :
15152 ac_cv_search_connect=$ac_res
15154 rm -f core conftest.err conftest.$ac_objext \
15155 conftest$ac_exeext
15156 if ${ac_cv_search_connect+:} false; then :
15157 break
15159 done
15160 if ${ac_cv_search_connect+:} false; then :
15162 else
15163 ac_cv_search_connect=no
15165 rm conftest.$ac_ext
15166 LIBS=$ac_func_search_save_LIBS
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15169 $as_echo "$ac_cv_search_connect" >&6; }
15170 ac_res=$ac_cv_search_connect
15171 if test "$ac_res" != no; then :
15172 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15178 $as_echo_n "checking for library containing inet_aton... " >&6; }
15179 if ${ac_cv_search_inet_aton+:} false; then :
15180 $as_echo_n "(cached) " >&6
15181 else
15182 ac_func_search_save_LIBS=$LIBS
15183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15184 /* end confdefs.h. */
15186 /* Override any GCC internal prototype to avoid an error.
15187 Use char because int might match the return type of a GCC
15188 builtin and then its argument prototype would still apply. */
15189 #ifdef __cplusplus
15190 extern "C"
15191 #endif
15192 char inet_aton ();
15194 main ()
15196 return inet_aton ();
15198 return 0;
15200 _ACEOF
15201 for ac_lib in '' resolv; do
15202 if test -z "$ac_lib"; then
15203 ac_res="none required"
15204 else
15205 ac_res=-l$ac_lib
15206 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15208 if ac_fn_c_try_link "$LINENO"; then :
15209 ac_cv_search_inet_aton=$ac_res
15211 rm -f core conftest.err conftest.$ac_objext \
15212 conftest$ac_exeext
15213 if ${ac_cv_search_inet_aton+:} false; then :
15214 break
15216 done
15217 if ${ac_cv_search_inet_aton+:} false; then :
15219 else
15220 ac_cv_search_inet_aton=no
15222 rm conftest.$ac_ext
15223 LIBS=$ac_func_search_save_LIBS
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15226 $as_echo "$ac_cv_search_inet_aton" >&6; }
15227 ac_res=$ac_cv_search_inet_aton
15228 if test "$ac_res" != no; then :
15229 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15234 for ac_func in \
15235 getaddrinfo \
15236 getnameinfo \
15237 getnetbyname \
15238 getprotobyname \
15239 getprotobynumber \
15240 getservbyport \
15241 inet_addr \
15242 inet_network \
15243 inet_ntop \
15244 inet_pton \
15245 sendmsg \
15246 socketpair \
15248 do :
15249 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15250 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15251 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15252 cat >>confdefs.h <<_ACEOF
15253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15254 _ACEOF
15257 done
15260 ac_save_LIBS=$LIBS
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15262 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15263 if ${ac_cv_search_clock_gettime+:} false; then :
15264 $as_echo_n "(cached) " >&6
15265 else
15266 ac_func_search_save_LIBS=$LIBS
15267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15268 /* end confdefs.h. */
15270 /* Override any GCC internal prototype to avoid an error.
15271 Use char because int might match the return type of a GCC
15272 builtin and then its argument prototype would still apply. */
15273 #ifdef __cplusplus
15274 extern "C"
15275 #endif
15276 char clock_gettime ();
15278 main ()
15280 return clock_gettime ();
15282 return 0;
15284 _ACEOF
15285 for ac_lib in '' rt; do
15286 if test -z "$ac_lib"; then
15287 ac_res="none required"
15288 else
15289 ac_res=-l$ac_lib
15290 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15292 if ac_fn_c_try_link "$LINENO"; then :
15293 ac_cv_search_clock_gettime=$ac_res
15295 rm -f core conftest.err conftest.$ac_objext \
15296 conftest$ac_exeext
15297 if ${ac_cv_search_clock_gettime+:} false; then :
15298 break
15300 done
15301 if ${ac_cv_search_clock_gettime+:} false; then :
15303 else
15304 ac_cv_search_clock_gettime=no
15306 rm conftest.$ac_ext
15307 LIBS=$ac_func_search_save_LIBS
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15310 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15311 ac_res=$ac_cv_search_clock_gettime
15312 if test "$ac_res" != no; then :
15313 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15315 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15317 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15321 LIBS=$ac_save_LIBS
15323 LDAP_LIBS=""
15325 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15326 then
15327 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15329 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15331 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15332 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15333 $as_echo_n "(cached) " >&6
15334 else
15335 ac_check_lib_save_LIBS=$LIBS
15336 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15338 /* end confdefs.h. */
15340 /* Override any GCC internal prototype to avoid an error.
15341 Use char because int might match the return type of a GCC
15342 builtin and then its argument prototype would still apply. */
15343 #ifdef __cplusplus
15344 extern "C"
15345 #endif
15346 char ldap_initialize ();
15348 main ()
15350 return ldap_initialize ();
15352 return 0;
15354 _ACEOF
15355 if ac_fn_c_try_link "$LINENO"; then :
15356 ac_cv_lib_ldap_r_ldap_initialize=yes
15357 else
15358 ac_cv_lib_ldap_r_ldap_initialize=no
15360 rm -f core conftest.err conftest.$ac_objext \
15361 conftest$ac_exeext conftest.$ac_ext
15362 LIBS=$ac_check_lib_save_LIBS
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15365 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15366 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15368 $as_echo_n "checking for ber_init in -llber... " >&6; }
15369 if ${ac_cv_lib_lber_ber_init+:} false; then :
15370 $as_echo_n "(cached) " >&6
15371 else
15372 ac_check_lib_save_LIBS=$LIBS
15373 LIBS="-llber $PTHREAD_LIBS $LIBS"
15374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15375 /* end confdefs.h. */
15377 /* Override any GCC internal prototype to avoid an error.
15378 Use char because int might match the return type of a GCC
15379 builtin and then its argument prototype would still apply. */
15380 #ifdef __cplusplus
15381 extern "C"
15382 #endif
15383 char ber_init ();
15385 main ()
15387 return ber_init ();
15389 return 0;
15391 _ACEOF
15392 if ac_fn_c_try_link "$LINENO"; then :
15393 ac_cv_lib_lber_ber_init=yes
15394 else
15395 ac_cv_lib_lber_ber_init=no
15397 rm -f core conftest.err conftest.$ac_objext \
15398 conftest$ac_exeext conftest.$ac_ext
15399 LIBS=$ac_check_lib_save_LIBS
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15402 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15403 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15405 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15407 LDAP_LIBS="-lldap_r -llber"
15414 ac_wine_check_funcs_save_LIBS="$LIBS"
15415 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15416 for ac_func in \
15417 ldap_count_references \
15418 ldap_first_reference \
15419 ldap_next_reference \
15420 ldap_parse_reference \
15421 ldap_parse_sort_control \
15422 ldap_parse_sortresponse_control \
15423 ldap_parse_vlv_control \
15424 ldap_parse_vlvresponse_control
15425 do :
15426 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15428 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15429 cat >>confdefs.h <<_ACEOF
15430 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15431 _ACEOF
15434 done
15436 LIBS="$ac_wine_check_funcs_save_LIBS"
15438 if test "x$LDAP_LIBS" = "x"; then :
15439 case "x$with_ldap" in
15440 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15441 xno) ;;
15442 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15443 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15444 esac
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15448 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15449 if ${wine_cv_one_arg_mkdir+:} false; then :
15450 $as_echo_n "(cached) " >&6
15451 else
15452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15453 /* end confdefs.h. */
15454 #include <sys/stat.h>
15456 main ()
15458 mkdir("foo");
15460 return 0;
15462 _ACEOF
15463 if ac_fn_c_try_compile "$LINENO"; then :
15464 wine_cv_one_arg_mkdir=yes
15465 else
15466 wine_cv_one_arg_mkdir=no
15468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15471 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15472 if test "$wine_cv_one_arg_mkdir" = "yes"
15473 then
15475 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15480 $as_echo_n "checking for sched_setaffinity... " >&6; }
15481 if ${wine_cv_have_sched_setaffinity+:} false; then :
15482 $as_echo_n "(cached) " >&6
15483 else
15484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15485 /* end confdefs.h. */
15486 #define _GNU_SOURCE
15487 #include <sched.h>
15489 main ()
15491 sched_setaffinity(0, 0, 0);
15493 return 0;
15495 _ACEOF
15496 if ac_fn_c_try_link "$LINENO"; then :
15497 wine_cv_have_sched_setaffinity=yes
15498 else
15499 wine_cv_have_sched_setaffinity=no
15501 rm -f core conftest.err conftest.$ac_objext \
15502 conftest$ac_exeext conftest.$ac_ext
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15505 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15506 if test "$wine_cv_have_sched_setaffinity" = "yes"
15507 then
15509 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15514 $as_echo_n "checking for fallocate... " >&6; }
15515 if ${wine_cv_have_fallocate+:} false; then :
15516 $as_echo_n "(cached) " >&6
15517 else
15518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15520 #define _GNU_SOURCE
15521 #include <fcntl.h>
15523 main ()
15525 fallocate(-1, 0, 0, 0);
15527 return 0;
15529 _ACEOF
15530 if ac_fn_c_try_link "$LINENO"; then :
15531 wine_cv_have_fallocate=yes
15532 else
15533 wine_cv_have_fallocate=no
15535 rm -f core conftest.err conftest.$ac_objext \
15536 conftest$ac_exeext conftest.$ac_ext
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15539 $as_echo "$wine_cv_have_fallocate" >&6; }
15540 if test "$wine_cv_have_fallocate" = "yes"
15541 then
15543 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15549 $as_echo_n "checking for inline... " >&6; }
15550 if ${ac_cv_c_inline+:} false; then :
15551 $as_echo_n "(cached) " >&6
15552 else
15553 ac_cv_c_inline=no
15554 for ac_kw in inline __inline__ __inline; do
15555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15556 /* end confdefs.h. */
15557 #ifndef __cplusplus
15558 typedef int foo_t;
15559 static $ac_kw foo_t static_foo () {return 0; }
15560 $ac_kw foo_t foo () {return 0; }
15561 #endif
15563 _ACEOF
15564 if ac_fn_c_try_compile "$LINENO"; then :
15565 ac_cv_c_inline=$ac_kw
15567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15568 test "$ac_cv_c_inline" != no && break
15569 done
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15573 $as_echo "$ac_cv_c_inline" >&6; }
15575 case $ac_cv_c_inline in
15576 inline | yes) ;;
15578 case $ac_cv_c_inline in
15579 no) ac_val=;;
15580 *) ac_val=$ac_cv_c_inline;;
15581 esac
15582 cat >>confdefs.h <<_ACEOF
15583 #ifndef __cplusplus
15584 #define inline $ac_val
15585 #endif
15586 _ACEOF
15588 esac
15590 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15591 if test "x$ac_cv_type_mode_t" = xyes; then :
15593 cat >>confdefs.h <<_ACEOF
15594 #define HAVE_MODE_T 1
15595 _ACEOF
15599 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15600 if test "x$ac_cv_type_off_t" = xyes; then :
15602 cat >>confdefs.h <<_ACEOF
15603 #define HAVE_OFF_T 1
15604 _ACEOF
15608 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15609 if test "x$ac_cv_type_pid_t" = xyes; then :
15611 cat >>confdefs.h <<_ACEOF
15612 #define HAVE_PID_T 1
15613 _ACEOF
15617 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15618 if test "x$ac_cv_type_size_t" = xyes; then :
15620 cat >>confdefs.h <<_ACEOF
15621 #define HAVE_SIZE_T 1
15622 _ACEOF
15626 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15627 if test "x$ac_cv_type_ssize_t" = xyes; then :
15629 cat >>confdefs.h <<_ACEOF
15630 #define HAVE_SSIZE_T 1
15631 _ACEOF
15635 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15636 if test "x$ac_cv_type_long_long" = xyes; then :
15638 cat >>confdefs.h <<_ACEOF
15639 #define HAVE_LONG_LONG 1
15640 _ACEOF
15644 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15645 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15647 cat >>confdefs.h <<_ACEOF
15648 #define HAVE_FSBLKCNT_T 1
15649 _ACEOF
15653 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15654 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15656 cat >>confdefs.h <<_ACEOF
15657 #define HAVE_FSFILCNT_T 1
15658 _ACEOF
15663 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15664 #include <signal.h>
15666 if test "x$ac_cv_type_sigset_t" = xyes; then :
15668 cat >>confdefs.h <<_ACEOF
15669 #define HAVE_SIGSET_T 1
15670 _ACEOF
15675 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15677 if test "x$ac_cv_type_request_sense" = xyes; then :
15679 cat >>confdefs.h <<_ACEOF
15680 #define HAVE_REQUEST_SENSE 1
15681 _ACEOF
15687 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15688 #ifdef HAVE_SYS_SOCKET_H
15689 #include <sys/socket.h>
15690 #endif
15691 #ifdef HAVE_SYS_SOCKETVAR_H
15692 #include <sys/socketvar.h>
15693 #endif
15694 #ifdef HAVE_NET_ROUTE_H
15695 #include <net/route.h>
15696 #endif
15697 #ifdef HAVE_NETINET_IN_H
15698 #include <netinet/in.h>
15699 #endif
15700 #ifdef HAVE_NETINET_IN_SYSTM_H
15701 #include <netinet/in_systm.h>
15702 #endif
15703 #ifdef HAVE_NETINET_IP_H
15704 #include <netinet/ip.h>
15705 #endif
15706 #ifdef HAVE_NETINET_IN_PCB_H
15707 #include <netinet/in_pcb.h>
15708 #endif
15710 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15712 cat >>confdefs.h <<_ACEOF
15713 #define HAVE_STRUCT_XINPGEN 1
15714 _ACEOF
15720 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15721 #include <link.h>
15722 #endif
15723 #ifdef HAVE_SYS_LINK_H
15724 #include <sys/link.h>
15725 #endif
15727 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15729 cat >>confdefs.h <<_ACEOF
15730 #define HAVE_STRUCT_R_DEBUG 1
15731 _ACEOF
15735 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15736 #include <link.h>
15737 #endif
15738 #ifdef HAVE_SYS_LINK_H
15739 #include <sys/link.h>
15740 #endif
15742 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15744 cat >>confdefs.h <<_ACEOF
15745 #define HAVE_STRUCT_LINK_MAP 1
15746 _ACEOF
15752 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15753 #include <linux/input.h>
15754 #endif
15756 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15758 cat >>confdefs.h <<_ACEOF
15759 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15760 _ACEOF
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15767 $as_echo_n "checking for sigaddset... " >&6; }
15768 if ${wine_cv_have_sigaddset+:} false; then :
15769 $as_echo_n "(cached) " >&6
15770 else
15771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15772 /* end confdefs.h. */
15773 #include <signal.h>
15775 main ()
15777 sigset_t set; sigaddset(&set,SIGTERM);
15779 return 0;
15781 _ACEOF
15782 if ac_fn_c_try_link "$LINENO"; then :
15783 wine_cv_have_sigaddset=yes
15784 else
15785 wine_cv_have_sigaddset=no
15787 rm -f core conftest.err conftest.$ac_objext \
15788 conftest$ac_exeext conftest.$ac_ext
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15791 $as_echo "$wine_cv_have_sigaddset" >&6; }
15792 if test "$wine_cv_have_sigaddset" = "yes"
15793 then
15795 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15801 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15802 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15803 $as_echo_n "(cached) " >&6
15804 else
15805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15807 #include <netdb.h>
15809 main ()
15812 char *name=0;
15813 struct hostent he;
15814 struct hostent *result;
15815 char *buf=0;
15816 int bufsize=0;
15817 int errnr;
15818 char *addr=0;
15819 int addrlen=0;
15820 int addrtype=0;
15821 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15822 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15825 return 0;
15827 _ACEOF
15828 if ac_fn_c_try_link "$LINENO"; then :
15829 wine_cv_linux_gethostbyname_r_6=yes
15830 else
15831 wine_cv_linux_gethostbyname_r_6=no
15834 rm -f core conftest.err conftest.$ac_objext \
15835 conftest$ac_exeext conftest.$ac_ext
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15839 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15840 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15841 then
15843 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15847 if test "$ac_cv_header_linux_joystick_h" = "yes"
15848 then
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15850 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15851 if ${wine_cv_linux_joystick_22_api+:} false; then :
15852 $as_echo_n "(cached) " >&6
15853 else
15854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15855 /* end confdefs.h. */
15857 #include <sys/ioctl.h>
15858 #include <sys/types.h>
15859 #include <linux/joystick.h>
15861 struct js_event blub;
15862 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15863 #error "no 2.2 header"
15864 #endif
15867 main ()
15869 /*empty*/
15871 return 0;
15873 _ACEOF
15874 if ac_fn_c_try_compile "$LINENO"; then :
15875 wine_cv_linux_joystick_22_api=yes
15876 else
15877 wine_cv_linux_joystick_22_api=no
15879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15883 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15884 if test "$wine_cv_linux_joystick_22_api" = "yes"
15885 then
15887 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15893 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15894 #ifdef HAVE_SYS_PARAM_H
15895 # include <sys/param.h>
15896 #endif
15897 #ifdef HAVE_SYS_MOUNT_H
15898 # include <sys/mount.h>
15899 #endif
15900 #ifdef HAVE_SYS_VFS_H
15901 # include <sys/vfs.h>
15902 #endif
15903 #ifdef HAVE_SYS_STATFS_H
15904 # include <sys/statfs.h>
15905 #endif
15907 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15909 cat >>confdefs.h <<_ACEOF
15910 #define HAVE_STRUCT_STATFS_F_BFREE 1
15911 _ACEOF
15915 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15916 #ifdef HAVE_SYS_PARAM_H
15917 # include <sys/param.h>
15918 #endif
15919 #ifdef HAVE_SYS_MOUNT_H
15920 # include <sys/mount.h>
15921 #endif
15922 #ifdef HAVE_SYS_VFS_H
15923 # include <sys/vfs.h>
15924 #endif
15925 #ifdef HAVE_SYS_STATFS_H
15926 # include <sys/statfs.h>
15927 #endif
15929 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15931 cat >>confdefs.h <<_ACEOF
15932 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15933 _ACEOF
15937 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15938 #ifdef HAVE_SYS_PARAM_H
15939 # include <sys/param.h>
15940 #endif
15941 #ifdef HAVE_SYS_MOUNT_H
15942 # include <sys/mount.h>
15943 #endif
15944 #ifdef HAVE_SYS_VFS_H
15945 # include <sys/vfs.h>
15946 #endif
15947 #ifdef HAVE_SYS_STATFS_H
15948 # include <sys/statfs.h>
15949 #endif
15951 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15953 cat >>confdefs.h <<_ACEOF
15954 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15955 _ACEOF
15959 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15960 #ifdef HAVE_SYS_PARAM_H
15961 # include <sys/param.h>
15962 #endif
15963 #ifdef HAVE_SYS_MOUNT_H
15964 # include <sys/mount.h>
15965 #endif
15966 #ifdef HAVE_SYS_VFS_H
15967 # include <sys/vfs.h>
15968 #endif
15969 #ifdef HAVE_SYS_STATFS_H
15970 # include <sys/statfs.h>
15971 #endif
15973 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15975 cat >>confdefs.h <<_ACEOF
15976 #define HAVE_STRUCT_STATFS_F_FFREE 1
15977 _ACEOF
15981 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15982 #ifdef HAVE_SYS_PARAM_H
15983 # include <sys/param.h>
15984 #endif
15985 #ifdef HAVE_SYS_MOUNT_H
15986 # include <sys/mount.h>
15987 #endif
15988 #ifdef HAVE_SYS_VFS_H
15989 # include <sys/vfs.h>
15990 #endif
15991 #ifdef HAVE_SYS_STATFS_H
15992 # include <sys/statfs.h>
15993 #endif
15995 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15997 cat >>confdefs.h <<_ACEOF
15998 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15999 _ACEOF
16003 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16004 #ifdef HAVE_SYS_PARAM_H
16005 # include <sys/param.h>
16006 #endif
16007 #ifdef HAVE_SYS_MOUNT_H
16008 # include <sys/mount.h>
16009 #endif
16010 #ifdef HAVE_SYS_VFS_H
16011 # include <sys/vfs.h>
16012 #endif
16013 #ifdef HAVE_SYS_STATFS_H
16014 # include <sys/statfs.h>
16015 #endif
16017 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16019 cat >>confdefs.h <<_ACEOF
16020 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16021 _ACEOF
16027 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16028 #include <sys/statvfs.h>
16029 #endif
16031 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16033 cat >>confdefs.h <<_ACEOF
16034 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16035 _ACEOF
16041 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16042 #include <dirent.h>
16043 #endif
16045 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16047 cat >>confdefs.h <<_ACEOF
16048 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16049 _ACEOF
16055 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16056 #ifdef HAVE_SYS_SOCKET_H
16057 # include <sys/socket.h>
16058 #endif
16059 #ifdef HAVE_SYS_UN_H
16060 # include <sys/un.h>
16061 #endif
16063 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16065 cat >>confdefs.h <<_ACEOF
16066 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16067 _ACEOF
16071 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16072 #ifdef HAVE_SYS_SOCKET_H
16073 # include <sys/socket.h>
16074 #endif
16075 #ifdef HAVE_SYS_UN_H
16076 # include <sys/un.h>
16077 #endif
16079 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16081 cat >>confdefs.h <<_ACEOF
16082 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16083 _ACEOF
16087 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16088 #ifdef HAVE_SYS_SOCKET_H
16089 # include <sys/socket.h>
16090 #endif
16091 #ifdef HAVE_SYS_UN_H
16092 # include <sys/un.h>
16093 #endif
16095 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16097 cat >>confdefs.h <<_ACEOF
16098 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16099 _ACEOF
16105 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16106 #ifdef HAVE_SCSI_SG_H
16107 #include <scsi/sg.h>
16108 #endif
16110 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16112 cat >>confdefs.h <<_ACEOF
16113 #define HAVE_SCSIREQ_T_CMD 1
16114 _ACEOF
16118 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>
16119 #ifdef HAVE_SCSI_SG_H
16120 #include <scsi/sg.h>
16121 #endif
16123 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16125 cat >>confdefs.h <<_ACEOF
16126 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16127 _ACEOF
16133 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16135 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_SIGINFO_T_SI_FD 1
16139 _ACEOF
16145 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16146 #ifdef HAVE_SYS_MTIO_H
16147 #include <sys/mtio.h>
16148 #endif
16150 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16152 cat >>confdefs.h <<_ACEOF
16153 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16154 _ACEOF
16158 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16159 #ifdef HAVE_SYS_MTIO_H
16160 #include <sys/mtio.h>
16161 #endif
16163 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16165 cat >>confdefs.h <<_ACEOF
16166 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16167 _ACEOF
16171 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16172 #ifdef HAVE_SYS_MTIO_H
16173 #include <sys/mtio.h>
16174 #endif
16176 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16178 cat >>confdefs.h <<_ACEOF
16179 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16180 _ACEOF
16186 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16187 #include <getopt.h>
16188 #endif
16190 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16192 cat >>confdefs.h <<_ACEOF
16193 #define HAVE_STRUCT_OPTION_NAME 1
16194 _ACEOF
16200 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16201 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16203 cat >>confdefs.h <<_ACEOF
16204 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16205 _ACEOF
16209 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16210 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16212 cat >>confdefs.h <<_ACEOF
16213 #define HAVE_STRUCT_STAT_ST_MTIM 1
16214 _ACEOF
16218 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16219 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16221 cat >>confdefs.h <<_ACEOF
16222 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16223 _ACEOF
16227 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16228 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16230 cat >>confdefs.h <<_ACEOF
16231 #define HAVE_STRUCT_STAT_ST_CTIM 1
16232 _ACEOF
16236 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16237 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16239 cat >>confdefs.h <<_ACEOF
16240 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16241 _ACEOF
16245 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16246 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16248 cat >>confdefs.h <<_ACEOF
16249 #define HAVE_STRUCT_STAT_ST_ATIM 1
16250 _ACEOF
16254 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16255 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16257 cat >>confdefs.h <<_ACEOF
16258 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16259 _ACEOF
16263 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16264 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16266 cat >>confdefs.h <<_ACEOF
16267 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16268 _ACEOF
16272 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16273 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16275 cat >>confdefs.h <<_ACEOF
16276 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16277 _ACEOF
16281 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16282 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16284 cat >>confdefs.h <<_ACEOF
16285 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16286 _ACEOF
16290 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16291 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16293 cat >>confdefs.h <<_ACEOF
16294 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16295 _ACEOF
16299 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16300 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16302 cat >>confdefs.h <<_ACEOF
16303 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16304 _ACEOF
16310 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
16311 #include <sys/types.h>
16312 #endif
16313 #ifdef HAVE_NETINET_IN_H
16314 #include <netinet/in.h>
16315 #endif
16317 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16321 _ACEOF
16327 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16328 #include <resolv.h>
16329 #endif
16331 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_STRUCT___RES_STATE 1
16335 _ACEOF
16341 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
16342 #include <resolv.h>
16343 #endif
16345 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16347 cat >>confdefs.h <<_ACEOF
16348 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16349 _ACEOF
16355 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16356 #include <sys/types.h>
16357 #endif
16358 #ifdef HAVE_NETINET_IN_H
16359 # include <netinet/in.h>
16360 #endif
16361 #ifdef HAVE_ARPA_NAMESER_H
16362 # include <arpa/nameser.h>
16363 #endif
16365 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16367 cat >>confdefs.h <<_ACEOF
16368 #define HAVE_NS_MSG__MSG_PTR 1
16369 _ACEOF
16375 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16376 #include <sys/types.h>
16377 #endif
16378 #ifdef HAVE_NETINET_IP_H
16379 #include <netinet/ip.h>
16380 #endif
16381 #ifdef HAVE_NETINET_IP_ICMP_H
16382 #include <netinet/ip_icmp.h>
16383 #endif
16384 #ifdef HAVE_NETINET_ICMP_VAR_H
16385 #include <netinet/icmp_var.h>
16386 #endif
16388 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16390 cat >>confdefs.h <<_ACEOF
16391 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16392 _ACEOF
16398 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16399 #include <sys/types.h>
16400 #endif
16401 #ifdef HAVE_ALIAS_H
16402 #include <alias.h>
16403 #endif
16404 #ifdef HAVE_SYS_SOCKET_H
16405 #include <sys/socket.h>
16406 #endif
16407 #ifdef HAVE_SYS_SOCKETVAR_H
16408 #include <sys/socketvar.h>
16409 #endif
16410 #ifdef HAVE_SYS_TIMEOUT_H
16411 #include <sys/timeout.h>
16412 #endif
16413 #ifdef HAVE_NETINET_IN_H
16414 #include <netinet/in.h>
16415 #endif
16416 #ifdef HAVE_NETINET_IN_SYSTM_H
16417 #include <netinet/in_systm.h>
16418 #endif
16419 #ifdef HAVE_NETINET_IP_H
16420 #include <netinet/ip.h>
16421 #endif
16422 #ifdef HAVE_NETINET_IP_VAR_H
16423 #include <netinet/ip_var.h>
16424 #endif
16425 #ifdef HAVE_NETINET_IP_ICMP_H
16426 #include <netinet/ip_icmp.h>
16427 #endif
16428 #ifdef HAVE_NETINET_ICMP_VAR_H
16429 #include <netinet/icmp_var.h>
16430 #endif
16432 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16434 cat >>confdefs.h <<_ACEOF
16435 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16436 _ACEOF
16442 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16443 #include <sys/types.h>
16444 #endif
16445 #ifdef HAVE_SYS_SOCKETVAR_H
16446 #include <sys/socketvar.h>
16447 #endif
16448 #ifdef HAVE_NETINET_IN_H
16449 #include <netinet/in.h>
16450 #endif
16451 #ifdef HAVE_NETINET_IP_VAR_H
16452 #include <netinet/ip_var.h>
16453 #endif
16455 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16457 cat >>confdefs.h <<_ACEOF
16458 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16459 _ACEOF
16465 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
16466 #include <netinet/ip_var.h>
16467 #endif
16469 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16471 cat >>confdefs.h <<_ACEOF
16472 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16473 _ACEOF
16479 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16480 #include <sys/types.h>
16481 #endif
16482 #ifdef HAVE_SYS_SOCKETVAR_H
16483 #include <sys/socketvar.h>
16484 #endif
16485 #ifdef HAVE_NETINET_IN_H
16486 #include <netinet/in.h>
16487 #endif
16488 #ifdef HAVE_NETINET_TCP_H
16489 #include <netinet/tcp.h>
16490 #endif
16491 #ifdef HAVE_NETINET_TCP_VAR_H
16492 #include <netinet/tcp_var.h>
16493 #endif
16495 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16497 cat >>confdefs.h <<_ACEOF
16498 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16499 _ACEOF
16505 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
16506 #include <netinet/tcp_var.h>
16507 #endif
16509 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16511 cat >>confdefs.h <<_ACEOF
16512 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16513 _ACEOF
16519 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16520 #include <sys/types.h>
16521 #endif
16522 #ifdef HAVE_NETINET_IN_H
16523 #include <netinet/in.h>
16524 #endif
16525 #ifdef HAVE_NETINET_IP_VAR_H
16526 #include <netinet/ip_var.h>
16527 #endif
16528 #ifdef HAVE_NETINET_UDP_H
16529 #include <netinet/udp.h>
16530 #endif
16531 #ifdef HAVE_NETINET_UDP_VAR_H
16532 #include <netinet/udp_var.h>
16533 #endif
16535 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16537 cat >>confdefs.h <<_ACEOF
16538 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16539 _ACEOF
16545 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16546 #include <sys/types.h>
16547 #endif
16548 #ifdef HAVE_NET_IF_H
16549 # include <net/if.h>
16550 #endif
16552 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16554 cat >>confdefs.h <<_ACEOF
16555 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16556 _ACEOF
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16563 $as_echo_n "checking for timezone variable... " >&6; }
16564 if ${ac_cv_have_timezone+:} false; then :
16565 $as_echo_n "(cached) " >&6
16566 else
16567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16568 /* end confdefs.h. */
16569 #include <time.h>
16571 main ()
16573 timezone = 1
16575 return 0;
16577 _ACEOF
16578 if ac_fn_c_try_link "$LINENO"; then :
16579 ac_cv_have_timezone="yes"
16580 else
16581 ac_cv_have_timezone="no"
16583 rm -f core conftest.err conftest.$ac_objext \
16584 conftest$ac_exeext conftest.$ac_ext
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16587 $as_echo "$ac_cv_have_timezone" >&6; }
16588 if test "$ac_cv_have_timezone" = "yes"
16589 then
16591 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16595 $as_echo_n "checking for daylight variable... " >&6; }
16596 if ${ac_cv_have_daylight+:} false; then :
16597 $as_echo_n "(cached) " >&6
16598 else
16599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h. */
16601 #include <time.h>
16603 main ()
16605 daylight = 1
16607 return 0;
16609 _ACEOF
16610 if ac_fn_c_try_link "$LINENO"; then :
16611 ac_cv_have_daylight="yes"
16612 else
16613 ac_cv_have_daylight="no"
16615 rm -f core conftest.err conftest.$ac_objext \
16616 conftest$ac_exeext conftest.$ac_ext
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16619 $as_echo "$ac_cv_have_daylight" >&6; }
16620 if test "$ac_cv_have_daylight" = "yes"
16621 then
16623 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16627 ac_save_LIBS="$LIBS"
16628 LIBS="$LIBS -lm"
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16630 $as_echo_n "checking for isfinite... " >&6; }
16631 if ${ac_cv_have_isfinite+:} false; then :
16632 $as_echo_n "(cached) " >&6
16633 else
16634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16635 /* end confdefs.h. */
16636 #define _GNU_SOURCE
16637 #include <math.h>
16639 main ()
16641 float f = 0.0; return isfinite(f)
16643 return 0;
16645 _ACEOF
16646 if ac_fn_c_try_link "$LINENO"; then :
16647 ac_cv_have_isfinite="yes"
16648 else
16649 ac_cv_have_isfinite="no"
16651 rm -f core conftest.err conftest.$ac_objext \
16652 conftest$ac_exeext conftest.$ac_ext
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16655 $as_echo "$ac_cv_have_isfinite" >&6; }
16656 if test "$ac_cv_have_isfinite" = "yes"
16657 then
16659 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16664 $as_echo_n "checking for isinf... " >&6; }
16665 if ${ac_cv_have_isinf+:} false; then :
16666 $as_echo_n "(cached) " >&6
16667 else
16668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16670 #include <math.h>
16672 main ()
16674 float f = 0.0; return isinf(f)
16676 return 0;
16678 _ACEOF
16679 if ac_fn_c_try_link "$LINENO"; then :
16680 ac_cv_have_isinf="yes"
16681 else
16682 ac_cv_have_isinf="no"
16684 rm -f core conftest.err conftest.$ac_objext \
16685 conftest$ac_exeext conftest.$ac_ext
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16688 $as_echo "$ac_cv_have_isinf" >&6; }
16689 if test "$ac_cv_have_isinf" = "yes"
16690 then
16692 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16697 $as_echo_n "checking for isnan... " >&6; }
16698 if ${ac_cv_have_isnan+:} false; then :
16699 $as_echo_n "(cached) " >&6
16700 else
16701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16702 /* end confdefs.h. */
16703 #include <math.h>
16705 main ()
16707 float f = 0.0; return isnan(f)
16709 return 0;
16711 _ACEOF
16712 if ac_fn_c_try_link "$LINENO"; then :
16713 ac_cv_have_isnan="yes"
16714 else
16715 ac_cv_have_isnan="no"
16717 rm -f core conftest.err conftest.$ac_objext \
16718 conftest$ac_exeext conftest.$ac_ext
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16721 $as_echo "$ac_cv_have_isnan" >&6; }
16722 if test "$ac_cv_have_isnan" = "yes"
16723 then
16725 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16729 for ac_func in \
16730 cbrt \
16731 cbrtf \
16732 erf \
16733 erff \
16734 exp2 \
16735 exp2f \
16736 llrint \
16737 llrintf \
16738 llround \
16739 llroundf \
16740 log2 \
16741 log2f \
16742 lrint \
16743 lrintf \
16744 lround \
16745 lroundf \
16746 rint \
16747 rintf \
16748 round \
16749 roundf \
16750 trunc \
16751 truncf
16753 do :
16754 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16755 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16756 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16757 cat >>confdefs.h <<_ACEOF
16758 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16759 _ACEOF
16762 done
16764 LIBS="$ac_save_LIBS"
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16767 $as_echo_n "checking for __builtin_clz... " >&6; }
16768 if ${ac_cv_have___builtin_clz+:} false; then :
16769 $as_echo_n "(cached) " >&6
16770 else
16771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16775 main ()
16777 return __builtin_clz(1)
16779 return 0;
16781 _ACEOF
16782 if ac_fn_c_try_link "$LINENO"; then :
16783 ac_cv_have___builtin_clz="yes"
16784 else
16785 ac_cv_have___builtin_clz="no"
16787 rm -f core conftest.err conftest.$ac_objext \
16788 conftest$ac_exeext conftest.$ac_ext
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16791 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16792 if test "$ac_cv_have___builtin_clz" = "yes"
16793 then
16795 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16800 case $host_cpu in
16801 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16802 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16803 if ${ac_cv_cpp_def___i386__+:} false; then :
16804 $as_echo_n "(cached) " >&6
16805 else
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16808 #ifndef __i386__
16810 #endif
16811 _ACEOF
16812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16813 $EGREP "yes" >/dev/null 2>&1; then :
16814 ac_cv_cpp_def___i386__=yes
16815 else
16816 ac_cv_cpp_def___i386__=no
16818 rm -f conftest*
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16822 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16823 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16824 CFLAGS="$CFLAGS -D__i386__"
16825 LINTFLAGS="$LINTFLAGS -D__i386__"
16826 fi ;;
16827 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16828 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16829 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16830 $as_echo_n "(cached) " >&6
16831 else
16832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16834 #ifndef __x86_64__
16836 #endif
16837 _ACEOF
16838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16839 $EGREP "yes" >/dev/null 2>&1; then :
16840 ac_cv_cpp_def___x86_64__=yes
16841 else
16842 ac_cv_cpp_def___x86_64__=no
16844 rm -f conftest*
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16848 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16849 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16850 CFLAGS="$CFLAGS -D__x86_64__"
16851 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16852 fi ;;
16853 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16854 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16855 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16856 $as_echo_n "(cached) " >&6
16857 else
16858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16859 /* end confdefs.h. */
16860 #ifndef __sparc64__
16862 #endif
16863 _ACEOF
16864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16865 $EGREP "yes" >/dev/null 2>&1; then :
16866 ac_cv_cpp_def___sparc64__=yes
16867 else
16868 ac_cv_cpp_def___sparc64__=no
16870 rm -f conftest*
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16874 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16875 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16876 CFLAGS="$CFLAGS -D__sparc64__"
16877 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16878 fi ;;
16879 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16880 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16881 if ${ac_cv_cpp_def___sparc__+:} false; then :
16882 $as_echo_n "(cached) " >&6
16883 else
16884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h. */
16886 #ifndef __sparc__
16888 #endif
16889 _ACEOF
16890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16891 $EGREP "yes" >/dev/null 2>&1; then :
16892 ac_cv_cpp_def___sparc__=yes
16893 else
16894 ac_cv_cpp_def___sparc__=no
16896 rm -f conftest*
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16900 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16901 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16902 CFLAGS="$CFLAGS -D__sparc__"
16903 LINTFLAGS="$LINTFLAGS -D__sparc__"
16904 fi ;;
16905 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16906 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16907 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16908 $as_echo_n "(cached) " >&6
16909 else
16910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16911 /* end confdefs.h. */
16912 #ifndef __powerpc64__
16914 #endif
16915 _ACEOF
16916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16917 $EGREP "yes" >/dev/null 2>&1; then :
16918 ac_cv_cpp_def___powerpc64__=yes
16919 else
16920 ac_cv_cpp_def___powerpc64__=no
16922 rm -f conftest*
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16926 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16927 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16928 CFLAGS="$CFLAGS -D__powerpc64__"
16929 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16930 fi ;;
16931 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16932 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16933 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16934 $as_echo_n "(cached) " >&6
16935 else
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16938 #ifndef __powerpc__
16940 #endif
16941 _ACEOF
16942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16943 $EGREP "yes" >/dev/null 2>&1; then :
16944 ac_cv_cpp_def___powerpc__=yes
16945 else
16946 ac_cv_cpp_def___powerpc__=no
16948 rm -f conftest*
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16952 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16953 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16954 CFLAGS="$CFLAGS -D__powerpc__"
16955 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16956 fi ;;
16957 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16958 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16959 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16960 $as_echo_n "(cached) " >&6
16961 else
16962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16963 /* end confdefs.h. */
16964 #ifndef __aarch64__
16966 #endif
16967 _ACEOF
16968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16969 $EGREP "yes" >/dev/null 2>&1; then :
16970 ac_cv_cpp_def___aarch64__=yes
16971 else
16972 ac_cv_cpp_def___aarch64__=no
16974 rm -f conftest*
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16978 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16979 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16980 CFLAGS="$CFLAGS -D__aarch64__"
16981 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16982 fi ;;
16983 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16984 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16985 if ${ac_cv_cpp_def___arm__+:} false; then :
16986 $as_echo_n "(cached) " >&6
16987 else
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16990 #ifndef __arm__
16992 #endif
16993 _ACEOF
16994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16995 $EGREP "yes" >/dev/null 2>&1; then :
16996 ac_cv_cpp_def___arm__=yes
16997 else
16998 ac_cv_cpp_def___arm__=no
17000 rm -f conftest*
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17004 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17005 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17006 CFLAGS="$CFLAGS -D__arm__"
17007 LINTFLAGS="$LINTFLAGS -D__arm__"
17008 fi ;;
17009 esac
17011 case $host_vendor in
17012 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17013 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17014 if ${ac_cv_cpp_def___sun__+:} false; then :
17015 $as_echo_n "(cached) " >&6
17016 else
17017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17018 /* end confdefs.h. */
17019 #ifndef __sun__
17021 #endif
17022 _ACEOF
17023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17024 $EGREP "yes" >/dev/null 2>&1; then :
17025 ac_cv_cpp_def___sun__=yes
17026 else
17027 ac_cv_cpp_def___sun__=no
17029 rm -f conftest*
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17033 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17034 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17035 CFLAGS="$CFLAGS -D__sun__"
17036 LINTFLAGS="$LINTFLAGS -D__sun__"
17037 fi ;;
17038 esac
17044 ac_config_commands="$ac_config_commands include/stamp-h"
17046 $as_echo_n "creating Makefile rules..." >&6
17048 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17049 SOCKET_LIBS = $SOCKET_LIBS
17050 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17051 IOKIT_LIBS = $IOKIT_LIBS
17052 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17053 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17054 CORESERVICES_LIBS = $CORESERVICES_LIBS
17055 APPKIT_LIBS = $APPKIT_LIBS
17056 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17057 SECURITY_LIBS = $SECURITY_LIBS
17058 COREAUDIO_LIBS = $COREAUDIO_LIBS
17059 OPENAL_LIBS = $OPENAL_LIBS
17060 OPENCL_LIBS = $OPENCL_LIBS
17061 QUICKTIME_LIBS = $QUICKTIME_LIBS
17062 CARBON_LIBS = $CARBON_LIBS
17063 PTHREAD_LIBS = $PTHREAD_LIBS
17064 X_CFLAGS = $X_CFLAGS
17065 X_PRE_LIBS = $X_PRE_LIBS
17066 X_LIBS = $X_LIBS
17067 X_EXTRA_LIBS = $X_EXTRA_LIBS
17068 XML2_CFLAGS = $XML2_CFLAGS
17069 XML2_LIBS = $XML2_LIBS
17070 XSLT_CFLAGS = $XSLT_CFLAGS
17071 XSLT_LIBS = $XSLT_LIBS
17072 DBUS_CFLAGS = $DBUS_CFLAGS
17073 DBUS_LIBS = $DBUS_LIBS
17074 HAL_CFLAGS = $HAL_CFLAGS
17075 HAL_LIBS = $HAL_LIBS
17076 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17077 GNUTLS_LIBS = $GNUTLS_LIBS
17078 SANE_CFLAGS = $SANE_CFLAGS
17079 SANE_LIBS = $SANE_LIBS
17080 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17081 GPHOTO2_LIBS = $GPHOTO2_LIBS
17082 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17083 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17084 RESOLV_LIBS = $RESOLV_LIBS
17085 LCMS2_CFLAGS = $LCMS2_CFLAGS
17086 LCMS2_LIBS = $LCMS2_LIBS
17087 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17088 FREETYPE_LIBS = $FREETYPE_LIBS
17089 Z_LIBS = $Z_LIBS
17090 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17091 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17092 GSTREAMER_LIBS = $GSTREAMER_LIBS
17093 ALSA_LIBS = $ALSA_LIBS
17094 OSS4_CFLAGS = $OSS4_CFLAGS
17095 CAPI20_CFLAGS = $CAPI20_CFLAGS
17096 CAPI20_LIBS = $CAPI20_LIBS
17097 CUPS_CFLAGS = $CUPS_CFLAGS
17098 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17099 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17100 JPEG_CFLAGS = $JPEG_CFLAGS
17101 JPEG_LIBS = $JPEG_LIBS
17102 PNG_CFLAGS = $PNG_CFLAGS
17103 PNG_LIBS = $PNG_LIBS
17104 TIFF_CFLAGS = $TIFF_CFLAGS
17105 TIFF_LIBS = $TIFF_LIBS
17106 MPG123_CFLAGS = $MPG123_CFLAGS
17107 MPG123_LIBS = $MPG123_LIBS
17108 KSTAT_LIBS = $KSTAT_LIBS
17109 PROCSTAT_LIBS = $PROCSTAT_LIBS
17110 DL_LIBS = $DL_LIBS
17111 POLL_LIBS = $POLL_LIBS
17112 RT_LIBS = $RT_LIBS
17113 LDAP_LIBS = $LDAP_LIBS
17118 wine_fn_append_rule "
17119 # Rules automatically generated by configure
17121 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17123 .INIT: Makefile
17124 .MAKEFILEDEPS:
17125 all: Makefile
17126 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17127 @./config.status Make.tmp Makefile"
17129 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17130 .gitignore: config.status
17131 @./config.status .gitignore"
17133 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17134 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17136 if test "x$enable_fonts" != xno; then
17137 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17138 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17139 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17140 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17141 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17142 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17144 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17145 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17146 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17147 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17148 ac_config_links="$ac_config_links wine:tools/winewrapper"
17149 wine_fn_config_symlink wine
17150 if test "x$enable_win64" != xno; then
17151 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17152 wine_fn_config_symlink wine64
17155 wine_fn_config_dll acledit enable_acledit
17156 wine_fn_config_dll aclui enable_aclui implib
17157 wine_fn_config_dll activeds enable_activeds implib
17158 wine_fn_config_dll actxprxy enable_actxprxy clean
17159 wine_fn_config_lib adsiid
17160 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17161 wine_fn_config_test dlls/advapi32/tests advapi32_test
17162 wine_fn_config_dll advpack enable_advpack implib
17163 wine_fn_config_test dlls/advpack/tests advpack_test
17164 wine_fn_config_dll amstream enable_amstream clean
17165 wine_fn_config_test dlls/amstream/tests amstream_test
17166 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17167 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17168 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17169 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17170 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17171 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17172 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17173 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17174 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17175 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17176 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17177 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17178 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17179 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17180 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17181 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17182 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17183 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17184 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17185 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17186 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17187 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17188 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17189 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17190 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17191 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17192 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17193 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17194 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17195 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17196 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17197 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17198 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17199 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17200 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17201 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17202 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17203 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17204 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17205 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17206 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17207 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17208 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17209 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17210 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17211 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17212 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17213 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17214 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17215 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17216 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17217 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17218 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17219 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17220 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17221 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17222 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17223 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17224 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17225 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17226 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17227 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17228 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17229 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17230 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17231 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17232 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17233 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17234 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17235 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17236 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17237 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17238 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17239 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17240 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17241 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17242 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17243 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17244 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17245 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17246 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17247 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17248 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17249 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17250 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17251 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17252 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17253 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17254 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17255 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17256 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17257 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17258 wine_fn_config_dll apphelp enable_apphelp
17259 wine_fn_config_test dlls/apphelp/tests apphelp_test
17260 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17261 wine_fn_config_dll atl enable_atl clean,implib
17262 wine_fn_config_test dlls/atl/tests atl_test
17263 wine_fn_config_dll atl100 enable_atl100 clean,implib
17264 wine_fn_config_test dlls/atl100/tests atl100_test
17265 wine_fn_config_dll atl110 enable_atl110 clean
17266 wine_fn_config_dll atl80 enable_atl80 clean,implib
17267 wine_fn_config_test dlls/atl80/tests atl80_test
17268 wine_fn_config_dll atl90 enable_atl90 clean
17269 wine_fn_config_dll authz enable_authz
17270 wine_fn_config_dll avicap32 enable_avicap32 implib
17271 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17272 wine_fn_config_test dlls/avifil32/tests avifil32_test
17273 wine_fn_config_dll avifile.dll16 enable_win16
17274 wine_fn_config_dll avrt enable_avrt implib
17275 wine_fn_config_dll bcrypt enable_bcrypt
17276 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17277 wine_fn_config_dll browseui enable_browseui clean,po
17278 wine_fn_config_test dlls/browseui/tests browseui_test
17279 wine_fn_config_dll cabinet enable_cabinet implib
17280 wine_fn_config_test dlls/cabinet/tests cabinet_test
17281 wine_fn_config_dll capi2032 enable_capi2032 implib
17282 wine_fn_config_dll cards enable_cards implib
17283 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17284 wine_fn_config_dll clusapi enable_clusapi implib
17285 wine_fn_config_dll combase enable_combase
17286 wine_fn_config_test dlls/combase/tests combase_test
17287 wine_fn_config_dll comcat enable_comcat
17288 wine_fn_config_test dlls/comcat/tests comcat_test
17289 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17290 wine_fn_config_test dlls/comctl32/tests comctl32_test
17291 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17292 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17293 wine_fn_config_dll comm.drv16 enable_win16
17294 wine_fn_config_dll commdlg.dll16 enable_win16
17295 wine_fn_config_dll compobj.dll16 enable_win16
17296 wine_fn_config_dll compstui enable_compstui implib
17297 wine_fn_config_dll comsvcs enable_comsvcs implib
17298 wine_fn_config_dll connect enable_connect
17299 wine_fn_config_dll credui enable_credui implib,po
17300 wine_fn_config_test dlls/credui/tests credui_test
17301 wine_fn_config_dll crtdll enable_crtdll implib
17302 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17303 wine_fn_config_test dlls/crypt32/tests crypt32_test
17304 wine_fn_config_dll cryptdlg enable_cryptdlg po
17305 wine_fn_config_dll cryptdll enable_cryptdll implib
17306 wine_fn_config_dll cryptext enable_cryptext
17307 wine_fn_config_dll cryptnet enable_cryptnet implib
17308 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17309 wine_fn_config_dll cryptui enable_cryptui implib,po
17310 wine_fn_config_test dlls/cryptui/tests cryptui_test
17311 wine_fn_config_dll ctapi32 enable_ctapi32
17312 wine_fn_config_dll ctl3d.dll16 enable_win16
17313 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17314 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17315 wine_fn_config_dll d2d1 enable_d2d1 implib
17316 wine_fn_config_test dlls/d2d1/tests d2d1_test
17317 wine_fn_config_dll d3d10 enable_d3d10 implib
17318 wine_fn_config_test dlls/d3d10/tests d3d10_test
17319 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17320 wine_fn_config_dll d3d10core enable_d3d10core implib
17321 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17322 wine_fn_config_dll d3d11 enable_d3d11 implib
17323 wine_fn_config_test dlls/d3d11/tests d3d11_test
17324 wine_fn_config_dll d3d8 enable_d3d8 implib
17325 wine_fn_config_test dlls/d3d8/tests d3d8_test
17326 wine_fn_config_dll d3d9 enable_d3d9 implib
17327 wine_fn_config_test dlls/d3d9/tests d3d9_test
17328 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17329 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17330 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17331 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17332 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17333 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17334 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17335 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17336 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17337 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17338 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17339 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17340 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17341 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17342 wine_fn_config_dll d3dim enable_d3dim implib
17343 wine_fn_config_dll d3drm enable_d3drm implib
17344 wine_fn_config_test dlls/d3drm/tests d3drm_test
17345 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17346 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17347 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17348 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17349 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17350 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17351 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17352 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17353 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17354 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17355 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17356 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17357 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17358 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17359 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17360 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17361 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17362 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17363 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17364 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17365 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17366 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17367 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17368 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17369 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17370 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17371 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17372 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17373 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17374 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17375 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17376 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17377 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17378 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17379 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17380 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17381 wine_fn_config_dll davclnt enable_davclnt
17382 wine_fn_config_dll dbgeng enable_dbgeng implib
17383 wine_fn_config_dll dbghelp enable_dbghelp implib
17384 wine_fn_config_dll dciman32 enable_dciman32 implib
17385 wine_fn_config_dll ddeml.dll16 enable_win16
17386 wine_fn_config_dll ddraw enable_ddraw clean,implib
17387 wine_fn_config_test dlls/ddraw/tests ddraw_test
17388 wine_fn_config_dll ddrawex enable_ddrawex clean
17389 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17390 wine_fn_config_dll devenum enable_devenum clean,po
17391 wine_fn_config_test dlls/devenum/tests devenum_test
17392 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17393 wine_fn_config_dll difxapi enable_difxapi
17394 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17395 wine_fn_config_test dlls/dinput/tests dinput_test
17396 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17397 wine_fn_config_test dlls/dinput8/tests dinput8_test
17398 wine_fn_config_dll dispdib.dll16 enable_win16
17399 wine_fn_config_dll dispex enable_dispex clean
17400 wine_fn_config_test dlls/dispex/tests dispex_test
17401 wine_fn_config_dll display.drv16 enable_win16
17402 wine_fn_config_dll dmband enable_dmband clean
17403 wine_fn_config_test dlls/dmband/tests dmband_test
17404 wine_fn_config_dll dmcompos enable_dmcompos clean
17405 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17406 wine_fn_config_dll dmime enable_dmime clean
17407 wine_fn_config_test dlls/dmime/tests dmime_test
17408 wine_fn_config_dll dmloader enable_dmloader clean
17409 wine_fn_config_test dlls/dmloader/tests dmloader_test
17410 wine_fn_config_dll dmscript enable_dmscript clean
17411 wine_fn_config_test dlls/dmscript/tests dmscript_test
17412 wine_fn_config_dll dmstyle enable_dmstyle clean
17413 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17414 wine_fn_config_dll dmsynth enable_dmsynth clean
17415 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17416 wine_fn_config_dll dmusic enable_dmusic clean
17417 wine_fn_config_test dlls/dmusic/tests dmusic_test
17418 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17419 wine_fn_config_dll dnsapi enable_dnsapi implib
17420 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17421 wine_fn_config_dll dplay enable_dplay implib
17422 wine_fn_config_dll dplayx enable_dplayx clean,implib
17423 wine_fn_config_test dlls/dplayx/tests dplayx_test
17424 wine_fn_config_dll dpnaddr enable_dpnaddr
17425 wine_fn_config_dll dpnet enable_dpnet clean,implib
17426 wine_fn_config_test dlls/dpnet/tests dpnet_test
17427 wine_fn_config_dll dpnhpast enable_dpnhpast
17428 wine_fn_config_dll dpnlobby enable_dpnlobby
17429 wine_fn_config_dll dpvoice enable_dpvoice clean
17430 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17431 wine_fn_config_dll dpwsockx enable_dpwsockx
17432 wine_fn_config_dll drmclien enable_drmclien
17433 wine_fn_config_dll dsound enable_dsound clean,implib
17434 wine_fn_config_test dlls/dsound/tests dsound_test
17435 wine_fn_config_dll dssenh enable_dssenh
17436 wine_fn_config_test dlls/dssenh/tests dssenh_test
17437 wine_fn_config_dll dswave enable_dswave clean
17438 wine_fn_config_test dlls/dswave/tests dswave_test
17439 wine_fn_config_dll dwmapi enable_dwmapi implib
17440 wine_fn_config_dll dwrite enable_dwrite implib
17441 wine_fn_config_test dlls/dwrite/tests dwrite_test
17442 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17443 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17444 wine_fn_config_lib dxerr8
17445 wine_fn_config_lib dxerr9
17446 wine_fn_config_dll dxgi enable_dxgi implib
17447 wine_fn_config_test dlls/dxgi/tests dxgi_test
17448 wine_fn_config_lib dxguid
17449 wine_fn_config_dll dxva2 enable_dxva2
17450 wine_fn_config_dll esent enable_esent
17451 wine_fn_config_dll evr enable_evr
17452 wine_fn_config_dll explorerframe enable_explorerframe clean
17453 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17454 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17455 wine_fn_config_dll faultrep enable_faultrep implib
17456 wine_fn_config_test dlls/faultrep/tests faultrep_test
17457 wine_fn_config_dll fltlib enable_fltlib
17458 wine_fn_config_dll fntcache enable_fntcache
17459 wine_fn_config_dll fontsub enable_fontsub
17460 wine_fn_config_dll fusion enable_fusion
17461 wine_fn_config_test dlls/fusion/tests fusion_test
17462 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17463 wine_fn_config_dll gameux enable_gameux clean
17464 wine_fn_config_test dlls/gameux/tests gameux_test
17465 wine_fn_config_dll gdi.exe16 enable_win16
17466 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17467 wine_fn_config_test dlls/gdi32/tests gdi32_test
17468 wine_fn_config_dll gdiplus enable_gdiplus implib
17469 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17470 wine_fn_config_dll glu32 enable_glu32 implib
17471 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17472 wine_fn_config_dll gpkcsp enable_gpkcsp
17473 wine_fn_config_dll hal enable_hal
17474 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17475 wine_fn_config_dll hid enable_hid implib
17476 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17477 wine_fn_config_dll hlink enable_hlink clean,implib
17478 wine_fn_config_test dlls/hlink/tests hlink_test
17479 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17480 wine_fn_config_dll httpapi enable_httpapi
17481 wine_fn_config_dll iccvid enable_iccvid po
17482 wine_fn_config_dll icmp enable_icmp
17483 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17484 wine_fn_config_test dlls/ieframe/tests ieframe_test
17485 wine_fn_config_dll ifsmgr.vxd enable_win16
17486 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17487 wine_fn_config_dll imagehlp enable_imagehlp implib
17488 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17489 wine_fn_config_dll imm.dll16 enable_win16
17490 wine_fn_config_dll imm32 enable_imm32 implib
17491 wine_fn_config_test dlls/imm32/tests imm32_test
17492 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17493 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17494 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17495 wine_fn_config_dll inetmib1 enable_inetmib1
17496 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17497 wine_fn_config_dll infosoft enable_infosoft clean
17498 wine_fn_config_test dlls/infosoft/tests infosoft_test
17499 wine_fn_config_dll initpki enable_initpki
17500 wine_fn_config_dll inkobj enable_inkobj
17501 wine_fn_config_dll inseng enable_inseng clean
17502 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17503 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17504 wine_fn_config_dll itircl enable_itircl
17505 wine_fn_config_dll itss enable_itss clean
17506 wine_fn_config_test dlls/itss/tests itss_test
17507 wine_fn_config_dll joy.cpl enable_joy_cpl po
17508 wine_fn_config_dll jscript enable_jscript clean,po
17509 wine_fn_config_test dlls/jscript/tests jscript_test
17510 wine_fn_config_dll jsproxy enable_jsproxy implib
17511 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17512 wine_fn_config_test dlls/kernel32/tests kernel32_test
17513 wine_fn_config_dll keyboard.drv16 enable_win16
17514 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17515 wine_fn_config_dll ksuser enable_ksuser
17516 wine_fn_config_dll ktmw32 enable_ktmw32
17517 wine_fn_config_dll loadperf enable_loadperf implib
17518 wine_fn_config_dll localspl enable_localspl po
17519 wine_fn_config_test dlls/localspl/tests localspl_test
17520 wine_fn_config_dll localui enable_localui po
17521 wine_fn_config_test dlls/localui/tests localui_test
17522 wine_fn_config_dll lz32 enable_lz32 implib
17523 wine_fn_config_test dlls/lz32/tests lz32_test
17524 wine_fn_config_dll lzexpand.dll16 enable_win16
17525 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17526 wine_fn_config_test dlls/mapi32/tests mapi32_test
17527 wine_fn_config_dll mapistub enable_mapistub
17528 wine_fn_config_dll mciavi32 enable_mciavi32
17529 wine_fn_config_dll mcicda enable_mcicda
17530 wine_fn_config_dll mciqtz32 enable_mciqtz32
17531 wine_fn_config_dll mciseq enable_mciseq
17532 wine_fn_config_dll mciwave enable_mciwave
17533 wine_fn_config_dll mf enable_mf
17534 wine_fn_config_dll mfplat enable_mfplat
17535 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17536 wine_fn_config_dll mgmtapi enable_mgmtapi
17537 wine_fn_config_dll midimap enable_midimap
17538 wine_fn_config_dll mlang enable_mlang clean,implib
17539 wine_fn_config_test dlls/mlang/tests mlang_test
17540 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17541 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17542 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17543 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17544 wine_fn_config_dll mmdevldr.vxd enable_win16
17545 wine_fn_config_dll mmsystem.dll16 enable_win16
17546 wine_fn_config_dll monodebg.vxd enable_win16
17547 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17548 wine_fn_config_dll mouse.drv16 enable_win16
17549 wine_fn_config_dll mpr enable_mpr implib,po
17550 wine_fn_config_test dlls/mpr/tests mpr_test
17551 wine_fn_config_dll mprapi enable_mprapi implib
17552 wine_fn_config_dll msacm.dll16 enable_win16
17553 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17554 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17555 wine_fn_config_test dlls/msacm32/tests msacm32_test
17556 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17557 wine_fn_config_dll msasn1 enable_msasn1 implib
17558 wine_fn_config_dll mscat32 enable_mscat32
17559 wine_fn_config_dll mscms enable_mscms implib
17560 wine_fn_config_test dlls/mscms/tests mscms_test
17561 wine_fn_config_dll mscoree enable_mscoree clean
17562 wine_fn_config_test dlls/mscoree/tests mscoree_test
17563 wine_fn_config_dll msctf enable_msctf clean
17564 wine_fn_config_test dlls/msctf/tests msctf_test
17565 wine_fn_config_dll msctfp enable_msctfp clean
17566 wine_fn_config_dll msdaps enable_msdaps clean
17567 wine_fn_config_dll msdelta enable_msdelta
17568 wine_fn_config_dll msdmo enable_msdmo implib
17569 wine_fn_config_test dlls/msdmo/tests msdmo_test
17570 wine_fn_config_dll msftedit enable_msftedit
17571 wine_fn_config_dll msg711.acm enable_msg711_acm
17572 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17573 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17574 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17575 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17576 wine_fn_config_dll msi enable_msi clean,implib,po
17577 wine_fn_config_test dlls/msi/tests msi_test
17578 wine_fn_config_dll msident enable_msident clean
17579 wine_fn_config_dll msimg32 enable_msimg32 implib
17580 wine_fn_config_dll msimsg enable_msimsg
17581 wine_fn_config_dll msimtf enable_msimtf clean
17582 wine_fn_config_dll msisip enable_msisip
17583 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17584 wine_fn_config_dll msls31 enable_msls31
17585 wine_fn_config_dll msnet32 enable_msnet32
17586 wine_fn_config_dll mspatcha enable_mspatcha implib
17587 wine_fn_config_dll msrle32 enable_msrle32 po
17588 wine_fn_config_test dlls/msrle32/tests msrle32_test
17589 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17590 wine_fn_config_dll mssign32 enable_mssign32
17591 wine_fn_config_dll mssip32 enable_mssip32
17592 wine_fn_config_dll mstask enable_mstask clean
17593 wine_fn_config_test dlls/mstask/tests mstask_test
17594 wine_fn_config_dll msvcirt enable_msvcirt
17595 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17596 wine_fn_config_dll msvcm80 enable_msvcm80
17597 wine_fn_config_dll msvcm90 enable_msvcm90
17598 wine_fn_config_dll msvcp100 enable_msvcp100
17599 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17600 wine_fn_config_dll msvcp110 enable_msvcp110
17601 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17602 wine_fn_config_dll msvcp120 enable_msvcp120
17603 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17604 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17605 wine_fn_config_dll msvcp60 enable_msvcp60
17606 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17607 wine_fn_config_dll msvcp70 enable_msvcp70
17608 wine_fn_config_dll msvcp71 enable_msvcp71
17609 wine_fn_config_dll msvcp80 enable_msvcp80
17610 wine_fn_config_dll msvcp90 enable_msvcp90
17611 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17612 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17613 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17614 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17615 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17616 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17617 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17618 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17619 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17620 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17621 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17622 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17623 wine_fn_config_dll msvcrt enable_msvcrt implib
17624 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17625 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17626 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17627 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17628 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17629 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17630 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17631 wine_fn_config_dll msvidc32 enable_msvidc32 po
17632 wine_fn_config_dll msvideo.dll16 enable_win16
17633 wine_fn_config_dll mswsock enable_mswsock implib
17634 wine_fn_config_dll msxml enable_msxml clean
17635 wine_fn_config_dll msxml2 enable_msxml2 clean
17636 wine_fn_config_dll msxml3 enable_msxml3 clean
17637 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17638 wine_fn_config_dll msxml4 enable_msxml4 clean
17639 wine_fn_config_dll msxml6 enable_msxml6 clean
17640 wine_fn_config_dll nddeapi enable_nddeapi implib
17641 wine_fn_config_dll ndis.sys enable_ndis_sys
17642 wine_fn_config_dll netapi32 enable_netapi32 implib
17643 wine_fn_config_test dlls/netapi32/tests netapi32_test
17644 wine_fn_config_dll netcfgx enable_netcfgx clean
17645 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17646 wine_fn_config_dll netprofm enable_netprofm clean
17647 wine_fn_config_test dlls/netprofm/tests netprofm_test
17648 wine_fn_config_dll newdev enable_newdev implib
17649 wine_fn_config_dll normaliz enable_normaliz implib
17650 wine_fn_config_dll npmshtml enable_npmshtml
17651 wine_fn_config_dll npptools enable_npptools
17652 wine_fn_config_dll ntdll enable_ntdll implib
17653 wine_fn_config_test dlls/ntdll/tests ntdll_test
17654 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17655 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17656 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17657 wine_fn_config_dll ntprint enable_ntprint
17658 wine_fn_config_test dlls/ntprint/tests ntprint_test
17659 wine_fn_config_dll objsel enable_objsel clean
17660 wine_fn_config_dll odbc32 enable_odbc32 implib
17661 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17662 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17663 wine_fn_config_dll odbccu32 enable_odbccu32
17664 wine_fn_config_dll ole2.dll16 enable_win16
17665 wine_fn_config_dll ole2conv.dll16 enable_win16
17666 wine_fn_config_dll ole2disp.dll16 enable_win16
17667 wine_fn_config_dll ole2nls.dll16 enable_win16
17668 wine_fn_config_dll ole2prox.dll16 enable_win16
17669 wine_fn_config_dll ole2thk.dll16 enable_win16
17670 wine_fn_config_dll ole32 enable_ole32 clean,implib
17671 wine_fn_config_test dlls/ole32/tests ole32_test
17672 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17673 wine_fn_config_test dlls/oleacc/tests oleacc_test
17674 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17675 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17676 wine_fn_config_dll olecli.dll16 enable_win16
17677 wine_fn_config_dll olecli32 enable_olecli32 implib
17678 wine_fn_config_dll oledb32 enable_oledb32 clean
17679 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17680 wine_fn_config_dll oledlg enable_oledlg implib,po
17681 wine_fn_config_test dlls/oledlg/tests oledlg_test
17682 wine_fn_config_dll olepro32 enable_olepro32 implib
17683 wine_fn_config_dll olesvr.dll16 enable_win16
17684 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17685 wine_fn_config_dll olethk32 enable_olethk32
17686 wine_fn_config_dll openal32 enable_openal32
17687 wine_fn_config_dll opencl enable_opencl
17688 wine_fn_config_dll opengl32 enable_opengl32 implib
17689 wine_fn_config_test dlls/opengl32/tests opengl32_test
17690 wine_fn_config_dll packager enable_packager clean
17691 wine_fn_config_test dlls/packager/tests packager_test
17692 wine_fn_config_dll pdh enable_pdh implib
17693 wine_fn_config_test dlls/pdh/tests pdh_test
17694 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17695 wine_fn_config_dll pidgen enable_pidgen
17696 wine_fn_config_dll powrprof enable_powrprof implib
17697 wine_fn_config_dll printui enable_printui
17698 wine_fn_config_dll prntvpt enable_prntvpt
17699 wine_fn_config_dll propsys enable_propsys clean,implib
17700 wine_fn_config_test dlls/propsys/tests propsys_test
17701 wine_fn_config_dll psapi enable_psapi implib
17702 wine_fn_config_test dlls/psapi/tests psapi_test
17703 wine_fn_config_dll pstorec enable_pstorec clean
17704 wine_fn_config_dll qcap enable_qcap
17705 wine_fn_config_test dlls/qcap/tests qcap_test
17706 wine_fn_config_dll qedit enable_qedit clean
17707 wine_fn_config_test dlls/qedit/tests qedit_test
17708 wine_fn_config_dll qmgr enable_qmgr clean
17709 wine_fn_config_test dlls/qmgr/tests qmgr_test
17710 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17711 wine_fn_config_dll quartz enable_quartz clean,implib
17712 wine_fn_config_test dlls/quartz/tests quartz_test clean
17713 wine_fn_config_dll query enable_query
17714 wine_fn_config_dll rasapi16.dll16 enable_win16
17715 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17716 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17717 wine_fn_config_dll rasdlg enable_rasdlg implib
17718 wine_fn_config_dll regapi enable_regapi
17719 wine_fn_config_dll resutils enable_resutils implib
17720 wine_fn_config_dll riched20 enable_riched20 clean,implib
17721 wine_fn_config_test dlls/riched20/tests riched20_test
17722 wine_fn_config_dll riched32 enable_riched32
17723 wine_fn_config_test dlls/riched32/tests riched32_test
17724 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17725 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17726 wine_fn_config_dll rsabase enable_rsabase
17727 wine_fn_config_dll rsaenh enable_rsaenh implib
17728 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17729 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17730 wine_fn_config_dll rtutils enable_rtutils implib
17731 wine_fn_config_dll samlib enable_samlib
17732 wine_fn_config_dll sane.ds enable_sane_ds po
17733 wine_fn_config_dll scarddlg enable_scarddlg
17734 wine_fn_config_dll sccbase enable_sccbase
17735 wine_fn_config_dll schannel enable_schannel
17736 wine_fn_config_test dlls/schannel/tests schannel_test
17737 wine_fn_config_dll schedsvc enable_schedsvc clean
17738 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17739 wine_fn_config_dll scrrun enable_scrrun clean
17740 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17741 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17742 wine_fn_config_dll secur32 enable_secur32 implib
17743 wine_fn_config_test dlls/secur32/tests secur32_test
17744 wine_fn_config_dll security enable_security
17745 wine_fn_config_dll sensapi enable_sensapi implib
17746 wine_fn_config_dll serialui enable_serialui implib,po
17747 wine_fn_config_test dlls/serialui/tests serialui_test
17748 wine_fn_config_dll setupapi enable_setupapi implib,po
17749 wine_fn_config_test dlls/setupapi/tests setupapi_test
17750 wine_fn_config_dll setupx.dll16 enable_win16
17751 wine_fn_config_dll sfc enable_sfc implib
17752 wine_fn_config_dll sfc_os enable_sfc_os implib
17753 wine_fn_config_dll shdoclc enable_shdoclc po
17754 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17755 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17756 wine_fn_config_dll shell.dll16 enable_win16
17757 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17758 wine_fn_config_test dlls/shell32/tests shell32_test
17759 wine_fn_config_dll shfolder enable_shfolder implib
17760 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17761 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17762 wine_fn_config_dll slbcsp enable_slbcsp
17763 wine_fn_config_dll slc enable_slc implib
17764 wine_fn_config_test dlls/slc/tests slc_test
17765 wine_fn_config_dll snmpapi enable_snmpapi implib
17766 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17767 wine_fn_config_dll softpub enable_softpub
17768 wine_fn_config_dll sound.drv16 enable_win16
17769 wine_fn_config_dll spoolss enable_spoolss implib
17770 wine_fn_config_test dlls/spoolss/tests spoolss_test
17771 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17772 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17773 wine_fn_config_dll sti enable_sti clean,implib
17774 wine_fn_config_test dlls/sti/tests sti_test
17775 wine_fn_config_dll storage.dll16 enable_win16
17776 wine_fn_config_dll stress.dll16 enable_win16
17777 wine_fn_config_lib strmbase
17778 wine_fn_config_lib strmiids
17779 wine_fn_config_dll svrapi enable_svrapi
17780 wine_fn_config_dll sxs enable_sxs implib
17781 wine_fn_config_test dlls/sxs/tests sxs_test
17782 wine_fn_config_dll system.drv16 enable_win16
17783 wine_fn_config_dll t2embed enable_t2embed
17784 wine_fn_config_dll tapi32 enable_tapi32 implib
17785 wine_fn_config_dll taskschd enable_taskschd clean
17786 wine_fn_config_test dlls/taskschd/tests taskschd_test
17787 wine_fn_config_dll toolhelp.dll16 enable_win16
17788 wine_fn_config_dll traffic enable_traffic
17789 wine_fn_config_dll twain.dll16 enable_win16
17790 wine_fn_config_dll twain_32 enable_twain_32
17791 wine_fn_config_test dlls/twain_32/tests twain_32_test
17792 wine_fn_config_dll typelib.dll16 enable_win16
17793 wine_fn_config_dll ucrtbase enable_ucrtbase
17794 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17795 wine_fn_config_dll unicows enable_unicows implib
17796 wine_fn_config_dll updspapi enable_updspapi
17797 wine_fn_config_dll url enable_url implib
17798 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17799 wine_fn_config_test dlls/urlmon/tests urlmon_test
17800 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17801 wine_fn_config_dll user.exe16 enable_win16
17802 wine_fn_config_dll user32 enable_user32 clean,implib,po
17803 wine_fn_config_test dlls/user32/tests user32_test
17804 wine_fn_config_dll userenv enable_userenv implib
17805 wine_fn_config_test dlls/userenv/tests userenv_test
17806 wine_fn_config_dll usp10 enable_usp10 implib
17807 wine_fn_config_test dlls/usp10/tests usp10_test
17808 wine_fn_config_lib uuid
17809 wine_fn_config_dll uxtheme enable_uxtheme implib
17810 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17811 wine_fn_config_dll vbscript enable_vbscript clean
17812 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17813 wine_fn_config_dll vcomp enable_vcomp
17814 wine_fn_config_test dlls/vcomp/tests vcomp_test
17815 wine_fn_config_dll vcomp100 enable_vcomp100
17816 wine_fn_config_dll vcomp110 enable_vcomp110
17817 wine_fn_config_dll vcomp90 enable_vcomp90
17818 wine_fn_config_dll vdhcp.vxd enable_win16
17819 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17820 wine_fn_config_dll ver.dll16 enable_win16
17821 wine_fn_config_dll version enable_version implib
17822 wine_fn_config_test dlls/version/tests version_test
17823 wine_fn_config_dll vmm.vxd enable_win16
17824 wine_fn_config_dll vnbt.vxd enable_win16
17825 wine_fn_config_dll vnetbios.vxd enable_win16
17826 wine_fn_config_dll vssapi enable_vssapi
17827 wine_fn_config_dll vtdapi.vxd enable_win16
17828 wine_fn_config_dll vwin32.vxd enable_win16
17829 wine_fn_config_dll w32skrnl enable_win16
17830 wine_fn_config_dll w32sys.dll16 enable_win16
17831 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17832 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17833 wine_fn_config_dll wbemprox enable_wbemprox clean
17834 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17835 wine_fn_config_dll webservices enable_webservices implib
17836 wine_fn_config_test dlls/webservices/tests webservices_test
17837 wine_fn_config_dll wer enable_wer implib
17838 wine_fn_config_test dlls/wer/tests wer_test
17839 wine_fn_config_dll wevtapi enable_wevtapi
17840 wine_fn_config_dll wiaservc enable_wiaservc clean
17841 wine_fn_config_dll win32s16.dll16 enable_win16
17842 wine_fn_config_dll win87em.dll16 enable_win16
17843 wine_fn_config_dll winaspi.dll16 enable_win16
17844 wine_fn_config_dll windebug.dll16 enable_win16
17845 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17846 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17847 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17848 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17849 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17850 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17851 wine_fn_config_lib winecrt0
17852 wine_fn_config_dll wined3d enable_wined3d implib
17853 wine_fn_config_dll winegstreamer enable_winegstreamer
17854 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17855 wine_fn_config_dll winemac.drv enable_winemac_drv
17856 wine_fn_config_dll winemapi enable_winemapi
17857 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17858 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17859 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17860 wine_fn_config_dll wineps16.drv16 enable_win16
17861 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17862 wine_fn_config_dll winex11.drv enable_winex11_drv
17863 wine_fn_config_dll wing.dll16 enable_win16
17864 wine_fn_config_dll wing32 enable_wing32
17865 wine_fn_config_dll winhttp enable_winhttp clean,implib
17866 wine_fn_config_test dlls/winhttp/tests winhttp_test
17867 wine_fn_config_dll wininet enable_wininet implib,po
17868 wine_fn_config_test dlls/wininet/tests wininet_test
17869 wine_fn_config_dll winmm enable_winmm implib,po
17870 wine_fn_config_test dlls/winmm/tests winmm_test
17871 wine_fn_config_dll winnls.dll16 enable_win16
17872 wine_fn_config_dll winnls32 enable_winnls32 implib
17873 wine_fn_config_dll winscard enable_winscard implib
17874 wine_fn_config_dll winsock.dll16 enable_win16
17875 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17876 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17877 wine_fn_config_dll winsta enable_winsta
17878 wine_fn_config_dll wintab.dll16 enable_win16
17879 wine_fn_config_dll wintab32 enable_wintab32 implib
17880 wine_fn_config_test dlls/wintab32/tests wintab32_test
17881 wine_fn_config_dll wintrust enable_wintrust implib
17882 wine_fn_config_test dlls/wintrust/tests wintrust_test
17883 wine_fn_config_dll wlanapi enable_wlanapi
17884 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17885 wine_fn_config_test dlls/wldap32/tests wldap32_test
17886 wine_fn_config_dll wmi enable_wmi
17887 wine_fn_config_dll wmiutils enable_wmiutils clean
17888 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17889 wine_fn_config_dll wmp enable_wmp clean
17890 wine_fn_config_test dlls/wmp/tests wmp_test
17891 wine_fn_config_dll wmvcore enable_wmvcore
17892 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17893 wine_fn_config_dll wow32 enable_win16 implib
17894 wine_fn_config_dll wpcap enable_wpcap
17895 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17896 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17897 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17898 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17899 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17900 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17901 wine_fn_config_dll wsock32 enable_wsock32 implib
17902 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17903 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17904 wine_fn_config_dll wuapi enable_wuapi clean
17905 wine_fn_config_dll wuaueng enable_wuaueng
17906 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17907 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17908 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17909 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17910 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17911 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17912 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17913 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17914 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17915 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17916 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17917 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
17918 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
17919 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
17920 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17921 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
17922 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17923 wine_fn_config_dll xinput1_1 enable_xinput1_1
17924 wine_fn_config_dll xinput1_2 enable_xinput1_2
17925 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17926 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17927 wine_fn_config_dll xinput1_4 enable_xinput1_4
17928 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17929 wine_fn_config_dll xmllite enable_xmllite implib
17930 wine_fn_config_test dlls/xmllite/tests xmllite_test
17931 wine_fn_config_dll xolehlp enable_xolehlp
17932 wine_fn_config_dll xpsprint enable_xpsprint
17933 wine_fn_config_dll xpssvcs enable_xpssvcs
17934 wine_fn_config_makefile documentation enable_documentation clean
17935 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17936 wine_fn_config_makefile include enable_include clean,install-dev
17937 wine_fn_config_makefile libs/port enable_libs_port
17938 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17939 wine_fn_config_makefile libs/wpp enable_libs_wpp
17940 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17941 wine_fn_config_program arp enable_arp install
17942 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17943 wine_fn_config_program attrib enable_attrib install,po
17944 wine_fn_config_program cabarc enable_cabarc install
17945 wine_fn_config_program cacls enable_cacls install
17946 wine_fn_config_program clock enable_clock install,po
17947 wine_fn_config_program cmd enable_cmd install,po
17948 wine_fn_config_test programs/cmd/tests cmd.exe_test
17949 wine_fn_config_program conhost enable_conhost install
17950 wine_fn_config_program control enable_control install
17951 wine_fn_config_program cscript enable_cscript clean,install
17952 wine_fn_config_program dpnsvr enable_dpnsvr install
17953 wine_fn_config_program dxdiag enable_dxdiag install,po
17954 wine_fn_config_program eject enable_eject install
17955 wine_fn_config_program expand enable_expand install
17956 wine_fn_config_program explorer enable_explorer install,po
17957 wine_fn_config_program extrac32 enable_extrac32 install
17958 wine_fn_config_program findstr enable_findstr install
17959 wine_fn_config_program hh enable_hh install
17960 wine_fn_config_program hostname enable_hostname install,po
17961 wine_fn_config_program icinfo enable_icinfo install
17962 wine_fn_config_program iexplore enable_iexplore install
17963 wine_fn_config_program ipconfig enable_ipconfig install,po
17964 wine_fn_config_program lodctr enable_lodctr install
17965 wine_fn_config_program mofcomp enable_mofcomp install
17966 wine_fn_config_program mshta enable_mshta install
17967 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17968 wine_fn_config_program net enable_net install,po
17969 wine_fn_config_program netsh enable_netsh install
17970 wine_fn_config_program netstat enable_netstat install,po
17971 wine_fn_config_program ngen enable_ngen install
17972 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17973 wine_fn_config_program oleview enable_oleview install,po
17974 wine_fn_config_program ping enable_ping install
17975 wine_fn_config_program plugplay enable_plugplay install
17976 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17977 wine_fn_config_program progman enable_progman install,po
17978 wine_fn_config_program reg enable_reg install,po
17979 wine_fn_config_test programs/reg/tests reg.exe_test
17980 wine_fn_config_program regasm enable_regasm install
17981 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17982 wine_fn_config_test programs/regedit/tests regedit.exe_test
17983 wine_fn_config_program regsvcs enable_regsvcs install
17984 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17985 wine_fn_config_program rpcss enable_rpcss clean,install
17986 wine_fn_config_program rundll.exe16 enable_win16 install
17987 wine_fn_config_program rundll32 enable_rundll32 install
17988 wine_fn_config_program sc enable_sc install
17989 wine_fn_config_program schtasks enable_schtasks install
17990 wine_fn_config_program sdbinst enable_sdbinst install
17991 wine_fn_config_program secedit enable_secedit install
17992 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17993 wine_fn_config_program services enable_services clean,install
17994 wine_fn_config_test programs/services/tests services.exe_test
17995 wine_fn_config_program spoolsv enable_spoolsv install
17996 wine_fn_config_program start enable_start install,po
17997 wine_fn_config_program svchost enable_svchost install
17998 wine_fn_config_program systeminfo enable_systeminfo install
17999 wine_fn_config_program taskkill enable_taskkill install,po
18000 wine_fn_config_program tasklist enable_tasklist install
18001 wine_fn_config_program taskmgr enable_taskmgr install,po
18002 wine_fn_config_program termsv enable_termsv install
18003 wine_fn_config_program uninstaller enable_uninstaller install,po
18004 wine_fn_config_program unlodctr enable_unlodctr install
18005 wine_fn_config_program view enable_view install,po
18006 wine_fn_config_program wevtutil enable_wevtutil install
18007 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18008 wine_fn_config_program winebrowser enable_winebrowser install
18009 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18010 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18011 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18012 wine_fn_config_program winedevice enable_winedevice install
18013 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18014 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18015 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18016 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18017 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18018 wine_fn_config_program winetest enable_winetest clean
18019 wine_fn_config_program winevdm enable_win16 install
18020 wine_fn_config_program winhelp.exe16 enable_win16 install
18021 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18022 wine_fn_config_program winoldap.mod16 enable_win16 install
18023 wine_fn_config_program winver enable_winver install
18024 wine_fn_config_program wmic enable_wmic install,po
18025 wine_fn_config_program wordpad enable_wordpad install,po
18026 wine_fn_config_program write enable_write install,po
18027 wine_fn_config_program wscript enable_wscript clean,install
18028 wine_fn_config_test programs/wscript/tests wscript.exe_test
18029 wine_fn_config_program wusa enable_wusa install
18030 wine_fn_config_program xcopy enable_xcopy install,po
18031 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18032 wine_fn_config_makefile server enable_server clean,install-lib,manpage
18033 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
18034 wine_fn_config_tool tools/sfnt2fon clean
18035 wine_fn_config_tool tools/widl clean,install-dev,manpage
18036 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
18037 wine_fn_config_tool tools/winedump clean,install-dev,manpage
18038 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
18039 wine_fn_config_tool tools/wmc clean,install-dev,manpage
18040 wine_fn_config_tool tools/wrc clean,install-dev,manpage
18042 LINGUAS="\
18043 ar \
18044 bg \
18045 ca \
18046 cs \
18047 da \
18048 de \
18049 el \
18050 en \
18051 en_US \
18052 eo \
18053 es \
18054 fa \
18055 fi \
18056 fr \
18057 he \
18058 hi \
18059 hr \
18060 hu \
18061 it \
18062 ja \
18063 ko \
18064 lt \
18065 ml \
18066 nb_NO \
18067 nl \
18068 or \
18069 pa \
18070 pl \
18071 pt_BR \
18072 pt_PT \
18073 rm \
18074 ro \
18075 ru \
18076 sk \
18077 sl \
18078 sr_RS@cyrillic \
18079 sr_RS@latin \
18080 sv \
18081 te \
18082 th \
18083 tr \
18084 uk \
18085 wa \
18086 zh_CN \
18087 zh_TW"
18092 wine_fn_ignore_file ".gitignore"
18093 wine_fn_ignore_file "Makefile"
18094 wine_fn_ignore_file "TAGS"
18095 wine_fn_ignore_file "tags"
18096 wine_fn_ignore_file "autom4te.cache"
18097 wine_fn_ignore_file "config.cache"
18098 wine_fn_ignore_file "config.log"
18099 wine_fn_ignore_file "config.status"
18100 wine_fn_ignore_file "configure.lineno"
18101 wine_fn_ignore_file "include/config.h"
18102 wine_fn_ignore_file "include/stamp-h"
18103 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18105 if test "x$enable_tools" != xno
18106 then
18107 wine_fn_ignore_file "tools/makedep$ac_exeext"
18108 ac_config_commands="$ac_config_commands tools/makedep"
18112 ac_config_commands="$ac_config_commands Makefile"
18115 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18119 if test "x$enable_maintainer_mode" = xyes
18120 then
18121 wine_fn_append_rule "configure: configure.ac aclocal.m4
18122 autoconf --warnings=all
18123 include/config.h.in: include/stamp-h.in
18124 include/stamp-h.in: configure.ac aclocal.m4
18125 autoheader --warnings=all
18126 @echo timestamp > \$@"
18129 if test "x$with_gettextpo" = xyes
18130 then
18131 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18132 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18133 \$(LINGUAS:%=po/%.po): po/wine.pot
18134 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18135 po/wine.pot: \$(ALL_POT_FILES)
18136 msgcat -o \$@ \$(ALL_POT_FILES)"
18139 if test "$MSGFMT" != false
18140 then
18141 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18142 clean::
18143 \$(RM) \$(LINGUAS:%=po/%.mo)"
18145 posrc="po"
18146 test "$srcdir" = . || posrc="$srcdir/po"
18147 for i in $LINGUAS
18149 wine_fn_ignore_file "po/$i.mo"
18150 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18151 \$(MSGFMT) -o \$@ $posrc/$i.po"
18152 done
18153 else
18154 LINGUAS=
18157 if test "x$enable_tools" != xno
18158 then
18159 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18160 @./config.status tools/makedep
18161 Makefile: tools/makedep$ac_exeext
18162 distclean:: clean
18163 \$(RM) tools/makedep$ac_exeext"
18164 else
18165 wine_fn_append_rule "\$(MAKEDEP):
18166 @echo \"You need to run make in $TOOLSDIR first\" && false"
18169 if test -n "$with_wine64"
18170 then
18171 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18172 fonts server tools:
18173 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18174 $with_wine64/loader/wine:
18175 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18176 $with_wine64/loader/wine-preloader:
18177 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18178 clean::
18179 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18180 else
18181 as_fn_append LOADER_RULES "
18182 install install-lib:: wine.inf install-man-pages
18183 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18184 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18186 uninstall::
18187 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18191 if test "$srcdir" = .
18192 then
18193 ac_config_commands="$ac_config_commands .gitignore"
18197 $as_echo " done" >&6
18198 cat >confcache <<\_ACEOF
18199 # This file is a shell script that caches the results of configure
18200 # tests run on this system so they can be shared between configure
18201 # scripts and configure runs, see configure's option --config-cache.
18202 # It is not useful on other systems. If it contains results you don't
18203 # want to keep, you may remove or edit it.
18205 # config.status only pays attention to the cache file if you give it
18206 # the --recheck option to rerun configure.
18208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18210 # following values.
18212 _ACEOF
18214 # The following way of writing the cache mishandles newlines in values,
18215 # but we know of no workaround that is simple, portable, and efficient.
18216 # So, we kill variables containing newlines.
18217 # Ultrix sh set writes to stderr and can't be redirected directly,
18218 # and sets the high bit in the cache file unless we assign to the vars.
18220 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18221 eval ac_val=\$$ac_var
18222 case $ac_val in #(
18223 *${as_nl}*)
18224 case $ac_var in #(
18225 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18226 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18227 esac
18228 case $ac_var in #(
18229 _ | IFS | as_nl) ;; #(
18230 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18231 *) { eval $ac_var=; unset $ac_var;} ;;
18232 esac ;;
18233 esac
18234 done
18236 (set) 2>&1 |
18237 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18238 *${as_nl}ac_space=\ *)
18239 # `set' does not quote correctly, so add quotes: double-quote
18240 # substitution turns \\\\ into \\, and sed turns \\ into \.
18241 sed -n \
18242 "s/'/'\\\\''/g;
18243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18244 ;; #(
18246 # `set' quotes correctly as required by POSIX, so do not add quotes.
18247 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18249 esac |
18250 sort
18252 sed '
18253 /^ac_cv_env_/b end
18254 t clear
18255 :clear
18256 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18257 t end
18258 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18259 :end' >>confcache
18260 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18261 if test -w "$cache_file"; then
18262 if test "x$cache_file" != "x/dev/null"; then
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18264 $as_echo "$as_me: updating cache $cache_file" >&6;}
18265 if test ! -f "$cache_file" || test -h "$cache_file"; then
18266 cat confcache >"$cache_file"
18267 else
18268 case $cache_file in #(
18269 */* | ?:*)
18270 mv -f confcache "$cache_file"$$ &&
18271 mv -f "$cache_file"$$ "$cache_file" ;; #(
18273 mv -f confcache "$cache_file" ;;
18274 esac
18277 else
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18279 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18282 rm -f confcache
18284 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18285 # Let make expand exec_prefix.
18286 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18288 DEFS=-DHAVE_CONFIG_H
18290 ac_libobjs=
18291 ac_ltlibobjs=
18293 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18294 # 1. Remove the extension, and $U if already installed.
18295 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18296 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18297 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18298 # will be set to the directory where LIBOBJS objects are built.
18299 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18300 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18301 done
18302 LIBOBJS=$ac_libobjs
18304 LTLIBOBJS=$ac_ltlibobjs
18308 : "${CONFIG_STATUS=./config.status}"
18309 ac_write_fail=0
18310 ac_clean_files_save=$ac_clean_files
18311 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18313 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18314 as_write_fail=0
18315 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18316 #! $SHELL
18317 # Generated by $as_me.
18318 # Run this file to recreate the current configuration.
18319 # Compiler output produced by configure, useful for debugging
18320 # configure, is in config.log if it exists.
18322 debug=false
18323 ac_cs_recheck=false
18324 ac_cs_silent=false
18326 SHELL=\${CONFIG_SHELL-$SHELL}
18327 export SHELL
18328 _ASEOF
18329 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18330 ## -------------------- ##
18331 ## M4sh Initialization. ##
18332 ## -------------------- ##
18334 # Be more Bourne compatible
18335 DUALCASE=1; export DUALCASE # for MKS sh
18336 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18337 emulate sh
18338 NULLCMD=:
18339 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18340 # is contrary to our usage. Disable this feature.
18341 alias -g '${1+"$@"}'='"$@"'
18342 setopt NO_GLOB_SUBST
18343 else
18344 case `(set -o) 2>/dev/null` in #(
18345 *posix*) :
18346 set -o posix ;; #(
18347 *) :
18349 esac
18353 as_nl='
18355 export as_nl
18356 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18357 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18358 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18359 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18360 # Prefer a ksh shell builtin over an external printf program on Solaris,
18361 # but without wasting forks for bash or zsh.
18362 if test -z "$BASH_VERSION$ZSH_VERSION" \
18363 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18364 as_echo='print -r --'
18365 as_echo_n='print -rn --'
18366 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18367 as_echo='printf %s\n'
18368 as_echo_n='printf %s'
18369 else
18370 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18371 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18372 as_echo_n='/usr/ucb/echo -n'
18373 else
18374 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18375 as_echo_n_body='eval
18376 arg=$1;
18377 case $arg in #(
18378 *"$as_nl"*)
18379 expr "X$arg" : "X\\(.*\\)$as_nl";
18380 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18381 esac;
18382 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18384 export as_echo_n_body
18385 as_echo_n='sh -c $as_echo_n_body as_echo'
18387 export as_echo_body
18388 as_echo='sh -c $as_echo_body as_echo'
18391 # The user is always right.
18392 if test "${PATH_SEPARATOR+set}" != set; then
18393 PATH_SEPARATOR=:
18394 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18395 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18396 PATH_SEPARATOR=';'
18401 # IFS
18402 # We need space, tab and new line, in precisely that order. Quoting is
18403 # there to prevent editors from complaining about space-tab.
18404 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18405 # splitting by setting IFS to empty value.)
18406 IFS=" "" $as_nl"
18408 # Find who we are. Look in the path if we contain no directory separator.
18409 as_myself=
18410 case $0 in #((
18411 *[\\/]* ) as_myself=$0 ;;
18412 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18413 for as_dir in $PATH
18415 IFS=$as_save_IFS
18416 test -z "$as_dir" && as_dir=.
18417 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18418 done
18419 IFS=$as_save_IFS
18422 esac
18423 # We did not find ourselves, most probably we were run as `sh COMMAND'
18424 # in which case we are not to be found in the path.
18425 if test "x$as_myself" = x; then
18426 as_myself=$0
18428 if test ! -f "$as_myself"; then
18429 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18430 exit 1
18433 # Unset variables that we do not need and which cause bugs (e.g. in
18434 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18435 # suppresses any "Segmentation fault" message there. '((' could
18436 # trigger a bug in pdksh 5.2.14.
18437 for as_var in BASH_ENV ENV MAIL MAILPATH
18438 do eval test x\${$as_var+set} = xset \
18439 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18440 done
18441 PS1='$ '
18442 PS2='> '
18443 PS4='+ '
18445 # NLS nuisances.
18446 LC_ALL=C
18447 export LC_ALL
18448 LANGUAGE=C
18449 export LANGUAGE
18451 # CDPATH.
18452 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18455 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18456 # ----------------------------------------
18457 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18458 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18459 # script with STATUS, using 1 if that was 0.
18460 as_fn_error ()
18462 as_status=$1; test $as_status -eq 0 && as_status=1
18463 if test "$4"; then
18464 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18465 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18467 $as_echo "$as_me: error: $2" >&2
18468 as_fn_exit $as_status
18469 } # as_fn_error
18472 # as_fn_set_status STATUS
18473 # -----------------------
18474 # Set $? to STATUS, without forking.
18475 as_fn_set_status ()
18477 return $1
18478 } # as_fn_set_status
18480 # as_fn_exit STATUS
18481 # -----------------
18482 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18483 as_fn_exit ()
18485 set +e
18486 as_fn_set_status $1
18487 exit $1
18488 } # as_fn_exit
18490 # as_fn_unset VAR
18491 # ---------------
18492 # Portably unset VAR.
18493 as_fn_unset ()
18495 { eval $1=; unset $1;}
18497 as_unset=as_fn_unset
18498 # as_fn_append VAR VALUE
18499 # ----------------------
18500 # Append the text in VALUE to the end of the definition contained in VAR. Take
18501 # advantage of any shell optimizations that allow amortized linear growth over
18502 # repeated appends, instead of the typical quadratic growth present in naive
18503 # implementations.
18504 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18505 eval 'as_fn_append ()
18507 eval $1+=\$2
18509 else
18510 as_fn_append ()
18512 eval $1=\$$1\$2
18514 fi # as_fn_append
18516 # as_fn_arith ARG...
18517 # ------------------
18518 # Perform arithmetic evaluation on the ARGs, and store the result in the
18519 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18520 # must be portable across $(()) and expr.
18521 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18522 eval 'as_fn_arith ()
18524 as_val=$(( $* ))
18526 else
18527 as_fn_arith ()
18529 as_val=`expr "$@" || test $? -eq 1`
18531 fi # as_fn_arith
18534 if expr a : '\(a\)' >/dev/null 2>&1 &&
18535 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18536 as_expr=expr
18537 else
18538 as_expr=false
18541 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18542 as_basename=basename
18543 else
18544 as_basename=false
18547 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18548 as_dirname=dirname
18549 else
18550 as_dirname=false
18553 as_me=`$as_basename -- "$0" ||
18554 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18555 X"$0" : 'X\(//\)$' \| \
18556 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18557 $as_echo X/"$0" |
18558 sed '/^.*\/\([^/][^/]*\)\/*$/{
18559 s//\1/
18562 /^X\/\(\/\/\)$/{
18563 s//\1/
18566 /^X\/\(\/\).*/{
18567 s//\1/
18570 s/.*/./; q'`
18572 # Avoid depending upon Character Ranges.
18573 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18574 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18575 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18576 as_cr_digits='0123456789'
18577 as_cr_alnum=$as_cr_Letters$as_cr_digits
18579 ECHO_C= ECHO_N= ECHO_T=
18580 case `echo -n x` in #(((((
18581 -n*)
18582 case `echo 'xy\c'` in
18583 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18584 xy) ECHO_C='\c';;
18585 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18586 ECHO_T=' ';;
18587 esac;;
18589 ECHO_N='-n';;
18590 esac
18592 rm -f conf$$ conf$$.exe conf$$.file
18593 if test -d conf$$.dir; then
18594 rm -f conf$$.dir/conf$$.file
18595 else
18596 rm -f conf$$.dir
18597 mkdir conf$$.dir 2>/dev/null
18599 if (echo >conf$$.file) 2>/dev/null; then
18600 if ln -s conf$$.file conf$$ 2>/dev/null; then
18601 as_ln_s='ln -s'
18602 # ... but there are two gotchas:
18603 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18604 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18605 # In both cases, we have to default to `cp -pR'.
18606 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18607 as_ln_s='cp -pR'
18608 elif ln conf$$.file conf$$ 2>/dev/null; then
18609 as_ln_s=ln
18610 else
18611 as_ln_s='cp -pR'
18613 else
18614 as_ln_s='cp -pR'
18616 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18617 rmdir conf$$.dir 2>/dev/null
18620 # as_fn_mkdir_p
18621 # -------------
18622 # Create "$as_dir" as a directory, including parents if necessary.
18623 as_fn_mkdir_p ()
18626 case $as_dir in #(
18627 -*) as_dir=./$as_dir;;
18628 esac
18629 test -d "$as_dir" || eval $as_mkdir_p || {
18630 as_dirs=
18631 while :; do
18632 case $as_dir in #(
18633 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18634 *) as_qdir=$as_dir;;
18635 esac
18636 as_dirs="'$as_qdir' $as_dirs"
18637 as_dir=`$as_dirname -- "$as_dir" ||
18638 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18639 X"$as_dir" : 'X\(//\)[^/]' \| \
18640 X"$as_dir" : 'X\(//\)$' \| \
18641 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18642 $as_echo X"$as_dir" |
18643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18644 s//\1/
18647 /^X\(\/\/\)[^/].*/{
18648 s//\1/
18651 /^X\(\/\/\)$/{
18652 s//\1/
18655 /^X\(\/\).*/{
18656 s//\1/
18659 s/.*/./; q'`
18660 test -d "$as_dir" && break
18661 done
18662 test -z "$as_dirs" || eval "mkdir $as_dirs"
18663 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18666 } # as_fn_mkdir_p
18667 if mkdir -p . 2>/dev/null; then
18668 as_mkdir_p='mkdir -p "$as_dir"'
18669 else
18670 test -d ./-p && rmdir ./-p
18671 as_mkdir_p=false
18675 # as_fn_executable_p FILE
18676 # -----------------------
18677 # Test if FILE is an executable regular file.
18678 as_fn_executable_p ()
18680 test -f "$1" && test -x "$1"
18681 } # as_fn_executable_p
18682 as_test_x='test -x'
18683 as_executable_p=as_fn_executable_p
18685 # Sed expression to map a string onto a valid CPP name.
18686 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18688 # Sed expression to map a string onto a valid variable name.
18689 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18692 exec 6>&1
18693 ## ----------------------------------- ##
18694 ## Main body of $CONFIG_STATUS script. ##
18695 ## ----------------------------------- ##
18696 _ASEOF
18697 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18700 # Save the log message, to keep $0 and so on meaningful, and to
18701 # report actual input values of CONFIG_FILES etc. instead of their
18702 # values after options handling.
18703 ac_log="
18704 This file was extended by Wine $as_me 1.7.52, which was
18705 generated by GNU Autoconf 2.69. Invocation command line was
18707 CONFIG_FILES = $CONFIG_FILES
18708 CONFIG_HEADERS = $CONFIG_HEADERS
18709 CONFIG_LINKS = $CONFIG_LINKS
18710 CONFIG_COMMANDS = $CONFIG_COMMANDS
18711 $ $0 $@
18713 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18716 _ACEOF
18718 case $ac_config_files in *"
18719 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18720 esac
18722 case $ac_config_headers in *"
18723 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18724 esac
18727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18728 # Files that config.status was made for.
18729 config_files="$ac_config_files"
18730 config_headers="$ac_config_headers"
18731 config_links="$ac_config_links"
18732 config_commands="$ac_config_commands"
18734 _ACEOF
18736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18737 ac_cs_usage="\
18738 \`$as_me' instantiates files and other configuration actions
18739 from templates according to the current configuration. Unless the files
18740 and actions are specified as TAGs, all are instantiated by default.
18742 Usage: $0 [OPTION]... [TAG]...
18744 -h, --help print this help, then exit
18745 -V, --version print version number and configuration settings, then exit
18746 --config print configuration, then exit
18747 -q, --quiet, --silent
18748 do not print progress messages
18749 -d, --debug don't remove temporary files
18750 --recheck update $as_me by reconfiguring in the same conditions
18751 --file=FILE[:TEMPLATE]
18752 instantiate the configuration file FILE
18753 --header=FILE[:TEMPLATE]
18754 instantiate the configuration header FILE
18756 Configuration files:
18757 $config_files
18759 Configuration headers:
18760 $config_headers
18762 Configuration links:
18763 $config_links
18765 Configuration commands:
18766 $config_commands
18768 Report bugs to <wine-devel@winehq.org>.
18769 Wine home page: <http://www.winehq.org>."
18771 _ACEOF
18772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18773 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18774 ac_cs_version="\\
18775 Wine config.status 1.7.52
18776 configured by $0, generated by GNU Autoconf 2.69,
18777 with options \\"\$ac_cs_config\\"
18779 Copyright (C) 2012 Free Software Foundation, Inc.
18780 This config.status script is free software; the Free Software Foundation
18781 gives unlimited permission to copy, distribute and modify it."
18783 ac_pwd='$ac_pwd'
18784 srcdir='$srcdir'
18785 test -n "\$AWK" || AWK=awk
18786 _ACEOF
18788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18789 # The default lists apply if the user does not specify any file.
18790 ac_need_defaults=:
18791 while test $# != 0
18793 case $1 in
18794 --*=?*)
18795 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18796 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18797 ac_shift=:
18799 --*=)
18800 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18801 ac_optarg=
18802 ac_shift=:
18805 ac_option=$1
18806 ac_optarg=$2
18807 ac_shift=shift
18809 esac
18811 case $ac_option in
18812 # Handling of the options.
18813 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18814 ac_cs_recheck=: ;;
18815 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18816 $as_echo "$ac_cs_version"; exit ;;
18817 --config | --confi | --conf | --con | --co | --c )
18818 $as_echo "$ac_cs_config"; exit ;;
18819 --debug | --debu | --deb | --de | --d | -d )
18820 debug=: ;;
18821 --file | --fil | --fi | --f )
18822 $ac_shift
18823 case $ac_optarg in
18824 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18825 '') as_fn_error $? "missing file argument" ;;
18826 esac
18827 as_fn_append CONFIG_FILES " '$ac_optarg'"
18828 ac_need_defaults=false;;
18829 --header | --heade | --head | --hea )
18830 $ac_shift
18831 case $ac_optarg in
18832 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18833 esac
18834 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18835 ac_need_defaults=false;;
18836 --he | --h)
18837 # Conflict between --help and --header
18838 as_fn_error $? "ambiguous option: \`$1'
18839 Try \`$0 --help' for more information.";;
18840 --help | --hel | -h )
18841 $as_echo "$ac_cs_usage"; exit ;;
18842 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18843 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18844 ac_cs_silent=: ;;
18846 # This is an error.
18847 -*) as_fn_error $? "unrecognized option: \`$1'
18848 Try \`$0 --help' for more information." ;;
18850 *) as_fn_append ac_config_targets " $1"
18851 ac_need_defaults=false ;;
18853 esac
18854 shift
18855 done
18857 ac_configure_extra_args=
18859 if $ac_cs_silent; then
18860 exec 6>/dev/null
18861 ac_configure_extra_args="$ac_configure_extra_args --silent"
18864 _ACEOF
18865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18866 if \$ac_cs_recheck; then
18867 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18868 shift
18869 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18870 CONFIG_SHELL='$SHELL'
18871 export CONFIG_SHELL
18872 exec "\$@"
18875 _ACEOF
18876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18877 exec 5>>config.log
18879 echo
18880 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18881 ## Running $as_me. ##
18882 _ASBOX
18883 $as_echo "$ac_log"
18884 } >&5
18886 _ACEOF
18887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18889 # INIT-COMMANDS
18891 wine_fn_output_makedep ()
18893 as_dir=tools; as_fn_mkdir_p
18894 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18896 wine_fn_output_makefile ()
18898 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18899 `cat $wine_rules_file`
18900 _WINE_EOF
18901 as_fn_error $? "could not create Makefile" "$LINENO" 5
18903 wine_fn_output_gitignore ()
18905 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18906 $GITIGNORE
18907 _WINE_EOF
18908 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18911 _ACEOF
18913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18915 # Handling of arguments.
18916 for ac_config_target in $ac_config_targets
18918 case $ac_config_target in
18919 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18920 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18921 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18922 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18923 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18924 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18925 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
18926 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18927 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18928 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18929 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18930 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18931 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18932 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18933 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18935 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18936 esac
18937 done
18940 # If the user did not use the arguments to specify the items to instantiate,
18941 # then the envvar interface is used. Set only those that are not.
18942 # We use the long form for the default assignment because of an extremely
18943 # bizarre bug on SunOS 4.1.3.
18944 if $ac_need_defaults; then
18945 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18946 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18947 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18948 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18951 # Have a temporary directory for convenience. Make it in the build tree
18952 # simply because there is no reason against having it here, and in addition,
18953 # creating and moving files from /tmp can sometimes cause problems.
18954 # Hook for its removal unless debugging.
18955 # Note that there is a small window in which the directory will not be cleaned:
18956 # after its creation but before its name has been assigned to `$tmp'.
18957 $debug ||
18959 tmp= ac_tmp=
18960 trap 'exit_status=$?
18961 : "${ac_tmp:=$tmp}"
18962 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18964 trap 'as_fn_exit 1' 1 2 13 15
18966 # Create a (secure) tmp directory for tmp files.
18969 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18970 test -d "$tmp"
18971 } ||
18973 tmp=./conf$$-$RANDOM
18974 (umask 077 && mkdir "$tmp")
18975 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18976 ac_tmp=$tmp
18978 # Set up the scripts for CONFIG_FILES section.
18979 # No need to generate them if there are no CONFIG_FILES.
18980 # This happens for instance with `./config.status config.h'.
18981 if test -n "$CONFIG_FILES"; then
18984 ac_cr=`echo X | tr X '\015'`
18985 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18986 # But we know of no other shell where ac_cr would be empty at this
18987 # point, so we can use a bashism as a fallback.
18988 if test "x$ac_cr" = x; then
18989 eval ac_cr=\$\'\\r\'
18991 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18992 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18993 ac_cs_awk_cr='\\r'
18994 else
18995 ac_cs_awk_cr=$ac_cr
18998 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18999 _ACEOF
19003 echo "cat >conf$$subs.awk <<_ACEOF" &&
19004 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19005 echo "_ACEOF"
19006 } >conf$$subs.sh ||
19007 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19008 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19009 ac_delim='%!_!# '
19010 for ac_last_try in false false false false false :; do
19011 . ./conf$$subs.sh ||
19012 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19014 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19015 if test $ac_delim_n = $ac_delim_num; then
19016 break
19017 elif $ac_last_try; then
19018 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19019 else
19020 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19022 done
19023 rm -f conf$$subs.sh
19025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19026 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19027 _ACEOF
19028 sed -n '
19030 s/^/S["/; s/!.*/"]=/
19033 s/^[^!]*!//
19034 :repl
19035 t repl
19036 s/'"$ac_delim"'$//
19037 t delim
19040 s/\(.\{148\}\)..*/\1/
19041 t more1
19042 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19045 b repl
19046 :more1
19047 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19050 s/.\{148\}//
19051 t nl
19052 :delim
19054 s/\(.\{148\}\)..*/\1/
19055 t more2
19056 s/["\\]/\\&/g; s/^/"/; s/$/"/
19059 :more2
19060 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19063 s/.\{148\}//
19064 t delim
19065 ' <conf$$subs.awk | sed '
19066 /^[^""]/{
19068 s/\n//
19070 ' >>$CONFIG_STATUS || ac_write_fail=1
19071 rm -f conf$$subs.awk
19072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19073 _ACAWK
19074 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19075 for (key in S) S_is_set[key] = 1
19076 FS = "\a"
19080 line = $ 0
19081 nfields = split(line, field, "@")
19082 substed = 0
19083 len = length(field[1])
19084 for (i = 2; i < nfields; i++) {
19085 key = field[i]
19086 keylen = length(key)
19087 if (S_is_set[key]) {
19088 value = S[key]
19089 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19090 len += length(value) + length(field[++i])
19091 substed = 1
19092 } else
19093 len += 1 + keylen
19096 print line
19099 _ACAWK
19100 _ACEOF
19101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19102 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19103 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19104 else
19106 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19107 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19108 _ACEOF
19110 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19111 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19112 # trailing colons and then remove the whole line if VPATH becomes empty
19113 # (actually we leave an empty line to preserve line numbers).
19114 if test "x$srcdir" = x.; then
19115 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19117 s///
19118 s/^/:/
19119 s/[ ]*$/:/
19120 s/:\$(srcdir):/:/g
19121 s/:\${srcdir}:/:/g
19122 s/:@srcdir@:/:/g
19123 s/^:*//
19124 s/:*$//
19126 s/\(=[ ]*\).*/\1/
19128 s/\n//
19129 s/^[^=]*=[ ]*$//
19133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19134 fi # test -n "$CONFIG_FILES"
19136 # Set up the scripts for CONFIG_HEADERS section.
19137 # No need to generate them if there are no CONFIG_HEADERS.
19138 # This happens for instance with `./config.status Makefile'.
19139 if test -n "$CONFIG_HEADERS"; then
19140 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19141 BEGIN {
19142 _ACEOF
19144 # Transform confdefs.h into an awk script `defines.awk', embedded as
19145 # here-document in config.status, that substitutes the proper values into
19146 # config.h.in to produce config.h.
19148 # Create a delimiter string that does not exist in confdefs.h, to ease
19149 # handling of long lines.
19150 ac_delim='%!_!# '
19151 for ac_last_try in false false :; do
19152 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19153 if test -z "$ac_tt"; then
19154 break
19155 elif $ac_last_try; then
19156 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19157 else
19158 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19160 done
19162 # For the awk script, D is an array of macro values keyed by name,
19163 # likewise P contains macro parameters if any. Preserve backslash
19164 # newline sequences.
19166 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19167 sed -n '
19168 s/.\{148\}/&'"$ac_delim"'/g
19169 t rset
19170 :rset
19171 s/^[ ]*#[ ]*define[ ][ ]*/ /
19172 t def
19174 :def
19175 s/\\$//
19176 t bsnl
19177 s/["\\]/\\&/g
19178 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19179 D["\1"]=" \3"/p
19180 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19182 :bsnl
19183 s/["\\]/\\&/g
19184 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19185 D["\1"]=" \3\\\\\\n"\\/p
19186 t cont
19187 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19188 t cont
19190 :cont
19192 s/.\{148\}/&'"$ac_delim"'/g
19193 t clear
19194 :clear
19195 s/\\$//
19196 t bsnlc
19197 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19199 :bsnlc
19200 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19201 b cont
19202 ' <confdefs.h | sed '
19203 s/'"$ac_delim"'/"\\\
19204 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19207 for (key in D) D_is_set[key] = 1
19208 FS = "\a"
19210 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19211 line = \$ 0
19212 split(line, arg, " ")
19213 if (arg[1] == "#") {
19214 defundef = arg[2]
19215 mac1 = arg[3]
19216 } else {
19217 defundef = substr(arg[1], 2)
19218 mac1 = arg[2]
19220 split(mac1, mac2, "(") #)
19221 macro = mac2[1]
19222 prefix = substr(line, 1, index(line, defundef) - 1)
19223 if (D_is_set[macro]) {
19224 # Preserve the white space surrounding the "#".
19225 print prefix "define", macro P[macro] D[macro]
19226 next
19227 } else {
19228 # Replace #undef with comments. This is necessary, for example,
19229 # in the case of _POSIX_SOURCE, which is predefined and required
19230 # on some systems where configure will not decide to define it.
19231 if (defundef == "undef") {
19232 print "/*", prefix defundef, macro, "*/"
19233 next
19237 { print }
19238 _ACAWK
19239 _ACEOF
19240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19241 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19242 fi # test -n "$CONFIG_HEADERS"
19245 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19246 shift
19247 for ac_tag
19249 case $ac_tag in
19250 :[FHLC]) ac_mode=$ac_tag; continue;;
19251 esac
19252 case $ac_mode$ac_tag in
19253 :[FHL]*:*);;
19254 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19255 :[FH]-) ac_tag=-:-;;
19256 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19257 esac
19258 ac_save_IFS=$IFS
19259 IFS=:
19260 set x $ac_tag
19261 IFS=$ac_save_IFS
19262 shift
19263 ac_file=$1
19264 shift
19266 case $ac_mode in
19267 :L) ac_source=$1;;
19268 :[FH])
19269 ac_file_inputs=
19270 for ac_f
19272 case $ac_f in
19273 -) ac_f="$ac_tmp/stdin";;
19274 *) # Look for the file first in the build tree, then in the source tree
19275 # (if the path is not absolute). The absolute path cannot be DOS-style,
19276 # because $ac_f cannot contain `:'.
19277 test -f "$ac_f" ||
19278 case $ac_f in
19279 [\\/$]*) false;;
19280 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19281 esac ||
19282 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19283 esac
19284 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19285 as_fn_append ac_file_inputs " '$ac_f'"
19286 done
19288 # Let's still pretend it is `configure' which instantiates (i.e., don't
19289 # use $as_me), people would be surprised to read:
19290 # /* config.h. Generated by config.status. */
19291 configure_input='Generated from '`
19292 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19293 `' by configure.'
19294 if test x"$ac_file" != x-; then
19295 configure_input="$ac_file. $configure_input"
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19297 $as_echo "$as_me: creating $ac_file" >&6;}
19299 # Neutralize special characters interpreted by sed in replacement strings.
19300 case $configure_input in #(
19301 *\&* | *\|* | *\\* )
19302 ac_sed_conf_input=`$as_echo "$configure_input" |
19303 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19304 *) ac_sed_conf_input=$configure_input;;
19305 esac
19307 case $ac_tag in
19308 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19309 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19310 esac
19312 esac
19314 ac_dir=`$as_dirname -- "$ac_file" ||
19315 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19316 X"$ac_file" : 'X\(//\)[^/]' \| \
19317 X"$ac_file" : 'X\(//\)$' \| \
19318 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19319 $as_echo X"$ac_file" |
19320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19321 s//\1/
19324 /^X\(\/\/\)[^/].*/{
19325 s//\1/
19328 /^X\(\/\/\)$/{
19329 s//\1/
19332 /^X\(\/\).*/{
19333 s//\1/
19336 s/.*/./; q'`
19337 as_dir="$ac_dir"; as_fn_mkdir_p
19338 ac_builddir=.
19340 case "$ac_dir" in
19341 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19343 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19344 # A ".." for each directory in $ac_dir_suffix.
19345 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19346 case $ac_top_builddir_sub in
19347 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19348 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19349 esac ;;
19350 esac
19351 ac_abs_top_builddir=$ac_pwd
19352 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19353 # for backward compatibility:
19354 ac_top_builddir=$ac_top_build_prefix
19356 case $srcdir in
19357 .) # We are building in place.
19358 ac_srcdir=.
19359 ac_top_srcdir=$ac_top_builddir_sub
19360 ac_abs_top_srcdir=$ac_pwd ;;
19361 [\\/]* | ?:[\\/]* ) # Absolute name.
19362 ac_srcdir=$srcdir$ac_dir_suffix;
19363 ac_top_srcdir=$srcdir
19364 ac_abs_top_srcdir=$srcdir ;;
19365 *) # Relative name.
19366 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19367 ac_top_srcdir=$ac_top_build_prefix$srcdir
19368 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19369 esac
19370 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19373 case $ac_mode in
19376 # CONFIG_FILE
19379 _ACEOF
19381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19382 # If the template does not know about datarootdir, expand it.
19383 # FIXME: This hack should be removed a few years after 2.60.
19384 ac_datarootdir_hack=; ac_datarootdir_seen=
19385 ac_sed_dataroot='
19386 /datarootdir/ {
19390 /@datadir@/p
19391 /@docdir@/p
19392 /@infodir@/p
19393 /@localedir@/p
19394 /@mandir@/p'
19395 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19396 *datarootdir*) ac_datarootdir_seen=yes;;
19397 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19399 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19400 _ACEOF
19401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19402 ac_datarootdir_hack='
19403 s&@datadir@&$datadir&g
19404 s&@docdir@&$docdir&g
19405 s&@infodir@&$infodir&g
19406 s&@localedir@&$localedir&g
19407 s&@mandir@&$mandir&g
19408 s&\\\${datarootdir}&$datarootdir&g' ;;
19409 esac
19410 _ACEOF
19412 # Neutralize VPATH when `$srcdir' = `.'.
19413 # Shell code in configure.ac might set extrasub.
19414 # FIXME: do we really want to maintain this feature?
19415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19416 ac_sed_extra="$ac_vpsub
19417 $extrasub
19418 _ACEOF
19419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19421 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19422 s|@configure_input@|$ac_sed_conf_input|;t t
19423 s&@top_builddir@&$ac_top_builddir_sub&;t t
19424 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19425 s&@srcdir@&$ac_srcdir&;t t
19426 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19427 s&@top_srcdir@&$ac_top_srcdir&;t t
19428 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19429 s&@builddir@&$ac_builddir&;t t
19430 s&@abs_builddir@&$ac_abs_builddir&;t t
19431 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19432 $ac_datarootdir_hack
19434 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19435 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19437 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19438 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19439 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19440 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19442 which seems to be undefined. Please make sure it is defined" >&5
19443 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19444 which seems to be undefined. Please make sure it is defined" >&2;}
19446 rm -f "$ac_tmp/stdin"
19447 case $ac_file in
19448 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19449 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19450 esac \
19451 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19455 # CONFIG_HEADER
19457 if test x"$ac_file" != x-; then
19459 $as_echo "/* $configure_input */" \
19460 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19461 } >"$ac_tmp/config.h" \
19462 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19463 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19464 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19465 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19466 else
19467 rm -f "$ac_file"
19468 mv "$ac_tmp/config.h" "$ac_file" \
19469 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19471 else
19472 $as_echo "/* $configure_input */" \
19473 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19474 || as_fn_error $? "could not create -" "$LINENO" 5
19479 # CONFIG_LINK
19482 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19484 else
19485 # Prefer the file from the source tree if names are identical.
19486 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19487 ac_source=$srcdir/$ac_source
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19491 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19493 if test ! -r "$ac_source"; then
19494 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19496 rm -f "$ac_file"
19498 # Try a relative symlink, then a hard link, then a copy.
19499 case $ac_source in
19500 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19501 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19502 esac
19503 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19504 ln "$ac_source" "$ac_file" 2>/dev/null ||
19505 cp -p "$ac_source" "$ac_file" ||
19506 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19509 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19510 $as_echo "$as_me: executing $ac_file commands" >&6;}
19512 esac
19515 case $ac_file$ac_mode in
19516 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19517 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19518 "Makefile":C) wine_fn_output_makefile Makefile ;;
19519 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19521 esac
19522 done # for ac_tag
19525 as_fn_exit 0
19526 _ACEOF
19527 ac_clean_files=$ac_clean_files_save
19529 test $ac_write_fail = 0 ||
19530 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19533 # configure is writing to config.log, and then calls config.status.
19534 # config.status does its own redirection, appending to config.log.
19535 # Unfortunately, on DOS this fails, as config.log is still kept open
19536 # by configure, so config.status won't be able to write to it; its
19537 # output is simply discarded. So we exec the FD to /dev/null,
19538 # effectively closing config.log, so it can be properly (re)opened and
19539 # appended to by config.status. When coming back to configure, we
19540 # need to make the FD available again.
19541 if test "$no_create" != yes; then
19542 ac_cs_success=:
19543 ac_config_status_args=
19544 test "$silent" = yes &&
19545 ac_config_status_args="$ac_config_status_args --quiet"
19546 exec 5>/dev/null
19547 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19548 exec 5>>config.log
19549 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19550 # would make configure fail if this is the last instruction.
19551 $ac_cs_success || as_fn_exit 1
19553 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19555 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19559 if test "$no_create" = "yes"
19560 then
19561 exit 0
19564 ac_save_IFS="$IFS"
19565 if test "x$wine_notices != "x; then
19566 echo >&6
19567 IFS="|"
19568 for msg in $wine_notices; do
19569 IFS="$ac_save_IFS"
19570 if ${msg:+false} :; then :
19572 else
19573 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19574 $as_echo "$as_me: $msg" >&6;}
19576 done
19578 IFS="|"
19579 for msg in $wine_warnings; do
19580 IFS="$ac_save_IFS"
19581 if ${msg:+false} :; then :
19583 else
19584 echo >&2
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19586 $as_echo "$as_me: WARNING: $msg" >&2;}
19588 done
19589 IFS="$ac_save_IFS"
19591 $as_echo "
19592 $as_me: Finished. Do '${ac_make}' to compile Wine.
19593 " >&6