user32: Remove unused parameter istep from release_icon_frame.
[wine.git] / configure
blob9cd9ca369eca0725fd9986dd54623d13d9b6d564
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_2
1375 enable_xapofx1_3
1376 enable_xapofx1_4
1377 enable_xapofx1_5
1378 enable_xaudio2_1
1379 enable_xaudio2_2
1380 enable_xaudio2_3
1381 enable_xaudio2_4
1382 enable_xaudio2_5
1383 enable_xaudio2_6
1384 enable_xaudio2_7
1385 enable_xaudio2_8
1386 enable_xinput1_1
1387 enable_xinput1_2
1388 enable_xinput1_3
1389 enable_xinput1_4
1390 enable_xinput9_1_0
1391 enable_xmllite
1392 enable_xolehlp
1393 enable_xpsprint
1394 enable_xpssvcs
1395 enable_documentation
1396 enable_fonts
1397 enable_include
1398 enable_libs_port
1399 enable_libs_wine
1400 enable_libs_wpp
1401 enable_loader
1402 enable_arp
1403 enable_aspnet_regiis
1404 enable_attrib
1405 enable_cabarc
1406 enable_cacls
1407 enable_clock
1408 enable_cmd
1409 enable_conhost
1410 enable_control
1411 enable_cscript
1412 enable_dpnsvr
1413 enable_dxdiag
1414 enable_eject
1415 enable_expand
1416 enable_explorer
1417 enable_extrac32
1418 enable_findstr
1419 enable_hh
1420 enable_hostname
1421 enable_icinfo
1422 enable_iexplore
1423 enable_ipconfig
1424 enable_lodctr
1425 enable_mofcomp
1426 enable_mshta
1427 enable_msiexec
1428 enable_net
1429 enable_netsh
1430 enable_netstat
1431 enable_ngen
1432 enable_notepad
1433 enable_oleview
1434 enable_ping
1435 enable_plugplay
1436 enable_presentationfontcache
1437 enable_progman
1438 enable_reg
1439 enable_regasm
1440 enable_regedit
1441 enable_regsvcs
1442 enable_regsvr32
1443 enable_rpcss
1444 enable_rundll32
1445 enable_sc
1446 enable_schtasks
1447 enable_sdbinst
1448 enable_secedit
1449 enable_servicemodelreg
1450 enable_services
1451 enable_spoolsv
1452 enable_start
1453 enable_svchost
1454 enable_systeminfo
1455 enable_taskkill
1456 enable_tasklist
1457 enable_taskmgr
1458 enable_termsv
1459 enable_uninstaller
1460 enable_unlodctr
1461 enable_view
1462 enable_wevtutil
1463 enable_wineboot
1464 enable_winebrowser
1465 enable_winecfg
1466 enable_wineconsole
1467 enable_winedbg
1468 enable_winedevice
1469 enable_winefile
1470 enable_winemenubuilder
1471 enable_winemine
1472 enable_winemsibuilder
1473 enable_winepath
1474 enable_winetest
1475 enable_winhlp32
1476 enable_winver
1477 enable_wmic
1478 enable_wordpad
1479 enable_write
1480 enable_wscript
1481 enable_wusa
1482 enable_xcopy
1483 enable_server
1484 enable_tools
1486 ac_precious_vars='build_alias
1487 host_alias
1488 target_alias
1490 CFLAGS
1491 LDFLAGS
1492 LIBS
1493 CPPFLAGS
1495 CXXFLAGS
1498 XMKMF
1499 XML2_CFLAGS
1500 XML2_LIBS
1501 XSLT_CFLAGS
1502 XSLT_LIBS
1503 DBUS_CFLAGS
1504 DBUS_LIBS
1505 HAL_CFLAGS
1506 HAL_LIBS
1507 GNUTLS_CFLAGS
1508 GNUTLS_LIBS
1509 SANE_CFLAGS
1510 SANE_LIBS
1511 GPHOTO2_CFLAGS
1512 GPHOTO2_LIBS
1513 GPHOTO2_PORT_CFLAGS
1514 GPHOTO2_PORT_LIBS
1515 LCMS2_CFLAGS
1516 LCMS2_LIBS
1517 FREETYPE_CFLAGS
1518 FREETYPE_LIBS
1519 GSTREAMER_CFLAGS
1520 GSTREAMER_LIBS
1521 CAPI20_CFLAGS
1522 CAPI20_LIBS
1523 FONTCONFIG_CFLAGS
1524 FONTCONFIG_LIBS
1525 JPEG_CFLAGS
1526 JPEG_LIBS
1527 PNG_CFLAGS
1528 PNG_LIBS
1529 TIFF_CFLAGS
1530 TIFF_LIBS
1531 MPG123_CFLAGS
1532 MPG123_LIBS'
1535 # Initialize some variables set by options.
1536 ac_init_help=
1537 ac_init_version=false
1538 ac_unrecognized_opts=
1539 ac_unrecognized_sep=
1540 # The variables have the same names as the options, with
1541 # dashes changed to underlines.
1542 cache_file=/dev/null
1543 exec_prefix=NONE
1544 no_create=
1545 no_recursion=
1546 prefix=NONE
1547 program_prefix=NONE
1548 program_suffix=NONE
1549 program_transform_name=s,x,x,
1550 silent=
1551 site=
1552 srcdir=
1553 verbose=
1554 x_includes=NONE
1555 x_libraries=NONE
1557 # Installation directory options.
1558 # These are left unexpanded so users can "make install exec_prefix=/foo"
1559 # and all the variables that are supposed to be based on exec_prefix
1560 # by default will actually change.
1561 # Use braces instead of parens because sh, perl, etc. also accept them.
1562 # (The list follows the same order as the GNU Coding Standards.)
1563 bindir='${exec_prefix}/bin'
1564 sbindir='${exec_prefix}/sbin'
1565 libexecdir='${exec_prefix}/libexec'
1566 datarootdir='${prefix}/share'
1567 datadir='${datarootdir}'
1568 sysconfdir='${prefix}/etc'
1569 sharedstatedir='${prefix}/com'
1570 localstatedir='${prefix}/var'
1571 runstatedir='${localstatedir}/run'
1572 includedir='${prefix}/include'
1573 oldincludedir='/usr/include'
1574 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1575 infodir='${datarootdir}/info'
1576 htmldir='${docdir}'
1577 dvidir='${docdir}'
1578 pdfdir='${docdir}'
1579 psdir='${docdir}'
1580 libdir='${exec_prefix}/lib'
1581 localedir='${datarootdir}/locale'
1582 mandir='${datarootdir}/man'
1584 ac_prev=
1585 ac_dashdash=
1586 for ac_option
1588 # If the previous option needs an argument, assign it.
1589 if test -n "$ac_prev"; then
1590 eval $ac_prev=\$ac_option
1591 ac_prev=
1592 continue
1595 case $ac_option in
1596 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1597 *=) ac_optarg= ;;
1598 *) ac_optarg=yes ;;
1599 esac
1601 # Accept the important Cygnus configure options, so we can diagnose typos.
1603 case $ac_dashdash$ac_option in
1605 ac_dashdash=yes ;;
1607 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1608 ac_prev=bindir ;;
1609 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1610 bindir=$ac_optarg ;;
1612 -build | --build | --buil | --bui | --bu)
1613 ac_prev=build_alias ;;
1614 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1615 build_alias=$ac_optarg ;;
1617 -cache-file | --cache-file | --cache-fil | --cache-fi \
1618 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1619 ac_prev=cache_file ;;
1620 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1621 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1622 cache_file=$ac_optarg ;;
1624 --config-cache | -C)
1625 cache_file=config.cache ;;
1627 -datadir | --datadir | --datadi | --datad)
1628 ac_prev=datadir ;;
1629 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1630 datadir=$ac_optarg ;;
1632 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1633 | --dataroo | --dataro | --datar)
1634 ac_prev=datarootdir ;;
1635 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1636 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1637 datarootdir=$ac_optarg ;;
1639 -disable-* | --disable-*)
1640 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1641 # Reject names that are not valid shell variable names.
1642 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1643 as_fn_error $? "invalid feature name: $ac_useropt"
1644 ac_useropt_orig=$ac_useropt
1645 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1646 case $ac_user_opts in
1648 "enable_$ac_useropt"
1649 "*) ;;
1650 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1651 ac_unrecognized_sep=', ';;
1652 esac
1653 eval enable_$ac_useropt=no ;;
1655 -docdir | --docdir | --docdi | --doc | --do)
1656 ac_prev=docdir ;;
1657 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1658 docdir=$ac_optarg ;;
1660 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1661 ac_prev=dvidir ;;
1662 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1663 dvidir=$ac_optarg ;;
1665 -enable-* | --enable-*)
1666 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1667 # Reject names that are not valid shell variable names.
1668 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1669 as_fn_error $? "invalid feature name: $ac_useropt"
1670 ac_useropt_orig=$ac_useropt
1671 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1672 case $ac_user_opts in
1674 "enable_$ac_useropt"
1675 "*) ;;
1676 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1677 ac_unrecognized_sep=', ';;
1678 esac
1679 eval enable_$ac_useropt=\$ac_optarg ;;
1681 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1682 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1683 | --exec | --exe | --ex)
1684 ac_prev=exec_prefix ;;
1685 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1686 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1687 | --exec=* | --exe=* | --ex=*)
1688 exec_prefix=$ac_optarg ;;
1690 -gas | --gas | --ga | --g)
1691 # Obsolete; use --with-gas.
1692 with_gas=yes ;;
1694 -help | --help | --hel | --he | -h)
1695 ac_init_help=long ;;
1696 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1697 ac_init_help=recursive ;;
1698 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1699 ac_init_help=short ;;
1701 -host | --host | --hos | --ho)
1702 ac_prev=host_alias ;;
1703 -host=* | --host=* | --hos=* | --ho=*)
1704 host_alias=$ac_optarg ;;
1706 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1707 ac_prev=htmldir ;;
1708 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1709 | --ht=*)
1710 htmldir=$ac_optarg ;;
1712 -includedir | --includedir | --includedi | --included | --include \
1713 | --includ | --inclu | --incl | --inc)
1714 ac_prev=includedir ;;
1715 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1716 | --includ=* | --inclu=* | --incl=* | --inc=*)
1717 includedir=$ac_optarg ;;
1719 -infodir | --infodir | --infodi | --infod | --info | --inf)
1720 ac_prev=infodir ;;
1721 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1722 infodir=$ac_optarg ;;
1724 -libdir | --libdir | --libdi | --libd)
1725 ac_prev=libdir ;;
1726 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1727 libdir=$ac_optarg ;;
1729 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1730 | --libexe | --libex | --libe)
1731 ac_prev=libexecdir ;;
1732 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1733 | --libexe=* | --libex=* | --libe=*)
1734 libexecdir=$ac_optarg ;;
1736 -localedir | --localedir | --localedi | --localed | --locale)
1737 ac_prev=localedir ;;
1738 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1739 localedir=$ac_optarg ;;
1741 -localstatedir | --localstatedir | --localstatedi | --localstated \
1742 | --localstate | --localstat | --localsta | --localst | --locals)
1743 ac_prev=localstatedir ;;
1744 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1745 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1746 localstatedir=$ac_optarg ;;
1748 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1749 ac_prev=mandir ;;
1750 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1751 mandir=$ac_optarg ;;
1753 -nfp | --nfp | --nf)
1754 # Obsolete; use --without-fp.
1755 with_fp=no ;;
1757 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1758 | --no-cr | --no-c | -n)
1759 no_create=yes ;;
1761 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1762 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1763 no_recursion=yes ;;
1765 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1766 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1767 | --oldin | --oldi | --old | --ol | --o)
1768 ac_prev=oldincludedir ;;
1769 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1770 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1771 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1772 oldincludedir=$ac_optarg ;;
1774 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1775 ac_prev=prefix ;;
1776 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1777 prefix=$ac_optarg ;;
1779 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1780 | --program-pre | --program-pr | --program-p)
1781 ac_prev=program_prefix ;;
1782 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1783 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1784 program_prefix=$ac_optarg ;;
1786 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1787 | --program-suf | --program-su | --program-s)
1788 ac_prev=program_suffix ;;
1789 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1790 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1791 program_suffix=$ac_optarg ;;
1793 -program-transform-name | --program-transform-name \
1794 | --program-transform-nam | --program-transform-na \
1795 | --program-transform-n | --program-transform- \
1796 | --program-transform | --program-transfor \
1797 | --program-transfo | --program-transf \
1798 | --program-trans | --program-tran \
1799 | --progr-tra | --program-tr | --program-t)
1800 ac_prev=program_transform_name ;;
1801 -program-transform-name=* | --program-transform-name=* \
1802 | --program-transform-nam=* | --program-transform-na=* \
1803 | --program-transform-n=* | --program-transform-=* \
1804 | --program-transform=* | --program-transfor=* \
1805 | --program-transfo=* | --program-transf=* \
1806 | --program-trans=* | --program-tran=* \
1807 | --progr-tra=* | --program-tr=* | --program-t=*)
1808 program_transform_name=$ac_optarg ;;
1810 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1811 ac_prev=pdfdir ;;
1812 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1813 pdfdir=$ac_optarg ;;
1815 -psdir | --psdir | --psdi | --psd | --ps)
1816 ac_prev=psdir ;;
1817 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1818 psdir=$ac_optarg ;;
1820 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1821 | -silent | --silent | --silen | --sile | --sil)
1822 silent=yes ;;
1824 -runstatedir | --runstatedir | --runstatedi | --runstated \
1825 | --runstate | --runstat | --runsta | --runst | --runs \
1826 | --run | --ru | --r)
1827 ac_prev=runstatedir ;;
1828 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1829 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1830 | --run=* | --ru=* | --r=*)
1831 runstatedir=$ac_optarg ;;
1833 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1834 ac_prev=sbindir ;;
1835 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1836 | --sbi=* | --sb=*)
1837 sbindir=$ac_optarg ;;
1839 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1840 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1841 | --sharedst | --shareds | --shared | --share | --shar \
1842 | --sha | --sh)
1843 ac_prev=sharedstatedir ;;
1844 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1845 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1846 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1847 | --sha=* | --sh=*)
1848 sharedstatedir=$ac_optarg ;;
1850 -site | --site | --sit)
1851 ac_prev=site ;;
1852 -site=* | --site=* | --sit=*)
1853 site=$ac_optarg ;;
1855 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1856 ac_prev=srcdir ;;
1857 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1858 srcdir=$ac_optarg ;;
1860 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1861 | --syscon | --sysco | --sysc | --sys | --sy)
1862 ac_prev=sysconfdir ;;
1863 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1864 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1865 sysconfdir=$ac_optarg ;;
1867 -target | --target | --targe | --targ | --tar | --ta | --t)
1868 ac_prev=target_alias ;;
1869 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1870 target_alias=$ac_optarg ;;
1872 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1873 verbose=yes ;;
1875 -version | --version | --versio | --versi | --vers | -V)
1876 ac_init_version=: ;;
1878 -with-* | --with-*)
1879 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1880 # Reject names that are not valid shell variable names.
1881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1882 as_fn_error $? "invalid package name: $ac_useropt"
1883 ac_useropt_orig=$ac_useropt
1884 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1885 case $ac_user_opts in
1887 "with_$ac_useropt"
1888 "*) ;;
1889 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1890 ac_unrecognized_sep=', ';;
1891 esac
1892 eval with_$ac_useropt=\$ac_optarg ;;
1894 -without-* | --without-*)
1895 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1896 # Reject names that are not valid shell variable names.
1897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1898 as_fn_error $? "invalid package name: $ac_useropt"
1899 ac_useropt_orig=$ac_useropt
1900 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1901 case $ac_user_opts in
1903 "with_$ac_useropt"
1904 "*) ;;
1905 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1906 ac_unrecognized_sep=', ';;
1907 esac
1908 eval with_$ac_useropt=no ;;
1910 --x)
1911 # Obsolete; use --with-x.
1912 with_x=yes ;;
1914 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1915 | --x-incl | --x-inc | --x-in | --x-i)
1916 ac_prev=x_includes ;;
1917 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1918 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1919 x_includes=$ac_optarg ;;
1921 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1922 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1923 ac_prev=x_libraries ;;
1924 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1925 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1926 x_libraries=$ac_optarg ;;
1928 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1929 Try \`$0 --help' for more information"
1932 *=*)
1933 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1934 # Reject names that are not valid shell variable names.
1935 case $ac_envvar in #(
1936 '' | [0-9]* | *[!_$as_cr_alnum]* )
1937 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1938 esac
1939 eval $ac_envvar=\$ac_optarg
1940 export $ac_envvar ;;
1943 # FIXME: should be removed in autoconf 3.0.
1944 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1945 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1946 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1947 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1950 esac
1951 done
1953 if test -n "$ac_prev"; then
1954 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1955 as_fn_error $? "missing argument to $ac_option"
1958 if test -n "$ac_unrecognized_opts"; then
1959 case $enable_option_checking in
1960 no) ;;
1961 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1962 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1963 esac
1966 # Check all directory arguments for consistency.
1967 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1968 datadir sysconfdir sharedstatedir localstatedir includedir \
1969 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1970 libdir localedir mandir runstatedir
1972 eval ac_val=\$$ac_var
1973 # Remove trailing slashes.
1974 case $ac_val in
1975 */ )
1976 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1977 eval $ac_var=\$ac_val;;
1978 esac
1979 # Be sure to have absolute directory names.
1980 case $ac_val in
1981 [\\/$]* | ?:[\\/]* ) continue;;
1982 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1983 esac
1984 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1985 done
1987 # There might be people who depend on the old broken behavior: `$host'
1988 # used to hold the argument of --host etc.
1989 # FIXME: To remove some day.
1990 build=$build_alias
1991 host=$host_alias
1992 target=$target_alias
1994 # FIXME: To remove some day.
1995 if test "x$host_alias" != x; then
1996 if test "x$build_alias" = x; then
1997 cross_compiling=maybe
1998 elif test "x$build_alias" != "x$host_alias"; then
1999 cross_compiling=yes
2003 ac_tool_prefix=
2004 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2006 test "$silent" = yes && exec 6>/dev/null
2009 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2010 ac_ls_di=`ls -di .` &&
2011 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2012 as_fn_error $? "working directory cannot be determined"
2013 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2014 as_fn_error $? "pwd does not report name of working directory"
2017 # Find the source files, if location was not specified.
2018 if test -z "$srcdir"; then
2019 ac_srcdir_defaulted=yes
2020 # Try the directory containing this script, then the parent directory.
2021 ac_confdir=`$as_dirname -- "$as_myself" ||
2022 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2023 X"$as_myself" : 'X\(//\)[^/]' \| \
2024 X"$as_myself" : 'X\(//\)$' \| \
2025 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2026 $as_echo X"$as_myself" |
2027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2028 s//\1/
2031 /^X\(\/\/\)[^/].*/{
2032 s//\1/
2035 /^X\(\/\/\)$/{
2036 s//\1/
2039 /^X\(\/\).*/{
2040 s//\1/
2043 s/.*/./; q'`
2044 srcdir=$ac_confdir
2045 if test ! -r "$srcdir/$ac_unique_file"; then
2046 srcdir=..
2048 else
2049 ac_srcdir_defaulted=no
2051 if test ! -r "$srcdir/$ac_unique_file"; then
2052 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2053 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2055 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2056 ac_abs_confdir=`(
2057 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2058 pwd)`
2059 # When building in place, set srcdir=.
2060 if test "$ac_abs_confdir" = "$ac_pwd"; then
2061 srcdir=.
2063 # Remove unnecessary trailing slashes from srcdir.
2064 # Double slashes in file names in object file debugging info
2065 # mess up M-x gdb in Emacs.
2066 case $srcdir in
2067 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2068 esac
2069 for ac_var in $ac_precious_vars; do
2070 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2071 eval ac_env_${ac_var}_value=\$${ac_var}
2072 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2073 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2074 done
2077 # Report the --help message.
2079 if test "$ac_init_help" = "long"; then
2080 # Omit some internal or obsolete options to make the list less imposing.
2081 # This message is too long to be a string in the A/UX 3.1 sh.
2082 cat <<_ACEOF
2083 \`configure' configures Wine 1.7.52 to adapt to many kinds of systems.
2085 Usage: $0 [OPTION]... [VAR=VALUE]...
2087 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2088 VAR=VALUE. See below for descriptions of some of the useful variables.
2090 Defaults for the options are specified in brackets.
2092 Configuration:
2093 -h, --help display this help and exit
2094 --help=short display options specific to this package
2095 --help=recursive display the short help of all the included packages
2096 -V, --version display version information and exit
2097 -q, --quiet, --silent do not print \`checking ...' messages
2098 --cache-file=FILE cache test results in FILE [disabled]
2099 -C, --config-cache alias for \`--cache-file=config.cache'
2100 -n, --no-create do not create output files
2101 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2103 Installation directories:
2104 --prefix=PREFIX install architecture-independent files in PREFIX
2105 [$ac_default_prefix]
2106 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2107 [PREFIX]
2109 By default, \`make install' will install all the files in
2110 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2111 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2112 for instance \`--prefix=\$HOME'.
2114 For better control, use the options below.
2116 Fine tuning of the installation directories:
2117 --bindir=DIR user executables [EPREFIX/bin]
2118 --sbindir=DIR system admin executables [EPREFIX/sbin]
2119 --libexecdir=DIR program executables [EPREFIX/libexec]
2120 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2121 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2122 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2123 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2124 --libdir=DIR object code libraries [EPREFIX/lib]
2125 --includedir=DIR C header files [PREFIX/include]
2126 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2127 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2128 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2129 --infodir=DIR info documentation [DATAROOTDIR/info]
2130 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2131 --mandir=DIR man documentation [DATAROOTDIR/man]
2132 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2133 --htmldir=DIR html documentation [DOCDIR]
2134 --dvidir=DIR dvi documentation [DOCDIR]
2135 --pdfdir=DIR pdf documentation [DOCDIR]
2136 --psdir=DIR ps documentation [DOCDIR]
2137 _ACEOF
2139 cat <<\_ACEOF
2141 X features:
2142 --x-includes=DIR X include files are in DIR
2143 --x-libraries=DIR X library files are in DIR
2145 System types:
2146 --build=BUILD configure for building on BUILD [guessed]
2147 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2148 _ACEOF
2151 if test -n "$ac_init_help"; then
2152 case $ac_init_help in
2153 short | recursive ) echo "Configuration of Wine 1.7.52:";;
2154 esac
2155 cat <<\_ACEOF
2157 Optional Features:
2158 --disable-option-checking ignore unrecognized --enable/--with options
2159 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2160 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2161 --disable-win16 do not include Win16 support
2162 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2163 binaries)
2164 --disable-tests do not build the regression tests
2165 --enable-maintainer-mode
2166 enable maintainer-specific build rules
2167 --disable-largefile omit support for large files
2169 Optional Packages:
2170 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2171 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2172 --without-alsa do not use the Alsa sound support
2173 --without-capi do not use CAPI (ISDN support)
2174 --without-cms do not use CMS (color management support)
2175 --without-coreaudio do not use the CoreAudio sound support
2176 --without-cups do not use CUPS
2177 --without-curses do not use (n)curses
2178 --without-dbus do not use DBus (dynamic device support)
2179 --without-fontconfig do not use fontconfig
2180 --without-freetype do not use the FreeType library
2181 --without-gettext do not use gettext
2182 --with-gettextpo use the GetTextPO library to rebuild po files
2183 --without-gphoto do not use gphoto (Digital Camera support)
2184 --without-glu do not use the GLU library
2185 --without-gnutls do not use GnuTLS (schannel support)
2186 --without-gsm do not use libgsm (GSM 06.10 codec support)
2187 --without-gstreamer do not use GStreamer (codecs support)
2188 --without-hal do not use HAL (dynamic device support)
2189 --without-jpeg do not use JPEG
2190 --without-ldap do not use LDAP
2191 --without-mpg123 do not use the mpg123 library
2192 --without-netapi do not use the Samba NetAPI library
2193 --without-openal do not use OpenAL
2194 --without-opencl do not use OpenCL
2195 --without-opengl do not use OpenGL
2196 --without-osmesa do not use the OSMesa library
2197 --without-oss do not use the OSS sound support
2198 --without-pcap do not use the Packet Capture library
2199 --without-png do not use PNG
2200 --without-pthread do not use the pthread library
2201 --without-sane do not use SANE (scanner support)
2202 --without-tiff do not use TIFF
2203 --without-v4l do not use v4l1 (v4l support)
2204 --without-xcomposite do not use the Xcomposite extension
2205 --without-xcursor do not use the Xcursor extension
2206 --without-xinerama do not use Xinerama (multi-monitor support)
2207 --without-xinput do not use the Xinput extension
2208 --without-xinput2 do not use the Xinput 2 extension
2209 --without-xml do not use XML
2210 --without-xrandr do not use Xrandr (resolution changes)
2211 --without-xrender do not use the Xrender extension
2212 --without-xshape do not use the Xshape extension
2213 --without-xshm do not use XShm (shared memory extension)
2214 --without-xslt do not use XSLT
2215 --without-xxf86vm do not use XFree video mode extension
2216 --without-zlib do not use Zlib (data compression)
2217 --with-wine-tools=DIR use Wine tools from directory DIR
2218 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2219 --with-x use the X Window System
2221 Some influential environment variables:
2222 CC C compiler command
2223 CFLAGS C compiler flags
2224 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2225 nonstandard directory <lib dir>
2226 LIBS libraries to pass to the linker, e.g. -l<library>
2227 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2228 you have headers in a nonstandard directory <include dir>
2229 CXX C++ compiler command
2230 CXXFLAGS C++ compiler flags
2231 CPP C preprocessor
2232 XMKMF Path to xmkmf, Makefile generator for X Window System
2233 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2234 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2235 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2236 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2237 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2238 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2239 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2240 HAL_LIBS Linker flags for hal, overriding pkg-config
2241 GNUTLS_CFLAGS
2242 C compiler flags for gnutls, overriding pkg-config
2243 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2244 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2245 SANE_LIBS Linker flags for libsane, overriding pkg-config
2246 GPHOTO2_CFLAGS
2247 C compiler flags for libgphoto2, overriding pkg-config
2248 GPHOTO2_LIBS
2249 Linker flags for libgphoto2, overriding pkg-config
2250 GPHOTO2_PORT_CFLAGS
2251 C compiler flags for libgphoto2_port, overriding pkg-config
2252 GPHOTO2_PORT_LIBS
2253 Linker flags for libgphoto2_port, overriding pkg-config
2254 LCMS2_CFLAGS
2255 C compiler flags for lcms2, overriding pkg-config
2256 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2257 FREETYPE_CFLAGS
2258 C compiler flags for freetype2, overriding pkg-config
2259 FREETYPE_LIBS
2260 Linker flags for freetype2, overriding pkg-config
2261 GSTREAMER_CFLAGS
2262 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2263 GSTREAMER_LIBS
2264 Linker flags for gstreamer-app-0.10, overriding pkg-config
2265 CAPI20_CFLAGS
2266 C compiler flags for capi20, overriding pkg-config
2267 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2268 FONTCONFIG_CFLAGS
2269 C compiler flags for fontconfig, overriding pkg-config
2270 FONTCONFIG_LIBS
2271 Linker flags for fontconfig, overriding pkg-config
2272 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2273 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2274 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2275 PNG_LIBS Linker flags for libpng, overriding pkg-config
2276 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2277 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2278 MPG123_CFLAGS
2279 C compiler flags for libmpg123, overriding pkg-config
2280 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2282 Use these variables to override the choices made by `configure' or to help
2283 it to find libraries and programs with nonstandard names/locations.
2285 Report bugs to <wine-devel@winehq.org>.
2286 Wine home page: <http://www.winehq.org>.
2287 _ACEOF
2288 ac_status=$?
2291 if test "$ac_init_help" = "recursive"; then
2292 # If there are subdirs, report their specific --help.
2293 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2294 test -d "$ac_dir" ||
2295 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2296 continue
2297 ac_builddir=.
2299 case "$ac_dir" in
2300 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2302 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2303 # A ".." for each directory in $ac_dir_suffix.
2304 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2305 case $ac_top_builddir_sub in
2306 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2307 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2308 esac ;;
2309 esac
2310 ac_abs_top_builddir=$ac_pwd
2311 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2312 # for backward compatibility:
2313 ac_top_builddir=$ac_top_build_prefix
2315 case $srcdir in
2316 .) # We are building in place.
2317 ac_srcdir=.
2318 ac_top_srcdir=$ac_top_builddir_sub
2319 ac_abs_top_srcdir=$ac_pwd ;;
2320 [\\/]* | ?:[\\/]* ) # Absolute name.
2321 ac_srcdir=$srcdir$ac_dir_suffix;
2322 ac_top_srcdir=$srcdir
2323 ac_abs_top_srcdir=$srcdir ;;
2324 *) # Relative name.
2325 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2326 ac_top_srcdir=$ac_top_build_prefix$srcdir
2327 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2328 esac
2329 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2331 cd "$ac_dir" || { ac_status=$?; continue; }
2332 # Check for guested configure.
2333 if test -f "$ac_srcdir/configure.gnu"; then
2334 echo &&
2335 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2336 elif test -f "$ac_srcdir/configure"; then
2337 echo &&
2338 $SHELL "$ac_srcdir/configure" --help=recursive
2339 else
2340 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2341 fi || ac_status=$?
2342 cd "$ac_pwd" || { ac_status=$?; break; }
2343 done
2346 test -n "$ac_init_help" && exit $ac_status
2347 if $ac_init_version; then
2348 cat <<\_ACEOF
2349 Wine configure 1.7.52
2350 generated by GNU Autoconf 2.69
2352 Copyright (C) 2012 Free Software Foundation, Inc.
2353 This configure script is free software; the Free Software Foundation
2354 gives unlimited permission to copy, distribute and modify it.
2355 _ACEOF
2356 exit
2359 ## ------------------------ ##
2360 ## Autoconf initialization. ##
2361 ## ------------------------ ##
2363 # ac_fn_c_try_compile LINENO
2364 # --------------------------
2365 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2366 ac_fn_c_try_compile ()
2368 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2369 rm -f conftest.$ac_objext
2370 if { { ac_try="$ac_compile"
2371 case "(($ac_try" in
2372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2373 *) ac_try_echo=$ac_try;;
2374 esac
2375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2376 $as_echo "$ac_try_echo"; } >&5
2377 (eval "$ac_compile") 2>conftest.err
2378 ac_status=$?
2379 if test -s conftest.err; then
2380 grep -v '^ *+' conftest.err >conftest.er1
2381 cat conftest.er1 >&5
2382 mv -f conftest.er1 conftest.err
2384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2385 test $ac_status = 0; } && {
2386 test -z "$ac_c_werror_flag" ||
2387 test ! -s conftest.err
2388 } && test -s conftest.$ac_objext; then :
2389 ac_retval=0
2390 else
2391 $as_echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.$ac_ext >&5
2394 ac_retval=1
2396 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2397 as_fn_set_status $ac_retval
2399 } # ac_fn_c_try_compile
2401 # ac_fn_cxx_try_compile LINENO
2402 # ----------------------------
2403 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2404 ac_fn_cxx_try_compile ()
2406 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2407 rm -f conftest.$ac_objext
2408 if { { ac_try="$ac_compile"
2409 case "(($ac_try" in
2410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2411 *) ac_try_echo=$ac_try;;
2412 esac
2413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2414 $as_echo "$ac_try_echo"; } >&5
2415 (eval "$ac_compile") 2>conftest.err
2416 ac_status=$?
2417 if test -s conftest.err; then
2418 grep -v '^ *+' conftest.err >conftest.er1
2419 cat conftest.er1 >&5
2420 mv -f conftest.er1 conftest.err
2422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2423 test $ac_status = 0; } && {
2424 test -z "$ac_cxx_werror_flag" ||
2425 test ! -s conftest.err
2426 } && test -s conftest.$ac_objext; then :
2427 ac_retval=0
2428 else
2429 $as_echo "$as_me: failed program was:" >&5
2430 sed 's/^/| /' conftest.$ac_ext >&5
2432 ac_retval=1
2434 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2435 as_fn_set_status $ac_retval
2437 } # ac_fn_cxx_try_compile
2439 # ac_fn_c_try_link LINENO
2440 # -----------------------
2441 # Try to link conftest.$ac_ext, and return whether this succeeded.
2442 ac_fn_c_try_link ()
2444 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2445 rm -f conftest.$ac_objext conftest$ac_exeext
2446 if { { ac_try="$ac_link"
2447 case "(($ac_try" in
2448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2449 *) ac_try_echo=$ac_try;;
2450 esac
2451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2452 $as_echo "$ac_try_echo"; } >&5
2453 (eval "$ac_link") 2>conftest.err
2454 ac_status=$?
2455 if test -s conftest.err; then
2456 grep -v '^ *+' conftest.err >conftest.er1
2457 cat conftest.er1 >&5
2458 mv -f conftest.er1 conftest.err
2460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2461 test $ac_status = 0; } && {
2462 test -z "$ac_c_werror_flag" ||
2463 test ! -s conftest.err
2464 } && test -s conftest$ac_exeext && {
2465 test "$cross_compiling" = yes ||
2466 test -x conftest$ac_exeext
2467 }; then :
2468 ac_retval=0
2469 else
2470 $as_echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.$ac_ext >&5
2473 ac_retval=1
2475 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2476 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2477 # interfere with the next link command; also delete a directory that is
2478 # left behind by Apple's compiler. We do this before executing the actions.
2479 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2480 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2481 as_fn_set_status $ac_retval
2483 } # ac_fn_c_try_link
2485 # ac_fn_c_try_cpp LINENO
2486 # ----------------------
2487 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2488 ac_fn_c_try_cpp ()
2490 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2491 if { { ac_try="$ac_cpp conftest.$ac_ext"
2492 case "(($ac_try" in
2493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2494 *) ac_try_echo=$ac_try;;
2495 esac
2496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2497 $as_echo "$ac_try_echo"; } >&5
2498 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2499 ac_status=$?
2500 if test -s conftest.err; then
2501 grep -v '^ *+' conftest.err >conftest.er1
2502 cat conftest.er1 >&5
2503 mv -f conftest.er1 conftest.err
2505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2506 test $ac_status = 0; } > conftest.i && {
2507 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2508 test ! -s conftest.err
2509 }; then :
2510 ac_retval=0
2511 else
2512 $as_echo "$as_me: failed program was:" >&5
2513 sed 's/^/| /' conftest.$ac_ext >&5
2515 ac_retval=1
2517 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2518 as_fn_set_status $ac_retval
2520 } # ac_fn_c_try_cpp
2522 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2523 # -------------------------------------------------------
2524 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2525 # the include files in INCLUDES and setting the cache variable VAR
2526 # accordingly.
2527 ac_fn_c_check_header_mongrel ()
2529 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2530 if eval \${$3+:} false; then :
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2532 $as_echo_n "checking for $2... " >&6; }
2533 if eval \${$3+:} false; then :
2534 $as_echo_n "(cached) " >&6
2536 eval ac_res=\$$3
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2538 $as_echo "$ac_res" >&6; }
2539 else
2540 # Is the header compilable?
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2542 $as_echo_n "checking $2 usability... " >&6; }
2543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2544 /* end confdefs.h. */
2546 #include <$2>
2547 _ACEOF
2548 if ac_fn_c_try_compile "$LINENO"; then :
2549 ac_header_compiler=yes
2550 else
2551 ac_header_compiler=no
2553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2555 $as_echo "$ac_header_compiler" >&6; }
2557 # Is the header present?
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2559 $as_echo_n "checking $2 presence... " >&6; }
2560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2561 /* end confdefs.h. */
2562 #include <$2>
2563 _ACEOF
2564 if ac_fn_c_try_cpp "$LINENO"; then :
2565 ac_header_preproc=yes
2566 else
2567 ac_header_preproc=no
2569 rm -f conftest.err conftest.i conftest.$ac_ext
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2571 $as_echo "$ac_header_preproc" >&6; }
2573 # So? What about this header?
2574 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2575 yes:no: )
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2577 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2579 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2581 no:yes:* )
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2583 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2585 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2587 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2589 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2591 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2592 ( $as_echo "## ------------------------------------ ##
2593 ## Report this to wine-devel@winehq.org ##
2594 ## ------------------------------------ ##"
2595 ) | sed "s/^/$as_me: WARNING: /" >&2
2597 esac
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2599 $as_echo_n "checking for $2... " >&6; }
2600 if eval \${$3+:} false; then :
2601 $as_echo_n "(cached) " >&6
2602 else
2603 eval "$3=\$ac_header_compiler"
2605 eval ac_res=\$$3
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2607 $as_echo "$ac_res" >&6; }
2609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2611 } # ac_fn_c_check_header_mongrel
2613 # ac_fn_c_try_run LINENO
2614 # ----------------------
2615 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2616 # that executables *can* be run.
2617 ac_fn_c_try_run ()
2619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2620 if { { ac_try="$ac_link"
2621 case "(($ac_try" in
2622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2624 esac
2625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2626 $as_echo "$ac_try_echo"; } >&5
2627 (eval "$ac_link") 2>&5
2628 ac_status=$?
2629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2630 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2631 { { case "(($ac_try" in
2632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2633 *) ac_try_echo=$ac_try;;
2634 esac
2635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2636 $as_echo "$ac_try_echo"; } >&5
2637 (eval "$ac_try") 2>&5
2638 ac_status=$?
2639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2640 test $ac_status = 0; }; }; then :
2641 ac_retval=0
2642 else
2643 $as_echo "$as_me: program exited with status $ac_status" >&5
2644 $as_echo "$as_me: failed program was:" >&5
2645 sed 's/^/| /' conftest.$ac_ext >&5
2647 ac_retval=$ac_status
2649 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2651 as_fn_set_status $ac_retval
2653 } # ac_fn_c_try_run
2655 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2656 # -------------------------------------------------------
2657 # Tests whether HEADER exists and can be compiled using the include files in
2658 # INCLUDES, setting the cache variable VAR accordingly.
2659 ac_fn_c_check_header_compile ()
2661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2663 $as_echo_n "checking for $2... " >&6; }
2664 if eval \${$3+:} false; then :
2665 $as_echo_n "(cached) " >&6
2666 else
2667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2670 #include <$2>
2671 _ACEOF
2672 if ac_fn_c_try_compile "$LINENO"; then :
2673 eval "$3=yes"
2674 else
2675 eval "$3=no"
2677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2679 eval ac_res=\$$3
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2681 $as_echo "$ac_res" >&6; }
2682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2684 } # ac_fn_c_check_header_compile
2686 # ac_fn_c_check_func LINENO FUNC VAR
2687 # ----------------------------------
2688 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2689 ac_fn_c_check_func ()
2691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2693 $as_echo_n "checking for $2... " >&6; }
2694 if eval \${$3+:} false; then :
2695 $as_echo_n "(cached) " >&6
2696 else
2697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2698 /* end confdefs.h. */
2699 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2701 #define $2 innocuous_$2
2703 /* System header to define __stub macros and hopefully few prototypes,
2704 which can conflict with char $2 (); below.
2705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2706 <limits.h> exists even on freestanding compilers. */
2708 #ifdef __STDC__
2709 # include <limits.h>
2710 #else
2711 # include <assert.h>
2712 #endif
2714 #undef $2
2716 /* Override any GCC internal prototype to avoid an error.
2717 Use char because int might match the return type of a GCC
2718 builtin and then its argument prototype would still apply. */
2719 #ifdef __cplusplus
2720 extern "C"
2721 #endif
2722 char $2 ();
2723 /* The GNU C library defines this for functions which it implements
2724 to always fail with ENOSYS. Some functions are actually named
2725 something starting with __ and the normal name is an alias. */
2726 #if defined __stub_$2 || defined __stub___$2
2727 choke me
2728 #endif
2731 main ()
2733 return $2 ();
2735 return 0;
2737 _ACEOF
2738 if ac_fn_c_try_link "$LINENO"; then :
2739 eval "$3=yes"
2740 else
2741 eval "$3=no"
2743 rm -f core conftest.err conftest.$ac_objext \
2744 conftest$ac_exeext conftest.$ac_ext
2746 eval ac_res=\$$3
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2748 $as_echo "$ac_res" >&6; }
2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2751 } # ac_fn_c_check_func
2753 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2754 # ----------------------------------------------------
2755 # Tries to find if the field MEMBER exists in type AGGR, after including
2756 # INCLUDES, setting cache variable VAR accordingly.
2757 ac_fn_c_check_member ()
2759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2761 $as_echo_n "checking for $2.$3... " >&6; }
2762 if eval \${$4+:} false; then :
2763 $as_echo_n "(cached) " >&6
2764 else
2765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2766 /* end confdefs.h. */
2769 main ()
2771 static $2 ac_aggr;
2772 if (ac_aggr.$3)
2773 return 0;
2775 return 0;
2777 _ACEOF
2778 if ac_fn_c_try_compile "$LINENO"; then :
2779 eval "$4=yes"
2780 else
2781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2782 /* end confdefs.h. */
2785 main ()
2787 static $2 ac_aggr;
2788 if (sizeof ac_aggr.$3)
2789 return 0;
2791 return 0;
2793 _ACEOF
2794 if ac_fn_c_try_compile "$LINENO"; then :
2795 eval "$4=yes"
2796 else
2797 eval "$4=no"
2799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2803 eval ac_res=\$$4
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2805 $as_echo "$ac_res" >&6; }
2806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 } # ac_fn_c_check_member
2810 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2811 # -------------------------------------------
2812 # Tests whether TYPE exists after having included INCLUDES, setting cache
2813 # variable VAR accordingly.
2814 ac_fn_c_check_type ()
2816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2818 $as_echo_n "checking for $2... " >&6; }
2819 if eval \${$3+:} false; then :
2820 $as_echo_n "(cached) " >&6
2821 else
2822 eval "$3=no"
2823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2824 /* end confdefs.h. */
2827 main ()
2829 if (sizeof ($2))
2830 return 0;
2832 return 0;
2834 _ACEOF
2835 if ac_fn_c_try_compile "$LINENO"; then :
2836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837 /* end confdefs.h. */
2840 main ()
2842 if (sizeof (($2)))
2843 return 0;
2845 return 0;
2847 _ACEOF
2848 if ac_fn_c_try_compile "$LINENO"; then :
2850 else
2851 eval "$3=yes"
2853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2857 eval ac_res=\$$3
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2859 $as_echo "$ac_res" >&6; }
2860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2862 } # ac_fn_c_check_type
2863 cat >config.log <<_ACEOF
2864 This file contains any messages produced by compilers while
2865 running configure, to aid debugging if configure makes a mistake.
2867 It was created by Wine $as_me 1.7.52, which was
2868 generated by GNU Autoconf 2.69. Invocation command line was
2870 $ $0 $@
2872 _ACEOF
2873 exec 5>>config.log
2875 cat <<_ASUNAME
2876 ## --------- ##
2877 ## Platform. ##
2878 ## --------- ##
2880 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2881 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2882 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2883 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2884 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2886 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2887 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2889 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2890 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2891 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2892 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2893 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2894 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2895 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2897 _ASUNAME
2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 for as_dir in $PATH
2902 IFS=$as_save_IFS
2903 test -z "$as_dir" && as_dir=.
2904 $as_echo "PATH: $as_dir"
2905 done
2906 IFS=$as_save_IFS
2908 } >&5
2910 cat >&5 <<_ACEOF
2913 ## ----------- ##
2914 ## Core tests. ##
2915 ## ----------- ##
2917 _ACEOF
2920 # Keep a trace of the command line.
2921 # Strip out --no-create and --no-recursion so they do not pile up.
2922 # Strip out --silent because we don't want to record it for future runs.
2923 # Also quote any args containing shell meta-characters.
2924 # Make two passes to allow for proper duplicate-argument suppression.
2925 ac_configure_args=
2926 ac_configure_args0=
2927 ac_configure_args1=
2928 ac_must_keep_next=false
2929 for ac_pass in 1 2
2931 for ac_arg
2933 case $ac_arg in
2934 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2936 | -silent | --silent | --silen | --sile | --sil)
2937 continue ;;
2938 *\'*)
2939 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2940 esac
2941 case $ac_pass in
2942 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2944 as_fn_append ac_configure_args1 " '$ac_arg'"
2945 if test $ac_must_keep_next = true; then
2946 ac_must_keep_next=false # Got value, back to normal.
2947 else
2948 case $ac_arg in
2949 *=* | --config-cache | -C | -disable-* | --disable-* \
2950 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2951 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2952 | -with-* | --with-* | -without-* | --without-* | --x)
2953 case "$ac_configure_args0 " in
2954 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2955 esac
2957 -* ) ac_must_keep_next=true ;;
2958 esac
2960 as_fn_append ac_configure_args " '$ac_arg'"
2962 esac
2963 done
2964 done
2965 { ac_configure_args0=; unset ac_configure_args0;}
2966 { ac_configure_args1=; unset ac_configure_args1;}
2968 # When interrupted or exit'd, cleanup temporary files, and complete
2969 # config.log. We remove comments because anyway the quotes in there
2970 # would cause problems or look ugly.
2971 # WARNING: Use '\'' to represent an apostrophe within the trap.
2972 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2973 trap 'exit_status=$?
2974 # Save into config.log some information that might help in debugging.
2976 echo
2978 $as_echo "## ---------------- ##
2979 ## Cache variables. ##
2980 ## ---------------- ##"
2981 echo
2982 # The following way of writing the cache mishandles newlines in values,
2984 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2985 eval ac_val=\$$ac_var
2986 case $ac_val in #(
2987 *${as_nl}*)
2988 case $ac_var in #(
2989 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2990 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2991 esac
2992 case $ac_var in #(
2993 _ | IFS | as_nl) ;; #(
2994 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2995 *) { eval $ac_var=; unset $ac_var;} ;;
2996 esac ;;
2997 esac
2998 done
2999 (set) 2>&1 |
3000 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3001 *${as_nl}ac_space=\ *)
3002 sed -n \
3003 "s/'\''/'\''\\\\'\'''\''/g;
3004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3005 ;; #(
3007 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3009 esac |
3010 sort
3012 echo
3014 $as_echo "## ----------------- ##
3015 ## Output variables. ##
3016 ## ----------------- ##"
3017 echo
3018 for ac_var in $ac_subst_vars
3020 eval ac_val=\$$ac_var
3021 case $ac_val in
3022 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3023 esac
3024 $as_echo "$ac_var='\''$ac_val'\''"
3025 done | sort
3026 echo
3028 if test -n "$ac_subst_files"; then
3029 $as_echo "## ------------------- ##
3030 ## File substitutions. ##
3031 ## ------------------- ##"
3032 echo
3033 for ac_var in $ac_subst_files
3035 eval ac_val=\$$ac_var
3036 case $ac_val in
3037 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3038 esac
3039 $as_echo "$ac_var='\''$ac_val'\''"
3040 done | sort
3041 echo
3044 if test -s confdefs.h; then
3045 $as_echo "## ----------- ##
3046 ## confdefs.h. ##
3047 ## ----------- ##"
3048 echo
3049 cat confdefs.h
3050 echo
3052 test "$ac_signal" != 0 &&
3053 $as_echo "$as_me: caught signal $ac_signal"
3054 $as_echo "$as_me: exit $exit_status"
3055 } >&5
3056 rm -f core *.core core.conftest.* &&
3057 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3058 exit $exit_status
3060 for ac_signal in 1 2 13 15; do
3061 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3062 done
3063 ac_signal=0
3065 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3066 rm -f -r conftest* confdefs.h
3068 $as_echo "/* confdefs.h */" > confdefs.h
3070 # Predefined preprocessor variables.
3072 cat >>confdefs.h <<_ACEOF
3073 #define PACKAGE_NAME "$PACKAGE_NAME"
3074 _ACEOF
3076 cat >>confdefs.h <<_ACEOF
3077 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3078 _ACEOF
3080 cat >>confdefs.h <<_ACEOF
3081 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3082 _ACEOF
3084 cat >>confdefs.h <<_ACEOF
3085 #define PACKAGE_STRING "$PACKAGE_STRING"
3086 _ACEOF
3088 cat >>confdefs.h <<_ACEOF
3089 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3090 _ACEOF
3092 cat >>confdefs.h <<_ACEOF
3093 #define PACKAGE_URL "$PACKAGE_URL"
3094 _ACEOF
3097 # Let the site file select an alternate cache file if it wants to.
3098 # Prefer an explicitly selected file to automatically selected ones.
3099 ac_site_file1=NONE
3100 ac_site_file2=NONE
3101 if test -n "$CONFIG_SITE"; then
3102 # We do not want a PATH search for config.site.
3103 case $CONFIG_SITE in #((
3104 -*) ac_site_file1=./$CONFIG_SITE;;
3105 */*) ac_site_file1=$CONFIG_SITE;;
3106 *) ac_site_file1=./$CONFIG_SITE;;
3107 esac
3108 elif test "x$prefix" != xNONE; then
3109 ac_site_file1=$prefix/share/config.site
3110 ac_site_file2=$prefix/etc/config.site
3111 else
3112 ac_site_file1=$ac_default_prefix/share/config.site
3113 ac_site_file2=$ac_default_prefix/etc/config.site
3115 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3117 test "x$ac_site_file" = xNONE && continue
3118 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3120 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3121 sed 's/^/| /' "$ac_site_file" >&5
3122 . "$ac_site_file" \
3123 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3125 as_fn_error $? "failed to load site script $ac_site_file
3126 See \`config.log' for more details" "$LINENO" 5; }
3128 done
3130 if test -r "$cache_file"; then
3131 # Some versions of bash will fail to source /dev/null (special files
3132 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3133 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3135 $as_echo "$as_me: loading cache $cache_file" >&6;}
3136 case $cache_file in
3137 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3138 *) . "./$cache_file";;
3139 esac
3141 else
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3143 $as_echo "$as_me: creating cache $cache_file" >&6;}
3144 >$cache_file
3147 # Check that the precious variables saved in the cache have kept the same
3148 # value.
3149 ac_cache_corrupted=false
3150 for ac_var in $ac_precious_vars; do
3151 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3152 eval ac_new_set=\$ac_env_${ac_var}_set
3153 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3154 eval ac_new_val=\$ac_env_${ac_var}_value
3155 case $ac_old_set,$ac_new_set in
3156 set,)
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3158 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3159 ac_cache_corrupted=: ;;
3160 ,set)
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3162 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3163 ac_cache_corrupted=: ;;
3164 ,);;
3166 if test "x$ac_old_val" != "x$ac_new_val"; then
3167 # differences in whitespace do not lead to failure.
3168 ac_old_val_w=`echo x $ac_old_val`
3169 ac_new_val_w=`echo x $ac_new_val`
3170 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3172 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3173 ac_cache_corrupted=:
3174 else
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3176 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3177 eval $ac_var=\$ac_old_val
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3180 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3182 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3183 fi;;
3184 esac
3185 # Pass precious variables to config.status.
3186 if test "$ac_new_set" = set; then
3187 case $ac_new_val in
3188 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3189 *) ac_arg=$ac_var=$ac_new_val ;;
3190 esac
3191 case " $ac_configure_args " in
3192 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3193 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3194 esac
3196 done
3197 if $ac_cache_corrupted; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3201 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3202 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3204 ## -------------------- ##
3205 ## Main body of script. ##
3206 ## -------------------- ##
3208 ac_ext=c
3209 ac_cpp='$CPP $CPPFLAGS'
3210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3216 ac_config_headers="$ac_config_headers include/config.h"
3218 ac_aux_dir=
3219 for ac_dir in tools "$srcdir"/tools; do
3220 if 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/install.sh"; then
3225 ac_aux_dir=$ac_dir
3226 ac_install_sh="$ac_aux_dir/install.sh -c"
3227 break
3228 elif test -f "$ac_dir/shtool"; then
3229 ac_aux_dir=$ac_dir
3230 ac_install_sh="$ac_aux_dir/shtool install -c"
3231 break
3233 done
3234 if test -z "$ac_aux_dir"; then
3235 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3238 # These three variables are undocumented and unsupported,
3239 # and are intended to be withdrawn in a future Autoconf release.
3240 # They can cause serious problems if a builder's source tree is in a directory
3241 # whose full name contains unusual characters.
3242 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3243 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3244 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3248 libwine_version="1.0"
3252 # Check whether --enable-win16 was given.
3253 if test "${enable_win16+set}" = set; then :
3254 enableval=$enable_win16;
3257 # Check whether --enable-win64 was given.
3258 if test "${enable_win64+set}" = set; then :
3259 enableval=$enable_win64;
3262 # Check whether --enable-tests was given.
3263 if test "${enable_tests+set}" = set; then :
3264 enableval=$enable_tests;
3267 # Check whether --enable-maintainer-mode was given.
3268 if test "${enable_maintainer_mode+set}" = set; then :
3269 enableval=$enable_maintainer_mode;
3274 # Check whether --with-alsa was given.
3275 if test "${with_alsa+set}" = set; then :
3276 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3280 # Check whether --with-capi was given.
3281 if test "${with_capi+set}" = set; then :
3282 withval=$with_capi;
3286 # Check whether --with-cms was given.
3287 if test "${with_cms+set}" = set; then :
3288 withval=$with_cms;
3292 # Check whether --with-coreaudio was given.
3293 if test "${with_coreaudio+set}" = set; then :
3294 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3298 # Check whether --with-cups was given.
3299 if test "${with_cups+set}" = set; then :
3300 withval=$with_cups;
3304 # Check whether --with-curses was given.
3305 if test "${with_curses+set}" = set; then :
3306 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3310 # Check whether --with-dbus was given.
3311 if test "${with_dbus+set}" = set; then :
3312 withval=$with_dbus;
3316 # Check whether --with-fontconfig was given.
3317 if test "${with_fontconfig+set}" = set; then :
3318 withval=$with_fontconfig;
3322 # Check whether --with-freetype was given.
3323 if test "${with_freetype+set}" = set; then :
3324 withval=$with_freetype;
3328 # Check whether --with-gettext was given.
3329 if test "${with_gettext+set}" = set; then :
3330 withval=$with_gettext;
3334 # Check whether --with-gettextpo was given.
3335 if test "${with_gettextpo+set}" = set; then :
3336 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3340 # Check whether --with-gphoto was given.
3341 if test "${with_gphoto+set}" = set; then :
3342 withval=$with_gphoto;
3346 # Check whether --with-glu was given.
3347 if test "${with_glu+set}" = set; then :
3348 withval=$with_glu;
3352 # Check whether --with-gnutls was given.
3353 if test "${with_gnutls+set}" = set; then :
3354 withval=$with_gnutls;
3358 # Check whether --with-gsm was given.
3359 if test "${with_gsm+set}" = set; then :
3360 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3364 # Check whether --with-gstreamer was given.
3365 if test "${with_gstreamer+set}" = set; then :
3366 withval=$with_gstreamer;
3370 # Check whether --with-hal was given.
3371 if test "${with_hal+set}" = set; then :
3372 withval=$with_hal;
3376 # Check whether --with-jpeg was given.
3377 if test "${with_jpeg+set}" = set; then :
3378 withval=$with_jpeg;
3382 # Check whether --with-ldap was given.
3383 if test "${with_ldap+set}" = set; then :
3384 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3388 # Check whether --with-mpg123 was given.
3389 if test "${with_mpg123+set}" = set; then :
3390 withval=$with_mpg123;
3394 # Check whether --with-netapi was given.
3395 if test "${with_netapi+set}" = set; then :
3396 withval=$with_netapi;
3400 # Check whether --with-openal was given.
3401 if test "${with_openal+set}" = set; then :
3402 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3406 # Check whether --with-opencl was given.
3407 if test "${with_opencl+set}" = set; then :
3408 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3412 # Check whether --with-opengl was given.
3413 if test "${with_opengl+set}" = set; then :
3414 withval=$with_opengl;
3418 # Check whether --with-osmesa was given.
3419 if test "${with_osmesa+set}" = set; then :
3420 withval=$with_osmesa;
3424 # Check whether --with-oss was given.
3425 if test "${with_oss+set}" = set; then :
3426 withval=$with_oss;
3430 # Check whether --with-pcap was given.
3431 if test "${with_pcap+set}" = set; then :
3432 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3436 # Check whether --with-png was given.
3437 if test "${with_png+set}" = set; then :
3438 withval=$with_png;
3442 # Check whether --with-pthread was given.
3443 if test "${with_pthread+set}" = set; then :
3444 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3448 # Check whether --with-sane was given.
3449 if test "${with_sane+set}" = set; then :
3450 withval=$with_sane;
3454 # Check whether --with-tiff was given.
3455 if test "${with_tiff+set}" = set; then :
3456 withval=$with_tiff;
3460 # Check whether --with-v4l was given.
3461 if test "${with_v4l+set}" = set; then :
3462 withval=$with_v4l;
3466 # Check whether --with-xcomposite was given.
3467 if test "${with_xcomposite+set}" = set; then :
3468 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3472 # Check whether --with-xcursor was given.
3473 if test "${with_xcursor+set}" = set; then :
3474 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3478 # Check whether --with-xinerama was given.
3479 if test "${with_xinerama+set}" = set; then :
3480 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3484 # Check whether --with-xinput was given.
3485 if test "${with_xinput+set}" = set; then :
3486 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3490 # Check whether --with-xinput2 was given.
3491 if test "${with_xinput2+set}" = set; then :
3492 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3496 # Check whether --with-xml was given.
3497 if test "${with_xml+set}" = set; then :
3498 withval=$with_xml;
3502 # Check whether --with-xrandr was given.
3503 if test "${with_xrandr+set}" = set; then :
3504 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3508 # Check whether --with-xrender was given.
3509 if test "${with_xrender+set}" = set; then :
3510 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3514 # Check whether --with-xshape was given.
3515 if test "${with_xshape+set}" = set; then :
3516 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3520 # Check whether --with-xshm was given.
3521 if test "${with_xshm+set}" = set; then :
3522 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3526 # Check whether --with-xslt was given.
3527 if test "${with_xslt+set}" = set; then :
3528 withval=$with_xslt;
3532 # Check whether --with-xxf86vm was given.
3533 if test "${with_xxf86vm+set}" = set; then :
3534 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
3538 # Check whether --with-zlib was given.
3539 if test "${with_zlib+set}" = set; then :
3540 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3545 # Check whether --with-wine-tools was given.
3546 if test "${with_wine_tools+set}" = set; then :
3547 withval=$with_wine_tools;
3551 # Check whether --with-wine64 was given.
3552 if test "${with_wine64+set}" = set; then :
3553 withval=$with_wine64;
3557 # Make sure we can run config.sub.
3558 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3559 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3562 $as_echo_n "checking build system type... " >&6; }
3563 if ${ac_cv_build+:} false; then :
3564 $as_echo_n "(cached) " >&6
3565 else
3566 ac_build_alias=$build_alias
3567 test "x$ac_build_alias" = x &&
3568 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3569 test "x$ac_build_alias" = x &&
3570 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3571 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3572 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3576 $as_echo "$ac_cv_build" >&6; }
3577 case $ac_cv_build in
3578 *-*-*) ;;
3579 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3580 esac
3581 build=$ac_cv_build
3582 ac_save_IFS=$IFS; IFS='-'
3583 set x $ac_cv_build
3584 shift
3585 build_cpu=$1
3586 build_vendor=$2
3587 shift; shift
3588 # Remember, the first character of IFS is used to create $*,
3589 # except with old shells:
3590 build_os=$*
3591 IFS=$ac_save_IFS
3592 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3596 $as_echo_n "checking host system type... " >&6; }
3597 if ${ac_cv_host+:} false; then :
3598 $as_echo_n "(cached) " >&6
3599 else
3600 if test "x$host_alias" = x; then
3601 ac_cv_host=$ac_cv_build
3602 else
3603 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3604 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3609 $as_echo "$ac_cv_host" >&6; }
3610 case $ac_cv_host in
3611 *-*-*) ;;
3612 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3613 esac
3614 host=$ac_cv_host
3615 ac_save_IFS=$IFS; IFS='-'
3616 set x $ac_cv_host
3617 shift
3618 host_cpu=$1
3619 host_vendor=$2
3620 shift; shift
3621 # Remember, the first character of IFS is used to create $*,
3622 # except with old shells:
3623 host_os=$*
3624 IFS=$ac_save_IFS
3625 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3629 case "$srcdir" in
3630 .) ;;
3631 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3632 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3633 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3634 fi ;;
3635 esac
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3639 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3640 set x ${MAKE-make}
3641 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3642 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3643 $as_echo_n "(cached) " >&6
3644 else
3645 cat >conftest.make <<\_ACEOF
3646 SHELL = /bin/sh
3647 all:
3648 @echo '@@@%%%=$(MAKE)=@@@%%%'
3649 _ACEOF
3650 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3651 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3652 *@@@%%%=?*=@@@%%%*)
3653 eval ac_cv_prog_make_${ac_make}_set=yes;;
3655 eval ac_cv_prog_make_${ac_make}_set=no;;
3656 esac
3657 rm -f conftest.make
3659 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3661 $as_echo "yes" >&6; }
3662 SET_MAKE=
3663 else
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3666 SET_MAKE="MAKE=${MAKE-make}"
3669 ac_ext=c
3670 ac_cpp='$CPP $CPPFLAGS'
3671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3674 if test -n "$ac_tool_prefix"; then
3675 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3676 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if ${ac_cv_prog_CC+:} false; then :
3680 $as_echo_n "(cached) " >&6
3681 else
3682 if test -n "$CC"; then
3683 ac_cv_prog_CC="$CC" # Let the user override the test.
3684 else
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH
3688 IFS=$as_save_IFS
3689 test -z "$as_dir" && as_dir=.
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3692 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 break 2
3696 done
3697 done
3698 IFS=$as_save_IFS
3702 CC=$ac_cv_prog_CC
3703 if test -n "$CC"; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3705 $as_echo "$CC" >&6; }
3706 else
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708 $as_echo "no" >&6; }
3713 if test -z "$ac_cv_prog_CC"; then
3714 ac_ct_CC=$CC
3715 # Extract the first word of "gcc", so it can be a program name with args.
3716 set dummy gcc; ac_word=$2
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3718 $as_echo_n "checking for $ac_word... " >&6; }
3719 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3720 $as_echo_n "(cached) " >&6
3721 else
3722 if test -n "$ac_ct_CC"; then
3723 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3724 else
3725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726 for as_dir in $PATH
3728 IFS=$as_save_IFS
3729 test -z "$as_dir" && as_dir=.
3730 for ac_exec_ext in '' $ac_executable_extensions; do
3731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3732 ac_cv_prog_ac_ct_CC="gcc"
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 break 2
3736 done
3737 done
3738 IFS=$as_save_IFS
3742 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3743 if test -n "$ac_ct_CC"; then
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3745 $as_echo "$ac_ct_CC" >&6; }
3746 else
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3748 $as_echo "no" >&6; }
3751 if test "x$ac_ct_CC" = x; then
3752 CC=""
3753 else
3754 case $cross_compiling:$ac_tool_warned in
3755 yes:)
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3758 ac_tool_warned=yes ;;
3759 esac
3760 CC=$ac_ct_CC
3762 else
3763 CC="$ac_cv_prog_CC"
3766 if test -z "$CC"; then
3767 if test -n "$ac_tool_prefix"; then
3768 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3769 set dummy ${ac_tool_prefix}cc; ac_word=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if ${ac_cv_prog_CC+:} false; then :
3773 $as_echo_n "(cached) " >&6
3774 else
3775 if test -n "$CC"; then
3776 ac_cv_prog_CC="$CC" # Let the user override the test.
3777 else
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 for as_dir in $PATH
3781 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_CC="${ac_tool_prefix}cc"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 break 2
3789 done
3790 done
3791 IFS=$as_save_IFS
3795 CC=$ac_cv_prog_CC
3796 if test -n "$CC"; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3798 $as_echo "$CC" >&6; }
3799 else
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 $as_echo "no" >&6; }
3807 if test -z "$CC"; then
3808 # Extract the first word of "cc", so it can be a program name with args.
3809 set dummy cc; ac_word=$2
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3811 $as_echo_n "checking for $ac_word... " >&6; }
3812 if ${ac_cv_prog_CC+:} false; then :
3813 $as_echo_n "(cached) " >&6
3814 else
3815 if test -n "$CC"; then
3816 ac_cv_prog_CC="$CC" # Let the user override the test.
3817 else
3818 ac_prog_rejected=no
3819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820 for as_dir in $PATH
3822 IFS=$as_save_IFS
3823 test -z "$as_dir" && as_dir=.
3824 for ac_exec_ext in '' $ac_executable_extensions; do
3825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3826 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3827 ac_prog_rejected=yes
3828 continue
3830 ac_cv_prog_CC="cc"
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 break 2
3834 done
3835 done
3836 IFS=$as_save_IFS
3838 if test $ac_prog_rejected = yes; then
3839 # We found a bogon in the path, so make sure we never use it.
3840 set dummy $ac_cv_prog_CC
3841 shift
3842 if test $# != 0; then
3843 # We chose a different compiler from the bogus one.
3844 # However, it has the same basename, so the bogon will be chosen
3845 # first if we set CC to just the basename; use the full file name.
3846 shift
3847 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3852 CC=$ac_cv_prog_CC
3853 if test -n "$CC"; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3855 $as_echo "$CC" >&6; }
3856 else
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3863 if test -z "$CC"; then
3864 if test -n "$ac_tool_prefix"; then
3865 for ac_prog in cl.exe
3867 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3868 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3870 $as_echo_n "checking for $ac_word... " >&6; }
3871 if ${ac_cv_prog_CC+:} false; then :
3872 $as_echo_n "(cached) " >&6
3873 else
3874 if test -n "$CC"; then
3875 ac_cv_prog_CC="$CC" # Let the user override the test.
3876 else
3877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3878 for as_dir in $PATH
3880 IFS=$as_save_IFS
3881 test -z "$as_dir" && as_dir=.
3882 for ac_exec_ext in '' $ac_executable_extensions; do
3883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3884 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3886 break 2
3888 done
3889 done
3890 IFS=$as_save_IFS
3894 CC=$ac_cv_prog_CC
3895 if test -n "$CC"; then
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3897 $as_echo "$CC" >&6; }
3898 else
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3900 $as_echo "no" >&6; }
3904 test -n "$CC" && break
3905 done
3907 if test -z "$CC"; then
3908 ac_ct_CC=$CC
3909 for ac_prog in cl.exe
3911 # Extract the first word of "$ac_prog", so it can be a program name with args.
3912 set dummy $ac_prog; ac_word=$2
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3914 $as_echo_n "checking for $ac_word... " >&6; }
3915 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3916 $as_echo_n "(cached) " >&6
3917 else
3918 if test -n "$ac_ct_CC"; then
3919 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3920 else
3921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3922 for as_dir in $PATH
3924 IFS=$as_save_IFS
3925 test -z "$as_dir" && as_dir=.
3926 for ac_exec_ext in '' $ac_executable_extensions; do
3927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3928 ac_cv_prog_ac_ct_CC="$ac_prog"
3929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3930 break 2
3932 done
3933 done
3934 IFS=$as_save_IFS
3938 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3939 if test -n "$ac_ct_CC"; then
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3941 $as_echo "$ac_ct_CC" >&6; }
3942 else
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3944 $as_echo "no" >&6; }
3948 test -n "$ac_ct_CC" && break
3949 done
3951 if test "x$ac_ct_CC" = x; then
3952 CC=""
3953 else
3954 case $cross_compiling:$ac_tool_warned in
3955 yes:)
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3958 ac_tool_warned=yes ;;
3959 esac
3960 CC=$ac_ct_CC
3967 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3969 as_fn_error $? "no acceptable C compiler found in \$PATH
3970 See \`config.log' for more details" "$LINENO" 5; }
3972 # Provide some information about the compiler.
3973 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3974 set X $ac_compile
3975 ac_compiler=$2
3976 for ac_option in --version -v -V -qversion; do
3977 { { ac_try="$ac_compiler $ac_option >&5"
3978 case "(($ac_try" in
3979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3980 *) ac_try_echo=$ac_try;;
3981 esac
3982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3983 $as_echo "$ac_try_echo"; } >&5
3984 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3985 ac_status=$?
3986 if test -s conftest.err; then
3987 sed '10a\
3988 ... rest of stderr output deleted ...
3989 10q' conftest.err >conftest.er1
3990 cat conftest.er1 >&5
3992 rm -f conftest.er1 conftest.err
3993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3994 test $ac_status = 0; }
3995 done
3997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3998 /* end confdefs.h. */
4001 main ()
4005 return 0;
4007 _ACEOF
4008 ac_clean_files_save=$ac_clean_files
4009 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4010 # Try to create an executable without -o first, disregard a.out.
4011 # It will help us diagnose broken compilers, and finding out an intuition
4012 # of exeext.
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4014 $as_echo_n "checking whether the C compiler works... " >&6; }
4015 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4017 # The possible output files:
4018 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4020 ac_rmfiles=
4021 for ac_file in $ac_files
4023 case $ac_file in
4024 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4025 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4026 esac
4027 done
4028 rm -f $ac_rmfiles
4030 if { { ac_try="$ac_link_default"
4031 case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4034 esac
4035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036 $as_echo "$ac_try_echo"; } >&5
4037 (eval "$ac_link_default") 2>&5
4038 ac_status=$?
4039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4040 test $ac_status = 0; }; then :
4041 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4042 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4043 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4044 # so that the user can short-circuit this test for compilers unknown to
4045 # Autoconf.
4046 for ac_file in $ac_files ''
4048 test -f "$ac_file" || continue
4049 case $ac_file in
4050 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4052 [ab].out )
4053 # We found the default executable, but exeext='' is most
4054 # certainly right.
4055 break;;
4056 *.* )
4057 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4058 then :; else
4059 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4061 # We set ac_cv_exeext here because the later test for it is not
4062 # safe: cross compilers may not add the suffix if given an `-o'
4063 # argument, so we may need to know it at that point already.
4064 # Even if this section looks crufty: it has the advantage of
4065 # actually working.
4066 break;;
4068 break;;
4069 esac
4070 done
4071 test "$ac_cv_exeext" = no && ac_cv_exeext=
4073 else
4074 ac_file=''
4076 if test -z "$ac_file"; then :
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
4079 $as_echo "$as_me: failed program was:" >&5
4080 sed 's/^/| /' conftest.$ac_ext >&5
4082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4084 as_fn_error 77 "C compiler cannot create executables
4085 See \`config.log' for more details" "$LINENO" 5; }
4086 else
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4088 $as_echo "yes" >&6; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4091 $as_echo_n "checking for C compiler default output file name... " >&6; }
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4093 $as_echo "$ac_file" >&6; }
4094 ac_exeext=$ac_cv_exeext
4096 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4097 ac_clean_files=$ac_clean_files_save
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4099 $as_echo_n "checking for suffix of executables... " >&6; }
4100 if { { ac_try="$ac_link"
4101 case "(($ac_try" in
4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4104 esac
4105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107 (eval "$ac_link") 2>&5
4108 ac_status=$?
4109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110 test $ac_status = 0; }; then :
4111 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4112 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4113 # work properly (i.e., refer to `conftest.exe'), while it won't with
4114 # `rm'.
4115 for ac_file in conftest.exe conftest conftest.*; do
4116 test -f "$ac_file" || continue
4117 case $ac_file in
4118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4119 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4120 break;;
4121 * ) break;;
4122 esac
4123 done
4124 else
4125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4127 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4128 See \`config.log' for more details" "$LINENO" 5; }
4130 rm -f conftest conftest$ac_cv_exeext
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4132 $as_echo "$ac_cv_exeext" >&6; }
4134 rm -f conftest.$ac_ext
4135 EXEEXT=$ac_cv_exeext
4136 ac_exeext=$EXEEXT
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4139 #include <stdio.h>
4141 main ()
4143 FILE *f = fopen ("conftest.out", "w");
4144 return ferror (f) || fclose (f) != 0;
4147 return 0;
4149 _ACEOF
4150 ac_clean_files="$ac_clean_files conftest.out"
4151 # Check that the compiler produces executables we can run. If not, either
4152 # the compiler is broken, or we cross compile.
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4154 $as_echo_n "checking whether we are cross compiling... " >&6; }
4155 if test "$cross_compiling" != yes; then
4156 { { ac_try="$ac_link"
4157 case "(($ac_try" in
4158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4159 *) ac_try_echo=$ac_try;;
4160 esac
4161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4162 $as_echo "$ac_try_echo"; } >&5
4163 (eval "$ac_link") 2>&5
4164 ac_status=$?
4165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4166 test $ac_status = 0; }
4167 if { ac_try='./conftest$ac_cv_exeext'
4168 { { case "(($ac_try" in
4169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4170 *) ac_try_echo=$ac_try;;
4171 esac
4172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4173 $as_echo "$ac_try_echo"; } >&5
4174 (eval "$ac_try") 2>&5
4175 ac_status=$?
4176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4177 test $ac_status = 0; }; }; then
4178 cross_compiling=no
4179 else
4180 if test "$cross_compiling" = maybe; then
4181 cross_compiling=yes
4182 else
4183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4185 as_fn_error $? "cannot run C compiled programs.
4186 If you meant to cross compile, use \`--host'.
4187 See \`config.log' for more details" "$LINENO" 5; }
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4192 $as_echo "$cross_compiling" >&6; }
4194 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4195 ac_clean_files=$ac_clean_files_save
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4197 $as_echo_n "checking for suffix of object files... " >&6; }
4198 if ${ac_cv_objext+:} false; then :
4199 $as_echo_n "(cached) " >&6
4200 else
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4205 main ()
4209 return 0;
4211 _ACEOF
4212 rm -f conftest.o conftest.obj
4213 if { { ac_try="$ac_compile"
4214 case "(($ac_try" in
4215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4216 *) ac_try_echo=$ac_try;;
4217 esac
4218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4219 $as_echo "$ac_try_echo"; } >&5
4220 (eval "$ac_compile") 2>&5
4221 ac_status=$?
4222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4223 test $ac_status = 0; }; then :
4224 for ac_file in conftest.o conftest.obj conftest.*; do
4225 test -f "$ac_file" || continue;
4226 case $ac_file in
4227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4228 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4229 break;;
4230 esac
4231 done
4232 else
4233 $as_echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.$ac_ext >&5
4236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4238 as_fn_error $? "cannot compute suffix of object files: cannot compile
4239 See \`config.log' for more details" "$LINENO" 5; }
4241 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4244 $as_echo "$ac_cv_objext" >&6; }
4245 OBJEXT=$ac_cv_objext
4246 ac_objext=$OBJEXT
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4248 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4249 if ${ac_cv_c_compiler_gnu+:} false; then :
4250 $as_echo_n "(cached) " >&6
4251 else
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4256 main ()
4258 #ifndef __GNUC__
4259 choke me
4260 #endif
4263 return 0;
4265 _ACEOF
4266 if ac_fn_c_try_compile "$LINENO"; then :
4267 ac_compiler_gnu=yes
4268 else
4269 ac_compiler_gnu=no
4271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4276 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4277 if test $ac_compiler_gnu = yes; then
4278 GCC=yes
4279 else
4280 GCC=
4282 ac_test_CFLAGS=${CFLAGS+set}
4283 ac_save_CFLAGS=$CFLAGS
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4285 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4286 if ${ac_cv_prog_cc_g+:} false; then :
4287 $as_echo_n "(cached) " >&6
4288 else
4289 ac_save_c_werror_flag=$ac_c_werror_flag
4290 ac_c_werror_flag=yes
4291 ac_cv_prog_cc_g=no
4292 CFLAGS="-g"
4293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294 /* end confdefs.h. */
4297 main ()
4301 return 0;
4303 _ACEOF
4304 if ac_fn_c_try_compile "$LINENO"; then :
4305 ac_cv_prog_cc_g=yes
4306 else
4307 CFLAGS=""
4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4309 /* end confdefs.h. */
4312 main ()
4316 return 0;
4318 _ACEOF
4319 if ac_fn_c_try_compile "$LINENO"; then :
4321 else
4322 ac_c_werror_flag=$ac_save_c_werror_flag
4323 CFLAGS="-g"
4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4328 main ()
4332 return 0;
4334 _ACEOF
4335 if ac_fn_c_try_compile "$LINENO"; then :
4336 ac_cv_prog_cc_g=yes
4338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4343 ac_c_werror_flag=$ac_save_c_werror_flag
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4346 $as_echo "$ac_cv_prog_cc_g" >&6; }
4347 if test "$ac_test_CFLAGS" = set; then
4348 CFLAGS=$ac_save_CFLAGS
4349 elif test $ac_cv_prog_cc_g = yes; then
4350 if test "$GCC" = yes; then
4351 CFLAGS="-g -O2"
4352 else
4353 CFLAGS="-g"
4355 else
4356 if test "$GCC" = yes; then
4357 CFLAGS="-O2"
4358 else
4359 CFLAGS=
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4363 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4364 if ${ac_cv_prog_cc_c89+:} false; then :
4365 $as_echo_n "(cached) " >&6
4366 else
4367 ac_cv_prog_cc_c89=no
4368 ac_save_CC=$CC
4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4371 #include <stdarg.h>
4372 #include <stdio.h>
4373 struct stat;
4374 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4375 struct buf { int x; };
4376 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4377 static char *e (p, i)
4378 char **p;
4379 int i;
4381 return p[i];
4383 static char *f (char * (*g) (char **, int), char **p, ...)
4385 char *s;
4386 va_list v;
4387 va_start (v,p);
4388 s = g (p, va_arg (v,int));
4389 va_end (v);
4390 return s;
4393 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4394 function prototypes and stuff, but not '\xHH' hex character constants.
4395 These don't provoke an error unfortunately, instead are silently treated
4396 as 'x'. The following induces an error, until -std is added to get
4397 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4398 array size at least. It's necessary to write '\x00'==0 to get something
4399 that's true only with -std. */
4400 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4402 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4403 inside strings and character constants. */
4404 #define FOO(x) 'x'
4405 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4407 int test (int i, double x);
4408 struct s1 {int (*f) (int a);};
4409 struct s2 {int (*f) (double a);};
4410 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4411 int argc;
4412 char **argv;
4414 main ()
4416 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4418 return 0;
4420 _ACEOF
4421 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4422 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4424 CC="$ac_save_CC $ac_arg"
4425 if ac_fn_c_try_compile "$LINENO"; then :
4426 ac_cv_prog_cc_c89=$ac_arg
4428 rm -f core conftest.err conftest.$ac_objext
4429 test "x$ac_cv_prog_cc_c89" != "xno" && break
4430 done
4431 rm -f conftest.$ac_ext
4432 CC=$ac_save_CC
4435 # AC_CACHE_VAL
4436 case "x$ac_cv_prog_cc_c89" in
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4439 $as_echo "none needed" >&6; } ;;
4440 xno)
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4442 $as_echo "unsupported" >&6; } ;;
4444 CC="$CC $ac_cv_prog_cc_c89"
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4446 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4447 esac
4448 if test "x$ac_cv_prog_cc_c89" != xno; then :
4452 ac_ext=c
4453 ac_cpp='$CPP $CPPFLAGS'
4454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4458 ac_ext=cpp
4459 ac_cpp='$CXXCPP $CPPFLAGS'
4460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4463 if test -z "$CXX"; then
4464 if test -n "$CCC"; then
4465 CXX=$CCC
4466 else
4467 if test -n "$ac_tool_prefix"; then
4468 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if ${ac_cv_prog_CXX+:} false; then :
4475 $as_echo_n "(cached) " >&6
4476 else
4477 if test -n "$CXX"; then
4478 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4479 else
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH
4483 IFS=$as_save_IFS
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 break 2
4491 done
4492 done
4493 IFS=$as_save_IFS
4497 CXX=$ac_cv_prog_CXX
4498 if test -n "$CXX"; then
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4500 $as_echo "$CXX" >&6; }
4501 else
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503 $as_echo "no" >&6; }
4507 test -n "$CXX" && break
4508 done
4510 if test -z "$CXX"; then
4511 ac_ct_CXX=$CXX
4512 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4514 # Extract the first word of "$ac_prog", so it can be a program name with args.
4515 set dummy $ac_prog; ac_word=$2
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4517 $as_echo_n "checking for $ac_word... " >&6; }
4518 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4519 $as_echo_n "(cached) " >&6
4520 else
4521 if test -n "$ac_ct_CXX"; then
4522 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4523 else
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 for as_dir in $PATH
4527 IFS=$as_save_IFS
4528 test -z "$as_dir" && as_dir=.
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531 ac_cv_prog_ac_ct_CXX="$ac_prog"
4532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533 break 2
4535 done
4536 done
4537 IFS=$as_save_IFS
4541 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4542 if test -n "$ac_ct_CXX"; then
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4544 $as_echo "$ac_ct_CXX" >&6; }
4545 else
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547 $as_echo "no" >&6; }
4551 test -n "$ac_ct_CXX" && break
4552 done
4554 if test "x$ac_ct_CXX" = x; then
4555 CXX="g++"
4556 else
4557 case $cross_compiling:$ac_tool_warned in
4558 yes:)
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4561 ac_tool_warned=yes ;;
4562 esac
4563 CXX=$ac_ct_CXX
4569 # Provide some information about the compiler.
4570 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4571 set X $ac_compile
4572 ac_compiler=$2
4573 for ac_option in --version -v -V -qversion; do
4574 { { ac_try="$ac_compiler $ac_option >&5"
4575 case "(($ac_try" in
4576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4577 *) ac_try_echo=$ac_try;;
4578 esac
4579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4580 $as_echo "$ac_try_echo"; } >&5
4581 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4582 ac_status=$?
4583 if test -s conftest.err; then
4584 sed '10a\
4585 ... rest of stderr output deleted ...
4586 10q' conftest.err >conftest.er1
4587 cat conftest.er1 >&5
4589 rm -f conftest.er1 conftest.err
4590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4591 test $ac_status = 0; }
4592 done
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4595 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4596 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4597 $as_echo_n "(cached) " >&6
4598 else
4599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4603 main ()
4605 #ifndef __GNUC__
4606 choke me
4607 #endif
4610 return 0;
4612 _ACEOF
4613 if ac_fn_cxx_try_compile "$LINENO"; then :
4614 ac_compiler_gnu=yes
4615 else
4616 ac_compiler_gnu=no
4618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4623 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4624 if test $ac_compiler_gnu = yes; then
4625 GXX=yes
4626 else
4627 GXX=
4629 ac_test_CXXFLAGS=${CXXFLAGS+set}
4630 ac_save_CXXFLAGS=$CXXFLAGS
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4632 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4633 if ${ac_cv_prog_cxx_g+:} false; then :
4634 $as_echo_n "(cached) " >&6
4635 else
4636 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4637 ac_cxx_werror_flag=yes
4638 ac_cv_prog_cxx_g=no
4639 CXXFLAGS="-g"
4640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4641 /* end confdefs.h. */
4644 main ()
4648 return 0;
4650 _ACEOF
4651 if ac_fn_cxx_try_compile "$LINENO"; then :
4652 ac_cv_prog_cxx_g=yes
4653 else
4654 CXXFLAGS=""
4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4659 main ()
4663 return 0;
4665 _ACEOF
4666 if ac_fn_cxx_try_compile "$LINENO"; then :
4668 else
4669 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4670 CXXFLAGS="-g"
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4675 main ()
4679 return 0;
4681 _ACEOF
4682 if ac_fn_cxx_try_compile "$LINENO"; then :
4683 ac_cv_prog_cxx_g=yes
4685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4690 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4693 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4694 if test "$ac_test_CXXFLAGS" = set; then
4695 CXXFLAGS=$ac_save_CXXFLAGS
4696 elif test $ac_cv_prog_cxx_g = yes; then
4697 if test "$GXX" = yes; then
4698 CXXFLAGS="-g -O2"
4699 else
4700 CXXFLAGS="-g"
4702 else
4703 if test "$GXX" = yes; then
4704 CXXFLAGS="-O2"
4705 else
4706 CXXFLAGS=
4709 ac_ext=c
4710 ac_cpp='$CPP $CPPFLAGS'
4711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4715 if test -n "$ac_tool_prefix"; then
4716 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4717 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4719 $as_echo_n "checking for $ac_word... " >&6; }
4720 if ${ac_cv_prog_CPPBIN+:} false; then :
4721 $as_echo_n "(cached) " >&6
4722 else
4723 if test -n "$CPPBIN"; then
4724 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4725 else
4726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4727 for as_dir in $PATH
4729 IFS=$as_save_IFS
4730 test -z "$as_dir" && as_dir=.
4731 for ac_exec_ext in '' $ac_executable_extensions; do
4732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4733 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4735 break 2
4737 done
4738 done
4739 IFS=$as_save_IFS
4743 CPPBIN=$ac_cv_prog_CPPBIN
4744 if test -n "$CPPBIN"; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4746 $as_echo "$CPPBIN" >&6; }
4747 else
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749 $as_echo "no" >&6; }
4754 if test -z "$ac_cv_prog_CPPBIN"; then
4755 ac_ct_CPPBIN=$CPPBIN
4756 # Extract the first word of "cpp", so it can be a program name with args.
4757 set dummy cpp; ac_word=$2
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4759 $as_echo_n "checking for $ac_word... " >&6; }
4760 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4761 $as_echo_n "(cached) " >&6
4762 else
4763 if test -n "$ac_ct_CPPBIN"; then
4764 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4765 else
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 for as_dir in $PATH
4769 IFS=$as_save_IFS
4770 test -z "$as_dir" && as_dir=.
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4773 ac_cv_prog_ac_ct_CPPBIN="cpp"
4774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4775 break 2
4777 done
4778 done
4779 IFS=$as_save_IFS
4783 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4784 if test -n "$ac_ct_CPPBIN"; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4786 $as_echo "$ac_ct_CPPBIN" >&6; }
4787 else
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
4792 if test "x$ac_ct_CPPBIN" = x; then
4793 CPPBIN="cpp"
4794 else
4795 case $cross_compiling:$ac_tool_warned in
4796 yes:)
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4799 ac_tool_warned=yes ;;
4800 esac
4801 CPPBIN=$ac_ct_CPPBIN
4803 else
4804 CPPBIN="$ac_cv_prog_CPPBIN"
4808 cat >>confdefs.h <<_ACEOF
4809 #define EXEEXT "$ac_exeext"
4810 _ACEOF
4812 if test -n "$ac_tool_prefix"; then
4813 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4814 set dummy ${ac_tool_prefix}ld; ac_word=$2
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 $as_echo_n "checking for $ac_word... " >&6; }
4817 if ${ac_cv_prog_LD+:} false; then :
4818 $as_echo_n "(cached) " >&6
4819 else
4820 if test -n "$LD"; then
4821 ac_cv_prog_LD="$LD" # Let the user override the test.
4822 else
4823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4824 for as_dir in $PATH
4826 IFS=$as_save_IFS
4827 test -z "$as_dir" && as_dir=.
4828 for ac_exec_ext in '' $ac_executable_extensions; do
4829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4830 ac_cv_prog_LD="${ac_tool_prefix}ld"
4831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4832 break 2
4834 done
4835 done
4836 IFS=$as_save_IFS
4840 LD=$ac_cv_prog_LD
4841 if test -n "$LD"; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4843 $as_echo "$LD" >&6; }
4844 else
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 $as_echo "no" >&6; }
4851 if test -z "$ac_cv_prog_LD"; then
4852 ac_ct_LD=$LD
4853 # Extract the first word of "ld", so it can be a program name with args.
4854 set dummy ld; ac_word=$2
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4856 $as_echo_n "checking for $ac_word... " >&6; }
4857 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4858 $as_echo_n "(cached) " >&6
4859 else
4860 if test -n "$ac_ct_LD"; then
4861 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4862 else
4863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4864 for as_dir in $PATH
4866 IFS=$as_save_IFS
4867 test -z "$as_dir" && as_dir=.
4868 for ac_exec_ext in '' $ac_executable_extensions; do
4869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4870 ac_cv_prog_ac_ct_LD="ld"
4871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 break 2
4874 done
4875 done
4876 IFS=$as_save_IFS
4880 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4881 if test -n "$ac_ct_LD"; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4883 $as_echo "$ac_ct_LD" >&6; }
4884 else
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4889 if test "x$ac_ct_LD" = x; then
4890 LD=""
4891 else
4892 case $cross_compiling:$ac_tool_warned in
4893 yes:)
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4896 ac_tool_warned=yes ;;
4897 esac
4898 LD=$ac_ct_LD
4900 else
4901 LD="$ac_cv_prog_LD"
4905 case $host in
4906 *-darwin*)
4907 if test "x$enable_win64" = "xyes"
4908 then
4909 CC="$CC -m64"
4910 CXX="$CXX -m64"
4911 host_cpu="x86_64"
4912 notice_platform="64-bit "
4913 TARGETFLAGS="-m64"
4915 else
4916 CC="$CC -m32"
4917 CXX="$CXX -m32"
4918 host_cpu="i386"
4919 notice_platform="32-bit "
4920 TARGETFLAGS="-m32"
4922 enable_win16=${enable_win16:-yes}
4924 with_fontconfig=${with_fontconfig:-no}
4926 x86_64*|amd64*)
4927 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4928 then
4929 CC="$CC -m32"
4930 CXX="$CXX -m32"
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4932 $as_echo_n "checking whether $CC works... " >&6; }
4934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4935 /* end confdefs.h. */
4938 main ()
4942 return 0;
4944 _ACEOF
4945 if ac_fn_c_try_link "$LINENO"; then :
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4947 $as_echo "yes" >&6; }
4948 else
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4951 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4953 rm -f core conftest.err conftest.$ac_objext \
4954 conftest$ac_exeext conftest.$ac_ext
4955 host_cpu="i386"
4956 notice_platform="32-bit "
4957 TARGETFLAGS="-m32"
4959 enable_win16=${enable_win16:-yes}
4960 else
4961 if test "x${GCC}" = "xyes"
4962 then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4964 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4966 /* end confdefs.h. */
4967 #include <stdarg.h>
4969 main ()
4971 void func(__builtin_ms_va_list *args);
4973 return 0;
4975 _ACEOF
4976 if ac_fn_c_try_compile "$LINENO"; then :
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4978 $as_echo "yes" >&6; }
4979 else
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4981 $as_echo "no" >&6; }
4982 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4986 host_cpu="x86_64"
4987 TARGETFLAGS="-m64"
4991 arm*)
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4993 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
4996 int ac_test(int i) { return i; }
4998 main ()
5000 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5002 return 0;
5004 _ACEOF
5005 if ac_fn_c_try_link "$LINENO"; then :
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5007 $as_echo "yes" >&6; }
5008 else
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5011 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5013 rm -f core conftest.err conftest.$ac_objext \
5014 conftest$ac_exeext conftest.$ac_ext
5015 CFLAGS="$CFLAGS -marm"
5016 TARGETFLAGS="-marm"
5019 *-mingw32*|*-cygwin*)
5020 enable_win16=${enable_win16:-no}
5021 CFLAGS="$CFLAGS -D_WIN32"
5023 i[3456789]86*)
5024 enable_win16=${enable_win16:-yes}
5026 esac
5028 enable_win16=${enable_win16:-no}
5029 enable_win64=${enable_win64:-no}
5031 enable_winetest=${enable_winetest:-$enable_tests}
5033 if test -n "$with_wine64"
5034 then
5035 if test "x$enable_win64" = "xyes"
5036 then
5037 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5038 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5040 enable_fonts=${enable_fonts:-no}
5041 enable_server=${enable_server:-no}
5042 elif test "x$enable_win64" = "xyes"
5043 then
5044 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5048 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5049 if ${wine_cv_toolsdir+:} false; then :
5050 $as_echo_n "(cached) " >&6
5051 else
5052 wine_cv_toolsdir="$with_wine_tools"
5053 if test -z "$with_wine_tools"; then
5054 if test "$cross_compiling" = "yes"; then
5055 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5056 elif test -n "$with_wine64"; then
5057 wine_cv_toolsdir="$with_wine64"
5060 if test -z "$wine_cv_toolsdir"; then
5061 wine_makedep=tools/makedep
5062 wine_cv_toolsdir="\$(top_builddir)"
5063 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5064 wine_makedep=$wine_cv_toolsdir/tools/makedep
5065 case "$wine_cv_toolsdir" in
5066 /*) ;;
5067 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5068 esac
5069 enable_tools=${enable_tools:-no}
5070 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5071 else
5072 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5076 $as_echo "$wine_cv_toolsdir" >&6; }
5077 TOOLSDIR=$wine_cv_toolsdir
5079 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5080 then
5081 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5085 for ac_prog in flex
5087 # Extract the first word of "$ac_prog", so it can be a program name with args.
5088 set dummy $ac_prog; ac_word=$2
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090 $as_echo_n "checking for $ac_word... " >&6; }
5091 if ${ac_cv_prog_FLEX+:} false; then :
5092 $as_echo_n "(cached) " >&6
5093 else
5094 if test -n "$FLEX"; then
5095 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5096 else
5097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5098 for as_dir in $PATH
5100 IFS=$as_save_IFS
5101 test -z "$as_dir" && as_dir=.
5102 for ac_exec_ext in '' $ac_executable_extensions; do
5103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5104 ac_cv_prog_FLEX="$ac_prog"
5105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 break 2
5108 done
5109 done
5110 IFS=$as_save_IFS
5114 FLEX=$ac_cv_prog_FLEX
5115 if test -n "$FLEX"; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5117 $as_echo "$FLEX" >&6; }
5118 else
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5124 test -n "$FLEX" && break
5125 done
5126 test -n "$FLEX" || FLEX="none"
5128 if test "$FLEX" = "none"
5129 then
5130 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5133 $as_echo_n "checking whether flex is recent enough... " >&6; }
5134 cat >conftest.l <<EOF
5135 %top{
5136 #include "prediluvian.h"
5140 if $FLEX -t conftest.l >/dev/null 2>&5
5141 then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5143 $as_echo "yes" >&6; }
5144 else
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5147 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5150 for ac_prog in bison
5152 # Extract the first word of "$ac_prog", so it can be a program name with args.
5153 set dummy $ac_prog; ac_word=$2
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5155 $as_echo_n "checking for $ac_word... " >&6; }
5156 if ${ac_cv_prog_BISON+:} false; then :
5157 $as_echo_n "(cached) " >&6
5158 else
5159 if test -n "$BISON"; then
5160 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5161 else
5162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5163 for as_dir in $PATH
5165 IFS=$as_save_IFS
5166 test -z "$as_dir" && as_dir=.
5167 for ac_exec_ext in '' $ac_executable_extensions; do
5168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5169 ac_cv_prog_BISON="$ac_prog"
5170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 break 2
5173 done
5174 done
5175 IFS=$as_save_IFS
5179 BISON=$ac_cv_prog_BISON
5180 if test -n "$BISON"; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5182 $as_echo "$BISON" >&6; }
5183 else
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 $as_echo "no" >&6; }
5189 test -n "$BISON" && break
5190 done
5191 test -n "$BISON" || BISON="none"
5193 if test "$BISON" = "none"
5194 then
5195 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5198 if test -n "$ac_tool_prefix"; then
5199 for ac_prog in ar gar
5201 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5202 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204 $as_echo_n "checking for $ac_word... " >&6; }
5205 if ${ac_cv_prog_AR+:} false; then :
5206 $as_echo_n "(cached) " >&6
5207 else
5208 if test -n "$AR"; then
5209 ac_cv_prog_AR="$AR" # Let the user override the test.
5210 else
5211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 for as_dir in $PATH
5214 IFS=$as_save_IFS
5215 test -z "$as_dir" && as_dir=.
5216 for ac_exec_ext in '' $ac_executable_extensions; do
5217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5218 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 break 2
5222 done
5223 done
5224 IFS=$as_save_IFS
5228 AR=$ac_cv_prog_AR
5229 if test -n "$AR"; then
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5231 $as_echo "$AR" >&6; }
5232 else
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5234 $as_echo "no" >&6; }
5238 test -n "$AR" && break
5239 done
5241 if test -z "$AR"; then
5242 ac_ct_AR=$AR
5243 for ac_prog in ar gar
5245 # Extract the first word of "$ac_prog", so it can be a program name with args.
5246 set dummy $ac_prog; ac_word=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5250 $as_echo_n "(cached) " >&6
5251 else
5252 if test -n "$ac_ct_AR"; then
5253 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5254 else
5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 for as_dir in $PATH
5258 IFS=$as_save_IFS
5259 test -z "$as_dir" && as_dir=.
5260 for ac_exec_ext in '' $ac_executable_extensions; do
5261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_ac_ct_AR="$ac_prog"
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 break 2
5266 done
5267 done
5268 IFS=$as_save_IFS
5272 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5273 if test -n "$ac_ct_AR"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5275 $as_echo "$ac_ct_AR" >&6; }
5276 else
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5282 test -n "$ac_ct_AR" && break
5283 done
5285 if test "x$ac_ct_AR" = x; then
5286 AR="ar"
5287 else
5288 case $cross_compiling:$ac_tool_warned in
5289 yes:)
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5292 ac_tool_warned=yes ;;
5293 esac
5294 AR=$ac_ct_AR
5298 if test -n "$ac_tool_prefix"; then
5299 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5300 set dummy ${ac_tool_prefix}strip; ac_word=$2
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if ${ac_cv_prog_STRIP+:} false; then :
5304 $as_echo_n "(cached) " >&6
5305 else
5306 if test -n "$STRIP"; then
5307 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5308 else
5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 for as_dir in $PATH
5312 IFS=$as_save_IFS
5313 test -z "$as_dir" && as_dir=.
5314 for ac_exec_ext in '' $ac_executable_extensions; do
5315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5316 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 break 2
5320 done
5321 done
5322 IFS=$as_save_IFS
5326 STRIP=$ac_cv_prog_STRIP
5327 if test -n "$STRIP"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5329 $as_echo "$STRIP" >&6; }
5330 else
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5337 if test -z "$ac_cv_prog_STRIP"; then
5338 ac_ct_STRIP=$STRIP
5339 # Extract the first word of "strip", so it can be a program name with args.
5340 set dummy strip; ac_word=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5344 $as_echo_n "(cached) " >&6
5345 else
5346 if test -n "$ac_ct_STRIP"; then
5347 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5348 else
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 for as_dir in $PATH
5352 IFS=$as_save_IFS
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_ac_ct_STRIP="strip"
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 break 2
5360 done
5361 done
5362 IFS=$as_save_IFS
5366 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5367 if test -n "$ac_ct_STRIP"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5369 $as_echo "$ac_ct_STRIP" >&6; }
5370 else
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5375 if test "x$ac_ct_STRIP" = x; then
5376 STRIP="strip"
5377 else
5378 case $cross_compiling:$ac_tool_warned in
5379 yes:)
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5382 ac_tool_warned=yes ;;
5383 esac
5384 STRIP=$ac_ct_STRIP
5386 else
5387 STRIP="$ac_cv_prog_STRIP"
5390 ARFLAGS=rc
5392 if test -n "$ac_tool_prefix"; then
5393 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5394 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5396 $as_echo_n "checking for $ac_word... " >&6; }
5397 if ${ac_cv_prog_RANLIB+:} false; then :
5398 $as_echo_n "(cached) " >&6
5399 else
5400 if test -n "$RANLIB"; then
5401 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5402 else
5403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 for as_dir in $PATH
5406 IFS=$as_save_IFS
5407 test -z "$as_dir" && as_dir=.
5408 for ac_exec_ext in '' $ac_executable_extensions; do
5409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5410 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5412 break 2
5414 done
5415 done
5416 IFS=$as_save_IFS
5420 RANLIB=$ac_cv_prog_RANLIB
5421 if test -n "$RANLIB"; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5423 $as_echo "$RANLIB" >&6; }
5424 else
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5426 $as_echo "no" >&6; }
5431 if test -z "$ac_cv_prog_RANLIB"; then
5432 ac_ct_RANLIB=$RANLIB
5433 # Extract the first word of "ranlib", so it can be a program name with args.
5434 set dummy ranlib; ac_word=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5438 $as_echo_n "(cached) " >&6
5439 else
5440 if test -n "$ac_ct_RANLIB"; then
5441 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5442 else
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in $PATH
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_ac_ct_RANLIB="ranlib"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 break 2
5454 done
5455 done
5456 IFS=$as_save_IFS
5460 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5461 if test -n "$ac_ct_RANLIB"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5463 $as_echo "$ac_ct_RANLIB" >&6; }
5464 else
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5469 if test "x$ac_ct_RANLIB" = x; then
5470 RANLIB=":"
5471 else
5472 case $cross_compiling:$ac_tool_warned in
5473 yes:)
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5476 ac_tool_warned=yes ;;
5477 esac
5478 RANLIB=$ac_ct_RANLIB
5480 else
5481 RANLIB="$ac_cv_prog_RANLIB"
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5485 $as_echo_n "checking whether ln -s works... " >&6; }
5486 LN_S=$as_ln_s
5487 if test "$LN_S" = "ln -s"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5489 $as_echo "yes" >&6; }
5490 else
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5492 $as_echo "no, using $LN_S" >&6; }
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5496 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5497 if ${ac_cv_path_GREP+:} false; then :
5498 $as_echo_n "(cached) " >&6
5499 else
5500 if test -z "$GREP"; then
5501 ac_path_GREP_found=false
5502 # Loop through the user's path and test for each of PROGNAME-LIST
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5504 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5506 IFS=$as_save_IFS
5507 test -z "$as_dir" && as_dir=.
5508 for ac_prog in grep ggrep; do
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5511 as_fn_executable_p "$ac_path_GREP" || continue
5512 # Check for GNU ac_path_GREP and select it if it is found.
5513 # Check for GNU $ac_path_GREP
5514 case `"$ac_path_GREP" --version 2>&1` in
5515 *GNU*)
5516 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5518 ac_count=0
5519 $as_echo_n 0123456789 >"conftest.in"
5520 while :
5522 cat "conftest.in" "conftest.in" >"conftest.tmp"
5523 mv "conftest.tmp" "conftest.in"
5524 cp "conftest.in" "conftest.nl"
5525 $as_echo 'GREP' >> "conftest.nl"
5526 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5527 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5528 as_fn_arith $ac_count + 1 && ac_count=$as_val
5529 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5530 # Best one so far, save it but keep looking for a better one
5531 ac_cv_path_GREP="$ac_path_GREP"
5532 ac_path_GREP_max=$ac_count
5534 # 10*(2^10) chars as input seems more than enough
5535 test $ac_count -gt 10 && break
5536 done
5537 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5538 esac
5540 $ac_path_GREP_found && break 3
5541 done
5542 done
5543 done
5544 IFS=$as_save_IFS
5545 if test -z "$ac_cv_path_GREP"; then
5546 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5548 else
5549 ac_cv_path_GREP=$GREP
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5554 $as_echo "$ac_cv_path_GREP" >&6; }
5555 GREP="$ac_cv_path_GREP"
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5559 $as_echo_n "checking for egrep... " >&6; }
5560 if ${ac_cv_path_EGREP+:} false; then :
5561 $as_echo_n "(cached) " >&6
5562 else
5563 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5564 then ac_cv_path_EGREP="$GREP -E"
5565 else
5566 if test -z "$EGREP"; then
5567 ac_path_EGREP_found=false
5568 # Loop through the user's path and test for each of PROGNAME-LIST
5569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5570 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5572 IFS=$as_save_IFS
5573 test -z "$as_dir" && as_dir=.
5574 for ac_prog in egrep; do
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5577 as_fn_executable_p "$ac_path_EGREP" || continue
5578 # Check for GNU ac_path_EGREP and select it if it is found.
5579 # Check for GNU $ac_path_EGREP
5580 case `"$ac_path_EGREP" --version 2>&1` in
5581 *GNU*)
5582 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5584 ac_count=0
5585 $as_echo_n 0123456789 >"conftest.in"
5586 while :
5588 cat "conftest.in" "conftest.in" >"conftest.tmp"
5589 mv "conftest.tmp" "conftest.in"
5590 cp "conftest.in" "conftest.nl"
5591 $as_echo 'EGREP' >> "conftest.nl"
5592 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5593 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5594 as_fn_arith $ac_count + 1 && ac_count=$as_val
5595 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5596 # Best one so far, save it but keep looking for a better one
5597 ac_cv_path_EGREP="$ac_path_EGREP"
5598 ac_path_EGREP_max=$ac_count
5600 # 10*(2^10) chars as input seems more than enough
5601 test $ac_count -gt 10 && break
5602 done
5603 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5604 esac
5606 $ac_path_EGREP_found && break 3
5607 done
5608 done
5609 done
5610 IFS=$as_save_IFS
5611 if test -z "$ac_cv_path_EGREP"; then
5612 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5614 else
5615 ac_cv_path_EGREP=$EGREP
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5621 $as_echo "$ac_cv_path_EGREP" >&6; }
5622 EGREP="$ac_cv_path_EGREP"
5625 # Extract the first word of "ldconfig", so it can be a program name with args.
5626 set dummy ldconfig; ac_word=$2
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5628 $as_echo_n "checking for $ac_word... " >&6; }
5629 if ${ac_cv_path_LDCONFIG+:} false; then :
5630 $as_echo_n "(cached) " >&6
5631 else
5632 case $LDCONFIG in
5633 [\\/]* | ?:[\\/]*)
5634 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5638 for as_dir in /sbin /usr/sbin $PATH
5640 IFS=$as_save_IFS
5641 test -z "$as_dir" && as_dir=.
5642 for ac_exec_ext in '' $ac_executable_extensions; do
5643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5644 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5646 break 2
5648 done
5649 done
5650 IFS=$as_save_IFS
5652 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5654 esac
5656 LDCONFIG=$ac_cv_path_LDCONFIG
5657 if test -n "$LDCONFIG"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5659 $as_echo "$LDCONFIG" >&6; }
5660 else
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5662 $as_echo "no" >&6; }
5666 for ac_prog in msgfmt
5668 # Extract the first word of "$ac_prog", so it can be a program name with args.
5669 set dummy $ac_prog; ac_word=$2
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5671 $as_echo_n "checking for $ac_word... " >&6; }
5672 if ${ac_cv_prog_MSGFMT+:} false; then :
5673 $as_echo_n "(cached) " >&6
5674 else
5675 if test -n "$MSGFMT"; then
5676 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5677 else
5678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5679 for as_dir in $PATH
5681 IFS=$as_save_IFS
5682 test -z "$as_dir" && as_dir=.
5683 for ac_exec_ext in '' $ac_executable_extensions; do
5684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5685 ac_cv_prog_MSGFMT="$ac_prog"
5686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5687 break 2
5689 done
5690 done
5691 IFS=$as_save_IFS
5695 MSGFMT=$ac_cv_prog_MSGFMT
5696 if test -n "$MSGFMT"; then
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5698 $as_echo "$MSGFMT" >&6; }
5699 else
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5701 $as_echo "no" >&6; }
5705 test -n "$MSGFMT" && break
5706 done
5707 test -n "$MSGFMT" || MSGFMT="false"
5709 if ${ac_tool_prefix+:} false; then :
5710 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5711 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5715 $as_echo_n "(cached) " >&6
5716 else
5717 if test -n "$PKG_CONFIG"; then
5718 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5723 IFS=$as_save_IFS
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5727 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 break 2
5731 done
5732 done
5733 IFS=$as_save_IFS
5737 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5738 if test -n "$PKG_CONFIG"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5740 $as_echo "$PKG_CONFIG" >&6; }
5741 else
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5748 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5749 if test "x$cross_compiling" = xyes; then :
5751 else
5752 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5753 # Extract the first word of "pkg-config", so it can be a program name with args.
5754 set dummy pkg-config; ac_word=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5758 $as_echo_n "(cached) " >&6
5759 else
5760 if test -n "$PKG_CONFIG"; then
5761 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5762 else
5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 for as_dir in $PATH
5766 IFS=$as_save_IFS
5767 test -z "$as_dir" && as_dir=.
5768 for ac_exec_ext in '' $ac_executable_extensions; do
5769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5770 ac_cv_prog_PKG_CONFIG="pkg-config"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 break 2
5774 done
5775 done
5776 IFS=$as_save_IFS
5780 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5781 if test -n "$PKG_CONFIG"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5783 $as_echo "$PKG_CONFIG" >&6; }
5784 else
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5791 else
5792 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5795 if test "x$enable_maintainer_mode" != "xyes"
5796 then
5797 FONTFORGE=""
5798 RSVG=""
5799 CONVERT=""
5800 ICOTOOL=""
5801 else
5802 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5803 for ac_prog in fontforge
5805 # Extract the first word of "$ac_prog", so it can be a program name with args.
5806 set dummy $ac_prog; ac_word=$2
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5808 $as_echo_n "checking for $ac_word... " >&6; }
5809 if ${ac_cv_prog_FONTFORGE+:} false; then :
5810 $as_echo_n "(cached) " >&6
5811 else
5812 if test -n "$FONTFORGE"; then
5813 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5814 else
5815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5816 for as_dir in $PATH
5818 IFS=$as_save_IFS
5819 test -z "$as_dir" && as_dir=.
5820 for ac_exec_ext in '' $ac_executable_extensions; do
5821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5822 ac_cv_prog_FONTFORGE="$ac_prog"
5823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 break 2
5826 done
5827 done
5828 IFS=$as_save_IFS
5832 FONTFORGE=$ac_cv_prog_FONTFORGE
5833 if test -n "$FONTFORGE"; then
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5835 $as_echo "$FONTFORGE" >&6; }
5836 else
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5838 $as_echo "no" >&6; }
5842 test -n "$FONTFORGE" && break
5843 done
5844 test -n "$FONTFORGE" || FONTFORGE="false"
5846 for ac_prog in rsvg-convert rsvg
5848 # Extract the first word of "$ac_prog", so it can be a program name with args.
5849 set dummy $ac_prog; ac_word=$2
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5851 $as_echo_n "checking for $ac_word... " >&6; }
5852 if ${ac_cv_prog_RSVG+:} false; then :
5853 $as_echo_n "(cached) " >&6
5854 else
5855 if test -n "$RSVG"; then
5856 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5857 else
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5859 for as_dir in $PATH
5861 IFS=$as_save_IFS
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5865 ac_cv_prog_RSVG="$ac_prog"
5866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5867 break 2
5869 done
5870 done
5871 IFS=$as_save_IFS
5875 RSVG=$ac_cv_prog_RSVG
5876 if test -n "$RSVG"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5878 $as_echo "$RSVG" >&6; }
5879 else
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5881 $as_echo "no" >&6; }
5885 test -n "$RSVG" && break
5886 done
5887 test -n "$RSVG" || RSVG="false"
5889 for ac_prog in convert
5891 # Extract the first word of "$ac_prog", so it can be a program name with args.
5892 set dummy $ac_prog; ac_word=$2
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894 $as_echo_n "checking for $ac_word... " >&6; }
5895 if ${ac_cv_prog_CONVERT+:} false; then :
5896 $as_echo_n "(cached) " >&6
5897 else
5898 if test -n "$CONVERT"; then
5899 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5900 else
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 for as_dir in $PATH
5904 IFS=$as_save_IFS
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_CONVERT="$ac_prog"
5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 break 2
5912 done
5913 done
5914 IFS=$as_save_IFS
5918 CONVERT=$ac_cv_prog_CONVERT
5919 if test -n "$CONVERT"; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5921 $as_echo "$CONVERT" >&6; }
5922 else
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924 $as_echo "no" >&6; }
5928 test -n "$CONVERT" && break
5929 done
5930 test -n "$CONVERT" || CONVERT="false"
5932 for ac_prog in icotool
5934 # Extract the first word of "$ac_prog", so it can be a program name with args.
5935 set dummy $ac_prog; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if ${ac_cv_prog_ICOTOOL+:} false; then :
5939 $as_echo_n "(cached) " >&6
5940 else
5941 if test -n "$ICOTOOL"; then
5942 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5943 else
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5945 for as_dir in $PATH
5947 IFS=$as_save_IFS
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5951 ac_cv_prog_ICOTOOL="$ac_prog"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953 break 2
5955 done
5956 done
5957 IFS=$as_save_IFS
5961 ICOTOOL=$ac_cv_prog_ICOTOOL
5962 if test -n "$ICOTOOL"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5964 $as_echo "$ICOTOOL" >&6; }
5965 else
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5971 test -n "$ICOTOOL" && break
5972 done
5973 test -n "$ICOTOOL" || ICOTOOL="false"
5975 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5976 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5978 if test "$CONVERT" = false
5979 then
5980 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5981 else
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5983 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5984 convert_version=`convert --version | head -n1`
5985 if test "x$convert_version" != "x"
5986 then
5987 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5988 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5989 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5990 then
5991 CONVERT=false
5994 if test "$CONVERT" = false
5995 then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5997 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5998 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5999 else
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6001 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6005 if test "$ICOTOOL" = false
6006 then
6007 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6008 else
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6010 $as_echo_n "checking for recent enough icotool... " >&6; }
6011 icotool_version=`icotool --version | head -n1`
6012 if test "x$icotool_version" != "x"
6013 then
6014 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6015 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6016 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6017 then
6018 ICOTOOL=false
6019 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6022 if test "$ICOTOOL" = false
6023 then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6025 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6026 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6027 else
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6029 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6033 with_gettext=yes
6034 with_gettextpo=yes
6035 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6038 test "x$with_gettext" != xno || MSGFMT=false
6039 if test "$MSGFMT" != "false"
6040 then
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6042 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6043 cat >conftest.po <<EOF
6044 # comment
6045 msgctxt "ctxt"
6046 msgid "id"
6047 msgstr "str"
6049 if $MSGFMT -o /dev/null conftest.po 2>&5
6050 then
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6052 $as_echo "yes" >&6; }
6053 else
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055 $as_echo "no" >&6; }
6056 MSGFMT=false
6059 if test "$MSGFMT" = false; then :
6060 case "x$with_gettext" in
6061 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6062 xno) ;;
6063 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6064 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6065 esac
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6070 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6071 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6072 $as_echo_n "(cached) " >&6
6073 else
6074 ac_check_lib_save_LIBS=$LIBS
6075 LIBS="-li386 $LIBS"
6076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6077 /* end confdefs.h. */
6079 /* Override any GCC internal prototype to avoid an error.
6080 Use char because int might match the return type of a GCC
6081 builtin and then its argument prototype would still apply. */
6082 #ifdef __cplusplus
6083 extern "C"
6084 #endif
6085 char i386_set_ldt ();
6087 main ()
6089 return i386_set_ldt ();
6091 return 0;
6093 _ACEOF
6094 if ac_fn_c_try_link "$LINENO"; then :
6095 ac_cv_lib_i386_i386_set_ldt=yes
6096 else
6097 ac_cv_lib_i386_i386_set_ldt=no
6099 rm -f core conftest.err conftest.$ac_objext \
6100 conftest$ac_exeext conftest.$ac_ext
6101 LIBS=$ac_check_lib_save_LIBS
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6104 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6105 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6106 cat >>confdefs.h <<_ACEOF
6107 #define HAVE_LIBI386 1
6108 _ACEOF
6110 LIBS="-li386 $LIBS"
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6115 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6116 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 ac_check_lib_save_LIBS=$LIBS
6120 LIBS="-lossaudio $LIBS"
6121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6122 /* end confdefs.h. */
6124 /* Override any GCC internal prototype to avoid an error.
6125 Use char because int might match the return type of a GCC
6126 builtin and then its argument prototype would still apply. */
6127 #ifdef __cplusplus
6128 extern "C"
6129 #endif
6130 char _oss_ioctl ();
6132 main ()
6134 return _oss_ioctl ();
6136 return 0;
6138 _ACEOF
6139 if ac_fn_c_try_link "$LINENO"; then :
6140 ac_cv_lib_ossaudio__oss_ioctl=yes
6141 else
6142 ac_cv_lib_ossaudio__oss_ioctl=no
6144 rm -f core conftest.err conftest.$ac_objext \
6145 conftest$ac_exeext conftest.$ac_ext
6146 LIBS=$ac_check_lib_save_LIBS
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6149 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6150 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6151 cat >>confdefs.h <<_ACEOF
6152 #define HAVE_LIBOSSAUDIO 1
6153 _ACEOF
6155 LIBS="-lossaudio $LIBS"
6160 OPENGL_LIBS=""
6164 # Check whether --enable-largefile was given.
6165 if test "${enable_largefile+set}" = set; then :
6166 enableval=$enable_largefile;
6169 if test "$enable_largefile" != no; then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6172 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6173 if ${ac_cv_sys_largefile_CC+:} false; then :
6174 $as_echo_n "(cached) " >&6
6175 else
6176 ac_cv_sys_largefile_CC=no
6177 if test "$GCC" != yes; then
6178 ac_save_CC=$CC
6179 while :; do
6180 # IRIX 6.2 and later do not support large files by default,
6181 # so use the C compiler's -n32 option if that helps.
6182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6183 /* end confdefs.h. */
6184 #include <sys/types.h>
6185 /* Check that off_t can represent 2**63 - 1 correctly.
6186 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6187 since some C++ compilers masquerading as C compilers
6188 incorrectly reject 9223372036854775807. */
6189 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6190 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6191 && LARGE_OFF_T % 2147483647 == 1)
6192 ? 1 : -1];
6194 main ()
6198 return 0;
6200 _ACEOF
6201 if ac_fn_c_try_compile "$LINENO"; then :
6202 break
6204 rm -f core conftest.err conftest.$ac_objext
6205 CC="$CC -n32"
6206 if ac_fn_c_try_compile "$LINENO"; then :
6207 ac_cv_sys_largefile_CC=' -n32'; break
6209 rm -f core conftest.err conftest.$ac_objext
6210 break
6211 done
6212 CC=$ac_save_CC
6213 rm -f conftest.$ac_ext
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6217 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6218 if test "$ac_cv_sys_largefile_CC" != no; then
6219 CC=$CC$ac_cv_sys_largefile_CC
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6223 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6224 if ${ac_cv_sys_file_offset_bits+:} false; then :
6225 $as_echo_n "(cached) " >&6
6226 else
6227 while :; do
6228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6229 /* end confdefs.h. */
6230 #include <sys/types.h>
6231 /* Check that off_t can represent 2**63 - 1 correctly.
6232 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6233 since some C++ compilers masquerading as C compilers
6234 incorrectly reject 9223372036854775807. */
6235 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6236 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6237 && LARGE_OFF_T % 2147483647 == 1)
6238 ? 1 : -1];
6240 main ()
6244 return 0;
6246 _ACEOF
6247 if ac_fn_c_try_compile "$LINENO"; then :
6248 ac_cv_sys_file_offset_bits=no; break
6250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6252 /* end confdefs.h. */
6253 #define _FILE_OFFSET_BITS 64
6254 #include <sys/types.h>
6255 /* Check that off_t can represent 2**63 - 1 correctly.
6256 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6257 since some C++ compilers masquerading as C compilers
6258 incorrectly reject 9223372036854775807. */
6259 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6260 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6261 && LARGE_OFF_T % 2147483647 == 1)
6262 ? 1 : -1];
6264 main ()
6268 return 0;
6270 _ACEOF
6271 if ac_fn_c_try_compile "$LINENO"; then :
6272 ac_cv_sys_file_offset_bits=64; break
6274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6275 ac_cv_sys_file_offset_bits=unknown
6276 break
6277 done
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6280 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6281 case $ac_cv_sys_file_offset_bits in #(
6282 no | unknown) ;;
6284 cat >>confdefs.h <<_ACEOF
6285 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6286 _ACEOF
6288 esac
6289 rm -rf conftest*
6290 if test $ac_cv_sys_file_offset_bits = unknown; then
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6292 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6293 if ${ac_cv_sys_large_files+:} false; then :
6294 $as_echo_n "(cached) " >&6
6295 else
6296 while :; do
6297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6299 #include <sys/types.h>
6300 /* Check that off_t can represent 2**63 - 1 correctly.
6301 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6302 since some C++ compilers masquerading as C compilers
6303 incorrectly reject 9223372036854775807. */
6304 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6305 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6306 && LARGE_OFF_T % 2147483647 == 1)
6307 ? 1 : -1];
6309 main ()
6313 return 0;
6315 _ACEOF
6316 if ac_fn_c_try_compile "$LINENO"; then :
6317 ac_cv_sys_large_files=no; break
6319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6322 #define _LARGE_FILES 1
6323 #include <sys/types.h>
6324 /* Check that off_t can represent 2**63 - 1 correctly.
6325 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6326 since some C++ compilers masquerading as C compilers
6327 incorrectly reject 9223372036854775807. */
6328 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6329 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6330 && LARGE_OFF_T % 2147483647 == 1)
6331 ? 1 : -1];
6333 main ()
6337 return 0;
6339 _ACEOF
6340 if ac_fn_c_try_compile "$LINENO"; then :
6341 ac_cv_sys_large_files=1; break
6343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6344 ac_cv_sys_large_files=unknown
6345 break
6346 done
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6349 $as_echo "$ac_cv_sys_large_files" >&6; }
6350 case $ac_cv_sys_large_files in #(
6351 no | unknown) ;;
6353 cat >>confdefs.h <<_ACEOF
6354 #define _LARGE_FILES $ac_cv_sys_large_files
6355 _ACEOF
6357 esac
6358 rm -rf conftest*
6365 ac_ext=c
6366 ac_cpp='$CPP $CPPFLAGS'
6367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6371 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6372 # On Suns, sometimes $CPP names a directory.
6373 if test -n "$CPP" && test -d "$CPP"; then
6374 CPP=
6376 if test -z "$CPP"; then
6377 if ${ac_cv_prog_CPP+:} false; then :
6378 $as_echo_n "(cached) " >&6
6379 else
6380 # Double quotes because CPP needs to be expanded
6381 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6383 ac_preproc_ok=false
6384 for ac_c_preproc_warn_flag in '' yes
6386 # Use a header file that comes with gcc, so configuring glibc
6387 # with a fresh cross-compiler works.
6388 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6389 # <limits.h> exists even on freestanding compilers.
6390 # On the NeXT, cc -E runs the code through the compiler's parser,
6391 # not just through cpp. "Syntax error" is here to catch this case.
6392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6394 #ifdef __STDC__
6395 # include <limits.h>
6396 #else
6397 # include <assert.h>
6398 #endif
6399 Syntax error
6400 _ACEOF
6401 if ac_fn_c_try_cpp "$LINENO"; then :
6403 else
6404 # Broken: fails on valid input.
6405 continue
6407 rm -f conftest.err conftest.i conftest.$ac_ext
6409 # OK, works on sane cases. Now check whether nonexistent headers
6410 # can be detected and how.
6411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6412 /* end confdefs.h. */
6413 #include <ac_nonexistent.h>
6414 _ACEOF
6415 if ac_fn_c_try_cpp "$LINENO"; then :
6416 # Broken: success on invalid input.
6417 continue
6418 else
6419 # Passes both tests.
6420 ac_preproc_ok=:
6421 break
6423 rm -f conftest.err conftest.i conftest.$ac_ext
6425 done
6426 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6427 rm -f conftest.i conftest.err conftest.$ac_ext
6428 if $ac_preproc_ok; then :
6429 break
6432 done
6433 ac_cv_prog_CPP=$CPP
6436 CPP=$ac_cv_prog_CPP
6437 else
6438 ac_cv_prog_CPP=$CPP
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6441 $as_echo "$CPP" >&6; }
6442 ac_preproc_ok=false
6443 for ac_c_preproc_warn_flag in '' yes
6445 # Use a header file that comes with gcc, so configuring glibc
6446 # with a fresh cross-compiler works.
6447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6448 # <limits.h> exists even on freestanding compilers.
6449 # On the NeXT, cc -E runs the code through the compiler's parser,
6450 # not just through cpp. "Syntax error" is here to catch this case.
6451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6452 /* end confdefs.h. */
6453 #ifdef __STDC__
6454 # include <limits.h>
6455 #else
6456 # include <assert.h>
6457 #endif
6458 Syntax error
6459 _ACEOF
6460 if ac_fn_c_try_cpp "$LINENO"; then :
6462 else
6463 # Broken: fails on valid input.
6464 continue
6466 rm -f conftest.err conftest.i conftest.$ac_ext
6468 # OK, works on sane cases. Now check whether nonexistent headers
6469 # can be detected and how.
6470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6471 /* end confdefs.h. */
6472 #include <ac_nonexistent.h>
6473 _ACEOF
6474 if ac_fn_c_try_cpp "$LINENO"; then :
6475 # Broken: success on invalid input.
6476 continue
6477 else
6478 # Passes both tests.
6479 ac_preproc_ok=:
6480 break
6482 rm -f conftest.err conftest.i conftest.$ac_ext
6484 done
6485 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6486 rm -f conftest.i conftest.err conftest.$ac_ext
6487 if $ac_preproc_ok; then :
6489 else
6490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6492 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6493 See \`config.log' for more details" "$LINENO" 5; }
6496 ac_ext=c
6497 ac_cpp='$CPP $CPPFLAGS'
6498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6504 $as_echo_n "checking for ANSI C header files... " >&6; }
6505 if ${ac_cv_header_stdc+:} false; then :
6506 $as_echo_n "(cached) " >&6
6507 else
6508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6509 /* end confdefs.h. */
6510 #include <stdlib.h>
6511 #include <stdarg.h>
6512 #include <string.h>
6513 #include <float.h>
6516 main ()
6520 return 0;
6522 _ACEOF
6523 if ac_fn_c_try_compile "$LINENO"; then :
6524 ac_cv_header_stdc=yes
6525 else
6526 ac_cv_header_stdc=no
6528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6530 if test $ac_cv_header_stdc = yes; then
6531 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6533 /* end confdefs.h. */
6534 #include <string.h>
6536 _ACEOF
6537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6538 $EGREP "memchr" >/dev/null 2>&1; then :
6540 else
6541 ac_cv_header_stdc=no
6543 rm -f conftest*
6547 if test $ac_cv_header_stdc = yes; then
6548 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6550 /* end confdefs.h. */
6551 #include <stdlib.h>
6553 _ACEOF
6554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6555 $EGREP "free" >/dev/null 2>&1; then :
6557 else
6558 ac_cv_header_stdc=no
6560 rm -f conftest*
6564 if test $ac_cv_header_stdc = yes; then
6565 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6566 if test "$cross_compiling" = yes; then :
6568 else
6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6571 #include <ctype.h>
6572 #include <stdlib.h>
6573 #if ((' ' & 0x0FF) == 0x020)
6574 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6575 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6576 #else
6577 # define ISLOWER(c) \
6578 (('a' <= (c) && (c) <= 'i') \
6579 || ('j' <= (c) && (c) <= 'r') \
6580 || ('s' <= (c) && (c) <= 'z'))
6581 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6582 #endif
6584 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6586 main ()
6588 int i;
6589 for (i = 0; i < 256; i++)
6590 if (XOR (islower (i), ISLOWER (i))
6591 || toupper (i) != TOUPPER (i))
6592 return 2;
6593 return 0;
6595 _ACEOF
6596 if ac_fn_c_try_run "$LINENO"; then :
6598 else
6599 ac_cv_header_stdc=no
6601 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6602 conftest.$ac_objext conftest.beam conftest.$ac_ext
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6608 $as_echo "$ac_cv_header_stdc" >&6; }
6609 if test $ac_cv_header_stdc = yes; then
6611 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6615 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6616 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6617 inttypes.h stdint.h unistd.h
6618 do :
6619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6620 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6622 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6623 cat >>confdefs.h <<_ACEOF
6624 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6625 _ACEOF
6629 done
6632 for ac_header in \
6633 AL/al.h \
6634 ApplicationServices/ApplicationServices.h \
6635 AudioToolbox/AudioConverter.h \
6636 AudioUnit/AudioUnit.h \
6637 AudioUnit/AudioComponent.h \
6638 CL/cl.h \
6639 Carbon/Carbon.h \
6640 CoreAudio/CoreAudio.h \
6641 CoreServices/CoreServices.h \
6642 DiskArbitration/DiskArbitration.h \
6643 IOKit/IOKitLib.h \
6644 IOKit/hid/IOHIDLib.h \
6645 OpenAL/al.h \
6646 OpenCL/opencl.h \
6647 QuickTime/ImageCompression.h \
6648 Security/Security.h \
6649 alias.h \
6650 alsa/asoundlib.h \
6651 arpa/inet.h \
6652 arpa/nameser.h \
6653 asm/types.h \
6654 asm/user.h \
6655 curses.h \
6656 direct.h \
6657 dirent.h \
6658 dlfcn.h \
6659 elf.h \
6660 float.h \
6661 fnmatch.h \
6662 getopt.h \
6663 gettext-po.h \
6664 grp.h \
6665 gsm.h \
6666 gsm/gsm.h \
6667 ieeefp.h \
6668 inet/mib2.h \
6669 io.h \
6670 kstat.h \
6671 lber.h \
6672 ldap.h \
6673 libproc.h \
6674 link.h \
6675 linux/cdrom.h \
6676 linux/compiler.h \
6677 linux/filter.h \
6678 linux/hdreg.h \
6679 linux/input.h \
6680 linux/ioctl.h \
6681 linux/joystick.h \
6682 linux/major.h \
6683 linux/param.h \
6684 linux/serial.h \
6685 linux/types.h \
6686 linux/ucdrom.h \
6687 lwp.h \
6688 mach-o/nlist.h \
6689 mach-o/loader.h \
6690 mach/mach.h \
6691 mach/machine.h \
6692 machine/cpu.h \
6693 machine/limits.h \
6694 machine/sysarch.h \
6695 mntent.h \
6696 ncurses.h \
6697 netdb.h \
6698 netinet/in.h \
6699 netinet/in_systm.h \
6700 netinet/tcp.h \
6701 netinet/tcp_fsm.h \
6702 pcap/pcap.h \
6703 poll.h \
6704 port.h \
6705 process.h \
6706 pthread.h \
6707 pwd.h \
6708 sched.h \
6709 scsi/scsi.h \
6710 scsi/scsi_ioctl.h \
6711 scsi/sg.h \
6712 stdbool.h \
6713 stdint.h \
6714 stropts.h \
6715 sys/asoundlib.h \
6716 sys/attr.h \
6717 sys/cdio.h \
6718 sys/elf32.h \
6719 sys/epoll.h \
6720 sys/event.h \
6721 sys/exec_elf.h \
6722 sys/filio.h \
6723 sys/inotify.h \
6724 sys/ioctl.h \
6725 sys/ipc.h \
6726 sys/limits.h \
6727 sys/link.h \
6728 sys/mman.h \
6729 sys/modem.h \
6730 sys/msg.h \
6731 sys/mtio.h \
6732 sys/param.h \
6733 sys/poll.h \
6734 sys/prctl.h \
6735 sys/protosw.h \
6736 sys/ptrace.h \
6737 sys/queue.h \
6738 sys/resource.h \
6739 sys/scsiio.h \
6740 sys/shm.h \
6741 sys/signal.h \
6742 sys/socket.h \
6743 sys/socketvar.h \
6744 sys/sockio.h \
6745 sys/statvfs.h \
6746 sys/strtio.h \
6747 sys/syscall.h \
6748 sys/tihdr.h \
6749 sys/time.h \
6750 sys/timeout.h \
6751 sys/times.h \
6752 sys/uio.h \
6753 sys/user.h \
6754 sys/utsname.h \
6755 sys/vm86.h \
6756 sys/vnode.h \
6757 sys/wait.h \
6758 syscall.h \
6759 termios.h \
6760 unistd.h \
6761 utime.h \
6762 valgrind/memcheck.h \
6763 valgrind/valgrind.h \
6764 zlib.h
6766 do :
6767 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6768 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6769 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6770 cat >>confdefs.h <<_ACEOF
6771 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6772 _ACEOF
6776 done
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6779 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6780 if ${ac_cv_header_stat_broken+:} false; then :
6781 $as_echo_n "(cached) " >&6
6782 else
6783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6784 /* end confdefs.h. */
6785 #include <sys/types.h>
6786 #include <sys/stat.h>
6788 #if defined S_ISBLK && defined S_IFDIR
6789 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6790 #endif
6792 #if defined S_ISBLK && defined S_IFCHR
6793 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6794 #endif
6796 #if defined S_ISLNK && defined S_IFREG
6797 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6798 #endif
6800 #if defined S_ISSOCK && defined S_IFREG
6801 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6802 #endif
6804 _ACEOF
6805 if ac_fn_c_try_compile "$LINENO"; then :
6806 ac_cv_header_stat_broken=no
6807 else
6808 ac_cv_header_stat_broken=yes
6810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6813 $as_echo "$ac_cv_header_stat_broken" >&6; }
6814 if test $ac_cv_header_stat_broken = yes; then
6816 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6822 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6823 do :
6824 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6825 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6826 #ifdef HAVE_SYS_PARAM_H
6827 # include <sys/param.h>
6828 #endif
6830 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6831 cat >>confdefs.h <<_ACEOF
6832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6833 _ACEOF
6837 done
6840 for ac_header in \
6841 netinet/ip.h \
6842 net/if.h \
6843 net/if_arp.h \
6844 net/if_dl.h \
6845 net/if_types.h \
6846 net/route.h \
6847 netinet/if_ether.h \
6848 netinet/if_inarp.h \
6849 netinet/in_pcb.h \
6850 netinet/ip_icmp.h \
6851 netinet/ip_var.h \
6852 netinet/udp.h \
6853 netipx/ipx.h \
6854 sys/un.h \
6856 do :
6857 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6858 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6859 #ifdef HAVE_SYS_SOCKET_H
6860 # include <sys/socket.h>
6861 #endif
6862 #ifdef HAVE_SYS_SOCKETVAR_H
6863 # include <sys/socketvar.h>
6864 #endif
6865 #ifdef HAVE_NET_ROUTE_H
6866 # include <net/route.h>
6867 #endif
6868 #ifdef HAVE_NETINET_IN_H
6869 # include <netinet/in.h>
6870 #endif
6871 #ifdef HAVE_NETINET_IN_SYSTM_H
6872 # include <netinet/in_systm.h>
6873 #endif
6874 #ifdef HAVE_NET_IF_H
6875 # include <net/if.h>
6876 #endif
6877 #ifdef HAVE_NETINET_IP_H
6878 # include <netinet/ip.h>
6879 #endif
6881 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6882 cat >>confdefs.h <<_ACEOF
6883 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6884 _ACEOF
6888 done
6891 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6892 do :
6893 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6894 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6895 #ifdef HAVE_ALIAS_H
6896 # include <alias.h>
6897 #endif
6898 #ifdef HAVE_SYS_SOCKET_H
6899 # include <sys/socket.h>
6900 #endif
6901 #ifdef HAVE_SYS_SOCKETVAR_H
6902 # include <sys/socketvar.h>
6903 #endif
6904 #ifdef HAVE_SYS_TIMEOUT_H
6905 # include <sys/timeout.h>
6906 #endif
6907 #ifdef HAVE_NETINET_IN_H
6908 # include <netinet/in.h>
6909 #endif
6910 #ifdef HAVE_NETINET_IN_SYSTM_H
6911 # include <netinet/in_systm.h>
6912 #endif
6913 #ifdef HAVE_NETINET_IP_H
6914 # include <netinet/ip.h>
6915 #endif
6916 #ifdef HAVE_NETINET_IP_VAR_H
6917 # include <netinet/ip_var.h>
6918 #endif
6919 #ifdef HAVE_NETINET_IP_ICMP_H
6920 # include <netinet/ip_icmp.h>
6921 #endif
6922 #ifdef HAVE_NETINET_UDP_H
6923 # include <netinet/udp.h>
6924 #endif
6925 #ifdef HAVE_NETINET_TCP_H
6926 # include <netinet/tcp.h>
6927 #endif
6928 #ifdef HAVE_NETINET_TCP_TIMER_H
6929 #include <netinet/tcp_timer.h>
6930 #endif
6932 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6933 cat >>confdefs.h <<_ACEOF
6934 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6935 _ACEOF
6939 done
6942 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6943 do :
6944 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6945 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6946 #ifdef HAVE_ASM_TYPES_H
6947 # include <asm/types.h>
6948 #endif
6949 #ifdef HAVE_SYS_SOCKET_H
6950 # include <sys/socket.h>
6951 #endif
6952 #ifdef HAVE_LINUX_TYPES_H
6953 # include <linux/types.h>
6954 #endif
6956 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6957 cat >>confdefs.h <<_ACEOF
6958 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6959 _ACEOF
6963 done
6966 for ac_header in mach-o/dyld_images.h
6967 do :
6968 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6969 # include <stdbool.h>
6970 #endif
6971 #ifdef HAVE_STDINT_H
6972 # include <stdint.h>
6973 #endif
6975 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6976 cat >>confdefs.h <<_ACEOF
6977 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6978 _ACEOF
6982 done
6985 for ac_header in resolv.h
6986 do :
6987 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6988 #ifdef HAVE_SYS_SOCKET_H
6989 # include <sys/socket.h>
6990 #endif
6991 #ifdef HAVE_NETINET_IN_H
6992 # include <netinet/in.h>
6993 #endif
6994 #ifdef HAVE_ARPA_NAMESER_H
6995 # include <arpa/nameser.h>
6996 #endif
6998 if test "x$ac_cv_header_resolv_h" = xyes; then :
6999 cat >>confdefs.h <<_ACEOF
7000 #define HAVE_RESOLV_H 1
7001 _ACEOF
7005 done
7008 for ac_header in ifaddrs.h
7009 do :
7010 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7012 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7013 cat >>confdefs.h <<_ACEOF
7014 #define HAVE_IFADDRS_H 1
7015 _ACEOF
7019 done
7022 for ac_header in sys/ucontext.h
7023 do :
7024 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7026 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7027 cat >>confdefs.h <<_ACEOF
7028 #define HAVE_SYS_UCONTEXT_H 1
7029 _ACEOF
7033 done
7036 for ac_header in sys/thr.h
7037 do :
7038 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7039 #ifdef HAVE_SYS_UCONTEXT_H
7040 #include <sys/ucontext.h>
7041 #endif
7043 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7044 cat >>confdefs.h <<_ACEOF
7045 #define HAVE_SYS_THR_H 1
7046 _ACEOF
7050 done
7053 for ac_header in pthread_np.h
7054 do :
7055 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7056 #include <pthread.h>
7057 #endif
7059 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7060 cat >>confdefs.h <<_ACEOF
7061 #define HAVE_PTHREAD_NP_H 1
7062 _ACEOF
7066 done
7069 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7070 do :
7071 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7072 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7073 #include <sys/time.h>
7074 #endif
7075 #include <sys/types.h>
7076 #ifdef HAVE_ASM_TYPES_H
7077 #include <asm/types.h>
7078 #endif
7080 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7081 cat >>confdefs.h <<_ACEOF
7082 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7083 _ACEOF
7087 done
7090 for ac_header in libprocstat.h
7091 do :
7092 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7093 #include <sys/param.h>
7094 #endif
7095 #ifdef HAVE_SYS_QUEUE_H
7096 #include <sys/queue.h>
7097 #endif
7098 #ifdef HAVE_SYS_SOCKET_H
7099 #include <sys/socket.h>
7100 #endif
7102 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7103 cat >>confdefs.h <<_ACEOF
7104 #define HAVE_LIBPROCSTAT_H 1
7105 _ACEOF
7109 done
7113 dlldir="\${libdir}/wine"
7115 DLLPREFIX=""
7117 DLLFLAGS="-D_REENTRANT"
7119 LDRPATH_INSTALL=""
7121 LDRPATH_LOCAL=""
7123 LIBEXT="so"
7124 DLLEXT=".so"
7125 IMPLIBEXT="def"
7126 STATIC_IMPLIBEXT="def.a"
7127 # Extract the first word of "ldd", so it can be a program name with args.
7128 set dummy ldd; ac_word=$2
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7130 $as_echo_n "checking for $ac_word... " >&6; }
7131 if ${ac_cv_path_LDD+:} false; then :
7132 $as_echo_n "(cached) " >&6
7133 else
7134 case $LDD in
7135 [\\/]* | ?:[\\/]*)
7136 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140 as_dummy="/sbin:/usr/sbin:$PATH"
7141 for as_dir in $as_dummy
7143 IFS=$as_save_IFS
7144 test -z "$as_dir" && as_dir=.
7145 for ac_exec_ext in '' $ac_executable_extensions; do
7146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7147 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7149 break 2
7151 done
7152 done
7153 IFS=$as_save_IFS
7155 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7157 esac
7159 LDD=$ac_cv_path_LDD
7160 if test -n "$LDD"; then
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7162 $as_echo "$LDD" >&6; }
7163 else
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7165 $as_echo "no" >&6; }
7169 if test -n "$ac_tool_prefix"; then
7170 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7171 set dummy ${ac_tool_prefix}otool; ac_word=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 $as_echo_n "checking for $ac_word... " >&6; }
7174 if ${ac_cv_prog_OTOOL+:} false; then :
7175 $as_echo_n "(cached) " >&6
7176 else
7177 if test -n "$OTOOL"; then
7178 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7179 else
7180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7181 for as_dir in $PATH
7183 IFS=$as_save_IFS
7184 test -z "$as_dir" && as_dir=.
7185 for ac_exec_ext in '' $ac_executable_extensions; do
7186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7187 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7189 break 2
7191 done
7192 done
7193 IFS=$as_save_IFS
7197 OTOOL=$ac_cv_prog_OTOOL
7198 if test -n "$OTOOL"; then
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7200 $as_echo "$OTOOL" >&6; }
7201 else
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 $as_echo "no" >&6; }
7208 if test -z "$ac_cv_prog_OTOOL"; then
7209 ac_ct_OTOOL=$OTOOL
7210 # Extract the first word of "otool", so it can be a program name with args.
7211 set dummy otool; ac_word=$2
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7213 $as_echo_n "checking for $ac_word... " >&6; }
7214 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7215 $as_echo_n "(cached) " >&6
7216 else
7217 if test -n "$ac_ct_OTOOL"; then
7218 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7219 else
7220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 for as_dir in $PATH
7223 IFS=$as_save_IFS
7224 test -z "$as_dir" && as_dir=.
7225 for ac_exec_ext in '' $ac_executable_extensions; do
7226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7227 ac_cv_prog_ac_ct_OTOOL="otool"
7228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7229 break 2
7231 done
7232 done
7233 IFS=$as_save_IFS
7237 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7238 if test -n "$ac_ct_OTOOL"; then
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7240 $as_echo "$ac_ct_OTOOL" >&6; }
7241 else
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7243 $as_echo "no" >&6; }
7246 if test "x$ac_ct_OTOOL" = x; then
7247 OTOOL="otool"
7248 else
7249 case $cross_compiling:$ac_tool_warned in
7250 yes:)
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7253 ac_tool_warned=yes ;;
7254 esac
7255 OTOOL=$ac_ct_OTOOL
7257 else
7258 OTOOL="$ac_cv_prog_OTOOL"
7261 if test -n "$ac_tool_prefix"; then
7262 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7263 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7265 $as_echo_n "checking for $ac_word... " >&6; }
7266 if ${ac_cv_prog_READELF+:} false; then :
7267 $as_echo_n "(cached) " >&6
7268 else
7269 if test -n "$READELF"; then
7270 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7271 else
7272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7273 for as_dir in $PATH
7275 IFS=$as_save_IFS
7276 test -z "$as_dir" && as_dir=.
7277 for ac_exec_ext in '' $ac_executable_extensions; do
7278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7279 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7281 break 2
7283 done
7284 done
7285 IFS=$as_save_IFS
7289 READELF=$ac_cv_prog_READELF
7290 if test -n "$READELF"; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7292 $as_echo "$READELF" >&6; }
7293 else
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7295 $as_echo "no" >&6; }
7300 if test -z "$ac_cv_prog_READELF"; then
7301 ac_ct_READELF=$READELF
7302 # Extract the first word of "readelf", so it can be a program name with args.
7303 set dummy readelf; ac_word=$2
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7305 $as_echo_n "checking for $ac_word... " >&6; }
7306 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7307 $as_echo_n "(cached) " >&6
7308 else
7309 if test -n "$ac_ct_READELF"; then
7310 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7311 else
7312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7313 for as_dir in $PATH
7315 IFS=$as_save_IFS
7316 test -z "$as_dir" && as_dir=.
7317 for ac_exec_ext in '' $ac_executable_extensions; do
7318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7319 ac_cv_prog_ac_ct_READELF="readelf"
7320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7321 break 2
7323 done
7324 done
7325 IFS=$as_save_IFS
7329 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7330 if test -n "$ac_ct_READELF"; then
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7332 $as_echo "$ac_ct_READELF" >&6; }
7333 else
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7335 $as_echo "no" >&6; }
7338 if test "x$ac_ct_READELF" = x; then
7339 READELF="true"
7340 else
7341 case $cross_compiling:$ac_tool_warned in
7342 yes:)
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7345 ac_tool_warned=yes ;;
7346 esac
7347 READELF=$ac_ct_READELF
7349 else
7350 READELF="$ac_cv_prog_READELF"
7353 wine_rules_file=conf$$rules.make
7354 rm -f $wine_rules_file
7355 ALL_POT_FILES=""
7356 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7357 ALL_TEST_RESOURCES=""
7360 wine_fn_append_file ()
7362 as_fn_append $1 " \\$as_nl $2"
7365 wine_fn_ignore_file ()
7367 case "$1" in
7368 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7369 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7370 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7371 esac
7374 wine_fn_append_rule ()
7376 $as_echo "$1" >>$wine_rules_file
7379 wine_fn_has_flag ()
7381 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7384 wine_fn_depend_rules ()
7386 wine_fn_append_rule \
7387 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7388 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7389 depend: $ac_dir/depend
7390 .PHONY: $ac_dir/depend
7391 $ac_dir/depend: \$(MAKEDEP) dummy
7392 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7395 wine_fn_pot_rules ()
7397 test "x$with_gettextpo" = xyes || return
7399 if wine_fn_has_flag mc
7400 then
7401 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7402 wine_fn_append_rule \
7403 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7404 @cd $ac_dir && \$(MAKE) msg.pot
7405 $ac_dir/msg.pot: tools/wmc include"
7407 if wine_fn_has_flag po
7408 then
7409 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7410 wine_fn_append_rule \
7411 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7412 @cd $ac_dir && \$(MAKE) rsrc.pot
7413 $ac_dir/rsrc.pot: tools/wrc include"
7417 wine_fn_all_rules ()
7419 wine_fn_depend_rules
7420 wine_fn_append_rule \
7421 "all: $ac_dir
7422 .PHONY: $ac_dir
7423 $ac_dir: $ac_dir/Makefile dummy
7424 @cd $ac_dir && \$(MAKE)"
7427 wine_fn_install_rules ()
7429 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7431 wine_fn_append_rule \
7432 ".PHONY: $ac_dir/install $ac_dir/uninstall
7433 $ac_dir/install:: $ac_dir
7434 @cd $ac_dir && \$(MAKE) install
7435 $ac_dir/uninstall:: $ac_dir/Makefile
7436 @cd $ac_dir && \$(MAKE) uninstall
7437 install:: $ac_dir/install
7438 __uninstall__: $ac_dir/uninstall"
7440 if wine_fn_has_flag install-lib
7441 then
7442 wine_fn_append_rule \
7443 ".PHONY: $ac_dir/install-lib
7444 $ac_dir/install-lib:: $ac_dir
7445 @cd $ac_dir && \$(MAKE) install-lib
7446 install-lib:: $ac_dir/install-lib"
7449 if wine_fn_has_flag install-dev
7450 then
7451 wine_fn_append_rule \
7452 ".PHONY: $ac_dir/install-dev
7453 $ac_dir/install-dev:: $ac_dir
7454 @cd $ac_dir && \$(MAKE) install-dev
7455 install-dev:: $ac_dir/install-dev"
7459 wine_fn_clean_rules ()
7461 ac_clean=$@
7462 ac_extraclean="$ac_dir/Makefile"
7463 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7464 case $ac_dir in
7465 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7466 esac
7468 if wine_fn_has_flag clean
7469 then
7470 wine_fn_append_rule \
7471 "__clean__: $ac_dir/clean
7472 .PHONY: $ac_dir/clean
7473 $ac_dir/clean: $ac_dir/Makefile
7474 @cd $ac_dir && \$(MAKE) clean
7475 \$(RM) $ac_extraclean"
7476 else
7477 wine_fn_append_rule \
7478 "__clean__: $ac_dir/clean
7479 .PHONY: $ac_dir/clean
7480 $ac_dir/clean: dummy
7481 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7485 wine_fn_disabled_rules ()
7487 ac_clean=$@
7488 ac_extraclean="$ac_dir/Makefile"
7489 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7491 wine_fn_append_rule \
7492 "__clean__: $ac_dir/clean
7493 .PHONY: $ac_dir/clean
7494 $ac_dir/clean: dummy
7495 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7498 wine_fn_config_makefile ()
7500 ac_dir=$1
7501 ac_enable=$2
7502 ac_flags=$3
7504 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7505 wine_fn_disabled_rules; return
7507 wine_fn_all_rules
7508 wine_fn_install_rules
7509 wine_fn_clean_rules
7512 wine_fn_config_lib ()
7514 ac_name=$1
7515 ac_flags=$2
7516 ac_dir=dlls/$ac_name
7517 ac_deps="include"
7519 if test "x$enable_tools" = xno; then :
7521 else
7522 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7524 wine_fn_all_rules
7525 wine_fn_clean_rules
7527 wine_fn_append_rule \
7528 ".PHONY: $ac_dir/install $ac_dir/uninstall
7529 $ac_dir/install:: $ac_dir
7530 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7531 $ac_dir/uninstall::
7532 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7533 install install-dev:: $ac_dir/install
7534 __uninstall__: $ac_dir/uninstall
7535 __builddeps__: $ac_dir
7536 $ac_dir: $ac_deps"
7539 wine_fn_config_dll ()
7541 ac_name=$1
7542 ac_dir=dlls/$ac_name
7543 ac_enable=$2
7544 ac_flags=$3
7545 ac_implib=${4:-$ac_name}
7546 ac_file=$ac_dir/lib$ac_implib
7547 ac_dll=$ac_name
7548 ac_deps="include"
7549 ac_implibflags=""
7551 if test "x$enable_tools" = xno; then :
7553 else
7554 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7556 case $ac_name in
7557 *16) ac_implibflags=" -m16" ;;
7558 *.*) ;;
7559 *) ac_dll=$ac_dll.dll ;;
7560 esac
7562 ac_clean=
7563 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7564 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7565 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7566 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7568 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7569 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7570 then
7571 wine_fn_depend_rules
7572 wine_fn_clean_rules $ac_clean
7573 else
7574 wine_fn_disabled_rules $ac_clean
7575 return
7577 else
7578 wine_fn_all_rules
7579 wine_fn_clean_rules $ac_clean
7580 wine_fn_append_rule \
7581 "$ac_dir: __builddeps__
7582 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7583 @cd $ac_dir && \$(MAKE) \$@
7584 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7585 install install-lib:: $ac_dir/install-lib
7586 __uninstall__: $ac_dir/uninstall"
7587 if test -n "$DLLEXT"
7588 then
7589 wine_fn_append_rule \
7590 "$ac_dir/install-lib:: $ac_dir
7591 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7592 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7593 $ac_dir/uninstall::
7594 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7595 else
7596 wine_fn_append_rule \
7597 "$ac_dir/install-lib:: $ac_dir
7598 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7599 $ac_dir/uninstall::
7600 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7603 wine_fn_pot_rules
7606 if wine_fn_has_flag staticimplib
7607 then
7608 wine_fn_append_rule \
7609 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7610 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7611 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7612 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7613 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7614 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7615 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7616 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7617 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7618 $ac_dir/uninstall::
7619 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7620 install install-dev:: $ac_dir/install-dev
7621 __uninstall__: $ac_dir/uninstall"
7623 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7624 then
7625 wine_fn_append_rule \
7626 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7627 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7628 $ac_dir/uninstall::
7629 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7632 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7633 then
7634 wine_fn_append_rule \
7635 "__builddeps__: $ac_file.cross.a
7636 $ac_file.cross.a: $ac_dir/Makefile dummy
7637 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7640 elif wine_fn_has_flag implib
7641 then
7642 wine_fn_append_rule \
7643 "__builddeps__: $ac_file.$IMPLIBEXT
7644 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7645 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7646 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7647 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7648 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7649 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7650 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7651 $ac_dir/uninstall::
7652 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7653 install install-dev:: $ac_dir/install-dev
7654 __uninstall__: $ac_dir/uninstall"
7655 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7656 then
7657 wine_fn_append_rule \
7658 "__builddeps__: $ac_file.cross.a
7659 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7660 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7663 if test "$ac_name" != "$ac_implib"
7664 then
7665 wine_fn_append_rule \
7666 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7667 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7668 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7669 clean::
7670 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7671 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7672 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7673 then
7674 wine_fn_append_rule \
7675 "__builddeps__: dlls/lib$ac_implib.cross.a
7676 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7677 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7678 clean::
7679 \$(RM) dlls/lib$ac_implib.cross.a"
7680 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7686 wine_fn_config_program ()
7688 ac_name=$1
7689 ac_dir=programs/$ac_name
7690 ac_enable=$2
7691 ac_flags=$3
7692 ac_program=$ac_name
7694 case $ac_name in
7695 *.*) ;;
7696 *) ac_program=$ac_program.exe ;;
7697 esac
7699 ac_clean=
7700 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7701 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7702 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7703 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7705 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7706 wine_fn_disabled_rules $ac_clean; return
7709 wine_fn_all_rules
7710 wine_fn_clean_rules $ac_clean
7711 wine_fn_append_rule "$ac_dir: __builddeps__"
7712 wine_fn_pot_rules
7714 wine_fn_has_flag install || return
7715 wine_fn_append_rule \
7716 ".PHONY: $ac_dir/install $ac_dir/uninstall
7717 install install-lib:: $ac_dir/install
7718 __uninstall__: $ac_dir/uninstall"
7720 if test -n "$DLLEXT"
7721 then
7722 wine_fn_append_rule \
7723 "$ac_dir/install:: $ac_dir
7724 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7725 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7726 $ac_dir/uninstall::
7727 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7729 if test -z "$with_wine64" && wine_fn_has_flag installbin
7730 then
7731 wine_fn_append_rule \
7732 "$ac_dir/install:: __tooldeps__
7733 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7734 $ac_dir/uninstall::
7735 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7737 else
7738 wine_fn_append_rule \
7739 "$ac_dir/install:: $ac_dir
7740 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7741 $ac_dir/uninstall::
7742 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7745 if test -z "$with_wine64" && wine_fn_has_flag manpage
7746 then
7747 wine_fn_append_rule \
7748 "$ac_dir/install:: $ac_dir
7749 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7750 $ac_dir/uninstall::
7751 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7755 wine_fn_config_test ()
7757 ac_dir=$1
7758 ac_name=$2
7759 ac_flags=$3
7761 ac_clean=
7762 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7763 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7765 if test "x$enable_tests" = xno; then :
7766 wine_fn_disabled_rules $ac_clean; return
7769 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7770 wine_fn_all_rules
7771 wine_fn_clean_rules $ac_clean
7773 wine_fn_append_rule \
7774 "$ac_dir: programs/winetest/Makefile __builddeps__
7775 programs/winetest: $ac_dir
7776 check test: $ac_dir/test
7777 .PHONY: $ac_dir/test
7778 $ac_dir/test: dummy
7779 @cd $ac_dir && \$(MAKE) test
7780 testclean::
7781 \$(RM) $ac_dir/*.ok"
7783 if test -n "$CROSSTARGET"
7784 then
7785 wine_fn_append_rule \
7786 "crosstest: $ac_dir/crosstest
7787 .PHONY: $ac_dir/crosstest
7788 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7789 @cd $ac_dir && \$(MAKE) crosstest"
7793 wine_fn_config_tool ()
7795 ac_dir=$1
7796 ac_flags=$2
7797 if test "x$enable_tools" = xno; then :
7798 return
7801 wine_fn_all_rules
7802 wine_fn_install_rules
7803 wine_fn_clean_rules
7805 wine_fn_append_rule "__tooldeps__: $ac_dir"
7806 wine_fn_append_rule "$ac_dir: libs/port"
7807 case $ac_dir in
7808 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7809 esac
7812 wine_fn_config_symlink ()
7814 ac_linkdir=
7815 if test "x$1" = "x-d"
7816 then
7817 ac_linkdir=$2
7818 shift; shift
7820 ac_links=$@
7821 wine_fn_append_rule \
7822 "$ac_links:
7823 @./config.status \$@
7824 distclean::
7825 \$(RM) $ac_links"
7826 for f in $ac_links; do wine_fn_ignore_file $f; done
7827 test -n "$ac_linkdir" || return
7828 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7831 wine_binary="wine"
7832 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7833 loader_programs="$wine_binary wine-installed"
7834 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7836 LOADER_RULES="
7837 all: wine.inf
7839 install install-lib:: wine-installed
7840 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7842 uninstall::
7843 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7847 case $host_os in
7848 cygwin*|mingw32*)
7849 if test -n "$ac_tool_prefix"; then
7850 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7851 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7853 $as_echo_n "checking for $ac_word... " >&6; }
7854 if ${ac_cv_prog_DLLTOOL+:} false; then :
7855 $as_echo_n "(cached) " >&6
7856 else
7857 if test -n "$DLLTOOL"; then
7858 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7859 else
7860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7861 for as_dir in $PATH
7863 IFS=$as_save_IFS
7864 test -z "$as_dir" && as_dir=.
7865 for ac_exec_ext in '' $ac_executable_extensions; do
7866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7867 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7869 break 2
7871 done
7872 done
7873 IFS=$as_save_IFS
7877 DLLTOOL=$ac_cv_prog_DLLTOOL
7878 if test -n "$DLLTOOL"; then
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7880 $as_echo "$DLLTOOL" >&6; }
7881 else
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7883 $as_echo "no" >&6; }
7888 if test -z "$ac_cv_prog_DLLTOOL"; then
7889 ac_ct_DLLTOOL=$DLLTOOL
7890 # Extract the first word of "dlltool", so it can be a program name with args.
7891 set dummy dlltool; ac_word=$2
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7893 $as_echo_n "checking for $ac_word... " >&6; }
7894 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7895 $as_echo_n "(cached) " >&6
7896 else
7897 if test -n "$ac_ct_DLLTOOL"; then
7898 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7899 else
7900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7901 for as_dir in $PATH
7903 IFS=$as_save_IFS
7904 test -z "$as_dir" && as_dir=.
7905 for ac_exec_ext in '' $ac_executable_extensions; do
7906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7907 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7909 break 2
7911 done
7912 done
7913 IFS=$as_save_IFS
7917 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7918 if test -n "$ac_ct_DLLTOOL"; then
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7920 $as_echo "$ac_ct_DLLTOOL" >&6; }
7921 else
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7923 $as_echo "no" >&6; }
7926 if test "x$ac_ct_DLLTOOL" = x; then
7927 DLLTOOL="false"
7928 else
7929 case $cross_compiling:$ac_tool_warned in
7930 yes:)
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7933 ac_tool_warned=yes ;;
7934 esac
7935 DLLTOOL=$ac_ct_DLLTOOL
7937 else
7938 DLLTOOL="$ac_cv_prog_DLLTOOL"
7941 LIBEXT="dll"
7942 DLLEXT=""
7943 IMPLIBEXT="a"
7944 STATIC_IMPLIBEXT="a"
7945 enable_iphlpapi=${enable_iphlpapi:-no}
7946 enable_kernel32=${enable_kernel32:-no}
7947 enable_msvcrt=${enable_msvcrt:-no}
7948 enable_ntdll=${enable_ntdll:-no}
7949 enable_ws2_32=${enable_ws2_32:-no}
7950 enable_loader=${enable_loader:-no}
7951 enable_server=${enable_server:-no}
7952 with_x=${with_x:-no}
7953 with_pthread=${with_pthread:-no}
7955 crtlibs=""
7956 case $host_os in
7957 mingw32*)
7958 crtlibs="-lmsvcrt"
7959 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7961 esac
7963 libwine_targets="libwine.dll libwine.a"
7964 LIBWINE_RULES="
7965 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7967 all: libwine.dll libwine.a
7969 libwine.a: \$(srcdir)/wine.def
7970 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7972 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7973 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7975 install install-lib:: libwine.dll
7976 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7978 install install-dev:: libwine.a
7979 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7981 uninstall::
7982 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7987 darwin*|macosx*)
7988 for ac_header in libunwind.h
7989 do :
7990 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7992 cat >>confdefs.h <<_ACEOF
7993 #define HAVE_LIBUNWIND_H 1
7994 _ACEOF
7998 done
8000 LIBEXT="dylib"
8001 DLLFLAGS="$DLLFLAGS -fPIC"
8002 LIBWINE_LDFLAGS="-multiply_defined suppress"
8003 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8004 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8005 COREFOUNDATION_LIBS="-framework CoreFoundation"
8007 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8009 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8011 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8013 CORESERVICES_LIBS="-framework CoreServices"
8015 APPKIT_LIBS="-framework AppKit"
8017 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8019 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8020 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8021 $as_echo_n "(cached) " >&6
8022 else
8023 ac_wine_try_cflags_saved=$CFLAGS
8024 CFLAGS="$CFLAGS -Wl,-no_pie"
8025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8026 /* end confdefs.h. */
8027 int main(int argc, char **argv) { return 0; }
8028 _ACEOF
8029 if ac_fn_c_try_link "$LINENO"; then :
8030 ac_cv_cflags__Wl__no_pie=yes
8031 else
8032 ac_cv_cflags__Wl__no_pie=no
8034 rm -f core conftest.err conftest.$ac_objext \
8035 conftest$ac_exeext conftest.$ac_ext
8036 CFLAGS=$ac_wine_try_cflags_saved
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8039 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8040 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8041 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8043 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8044 then
8045 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8048 if test "$ac_cv_header_Security_Security_h" = "yes"
8049 then
8050 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8052 ac_save_LIBS="$LIBS"
8053 LIBS="$LIBS $SECURITY_LIBS"
8054 for ac_func in SSLCopyPeerCertificates
8055 do :
8056 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8057 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8058 cat >>confdefs.h <<_ACEOF
8059 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8060 _ACEOF
8063 done
8065 LIBS="$ac_save_LIBS"
8066 with_gnutls=${with_gnutls:-no}
8068 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8069 then
8070 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8071 then
8072 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8074 else
8075 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8078 ac_save_LIBS="$LIBS"
8079 LIBS="$LIBS $COREAUDIO_LIBS"
8080 for ac_func in AUGraphAddNode
8081 do :
8082 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8083 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8084 cat >>confdefs.h <<_ACEOF
8085 #define HAVE_AUGRAPHADDNODE 1
8086 _ACEOF
8089 done
8091 LIBS="$ac_save_LIBS"
8093 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8094 then
8095 OPENAL_LIBS="-framework OpenAL"
8098 cat >>confdefs.h <<_ACEOF
8099 #define HAVE_OPENAL 1
8100 _ACEOF
8102 ac_cv_lib_openal=yes
8104 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8105 then
8106 OPENCL_LIBS="-framework OpenCL"
8108 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8110 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8111 then
8112 ac_save_LIBS="$LIBS"
8113 LIBS="$LIBS $IOKIT_LIBS"
8114 for ac_func in IOHIDManagerCreate
8115 do :
8116 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8117 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8118 cat >>confdefs.h <<_ACEOF
8119 #define HAVE_IOHIDMANAGERCREATE 1
8120 _ACEOF
8123 done
8125 LIBS="$ac_save_LIBS"
8127 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8128 then
8129 ac_save_LIBS="$LIBS"
8130 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8132 $as_echo_n "checking for the QuickTime framework... " >&6; }
8133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8134 /* end confdefs.h. */
8135 #include <QuickTime/ImageCompression.h>
8137 main ()
8139 CodecManagerVersion(NULL);
8141 return 0;
8143 _ACEOF
8144 if ac_fn_c_try_link "$LINENO"; then :
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8146 $as_echo "yes" >&6; }
8147 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8149 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8150 else
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8152 $as_echo "no" >&6; }
8153 ac_cv_header_QuickTime_ImageCompression_h=no
8155 rm -f core conftest.err conftest.$ac_objext \
8156 conftest$ac_exeext conftest.$ac_ext
8157 LIBS="$ac_save_LIBS"
8159 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8160 then
8161 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8163 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8164 then
8165 CARBON_LIBS="-framework Carbon"
8169 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8170 then
8171 ac_save_LIBS="$LIBS"
8172 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8173 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8174 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8175 enable_winemac_drv=${enable_winemac_drv:-yes}
8178 LIBS="$ac_save_LIBS"
8181 if test "x$enable_win16" = "xyes"
8182 then
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8184 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8185 if test "$cross_compiling" = yes; then :
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8187 $as_echo "cross-compiling, assuming yes" >&6; }
8188 else
8189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8190 /* end confdefs.h. */
8191 asm(".text\n"
8192 "bad:\tnop;nop\n"
8193 "good:\tnop;nop\n\t"
8194 ".globl _testfunc\n"
8195 "_testfunc:\tcallw good");
8196 extern void testfunc();
8198 main ()
8200 unsigned short *p = (unsigned short *)testfunc;
8201 return p[0] != 0xe866 || p[1] != 0xfffa
8203 return 0;
8205 _ACEOF
8206 if ac_fn_c_try_run "$LINENO"; then :
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8208 $as_echo "yes" >&6; }
8209 else
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8211 $as_echo "no" >&6; }
8212 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
8214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8215 conftest.$ac_objext conftest.beam conftest.$ac_ext
8220 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8221 LIBWINE_RULES="
8222 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8224 all: libwine.dylib
8226 libwine.$libwine_version.dylib: \$(OBJS)
8227 \$(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 \$@
8229 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8230 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8232 libwine.dylib: libwine.$libwine_soversion.dylib
8233 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8235 install install-lib:: libwine.$libwine_version.dylib
8236 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8237 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8239 install install-dev::
8240 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8242 uninstall::
8243 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8247 as_fn_append LOADER_RULES "
8248 $wine_binary: main.o wine_info.plist
8249 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8251 wine-installed: main.o wine_info.plist
8252 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8256 linux-android*)
8257 DLLFLAGS="$DLLFLAGS -fPIC"
8258 DLLPREFIX="lib"
8259 LDEXECFLAGS=""
8260 dlldir="\${libdir}"
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8262 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8263 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8264 $as_echo_n "(cached) " >&6
8265 else
8266 ac_wine_try_cflags_saved=$CFLAGS
8267 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8269 /* end confdefs.h. */
8270 int main(int argc, char **argv) { return 0; }
8271 _ACEOF
8272 if ac_fn_c_try_link "$LINENO"; then :
8273 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8274 else
8275 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8277 rm -f core conftest.err conftest.$ac_objext \
8278 conftest$ac_exeext conftest.$ac_ext
8279 CFLAGS=$ac_wine_try_cflags_saved
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8282 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8283 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8284 LDEXECFLAGS="-Wl,--export-dynamic"
8286 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8288 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8289 if eval \${$as_ac_var+:} false; then :
8290 $as_echo_n "(cached) " >&6
8291 else
8292 ac_wine_try_cflags_saved=$CFLAGS
8293 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8296 int main(int argc, char **argv) { return 0; }
8297 _ACEOF
8298 if ac_fn_c_try_link "$LINENO"; then :
8299 eval "$as_ac_var=yes"
8300 else
8301 eval "$as_ac_var=no"
8303 rm -f core conftest.err conftest.$ac_objext \
8304 conftest$ac_exeext conftest.$ac_ext
8305 CFLAGS=$ac_wine_try_cflags_saved
8307 eval ac_res=\$$as_ac_var
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8309 $as_echo "$ac_res" >&6; }
8310 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8311 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8312 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8313 else
8314 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8316 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8317 if eval \${$as_ac_var+:} false; then :
8318 $as_echo_n "(cached) " >&6
8319 else
8320 ac_wine_try_cflags_saved=$CFLAGS
8321 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8323 /* end confdefs.h. */
8324 int main(int argc, char **argv) { return 0; }
8325 _ACEOF
8326 if ac_fn_c_try_link "$LINENO"; then :
8327 eval "$as_ac_var=yes"
8328 else
8329 eval "$as_ac_var=no"
8331 rm -f core conftest.err conftest.$ac_objext \
8332 conftest$ac_exeext conftest.$ac_ext
8333 CFLAGS=$ac_wine_try_cflags_saved
8335 eval ac_res=\$$as_ac_var
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8337 $as_echo "$ac_res" >&6; }
8338 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8339 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8340 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8345 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8346 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 ac_wine_try_cflags_saved=$CFLAGS
8350 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 int main(int argc, char **argv) { return 0; }
8354 _ACEOF
8355 if ac_fn_c_try_link "$LINENO"; then :
8356 ac_cv_cflags__Wl___enable_new_dtags=yes
8357 else
8358 ac_cv_cflags__Wl___enable_new_dtags=no
8360 rm -f core conftest.err conftest.$ac_objext \
8361 conftest$ac_exeext conftest.$ac_ext
8362 CFLAGS=$ac_wine_try_cflags_saved
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8365 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8366 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8367 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8370 case $host_cpu in
8371 *i[3456789]86* | x86_64)
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8373 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8374 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8375 $as_echo_n "(cached) " >&6
8376 else
8377 ac_wine_try_cflags_saved=$CFLAGS
8378 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8380 /* end confdefs.h. */
8381 int main(int argc, char **argv) { return 0; }
8382 _ACEOF
8383 if ac_fn_c_try_link "$LINENO"; then :
8384 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8385 else
8386 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8388 rm -f core conftest.err conftest.$ac_objext \
8389 conftest$ac_exeext conftest.$ac_ext
8390 CFLAGS=$ac_wine_try_cflags_saved
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8393 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8394 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8395 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8398 esac
8400 libwine_targets="libwine.so"
8401 LIBWINE_RULES="
8402 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8404 all: libwine.so
8406 libwine.so: \$(OBJS)
8407 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8409 install install-lib:: libwine.so
8410 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8412 uninstall::
8413 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8417 as_fn_append LOADER_RULES "
8418 $wine_binary: main.o
8419 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8421 wine-installed: main.o
8422 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8427 DLLFLAGS="$DLLFLAGS -fPIC"
8428 LDEXECFLAGS=""
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8430 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8431 if ${ac_cv_c_dll_gnuelf+:} false; then :
8432 $as_echo_n "(cached) " >&6
8433 else
8434 ac_wine_try_cflags_saved=$CFLAGS
8435 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8437 /* end confdefs.h. */
8438 void myfunc() {}
8439 _ACEOF
8440 if ac_fn_c_try_link "$LINENO"; then :
8441 ac_cv_c_dll_gnuelf="yes"
8442 else
8443 ac_cv_c_dll_gnuelf="no"
8445 rm -f core conftest.err conftest.$ac_objext \
8446 conftest$ac_exeext conftest.$ac_ext
8447 CFLAGS=$ac_wine_try_cflags_saved
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8450 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8451 if test "$ac_cv_c_dll_gnuelf" = "yes"
8452 then
8453 LDSHARED="\$(CC) -shared"
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8455 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8456 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8457 $as_echo_n "(cached) " >&6
8458 else
8459 ac_wine_try_cflags_saved=$CFLAGS
8460 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8462 /* end confdefs.h. */
8463 int main(int argc, char **argv) { return 0; }
8464 _ACEOF
8465 if ac_fn_c_try_link "$LINENO"; then :
8466 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8467 else
8468 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8470 rm -f core conftest.err conftest.$ac_objext \
8471 conftest$ac_exeext conftest.$ac_ext
8472 CFLAGS=$ac_wine_try_cflags_saved
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8475 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8476 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8477 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8478 else
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8480 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8481 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8482 $as_echo_n "(cached) " >&6
8483 else
8484 ac_wine_try_cflags_saved=$CFLAGS
8485 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8488 int main(int argc, char **argv) { return 0; }
8489 _ACEOF
8490 if ac_fn_c_try_link "$LINENO"; then :
8491 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8492 else
8493 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8495 rm -f core conftest.err conftest.$ac_objext \
8496 conftest$ac_exeext conftest.$ac_ext
8497 CFLAGS=$ac_wine_try_cflags_saved
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8500 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8501 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8502 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8506 echo '{ global: *; };' >conftest.map
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8508 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8509 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8510 $as_echo_n "(cached) " >&6
8511 else
8512 ac_wine_try_cflags_saved=$CFLAGS
8513 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8515 /* end confdefs.h. */
8516 int main(int argc, char **argv) { return 0; }
8517 _ACEOF
8518 if ac_fn_c_try_link "$LINENO"; then :
8519 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8520 else
8521 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8523 rm -f core conftest.err conftest.$ac_objext \
8524 conftest$ac_exeext conftest.$ac_ext
8525 CFLAGS=$ac_wine_try_cflags_saved
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8528 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8529 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8530 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8532 rm -f conftest.map
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8535 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8536 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8537 $as_echo_n "(cached) " >&6
8538 else
8539 ac_wine_try_cflags_saved=$CFLAGS
8540 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8542 /* end confdefs.h. */
8543 int main(int argc, char **argv) { return 0; }
8544 _ACEOF
8545 if ac_fn_c_try_link "$LINENO"; then :
8546 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8547 else
8548 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8550 rm -f core conftest.err conftest.$ac_objext \
8551 conftest$ac_exeext conftest.$ac_ext
8552 CFLAGS=$ac_wine_try_cflags_saved
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8555 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8556 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8557 LDEXECFLAGS="-Wl,--export-dynamic"
8560 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8562 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8563 if eval \${$as_ac_var+:} false; then :
8564 $as_echo_n "(cached) " >&6
8565 else
8566 ac_wine_try_cflags_saved=$CFLAGS
8567 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8569 /* end confdefs.h. */
8570 int main(int argc, char **argv) { return 0; }
8571 _ACEOF
8572 if ac_fn_c_try_link "$LINENO"; then :
8573 eval "$as_ac_var=yes"
8574 else
8575 eval "$as_ac_var=no"
8577 rm -f core conftest.err conftest.$ac_objext \
8578 conftest$ac_exeext conftest.$ac_ext
8579 CFLAGS=$ac_wine_try_cflags_saved
8581 eval ac_res=\$$as_ac_var
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8583 $as_echo "$ac_res" >&6; }
8584 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8585 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8586 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8587 else
8588 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8590 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8591 if eval \${$as_ac_var+:} false; then :
8592 $as_echo_n "(cached) " >&6
8593 else
8594 ac_wine_try_cflags_saved=$CFLAGS
8595 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 int main(int argc, char **argv) { return 0; }
8599 _ACEOF
8600 if ac_fn_c_try_link "$LINENO"; then :
8601 eval "$as_ac_var=yes"
8602 else
8603 eval "$as_ac_var=no"
8605 rm -f core conftest.err conftest.$ac_objext \
8606 conftest$ac_exeext conftest.$ac_ext
8607 CFLAGS=$ac_wine_try_cflags_saved
8609 eval ac_res=\$$as_ac_var
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8611 $as_echo "$ac_res" >&6; }
8612 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8613 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8614 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8619 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8620 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8621 $as_echo_n "(cached) " >&6
8622 else
8623 ac_wine_try_cflags_saved=$CFLAGS
8624 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8626 /* end confdefs.h. */
8627 int main(int argc, char **argv) { return 0; }
8628 _ACEOF
8629 if ac_fn_c_try_link "$LINENO"; then :
8630 ac_cv_cflags__Wl___enable_new_dtags=yes
8631 else
8632 ac_cv_cflags__Wl___enable_new_dtags=no
8634 rm -f core conftest.err conftest.$ac_objext \
8635 conftest$ac_exeext conftest.$ac_ext
8636 CFLAGS=$ac_wine_try_cflags_saved
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8639 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8640 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8641 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8644 case $host_cpu in
8645 *i[3456789]86* | x86_64)
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8647 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8648 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8649 $as_echo_n "(cached) " >&6
8650 else
8651 ac_wine_try_cflags_saved=$CFLAGS
8652 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8655 int main(int argc, char **argv) { return 0; }
8656 _ACEOF
8657 if ac_fn_c_try_link "$LINENO"; then :
8658 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8659 else
8660 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8662 rm -f core conftest.err conftest.$ac_objext \
8663 conftest$ac_exeext conftest.$ac_ext
8664 CFLAGS=$ac_wine_try_cflags_saved
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8667 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8668 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8669 case $host_os in
8670 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8671 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8672 esac
8675 # Extract the first word of "prelink", so it can be a program name with args.
8676 set dummy prelink; ac_word=$2
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8678 $as_echo_n "checking for $ac_word... " >&6; }
8679 if ${ac_cv_path_PRELINK+:} false; then :
8680 $as_echo_n "(cached) " >&6
8681 else
8682 case $PRELINK in
8683 [\\/]* | ?:[\\/]*)
8684 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8688 for as_dir in /sbin /usr/sbin $PATH
8690 IFS=$as_save_IFS
8691 test -z "$as_dir" && as_dir=.
8692 for ac_exec_ext in '' $ac_executable_extensions; do
8693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8694 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8696 break 2
8698 done
8699 done
8700 IFS=$as_save_IFS
8702 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8704 esac
8706 PRELINK=$ac_cv_path_PRELINK
8707 if test -n "$PRELINK"; then
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8709 $as_echo "$PRELINK" >&6; }
8710 else
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8712 $as_echo "no" >&6; }
8716 if test "x$PRELINK" = xfalse
8717 then
8718 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8721 esac
8723 else
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8725 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8726 if ${ac_cv_c_dll_unixware+:} false; then :
8727 $as_echo_n "(cached) " >&6
8728 else
8729 ac_wine_try_cflags_saved=$CFLAGS
8730 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8733 void myfunc() {}
8734 _ACEOF
8735 if ac_fn_c_try_link "$LINENO"; then :
8736 ac_cv_c_dll_unixware="yes"
8737 else
8738 ac_cv_c_dll_unixware="no"
8740 rm -f core conftest.err conftest.$ac_objext \
8741 conftest$ac_exeext conftest.$ac_ext
8742 CFLAGS=$ac_wine_try_cflags_saved
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8745 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8746 if test "$ac_cv_c_dll_unixware" = "yes"
8747 then
8748 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8751 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8752 LIBWINE_RULES="
8753 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8755 all: libwine.so
8757 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8758 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8760 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8761 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8763 libwine.so: libwine.so.$libwine_soversion
8764 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8766 install install-lib:: libwine.so.$libwine_version
8767 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8768 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8770 install install-dev::
8771 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8773 uninstall::
8774 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8778 as_fn_append LOADER_RULES "
8779 $wine_binary: main.o
8780 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8782 wine-installed: main.o
8783 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8786 esac
8788 as_fn_append LIBWINE_RULES "
8789 EXTRA_TARGETS = $libwine_targets
8792 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8793 enable_winemac_drv=${enable_winemac_drv:-no}
8795 CROSSTARGET=""
8797 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8798 then
8799 case "$host_cpu" in
8800 i[3456789]86*)
8801 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
8802 mingw32-gcc" ;;
8803 x86_64)
8804 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 " ;;
8806 ac_prefix_list="" ;;
8807 esac
8808 for ac_prog in $ac_prefix_list
8810 # Extract the first word of "$ac_prog", so it can be a program name with args.
8811 set dummy $ac_prog; ac_word=$2
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8813 $as_echo_n "checking for $ac_word... " >&6; }
8814 if ${ac_cv_prog_CROSSCC+:} false; then :
8815 $as_echo_n "(cached) " >&6
8816 else
8817 if test -n "$CROSSCC"; then
8818 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8819 else
8820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8821 for as_dir in $PATH
8823 IFS=$as_save_IFS
8824 test -z "$as_dir" && as_dir=.
8825 for ac_exec_ext in '' $ac_executable_extensions; do
8826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8827 ac_cv_prog_CROSSCC="$ac_prog"
8828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8829 break 2
8831 done
8832 done
8833 IFS=$as_save_IFS
8837 CROSSCC=$ac_cv_prog_CROSSCC
8838 if test -n "$CROSSCC"; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8840 $as_echo "$CROSSCC" >&6; }
8841 else
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8843 $as_echo "no" >&6; }
8847 test -n "$CROSSCC" && break
8848 done
8849 test -n "$CROSSCC" || CROSSCC="false"
8851 if test "$CROSSCC" != "false"
8852 then
8853 ac_save_CC="$CC"
8854 CC="$CROSSCC"
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8856 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8861 main ()
8865 return 0;
8867 _ACEOF
8868 if ac_fn_c_try_compile "$LINENO"; then :
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8870 $as_echo "yes" >&6; }
8871 set x $CROSSCC
8872 shift
8873 while test $# -ge 1
8875 case "$1" in
8876 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8877 esac
8878 shift
8879 done
8880 else
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8882 $as_echo "no" >&6; }
8884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8885 CC="$ac_save_CC"
8890 if test "$ac_cv_header_pthread_h" = "yes"
8891 then
8892 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8893 if test "x$ac_cv_func_pthread_create" = xyes; then :
8895 else
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8897 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8898 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8899 $as_echo_n "(cached) " >&6
8900 else
8901 ac_check_lib_save_LIBS=$LIBS
8902 LIBS="-lpthread $LIBS"
8903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8904 /* end confdefs.h. */
8906 /* Override any GCC internal prototype to avoid an error.
8907 Use char because int might match the return type of a GCC
8908 builtin and then its argument prototype would still apply. */
8909 #ifdef __cplusplus
8910 extern "C"
8911 #endif
8912 char pthread_create ();
8914 main ()
8916 return pthread_create ();
8918 return 0;
8920 _ACEOF
8921 if ac_fn_c_try_link "$LINENO"; then :
8922 ac_cv_lib_pthread_pthread_create=yes
8923 else
8924 ac_cv_lib_pthread_pthread_create=no
8926 rm -f core conftest.err conftest.$ac_objext \
8927 conftest$ac_exeext conftest.$ac_ext
8928 LIBS=$ac_check_lib_save_LIBS
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8931 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8932 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8933 PTHREAD_LIBS="-lpthread"
8940 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8941 case "x$with_pthread" in
8942 xno) ;;
8943 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8944 Wine cannot support threads without libpthread.
8945 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8946 esac
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8951 $as_echo_n "checking for X... " >&6; }
8954 # Check whether --with-x was given.
8955 if test "${with_x+set}" = set; then :
8956 withval=$with_x;
8959 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8960 if test "x$with_x" = xno; then
8961 # The user explicitly disabled X.
8962 have_x=disabled
8963 else
8964 case $x_includes,$x_libraries in #(
8965 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8966 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8967 $as_echo_n "(cached) " >&6
8968 else
8969 # One or both of the vars are not set, and there is no cached value.
8970 ac_x_includes=no ac_x_libraries=no
8971 rm -f -r conftest.dir
8972 if mkdir conftest.dir; then
8973 cd conftest.dir
8974 cat >Imakefile <<'_ACEOF'
8975 incroot:
8976 @echo incroot='${INCROOT}'
8977 usrlibdir:
8978 @echo usrlibdir='${USRLIBDIR}'
8979 libdir:
8980 @echo libdir='${LIBDIR}'
8981 _ACEOF
8982 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8983 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8984 for ac_var in incroot usrlibdir libdir; do
8985 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8986 done
8987 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8988 for ac_extension in a so sl dylib la dll; do
8989 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8990 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8991 ac_im_usrlibdir=$ac_im_libdir; break
8993 done
8994 # Screen out bogus values from the imake configuration. They are
8995 # bogus both because they are the default anyway, and because
8996 # using them would break gcc on systems where it needs fixed includes.
8997 case $ac_im_incroot in
8998 /usr/include) ac_x_includes= ;;
8999 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9000 esac
9001 case $ac_im_usrlibdir in
9002 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9003 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9004 esac
9006 cd ..
9007 rm -f -r conftest.dir
9010 # Standard set of common directories for X headers.
9011 # Check X11 before X11Rn because it is often a symlink to the current release.
9012 ac_x_header_dirs='
9013 /usr/X11/include
9014 /usr/X11R7/include
9015 /usr/X11R6/include
9016 /usr/X11R5/include
9017 /usr/X11R4/include
9019 /usr/include/X11
9020 /usr/include/X11R7
9021 /usr/include/X11R6
9022 /usr/include/X11R5
9023 /usr/include/X11R4
9025 /usr/local/X11/include
9026 /usr/local/X11R7/include
9027 /usr/local/X11R6/include
9028 /usr/local/X11R5/include
9029 /usr/local/X11R4/include
9031 /usr/local/include/X11
9032 /usr/local/include/X11R7
9033 /usr/local/include/X11R6
9034 /usr/local/include/X11R5
9035 /usr/local/include/X11R4
9037 /usr/X386/include
9038 /usr/x386/include
9039 /usr/XFree86/include/X11
9041 /usr/include
9042 /usr/local/include
9043 /usr/unsupported/include
9044 /usr/athena/include
9045 /usr/local/x11r5/include
9046 /usr/lpp/Xamples/include
9048 /usr/openwin/include
9049 /usr/openwin/share/include'
9051 if test "$ac_x_includes" = no; then
9052 # Guess where to find include files, by looking for Xlib.h.
9053 # First, try using that file with no special directory specified.
9054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9055 /* end confdefs.h. */
9056 #include <X11/Xlib.h>
9057 _ACEOF
9058 if ac_fn_c_try_cpp "$LINENO"; then :
9059 # We can compile using X headers with no special include directory.
9060 ac_x_includes=
9061 else
9062 for ac_dir in $ac_x_header_dirs; do
9063 if test -r "$ac_dir/X11/Xlib.h"; then
9064 ac_x_includes=$ac_dir
9065 break
9067 done
9069 rm -f conftest.err conftest.i conftest.$ac_ext
9070 fi # $ac_x_includes = no
9072 if test "$ac_x_libraries" = no; then
9073 # Check for the libraries.
9074 # See if we find them without any special options.
9075 # Don't add to $LIBS permanently.
9076 ac_save_LIBS=$LIBS
9077 LIBS="-lX11 $LIBS"
9078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9080 #include <X11/Xlib.h>
9082 main ()
9084 XrmInitialize ()
9086 return 0;
9088 _ACEOF
9089 if ac_fn_c_try_link "$LINENO"; then :
9090 LIBS=$ac_save_LIBS
9091 # We can link X programs with no special library path.
9092 ac_x_libraries=
9093 else
9094 LIBS=$ac_save_LIBS
9095 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9097 # Don't even attempt the hair of trying to link an X program!
9098 for ac_extension in a so sl dylib la dll; do
9099 if test -r "$ac_dir/libX11.$ac_extension"; then
9100 ac_x_libraries=$ac_dir
9101 break 2
9103 done
9104 done
9106 rm -f core conftest.err conftest.$ac_objext \
9107 conftest$ac_exeext conftest.$ac_ext
9108 fi # $ac_x_libraries = no
9110 case $ac_x_includes,$ac_x_libraries in #(
9111 no,* | *,no | *\'*)
9112 # Didn't find X, or a directory has "'" in its name.
9113 ac_cv_have_x="have_x=no";; #(
9115 # Record where we found X for the cache.
9116 ac_cv_have_x="have_x=yes\
9117 ac_x_includes='$ac_x_includes'\
9118 ac_x_libraries='$ac_x_libraries'"
9119 esac
9121 ;; #(
9122 *) have_x=yes;;
9123 esac
9124 eval "$ac_cv_have_x"
9125 fi # $with_x != no
9127 if test "$have_x" != yes; then
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9129 $as_echo "$have_x" >&6; }
9130 no_x=yes
9131 else
9132 # If each of the values was on the command line, it overrides each guess.
9133 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9134 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9135 # Update the cache value to reflect the command line values.
9136 ac_cv_have_x="have_x=yes\
9137 ac_x_includes='$x_includes'\
9138 ac_x_libraries='$x_libraries'"
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9140 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9143 if test "$no_x" = yes; then
9144 # Not all programs may use this symbol, but it does not hurt to define it.
9146 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9148 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9149 else
9150 if test -n "$x_includes"; then
9151 X_CFLAGS="$X_CFLAGS -I$x_includes"
9154 # It would also be nice to do this for all -L options, not just this one.
9155 if test -n "$x_libraries"; then
9156 X_LIBS="$X_LIBS -L$x_libraries"
9157 # For Solaris; some versions of Sun CC require a space after -R and
9158 # others require no space. Words are not sufficient . . . .
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9160 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9161 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9162 ac_xsave_c_werror_flag=$ac_c_werror_flag
9163 ac_c_werror_flag=yes
9164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9165 /* end confdefs.h. */
9168 main ()
9172 return 0;
9174 _ACEOF
9175 if ac_fn_c_try_link "$LINENO"; then :
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9177 $as_echo "no" >&6; }
9178 X_LIBS="$X_LIBS -R$x_libraries"
9179 else
9180 LIBS="$ac_xsave_LIBS -R $x_libraries"
9181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9182 /* end confdefs.h. */
9185 main ()
9189 return 0;
9191 _ACEOF
9192 if ac_fn_c_try_link "$LINENO"; then :
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9194 $as_echo "yes" >&6; }
9195 X_LIBS="$X_LIBS -R $x_libraries"
9196 else
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9198 $as_echo "neither works" >&6; }
9200 rm -f core conftest.err conftest.$ac_objext \
9201 conftest$ac_exeext conftest.$ac_ext
9203 rm -f core conftest.err conftest.$ac_objext \
9204 conftest$ac_exeext conftest.$ac_ext
9205 ac_c_werror_flag=$ac_xsave_c_werror_flag
9206 LIBS=$ac_xsave_LIBS
9209 # Check for system-dependent libraries X programs must link with.
9210 # Do this before checking for the system-independent R6 libraries
9211 # (-lICE), since we may need -lsocket or whatever for X linking.
9213 if test "$ISC" = yes; then
9214 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9215 else
9216 # Martyn Johnson says this is needed for Ultrix, if the X
9217 # libraries were built with DECnet support. And Karl Berry says
9218 # the Alpha needs dnet_stub (dnet does not exist).
9219 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9223 /* Override any GCC internal prototype to avoid an error.
9224 Use char because int might match the return type of a GCC
9225 builtin and then its argument prototype would still apply. */
9226 #ifdef __cplusplus
9227 extern "C"
9228 #endif
9229 char XOpenDisplay ();
9231 main ()
9233 return XOpenDisplay ();
9235 return 0;
9237 _ACEOF
9238 if ac_fn_c_try_link "$LINENO"; then :
9240 else
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9242 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9243 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9244 $as_echo_n "(cached) " >&6
9245 else
9246 ac_check_lib_save_LIBS=$LIBS
9247 LIBS="-ldnet $LIBS"
9248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9249 /* end confdefs.h. */
9251 /* Override any GCC internal prototype to avoid an error.
9252 Use char because int might match the return type of a GCC
9253 builtin and then its argument prototype would still apply. */
9254 #ifdef __cplusplus
9255 extern "C"
9256 #endif
9257 char dnet_ntoa ();
9259 main ()
9261 return dnet_ntoa ();
9263 return 0;
9265 _ACEOF
9266 if ac_fn_c_try_link "$LINENO"; then :
9267 ac_cv_lib_dnet_dnet_ntoa=yes
9268 else
9269 ac_cv_lib_dnet_dnet_ntoa=no
9271 rm -f core conftest.err conftest.$ac_objext \
9272 conftest$ac_exeext conftest.$ac_ext
9273 LIBS=$ac_check_lib_save_LIBS
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9276 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9277 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9278 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9281 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9283 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9284 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9285 $as_echo_n "(cached) " >&6
9286 else
9287 ac_check_lib_save_LIBS=$LIBS
9288 LIBS="-ldnet_stub $LIBS"
9289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9292 /* Override any GCC internal prototype to avoid an error.
9293 Use char because int might match the return type of a GCC
9294 builtin and then its argument prototype would still apply. */
9295 #ifdef __cplusplus
9296 extern "C"
9297 #endif
9298 char dnet_ntoa ();
9300 main ()
9302 return dnet_ntoa ();
9304 return 0;
9306 _ACEOF
9307 if ac_fn_c_try_link "$LINENO"; then :
9308 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9309 else
9310 ac_cv_lib_dnet_stub_dnet_ntoa=no
9312 rm -f core conftest.err conftest.$ac_objext \
9313 conftest$ac_exeext conftest.$ac_ext
9314 LIBS=$ac_check_lib_save_LIBS
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9317 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9318 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9319 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9324 rm -f core conftest.err conftest.$ac_objext \
9325 conftest$ac_exeext conftest.$ac_ext
9326 LIBS="$ac_xsave_LIBS"
9328 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9329 # to get the SysV transport functions.
9330 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9331 # needs -lnsl.
9332 # The nsl library prevents programs from opening the X display
9333 # on Irix 5.2, according to T.E. Dickey.
9334 # The functions gethostbyname, getservbyname, and inet_addr are
9335 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9336 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9337 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9341 if test $ac_cv_func_gethostbyname = no; then
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9343 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9344 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9345 $as_echo_n "(cached) " >&6
9346 else
9347 ac_check_lib_save_LIBS=$LIBS
9348 LIBS="-lnsl $LIBS"
9349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9352 /* Override any GCC internal prototype to avoid an error.
9353 Use char because int might match the return type of a GCC
9354 builtin and then its argument prototype would still apply. */
9355 #ifdef __cplusplus
9356 extern "C"
9357 #endif
9358 char gethostbyname ();
9360 main ()
9362 return gethostbyname ();
9364 return 0;
9366 _ACEOF
9367 if ac_fn_c_try_link "$LINENO"; then :
9368 ac_cv_lib_nsl_gethostbyname=yes
9369 else
9370 ac_cv_lib_nsl_gethostbyname=no
9372 rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 LIBS=$ac_check_lib_save_LIBS
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9377 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9378 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9379 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9382 if test $ac_cv_lib_nsl_gethostbyname = no; then
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9384 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9385 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9386 $as_echo_n "(cached) " >&6
9387 else
9388 ac_check_lib_save_LIBS=$LIBS
9389 LIBS="-lbsd $LIBS"
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9393 /* Override any GCC internal prototype to avoid an error.
9394 Use char because int might match the return type of a GCC
9395 builtin and then its argument prototype would still apply. */
9396 #ifdef __cplusplus
9397 extern "C"
9398 #endif
9399 char gethostbyname ();
9401 main ()
9403 return gethostbyname ();
9405 return 0;
9407 _ACEOF
9408 if ac_fn_c_try_link "$LINENO"; then :
9409 ac_cv_lib_bsd_gethostbyname=yes
9410 else
9411 ac_cv_lib_bsd_gethostbyname=no
9413 rm -f core conftest.err conftest.$ac_objext \
9414 conftest$ac_exeext conftest.$ac_ext
9415 LIBS=$ac_check_lib_save_LIBS
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9418 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9419 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9420 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9426 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9427 # socket/setsockopt and other routines are undefined under SCO ODT
9428 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9429 # on later versions), says Simon Leinen: it contains gethostby*
9430 # variants that don't use the name server (or something). -lsocket
9431 # must be given before -lnsl if both are needed. We assume that
9432 # if connect needs -lnsl, so does gethostbyname.
9433 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9434 if test "x$ac_cv_func_connect" = xyes; then :
9438 if test $ac_cv_func_connect = no; then
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9440 $as_echo_n "checking for connect in -lsocket... " >&6; }
9441 if ${ac_cv_lib_socket_connect+:} false; then :
9442 $as_echo_n "(cached) " >&6
9443 else
9444 ac_check_lib_save_LIBS=$LIBS
9445 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9447 /* end confdefs.h. */
9449 /* Override any GCC internal prototype to avoid an error.
9450 Use char because int might match the return type of a GCC
9451 builtin and then its argument prototype would still apply. */
9452 #ifdef __cplusplus
9453 extern "C"
9454 #endif
9455 char connect ();
9457 main ()
9459 return connect ();
9461 return 0;
9463 _ACEOF
9464 if ac_fn_c_try_link "$LINENO"; then :
9465 ac_cv_lib_socket_connect=yes
9466 else
9467 ac_cv_lib_socket_connect=no
9469 rm -f core conftest.err conftest.$ac_objext \
9470 conftest$ac_exeext conftest.$ac_ext
9471 LIBS=$ac_check_lib_save_LIBS
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9474 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9475 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9476 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9481 # Guillermo Gomez says -lposix is necessary on A/UX.
9482 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9483 if test "x$ac_cv_func_remove" = xyes; then :
9487 if test $ac_cv_func_remove = no; then
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9489 $as_echo_n "checking for remove in -lposix... " >&6; }
9490 if ${ac_cv_lib_posix_remove+:} false; then :
9491 $as_echo_n "(cached) " >&6
9492 else
9493 ac_check_lib_save_LIBS=$LIBS
9494 LIBS="-lposix $LIBS"
9495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9496 /* end confdefs.h. */
9498 /* Override any GCC internal prototype to avoid an error.
9499 Use char because int might match the return type of a GCC
9500 builtin and then its argument prototype would still apply. */
9501 #ifdef __cplusplus
9502 extern "C"
9503 #endif
9504 char remove ();
9506 main ()
9508 return remove ();
9510 return 0;
9512 _ACEOF
9513 if ac_fn_c_try_link "$LINENO"; then :
9514 ac_cv_lib_posix_remove=yes
9515 else
9516 ac_cv_lib_posix_remove=no
9518 rm -f core conftest.err conftest.$ac_objext \
9519 conftest$ac_exeext conftest.$ac_ext
9520 LIBS=$ac_check_lib_save_LIBS
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9523 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9524 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9525 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9530 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9531 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9532 if test "x$ac_cv_func_shmat" = xyes; then :
9536 if test $ac_cv_func_shmat = no; then
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9538 $as_echo_n "checking for shmat in -lipc... " >&6; }
9539 if ${ac_cv_lib_ipc_shmat+:} false; then :
9540 $as_echo_n "(cached) " >&6
9541 else
9542 ac_check_lib_save_LIBS=$LIBS
9543 LIBS="-lipc $LIBS"
9544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9545 /* end confdefs.h. */
9547 /* Override any GCC internal prototype to avoid an error.
9548 Use char because int might match the return type of a GCC
9549 builtin and then its argument prototype would still apply. */
9550 #ifdef __cplusplus
9551 extern "C"
9552 #endif
9553 char shmat ();
9555 main ()
9557 return shmat ();
9559 return 0;
9561 _ACEOF
9562 if ac_fn_c_try_link "$LINENO"; then :
9563 ac_cv_lib_ipc_shmat=yes
9564 else
9565 ac_cv_lib_ipc_shmat=no
9567 rm -f core conftest.err conftest.$ac_objext \
9568 conftest$ac_exeext conftest.$ac_ext
9569 LIBS=$ac_check_lib_save_LIBS
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9572 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9573 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9574 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9580 # Check for libraries that X11R6 Xt/Xaw programs need.
9581 ac_save_LDFLAGS=$LDFLAGS
9582 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9583 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9584 # check for ICE first), but we must link in the order -lSM -lICE or
9585 # we get undefined symbols. So assume we have SM if we have ICE.
9586 # These have to be linked with before -lX11, unlike the other
9587 # libraries we check for below, so use a different variable.
9588 # John Interrante, Karl Berry
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9590 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9591 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9592 $as_echo_n "(cached) " >&6
9593 else
9594 ac_check_lib_save_LIBS=$LIBS
9595 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9597 /* end confdefs.h. */
9599 /* Override any GCC internal prototype to avoid an error.
9600 Use char because int might match the return type of a GCC
9601 builtin and then its argument prototype would still apply. */
9602 #ifdef __cplusplus
9603 extern "C"
9604 #endif
9605 char IceConnectionNumber ();
9607 main ()
9609 return IceConnectionNumber ();
9611 return 0;
9613 _ACEOF
9614 if ac_fn_c_try_link "$LINENO"; then :
9615 ac_cv_lib_ICE_IceConnectionNumber=yes
9616 else
9617 ac_cv_lib_ICE_IceConnectionNumber=no
9619 rm -f core conftest.err conftest.$ac_objext \
9620 conftest$ac_exeext conftest.$ac_ext
9621 LIBS=$ac_check_lib_save_LIBS
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9624 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9625 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9626 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9629 LDFLAGS=$ac_save_LDFLAGS
9634 if test "$have_x" = "yes"
9635 then
9636 ac_save_CPPFLAGS="$CPPFLAGS"
9637 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9640 $as_echo_n "checking for -lX11... " >&6; }
9641 if ${ac_cv_lib_soname_X11+:} false; then :
9642 $as_echo_n "(cached) " >&6
9643 else
9644 ac_check_soname_save_LIBS=$LIBS
9645 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9647 /* end confdefs.h. */
9649 /* Override any GCC internal prototype to avoid an error.
9650 Use char because int might match the return type of a GCC
9651 builtin and then its argument prototype would still apply. */
9652 #ifdef __cplusplus
9653 extern "C"
9654 #endif
9655 char XCreateWindow ();
9657 main ()
9659 return XCreateWindow ();
9661 return 0;
9663 _ACEOF
9664 if ac_fn_c_try_link "$LINENO"; then :
9665 case "$LIBEXT" in
9666 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9667 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'` ;;
9668 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9669 if ${ac_cv_lib_soname_X11:+false} :; then :
9670 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9671 fi ;;
9672 esac
9674 rm -f core conftest.err conftest.$ac_objext \
9675 conftest$ac_exeext conftest.$ac_ext
9676 LIBS=$ac_check_soname_save_LIBS
9678 if ${ac_cv_lib_soname_X11:+false} :; then :
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9680 $as_echo "not found" >&6; }
9682 else
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9684 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9686 cat >>confdefs.h <<_ACEOF
9687 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9688 _ACEOF
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9693 $as_echo_n "checking for -lXext... " >&6; }
9694 if ${ac_cv_lib_soname_Xext+:} false; then :
9695 $as_echo_n "(cached) " >&6
9696 else
9697 ac_check_soname_save_LIBS=$LIBS
9698 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9702 /* Override any GCC internal prototype to avoid an error.
9703 Use char because int might match the return type of a GCC
9704 builtin and then its argument prototype would still apply. */
9705 #ifdef __cplusplus
9706 extern "C"
9707 #endif
9708 char XextCreateExtension ();
9710 main ()
9712 return XextCreateExtension ();
9714 return 0;
9716 _ACEOF
9717 if ac_fn_c_try_link "$LINENO"; then :
9718 case "$LIBEXT" in
9719 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9720 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'` ;;
9721 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9722 if ${ac_cv_lib_soname_Xext:+false} :; then :
9723 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9724 fi ;;
9725 esac
9727 rm -f core conftest.err conftest.$ac_objext \
9728 conftest$ac_exeext conftest.$ac_ext
9729 LIBS=$ac_check_soname_save_LIBS
9731 if ${ac_cv_lib_soname_Xext:+false} :; then :
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9733 $as_echo "not found" >&6; }
9735 else
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9737 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9739 cat >>confdefs.h <<_ACEOF
9740 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9741 _ACEOF
9743 X_LIBS="$X_LIBS -lXext"
9745 X_LIBS="$X_LIBS -lX11"
9747 for ac_header in X11/Xlib.h \
9748 X11/XKBlib.h \
9749 X11/Xutil.h \
9750 X11/Xcursor/Xcursor.h \
9751 X11/extensions/shape.h \
9752 X11/extensions/XInput.h \
9753 X11/extensions/XInput2.h \
9754 X11/extensions/XShm.h \
9755 X11/extensions/Xcomposite.h \
9756 X11/extensions/Xinerama.h \
9757 X11/extensions/Xrandr.h \
9758 X11/extensions/Xrender.h \
9759 X11/extensions/xf86vmode.h \
9760 X11/extensions/xf86vmproto.h
9761 do :
9762 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9763 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9764 # include <X11/Xlib.h>
9765 #endif
9766 #ifdef HAVE_X11_XUTIL_H
9767 # include <X11/Xutil.h>
9768 #endif
9770 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9771 cat >>confdefs.h <<_ACEOF
9772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9773 _ACEOF
9777 done
9780 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9781 then
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9783 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9784 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9785 $as_echo_n "(cached) " >&6
9786 else
9787 ac_check_lib_save_LIBS=$LIBS
9788 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9790 /* end confdefs.h. */
9792 /* Override any GCC internal prototype to avoid an error.
9793 Use char because int might match the return type of a GCC
9794 builtin and then its argument prototype would still apply. */
9795 #ifdef __cplusplus
9796 extern "C"
9797 #endif
9798 char XkbQueryExtension ();
9800 main ()
9802 return XkbQueryExtension ();
9804 return 0;
9806 _ACEOF
9807 if ac_fn_c_try_link "$LINENO"; then :
9808 ac_cv_lib_X11_XkbQueryExtension=yes
9809 else
9810 ac_cv_lib_X11_XkbQueryExtension=no
9812 rm -f core conftest.err conftest.$ac_objext \
9813 conftest$ac_exeext conftest.$ac_ext
9814 LIBS=$ac_check_lib_save_LIBS
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9817 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9818 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9820 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9826 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9827 then
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9829 $as_echo_n "checking for -lXcursor... " >&6; }
9830 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9831 $as_echo_n "(cached) " >&6
9832 else
9833 ac_check_soname_save_LIBS=$LIBS
9834 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9838 /* Override any GCC internal prototype to avoid an error.
9839 Use char because int might match the return type of a GCC
9840 builtin and then its argument prototype would still apply. */
9841 #ifdef __cplusplus
9842 extern "C"
9843 #endif
9844 char XcursorImageLoadCursor ();
9846 main ()
9848 return XcursorImageLoadCursor ();
9850 return 0;
9852 _ACEOF
9853 if ac_fn_c_try_link "$LINENO"; then :
9854 case "$LIBEXT" in
9855 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9856 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'` ;;
9857 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9858 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9859 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9860 fi ;;
9861 esac
9863 rm -f core conftest.err conftest.$ac_objext \
9864 conftest$ac_exeext conftest.$ac_ext
9865 LIBS=$ac_check_soname_save_LIBS
9867 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9869 $as_echo "not found" >&6; }
9871 else
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9873 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9875 cat >>confdefs.h <<_ACEOF
9876 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9877 _ACEOF
9882 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9883 case "x$with_xcursor" in
9884 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9885 xno) ;;
9886 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9887 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9888 esac
9891 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9892 then
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9894 $as_echo_n "checking for -lXi... " >&6; }
9895 if ${ac_cv_lib_soname_Xi+:} false; then :
9896 $as_echo_n "(cached) " >&6
9897 else
9898 ac_check_soname_save_LIBS=$LIBS
9899 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9901 /* end confdefs.h. */
9903 /* Override any GCC internal prototype to avoid an error.
9904 Use char because int might match the return type of a GCC
9905 builtin and then its argument prototype would still apply. */
9906 #ifdef __cplusplus
9907 extern "C"
9908 #endif
9909 char XOpenDevice ();
9911 main ()
9913 return XOpenDevice ();
9915 return 0;
9917 _ACEOF
9918 if ac_fn_c_try_link "$LINENO"; then :
9919 case "$LIBEXT" in
9920 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9921 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'` ;;
9922 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9923 if ${ac_cv_lib_soname_Xi:+false} :; then :
9924 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9925 fi ;;
9926 esac
9928 rm -f core conftest.err conftest.$ac_objext \
9929 conftest$ac_exeext conftest.$ac_ext
9930 LIBS=$ac_check_soname_save_LIBS
9932 if ${ac_cv_lib_soname_Xi:+false} :; then :
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9934 $as_echo "not found" >&6; }
9936 else
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9938 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9940 cat >>confdefs.h <<_ACEOF
9941 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9942 _ACEOF
9947 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9948 case "x$with_xinput" in
9949 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9950 xno) ;;
9951 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9952 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9953 esac
9956 if test "x$ac_cv_lib_soname_Xi" != x
9957 then
9958 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9959 case "x$with_xinput2" in
9960 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9961 xno) ;;
9962 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9963 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9964 esac
9968 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9969 then
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9971 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9972 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9973 $as_echo_n "(cached) " >&6
9974 else
9975 ac_check_lib_save_LIBS=$LIBS
9976 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9980 /* Override any GCC internal prototype to avoid an error.
9981 Use char because int might match the return type of a GCC
9982 builtin and then its argument prototype would still apply. */
9983 #ifdef __cplusplus
9984 extern "C"
9985 #endif
9986 char XShmQueryExtension ();
9988 main ()
9990 return XShmQueryExtension ();
9992 return 0;
9994 _ACEOF
9995 if ac_fn_c_try_link "$LINENO"; then :
9996 ac_cv_lib_Xext_XShmQueryExtension=yes
9997 else
9998 ac_cv_lib_Xext_XShmQueryExtension=no
10000 rm -f core conftest.err conftest.$ac_objext \
10001 conftest$ac_exeext conftest.$ac_ext
10002 LIBS=$ac_check_lib_save_LIBS
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10005 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10006 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10008 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10013 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10014 case "x$with_xshm" in
10015 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10016 xno) ;;
10017 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10018 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10019 esac
10022 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10023 then
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10025 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10026 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10027 $as_echo_n "(cached) " >&6
10028 else
10029 ac_check_lib_save_LIBS=$LIBS
10030 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10034 /* Override any GCC internal prototype to avoid an error.
10035 Use char because int might match the return type of a GCC
10036 builtin and then its argument prototype would still apply. */
10037 #ifdef __cplusplus
10038 extern "C"
10039 #endif
10040 char XShapeQueryExtension ();
10042 main ()
10044 return XShapeQueryExtension ();
10046 return 0;
10048 _ACEOF
10049 if ac_fn_c_try_link "$LINENO"; then :
10050 ac_cv_lib_Xext_XShapeQueryExtension=yes
10051 else
10052 ac_cv_lib_Xext_XShapeQueryExtension=no
10054 rm -f core conftest.err conftest.$ac_objext \
10055 conftest$ac_exeext conftest.$ac_ext
10056 LIBS=$ac_check_lib_save_LIBS
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10059 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10060 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10062 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10067 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10068 case "x$with_xshape" in
10069 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10070 xno) ;;
10071 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10072 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10073 esac
10076 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10077 then
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10079 $as_echo_n "checking for -lXxf86vm... " >&6; }
10080 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10081 $as_echo_n "(cached) " >&6
10082 else
10083 ac_check_soname_save_LIBS=$LIBS
10084 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10086 /* end confdefs.h. */
10088 /* Override any GCC internal prototype to avoid an error.
10089 Use char because int might match the return type of a GCC
10090 builtin and then its argument prototype would still apply. */
10091 #ifdef __cplusplus
10092 extern "C"
10093 #endif
10094 char XF86VidModeQueryExtension ();
10096 main ()
10098 return XF86VidModeQueryExtension ();
10100 return 0;
10102 _ACEOF
10103 if ac_fn_c_try_link "$LINENO"; then :
10104 case "$LIBEXT" in
10105 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10106 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'` ;;
10107 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10108 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10109 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10110 fi ;;
10111 esac
10113 rm -f core conftest.err conftest.$ac_objext \
10114 conftest$ac_exeext conftest.$ac_ext
10115 LIBS=$ac_check_soname_save_LIBS
10117 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10119 $as_echo "not found" >&6; }
10121 else
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10123 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10125 cat >>confdefs.h <<_ACEOF
10126 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10127 _ACEOF
10132 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10133 case "x$with_xxf86vm" in
10134 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10135 xno) ;;
10136 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10137 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10138 esac
10141 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10142 then
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10144 $as_echo_n "checking for -lXrender... " >&6; }
10145 if ${ac_cv_lib_soname_Xrender+:} false; then :
10146 $as_echo_n "(cached) " >&6
10147 else
10148 ac_check_soname_save_LIBS=$LIBS
10149 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10153 /* Override any GCC internal prototype to avoid an error.
10154 Use char because int might match the return type of a GCC
10155 builtin and then its argument prototype would still apply. */
10156 #ifdef __cplusplus
10157 extern "C"
10158 #endif
10159 char XRenderQueryExtension ();
10161 main ()
10163 return XRenderQueryExtension ();
10165 return 0;
10167 _ACEOF
10168 if ac_fn_c_try_link "$LINENO"; then :
10169 case "$LIBEXT" in
10170 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10171 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'` ;;
10172 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10173 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10174 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10175 fi ;;
10176 esac
10178 rm -f core conftest.err conftest.$ac_objext \
10179 conftest$ac_exeext conftest.$ac_ext
10180 LIBS=$ac_check_soname_save_LIBS
10182 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10184 $as_echo "not found" >&6; }
10186 else
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10188 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10190 cat >>confdefs.h <<_ACEOF
10191 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10192 _ACEOF
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10195 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10196 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10197 $as_echo_n "(cached) " >&6
10198 else
10199 ac_check_lib_save_LIBS=$LIBS
10200 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10204 /* Override any GCC internal prototype to avoid an error.
10205 Use char because int might match the return type of a GCC
10206 builtin and then its argument prototype would still apply. */
10207 #ifdef __cplusplus
10208 extern "C"
10209 #endif
10210 char XRenderSetPictureTransform ();
10212 main ()
10214 return XRenderSetPictureTransform ();
10216 return 0;
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"; then :
10220 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10221 else
10222 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10224 rm -f core conftest.err conftest.$ac_objext \
10225 conftest$ac_exeext conftest.$ac_ext
10226 LIBS=$ac_check_lib_save_LIBS
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10229 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10230 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10232 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10237 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10238 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10239 $as_echo_n "(cached) " >&6
10240 else
10241 ac_check_lib_save_LIBS=$LIBS
10242 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 char XRenderCreateLinearGradient ();
10254 main ()
10256 return XRenderCreateLinearGradient ();
10258 return 0;
10260 _ACEOF
10261 if ac_fn_c_try_link "$LINENO"; then :
10262 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10263 else
10264 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10266 rm -f core conftest.err conftest.$ac_objext \
10267 conftest$ac_exeext conftest.$ac_ext
10268 LIBS=$ac_check_lib_save_LIBS
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10271 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10272 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10274 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10281 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10282 case "x$with_xrender" in
10283 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10284 xno) ;;
10285 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10286 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10287 esac
10290 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10291 then
10292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10293 /* end confdefs.h. */
10294 #include <X11/Xlib.h>
10295 #include <X11/extensions/Xrandr.h>
10297 main ()
10299 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10301 return 0;
10303 _ACEOF
10304 if ac_fn_c_try_compile "$LINENO"; then :
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10306 $as_echo_n "checking for -lXrandr... " >&6; }
10307 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10308 $as_echo_n "(cached) " >&6
10309 else
10310 ac_check_soname_save_LIBS=$LIBS
10311 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10315 /* Override any GCC internal prototype to avoid an error.
10316 Use char because int might match the return type of a GCC
10317 builtin and then its argument prototype would still apply. */
10318 #ifdef __cplusplus
10319 extern "C"
10320 #endif
10321 char XRRQueryExtension ();
10323 main ()
10325 return XRRQueryExtension ();
10327 return 0;
10329 _ACEOF
10330 if ac_fn_c_try_link "$LINENO"; then :
10331 case "$LIBEXT" in
10332 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10333 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'` ;;
10334 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10335 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10336 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10337 fi ;;
10338 esac
10340 rm -f core conftest.err conftest.$ac_objext \
10341 conftest$ac_exeext conftest.$ac_ext
10342 LIBS=$ac_check_soname_save_LIBS
10344 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10346 $as_echo "not found" >&6; }
10348 else
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10350 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10352 cat >>confdefs.h <<_ACEOF
10353 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10354 _ACEOF
10356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10357 /* end confdefs.h. */
10358 #include <X11/Xlib.h>
10359 #include <X11/extensions/Xrandr.h>
10361 main ()
10363 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10365 return 0;
10367 _ACEOF
10368 if ac_fn_c_try_compile "$LINENO"; then :
10370 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10378 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10379 case "x$with_xrandr" in
10380 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10381 xno) ;;
10382 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10383 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10384 esac
10387 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10388 then
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10391 #include <X11/Xlib.h>
10392 #include <X11/extensions/Xinerama.h>
10394 main ()
10396 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10398 return 0;
10400 _ACEOF
10401 if ac_fn_c_try_compile "$LINENO"; then :
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10403 $as_echo_n "checking for -lXinerama... " >&6; }
10404 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10405 $as_echo_n "(cached) " >&6
10406 else
10407 ac_check_soname_save_LIBS=$LIBS
10408 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10412 /* Override any GCC internal prototype to avoid an error.
10413 Use char because int might match the return type of a GCC
10414 builtin and then its argument prototype would still apply. */
10415 #ifdef __cplusplus
10416 extern "C"
10417 #endif
10418 char XineramaQueryScreens ();
10420 main ()
10422 return XineramaQueryScreens ();
10424 return 0;
10426 _ACEOF
10427 if ac_fn_c_try_link "$LINENO"; then :
10428 case "$LIBEXT" in
10429 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10430 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'` ;;
10431 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10432 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10433 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10434 fi ;;
10435 esac
10437 rm -f core conftest.err conftest.$ac_objext \
10438 conftest$ac_exeext conftest.$ac_ext
10439 LIBS=$ac_check_soname_save_LIBS
10441 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10443 $as_echo "not found" >&6; }
10445 else
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10447 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10449 cat >>confdefs.h <<_ACEOF
10450 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10451 _ACEOF
10456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10458 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10459 case "x$with_xinerama" in
10460 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10461 xno) ;;
10462 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10463 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10464 esac
10467 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10468 then
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10470 $as_echo_n "checking for -lXcomposite... " >&6; }
10471 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10472 $as_echo_n "(cached) " >&6
10473 else
10474 ac_check_soname_save_LIBS=$LIBS
10475 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10479 /* Override any GCC internal prototype to avoid an error.
10480 Use char because int might match the return type of a GCC
10481 builtin and then its argument prototype would still apply. */
10482 #ifdef __cplusplus
10483 extern "C"
10484 #endif
10485 char XCompositeRedirectWindow ();
10487 main ()
10489 return XCompositeRedirectWindow ();
10491 return 0;
10493 _ACEOF
10494 if ac_fn_c_try_link "$LINENO"; then :
10495 case "$LIBEXT" in
10496 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10497 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'` ;;
10498 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10499 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10500 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10501 fi ;;
10502 esac
10504 rm -f core conftest.err conftest.$ac_objext \
10505 conftest$ac_exeext conftest.$ac_ext
10506 LIBS=$ac_check_soname_save_LIBS
10508 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10510 $as_echo "not found" >&6; }
10512 else
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10514 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10516 cat >>confdefs.h <<_ACEOF
10517 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10518 _ACEOF
10523 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10524 case "x$with_xcomposite" in
10525 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10526 xno) ;;
10527 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10528 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10529 esac
10532 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10533 #include <X11/Xlib.h>
10534 #endif
10536 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10538 cat >>confdefs.h <<_ACEOF
10539 #define HAVE_XICCALLBACK_CALLBACK 1
10540 _ACEOF
10544 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10545 #include <X11/Xlib.h>
10546 #endif
10548 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10550 cat >>confdefs.h <<_ACEOF
10551 #define HAVE_XEVENT_XCOOKIE 1
10552 _ACEOF
10559 opengl_msg=""
10560 if test "x$with_opengl" != "xno"
10561 then
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10563 $as_echo_n "checking for -lGL... " >&6; }
10564 if ${ac_cv_lib_soname_GL+:} false; then :
10565 $as_echo_n "(cached) " >&6
10566 else
10567 ac_check_soname_save_LIBS=$LIBS
10568 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10570 /* end confdefs.h. */
10572 /* Override any GCC internal prototype to avoid an error.
10573 Use char because int might match the return type of a GCC
10574 builtin and then its argument prototype would still apply. */
10575 #ifdef __cplusplus
10576 extern "C"
10577 #endif
10578 char glXCreateContext ();
10580 main ()
10582 return glXCreateContext ();
10584 return 0;
10586 _ACEOF
10587 if ac_fn_c_try_link "$LINENO"; then :
10588 case "$LIBEXT" in
10589 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10590 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'` ;;
10591 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10592 if ${ac_cv_lib_soname_GL:+false} :; then :
10593 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10594 fi ;;
10595 esac
10597 rm -f core conftest.err conftest.$ac_objext \
10598 conftest$ac_exeext conftest.$ac_ext
10599 LIBS=$ac_check_soname_save_LIBS
10601 if ${ac_cv_lib_soname_GL:+false} :; then :
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10603 $as_echo "not found" >&6; }
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10605 $as_echo_n "checking for -lGL... " >&6; }
10606 if ${ac_cv_lib_soname_GL+:} false; then :
10607 $as_echo_n "(cached) " >&6
10608 else
10609 ac_check_soname_save_LIBS=$LIBS
10610 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"
10611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10612 /* end confdefs.h. */
10614 /* Override any GCC internal prototype to avoid an error.
10615 Use char because int might match the return type of a GCC
10616 builtin and then its argument prototype would still apply. */
10617 #ifdef __cplusplus
10618 extern "C"
10619 #endif
10620 char glXCreateContext ();
10622 main ()
10624 return glXCreateContext ();
10626 return 0;
10628 _ACEOF
10629 if ac_fn_c_try_link "$LINENO"; then :
10630 case "$LIBEXT" in
10631 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10632 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'` ;;
10633 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10634 if ${ac_cv_lib_soname_GL:+false} :; then :
10635 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10636 fi ;;
10637 esac
10639 rm -f core conftest.err conftest.$ac_objext \
10640 conftest$ac_exeext conftest.$ac_ext
10641 LIBS=$ac_check_soname_save_LIBS
10643 if ${ac_cv_lib_soname_GL:+false} :; then :
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10645 $as_echo "not found" >&6; }
10646 if test -f /usr/X11R6/lib/libGL.a
10647 then
10648 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10649 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10650 else
10651 opengl_msg="No OpenGL library found on this system."
10653 else
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10655 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10657 cat >>confdefs.h <<_ACEOF
10658 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10659 _ACEOF
10661 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"
10663 else
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10665 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10667 cat >>confdefs.h <<_ACEOF
10668 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10669 _ACEOF
10671 OPENGL_LIBS="-lGL"
10673 if test "x$with_glu" != "xno"
10674 then
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10676 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10677 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10678 $as_echo_n "(cached) " >&6
10679 else
10680 ac_check_lib_save_LIBS=$LIBS
10681 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10685 /* Override any GCC internal prototype to avoid an error.
10686 Use char because int might match the return type of a GCC
10687 builtin and then its argument prototype would still apply. */
10688 #ifdef __cplusplus
10689 extern "C"
10690 #endif
10691 char gluLookAt ();
10693 main ()
10695 return gluLookAt ();
10697 return 0;
10699 _ACEOF
10700 if ac_fn_c_try_link "$LINENO"; then :
10701 ac_cv_lib_GLU_gluLookAt=yes
10702 else
10703 ac_cv_lib_GLU_gluLookAt=no
10705 rm -f core conftest.err conftest.$ac_objext \
10706 conftest$ac_exeext conftest.$ac_ext
10707 LIBS=$ac_check_lib_save_LIBS
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10710 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10711 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10715 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10716 case "x$with_glu" in
10717 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10718 xno) ;;
10719 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10720 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10721 esac
10725 if test "x$with_osmesa" != "xno"
10726 then
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10728 $as_echo_n "checking for -lOSMesa... " >&6; }
10729 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10730 $as_echo_n "(cached) " >&6
10731 else
10732 ac_check_soname_save_LIBS=$LIBS
10733 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10735 /* end confdefs.h. */
10737 /* Override any GCC internal prototype to avoid an error.
10738 Use char because int might match the return type of a GCC
10739 builtin and then its argument prototype would still apply. */
10740 #ifdef __cplusplus
10741 extern "C"
10742 #endif
10743 char glAccum ();
10745 main ()
10747 return glAccum ();
10749 return 0;
10751 _ACEOF
10752 if ac_fn_c_try_link "$LINENO"; then :
10753 case "$LIBEXT" in
10754 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10755 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'` ;;
10756 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10757 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10758 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10759 fi ;;
10760 esac
10762 rm -f core conftest.err conftest.$ac_objext \
10763 conftest$ac_exeext conftest.$ac_ext
10764 LIBS=$ac_check_soname_save_LIBS
10766 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10768 $as_echo "not found" >&6; }
10770 else
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10772 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10774 cat >>confdefs.h <<_ACEOF
10775 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10776 _ACEOF
10780 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10781 case "x$with_osmesa" in
10782 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10783 xno) ;;
10784 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10785 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10786 esac
10790 if test -n "$opengl_msg"; then :
10791 case "x$with_opengl" in
10792 x) as_fn_append wine_warnings "|$opengl_msg
10793 OpenGL and Direct3D won't be supported." ;;
10794 xno) ;;
10795 *) as_fn_error $? "$opengl_msg
10796 OpenGL and Direct3D won't be supported.
10797 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10798 esac
10801 CPPFLAGS="$ac_save_CPPFLAGS"
10802 else
10803 X_CFLAGS=""
10804 X_LIBS=""
10805 enable_winex11_drv=${enable_winex11_drv:-no}
10807 if test "x$X_LIBS" = "x"; then :
10808 case "x$with_x" in
10809 xno) ;;
10810 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10811 without X support, which probably isn't what you want. You will need
10812 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10813 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10814 esac
10817 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10819 if test "$ac_cv_header_CL_cl_h" = "yes"
10820 then
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10822 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10823 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10824 $as_echo_n "(cached) " >&6
10825 else
10826 ac_check_lib_save_LIBS=$LIBS
10827 LIBS="-lOpenCL $LIBS"
10828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10829 /* end confdefs.h. */
10831 /* Override any GCC internal prototype to avoid an error.
10832 Use char because int might match the return type of a GCC
10833 builtin and then its argument prototype would still apply. */
10834 #ifdef __cplusplus
10835 extern "C"
10836 #endif
10837 char clGetPlatformInfo ();
10839 main ()
10841 return clGetPlatformInfo ();
10843 return 0;
10845 _ACEOF
10846 if ac_fn_c_try_link "$LINENO"; then :
10847 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10848 else
10849 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10851 rm -f core conftest.err conftest.$ac_objext \
10852 conftest$ac_exeext conftest.$ac_ext
10853 LIBS=$ac_check_lib_save_LIBS
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10856 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10857 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10858 OPENCL_LIBS="-lOpenCL"
10863 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10864 case "x$with_opencl" in
10865 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10866 xno) ;;
10867 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10868 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10869 esac
10871 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10873 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10874 then
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10876 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10877 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10878 $as_echo_n "(cached) " >&6
10879 else
10880 ac_check_lib_save_LIBS=$LIBS
10881 LIBS="-lpcap $LIBS"
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10885 /* Override any GCC internal prototype to avoid an error.
10886 Use char because int might match the return type of a GCC
10887 builtin and then its argument prototype would still apply. */
10888 #ifdef __cplusplus
10889 extern "C"
10890 #endif
10891 char pcap_create ();
10893 main ()
10895 return pcap_create ();
10897 return 0;
10899 _ACEOF
10900 if ac_fn_c_try_link "$LINENO"; then :
10901 ac_cv_lib_pcap_pcap_create=yes
10902 else
10903 ac_cv_lib_pcap_pcap_create=no
10905 rm -f core conftest.err conftest.$ac_objext \
10906 conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_check_lib_save_LIBS
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10910 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10911 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10912 LIBPCAP="-lpcap"
10917 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10918 case "x$with_pcap" in
10919 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10920 xno) ;;
10921 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10922 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10923 esac
10925 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10928 if test "x$with_xml" != "xno"
10929 then
10930 if ${XML2_CFLAGS:+false} :; then :
10931 if ${PKG_CONFIG+:} false; then :
10932 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10935 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10936 if ${XML2_LIBS:+false} :; then :
10937 if ${PKG_CONFIG+:} false; then :
10938 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10941 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10942 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10943 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10944 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10945 ac_save_CPPFLAGS=$CPPFLAGS
10946 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10947 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10948 do :
10949 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10950 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10951 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10952 cat >>confdefs.h <<_ACEOF
10953 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10954 _ACEOF
10958 done
10960 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"
10961 then
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10963 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10964 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10965 $as_echo_n "(cached) " >&6
10966 else
10967 ac_check_lib_save_LIBS=$LIBS
10968 LIBS="-lxml2 $XML2_LIBS $LIBS"
10969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10970 /* end confdefs.h. */
10972 /* Override any GCC internal prototype to avoid an error.
10973 Use char because int might match the return type of a GCC
10974 builtin and then its argument prototype would still apply. */
10975 #ifdef __cplusplus
10976 extern "C"
10977 #endif
10978 char xmlParseMemory ();
10980 main ()
10982 return xmlParseMemory ();
10984 return 0;
10986 _ACEOF
10987 if ac_fn_c_try_link "$LINENO"; then :
10988 ac_cv_lib_xml2_xmlParseMemory=yes
10989 else
10990 ac_cv_lib_xml2_xmlParseMemory=no
10992 rm -f core conftest.err conftest.$ac_objext \
10993 conftest$ac_exeext conftest.$ac_ext
10994 LIBS=$ac_check_lib_save_LIBS
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10997 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10998 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11000 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11002 else
11003 XML2_LIBS=""
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11007 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11008 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11009 $as_echo_n "(cached) " >&6
11010 else
11011 ac_check_lib_save_LIBS=$LIBS
11012 LIBS="-lxml2 $XML2_LIBS $LIBS"
11013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11016 /* Override any GCC internal prototype to avoid an error.
11017 Use char because int might match the return type of a GCC
11018 builtin and then its argument prototype would still apply. */
11019 #ifdef __cplusplus
11020 extern "C"
11021 #endif
11022 char xmlReadMemory ();
11024 main ()
11026 return xmlReadMemory ();
11028 return 0;
11030 _ACEOF
11031 if ac_fn_c_try_link "$LINENO"; then :
11032 ac_cv_lib_xml2_xmlReadMemory=yes
11033 else
11034 ac_cv_lib_xml2_xmlReadMemory=no
11036 rm -f core conftest.err conftest.$ac_objext \
11037 conftest$ac_exeext conftest.$ac_ext
11038 LIBS=$ac_check_lib_save_LIBS
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11041 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11042 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11044 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11049 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11050 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11051 $as_echo_n "(cached) " >&6
11052 else
11053 ac_check_lib_save_LIBS=$LIBS
11054 LIBS="-lxml2 $XML2_LIBS $LIBS"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11058 /* Override any GCC internal prototype to avoid an error.
11059 Use char because int might match the return type of a GCC
11060 builtin and then its argument prototype would still apply. */
11061 #ifdef __cplusplus
11062 extern "C"
11063 #endif
11064 char xmlNewDocPI ();
11066 main ()
11068 return xmlNewDocPI ();
11070 return 0;
11072 _ACEOF
11073 if ac_fn_c_try_link "$LINENO"; then :
11074 ac_cv_lib_xml2_xmlNewDocPI=yes
11075 else
11076 ac_cv_lib_xml2_xmlNewDocPI=no
11078 rm -f core conftest.err conftest.$ac_objext \
11079 conftest$ac_exeext conftest.$ac_ext
11080 LIBS=$ac_check_lib_save_LIBS
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11083 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11084 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11086 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11091 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11092 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11093 $as_echo_n "(cached) " >&6
11094 else
11095 ac_check_lib_save_LIBS=$LIBS
11096 LIBS="-lxml2 $XML2_LIBS $LIBS"
11097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11098 /* end confdefs.h. */
11100 /* Override any GCC internal prototype to avoid an error.
11101 Use char because int might match the return type of a GCC
11102 builtin and then its argument prototype would still apply. */
11103 #ifdef __cplusplus
11104 extern "C"
11105 #endif
11106 char xmlSchemaSetParserStructuredErrors ();
11108 main ()
11110 return xmlSchemaSetParserStructuredErrors ();
11112 return 0;
11114 _ACEOF
11115 if ac_fn_c_try_link "$LINENO"; then :
11116 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11117 else
11118 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11120 rm -f core conftest.err conftest.$ac_objext \
11121 conftest$ac_exeext conftest.$ac_ext
11122 LIBS=$ac_check_lib_save_LIBS
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11125 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11126 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11128 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11133 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11134 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11135 $as_echo_n "(cached) " >&6
11136 else
11137 ac_check_lib_save_LIBS=$LIBS
11138 LIBS="-lxml2 $XML2_LIBS $LIBS"
11139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11140 /* end confdefs.h. */
11142 /* Override any GCC internal prototype to avoid an error.
11143 Use char because int might match the return type of a GCC
11144 builtin and then its argument prototype would still apply. */
11145 #ifdef __cplusplus
11146 extern "C"
11147 #endif
11148 char xmlSchemaSetValidStructuredErrors ();
11150 main ()
11152 return xmlSchemaSetValidStructuredErrors ();
11154 return 0;
11156 _ACEOF
11157 if ac_fn_c_try_link "$LINENO"; then :
11158 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11159 else
11160 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11162 rm -f core conftest.err conftest.$ac_objext \
11163 conftest$ac_exeext conftest.$ac_ext
11164 LIBS=$ac_check_lib_save_LIBS
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11167 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11168 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11170 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11175 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11176 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11177 $as_echo_n "(cached) " >&6
11178 else
11179 ac_check_lib_save_LIBS=$LIBS
11180 LIBS="-lxml2 $XML2_LIBS $LIBS"
11181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11182 /* end confdefs.h. */
11184 /* Override any GCC internal prototype to avoid an error.
11185 Use char because int might match the return type of a GCC
11186 builtin and then its argument prototype would still apply. */
11187 #ifdef __cplusplus
11188 extern "C"
11189 #endif
11190 char xmlFirstElementChild ();
11192 main ()
11194 return xmlFirstElementChild ();
11196 return 0;
11198 _ACEOF
11199 if ac_fn_c_try_link "$LINENO"; then :
11200 ac_cv_lib_xml2_xmlFirstElementChild=yes
11201 else
11202 ac_cv_lib_xml2_xmlFirstElementChild=no
11204 rm -f core conftest.err conftest.$ac_objext \
11205 conftest$ac_exeext conftest.$ac_ext
11206 LIBS=$ac_check_lib_save_LIBS
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11209 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11210 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11212 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11216 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11218 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11220 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11224 else
11225 XML2_CFLAGS=""
11226 XML2_LIBS=""
11228 CPPFLAGS=$ac_save_CPPFLAGS
11229 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11230 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11233 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11234 case "x$with_xml" in
11235 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11236 xno) ;;
11237 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11238 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11239 esac
11242 if test "x$with_xslt" != "xno"
11243 then
11244 if ${XSLT_CFLAGS:+false} :; then :
11245 if ${PKG_CONFIG+:} false; then :
11246 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11249 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11250 if ${XSLT_LIBS:+false} :; then :
11251 if ${PKG_CONFIG+:} false; then :
11252 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11255 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11256 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11257 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11258 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11259 ac_save_CPPFLAGS=$CPPFLAGS
11260 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11261 for ac_header in libxslt/pattern.h libxslt/transform.h
11262 do :
11263 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11264 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11265 # include <libxslt/pattern.h>
11266 #endif
11268 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11269 cat >>confdefs.h <<_ACEOF
11270 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11271 _ACEOF
11275 done
11277 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11278 then
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11280 $as_echo_n "checking for -lxslt... " >&6; }
11281 if ${ac_cv_lib_soname_xslt+:} false; then :
11282 $as_echo_n "(cached) " >&6
11283 else
11284 ac_check_soname_save_LIBS=$LIBS
11285 LIBS="-lxslt $XSLT_LIBS $LIBS"
11286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11289 /* Override any GCC internal prototype to avoid an error.
11290 Use char because int might match the return type of a GCC
11291 builtin and then its argument prototype would still apply. */
11292 #ifdef __cplusplus
11293 extern "C"
11294 #endif
11295 char xsltCompilePattern ();
11297 main ()
11299 return xsltCompilePattern ();
11301 return 0;
11303 _ACEOF
11304 if ac_fn_c_try_link "$LINENO"; then :
11305 case "$LIBEXT" in
11306 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11307 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'` ;;
11308 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11309 if ${ac_cv_lib_soname_xslt:+false} :; then :
11310 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11311 fi ;;
11312 esac
11314 rm -f core conftest.err conftest.$ac_objext \
11315 conftest$ac_exeext conftest.$ac_ext
11316 LIBS=$ac_check_soname_save_LIBS
11318 if ${ac_cv_lib_soname_xslt:+false} :; then :
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11320 $as_echo "not found" >&6; }
11322 else
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11324 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11326 cat >>confdefs.h <<_ACEOF
11327 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11328 _ACEOF
11332 else
11333 XSLT_CFLAGS=""
11335 CPPFLAGS=$ac_save_CPPFLAGS
11336 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11337 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11340 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11341 case "x$with_xslt" in
11342 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11343 xno) ;;
11344 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11345 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11346 esac
11349 if test "x$with_dbus" != "xno"
11350 then
11351 if ${DBUS_CFLAGS:+false} :; then :
11352 if ${PKG_CONFIG+:} false; then :
11353 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11357 if ${DBUS_LIBS:+false} :; then :
11358 if ${PKG_CONFIG+:} false; then :
11359 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11364 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11365 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11366 ac_save_CPPFLAGS=$CPPFLAGS
11367 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11368 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11369 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11371 $as_echo_n "checking for -ldbus-1... " >&6; }
11372 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11373 $as_echo_n "(cached) " >&6
11374 else
11375 ac_check_soname_save_LIBS=$LIBS
11376 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11380 /* Override any GCC internal prototype to avoid an error.
11381 Use char because int might match the return type of a GCC
11382 builtin and then its argument prototype would still apply. */
11383 #ifdef __cplusplus
11384 extern "C"
11385 #endif
11386 char dbus_connection_close ();
11388 main ()
11390 return dbus_connection_close ();
11392 return 0;
11394 _ACEOF
11395 if ac_fn_c_try_link "$LINENO"; then :
11396 case "$LIBEXT" in
11397 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11398 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'` ;;
11399 *) 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'`
11400 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11401 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11402 fi ;;
11403 esac
11405 rm -f core conftest.err conftest.$ac_objext \
11406 conftest$ac_exeext conftest.$ac_ext
11407 LIBS=$ac_check_soname_save_LIBS
11409 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11411 $as_echo "not found" >&6; }
11412 DBUS_CFLAGS=""
11413 else
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11415 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11417 cat >>confdefs.h <<_ACEOF
11418 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11419 _ACEOF
11423 else
11424 DBUS_CFLAGS=""
11428 CPPFLAGS=$ac_save_CPPFLAGS
11429 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11430 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11433 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11434 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11435 case "x$with_dbus" in
11436 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11437 xno) ;;
11438 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11439 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11440 esac
11443 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11444 then
11445 if ${HAL_CFLAGS:+false} :; then :
11446 if ${PKG_CONFIG+:} false; then :
11447 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11451 if ${HAL_LIBS:+false} :; then :
11452 if ${PKG_CONFIG+:} false; then :
11453 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11457 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11458 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11459 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11460 ac_save_CPPFLAGS=$CPPFLAGS
11461 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11462 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11463 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11465 $as_echo_n "checking for -lhal... " >&6; }
11466 if ${ac_cv_lib_soname_hal+:} false; then :
11467 $as_echo_n "(cached) " >&6
11468 else
11469 ac_check_soname_save_LIBS=$LIBS
11470 LIBS="-lhal $HAL_LIBS $LIBS"
11471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11472 /* end confdefs.h. */
11474 /* Override any GCC internal prototype to avoid an error.
11475 Use char because int might match the return type of a GCC
11476 builtin and then its argument prototype would still apply. */
11477 #ifdef __cplusplus
11478 extern "C"
11479 #endif
11480 char libhal_ctx_new ();
11482 main ()
11484 return libhal_ctx_new ();
11486 return 0;
11488 _ACEOF
11489 if ac_fn_c_try_link "$LINENO"; then :
11490 case "$LIBEXT" in
11491 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11492 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'` ;;
11493 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11494 if ${ac_cv_lib_soname_hal:+false} :; then :
11495 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11496 fi ;;
11497 esac
11499 rm -f core conftest.err conftest.$ac_objext \
11500 conftest$ac_exeext conftest.$ac_ext
11501 LIBS=$ac_check_soname_save_LIBS
11503 if ${ac_cv_lib_soname_hal:+false} :; then :
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11505 $as_echo "not found" >&6; }
11506 HAL_CFLAGS=""
11507 else
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11509 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11511 cat >>confdefs.h <<_ACEOF
11512 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11513 _ACEOF
11517 else
11518 HAL_CFLAGS=""
11522 CPPFLAGS=$ac_save_CPPFLAGS
11523 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11524 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11526 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11527 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11528 case "x$with_hal" in
11529 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11530 xno) ;;
11531 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11532 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11533 esac
11537 if test "x$with_gnutls" != "xno"
11538 then
11539 if ${GNUTLS_CFLAGS:+false} :; then :
11540 if ${PKG_CONFIG+:} false; then :
11541 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11545 if ${GNUTLS_LIBS:+false} :; then :
11546 if ${PKG_CONFIG+:} false; then :
11547 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11552 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11553 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11554 ac_save_CPPFLAGS=$CPPFLAGS
11555 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11556 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11557 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11559 /* end confdefs.h. */
11560 #include <gnutls/gnutls.h>
11561 #include <gnutls/crypto.h>
11563 main ()
11565 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11567 return 0;
11569 _ACEOF
11570 if ac_fn_c_try_compile "$LINENO"; then :
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11572 $as_echo_n "checking for -lgnutls... " >&6; }
11573 if ${ac_cv_lib_soname_gnutls+:} false; then :
11574 $as_echo_n "(cached) " >&6
11575 else
11576 ac_check_soname_save_LIBS=$LIBS
11577 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11581 /* Override any GCC internal prototype to avoid an error.
11582 Use char because int might match the return type of a GCC
11583 builtin and then its argument prototype would still apply. */
11584 #ifdef __cplusplus
11585 extern "C"
11586 #endif
11587 char gnutls_global_init ();
11589 main ()
11591 return gnutls_global_init ();
11593 return 0;
11595 _ACEOF
11596 if ac_fn_c_try_link "$LINENO"; then :
11597 case "$LIBEXT" in
11598 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11599 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'` ;;
11600 *) 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'`
11601 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11602 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'`
11603 fi ;;
11604 esac
11606 rm -f core conftest.err conftest.$ac_objext \
11607 conftest$ac_exeext conftest.$ac_ext
11608 LIBS=$ac_check_soname_save_LIBS
11610 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11612 $as_echo "not found" >&6; }
11613 GNUTLS_CFLAGS=""
11614 else
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11616 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11618 cat >>confdefs.h <<_ACEOF
11619 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11620 _ACEOF
11625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11626 else
11627 GNUTLS_CFLAGS=""
11631 CPPFLAGS=$ac_save_CPPFLAGS
11632 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11633 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11636 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11637 case "x$with_gnutls" in
11638 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11639 xno) ;;
11640 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11641 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11642 esac
11645 CURSES_LIBS=""
11646 if test "$ac_cv_header_ncurses_h" = "yes"
11647 then
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11649 $as_echo_n "checking for -lncurses... " >&6; }
11650 if ${ac_cv_lib_soname_ncurses+:} false; then :
11651 $as_echo_n "(cached) " >&6
11652 else
11653 ac_check_soname_save_LIBS=$LIBS
11654 LIBS="-lncurses $LIBS"
11655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11656 /* end confdefs.h. */
11658 /* Override any GCC internal prototype to avoid an error.
11659 Use char because int might match the return type of a GCC
11660 builtin and then its argument prototype would still apply. */
11661 #ifdef __cplusplus
11662 extern "C"
11663 #endif
11664 char waddch ();
11666 main ()
11668 return waddch ();
11670 return 0;
11672 _ACEOF
11673 if ac_fn_c_try_link "$LINENO"; then :
11674 case "$LIBEXT" in
11675 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11676 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'` ;;
11677 *) 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'`
11678 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11679 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11680 fi ;;
11681 esac
11683 rm -f core conftest.err conftest.$ac_objext \
11684 conftest$ac_exeext conftest.$ac_ext
11685 LIBS=$ac_check_soname_save_LIBS
11687 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11689 $as_echo "not found" >&6; }
11691 else
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11693 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11695 cat >>confdefs.h <<_ACEOF
11696 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11697 _ACEOF
11699 CURSES_LIBS="-lncurses"
11701 elif test "$ac_cv_header_curses_h" = "yes"
11702 then
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11704 $as_echo_n "checking for -lcurses... " >&6; }
11705 if ${ac_cv_lib_soname_curses+:} false; then :
11706 $as_echo_n "(cached) " >&6
11707 else
11708 ac_check_soname_save_LIBS=$LIBS
11709 LIBS="-lcurses $LIBS"
11710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11711 /* end confdefs.h. */
11713 /* Override any GCC internal prototype to avoid an error.
11714 Use char because int might match the return type of a GCC
11715 builtin and then its argument prototype would still apply. */
11716 #ifdef __cplusplus
11717 extern "C"
11718 #endif
11719 char waddch ();
11721 main ()
11723 return waddch ();
11725 return 0;
11727 _ACEOF
11728 if ac_fn_c_try_link "$LINENO"; then :
11729 case "$LIBEXT" in
11730 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11731 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'` ;;
11732 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11733 if ${ac_cv_lib_soname_curses:+false} :; then :
11734 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11735 fi ;;
11736 esac
11738 rm -f core conftest.err conftest.$ac_objext \
11739 conftest$ac_exeext conftest.$ac_ext
11740 LIBS=$ac_check_soname_save_LIBS
11742 if ${ac_cv_lib_soname_curses:+false} :; then :
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11744 $as_echo "not found" >&6; }
11746 else
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11748 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11750 cat >>confdefs.h <<_ACEOF
11751 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11752 _ACEOF
11754 CURSES_LIBS="-lcurses"
11757 ac_save_LIBS="$LIBS"
11758 LIBS="$LIBS $CURSES_LIBS"
11759 for ac_func in mousemask
11760 do :
11761 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11762 if test "x$ac_cv_func_mousemask" = xyes; then :
11763 cat >>confdefs.h <<_ACEOF
11764 #define HAVE_MOUSEMASK 1
11765 _ACEOF
11768 done
11770 LIBS="$ac_save_LIBS"
11771 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11772 case "x$with_curses" in
11773 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11774 xno) ;;
11775 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11776 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11777 esac
11780 if test "x$with_sane" != "xno"
11781 then
11782 if ${SANE_CFLAGS:+false} :; then :
11783 if ${PKG_CONFIG+:} false; then :
11784 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11787 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11788 if ${SANE_LIBS:+false} :; then :
11789 if ${PKG_CONFIG+:} false; then :
11790 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11793 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11795 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11796 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11797 ac_save_CPPFLAGS=$CPPFLAGS
11798 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11799 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11800 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11802 $as_echo_n "checking for -lsane... " >&6; }
11803 if ${ac_cv_lib_soname_sane+:} false; then :
11804 $as_echo_n "(cached) " >&6
11805 else
11806 ac_check_soname_save_LIBS=$LIBS
11807 LIBS="-lsane $SANE_LIBS $LIBS"
11808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11809 /* end confdefs.h. */
11811 /* Override any GCC internal prototype to avoid an error.
11812 Use char because int might match the return type of a GCC
11813 builtin and then its argument prototype would still apply. */
11814 #ifdef __cplusplus
11815 extern "C"
11816 #endif
11817 char sane_init ();
11819 main ()
11821 return sane_init ();
11823 return 0;
11825 _ACEOF
11826 if ac_fn_c_try_link "$LINENO"; then :
11827 case "$LIBEXT" in
11828 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11829 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'` ;;
11830 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11831 if ${ac_cv_lib_soname_sane:+false} :; then :
11832 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11833 fi ;;
11834 esac
11836 rm -f core conftest.err conftest.$ac_objext \
11837 conftest$ac_exeext conftest.$ac_ext
11838 LIBS=$ac_check_soname_save_LIBS
11840 if ${ac_cv_lib_soname_sane:+false} :; then :
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11842 $as_echo "not found" >&6; }
11843 SANE_CFLAGS=""
11844 else
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11846 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11848 cat >>confdefs.h <<_ACEOF
11849 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11850 _ACEOF
11854 else
11855 SANE_CFLAGS=""
11859 CPPFLAGS=$ac_save_CPPFLAGS
11860 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11861 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11864 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11865 case "x$with_sane" in
11866 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11867 xno) ;;
11868 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11869 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11870 esac
11873 if test "x$with_v4l" != "xno"
11874 then
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11876 $as_echo_n "checking for -lv4l1... " >&6; }
11877 if ${ac_cv_lib_soname_v4l1+:} false; then :
11878 $as_echo_n "(cached) " >&6
11879 else
11880 ac_check_soname_save_LIBS=$LIBS
11881 LIBS="-lv4l1 $LIBS"
11882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11885 /* Override any GCC internal prototype to avoid an error.
11886 Use char because int might match the return type of a GCC
11887 builtin and then its argument prototype would still apply. */
11888 #ifdef __cplusplus
11889 extern "C"
11890 #endif
11891 char v4l1_open ();
11893 main ()
11895 return v4l1_open ();
11897 return 0;
11899 _ACEOF
11900 if ac_fn_c_try_link "$LINENO"; then :
11901 case "$LIBEXT" in
11902 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11903 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'` ;;
11904 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11905 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11906 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11907 fi ;;
11908 esac
11910 rm -f core conftest.err conftest.$ac_objext \
11911 conftest$ac_exeext conftest.$ac_ext
11912 LIBS=$ac_check_soname_save_LIBS
11914 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11916 $as_echo "not found" >&6; }
11918 else
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11920 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11922 cat >>confdefs.h <<_ACEOF
11923 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11924 _ACEOF
11929 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11930 case "x$with_v4l" in
11931 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11932 xno) ;;
11933 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11934 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11935 esac
11938 if test "x$with_gphoto" != "xno"
11939 then
11940 if ${GPHOTO2_CFLAGS:+false} :; then :
11941 if ${PKG_CONFIG+:} false; then :
11942 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11945 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11946 if ${GPHOTO2_LIBS:+false} :; then :
11947 if ${PKG_CONFIG+:} false; then :
11948 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11951 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11952 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11953 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11954 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11955 ac_save_CPPFLAGS=$CPPFLAGS
11956 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11957 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11958 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11960 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11961 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11962 $as_echo_n "(cached) " >&6
11963 else
11964 ac_check_lib_save_LIBS=$LIBS
11965 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11969 /* Override any GCC internal prototype to avoid an error.
11970 Use char because int might match the return type of a GCC
11971 builtin and then its argument prototype would still apply. */
11972 #ifdef __cplusplus
11973 extern "C"
11974 #endif
11975 char gp_camera_new ();
11977 main ()
11979 return gp_camera_new ();
11981 return 0;
11983 _ACEOF
11984 if ac_fn_c_try_link "$LINENO"; then :
11985 ac_cv_lib_gphoto2_gp_camera_new=yes
11986 else
11987 ac_cv_lib_gphoto2_gp_camera_new=no
11989 rm -f core conftest.err conftest.$ac_objext \
11990 conftest$ac_exeext conftest.$ac_ext
11991 LIBS=$ac_check_lib_save_LIBS
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11994 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11995 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11997 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11999 else
12000 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12003 else
12004 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12008 CPPFLAGS=$ac_save_CPPFLAGS
12009 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12010 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12012 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12013 if ${PKG_CONFIG+:} false; then :
12014 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12017 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
12018 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12019 if ${PKG_CONFIG+:} false; then :
12020 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12023 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
12024 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12025 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12026 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12027 ac_save_CPPFLAGS=$CPPFLAGS
12028 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12029 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12030 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12032 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12033 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12034 $as_echo_n "(cached) " >&6
12035 else
12036 ac_check_lib_save_LIBS=$LIBS
12037 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12041 /* Override any GCC internal prototype to avoid an error.
12042 Use char because int might match the return type of a GCC
12043 builtin and then its argument prototype would still apply. */
12044 #ifdef __cplusplus
12045 extern "C"
12046 #endif
12047 char gp_port_info_list_new ();
12049 main ()
12051 return gp_port_info_list_new ();
12053 return 0;
12055 _ACEOF
12056 if ac_fn_c_try_link "$LINENO"; then :
12057 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12058 else
12059 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12061 rm -f core conftest.err conftest.$ac_objext \
12062 conftest$ac_exeext conftest.$ac_ext
12063 LIBS=$ac_check_lib_save_LIBS
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12066 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12067 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12069 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12071 else
12072 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12075 else
12076 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12080 CPPFLAGS=$ac_save_CPPFLAGS
12081 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12082 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12085 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12086 case "x$with_gphoto" in
12087 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12088 xno) ;;
12089 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12090 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12091 esac
12093 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12094 case "x$with_gphoto" in
12095 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12096 xno) ;;
12097 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12098 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12099 esac
12103 if test "$ac_cv_header_resolv_h" = "yes"
12104 then
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12106 $as_echo_n "checking for resolver library... " >&6; }
12107 if ${ac_cv_have_resolv+:} false; then :
12108 $as_echo_n "(cached) " >&6
12109 else
12110 ac_save_LIBS="$LIBS"
12111 for lib in '' -lresolv
12113 LIBS="$lib $ac_save_LIBS"
12114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h. */
12116 #ifdef HAVE_NETINET_IN_H
12117 #include <netinet/in.h>
12118 #endif
12119 #include <resolv.h>
12121 main ()
12123 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12125 return 0;
12127 _ACEOF
12128 if ac_fn_c_try_link "$LINENO"; then :
12129 ac_cv_have_resolv=${lib:-"none required"}
12130 else
12131 ac_cv_have_resolv="not found"
12133 rm -f core conftest.err conftest.$ac_objext \
12134 conftest$ac_exeext conftest.$ac_ext
12135 test "x$ac_cv_have_resolv" = "xnot found" || break
12136 done
12137 LIBS="$ac_save_LIBS"
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12140 $as_echo "$ac_cv_have_resolv" >&6; }
12142 case "$ac_cv_have_resolv" in
12143 "not found") ;;
12144 "none required")
12146 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12149 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12151 RESOLV_LIBS=$ac_cv_have_resolv
12153 esac
12156 if test "x$with_cms" != "xno"
12157 then
12158 if ${LCMS2_CFLAGS:+false} :; then :
12159 if ${PKG_CONFIG+:} false; then :
12160 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12164 if ${LCMS2_LIBS:+false} :; then :
12165 if ${PKG_CONFIG+:} false; then :
12166 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12170 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12171 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12172 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12173 ac_save_CPPFLAGS=$CPPFLAGS
12174 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12175 for ac_header in lcms2.h
12176 do :
12177 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12178 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12179 cat >>confdefs.h <<_ACEOF
12180 #define HAVE_LCMS2_H 1
12181 _ACEOF
12185 done
12187 if test "$ac_cv_header_lcms2_h" = "yes"
12188 then
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12190 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12191 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12192 $as_echo_n "(cached) " >&6
12193 else
12194 ac_check_lib_save_LIBS=$LIBS
12195 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12197 /* end confdefs.h. */
12199 /* Override any GCC internal prototype to avoid an error.
12200 Use char because int might match the return type of a GCC
12201 builtin and then its argument prototype would still apply. */
12202 #ifdef __cplusplus
12203 extern "C"
12204 #endif
12205 char cmsOpenProfileFromFile ();
12207 main ()
12209 return cmsOpenProfileFromFile ();
12211 return 0;
12213 _ACEOF
12214 if ac_fn_c_try_link "$LINENO"; then :
12215 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12216 else
12217 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12219 rm -f core conftest.err conftest.$ac_objext \
12220 conftest$ac_exeext conftest.$ac_ext
12221 LIBS=$ac_check_lib_save_LIBS
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12224 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12225 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12227 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12229 else
12230 LCMS2_LIBS=""
12233 else
12234 LCMS2_CFLAGS=""
12235 LCMS2_LIBS=""
12237 CPPFLAGS=$ac_save_CPPFLAGS
12238 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12239 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12242 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12243 case "x$with_cms" in
12244 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12245 xno) ;;
12246 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12247 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12248 esac
12251 if test "x$with_freetype" != "xno"
12252 then
12253 if ${FREETYPE_CFLAGS:+false} :; then :
12254 if ${PKG_CONFIG+:} false; then :
12255 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12258 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12259 if ${FREETYPE_LIBS:+false} :; then :
12260 if ${PKG_CONFIG+:} false; then :
12261 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12264 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12265 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12266 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12267 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12268 ac_save_CPPFLAGS=$CPPFLAGS
12269 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12270 for ac_header in ft2build.h
12271 do :
12272 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12273 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12274 cat >>confdefs.h <<_ACEOF
12275 #define HAVE_FT2BUILD_H 1
12276 _ACEOF
12280 done
12282 if test "$ac_cv_header_ft2build_h" = "yes"
12283 then
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12285 $as_echo_n "checking for -lfreetype... " >&6; }
12286 if ${ac_cv_lib_soname_freetype+:} false; then :
12287 $as_echo_n "(cached) " >&6
12288 else
12289 ac_check_soname_save_LIBS=$LIBS
12290 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12294 /* Override any GCC internal prototype to avoid an error.
12295 Use char because int might match the return type of a GCC
12296 builtin and then its argument prototype would still apply. */
12297 #ifdef __cplusplus
12298 extern "C"
12299 #endif
12300 char FT_Init_FreeType ();
12302 main ()
12304 return FT_Init_FreeType ();
12306 return 0;
12308 _ACEOF
12309 if ac_fn_c_try_link "$LINENO"; then :
12310 case "$LIBEXT" in
12311 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12312 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'` ;;
12313 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12314 if ${ac_cv_lib_soname_freetype:+false} :; then :
12315 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12316 fi ;;
12317 esac
12319 rm -f core conftest.err conftest.$ac_objext \
12320 conftest$ac_exeext conftest.$ac_ext
12321 LIBS=$ac_check_soname_save_LIBS
12323 if ${ac_cv_lib_soname_freetype:+false} :; then :
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12325 $as_echo "not found" >&6; }
12326 FREETYPE_LIBS=""
12327 else
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12329 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12331 cat >>confdefs.h <<_ACEOF
12332 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12333 _ACEOF
12336 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12338 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12339 #include FT_MODULE_H
12341 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12343 cat >>confdefs.h <<_ACEOF
12344 #define HAVE_FT_TRUETYPEENGINETYPE 1
12345 _ACEOF
12351 else
12352 FREETYPE_CFLAGS=""
12353 FREETYPE_LIBS=""
12355 CPPFLAGS=$ac_save_CPPFLAGS
12356 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12357 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12360 if test "x$ac_cv_lib_soname_freetype" = x; then :
12361 case "x$with_freetype" in
12362 xno) ;;
12363 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12364 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12365 esac
12367 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12370 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12371 if ${ac_cv_c_ppdev+:} false; then :
12372 $as_echo_n "(cached) " >&6
12373 else
12374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12375 /* end confdefs.h. */
12376 #ifdef HAVE_SYS_IOCTL_H
12377 # include <sys/ioctl.h>
12378 #endif
12379 #include <linux/ppdev.h>
12381 main ()
12383 ioctl (1,PPCLAIM,0)
12385 return 0;
12387 _ACEOF
12388 if ac_fn_c_try_compile "$LINENO"; then :
12389 ac_cv_c_ppdev="yes"
12390 else
12391 ac_cv_c_ppdev="no"
12393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12396 $as_echo "$ac_cv_c_ppdev" >&6; }
12397 if test "$ac_cv_c_ppdev" = "yes"
12398 then
12400 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12404 ac_wine_check_funcs_save_LIBS="$LIBS"
12405 LIBS="$LIBS $PTHREAD_LIBS"
12406 for ac_func in \
12407 pthread_attr_get_np \
12408 pthread_getattr_np \
12409 pthread_getthreadid_np \
12410 pthread_get_stackaddr_np \
12411 pthread_get_stacksize_np
12412 do :
12413 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12415 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12416 cat >>confdefs.h <<_ACEOF
12417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12418 _ACEOF
12421 done
12423 LIBS="$ac_wine_check_funcs_save_LIBS"
12425 if test "$ac_cv_header_zlib_h" = "yes"
12426 then
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12428 $as_echo_n "checking for inflate in -lz... " >&6; }
12429 if ${ac_cv_lib_z_inflate+:} false; then :
12430 $as_echo_n "(cached) " >&6
12431 else
12432 ac_check_lib_save_LIBS=$LIBS
12433 LIBS="-lz $LIBS"
12434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12437 /* Override any GCC internal prototype to avoid an error.
12438 Use char because int might match the return type of a GCC
12439 builtin and then its argument prototype would still apply. */
12440 #ifdef __cplusplus
12441 extern "C"
12442 #endif
12443 char inflate ();
12445 main ()
12447 return inflate ();
12449 return 0;
12451 _ACEOF
12452 if ac_fn_c_try_link "$LINENO"; then :
12453 ac_cv_lib_z_inflate=yes
12454 else
12455 ac_cv_lib_z_inflate=no
12457 rm -f core conftest.err conftest.$ac_objext \
12458 conftest$ac_exeext conftest.$ac_ext
12459 LIBS=$ac_check_lib_save_LIBS
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12462 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12463 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12465 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12467 Z_LIBS="-lz"
12472 if test "x$Z_LIBS" = "x"; then :
12473 case "x$with_zlib" in
12474 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12475 xno) ;;
12476 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12477 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12478 esac
12481 if test "x$enable_tools" != xno
12482 then
12483 if test "$ac_cv_header_gettext_po_h" = "yes"
12484 then
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12486 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12487 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12488 $as_echo_n "(cached) " >&6
12489 else
12490 ac_check_lib_save_LIBS=$LIBS
12491 LIBS="-lgettextpo $LIBS"
12492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */
12495 /* Override any GCC internal prototype to avoid an error.
12496 Use char because int might match the return type of a GCC
12497 builtin and then its argument prototype would still apply. */
12498 #ifdef __cplusplus
12499 extern "C"
12500 #endif
12501 char po_message_msgctxt ();
12503 main ()
12505 return po_message_msgctxt ();
12507 return 0;
12509 _ACEOF
12510 if ac_fn_c_try_link "$LINENO"; then :
12511 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12512 else
12513 ac_cv_lib_gettextpo_po_message_msgctxt=no
12515 rm -f core conftest.err conftest.$ac_objext \
12516 conftest$ac_exeext conftest.$ac_ext
12517 LIBS=$ac_check_lib_save_LIBS
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12520 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12521 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12523 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12525 GETTEXTPO_LIBS="-lgettextpo"
12530 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12531 case "x$with_gettextpo" in
12532 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12533 xno) ;;
12534 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12535 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12536 esac
12540 if test "x$with_gstreamer" != "xno"
12541 then
12542 if ${GSTREAMER_CFLAGS:+false} :; then :
12543 if ${PKG_CONFIG+:} false; then :
12544 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12548 if ${GSTREAMER_LIBS:+false} :; then :
12549 if ${PKG_CONFIG+:} false; then :
12550 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12555 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12556 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12557 ac_save_CPPFLAGS=$CPPFLAGS
12558 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12559 ac_gst_incl=""
12560 for i in $GSTREAMER_CFLAGS
12562 case "$i" in
12563 -I*) ac_gst_incl="$ac_gst_incl $i";;
12564 esac
12565 done
12566 GSTREAMER_CFLAGS=$ac_gst_incl
12567 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12568 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12569 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12570 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12571 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12573 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12576 #include <gst/app/gstappsink.h>
12578 main ()
12580 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12582 return 0;
12584 _ACEOF
12585 if ac_fn_c_try_compile "$LINENO"; then :
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12587 $as_echo "yes" >&6; }
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12589 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12590 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12591 $as_echo_n "(cached) " >&6
12592 else
12593 ac_check_lib_save_LIBS=$LIBS
12594 LIBS="-lgstreamer-0.10 $LIBS"
12595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12598 /* Override any GCC internal prototype to avoid an error.
12599 Use char because int might match the return type of a GCC
12600 builtin and then its argument prototype would still apply. */
12601 #ifdef __cplusplus
12602 extern "C"
12603 #endif
12604 char gst_pad_get_caps_reffed ();
12606 main ()
12608 return gst_pad_get_caps_reffed ();
12610 return 0;
12612 _ACEOF
12613 if ac_fn_c_try_link "$LINENO"; then :
12614 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12615 else
12616 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12618 rm -f core conftest.err conftest.$ac_objext \
12619 conftest$ac_exeext conftest.$ac_ext
12620 LIBS=$ac_check_lib_save_LIBS
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12623 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12624 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12626 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12627 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12628 $as_echo_n "(cached) " >&6
12629 else
12630 ac_check_lib_save_LIBS=$LIBS
12631 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12635 /* Override any GCC internal prototype to avoid an error.
12636 Use char because int might match the return type of a GCC
12637 builtin and then its argument prototype would still apply. */
12638 #ifdef __cplusplus
12639 extern "C"
12640 #endif
12641 char gst_app_buffer_new ();
12643 main ()
12645 return gst_app_buffer_new ();
12647 return 0;
12649 _ACEOF
12650 if ac_fn_c_try_link "$LINENO"; then :
12651 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12652 else
12653 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12655 rm -f core conftest.err conftest.$ac_objext \
12656 conftest$ac_exeext conftest.$ac_ext
12657 LIBS=$ac_check_lib_save_LIBS
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12660 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12661 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12667 else
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12669 $as_echo "no" >&6; }
12671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12675 else
12676 GSTREAMER_CFLAGS=""
12680 CPPFLAGS=$ac_save_CPPFLAGS
12681 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12682 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12685 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12686 case "x$with_gstreamer" in
12687 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12688 xno) ;;
12689 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12690 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12691 esac
12693 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12695 ALSA_LIBS=""
12697 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12698 then
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12700 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12701 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12702 $as_echo_n "(cached) " >&6
12703 else
12704 ac_check_lib_save_LIBS=$LIBS
12705 LIBS="-lasound $LIBS"
12706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12707 /* end confdefs.h. */
12709 /* Override any GCC internal prototype to avoid an error.
12710 Use char because int might match the return type of a GCC
12711 builtin and then its argument prototype would still apply. */
12712 #ifdef __cplusplus
12713 extern "C"
12714 #endif
12715 char snd_pcm_hw_params_get_access_mask ();
12717 main ()
12719 return snd_pcm_hw_params_get_access_mask ();
12721 return 0;
12723 _ACEOF
12724 if ac_fn_c_try_link "$LINENO"; then :
12725 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12726 else
12727 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12729 rm -f core conftest.err conftest.$ac_objext \
12730 conftest$ac_exeext conftest.$ac_ext
12731 LIBS=$ac_check_lib_save_LIBS
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12734 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12735 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12737 /* end confdefs.h. */
12738 #ifdef HAVE_ALSA_ASOUNDLIB_H
12739 #include <alsa/asoundlib.h>
12740 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12741 #include <sys/asoundlib.h>
12742 #endif
12744 main ()
12746 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12748 return 0;
12750 _ACEOF
12751 if ac_fn_c_try_compile "$LINENO"; then :
12752 ALSA_LIBS="-lasound"
12754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12759 if test "x$with_oss" != xno
12760 then
12761 ac_save_CPPFLAGS="$CPPFLAGS"
12762 if test -f /etc/oss.conf
12763 then
12764 . /etc/oss.conf
12766 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12767 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12768 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12769 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12770 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12772 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12774 cat >>confdefs.h <<_ACEOF
12775 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12776 _ACEOF
12778 OSS4_CFLAGS="$ac_oss_incl"
12785 CPPFLAGS="$ac_save_CPPFLAGS"
12786 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12787 then
12788 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12792 if test "x$with_capi" != "xno"
12793 then
12794 if ${CAPI20_CFLAGS:+false} :; then :
12795 if ${PKG_CONFIG+:} false; then :
12796 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12800 if ${CAPI20_LIBS:+false} :; then :
12801 if ${PKG_CONFIG+:} false; then :
12802 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12807 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12808 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12809 ac_save_CPPFLAGS=$CPPFLAGS
12810 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12811 for ac_header in capi20.h linux/capi.h
12812 do :
12813 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12814 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12816 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12817 cat >>confdefs.h <<_ACEOF
12818 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12819 _ACEOF
12823 done
12825 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12826 then
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12828 $as_echo_n "checking for -lcapi20... " >&6; }
12829 if ${ac_cv_lib_soname_capi20+:} false; then :
12830 $as_echo_n "(cached) " >&6
12831 else
12832 ac_check_soname_save_LIBS=$LIBS
12833 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12835 /* end confdefs.h. */
12837 /* Override any GCC internal prototype to avoid an error.
12838 Use char because int might match the return type of a GCC
12839 builtin and then its argument prototype would still apply. */
12840 #ifdef __cplusplus
12841 extern "C"
12842 #endif
12843 char capi20_register ();
12845 main ()
12847 return capi20_register ();
12849 return 0;
12851 _ACEOF
12852 if ac_fn_c_try_link "$LINENO"; then :
12853 case "$LIBEXT" in
12854 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12855 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'` ;;
12856 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12857 if ${ac_cv_lib_soname_capi20:+false} :; then :
12858 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12859 fi ;;
12860 esac
12862 rm -f core conftest.err conftest.$ac_objext \
12863 conftest$ac_exeext conftest.$ac_ext
12864 LIBS=$ac_check_soname_save_LIBS
12866 if ${ac_cv_lib_soname_capi20:+false} :; then :
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12868 $as_echo "not found" >&6; }
12870 else
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12872 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12874 cat >>confdefs.h <<_ACEOF
12875 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12876 _ACEOF
12881 CPPFLAGS=$ac_save_CPPFLAGS
12882 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12883 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12886 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12887 case "x$with_capi" in
12888 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12889 xno) ;;
12890 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12891 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12892 esac
12895 CUPS_CFLAGS=""
12897 if test "x$with_cups" != "xno"
12898 then
12899 ac_save_CPPFLAGS="$CPPFLAGS"
12900 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12901 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12902 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12903 for ac_header in cups/cups.h
12904 do :
12905 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12906 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12907 cat >>confdefs.h <<_ACEOF
12908 #define HAVE_CUPS_CUPS_H 1
12909 _ACEOF
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12911 $as_echo_n "checking for -lcups... " >&6; }
12912 if ${ac_cv_lib_soname_cups+:} false; then :
12913 $as_echo_n "(cached) " >&6
12914 else
12915 ac_check_soname_save_LIBS=$LIBS
12916 LIBS="-lcups $ac_cups_libs $LIBS"
12917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12918 /* end confdefs.h. */
12920 /* Override any GCC internal prototype to avoid an error.
12921 Use char because int might match the return type of a GCC
12922 builtin and then its argument prototype would still apply. */
12923 #ifdef __cplusplus
12924 extern "C"
12925 #endif
12926 char cupsGetDefault ();
12928 main ()
12930 return cupsGetDefault ();
12932 return 0;
12934 _ACEOF
12935 if ac_fn_c_try_link "$LINENO"; then :
12936 case "$LIBEXT" in
12937 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12938 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'` ;;
12939 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12940 if ${ac_cv_lib_soname_cups:+false} :; then :
12941 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12942 fi ;;
12943 esac
12945 rm -f core conftest.err conftest.$ac_objext \
12946 conftest$ac_exeext conftest.$ac_ext
12947 LIBS=$ac_check_soname_save_LIBS
12949 if ${ac_cv_lib_soname_cups:+false} :; then :
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12951 $as_echo "not found" >&6; }
12953 else
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12955 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12957 cat >>confdefs.h <<_ACEOF
12958 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12959 _ACEOF
12961 CUPS_CFLAGS="$ac_cups_cflags"
12965 done
12967 CPPFLAGS="$ac_save_CPPFLAGS"
12969 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12970 case "x$with_cups" in
12971 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12972 xno) ;;
12973 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12974 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12975 esac
12978 if test "x$with_fontconfig" != "xno"
12979 then
12980 if ${FONTCONFIG_CFLAGS:+false} :; then :
12981 if ${PKG_CONFIG+:} false; then :
12982 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12985 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12986 if ${FONTCONFIG_LIBS:+false} :; then :
12987 if ${PKG_CONFIG+:} false; then :
12988 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12991 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12993 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12994 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12995 ac_save_CPPFLAGS=$CPPFLAGS
12996 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12997 for ac_header in fontconfig/fontconfig.h
12998 do :
12999 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13000 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13001 cat >>confdefs.h <<_ACEOF
13002 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13003 _ACEOF
13007 done
13009 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13010 then
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13012 $as_echo_n "checking for -lfontconfig... " >&6; }
13013 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13014 $as_echo_n "(cached) " >&6
13015 else
13016 ac_check_soname_save_LIBS=$LIBS
13017 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13019 /* end confdefs.h. */
13021 /* Override any GCC internal prototype to avoid an error.
13022 Use char because int might match the return type of a GCC
13023 builtin and then its argument prototype would still apply. */
13024 #ifdef __cplusplus
13025 extern "C"
13026 #endif
13027 char FcInit ();
13029 main ()
13031 return FcInit ();
13033 return 0;
13035 _ACEOF
13036 if ac_fn_c_try_link "$LINENO"; then :
13037 case "$LIBEXT" in
13038 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13039 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'` ;;
13040 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13041 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13042 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13043 fi ;;
13044 esac
13046 rm -f core conftest.err conftest.$ac_objext \
13047 conftest$ac_exeext conftest.$ac_ext
13048 LIBS=$ac_check_soname_save_LIBS
13050 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13052 $as_echo "not found" >&6; }
13053 FONTCONFIG_CFLAGS=""
13054 else
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13056 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13058 cat >>confdefs.h <<_ACEOF
13059 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13060 _ACEOF
13064 else
13065 FONTCONFIG_CFLAGS=""
13067 CPPFLAGS=$ac_save_CPPFLAGS
13068 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13069 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13072 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13073 case "x$with_fontconfig" in
13074 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13075 xno) ;;
13076 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13077 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13078 esac
13081 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13082 then
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13084 $as_echo_n "checking for -lgsm... " >&6; }
13085 if ${ac_cv_lib_soname_gsm+:} false; then :
13086 $as_echo_n "(cached) " >&6
13087 else
13088 ac_check_soname_save_LIBS=$LIBS
13089 LIBS="-lgsm $LIBS"
13090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13093 /* Override any GCC internal prototype to avoid an error.
13094 Use char because int might match the return type of a GCC
13095 builtin and then its argument prototype would still apply. */
13096 #ifdef __cplusplus
13097 extern "C"
13098 #endif
13099 char gsm_create ();
13101 main ()
13103 return gsm_create ();
13105 return 0;
13107 _ACEOF
13108 if ac_fn_c_try_link "$LINENO"; then :
13109 case "$LIBEXT" in
13110 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13111 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'` ;;
13112 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13113 if ${ac_cv_lib_soname_gsm:+false} :; then :
13114 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13115 fi ;;
13116 esac
13118 rm -f core conftest.err conftest.$ac_objext \
13119 conftest$ac_exeext conftest.$ac_ext
13120 LIBS=$ac_check_soname_save_LIBS
13122 if ${ac_cv_lib_soname_gsm:+false} :; then :
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13124 $as_echo "not found" >&6; }
13126 else
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13128 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13130 cat >>confdefs.h <<_ACEOF
13131 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13132 _ACEOF
13137 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13138 case "x$with_gsm" in
13139 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13140 xno) ;;
13141 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13142 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13143 esac
13146 if test "x$with_jpeg" != "xno"
13147 then
13148 if ${JPEG_CFLAGS:+false} :; then :
13149 if ${PKG_CONFIG+:} false; then :
13150 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13154 if ${JPEG_LIBS:+false} :; then :
13155 if ${PKG_CONFIG+:} false; then :
13156 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13161 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13162 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13163 ac_save_CPPFLAGS=$CPPFLAGS
13164 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13165 for ac_header in jpeglib.h
13166 do :
13167 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13168 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13169 cat >>confdefs.h <<_ACEOF
13170 #define HAVE_JPEGLIB_H 1
13171 _ACEOF
13175 done
13177 if test "$ac_cv_header_jpeglib_h" = "yes"
13178 then
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13180 $as_echo_n "checking for -ljpeg... " >&6; }
13181 if ${ac_cv_lib_soname_jpeg+:} false; then :
13182 $as_echo_n "(cached) " >&6
13183 else
13184 ac_check_soname_save_LIBS=$LIBS
13185 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13187 /* end confdefs.h. */
13189 /* Override any GCC internal prototype to avoid an error.
13190 Use char because int might match the return type of a GCC
13191 builtin and then its argument prototype would still apply. */
13192 #ifdef __cplusplus
13193 extern "C"
13194 #endif
13195 char jpeg_start_decompress ();
13197 main ()
13199 return jpeg_start_decompress ();
13201 return 0;
13203 _ACEOF
13204 if ac_fn_c_try_link "$LINENO"; then :
13205 case "$LIBEXT" in
13206 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13207 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'` ;;
13208 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13209 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13210 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13211 fi ;;
13212 esac
13214 rm -f core conftest.err conftest.$ac_objext \
13215 conftest$ac_exeext conftest.$ac_ext
13216 LIBS=$ac_check_soname_save_LIBS
13218 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13220 $as_echo "not found" >&6; }
13221 JPEG_CFLAGS=""
13222 else
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13224 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13226 cat >>confdefs.h <<_ACEOF
13227 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13228 _ACEOF
13232 else
13233 JPEG_CFLAGS=""
13235 CPPFLAGS=$ac_save_CPPFLAGS
13236 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13237 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13240 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13241 case "x$with_jpeg" in
13242 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13243 xno) ;;
13244 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13245 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13246 esac
13249 if test "x$with_png" != "xno"
13250 then
13251 if ${PNG_CFLAGS:+false} :; then :
13252 if ${PKG_CONFIG+:} false; then :
13253 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13256 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13257 if ${PNG_LIBS:+false} :; then :
13258 if ${PKG_CONFIG+:} false; then :
13259 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13262 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13264 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13265 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13266 ac_save_CPPFLAGS=$CPPFLAGS
13267 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13268 for ac_header in png.h
13269 do :
13270 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13271 if test "x$ac_cv_header_png_h" = xyes; then :
13272 cat >>confdefs.h <<_ACEOF
13273 #define HAVE_PNG_H 1
13274 _ACEOF
13278 done
13280 if test "$ac_cv_header_png_h" = "yes"
13281 then
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13283 $as_echo_n "checking for -lpng... " >&6; }
13284 if ${ac_cv_lib_soname_png+:} false; then :
13285 $as_echo_n "(cached) " >&6
13286 else
13287 ac_check_soname_save_LIBS=$LIBS
13288 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13290 /* end confdefs.h. */
13292 /* Override any GCC internal prototype to avoid an error.
13293 Use char because int might match the return type of a GCC
13294 builtin and then its argument prototype would still apply. */
13295 #ifdef __cplusplus
13296 extern "C"
13297 #endif
13298 char png_create_read_struct ();
13300 main ()
13302 return png_create_read_struct ();
13304 return 0;
13306 _ACEOF
13307 if ac_fn_c_try_link "$LINENO"; then :
13308 case "$LIBEXT" in
13309 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13310 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'` ;;
13311 *) 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'`
13312 if ${ac_cv_lib_soname_png:+false} :; then :
13313 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13314 fi ;;
13315 esac
13317 rm -f core conftest.err conftest.$ac_objext \
13318 conftest$ac_exeext conftest.$ac_ext
13319 LIBS=$ac_check_soname_save_LIBS
13321 if ${ac_cv_lib_soname_png:+false} :; then :
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13323 $as_echo "not found" >&6; }
13324 PNG_CFLAGS=""
13325 else
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13327 $as_echo "$ac_cv_lib_soname_png" >&6; }
13329 cat >>confdefs.h <<_ACEOF
13330 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13331 _ACEOF
13333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13334 /* end confdefs.h. */
13335 #include <png.h>
13337 main ()
13339 typeof(png_set_expand_gray_1_2_4_to_8) *p
13341 return 0;
13343 _ACEOF
13344 if ac_fn_c_try_compile "$LINENO"; then :
13346 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13351 else
13352 PNG_CFLAGS=""
13354 CPPFLAGS=$ac_save_CPPFLAGS
13355 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13356 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13359 if test "x$ac_cv_lib_soname_png" = "x"; then :
13360 case "x$with_png" in
13361 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13362 xno) ;;
13363 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13364 This is an error since --with-png was requested." "$LINENO" 5 ;;
13365 esac
13368 if test "x$with_tiff" != "xno"
13369 then
13370 if ${TIFF_CFLAGS:+false} :; then :
13371 if ${PKG_CONFIG+:} false; then :
13372 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13376 if ${TIFF_LIBS:+false} :; then :
13377 if ${PKG_CONFIG+:} false; then :
13378 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13383 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13384 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13385 ac_save_CPPFLAGS=$CPPFLAGS
13386 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13387 for ac_header in tiffio.h
13388 do :
13389 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13390 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13391 cat >>confdefs.h <<_ACEOF
13392 #define HAVE_TIFFIO_H 1
13393 _ACEOF
13397 done
13399 if test "$ac_cv_header_tiffio_h" = "yes"
13400 then
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13402 $as_echo_n "checking for -ltiff... " >&6; }
13403 if ${ac_cv_lib_soname_tiff+:} false; then :
13404 $as_echo_n "(cached) " >&6
13405 else
13406 ac_check_soname_save_LIBS=$LIBS
13407 LIBS="-ltiff $TIFF_LIBS $LIBS"
13408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13411 /* Override any GCC internal prototype to avoid an error.
13412 Use char because int might match the return type of a GCC
13413 builtin and then its argument prototype would still apply. */
13414 #ifdef __cplusplus
13415 extern "C"
13416 #endif
13417 char TIFFClientOpen ();
13419 main ()
13421 return TIFFClientOpen ();
13423 return 0;
13425 _ACEOF
13426 if ac_fn_c_try_link "$LINENO"; then :
13427 case "$LIBEXT" in
13428 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13429 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'` ;;
13430 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13431 if ${ac_cv_lib_soname_tiff:+false} :; then :
13432 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13433 fi ;;
13434 esac
13436 rm -f core conftest.err conftest.$ac_objext \
13437 conftest$ac_exeext conftest.$ac_ext
13438 LIBS=$ac_check_soname_save_LIBS
13440 if ${ac_cv_lib_soname_tiff:+false} :; then :
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13442 $as_echo "not found" >&6; }
13444 else
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13446 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13448 cat >>confdefs.h <<_ACEOF
13449 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13450 _ACEOF
13455 CPPFLAGS=$ac_save_CPPFLAGS
13456 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13457 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13460 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13461 case "x$with_tiff" in
13462 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13463 xno) ;;
13464 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13465 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13466 esac
13469 if test "x$with_mpg123" != "xno"
13470 then
13471 if ${MPG123_CFLAGS:+false} :; then :
13472 if ${PKG_CONFIG+:} false; then :
13473 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13477 if ${MPG123_LIBS:+false} :; then :
13478 if ${PKG_CONFIG+:} false; then :
13479 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13483 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13484 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13485 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13486 ac_save_CPPFLAGS=$CPPFLAGS
13487 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13488 for ac_header in mpg123.h
13489 do :
13490 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13491 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13492 cat >>confdefs.h <<_ACEOF
13493 #define HAVE_MPG123_H 1
13494 _ACEOF
13498 done
13500 if test "$ac_cv_header_mpg123_h" = "yes"
13501 then
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13503 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13504 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13505 $as_echo_n "(cached) " >&6
13506 else
13507 ac_check_lib_save_LIBS=$LIBS
13508 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13510 /* end confdefs.h. */
13512 /* Override any GCC internal prototype to avoid an error.
13513 Use char because int might match the return type of a GCC
13514 builtin and then its argument prototype would still apply. */
13515 #ifdef __cplusplus
13516 extern "C"
13517 #endif
13518 char mpg123_feed ();
13520 main ()
13522 return mpg123_feed ();
13524 return 0;
13526 _ACEOF
13527 if ac_fn_c_try_link "$LINENO"; then :
13528 ac_cv_lib_mpg123_mpg123_feed=yes
13529 else
13530 ac_cv_lib_mpg123_mpg123_feed=no
13532 rm -f core conftest.err conftest.$ac_objext \
13533 conftest$ac_exeext conftest.$ac_ext
13534 LIBS=$ac_check_lib_save_LIBS
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13537 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13538 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13540 else
13541 MPG123_LIBS=""
13544 else
13545 MPG123_CFLAGS=""
13546 MPG123_LIBS=""
13548 CPPFLAGS=$ac_save_CPPFLAGS
13549 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13550 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13553 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13554 case "x$with_mpg123" in
13555 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13556 xno) ;;
13557 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13558 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13559 esac
13561 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}
13563 if test "$ac_cv_header_AL_al_h" = "yes"
13564 then
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13566 $as_echo_n "checking for -lopenal... " >&6; }
13567 if ${ac_cv_lib_soname_openal+:} false; then :
13568 $as_echo_n "(cached) " >&6
13569 else
13570 ac_check_soname_save_LIBS=$LIBS
13571 LIBS="-lopenal $LIBS"
13572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13575 /* Override any GCC internal prototype to avoid an error.
13576 Use char because int might match the return type of a GCC
13577 builtin and then its argument prototype would still apply. */
13578 #ifdef __cplusplus
13579 extern "C"
13580 #endif
13581 char alGetSource3i ();
13583 main ()
13585 return alGetSource3i ();
13587 return 0;
13589 _ACEOF
13590 if ac_fn_c_try_link "$LINENO"; then :
13591 case "$LIBEXT" in
13592 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13593 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'` ;;
13594 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13595 if ${ac_cv_lib_soname_openal:+false} :; then :
13596 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13597 fi ;;
13598 esac
13600 rm -f core conftest.err conftest.$ac_objext \
13601 conftest$ac_exeext conftest.$ac_ext
13602 LIBS=$ac_check_soname_save_LIBS
13604 if ${ac_cv_lib_soname_openal:+false} :; then :
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13606 $as_echo "not found" >&6; }
13608 else
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13610 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13612 cat >>confdefs.h <<_ACEOF
13613 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13614 _ACEOF
13616 OPENAL_LIBS="-lopenal"
13618 ac_cv_lib_openal=yes
13620 cat >>confdefs.h <<_ACEOF
13621 #define HAVE_OPENAL 1
13622 _ACEOF
13626 if test "x$ac_cv_lib_openal" != xyes; then :
13627 case "x$with_openal" in
13628 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13629 xno) ;;
13630 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13631 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13632 esac
13634 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13636 if test "x$ac_cv_lib_openal" = xyes
13637 then
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13639 $as_echo_n "checking for openal-soft... " >&6; }
13640 if ${ac_cv_have_openalsoft+:} false; then :
13641 $as_echo_n "(cached) " >&6
13642 else
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13645 #include <AL/alext.h>
13646 LPALCRENDERSAMPLESSOFT x;
13648 main ()
13652 return 0;
13654 _ACEOF
13655 if ac_fn_c_try_compile "$LINENO"; then :
13656 ac_cv_have_openalsoft=yes
13657 else
13658 ac_cv_have_openalsoft=no
13660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13663 $as_echo "$ac_cv_have_openalsoft" >&6; }
13665 if test "x$ac_cv_have_openalsoft" != xyes
13666 then
13667 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13668 enable_xaudio2_7=${enable_xaudio2_7:-no}
13671 if test "$ac_cv_header_kstat_h" = "yes"
13672 then
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13674 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13675 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13676 $as_echo_n "(cached) " >&6
13677 else
13678 ac_check_lib_save_LIBS=$LIBS
13679 LIBS="-lkstat $LIBS"
13680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13683 /* Override any GCC internal prototype to avoid an error.
13684 Use char because int might match the return type of a GCC
13685 builtin and then its argument prototype would still apply. */
13686 #ifdef __cplusplus
13687 extern "C"
13688 #endif
13689 char kstat_open ();
13691 main ()
13693 return kstat_open ();
13695 return 0;
13697 _ACEOF
13698 if ac_fn_c_try_link "$LINENO"; then :
13699 ac_cv_lib_kstat_kstat_open=yes
13700 else
13701 ac_cv_lib_kstat_kstat_open=no
13703 rm -f core conftest.err conftest.$ac_objext \
13704 conftest$ac_exeext conftest.$ac_ext
13705 LIBS=$ac_check_lib_save_LIBS
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13708 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13709 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13711 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13713 KSTAT_LIBS="-lkstat"
13719 if test "$ac_cv_header_libprocstat_h" = "yes"
13720 then
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13722 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13723 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13724 $as_echo_n "(cached) " >&6
13725 else
13726 ac_check_lib_save_LIBS=$LIBS
13727 LIBS="-lprocstat $LIBS"
13728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13731 /* Override any GCC internal prototype to avoid an error.
13732 Use char because int might match the return type of a GCC
13733 builtin and then its argument prototype would still apply. */
13734 #ifdef __cplusplus
13735 extern "C"
13736 #endif
13737 char procstat_open_sysctl ();
13739 main ()
13741 return procstat_open_sysctl ();
13743 return 0;
13745 _ACEOF
13746 if ac_fn_c_try_link "$LINENO"; then :
13747 ac_cv_lib_procstat_procstat_open_sysctl=yes
13748 else
13749 ac_cv_lib_procstat_procstat_open_sysctl=no
13751 rm -f core conftest.err conftest.$ac_objext \
13752 conftest$ac_exeext conftest.$ac_ext
13753 LIBS=$ac_check_lib_save_LIBS
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13756 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13757 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13759 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13761 PROCSTAT_LIBS="-lprocstat"
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13768 $as_echo_n "checking for -lodbc... " >&6; }
13769 if ${ac_cv_lib_soname_odbc+:} false; then :
13770 $as_echo_n "(cached) " >&6
13771 else
13772 ac_check_soname_save_LIBS=$LIBS
13773 LIBS="-lodbc $LIBS"
13774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13775 /* end confdefs.h. */
13777 /* Override any GCC internal prototype to avoid an error.
13778 Use char because int might match the return type of a GCC
13779 builtin and then its argument prototype would still apply. */
13780 #ifdef __cplusplus
13781 extern "C"
13782 #endif
13783 char SQLConnect ();
13785 main ()
13787 return SQLConnect ();
13789 return 0;
13791 _ACEOF
13792 if ac_fn_c_try_link "$LINENO"; then :
13793 case "$LIBEXT" in
13794 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13795 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'` ;;
13796 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13797 if ${ac_cv_lib_soname_odbc:+false} :; then :
13798 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13799 fi ;;
13800 esac
13802 rm -f core conftest.err conftest.$ac_objext \
13803 conftest$ac_exeext conftest.$ac_ext
13804 LIBS=$ac_check_soname_save_LIBS
13806 if ${ac_cv_lib_soname_odbc:+false} :; then :
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13808 $as_echo "not found" >&6; }
13809 cat >>confdefs.h <<_ACEOF
13810 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13811 _ACEOF
13813 else
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13815 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13817 cat >>confdefs.h <<_ACEOF
13818 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13819 _ACEOF
13824 if test "x$with_netapi" != "xno"
13825 then
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13827 $as_echo_n "checking for -lnetapi... " >&6; }
13828 if ${ac_cv_lib_soname_netapi+:} false; then :
13829 $as_echo_n "(cached) " >&6
13830 else
13831 ac_check_soname_save_LIBS=$LIBS
13832 LIBS="-lnetapi $LIBS"
13833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13836 /* Override any GCC internal prototype to avoid an error.
13837 Use char because int might match the return type of a GCC
13838 builtin and then its argument prototype would still apply. */
13839 #ifdef __cplusplus
13840 extern "C"
13841 #endif
13842 char libnetapi_init ();
13844 main ()
13846 return libnetapi_init ();
13848 return 0;
13850 _ACEOF
13851 if ac_fn_c_try_link "$LINENO"; then :
13852 case "$LIBEXT" in
13853 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13854 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'` ;;
13855 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13856 if ${ac_cv_lib_soname_netapi:+false} :; then :
13857 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13858 fi ;;
13859 esac
13861 rm -f core conftest.err conftest.$ac_objext \
13862 conftest$ac_exeext conftest.$ac_ext
13863 LIBS=$ac_check_soname_save_LIBS
13865 if ${ac_cv_lib_soname_netapi:+false} :; then :
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13867 $as_echo "not found" >&6; }
13868 cat >>confdefs.h <<_ACEOF
13869 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13870 _ACEOF
13872 else
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13874 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13876 cat >>confdefs.h <<_ACEOF
13877 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13878 _ACEOF
13884 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13885 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13886 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13887 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13889 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13890 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13891 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13892 then
13893 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13897 EXTRACFLAGS=""
13899 if test "x${GCC}" = "xyes"
13900 then
13901 EXTRACFLAGS="-Wall -pipe"
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13904 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13905 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13906 $as_echo_n "(cached) " >&6
13907 else
13908 if test "$cross_compiling" = yes; then :
13909 ac_cv_c_gcc_strength_bug="no"
13910 else
13911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13912 /* end confdefs.h. */
13913 int L[4] = {0,1,2,3};
13915 main ()
13917 static int Array[3];
13918 unsigned int B = 3;
13919 int i;
13920 for(i=0; i<B; i++) Array[i] = i - 3;
13921 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13922 L[i] = 4;
13923 return (Array[1] != -2 || L[2] != 3)
13925 return 0;
13927 _ACEOF
13928 if ac_fn_c_try_run "$LINENO"; then :
13929 ac_cv_c_gcc_strength_bug="no"
13930 else
13931 ac_cv_c_gcc_strength_bug="yes"
13933 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13934 conftest.$ac_objext conftest.beam conftest.$ac_ext
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13939 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13940 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13941 then
13942 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13946 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13947 if ${ac_cv_cflags__fno_builtin+:} false; then :
13948 $as_echo_n "(cached) " >&6
13949 else
13950 ac_wine_try_cflags_saved=$CFLAGS
13951 CFLAGS="$CFLAGS -fno-builtin"
13952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13954 int main(int argc, char **argv) { return 0; }
13955 _ACEOF
13956 if ac_fn_c_try_link "$LINENO"; then :
13957 ac_cv_cflags__fno_builtin=yes
13958 else
13959 ac_cv_cflags__fno_builtin=no
13961 rm -f core conftest.err conftest.$ac_objext \
13962 conftest$ac_exeext conftest.$ac_ext
13963 CFLAGS=$ac_wine_try_cflags_saved
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13966 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13967 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13968 BUILTINFLAG="-fno-builtin"
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13972 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13973 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13974 $as_echo_n "(cached) " >&6
13975 else
13976 ac_wine_try_cflags_saved=$CFLAGS
13977 CFLAGS="$CFLAGS -fno-strict-aliasing"
13978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13979 /* end confdefs.h. */
13980 int main(int argc, char **argv) { return 0; }
13981 _ACEOF
13982 if ac_fn_c_try_link "$LINENO"; then :
13983 ac_cv_cflags__fno_strict_aliasing=yes
13984 else
13985 ac_cv_cflags__fno_strict_aliasing=no
13987 rm -f core conftest.err conftest.$ac_objext \
13988 conftest$ac_exeext conftest.$ac_ext
13989 CFLAGS=$ac_wine_try_cflags_saved
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13992 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13993 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13994 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13996 saved_CFLAGS=$CFLAGS
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13998 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13999 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14000 $as_echo_n "(cached) " >&6
14001 else
14002 ac_wine_try_cflags_saved=$CFLAGS
14003 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14006 int main(int argc, char **argv) { return 0; }
14007 _ACEOF
14008 if ac_fn_c_try_link "$LINENO"; then :
14009 ac_cv_cflags__Werror_unknown_warning_option=yes
14010 else
14011 ac_cv_cflags__Werror_unknown_warning_option=no
14013 rm -f core conftest.err conftest.$ac_objext \
14014 conftest$ac_exeext conftest.$ac_ext
14015 CFLAGS=$ac_wine_try_cflags_saved
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14018 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14019 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14020 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14023 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14024 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14025 $as_echo_n "(cached) " >&6
14026 else
14027 ac_wine_try_cflags_saved=$CFLAGS
14028 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14031 int main(int argc, char **argv) { return 0; }
14032 _ACEOF
14033 if ac_fn_c_try_link "$LINENO"; then :
14034 ac_cv_cflags__Wdeclaration_after_statement=yes
14035 else
14036 ac_cv_cflags__Wdeclaration_after_statement=no
14038 rm -f core conftest.err conftest.$ac_objext \
14039 conftest$ac_exeext conftest.$ac_ext
14040 CFLAGS=$ac_wine_try_cflags_saved
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14043 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14044 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14045 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14048 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14049 if ${ac_cv_cflags__Wempty_body+:} false; then :
14050 $as_echo_n "(cached) " >&6
14051 else
14052 ac_wine_try_cflags_saved=$CFLAGS
14053 CFLAGS="$CFLAGS -Wempty-body"
14054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14056 int main(int argc, char **argv) { return 0; }
14057 _ACEOF
14058 if ac_fn_c_try_link "$LINENO"; then :
14059 ac_cv_cflags__Wempty_body=yes
14060 else
14061 ac_cv_cflags__Wempty_body=no
14063 rm -f core conftest.err conftest.$ac_objext \
14064 conftest$ac_exeext conftest.$ac_ext
14065 CFLAGS=$ac_wine_try_cflags_saved
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14068 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14069 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14070 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14073 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14074 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14075 $as_echo_n "(cached) " >&6
14076 else
14077 ac_wine_try_cflags_saved=$CFLAGS
14078 CFLAGS="$CFLAGS -Wignored-qualifiers"
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14081 int main(int argc, char **argv) { return 0; }
14082 _ACEOF
14083 if ac_fn_c_try_link "$LINENO"; then :
14084 ac_cv_cflags__Wignored_qualifiers=yes
14085 else
14086 ac_cv_cflags__Wignored_qualifiers=no
14088 rm -f core conftest.err conftest.$ac_objext \
14089 conftest$ac_exeext conftest.$ac_ext
14090 CFLAGS=$ac_wine_try_cflags_saved
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14093 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14094 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14095 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14098 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14099 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14100 $as_echo_n "(cached) " >&6
14101 else
14102 ac_wine_try_cflags_saved=$CFLAGS
14103 CFLAGS="$CFLAGS -Wstrict-prototypes"
14104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14105 /* end confdefs.h. */
14106 int main(int argc, char **argv) { return 0; }
14107 _ACEOF
14108 if ac_fn_c_try_link "$LINENO"; then :
14109 ac_cv_cflags__Wstrict_prototypes=yes
14110 else
14111 ac_cv_cflags__Wstrict_prototypes=no
14113 rm -f core conftest.err conftest.$ac_objext \
14114 conftest$ac_exeext conftest.$ac_ext
14115 CFLAGS=$ac_wine_try_cflags_saved
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14118 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14119 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14120 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14123 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14124 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14125 $as_echo_n "(cached) " >&6
14126 else
14127 ac_wine_try_cflags_saved=$CFLAGS
14128 CFLAGS="$CFLAGS -Wtype-limits"
14129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h. */
14131 int main(int argc, char **argv) { return 0; }
14132 _ACEOF
14133 if ac_fn_c_try_link "$LINENO"; then :
14134 ac_cv_cflags__Wtype_limits=yes
14135 else
14136 ac_cv_cflags__Wtype_limits=no
14138 rm -f core conftest.err conftest.$ac_objext \
14139 conftest$ac_exeext conftest.$ac_ext
14140 CFLAGS=$ac_wine_try_cflags_saved
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14143 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14144 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14145 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14148 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14149 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14150 $as_echo_n "(cached) " >&6
14151 else
14152 ac_wine_try_cflags_saved=$CFLAGS
14153 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14156 int main(int argc, char **argv) { return 0; }
14157 _ACEOF
14158 if ac_fn_c_try_link "$LINENO"; then :
14159 ac_cv_cflags__Wunused_but_set_parameter=yes
14160 else
14161 ac_cv_cflags__Wunused_but_set_parameter=no
14163 rm -f core conftest.err conftest.$ac_objext \
14164 conftest$ac_exeext conftest.$ac_ext
14165 CFLAGS=$ac_wine_try_cflags_saved
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14168 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14169 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14170 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14173 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14174 if ${ac_cv_cflags__Wvla+:} false; then :
14175 $as_echo_n "(cached) " >&6
14176 else
14177 ac_wine_try_cflags_saved=$CFLAGS
14178 CFLAGS="$CFLAGS -Wvla"
14179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14180 /* end confdefs.h. */
14181 int main(int argc, char **argv) { return 0; }
14182 _ACEOF
14183 if ac_fn_c_try_link "$LINENO"; then :
14184 ac_cv_cflags__Wvla=yes
14185 else
14186 ac_cv_cflags__Wvla=no
14188 rm -f core conftest.err conftest.$ac_objext \
14189 conftest$ac_exeext conftest.$ac_ext
14190 CFLAGS=$ac_wine_try_cflags_saved
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14193 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14194 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14195 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14198 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14199 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14200 $as_echo_n "(cached) " >&6
14201 else
14202 ac_wine_try_cflags_saved=$CFLAGS
14203 CFLAGS="$CFLAGS -Wwrite-strings"
14204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14206 int main(int argc, char **argv) { return 0; }
14207 _ACEOF
14208 if ac_fn_c_try_link "$LINENO"; then :
14209 ac_cv_cflags__Wwrite_strings=yes
14210 else
14211 ac_cv_cflags__Wwrite_strings=no
14213 rm -f core conftest.err conftest.$ac_objext \
14214 conftest$ac_exeext conftest.$ac_ext
14215 CFLAGS=$ac_wine_try_cflags_saved
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14218 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14219 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14220 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14224 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14225 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14226 $as_echo_n "(cached) " >&6
14227 else
14228 ac_wine_try_cflags_saved=$CFLAGS
14229 CFLAGS="$CFLAGS -Wpointer-arith"
14230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14232 int main(int argc, char **argv) { return 0; }
14233 _ACEOF
14234 if ac_fn_c_try_link "$LINENO"; then :
14235 ac_cv_cflags__Wpointer_arith=yes
14236 else
14237 ac_cv_cflags__Wpointer_arith=no
14239 rm -f core conftest.err conftest.$ac_objext \
14240 conftest$ac_exeext conftest.$ac_ext
14241 CFLAGS=$ac_wine_try_cflags_saved
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14244 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14245 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14246 saved_string_h_CFLAGS=$CFLAGS
14247 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14249 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14250 if ${ac_cv_c_string_h_warnings+:} false; then :
14251 $as_echo_n "(cached) " >&6
14252 else
14253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14254 /* end confdefs.h. */
14255 #include <string.h>
14257 main ()
14261 return 0;
14263 _ACEOF
14264 if ac_fn_c_try_compile "$LINENO"; then :
14265 ac_cv_c_string_h_warnings=no
14266 else
14267 ac_cv_c_string_h_warnings=yes
14269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14272 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14273 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14274 CFLAGS=$saved_string_h_CFLAGS
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14278 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14279 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14280 $as_echo_n "(cached) " >&6
14281 else
14282 ac_wine_try_cflags_saved=$CFLAGS
14283 CFLAGS="$CFLAGS -Wlogical-op"
14284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14285 /* end confdefs.h. */
14286 int main(int argc, char **argv) { return 0; }
14287 _ACEOF
14288 if ac_fn_c_try_link "$LINENO"; then :
14289 ac_cv_cflags__Wlogical_op=yes
14290 else
14291 ac_cv_cflags__Wlogical_op=no
14293 rm -f core conftest.err conftest.$ac_objext \
14294 conftest$ac_exeext conftest.$ac_ext
14295 CFLAGS=$ac_wine_try_cflags_saved
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14298 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14299 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14300 saved_string_h_CFLAGS=$CFLAGS
14301 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14303 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14304 if ${ac_cv_c_logicalop_noisy+:} false; then :
14305 $as_echo_n "(cached) " >&6
14306 else
14307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14309 #include <string.h>
14310 char*f(const char *h,char n) {return strchr(h,n);}
14312 main ()
14316 return 0;
14318 _ACEOF
14319 if ac_fn_c_try_compile "$LINENO"; then :
14320 ac_cv_c_logicalop_noisy=no
14321 else
14322 ac_cv_c_logicalop_noisy=yes
14324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14327 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14328 CFLAGS=$saved_string_h_CFLAGS
14329 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14332 CFLAGS=$saved_CFLAGS
14334 for ac_flag in $CFLAGS; do
14335 case $ac_flag in
14336 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14337 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14338 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14339 $as_echo_n "(cached) " >&6
14340 else
14341 ac_wine_try_cflags_saved=$CFLAGS
14342 CFLAGS="$CFLAGS -gdwarf-2"
14343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14345 int main(int argc, char **argv) { return 0; }
14346 _ACEOF
14347 if ac_fn_c_try_link "$LINENO"; then :
14348 ac_cv_cflags__gdwarf_2=yes
14349 else
14350 ac_cv_cflags__gdwarf_2=no
14352 rm -f core conftest.err conftest.$ac_objext \
14353 conftest$ac_exeext conftest.$ac_ext
14354 CFLAGS=$ac_wine_try_cflags_saved
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14357 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14358 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14359 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14362 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14363 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14364 $as_echo_n "(cached) " >&6
14365 else
14366 ac_wine_try_cflags_saved=$CFLAGS
14367 CFLAGS="$CFLAGS -gstrict-dwarf"
14368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14370 int main(int argc, char **argv) { return 0; }
14371 _ACEOF
14372 if ac_fn_c_try_link "$LINENO"; then :
14373 ac_cv_cflags__gstrict_dwarf=yes
14374 else
14375 ac_cv_cflags__gstrict_dwarf=no
14377 rm -f core conftest.err conftest.$ac_objext \
14378 conftest$ac_exeext conftest.$ac_ext
14379 CFLAGS=$ac_wine_try_cflags_saved
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14382 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14383 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14384 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14385 fi ;;
14386 esac
14387 done
14389 case $host_cpu in
14390 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14391 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14392 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14393 $as_echo_n "(cached) " >&6
14394 else
14395 ac_wine_try_cflags_saved=$CFLAGS
14396 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14399 int main(int argc, char **argv) { return 0; }
14400 _ACEOF
14401 if ac_fn_c_try_link "$LINENO"; then :
14402 ac_cv_cflags__fno_omit_frame_pointer=yes
14403 else
14404 ac_cv_cflags__fno_omit_frame_pointer=no
14406 rm -f core conftest.err conftest.$ac_objext \
14407 conftest$ac_exeext conftest.$ac_ext
14408 CFLAGS=$ac_wine_try_cflags_saved
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14411 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14412 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14413 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14414 fi ;;
14415 esac
14417 case $host in
14418 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14419 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14420 if ${ac_cv_cflags__Wno_format+:} false; then :
14421 $as_echo_n "(cached) " >&6
14422 else
14423 ac_wine_try_cflags_saved=$CFLAGS
14424 CFLAGS="$CFLAGS -Wno-format"
14425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14426 /* end confdefs.h. */
14427 int main(int argc, char **argv) { return 0; }
14428 _ACEOF
14429 if ac_fn_c_try_link "$LINENO"; then :
14430 ac_cv_cflags__Wno_format=yes
14431 else
14432 ac_cv_cflags__Wno_format=no
14434 rm -f core conftest.err conftest.$ac_objext \
14435 conftest$ac_exeext conftest.$ac_ext
14436 CFLAGS=$ac_wine_try_cflags_saved
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14439 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14440 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14441 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14442 fi ;;
14443 esac
14445 if test "x$enable_maintainer_mode" = "xyes"
14446 then
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14448 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14449 if ${ac_cv_cflags__Werror+:} false; then :
14450 $as_echo_n "(cached) " >&6
14451 else
14452 ac_wine_try_cflags_saved=$CFLAGS
14453 CFLAGS="$CFLAGS -Werror"
14454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14455 /* end confdefs.h. */
14456 int main(int argc, char **argv) { return 0; }
14457 _ACEOF
14458 if ac_fn_c_try_link "$LINENO"; then :
14459 ac_cv_cflags__Werror=yes
14460 else
14461 ac_cv_cflags__Werror=no
14463 rm -f core conftest.err conftest.$ac_objext \
14464 conftest$ac_exeext conftest.$ac_ext
14465 CFLAGS=$ac_wine_try_cflags_saved
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14468 $as_echo "$ac_cv_cflags__Werror" >&6; }
14469 if test "x$ac_cv_cflags__Werror" = xyes; then :
14470 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14474 saved_CFLAGS="$CFLAGS"
14475 CFLAGS="$CFLAGS -Werror"
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14477 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14478 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14479 $as_echo_n "(cached) " >&6
14480 else
14481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14482 /* end confdefs.h. */
14483 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14485 main ()
14489 return 0;
14491 _ACEOF
14492 if ac_fn_c_try_compile "$LINENO"; then :
14493 ac_cv_have_ms_hook_prologue="yes"
14494 else
14495 ac_cv_have_ms_hook_prologue="no"
14497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14500 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14501 CFLAGS="$saved_CFLAGS"
14502 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14503 then
14505 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14507 else
14508 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14515 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14516 if ${ac_cv_c_fortify_enabled+:} false; then :
14517 $as_echo_n "(cached) " >&6
14518 else
14519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14520 /* end confdefs.h. */
14521 #include <string.h>
14523 main ()
14525 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14526 #error Fortify enabled
14527 #endif
14529 return 0;
14531 _ACEOF
14532 if ac_fn_c_try_compile "$LINENO"; then :
14533 ac_cv_c_fortify_enabled=no
14534 else
14535 ac_cv_c_fortify_enabled=yes
14537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14540 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14541 if test "$ac_cv_c_fortify_enabled" = yes
14542 then
14543 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14548 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14549 if ${ac_cv_c_extern_prefix+:} false; then :
14550 $as_echo_n "(cached) " >&6
14551 else
14552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14553 /* end confdefs.h. */
14554 extern int ac_test;
14556 main ()
14558 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14560 return 0;
14562 _ACEOF
14563 if ac_fn_c_try_link "$LINENO"; then :
14564 ac_cv_c_extern_prefix="yes"
14565 else
14566 ac_cv_c_extern_prefix="no"
14568 rm -f core conftest.err conftest.$ac_objext \
14569 conftest$ac_exeext conftest.$ac_ext
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14572 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14574 case $host_cpu in
14575 *i[3456789]86*)
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14577 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14578 if ${ac_cv_c_stdcall_suffix+:} false; then :
14579 $as_echo_n "(cached) " >&6
14580 else
14581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14583 #ifndef _MSC_VER
14584 #define __stdcall __attribute__((__stdcall__))
14585 #endif
14586 int __stdcall ac_test(int i) { return i; }
14588 main ()
14590 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14592 return 0;
14594 _ACEOF
14595 if ac_fn_c_try_link "$LINENO"; then :
14596 ac_cv_c_stdcall_suffix="yes"
14597 else
14598 ac_cv_c_stdcall_suffix="no"
14600 rm -f core conftest.err conftest.$ac_objext \
14601 conftest$ac_exeext conftest.$ac_ext
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14604 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14605 *) ac_cv_c_stdcall_suffix="no" ;;
14606 esac
14609 if test "$ac_cv_c_extern_prefix" = "yes"
14610 then
14611 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14613 asm_name_prefix="_"
14614 else
14615 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14617 asm_name_prefix=""
14621 if test "$ac_cv_c_stdcall_suffix" = "yes"
14622 then
14623 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14625 else
14626 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14632 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14633 if ${ac_cv_asm_func_def+:} false; then :
14634 $as_echo_n "(cached) " >&6
14635 else
14636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14637 /* end confdefs.h. */
14640 main ()
14642 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14644 return 0;
14646 _ACEOF
14647 if ac_fn_c_try_link "$LINENO"; then :
14648 ac_cv_asm_func_def=".def"
14649 else
14650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14651 /* end confdefs.h. */
14654 main ()
14656 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14658 return 0;
14660 _ACEOF
14661 if ac_fn_c_try_link "$LINENO"; then :
14662 ac_cv_asm_func_def=".type @function"
14663 else
14664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14665 /* end confdefs.h. */
14668 main ()
14670 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14672 return 0;
14674 _ACEOF
14675 if ac_fn_c_try_link "$LINENO"; then :
14676 ac_cv_asm_func_def=".type 2"
14677 else
14678 ac_cv_asm_func_def="unknown"
14680 rm -f core conftest.err conftest.$ac_objext \
14681 conftest$ac_exeext conftest.$ac_ext
14683 rm -f core conftest.err conftest.$ac_objext \
14684 conftest$ac_exeext conftest.$ac_ext
14686 rm -f core conftest.err conftest.$ac_objext \
14687 conftest$ac_exeext conftest.$ac_ext
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14690 $as_echo "$ac_cv_asm_func_def" >&6; }
14693 case "$ac_cv_asm_func_def" in
14694 ".def")
14695 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14697 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14698 ".type @function")
14699 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14701 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14702 ".type 2")
14703 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14705 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14707 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14709 asm_func_header="" ;;
14710 esac
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14713 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14714 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14715 $as_echo_n "(cached) " >&6
14716 else
14717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14718 /* end confdefs.h. */
14719 asm(".text\n\t.long 0");
14721 main ()
14725 return 0;
14727 _ACEOF
14728 if ac_fn_c_try_compile "$LINENO"; then :
14729 ac_cv_c_asm_outside_funcs="yes"
14730 else
14731 ac_cv_c_asm_outside_funcs="no"
14733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14736 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14739 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14740 if ${ac_cv_c_dot_previous+:} false; then :
14741 $as_echo_n "(cached) " >&6
14742 else
14743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14744 /* end confdefs.h. */
14747 main ()
14749 asm(".text\nac_test:\t.long 0\n\t.previous");
14751 return 0;
14753 _ACEOF
14754 if ac_fn_c_try_link "$LINENO"; then :
14755 ac_cv_c_dot_previous="yes"
14756 else
14757 ac_cv_c_dot_previous="no"
14759 rm -f core conftest.err conftest.$ac_objext \
14760 conftest$ac_exeext conftest.$ac_ext
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14763 $as_echo "$ac_cv_c_dot_previous" >&6; }
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14766 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14767 if ${ac_cv_c_cfi_support+:} false; then :
14768 $as_echo_n "(cached) " >&6
14769 else
14770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14771 /* end confdefs.h. */
14772 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14774 main ()
14778 return 0;
14780 _ACEOF
14781 if ac_fn_c_try_compile "$LINENO"; then :
14782 ac_cv_c_cfi_support="yes"
14783 else
14784 ac_cv_c_cfi_support="no"
14786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14789 $as_echo "$ac_cv_c_cfi_support" >&6; }
14791 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14792 asm_func_trailer=""
14793 if test "$ac_cv_c_dot_previous" = "yes"
14794 then
14795 asm_func_trailer="\\n\\t.previous"
14797 if test "$ac_cv_c_cfi_support" = "yes"
14798 then
14799 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14800 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14802 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14804 UNWINDFLAGS=-fasynchronous-unwind-tables
14806 else
14807 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14809 if test "x$enable_win64" = "xyes"
14810 then
14811 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14815 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14818 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14819 then
14820 cat >>confdefs.h <<_ACEOF
14821 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14822 _ACEOF
14824 else
14825 cat >>confdefs.h <<_ACEOF
14826 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14827 _ACEOF
14831 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14834 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14838 case $build_os in
14839 cygwin*|mingw32*) TOOLSEXT=".exe"
14841 esac
14843 case $host_os in
14844 linux*)
14845 case $host_cpu in
14846 *i[3456789]86*|x86_64*)
14847 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14848 loader_programs="$loader_programs $wine_binary-preloader"
14849 as_fn_append LOADER_RULES "
14850 $wine_binary-preloader: preloader.o
14851 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14853 install install-lib:: $wine_binary-preloader
14854 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14856 uninstall::
14857 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14859 preloader_EXTRADEFS = $BUILTINFLAG
14860 " ;;
14861 esac
14863 esac
14864 as_fn_append LOADER_RULES "
14865 PROGRAMS = $loader_programs
14869 ac_save_CFLAGS="$CFLAGS"
14870 CFLAGS="$CFLAGS $BUILTINFLAG"
14871 for ac_func in \
14872 __res_get_state \
14873 __res_getservers \
14874 _finite \
14875 _isnan \
14876 _pclose \
14877 _popen \
14878 _snprintf \
14879 _spawnvp \
14880 _strdup \
14881 _stricmp \
14882 _strnicmp \
14883 _strtoi64 \
14884 _strtoui64 \
14885 _vsnprintf \
14886 asctime_r \
14887 chsize \
14888 dlopen \
14889 epoll_create \
14890 ffs \
14891 finitef \
14892 fnmatch \
14893 fork \
14894 fpclass \
14895 fstatfs \
14896 fstatvfs \
14897 ftruncate \
14898 futimens \
14899 futimes \
14900 futimesat \
14901 getattrlist \
14902 getdirentries \
14903 getopt_long_only \
14904 getpwuid \
14905 gettimeofday \
14906 getuid \
14907 if_nameindex \
14908 isnanf \
14909 kqueue \
14910 lstat \
14911 memmove \
14912 mmap \
14913 pclose \
14914 pipe2 \
14915 poll \
14916 popen \
14917 port_create \
14918 prctl \
14919 pread \
14920 proc_pidinfo \
14921 pwrite \
14922 readdir \
14923 readlink \
14924 sched_yield \
14925 select \
14926 setproctitle \
14927 setrlimit \
14928 settimeofday \
14929 sigaltstack \
14930 sigprocmask \
14931 snprintf \
14932 statfs \
14933 statvfs \
14934 strcasecmp \
14935 strdup \
14936 strerror \
14937 strncasecmp \
14938 strtold \
14939 strtoll \
14940 strtoull \
14941 symlink \
14942 tcdrain \
14943 thr_kill2 \
14944 timegm \
14945 usleep \
14946 vsnprintf
14948 do :
14949 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14950 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14951 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14952 cat >>confdefs.h <<_ACEOF
14953 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14954 _ACEOF
14957 done
14959 CFLAGS="$ac_save_CFLAGS"
14961 if test "$ac_cv_func_dlopen" = no
14962 then
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14964 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14965 if ${ac_cv_lib_dl_dlopen+:} false; then :
14966 $as_echo_n "(cached) " >&6
14967 else
14968 ac_check_lib_save_LIBS=$LIBS
14969 LIBS="-ldl $LIBS"
14970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14973 /* Override any GCC internal prototype to avoid an error.
14974 Use char because int might match the return type of a GCC
14975 builtin and then its argument prototype would still apply. */
14976 #ifdef __cplusplus
14977 extern "C"
14978 #endif
14979 char dlopen ();
14981 main ()
14983 return dlopen ();
14985 return 0;
14987 _ACEOF
14988 if ac_fn_c_try_link "$LINENO"; then :
14989 ac_cv_lib_dl_dlopen=yes
14990 else
14991 ac_cv_lib_dl_dlopen=no
14993 rm -f core conftest.err conftest.$ac_objext \
14994 conftest$ac_exeext conftest.$ac_ext
14995 LIBS=$ac_check_lib_save_LIBS
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14998 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14999 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15000 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15001 DL_LIBS="-ldl"
15006 ac_wine_check_funcs_save_LIBS="$LIBS"
15007 LIBS="$LIBS $DL_LIBS"
15008 for ac_func in dladdr
15009 do :
15010 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15011 if test "x$ac_cv_func_dladdr" = xyes; then :
15012 cat >>confdefs.h <<_ACEOF
15013 #define HAVE_DLADDR 1
15014 _ACEOF
15017 done
15019 LIBS="$ac_wine_check_funcs_save_LIBS"
15021 if test "$ac_cv_func_poll" = no
15022 then
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15024 $as_echo_n "checking for poll in -lpoll... " >&6; }
15025 if ${ac_cv_lib_poll_poll+:} false; then :
15026 $as_echo_n "(cached) " >&6
15027 else
15028 ac_check_lib_save_LIBS=$LIBS
15029 LIBS="-lpoll $LIBS"
15030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15033 /* Override any GCC internal prototype to avoid an error.
15034 Use char because int might match the return type of a GCC
15035 builtin and then its argument prototype would still apply. */
15036 #ifdef __cplusplus
15037 extern "C"
15038 #endif
15039 char poll ();
15041 main ()
15043 return poll ();
15045 return 0;
15047 _ACEOF
15048 if ac_fn_c_try_link "$LINENO"; then :
15049 ac_cv_lib_poll_poll=yes
15050 else
15051 ac_cv_lib_poll_poll=no
15053 rm -f core conftest.err conftest.$ac_objext \
15054 conftest$ac_exeext conftest.$ac_ext
15055 LIBS=$ac_check_lib_save_LIBS
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15058 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15059 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15060 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15061 POLL_LIBS="-lpoll"
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15068 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15069 if ${ac_cv_search_gethostbyname+:} false; then :
15070 $as_echo_n "(cached) " >&6
15071 else
15072 ac_func_search_save_LIBS=$LIBS
15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15076 /* Override any GCC internal prototype to avoid an error.
15077 Use char because int might match the return type of a GCC
15078 builtin and then its argument prototype would still apply. */
15079 #ifdef __cplusplus
15080 extern "C"
15081 #endif
15082 char gethostbyname ();
15084 main ()
15086 return gethostbyname ();
15088 return 0;
15090 _ACEOF
15091 for ac_lib in '' nsl; do
15092 if test -z "$ac_lib"; then
15093 ac_res="none required"
15094 else
15095 ac_res=-l$ac_lib
15096 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15098 if ac_fn_c_try_link "$LINENO"; then :
15099 ac_cv_search_gethostbyname=$ac_res
15101 rm -f core conftest.err conftest.$ac_objext \
15102 conftest$ac_exeext
15103 if ${ac_cv_search_gethostbyname+:} false; then :
15104 break
15106 done
15107 if ${ac_cv_search_gethostbyname+:} false; then :
15109 else
15110 ac_cv_search_gethostbyname=no
15112 rm conftest.$ac_ext
15113 LIBS=$ac_func_search_save_LIBS
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15116 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15117 ac_res=$ac_cv_search_gethostbyname
15118 if test "$ac_res" != no; then :
15119 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15125 $as_echo_n "checking for library containing connect... " >&6; }
15126 if ${ac_cv_search_connect+:} false; then :
15127 $as_echo_n "(cached) " >&6
15128 else
15129 ac_func_search_save_LIBS=$LIBS
15130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15133 /* Override any GCC internal prototype to avoid an error.
15134 Use char because int might match the return type of a GCC
15135 builtin and then its argument prototype would still apply. */
15136 #ifdef __cplusplus
15137 extern "C"
15138 #endif
15139 char connect ();
15141 main ()
15143 return connect ();
15145 return 0;
15147 _ACEOF
15148 for ac_lib in '' socket; do
15149 if test -z "$ac_lib"; then
15150 ac_res="none required"
15151 else
15152 ac_res=-l$ac_lib
15153 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15155 if ac_fn_c_try_link "$LINENO"; then :
15156 ac_cv_search_connect=$ac_res
15158 rm -f core conftest.err conftest.$ac_objext \
15159 conftest$ac_exeext
15160 if ${ac_cv_search_connect+:} false; then :
15161 break
15163 done
15164 if ${ac_cv_search_connect+:} false; then :
15166 else
15167 ac_cv_search_connect=no
15169 rm conftest.$ac_ext
15170 LIBS=$ac_func_search_save_LIBS
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15173 $as_echo "$ac_cv_search_connect" >&6; }
15174 ac_res=$ac_cv_search_connect
15175 if test "$ac_res" != no; then :
15176 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15182 $as_echo_n "checking for library containing inet_aton... " >&6; }
15183 if ${ac_cv_search_inet_aton+:} false; then :
15184 $as_echo_n "(cached) " >&6
15185 else
15186 ac_func_search_save_LIBS=$LIBS
15187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15188 /* end confdefs.h. */
15190 /* Override any GCC internal prototype to avoid an error.
15191 Use char because int might match the return type of a GCC
15192 builtin and then its argument prototype would still apply. */
15193 #ifdef __cplusplus
15194 extern "C"
15195 #endif
15196 char inet_aton ();
15198 main ()
15200 return inet_aton ();
15202 return 0;
15204 _ACEOF
15205 for ac_lib in '' resolv; do
15206 if test -z "$ac_lib"; then
15207 ac_res="none required"
15208 else
15209 ac_res=-l$ac_lib
15210 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15212 if ac_fn_c_try_link "$LINENO"; then :
15213 ac_cv_search_inet_aton=$ac_res
15215 rm -f core conftest.err conftest.$ac_objext \
15216 conftest$ac_exeext
15217 if ${ac_cv_search_inet_aton+:} false; then :
15218 break
15220 done
15221 if ${ac_cv_search_inet_aton+:} false; then :
15223 else
15224 ac_cv_search_inet_aton=no
15226 rm conftest.$ac_ext
15227 LIBS=$ac_func_search_save_LIBS
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15230 $as_echo "$ac_cv_search_inet_aton" >&6; }
15231 ac_res=$ac_cv_search_inet_aton
15232 if test "$ac_res" != no; then :
15233 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15238 for ac_func in \
15239 getaddrinfo \
15240 getnameinfo \
15241 getnetbyname \
15242 getprotobyname \
15243 getprotobynumber \
15244 getservbyport \
15245 inet_addr \
15246 inet_network \
15247 inet_ntop \
15248 inet_pton \
15249 sendmsg \
15250 socketpair \
15252 do :
15253 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15254 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15255 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15256 cat >>confdefs.h <<_ACEOF
15257 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15258 _ACEOF
15261 done
15264 ac_save_LIBS=$LIBS
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15266 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15267 if ${ac_cv_search_clock_gettime+:} false; then :
15268 $as_echo_n "(cached) " >&6
15269 else
15270 ac_func_search_save_LIBS=$LIBS
15271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15274 /* Override any GCC internal prototype to avoid an error.
15275 Use char because int might match the return type of a GCC
15276 builtin and then its argument prototype would still apply. */
15277 #ifdef __cplusplus
15278 extern "C"
15279 #endif
15280 char clock_gettime ();
15282 main ()
15284 return clock_gettime ();
15286 return 0;
15288 _ACEOF
15289 for ac_lib in '' rt; do
15290 if test -z "$ac_lib"; then
15291 ac_res="none required"
15292 else
15293 ac_res=-l$ac_lib
15294 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15296 if ac_fn_c_try_link "$LINENO"; then :
15297 ac_cv_search_clock_gettime=$ac_res
15299 rm -f core conftest.err conftest.$ac_objext \
15300 conftest$ac_exeext
15301 if ${ac_cv_search_clock_gettime+:} false; then :
15302 break
15304 done
15305 if ${ac_cv_search_clock_gettime+:} false; then :
15307 else
15308 ac_cv_search_clock_gettime=no
15310 rm conftest.$ac_ext
15311 LIBS=$ac_func_search_save_LIBS
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15314 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15315 ac_res=$ac_cv_search_clock_gettime
15316 if test "$ac_res" != no; then :
15317 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15319 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15321 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15325 LIBS=$ac_save_LIBS
15327 LDAP_LIBS=""
15329 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15330 then
15331 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15333 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15335 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15336 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15337 $as_echo_n "(cached) " >&6
15338 else
15339 ac_check_lib_save_LIBS=$LIBS
15340 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15342 /* end confdefs.h. */
15344 /* Override any GCC internal prototype to avoid an error.
15345 Use char because int might match the return type of a GCC
15346 builtin and then its argument prototype would still apply. */
15347 #ifdef __cplusplus
15348 extern "C"
15349 #endif
15350 char ldap_initialize ();
15352 main ()
15354 return ldap_initialize ();
15356 return 0;
15358 _ACEOF
15359 if ac_fn_c_try_link "$LINENO"; then :
15360 ac_cv_lib_ldap_r_ldap_initialize=yes
15361 else
15362 ac_cv_lib_ldap_r_ldap_initialize=no
15364 rm -f core conftest.err conftest.$ac_objext \
15365 conftest$ac_exeext conftest.$ac_ext
15366 LIBS=$ac_check_lib_save_LIBS
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15369 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15370 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15372 $as_echo_n "checking for ber_init in -llber... " >&6; }
15373 if ${ac_cv_lib_lber_ber_init+:} false; then :
15374 $as_echo_n "(cached) " >&6
15375 else
15376 ac_check_lib_save_LIBS=$LIBS
15377 LIBS="-llber $PTHREAD_LIBS $LIBS"
15378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15381 /* Override any GCC internal prototype to avoid an error.
15382 Use char because int might match the return type of a GCC
15383 builtin and then its argument prototype would still apply. */
15384 #ifdef __cplusplus
15385 extern "C"
15386 #endif
15387 char ber_init ();
15389 main ()
15391 return ber_init ();
15393 return 0;
15395 _ACEOF
15396 if ac_fn_c_try_link "$LINENO"; then :
15397 ac_cv_lib_lber_ber_init=yes
15398 else
15399 ac_cv_lib_lber_ber_init=no
15401 rm -f core conftest.err conftest.$ac_objext \
15402 conftest$ac_exeext conftest.$ac_ext
15403 LIBS=$ac_check_lib_save_LIBS
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15406 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15407 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15409 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15411 LDAP_LIBS="-lldap_r -llber"
15418 ac_wine_check_funcs_save_LIBS="$LIBS"
15419 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15420 for ac_func in \
15421 ldap_count_references \
15422 ldap_first_reference \
15423 ldap_next_reference \
15424 ldap_parse_reference \
15425 ldap_parse_sort_control \
15426 ldap_parse_sortresponse_control \
15427 ldap_parse_vlv_control \
15428 ldap_parse_vlvresponse_control
15429 do :
15430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15432 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15433 cat >>confdefs.h <<_ACEOF
15434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15435 _ACEOF
15438 done
15440 LIBS="$ac_wine_check_funcs_save_LIBS"
15442 if test "x$LDAP_LIBS" = "x"; then :
15443 case "x$with_ldap" in
15444 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15445 xno) ;;
15446 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15447 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15448 esac
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15452 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15453 if ${wine_cv_one_arg_mkdir+:} false; then :
15454 $as_echo_n "(cached) " >&6
15455 else
15456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15457 /* end confdefs.h. */
15458 #include <sys/stat.h>
15460 main ()
15462 mkdir("foo");
15464 return 0;
15466 _ACEOF
15467 if ac_fn_c_try_compile "$LINENO"; then :
15468 wine_cv_one_arg_mkdir=yes
15469 else
15470 wine_cv_one_arg_mkdir=no
15472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15475 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15476 if test "$wine_cv_one_arg_mkdir" = "yes"
15477 then
15479 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15484 $as_echo_n "checking for sched_setaffinity... " >&6; }
15485 if ${wine_cv_have_sched_setaffinity+:} false; then :
15486 $as_echo_n "(cached) " >&6
15487 else
15488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15489 /* end confdefs.h. */
15490 #define _GNU_SOURCE
15491 #include <sched.h>
15493 main ()
15495 sched_setaffinity(0, 0, 0);
15497 return 0;
15499 _ACEOF
15500 if ac_fn_c_try_link "$LINENO"; then :
15501 wine_cv_have_sched_setaffinity=yes
15502 else
15503 wine_cv_have_sched_setaffinity=no
15505 rm -f core conftest.err conftest.$ac_objext \
15506 conftest$ac_exeext conftest.$ac_ext
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15509 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15510 if test "$wine_cv_have_sched_setaffinity" = "yes"
15511 then
15513 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15518 $as_echo_n "checking for fallocate... " >&6; }
15519 if ${wine_cv_have_fallocate+:} false; then :
15520 $as_echo_n "(cached) " >&6
15521 else
15522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15523 /* end confdefs.h. */
15524 #define _GNU_SOURCE
15525 #include <fcntl.h>
15527 main ()
15529 fallocate(-1, 0, 0, 0);
15531 return 0;
15533 _ACEOF
15534 if ac_fn_c_try_link "$LINENO"; then :
15535 wine_cv_have_fallocate=yes
15536 else
15537 wine_cv_have_fallocate=no
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext conftest.$ac_ext
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15543 $as_echo "$wine_cv_have_fallocate" >&6; }
15544 if test "$wine_cv_have_fallocate" = "yes"
15545 then
15547 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15553 $as_echo_n "checking for inline... " >&6; }
15554 if ${ac_cv_c_inline+:} false; then :
15555 $as_echo_n "(cached) " >&6
15556 else
15557 ac_cv_c_inline=no
15558 for ac_kw in inline __inline__ __inline; do
15559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15560 /* end confdefs.h. */
15561 #ifndef __cplusplus
15562 typedef int foo_t;
15563 static $ac_kw foo_t static_foo () {return 0; }
15564 $ac_kw foo_t foo () {return 0; }
15565 #endif
15567 _ACEOF
15568 if ac_fn_c_try_compile "$LINENO"; then :
15569 ac_cv_c_inline=$ac_kw
15571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15572 test "$ac_cv_c_inline" != no && break
15573 done
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15577 $as_echo "$ac_cv_c_inline" >&6; }
15579 case $ac_cv_c_inline in
15580 inline | yes) ;;
15582 case $ac_cv_c_inline in
15583 no) ac_val=;;
15584 *) ac_val=$ac_cv_c_inline;;
15585 esac
15586 cat >>confdefs.h <<_ACEOF
15587 #ifndef __cplusplus
15588 #define inline $ac_val
15589 #endif
15590 _ACEOF
15592 esac
15594 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15595 if test "x$ac_cv_type_mode_t" = xyes; then :
15597 cat >>confdefs.h <<_ACEOF
15598 #define HAVE_MODE_T 1
15599 _ACEOF
15603 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15604 if test "x$ac_cv_type_off_t" = xyes; then :
15606 cat >>confdefs.h <<_ACEOF
15607 #define HAVE_OFF_T 1
15608 _ACEOF
15612 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15613 if test "x$ac_cv_type_pid_t" = xyes; then :
15615 cat >>confdefs.h <<_ACEOF
15616 #define HAVE_PID_T 1
15617 _ACEOF
15621 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15622 if test "x$ac_cv_type_size_t" = xyes; then :
15624 cat >>confdefs.h <<_ACEOF
15625 #define HAVE_SIZE_T 1
15626 _ACEOF
15630 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15631 if test "x$ac_cv_type_ssize_t" = xyes; then :
15633 cat >>confdefs.h <<_ACEOF
15634 #define HAVE_SSIZE_T 1
15635 _ACEOF
15639 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15640 if test "x$ac_cv_type_long_long" = xyes; then :
15642 cat >>confdefs.h <<_ACEOF
15643 #define HAVE_LONG_LONG 1
15644 _ACEOF
15648 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15649 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15651 cat >>confdefs.h <<_ACEOF
15652 #define HAVE_FSBLKCNT_T 1
15653 _ACEOF
15657 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15658 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15660 cat >>confdefs.h <<_ACEOF
15661 #define HAVE_FSFILCNT_T 1
15662 _ACEOF
15667 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15668 #include <signal.h>
15670 if test "x$ac_cv_type_sigset_t" = xyes; then :
15672 cat >>confdefs.h <<_ACEOF
15673 #define HAVE_SIGSET_T 1
15674 _ACEOF
15679 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15681 if test "x$ac_cv_type_request_sense" = xyes; then :
15683 cat >>confdefs.h <<_ACEOF
15684 #define HAVE_REQUEST_SENSE 1
15685 _ACEOF
15691 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15692 #ifdef HAVE_SYS_SOCKET_H
15693 #include <sys/socket.h>
15694 #endif
15695 #ifdef HAVE_SYS_SOCKETVAR_H
15696 #include <sys/socketvar.h>
15697 #endif
15698 #ifdef HAVE_NET_ROUTE_H
15699 #include <net/route.h>
15700 #endif
15701 #ifdef HAVE_NETINET_IN_H
15702 #include <netinet/in.h>
15703 #endif
15704 #ifdef HAVE_NETINET_IN_SYSTM_H
15705 #include <netinet/in_systm.h>
15706 #endif
15707 #ifdef HAVE_NETINET_IP_H
15708 #include <netinet/ip.h>
15709 #endif
15710 #ifdef HAVE_NETINET_IN_PCB_H
15711 #include <netinet/in_pcb.h>
15712 #endif
15714 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15716 cat >>confdefs.h <<_ACEOF
15717 #define HAVE_STRUCT_XINPGEN 1
15718 _ACEOF
15724 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15725 #include <link.h>
15726 #endif
15727 #ifdef HAVE_SYS_LINK_H
15728 #include <sys/link.h>
15729 #endif
15731 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15733 cat >>confdefs.h <<_ACEOF
15734 #define HAVE_STRUCT_R_DEBUG 1
15735 _ACEOF
15739 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15740 #include <link.h>
15741 #endif
15742 #ifdef HAVE_SYS_LINK_H
15743 #include <sys/link.h>
15744 #endif
15746 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15748 cat >>confdefs.h <<_ACEOF
15749 #define HAVE_STRUCT_LINK_MAP 1
15750 _ACEOF
15756 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15757 #include <linux/input.h>
15758 #endif
15760 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15762 cat >>confdefs.h <<_ACEOF
15763 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15764 _ACEOF
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15771 $as_echo_n "checking for sigaddset... " >&6; }
15772 if ${wine_cv_have_sigaddset+:} false; then :
15773 $as_echo_n "(cached) " >&6
15774 else
15775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15776 /* end confdefs.h. */
15777 #include <signal.h>
15779 main ()
15781 sigset_t set; sigaddset(&set,SIGTERM);
15783 return 0;
15785 _ACEOF
15786 if ac_fn_c_try_link "$LINENO"; then :
15787 wine_cv_have_sigaddset=yes
15788 else
15789 wine_cv_have_sigaddset=no
15791 rm -f core conftest.err conftest.$ac_objext \
15792 conftest$ac_exeext conftest.$ac_ext
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15795 $as_echo "$wine_cv_have_sigaddset" >&6; }
15796 if test "$wine_cv_have_sigaddset" = "yes"
15797 then
15799 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15805 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15806 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15807 $as_echo_n "(cached) " >&6
15808 else
15809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15810 /* end confdefs.h. */
15811 #include <netdb.h>
15813 main ()
15816 char *name=0;
15817 struct hostent he;
15818 struct hostent *result;
15819 char *buf=0;
15820 int bufsize=0;
15821 int errnr;
15822 char *addr=0;
15823 int addrlen=0;
15824 int addrtype=0;
15825 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15826 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15829 return 0;
15831 _ACEOF
15832 if ac_fn_c_try_link "$LINENO"; then :
15833 wine_cv_linux_gethostbyname_r_6=yes
15834 else
15835 wine_cv_linux_gethostbyname_r_6=no
15838 rm -f core conftest.err conftest.$ac_objext \
15839 conftest$ac_exeext conftest.$ac_ext
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15843 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15844 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15845 then
15847 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15851 if test "$ac_cv_header_linux_joystick_h" = "yes"
15852 then
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15854 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15855 if ${wine_cv_linux_joystick_22_api+:} false; then :
15856 $as_echo_n "(cached) " >&6
15857 else
15858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15859 /* end confdefs.h. */
15861 #include <sys/ioctl.h>
15862 #include <sys/types.h>
15863 #include <linux/joystick.h>
15865 struct js_event blub;
15866 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15867 #error "no 2.2 header"
15868 #endif
15871 main ()
15873 /*empty*/
15875 return 0;
15877 _ACEOF
15878 if ac_fn_c_try_compile "$LINENO"; then :
15879 wine_cv_linux_joystick_22_api=yes
15880 else
15881 wine_cv_linux_joystick_22_api=no
15883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15887 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15888 if test "$wine_cv_linux_joystick_22_api" = "yes"
15889 then
15891 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15897 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15898 #ifdef HAVE_SYS_PARAM_H
15899 # include <sys/param.h>
15900 #endif
15901 #ifdef HAVE_SYS_MOUNT_H
15902 # include <sys/mount.h>
15903 #endif
15904 #ifdef HAVE_SYS_VFS_H
15905 # include <sys/vfs.h>
15906 #endif
15907 #ifdef HAVE_SYS_STATFS_H
15908 # include <sys/statfs.h>
15909 #endif
15911 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15913 cat >>confdefs.h <<_ACEOF
15914 #define HAVE_STRUCT_STATFS_F_BFREE 1
15915 _ACEOF
15919 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15920 #ifdef HAVE_SYS_PARAM_H
15921 # include <sys/param.h>
15922 #endif
15923 #ifdef HAVE_SYS_MOUNT_H
15924 # include <sys/mount.h>
15925 #endif
15926 #ifdef HAVE_SYS_VFS_H
15927 # include <sys/vfs.h>
15928 #endif
15929 #ifdef HAVE_SYS_STATFS_H
15930 # include <sys/statfs.h>
15931 #endif
15933 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15935 cat >>confdefs.h <<_ACEOF
15936 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15937 _ACEOF
15941 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15942 #ifdef HAVE_SYS_PARAM_H
15943 # include <sys/param.h>
15944 #endif
15945 #ifdef HAVE_SYS_MOUNT_H
15946 # include <sys/mount.h>
15947 #endif
15948 #ifdef HAVE_SYS_VFS_H
15949 # include <sys/vfs.h>
15950 #endif
15951 #ifdef HAVE_SYS_STATFS_H
15952 # include <sys/statfs.h>
15953 #endif
15955 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15957 cat >>confdefs.h <<_ACEOF
15958 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15959 _ACEOF
15963 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15964 #ifdef HAVE_SYS_PARAM_H
15965 # include <sys/param.h>
15966 #endif
15967 #ifdef HAVE_SYS_MOUNT_H
15968 # include <sys/mount.h>
15969 #endif
15970 #ifdef HAVE_SYS_VFS_H
15971 # include <sys/vfs.h>
15972 #endif
15973 #ifdef HAVE_SYS_STATFS_H
15974 # include <sys/statfs.h>
15975 #endif
15977 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15979 cat >>confdefs.h <<_ACEOF
15980 #define HAVE_STRUCT_STATFS_F_FFREE 1
15981 _ACEOF
15985 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15986 #ifdef HAVE_SYS_PARAM_H
15987 # include <sys/param.h>
15988 #endif
15989 #ifdef HAVE_SYS_MOUNT_H
15990 # include <sys/mount.h>
15991 #endif
15992 #ifdef HAVE_SYS_VFS_H
15993 # include <sys/vfs.h>
15994 #endif
15995 #ifdef HAVE_SYS_STATFS_H
15996 # include <sys/statfs.h>
15997 #endif
15999 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16001 cat >>confdefs.h <<_ACEOF
16002 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16003 _ACEOF
16007 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16008 #ifdef HAVE_SYS_PARAM_H
16009 # include <sys/param.h>
16010 #endif
16011 #ifdef HAVE_SYS_MOUNT_H
16012 # include <sys/mount.h>
16013 #endif
16014 #ifdef HAVE_SYS_VFS_H
16015 # include <sys/vfs.h>
16016 #endif
16017 #ifdef HAVE_SYS_STATFS_H
16018 # include <sys/statfs.h>
16019 #endif
16021 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16023 cat >>confdefs.h <<_ACEOF
16024 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16025 _ACEOF
16031 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16032 #include <sys/statvfs.h>
16033 #endif
16035 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16037 cat >>confdefs.h <<_ACEOF
16038 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16039 _ACEOF
16045 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16046 #include <dirent.h>
16047 #endif
16049 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16051 cat >>confdefs.h <<_ACEOF
16052 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16053 _ACEOF
16059 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16060 #ifdef HAVE_SYS_SOCKET_H
16061 # include <sys/socket.h>
16062 #endif
16063 #ifdef HAVE_SYS_UN_H
16064 # include <sys/un.h>
16065 #endif
16067 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16069 cat >>confdefs.h <<_ACEOF
16070 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16071 _ACEOF
16075 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16076 #ifdef HAVE_SYS_SOCKET_H
16077 # include <sys/socket.h>
16078 #endif
16079 #ifdef HAVE_SYS_UN_H
16080 # include <sys/un.h>
16081 #endif
16083 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16085 cat >>confdefs.h <<_ACEOF
16086 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16087 _ACEOF
16091 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16092 #ifdef HAVE_SYS_SOCKET_H
16093 # include <sys/socket.h>
16094 #endif
16095 #ifdef HAVE_SYS_UN_H
16096 # include <sys/un.h>
16097 #endif
16099 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16103 _ACEOF
16109 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16110 #ifdef HAVE_SCSI_SG_H
16111 #include <scsi/sg.h>
16112 #endif
16114 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_SCSIREQ_T_CMD 1
16118 _ACEOF
16122 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>
16123 #ifdef HAVE_SCSI_SG_H
16124 #include <scsi/sg.h>
16125 #endif
16127 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16129 cat >>confdefs.h <<_ACEOF
16130 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16131 _ACEOF
16137 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16139 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16141 cat >>confdefs.h <<_ACEOF
16142 #define HAVE_SIGINFO_T_SI_FD 1
16143 _ACEOF
16149 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16150 #ifdef HAVE_SYS_MTIO_H
16151 #include <sys/mtio.h>
16152 #endif
16154 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16156 cat >>confdefs.h <<_ACEOF
16157 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16158 _ACEOF
16162 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16163 #ifdef HAVE_SYS_MTIO_H
16164 #include <sys/mtio.h>
16165 #endif
16167 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16169 cat >>confdefs.h <<_ACEOF
16170 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16171 _ACEOF
16175 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16176 #ifdef HAVE_SYS_MTIO_H
16177 #include <sys/mtio.h>
16178 #endif
16180 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16182 cat >>confdefs.h <<_ACEOF
16183 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16184 _ACEOF
16190 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16191 #include <getopt.h>
16192 #endif
16194 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16196 cat >>confdefs.h <<_ACEOF
16197 #define HAVE_STRUCT_OPTION_NAME 1
16198 _ACEOF
16204 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16205 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16207 cat >>confdefs.h <<_ACEOF
16208 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16209 _ACEOF
16213 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16214 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16216 cat >>confdefs.h <<_ACEOF
16217 #define HAVE_STRUCT_STAT_ST_MTIM 1
16218 _ACEOF
16222 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16223 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16225 cat >>confdefs.h <<_ACEOF
16226 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16227 _ACEOF
16231 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16232 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16234 cat >>confdefs.h <<_ACEOF
16235 #define HAVE_STRUCT_STAT_ST_CTIM 1
16236 _ACEOF
16240 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16241 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16243 cat >>confdefs.h <<_ACEOF
16244 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16245 _ACEOF
16249 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16250 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16252 cat >>confdefs.h <<_ACEOF
16253 #define HAVE_STRUCT_STAT_ST_ATIM 1
16254 _ACEOF
16258 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16259 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16261 cat >>confdefs.h <<_ACEOF
16262 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16263 _ACEOF
16267 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16268 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16270 cat >>confdefs.h <<_ACEOF
16271 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16272 _ACEOF
16276 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16277 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16279 cat >>confdefs.h <<_ACEOF
16280 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16281 _ACEOF
16285 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16286 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16288 cat >>confdefs.h <<_ACEOF
16289 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16290 _ACEOF
16294 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16295 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16297 cat >>confdefs.h <<_ACEOF
16298 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16299 _ACEOF
16303 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16304 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16306 cat >>confdefs.h <<_ACEOF
16307 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16308 _ACEOF
16314 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
16315 #include <sys/types.h>
16316 #endif
16317 #ifdef HAVE_NETINET_IN_H
16318 #include <netinet/in.h>
16319 #endif
16321 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16323 cat >>confdefs.h <<_ACEOF
16324 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16325 _ACEOF
16331 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16332 #include <resolv.h>
16333 #endif
16335 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16337 cat >>confdefs.h <<_ACEOF
16338 #define HAVE_STRUCT___RES_STATE 1
16339 _ACEOF
16345 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
16346 #include <resolv.h>
16347 #endif
16349 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16351 cat >>confdefs.h <<_ACEOF
16352 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16353 _ACEOF
16359 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16360 #include <sys/types.h>
16361 #endif
16362 #ifdef HAVE_NETINET_IN_H
16363 # include <netinet/in.h>
16364 #endif
16365 #ifdef HAVE_ARPA_NAMESER_H
16366 # include <arpa/nameser.h>
16367 #endif
16369 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16371 cat >>confdefs.h <<_ACEOF
16372 #define HAVE_NS_MSG__MSG_PTR 1
16373 _ACEOF
16379 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16380 #include <sys/types.h>
16381 #endif
16382 #ifdef HAVE_NETINET_IP_H
16383 #include <netinet/ip.h>
16384 #endif
16385 #ifdef HAVE_NETINET_IP_ICMP_H
16386 #include <netinet/ip_icmp.h>
16387 #endif
16388 #ifdef HAVE_NETINET_ICMP_VAR_H
16389 #include <netinet/icmp_var.h>
16390 #endif
16392 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16394 cat >>confdefs.h <<_ACEOF
16395 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16396 _ACEOF
16402 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16403 #include <sys/types.h>
16404 #endif
16405 #ifdef HAVE_ALIAS_H
16406 #include <alias.h>
16407 #endif
16408 #ifdef HAVE_SYS_SOCKET_H
16409 #include <sys/socket.h>
16410 #endif
16411 #ifdef HAVE_SYS_SOCKETVAR_H
16412 #include <sys/socketvar.h>
16413 #endif
16414 #ifdef HAVE_SYS_TIMEOUT_H
16415 #include <sys/timeout.h>
16416 #endif
16417 #ifdef HAVE_NETINET_IN_H
16418 #include <netinet/in.h>
16419 #endif
16420 #ifdef HAVE_NETINET_IN_SYSTM_H
16421 #include <netinet/in_systm.h>
16422 #endif
16423 #ifdef HAVE_NETINET_IP_H
16424 #include <netinet/ip.h>
16425 #endif
16426 #ifdef HAVE_NETINET_IP_VAR_H
16427 #include <netinet/ip_var.h>
16428 #endif
16429 #ifdef HAVE_NETINET_IP_ICMP_H
16430 #include <netinet/ip_icmp.h>
16431 #endif
16432 #ifdef HAVE_NETINET_ICMP_VAR_H
16433 #include <netinet/icmp_var.h>
16434 #endif
16436 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16438 cat >>confdefs.h <<_ACEOF
16439 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16440 _ACEOF
16446 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16447 #include <sys/types.h>
16448 #endif
16449 #ifdef HAVE_SYS_SOCKETVAR_H
16450 #include <sys/socketvar.h>
16451 #endif
16452 #ifdef HAVE_NETINET_IN_H
16453 #include <netinet/in.h>
16454 #endif
16455 #ifdef HAVE_NETINET_IP_VAR_H
16456 #include <netinet/ip_var.h>
16457 #endif
16459 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16461 cat >>confdefs.h <<_ACEOF
16462 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16463 _ACEOF
16469 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
16470 #include <netinet/ip_var.h>
16471 #endif
16473 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16475 cat >>confdefs.h <<_ACEOF
16476 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16477 _ACEOF
16483 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16484 #include <sys/types.h>
16485 #endif
16486 #ifdef HAVE_SYS_SOCKETVAR_H
16487 #include <sys/socketvar.h>
16488 #endif
16489 #ifdef HAVE_NETINET_IN_H
16490 #include <netinet/in.h>
16491 #endif
16492 #ifdef HAVE_NETINET_TCP_H
16493 #include <netinet/tcp.h>
16494 #endif
16495 #ifdef HAVE_NETINET_TCP_VAR_H
16496 #include <netinet/tcp_var.h>
16497 #endif
16499 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16501 cat >>confdefs.h <<_ACEOF
16502 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16503 _ACEOF
16509 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
16510 #include <netinet/tcp_var.h>
16511 #endif
16513 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16517 _ACEOF
16523 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16524 #include <sys/types.h>
16525 #endif
16526 #ifdef HAVE_NETINET_IN_H
16527 #include <netinet/in.h>
16528 #endif
16529 #ifdef HAVE_NETINET_IP_VAR_H
16530 #include <netinet/ip_var.h>
16531 #endif
16532 #ifdef HAVE_NETINET_UDP_H
16533 #include <netinet/udp.h>
16534 #endif
16535 #ifdef HAVE_NETINET_UDP_VAR_H
16536 #include <netinet/udp_var.h>
16537 #endif
16539 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16541 cat >>confdefs.h <<_ACEOF
16542 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16543 _ACEOF
16549 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16550 #include <sys/types.h>
16551 #endif
16552 #ifdef HAVE_NET_IF_H
16553 # include <net/if.h>
16554 #endif
16556 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16558 cat >>confdefs.h <<_ACEOF
16559 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16560 _ACEOF
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16567 $as_echo_n "checking for timezone variable... " >&6; }
16568 if ${ac_cv_have_timezone+:} false; then :
16569 $as_echo_n "(cached) " >&6
16570 else
16571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16573 #include <time.h>
16575 main ()
16577 timezone = 1
16579 return 0;
16581 _ACEOF
16582 if ac_fn_c_try_link "$LINENO"; then :
16583 ac_cv_have_timezone="yes"
16584 else
16585 ac_cv_have_timezone="no"
16587 rm -f core conftest.err conftest.$ac_objext \
16588 conftest$ac_exeext conftest.$ac_ext
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16591 $as_echo "$ac_cv_have_timezone" >&6; }
16592 if test "$ac_cv_have_timezone" = "yes"
16593 then
16595 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16599 $as_echo_n "checking for daylight variable... " >&6; }
16600 if ${ac_cv_have_daylight+:} false; then :
16601 $as_echo_n "(cached) " >&6
16602 else
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16605 #include <time.h>
16607 main ()
16609 daylight = 1
16611 return 0;
16613 _ACEOF
16614 if ac_fn_c_try_link "$LINENO"; then :
16615 ac_cv_have_daylight="yes"
16616 else
16617 ac_cv_have_daylight="no"
16619 rm -f core conftest.err conftest.$ac_objext \
16620 conftest$ac_exeext conftest.$ac_ext
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16623 $as_echo "$ac_cv_have_daylight" >&6; }
16624 if test "$ac_cv_have_daylight" = "yes"
16625 then
16627 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16631 ac_save_LIBS="$LIBS"
16632 LIBS="$LIBS -lm"
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16634 $as_echo_n "checking for isfinite... " >&6; }
16635 if ${ac_cv_have_isfinite+:} false; then :
16636 $as_echo_n "(cached) " >&6
16637 else
16638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16640 #define _GNU_SOURCE
16641 #include <math.h>
16643 main ()
16645 float f = 0.0; return isfinite(f)
16647 return 0;
16649 _ACEOF
16650 if ac_fn_c_try_link "$LINENO"; then :
16651 ac_cv_have_isfinite="yes"
16652 else
16653 ac_cv_have_isfinite="no"
16655 rm -f core conftest.err conftest.$ac_objext \
16656 conftest$ac_exeext conftest.$ac_ext
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16659 $as_echo "$ac_cv_have_isfinite" >&6; }
16660 if test "$ac_cv_have_isfinite" = "yes"
16661 then
16663 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16668 $as_echo_n "checking for isinf... " >&6; }
16669 if ${ac_cv_have_isinf+:} false; then :
16670 $as_echo_n "(cached) " >&6
16671 else
16672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16673 /* end confdefs.h. */
16674 #include <math.h>
16676 main ()
16678 float f = 0.0; return isinf(f)
16680 return 0;
16682 _ACEOF
16683 if ac_fn_c_try_link "$LINENO"; then :
16684 ac_cv_have_isinf="yes"
16685 else
16686 ac_cv_have_isinf="no"
16688 rm -f core conftest.err conftest.$ac_objext \
16689 conftest$ac_exeext conftest.$ac_ext
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16692 $as_echo "$ac_cv_have_isinf" >&6; }
16693 if test "$ac_cv_have_isinf" = "yes"
16694 then
16696 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16701 $as_echo_n "checking for isnan... " >&6; }
16702 if ${ac_cv_have_isnan+:} false; then :
16703 $as_echo_n "(cached) " >&6
16704 else
16705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16706 /* end confdefs.h. */
16707 #include <math.h>
16709 main ()
16711 float f = 0.0; return isnan(f)
16713 return 0;
16715 _ACEOF
16716 if ac_fn_c_try_link "$LINENO"; then :
16717 ac_cv_have_isnan="yes"
16718 else
16719 ac_cv_have_isnan="no"
16721 rm -f core conftest.err conftest.$ac_objext \
16722 conftest$ac_exeext conftest.$ac_ext
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16725 $as_echo "$ac_cv_have_isnan" >&6; }
16726 if test "$ac_cv_have_isnan" = "yes"
16727 then
16729 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16733 for ac_func in \
16734 cbrt \
16735 cbrtf \
16736 erf \
16737 erff \
16738 exp2 \
16739 exp2f \
16740 llrint \
16741 llrintf \
16742 llround \
16743 llroundf \
16744 log2 \
16745 log2f \
16746 lrint \
16747 lrintf \
16748 lround \
16749 lroundf \
16750 rint \
16751 rintf \
16752 round \
16753 roundf \
16754 trunc \
16755 truncf
16757 do :
16758 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16760 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16761 cat >>confdefs.h <<_ACEOF
16762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16763 _ACEOF
16766 done
16768 LIBS="$ac_save_LIBS"
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16771 $as_echo_n "checking for __builtin_clz... " >&6; }
16772 if ${ac_cv_have___builtin_clz+:} false; then :
16773 $as_echo_n "(cached) " >&6
16774 else
16775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16779 main ()
16781 return __builtin_clz(1)
16783 return 0;
16785 _ACEOF
16786 if ac_fn_c_try_link "$LINENO"; then :
16787 ac_cv_have___builtin_clz="yes"
16788 else
16789 ac_cv_have___builtin_clz="no"
16791 rm -f core conftest.err conftest.$ac_objext \
16792 conftest$ac_exeext conftest.$ac_ext
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16795 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16796 if test "$ac_cv_have___builtin_clz" = "yes"
16797 then
16799 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16804 case $host_cpu in
16805 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16806 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16807 if ${ac_cv_cpp_def___i386__+:} false; then :
16808 $as_echo_n "(cached) " >&6
16809 else
16810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16811 /* end confdefs.h. */
16812 #ifndef __i386__
16814 #endif
16815 _ACEOF
16816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16817 $EGREP "yes" >/dev/null 2>&1; then :
16818 ac_cv_cpp_def___i386__=yes
16819 else
16820 ac_cv_cpp_def___i386__=no
16822 rm -f conftest*
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16826 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16827 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16828 CFLAGS="$CFLAGS -D__i386__"
16829 LINTFLAGS="$LINTFLAGS -D__i386__"
16830 fi ;;
16831 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16832 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16833 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16834 $as_echo_n "(cached) " >&6
16835 else
16836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16837 /* end confdefs.h. */
16838 #ifndef __x86_64__
16840 #endif
16841 _ACEOF
16842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16843 $EGREP "yes" >/dev/null 2>&1; then :
16844 ac_cv_cpp_def___x86_64__=yes
16845 else
16846 ac_cv_cpp_def___x86_64__=no
16848 rm -f conftest*
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16852 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16853 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16854 CFLAGS="$CFLAGS -D__x86_64__"
16855 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16856 fi ;;
16857 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16858 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16859 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16860 $as_echo_n "(cached) " >&6
16861 else
16862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16863 /* end confdefs.h. */
16864 #ifndef __sparc64__
16866 #endif
16867 _ACEOF
16868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16869 $EGREP "yes" >/dev/null 2>&1; then :
16870 ac_cv_cpp_def___sparc64__=yes
16871 else
16872 ac_cv_cpp_def___sparc64__=no
16874 rm -f conftest*
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16878 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16879 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16880 CFLAGS="$CFLAGS -D__sparc64__"
16881 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16882 fi ;;
16883 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16884 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16885 if ${ac_cv_cpp_def___sparc__+:} false; then :
16886 $as_echo_n "(cached) " >&6
16887 else
16888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16890 #ifndef __sparc__
16892 #endif
16893 _ACEOF
16894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16895 $EGREP "yes" >/dev/null 2>&1; then :
16896 ac_cv_cpp_def___sparc__=yes
16897 else
16898 ac_cv_cpp_def___sparc__=no
16900 rm -f conftest*
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16904 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16905 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16906 CFLAGS="$CFLAGS -D__sparc__"
16907 LINTFLAGS="$LINTFLAGS -D__sparc__"
16908 fi ;;
16909 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16910 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16911 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16912 $as_echo_n "(cached) " >&6
16913 else
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16916 #ifndef __powerpc64__
16918 #endif
16919 _ACEOF
16920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16921 $EGREP "yes" >/dev/null 2>&1; then :
16922 ac_cv_cpp_def___powerpc64__=yes
16923 else
16924 ac_cv_cpp_def___powerpc64__=no
16926 rm -f conftest*
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16930 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16931 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16932 CFLAGS="$CFLAGS -D__powerpc64__"
16933 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16934 fi ;;
16935 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16936 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16937 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16938 $as_echo_n "(cached) " >&6
16939 else
16940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16942 #ifndef __powerpc__
16944 #endif
16945 _ACEOF
16946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16947 $EGREP "yes" >/dev/null 2>&1; then :
16948 ac_cv_cpp_def___powerpc__=yes
16949 else
16950 ac_cv_cpp_def___powerpc__=no
16952 rm -f conftest*
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16956 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16957 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16958 CFLAGS="$CFLAGS -D__powerpc__"
16959 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16960 fi ;;
16961 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16962 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16963 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16964 $as_echo_n "(cached) " >&6
16965 else
16966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16967 /* end confdefs.h. */
16968 #ifndef __aarch64__
16970 #endif
16971 _ACEOF
16972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16973 $EGREP "yes" >/dev/null 2>&1; then :
16974 ac_cv_cpp_def___aarch64__=yes
16975 else
16976 ac_cv_cpp_def___aarch64__=no
16978 rm -f conftest*
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16982 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16983 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16984 CFLAGS="$CFLAGS -D__aarch64__"
16985 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16986 fi ;;
16987 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16988 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16989 if ${ac_cv_cpp_def___arm__+:} false; then :
16990 $as_echo_n "(cached) " >&6
16991 else
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16994 #ifndef __arm__
16996 #endif
16997 _ACEOF
16998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16999 $EGREP "yes" >/dev/null 2>&1; then :
17000 ac_cv_cpp_def___arm__=yes
17001 else
17002 ac_cv_cpp_def___arm__=no
17004 rm -f conftest*
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17008 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17009 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17010 CFLAGS="$CFLAGS -D__arm__"
17011 LINTFLAGS="$LINTFLAGS -D__arm__"
17012 fi ;;
17013 esac
17015 case $host_vendor in
17016 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17017 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17018 if ${ac_cv_cpp_def___sun__+:} false; then :
17019 $as_echo_n "(cached) " >&6
17020 else
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 #ifndef __sun__
17025 #endif
17026 _ACEOF
17027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17028 $EGREP "yes" >/dev/null 2>&1; then :
17029 ac_cv_cpp_def___sun__=yes
17030 else
17031 ac_cv_cpp_def___sun__=no
17033 rm -f conftest*
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17037 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17038 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17039 CFLAGS="$CFLAGS -D__sun__"
17040 LINTFLAGS="$LINTFLAGS -D__sun__"
17041 fi ;;
17042 esac
17048 ac_config_commands="$ac_config_commands include/stamp-h"
17050 $as_echo_n "creating Makefile rules..." >&6
17052 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17053 SOCKET_LIBS = $SOCKET_LIBS
17054 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17055 IOKIT_LIBS = $IOKIT_LIBS
17056 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17057 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17058 CORESERVICES_LIBS = $CORESERVICES_LIBS
17059 APPKIT_LIBS = $APPKIT_LIBS
17060 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17061 SECURITY_LIBS = $SECURITY_LIBS
17062 COREAUDIO_LIBS = $COREAUDIO_LIBS
17063 OPENAL_LIBS = $OPENAL_LIBS
17064 OPENCL_LIBS = $OPENCL_LIBS
17065 QUICKTIME_LIBS = $QUICKTIME_LIBS
17066 CARBON_LIBS = $CARBON_LIBS
17067 PTHREAD_LIBS = $PTHREAD_LIBS
17068 X_CFLAGS = $X_CFLAGS
17069 X_PRE_LIBS = $X_PRE_LIBS
17070 X_LIBS = $X_LIBS
17071 X_EXTRA_LIBS = $X_EXTRA_LIBS
17072 XML2_CFLAGS = $XML2_CFLAGS
17073 XML2_LIBS = $XML2_LIBS
17074 XSLT_CFLAGS = $XSLT_CFLAGS
17075 XSLT_LIBS = $XSLT_LIBS
17076 DBUS_CFLAGS = $DBUS_CFLAGS
17077 DBUS_LIBS = $DBUS_LIBS
17078 HAL_CFLAGS = $HAL_CFLAGS
17079 HAL_LIBS = $HAL_LIBS
17080 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17081 GNUTLS_LIBS = $GNUTLS_LIBS
17082 SANE_CFLAGS = $SANE_CFLAGS
17083 SANE_LIBS = $SANE_LIBS
17084 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17085 GPHOTO2_LIBS = $GPHOTO2_LIBS
17086 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17087 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17088 RESOLV_LIBS = $RESOLV_LIBS
17089 LCMS2_CFLAGS = $LCMS2_CFLAGS
17090 LCMS2_LIBS = $LCMS2_LIBS
17091 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17092 FREETYPE_LIBS = $FREETYPE_LIBS
17093 Z_LIBS = $Z_LIBS
17094 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17095 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17096 GSTREAMER_LIBS = $GSTREAMER_LIBS
17097 ALSA_LIBS = $ALSA_LIBS
17098 OSS4_CFLAGS = $OSS4_CFLAGS
17099 CAPI20_CFLAGS = $CAPI20_CFLAGS
17100 CAPI20_LIBS = $CAPI20_LIBS
17101 CUPS_CFLAGS = $CUPS_CFLAGS
17102 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17103 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17104 JPEG_CFLAGS = $JPEG_CFLAGS
17105 JPEG_LIBS = $JPEG_LIBS
17106 PNG_CFLAGS = $PNG_CFLAGS
17107 PNG_LIBS = $PNG_LIBS
17108 TIFF_CFLAGS = $TIFF_CFLAGS
17109 TIFF_LIBS = $TIFF_LIBS
17110 MPG123_CFLAGS = $MPG123_CFLAGS
17111 MPG123_LIBS = $MPG123_LIBS
17112 KSTAT_LIBS = $KSTAT_LIBS
17113 PROCSTAT_LIBS = $PROCSTAT_LIBS
17114 DL_LIBS = $DL_LIBS
17115 POLL_LIBS = $POLL_LIBS
17116 RT_LIBS = $RT_LIBS
17117 LDAP_LIBS = $LDAP_LIBS
17122 wine_fn_append_rule "
17123 # Rules automatically generated by configure
17125 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17127 .INIT: Makefile
17128 .MAKEFILEDEPS:
17129 all: Makefile
17130 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17131 @./config.status Make.tmp Makefile"
17133 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17134 .gitignore: config.status
17135 @./config.status .gitignore"
17137 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17138 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17140 if test "x$enable_fonts" != xno; then
17141 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17142 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17143 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17144 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17145 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17146 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17148 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17149 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17150 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17151 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17152 ac_config_links="$ac_config_links wine:tools/winewrapper"
17153 wine_fn_config_symlink wine
17154 if test "x$enable_win64" != xno; then
17155 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17156 wine_fn_config_symlink wine64
17159 wine_fn_config_dll acledit enable_acledit
17160 wine_fn_config_dll aclui enable_aclui implib
17161 wine_fn_config_dll activeds enable_activeds implib
17162 wine_fn_config_dll actxprxy enable_actxprxy clean
17163 wine_fn_config_lib adsiid
17164 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17165 wine_fn_config_test dlls/advapi32/tests advapi32_test
17166 wine_fn_config_dll advpack enable_advpack implib
17167 wine_fn_config_test dlls/advpack/tests advpack_test
17168 wine_fn_config_dll amstream enable_amstream clean
17169 wine_fn_config_test dlls/amstream/tests amstream_test
17170 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17171 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17172 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17173 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17174 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17175 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17176 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17177 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17178 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17179 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17180 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17181 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17182 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17183 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17184 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17185 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17186 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17187 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17188 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17189 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17190 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17191 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17192 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17193 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17194 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17195 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17196 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17197 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17198 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17199 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17200 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17201 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17202 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17203 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17204 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17205 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17206 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17207 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17208 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17209 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17210 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17211 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17212 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17213 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17214 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17215 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17216 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17217 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17218 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17219 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17220 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17221 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17222 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17223 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17224 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17225 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17226 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17227 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17228 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17229 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17230 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17231 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17232 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17233 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17234 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17235 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17236 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17237 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17238 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17239 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17240 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17241 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17242 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17243 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17244 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17245 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17246 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17247 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17248 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17249 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17250 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17251 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17252 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17253 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17254 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17255 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17256 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17257 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17258 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17259 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17260 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17261 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17262 wine_fn_config_dll apphelp enable_apphelp
17263 wine_fn_config_test dlls/apphelp/tests apphelp_test
17264 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17265 wine_fn_config_dll atl enable_atl clean,implib
17266 wine_fn_config_test dlls/atl/tests atl_test
17267 wine_fn_config_dll atl100 enable_atl100 clean,implib
17268 wine_fn_config_test dlls/atl100/tests atl100_test
17269 wine_fn_config_dll atl110 enable_atl110 clean
17270 wine_fn_config_dll atl80 enable_atl80 clean,implib
17271 wine_fn_config_test dlls/atl80/tests atl80_test
17272 wine_fn_config_dll atl90 enable_atl90 clean
17273 wine_fn_config_dll authz enable_authz
17274 wine_fn_config_dll avicap32 enable_avicap32 implib
17275 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17276 wine_fn_config_test dlls/avifil32/tests avifil32_test
17277 wine_fn_config_dll avifile.dll16 enable_win16
17278 wine_fn_config_dll avrt enable_avrt implib
17279 wine_fn_config_dll bcrypt enable_bcrypt
17280 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17281 wine_fn_config_dll browseui enable_browseui clean,po
17282 wine_fn_config_test dlls/browseui/tests browseui_test
17283 wine_fn_config_dll cabinet enable_cabinet implib
17284 wine_fn_config_test dlls/cabinet/tests cabinet_test
17285 wine_fn_config_dll capi2032 enable_capi2032 implib
17286 wine_fn_config_dll cards enable_cards implib
17287 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17288 wine_fn_config_dll clusapi enable_clusapi implib
17289 wine_fn_config_dll combase enable_combase
17290 wine_fn_config_test dlls/combase/tests combase_test
17291 wine_fn_config_dll comcat enable_comcat
17292 wine_fn_config_test dlls/comcat/tests comcat_test
17293 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17294 wine_fn_config_test dlls/comctl32/tests comctl32_test
17295 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17296 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17297 wine_fn_config_dll comm.drv16 enable_win16
17298 wine_fn_config_dll commdlg.dll16 enable_win16
17299 wine_fn_config_dll compobj.dll16 enable_win16
17300 wine_fn_config_dll compstui enable_compstui implib
17301 wine_fn_config_dll comsvcs enable_comsvcs implib
17302 wine_fn_config_dll connect enable_connect
17303 wine_fn_config_dll credui enable_credui implib,po
17304 wine_fn_config_test dlls/credui/tests credui_test
17305 wine_fn_config_dll crtdll enable_crtdll implib
17306 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17307 wine_fn_config_test dlls/crypt32/tests crypt32_test
17308 wine_fn_config_dll cryptdlg enable_cryptdlg po
17309 wine_fn_config_dll cryptdll enable_cryptdll implib
17310 wine_fn_config_dll cryptext enable_cryptext
17311 wine_fn_config_dll cryptnet enable_cryptnet implib
17312 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17313 wine_fn_config_dll cryptui enable_cryptui implib,po
17314 wine_fn_config_test dlls/cryptui/tests cryptui_test
17315 wine_fn_config_dll ctapi32 enable_ctapi32
17316 wine_fn_config_dll ctl3d.dll16 enable_win16
17317 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17318 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17319 wine_fn_config_dll d2d1 enable_d2d1 implib
17320 wine_fn_config_test dlls/d2d1/tests d2d1_test
17321 wine_fn_config_dll d3d10 enable_d3d10 implib
17322 wine_fn_config_test dlls/d3d10/tests d3d10_test
17323 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17324 wine_fn_config_dll d3d10core enable_d3d10core implib
17325 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17326 wine_fn_config_dll d3d11 enable_d3d11 implib
17327 wine_fn_config_test dlls/d3d11/tests d3d11_test
17328 wine_fn_config_dll d3d8 enable_d3d8 implib
17329 wine_fn_config_test dlls/d3d8/tests d3d8_test
17330 wine_fn_config_dll d3d9 enable_d3d9 implib
17331 wine_fn_config_test dlls/d3d9/tests d3d9_test
17332 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17333 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17334 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17335 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17336 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17337 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17338 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17339 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17340 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17341 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17342 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17343 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17344 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17345 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17346 wine_fn_config_dll d3dim enable_d3dim implib
17347 wine_fn_config_dll d3drm enable_d3drm implib
17348 wine_fn_config_test dlls/d3drm/tests d3drm_test
17349 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17350 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17351 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17352 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17353 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17354 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17355 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17356 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17357 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17358 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17359 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17360 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17361 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17362 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17363 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17364 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17365 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17366 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17367 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17368 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17369 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17370 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17371 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17372 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17373 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17374 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17375 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17376 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17377 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17378 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17379 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17380 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17381 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17382 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17383 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17384 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17385 wine_fn_config_dll davclnt enable_davclnt
17386 wine_fn_config_dll dbgeng enable_dbgeng implib
17387 wine_fn_config_dll dbghelp enable_dbghelp implib
17388 wine_fn_config_dll dciman32 enable_dciman32 implib
17389 wine_fn_config_dll ddeml.dll16 enable_win16
17390 wine_fn_config_dll ddraw enable_ddraw clean,implib
17391 wine_fn_config_test dlls/ddraw/tests ddraw_test
17392 wine_fn_config_dll ddrawex enable_ddrawex clean
17393 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17394 wine_fn_config_dll devenum enable_devenum clean,po
17395 wine_fn_config_test dlls/devenum/tests devenum_test
17396 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17397 wine_fn_config_dll difxapi enable_difxapi
17398 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17399 wine_fn_config_test dlls/dinput/tests dinput_test
17400 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17401 wine_fn_config_test dlls/dinput8/tests dinput8_test
17402 wine_fn_config_dll dispdib.dll16 enable_win16
17403 wine_fn_config_dll dispex enable_dispex clean
17404 wine_fn_config_test dlls/dispex/tests dispex_test
17405 wine_fn_config_dll display.drv16 enable_win16
17406 wine_fn_config_dll dmband enable_dmband clean
17407 wine_fn_config_test dlls/dmband/tests dmband_test
17408 wine_fn_config_dll dmcompos enable_dmcompos clean
17409 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17410 wine_fn_config_dll dmime enable_dmime clean
17411 wine_fn_config_test dlls/dmime/tests dmime_test
17412 wine_fn_config_dll dmloader enable_dmloader clean
17413 wine_fn_config_test dlls/dmloader/tests dmloader_test
17414 wine_fn_config_dll dmscript enable_dmscript clean
17415 wine_fn_config_test dlls/dmscript/tests dmscript_test
17416 wine_fn_config_dll dmstyle enable_dmstyle clean
17417 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17418 wine_fn_config_dll dmsynth enable_dmsynth clean
17419 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17420 wine_fn_config_dll dmusic enable_dmusic clean
17421 wine_fn_config_test dlls/dmusic/tests dmusic_test
17422 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17423 wine_fn_config_dll dnsapi enable_dnsapi implib
17424 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17425 wine_fn_config_dll dplay enable_dplay implib
17426 wine_fn_config_dll dplayx enable_dplayx clean,implib
17427 wine_fn_config_test dlls/dplayx/tests dplayx_test
17428 wine_fn_config_dll dpnaddr enable_dpnaddr
17429 wine_fn_config_dll dpnet enable_dpnet clean,implib
17430 wine_fn_config_test dlls/dpnet/tests dpnet_test
17431 wine_fn_config_dll dpnhpast enable_dpnhpast
17432 wine_fn_config_dll dpnlobby enable_dpnlobby
17433 wine_fn_config_dll dpvoice enable_dpvoice clean
17434 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17435 wine_fn_config_dll dpwsockx enable_dpwsockx
17436 wine_fn_config_dll drmclien enable_drmclien
17437 wine_fn_config_dll dsound enable_dsound clean,implib
17438 wine_fn_config_test dlls/dsound/tests dsound_test
17439 wine_fn_config_dll dssenh enable_dssenh
17440 wine_fn_config_test dlls/dssenh/tests dssenh_test
17441 wine_fn_config_dll dswave enable_dswave clean
17442 wine_fn_config_test dlls/dswave/tests dswave_test
17443 wine_fn_config_dll dwmapi enable_dwmapi implib
17444 wine_fn_config_dll dwrite enable_dwrite implib
17445 wine_fn_config_test dlls/dwrite/tests dwrite_test
17446 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17447 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17448 wine_fn_config_lib dxerr8
17449 wine_fn_config_lib dxerr9
17450 wine_fn_config_dll dxgi enable_dxgi implib
17451 wine_fn_config_test dlls/dxgi/tests dxgi_test
17452 wine_fn_config_lib dxguid
17453 wine_fn_config_dll dxva2 enable_dxva2
17454 wine_fn_config_dll esent enable_esent
17455 wine_fn_config_dll evr enable_evr
17456 wine_fn_config_dll explorerframe enable_explorerframe clean
17457 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17458 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17459 wine_fn_config_dll faultrep enable_faultrep implib
17460 wine_fn_config_test dlls/faultrep/tests faultrep_test
17461 wine_fn_config_dll fltlib enable_fltlib
17462 wine_fn_config_dll fntcache enable_fntcache
17463 wine_fn_config_dll fontsub enable_fontsub
17464 wine_fn_config_dll fusion enable_fusion
17465 wine_fn_config_test dlls/fusion/tests fusion_test
17466 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17467 wine_fn_config_dll gameux enable_gameux clean
17468 wine_fn_config_test dlls/gameux/tests gameux_test
17469 wine_fn_config_dll gdi.exe16 enable_win16
17470 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17471 wine_fn_config_test dlls/gdi32/tests gdi32_test
17472 wine_fn_config_dll gdiplus enable_gdiplus implib
17473 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17474 wine_fn_config_dll glu32 enable_glu32 implib
17475 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17476 wine_fn_config_dll gpkcsp enable_gpkcsp
17477 wine_fn_config_dll hal enable_hal
17478 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17479 wine_fn_config_dll hid enable_hid implib
17480 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17481 wine_fn_config_dll hlink enable_hlink clean,implib
17482 wine_fn_config_test dlls/hlink/tests hlink_test
17483 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17484 wine_fn_config_dll httpapi enable_httpapi
17485 wine_fn_config_dll iccvid enable_iccvid po
17486 wine_fn_config_dll icmp enable_icmp
17487 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17488 wine_fn_config_test dlls/ieframe/tests ieframe_test
17489 wine_fn_config_dll ifsmgr.vxd enable_win16
17490 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17491 wine_fn_config_dll imagehlp enable_imagehlp implib
17492 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17493 wine_fn_config_dll imm.dll16 enable_win16
17494 wine_fn_config_dll imm32 enable_imm32 implib
17495 wine_fn_config_test dlls/imm32/tests imm32_test
17496 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17497 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17498 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17499 wine_fn_config_dll inetmib1 enable_inetmib1
17500 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17501 wine_fn_config_dll infosoft enable_infosoft clean
17502 wine_fn_config_test dlls/infosoft/tests infosoft_test
17503 wine_fn_config_dll initpki enable_initpki
17504 wine_fn_config_dll inkobj enable_inkobj
17505 wine_fn_config_dll inseng enable_inseng clean
17506 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17507 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17508 wine_fn_config_dll itircl enable_itircl
17509 wine_fn_config_dll itss enable_itss clean
17510 wine_fn_config_test dlls/itss/tests itss_test
17511 wine_fn_config_dll joy.cpl enable_joy_cpl po
17512 wine_fn_config_dll jscript enable_jscript clean,po
17513 wine_fn_config_test dlls/jscript/tests jscript_test
17514 wine_fn_config_dll jsproxy enable_jsproxy implib
17515 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17516 wine_fn_config_test dlls/kernel32/tests kernel32_test
17517 wine_fn_config_dll keyboard.drv16 enable_win16
17518 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17519 wine_fn_config_dll ksuser enable_ksuser
17520 wine_fn_config_dll ktmw32 enable_ktmw32
17521 wine_fn_config_dll loadperf enable_loadperf implib
17522 wine_fn_config_dll localspl enable_localspl po
17523 wine_fn_config_test dlls/localspl/tests localspl_test
17524 wine_fn_config_dll localui enable_localui po
17525 wine_fn_config_test dlls/localui/tests localui_test
17526 wine_fn_config_dll lz32 enable_lz32 implib
17527 wine_fn_config_test dlls/lz32/tests lz32_test
17528 wine_fn_config_dll lzexpand.dll16 enable_win16
17529 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17530 wine_fn_config_test dlls/mapi32/tests mapi32_test
17531 wine_fn_config_dll mapistub enable_mapistub
17532 wine_fn_config_dll mciavi32 enable_mciavi32
17533 wine_fn_config_dll mcicda enable_mcicda
17534 wine_fn_config_dll mciqtz32 enable_mciqtz32
17535 wine_fn_config_dll mciseq enable_mciseq
17536 wine_fn_config_dll mciwave enable_mciwave
17537 wine_fn_config_dll mf enable_mf
17538 wine_fn_config_dll mfplat enable_mfplat
17539 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17540 wine_fn_config_dll mgmtapi enable_mgmtapi
17541 wine_fn_config_dll midimap enable_midimap
17542 wine_fn_config_dll mlang enable_mlang clean,implib
17543 wine_fn_config_test dlls/mlang/tests mlang_test
17544 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17545 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17546 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17547 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17548 wine_fn_config_dll mmdevldr.vxd enable_win16
17549 wine_fn_config_dll mmsystem.dll16 enable_win16
17550 wine_fn_config_dll monodebg.vxd enable_win16
17551 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17552 wine_fn_config_dll mouse.drv16 enable_win16
17553 wine_fn_config_dll mpr enable_mpr implib,po
17554 wine_fn_config_test dlls/mpr/tests mpr_test
17555 wine_fn_config_dll mprapi enable_mprapi implib
17556 wine_fn_config_dll msacm.dll16 enable_win16
17557 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17558 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17559 wine_fn_config_test dlls/msacm32/tests msacm32_test
17560 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17561 wine_fn_config_dll msasn1 enable_msasn1 implib
17562 wine_fn_config_dll mscat32 enable_mscat32
17563 wine_fn_config_dll mscms enable_mscms implib
17564 wine_fn_config_test dlls/mscms/tests mscms_test
17565 wine_fn_config_dll mscoree enable_mscoree clean
17566 wine_fn_config_test dlls/mscoree/tests mscoree_test
17567 wine_fn_config_dll msctf enable_msctf clean
17568 wine_fn_config_test dlls/msctf/tests msctf_test
17569 wine_fn_config_dll msctfp enable_msctfp clean
17570 wine_fn_config_dll msdaps enable_msdaps clean
17571 wine_fn_config_dll msdelta enable_msdelta
17572 wine_fn_config_dll msdmo enable_msdmo implib
17573 wine_fn_config_test dlls/msdmo/tests msdmo_test
17574 wine_fn_config_dll msftedit enable_msftedit
17575 wine_fn_config_dll msg711.acm enable_msg711_acm
17576 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17577 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17578 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17579 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17580 wine_fn_config_dll msi enable_msi clean,implib,po
17581 wine_fn_config_test dlls/msi/tests msi_test
17582 wine_fn_config_dll msident enable_msident clean
17583 wine_fn_config_dll msimg32 enable_msimg32 implib
17584 wine_fn_config_dll msimsg enable_msimsg
17585 wine_fn_config_dll msimtf enable_msimtf clean
17586 wine_fn_config_dll msisip enable_msisip
17587 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17588 wine_fn_config_dll msls31 enable_msls31
17589 wine_fn_config_dll msnet32 enable_msnet32
17590 wine_fn_config_dll mspatcha enable_mspatcha implib
17591 wine_fn_config_dll msrle32 enable_msrle32 po
17592 wine_fn_config_test dlls/msrle32/tests msrle32_test
17593 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17594 wine_fn_config_dll mssign32 enable_mssign32
17595 wine_fn_config_dll mssip32 enable_mssip32
17596 wine_fn_config_dll mstask enable_mstask clean
17597 wine_fn_config_test dlls/mstask/tests mstask_test
17598 wine_fn_config_dll msvcirt enable_msvcirt
17599 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17600 wine_fn_config_dll msvcm80 enable_msvcm80
17601 wine_fn_config_dll msvcm90 enable_msvcm90
17602 wine_fn_config_dll msvcp100 enable_msvcp100
17603 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17604 wine_fn_config_dll msvcp110 enable_msvcp110
17605 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17606 wine_fn_config_dll msvcp120 enable_msvcp120
17607 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17608 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17609 wine_fn_config_dll msvcp60 enable_msvcp60
17610 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17611 wine_fn_config_dll msvcp70 enable_msvcp70
17612 wine_fn_config_dll msvcp71 enable_msvcp71
17613 wine_fn_config_dll msvcp80 enable_msvcp80
17614 wine_fn_config_dll msvcp90 enable_msvcp90
17615 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17616 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17617 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17618 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17619 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17620 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17621 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17622 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17623 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17624 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17625 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17626 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17627 wine_fn_config_dll msvcrt enable_msvcrt implib
17628 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17629 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17630 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17631 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17632 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17633 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17634 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17635 wine_fn_config_dll msvidc32 enable_msvidc32 po
17636 wine_fn_config_dll msvideo.dll16 enable_win16
17637 wine_fn_config_dll mswsock enable_mswsock implib
17638 wine_fn_config_dll msxml enable_msxml clean
17639 wine_fn_config_dll msxml2 enable_msxml2 clean
17640 wine_fn_config_dll msxml3 enable_msxml3 clean
17641 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17642 wine_fn_config_dll msxml4 enable_msxml4 clean
17643 wine_fn_config_dll msxml6 enable_msxml6 clean
17644 wine_fn_config_dll nddeapi enable_nddeapi implib
17645 wine_fn_config_dll ndis.sys enable_ndis_sys
17646 wine_fn_config_dll netapi32 enable_netapi32 implib
17647 wine_fn_config_test dlls/netapi32/tests netapi32_test
17648 wine_fn_config_dll netcfgx enable_netcfgx clean
17649 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17650 wine_fn_config_dll netprofm enable_netprofm clean
17651 wine_fn_config_test dlls/netprofm/tests netprofm_test
17652 wine_fn_config_dll newdev enable_newdev implib
17653 wine_fn_config_dll normaliz enable_normaliz implib
17654 wine_fn_config_dll npmshtml enable_npmshtml
17655 wine_fn_config_dll npptools enable_npptools
17656 wine_fn_config_dll ntdll enable_ntdll implib
17657 wine_fn_config_test dlls/ntdll/tests ntdll_test
17658 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17659 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17660 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17661 wine_fn_config_dll ntprint enable_ntprint
17662 wine_fn_config_test dlls/ntprint/tests ntprint_test
17663 wine_fn_config_dll objsel enable_objsel clean
17664 wine_fn_config_dll odbc32 enable_odbc32 implib
17665 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17666 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17667 wine_fn_config_dll odbccu32 enable_odbccu32
17668 wine_fn_config_dll ole2.dll16 enable_win16
17669 wine_fn_config_dll ole2conv.dll16 enable_win16
17670 wine_fn_config_dll ole2disp.dll16 enable_win16
17671 wine_fn_config_dll ole2nls.dll16 enable_win16
17672 wine_fn_config_dll ole2prox.dll16 enable_win16
17673 wine_fn_config_dll ole2thk.dll16 enable_win16
17674 wine_fn_config_dll ole32 enable_ole32 clean,implib
17675 wine_fn_config_test dlls/ole32/tests ole32_test
17676 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17677 wine_fn_config_test dlls/oleacc/tests oleacc_test
17678 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17679 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17680 wine_fn_config_dll olecli.dll16 enable_win16
17681 wine_fn_config_dll olecli32 enable_olecli32 implib
17682 wine_fn_config_dll oledb32 enable_oledb32 clean
17683 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17684 wine_fn_config_dll oledlg enable_oledlg implib,po
17685 wine_fn_config_test dlls/oledlg/tests oledlg_test
17686 wine_fn_config_dll olepro32 enable_olepro32 implib
17687 wine_fn_config_dll olesvr.dll16 enable_win16
17688 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17689 wine_fn_config_dll olethk32 enable_olethk32
17690 wine_fn_config_dll openal32 enable_openal32
17691 wine_fn_config_dll opencl enable_opencl
17692 wine_fn_config_dll opengl32 enable_opengl32 implib
17693 wine_fn_config_test dlls/opengl32/tests opengl32_test
17694 wine_fn_config_dll packager enable_packager clean
17695 wine_fn_config_test dlls/packager/tests packager_test
17696 wine_fn_config_dll pdh enable_pdh implib
17697 wine_fn_config_test dlls/pdh/tests pdh_test
17698 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17699 wine_fn_config_dll pidgen enable_pidgen
17700 wine_fn_config_dll powrprof enable_powrprof implib
17701 wine_fn_config_dll printui enable_printui
17702 wine_fn_config_dll prntvpt enable_prntvpt
17703 wine_fn_config_dll propsys enable_propsys clean,implib
17704 wine_fn_config_test dlls/propsys/tests propsys_test
17705 wine_fn_config_dll psapi enable_psapi implib
17706 wine_fn_config_test dlls/psapi/tests psapi_test
17707 wine_fn_config_dll pstorec enable_pstorec clean
17708 wine_fn_config_dll qcap enable_qcap
17709 wine_fn_config_test dlls/qcap/tests qcap_test
17710 wine_fn_config_dll qedit enable_qedit clean
17711 wine_fn_config_test dlls/qedit/tests qedit_test
17712 wine_fn_config_dll qmgr enable_qmgr clean
17713 wine_fn_config_test dlls/qmgr/tests qmgr_test
17714 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17715 wine_fn_config_dll quartz enable_quartz clean,implib
17716 wine_fn_config_test dlls/quartz/tests quartz_test clean
17717 wine_fn_config_dll query enable_query
17718 wine_fn_config_dll rasapi16.dll16 enable_win16
17719 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17720 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17721 wine_fn_config_dll rasdlg enable_rasdlg implib
17722 wine_fn_config_dll regapi enable_regapi
17723 wine_fn_config_dll resutils enable_resutils implib
17724 wine_fn_config_dll riched20 enable_riched20 clean,implib
17725 wine_fn_config_test dlls/riched20/tests riched20_test
17726 wine_fn_config_dll riched32 enable_riched32
17727 wine_fn_config_test dlls/riched32/tests riched32_test
17728 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17729 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17730 wine_fn_config_dll rsabase enable_rsabase
17731 wine_fn_config_dll rsaenh enable_rsaenh implib
17732 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17733 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17734 wine_fn_config_dll rtutils enable_rtutils implib
17735 wine_fn_config_dll samlib enable_samlib
17736 wine_fn_config_dll sane.ds enable_sane_ds po
17737 wine_fn_config_dll scarddlg enable_scarddlg
17738 wine_fn_config_dll sccbase enable_sccbase
17739 wine_fn_config_dll schannel enable_schannel
17740 wine_fn_config_test dlls/schannel/tests schannel_test
17741 wine_fn_config_dll schedsvc enable_schedsvc clean
17742 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17743 wine_fn_config_dll scrrun enable_scrrun clean
17744 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17745 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17746 wine_fn_config_dll secur32 enable_secur32 implib
17747 wine_fn_config_test dlls/secur32/tests secur32_test
17748 wine_fn_config_dll security enable_security
17749 wine_fn_config_dll sensapi enable_sensapi implib
17750 wine_fn_config_dll serialui enable_serialui implib,po
17751 wine_fn_config_test dlls/serialui/tests serialui_test
17752 wine_fn_config_dll setupapi enable_setupapi implib,po
17753 wine_fn_config_test dlls/setupapi/tests setupapi_test
17754 wine_fn_config_dll setupx.dll16 enable_win16
17755 wine_fn_config_dll sfc enable_sfc implib
17756 wine_fn_config_dll sfc_os enable_sfc_os implib
17757 wine_fn_config_dll shdoclc enable_shdoclc po
17758 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17759 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17760 wine_fn_config_dll shell.dll16 enable_win16
17761 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17762 wine_fn_config_test dlls/shell32/tests shell32_test
17763 wine_fn_config_dll shfolder enable_shfolder implib
17764 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17765 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17766 wine_fn_config_dll slbcsp enable_slbcsp
17767 wine_fn_config_dll slc enable_slc implib
17768 wine_fn_config_test dlls/slc/tests slc_test
17769 wine_fn_config_dll snmpapi enable_snmpapi implib
17770 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17771 wine_fn_config_dll softpub enable_softpub
17772 wine_fn_config_dll sound.drv16 enable_win16
17773 wine_fn_config_dll spoolss enable_spoolss implib
17774 wine_fn_config_test dlls/spoolss/tests spoolss_test
17775 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17776 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17777 wine_fn_config_dll sti enable_sti clean,implib
17778 wine_fn_config_test dlls/sti/tests sti_test
17779 wine_fn_config_dll storage.dll16 enable_win16
17780 wine_fn_config_dll stress.dll16 enable_win16
17781 wine_fn_config_lib strmbase
17782 wine_fn_config_lib strmiids
17783 wine_fn_config_dll svrapi enable_svrapi
17784 wine_fn_config_dll sxs enable_sxs implib
17785 wine_fn_config_test dlls/sxs/tests sxs_test
17786 wine_fn_config_dll system.drv16 enable_win16
17787 wine_fn_config_dll t2embed enable_t2embed
17788 wine_fn_config_dll tapi32 enable_tapi32 implib
17789 wine_fn_config_dll taskschd enable_taskschd clean
17790 wine_fn_config_test dlls/taskschd/tests taskschd_test
17791 wine_fn_config_dll toolhelp.dll16 enable_win16
17792 wine_fn_config_dll traffic enable_traffic
17793 wine_fn_config_dll twain.dll16 enable_win16
17794 wine_fn_config_dll twain_32 enable_twain_32
17795 wine_fn_config_test dlls/twain_32/tests twain_32_test
17796 wine_fn_config_dll typelib.dll16 enable_win16
17797 wine_fn_config_dll ucrtbase enable_ucrtbase
17798 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17799 wine_fn_config_dll unicows enable_unicows implib
17800 wine_fn_config_dll updspapi enable_updspapi
17801 wine_fn_config_dll url enable_url implib
17802 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17803 wine_fn_config_test dlls/urlmon/tests urlmon_test
17804 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17805 wine_fn_config_dll user.exe16 enable_win16
17806 wine_fn_config_dll user32 enable_user32 clean,implib,po
17807 wine_fn_config_test dlls/user32/tests user32_test
17808 wine_fn_config_dll userenv enable_userenv implib
17809 wine_fn_config_test dlls/userenv/tests userenv_test
17810 wine_fn_config_dll usp10 enable_usp10 implib
17811 wine_fn_config_test dlls/usp10/tests usp10_test
17812 wine_fn_config_lib uuid
17813 wine_fn_config_dll uxtheme enable_uxtheme implib
17814 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17815 wine_fn_config_dll vbscript enable_vbscript clean
17816 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17817 wine_fn_config_dll vcomp enable_vcomp
17818 wine_fn_config_test dlls/vcomp/tests vcomp_test
17819 wine_fn_config_dll vcomp100 enable_vcomp100
17820 wine_fn_config_dll vcomp110 enable_vcomp110
17821 wine_fn_config_dll vcomp90 enable_vcomp90
17822 wine_fn_config_dll vdhcp.vxd enable_win16
17823 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17824 wine_fn_config_dll ver.dll16 enable_win16
17825 wine_fn_config_dll version enable_version implib
17826 wine_fn_config_test dlls/version/tests version_test
17827 wine_fn_config_dll vmm.vxd enable_win16
17828 wine_fn_config_dll vnbt.vxd enable_win16
17829 wine_fn_config_dll vnetbios.vxd enable_win16
17830 wine_fn_config_dll vssapi enable_vssapi
17831 wine_fn_config_dll vtdapi.vxd enable_win16
17832 wine_fn_config_dll vwin32.vxd enable_win16
17833 wine_fn_config_dll w32skrnl enable_win16
17834 wine_fn_config_dll w32sys.dll16 enable_win16
17835 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17836 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17837 wine_fn_config_dll wbemprox enable_wbemprox clean
17838 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17839 wine_fn_config_dll webservices enable_webservices implib
17840 wine_fn_config_test dlls/webservices/tests webservices_test
17841 wine_fn_config_dll wer enable_wer implib
17842 wine_fn_config_test dlls/wer/tests wer_test
17843 wine_fn_config_dll wevtapi enable_wevtapi
17844 wine_fn_config_dll wiaservc enable_wiaservc clean
17845 wine_fn_config_dll win32s16.dll16 enable_win16
17846 wine_fn_config_dll win87em.dll16 enable_win16
17847 wine_fn_config_dll winaspi.dll16 enable_win16
17848 wine_fn_config_dll windebug.dll16 enable_win16
17849 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17850 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17851 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17852 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17853 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17854 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17855 wine_fn_config_lib winecrt0
17856 wine_fn_config_dll wined3d enable_wined3d implib
17857 wine_fn_config_dll winegstreamer enable_winegstreamer
17858 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17859 wine_fn_config_dll winemac.drv enable_winemac_drv
17860 wine_fn_config_dll winemapi enable_winemapi
17861 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17862 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17863 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17864 wine_fn_config_dll wineps16.drv16 enable_win16
17865 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17866 wine_fn_config_dll winex11.drv enable_winex11_drv
17867 wine_fn_config_dll wing.dll16 enable_win16
17868 wine_fn_config_dll wing32 enable_wing32
17869 wine_fn_config_dll winhttp enable_winhttp clean,implib
17870 wine_fn_config_test dlls/winhttp/tests winhttp_test
17871 wine_fn_config_dll wininet enable_wininet implib,po
17872 wine_fn_config_test dlls/wininet/tests wininet_test
17873 wine_fn_config_dll winmm enable_winmm implib,po
17874 wine_fn_config_test dlls/winmm/tests winmm_test
17875 wine_fn_config_dll winnls.dll16 enable_win16
17876 wine_fn_config_dll winnls32 enable_winnls32 implib
17877 wine_fn_config_dll winscard enable_winscard implib
17878 wine_fn_config_dll winsock.dll16 enable_win16
17879 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17880 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17881 wine_fn_config_dll winsta enable_winsta
17882 wine_fn_config_dll wintab.dll16 enable_win16
17883 wine_fn_config_dll wintab32 enable_wintab32 implib
17884 wine_fn_config_test dlls/wintab32/tests wintab32_test
17885 wine_fn_config_dll wintrust enable_wintrust implib
17886 wine_fn_config_test dlls/wintrust/tests wintrust_test
17887 wine_fn_config_dll wlanapi enable_wlanapi
17888 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17889 wine_fn_config_test dlls/wldap32/tests wldap32_test
17890 wine_fn_config_dll wmi enable_wmi
17891 wine_fn_config_dll wmiutils enable_wmiutils clean
17892 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17893 wine_fn_config_dll wmp enable_wmp clean
17894 wine_fn_config_test dlls/wmp/tests wmp_test
17895 wine_fn_config_dll wmvcore enable_wmvcore
17896 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17897 wine_fn_config_dll wow32 enable_win16 implib
17898 wine_fn_config_dll wpcap enable_wpcap
17899 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17900 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17901 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17902 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17903 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17904 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17905 wine_fn_config_dll wsock32 enable_wsock32 implib
17906 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17907 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17908 wine_fn_config_dll wuapi enable_wuapi clean
17909 wine_fn_config_dll wuaueng enable_wuaueng
17910 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17911 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17912 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17913 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17914 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17915 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17916 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17917 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17918 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
17919 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17920 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17921 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17922 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
17923 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
17924 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
17925 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
17926 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
17927 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
17928 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17929 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
17930 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17931 wine_fn_config_dll xinput1_1 enable_xinput1_1
17932 wine_fn_config_dll xinput1_2 enable_xinput1_2
17933 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17934 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17935 wine_fn_config_dll xinput1_4 enable_xinput1_4
17936 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17937 wine_fn_config_dll xmllite enable_xmllite implib
17938 wine_fn_config_test dlls/xmllite/tests xmllite_test
17939 wine_fn_config_dll xolehlp enable_xolehlp
17940 wine_fn_config_dll xpsprint enable_xpsprint
17941 wine_fn_config_dll xpssvcs enable_xpssvcs
17942 wine_fn_config_makefile documentation enable_documentation clean
17943 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17944 wine_fn_config_makefile include enable_include clean,install-dev
17945 wine_fn_config_makefile libs/port enable_libs_port
17946 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17947 wine_fn_config_makefile libs/wpp enable_libs_wpp
17948 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17949 wine_fn_config_program arp enable_arp install
17950 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17951 wine_fn_config_program attrib enable_attrib install,po
17952 wine_fn_config_program cabarc enable_cabarc install
17953 wine_fn_config_program cacls enable_cacls install
17954 wine_fn_config_program clock enable_clock install,po
17955 wine_fn_config_program cmd enable_cmd install,po
17956 wine_fn_config_test programs/cmd/tests cmd.exe_test
17957 wine_fn_config_program conhost enable_conhost install
17958 wine_fn_config_program control enable_control install
17959 wine_fn_config_program cscript enable_cscript clean,install
17960 wine_fn_config_program dpnsvr enable_dpnsvr install
17961 wine_fn_config_program dxdiag enable_dxdiag install,po
17962 wine_fn_config_program eject enable_eject install
17963 wine_fn_config_program expand enable_expand install
17964 wine_fn_config_program explorer enable_explorer install,po
17965 wine_fn_config_program extrac32 enable_extrac32 install
17966 wine_fn_config_program findstr enable_findstr install
17967 wine_fn_config_program hh enable_hh install
17968 wine_fn_config_program hostname enable_hostname install,po
17969 wine_fn_config_program icinfo enable_icinfo install
17970 wine_fn_config_program iexplore enable_iexplore install
17971 wine_fn_config_program ipconfig enable_ipconfig install,po
17972 wine_fn_config_program lodctr enable_lodctr install
17973 wine_fn_config_program mofcomp enable_mofcomp install
17974 wine_fn_config_program mshta enable_mshta install
17975 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17976 wine_fn_config_program net enable_net install,po
17977 wine_fn_config_program netsh enable_netsh install
17978 wine_fn_config_program netstat enable_netstat install,po
17979 wine_fn_config_program ngen enable_ngen install
17980 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17981 wine_fn_config_program oleview enable_oleview install,po
17982 wine_fn_config_program ping enable_ping install
17983 wine_fn_config_program plugplay enable_plugplay install
17984 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17985 wine_fn_config_program progman enable_progman install,po
17986 wine_fn_config_program reg enable_reg install,po
17987 wine_fn_config_test programs/reg/tests reg.exe_test
17988 wine_fn_config_program regasm enable_regasm install
17989 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17990 wine_fn_config_test programs/regedit/tests regedit.exe_test
17991 wine_fn_config_program regsvcs enable_regsvcs install
17992 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17993 wine_fn_config_program rpcss enable_rpcss clean,install
17994 wine_fn_config_program rundll.exe16 enable_win16 install
17995 wine_fn_config_program rundll32 enable_rundll32 install
17996 wine_fn_config_program sc enable_sc install
17997 wine_fn_config_program schtasks enable_schtasks install
17998 wine_fn_config_program sdbinst enable_sdbinst install
17999 wine_fn_config_program secedit enable_secedit install
18000 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18001 wine_fn_config_program services enable_services clean,install
18002 wine_fn_config_test programs/services/tests services.exe_test
18003 wine_fn_config_program spoolsv enable_spoolsv install
18004 wine_fn_config_program start enable_start install,po
18005 wine_fn_config_program svchost enable_svchost install
18006 wine_fn_config_program systeminfo enable_systeminfo install
18007 wine_fn_config_program taskkill enable_taskkill install,po
18008 wine_fn_config_program tasklist enable_tasklist install
18009 wine_fn_config_program taskmgr enable_taskmgr install,po
18010 wine_fn_config_program termsv enable_termsv install
18011 wine_fn_config_program uninstaller enable_uninstaller install,po
18012 wine_fn_config_program unlodctr enable_unlodctr install
18013 wine_fn_config_program view enable_view install,po
18014 wine_fn_config_program wevtutil enable_wevtutil install
18015 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18016 wine_fn_config_program winebrowser enable_winebrowser install
18017 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18018 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18019 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18020 wine_fn_config_program winedevice enable_winedevice install
18021 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18022 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18023 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18024 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18025 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18026 wine_fn_config_program winetest enable_winetest clean
18027 wine_fn_config_program winevdm enable_win16 install
18028 wine_fn_config_program winhelp.exe16 enable_win16 install
18029 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18030 wine_fn_config_program winoldap.mod16 enable_win16 install
18031 wine_fn_config_program winver enable_winver install
18032 wine_fn_config_program wmic enable_wmic install,po
18033 wine_fn_config_program wordpad enable_wordpad install,po
18034 wine_fn_config_program write enable_write install,po
18035 wine_fn_config_program wscript enable_wscript clean,install
18036 wine_fn_config_test programs/wscript/tests wscript.exe_test
18037 wine_fn_config_program wusa enable_wusa install
18038 wine_fn_config_program xcopy enable_xcopy install,po
18039 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18040 wine_fn_config_makefile server enable_server clean,install-lib,manpage
18041 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
18042 wine_fn_config_tool tools/sfnt2fon clean
18043 wine_fn_config_tool tools/widl clean,install-dev,manpage
18044 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
18045 wine_fn_config_tool tools/winedump clean,install-dev,manpage
18046 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
18047 wine_fn_config_tool tools/wmc clean,install-dev,manpage
18048 wine_fn_config_tool tools/wrc clean,install-dev,manpage
18050 LINGUAS="\
18051 ar \
18052 bg \
18053 ca \
18054 cs \
18055 da \
18056 de \
18057 el \
18058 en \
18059 en_US \
18060 eo \
18061 es \
18062 fa \
18063 fi \
18064 fr \
18065 he \
18066 hi \
18067 hr \
18068 hu \
18069 it \
18070 ja \
18071 ko \
18072 lt \
18073 ml \
18074 nb_NO \
18075 nl \
18076 or \
18077 pa \
18078 pl \
18079 pt_BR \
18080 pt_PT \
18081 rm \
18082 ro \
18083 ru \
18084 sk \
18085 sl \
18086 sr_RS@cyrillic \
18087 sr_RS@latin \
18088 sv \
18089 te \
18090 th \
18091 tr \
18092 uk \
18093 wa \
18094 zh_CN \
18095 zh_TW"
18100 wine_fn_ignore_file ".gitignore"
18101 wine_fn_ignore_file "Makefile"
18102 wine_fn_ignore_file "TAGS"
18103 wine_fn_ignore_file "tags"
18104 wine_fn_ignore_file "autom4te.cache"
18105 wine_fn_ignore_file "config.cache"
18106 wine_fn_ignore_file "config.log"
18107 wine_fn_ignore_file "config.status"
18108 wine_fn_ignore_file "configure.lineno"
18109 wine_fn_ignore_file "include/config.h"
18110 wine_fn_ignore_file "include/stamp-h"
18111 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18113 if test "x$enable_tools" != xno
18114 then
18115 wine_fn_ignore_file "tools/makedep$ac_exeext"
18116 ac_config_commands="$ac_config_commands tools/makedep"
18120 ac_config_commands="$ac_config_commands Makefile"
18123 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18127 if test "x$enable_maintainer_mode" = xyes
18128 then
18129 wine_fn_append_rule "configure: configure.ac aclocal.m4
18130 autoconf --warnings=all
18131 include/config.h.in: include/stamp-h.in
18132 include/stamp-h.in: configure.ac aclocal.m4
18133 autoheader --warnings=all
18134 @echo timestamp > \$@"
18137 if test "x$with_gettextpo" = xyes
18138 then
18139 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18140 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18141 \$(LINGUAS:%=po/%.po): po/wine.pot
18142 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18143 po/wine.pot: \$(ALL_POT_FILES)
18144 msgcat -o \$@ \$(ALL_POT_FILES)"
18147 if test "$MSGFMT" != false
18148 then
18149 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18150 clean::
18151 \$(RM) \$(LINGUAS:%=po/%.mo)"
18153 posrc="po"
18154 test "$srcdir" = . || posrc="$srcdir/po"
18155 for i in $LINGUAS
18157 wine_fn_ignore_file "po/$i.mo"
18158 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18159 \$(MSGFMT) -o \$@ $posrc/$i.po"
18160 done
18161 else
18162 LINGUAS=
18165 if test "x$enable_tools" != xno
18166 then
18167 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18168 @./config.status tools/makedep
18169 Makefile: tools/makedep$ac_exeext
18170 distclean:: clean
18171 \$(RM) tools/makedep$ac_exeext"
18172 else
18173 wine_fn_append_rule "\$(MAKEDEP):
18174 @echo \"You need to run make in $TOOLSDIR first\" && false"
18177 if test -n "$with_wine64"
18178 then
18179 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18180 fonts server tools:
18181 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18182 $with_wine64/loader/wine:
18183 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18184 $with_wine64/loader/wine-preloader:
18185 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18186 clean::
18187 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18188 else
18189 as_fn_append LOADER_RULES "
18190 install install-lib:: wine.inf install-man-pages
18191 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18192 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18194 uninstall::
18195 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18199 if test "$srcdir" = .
18200 then
18201 ac_config_commands="$ac_config_commands .gitignore"
18205 $as_echo " done" >&6
18206 cat >confcache <<\_ACEOF
18207 # This file is a shell script that caches the results of configure
18208 # tests run on this system so they can be shared between configure
18209 # scripts and configure runs, see configure's option --config-cache.
18210 # It is not useful on other systems. If it contains results you don't
18211 # want to keep, you may remove or edit it.
18213 # config.status only pays attention to the cache file if you give it
18214 # the --recheck option to rerun configure.
18216 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18217 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18218 # following values.
18220 _ACEOF
18222 # The following way of writing the cache mishandles newlines in values,
18223 # but we know of no workaround that is simple, portable, and efficient.
18224 # So, we kill variables containing newlines.
18225 # Ultrix sh set writes to stderr and can't be redirected directly,
18226 # and sets the high bit in the cache file unless we assign to the vars.
18228 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18229 eval ac_val=\$$ac_var
18230 case $ac_val in #(
18231 *${as_nl}*)
18232 case $ac_var in #(
18233 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18234 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18235 esac
18236 case $ac_var in #(
18237 _ | IFS | as_nl) ;; #(
18238 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18239 *) { eval $ac_var=; unset $ac_var;} ;;
18240 esac ;;
18241 esac
18242 done
18244 (set) 2>&1 |
18245 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18246 *${as_nl}ac_space=\ *)
18247 # `set' does not quote correctly, so add quotes: double-quote
18248 # substitution turns \\\\ into \\, and sed turns \\ into \.
18249 sed -n \
18250 "s/'/'\\\\''/g;
18251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18252 ;; #(
18254 # `set' quotes correctly as required by POSIX, so do not add quotes.
18255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18257 esac |
18258 sort
18260 sed '
18261 /^ac_cv_env_/b end
18262 t clear
18263 :clear
18264 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18265 t end
18266 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18267 :end' >>confcache
18268 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18269 if test -w "$cache_file"; then
18270 if test "x$cache_file" != "x/dev/null"; then
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18272 $as_echo "$as_me: updating cache $cache_file" >&6;}
18273 if test ! -f "$cache_file" || test -h "$cache_file"; then
18274 cat confcache >"$cache_file"
18275 else
18276 case $cache_file in #(
18277 */* | ?:*)
18278 mv -f confcache "$cache_file"$$ &&
18279 mv -f "$cache_file"$$ "$cache_file" ;; #(
18281 mv -f confcache "$cache_file" ;;
18282 esac
18285 else
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18287 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18290 rm -f confcache
18292 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18293 # Let make expand exec_prefix.
18294 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18296 DEFS=-DHAVE_CONFIG_H
18298 ac_libobjs=
18299 ac_ltlibobjs=
18301 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18302 # 1. Remove the extension, and $U if already installed.
18303 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18304 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18305 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18306 # will be set to the directory where LIBOBJS objects are built.
18307 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18308 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18309 done
18310 LIBOBJS=$ac_libobjs
18312 LTLIBOBJS=$ac_ltlibobjs
18316 : "${CONFIG_STATUS=./config.status}"
18317 ac_write_fail=0
18318 ac_clean_files_save=$ac_clean_files
18319 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18321 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18322 as_write_fail=0
18323 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18324 #! $SHELL
18325 # Generated by $as_me.
18326 # Run this file to recreate the current configuration.
18327 # Compiler output produced by configure, useful for debugging
18328 # configure, is in config.log if it exists.
18330 debug=false
18331 ac_cs_recheck=false
18332 ac_cs_silent=false
18334 SHELL=\${CONFIG_SHELL-$SHELL}
18335 export SHELL
18336 _ASEOF
18337 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18338 ## -------------------- ##
18339 ## M4sh Initialization. ##
18340 ## -------------------- ##
18342 # Be more Bourne compatible
18343 DUALCASE=1; export DUALCASE # for MKS sh
18344 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18345 emulate sh
18346 NULLCMD=:
18347 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18348 # is contrary to our usage. Disable this feature.
18349 alias -g '${1+"$@"}'='"$@"'
18350 setopt NO_GLOB_SUBST
18351 else
18352 case `(set -o) 2>/dev/null` in #(
18353 *posix*) :
18354 set -o posix ;; #(
18355 *) :
18357 esac
18361 as_nl='
18363 export as_nl
18364 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18365 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18366 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18367 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18368 # Prefer a ksh shell builtin over an external printf program on Solaris,
18369 # but without wasting forks for bash or zsh.
18370 if test -z "$BASH_VERSION$ZSH_VERSION" \
18371 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18372 as_echo='print -r --'
18373 as_echo_n='print -rn --'
18374 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18375 as_echo='printf %s\n'
18376 as_echo_n='printf %s'
18377 else
18378 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18379 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18380 as_echo_n='/usr/ucb/echo -n'
18381 else
18382 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18383 as_echo_n_body='eval
18384 arg=$1;
18385 case $arg in #(
18386 *"$as_nl"*)
18387 expr "X$arg" : "X\\(.*\\)$as_nl";
18388 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18389 esac;
18390 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18392 export as_echo_n_body
18393 as_echo_n='sh -c $as_echo_n_body as_echo'
18395 export as_echo_body
18396 as_echo='sh -c $as_echo_body as_echo'
18399 # The user is always right.
18400 if test "${PATH_SEPARATOR+set}" != set; then
18401 PATH_SEPARATOR=:
18402 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18403 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18404 PATH_SEPARATOR=';'
18409 # IFS
18410 # We need space, tab and new line, in precisely that order. Quoting is
18411 # there to prevent editors from complaining about space-tab.
18412 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18413 # splitting by setting IFS to empty value.)
18414 IFS=" "" $as_nl"
18416 # Find who we are. Look in the path if we contain no directory separator.
18417 as_myself=
18418 case $0 in #((
18419 *[\\/]* ) as_myself=$0 ;;
18420 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18421 for as_dir in $PATH
18423 IFS=$as_save_IFS
18424 test -z "$as_dir" && as_dir=.
18425 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18426 done
18427 IFS=$as_save_IFS
18430 esac
18431 # We did not find ourselves, most probably we were run as `sh COMMAND'
18432 # in which case we are not to be found in the path.
18433 if test "x$as_myself" = x; then
18434 as_myself=$0
18436 if test ! -f "$as_myself"; then
18437 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18438 exit 1
18441 # Unset variables that we do not need and which cause bugs (e.g. in
18442 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18443 # suppresses any "Segmentation fault" message there. '((' could
18444 # trigger a bug in pdksh 5.2.14.
18445 for as_var in BASH_ENV ENV MAIL MAILPATH
18446 do eval test x\${$as_var+set} = xset \
18447 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18448 done
18449 PS1='$ '
18450 PS2='> '
18451 PS4='+ '
18453 # NLS nuisances.
18454 LC_ALL=C
18455 export LC_ALL
18456 LANGUAGE=C
18457 export LANGUAGE
18459 # CDPATH.
18460 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18463 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18464 # ----------------------------------------
18465 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18466 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18467 # script with STATUS, using 1 if that was 0.
18468 as_fn_error ()
18470 as_status=$1; test $as_status -eq 0 && as_status=1
18471 if test "$4"; then
18472 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18473 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18475 $as_echo "$as_me: error: $2" >&2
18476 as_fn_exit $as_status
18477 } # as_fn_error
18480 # as_fn_set_status STATUS
18481 # -----------------------
18482 # Set $? to STATUS, without forking.
18483 as_fn_set_status ()
18485 return $1
18486 } # as_fn_set_status
18488 # as_fn_exit STATUS
18489 # -----------------
18490 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18491 as_fn_exit ()
18493 set +e
18494 as_fn_set_status $1
18495 exit $1
18496 } # as_fn_exit
18498 # as_fn_unset VAR
18499 # ---------------
18500 # Portably unset VAR.
18501 as_fn_unset ()
18503 { eval $1=; unset $1;}
18505 as_unset=as_fn_unset
18506 # as_fn_append VAR VALUE
18507 # ----------------------
18508 # Append the text in VALUE to the end of the definition contained in VAR. Take
18509 # advantage of any shell optimizations that allow amortized linear growth over
18510 # repeated appends, instead of the typical quadratic growth present in naive
18511 # implementations.
18512 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18513 eval 'as_fn_append ()
18515 eval $1+=\$2
18517 else
18518 as_fn_append ()
18520 eval $1=\$$1\$2
18522 fi # as_fn_append
18524 # as_fn_arith ARG...
18525 # ------------------
18526 # Perform arithmetic evaluation on the ARGs, and store the result in the
18527 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18528 # must be portable across $(()) and expr.
18529 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18530 eval 'as_fn_arith ()
18532 as_val=$(( $* ))
18534 else
18535 as_fn_arith ()
18537 as_val=`expr "$@" || test $? -eq 1`
18539 fi # as_fn_arith
18542 if expr a : '\(a\)' >/dev/null 2>&1 &&
18543 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18544 as_expr=expr
18545 else
18546 as_expr=false
18549 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18550 as_basename=basename
18551 else
18552 as_basename=false
18555 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18556 as_dirname=dirname
18557 else
18558 as_dirname=false
18561 as_me=`$as_basename -- "$0" ||
18562 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18563 X"$0" : 'X\(//\)$' \| \
18564 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18565 $as_echo X/"$0" |
18566 sed '/^.*\/\([^/][^/]*\)\/*$/{
18567 s//\1/
18570 /^X\/\(\/\/\)$/{
18571 s//\1/
18574 /^X\/\(\/\).*/{
18575 s//\1/
18578 s/.*/./; q'`
18580 # Avoid depending upon Character Ranges.
18581 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18582 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18583 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18584 as_cr_digits='0123456789'
18585 as_cr_alnum=$as_cr_Letters$as_cr_digits
18587 ECHO_C= ECHO_N= ECHO_T=
18588 case `echo -n x` in #(((((
18589 -n*)
18590 case `echo 'xy\c'` in
18591 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18592 xy) ECHO_C='\c';;
18593 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18594 ECHO_T=' ';;
18595 esac;;
18597 ECHO_N='-n';;
18598 esac
18600 rm -f conf$$ conf$$.exe conf$$.file
18601 if test -d conf$$.dir; then
18602 rm -f conf$$.dir/conf$$.file
18603 else
18604 rm -f conf$$.dir
18605 mkdir conf$$.dir 2>/dev/null
18607 if (echo >conf$$.file) 2>/dev/null; then
18608 if ln -s conf$$.file conf$$ 2>/dev/null; then
18609 as_ln_s='ln -s'
18610 # ... but there are two gotchas:
18611 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18612 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18613 # In both cases, we have to default to `cp -pR'.
18614 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18615 as_ln_s='cp -pR'
18616 elif ln conf$$.file conf$$ 2>/dev/null; then
18617 as_ln_s=ln
18618 else
18619 as_ln_s='cp -pR'
18621 else
18622 as_ln_s='cp -pR'
18624 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18625 rmdir conf$$.dir 2>/dev/null
18628 # as_fn_mkdir_p
18629 # -------------
18630 # Create "$as_dir" as a directory, including parents if necessary.
18631 as_fn_mkdir_p ()
18634 case $as_dir in #(
18635 -*) as_dir=./$as_dir;;
18636 esac
18637 test -d "$as_dir" || eval $as_mkdir_p || {
18638 as_dirs=
18639 while :; do
18640 case $as_dir in #(
18641 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18642 *) as_qdir=$as_dir;;
18643 esac
18644 as_dirs="'$as_qdir' $as_dirs"
18645 as_dir=`$as_dirname -- "$as_dir" ||
18646 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18647 X"$as_dir" : 'X\(//\)[^/]' \| \
18648 X"$as_dir" : 'X\(//\)$' \| \
18649 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18650 $as_echo X"$as_dir" |
18651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18652 s//\1/
18655 /^X\(\/\/\)[^/].*/{
18656 s//\1/
18659 /^X\(\/\/\)$/{
18660 s//\1/
18663 /^X\(\/\).*/{
18664 s//\1/
18667 s/.*/./; q'`
18668 test -d "$as_dir" && break
18669 done
18670 test -z "$as_dirs" || eval "mkdir $as_dirs"
18671 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18674 } # as_fn_mkdir_p
18675 if mkdir -p . 2>/dev/null; then
18676 as_mkdir_p='mkdir -p "$as_dir"'
18677 else
18678 test -d ./-p && rmdir ./-p
18679 as_mkdir_p=false
18683 # as_fn_executable_p FILE
18684 # -----------------------
18685 # Test if FILE is an executable regular file.
18686 as_fn_executable_p ()
18688 test -f "$1" && test -x "$1"
18689 } # as_fn_executable_p
18690 as_test_x='test -x'
18691 as_executable_p=as_fn_executable_p
18693 # Sed expression to map a string onto a valid CPP name.
18694 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18696 # Sed expression to map a string onto a valid variable name.
18697 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18700 exec 6>&1
18701 ## ----------------------------------- ##
18702 ## Main body of $CONFIG_STATUS script. ##
18703 ## ----------------------------------- ##
18704 _ASEOF
18705 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18708 # Save the log message, to keep $0 and so on meaningful, and to
18709 # report actual input values of CONFIG_FILES etc. instead of their
18710 # values after options handling.
18711 ac_log="
18712 This file was extended by Wine $as_me 1.7.52, which was
18713 generated by GNU Autoconf 2.69. Invocation command line was
18715 CONFIG_FILES = $CONFIG_FILES
18716 CONFIG_HEADERS = $CONFIG_HEADERS
18717 CONFIG_LINKS = $CONFIG_LINKS
18718 CONFIG_COMMANDS = $CONFIG_COMMANDS
18719 $ $0 $@
18721 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18724 _ACEOF
18726 case $ac_config_files in *"
18727 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18728 esac
18730 case $ac_config_headers in *"
18731 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18732 esac
18735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18736 # Files that config.status was made for.
18737 config_files="$ac_config_files"
18738 config_headers="$ac_config_headers"
18739 config_links="$ac_config_links"
18740 config_commands="$ac_config_commands"
18742 _ACEOF
18744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18745 ac_cs_usage="\
18746 \`$as_me' instantiates files and other configuration actions
18747 from templates according to the current configuration. Unless the files
18748 and actions are specified as TAGs, all are instantiated by default.
18750 Usage: $0 [OPTION]... [TAG]...
18752 -h, --help print this help, then exit
18753 -V, --version print version number and configuration settings, then exit
18754 --config print configuration, then exit
18755 -q, --quiet, --silent
18756 do not print progress messages
18757 -d, --debug don't remove temporary files
18758 --recheck update $as_me by reconfiguring in the same conditions
18759 --file=FILE[:TEMPLATE]
18760 instantiate the configuration file FILE
18761 --header=FILE[:TEMPLATE]
18762 instantiate the configuration header FILE
18764 Configuration files:
18765 $config_files
18767 Configuration headers:
18768 $config_headers
18770 Configuration links:
18771 $config_links
18773 Configuration commands:
18774 $config_commands
18776 Report bugs to <wine-devel@winehq.org>.
18777 Wine home page: <http://www.winehq.org>."
18779 _ACEOF
18780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18781 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18782 ac_cs_version="\\
18783 Wine config.status 1.7.52
18784 configured by $0, generated by GNU Autoconf 2.69,
18785 with options \\"\$ac_cs_config\\"
18787 Copyright (C) 2012 Free Software Foundation, Inc.
18788 This config.status script is free software; the Free Software Foundation
18789 gives unlimited permission to copy, distribute and modify it."
18791 ac_pwd='$ac_pwd'
18792 srcdir='$srcdir'
18793 test -n "\$AWK" || AWK=awk
18794 _ACEOF
18796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18797 # The default lists apply if the user does not specify any file.
18798 ac_need_defaults=:
18799 while test $# != 0
18801 case $1 in
18802 --*=?*)
18803 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18804 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18805 ac_shift=:
18807 --*=)
18808 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18809 ac_optarg=
18810 ac_shift=:
18813 ac_option=$1
18814 ac_optarg=$2
18815 ac_shift=shift
18817 esac
18819 case $ac_option in
18820 # Handling of the options.
18821 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18822 ac_cs_recheck=: ;;
18823 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18824 $as_echo "$ac_cs_version"; exit ;;
18825 --config | --confi | --conf | --con | --co | --c )
18826 $as_echo "$ac_cs_config"; exit ;;
18827 --debug | --debu | --deb | --de | --d | -d )
18828 debug=: ;;
18829 --file | --fil | --fi | --f )
18830 $ac_shift
18831 case $ac_optarg in
18832 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18833 '') as_fn_error $? "missing file argument" ;;
18834 esac
18835 as_fn_append CONFIG_FILES " '$ac_optarg'"
18836 ac_need_defaults=false;;
18837 --header | --heade | --head | --hea )
18838 $ac_shift
18839 case $ac_optarg in
18840 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18841 esac
18842 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18843 ac_need_defaults=false;;
18844 --he | --h)
18845 # Conflict between --help and --header
18846 as_fn_error $? "ambiguous option: \`$1'
18847 Try \`$0 --help' for more information.";;
18848 --help | --hel | -h )
18849 $as_echo "$ac_cs_usage"; exit ;;
18850 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18851 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18852 ac_cs_silent=: ;;
18854 # This is an error.
18855 -*) as_fn_error $? "unrecognized option: \`$1'
18856 Try \`$0 --help' for more information." ;;
18858 *) as_fn_append ac_config_targets " $1"
18859 ac_need_defaults=false ;;
18861 esac
18862 shift
18863 done
18865 ac_configure_extra_args=
18867 if $ac_cs_silent; then
18868 exec 6>/dev/null
18869 ac_configure_extra_args="$ac_configure_extra_args --silent"
18872 _ACEOF
18873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18874 if \$ac_cs_recheck; then
18875 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18876 shift
18877 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18878 CONFIG_SHELL='$SHELL'
18879 export CONFIG_SHELL
18880 exec "\$@"
18883 _ACEOF
18884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18885 exec 5>>config.log
18887 echo
18888 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18889 ## Running $as_me. ##
18890 _ASBOX
18891 $as_echo "$ac_log"
18892 } >&5
18894 _ACEOF
18895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18897 # INIT-COMMANDS
18899 wine_fn_output_makedep ()
18901 as_dir=tools; as_fn_mkdir_p
18902 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18904 wine_fn_output_makefile ()
18906 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18907 `cat $wine_rules_file`
18908 _WINE_EOF
18909 as_fn_error $? "could not create Makefile" "$LINENO" 5
18911 wine_fn_output_gitignore ()
18913 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18914 $GITIGNORE
18915 _WINE_EOF
18916 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18919 _ACEOF
18921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18923 # Handling of arguments.
18924 for ac_config_target in $ac_config_targets
18926 case $ac_config_target in
18927 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18928 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18929 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18930 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18931 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18932 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18933 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
18934 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18935 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18936 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18937 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18938 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18939 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18940 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18941 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18943 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18944 esac
18945 done
18948 # If the user did not use the arguments to specify the items to instantiate,
18949 # then the envvar interface is used. Set only those that are not.
18950 # We use the long form for the default assignment because of an extremely
18951 # bizarre bug on SunOS 4.1.3.
18952 if $ac_need_defaults; then
18953 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18954 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18955 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18956 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18959 # Have a temporary directory for convenience. Make it in the build tree
18960 # simply because there is no reason against having it here, and in addition,
18961 # creating and moving files from /tmp can sometimes cause problems.
18962 # Hook for its removal unless debugging.
18963 # Note that there is a small window in which the directory will not be cleaned:
18964 # after its creation but before its name has been assigned to `$tmp'.
18965 $debug ||
18967 tmp= ac_tmp=
18968 trap 'exit_status=$?
18969 : "${ac_tmp:=$tmp}"
18970 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18972 trap 'as_fn_exit 1' 1 2 13 15
18974 # Create a (secure) tmp directory for tmp files.
18977 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18978 test -d "$tmp"
18979 } ||
18981 tmp=./conf$$-$RANDOM
18982 (umask 077 && mkdir "$tmp")
18983 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18984 ac_tmp=$tmp
18986 # Set up the scripts for CONFIG_FILES section.
18987 # No need to generate them if there are no CONFIG_FILES.
18988 # This happens for instance with `./config.status config.h'.
18989 if test -n "$CONFIG_FILES"; then
18992 ac_cr=`echo X | tr X '\015'`
18993 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18994 # But we know of no other shell where ac_cr would be empty at this
18995 # point, so we can use a bashism as a fallback.
18996 if test "x$ac_cr" = x; then
18997 eval ac_cr=\$\'\\r\'
18999 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19000 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19001 ac_cs_awk_cr='\\r'
19002 else
19003 ac_cs_awk_cr=$ac_cr
19006 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19007 _ACEOF
19011 echo "cat >conf$$subs.awk <<_ACEOF" &&
19012 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19013 echo "_ACEOF"
19014 } >conf$$subs.sh ||
19015 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19016 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19017 ac_delim='%!_!# '
19018 for ac_last_try in false false false false false :; do
19019 . ./conf$$subs.sh ||
19020 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19022 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19023 if test $ac_delim_n = $ac_delim_num; then
19024 break
19025 elif $ac_last_try; then
19026 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19027 else
19028 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19030 done
19031 rm -f conf$$subs.sh
19033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19034 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19035 _ACEOF
19036 sed -n '
19038 s/^/S["/; s/!.*/"]=/
19041 s/^[^!]*!//
19042 :repl
19043 t repl
19044 s/'"$ac_delim"'$//
19045 t delim
19048 s/\(.\{148\}\)..*/\1/
19049 t more1
19050 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19053 b repl
19054 :more1
19055 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19058 s/.\{148\}//
19059 t nl
19060 :delim
19062 s/\(.\{148\}\)..*/\1/
19063 t more2
19064 s/["\\]/\\&/g; s/^/"/; s/$/"/
19067 :more2
19068 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19071 s/.\{148\}//
19072 t delim
19073 ' <conf$$subs.awk | sed '
19074 /^[^""]/{
19076 s/\n//
19078 ' >>$CONFIG_STATUS || ac_write_fail=1
19079 rm -f conf$$subs.awk
19080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19081 _ACAWK
19082 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19083 for (key in S) S_is_set[key] = 1
19084 FS = "\a"
19088 line = $ 0
19089 nfields = split(line, field, "@")
19090 substed = 0
19091 len = length(field[1])
19092 for (i = 2; i < nfields; i++) {
19093 key = field[i]
19094 keylen = length(key)
19095 if (S_is_set[key]) {
19096 value = S[key]
19097 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19098 len += length(value) + length(field[++i])
19099 substed = 1
19100 } else
19101 len += 1 + keylen
19104 print line
19107 _ACAWK
19108 _ACEOF
19109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19110 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19111 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19112 else
19114 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19115 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19116 _ACEOF
19118 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19119 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19120 # trailing colons and then remove the whole line if VPATH becomes empty
19121 # (actually we leave an empty line to preserve line numbers).
19122 if test "x$srcdir" = x.; then
19123 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19125 s///
19126 s/^/:/
19127 s/[ ]*$/:/
19128 s/:\$(srcdir):/:/g
19129 s/:\${srcdir}:/:/g
19130 s/:@srcdir@:/:/g
19131 s/^:*//
19132 s/:*$//
19134 s/\(=[ ]*\).*/\1/
19136 s/\n//
19137 s/^[^=]*=[ ]*$//
19141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19142 fi # test -n "$CONFIG_FILES"
19144 # Set up the scripts for CONFIG_HEADERS section.
19145 # No need to generate them if there are no CONFIG_HEADERS.
19146 # This happens for instance with `./config.status Makefile'.
19147 if test -n "$CONFIG_HEADERS"; then
19148 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19149 BEGIN {
19150 _ACEOF
19152 # Transform confdefs.h into an awk script `defines.awk', embedded as
19153 # here-document in config.status, that substitutes the proper values into
19154 # config.h.in to produce config.h.
19156 # Create a delimiter string that does not exist in confdefs.h, to ease
19157 # handling of long lines.
19158 ac_delim='%!_!# '
19159 for ac_last_try in false false :; do
19160 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19161 if test -z "$ac_tt"; then
19162 break
19163 elif $ac_last_try; then
19164 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19165 else
19166 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19168 done
19170 # For the awk script, D is an array of macro values keyed by name,
19171 # likewise P contains macro parameters if any. Preserve backslash
19172 # newline sequences.
19174 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19175 sed -n '
19176 s/.\{148\}/&'"$ac_delim"'/g
19177 t rset
19178 :rset
19179 s/^[ ]*#[ ]*define[ ][ ]*/ /
19180 t def
19182 :def
19183 s/\\$//
19184 t bsnl
19185 s/["\\]/\\&/g
19186 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19187 D["\1"]=" \3"/p
19188 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19190 :bsnl
19191 s/["\\]/\\&/g
19192 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19193 D["\1"]=" \3\\\\\\n"\\/p
19194 t cont
19195 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19196 t cont
19198 :cont
19200 s/.\{148\}/&'"$ac_delim"'/g
19201 t clear
19202 :clear
19203 s/\\$//
19204 t bsnlc
19205 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19207 :bsnlc
19208 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19209 b cont
19210 ' <confdefs.h | sed '
19211 s/'"$ac_delim"'/"\\\
19212 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19215 for (key in D) D_is_set[key] = 1
19216 FS = "\a"
19218 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19219 line = \$ 0
19220 split(line, arg, " ")
19221 if (arg[1] == "#") {
19222 defundef = arg[2]
19223 mac1 = arg[3]
19224 } else {
19225 defundef = substr(arg[1], 2)
19226 mac1 = arg[2]
19228 split(mac1, mac2, "(") #)
19229 macro = mac2[1]
19230 prefix = substr(line, 1, index(line, defundef) - 1)
19231 if (D_is_set[macro]) {
19232 # Preserve the white space surrounding the "#".
19233 print prefix "define", macro P[macro] D[macro]
19234 next
19235 } else {
19236 # Replace #undef with comments. This is necessary, for example,
19237 # in the case of _POSIX_SOURCE, which is predefined and required
19238 # on some systems where configure will not decide to define it.
19239 if (defundef == "undef") {
19240 print "/*", prefix defundef, macro, "*/"
19241 next
19245 { print }
19246 _ACAWK
19247 _ACEOF
19248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19249 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19250 fi # test -n "$CONFIG_HEADERS"
19253 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19254 shift
19255 for ac_tag
19257 case $ac_tag in
19258 :[FHLC]) ac_mode=$ac_tag; continue;;
19259 esac
19260 case $ac_mode$ac_tag in
19261 :[FHL]*:*);;
19262 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19263 :[FH]-) ac_tag=-:-;;
19264 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19265 esac
19266 ac_save_IFS=$IFS
19267 IFS=:
19268 set x $ac_tag
19269 IFS=$ac_save_IFS
19270 shift
19271 ac_file=$1
19272 shift
19274 case $ac_mode in
19275 :L) ac_source=$1;;
19276 :[FH])
19277 ac_file_inputs=
19278 for ac_f
19280 case $ac_f in
19281 -) ac_f="$ac_tmp/stdin";;
19282 *) # Look for the file first in the build tree, then in the source tree
19283 # (if the path is not absolute). The absolute path cannot be DOS-style,
19284 # because $ac_f cannot contain `:'.
19285 test -f "$ac_f" ||
19286 case $ac_f in
19287 [\\/$]*) false;;
19288 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19289 esac ||
19290 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19291 esac
19292 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19293 as_fn_append ac_file_inputs " '$ac_f'"
19294 done
19296 # Let's still pretend it is `configure' which instantiates (i.e., don't
19297 # use $as_me), people would be surprised to read:
19298 # /* config.h. Generated by config.status. */
19299 configure_input='Generated from '`
19300 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19301 `' by configure.'
19302 if test x"$ac_file" != x-; then
19303 configure_input="$ac_file. $configure_input"
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19305 $as_echo "$as_me: creating $ac_file" >&6;}
19307 # Neutralize special characters interpreted by sed in replacement strings.
19308 case $configure_input in #(
19309 *\&* | *\|* | *\\* )
19310 ac_sed_conf_input=`$as_echo "$configure_input" |
19311 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19312 *) ac_sed_conf_input=$configure_input;;
19313 esac
19315 case $ac_tag in
19316 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19317 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19318 esac
19320 esac
19322 ac_dir=`$as_dirname -- "$ac_file" ||
19323 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19324 X"$ac_file" : 'X\(//\)[^/]' \| \
19325 X"$ac_file" : 'X\(//\)$' \| \
19326 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19327 $as_echo X"$ac_file" |
19328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19329 s//\1/
19332 /^X\(\/\/\)[^/].*/{
19333 s//\1/
19336 /^X\(\/\/\)$/{
19337 s//\1/
19340 /^X\(\/\).*/{
19341 s//\1/
19344 s/.*/./; q'`
19345 as_dir="$ac_dir"; as_fn_mkdir_p
19346 ac_builddir=.
19348 case "$ac_dir" in
19349 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19351 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19352 # A ".." for each directory in $ac_dir_suffix.
19353 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19354 case $ac_top_builddir_sub in
19355 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19356 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19357 esac ;;
19358 esac
19359 ac_abs_top_builddir=$ac_pwd
19360 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19361 # for backward compatibility:
19362 ac_top_builddir=$ac_top_build_prefix
19364 case $srcdir in
19365 .) # We are building in place.
19366 ac_srcdir=.
19367 ac_top_srcdir=$ac_top_builddir_sub
19368 ac_abs_top_srcdir=$ac_pwd ;;
19369 [\\/]* | ?:[\\/]* ) # Absolute name.
19370 ac_srcdir=$srcdir$ac_dir_suffix;
19371 ac_top_srcdir=$srcdir
19372 ac_abs_top_srcdir=$srcdir ;;
19373 *) # Relative name.
19374 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19375 ac_top_srcdir=$ac_top_build_prefix$srcdir
19376 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19377 esac
19378 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19381 case $ac_mode in
19384 # CONFIG_FILE
19387 _ACEOF
19389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19390 # If the template does not know about datarootdir, expand it.
19391 # FIXME: This hack should be removed a few years after 2.60.
19392 ac_datarootdir_hack=; ac_datarootdir_seen=
19393 ac_sed_dataroot='
19394 /datarootdir/ {
19398 /@datadir@/p
19399 /@docdir@/p
19400 /@infodir@/p
19401 /@localedir@/p
19402 /@mandir@/p'
19403 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19404 *datarootdir*) ac_datarootdir_seen=yes;;
19405 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19407 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19408 _ACEOF
19409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19410 ac_datarootdir_hack='
19411 s&@datadir@&$datadir&g
19412 s&@docdir@&$docdir&g
19413 s&@infodir@&$infodir&g
19414 s&@localedir@&$localedir&g
19415 s&@mandir@&$mandir&g
19416 s&\\\${datarootdir}&$datarootdir&g' ;;
19417 esac
19418 _ACEOF
19420 # Neutralize VPATH when `$srcdir' = `.'.
19421 # Shell code in configure.ac might set extrasub.
19422 # FIXME: do we really want to maintain this feature?
19423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19424 ac_sed_extra="$ac_vpsub
19425 $extrasub
19426 _ACEOF
19427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19429 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19430 s|@configure_input@|$ac_sed_conf_input|;t t
19431 s&@top_builddir@&$ac_top_builddir_sub&;t t
19432 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19433 s&@srcdir@&$ac_srcdir&;t t
19434 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19435 s&@top_srcdir@&$ac_top_srcdir&;t t
19436 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19437 s&@builddir@&$ac_builddir&;t t
19438 s&@abs_builddir@&$ac_abs_builddir&;t t
19439 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19440 $ac_datarootdir_hack
19442 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19443 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19445 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19446 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19447 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19448 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19450 which seems to be undefined. Please make sure it is defined" >&5
19451 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19452 which seems to be undefined. Please make sure it is defined" >&2;}
19454 rm -f "$ac_tmp/stdin"
19455 case $ac_file in
19456 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19457 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19458 esac \
19459 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19463 # CONFIG_HEADER
19465 if test x"$ac_file" != x-; then
19467 $as_echo "/* $configure_input */" \
19468 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19469 } >"$ac_tmp/config.h" \
19470 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19471 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19473 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19474 else
19475 rm -f "$ac_file"
19476 mv "$ac_tmp/config.h" "$ac_file" \
19477 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19479 else
19480 $as_echo "/* $configure_input */" \
19481 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19482 || as_fn_error $? "could not create -" "$LINENO" 5
19487 # CONFIG_LINK
19490 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19492 else
19493 # Prefer the file from the source tree if names are identical.
19494 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19495 ac_source=$srcdir/$ac_source
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19499 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19501 if test ! -r "$ac_source"; then
19502 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19504 rm -f "$ac_file"
19506 # Try a relative symlink, then a hard link, then a copy.
19507 case $ac_source in
19508 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19509 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19510 esac
19511 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19512 ln "$ac_source" "$ac_file" 2>/dev/null ||
19513 cp -p "$ac_source" "$ac_file" ||
19514 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19517 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19518 $as_echo "$as_me: executing $ac_file commands" >&6;}
19520 esac
19523 case $ac_file$ac_mode in
19524 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19525 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19526 "Makefile":C) wine_fn_output_makefile Makefile ;;
19527 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19529 esac
19530 done # for ac_tag
19533 as_fn_exit 0
19534 _ACEOF
19535 ac_clean_files=$ac_clean_files_save
19537 test $ac_write_fail = 0 ||
19538 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19541 # configure is writing to config.log, and then calls config.status.
19542 # config.status does its own redirection, appending to config.log.
19543 # Unfortunately, on DOS this fails, as config.log is still kept open
19544 # by configure, so config.status won't be able to write to it; its
19545 # output is simply discarded. So we exec the FD to /dev/null,
19546 # effectively closing config.log, so it can be properly (re)opened and
19547 # appended to by config.status. When coming back to configure, we
19548 # need to make the FD available again.
19549 if test "$no_create" != yes; then
19550 ac_cs_success=:
19551 ac_config_status_args=
19552 test "$silent" = yes &&
19553 ac_config_status_args="$ac_config_status_args --quiet"
19554 exec 5>/dev/null
19555 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19556 exec 5>>config.log
19557 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19558 # would make configure fail if this is the last instruction.
19559 $ac_cs_success || as_fn_exit 1
19561 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19563 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19567 if test "$no_create" = "yes"
19568 then
19569 exit 0
19572 ac_save_IFS="$IFS"
19573 if test "x$wine_notices != "x; then
19574 echo >&6
19575 IFS="|"
19576 for msg in $wine_notices; do
19577 IFS="$ac_save_IFS"
19578 if ${msg:+false} :; then :
19580 else
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19582 $as_echo "$as_me: $msg" >&6;}
19584 done
19586 IFS="|"
19587 for msg in $wine_warnings; do
19588 IFS="$ac_save_IFS"
19589 if ${msg:+false} :; then :
19591 else
19592 echo >&2
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19594 $as_echo "$as_me: WARNING: $msg" >&2;}
19596 done
19597 IFS="$ac_save_IFS"
19599 $as_echo "
19600 $as_me: Finished. Do '${ac_make}' to compile Wine.
19601 " >&6