Release 1.9.6.
[wine.git] / configure
blob199ad25c700ad1b15373b0ae22d431f61ac22d22
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.6.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.9.6'
584 PACKAGE_STRING='Wine 1.9.6'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 OSS4_CFLAGS
656 ALSA_LIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 PULSE_LIBS
660 PULSE_CFLAGS
661 GETTEXTPO_LIBS
662 Z_LIBS
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLV_LIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 PCAP_LIBS
685 X_EXTRA_LIBS
686 X_LIBS
687 X_PRE_LIBS
688 X_CFLAGS
689 XMKMF
690 PTHREAD_LIBS
691 CROSSCC
692 CROSSTARGET
693 PRELINK
694 WINELOADER_DEPENDS
695 CARBON_LIBS
696 QUICKTIME_LIBS
697 OPENCL_LIBS
698 OPENAL_LIBS
699 COREAUDIO_LIBS
700 SECURITY_LIBS
701 DISKARBITRATION_LIBS
702 APPKIT_LIBS
703 CORESERVICES_LIBS
704 APPLICATIONSERVICES_LIBS
705 FORCEFEEDBACK_LIBS
706 IOKIT_LIBS
707 COREFOUNDATION_LIBS
708 LIBWINE_DEPENDS
709 LIBWINE_LDFLAGS
710 LIBWINE_INSTALL_DEV
711 LIBWINE_INSTALL_LIB
712 LIBWINE_IMPORTLIB
713 LIBWINE_SHAREDLIB
714 SOCKET_LIBS
715 DLLTOOL
716 WINELOADER_PROGRAMS
717 ALL_TEST_RESOURCES
718 CONFIGURE_TARGETS
719 DISABLED_SUBDIRS
720 SUBDIRS
721 READELF
722 OTOOL
724 LDEXECFLAGS
725 LDRPATH_LOCAL
726 LDRPATH_INSTALL
727 DLLFLAGS
728 dlldir
730 OPENGL_LIBS
731 ICOTOOL
732 CONVERT
733 RSVG
734 FONTFORGE
735 PKG_CONFIG
736 MSGFMT
737 LDCONFIG
738 EGREP
739 GREP
740 LN_S
741 RANLIB
742 ARFLAGS
743 STRIP
744 ac_ct_AR
746 BISON
747 FLEX
748 TOOLSDIR
749 TARGETFLAGS
751 CPPBIN
752 ac_ct_CXX
753 CXXFLAGS
755 OBJEXT
756 EXEEXT
757 ac_ct_CC
758 CPPFLAGS
759 LDFLAGS
760 CFLAGS
762 SET_MAKE
763 host_os
764 host_vendor
765 host_cpu
766 host
767 build_os
768 build_vendor
769 build_cpu
770 build
771 target_alias
772 host_alias
773 build_alias
774 LIBS
775 ECHO_T
776 ECHO_N
777 ECHO_C
778 DEFS
779 mandir
780 localedir
781 libdir
782 psdir
783 pdfdir
784 dvidir
785 htmldir
786 infodir
787 docdir
788 oldincludedir
789 includedir
790 runstatedir
791 localstatedir
792 sharedstatedir
793 sysconfdir
794 datadir
795 datarootdir
796 libexecdir
797 sbindir
798 bindir
799 program_transform_name
800 prefix
801 exec_prefix
802 PACKAGE_URL
803 PACKAGE_BUGREPORT
804 PACKAGE_STRING
805 PACKAGE_VERSION
806 PACKAGE_TARNAME
807 PACKAGE_NAME
808 PATH_SEPARATOR
809 SHELL'
810 ac_subst_files=''
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_netapi
838 with_openal
839 with_opencl
840 with_opengl
841 with_osmesa
842 with_oss
843 with_pcap
844 with_png
845 with_pthread
846 with_pulse
847 with_sane
848 with_tiff
849 with_v4l
850 with_xcomposite
851 with_xcursor
852 with_xinerama
853 with_xinput
854 with_xinput2
855 with_xml
856 with_xrandr
857 with_xrender
858 with_xshape
859 with_xshm
860 with_xslt
861 with_xxf86vm
862 with_zlib
863 with_wine_tools
864 with_wine64
865 enable_largefile
866 with_x
867 enable_acledit
868 enable_aclui
869 enable_activeds
870 enable_actxprxy
871 enable_advapi32
872 enable_advpack
873 enable_amstream
874 enable_api_ms_win_core_com_l1_1_0
875 enable_api_ms_win_core_com_l1_1_1
876 enable_api_ms_win_core_console_l1_1_0
877 enable_api_ms_win_core_datetime_l1_1_0
878 enable_api_ms_win_core_datetime_l1_1_1
879 enable_api_ms_win_core_debug_l1_1_0
880 enable_api_ms_win_core_debug_l1_1_1
881 enable_api_ms_win_core_delayload_l1_1_1
882 enable_api_ms_win_core_errorhandling_l1_1_0
883 enable_api_ms_win_core_errorhandling_l1_1_1
884 enable_api_ms_win_core_errorhandling_l1_1_2
885 enable_api_ms_win_core_fibers_l1_1_0
886 enable_api_ms_win_core_fibers_l1_1_1
887 enable_api_ms_win_core_file_l1_1_0
888 enable_api_ms_win_core_file_l1_2_0
889 enable_api_ms_win_core_file_l1_2_1
890 enable_api_ms_win_core_file_l2_1_0
891 enable_api_ms_win_core_file_l2_1_1
892 enable_api_ms_win_core_handle_l1_1_0
893 enable_api_ms_win_core_heap_l1_1_0
894 enable_api_ms_win_core_heap_l1_2_0
895 enable_api_ms_win_core_heap_obsolete_l1_1_0
896 enable_api_ms_win_core_interlocked_l1_1_0
897 enable_api_ms_win_core_interlocked_l1_2_0
898 enable_api_ms_win_core_io_l1_1_1
899 enable_api_ms_win_core_kernel32_legacy_l1_1_0
900 enable_api_ms_win_core_kernel32_legacy_l1_1_1
901 enable_api_ms_win_core_libraryloader_l1_1_0
902 enable_api_ms_win_core_libraryloader_l1_1_1
903 enable_api_ms_win_core_libraryloader_l1_2_0
904 enable_api_ms_win_core_localization_l1_1_0
905 enable_api_ms_win_core_localization_l1_2_0
906 enable_api_ms_win_core_localization_l1_2_1
907 enable_api_ms_win_core_localization_obsolete_l1_1_0
908 enable_api_ms_win_core_localregistry_l1_1_0
909 enable_api_ms_win_core_memory_l1_1_0
910 enable_api_ms_win_core_memory_l1_1_1
911 enable_api_ms_win_core_memory_l1_1_2
912 enable_api_ms_win_core_misc_l1_1_0
913 enable_api_ms_win_core_namedpipe_l1_1_0
914 enable_api_ms_win_core_namedpipe_l1_2_0
915 enable_api_ms_win_core_path_l1_1_0
916 enable_api_ms_win_core_processenvironment_l1_1_0
917 enable_api_ms_win_core_processenvironment_l1_2_0
918 enable_api_ms_win_core_processthreads_l1_1_0
919 enable_api_ms_win_core_processthreads_l1_1_1
920 enable_api_ms_win_core_processthreads_l1_1_2
921 enable_api_ms_win_core_profile_l1_1_0
922 enable_api_ms_win_core_psapi_l1_1_0
923 enable_api_ms_win_core_registry_l1_1_0
924 enable_api_ms_win_core_rtlsupport_l1_1_0
925 enable_api_ms_win_core_rtlsupport_l1_2_0
926 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
927 enable_api_ms_win_core_string_l1_1_0
928 enable_api_ms_win_core_string_l2_1_0
929 enable_api_ms_win_core_synch_l1_1_0
930 enable_api_ms_win_core_synch_l1_2_0
931 enable_api_ms_win_core_sysinfo_l1_1_0
932 enable_api_ms_win_core_sysinfo_l1_2_0
933 enable_api_ms_win_core_sysinfo_l1_2_1
934 enable_api_ms_win_core_threadpool_l1_2_0
935 enable_api_ms_win_core_threadpool_legacy_l1_1_0
936 enable_api_ms_win_core_timezone_l1_1_0
937 enable_api_ms_win_core_url_l1_1_0
938 enable_api_ms_win_core_util_l1_1_0
939 enable_api_ms_win_core_version_l1_1_0
940 enable_api_ms_win_core_winrt_error_l1_1_0
941 enable_api_ms_win_core_winrt_error_l1_1_1
942 enable_api_ms_win_core_winrt_l1_1_0
943 enable_api_ms_win_core_winrt_registration_l1_1_0
944 enable_api_ms_win_core_winrt_string_l1_1_0
945 enable_api_ms_win_core_wow64_l1_1_0
946 enable_api_ms_win_core_xstate_l2_1_0
947 enable_api_ms_win_crt_conio_l1_1_0
948 enable_api_ms_win_crt_convert_l1_1_0
949 enable_api_ms_win_crt_environment_l1_1_0
950 enable_api_ms_win_crt_filesystem_l1_1_0
951 enable_api_ms_win_crt_heap_l1_1_0
952 enable_api_ms_win_crt_locale_l1_1_0
953 enable_api_ms_win_crt_math_l1_1_0
954 enable_api_ms_win_crt_multibyte_l1_1_0
955 enable_api_ms_win_crt_private_l1_1_0
956 enable_api_ms_win_crt_process_l1_1_0
957 enable_api_ms_win_crt_runtime_l1_1_0
958 enable_api_ms_win_crt_stdio_l1_1_0
959 enable_api_ms_win_crt_string_l1_1_0
960 enable_api_ms_win_crt_time_l1_1_0
961 enable_api_ms_win_crt_utility_l1_1_0
962 enable_api_ms_win_downlevel_advapi32_l1_1_0
963 enable_api_ms_win_downlevel_advapi32_l2_1_0
964 enable_api_ms_win_downlevel_normaliz_l1_1_0
965 enable_api_ms_win_downlevel_ole32_l1_1_0
966 enable_api_ms_win_downlevel_shell32_l1_1_0
967 enable_api_ms_win_downlevel_shlwapi_l1_1_0
968 enable_api_ms_win_downlevel_shlwapi_l2_1_0
969 enable_api_ms_win_downlevel_user32_l1_1_0
970 enable_api_ms_win_downlevel_version_l1_1_0
971 enable_api_ms_win_eventing_classicprovider_l1_1_0
972 enable_api_ms_win_eventing_provider_l1_1_0
973 enable_api_ms_win_ntuser_dc_access_l1_1_0
974 enable_api_ms_win_security_base_l1_1_0
975 enable_api_ms_win_security_base_l1_2_0
976 enable_api_ms_win_security_lsalookup_l1_1_0
977 enable_api_ms_win_security_lsalookup_l1_1_1
978 enable_api_ms_win_security_sddl_l1_1_0
979 enable_api_ms_win_service_core_l1_1_1
980 enable_api_ms_win_service_management_l1_1_0
981 enable_api_ms_win_service_winsvc_l1_2_0
982 enable_apphelp
983 enable_appwiz_cpl
984 enable_atl
985 enable_atl100
986 enable_atl110
987 enable_atl80
988 enable_atl90
989 enable_authz
990 enable_avicap32
991 enable_avifil32
992 enable_avrt
993 enable_bcrypt
994 enable_bluetoothapis
995 enable_browseui
996 enable_bthprops_cpl
997 enable_cabinet
998 enable_capi2032
999 enable_cards
1000 enable_cfgmgr32
1001 enable_clusapi
1002 enable_combase
1003 enable_comcat
1004 enable_comctl32
1005 enable_comdlg32
1006 enable_compstui
1007 enable_comsvcs
1008 enable_connect
1009 enable_credui
1010 enable_crtdll
1011 enable_crypt32
1012 enable_cryptdlg
1013 enable_cryptdll
1014 enable_cryptext
1015 enable_cryptnet
1016 enable_cryptui
1017 enable_ctapi32
1018 enable_ctl3d32
1019 enable_d2d1
1020 enable_d3d10
1021 enable_d3d10_1
1022 enable_d3d10core
1023 enable_d3d11
1024 enable_d3d8
1025 enable_d3d9
1026 enable_d3dcompiler_33
1027 enable_d3dcompiler_34
1028 enable_d3dcompiler_35
1029 enable_d3dcompiler_36
1030 enable_d3dcompiler_37
1031 enable_d3dcompiler_38
1032 enable_d3dcompiler_39
1033 enable_d3dcompiler_40
1034 enable_d3dcompiler_41
1035 enable_d3dcompiler_42
1036 enable_d3dcompiler_43
1037 enable_d3dcompiler_46
1038 enable_d3dcompiler_47
1039 enable_d3dim
1040 enable_d3drm
1041 enable_d3dx10_33
1042 enable_d3dx10_34
1043 enable_d3dx10_35
1044 enable_d3dx10_36
1045 enable_d3dx10_37
1046 enable_d3dx10_38
1047 enable_d3dx10_39
1048 enable_d3dx10_40
1049 enable_d3dx10_41
1050 enable_d3dx10_42
1051 enable_d3dx10_43
1052 enable_d3dx11_42
1053 enable_d3dx11_43
1054 enable_d3dx9_24
1055 enable_d3dx9_25
1056 enable_d3dx9_26
1057 enable_d3dx9_27
1058 enable_d3dx9_28
1059 enable_d3dx9_29
1060 enable_d3dx9_30
1061 enable_d3dx9_31
1062 enable_d3dx9_32
1063 enable_d3dx9_33
1064 enable_d3dx9_34
1065 enable_d3dx9_35
1066 enable_d3dx9_36
1067 enable_d3dx9_37
1068 enable_d3dx9_38
1069 enable_d3dx9_39
1070 enable_d3dx9_40
1071 enable_d3dx9_41
1072 enable_d3dx9_42
1073 enable_d3dx9_43
1074 enable_d3dxof
1075 enable_davclnt
1076 enable_dbgeng
1077 enable_dbghelp
1078 enable_dciman32
1079 enable_ddraw
1080 enable_ddrawex
1081 enable_devenum
1082 enable_dhcpcsvc
1083 enable_difxapi
1084 enable_dinput
1085 enable_dinput8
1086 enable_dispex
1087 enable_dmband
1088 enable_dmcompos
1089 enable_dmime
1090 enable_dmloader
1091 enable_dmscript
1092 enable_dmstyle
1093 enable_dmsynth
1094 enable_dmusic
1095 enable_dmusic32
1096 enable_dnsapi
1097 enable_dplay
1098 enable_dplayx
1099 enable_dpnaddr
1100 enable_dpnet
1101 enable_dpnhpast
1102 enable_dpnlobby
1103 enable_dpvoice
1104 enable_dpwsockx
1105 enable_drmclien
1106 enable_dsound
1107 enable_dssenh
1108 enable_dswave
1109 enable_dwmapi
1110 enable_dwrite
1111 enable_dxdiagn
1112 enable_dxgi
1113 enable_dxva2
1114 enable_esent
1115 enable_evr
1116 enable_explorerframe
1117 enable_ext_ms_win_gdi_devcaps_l1_1_0
1118 enable_faultrep
1119 enable_fltlib
1120 enable_fltmgr_sys
1121 enable_fntcache
1122 enable_fontsub
1123 enable_fusion
1124 enable_fwpuclnt
1125 enable_gameux
1126 enable_gdi32
1127 enable_gdiplus
1128 enable_glu32
1129 enable_gphoto2_ds
1130 enable_gpkcsp
1131 enable_hal
1132 enable_hhctrl_ocx
1133 enable_hid
1134 enable_hidclass_sys
1135 enable_hlink
1136 enable_hnetcfg
1137 enable_httpapi
1138 enable_iccvid
1139 enable_icmp
1140 enable_ieframe
1141 enable_imaadp32_acm
1142 enable_imagehlp
1143 enable_imm32
1144 enable_inetcomm
1145 enable_inetcpl_cpl
1146 enable_inetmib1
1147 enable_infosoft
1148 enable_initpki
1149 enable_inkobj
1150 enable_inseng
1151 enable_iphlpapi
1152 enable_irprops_cpl
1153 enable_itircl
1154 enable_itss
1155 enable_joy_cpl
1156 enable_jscript
1157 enable_jsproxy
1158 enable_kernel32
1159 enable_ksuser
1160 enable_ktmw32
1161 enable_loadperf
1162 enable_localspl
1163 enable_localui
1164 enable_lz32
1165 enable_mapi32
1166 enable_mapistub
1167 enable_mciavi32
1168 enable_mcicda
1169 enable_mciqtz32
1170 enable_mciseq
1171 enable_mciwave
1172 enable_mf
1173 enable_mfplat
1174 enable_mfreadwrite
1175 enable_mgmtapi
1176 enable_midimap
1177 enable_mlang
1178 enable_mmcndmgr
1179 enable_mmdevapi
1180 enable_mountmgr_sys
1181 enable_mpr
1182 enable_mprapi
1183 enable_msacm32_drv
1184 enable_msacm32
1185 enable_msadp32_acm
1186 enable_msasn1
1187 enable_mscat32
1188 enable_mscms
1189 enable_mscoree
1190 enable_msctf
1191 enable_msctfp
1192 enable_msdaps
1193 enable_msdelta
1194 enable_msdmo
1195 enable_msdrm
1196 enable_msftedit
1197 enable_msg711_acm
1198 enable_msgsm32_acm
1199 enable_mshtml_tlb
1200 enable_mshtml
1201 enable_msi
1202 enable_msident
1203 enable_msimg32
1204 enable_msimsg
1205 enable_msimtf
1206 enable_msisip
1207 enable_msisys_ocx
1208 enable_msls31
1209 enable_msnet32
1210 enable_mspatcha
1211 enable_msrle32
1212 enable_msscript_ocx
1213 enable_mssign32
1214 enable_mssip32
1215 enable_mstask
1216 enable_msvcirt
1217 enable_msvcm80
1218 enable_msvcm90
1219 enable_msvcp100
1220 enable_msvcp110
1221 enable_msvcp120
1222 enable_msvcp120_app
1223 enable_msvcp60
1224 enable_msvcp70
1225 enable_msvcp71
1226 enable_msvcp80
1227 enable_msvcp90
1228 enable_msvcr100
1229 enable_msvcr110
1230 enable_msvcr120
1231 enable_msvcr120_app
1232 enable_msvcr70
1233 enable_msvcr71
1234 enable_msvcr80
1235 enable_msvcr90
1236 enable_msvcrt
1237 enable_msvcrt20
1238 enable_msvcrt40
1239 enable_msvcrtd
1240 enable_msvfw32
1241 enable_msvidc32
1242 enable_mswsock
1243 enable_msxml
1244 enable_msxml2
1245 enable_msxml3
1246 enable_msxml4
1247 enable_msxml6
1248 enable_nddeapi
1249 enable_ndis_sys
1250 enable_netapi32
1251 enable_netcfgx
1252 enable_netprofm
1253 enable_newdev
1254 enable_normaliz
1255 enable_npmshtml
1256 enable_npptools
1257 enable_ntdll
1258 enable_ntdsapi
1259 enable_ntoskrnl_exe
1260 enable_ntprint
1261 enable_objsel
1262 enable_odbc32
1263 enable_odbccp32
1264 enable_odbccu32
1265 enable_ole32
1266 enable_oleacc
1267 enable_oleaut32
1268 enable_olecli32
1269 enable_oledb32
1270 enable_oledlg
1271 enable_olepro32
1272 enable_olesvr32
1273 enable_olethk32
1274 enable_openal32
1275 enable_opencl
1276 enable_opengl32
1277 enable_packager
1278 enable_pdh
1279 enable_photometadatahandler
1280 enable_pidgen
1281 enable_powrprof
1282 enable_printui
1283 enable_prntvpt
1284 enable_propsys
1285 enable_psapi
1286 enable_pstorec
1287 enable_qcap
1288 enable_qedit
1289 enable_qmgr
1290 enable_qmgrprxy
1291 enable_quartz
1292 enable_query
1293 enable_rasapi32
1294 enable_rasdlg
1295 enable_regapi
1296 enable_resutils
1297 enable_riched20
1298 enable_riched32
1299 enable_rpcrt4
1300 enable_rsabase
1301 enable_rsaenh
1302 enable_rstrtmgr
1303 enable_rtutils
1304 enable_samlib
1305 enable_sane_ds
1306 enable_scarddlg
1307 enable_sccbase
1308 enable_schannel
1309 enable_schedsvc
1310 enable_scrrun
1311 enable_scsiport_sys
1312 enable_secur32
1313 enable_security
1314 enable_sensapi
1315 enable_serialui
1316 enable_setupapi
1317 enable_sfc
1318 enable_sfc_os
1319 enable_shdoclc
1320 enable_shdocvw
1321 enable_shell32
1322 enable_shfolder
1323 enable_shlwapi
1324 enable_slbcsp
1325 enable_slc
1326 enable_snmpapi
1327 enable_softpub
1328 enable_spoolss
1329 enable_stdole2_tlb
1330 enable_stdole32_tlb
1331 enable_sti
1332 enable_svrapi
1333 enable_sxs
1334 enable_t2embed
1335 enable_tapi32
1336 enable_taskschd
1337 enable_tdi_sys
1338 enable_traffic
1339 enable_twain_32
1340 enable_ucrtbase
1341 enable_unicows
1342 enable_updspapi
1343 enable_url
1344 enable_urlmon
1345 enable_usbd_sys
1346 enable_user32
1347 enable_userenv
1348 enable_usp10
1349 enable_uxtheme
1350 enable_vbscript
1351 enable_vcomp
1352 enable_vcomp100
1353 enable_vcomp110
1354 enable_vcomp120
1355 enable_vcomp90
1356 enable_vcruntime140
1357 enable_vdmdbg
1358 enable_version
1359 enable_vssapi
1360 enable_wbemdisp
1361 enable_wbemprox
1362 enable_webservices
1363 enable_wer
1364 enable_wevtapi
1365 enable_wiaservc
1366 enable_wimgapi
1367 enable_windowscodecs
1368 enable_windowscodecsext
1369 enable_winealsa_drv
1370 enable_winecoreaudio_drv
1371 enable_wined3d
1372 enable_winegstreamer
1373 enable_winejoystick_drv
1374 enable_winemac_drv
1375 enable_winemapi
1376 enable_winemp3_acm
1377 enable_wineoss_drv
1378 enable_wineps_drv
1379 enable_winepulse_drv
1380 enable_wineqtdecoder
1381 enable_winex11_drv
1382 enable_wing32
1383 enable_winhttp
1384 enable_wininet
1385 enable_winmm
1386 enable_winnls32
1387 enable_winscard
1388 enable_winspool_drv
1389 enable_winsta
1390 enable_wintab32
1391 enable_wintrust
1392 enable_wlanapi
1393 enable_wldap32
1394 enable_wmasf
1395 enable_wmi
1396 enable_wmiutils
1397 enable_wmp
1398 enable_wmvcore
1399 enable_wnaspi32
1400 enable_wpcap
1401 enable_ws2_32
1402 enable_wshom_ocx
1403 enable_wsnmp32
1404 enable_wsock32
1405 enable_wtsapi32
1406 enable_wuapi
1407 enable_wuaueng
1408 enable_x3daudio1_0
1409 enable_x3daudio1_1
1410 enable_x3daudio1_2
1411 enable_x3daudio1_3
1412 enable_x3daudio1_4
1413 enable_x3daudio1_5
1414 enable_x3daudio1_6
1415 enable_x3daudio1_7
1416 enable_xapofx1_1
1417 enable_xapofx1_2
1418 enable_xapofx1_3
1419 enable_xapofx1_4
1420 enable_xapofx1_5
1421 enable_xaudio2_0
1422 enable_xaudio2_1
1423 enable_xaudio2_2
1424 enable_xaudio2_3
1425 enable_xaudio2_4
1426 enable_xaudio2_5
1427 enable_xaudio2_6
1428 enable_xaudio2_7
1429 enable_xaudio2_8
1430 enable_xaudio2_9
1431 enable_xinput1_1
1432 enable_xinput1_2
1433 enable_xinput1_3
1434 enable_xinput1_4
1435 enable_xinput9_1_0
1436 enable_xmllite
1437 enable_xolehlp
1438 enable_xpsprint
1439 enable_xpssvcs
1440 enable_fonts
1441 enable_include
1442 enable_libs_port
1443 enable_libs_wine
1444 enable_libs_wpp
1445 enable_loader
1446 enable_po
1447 enable_arp
1448 enable_aspnet_regiis
1449 enable_attrib
1450 enable_cabarc
1451 enable_cacls
1452 enable_clock
1453 enable_cmd
1454 enable_conhost
1455 enable_control
1456 enable_cscript
1457 enable_dpnsvr
1458 enable_dxdiag
1459 enable_eject
1460 enable_expand
1461 enable_explorer
1462 enable_extrac32
1463 enable_findstr
1464 enable_hh
1465 enable_hostname
1466 enable_icacls
1467 enable_icinfo
1468 enable_iexplore
1469 enable_ipconfig
1470 enable_lodctr
1471 enable_mofcomp
1472 enable_mshta
1473 enable_msiexec
1474 enable_net
1475 enable_netsh
1476 enable_netstat
1477 enable_ngen
1478 enable_notepad
1479 enable_oleview
1480 enable_ping
1481 enable_plugplay
1482 enable_presentationfontcache
1483 enable_progman
1484 enable_reg
1485 enable_regasm
1486 enable_regedit
1487 enable_regsvcs
1488 enable_regsvr32
1489 enable_rpcss
1490 enable_rundll32
1491 enable_sc
1492 enable_schtasks
1493 enable_sdbinst
1494 enable_secedit
1495 enable_servicemodelreg
1496 enable_services
1497 enable_shutdown
1498 enable_spoolsv
1499 enable_start
1500 enable_svchost
1501 enable_systeminfo
1502 enable_taskkill
1503 enable_tasklist
1504 enable_taskmgr
1505 enable_termsv
1506 enable_uninstaller
1507 enable_unlodctr
1508 enable_view
1509 enable_wevtutil
1510 enable_wineboot
1511 enable_winebrowser
1512 enable_winecfg
1513 enable_wineconsole
1514 enable_winedbg
1515 enable_winedevice
1516 enable_winefile
1517 enable_winemenubuilder
1518 enable_winemine
1519 enable_winemsibuilder
1520 enable_winepath
1521 enable_winetest
1522 enable_winhlp32
1523 enable_winver
1524 enable_wmic
1525 enable_wmplayer
1526 enable_wordpad
1527 enable_write
1528 enable_wscript
1529 enable_wusa
1530 enable_xcopy
1531 enable_server
1532 enable_tools
1534 ac_precious_vars='build_alias
1535 host_alias
1536 target_alias
1538 CFLAGS
1539 LDFLAGS
1540 LIBS
1541 CPPFLAGS
1543 CXXFLAGS
1546 XMKMF
1547 XML2_CFLAGS
1548 XML2_LIBS
1549 XSLT_CFLAGS
1550 XSLT_LIBS
1551 DBUS_CFLAGS
1552 DBUS_LIBS
1553 HAL_CFLAGS
1554 HAL_LIBS
1555 GNUTLS_CFLAGS
1556 GNUTLS_LIBS
1557 SANE_CFLAGS
1558 SANE_LIBS
1559 GPHOTO2_CFLAGS
1560 GPHOTO2_LIBS
1561 GPHOTO2_PORT_CFLAGS
1562 GPHOTO2_PORT_LIBS
1563 LCMS2_CFLAGS
1564 LCMS2_LIBS
1565 FREETYPE_CFLAGS
1566 FREETYPE_LIBS
1567 PULSE_CFLAGS
1568 PULSE_LIBS
1569 GSTREAMER_CFLAGS
1570 GSTREAMER_LIBS
1571 CAPI20_CFLAGS
1572 CAPI20_LIBS
1573 FONTCONFIG_CFLAGS
1574 FONTCONFIG_LIBS
1575 JPEG_CFLAGS
1576 JPEG_LIBS
1577 PNG_CFLAGS
1578 PNG_LIBS
1579 TIFF_CFLAGS
1580 TIFF_LIBS
1581 MPG123_CFLAGS
1582 MPG123_LIBS
1583 NETAPI_CFLAGS
1584 NETAPI_LIBS'
1587 # Initialize some variables set by options.
1588 ac_init_help=
1589 ac_init_version=false
1590 ac_unrecognized_opts=
1591 ac_unrecognized_sep=
1592 # The variables have the same names as the options, with
1593 # dashes changed to underlines.
1594 cache_file=/dev/null
1595 exec_prefix=NONE
1596 no_create=
1597 no_recursion=
1598 prefix=NONE
1599 program_prefix=NONE
1600 program_suffix=NONE
1601 program_transform_name=s,x,x,
1602 silent=
1603 site=
1604 srcdir=
1605 verbose=
1606 x_includes=NONE
1607 x_libraries=NONE
1609 # Installation directory options.
1610 # These are left unexpanded so users can "make install exec_prefix=/foo"
1611 # and all the variables that are supposed to be based on exec_prefix
1612 # by default will actually change.
1613 # Use braces instead of parens because sh, perl, etc. also accept them.
1614 # (The list follows the same order as the GNU Coding Standards.)
1615 bindir='${exec_prefix}/bin'
1616 sbindir='${exec_prefix}/sbin'
1617 libexecdir='${exec_prefix}/libexec'
1618 datarootdir='${prefix}/share'
1619 datadir='${datarootdir}'
1620 sysconfdir='${prefix}/etc'
1621 sharedstatedir='${prefix}/com'
1622 localstatedir='${prefix}/var'
1623 runstatedir='${localstatedir}/run'
1624 includedir='${prefix}/include'
1625 oldincludedir='/usr/include'
1626 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1627 infodir='${datarootdir}/info'
1628 htmldir='${docdir}'
1629 dvidir='${docdir}'
1630 pdfdir='${docdir}'
1631 psdir='${docdir}'
1632 libdir='${exec_prefix}/lib'
1633 localedir='${datarootdir}/locale'
1634 mandir='${datarootdir}/man'
1636 ac_prev=
1637 ac_dashdash=
1638 for ac_option
1640 # If the previous option needs an argument, assign it.
1641 if test -n "$ac_prev"; then
1642 eval $ac_prev=\$ac_option
1643 ac_prev=
1644 continue
1647 case $ac_option in
1648 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1649 *=) ac_optarg= ;;
1650 *) ac_optarg=yes ;;
1651 esac
1653 # Accept the important Cygnus configure options, so we can diagnose typos.
1655 case $ac_dashdash$ac_option in
1657 ac_dashdash=yes ;;
1659 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1660 ac_prev=bindir ;;
1661 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1662 bindir=$ac_optarg ;;
1664 -build | --build | --buil | --bui | --bu)
1665 ac_prev=build_alias ;;
1666 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1667 build_alias=$ac_optarg ;;
1669 -cache-file | --cache-file | --cache-fil | --cache-fi \
1670 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1671 ac_prev=cache_file ;;
1672 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1673 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1674 cache_file=$ac_optarg ;;
1676 --config-cache | -C)
1677 cache_file=config.cache ;;
1679 -datadir | --datadir | --datadi | --datad)
1680 ac_prev=datadir ;;
1681 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1682 datadir=$ac_optarg ;;
1684 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1685 | --dataroo | --dataro | --datar)
1686 ac_prev=datarootdir ;;
1687 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1688 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1689 datarootdir=$ac_optarg ;;
1691 -disable-* | --disable-*)
1692 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1693 # Reject names that are not valid shell variable names.
1694 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1695 as_fn_error $? "invalid feature name: $ac_useropt"
1696 ac_useropt_orig=$ac_useropt
1697 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1698 case $ac_user_opts in
1700 "enable_$ac_useropt"
1701 "*) ;;
1702 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1703 ac_unrecognized_sep=', ';;
1704 esac
1705 eval enable_$ac_useropt=no ;;
1707 -docdir | --docdir | --docdi | --doc | --do)
1708 ac_prev=docdir ;;
1709 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1710 docdir=$ac_optarg ;;
1712 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1713 ac_prev=dvidir ;;
1714 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1715 dvidir=$ac_optarg ;;
1717 -enable-* | --enable-*)
1718 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1719 # Reject names that are not valid shell variable names.
1720 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1721 as_fn_error $? "invalid feature name: $ac_useropt"
1722 ac_useropt_orig=$ac_useropt
1723 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1724 case $ac_user_opts in
1726 "enable_$ac_useropt"
1727 "*) ;;
1728 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1729 ac_unrecognized_sep=', ';;
1730 esac
1731 eval enable_$ac_useropt=\$ac_optarg ;;
1733 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1734 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1735 | --exec | --exe | --ex)
1736 ac_prev=exec_prefix ;;
1737 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1738 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1739 | --exec=* | --exe=* | --ex=*)
1740 exec_prefix=$ac_optarg ;;
1742 -gas | --gas | --ga | --g)
1743 # Obsolete; use --with-gas.
1744 with_gas=yes ;;
1746 -help | --help | --hel | --he | -h)
1747 ac_init_help=long ;;
1748 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1749 ac_init_help=recursive ;;
1750 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1751 ac_init_help=short ;;
1753 -host | --host | --hos | --ho)
1754 ac_prev=host_alias ;;
1755 -host=* | --host=* | --hos=* | --ho=*)
1756 host_alias=$ac_optarg ;;
1758 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1759 ac_prev=htmldir ;;
1760 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1761 | --ht=*)
1762 htmldir=$ac_optarg ;;
1764 -includedir | --includedir | --includedi | --included | --include \
1765 | --includ | --inclu | --incl | --inc)
1766 ac_prev=includedir ;;
1767 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1768 | --includ=* | --inclu=* | --incl=* | --inc=*)
1769 includedir=$ac_optarg ;;
1771 -infodir | --infodir | --infodi | --infod | --info | --inf)
1772 ac_prev=infodir ;;
1773 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1774 infodir=$ac_optarg ;;
1776 -libdir | --libdir | --libdi | --libd)
1777 ac_prev=libdir ;;
1778 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1779 libdir=$ac_optarg ;;
1781 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1782 | --libexe | --libex | --libe)
1783 ac_prev=libexecdir ;;
1784 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1785 | --libexe=* | --libex=* | --libe=*)
1786 libexecdir=$ac_optarg ;;
1788 -localedir | --localedir | --localedi | --localed | --locale)
1789 ac_prev=localedir ;;
1790 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1791 localedir=$ac_optarg ;;
1793 -localstatedir | --localstatedir | --localstatedi | --localstated \
1794 | --localstate | --localstat | --localsta | --localst | --locals)
1795 ac_prev=localstatedir ;;
1796 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1797 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1798 localstatedir=$ac_optarg ;;
1800 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1801 ac_prev=mandir ;;
1802 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1803 mandir=$ac_optarg ;;
1805 -nfp | --nfp | --nf)
1806 # Obsolete; use --without-fp.
1807 with_fp=no ;;
1809 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1810 | --no-cr | --no-c | -n)
1811 no_create=yes ;;
1813 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1814 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1815 no_recursion=yes ;;
1817 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1818 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1819 | --oldin | --oldi | --old | --ol | --o)
1820 ac_prev=oldincludedir ;;
1821 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1822 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1823 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1824 oldincludedir=$ac_optarg ;;
1826 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1827 ac_prev=prefix ;;
1828 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1829 prefix=$ac_optarg ;;
1831 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1832 | --program-pre | --program-pr | --program-p)
1833 ac_prev=program_prefix ;;
1834 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1835 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1836 program_prefix=$ac_optarg ;;
1838 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1839 | --program-suf | --program-su | --program-s)
1840 ac_prev=program_suffix ;;
1841 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1842 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1843 program_suffix=$ac_optarg ;;
1845 -program-transform-name | --program-transform-name \
1846 | --program-transform-nam | --program-transform-na \
1847 | --program-transform-n | --program-transform- \
1848 | --program-transform | --program-transfor \
1849 | --program-transfo | --program-transf \
1850 | --program-trans | --program-tran \
1851 | --progr-tra | --program-tr | --program-t)
1852 ac_prev=program_transform_name ;;
1853 -program-transform-name=* | --program-transform-name=* \
1854 | --program-transform-nam=* | --program-transform-na=* \
1855 | --program-transform-n=* | --program-transform-=* \
1856 | --program-transform=* | --program-transfor=* \
1857 | --program-transfo=* | --program-transf=* \
1858 | --program-trans=* | --program-tran=* \
1859 | --progr-tra=* | --program-tr=* | --program-t=*)
1860 program_transform_name=$ac_optarg ;;
1862 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1863 ac_prev=pdfdir ;;
1864 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1865 pdfdir=$ac_optarg ;;
1867 -psdir | --psdir | --psdi | --psd | --ps)
1868 ac_prev=psdir ;;
1869 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1870 psdir=$ac_optarg ;;
1872 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1873 | -silent | --silent | --silen | --sile | --sil)
1874 silent=yes ;;
1876 -runstatedir | --runstatedir | --runstatedi | --runstated \
1877 | --runstate | --runstat | --runsta | --runst | --runs \
1878 | --run | --ru | --r)
1879 ac_prev=runstatedir ;;
1880 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1881 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1882 | --run=* | --ru=* | --r=*)
1883 runstatedir=$ac_optarg ;;
1885 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1886 ac_prev=sbindir ;;
1887 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1888 | --sbi=* | --sb=*)
1889 sbindir=$ac_optarg ;;
1891 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1892 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1893 | --sharedst | --shareds | --shared | --share | --shar \
1894 | --sha | --sh)
1895 ac_prev=sharedstatedir ;;
1896 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1897 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1898 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1899 | --sha=* | --sh=*)
1900 sharedstatedir=$ac_optarg ;;
1902 -site | --site | --sit)
1903 ac_prev=site ;;
1904 -site=* | --site=* | --sit=*)
1905 site=$ac_optarg ;;
1907 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1908 ac_prev=srcdir ;;
1909 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1910 srcdir=$ac_optarg ;;
1912 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1913 | --syscon | --sysco | --sysc | --sys | --sy)
1914 ac_prev=sysconfdir ;;
1915 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1916 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1917 sysconfdir=$ac_optarg ;;
1919 -target | --target | --targe | --targ | --tar | --ta | --t)
1920 ac_prev=target_alias ;;
1921 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1922 target_alias=$ac_optarg ;;
1924 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1925 verbose=yes ;;
1927 -version | --version | --versio | --versi | --vers | -V)
1928 ac_init_version=: ;;
1930 -with-* | --with-*)
1931 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1932 # Reject names that are not valid shell variable names.
1933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1934 as_fn_error $? "invalid package name: $ac_useropt"
1935 ac_useropt_orig=$ac_useropt
1936 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1937 case $ac_user_opts in
1939 "with_$ac_useropt"
1940 "*) ;;
1941 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1942 ac_unrecognized_sep=', ';;
1943 esac
1944 eval with_$ac_useropt=\$ac_optarg ;;
1946 -without-* | --without-*)
1947 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1948 # Reject names that are not valid shell variable names.
1949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1950 as_fn_error $? "invalid package name: $ac_useropt"
1951 ac_useropt_orig=$ac_useropt
1952 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1953 case $ac_user_opts in
1955 "with_$ac_useropt"
1956 "*) ;;
1957 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1958 ac_unrecognized_sep=', ';;
1959 esac
1960 eval with_$ac_useropt=no ;;
1962 --x)
1963 # Obsolete; use --with-x.
1964 with_x=yes ;;
1966 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1967 | --x-incl | --x-inc | --x-in | --x-i)
1968 ac_prev=x_includes ;;
1969 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1970 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1971 x_includes=$ac_optarg ;;
1973 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1974 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1975 ac_prev=x_libraries ;;
1976 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1977 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1978 x_libraries=$ac_optarg ;;
1980 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1981 Try \`$0 --help' for more information"
1984 *=*)
1985 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1986 # Reject names that are not valid shell variable names.
1987 case $ac_envvar in #(
1988 '' | [0-9]* | *[!_$as_cr_alnum]* )
1989 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1990 esac
1991 eval $ac_envvar=\$ac_optarg
1992 export $ac_envvar ;;
1995 # FIXME: should be removed in autoconf 3.0.
1996 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1997 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1998 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1999 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2002 esac
2003 done
2005 if test -n "$ac_prev"; then
2006 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2007 as_fn_error $? "missing argument to $ac_option"
2010 if test -n "$ac_unrecognized_opts"; then
2011 case $enable_option_checking in
2012 no) ;;
2013 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2014 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2015 esac
2018 # Check all directory arguments for consistency.
2019 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2020 datadir sysconfdir sharedstatedir localstatedir includedir \
2021 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2022 libdir localedir mandir runstatedir
2024 eval ac_val=\$$ac_var
2025 # Remove trailing slashes.
2026 case $ac_val in
2027 */ )
2028 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2029 eval $ac_var=\$ac_val;;
2030 esac
2031 # Be sure to have absolute directory names.
2032 case $ac_val in
2033 [\\/$]* | ?:[\\/]* ) continue;;
2034 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2035 esac
2036 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2037 done
2039 # There might be people who depend on the old broken behavior: `$host'
2040 # used to hold the argument of --host etc.
2041 # FIXME: To remove some day.
2042 build=$build_alias
2043 host=$host_alias
2044 target=$target_alias
2046 # FIXME: To remove some day.
2047 if test "x$host_alias" != x; then
2048 if test "x$build_alias" = x; then
2049 cross_compiling=maybe
2050 elif test "x$build_alias" != "x$host_alias"; then
2051 cross_compiling=yes
2055 ac_tool_prefix=
2056 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2058 test "$silent" = yes && exec 6>/dev/null
2061 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2062 ac_ls_di=`ls -di .` &&
2063 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2064 as_fn_error $? "working directory cannot be determined"
2065 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2066 as_fn_error $? "pwd does not report name of working directory"
2069 # Find the source files, if location was not specified.
2070 if test -z "$srcdir"; then
2071 ac_srcdir_defaulted=yes
2072 # Try the directory containing this script, then the parent directory.
2073 ac_confdir=`$as_dirname -- "$as_myself" ||
2074 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2075 X"$as_myself" : 'X\(//\)[^/]' \| \
2076 X"$as_myself" : 'X\(//\)$' \| \
2077 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2078 $as_echo X"$as_myself" |
2079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2080 s//\1/
2083 /^X\(\/\/\)[^/].*/{
2084 s//\1/
2087 /^X\(\/\/\)$/{
2088 s//\1/
2091 /^X\(\/\).*/{
2092 s//\1/
2095 s/.*/./; q'`
2096 srcdir=$ac_confdir
2097 if test ! -r "$srcdir/$ac_unique_file"; then
2098 srcdir=..
2100 else
2101 ac_srcdir_defaulted=no
2103 if test ! -r "$srcdir/$ac_unique_file"; then
2104 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2105 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2107 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2108 ac_abs_confdir=`(
2109 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2110 pwd)`
2111 # When building in place, set srcdir=.
2112 if test "$ac_abs_confdir" = "$ac_pwd"; then
2113 srcdir=.
2115 # Remove unnecessary trailing slashes from srcdir.
2116 # Double slashes in file names in object file debugging info
2117 # mess up M-x gdb in Emacs.
2118 case $srcdir in
2119 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2120 esac
2121 for ac_var in $ac_precious_vars; do
2122 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2123 eval ac_env_${ac_var}_value=\$${ac_var}
2124 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2125 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2126 done
2129 # Report the --help message.
2131 if test "$ac_init_help" = "long"; then
2132 # Omit some internal or obsolete options to make the list less imposing.
2133 # This message is too long to be a string in the A/UX 3.1 sh.
2134 cat <<_ACEOF
2135 \`configure' configures Wine 1.9.6 to adapt to many kinds of systems.
2137 Usage: $0 [OPTION]... [VAR=VALUE]...
2139 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2140 VAR=VALUE. See below for descriptions of some of the useful variables.
2142 Defaults for the options are specified in brackets.
2144 Configuration:
2145 -h, --help display this help and exit
2146 --help=short display options specific to this package
2147 --help=recursive display the short help of all the included packages
2148 -V, --version display version information and exit
2149 -q, --quiet, --silent do not print \`checking ...' messages
2150 --cache-file=FILE cache test results in FILE [disabled]
2151 -C, --config-cache alias for \`--cache-file=config.cache'
2152 -n, --no-create do not create output files
2153 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2155 Installation directories:
2156 --prefix=PREFIX install architecture-independent files in PREFIX
2157 [$ac_default_prefix]
2158 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2159 [PREFIX]
2161 By default, \`make install' will install all the files in
2162 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2163 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2164 for instance \`--prefix=\$HOME'.
2166 For better control, use the options below.
2168 Fine tuning of the installation directories:
2169 --bindir=DIR user executables [EPREFIX/bin]
2170 --sbindir=DIR system admin executables [EPREFIX/sbin]
2171 --libexecdir=DIR program executables [EPREFIX/libexec]
2172 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2173 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2174 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2175 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2176 --libdir=DIR object code libraries [EPREFIX/lib]
2177 --includedir=DIR C header files [PREFIX/include]
2178 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2179 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2180 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2181 --infodir=DIR info documentation [DATAROOTDIR/info]
2182 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2183 --mandir=DIR man documentation [DATAROOTDIR/man]
2184 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2185 --htmldir=DIR html documentation [DOCDIR]
2186 --dvidir=DIR dvi documentation [DOCDIR]
2187 --pdfdir=DIR pdf documentation [DOCDIR]
2188 --psdir=DIR ps documentation [DOCDIR]
2189 _ACEOF
2191 cat <<\_ACEOF
2193 X features:
2194 --x-includes=DIR X include files are in DIR
2195 --x-libraries=DIR X library files are in DIR
2197 System types:
2198 --build=BUILD configure for building on BUILD [guessed]
2199 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2200 _ACEOF
2203 if test -n "$ac_init_help"; then
2204 case $ac_init_help in
2205 short | recursive ) echo "Configuration of Wine 1.9.6:";;
2206 esac
2207 cat <<\_ACEOF
2209 Optional Features:
2210 --disable-option-checking ignore unrecognized --enable/--with options
2211 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2212 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2213 --disable-win16 do not include Win16 support
2214 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2215 binaries)
2216 --disable-tests do not build the regression tests
2217 --enable-maintainer-mode
2218 enable maintainer-specific build rules
2219 --disable-largefile omit support for large files
2221 Optional Packages:
2222 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2223 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2224 --without-alsa do not use the Alsa sound support
2225 --without-capi do not use CAPI (ISDN support)
2226 --without-cms do not use CMS (color management support)
2227 --without-coreaudio do not use the CoreAudio sound support
2228 --without-cups do not use CUPS
2229 --without-curses do not use (n)curses
2230 --without-dbus do not use DBus (dynamic device support)
2231 --without-fontconfig do not use fontconfig
2232 --without-freetype do not use the FreeType library
2233 --without-gettext do not use gettext
2234 --with-gettextpo use the GetTextPO library to rebuild po files
2235 --without-gphoto do not use gphoto (Digital Camera support)
2236 --without-glu do not use the GLU library
2237 --without-gnutls do not use GnuTLS (schannel support)
2238 --without-gsm do not use libgsm (GSM 06.10 codec support)
2239 --without-gstreamer do not use GStreamer (codecs support)
2240 --without-hal do not use HAL (dynamic device support)
2241 --without-jpeg do not use JPEG
2242 --without-ldap do not use LDAP
2243 --without-mpg123 do not use the mpg123 library
2244 --without-netapi do not use the Samba NetAPI library
2245 --without-openal do not use OpenAL
2246 --without-opencl do not use OpenCL
2247 --without-opengl do not use OpenGL
2248 --without-osmesa do not use the OSMesa library
2249 --without-oss do not use the OSS sound support
2250 --without-pcap do not use the Packet Capture library
2251 --without-png do not use PNG
2252 --without-pthread do not use the pthread library
2253 --without-pulse do not use PulseAudio sound support
2254 --without-sane do not use SANE (scanner support)
2255 --without-tiff do not use TIFF
2256 --without-v4l do not use v4l1 (v4l support)
2257 --without-xcomposite do not use the Xcomposite extension
2258 --without-xcursor do not use the Xcursor extension
2259 --without-xinerama do not use Xinerama (multi-monitor support)
2260 --without-xinput do not use the Xinput extension
2261 --without-xinput2 do not use the Xinput 2 extension
2262 --without-xml do not use XML
2263 --without-xrandr do not use Xrandr (resolution changes)
2264 --without-xrender do not use the Xrender extension
2265 --without-xshape do not use the Xshape extension
2266 --without-xshm do not use XShm (shared memory extension)
2267 --without-xslt do not use XSLT
2268 --without-xxf86vm do not use XFree video mode extension
2269 --without-zlib do not use Zlib (data compression)
2270 --with-wine-tools=DIR use Wine tools from directory DIR
2271 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2272 --with-x use the X Window System
2274 Some influential environment variables:
2275 CC C compiler command
2276 CFLAGS C compiler flags
2277 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2278 nonstandard directory <lib dir>
2279 LIBS libraries to pass to the linker, e.g. -l<library>
2280 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2281 you have headers in a nonstandard directory <include dir>
2282 CXX C++ compiler command
2283 CXXFLAGS C++ compiler flags
2284 CPP C preprocessor
2285 XMKMF Path to xmkmf, Makefile generator for X Window System
2286 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2287 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2288 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2289 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2290 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2291 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2292 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2293 HAL_LIBS Linker flags for hal, overriding pkg-config
2294 GNUTLS_CFLAGS
2295 C compiler flags for gnutls, overriding pkg-config
2296 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2297 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2298 SANE_LIBS Linker flags for libsane, overriding pkg-config
2299 GPHOTO2_CFLAGS
2300 C compiler flags for libgphoto2, overriding pkg-config
2301 GPHOTO2_LIBS
2302 Linker flags for libgphoto2, overriding pkg-config
2303 GPHOTO2_PORT_CFLAGS
2304 C compiler flags for libgphoto2_port, overriding pkg-config
2305 GPHOTO2_PORT_LIBS
2306 Linker flags for libgphoto2_port, overriding pkg-config
2307 LCMS2_CFLAGS
2308 C compiler flags for lcms2, overriding pkg-config
2309 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2310 FREETYPE_CFLAGS
2311 C compiler flags for freetype2, overriding pkg-config
2312 FREETYPE_LIBS
2313 Linker flags for freetype2, overriding pkg-config
2314 PULSE_CFLAGS
2315 C compiler flags for libpulse, overriding pkg-config
2316 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2317 GSTREAMER_CFLAGS
2318 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2319 gstreamer-audio-1.0, overriding pkg-config
2320 GSTREAMER_LIBS
2321 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2322 gstreamer-audio-1.0, overriding pkg-config
2323 CAPI20_CFLAGS
2324 C compiler flags for capi20, overriding pkg-config
2325 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2326 FONTCONFIG_CFLAGS
2327 C compiler flags for fontconfig, overriding pkg-config
2328 FONTCONFIG_LIBS
2329 Linker flags for fontconfig, overriding pkg-config
2330 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2331 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2332 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2333 PNG_LIBS Linker flags for libpng, overriding pkg-config
2334 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2335 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2336 MPG123_CFLAGS
2337 C compiler flags for libmpg123, overriding pkg-config
2338 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2339 NETAPI_CFLAGS
2340 C compiler flags for netapi, overriding pkg-config
2341 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2343 Use these variables to override the choices made by `configure' or to help
2344 it to find libraries and programs with nonstandard names/locations.
2346 Report bugs to <wine-devel@winehq.org>.
2347 Wine home page: <http://www.winehq.org>.
2348 _ACEOF
2349 ac_status=$?
2352 if test "$ac_init_help" = "recursive"; then
2353 # If there are subdirs, report their specific --help.
2354 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2355 test -d "$ac_dir" ||
2356 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2357 continue
2358 ac_builddir=.
2360 case "$ac_dir" in
2361 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2363 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2364 # A ".." for each directory in $ac_dir_suffix.
2365 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2366 case $ac_top_builddir_sub in
2367 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2368 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2369 esac ;;
2370 esac
2371 ac_abs_top_builddir=$ac_pwd
2372 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2373 # for backward compatibility:
2374 ac_top_builddir=$ac_top_build_prefix
2376 case $srcdir in
2377 .) # We are building in place.
2378 ac_srcdir=.
2379 ac_top_srcdir=$ac_top_builddir_sub
2380 ac_abs_top_srcdir=$ac_pwd ;;
2381 [\\/]* | ?:[\\/]* ) # Absolute name.
2382 ac_srcdir=$srcdir$ac_dir_suffix;
2383 ac_top_srcdir=$srcdir
2384 ac_abs_top_srcdir=$srcdir ;;
2385 *) # Relative name.
2386 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2387 ac_top_srcdir=$ac_top_build_prefix$srcdir
2388 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2389 esac
2390 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2392 cd "$ac_dir" || { ac_status=$?; continue; }
2393 # Check for guested configure.
2394 if test -f "$ac_srcdir/configure.gnu"; then
2395 echo &&
2396 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2397 elif test -f "$ac_srcdir/configure"; then
2398 echo &&
2399 $SHELL "$ac_srcdir/configure" --help=recursive
2400 else
2401 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2402 fi || ac_status=$?
2403 cd "$ac_pwd" || { ac_status=$?; break; }
2404 done
2407 test -n "$ac_init_help" && exit $ac_status
2408 if $ac_init_version; then
2409 cat <<\_ACEOF
2410 Wine configure 1.9.6
2411 generated by GNU Autoconf 2.69
2413 Copyright (C) 2012 Free Software Foundation, Inc.
2414 This configure script is free software; the Free Software Foundation
2415 gives unlimited permission to copy, distribute and modify it.
2416 _ACEOF
2417 exit
2420 ## ------------------------ ##
2421 ## Autoconf initialization. ##
2422 ## ------------------------ ##
2424 # ac_fn_c_try_compile LINENO
2425 # --------------------------
2426 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2427 ac_fn_c_try_compile ()
2429 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2430 rm -f conftest.$ac_objext
2431 if { { ac_try="$ac_compile"
2432 case "(($ac_try" in
2433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2434 *) ac_try_echo=$ac_try;;
2435 esac
2436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2437 $as_echo "$ac_try_echo"; } >&5
2438 (eval "$ac_compile") 2>conftest.err
2439 ac_status=$?
2440 if test -s conftest.err; then
2441 grep -v '^ *+' conftest.err >conftest.er1
2442 cat conftest.er1 >&5
2443 mv -f conftest.er1 conftest.err
2445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2446 test $ac_status = 0; } && {
2447 test -z "$ac_c_werror_flag" ||
2448 test ! -s conftest.err
2449 } && test -s conftest.$ac_objext; then :
2450 ac_retval=0
2451 else
2452 $as_echo "$as_me: failed program was:" >&5
2453 sed 's/^/| /' conftest.$ac_ext >&5
2455 ac_retval=1
2457 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2458 as_fn_set_status $ac_retval
2460 } # ac_fn_c_try_compile
2462 # ac_fn_cxx_try_compile LINENO
2463 # ----------------------------
2464 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2465 ac_fn_cxx_try_compile ()
2467 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2468 rm -f conftest.$ac_objext
2469 if { { ac_try="$ac_compile"
2470 case "(($ac_try" in
2471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2472 *) ac_try_echo=$ac_try;;
2473 esac
2474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2475 $as_echo "$ac_try_echo"; } >&5
2476 (eval "$ac_compile") 2>conftest.err
2477 ac_status=$?
2478 if test -s conftest.err; then
2479 grep -v '^ *+' conftest.err >conftest.er1
2480 cat conftest.er1 >&5
2481 mv -f conftest.er1 conftest.err
2483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2484 test $ac_status = 0; } && {
2485 test -z "$ac_cxx_werror_flag" ||
2486 test ! -s conftest.err
2487 } && test -s conftest.$ac_objext; then :
2488 ac_retval=0
2489 else
2490 $as_echo "$as_me: failed program was:" >&5
2491 sed 's/^/| /' conftest.$ac_ext >&5
2493 ac_retval=1
2495 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2496 as_fn_set_status $ac_retval
2498 } # ac_fn_cxx_try_compile
2500 # ac_fn_c_try_link LINENO
2501 # -----------------------
2502 # Try to link conftest.$ac_ext, and return whether this succeeded.
2503 ac_fn_c_try_link ()
2505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2506 rm -f conftest.$ac_objext conftest$ac_exeext
2507 if { { ac_try="$ac_link"
2508 case "(($ac_try" in
2509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2510 *) ac_try_echo=$ac_try;;
2511 esac
2512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2513 $as_echo "$ac_try_echo"; } >&5
2514 (eval "$ac_link") 2>conftest.err
2515 ac_status=$?
2516 if test -s conftest.err; then
2517 grep -v '^ *+' conftest.err >conftest.er1
2518 cat conftest.er1 >&5
2519 mv -f conftest.er1 conftest.err
2521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2522 test $ac_status = 0; } && {
2523 test -z "$ac_c_werror_flag" ||
2524 test ! -s conftest.err
2525 } && test -s conftest$ac_exeext && {
2526 test "$cross_compiling" = yes ||
2527 test -x conftest$ac_exeext
2528 }; then :
2529 ac_retval=0
2530 else
2531 $as_echo "$as_me: failed program was:" >&5
2532 sed 's/^/| /' conftest.$ac_ext >&5
2534 ac_retval=1
2536 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2537 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2538 # interfere with the next link command; also delete a directory that is
2539 # left behind by Apple's compiler. We do this before executing the actions.
2540 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2542 as_fn_set_status $ac_retval
2544 } # ac_fn_c_try_link
2546 # ac_fn_c_try_cpp LINENO
2547 # ----------------------
2548 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2549 ac_fn_c_try_cpp ()
2551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2552 if { { ac_try="$ac_cpp conftest.$ac_ext"
2553 case "(($ac_try" in
2554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2555 *) ac_try_echo=$ac_try;;
2556 esac
2557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2558 $as_echo "$ac_try_echo"; } >&5
2559 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2560 ac_status=$?
2561 if test -s conftest.err; then
2562 grep -v '^ *+' conftest.err >conftest.er1
2563 cat conftest.er1 >&5
2564 mv -f conftest.er1 conftest.err
2566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2567 test $ac_status = 0; } > conftest.i && {
2568 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2569 test ! -s conftest.err
2570 }; then :
2571 ac_retval=0
2572 else
2573 $as_echo "$as_me: failed program was:" >&5
2574 sed 's/^/| /' conftest.$ac_ext >&5
2576 ac_retval=1
2578 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2579 as_fn_set_status $ac_retval
2581 } # ac_fn_c_try_cpp
2583 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2584 # -------------------------------------------------------
2585 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2586 # the include files in INCLUDES and setting the cache variable VAR
2587 # accordingly.
2588 ac_fn_c_check_header_mongrel ()
2590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2591 if eval \${$3+:} false; then :
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2593 $as_echo_n "checking for $2... " >&6; }
2594 if eval \${$3+:} false; then :
2595 $as_echo_n "(cached) " >&6
2597 eval ac_res=\$$3
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2599 $as_echo "$ac_res" >&6; }
2600 else
2601 # Is the header compilable?
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2603 $as_echo_n "checking $2 usability... " >&6; }
2604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2605 /* end confdefs.h. */
2607 #include <$2>
2608 _ACEOF
2609 if ac_fn_c_try_compile "$LINENO"; then :
2610 ac_header_compiler=yes
2611 else
2612 ac_header_compiler=no
2614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2616 $as_echo "$ac_header_compiler" >&6; }
2618 # Is the header present?
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2620 $as_echo_n "checking $2 presence... " >&6; }
2621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2622 /* end confdefs.h. */
2623 #include <$2>
2624 _ACEOF
2625 if ac_fn_c_try_cpp "$LINENO"; then :
2626 ac_header_preproc=yes
2627 else
2628 ac_header_preproc=no
2630 rm -f conftest.err conftest.i conftest.$ac_ext
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2632 $as_echo "$ac_header_preproc" >&6; }
2634 # So? What about this header?
2635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2636 yes:no: )
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2638 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2640 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2642 no:yes:* )
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2644 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2646 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2648 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2650 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2652 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2653 ( $as_echo "## ------------------------------------ ##
2654 ## Report this to wine-devel@winehq.org ##
2655 ## ------------------------------------ ##"
2656 ) | sed "s/^/$as_me: WARNING: /" >&2
2658 esac
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2660 $as_echo_n "checking for $2... " >&6; }
2661 if eval \${$3+:} false; then :
2662 $as_echo_n "(cached) " >&6
2663 else
2664 eval "$3=\$ac_header_compiler"
2666 eval ac_res=\$$3
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2668 $as_echo "$ac_res" >&6; }
2670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2672 } # ac_fn_c_check_header_mongrel
2674 # ac_fn_c_try_run LINENO
2675 # ----------------------
2676 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2677 # that executables *can* be run.
2678 ac_fn_c_try_run ()
2680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2681 if { { ac_try="$ac_link"
2682 case "(($ac_try" in
2683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2684 *) ac_try_echo=$ac_try;;
2685 esac
2686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2687 $as_echo "$ac_try_echo"; } >&5
2688 (eval "$ac_link") 2>&5
2689 ac_status=$?
2690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2691 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2692 { { case "(($ac_try" in
2693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2694 *) ac_try_echo=$ac_try;;
2695 esac
2696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2697 $as_echo "$ac_try_echo"; } >&5
2698 (eval "$ac_try") 2>&5
2699 ac_status=$?
2700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2701 test $ac_status = 0; }; }; then :
2702 ac_retval=0
2703 else
2704 $as_echo "$as_me: program exited with status $ac_status" >&5
2705 $as_echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2708 ac_retval=$ac_status
2710 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2712 as_fn_set_status $ac_retval
2714 } # ac_fn_c_try_run
2716 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2717 # -------------------------------------------------------
2718 # Tests whether HEADER exists and can be compiled using the include files in
2719 # INCLUDES, setting the cache variable VAR accordingly.
2720 ac_fn_c_check_header_compile ()
2722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2724 $as_echo_n "checking for $2... " >&6; }
2725 if eval \${$3+:} false; then :
2726 $as_echo_n "(cached) " >&6
2727 else
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2731 #include <$2>
2732 _ACEOF
2733 if ac_fn_c_try_compile "$LINENO"; then :
2734 eval "$3=yes"
2735 else
2736 eval "$3=no"
2738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2740 eval ac_res=\$$3
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2742 $as_echo "$ac_res" >&6; }
2743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2745 } # ac_fn_c_check_header_compile
2747 # ac_fn_c_check_func LINENO FUNC VAR
2748 # ----------------------------------
2749 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2750 ac_fn_c_check_func ()
2752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2754 $as_echo_n "checking for $2... " >&6; }
2755 if eval \${$3+:} false; then :
2756 $as_echo_n "(cached) " >&6
2757 else
2758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2759 /* end confdefs.h. */
2760 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2762 #define $2 innocuous_$2
2764 /* System header to define __stub macros and hopefully few prototypes,
2765 which can conflict with char $2 (); below.
2766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2767 <limits.h> exists even on freestanding compilers. */
2769 #ifdef __STDC__
2770 # include <limits.h>
2771 #else
2772 # include <assert.h>
2773 #endif
2775 #undef $2
2777 /* Override any GCC internal prototype to avoid an error.
2778 Use char because int might match the return type of a GCC
2779 builtin and then its argument prototype would still apply. */
2780 #ifdef __cplusplus
2781 extern "C"
2782 #endif
2783 char $2 ();
2784 /* The GNU C library defines this for functions which it implements
2785 to always fail with ENOSYS. Some functions are actually named
2786 something starting with __ and the normal name is an alias. */
2787 #if defined __stub_$2 || defined __stub___$2
2788 choke me
2789 #endif
2792 main ()
2794 return $2 ();
2796 return 0;
2798 _ACEOF
2799 if ac_fn_c_try_link "$LINENO"; then :
2800 eval "$3=yes"
2801 else
2802 eval "$3=no"
2804 rm -f core conftest.err conftest.$ac_objext \
2805 conftest$ac_exeext conftest.$ac_ext
2807 eval ac_res=\$$3
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2809 $as_echo "$ac_res" >&6; }
2810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2812 } # ac_fn_c_check_func
2814 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2815 # ----------------------------------------------------
2816 # Tries to find if the field MEMBER exists in type AGGR, after including
2817 # INCLUDES, setting cache variable VAR accordingly.
2818 ac_fn_c_check_member ()
2820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2822 $as_echo_n "checking for $2.$3... " >&6; }
2823 if eval \${$4+:} false; then :
2824 $as_echo_n "(cached) " >&6
2825 else
2826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2827 /* end confdefs.h. */
2830 main ()
2832 static $2 ac_aggr;
2833 if (ac_aggr.$3)
2834 return 0;
2836 return 0;
2838 _ACEOF
2839 if ac_fn_c_try_compile "$LINENO"; then :
2840 eval "$4=yes"
2841 else
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2846 main ()
2848 static $2 ac_aggr;
2849 if (sizeof ac_aggr.$3)
2850 return 0;
2852 return 0;
2854 _ACEOF
2855 if ac_fn_c_try_compile "$LINENO"; then :
2856 eval "$4=yes"
2857 else
2858 eval "$4=no"
2860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 eval ac_res=\$$4
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2866 $as_echo "$ac_res" >&6; }
2867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 } # ac_fn_c_check_member
2871 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2872 # -------------------------------------------
2873 # Tests whether TYPE exists after having included INCLUDES, setting cache
2874 # variable VAR accordingly.
2875 ac_fn_c_check_type ()
2877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2879 $as_echo_n "checking for $2... " >&6; }
2880 if eval \${$3+:} false; then :
2881 $as_echo_n "(cached) " >&6
2882 else
2883 eval "$3=no"
2884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2888 main ()
2890 if (sizeof ($2))
2891 return 0;
2893 return 0;
2895 _ACEOF
2896 if ac_fn_c_try_compile "$LINENO"; then :
2897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2898 /* end confdefs.h. */
2901 main ()
2903 if (sizeof (($2)))
2904 return 0;
2906 return 0;
2908 _ACEOF
2909 if ac_fn_c_try_compile "$LINENO"; then :
2911 else
2912 eval "$3=yes"
2914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2918 eval ac_res=\$$3
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2920 $as_echo "$ac_res" >&6; }
2921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2923 } # ac_fn_c_check_type
2924 cat >config.log <<_ACEOF
2925 This file contains any messages produced by compilers while
2926 running configure, to aid debugging if configure makes a mistake.
2928 It was created by Wine $as_me 1.9.6, which was
2929 generated by GNU Autoconf 2.69. Invocation command line was
2931 $ $0 $@
2933 _ACEOF
2934 exec 5>>config.log
2936 cat <<_ASUNAME
2937 ## --------- ##
2938 ## Platform. ##
2939 ## --------- ##
2941 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2942 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2943 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2944 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2945 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2947 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2948 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2950 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2951 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2952 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2953 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2954 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2955 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2956 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2958 _ASUNAME
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 for as_dir in $PATH
2963 IFS=$as_save_IFS
2964 test -z "$as_dir" && as_dir=.
2965 $as_echo "PATH: $as_dir"
2966 done
2967 IFS=$as_save_IFS
2969 } >&5
2971 cat >&5 <<_ACEOF
2974 ## ----------- ##
2975 ## Core tests. ##
2976 ## ----------- ##
2978 _ACEOF
2981 # Keep a trace of the command line.
2982 # Strip out --no-create and --no-recursion so they do not pile up.
2983 # Strip out --silent because we don't want to record it for future runs.
2984 # Also quote any args containing shell meta-characters.
2985 # Make two passes to allow for proper duplicate-argument suppression.
2986 ac_configure_args=
2987 ac_configure_args0=
2988 ac_configure_args1=
2989 ac_must_keep_next=false
2990 for ac_pass in 1 2
2992 for ac_arg
2994 case $ac_arg in
2995 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2996 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2997 | -silent | --silent | --silen | --sile | --sil)
2998 continue ;;
2999 *\'*)
3000 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3001 esac
3002 case $ac_pass in
3003 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3005 as_fn_append ac_configure_args1 " '$ac_arg'"
3006 if test $ac_must_keep_next = true; then
3007 ac_must_keep_next=false # Got value, back to normal.
3008 else
3009 case $ac_arg in
3010 *=* | --config-cache | -C | -disable-* | --disable-* \
3011 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3012 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3013 | -with-* | --with-* | -without-* | --without-* | --x)
3014 case "$ac_configure_args0 " in
3015 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3016 esac
3018 -* ) ac_must_keep_next=true ;;
3019 esac
3021 as_fn_append ac_configure_args " '$ac_arg'"
3023 esac
3024 done
3025 done
3026 { ac_configure_args0=; unset ac_configure_args0;}
3027 { ac_configure_args1=; unset ac_configure_args1;}
3029 # When interrupted or exit'd, cleanup temporary files, and complete
3030 # config.log. We remove comments because anyway the quotes in there
3031 # would cause problems or look ugly.
3032 # WARNING: Use '\'' to represent an apostrophe within the trap.
3033 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3034 trap 'exit_status=$?
3035 # Save into config.log some information that might help in debugging.
3037 echo
3039 $as_echo "## ---------------- ##
3040 ## Cache variables. ##
3041 ## ---------------- ##"
3042 echo
3043 # The following way of writing the cache mishandles newlines in values,
3045 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3046 eval ac_val=\$$ac_var
3047 case $ac_val in #(
3048 *${as_nl}*)
3049 case $ac_var in #(
3050 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3051 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3052 esac
3053 case $ac_var in #(
3054 _ | IFS | as_nl) ;; #(
3055 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3056 *) { eval $ac_var=; unset $ac_var;} ;;
3057 esac ;;
3058 esac
3059 done
3060 (set) 2>&1 |
3061 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3062 *${as_nl}ac_space=\ *)
3063 sed -n \
3064 "s/'\''/'\''\\\\'\'''\''/g;
3065 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3066 ;; #(
3068 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3070 esac |
3071 sort
3073 echo
3075 $as_echo "## ----------------- ##
3076 ## Output variables. ##
3077 ## ----------------- ##"
3078 echo
3079 for ac_var in $ac_subst_vars
3081 eval ac_val=\$$ac_var
3082 case $ac_val in
3083 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3084 esac
3085 $as_echo "$ac_var='\''$ac_val'\''"
3086 done | sort
3087 echo
3089 if test -n "$ac_subst_files"; then
3090 $as_echo "## ------------------- ##
3091 ## File substitutions. ##
3092 ## ------------------- ##"
3093 echo
3094 for ac_var in $ac_subst_files
3096 eval ac_val=\$$ac_var
3097 case $ac_val in
3098 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3099 esac
3100 $as_echo "$ac_var='\''$ac_val'\''"
3101 done | sort
3102 echo
3105 if test -s confdefs.h; then
3106 $as_echo "## ----------- ##
3107 ## confdefs.h. ##
3108 ## ----------- ##"
3109 echo
3110 cat confdefs.h
3111 echo
3113 test "$ac_signal" != 0 &&
3114 $as_echo "$as_me: caught signal $ac_signal"
3115 $as_echo "$as_me: exit $exit_status"
3116 } >&5
3117 rm -f core *.core core.conftest.* &&
3118 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3119 exit $exit_status
3121 for ac_signal in 1 2 13 15; do
3122 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3123 done
3124 ac_signal=0
3126 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3127 rm -f -r conftest* confdefs.h
3129 $as_echo "/* confdefs.h */" > confdefs.h
3131 # Predefined preprocessor variables.
3133 cat >>confdefs.h <<_ACEOF
3134 #define PACKAGE_NAME "$PACKAGE_NAME"
3135 _ACEOF
3137 cat >>confdefs.h <<_ACEOF
3138 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3139 _ACEOF
3141 cat >>confdefs.h <<_ACEOF
3142 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3143 _ACEOF
3145 cat >>confdefs.h <<_ACEOF
3146 #define PACKAGE_STRING "$PACKAGE_STRING"
3147 _ACEOF
3149 cat >>confdefs.h <<_ACEOF
3150 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3151 _ACEOF
3153 cat >>confdefs.h <<_ACEOF
3154 #define PACKAGE_URL "$PACKAGE_URL"
3155 _ACEOF
3158 # Let the site file select an alternate cache file if it wants to.
3159 # Prefer an explicitly selected file to automatically selected ones.
3160 ac_site_file1=NONE
3161 ac_site_file2=NONE
3162 if test -n "$CONFIG_SITE"; then
3163 # We do not want a PATH search for config.site.
3164 case $CONFIG_SITE in #((
3165 -*) ac_site_file1=./$CONFIG_SITE;;
3166 */*) ac_site_file1=$CONFIG_SITE;;
3167 *) ac_site_file1=./$CONFIG_SITE;;
3168 esac
3169 elif test "x$prefix" != xNONE; then
3170 ac_site_file1=$prefix/share/config.site
3171 ac_site_file2=$prefix/etc/config.site
3172 else
3173 ac_site_file1=$ac_default_prefix/share/config.site
3174 ac_site_file2=$ac_default_prefix/etc/config.site
3176 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3178 test "x$ac_site_file" = xNONE && continue
3179 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3181 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3182 sed 's/^/| /' "$ac_site_file" >&5
3183 . "$ac_site_file" \
3184 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3186 as_fn_error $? "failed to load site script $ac_site_file
3187 See \`config.log' for more details" "$LINENO" 5; }
3189 done
3191 if test -r "$cache_file"; then
3192 # Some versions of bash will fail to source /dev/null (special files
3193 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3194 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3196 $as_echo "$as_me: loading cache $cache_file" >&6;}
3197 case $cache_file in
3198 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3199 *) . "./$cache_file";;
3200 esac
3202 else
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3204 $as_echo "$as_me: creating cache $cache_file" >&6;}
3205 >$cache_file
3208 # Check that the precious variables saved in the cache have kept the same
3209 # value.
3210 ac_cache_corrupted=false
3211 for ac_var in $ac_precious_vars; do
3212 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3213 eval ac_new_set=\$ac_env_${ac_var}_set
3214 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3215 eval ac_new_val=\$ac_env_${ac_var}_value
3216 case $ac_old_set,$ac_new_set in
3217 set,)
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3219 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3220 ac_cache_corrupted=: ;;
3221 ,set)
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3223 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3224 ac_cache_corrupted=: ;;
3225 ,);;
3227 if test "x$ac_old_val" != "x$ac_new_val"; then
3228 # differences in whitespace do not lead to failure.
3229 ac_old_val_w=`echo x $ac_old_val`
3230 ac_new_val_w=`echo x $ac_new_val`
3231 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3233 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3234 ac_cache_corrupted=:
3235 else
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3237 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3238 eval $ac_var=\$ac_old_val
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3241 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3243 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3244 fi;;
3245 esac
3246 # Pass precious variables to config.status.
3247 if test "$ac_new_set" = set; then
3248 case $ac_new_val in
3249 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3250 *) ac_arg=$ac_var=$ac_new_val ;;
3251 esac
3252 case " $ac_configure_args " in
3253 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3254 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3255 esac
3257 done
3258 if $ac_cache_corrupted; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3262 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3263 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3265 ## -------------------- ##
3266 ## Main body of script. ##
3267 ## -------------------- ##
3269 ac_ext=c
3270 ac_cpp='$CPP $CPPFLAGS'
3271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3277 ac_config_headers="$ac_config_headers include/config.h"
3279 ac_aux_dir=
3280 for ac_dir in tools "$srcdir"/tools; do
3281 if test -f "$ac_dir/install-sh"; then
3282 ac_aux_dir=$ac_dir
3283 ac_install_sh="$ac_aux_dir/install-sh -c"
3284 break
3285 elif test -f "$ac_dir/install.sh"; then
3286 ac_aux_dir=$ac_dir
3287 ac_install_sh="$ac_aux_dir/install.sh -c"
3288 break
3289 elif test -f "$ac_dir/shtool"; then
3290 ac_aux_dir=$ac_dir
3291 ac_install_sh="$ac_aux_dir/shtool install -c"
3292 break
3294 done
3295 if test -z "$ac_aux_dir"; then
3296 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3299 # These three variables are undocumented and unsupported,
3300 # and are intended to be withdrawn in a future Autoconf release.
3301 # They can cause serious problems if a builder's source tree is in a directory
3302 # whose full name contains unusual characters.
3303 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3304 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3305 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3309 libwine_version="1.0"
3313 # Check whether --enable-win16 was given.
3314 if test "${enable_win16+set}" = set; then :
3315 enableval=$enable_win16;
3318 # Check whether --enable-win64 was given.
3319 if test "${enable_win64+set}" = set; then :
3320 enableval=$enable_win64;
3323 # Check whether --enable-tests was given.
3324 if test "${enable_tests+set}" = set; then :
3325 enableval=$enable_tests;
3328 # Check whether --enable-maintainer-mode was given.
3329 if test "${enable_maintainer_mode+set}" = set; then :
3330 enableval=$enable_maintainer_mode;
3335 # Check whether --with-alsa was given.
3336 if test "${with_alsa+set}" = set; then :
3337 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3341 # Check whether --with-capi was given.
3342 if test "${with_capi+set}" = set; then :
3343 withval=$with_capi;
3347 # Check whether --with-cms was given.
3348 if test "${with_cms+set}" = set; then :
3349 withval=$with_cms;
3353 # Check whether --with-coreaudio was given.
3354 if test "${with_coreaudio+set}" = set; then :
3355 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3359 # Check whether --with-cups was given.
3360 if test "${with_cups+set}" = set; then :
3361 withval=$with_cups;
3365 # Check whether --with-curses was given.
3366 if test "${with_curses+set}" = set; then :
3367 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3371 # Check whether --with-dbus was given.
3372 if test "${with_dbus+set}" = set; then :
3373 withval=$with_dbus;
3377 # Check whether --with-fontconfig was given.
3378 if test "${with_fontconfig+set}" = set; then :
3379 withval=$with_fontconfig;
3383 # Check whether --with-freetype was given.
3384 if test "${with_freetype+set}" = set; then :
3385 withval=$with_freetype;
3389 # Check whether --with-gettext was given.
3390 if test "${with_gettext+set}" = set; then :
3391 withval=$with_gettext;
3395 # Check whether --with-gettextpo was given.
3396 if test "${with_gettextpo+set}" = set; then :
3397 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3401 # Check whether --with-gphoto was given.
3402 if test "${with_gphoto+set}" = set; then :
3403 withval=$with_gphoto;
3407 # Check whether --with-glu was given.
3408 if test "${with_glu+set}" = set; then :
3409 withval=$with_glu;
3413 # Check whether --with-gnutls was given.
3414 if test "${with_gnutls+set}" = set; then :
3415 withval=$with_gnutls;
3419 # Check whether --with-gsm was given.
3420 if test "${with_gsm+set}" = set; then :
3421 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3425 # Check whether --with-gstreamer was given.
3426 if test "${with_gstreamer+set}" = set; then :
3427 withval=$with_gstreamer;
3431 # Check whether --with-hal was given.
3432 if test "${with_hal+set}" = set; then :
3433 withval=$with_hal;
3437 # Check whether --with-jpeg was given.
3438 if test "${with_jpeg+set}" = set; then :
3439 withval=$with_jpeg;
3443 # Check whether --with-ldap was given.
3444 if test "${with_ldap+set}" = set; then :
3445 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3449 # Check whether --with-mpg123 was given.
3450 if test "${with_mpg123+set}" = set; then :
3451 withval=$with_mpg123;
3455 # Check whether --with-netapi was given.
3456 if test "${with_netapi+set}" = set; then :
3457 withval=$with_netapi;
3461 # Check whether --with-openal was given.
3462 if test "${with_openal+set}" = set; then :
3463 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3467 # Check whether --with-opencl was given.
3468 if test "${with_opencl+set}" = set; then :
3469 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3473 # Check whether --with-opengl was given.
3474 if test "${with_opengl+set}" = set; then :
3475 withval=$with_opengl;
3479 # Check whether --with-osmesa was given.
3480 if test "${with_osmesa+set}" = set; then :
3481 withval=$with_osmesa;
3485 # Check whether --with-oss was given.
3486 if test "${with_oss+set}" = set; then :
3487 withval=$with_oss;
3491 # Check whether --with-pcap was given.
3492 if test "${with_pcap+set}" = set; then :
3493 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3497 # Check whether --with-png was given.
3498 if test "${with_png+set}" = set; then :
3499 withval=$with_png;
3503 # Check whether --with-pthread was given.
3504 if test "${with_pthread+set}" = set; then :
3505 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3509 # Check whether --with-pulse was given.
3510 if test "${with_pulse+set}" = set; then :
3511 withval=$with_pulse;
3515 # Check whether --with-sane was given.
3516 if test "${with_sane+set}" = set; then :
3517 withval=$with_sane;
3521 # Check whether --with-tiff was given.
3522 if test "${with_tiff+set}" = set; then :
3523 withval=$with_tiff;
3527 # Check whether --with-v4l was given.
3528 if test "${with_v4l+set}" = set; then :
3529 withval=$with_v4l;
3533 # Check whether --with-xcomposite was given.
3534 if test "${with_xcomposite+set}" = set; then :
3535 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3539 # Check whether --with-xcursor was given.
3540 if test "${with_xcursor+set}" = set; then :
3541 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3545 # Check whether --with-xinerama was given.
3546 if test "${with_xinerama+set}" = set; then :
3547 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3551 # Check whether --with-xinput was given.
3552 if test "${with_xinput+set}" = set; then :
3553 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3557 # Check whether --with-xinput2 was given.
3558 if test "${with_xinput2+set}" = set; then :
3559 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3563 # Check whether --with-xml was given.
3564 if test "${with_xml+set}" = set; then :
3565 withval=$with_xml;
3569 # Check whether --with-xrandr was given.
3570 if test "${with_xrandr+set}" = set; then :
3571 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3575 # Check whether --with-xrender was given.
3576 if test "${with_xrender+set}" = set; then :
3577 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3581 # Check whether --with-xshape was given.
3582 if test "${with_xshape+set}" = set; then :
3583 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3587 # Check whether --with-xshm was given.
3588 if test "${with_xshm+set}" = set; then :
3589 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3593 # Check whether --with-xslt was given.
3594 if test "${with_xslt+set}" = set; then :
3595 withval=$with_xslt;
3599 # Check whether --with-xxf86vm was given.
3600 if test "${with_xxf86vm+set}" = set; then :
3601 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
3605 # Check whether --with-zlib was given.
3606 if test "${with_zlib+set}" = set; then :
3607 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3612 # Check whether --with-wine-tools was given.
3613 if test "${with_wine_tools+set}" = set; then :
3614 withval=$with_wine_tools;
3618 # Check whether --with-wine64 was given.
3619 if test "${with_wine64+set}" = set; then :
3620 withval=$with_wine64;
3624 # Make sure we can run config.sub.
3625 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3626 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3629 $as_echo_n "checking build system type... " >&6; }
3630 if ${ac_cv_build+:} false; then :
3631 $as_echo_n "(cached) " >&6
3632 else
3633 ac_build_alias=$build_alias
3634 test "x$ac_build_alias" = x &&
3635 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3636 test "x$ac_build_alias" = x &&
3637 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3638 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3639 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3643 $as_echo "$ac_cv_build" >&6; }
3644 case $ac_cv_build in
3645 *-*-*) ;;
3646 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3647 esac
3648 build=$ac_cv_build
3649 ac_save_IFS=$IFS; IFS='-'
3650 set x $ac_cv_build
3651 shift
3652 build_cpu=$1
3653 build_vendor=$2
3654 shift; shift
3655 # Remember, the first character of IFS is used to create $*,
3656 # except with old shells:
3657 build_os=$*
3658 IFS=$ac_save_IFS
3659 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3663 $as_echo_n "checking host system type... " >&6; }
3664 if ${ac_cv_host+:} false; then :
3665 $as_echo_n "(cached) " >&6
3666 else
3667 if test "x$host_alias" = x; then
3668 ac_cv_host=$ac_cv_build
3669 else
3670 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3671 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3676 $as_echo "$ac_cv_host" >&6; }
3677 case $ac_cv_host in
3678 *-*-*) ;;
3679 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3680 esac
3681 host=$ac_cv_host
3682 ac_save_IFS=$IFS; IFS='-'
3683 set x $ac_cv_host
3684 shift
3685 host_cpu=$1
3686 host_vendor=$2
3687 shift; shift
3688 # Remember, the first character of IFS is used to create $*,
3689 # except with old shells:
3690 host_os=$*
3691 IFS=$ac_save_IFS
3692 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3696 case "$srcdir" in
3697 .) ;;
3698 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3699 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3700 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3701 fi ;;
3702 esac
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3706 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3707 set x ${MAKE-make}
3708 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3709 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3710 $as_echo_n "(cached) " >&6
3711 else
3712 cat >conftest.make <<\_ACEOF
3713 SHELL = /bin/sh
3714 all:
3715 @echo '@@@%%%=$(MAKE)=@@@%%%'
3716 _ACEOF
3717 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3718 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3719 *@@@%%%=?*=@@@%%%*)
3720 eval ac_cv_prog_make_${ac_make}_set=yes;;
3722 eval ac_cv_prog_make_${ac_make}_set=no;;
3723 esac
3724 rm -f conftest.make
3726 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3728 $as_echo "yes" >&6; }
3729 SET_MAKE=
3730 else
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3732 $as_echo "no" >&6; }
3733 SET_MAKE="MAKE=${MAKE-make}"
3736 ac_ext=c
3737 ac_cpp='$CPP $CPPFLAGS'
3738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3741 if test -n "$ac_tool_prefix"; then
3742 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3743 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if ${ac_cv_prog_CC+:} false; then :
3747 $as_echo_n "(cached) " >&6
3748 else
3749 if test -n "$CC"; then
3750 ac_cv_prog_CC="$CC" # Let the user override the test.
3751 else
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 for as_dir in $PATH
3755 IFS=$as_save_IFS
3756 test -z "$as_dir" && as_dir=.
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3759 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 break 2
3763 done
3764 done
3765 IFS=$as_save_IFS
3769 CC=$ac_cv_prog_CC
3770 if test -n "$CC"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3772 $as_echo "$CC" >&6; }
3773 else
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3780 if test -z "$ac_cv_prog_CC"; then
3781 ac_ct_CC=$CC
3782 # Extract the first word of "gcc", so it can be a program name with args.
3783 set dummy gcc; ac_word=$2
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3785 $as_echo_n "checking for $ac_word... " >&6; }
3786 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3787 $as_echo_n "(cached) " >&6
3788 else
3789 if test -n "$ac_ct_CC"; then
3790 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3791 else
3792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793 for as_dir in $PATH
3795 IFS=$as_save_IFS
3796 test -z "$as_dir" && as_dir=.
3797 for ac_exec_ext in '' $ac_executable_extensions; do
3798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3799 ac_cv_prog_ac_ct_CC="gcc"
3800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3801 break 2
3803 done
3804 done
3805 IFS=$as_save_IFS
3809 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3810 if test -n "$ac_ct_CC"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3812 $as_echo "$ac_ct_CC" >&6; }
3813 else
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3818 if test "x$ac_ct_CC" = x; then
3819 CC=""
3820 else
3821 case $cross_compiling:$ac_tool_warned in
3822 yes:)
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3825 ac_tool_warned=yes ;;
3826 esac
3827 CC=$ac_ct_CC
3829 else
3830 CC="$ac_cv_prog_CC"
3833 if test -z "$CC"; then
3834 if test -n "$ac_tool_prefix"; then
3835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3836 set dummy ${ac_tool_prefix}cc; ac_word=$2
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3838 $as_echo_n "checking for $ac_word... " >&6; }
3839 if ${ac_cv_prog_CC+:} false; then :
3840 $as_echo_n "(cached) " >&6
3841 else
3842 if test -n "$CC"; then
3843 ac_cv_prog_CC="$CC" # Let the user override the test.
3844 else
3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846 for as_dir in $PATH
3848 IFS=$as_save_IFS
3849 test -z "$as_dir" && as_dir=.
3850 for ac_exec_ext in '' $ac_executable_extensions; do
3851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3852 ac_cv_prog_CC="${ac_tool_prefix}cc"
3853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 break 2
3856 done
3857 done
3858 IFS=$as_save_IFS
3862 CC=$ac_cv_prog_CC
3863 if test -n "$CC"; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3865 $as_echo "$CC" >&6; }
3866 else
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 $as_echo "no" >&6; }
3874 if test -z "$CC"; then
3875 # Extract the first word of "cc", so it can be a program name with args.
3876 set dummy cc; ac_word=$2
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3878 $as_echo_n "checking for $ac_word... " >&6; }
3879 if ${ac_cv_prog_CC+:} false; then :
3880 $as_echo_n "(cached) " >&6
3881 else
3882 if test -n "$CC"; then
3883 ac_cv_prog_CC="$CC" # Let the user override the test.
3884 else
3885 ac_prog_rejected=no
3886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3887 for as_dir in $PATH
3889 IFS=$as_save_IFS
3890 test -z "$as_dir" && as_dir=.
3891 for ac_exec_ext in '' $ac_executable_extensions; do
3892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3893 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3894 ac_prog_rejected=yes
3895 continue
3897 ac_cv_prog_CC="cc"
3898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3899 break 2
3901 done
3902 done
3903 IFS=$as_save_IFS
3905 if test $ac_prog_rejected = yes; then
3906 # We found a bogon in the path, so make sure we never use it.
3907 set dummy $ac_cv_prog_CC
3908 shift
3909 if test $# != 0; then
3910 # We chose a different compiler from the bogus one.
3911 # However, it has the same basename, so the bogon will be chosen
3912 # first if we set CC to just the basename; use the full file name.
3913 shift
3914 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3919 CC=$ac_cv_prog_CC
3920 if test -n "$CC"; then
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3922 $as_echo "$CC" >&6; }
3923 else
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3925 $as_echo "no" >&6; }
3930 if test -z "$CC"; then
3931 if test -n "$ac_tool_prefix"; then
3932 for ac_prog in cl.exe
3934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3935 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if ${ac_cv_prog_CC+:} false; then :
3939 $as_echo_n "(cached) " >&6
3940 else
3941 if test -n "$CC"; then
3942 ac_cv_prog_CC="$CC" # Let the user override the test.
3943 else
3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945 for as_dir in $PATH
3947 IFS=$as_save_IFS
3948 test -z "$as_dir" && as_dir=.
3949 for ac_exec_ext in '' $ac_executable_extensions; do
3950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3951 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 break 2
3955 done
3956 done
3957 IFS=$as_save_IFS
3961 CC=$ac_cv_prog_CC
3962 if test -n "$CC"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3964 $as_echo "$CC" >&6; }
3965 else
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3971 test -n "$CC" && break
3972 done
3974 if test -z "$CC"; then
3975 ac_ct_CC=$CC
3976 for ac_prog in cl.exe
3978 # Extract the first word of "$ac_prog", so it can be a program name with args.
3979 set dummy $ac_prog; ac_word=$2
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3981 $as_echo_n "checking for $ac_word... " >&6; }
3982 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3983 $as_echo_n "(cached) " >&6
3984 else
3985 if test -n "$ac_ct_CC"; then
3986 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3987 else
3988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3989 for as_dir in $PATH
3991 IFS=$as_save_IFS
3992 test -z "$as_dir" && as_dir=.
3993 for ac_exec_ext in '' $ac_executable_extensions; do
3994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3995 ac_cv_prog_ac_ct_CC="$ac_prog"
3996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3997 break 2
3999 done
4000 done
4001 IFS=$as_save_IFS
4005 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4006 if test -n "$ac_ct_CC"; then
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4008 $as_echo "$ac_ct_CC" >&6; }
4009 else
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 $as_echo "no" >&6; }
4015 test -n "$ac_ct_CC" && break
4016 done
4018 if test "x$ac_ct_CC" = x; then
4019 CC=""
4020 else
4021 case $cross_compiling:$ac_tool_warned in
4022 yes:)
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4025 ac_tool_warned=yes ;;
4026 esac
4027 CC=$ac_ct_CC
4034 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4036 as_fn_error $? "no acceptable C compiler found in \$PATH
4037 See \`config.log' for more details" "$LINENO" 5; }
4039 # Provide some information about the compiler.
4040 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4041 set X $ac_compile
4042 ac_compiler=$2
4043 for ac_option in --version -v -V -qversion; do
4044 { { ac_try="$ac_compiler $ac_option >&5"
4045 case "(($ac_try" in
4046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4048 esac
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4052 ac_status=$?
4053 if test -s conftest.err; then
4054 sed '10a\
4055 ... rest of stderr output deleted ...
4056 10q' conftest.err >conftest.er1
4057 cat conftest.er1 >&5
4059 rm -f conftest.er1 conftest.err
4060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4061 test $ac_status = 0; }
4062 done
4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4068 main ()
4072 return 0;
4074 _ACEOF
4075 ac_clean_files_save=$ac_clean_files
4076 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4077 # Try to create an executable without -o first, disregard a.out.
4078 # It will help us diagnose broken compilers, and finding out an intuition
4079 # of exeext.
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4081 $as_echo_n "checking whether the C compiler works... " >&6; }
4082 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4084 # The possible output files:
4085 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4087 ac_rmfiles=
4088 for ac_file in $ac_files
4090 case $ac_file in
4091 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4092 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4093 esac
4094 done
4095 rm -f $ac_rmfiles
4097 if { { ac_try="$ac_link_default"
4098 case "(($ac_try" in
4099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4101 esac
4102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_link_default") 2>&5
4105 ac_status=$?
4106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }; then :
4108 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4109 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4110 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4111 # so that the user can short-circuit this test for compilers unknown to
4112 # Autoconf.
4113 for ac_file in $ac_files ''
4115 test -f "$ac_file" || continue
4116 case $ac_file in
4117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4119 [ab].out )
4120 # We found the default executable, but exeext='' is most
4121 # certainly right.
4122 break;;
4123 *.* )
4124 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4125 then :; else
4126 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4128 # We set ac_cv_exeext here because the later test for it is not
4129 # safe: cross compilers may not add the suffix if given an `-o'
4130 # argument, so we may need to know it at that point already.
4131 # Even if this section looks crufty: it has the advantage of
4132 # actually working.
4133 break;;
4135 break;;
4136 esac
4137 done
4138 test "$ac_cv_exeext" = no && ac_cv_exeext=
4140 else
4141 ac_file=''
4143 if test -z "$ac_file"; then :
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4145 $as_echo "no" >&6; }
4146 $as_echo "$as_me: failed program was:" >&5
4147 sed 's/^/| /' conftest.$ac_ext >&5
4149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4151 as_fn_error 77 "C compiler cannot create executables
4152 See \`config.log' for more details" "$LINENO" 5; }
4153 else
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4155 $as_echo "yes" >&6; }
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4158 $as_echo_n "checking for C compiler default output file name... " >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4160 $as_echo "$ac_file" >&6; }
4161 ac_exeext=$ac_cv_exeext
4163 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4164 ac_clean_files=$ac_clean_files_save
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4166 $as_echo_n "checking for suffix of executables... " >&6; }
4167 if { { ac_try="$ac_link"
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_link") 2>&5
4175 ac_status=$?
4176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4177 test $ac_status = 0; }; then :
4178 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4179 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4180 # work properly (i.e., refer to `conftest.exe'), while it won't with
4181 # `rm'.
4182 for ac_file in conftest.exe conftest conftest.*; do
4183 test -f "$ac_file" || continue
4184 case $ac_file in
4185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4186 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4187 break;;
4188 * ) break;;
4189 esac
4190 done
4191 else
4192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4194 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4195 See \`config.log' for more details" "$LINENO" 5; }
4197 rm -f conftest conftest$ac_cv_exeext
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4199 $as_echo "$ac_cv_exeext" >&6; }
4201 rm -f conftest.$ac_ext
4202 EXEEXT=$ac_cv_exeext
4203 ac_exeext=$EXEEXT
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4206 #include <stdio.h>
4208 main ()
4210 FILE *f = fopen ("conftest.out", "w");
4211 return ferror (f) || fclose (f) != 0;
4214 return 0;
4216 _ACEOF
4217 ac_clean_files="$ac_clean_files conftest.out"
4218 # Check that the compiler produces executables we can run. If not, either
4219 # the compiler is broken, or we cross compile.
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4221 $as_echo_n "checking whether we are cross compiling... " >&6; }
4222 if test "$cross_compiling" != yes; then
4223 { { ac_try="$ac_link"
4224 case "(($ac_try" in
4225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4226 *) ac_try_echo=$ac_try;;
4227 esac
4228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4229 $as_echo "$ac_try_echo"; } >&5
4230 (eval "$ac_link") 2>&5
4231 ac_status=$?
4232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4233 test $ac_status = 0; }
4234 if { ac_try='./conftest$ac_cv_exeext'
4235 { { case "(($ac_try" in
4236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4237 *) ac_try_echo=$ac_try;;
4238 esac
4239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4240 $as_echo "$ac_try_echo"; } >&5
4241 (eval "$ac_try") 2>&5
4242 ac_status=$?
4243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4244 test $ac_status = 0; }; }; then
4245 cross_compiling=no
4246 else
4247 if test "$cross_compiling" = maybe; then
4248 cross_compiling=yes
4249 else
4250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4252 as_fn_error $? "cannot run C compiled programs.
4253 If you meant to cross compile, use \`--host'.
4254 See \`config.log' for more details" "$LINENO" 5; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4259 $as_echo "$cross_compiling" >&6; }
4261 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4262 ac_clean_files=$ac_clean_files_save
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4264 $as_echo_n "checking for suffix of object files... " >&6; }
4265 if ${ac_cv_objext+:} false; then :
4266 $as_echo_n "(cached) " >&6
4267 else
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4272 main ()
4276 return 0;
4278 _ACEOF
4279 rm -f conftest.o conftest.obj
4280 if { { ac_try="$ac_compile"
4281 case "(($ac_try" in
4282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4283 *) ac_try_echo=$ac_try;;
4284 esac
4285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4286 $as_echo "$ac_try_echo"; } >&5
4287 (eval "$ac_compile") 2>&5
4288 ac_status=$?
4289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4290 test $ac_status = 0; }; then :
4291 for ac_file in conftest.o conftest.obj conftest.*; do
4292 test -f "$ac_file" || continue;
4293 case $ac_file in
4294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4295 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4296 break;;
4297 esac
4298 done
4299 else
4300 $as_echo "$as_me: failed program was:" >&5
4301 sed 's/^/| /' conftest.$ac_ext >&5
4303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4305 as_fn_error $? "cannot compute suffix of object files: cannot compile
4306 See \`config.log' for more details" "$LINENO" 5; }
4308 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4311 $as_echo "$ac_cv_objext" >&6; }
4312 OBJEXT=$ac_cv_objext
4313 ac_objext=$OBJEXT
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4315 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4316 if ${ac_cv_c_compiler_gnu+:} false; then :
4317 $as_echo_n "(cached) " >&6
4318 else
4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4323 main ()
4325 #ifndef __GNUC__
4326 choke me
4327 #endif
4330 return 0;
4332 _ACEOF
4333 if ac_fn_c_try_compile "$LINENO"; then :
4334 ac_compiler_gnu=yes
4335 else
4336 ac_compiler_gnu=no
4338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4339 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4343 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4344 if test $ac_compiler_gnu = yes; then
4345 GCC=yes
4346 else
4347 GCC=
4349 ac_test_CFLAGS=${CFLAGS+set}
4350 ac_save_CFLAGS=$CFLAGS
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4352 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4353 if ${ac_cv_prog_cc_g+:} false; then :
4354 $as_echo_n "(cached) " >&6
4355 else
4356 ac_save_c_werror_flag=$ac_c_werror_flag
4357 ac_c_werror_flag=yes
4358 ac_cv_prog_cc_g=no
4359 CFLAGS="-g"
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4364 main ()
4368 return 0;
4370 _ACEOF
4371 if ac_fn_c_try_compile "$LINENO"; then :
4372 ac_cv_prog_cc_g=yes
4373 else
4374 CFLAGS=""
4375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4376 /* end confdefs.h. */
4379 main ()
4383 return 0;
4385 _ACEOF
4386 if ac_fn_c_try_compile "$LINENO"; then :
4388 else
4389 ac_c_werror_flag=$ac_save_c_werror_flag
4390 CFLAGS="-g"
4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4395 main ()
4399 return 0;
4401 _ACEOF
4402 if ac_fn_c_try_compile "$LINENO"; then :
4403 ac_cv_prog_cc_g=yes
4405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4410 ac_c_werror_flag=$ac_save_c_werror_flag
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4413 $as_echo "$ac_cv_prog_cc_g" >&6; }
4414 if test "$ac_test_CFLAGS" = set; then
4415 CFLAGS=$ac_save_CFLAGS
4416 elif test $ac_cv_prog_cc_g = yes; then
4417 if test "$GCC" = yes; then
4418 CFLAGS="-g -O2"
4419 else
4420 CFLAGS="-g"
4422 else
4423 if test "$GCC" = yes; then
4424 CFLAGS="-O2"
4425 else
4426 CFLAGS=
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4430 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4431 if ${ac_cv_prog_cc_c89+:} false; then :
4432 $as_echo_n "(cached) " >&6
4433 else
4434 ac_cv_prog_cc_c89=no
4435 ac_save_CC=$CC
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4438 #include <stdarg.h>
4439 #include <stdio.h>
4440 struct stat;
4441 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4442 struct buf { int x; };
4443 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4444 static char *e (p, i)
4445 char **p;
4446 int i;
4448 return p[i];
4450 static char *f (char * (*g) (char **, int), char **p, ...)
4452 char *s;
4453 va_list v;
4454 va_start (v,p);
4455 s = g (p, va_arg (v,int));
4456 va_end (v);
4457 return s;
4460 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4461 function prototypes and stuff, but not '\xHH' hex character constants.
4462 These don't provoke an error unfortunately, instead are silently treated
4463 as 'x'. The following induces an error, until -std is added to get
4464 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4465 array size at least. It's necessary to write '\x00'==0 to get something
4466 that's true only with -std. */
4467 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4469 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4470 inside strings and character constants. */
4471 #define FOO(x) 'x'
4472 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4474 int test (int i, double x);
4475 struct s1 {int (*f) (int a);};
4476 struct s2 {int (*f) (double a);};
4477 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4478 int argc;
4479 char **argv;
4481 main ()
4483 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4485 return 0;
4487 _ACEOF
4488 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4489 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4491 CC="$ac_save_CC $ac_arg"
4492 if ac_fn_c_try_compile "$LINENO"; then :
4493 ac_cv_prog_cc_c89=$ac_arg
4495 rm -f core conftest.err conftest.$ac_objext
4496 test "x$ac_cv_prog_cc_c89" != "xno" && break
4497 done
4498 rm -f conftest.$ac_ext
4499 CC=$ac_save_CC
4502 # AC_CACHE_VAL
4503 case "x$ac_cv_prog_cc_c89" in
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4506 $as_echo "none needed" >&6; } ;;
4507 xno)
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4509 $as_echo "unsupported" >&6; } ;;
4511 CC="$CC $ac_cv_prog_cc_c89"
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4513 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4514 esac
4515 if test "x$ac_cv_prog_cc_c89" != xno; then :
4519 ac_ext=c
4520 ac_cpp='$CPP $CPPFLAGS'
4521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4525 ac_ext=cpp
4526 ac_cpp='$CXXCPP $CPPFLAGS'
4527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4530 if test -z "$CXX"; then
4531 if test -n "$CCC"; then
4532 CXX=$CCC
4533 else
4534 if test -n "$ac_tool_prefix"; then
4535 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4537 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4540 $as_echo_n "checking for $ac_word... " >&6; }
4541 if ${ac_cv_prog_CXX+:} false; then :
4542 $as_echo_n "(cached) " >&6
4543 else
4544 if test -n "$CXX"; then
4545 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4546 else
4547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 for as_dir in $PATH
4550 IFS=$as_save_IFS
4551 test -z "$as_dir" && as_dir=.
4552 for ac_exec_ext in '' $ac_executable_extensions; do
4553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4554 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4556 break 2
4558 done
4559 done
4560 IFS=$as_save_IFS
4564 CXX=$ac_cv_prog_CXX
4565 if test -n "$CXX"; then
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4567 $as_echo "$CXX" >&6; }
4568 else
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4570 $as_echo "no" >&6; }
4574 test -n "$CXX" && break
4575 done
4577 if test -z "$CXX"; then
4578 ac_ct_CXX=$CXX
4579 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4581 # Extract the first word of "$ac_prog", so it can be a program name with args.
4582 set dummy $ac_prog; ac_word=$2
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4584 $as_echo_n "checking for $ac_word... " >&6; }
4585 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4586 $as_echo_n "(cached) " >&6
4587 else
4588 if test -n "$ac_ct_CXX"; then
4589 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4590 else
4591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592 for as_dir in $PATH
4594 IFS=$as_save_IFS
4595 test -z "$as_dir" && as_dir=.
4596 for ac_exec_ext in '' $ac_executable_extensions; do
4597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4598 ac_cv_prog_ac_ct_CXX="$ac_prog"
4599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4600 break 2
4602 done
4603 done
4604 IFS=$as_save_IFS
4608 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4609 if test -n "$ac_ct_CXX"; then
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4611 $as_echo "$ac_ct_CXX" >&6; }
4612 else
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4614 $as_echo "no" >&6; }
4618 test -n "$ac_ct_CXX" && break
4619 done
4621 if test "x$ac_ct_CXX" = x; then
4622 CXX="g++"
4623 else
4624 case $cross_compiling:$ac_tool_warned in
4625 yes:)
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4628 ac_tool_warned=yes ;;
4629 esac
4630 CXX=$ac_ct_CXX
4636 # Provide some information about the compiler.
4637 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4638 set X $ac_compile
4639 ac_compiler=$2
4640 for ac_option in --version -v -V -qversion; do
4641 { { ac_try="$ac_compiler $ac_option >&5"
4642 case "(($ac_try" in
4643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4644 *) ac_try_echo=$ac_try;;
4645 esac
4646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4647 $as_echo "$ac_try_echo"; } >&5
4648 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4649 ac_status=$?
4650 if test -s conftest.err; then
4651 sed '10a\
4652 ... rest of stderr output deleted ...
4653 10q' conftest.err >conftest.er1
4654 cat conftest.er1 >&5
4656 rm -f conftest.er1 conftest.err
4657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4658 test $ac_status = 0; }
4659 done
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4662 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4663 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4664 $as_echo_n "(cached) " >&6
4665 else
4666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4667 /* end confdefs.h. */
4670 main ()
4672 #ifndef __GNUC__
4673 choke me
4674 #endif
4677 return 0;
4679 _ACEOF
4680 if ac_fn_cxx_try_compile "$LINENO"; then :
4681 ac_compiler_gnu=yes
4682 else
4683 ac_compiler_gnu=no
4685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4686 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4690 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4691 if test $ac_compiler_gnu = yes; then
4692 GXX=yes
4693 else
4694 GXX=
4696 ac_test_CXXFLAGS=${CXXFLAGS+set}
4697 ac_save_CXXFLAGS=$CXXFLAGS
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4699 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4700 if ${ac_cv_prog_cxx_g+:} false; then :
4701 $as_echo_n "(cached) " >&6
4702 else
4703 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4704 ac_cxx_werror_flag=yes
4705 ac_cv_prog_cxx_g=no
4706 CXXFLAGS="-g"
4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h. */
4711 main ()
4715 return 0;
4717 _ACEOF
4718 if ac_fn_cxx_try_compile "$LINENO"; then :
4719 ac_cv_prog_cxx_g=yes
4720 else
4721 CXXFLAGS=""
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4726 main ()
4730 return 0;
4732 _ACEOF
4733 if ac_fn_cxx_try_compile "$LINENO"; then :
4735 else
4736 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4737 CXXFLAGS="-g"
4738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4739 /* end confdefs.h. */
4742 main ()
4746 return 0;
4748 _ACEOF
4749 if ac_fn_cxx_try_compile "$LINENO"; then :
4750 ac_cv_prog_cxx_g=yes
4752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4760 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4761 if test "$ac_test_CXXFLAGS" = set; then
4762 CXXFLAGS=$ac_save_CXXFLAGS
4763 elif test $ac_cv_prog_cxx_g = yes; then
4764 if test "$GXX" = yes; then
4765 CXXFLAGS="-g -O2"
4766 else
4767 CXXFLAGS="-g"
4769 else
4770 if test "$GXX" = yes; then
4771 CXXFLAGS="-O2"
4772 else
4773 CXXFLAGS=
4776 ac_ext=c
4777 ac_cpp='$CPP $CPPFLAGS'
4778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4782 if test -n "$ac_tool_prefix"; then
4783 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4784 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4786 $as_echo_n "checking for $ac_word... " >&6; }
4787 if ${ac_cv_prog_CPPBIN+:} false; then :
4788 $as_echo_n "(cached) " >&6
4789 else
4790 if test -n "$CPPBIN"; then
4791 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4792 else
4793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4794 for as_dir in $PATH
4796 IFS=$as_save_IFS
4797 test -z "$as_dir" && as_dir=.
4798 for ac_exec_ext in '' $ac_executable_extensions; do
4799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4800 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4802 break 2
4804 done
4805 done
4806 IFS=$as_save_IFS
4810 CPPBIN=$ac_cv_prog_CPPBIN
4811 if test -n "$CPPBIN"; then
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4813 $as_echo "$CPPBIN" >&6; }
4814 else
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 $as_echo "no" >&6; }
4821 if test -z "$ac_cv_prog_CPPBIN"; then
4822 ac_ct_CPPBIN=$CPPBIN
4823 # Extract the first word of "cpp", so it can be a program name with args.
4824 set dummy cpp; ac_word=$2
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4826 $as_echo_n "checking for $ac_word... " >&6; }
4827 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4828 $as_echo_n "(cached) " >&6
4829 else
4830 if test -n "$ac_ct_CPPBIN"; then
4831 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4832 else
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4834 for as_dir in $PATH
4836 IFS=$as_save_IFS
4837 test -z "$as_dir" && as_dir=.
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4840 ac_cv_prog_ac_ct_CPPBIN="cpp"
4841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4842 break 2
4844 done
4845 done
4846 IFS=$as_save_IFS
4850 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4851 if test -n "$ac_ct_CPPBIN"; then
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4853 $as_echo "$ac_ct_CPPBIN" >&6; }
4854 else
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 $as_echo "no" >&6; }
4859 if test "x$ac_ct_CPPBIN" = x; then
4860 CPPBIN="cpp"
4861 else
4862 case $cross_compiling:$ac_tool_warned in
4863 yes:)
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4866 ac_tool_warned=yes ;;
4867 esac
4868 CPPBIN=$ac_ct_CPPBIN
4870 else
4871 CPPBIN="$ac_cv_prog_CPPBIN"
4875 cat >>confdefs.h <<_ACEOF
4876 #define EXEEXT "$ac_exeext"
4877 _ACEOF
4879 if test -n "$ac_tool_prefix"; then
4880 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4881 set dummy ${ac_tool_prefix}ld; ac_word=$2
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4883 $as_echo_n "checking for $ac_word... " >&6; }
4884 if ${ac_cv_prog_LD+:} false; then :
4885 $as_echo_n "(cached) " >&6
4886 else
4887 if test -n "$LD"; then
4888 ac_cv_prog_LD="$LD" # Let the user override the test.
4889 else
4890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4891 for as_dir in $PATH
4893 IFS=$as_save_IFS
4894 test -z "$as_dir" && as_dir=.
4895 for ac_exec_ext in '' $ac_executable_extensions; do
4896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4897 ac_cv_prog_LD="${ac_tool_prefix}ld"
4898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4899 break 2
4901 done
4902 done
4903 IFS=$as_save_IFS
4907 LD=$ac_cv_prog_LD
4908 if test -n "$LD"; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4910 $as_echo "$LD" >&6; }
4911 else
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 $as_echo "no" >&6; }
4918 if test -z "$ac_cv_prog_LD"; then
4919 ac_ct_LD=$LD
4920 # Extract the first word of "ld", so it can be a program name with args.
4921 set dummy ld; ac_word=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 if test -n "$ac_ct_LD"; then
4928 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4929 else
4930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4931 for as_dir in $PATH
4933 IFS=$as_save_IFS
4934 test -z "$as_dir" && as_dir=.
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4937 ac_cv_prog_ac_ct_LD="ld"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 break 2
4941 done
4942 done
4943 IFS=$as_save_IFS
4947 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4948 if test -n "$ac_ct_LD"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4950 $as_echo "$ac_ct_LD" >&6; }
4951 else
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4956 if test "x$ac_ct_LD" = x; then
4957 LD=""
4958 else
4959 case $cross_compiling:$ac_tool_warned in
4960 yes:)
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4963 ac_tool_warned=yes ;;
4964 esac
4965 LD=$ac_ct_LD
4967 else
4968 LD="$ac_cv_prog_LD"
4972 case $host in
4973 *-darwin*)
4974 with_fontconfig=${with_fontconfig:-no}
4976 *-mingw32*|*-cygwin*)
4977 enable_win16=${enable_win16:-no}
4978 CFLAGS="$CFLAGS -D_WIN32"
4980 esac
4982 case $host in
4983 x86_64*|amd64*)
4984 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4985 then
4986 CC="$CC -m32"
4987 CXX="$CXX -m32"
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4989 $as_echo_n "checking whether $CC works... " >&6; }
4991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4995 main ()
4999 return 0;
5001 _ACEOF
5002 if ac_fn_c_try_link "$LINENO"; then :
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5004 $as_echo "yes" >&6; }
5005 else
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5007 $as_echo "no" >&6; }
5008 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5010 rm -f core conftest.err conftest.$ac_objext \
5011 conftest$ac_exeext conftest.$ac_ext
5012 host_cpu="i386"
5013 notice_platform="32-bit "
5014 TARGETFLAGS="-m32"
5016 enable_win16=${enable_win16:-yes}
5017 else
5018 if test "x${GCC}" = "xyes"
5019 then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5021 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5023 /* end confdefs.h. */
5024 #include <stdarg.h>
5026 main ()
5028 void func(__builtin_ms_va_list *args);
5030 return 0;
5032 _ACEOF
5033 if ac_fn_c_try_compile "$LINENO"; then :
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5035 $as_echo "yes" >&6; }
5036 else
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5039 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5043 CC="$CC -m64"
5044 CXX="$CXX -m64"
5045 host_cpu="x86_64"
5046 notice_platform="64-bit "
5047 TARGETFLAGS="-m64"
5051 arm*)
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5053 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5055 /* end confdefs.h. */
5056 int ac_test(int i) { return i; }
5058 main ()
5060 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5062 return 0;
5064 _ACEOF
5065 if ac_fn_c_try_link "$LINENO"; then :
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5067 $as_echo "yes" >&6; }
5068 else
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5071 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5073 rm -f core conftest.err conftest.$ac_objext \
5074 conftest$ac_exeext conftest.$ac_ext
5075 CFLAGS="$CFLAGS -marm"
5076 TARGETFLAGS="-marm"
5079 i[3456789]86*)
5080 enable_win16=${enable_win16:-yes}
5082 esac
5084 enable_win16=${enable_win16:-no}
5085 enable_win64=${enable_win64:-no}
5087 enable_winetest=${enable_winetest:-$enable_tests}
5089 if test -n "$with_wine64"
5090 then
5091 if test "x$enable_win64" = "xyes"
5092 then
5093 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5094 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5096 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5097 You should create a separate build directory and run configure from there." "$LINENO" 5
5098 enable_fonts=${enable_fonts:-no}
5099 enable_server=${enable_server:-no}
5100 elif test "x$enable_win64" = "xyes"
5101 then
5102 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5106 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5107 if ${wine_cv_toolsdir+:} false; then :
5108 $as_echo_n "(cached) " >&6
5109 else
5110 wine_cv_toolsdir="$with_wine_tools"
5111 if test -z "$with_wine_tools"; then
5112 if test "$cross_compiling" = "yes"; then
5113 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5114 elif test -n "$with_wine64"; then
5115 wine_cv_toolsdir="$with_wine64"
5118 if test -z "$wine_cv_toolsdir"; then
5119 wine_makedep=tools/makedep
5120 wine_cv_toolsdir="\$(top_builddir)"
5121 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5122 wine_makedep=$wine_cv_toolsdir/tools/makedep
5123 case "$wine_cv_toolsdir" in
5124 /*) ;;
5125 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5126 esac
5127 enable_tools=${enable_tools:-no}
5128 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5129 else
5130 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5134 $as_echo "$wine_cv_toolsdir" >&6; }
5135 TOOLSDIR=$wine_cv_toolsdir
5137 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5138 then
5139 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5143 for ac_prog in flex
5145 # Extract the first word of "$ac_prog", so it can be a program name with args.
5146 set dummy $ac_prog; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if ${ac_cv_prog_FLEX+:} false; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$FLEX"; then
5153 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_FLEX="$ac_prog"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 FLEX=$ac_cv_prog_FLEX
5173 if test -n "$FLEX"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5175 $as_echo "$FLEX" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5182 test -n "$FLEX" && break
5183 done
5184 test -n "$FLEX" || FLEX="none"
5186 if test "$FLEX" = "none"
5187 then
5188 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5191 $as_echo_n "checking whether flex is recent enough... " >&6; }
5192 cat >conftest.l <<EOF
5193 %top{
5194 #include "prediluvian.h"
5198 if $FLEX -t conftest.l >/dev/null 2>&5
5199 then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5201 $as_echo "yes" >&6; }
5202 else
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5205 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5208 for ac_prog in bison
5210 # Extract the first word of "$ac_prog", so it can be a program name with args.
5211 set dummy $ac_prog; ac_word=$2
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5213 $as_echo_n "checking for $ac_word... " >&6; }
5214 if ${ac_cv_prog_BISON+:} false; then :
5215 $as_echo_n "(cached) " >&6
5216 else
5217 if test -n "$BISON"; then
5218 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5219 else
5220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5221 for as_dir in $PATH
5223 IFS=$as_save_IFS
5224 test -z "$as_dir" && as_dir=.
5225 for ac_exec_ext in '' $ac_executable_extensions; do
5226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5227 ac_cv_prog_BISON="$ac_prog"
5228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 break 2
5231 done
5232 done
5233 IFS=$as_save_IFS
5237 BISON=$ac_cv_prog_BISON
5238 if test -n "$BISON"; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5240 $as_echo "$BISON" >&6; }
5241 else
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5243 $as_echo "no" >&6; }
5247 test -n "$BISON" && break
5248 done
5249 test -n "$BISON" || BISON="none"
5251 if test "$BISON" = "none"
5252 then
5253 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5256 if test -n "$ac_tool_prefix"; then
5257 for ac_prog in ar gar
5259 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5260 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5262 $as_echo_n "checking for $ac_word... " >&6; }
5263 if ${ac_cv_prog_AR+:} false; then :
5264 $as_echo_n "(cached) " >&6
5265 else
5266 if test -n "$AR"; then
5267 ac_cv_prog_AR="$AR" # Let the user override the test.
5268 else
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 for as_dir in $PATH
5272 IFS=$as_save_IFS
5273 test -z "$as_dir" && as_dir=.
5274 for ac_exec_ext in '' $ac_executable_extensions; do
5275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5276 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 break 2
5280 done
5281 done
5282 IFS=$as_save_IFS
5286 AR=$ac_cv_prog_AR
5287 if test -n "$AR"; then
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5289 $as_echo "$AR" >&6; }
5290 else
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5292 $as_echo "no" >&6; }
5296 test -n "$AR" && break
5297 done
5299 if test -z "$AR"; then
5300 ac_ct_AR=$AR
5301 for ac_prog in ar gar
5303 # Extract the first word of "$ac_prog", so it can be a program name with args.
5304 set dummy $ac_prog; ac_word=$2
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306 $as_echo_n "checking for $ac_word... " >&6; }
5307 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5308 $as_echo_n "(cached) " >&6
5309 else
5310 if test -n "$ac_ct_AR"; then
5311 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5312 else
5313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314 for as_dir in $PATH
5316 IFS=$as_save_IFS
5317 test -z "$as_dir" && as_dir=.
5318 for ac_exec_ext in '' $ac_executable_extensions; do
5319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5320 ac_cv_prog_ac_ct_AR="$ac_prog"
5321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 break 2
5324 done
5325 done
5326 IFS=$as_save_IFS
5330 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5331 if test -n "$ac_ct_AR"; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5333 $as_echo "$ac_ct_AR" >&6; }
5334 else
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336 $as_echo "no" >&6; }
5340 test -n "$ac_ct_AR" && break
5341 done
5343 if test "x$ac_ct_AR" = x; then
5344 AR="ar"
5345 else
5346 case $cross_compiling:$ac_tool_warned in
5347 yes:)
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5350 ac_tool_warned=yes ;;
5351 esac
5352 AR=$ac_ct_AR
5356 if test -n "$ac_tool_prefix"; then
5357 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5358 set dummy ${ac_tool_prefix}strip; ac_word=$2
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5360 $as_echo_n "checking for $ac_word... " >&6; }
5361 if ${ac_cv_prog_STRIP+:} false; then :
5362 $as_echo_n "(cached) " >&6
5363 else
5364 if test -n "$STRIP"; then
5365 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5366 else
5367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368 for as_dir in $PATH
5370 IFS=$as_save_IFS
5371 test -z "$as_dir" && as_dir=.
5372 for ac_exec_ext in '' $ac_executable_extensions; do
5373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5374 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 break 2
5378 done
5379 done
5380 IFS=$as_save_IFS
5384 STRIP=$ac_cv_prog_STRIP
5385 if test -n "$STRIP"; then
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5387 $as_echo "$STRIP" >&6; }
5388 else
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5390 $as_echo "no" >&6; }
5395 if test -z "$ac_cv_prog_STRIP"; then
5396 ac_ct_STRIP=$STRIP
5397 # Extract the first word of "strip", so it can be a program name with args.
5398 set dummy strip; ac_word=$2
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5400 $as_echo_n "checking for $ac_word... " >&6; }
5401 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5402 $as_echo_n "(cached) " >&6
5403 else
5404 if test -n "$ac_ct_STRIP"; then
5405 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5406 else
5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408 for as_dir in $PATH
5410 IFS=$as_save_IFS
5411 test -z "$as_dir" && as_dir=.
5412 for ac_exec_ext in '' $ac_executable_extensions; do
5413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5414 ac_cv_prog_ac_ct_STRIP="strip"
5415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 break 2
5418 done
5419 done
5420 IFS=$as_save_IFS
5424 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5425 if test -n "$ac_ct_STRIP"; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5427 $as_echo "$ac_ct_STRIP" >&6; }
5428 else
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5430 $as_echo "no" >&6; }
5433 if test "x$ac_ct_STRIP" = x; then
5434 STRIP="strip"
5435 else
5436 case $cross_compiling:$ac_tool_warned in
5437 yes:)
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5440 ac_tool_warned=yes ;;
5441 esac
5442 STRIP=$ac_ct_STRIP
5444 else
5445 STRIP="$ac_cv_prog_STRIP"
5448 ARFLAGS=rc
5450 if test -n "$ac_tool_prefix"; then
5451 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5452 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5454 $as_echo_n "checking for $ac_word... " >&6; }
5455 if ${ac_cv_prog_RANLIB+:} false; then :
5456 $as_echo_n "(cached) " >&6
5457 else
5458 if test -n "$RANLIB"; then
5459 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5460 else
5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5462 for as_dir in $PATH
5464 IFS=$as_save_IFS
5465 test -z "$as_dir" && as_dir=.
5466 for ac_exec_ext in '' $ac_executable_extensions; do
5467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5468 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5470 break 2
5472 done
5473 done
5474 IFS=$as_save_IFS
5478 RANLIB=$ac_cv_prog_RANLIB
5479 if test -n "$RANLIB"; then
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5481 $as_echo "$RANLIB" >&6; }
5482 else
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5484 $as_echo "no" >&6; }
5489 if test -z "$ac_cv_prog_RANLIB"; then
5490 ac_ct_RANLIB=$RANLIB
5491 # Extract the first word of "ranlib", so it can be a program name with args.
5492 set dummy ranlib; ac_word=$2
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5494 $as_echo_n "checking for $ac_word... " >&6; }
5495 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5496 $as_echo_n "(cached) " >&6
5497 else
5498 if test -n "$ac_ct_RANLIB"; then
5499 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5500 else
5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 for as_dir in $PATH
5504 IFS=$as_save_IFS
5505 test -z "$as_dir" && as_dir=.
5506 for ac_exec_ext in '' $ac_executable_extensions; do
5507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5508 ac_cv_prog_ac_ct_RANLIB="ranlib"
5509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 break 2
5512 done
5513 done
5514 IFS=$as_save_IFS
5518 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5519 if test -n "$ac_ct_RANLIB"; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5521 $as_echo "$ac_ct_RANLIB" >&6; }
5522 else
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5524 $as_echo "no" >&6; }
5527 if test "x$ac_ct_RANLIB" = x; then
5528 RANLIB=":"
5529 else
5530 case $cross_compiling:$ac_tool_warned in
5531 yes:)
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5534 ac_tool_warned=yes ;;
5535 esac
5536 RANLIB=$ac_ct_RANLIB
5538 else
5539 RANLIB="$ac_cv_prog_RANLIB"
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5543 $as_echo_n "checking whether ln -s works... " >&6; }
5544 LN_S=$as_ln_s
5545 if test "$LN_S" = "ln -s"; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5547 $as_echo "yes" >&6; }
5548 else
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5550 $as_echo "no, using $LN_S" >&6; }
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5554 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5555 if ${ac_cv_path_GREP+:} false; then :
5556 $as_echo_n "(cached) " >&6
5557 else
5558 if test -z "$GREP"; then
5559 ac_path_GREP_found=false
5560 # Loop through the user's path and test for each of PROGNAME-LIST
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5564 IFS=$as_save_IFS
5565 test -z "$as_dir" && as_dir=.
5566 for ac_prog in grep ggrep; do
5567 for ac_exec_ext in '' $ac_executable_extensions; do
5568 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5569 as_fn_executable_p "$ac_path_GREP" || continue
5570 # Check for GNU ac_path_GREP and select it if it is found.
5571 # Check for GNU $ac_path_GREP
5572 case `"$ac_path_GREP" --version 2>&1` in
5573 *GNU*)
5574 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5576 ac_count=0
5577 $as_echo_n 0123456789 >"conftest.in"
5578 while :
5580 cat "conftest.in" "conftest.in" >"conftest.tmp"
5581 mv "conftest.tmp" "conftest.in"
5582 cp "conftest.in" "conftest.nl"
5583 $as_echo 'GREP' >> "conftest.nl"
5584 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5585 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5586 as_fn_arith $ac_count + 1 && ac_count=$as_val
5587 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5588 # Best one so far, save it but keep looking for a better one
5589 ac_cv_path_GREP="$ac_path_GREP"
5590 ac_path_GREP_max=$ac_count
5592 # 10*(2^10) chars as input seems more than enough
5593 test $ac_count -gt 10 && break
5594 done
5595 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5596 esac
5598 $ac_path_GREP_found && break 3
5599 done
5600 done
5601 done
5602 IFS=$as_save_IFS
5603 if test -z "$ac_cv_path_GREP"; then
5604 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5606 else
5607 ac_cv_path_GREP=$GREP
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5612 $as_echo "$ac_cv_path_GREP" >&6; }
5613 GREP="$ac_cv_path_GREP"
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5617 $as_echo_n "checking for egrep... " >&6; }
5618 if ${ac_cv_path_EGREP+:} false; then :
5619 $as_echo_n "(cached) " >&6
5620 else
5621 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5622 then ac_cv_path_EGREP="$GREP -E"
5623 else
5624 if test -z "$EGREP"; then
5625 ac_path_EGREP_found=false
5626 # Loop through the user's path and test for each of PROGNAME-LIST
5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5630 IFS=$as_save_IFS
5631 test -z "$as_dir" && as_dir=.
5632 for ac_prog in egrep; do
5633 for ac_exec_ext in '' $ac_executable_extensions; do
5634 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5635 as_fn_executable_p "$ac_path_EGREP" || continue
5636 # Check for GNU ac_path_EGREP and select it if it is found.
5637 # Check for GNU $ac_path_EGREP
5638 case `"$ac_path_EGREP" --version 2>&1` in
5639 *GNU*)
5640 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5642 ac_count=0
5643 $as_echo_n 0123456789 >"conftest.in"
5644 while :
5646 cat "conftest.in" "conftest.in" >"conftest.tmp"
5647 mv "conftest.tmp" "conftest.in"
5648 cp "conftest.in" "conftest.nl"
5649 $as_echo 'EGREP' >> "conftest.nl"
5650 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5651 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5652 as_fn_arith $ac_count + 1 && ac_count=$as_val
5653 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5654 # Best one so far, save it but keep looking for a better one
5655 ac_cv_path_EGREP="$ac_path_EGREP"
5656 ac_path_EGREP_max=$ac_count
5658 # 10*(2^10) chars as input seems more than enough
5659 test $ac_count -gt 10 && break
5660 done
5661 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5662 esac
5664 $ac_path_EGREP_found && break 3
5665 done
5666 done
5667 done
5668 IFS=$as_save_IFS
5669 if test -z "$ac_cv_path_EGREP"; then
5670 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5672 else
5673 ac_cv_path_EGREP=$EGREP
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5679 $as_echo "$ac_cv_path_EGREP" >&6; }
5680 EGREP="$ac_cv_path_EGREP"
5683 # Extract the first word of "ldconfig", so it can be a program name with args.
5684 set dummy ldconfig; ac_word=$2
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686 $as_echo_n "checking for $ac_word... " >&6; }
5687 if ${ac_cv_path_LDCONFIG+:} false; then :
5688 $as_echo_n "(cached) " >&6
5689 else
5690 case $LDCONFIG in
5691 [\\/]* | ?:[\\/]*)
5692 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696 for as_dir in /sbin /usr/sbin $PATH
5698 IFS=$as_save_IFS
5699 test -z "$as_dir" && as_dir=.
5700 for ac_exec_ext in '' $ac_executable_extensions; do
5701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704 break 2
5706 done
5707 done
5708 IFS=$as_save_IFS
5710 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5712 esac
5714 LDCONFIG=$ac_cv_path_LDCONFIG
5715 if test -n "$LDCONFIG"; then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5717 $as_echo "$LDCONFIG" >&6; }
5718 else
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 $as_echo "no" >&6; }
5724 for ac_prog in msgfmt
5726 # Extract the first word of "$ac_prog", so it can be a program name with args.
5727 set dummy $ac_prog; ac_word=$2
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5729 $as_echo_n "checking for $ac_word... " >&6; }
5730 if ${ac_cv_prog_MSGFMT+:} false; then :
5731 $as_echo_n "(cached) " >&6
5732 else
5733 if test -n "$MSGFMT"; then
5734 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5735 else
5736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 for as_dir in $PATH
5739 IFS=$as_save_IFS
5740 test -z "$as_dir" && as_dir=.
5741 for ac_exec_ext in '' $ac_executable_extensions; do
5742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5743 ac_cv_prog_MSGFMT="$ac_prog"
5744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5745 break 2
5747 done
5748 done
5749 IFS=$as_save_IFS
5753 MSGFMT=$ac_cv_prog_MSGFMT
5754 if test -n "$MSGFMT"; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5756 $as_echo "$MSGFMT" >&6; }
5757 else
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5763 test -n "$MSGFMT" && break
5764 done
5765 test -n "$MSGFMT" || MSGFMT="false"
5767 if ${ac_tool_prefix+:} false; then :
5768 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5769 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5773 $as_echo_n "(cached) " >&6
5774 else
5775 if test -n "$PKG_CONFIG"; then
5776 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5777 else
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 for as_dir in $PATH
5781 IFS=$as_save_IFS
5782 test -z "$as_dir" && as_dir=.
5783 for ac_exec_ext in '' $ac_executable_extensions; do
5784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5785 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 break 2
5789 done
5790 done
5791 IFS=$as_save_IFS
5795 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5796 if test -n "$PKG_CONFIG"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5798 $as_echo "$PKG_CONFIG" >&6; }
5799 else
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5806 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5807 if test "x$cross_compiling" = xyes; then :
5809 else
5810 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5811 # Extract the first word of "pkg-config", so it can be a program name with args.
5812 set dummy pkg-config; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5816 $as_echo_n "(cached) " >&6
5817 else
5818 if test -n "$PKG_CONFIG"; then
5819 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5820 else
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 for as_dir in $PATH
5824 IFS=$as_save_IFS
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5828 ac_cv_prog_PKG_CONFIG="pkg-config"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5830 break 2
5832 done
5833 done
5834 IFS=$as_save_IFS
5838 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5839 if test -n "$PKG_CONFIG"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5841 $as_echo "$PKG_CONFIG" >&6; }
5842 else
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5849 else
5850 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5853 if test "x$enable_maintainer_mode" != "xyes"
5854 then
5855 FONTFORGE=""
5856 RSVG=""
5857 CONVERT=""
5858 ICOTOOL=""
5859 else
5860 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5861 for ac_prog in fontforge
5863 # Extract the first word of "$ac_prog", so it can be a program name with args.
5864 set dummy $ac_prog; ac_word=$2
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5866 $as_echo_n "checking for $ac_word... " >&6; }
5867 if ${ac_cv_prog_FONTFORGE+:} false; then :
5868 $as_echo_n "(cached) " >&6
5869 else
5870 if test -n "$FONTFORGE"; then
5871 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5872 else
5873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874 for as_dir in $PATH
5876 IFS=$as_save_IFS
5877 test -z "$as_dir" && as_dir=.
5878 for ac_exec_ext in '' $ac_executable_extensions; do
5879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5880 ac_cv_prog_FONTFORGE="$ac_prog"
5881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 break 2
5884 done
5885 done
5886 IFS=$as_save_IFS
5890 FONTFORGE=$ac_cv_prog_FONTFORGE
5891 if test -n "$FONTFORGE"; then
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5893 $as_echo "$FONTFORGE" >&6; }
5894 else
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5896 $as_echo "no" >&6; }
5900 test -n "$FONTFORGE" && break
5901 done
5902 test -n "$FONTFORGE" || FONTFORGE="false"
5904 for ac_prog in rsvg-convert rsvg
5906 # Extract the first word of "$ac_prog", so it can be a program name with args.
5907 set dummy $ac_prog; ac_word=$2
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5909 $as_echo_n "checking for $ac_word... " >&6; }
5910 if ${ac_cv_prog_RSVG+:} false; then :
5911 $as_echo_n "(cached) " >&6
5912 else
5913 if test -n "$RSVG"; then
5914 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5915 else
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5917 for as_dir in $PATH
5919 IFS=$as_save_IFS
5920 test -z "$as_dir" && as_dir=.
5921 for ac_exec_ext in '' $ac_executable_extensions; do
5922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5923 ac_cv_prog_RSVG="$ac_prog"
5924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5925 break 2
5927 done
5928 done
5929 IFS=$as_save_IFS
5933 RSVG=$ac_cv_prog_RSVG
5934 if test -n "$RSVG"; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5936 $as_echo "$RSVG" >&6; }
5937 else
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5939 $as_echo "no" >&6; }
5943 test -n "$RSVG" && break
5944 done
5945 test -n "$RSVG" || RSVG="false"
5947 for ac_prog in convert
5949 # Extract the first word of "$ac_prog", so it can be a program name with args.
5950 set dummy $ac_prog; ac_word=$2
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5952 $as_echo_n "checking for $ac_word... " >&6; }
5953 if ${ac_cv_prog_CONVERT+:} false; then :
5954 $as_echo_n "(cached) " >&6
5955 else
5956 if test -n "$CONVERT"; then
5957 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5958 else
5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 for as_dir in $PATH
5962 IFS=$as_save_IFS
5963 test -z "$as_dir" && as_dir=.
5964 for ac_exec_ext in '' $ac_executable_extensions; do
5965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5966 ac_cv_prog_CONVERT="$ac_prog"
5967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5968 break 2
5970 done
5971 done
5972 IFS=$as_save_IFS
5976 CONVERT=$ac_cv_prog_CONVERT
5977 if test -n "$CONVERT"; then
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5979 $as_echo "$CONVERT" >&6; }
5980 else
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5982 $as_echo "no" >&6; }
5986 test -n "$CONVERT" && break
5987 done
5988 test -n "$CONVERT" || CONVERT="false"
5990 for ac_prog in icotool
5992 # Extract the first word of "$ac_prog", so it can be a program name with args.
5993 set dummy $ac_prog; ac_word=$2
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995 $as_echo_n "checking for $ac_word... " >&6; }
5996 if ${ac_cv_prog_ICOTOOL+:} false; then :
5997 $as_echo_n "(cached) " >&6
5998 else
5999 if test -n "$ICOTOOL"; then
6000 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6001 else
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 for as_dir in $PATH
6005 IFS=$as_save_IFS
6006 test -z "$as_dir" && as_dir=.
6007 for ac_exec_ext in '' $ac_executable_extensions; do
6008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6009 ac_cv_prog_ICOTOOL="$ac_prog"
6010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6011 break 2
6013 done
6014 done
6015 IFS=$as_save_IFS
6019 ICOTOOL=$ac_cv_prog_ICOTOOL
6020 if test -n "$ICOTOOL"; then
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6022 $as_echo "$ICOTOOL" >&6; }
6023 else
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025 $as_echo "no" >&6; }
6029 test -n "$ICOTOOL" && break
6030 done
6031 test -n "$ICOTOOL" || ICOTOOL="false"
6033 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6034 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6036 if test "$CONVERT" = false
6037 then
6038 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6039 else
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6041 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6042 convert_version=`convert --version | head -n1`
6043 if test "x$convert_version" != "x"
6044 then
6045 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6046 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6047 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6048 then
6049 CONVERT=false
6052 if test "$CONVERT" = false
6053 then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6055 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6056 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6057 else
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6059 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6063 if test "$ICOTOOL" = false
6064 then
6065 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6066 else
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6068 $as_echo_n "checking for recent enough icotool... " >&6; }
6069 icotool_version=`icotool --version | head -n1`
6070 if test "x$icotool_version" != "x"
6071 then
6072 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6073 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6074 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6075 then
6076 ICOTOOL=false
6077 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6080 if test "$ICOTOOL" = false
6081 then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6083 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6084 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6085 else
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6087 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6091 with_gettext=yes
6092 with_gettextpo=yes
6093 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6096 test "x$with_gettext" != xno || MSGFMT=false
6097 if test "$MSGFMT" != "false"
6098 then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6100 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6101 cat >conftest.po <<EOF
6102 # comment
6103 msgctxt "ctxt"
6104 msgid "id"
6105 msgstr "str"
6107 if $MSGFMT -o /dev/null conftest.po 2>&5
6108 then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6110 $as_echo "yes" >&6; }
6111 else
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6113 $as_echo "no" >&6; }
6114 MSGFMT=false
6117 if test "$MSGFMT" = false; then :
6118 case "x$with_gettext" in
6119 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6120 xno) ;;
6121 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6122 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6123 esac
6124 enable_po=${enable_po:-no}
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6129 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6130 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6131 $as_echo_n "(cached) " >&6
6132 else
6133 ac_check_lib_save_LIBS=$LIBS
6134 LIBS="-li386 $LIBS"
6135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6136 /* end confdefs.h. */
6138 /* Override any GCC internal prototype to avoid an error.
6139 Use char because int might match the return type of a GCC
6140 builtin and then its argument prototype would still apply. */
6141 #ifdef __cplusplus
6142 extern "C"
6143 #endif
6144 char i386_set_ldt ();
6146 main ()
6148 return i386_set_ldt ();
6150 return 0;
6152 _ACEOF
6153 if ac_fn_c_try_link "$LINENO"; then :
6154 ac_cv_lib_i386_i386_set_ldt=yes
6155 else
6156 ac_cv_lib_i386_i386_set_ldt=no
6158 rm -f core conftest.err conftest.$ac_objext \
6159 conftest$ac_exeext conftest.$ac_ext
6160 LIBS=$ac_check_lib_save_LIBS
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6163 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6164 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6165 cat >>confdefs.h <<_ACEOF
6166 #define HAVE_LIBI386 1
6167 _ACEOF
6169 LIBS="-li386 $LIBS"
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6174 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6175 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6176 $as_echo_n "(cached) " >&6
6177 else
6178 ac_check_lib_save_LIBS=$LIBS
6179 LIBS="-lossaudio $LIBS"
6180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6181 /* end confdefs.h. */
6183 /* Override any GCC internal prototype to avoid an error.
6184 Use char because int might match the return type of a GCC
6185 builtin and then its argument prototype would still apply. */
6186 #ifdef __cplusplus
6187 extern "C"
6188 #endif
6189 char _oss_ioctl ();
6191 main ()
6193 return _oss_ioctl ();
6195 return 0;
6197 _ACEOF
6198 if ac_fn_c_try_link "$LINENO"; then :
6199 ac_cv_lib_ossaudio__oss_ioctl=yes
6200 else
6201 ac_cv_lib_ossaudio__oss_ioctl=no
6203 rm -f core conftest.err conftest.$ac_objext \
6204 conftest$ac_exeext conftest.$ac_ext
6205 LIBS=$ac_check_lib_save_LIBS
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6208 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6209 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6210 cat >>confdefs.h <<_ACEOF
6211 #define HAVE_LIBOSSAUDIO 1
6212 _ACEOF
6214 LIBS="-lossaudio $LIBS"
6219 OPENGL_LIBS=""
6223 # Check whether --enable-largefile was given.
6224 if test "${enable_largefile+set}" = set; then :
6225 enableval=$enable_largefile;
6228 if test "$enable_largefile" != no; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6231 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6232 if ${ac_cv_sys_largefile_CC+:} false; then :
6233 $as_echo_n "(cached) " >&6
6234 else
6235 ac_cv_sys_largefile_CC=no
6236 if test "$GCC" != yes; then
6237 ac_save_CC=$CC
6238 while :; do
6239 # IRIX 6.2 and later do not support large files by default,
6240 # so use the C compiler's -n32 option if that helps.
6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6243 #include <sys/types.h>
6244 /* Check that off_t can represent 2**63 - 1 correctly.
6245 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6246 since some C++ compilers masquerading as C compilers
6247 incorrectly reject 9223372036854775807. */
6248 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6249 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6250 && LARGE_OFF_T % 2147483647 == 1)
6251 ? 1 : -1];
6253 main ()
6257 return 0;
6259 _ACEOF
6260 if ac_fn_c_try_compile "$LINENO"; then :
6261 break
6263 rm -f core conftest.err conftest.$ac_objext
6264 CC="$CC -n32"
6265 if ac_fn_c_try_compile "$LINENO"; then :
6266 ac_cv_sys_largefile_CC=' -n32'; break
6268 rm -f core conftest.err conftest.$ac_objext
6269 break
6270 done
6271 CC=$ac_save_CC
6272 rm -f conftest.$ac_ext
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6276 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6277 if test "$ac_cv_sys_largefile_CC" != no; then
6278 CC=$CC$ac_cv_sys_largefile_CC
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6282 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6283 if ${ac_cv_sys_file_offset_bits+:} false; then :
6284 $as_echo_n "(cached) " >&6
6285 else
6286 while :; do
6287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6288 /* end confdefs.h. */
6289 #include <sys/types.h>
6290 /* Check that off_t can represent 2**63 - 1 correctly.
6291 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6292 since some C++ compilers masquerading as C compilers
6293 incorrectly reject 9223372036854775807. */
6294 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6295 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6296 && LARGE_OFF_T % 2147483647 == 1)
6297 ? 1 : -1];
6299 main ()
6303 return 0;
6305 _ACEOF
6306 if ac_fn_c_try_compile "$LINENO"; then :
6307 ac_cv_sys_file_offset_bits=no; break
6309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6311 /* end confdefs.h. */
6312 #define _FILE_OFFSET_BITS 64
6313 #include <sys/types.h>
6314 /* Check that off_t can represent 2**63 - 1 correctly.
6315 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6316 since some C++ compilers masquerading as C compilers
6317 incorrectly reject 9223372036854775807. */
6318 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6319 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6320 && LARGE_OFF_T % 2147483647 == 1)
6321 ? 1 : -1];
6323 main ()
6327 return 0;
6329 _ACEOF
6330 if ac_fn_c_try_compile "$LINENO"; then :
6331 ac_cv_sys_file_offset_bits=64; break
6333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6334 ac_cv_sys_file_offset_bits=unknown
6335 break
6336 done
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6339 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6340 case $ac_cv_sys_file_offset_bits in #(
6341 no | unknown) ;;
6343 cat >>confdefs.h <<_ACEOF
6344 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6345 _ACEOF
6347 esac
6348 rm -rf conftest*
6349 if test $ac_cv_sys_file_offset_bits = unknown; then
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6351 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6352 if ${ac_cv_sys_large_files+:} false; then :
6353 $as_echo_n "(cached) " >&6
6354 else
6355 while :; do
6356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6358 #include <sys/types.h>
6359 /* Check that off_t can represent 2**63 - 1 correctly.
6360 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6361 since some C++ compilers masquerading as C compilers
6362 incorrectly reject 9223372036854775807. */
6363 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6364 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6365 && LARGE_OFF_T % 2147483647 == 1)
6366 ? 1 : -1];
6368 main ()
6372 return 0;
6374 _ACEOF
6375 if ac_fn_c_try_compile "$LINENO"; then :
6376 ac_cv_sys_large_files=no; break
6378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381 #define _LARGE_FILES 1
6382 #include <sys/types.h>
6383 /* Check that off_t can represent 2**63 - 1 correctly.
6384 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6385 since some C++ compilers masquerading as C compilers
6386 incorrectly reject 9223372036854775807. */
6387 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6388 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6389 && LARGE_OFF_T % 2147483647 == 1)
6390 ? 1 : -1];
6392 main ()
6396 return 0;
6398 _ACEOF
6399 if ac_fn_c_try_compile "$LINENO"; then :
6400 ac_cv_sys_large_files=1; break
6402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6403 ac_cv_sys_large_files=unknown
6404 break
6405 done
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6408 $as_echo "$ac_cv_sys_large_files" >&6; }
6409 case $ac_cv_sys_large_files in #(
6410 no | unknown) ;;
6412 cat >>confdefs.h <<_ACEOF
6413 #define _LARGE_FILES $ac_cv_sys_large_files
6414 _ACEOF
6416 esac
6417 rm -rf conftest*
6424 ac_ext=c
6425 ac_cpp='$CPP $CPPFLAGS'
6426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6430 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6431 # On Suns, sometimes $CPP names a directory.
6432 if test -n "$CPP" && test -d "$CPP"; then
6433 CPP=
6435 if test -z "$CPP"; then
6436 if ${ac_cv_prog_CPP+:} false; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 # Double quotes because CPP needs to be expanded
6440 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
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 :
6488 break
6491 done
6492 ac_cv_prog_CPP=$CPP
6495 CPP=$ac_cv_prog_CPP
6496 else
6497 ac_cv_prog_CPP=$CPP
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6500 $as_echo "$CPP" >&6; }
6501 ac_preproc_ok=false
6502 for ac_c_preproc_warn_flag in '' yes
6504 # Use a header file that comes with gcc, so configuring glibc
6505 # with a fresh cross-compiler works.
6506 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6507 # <limits.h> exists even on freestanding compilers.
6508 # On the NeXT, cc -E runs the code through the compiler's parser,
6509 # not just through cpp. "Syntax error" is here to catch this case.
6510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6511 /* end confdefs.h. */
6512 #ifdef __STDC__
6513 # include <limits.h>
6514 #else
6515 # include <assert.h>
6516 #endif
6517 Syntax error
6518 _ACEOF
6519 if ac_fn_c_try_cpp "$LINENO"; then :
6521 else
6522 # Broken: fails on valid input.
6523 continue
6525 rm -f conftest.err conftest.i conftest.$ac_ext
6527 # OK, works on sane cases. Now check whether nonexistent headers
6528 # can be detected and how.
6529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6530 /* end confdefs.h. */
6531 #include <ac_nonexistent.h>
6532 _ACEOF
6533 if ac_fn_c_try_cpp "$LINENO"; then :
6534 # Broken: success on invalid input.
6535 continue
6536 else
6537 # Passes both tests.
6538 ac_preproc_ok=:
6539 break
6541 rm -f conftest.err conftest.i conftest.$ac_ext
6543 done
6544 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6545 rm -f conftest.i conftest.err conftest.$ac_ext
6546 if $ac_preproc_ok; then :
6548 else
6549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6551 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6552 See \`config.log' for more details" "$LINENO" 5; }
6555 ac_ext=c
6556 ac_cpp='$CPP $CPPFLAGS'
6557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6563 $as_echo_n "checking for ANSI C header files... " >&6; }
6564 if ${ac_cv_header_stdc+:} false; then :
6565 $as_echo_n "(cached) " >&6
6566 else
6567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6568 /* end confdefs.h. */
6569 #include <stdlib.h>
6570 #include <stdarg.h>
6571 #include <string.h>
6572 #include <float.h>
6575 main ()
6579 return 0;
6581 _ACEOF
6582 if ac_fn_c_try_compile "$LINENO"; then :
6583 ac_cv_header_stdc=yes
6584 else
6585 ac_cv_header_stdc=no
6587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6589 if test $ac_cv_header_stdc = yes; then
6590 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6592 /* end confdefs.h. */
6593 #include <string.h>
6595 _ACEOF
6596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6597 $EGREP "memchr" >/dev/null 2>&1; then :
6599 else
6600 ac_cv_header_stdc=no
6602 rm -f conftest*
6606 if test $ac_cv_header_stdc = yes; then
6607 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609 /* end confdefs.h. */
6610 #include <stdlib.h>
6612 _ACEOF
6613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6614 $EGREP "free" >/dev/null 2>&1; then :
6616 else
6617 ac_cv_header_stdc=no
6619 rm -f conftest*
6623 if test $ac_cv_header_stdc = yes; then
6624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6625 if test "$cross_compiling" = yes; then :
6627 else
6628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6629 /* end confdefs.h. */
6630 #include <ctype.h>
6631 #include <stdlib.h>
6632 #if ((' ' & 0x0FF) == 0x020)
6633 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6634 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6635 #else
6636 # define ISLOWER(c) \
6637 (('a' <= (c) && (c) <= 'i') \
6638 || ('j' <= (c) && (c) <= 'r') \
6639 || ('s' <= (c) && (c) <= 'z'))
6640 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6641 #endif
6643 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6645 main ()
6647 int i;
6648 for (i = 0; i < 256; i++)
6649 if (XOR (islower (i), ISLOWER (i))
6650 || toupper (i) != TOUPPER (i))
6651 return 2;
6652 return 0;
6654 _ACEOF
6655 if ac_fn_c_try_run "$LINENO"; then :
6657 else
6658 ac_cv_header_stdc=no
6660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6661 conftest.$ac_objext conftest.beam conftest.$ac_ext
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6667 $as_echo "$ac_cv_header_stdc" >&6; }
6668 if test $ac_cv_header_stdc = yes; then
6670 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6674 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6675 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6676 inttypes.h stdint.h unistd.h
6677 do :
6678 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6679 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6681 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6682 cat >>confdefs.h <<_ACEOF
6683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6684 _ACEOF
6688 done
6691 for ac_header in \
6692 AL/al.h \
6693 ApplicationServices/ApplicationServices.h \
6694 AudioToolbox/AudioConverter.h \
6695 AudioUnit/AudioUnit.h \
6696 AudioUnit/AudioComponent.h \
6697 CL/cl.h \
6698 Carbon/Carbon.h \
6699 CommonCrypto/CommonDigest.h \
6700 CoreAudio/CoreAudio.h \
6701 CoreServices/CoreServices.h \
6702 DiskArbitration/DiskArbitration.h \
6703 IOKit/IOKitLib.h \
6704 IOKit/hid/IOHIDLib.h \
6705 OpenAL/al.h \
6706 OpenCL/opencl.h \
6707 QuickTime/ImageCompression.h \
6708 Security/Security.h \
6709 alias.h \
6710 alsa/asoundlib.h \
6711 arpa/inet.h \
6712 arpa/nameser.h \
6713 asm/types.h \
6714 asm/user.h \
6715 curses.h \
6716 direct.h \
6717 dirent.h \
6718 dlfcn.h \
6719 elf.h \
6720 float.h \
6721 fnmatch.h \
6722 getopt.h \
6723 gettext-po.h \
6724 grp.h \
6725 gsm.h \
6726 gsm/gsm.h \
6727 ieeefp.h \
6728 inet/mib2.h \
6729 io.h \
6730 kstat.h \
6731 lber.h \
6732 ldap.h \
6733 libproc.h \
6734 link.h \
6735 linux/cdrom.h \
6736 linux/compiler.h \
6737 linux/filter.h \
6738 linux/hdreg.h \
6739 linux/input.h \
6740 linux/ioctl.h \
6741 linux/joystick.h \
6742 linux/major.h \
6743 linux/param.h \
6744 linux/serial.h \
6745 linux/types.h \
6746 linux/ucdrom.h \
6747 lwp.h \
6748 mach-o/nlist.h \
6749 mach-o/loader.h \
6750 mach/mach.h \
6751 mach/machine.h \
6752 machine/cpu.h \
6753 machine/limits.h \
6754 machine/sysarch.h \
6755 mntent.h \
6756 ncurses.h \
6757 netdb.h \
6758 netinet/in.h \
6759 netinet/in_systm.h \
6760 netinet/tcp.h \
6761 netinet/tcp_fsm.h \
6762 pcap/pcap.h \
6763 poll.h \
6764 port.h \
6765 process.h \
6766 pthread.h \
6767 pwd.h \
6768 sched.h \
6769 scsi/scsi.h \
6770 scsi/scsi_ioctl.h \
6771 scsi/sg.h \
6772 stdbool.h \
6773 stdint.h \
6774 stropts.h \
6775 sys/asoundlib.h \
6776 sys/attr.h \
6777 sys/cdio.h \
6778 sys/elf32.h \
6779 sys/epoll.h \
6780 sys/event.h \
6781 sys/exec_elf.h \
6782 sys/filio.h \
6783 sys/inotify.h \
6784 sys/ioctl.h \
6785 sys/ipc.h \
6786 sys/limits.h \
6787 sys/link.h \
6788 sys/mman.h \
6789 sys/modem.h \
6790 sys/msg.h \
6791 sys/mtio.h \
6792 sys/param.h \
6793 sys/poll.h \
6794 sys/prctl.h \
6795 sys/protosw.h \
6796 sys/ptrace.h \
6797 sys/queue.h \
6798 sys/resource.h \
6799 sys/scsiio.h \
6800 sys/shm.h \
6801 sys/signal.h \
6802 sys/socket.h \
6803 sys/socketvar.h \
6804 sys/sockio.h \
6805 sys/statvfs.h \
6806 sys/strtio.h \
6807 sys/syscall.h \
6808 sys/tihdr.h \
6809 sys/time.h \
6810 sys/timeout.h \
6811 sys/times.h \
6812 sys/uio.h \
6813 sys/user.h \
6814 sys/utsname.h \
6815 sys/vm86.h \
6816 sys/vnode.h \
6817 sys/wait.h \
6818 syscall.h \
6819 termios.h \
6820 unistd.h \
6821 utime.h \
6822 valgrind/memcheck.h \
6823 valgrind/valgrind.h \
6824 zlib.h
6826 do :
6827 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6828 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6829 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6830 cat >>confdefs.h <<_ACEOF
6831 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6832 _ACEOF
6836 done
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6839 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6840 if ${ac_cv_header_stat_broken+:} false; then :
6841 $as_echo_n "(cached) " >&6
6842 else
6843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6844 /* end confdefs.h. */
6845 #include <sys/types.h>
6846 #include <sys/stat.h>
6848 #if defined S_ISBLK && defined S_IFDIR
6849 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6850 #endif
6852 #if defined S_ISBLK && defined S_IFCHR
6853 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6854 #endif
6856 #if defined S_ISLNK && defined S_IFREG
6857 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6858 #endif
6860 #if defined S_ISSOCK && defined S_IFREG
6861 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6862 #endif
6864 _ACEOF
6865 if ac_fn_c_try_compile "$LINENO"; then :
6866 ac_cv_header_stat_broken=no
6867 else
6868 ac_cv_header_stat_broken=yes
6870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6873 $as_echo "$ac_cv_header_stat_broken" >&6; }
6874 if test $ac_cv_header_stat_broken = yes; then
6876 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6882 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6883 do :
6884 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6885 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6886 #ifdef HAVE_SYS_PARAM_H
6887 # include <sys/param.h>
6888 #endif
6890 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6891 cat >>confdefs.h <<_ACEOF
6892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6893 _ACEOF
6897 done
6900 for ac_header in \
6901 netinet/ip.h \
6902 net/if.h \
6903 net/if_arp.h \
6904 net/if_dl.h \
6905 net/if_types.h \
6906 net/route.h \
6907 netinet/if_ether.h \
6908 netinet/if_inarp.h \
6909 netinet/in_pcb.h \
6910 netinet/ip_icmp.h \
6911 netinet/ip_var.h \
6912 netinet/udp.h \
6913 netipx/ipx.h \
6914 sys/un.h \
6916 do :
6917 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6918 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6919 #ifdef HAVE_SYS_SOCKET_H
6920 # include <sys/socket.h>
6921 #endif
6922 #ifdef HAVE_SYS_SOCKETVAR_H
6923 # include <sys/socketvar.h>
6924 #endif
6925 #ifdef HAVE_NET_ROUTE_H
6926 # include <net/route.h>
6927 #endif
6928 #ifdef HAVE_NETINET_IN_H
6929 # include <netinet/in.h>
6930 #endif
6931 #ifdef HAVE_NETINET_IN_SYSTM_H
6932 # include <netinet/in_systm.h>
6933 #endif
6934 #ifdef HAVE_NET_IF_H
6935 # include <net/if.h>
6936 #endif
6937 #ifdef HAVE_NETINET_IP_H
6938 # include <netinet/ip.h>
6939 #endif
6941 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6942 cat >>confdefs.h <<_ACEOF
6943 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6944 _ACEOF
6948 done
6951 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6952 do :
6953 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6954 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6955 #ifdef HAVE_ALIAS_H
6956 # include <alias.h>
6957 #endif
6958 #ifdef HAVE_SYS_SOCKET_H
6959 # include <sys/socket.h>
6960 #endif
6961 #ifdef HAVE_SYS_SOCKETVAR_H
6962 # include <sys/socketvar.h>
6963 #endif
6964 #ifdef HAVE_SYS_TIMEOUT_H
6965 # include <sys/timeout.h>
6966 #endif
6967 #ifdef HAVE_NETINET_IN_H
6968 # include <netinet/in.h>
6969 #endif
6970 #ifdef HAVE_NETINET_IN_SYSTM_H
6971 # include <netinet/in_systm.h>
6972 #endif
6973 #ifdef HAVE_NETINET_IP_H
6974 # include <netinet/ip.h>
6975 #endif
6976 #ifdef HAVE_NETINET_IP_VAR_H
6977 # include <netinet/ip_var.h>
6978 #endif
6979 #ifdef HAVE_NETINET_IP_ICMP_H
6980 # include <netinet/ip_icmp.h>
6981 #endif
6982 #ifdef HAVE_NETINET_UDP_H
6983 # include <netinet/udp.h>
6984 #endif
6985 #ifdef HAVE_NETINET_TCP_H
6986 # include <netinet/tcp.h>
6987 #endif
6988 #ifdef HAVE_NETINET_TCP_TIMER_H
6989 #include <netinet/tcp_timer.h>
6990 #endif
6992 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6993 cat >>confdefs.h <<_ACEOF
6994 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6995 _ACEOF
6999 done
7002 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7003 do :
7004 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7005 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7006 #ifdef HAVE_ASM_TYPES_H
7007 # include <asm/types.h>
7008 #endif
7009 #ifdef HAVE_SYS_SOCKET_H
7010 # include <sys/socket.h>
7011 #endif
7012 #ifdef HAVE_LINUX_TYPES_H
7013 # include <linux/types.h>
7014 #endif
7016 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7017 cat >>confdefs.h <<_ACEOF
7018 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7019 _ACEOF
7023 done
7026 for ac_header in mach-o/dyld_images.h
7027 do :
7028 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7029 # include <stdbool.h>
7030 #endif
7031 #ifdef HAVE_STDINT_H
7032 # include <stdint.h>
7033 #endif
7035 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7036 cat >>confdefs.h <<_ACEOF
7037 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7038 _ACEOF
7042 done
7045 for ac_header in resolv.h
7046 do :
7047 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7048 #ifdef HAVE_SYS_SOCKET_H
7049 # include <sys/socket.h>
7050 #endif
7051 #ifdef HAVE_NETINET_IN_H
7052 # include <netinet/in.h>
7053 #endif
7054 #ifdef HAVE_ARPA_NAMESER_H
7055 # include <arpa/nameser.h>
7056 #endif
7058 if test "x$ac_cv_header_resolv_h" = xyes; then :
7059 cat >>confdefs.h <<_ACEOF
7060 #define HAVE_RESOLV_H 1
7061 _ACEOF
7065 done
7068 for ac_header in ifaddrs.h
7069 do :
7070 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7072 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7073 cat >>confdefs.h <<_ACEOF
7074 #define HAVE_IFADDRS_H 1
7075 _ACEOF
7079 done
7082 for ac_header in sys/ucontext.h
7083 do :
7084 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7086 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7087 cat >>confdefs.h <<_ACEOF
7088 #define HAVE_SYS_UCONTEXT_H 1
7089 _ACEOF
7093 done
7096 for ac_header in sys/thr.h
7097 do :
7098 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7099 #ifdef HAVE_SYS_UCONTEXT_H
7100 #include <sys/ucontext.h>
7101 #endif
7103 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7104 cat >>confdefs.h <<_ACEOF
7105 #define HAVE_SYS_THR_H 1
7106 _ACEOF
7110 done
7113 for ac_header in pthread_np.h
7114 do :
7115 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7116 #include <pthread.h>
7117 #endif
7119 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7120 cat >>confdefs.h <<_ACEOF
7121 #define HAVE_PTHREAD_NP_H 1
7122 _ACEOF
7126 done
7129 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7130 do :
7131 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7132 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7133 #include <sys/time.h>
7134 #endif
7135 #include <sys/types.h>
7136 #ifdef HAVE_ASM_TYPES_H
7137 #include <asm/types.h>
7138 #endif
7140 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7141 cat >>confdefs.h <<_ACEOF
7142 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7143 _ACEOF
7147 done
7150 for ac_header in libprocstat.h
7151 do :
7152 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7153 #include <sys/param.h>
7154 #endif
7155 #ifdef HAVE_SYS_QUEUE_H
7156 #include <sys/queue.h>
7157 #endif
7158 #ifdef HAVE_SYS_SOCKET_H
7159 #include <sys/socket.h>
7160 #endif
7162 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7163 cat >>confdefs.h <<_ACEOF
7164 #define HAVE_LIBPROCSTAT_H 1
7165 _ACEOF
7169 done
7173 dlldir="\${libdir}/wine"
7175 DLLFLAGS="-D_REENTRANT"
7177 LDRPATH_INSTALL=""
7179 LDRPATH_LOCAL=""
7181 LDEXECFLAGS=""
7183 LIBEXT="so"
7184 DLLEXT=".so"
7185 IMPLIBEXT="def"
7186 STATIC_IMPLIBEXT="def.a"
7187 # Extract the first word of "ldd", so it can be a program name with args.
7188 set dummy ldd; ac_word=$2
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7190 $as_echo_n "checking for $ac_word... " >&6; }
7191 if ${ac_cv_path_LDD+:} false; then :
7192 $as_echo_n "(cached) " >&6
7193 else
7194 case $LDD in
7195 [\\/]* | ?:[\\/]*)
7196 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200 as_dummy="/sbin:/usr/sbin:$PATH"
7201 for as_dir in $as_dummy
7203 IFS=$as_save_IFS
7204 test -z "$as_dir" && as_dir=.
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7207 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7209 break 2
7211 done
7212 done
7213 IFS=$as_save_IFS
7215 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7217 esac
7219 LDD=$ac_cv_path_LDD
7220 if test -n "$LDD"; then
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7222 $as_echo "$LDD" >&6; }
7223 else
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 $as_echo "no" >&6; }
7229 if test -n "$ac_tool_prefix"; then
7230 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7231 set dummy ${ac_tool_prefix}otool; ac_word=$2
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7233 $as_echo_n "checking for $ac_word... " >&6; }
7234 if ${ac_cv_prog_OTOOL+:} false; then :
7235 $as_echo_n "(cached) " >&6
7236 else
7237 if test -n "$OTOOL"; then
7238 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7239 else
7240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241 for as_dir in $PATH
7243 IFS=$as_save_IFS
7244 test -z "$as_dir" && as_dir=.
7245 for ac_exec_ext in '' $ac_executable_extensions; do
7246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7247 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7249 break 2
7251 done
7252 done
7253 IFS=$as_save_IFS
7257 OTOOL=$ac_cv_prog_OTOOL
7258 if test -n "$OTOOL"; then
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7260 $as_echo "$OTOOL" >&6; }
7261 else
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7263 $as_echo "no" >&6; }
7268 if test -z "$ac_cv_prog_OTOOL"; then
7269 ac_ct_OTOOL=$OTOOL
7270 # Extract the first word of "otool", so it can be a program name with args.
7271 set dummy otool; ac_word=$2
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273 $as_echo_n "checking for $ac_word... " >&6; }
7274 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7275 $as_echo_n "(cached) " >&6
7276 else
7277 if test -n "$ac_ct_OTOOL"; then
7278 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7279 else
7280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281 for as_dir in $PATH
7283 IFS=$as_save_IFS
7284 test -z "$as_dir" && as_dir=.
7285 for ac_exec_ext in '' $ac_executable_extensions; do
7286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7287 ac_cv_prog_ac_ct_OTOOL="otool"
7288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7289 break 2
7291 done
7292 done
7293 IFS=$as_save_IFS
7297 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7298 if test -n "$ac_ct_OTOOL"; then
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7300 $as_echo "$ac_ct_OTOOL" >&6; }
7301 else
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303 $as_echo "no" >&6; }
7306 if test "x$ac_ct_OTOOL" = x; then
7307 OTOOL="otool"
7308 else
7309 case $cross_compiling:$ac_tool_warned in
7310 yes:)
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7313 ac_tool_warned=yes ;;
7314 esac
7315 OTOOL=$ac_ct_OTOOL
7317 else
7318 OTOOL="$ac_cv_prog_OTOOL"
7321 if test -n "$ac_tool_prefix"; then
7322 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7323 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if ${ac_cv_prog_READELF+:} false; then :
7327 $as_echo_n "(cached) " >&6
7328 else
7329 if test -n "$READELF"; then
7330 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7331 else
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $PATH
7335 IFS=$as_save_IFS
7336 test -z "$as_dir" && as_dir=.
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 break 2
7343 done
7344 done
7345 IFS=$as_save_IFS
7349 READELF=$ac_cv_prog_READELF
7350 if test -n "$READELF"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7352 $as_echo "$READELF" >&6; }
7353 else
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7360 if test -z "$ac_cv_prog_READELF"; then
7361 ac_ct_READELF=$READELF
7362 # Extract the first word of "readelf", so it can be a program name with args.
7363 set dummy readelf; ac_word=$2
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 $as_echo_n "checking for $ac_word... " >&6; }
7366 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7367 $as_echo_n "(cached) " >&6
7368 else
7369 if test -n "$ac_ct_READELF"; then
7370 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7371 else
7372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7373 for as_dir in $PATH
7375 IFS=$as_save_IFS
7376 test -z "$as_dir" && as_dir=.
7377 for ac_exec_ext in '' $ac_executable_extensions; do
7378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7379 ac_cv_prog_ac_ct_READELF="readelf"
7380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7381 break 2
7383 done
7384 done
7385 IFS=$as_save_IFS
7389 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7390 if test -n "$ac_ct_READELF"; then
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7392 $as_echo "$ac_ct_READELF" >&6; }
7393 else
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7395 $as_echo "no" >&6; }
7398 if test "x$ac_ct_READELF" = x; then
7399 READELF="true"
7400 else
7401 case $cross_compiling:$ac_tool_warned in
7402 yes:)
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7405 ac_tool_warned=yes ;;
7406 esac
7407 READELF=$ac_ct_READELF
7409 else
7410 READELF="$ac_cv_prog_READELF"
7413 wine_rules_file=conf$$rules.make
7414 rm -f $wine_rules_file
7415 SUBDIRS=""
7417 DISABLED_SUBDIRS=""
7419 CONFIGURE_TARGETS=""
7421 ALL_TEST_RESOURCES=""
7424 wine_fn_append_file ()
7426 as_fn_append $1 " \\$as_nl $2"
7429 wine_fn_append_rule ()
7431 $as_echo "$1" >>$wine_rules_file
7434 wine_fn_has_flag ()
7436 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7439 wine_fn_all_rules ()
7441 wine_fn_append_file SUBDIRS $ac_dir
7442 wine_fn_append_rule \
7443 "all: $ac_dir
7444 .PHONY: $ac_dir
7445 $ac_dir: dummy
7446 @cd $ac_dir && \$(MAKE)"
7449 wine_fn_install_rules ()
7451 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7453 wine_fn_append_rule \
7454 ".PHONY: $ac_dir/install $ac_dir/uninstall
7455 $ac_dir/install:: $ac_dir
7456 @cd $ac_dir && \$(MAKE) install
7457 $ac_dir/uninstall::
7458 @cd $ac_dir && \$(MAKE) uninstall
7459 install:: $ac_dir/install
7460 __uninstall__: $ac_dir/uninstall"
7462 if wine_fn_has_flag install-lib
7463 then
7464 wine_fn_append_rule \
7465 ".PHONY: $ac_dir/install-lib
7466 $ac_dir/install-lib:: $ac_dir
7467 @cd $ac_dir && \$(MAKE) install-lib
7468 install-lib:: $ac_dir/install-lib"
7471 if wine_fn_has_flag install-dev
7472 then
7473 wine_fn_append_rule \
7474 ".PHONY: $ac_dir/install-dev
7475 $ac_dir/install-dev:: $ac_dir
7476 @cd $ac_dir && \$(MAKE) install-dev
7477 install-dev:: $ac_dir/install-dev"
7481 wine_fn_clean_rules ()
7483 ac_clean=$@
7485 if wine_fn_has_flag clean
7486 then
7487 wine_fn_append_rule \
7488 "$ac_dir/clean: dummy
7489 @cd $ac_dir && \$(MAKE) clean"
7490 else
7491 wine_fn_append_rule \
7492 "$ac_dir/clean: dummy
7493 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7495 wine_fn_append_rule \
7496 "__clean__: $ac_dir/clean
7497 .PHONY: $ac_dir/clean"
7500 wine_fn_disabled_rules ()
7502 ac_clean=$@
7504 wine_fn_append_file SUBDIRS $ac_dir
7505 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7506 wine_fn_append_rule \
7507 "__clean__: $ac_dir/clean
7508 .PHONY: $ac_dir/clean
7509 $ac_dir/clean: dummy
7510 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7513 wine_fn_config_makefile ()
7515 ac_dir=$1
7516 ac_enable=$2
7517 ac_flags=$3
7519 case $ac_dir in
7520 fonts|server) test -z "$with_wine64" || return ;;
7521 esac
7522 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7523 wine_fn_disabled_rules; return
7525 wine_fn_all_rules
7526 wine_fn_install_rules
7527 wine_fn_clean_rules
7530 wine_fn_config_lib ()
7532 ac_name=$1
7533 ac_flags=$2
7534 ac_dir=dlls/$ac_name
7535 ac_deps="include"
7537 if test "x$enable_tools" = xno; then :
7539 else
7540 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7542 wine_fn_all_rules
7543 wine_fn_clean_rules
7545 wine_fn_append_rule \
7546 ".PHONY: $ac_dir/install $ac_dir/uninstall
7547 $ac_dir/install:: $ac_dir
7548 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7549 $ac_dir/uninstall::
7550 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7551 install install-dev:: $ac_dir/install
7552 __uninstall__: $ac_dir/uninstall
7553 __builddeps__: $ac_dir
7554 $ac_dir: $ac_deps"
7557 wine_fn_config_dll ()
7559 ac_name=$1
7560 ac_dir=dlls/$ac_name
7561 ac_enable=$2
7562 ac_flags=$3
7563 ac_implib=${4:-$ac_name}
7564 ac_file=$ac_dir/lib$ac_implib
7565 ac_dll=$ac_name
7566 ac_deps="include"
7567 ac_implibflags=""
7569 if test "x$enable_tools" = xno; then :
7571 else
7572 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7574 case $ac_name in
7575 *16) ac_implibflags=" -m16" ;;
7576 *.*) ;;
7577 *) ac_dll=$ac_dll.dll ;;
7578 esac
7580 ac_clean=
7581 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7582 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7584 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7585 if test "$ac_enable" != enable_win16
7586 then
7587 wine_fn_clean_rules $ac_clean
7588 wine_fn_append_file SUBDIRS $ac_dir
7589 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7590 else
7591 wine_fn_disabled_rules $ac_clean
7592 return
7594 else
7595 wine_fn_all_rules
7596 wine_fn_clean_rules $ac_clean
7597 wine_fn_append_rule \
7598 "$ac_dir: __builddeps__
7599 manpages htmlpages sgmlpages xmlpages::
7600 @cd $ac_dir && \$(MAKE) \$@
7601 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7602 install install-lib:: $ac_dir/install-lib
7603 __uninstall__: $ac_dir/uninstall"
7604 if test -n "$DLLEXT"
7605 then
7606 wine_fn_append_rule \
7607 "$ac_dir/install-lib:: $ac_dir
7608 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7609 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7610 $ac_dir/uninstall::
7611 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7612 else
7613 wine_fn_append_rule \
7614 "$ac_dir/install-lib:: $ac_dir
7615 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7616 $ac_dir/uninstall::
7617 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7621 if wine_fn_has_flag staticimplib
7622 then
7623 wine_fn_append_rule \
7624 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7625 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7626 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7627 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7628 $ac_file.$STATIC_IMPLIBEXT: dummy
7629 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7630 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7631 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7632 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7633 $ac_dir/uninstall::
7634 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7635 install install-dev:: $ac_dir/install-dev
7636 __uninstall__: $ac_dir/uninstall"
7638 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7639 then
7640 wine_fn_append_rule \
7641 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7642 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7643 $ac_dir/uninstall::
7644 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7647 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7648 then
7649 wine_fn_append_rule \
7650 "__builddeps__: $ac_file.cross.a
7651 $ac_file.cross.a: dummy
7652 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7655 elif wine_fn_has_flag implib
7656 then
7657 wine_fn_append_rule \
7658 "__builddeps__: $ac_file.$IMPLIBEXT
7659 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7660 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7661 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7662 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7663 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7664 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7665 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7666 $ac_dir/uninstall::
7667 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7668 install install-dev:: $ac_dir/install-dev
7669 __uninstall__: $ac_dir/uninstall"
7670 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7671 then
7672 wine_fn_append_rule \
7673 "__builddeps__: $ac_file.cross.a
7674 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7675 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7680 wine_fn_config_program ()
7682 ac_name=$1
7683 ac_dir=programs/$ac_name
7684 ac_enable=$2
7685 ac_flags=$3
7686 ac_program=$ac_name
7688 case $ac_name in
7689 *.*) ;;
7690 *) ac_program=$ac_program.exe ;;
7691 esac
7693 ac_clean=
7694 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7695 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7697 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7698 wine_fn_disabled_rules $ac_clean; return
7701 wine_fn_all_rules
7702 wine_fn_clean_rules $ac_clean
7703 wine_fn_append_rule "$ac_dir: __builddeps__"
7705 wine_fn_has_flag install || return
7706 wine_fn_append_rule \
7707 ".PHONY: $ac_dir/install $ac_dir/uninstall
7708 install install-lib:: $ac_dir/install
7709 __uninstall__: $ac_dir/uninstall"
7711 if test -n "$DLLEXT"
7712 then
7713 wine_fn_append_rule \
7714 "$ac_dir/install:: $ac_dir
7715 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7716 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7717 $ac_dir/uninstall::
7718 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7720 if test -z "$with_wine64" && wine_fn_has_flag installbin
7721 then
7722 wine_fn_append_rule \
7723 "$ac_dir/install:: __tooldeps__
7724 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7725 $ac_dir/uninstall::
7726 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7728 else
7729 wine_fn_append_rule \
7730 "$ac_dir/install:: $ac_dir
7731 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7732 $ac_dir/uninstall::
7733 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7736 if test -z "$with_wine64" && wine_fn_has_flag manpage
7737 then
7738 wine_fn_append_rule \
7739 "$ac_dir/install:: $ac_dir
7740 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7741 $ac_dir/uninstall::
7742 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7746 wine_fn_config_test ()
7748 ac_dir=$1
7749 ac_name=$2
7750 ac_flags=$3
7752 ac_clean=
7753 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7754 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7756 if test "x$enable_tests" = xno; then :
7757 wine_fn_disabled_rules $ac_clean; return
7760 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7761 wine_fn_all_rules
7762 wine_fn_clean_rules $ac_clean
7764 wine_fn_append_rule \
7765 "$ac_dir: __builddeps__
7766 programs/winetest: $ac_dir
7767 check test: $ac_dir/test
7768 .PHONY: $ac_dir/test
7769 $ac_dir/test: dummy
7770 @cd $ac_dir && \$(MAKE) test
7771 testclean::
7772 \$(RM) $ac_dir/*.ok"
7774 if test -n "$CROSSTARGET"
7775 then
7776 wine_fn_append_rule \
7777 "crosstest: $ac_dir/crosstest
7778 .PHONY: $ac_dir/crosstest
7779 $ac_dir/crosstest: __builddeps__ dummy
7780 @cd $ac_dir && \$(MAKE) crosstest"
7784 wine_fn_config_tool ()
7786 ac_dir=$1
7787 ac_flags=$2
7788 if test "x$enable_tools" = xno; then :
7789 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7792 wine_fn_all_rules
7793 wine_fn_install_rules
7794 wine_fn_clean_rules
7796 wine_fn_append_rule "__tooldeps__: $ac_dir"
7797 wine_fn_append_rule "$ac_dir: libs/port"
7798 case $ac_dir in
7799 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7800 esac
7803 wine_fn_config_symlink ()
7805 ac_linkdir=
7806 if test "x$1" = "x-d"
7807 then
7808 ac_linkdir=$2
7809 shift; shift
7811 ac_links=$@
7812 wine_fn_append_rule \
7813 "$ac_links:
7814 @./config.status \$@"
7815 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7816 test -n "$ac_linkdir" || return
7817 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7820 wine_binary="wine"
7821 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7822 WINELOADER_PROGRAMS="$wine_binary"
7824 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7826 case $host_os in
7827 cygwin*|mingw32*)
7828 if test -n "$ac_tool_prefix"; then
7829 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7830 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7832 $as_echo_n "checking for $ac_word... " >&6; }
7833 if ${ac_cv_prog_DLLTOOL+:} false; then :
7834 $as_echo_n "(cached) " >&6
7835 else
7836 if test -n "$DLLTOOL"; then
7837 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7838 else
7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7840 for as_dir in $PATH
7842 IFS=$as_save_IFS
7843 test -z "$as_dir" && as_dir=.
7844 for ac_exec_ext in '' $ac_executable_extensions; do
7845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7846 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7848 break 2
7850 done
7851 done
7852 IFS=$as_save_IFS
7856 DLLTOOL=$ac_cv_prog_DLLTOOL
7857 if test -n "$DLLTOOL"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7859 $as_echo "$DLLTOOL" >&6; }
7860 else
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7862 $as_echo "no" >&6; }
7867 if test -z "$ac_cv_prog_DLLTOOL"; then
7868 ac_ct_DLLTOOL=$DLLTOOL
7869 # Extract the first word of "dlltool", so it can be a program name with args.
7870 set dummy dlltool; ac_word=$2
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7872 $as_echo_n "checking for $ac_word... " >&6; }
7873 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7874 $as_echo_n "(cached) " >&6
7875 else
7876 if test -n "$ac_ct_DLLTOOL"; then
7877 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7878 else
7879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7880 for as_dir in $PATH
7882 IFS=$as_save_IFS
7883 test -z "$as_dir" && as_dir=.
7884 for ac_exec_ext in '' $ac_executable_extensions; do
7885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7886 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7888 break 2
7890 done
7891 done
7892 IFS=$as_save_IFS
7896 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7897 if test -n "$ac_ct_DLLTOOL"; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7899 $as_echo "$ac_ct_DLLTOOL" >&6; }
7900 else
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7902 $as_echo "no" >&6; }
7905 if test "x$ac_ct_DLLTOOL" = x; then
7906 DLLTOOL="false"
7907 else
7908 case $cross_compiling:$ac_tool_warned in
7909 yes:)
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7912 ac_tool_warned=yes ;;
7913 esac
7914 DLLTOOL=$ac_ct_DLLTOOL
7916 else
7917 DLLTOOL="$ac_cv_prog_DLLTOOL"
7920 LIBEXT="dll"
7921 DLLEXT=""
7922 IMPLIBEXT="a"
7923 STATIC_IMPLIBEXT="a"
7924 enable_iphlpapi=${enable_iphlpapi:-no}
7925 enable_kernel32=${enable_kernel32:-no}
7926 enable_msvcrt=${enable_msvcrt:-no}
7927 enable_ntdll=${enable_ntdll:-no}
7928 enable_ws2_32=${enable_ws2_32:-no}
7929 enable_loader=${enable_loader:-no}
7930 enable_server=${enable_server:-no}
7931 with_x=${with_x:-no}
7932 with_pthread=${with_pthread:-no}
7934 crtlibs=""
7935 case $host_os in
7936 mingw32*)
7937 crtlibs="-lmsvcrt"
7938 SOCKET_LIBS="-lws2_32"
7940 esac
7942 LIBWINE_SHAREDLIB="libwine.dll"
7944 LIBWINE_IMPORTLIB="libwine.a"
7946 LIBWINE_INSTALL_LIB="libwine.dll"
7948 LIBWINE_INSTALL_DEV="libwine.a"
7950 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7952 LIBWINE_DEPENDS="wine.def"
7956 darwin*|macosx*)
7957 for ac_header in libunwind.h
7958 do :
7959 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7961 cat >>confdefs.h <<_ACEOF
7962 #define HAVE_LIBUNWIND_H 1
7963 _ACEOF
7967 done
7969 LIBEXT="dylib"
7970 DLLFLAGS="$DLLFLAGS -fPIC"
7971 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7972 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7973 COREFOUNDATION_LIBS="-framework CoreFoundation"
7975 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7977 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7979 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7981 CORESERVICES_LIBS="-framework CoreServices"
7983 APPKIT_LIBS="-framework AppKit"
7985 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7987 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7988 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7989 $as_echo_n "(cached) " >&6
7990 else
7991 ac_wine_try_cflags_saved=$CFLAGS
7992 CFLAGS="$CFLAGS -Wl,-no_pie"
7993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7994 /* end confdefs.h. */
7995 int main(int argc, char **argv) { return 0; }
7996 _ACEOF
7997 if ac_fn_c_try_link "$LINENO"; then :
7998 ac_cv_cflags__Wl__no_pie=yes
7999 else
8000 ac_cv_cflags__Wl__no_pie=no
8002 rm -f core conftest.err conftest.$ac_objext \
8003 conftest$ac_exeext conftest.$ac_ext
8004 CFLAGS=$ac_wine_try_cflags_saved
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8007 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8008 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8009 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8011 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8012 then
8013 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8016 if test "$ac_cv_header_Security_Security_h" = "yes"
8017 then
8018 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8020 ac_save_LIBS="$LIBS"
8021 LIBS="$LIBS $SECURITY_LIBS"
8022 for ac_func in SSLCopyPeerCertificates
8023 do :
8024 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8025 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8026 cat >>confdefs.h <<_ACEOF
8027 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8028 _ACEOF
8031 done
8033 LIBS="$ac_save_LIBS"
8034 with_gnutls=${with_gnutls:-no}
8036 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8037 then
8038 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8039 then
8040 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8042 else
8043 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8046 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8047 ac_save_LIBS="$LIBS"
8048 LIBS="$LIBS $COREAUDIO_LIBS"
8049 for ac_func in AUGraphAddNode
8050 do :
8051 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8052 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8053 cat >>confdefs.h <<_ACEOF
8054 #define HAVE_AUGRAPHADDNODE 1
8055 _ACEOF
8058 done
8060 LIBS="$ac_save_LIBS"
8062 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8063 then
8064 OPENAL_LIBS="-framework OpenAL"
8067 cat >>confdefs.h <<_ACEOF
8068 #define HAVE_OPENAL 1
8069 _ACEOF
8071 ac_cv_lib_openal=yes
8073 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8074 then
8075 OPENCL_LIBS="-framework OpenCL"
8077 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8079 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8080 then
8081 ac_save_LIBS="$LIBS"
8082 LIBS="$LIBS $IOKIT_LIBS"
8083 for ac_func in IOHIDManagerCreate
8084 do :
8085 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8086 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8087 cat >>confdefs.h <<_ACEOF
8088 #define HAVE_IOHIDMANAGERCREATE 1
8089 _ACEOF
8092 done
8094 LIBS="$ac_save_LIBS"
8096 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8097 then
8098 ac_save_LIBS="$LIBS"
8099 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8101 $as_echo_n "checking for the QuickTime framework... " >&6; }
8102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8103 /* end confdefs.h. */
8104 #include <QuickTime/ImageCompression.h>
8106 main ()
8108 CodecManagerVersion(NULL);
8110 return 0;
8112 _ACEOF
8113 if ac_fn_c_try_link "$LINENO"; then :
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8115 $as_echo "yes" >&6; }
8116 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8118 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8119 else
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8121 $as_echo "no" >&6; }
8122 ac_cv_header_QuickTime_ImageCompression_h=no
8124 rm -f core conftest.err conftest.$ac_objext \
8125 conftest$ac_exeext conftest.$ac_ext
8126 LIBS="$ac_save_LIBS"
8128 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8129 then
8130 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8132 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8133 then
8134 CARBON_LIBS="-framework Carbon"
8138 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8139 then
8140 ac_save_LIBS="$LIBS"
8141 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8142 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8143 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8144 enable_winemac_drv=${enable_winemac_drv:-yes}
8147 LIBS="$ac_save_LIBS"
8150 if test "x$enable_win16" = "xyes"
8151 then
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8153 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8154 if test "$cross_compiling" = yes; then :
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8156 $as_echo "cross-compiling, assuming yes" >&6; }
8157 else
8158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8159 /* end confdefs.h. */
8160 asm(".text\n"
8161 "bad:\tnop;nop\n"
8162 "good:\tnop;nop\n\t"
8163 ".globl _testfunc\n"
8164 "_testfunc:\tcallw good");
8165 extern void testfunc();
8167 main ()
8169 unsigned short *p = (unsigned short *)testfunc;
8170 return p[0] != 0xe866 || p[1] != 0xfffa
8172 return 0;
8174 _ACEOF
8175 if ac_fn_c_try_run "$LINENO"; then :
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8177 $as_echo "yes" >&6; }
8178 else
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180 $as_echo "no" >&6; }
8181 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
8183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8184 conftest.$ac_objext conftest.beam conftest.$ac_ext
8189 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8191 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8193 LIBWINE_INSTALL_DEV="libwine.dylib"
8195 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8197 WINELOADER_DEPENDS="wine_info.plist"
8201 linux-android*)
8202 DLLFLAGS="$DLLFLAGS -fPIC"
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8204 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8205 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8206 $as_echo_n "(cached) " >&6
8207 else
8208 ac_wine_try_cflags_saved=$CFLAGS
8209 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8211 /* end confdefs.h. */
8212 int main(int argc, char **argv) { return 0; }
8213 _ACEOF
8214 if ac_fn_c_try_link "$LINENO"; then :
8215 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8216 else
8217 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8219 rm -f core conftest.err conftest.$ac_objext \
8220 conftest$ac_exeext conftest.$ac_ext
8221 CFLAGS=$ac_wine_try_cflags_saved
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8224 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8225 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8226 LDEXECFLAGS="-Wl,--export-dynamic"
8228 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8230 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8231 if eval \${$as_ac_var+:} false; then :
8232 $as_echo_n "(cached) " >&6
8233 else
8234 ac_wine_try_cflags_saved=$CFLAGS
8235 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8237 /* end confdefs.h. */
8238 int main(int argc, char **argv) { return 0; }
8239 _ACEOF
8240 if ac_fn_c_try_link "$LINENO"; then :
8241 eval "$as_ac_var=yes"
8242 else
8243 eval "$as_ac_var=no"
8245 rm -f core conftest.err conftest.$ac_objext \
8246 conftest$ac_exeext conftest.$ac_ext
8247 CFLAGS=$ac_wine_try_cflags_saved
8249 eval ac_res=\$$as_ac_var
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8251 $as_echo "$ac_res" >&6; }
8252 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8253 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8254 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8255 else
8256 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8258 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8259 if eval \${$as_ac_var+:} false; then :
8260 $as_echo_n "(cached) " >&6
8261 else
8262 ac_wine_try_cflags_saved=$CFLAGS
8263 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8265 /* end confdefs.h. */
8266 int main(int argc, char **argv) { return 0; }
8267 _ACEOF
8268 if ac_fn_c_try_link "$LINENO"; then :
8269 eval "$as_ac_var=yes"
8270 else
8271 eval "$as_ac_var=no"
8273 rm -f core conftest.err conftest.$ac_objext \
8274 conftest$ac_exeext conftest.$ac_ext
8275 CFLAGS=$ac_wine_try_cflags_saved
8277 eval ac_res=\$$as_ac_var
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8279 $as_echo "$ac_res" >&6; }
8280 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8281 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8282 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8287 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8288 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8289 $as_echo_n "(cached) " >&6
8290 else
8291 ac_wine_try_cflags_saved=$CFLAGS
8292 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8294 /* end confdefs.h. */
8295 int main(int argc, char **argv) { return 0; }
8296 _ACEOF
8297 if ac_fn_c_try_link "$LINENO"; then :
8298 ac_cv_cflags__Wl___enable_new_dtags=yes
8299 else
8300 ac_cv_cflags__Wl___enable_new_dtags=no
8302 rm -f core conftest.err conftest.$ac_objext \
8303 conftest$ac_exeext conftest.$ac_ext
8304 CFLAGS=$ac_wine_try_cflags_saved
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8307 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8308 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8309 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8312 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8313 if ${ac_cv_cflags__Wl__pie+:} false; then :
8314 $as_echo_n "(cached) " >&6
8315 else
8316 ac_wine_try_cflags_saved=$CFLAGS
8317 CFLAGS="$CFLAGS -Wl,-pie"
8318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8319 /* end confdefs.h. */
8320 int main(int argc, char **argv) { return 0; }
8321 _ACEOF
8322 if ac_fn_c_try_link "$LINENO"; then :
8323 ac_cv_cflags__Wl__pie=yes
8324 else
8325 ac_cv_cflags__Wl__pie=no
8327 rm -f core conftest.err conftest.$ac_objext \
8328 conftest$ac_exeext conftest.$ac_ext
8329 CFLAGS=$ac_wine_try_cflags_saved
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8332 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8333 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8334 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8337 LIBWINE_SHAREDLIB="libwine.so"
8339 LIBWINE_INSTALL_LIB="libwine.so"
8341 LIBWINE_LDFLAGS="-shared"
8346 DLLFLAGS="$DLLFLAGS -fPIC"
8347 LDEXECFLAGS=""
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8349 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8350 if ${ac_cv_c_dll_gnuelf+:} false; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 ac_wine_try_cflags_saved=$CFLAGS
8354 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8357 void myfunc() {}
8358 _ACEOF
8359 if ac_fn_c_try_link "$LINENO"; then :
8360 ac_cv_c_dll_gnuelf="yes"
8361 else
8362 ac_cv_c_dll_gnuelf="no"
8364 rm -f core conftest.err conftest.$ac_objext \
8365 conftest$ac_exeext conftest.$ac_ext
8366 CFLAGS=$ac_wine_try_cflags_saved
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8369 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8370 if test "$ac_cv_c_dll_gnuelf" = "yes"
8371 then
8372 LIBWINE_LDFLAGS="-shared"
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8374 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8375 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8376 $as_echo_n "(cached) " >&6
8377 else
8378 ac_wine_try_cflags_saved=$CFLAGS
8379 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8381 /* end confdefs.h. */
8382 int main(int argc, char **argv) { return 0; }
8383 _ACEOF
8384 if ac_fn_c_try_link "$LINENO"; then :
8385 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8386 else
8387 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8389 rm -f core conftest.err conftest.$ac_objext \
8390 conftest$ac_exeext conftest.$ac_ext
8391 CFLAGS=$ac_wine_try_cflags_saved
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8394 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8395 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8396 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8397 else
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8399 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8400 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8401 $as_echo_n "(cached) " >&6
8402 else
8403 ac_wine_try_cflags_saved=$CFLAGS
8404 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8407 int main(int argc, char **argv) { return 0; }
8408 _ACEOF
8409 if ac_fn_c_try_link "$LINENO"; then :
8410 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8411 else
8412 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8414 rm -f core conftest.err conftest.$ac_objext \
8415 conftest$ac_exeext conftest.$ac_ext
8416 CFLAGS=$ac_wine_try_cflags_saved
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8419 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8420 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8421 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8425 echo '{ global: *; };' >conftest.map
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8427 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8428 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8429 $as_echo_n "(cached) " >&6
8430 else
8431 ac_wine_try_cflags_saved=$CFLAGS
8432 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8434 /* end confdefs.h. */
8435 int main(int argc, char **argv) { return 0; }
8436 _ACEOF
8437 if ac_fn_c_try_link "$LINENO"; then :
8438 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8439 else
8440 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8442 rm -f core conftest.err conftest.$ac_objext \
8443 conftest$ac_exeext conftest.$ac_ext
8444 CFLAGS=$ac_wine_try_cflags_saved
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8447 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8448 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8449 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8451 rm -f conftest.map
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8454 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8455 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8456 $as_echo_n "(cached) " >&6
8457 else
8458 ac_wine_try_cflags_saved=$CFLAGS
8459 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8462 int main(int argc, char **argv) { return 0; }
8463 _ACEOF
8464 if ac_fn_c_try_link "$LINENO"; then :
8465 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8466 else
8467 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8469 rm -f core conftest.err conftest.$ac_objext \
8470 conftest$ac_exeext conftest.$ac_ext
8471 CFLAGS=$ac_wine_try_cflags_saved
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8474 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8475 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8476 LDEXECFLAGS="-Wl,--export-dynamic"
8479 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8481 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8482 if eval \${$as_ac_var+:} false; then :
8483 $as_echo_n "(cached) " >&6
8484 else
8485 ac_wine_try_cflags_saved=$CFLAGS
8486 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8489 int main(int argc, char **argv) { return 0; }
8490 _ACEOF
8491 if ac_fn_c_try_link "$LINENO"; then :
8492 eval "$as_ac_var=yes"
8493 else
8494 eval "$as_ac_var=no"
8496 rm -f core conftest.err conftest.$ac_objext \
8497 conftest$ac_exeext conftest.$ac_ext
8498 CFLAGS=$ac_wine_try_cflags_saved
8500 eval ac_res=\$$as_ac_var
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8502 $as_echo "$ac_res" >&6; }
8503 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8504 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8505 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8506 else
8507 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8509 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8510 if eval \${$as_ac_var+:} false; then :
8511 $as_echo_n "(cached) " >&6
8512 else
8513 ac_wine_try_cflags_saved=$CFLAGS
8514 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8516 /* end confdefs.h. */
8517 int main(int argc, char **argv) { return 0; }
8518 _ACEOF
8519 if ac_fn_c_try_link "$LINENO"; then :
8520 eval "$as_ac_var=yes"
8521 else
8522 eval "$as_ac_var=no"
8524 rm -f core conftest.err conftest.$ac_objext \
8525 conftest$ac_exeext conftest.$ac_ext
8526 CFLAGS=$ac_wine_try_cflags_saved
8528 eval ac_res=\$$as_ac_var
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8530 $as_echo "$ac_res" >&6; }
8531 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8532 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8533 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8538 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8539 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8540 $as_echo_n "(cached) " >&6
8541 else
8542 ac_wine_try_cflags_saved=$CFLAGS
8543 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8546 int main(int argc, char **argv) { return 0; }
8547 _ACEOF
8548 if ac_fn_c_try_link "$LINENO"; then :
8549 ac_cv_cflags__Wl___enable_new_dtags=yes
8550 else
8551 ac_cv_cflags__Wl___enable_new_dtags=no
8553 rm -f core conftest.err conftest.$ac_objext \
8554 conftest$ac_exeext conftest.$ac_ext
8555 CFLAGS=$ac_wine_try_cflags_saved
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8558 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8559 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8560 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8563 case $host_cpu in
8564 *i[3456789]86* | x86_64)
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8566 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8567 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8568 $as_echo_n "(cached) " >&6
8569 else
8570 ac_wine_try_cflags_saved=$CFLAGS
8571 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8573 /* end confdefs.h. */
8574 int main(int argc, char **argv) { return 0; }
8575 _ACEOF
8576 if ac_fn_c_try_link "$LINENO"; then :
8577 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8578 else
8579 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8581 rm -f core conftest.err conftest.$ac_objext \
8582 conftest$ac_exeext conftest.$ac_ext
8583 CFLAGS=$ac_wine_try_cflags_saved
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8586 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8587 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8588 case $host_os in
8589 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8590 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8591 esac
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8595 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8596 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8597 $as_echo_n "(cached) " >&6
8598 else
8599 ac_wine_try_cflags_saved=$CFLAGS
8600 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8602 /* end confdefs.h. */
8603 int main(int argc, char **argv) { return 0; }
8604 _ACEOF
8605 if ac_fn_c_try_link "$LINENO"; then :
8606 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8607 else
8608 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8610 rm -f core conftest.err conftest.$ac_objext \
8611 conftest$ac_exeext conftest.$ac_ext
8612 CFLAGS=$ac_wine_try_cflags_saved
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8615 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8616 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8618 else
8619 # Extract the first word of "prelink", so it can be a program name with args.
8620 set dummy prelink; ac_word=$2
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8622 $as_echo_n "checking for $ac_word... " >&6; }
8623 if ${ac_cv_path_PRELINK+:} false; then :
8624 $as_echo_n "(cached) " >&6
8625 else
8626 case $PRELINK in
8627 [\\/]* | ?:[\\/]*)
8628 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8632 for as_dir in /sbin /usr/sbin $PATH
8634 IFS=$as_save_IFS
8635 test -z "$as_dir" && as_dir=.
8636 for ac_exec_ext in '' $ac_executable_extensions; do
8637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8638 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8640 break 2
8642 done
8643 done
8644 IFS=$as_save_IFS
8646 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8648 esac
8650 PRELINK=$ac_cv_path_PRELINK
8651 if test -n "$PRELINK"; then
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8653 $as_echo "$PRELINK" >&6; }
8654 else
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8656 $as_echo "no" >&6; }
8660 if test "x$PRELINK" = xfalse
8661 then
8662 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8666 esac
8668 else
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8670 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8671 if ${ac_cv_c_dll_unixware+:} false; then :
8672 $as_echo_n "(cached) " >&6
8673 else
8674 ac_wine_try_cflags_saved=$CFLAGS
8675 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8677 /* end confdefs.h. */
8678 void myfunc() {}
8679 _ACEOF
8680 if ac_fn_c_try_link "$LINENO"; then :
8681 ac_cv_c_dll_unixware="yes"
8682 else
8683 ac_cv_c_dll_unixware="no"
8685 rm -f core conftest.err conftest.$ac_objext \
8686 conftest$ac_exeext conftest.$ac_ext
8687 CFLAGS=$ac_wine_try_cflags_saved
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8690 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8691 if test "$ac_cv_c_dll_unixware" = "yes"
8692 then
8693 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8696 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8698 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8700 LIBWINE_INSTALL_DEV="libwine.so"
8702 LIBWINE_DEPENDS="wine.map"
8705 esac
8707 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8708 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8709 enable_winemac_drv=${enable_winemac_drv:-no}
8710 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8712 CROSSTARGET=""
8714 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8715 then
8716 case "$host_cpu" in
8717 arm*)
8718 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8719 i[3456789]86*)
8720 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
8721 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8722 mingw32-gcc" ;;
8723 x86_64)
8724 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
8725 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8727 ac_prefix_list="" ;;
8728 esac
8729 for ac_prog in $ac_prefix_list
8731 # Extract the first word of "$ac_prog", so it can be a program name with args.
8732 set dummy $ac_prog; ac_word=$2
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8734 $as_echo_n "checking for $ac_word... " >&6; }
8735 if ${ac_cv_prog_CROSSCC+:} false; then :
8736 $as_echo_n "(cached) " >&6
8737 else
8738 if test -n "$CROSSCC"; then
8739 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8740 else
8741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8742 for as_dir in $PATH
8744 IFS=$as_save_IFS
8745 test -z "$as_dir" && as_dir=.
8746 for ac_exec_ext in '' $ac_executable_extensions; do
8747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8748 ac_cv_prog_CROSSCC="$ac_prog"
8749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8750 break 2
8752 done
8753 done
8754 IFS=$as_save_IFS
8758 CROSSCC=$ac_cv_prog_CROSSCC
8759 if test -n "$CROSSCC"; then
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8761 $as_echo "$CROSSCC" >&6; }
8762 else
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8764 $as_echo "no" >&6; }
8768 test -n "$CROSSCC" && break
8769 done
8770 test -n "$CROSSCC" || CROSSCC="false"
8772 if test "$CROSSCC" != "false"
8773 then
8774 ac_save_CC="$CC"
8775 CC="$CROSSCC"
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8777 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8779 /* end confdefs.h. */
8782 main ()
8786 return 0;
8788 _ACEOF
8789 if ac_fn_c_try_compile "$LINENO"; then :
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8791 $as_echo "yes" >&6; }
8792 set x $CROSSCC
8793 shift
8794 while test $# -ge 1
8796 case "$1" in
8797 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8798 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8799 esac
8800 shift
8801 done
8802 else
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8804 $as_echo "no" >&6; }
8806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8807 CC="$ac_save_CC"
8812 if test "$ac_cv_header_pthread_h" = "yes"
8813 then
8814 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8815 if test "x$ac_cv_func_pthread_create" = xyes; then :
8817 else
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8819 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8820 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8821 $as_echo_n "(cached) " >&6
8822 else
8823 ac_check_lib_save_LIBS=$LIBS
8824 LIBS="-lpthread $LIBS"
8825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8826 /* end confdefs.h. */
8828 /* Override any GCC internal prototype to avoid an error.
8829 Use char because int might match the return type of a GCC
8830 builtin and then its argument prototype would still apply. */
8831 #ifdef __cplusplus
8832 extern "C"
8833 #endif
8834 char pthread_create ();
8836 main ()
8838 return pthread_create ();
8840 return 0;
8842 _ACEOF
8843 if ac_fn_c_try_link "$LINENO"; then :
8844 ac_cv_lib_pthread_pthread_create=yes
8845 else
8846 ac_cv_lib_pthread_pthread_create=no
8848 rm -f core conftest.err conftest.$ac_objext \
8849 conftest$ac_exeext conftest.$ac_ext
8850 LIBS=$ac_check_lib_save_LIBS
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8853 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8854 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8855 PTHREAD_LIBS="-lpthread"
8862 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8863 case "x$with_pthread" in
8864 xno) ;;
8865 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8866 Wine cannot support threads without libpthread.
8867 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8868 esac
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8874 $as_echo_n "checking for X... " >&6; }
8877 # Check whether --with-x was given.
8878 if test "${with_x+set}" = set; then :
8879 withval=$with_x;
8882 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8883 if test "x$with_x" = xno; then
8884 # The user explicitly disabled X.
8885 have_x=disabled
8886 else
8887 case $x_includes,$x_libraries in #(
8888 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8889 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8890 $as_echo_n "(cached) " >&6
8891 else
8892 # One or both of the vars are not set, and there is no cached value.
8893 ac_x_includes=no ac_x_libraries=no
8894 rm -f -r conftest.dir
8895 if mkdir conftest.dir; then
8896 cd conftest.dir
8897 cat >Imakefile <<'_ACEOF'
8898 incroot:
8899 @echo incroot='${INCROOT}'
8900 usrlibdir:
8901 @echo usrlibdir='${USRLIBDIR}'
8902 libdir:
8903 @echo libdir='${LIBDIR}'
8904 _ACEOF
8905 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8906 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8907 for ac_var in incroot usrlibdir libdir; do
8908 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8909 done
8910 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8911 for ac_extension in a so sl dylib la dll; do
8912 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8913 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8914 ac_im_usrlibdir=$ac_im_libdir; break
8916 done
8917 # Screen out bogus values from the imake configuration. They are
8918 # bogus both because they are the default anyway, and because
8919 # using them would break gcc on systems where it needs fixed includes.
8920 case $ac_im_incroot in
8921 /usr/include) ac_x_includes= ;;
8922 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8923 esac
8924 case $ac_im_usrlibdir in
8925 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8926 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8927 esac
8929 cd ..
8930 rm -f -r conftest.dir
8933 # Standard set of common directories for X headers.
8934 # Check X11 before X11Rn because it is often a symlink to the current release.
8935 ac_x_header_dirs='
8936 /usr/X11/include
8937 /usr/X11R7/include
8938 /usr/X11R6/include
8939 /usr/X11R5/include
8940 /usr/X11R4/include
8942 /usr/include/X11
8943 /usr/include/X11R7
8944 /usr/include/X11R6
8945 /usr/include/X11R5
8946 /usr/include/X11R4
8948 /usr/local/X11/include
8949 /usr/local/X11R7/include
8950 /usr/local/X11R6/include
8951 /usr/local/X11R5/include
8952 /usr/local/X11R4/include
8954 /usr/local/include/X11
8955 /usr/local/include/X11R7
8956 /usr/local/include/X11R6
8957 /usr/local/include/X11R5
8958 /usr/local/include/X11R4
8960 /usr/X386/include
8961 /usr/x386/include
8962 /usr/XFree86/include/X11
8964 /usr/include
8965 /usr/local/include
8966 /usr/unsupported/include
8967 /usr/athena/include
8968 /usr/local/x11r5/include
8969 /usr/lpp/Xamples/include
8971 /usr/openwin/include
8972 /usr/openwin/share/include'
8974 if test "$ac_x_includes" = no; then
8975 # Guess where to find include files, by looking for Xlib.h.
8976 # First, try using that file with no special directory specified.
8977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8978 /* end confdefs.h. */
8979 #include <X11/Xlib.h>
8980 _ACEOF
8981 if ac_fn_c_try_cpp "$LINENO"; then :
8982 # We can compile using X headers with no special include directory.
8983 ac_x_includes=
8984 else
8985 for ac_dir in $ac_x_header_dirs; do
8986 if test -r "$ac_dir/X11/Xlib.h"; then
8987 ac_x_includes=$ac_dir
8988 break
8990 done
8992 rm -f conftest.err conftest.i conftest.$ac_ext
8993 fi # $ac_x_includes = no
8995 if test "$ac_x_libraries" = no; then
8996 # Check for the libraries.
8997 # See if we find them without any special options.
8998 # Don't add to $LIBS permanently.
8999 ac_save_LIBS=$LIBS
9000 LIBS="-lX11 $LIBS"
9001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9002 /* end confdefs.h. */
9003 #include <X11/Xlib.h>
9005 main ()
9007 XrmInitialize ()
9009 return 0;
9011 _ACEOF
9012 if ac_fn_c_try_link "$LINENO"; then :
9013 LIBS=$ac_save_LIBS
9014 # We can link X programs with no special library path.
9015 ac_x_libraries=
9016 else
9017 LIBS=$ac_save_LIBS
9018 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9020 # Don't even attempt the hair of trying to link an X program!
9021 for ac_extension in a so sl dylib la dll; do
9022 if test -r "$ac_dir/libX11.$ac_extension"; then
9023 ac_x_libraries=$ac_dir
9024 break 2
9026 done
9027 done
9029 rm -f core conftest.err conftest.$ac_objext \
9030 conftest$ac_exeext conftest.$ac_ext
9031 fi # $ac_x_libraries = no
9033 case $ac_x_includes,$ac_x_libraries in #(
9034 no,* | *,no | *\'*)
9035 # Didn't find X, or a directory has "'" in its name.
9036 ac_cv_have_x="have_x=no";; #(
9038 # Record where we found X for the cache.
9039 ac_cv_have_x="have_x=yes\
9040 ac_x_includes='$ac_x_includes'\
9041 ac_x_libraries='$ac_x_libraries'"
9042 esac
9044 ;; #(
9045 *) have_x=yes;;
9046 esac
9047 eval "$ac_cv_have_x"
9048 fi # $with_x != no
9050 if test "$have_x" != yes; then
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9052 $as_echo "$have_x" >&6; }
9053 no_x=yes
9054 else
9055 # If each of the values was on the command line, it overrides each guess.
9056 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9057 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9058 # Update the cache value to reflect the command line values.
9059 ac_cv_have_x="have_x=yes\
9060 ac_x_includes='$x_includes'\
9061 ac_x_libraries='$x_libraries'"
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9063 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9066 if test "$no_x" = yes; then
9067 # Not all programs may use this symbol, but it does not hurt to define it.
9069 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9071 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9072 else
9073 if test -n "$x_includes"; then
9074 X_CFLAGS="$X_CFLAGS -I$x_includes"
9077 # It would also be nice to do this for all -L options, not just this one.
9078 if test -n "$x_libraries"; then
9079 X_LIBS="$X_LIBS -L$x_libraries"
9080 # For Solaris; some versions of Sun CC require a space after -R and
9081 # others require no space. Words are not sufficient . . . .
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9083 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9084 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9085 ac_xsave_c_werror_flag=$ac_c_werror_flag
9086 ac_c_werror_flag=yes
9087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9088 /* end confdefs.h. */
9091 main ()
9095 return 0;
9097 _ACEOF
9098 if ac_fn_c_try_link "$LINENO"; then :
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9100 $as_echo "no" >&6; }
9101 X_LIBS="$X_LIBS -R$x_libraries"
9102 else
9103 LIBS="$ac_xsave_LIBS -R $x_libraries"
9104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9105 /* end confdefs.h. */
9108 main ()
9112 return 0;
9114 _ACEOF
9115 if ac_fn_c_try_link "$LINENO"; then :
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9117 $as_echo "yes" >&6; }
9118 X_LIBS="$X_LIBS -R $x_libraries"
9119 else
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9121 $as_echo "neither works" >&6; }
9123 rm -f core conftest.err conftest.$ac_objext \
9124 conftest$ac_exeext conftest.$ac_ext
9126 rm -f core conftest.err conftest.$ac_objext \
9127 conftest$ac_exeext conftest.$ac_ext
9128 ac_c_werror_flag=$ac_xsave_c_werror_flag
9129 LIBS=$ac_xsave_LIBS
9132 # Check for system-dependent libraries X programs must link with.
9133 # Do this before checking for the system-independent R6 libraries
9134 # (-lICE), since we may need -lsocket or whatever for X linking.
9136 if test "$ISC" = yes; then
9137 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9138 else
9139 # Martyn Johnson says this is needed for Ultrix, if the X
9140 # libraries were built with DECnet support. And Karl Berry says
9141 # the Alpha needs dnet_stub (dnet does not exist).
9142 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9146 /* Override any GCC internal prototype to avoid an error.
9147 Use char because int might match the return type of a GCC
9148 builtin and then its argument prototype would still apply. */
9149 #ifdef __cplusplus
9150 extern "C"
9151 #endif
9152 char XOpenDisplay ();
9154 main ()
9156 return XOpenDisplay ();
9158 return 0;
9160 _ACEOF
9161 if ac_fn_c_try_link "$LINENO"; then :
9163 else
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9165 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9166 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9167 $as_echo_n "(cached) " >&6
9168 else
9169 ac_check_lib_save_LIBS=$LIBS
9170 LIBS="-ldnet $LIBS"
9171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9172 /* end confdefs.h. */
9174 /* Override any GCC internal prototype to avoid an error.
9175 Use char because int might match the return type of a GCC
9176 builtin and then its argument prototype would still apply. */
9177 #ifdef __cplusplus
9178 extern "C"
9179 #endif
9180 char dnet_ntoa ();
9182 main ()
9184 return dnet_ntoa ();
9186 return 0;
9188 _ACEOF
9189 if ac_fn_c_try_link "$LINENO"; then :
9190 ac_cv_lib_dnet_dnet_ntoa=yes
9191 else
9192 ac_cv_lib_dnet_dnet_ntoa=no
9194 rm -f core conftest.err conftest.$ac_objext \
9195 conftest$ac_exeext conftest.$ac_ext
9196 LIBS=$ac_check_lib_save_LIBS
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9199 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9200 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9201 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9204 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9206 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9207 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9208 $as_echo_n "(cached) " >&6
9209 else
9210 ac_check_lib_save_LIBS=$LIBS
9211 LIBS="-ldnet_stub $LIBS"
9212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9213 /* end confdefs.h. */
9215 /* Override any GCC internal prototype to avoid an error.
9216 Use char because int might match the return type of a GCC
9217 builtin and then its argument prototype would still apply. */
9218 #ifdef __cplusplus
9219 extern "C"
9220 #endif
9221 char dnet_ntoa ();
9223 main ()
9225 return dnet_ntoa ();
9227 return 0;
9229 _ACEOF
9230 if ac_fn_c_try_link "$LINENO"; then :
9231 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9232 else
9233 ac_cv_lib_dnet_stub_dnet_ntoa=no
9235 rm -f core conftest.err conftest.$ac_objext \
9236 conftest$ac_exeext conftest.$ac_ext
9237 LIBS=$ac_check_lib_save_LIBS
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9240 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9241 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9242 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9247 rm -f core conftest.err conftest.$ac_objext \
9248 conftest$ac_exeext conftest.$ac_ext
9249 LIBS="$ac_xsave_LIBS"
9251 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9252 # to get the SysV transport functions.
9253 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9254 # needs -lnsl.
9255 # The nsl library prevents programs from opening the X display
9256 # on Irix 5.2, according to T.E. Dickey.
9257 # The functions gethostbyname, getservbyname, and inet_addr are
9258 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9259 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9260 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9264 if test $ac_cv_func_gethostbyname = no; then
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9266 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9267 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9268 $as_echo_n "(cached) " >&6
9269 else
9270 ac_check_lib_save_LIBS=$LIBS
9271 LIBS="-lnsl $LIBS"
9272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9275 /* Override any GCC internal prototype to avoid an error.
9276 Use char because int might match the return type of a GCC
9277 builtin and then its argument prototype would still apply. */
9278 #ifdef __cplusplus
9279 extern "C"
9280 #endif
9281 char gethostbyname ();
9283 main ()
9285 return gethostbyname ();
9287 return 0;
9289 _ACEOF
9290 if ac_fn_c_try_link "$LINENO"; then :
9291 ac_cv_lib_nsl_gethostbyname=yes
9292 else
9293 ac_cv_lib_nsl_gethostbyname=no
9295 rm -f core conftest.err conftest.$ac_objext \
9296 conftest$ac_exeext conftest.$ac_ext
9297 LIBS=$ac_check_lib_save_LIBS
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9300 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9301 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9302 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9305 if test $ac_cv_lib_nsl_gethostbyname = no; then
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9307 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9308 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9309 $as_echo_n "(cached) " >&6
9310 else
9311 ac_check_lib_save_LIBS=$LIBS
9312 LIBS="-lbsd $LIBS"
9313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9316 /* Override any GCC internal prototype to avoid an error.
9317 Use char because int might match the return type of a GCC
9318 builtin and then its argument prototype would still apply. */
9319 #ifdef __cplusplus
9320 extern "C"
9321 #endif
9322 char gethostbyname ();
9324 main ()
9326 return gethostbyname ();
9328 return 0;
9330 _ACEOF
9331 if ac_fn_c_try_link "$LINENO"; then :
9332 ac_cv_lib_bsd_gethostbyname=yes
9333 else
9334 ac_cv_lib_bsd_gethostbyname=no
9336 rm -f core conftest.err conftest.$ac_objext \
9337 conftest$ac_exeext conftest.$ac_ext
9338 LIBS=$ac_check_lib_save_LIBS
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9341 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9342 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9343 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9349 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9350 # socket/setsockopt and other routines are undefined under SCO ODT
9351 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9352 # on later versions), says Simon Leinen: it contains gethostby*
9353 # variants that don't use the name server (or something). -lsocket
9354 # must be given before -lnsl if both are needed. We assume that
9355 # if connect needs -lnsl, so does gethostbyname.
9356 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9357 if test "x$ac_cv_func_connect" = xyes; then :
9361 if test $ac_cv_func_connect = no; then
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9363 $as_echo_n "checking for connect in -lsocket... " >&6; }
9364 if ${ac_cv_lib_socket_connect+:} false; then :
9365 $as_echo_n "(cached) " >&6
9366 else
9367 ac_check_lib_save_LIBS=$LIBS
9368 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9370 /* end confdefs.h. */
9372 /* Override any GCC internal prototype to avoid an error.
9373 Use char because int might match the return type of a GCC
9374 builtin and then its argument prototype would still apply. */
9375 #ifdef __cplusplus
9376 extern "C"
9377 #endif
9378 char connect ();
9380 main ()
9382 return connect ();
9384 return 0;
9386 _ACEOF
9387 if ac_fn_c_try_link "$LINENO"; then :
9388 ac_cv_lib_socket_connect=yes
9389 else
9390 ac_cv_lib_socket_connect=no
9392 rm -f core conftest.err conftest.$ac_objext \
9393 conftest$ac_exeext conftest.$ac_ext
9394 LIBS=$ac_check_lib_save_LIBS
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9397 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9398 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9399 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9404 # Guillermo Gomez says -lposix is necessary on A/UX.
9405 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9406 if test "x$ac_cv_func_remove" = xyes; then :
9410 if test $ac_cv_func_remove = no; then
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9412 $as_echo_n "checking for remove in -lposix... " >&6; }
9413 if ${ac_cv_lib_posix_remove+:} false; then :
9414 $as_echo_n "(cached) " >&6
9415 else
9416 ac_check_lib_save_LIBS=$LIBS
9417 LIBS="-lposix $LIBS"
9418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9421 /* Override any GCC internal prototype to avoid an error.
9422 Use char because int might match the return type of a GCC
9423 builtin and then its argument prototype would still apply. */
9424 #ifdef __cplusplus
9425 extern "C"
9426 #endif
9427 char remove ();
9429 main ()
9431 return remove ();
9433 return 0;
9435 _ACEOF
9436 if ac_fn_c_try_link "$LINENO"; then :
9437 ac_cv_lib_posix_remove=yes
9438 else
9439 ac_cv_lib_posix_remove=no
9441 rm -f core conftest.err conftest.$ac_objext \
9442 conftest$ac_exeext conftest.$ac_ext
9443 LIBS=$ac_check_lib_save_LIBS
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9446 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9447 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9448 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9453 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9454 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9455 if test "x$ac_cv_func_shmat" = xyes; then :
9459 if test $ac_cv_func_shmat = no; then
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9461 $as_echo_n "checking for shmat in -lipc... " >&6; }
9462 if ${ac_cv_lib_ipc_shmat+:} false; then :
9463 $as_echo_n "(cached) " >&6
9464 else
9465 ac_check_lib_save_LIBS=$LIBS
9466 LIBS="-lipc $LIBS"
9467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9470 /* Override any GCC internal prototype to avoid an error.
9471 Use char because int might match the return type of a GCC
9472 builtin and then its argument prototype would still apply. */
9473 #ifdef __cplusplus
9474 extern "C"
9475 #endif
9476 char shmat ();
9478 main ()
9480 return shmat ();
9482 return 0;
9484 _ACEOF
9485 if ac_fn_c_try_link "$LINENO"; then :
9486 ac_cv_lib_ipc_shmat=yes
9487 else
9488 ac_cv_lib_ipc_shmat=no
9490 rm -f core conftest.err conftest.$ac_objext \
9491 conftest$ac_exeext conftest.$ac_ext
9492 LIBS=$ac_check_lib_save_LIBS
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9495 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9496 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9497 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9503 # Check for libraries that X11R6 Xt/Xaw programs need.
9504 ac_save_LDFLAGS=$LDFLAGS
9505 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9506 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9507 # check for ICE first), but we must link in the order -lSM -lICE or
9508 # we get undefined symbols. So assume we have SM if we have ICE.
9509 # These have to be linked with before -lX11, unlike the other
9510 # libraries we check for below, so use a different variable.
9511 # John Interrante, Karl Berry
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9513 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9514 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9515 $as_echo_n "(cached) " >&6
9516 else
9517 ac_check_lib_save_LIBS=$LIBS
9518 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9522 /* Override any GCC internal prototype to avoid an error.
9523 Use char because int might match the return type of a GCC
9524 builtin and then its argument prototype would still apply. */
9525 #ifdef __cplusplus
9526 extern "C"
9527 #endif
9528 char IceConnectionNumber ();
9530 main ()
9532 return IceConnectionNumber ();
9534 return 0;
9536 _ACEOF
9537 if ac_fn_c_try_link "$LINENO"; then :
9538 ac_cv_lib_ICE_IceConnectionNumber=yes
9539 else
9540 ac_cv_lib_ICE_IceConnectionNumber=no
9542 rm -f core conftest.err conftest.$ac_objext \
9543 conftest$ac_exeext conftest.$ac_ext
9544 LIBS=$ac_check_lib_save_LIBS
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9547 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9548 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9549 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9552 LDFLAGS=$ac_save_LDFLAGS
9557 if test "$have_x" = "yes"
9558 then
9559 ac_save_CPPFLAGS="$CPPFLAGS"
9560 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9563 $as_echo_n "checking for -lX11... " >&6; }
9564 if ${ac_cv_lib_soname_X11+:} false; then :
9565 $as_echo_n "(cached) " >&6
9566 else
9567 ac_check_soname_save_LIBS=$LIBS
9568 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9572 /* Override any GCC internal prototype to avoid an error.
9573 Use char because int might match the return type of a GCC
9574 builtin and then its argument prototype would still apply. */
9575 #ifdef __cplusplus
9576 extern "C"
9577 #endif
9578 char XCreateWindow ();
9580 main ()
9582 return XCreateWindow ();
9584 return 0;
9586 _ACEOF
9587 if ac_fn_c_try_link "$LINENO"; then :
9588 case "$LIBEXT" in
9589 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9590 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'` ;;
9591 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9592 if ${ac_cv_lib_soname_X11:+false} :; then :
9593 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9594 fi ;;
9595 esac
9597 rm -f core conftest.err conftest.$ac_objext \
9598 conftest$ac_exeext conftest.$ac_ext
9599 LIBS=$ac_check_soname_save_LIBS
9601 if ${ac_cv_lib_soname_X11:+false} :; then :
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9603 $as_echo "not found" >&6; }
9605 else
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9607 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9609 cat >>confdefs.h <<_ACEOF
9610 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9611 _ACEOF
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9616 $as_echo_n "checking for -lXext... " >&6; }
9617 if ${ac_cv_lib_soname_Xext+:} false; then :
9618 $as_echo_n "(cached) " >&6
9619 else
9620 ac_check_soname_save_LIBS=$LIBS
9621 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9623 /* end confdefs.h. */
9625 /* Override any GCC internal prototype to avoid an error.
9626 Use char because int might match the return type of a GCC
9627 builtin and then its argument prototype would still apply. */
9628 #ifdef __cplusplus
9629 extern "C"
9630 #endif
9631 char XextCreateExtension ();
9633 main ()
9635 return XextCreateExtension ();
9637 return 0;
9639 _ACEOF
9640 if ac_fn_c_try_link "$LINENO"; then :
9641 case "$LIBEXT" in
9642 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9643 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'` ;;
9644 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9645 if ${ac_cv_lib_soname_Xext:+false} :; then :
9646 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9647 fi ;;
9648 esac
9650 rm -f core conftest.err conftest.$ac_objext \
9651 conftest$ac_exeext conftest.$ac_ext
9652 LIBS=$ac_check_soname_save_LIBS
9654 if ${ac_cv_lib_soname_Xext:+false} :; then :
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9656 $as_echo "not found" >&6; }
9658 else
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9660 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9662 cat >>confdefs.h <<_ACEOF
9663 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9664 _ACEOF
9666 X_LIBS="$X_LIBS -lXext"
9668 X_LIBS="$X_LIBS -lX11"
9670 for ac_header in X11/Xlib.h \
9671 X11/XKBlib.h \
9672 X11/Xutil.h \
9673 X11/Xcursor/Xcursor.h \
9674 X11/extensions/shape.h \
9675 X11/extensions/XInput.h \
9676 X11/extensions/XInput2.h \
9677 X11/extensions/XShm.h \
9678 X11/extensions/Xcomposite.h \
9679 X11/extensions/Xinerama.h \
9680 X11/extensions/Xrandr.h \
9681 X11/extensions/Xrender.h \
9682 X11/extensions/xf86vmode.h \
9683 X11/extensions/xf86vmproto.h
9684 do :
9685 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9686 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9687 # include <X11/Xlib.h>
9688 #endif
9689 #ifdef HAVE_X11_XUTIL_H
9690 # include <X11/Xutil.h>
9691 #endif
9693 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9694 cat >>confdefs.h <<_ACEOF
9695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9696 _ACEOF
9700 done
9703 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9704 then
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9706 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9707 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9708 $as_echo_n "(cached) " >&6
9709 else
9710 ac_check_lib_save_LIBS=$LIBS
9711 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9713 /* end confdefs.h. */
9715 /* Override any GCC internal prototype to avoid an error.
9716 Use char because int might match the return type of a GCC
9717 builtin and then its argument prototype would still apply. */
9718 #ifdef __cplusplus
9719 extern "C"
9720 #endif
9721 char XkbQueryExtension ();
9723 main ()
9725 return XkbQueryExtension ();
9727 return 0;
9729 _ACEOF
9730 if ac_fn_c_try_link "$LINENO"; then :
9731 ac_cv_lib_X11_XkbQueryExtension=yes
9732 else
9733 ac_cv_lib_X11_XkbQueryExtension=no
9735 rm -f core conftest.err conftest.$ac_objext \
9736 conftest$ac_exeext conftest.$ac_ext
9737 LIBS=$ac_check_lib_save_LIBS
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9740 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9741 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9743 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9749 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9750 then
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9752 $as_echo_n "checking for -lXcursor... " >&6; }
9753 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9754 $as_echo_n "(cached) " >&6
9755 else
9756 ac_check_soname_save_LIBS=$LIBS
9757 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9761 /* Override any GCC internal prototype to avoid an error.
9762 Use char because int might match the return type of a GCC
9763 builtin and then its argument prototype would still apply. */
9764 #ifdef __cplusplus
9765 extern "C"
9766 #endif
9767 char XcursorImageLoadCursor ();
9769 main ()
9771 return XcursorImageLoadCursor ();
9773 return 0;
9775 _ACEOF
9776 if ac_fn_c_try_link "$LINENO"; then :
9777 case "$LIBEXT" in
9778 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9779 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'` ;;
9780 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9781 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9782 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9783 fi ;;
9784 esac
9786 rm -f core conftest.err conftest.$ac_objext \
9787 conftest$ac_exeext conftest.$ac_ext
9788 LIBS=$ac_check_soname_save_LIBS
9790 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9792 $as_echo "not found" >&6; }
9794 else
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9796 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9798 cat >>confdefs.h <<_ACEOF
9799 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9800 _ACEOF
9805 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9806 case "x$with_xcursor" in
9807 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9808 xno) ;;
9809 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9810 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9811 esac
9815 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9816 then
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9818 $as_echo_n "checking for -lXi... " >&6; }
9819 if ${ac_cv_lib_soname_Xi+:} false; then :
9820 $as_echo_n "(cached) " >&6
9821 else
9822 ac_check_soname_save_LIBS=$LIBS
9823 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9825 /* end confdefs.h. */
9827 /* Override any GCC internal prototype to avoid an error.
9828 Use char because int might match the return type of a GCC
9829 builtin and then its argument prototype would still apply. */
9830 #ifdef __cplusplus
9831 extern "C"
9832 #endif
9833 char XOpenDevice ();
9835 main ()
9837 return XOpenDevice ();
9839 return 0;
9841 _ACEOF
9842 if ac_fn_c_try_link "$LINENO"; then :
9843 case "$LIBEXT" in
9844 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9845 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'` ;;
9846 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9847 if ${ac_cv_lib_soname_Xi:+false} :; then :
9848 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9849 fi ;;
9850 esac
9852 rm -f core conftest.err conftest.$ac_objext \
9853 conftest$ac_exeext conftest.$ac_ext
9854 LIBS=$ac_check_soname_save_LIBS
9856 if ${ac_cv_lib_soname_Xi:+false} :; then :
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9858 $as_echo "not found" >&6; }
9860 else
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9862 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9864 cat >>confdefs.h <<_ACEOF
9865 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9866 _ACEOF
9871 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9872 case "x$with_xinput" in
9873 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9874 xno) ;;
9875 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9876 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9877 esac
9881 if test "x$ac_cv_lib_soname_Xi" != x
9882 then
9883 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9884 case "x$with_xinput2" in
9885 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9886 xno) ;;
9887 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9888 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9889 esac
9894 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9895 then
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9897 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9898 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9899 $as_echo_n "(cached) " >&6
9900 else
9901 ac_check_lib_save_LIBS=$LIBS
9902 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9906 /* Override any GCC internal prototype to avoid an error.
9907 Use char because int might match the return type of a GCC
9908 builtin and then its argument prototype would still apply. */
9909 #ifdef __cplusplus
9910 extern "C"
9911 #endif
9912 char XShmQueryExtension ();
9914 main ()
9916 return XShmQueryExtension ();
9918 return 0;
9920 _ACEOF
9921 if ac_fn_c_try_link "$LINENO"; then :
9922 ac_cv_lib_Xext_XShmQueryExtension=yes
9923 else
9924 ac_cv_lib_Xext_XShmQueryExtension=no
9926 rm -f core conftest.err conftest.$ac_objext \
9927 conftest$ac_exeext conftest.$ac_ext
9928 LIBS=$ac_check_lib_save_LIBS
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9931 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9932 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9934 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9939 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9940 case "x$with_xshm" in
9941 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9942 xno) ;;
9943 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9944 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9945 esac
9949 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9950 then
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9952 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9953 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9954 $as_echo_n "(cached) " >&6
9955 else
9956 ac_check_lib_save_LIBS=$LIBS
9957 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9961 /* Override any GCC internal prototype to avoid an error.
9962 Use char because int might match the return type of a GCC
9963 builtin and then its argument prototype would still apply. */
9964 #ifdef __cplusplus
9965 extern "C"
9966 #endif
9967 char XShapeQueryExtension ();
9969 main ()
9971 return XShapeQueryExtension ();
9973 return 0;
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977 ac_cv_lib_Xext_XShapeQueryExtension=yes
9978 else
9979 ac_cv_lib_Xext_XShapeQueryExtension=no
9981 rm -f core conftest.err conftest.$ac_objext \
9982 conftest$ac_exeext conftest.$ac_ext
9983 LIBS=$ac_check_lib_save_LIBS
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9986 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9987 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9989 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9994 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9995 case "x$with_xshape" in
9996 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9997 xno) ;;
9998 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9999 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10000 esac
10004 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10005 then
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10007 $as_echo_n "checking for -lXxf86vm... " >&6; }
10008 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10009 $as_echo_n "(cached) " >&6
10010 else
10011 ac_check_soname_save_LIBS=$LIBS
10012 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10016 /* Override any GCC internal prototype to avoid an error.
10017 Use char because int might match the return type of a GCC
10018 builtin and then its argument prototype would still apply. */
10019 #ifdef __cplusplus
10020 extern "C"
10021 #endif
10022 char XF86VidModeQueryExtension ();
10024 main ()
10026 return XF86VidModeQueryExtension ();
10028 return 0;
10030 _ACEOF
10031 if ac_fn_c_try_link "$LINENO"; then :
10032 case "$LIBEXT" in
10033 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10034 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'` ;;
10035 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10036 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10037 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10038 fi ;;
10039 esac
10041 rm -f core conftest.err conftest.$ac_objext \
10042 conftest$ac_exeext conftest.$ac_ext
10043 LIBS=$ac_check_soname_save_LIBS
10045 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10047 $as_echo "not found" >&6; }
10049 else
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10051 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10053 cat >>confdefs.h <<_ACEOF
10054 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10055 _ACEOF
10060 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10061 case "x$with_xxf86vm" in
10062 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10063 xno) ;;
10064 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10065 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10066 esac
10070 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10071 then
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10073 $as_echo_n "checking for -lXrender... " >&6; }
10074 if ${ac_cv_lib_soname_Xrender+:} false; then :
10075 $as_echo_n "(cached) " >&6
10076 else
10077 ac_check_soname_save_LIBS=$LIBS
10078 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10082 /* Override any GCC internal prototype to avoid an error.
10083 Use char because int might match the return type of a GCC
10084 builtin and then its argument prototype would still apply. */
10085 #ifdef __cplusplus
10086 extern "C"
10087 #endif
10088 char XRenderQueryExtension ();
10090 main ()
10092 return XRenderQueryExtension ();
10094 return 0;
10096 _ACEOF
10097 if ac_fn_c_try_link "$LINENO"; then :
10098 case "$LIBEXT" in
10099 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10100 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'` ;;
10101 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10102 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10103 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10104 fi ;;
10105 esac
10107 rm -f core conftest.err conftest.$ac_objext \
10108 conftest$ac_exeext conftest.$ac_ext
10109 LIBS=$ac_check_soname_save_LIBS
10111 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10113 $as_echo "not found" >&6; }
10115 else
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10117 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10119 cat >>confdefs.h <<_ACEOF
10120 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10121 _ACEOF
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10124 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10125 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10126 $as_echo_n "(cached) " >&6
10127 else
10128 ac_check_lib_save_LIBS=$LIBS
10129 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10131 /* end confdefs.h. */
10133 /* Override any GCC internal prototype to avoid an error.
10134 Use char because int might match the return type of a GCC
10135 builtin and then its argument prototype would still apply. */
10136 #ifdef __cplusplus
10137 extern "C"
10138 #endif
10139 char XRenderSetPictureTransform ();
10141 main ()
10143 return XRenderSetPictureTransform ();
10145 return 0;
10147 _ACEOF
10148 if ac_fn_c_try_link "$LINENO"; then :
10149 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10150 else
10151 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10153 rm -f core conftest.err conftest.$ac_objext \
10154 conftest$ac_exeext conftest.$ac_ext
10155 LIBS=$ac_check_lib_save_LIBS
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10158 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10159 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10161 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10166 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10167 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10168 $as_echo_n "(cached) " >&6
10169 else
10170 ac_check_lib_save_LIBS=$LIBS
10171 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10173 /* end confdefs.h. */
10175 /* Override any GCC internal prototype to avoid an error.
10176 Use char because int might match the return type of a GCC
10177 builtin and then its argument prototype would still apply. */
10178 #ifdef __cplusplus
10179 extern "C"
10180 #endif
10181 char XRenderCreateLinearGradient ();
10183 main ()
10185 return XRenderCreateLinearGradient ();
10187 return 0;
10189 _ACEOF
10190 if ac_fn_c_try_link "$LINENO"; then :
10191 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10192 else
10193 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10195 rm -f core conftest.err conftest.$ac_objext \
10196 conftest$ac_exeext conftest.$ac_ext
10197 LIBS=$ac_check_lib_save_LIBS
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10200 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10201 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10203 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10210 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10211 case "x$with_xrender" in
10212 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10213 xno) ;;
10214 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10215 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10216 esac
10220 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10221 then
10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10224 #include <X11/Xlib.h>
10225 #include <X11/extensions/Xrandr.h>
10227 main ()
10229 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10231 return 0;
10233 _ACEOF
10234 if ac_fn_c_try_compile "$LINENO"; then :
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10236 $as_echo_n "checking for -lXrandr... " >&6; }
10237 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10238 $as_echo_n "(cached) " >&6
10239 else
10240 ac_check_soname_save_LIBS=$LIBS
10241 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10243 /* end confdefs.h. */
10245 /* Override any GCC internal prototype to avoid an error.
10246 Use char because int might match the return type of a GCC
10247 builtin and then its argument prototype would still apply. */
10248 #ifdef __cplusplus
10249 extern "C"
10250 #endif
10251 char XRRQueryExtension ();
10253 main ()
10255 return XRRQueryExtension ();
10257 return 0;
10259 _ACEOF
10260 if ac_fn_c_try_link "$LINENO"; then :
10261 case "$LIBEXT" in
10262 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10263 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'` ;;
10264 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10265 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10266 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10267 fi ;;
10268 esac
10270 rm -f core conftest.err conftest.$ac_objext \
10271 conftest$ac_exeext conftest.$ac_ext
10272 LIBS=$ac_check_soname_save_LIBS
10274 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10276 $as_echo "not found" >&6; }
10278 else
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10280 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10282 cat >>confdefs.h <<_ACEOF
10283 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10284 _ACEOF
10286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10288 #include <X11/Xlib.h>
10289 #include <X11/extensions/Xrandr.h>
10291 main ()
10293 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10295 return 0;
10297 _ACEOF
10298 if ac_fn_c_try_compile "$LINENO"; then :
10300 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10308 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10309 case "x$with_xrandr" in
10310 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10311 xno) ;;
10312 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10313 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10314 esac
10318 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10319 then
10320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10321 /* end confdefs.h. */
10322 #include <X11/Xlib.h>
10323 #include <X11/extensions/Xinerama.h>
10325 main ()
10327 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10329 return 0;
10331 _ACEOF
10332 if ac_fn_c_try_compile "$LINENO"; then :
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10334 $as_echo_n "checking for -lXinerama... " >&6; }
10335 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10336 $as_echo_n "(cached) " >&6
10337 else
10338 ac_check_soname_save_LIBS=$LIBS
10339 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10341 /* end confdefs.h. */
10343 /* Override any GCC internal prototype to avoid an error.
10344 Use char because int might match the return type of a GCC
10345 builtin and then its argument prototype would still apply. */
10346 #ifdef __cplusplus
10347 extern "C"
10348 #endif
10349 char XineramaQueryScreens ();
10351 main ()
10353 return XineramaQueryScreens ();
10355 return 0;
10357 _ACEOF
10358 if ac_fn_c_try_link "$LINENO"; then :
10359 case "$LIBEXT" in
10360 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10361 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'` ;;
10362 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10363 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10364 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10365 fi ;;
10366 esac
10368 rm -f core conftest.err conftest.$ac_objext \
10369 conftest$ac_exeext conftest.$ac_ext
10370 LIBS=$ac_check_soname_save_LIBS
10372 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10374 $as_echo "not found" >&6; }
10376 else
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10378 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10380 cat >>confdefs.h <<_ACEOF
10381 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10382 _ACEOF
10387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10389 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10390 case "x$with_xinerama" in
10391 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10392 xno) ;;
10393 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10394 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10395 esac
10399 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10400 then
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10402 $as_echo_n "checking for -lXcomposite... " >&6; }
10403 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10404 $as_echo_n "(cached) " >&6
10405 else
10406 ac_check_soname_save_LIBS=$LIBS
10407 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10411 /* Override any GCC internal prototype to avoid an error.
10412 Use char because int might match the return type of a GCC
10413 builtin and then its argument prototype would still apply. */
10414 #ifdef __cplusplus
10415 extern "C"
10416 #endif
10417 char XCompositeRedirectWindow ();
10419 main ()
10421 return XCompositeRedirectWindow ();
10423 return 0;
10425 _ACEOF
10426 if ac_fn_c_try_link "$LINENO"; then :
10427 case "$LIBEXT" in
10428 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10429 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'` ;;
10430 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10431 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10432 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10433 fi ;;
10434 esac
10436 rm -f core conftest.err conftest.$ac_objext \
10437 conftest$ac_exeext conftest.$ac_ext
10438 LIBS=$ac_check_soname_save_LIBS
10440 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10442 $as_echo "not found" >&6; }
10444 else
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10446 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10448 cat >>confdefs.h <<_ACEOF
10449 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10450 _ACEOF
10455 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10456 case "x$with_xcomposite" in
10457 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10458 xno) ;;
10459 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10460 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10461 esac
10465 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10466 #include <X11/Xlib.h>
10467 #endif
10469 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10471 cat >>confdefs.h <<_ACEOF
10472 #define HAVE_XICCALLBACK_CALLBACK 1
10473 _ACEOF
10477 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10478 #include <X11/Xlib.h>
10479 #endif
10481 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10483 cat >>confdefs.h <<_ACEOF
10484 #define HAVE_XEVENT_XCOOKIE 1
10485 _ACEOF
10492 opengl_msg=""
10493 if test "x$with_opengl" != "xno"
10494 then
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10496 $as_echo_n "checking for -lGL... " >&6; }
10497 if ${ac_cv_lib_soname_GL+:} false; then :
10498 $as_echo_n "(cached) " >&6
10499 else
10500 ac_check_soname_save_LIBS=$LIBS
10501 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10503 /* end confdefs.h. */
10505 /* Override any GCC internal prototype to avoid an error.
10506 Use char because int might match the return type of a GCC
10507 builtin and then its argument prototype would still apply. */
10508 #ifdef __cplusplus
10509 extern "C"
10510 #endif
10511 char glXCreateContext ();
10513 main ()
10515 return glXCreateContext ();
10517 return 0;
10519 _ACEOF
10520 if ac_fn_c_try_link "$LINENO"; then :
10521 case "$LIBEXT" in
10522 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10523 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'` ;;
10524 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10525 if ${ac_cv_lib_soname_GL:+false} :; then :
10526 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10527 fi ;;
10528 esac
10530 rm -f core conftest.err conftest.$ac_objext \
10531 conftest$ac_exeext conftest.$ac_ext
10532 LIBS=$ac_check_soname_save_LIBS
10534 if ${ac_cv_lib_soname_GL:+false} :; then :
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10536 $as_echo "not found" >&6; }
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10538 $as_echo_n "checking for -lGL... " >&6; }
10539 if ${ac_cv_lib_soname_GL+:} false; then :
10540 $as_echo_n "(cached) " >&6
10541 else
10542 ac_check_soname_save_LIBS=$LIBS
10543 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"
10544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10545 /* end confdefs.h. */
10547 /* Override any GCC internal prototype to avoid an error.
10548 Use char because int might match the return type of a GCC
10549 builtin and then its argument prototype would still apply. */
10550 #ifdef __cplusplus
10551 extern "C"
10552 #endif
10553 char glXCreateContext ();
10555 main ()
10557 return glXCreateContext ();
10559 return 0;
10561 _ACEOF
10562 if ac_fn_c_try_link "$LINENO"; then :
10563 case "$LIBEXT" in
10564 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10565 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'` ;;
10566 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10567 if ${ac_cv_lib_soname_GL:+false} :; then :
10568 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10569 fi ;;
10570 esac
10572 rm -f core conftest.err conftest.$ac_objext \
10573 conftest$ac_exeext conftest.$ac_ext
10574 LIBS=$ac_check_soname_save_LIBS
10576 if ${ac_cv_lib_soname_GL:+false} :; then :
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10578 $as_echo "not found" >&6; }
10579 if test -f /usr/X11R6/lib/libGL.a
10580 then
10581 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10582 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10583 else
10584 opengl_msg="No OpenGL library found on this system."
10586 else
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10588 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10590 cat >>confdefs.h <<_ACEOF
10591 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10592 _ACEOF
10594 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"
10596 else
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10598 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10600 cat >>confdefs.h <<_ACEOF
10601 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10602 _ACEOF
10604 OPENGL_LIBS="-lGL"
10606 if test "x$with_glu" != "xno"
10607 then
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10609 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10610 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10611 $as_echo_n "(cached) " >&6
10612 else
10613 ac_check_lib_save_LIBS=$LIBS
10614 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10616 /* end confdefs.h. */
10618 /* Override any GCC internal prototype to avoid an error.
10619 Use char because int might match the return type of a GCC
10620 builtin and then its argument prototype would still apply. */
10621 #ifdef __cplusplus
10622 extern "C"
10623 #endif
10624 char gluLookAt ();
10626 main ()
10628 return gluLookAt ();
10630 return 0;
10632 _ACEOF
10633 if ac_fn_c_try_link "$LINENO"; then :
10634 ac_cv_lib_GLU_gluLookAt=yes
10635 else
10636 ac_cv_lib_GLU_gluLookAt=no
10638 rm -f core conftest.err conftest.$ac_objext \
10639 conftest$ac_exeext conftest.$ac_ext
10640 LIBS=$ac_check_lib_save_LIBS
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10643 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10644 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10648 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10649 case "x$with_glu" in
10650 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10651 xno) ;;
10652 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10653 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10654 esac
10659 if test "x$with_osmesa" != "xno"
10660 then
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10662 $as_echo_n "checking for -lOSMesa... " >&6; }
10663 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10664 $as_echo_n "(cached) " >&6
10665 else
10666 ac_check_soname_save_LIBS=$LIBS
10667 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10671 /* Override any GCC internal prototype to avoid an error.
10672 Use char because int might match the return type of a GCC
10673 builtin and then its argument prototype would still apply. */
10674 #ifdef __cplusplus
10675 extern "C"
10676 #endif
10677 char glAccum ();
10679 main ()
10681 return glAccum ();
10683 return 0;
10685 _ACEOF
10686 if ac_fn_c_try_link "$LINENO"; then :
10687 case "$LIBEXT" in
10688 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10689 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'` ;;
10690 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10691 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10692 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10693 fi ;;
10694 esac
10696 rm -f core conftest.err conftest.$ac_objext \
10697 conftest$ac_exeext conftest.$ac_ext
10698 LIBS=$ac_check_soname_save_LIBS
10700 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10702 $as_echo "not found" >&6; }
10704 else
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10706 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10708 cat >>confdefs.h <<_ACEOF
10709 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10710 _ACEOF
10714 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10715 case "x$with_osmesa" in
10716 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10717 xno) ;;
10718 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10719 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10720 esac
10725 if test -n "$opengl_msg"; then :
10726 case "x$with_opengl" in
10727 x) as_fn_append wine_warnings "|$opengl_msg
10728 OpenGL and Direct3D won't be supported." ;;
10729 xno) ;;
10730 *) as_fn_error $? "$opengl_msg
10731 OpenGL and Direct3D won't be supported.
10732 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10733 esac
10737 CPPFLAGS="$ac_save_CPPFLAGS"
10738 else
10739 X_CFLAGS=""
10740 X_LIBS=""
10742 if test "x$X_LIBS" = "x"; then :
10743 case "x$with_x" in
10744 xno) ;;
10745 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10746 without X support, which probably isn't what you want. You will need
10747 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10748 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10749 esac
10750 enable_winex11_drv=${enable_winex11_drv:-no}
10753 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10755 if test "$ac_cv_header_CL_cl_h" = "yes"
10756 then
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10758 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10759 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10760 $as_echo_n "(cached) " >&6
10761 else
10762 ac_check_lib_save_LIBS=$LIBS
10763 LIBS="-lOpenCL $LIBS"
10764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10765 /* end confdefs.h. */
10767 /* Override any GCC internal prototype to avoid an error.
10768 Use char because int might match the return type of a GCC
10769 builtin and then its argument prototype would still apply. */
10770 #ifdef __cplusplus
10771 extern "C"
10772 #endif
10773 char clGetPlatformInfo ();
10775 main ()
10777 return clGetPlatformInfo ();
10779 return 0;
10781 _ACEOF
10782 if ac_fn_c_try_link "$LINENO"; then :
10783 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10784 else
10785 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10787 rm -f core conftest.err conftest.$ac_objext \
10788 conftest$ac_exeext conftest.$ac_ext
10789 LIBS=$ac_check_lib_save_LIBS
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10792 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10793 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10794 OPENCL_LIBS="-lOpenCL"
10799 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10800 case "x$with_opencl" in
10801 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10802 xno) ;;
10803 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10804 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10805 esac
10806 enable_opencl=${enable_opencl:-no}
10809 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10810 then
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10812 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10813 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10814 $as_echo_n "(cached) " >&6
10815 else
10816 ac_check_lib_save_LIBS=$LIBS
10817 LIBS="-lpcap $LIBS"
10818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10821 /* Override any GCC internal prototype to avoid an error.
10822 Use char because int might match the return type of a GCC
10823 builtin and then its argument prototype would still apply. */
10824 #ifdef __cplusplus
10825 extern "C"
10826 #endif
10827 char pcap_create ();
10829 main ()
10831 return pcap_create ();
10833 return 0;
10835 _ACEOF
10836 if ac_fn_c_try_link "$LINENO"; then :
10837 ac_cv_lib_pcap_pcap_create=yes
10838 else
10839 ac_cv_lib_pcap_pcap_create=no
10841 rm -f core conftest.err conftest.$ac_objext \
10842 conftest$ac_exeext conftest.$ac_ext
10843 LIBS=$ac_check_lib_save_LIBS
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10846 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10847 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10848 PCAP_LIBS="-lpcap"
10853 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10854 case "x$with_pcap" in
10855 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10856 xno) ;;
10857 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10858 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10859 esac
10860 enable_wpcap=${enable_wpcap:-no}
10864 if test "x$with_xml" != "xno"
10865 then
10866 if ${XML2_CFLAGS:+false} :; then :
10867 if ${PKG_CONFIG+:} false; then :
10868 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10871 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10872 if ${XML2_LIBS:+false} :; then :
10873 if ${PKG_CONFIG+:} false; then :
10874 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10877 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10878 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10879 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10880 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10881 ac_save_CPPFLAGS=$CPPFLAGS
10882 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10883 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10884 do :
10885 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10886 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10887 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10888 cat >>confdefs.h <<_ACEOF
10889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10890 _ACEOF
10894 done
10896 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"
10897 then
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10899 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10900 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10901 $as_echo_n "(cached) " >&6
10902 else
10903 ac_check_lib_save_LIBS=$LIBS
10904 LIBS="-lxml2 $XML2_LIBS $LIBS"
10905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10906 /* end confdefs.h. */
10908 /* Override any GCC internal prototype to avoid an error.
10909 Use char because int might match the return type of a GCC
10910 builtin and then its argument prototype would still apply. */
10911 #ifdef __cplusplus
10912 extern "C"
10913 #endif
10914 char xmlParseMemory ();
10916 main ()
10918 return xmlParseMemory ();
10920 return 0;
10922 _ACEOF
10923 if ac_fn_c_try_link "$LINENO"; then :
10924 ac_cv_lib_xml2_xmlParseMemory=yes
10925 else
10926 ac_cv_lib_xml2_xmlParseMemory=no
10928 rm -f core conftest.err conftest.$ac_objext \
10929 conftest$ac_exeext conftest.$ac_ext
10930 LIBS=$ac_check_lib_save_LIBS
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10933 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10934 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10936 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10938 else
10939 XML2_LIBS=""
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10943 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10944 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10945 $as_echo_n "(cached) " >&6
10946 else
10947 ac_check_lib_save_LIBS=$LIBS
10948 LIBS="-lxml2 $XML2_LIBS $LIBS"
10949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10950 /* end confdefs.h. */
10952 /* Override any GCC internal prototype to avoid an error.
10953 Use char because int might match the return type of a GCC
10954 builtin and then its argument prototype would still apply. */
10955 #ifdef __cplusplus
10956 extern "C"
10957 #endif
10958 char xmlReadMemory ();
10960 main ()
10962 return xmlReadMemory ();
10964 return 0;
10966 _ACEOF
10967 if ac_fn_c_try_link "$LINENO"; then :
10968 ac_cv_lib_xml2_xmlReadMemory=yes
10969 else
10970 ac_cv_lib_xml2_xmlReadMemory=no
10972 rm -f core conftest.err conftest.$ac_objext \
10973 conftest$ac_exeext conftest.$ac_ext
10974 LIBS=$ac_check_lib_save_LIBS
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10977 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10978 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10980 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10985 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10986 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10987 $as_echo_n "(cached) " >&6
10988 else
10989 ac_check_lib_save_LIBS=$LIBS
10990 LIBS="-lxml2 $XML2_LIBS $LIBS"
10991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10994 /* Override any GCC internal prototype to avoid an error.
10995 Use char because int might match the return type of a GCC
10996 builtin and then its argument prototype would still apply. */
10997 #ifdef __cplusplus
10998 extern "C"
10999 #endif
11000 char xmlNewDocPI ();
11002 main ()
11004 return xmlNewDocPI ();
11006 return 0;
11008 _ACEOF
11009 if ac_fn_c_try_link "$LINENO"; then :
11010 ac_cv_lib_xml2_xmlNewDocPI=yes
11011 else
11012 ac_cv_lib_xml2_xmlNewDocPI=no
11014 rm -f core conftest.err conftest.$ac_objext \
11015 conftest$ac_exeext conftest.$ac_ext
11016 LIBS=$ac_check_lib_save_LIBS
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11019 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11020 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11022 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11027 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11028 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11029 $as_echo_n "(cached) " >&6
11030 else
11031 ac_check_lib_save_LIBS=$LIBS
11032 LIBS="-lxml2 $XML2_LIBS $LIBS"
11033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11034 /* end confdefs.h. */
11036 /* Override any GCC internal prototype to avoid an error.
11037 Use char because int might match the return type of a GCC
11038 builtin and then its argument prototype would still apply. */
11039 #ifdef __cplusplus
11040 extern "C"
11041 #endif
11042 char xmlSchemaSetParserStructuredErrors ();
11044 main ()
11046 return xmlSchemaSetParserStructuredErrors ();
11048 return 0;
11050 _ACEOF
11051 if ac_fn_c_try_link "$LINENO"; then :
11052 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11053 else
11054 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11056 rm -f core conftest.err conftest.$ac_objext \
11057 conftest$ac_exeext conftest.$ac_ext
11058 LIBS=$ac_check_lib_save_LIBS
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11061 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11062 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11064 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11069 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11070 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11071 $as_echo_n "(cached) " >&6
11072 else
11073 ac_check_lib_save_LIBS=$LIBS
11074 LIBS="-lxml2 $XML2_LIBS $LIBS"
11075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11076 /* end confdefs.h. */
11078 /* Override any GCC internal prototype to avoid an error.
11079 Use char because int might match the return type of a GCC
11080 builtin and then its argument prototype would still apply. */
11081 #ifdef __cplusplus
11082 extern "C"
11083 #endif
11084 char xmlSchemaSetValidStructuredErrors ();
11086 main ()
11088 return xmlSchemaSetValidStructuredErrors ();
11090 return 0;
11092 _ACEOF
11093 if ac_fn_c_try_link "$LINENO"; then :
11094 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11095 else
11096 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11098 rm -f core conftest.err conftest.$ac_objext \
11099 conftest$ac_exeext conftest.$ac_ext
11100 LIBS=$ac_check_lib_save_LIBS
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11103 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11104 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11106 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11111 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11112 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11113 $as_echo_n "(cached) " >&6
11114 else
11115 ac_check_lib_save_LIBS=$LIBS
11116 LIBS="-lxml2 $XML2_LIBS $LIBS"
11117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11118 /* end confdefs.h. */
11120 /* Override any GCC internal prototype to avoid an error.
11121 Use char because int might match the return type of a GCC
11122 builtin and then its argument prototype would still apply. */
11123 #ifdef __cplusplus
11124 extern "C"
11125 #endif
11126 char xmlFirstElementChild ();
11128 main ()
11130 return xmlFirstElementChild ();
11132 return 0;
11134 _ACEOF
11135 if ac_fn_c_try_link "$LINENO"; then :
11136 ac_cv_lib_xml2_xmlFirstElementChild=yes
11137 else
11138 ac_cv_lib_xml2_xmlFirstElementChild=no
11140 rm -f core conftest.err conftest.$ac_objext \
11141 conftest$ac_exeext conftest.$ac_ext
11142 LIBS=$ac_check_lib_save_LIBS
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11145 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11146 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11148 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11152 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11154 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11156 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11160 else
11161 XML2_CFLAGS=""
11162 XML2_LIBS=""
11164 CPPFLAGS=$ac_save_CPPFLAGS
11165 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11166 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11169 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11170 case "x$with_xml" in
11171 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11172 xno) ;;
11173 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11174 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11175 esac
11179 if test "x$with_xslt" != "xno"
11180 then
11181 if ${XSLT_CFLAGS:+false} :; then :
11182 if ${PKG_CONFIG+:} false; then :
11183 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11186 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11187 if ${XSLT_LIBS:+false} :; then :
11188 if ${PKG_CONFIG+:} false; then :
11189 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11192 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11193 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11194 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11195 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11196 ac_save_CPPFLAGS=$CPPFLAGS
11197 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11198 for ac_header in libxslt/pattern.h libxslt/transform.h
11199 do :
11200 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11201 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11202 # include <libxslt/pattern.h>
11203 #endif
11205 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11206 cat >>confdefs.h <<_ACEOF
11207 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11208 _ACEOF
11212 done
11214 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11215 then
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11217 $as_echo_n "checking for -lxslt... " >&6; }
11218 if ${ac_cv_lib_soname_xslt+:} false; then :
11219 $as_echo_n "(cached) " >&6
11220 else
11221 ac_check_soname_save_LIBS=$LIBS
11222 LIBS="-lxslt $XSLT_LIBS $LIBS"
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11226 /* Override any GCC internal prototype to avoid an error.
11227 Use char because int might match the return type of a GCC
11228 builtin and then its argument prototype would still apply. */
11229 #ifdef __cplusplus
11230 extern "C"
11231 #endif
11232 char xsltCompilePattern ();
11234 main ()
11236 return xsltCompilePattern ();
11238 return 0;
11240 _ACEOF
11241 if ac_fn_c_try_link "$LINENO"; then :
11242 case "$LIBEXT" in
11243 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11244 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'` ;;
11245 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11246 if ${ac_cv_lib_soname_xslt:+false} :; then :
11247 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11248 fi ;;
11249 esac
11251 rm -f core conftest.err conftest.$ac_objext \
11252 conftest$ac_exeext conftest.$ac_ext
11253 LIBS=$ac_check_soname_save_LIBS
11255 if ${ac_cv_lib_soname_xslt:+false} :; then :
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11257 $as_echo "not found" >&6; }
11259 else
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11261 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11263 cat >>confdefs.h <<_ACEOF
11264 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11265 _ACEOF
11269 else
11270 XSLT_CFLAGS=""
11272 CPPFLAGS=$ac_save_CPPFLAGS
11273 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11274 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11277 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11278 case "x$with_xslt" in
11279 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11280 xno) ;;
11281 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11282 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11283 esac
11287 if test "x$with_dbus" != "xno"
11288 then
11289 if ${DBUS_CFLAGS:+false} :; then :
11290 if ${PKG_CONFIG+:} false; then :
11291 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11295 if ${DBUS_LIBS:+false} :; then :
11296 if ${PKG_CONFIG+:} false; then :
11297 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11302 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11303 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11304 ac_save_CPPFLAGS=$CPPFLAGS
11305 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11306 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11307 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11309 $as_echo_n "checking for -ldbus-1... " >&6; }
11310 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11311 $as_echo_n "(cached) " >&6
11312 else
11313 ac_check_soname_save_LIBS=$LIBS
11314 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11318 /* Override any GCC internal prototype to avoid an error.
11319 Use char because int might match the return type of a GCC
11320 builtin and then its argument prototype would still apply. */
11321 #ifdef __cplusplus
11322 extern "C"
11323 #endif
11324 char dbus_connection_close ();
11326 main ()
11328 return dbus_connection_close ();
11330 return 0;
11332 _ACEOF
11333 if ac_fn_c_try_link "$LINENO"; then :
11334 case "$LIBEXT" in
11335 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11336 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'` ;;
11337 *) 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'`
11338 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11339 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11340 fi ;;
11341 esac
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_soname_save_LIBS
11347 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11349 $as_echo "not found" >&6; }
11350 DBUS_CFLAGS=""
11351 else
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11353 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11355 cat >>confdefs.h <<_ACEOF
11356 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11357 _ACEOF
11361 else
11362 DBUS_CFLAGS=""
11366 CPPFLAGS=$ac_save_CPPFLAGS
11367 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11368 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11371 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11372 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11373 case "x$with_dbus" in
11374 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11375 xno) ;;
11376 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11377 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11378 esac
11382 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11383 then
11384 if ${HAL_CFLAGS:+false} :; then :
11385 if ${PKG_CONFIG+:} false; then :
11386 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11390 if ${HAL_LIBS:+false} :; then :
11391 if ${PKG_CONFIG+:} false; then :
11392 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11396 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11397 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11398 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11399 ac_save_CPPFLAGS=$CPPFLAGS
11400 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11401 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11402 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11404 $as_echo_n "checking for -lhal... " >&6; }
11405 if ${ac_cv_lib_soname_hal+:} false; then :
11406 $as_echo_n "(cached) " >&6
11407 else
11408 ac_check_soname_save_LIBS=$LIBS
11409 LIBS="-lhal $HAL_LIBS $LIBS"
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11413 /* Override any GCC internal prototype to avoid an error.
11414 Use char because int might match the return type of a GCC
11415 builtin and then its argument prototype would still apply. */
11416 #ifdef __cplusplus
11417 extern "C"
11418 #endif
11419 char libhal_ctx_new ();
11421 main ()
11423 return libhal_ctx_new ();
11425 return 0;
11427 _ACEOF
11428 if ac_fn_c_try_link "$LINENO"; then :
11429 case "$LIBEXT" in
11430 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11431 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'` ;;
11432 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11433 if ${ac_cv_lib_soname_hal:+false} :; then :
11434 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11435 fi ;;
11436 esac
11438 rm -f core conftest.err conftest.$ac_objext \
11439 conftest$ac_exeext conftest.$ac_ext
11440 LIBS=$ac_check_soname_save_LIBS
11442 if ${ac_cv_lib_soname_hal:+false} :; then :
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11444 $as_echo "not found" >&6; }
11445 HAL_CFLAGS=""
11446 else
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11448 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11450 cat >>confdefs.h <<_ACEOF
11451 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11452 _ACEOF
11456 else
11457 HAL_CFLAGS=""
11461 CPPFLAGS=$ac_save_CPPFLAGS
11462 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11463 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11465 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11466 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11467 case "x$with_hal" in
11468 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11469 xno) ;;
11470 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11471 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11472 esac
11477 if test "x$with_gnutls" != "xno"
11478 then
11479 if ${GNUTLS_CFLAGS:+false} :; then :
11480 if ${PKG_CONFIG+:} false; then :
11481 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11485 if ${GNUTLS_LIBS:+false} :; then :
11486 if ${PKG_CONFIG+:} false; then :
11487 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11492 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11493 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11494 ac_save_CPPFLAGS=$CPPFLAGS
11495 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11496 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11497 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11500 #include <gnutls/gnutls.h>
11501 #include <gnutls/crypto.h>
11503 main ()
11505 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11507 return 0;
11509 _ACEOF
11510 if ac_fn_c_try_compile "$LINENO"; then :
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11512 $as_echo_n "checking for -lgnutls... " >&6; }
11513 if ${ac_cv_lib_soname_gnutls+:} false; then :
11514 $as_echo_n "(cached) " >&6
11515 else
11516 ac_check_soname_save_LIBS=$LIBS
11517 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11524 #ifdef __cplusplus
11525 extern "C"
11526 #endif
11527 char gnutls_global_init ();
11529 main ()
11531 return gnutls_global_init ();
11533 return 0;
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"; then :
11537 case "$LIBEXT" in
11538 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11539 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'` ;;
11540 *) 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'`
11541 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11542 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'`
11543 fi ;;
11544 esac
11546 rm -f core conftest.err conftest.$ac_objext \
11547 conftest$ac_exeext conftest.$ac_ext
11548 LIBS=$ac_check_soname_save_LIBS
11550 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11552 $as_echo "not found" >&6; }
11553 GNUTLS_CFLAGS=""
11554 else
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11556 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11558 cat >>confdefs.h <<_ACEOF
11559 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11560 _ACEOF
11564 ac_wine_check_funcs_save_LIBS="$LIBS"
11565 LIBS="$LIBS $GNUTLS_LIBS"
11566 for ac_func in gnutls_hash
11567 do :
11568 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11569 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11570 cat >>confdefs.h <<_ACEOF
11571 #define HAVE_GNUTLS_HASH 1
11572 _ACEOF
11574 else
11575 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11577 done
11579 LIBS="$ac_wine_check_funcs_save_LIBS"
11581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11582 else
11583 GNUTLS_CFLAGS=""
11587 CPPFLAGS=$ac_save_CPPFLAGS
11588 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11589 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11592 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11593 case "x$with_gnutls" in
11594 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11595 xno) ;;
11596 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11597 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11598 esac
11602 CURSES_LIBS=""
11603 if test "$ac_cv_header_ncurses_h" = "yes"
11604 then
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11606 $as_echo_n "checking for -lncurses... " >&6; }
11607 if ${ac_cv_lib_soname_ncurses+:} false; then :
11608 $as_echo_n "(cached) " >&6
11609 else
11610 ac_check_soname_save_LIBS=$LIBS
11611 LIBS="-lncurses $LIBS"
11612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11613 /* end confdefs.h. */
11615 /* Override any GCC internal prototype to avoid an error.
11616 Use char because int might match the return type of a GCC
11617 builtin and then its argument prototype would still apply. */
11618 #ifdef __cplusplus
11619 extern "C"
11620 #endif
11621 char waddch ();
11623 main ()
11625 return waddch ();
11627 return 0;
11629 _ACEOF
11630 if ac_fn_c_try_link "$LINENO"; then :
11631 case "$LIBEXT" in
11632 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11633 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'` ;;
11634 *) 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'`
11635 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11636 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11637 fi ;;
11638 esac
11640 rm -f core conftest.err conftest.$ac_objext \
11641 conftest$ac_exeext conftest.$ac_ext
11642 LIBS=$ac_check_soname_save_LIBS
11644 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11646 $as_echo "not found" >&6; }
11648 else
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11650 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11652 cat >>confdefs.h <<_ACEOF
11653 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11654 _ACEOF
11656 CURSES_LIBS="-lncurses"
11658 elif test "$ac_cv_header_curses_h" = "yes"
11659 then
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11661 $as_echo_n "checking for -lcurses... " >&6; }
11662 if ${ac_cv_lib_soname_curses+:} false; then :
11663 $as_echo_n "(cached) " >&6
11664 else
11665 ac_check_soname_save_LIBS=$LIBS
11666 LIBS="-lcurses $LIBS"
11667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11670 /* Override any GCC internal prototype to avoid an error.
11671 Use char because int might match the return type of a GCC
11672 builtin and then its argument prototype would still apply. */
11673 #ifdef __cplusplus
11674 extern "C"
11675 #endif
11676 char waddch ();
11678 main ()
11680 return waddch ();
11682 return 0;
11684 _ACEOF
11685 if ac_fn_c_try_link "$LINENO"; then :
11686 case "$LIBEXT" in
11687 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11688 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'` ;;
11689 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11690 if ${ac_cv_lib_soname_curses:+false} :; then :
11691 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11692 fi ;;
11693 esac
11695 rm -f core conftest.err conftest.$ac_objext \
11696 conftest$ac_exeext conftest.$ac_ext
11697 LIBS=$ac_check_soname_save_LIBS
11699 if ${ac_cv_lib_soname_curses:+false} :; then :
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11701 $as_echo "not found" >&6; }
11703 else
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11705 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11707 cat >>confdefs.h <<_ACEOF
11708 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11709 _ACEOF
11711 CURSES_LIBS="-lcurses"
11714 ac_save_LIBS="$LIBS"
11715 LIBS="$LIBS $CURSES_LIBS"
11716 for ac_func in mousemask
11717 do :
11718 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11719 if test "x$ac_cv_func_mousemask" = xyes; then :
11720 cat >>confdefs.h <<_ACEOF
11721 #define HAVE_MOUSEMASK 1
11722 _ACEOF
11725 done
11727 LIBS="$ac_save_LIBS"
11728 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11729 case "x$with_curses" in
11730 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11731 xno) ;;
11732 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11733 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11734 esac
11738 if test "x$with_sane" != "xno"
11739 then
11740 if ${SANE_CFLAGS:+false} :; then :
11741 if ${PKG_CONFIG+:} false; then :
11742 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11745 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11746 if ${SANE_LIBS:+false} :; then :
11747 if ${PKG_CONFIG+:} false; then :
11748 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11751 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11753 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11754 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11755 ac_save_CPPFLAGS=$CPPFLAGS
11756 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11757 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11758 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11760 $as_echo_n "checking for -lsane... " >&6; }
11761 if ${ac_cv_lib_soname_sane+:} false; then :
11762 $as_echo_n "(cached) " >&6
11763 else
11764 ac_check_soname_save_LIBS=$LIBS
11765 LIBS="-lsane $SANE_LIBS $LIBS"
11766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11767 /* end confdefs.h. */
11769 /* Override any GCC internal prototype to avoid an error.
11770 Use char because int might match the return type of a GCC
11771 builtin and then its argument prototype would still apply. */
11772 #ifdef __cplusplus
11773 extern "C"
11774 #endif
11775 char sane_init ();
11777 main ()
11779 return sane_init ();
11781 return 0;
11783 _ACEOF
11784 if ac_fn_c_try_link "$LINENO"; then :
11785 case "$LIBEXT" in
11786 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11787 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'` ;;
11788 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11789 if ${ac_cv_lib_soname_sane:+false} :; then :
11790 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11791 fi ;;
11792 esac
11794 rm -f core conftest.err conftest.$ac_objext \
11795 conftest$ac_exeext conftest.$ac_ext
11796 LIBS=$ac_check_soname_save_LIBS
11798 if ${ac_cv_lib_soname_sane:+false} :; then :
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11800 $as_echo "not found" >&6; }
11801 SANE_CFLAGS=""
11802 else
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11804 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11806 cat >>confdefs.h <<_ACEOF
11807 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11808 _ACEOF
11812 else
11813 SANE_CFLAGS=""
11817 CPPFLAGS=$ac_save_CPPFLAGS
11818 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11819 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11822 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11823 case "x$with_sane" in
11824 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11825 xno) ;;
11826 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11827 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11828 esac
11832 if test "x$with_v4l" != "xno"
11833 then
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11835 $as_echo_n "checking for -lv4l1... " >&6; }
11836 if ${ac_cv_lib_soname_v4l1+:} false; then :
11837 $as_echo_n "(cached) " >&6
11838 else
11839 ac_check_soname_save_LIBS=$LIBS
11840 LIBS="-lv4l1 $LIBS"
11841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h. */
11844 /* Override any GCC internal prototype to avoid an error.
11845 Use char because int might match the return type of a GCC
11846 builtin and then its argument prototype would still apply. */
11847 #ifdef __cplusplus
11848 extern "C"
11849 #endif
11850 char v4l1_open ();
11852 main ()
11854 return v4l1_open ();
11856 return 0;
11858 _ACEOF
11859 if ac_fn_c_try_link "$LINENO"; then :
11860 case "$LIBEXT" in
11861 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11862 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'` ;;
11863 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11864 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11865 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11866 fi ;;
11867 esac
11869 rm -f core conftest.err conftest.$ac_objext \
11870 conftest$ac_exeext conftest.$ac_ext
11871 LIBS=$ac_check_soname_save_LIBS
11873 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11875 $as_echo "not found" >&6; }
11877 else
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11879 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11881 cat >>confdefs.h <<_ACEOF
11882 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11883 _ACEOF
11888 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11889 case "x$with_v4l" in
11890 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11891 xno) ;;
11892 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11893 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11894 esac
11898 if test "x$with_gphoto" != "xno"
11899 then
11900 if ${GPHOTO2_CFLAGS:+false} :; then :
11901 if ${PKG_CONFIG+:} false; then :
11902 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11905 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11906 if ${GPHOTO2_LIBS:+false} :; then :
11907 if ${PKG_CONFIG+:} false; then :
11908 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11911 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11912 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11913 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11914 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11915 ac_save_CPPFLAGS=$CPPFLAGS
11916 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11917 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11918 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11920 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11921 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11922 $as_echo_n "(cached) " >&6
11923 else
11924 ac_check_lib_save_LIBS=$LIBS
11925 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11927 /* end confdefs.h. */
11929 /* Override any GCC internal prototype to avoid an error.
11930 Use char because int might match the return type of a GCC
11931 builtin and then its argument prototype would still apply. */
11932 #ifdef __cplusplus
11933 extern "C"
11934 #endif
11935 char gp_camera_new ();
11937 main ()
11939 return gp_camera_new ();
11941 return 0;
11943 _ACEOF
11944 if ac_fn_c_try_link "$LINENO"; then :
11945 ac_cv_lib_gphoto2_gp_camera_new=yes
11946 else
11947 ac_cv_lib_gphoto2_gp_camera_new=no
11949 rm -f core conftest.err conftest.$ac_objext \
11950 conftest$ac_exeext conftest.$ac_ext
11951 LIBS=$ac_check_lib_save_LIBS
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11954 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11955 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11957 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11959 else
11960 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11963 else
11964 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11968 CPPFLAGS=$ac_save_CPPFLAGS
11969 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11970 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11972 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11973 if ${PKG_CONFIG+:} false; then :
11974 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11977 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11978 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11979 if ${PKG_CONFIG+:} false; then :
11980 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11983 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
11984 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11985 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11986 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11987 ac_save_CPPFLAGS=$CPPFLAGS
11988 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11989 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11990 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11992 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11993 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11994 $as_echo_n "(cached) " >&6
11995 else
11996 ac_check_lib_save_LIBS=$LIBS
11997 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11999 /* end confdefs.h. */
12001 /* Override any GCC internal prototype to avoid an error.
12002 Use char because int might match the return type of a GCC
12003 builtin and then its argument prototype would still apply. */
12004 #ifdef __cplusplus
12005 extern "C"
12006 #endif
12007 char gp_port_info_list_new ();
12009 main ()
12011 return gp_port_info_list_new ();
12013 return 0;
12015 _ACEOF
12016 if ac_fn_c_try_link "$LINENO"; then :
12017 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12018 else
12019 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12021 rm -f core conftest.err conftest.$ac_objext \
12022 conftest$ac_exeext conftest.$ac_ext
12023 LIBS=$ac_check_lib_save_LIBS
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12026 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12027 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12029 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12031 else
12032 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12035 else
12036 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12040 CPPFLAGS=$ac_save_CPPFLAGS
12041 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12042 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12045 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12046 case "x$with_gphoto" in
12047 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12048 xno) ;;
12049 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12050 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12051 esac
12054 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12055 case "x$with_gphoto" in
12056 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12057 xno) ;;
12058 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12059 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12060 esac
12065 if test "$ac_cv_header_resolv_h" = "yes"
12066 then
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12068 $as_echo_n "checking for resolver library... " >&6; }
12069 if ${ac_cv_have_resolv+:} false; then :
12070 $as_echo_n "(cached) " >&6
12071 else
12072 ac_save_LIBS="$LIBS"
12073 for lib in '' -lresolv
12075 LIBS="$lib $ac_save_LIBS"
12076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12078 #ifdef HAVE_NETINET_IN_H
12079 #include <netinet/in.h>
12080 #endif
12081 #include <resolv.h>
12083 main ()
12085 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12087 return 0;
12089 _ACEOF
12090 if ac_fn_c_try_link "$LINENO"; then :
12091 ac_cv_have_resolv=${lib:-"none required"}
12092 else
12093 ac_cv_have_resolv="not found"
12095 rm -f core conftest.err conftest.$ac_objext \
12096 conftest$ac_exeext conftest.$ac_ext
12097 test "x$ac_cv_have_resolv" = "xnot found" || break
12098 done
12099 LIBS="$ac_save_LIBS"
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12102 $as_echo "$ac_cv_have_resolv" >&6; }
12104 case "$ac_cv_have_resolv" in
12105 "not found") ;;
12106 "none required")
12108 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12111 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12113 RESOLV_LIBS=$ac_cv_have_resolv
12115 esac
12118 if test "x$with_cms" != "xno"
12119 then
12120 if ${LCMS2_CFLAGS:+false} :; then :
12121 if ${PKG_CONFIG+:} false; then :
12122 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12126 if ${LCMS2_LIBS:+false} :; then :
12127 if ${PKG_CONFIG+:} false; then :
12128 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12132 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12133 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12134 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12135 ac_save_CPPFLAGS=$CPPFLAGS
12136 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12137 for ac_header in lcms2.h
12138 do :
12139 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12140 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12141 cat >>confdefs.h <<_ACEOF
12142 #define HAVE_LCMS2_H 1
12143 _ACEOF
12147 done
12149 if test "$ac_cv_header_lcms2_h" = "yes"
12150 then
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12152 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12153 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12154 $as_echo_n "(cached) " >&6
12155 else
12156 ac_check_lib_save_LIBS=$LIBS
12157 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12161 /* Override any GCC internal prototype to avoid an error.
12162 Use char because int might match the return type of a GCC
12163 builtin and then its argument prototype would still apply. */
12164 #ifdef __cplusplus
12165 extern "C"
12166 #endif
12167 char cmsOpenProfileFromFile ();
12169 main ()
12171 return cmsOpenProfileFromFile ();
12173 return 0;
12175 _ACEOF
12176 if ac_fn_c_try_link "$LINENO"; then :
12177 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12178 else
12179 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12181 rm -f core conftest.err conftest.$ac_objext \
12182 conftest$ac_exeext conftest.$ac_ext
12183 LIBS=$ac_check_lib_save_LIBS
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12186 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12187 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12189 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12191 else
12192 LCMS2_LIBS=""
12195 else
12196 LCMS2_CFLAGS=""
12197 LCMS2_LIBS=""
12199 CPPFLAGS=$ac_save_CPPFLAGS
12200 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12201 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12204 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12205 case "x$with_cms" in
12206 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12207 xno) ;;
12208 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12209 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12210 esac
12214 if test "x$with_freetype" != "xno"
12215 then
12216 if ${FREETYPE_CFLAGS:+false} :; then :
12217 if ${PKG_CONFIG+:} false; then :
12218 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12221 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12222 if ${FREETYPE_LIBS:+false} :; then :
12223 if ${PKG_CONFIG+:} false; then :
12224 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12227 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12228 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12229 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12230 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12231 ac_save_CPPFLAGS=$CPPFLAGS
12232 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12233 for ac_header in ft2build.h
12234 do :
12235 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12236 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12237 cat >>confdefs.h <<_ACEOF
12238 #define HAVE_FT2BUILD_H 1
12239 _ACEOF
12243 done
12245 if test "$ac_cv_header_ft2build_h" = "yes"
12246 then
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12248 $as_echo_n "checking for -lfreetype... " >&6; }
12249 if ${ac_cv_lib_soname_freetype+:} false; then :
12250 $as_echo_n "(cached) " >&6
12251 else
12252 ac_check_soname_save_LIBS=$LIBS
12253 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12257 /* Override any GCC internal prototype to avoid an error.
12258 Use char because int might match the return type of a GCC
12259 builtin and then its argument prototype would still apply. */
12260 #ifdef __cplusplus
12261 extern "C"
12262 #endif
12263 char FT_Init_FreeType ();
12265 main ()
12267 return FT_Init_FreeType ();
12269 return 0;
12271 _ACEOF
12272 if ac_fn_c_try_link "$LINENO"; then :
12273 case "$LIBEXT" in
12274 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12275 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'` ;;
12276 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12277 if ${ac_cv_lib_soname_freetype:+false} :; then :
12278 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12279 fi ;;
12280 esac
12282 rm -f core conftest.err conftest.$ac_objext \
12283 conftest$ac_exeext conftest.$ac_ext
12284 LIBS=$ac_check_soname_save_LIBS
12286 if ${ac_cv_lib_soname_freetype:+false} :; then :
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12288 $as_echo "not found" >&6; }
12289 FREETYPE_LIBS=""
12290 else
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12292 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12294 cat >>confdefs.h <<_ACEOF
12295 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12296 _ACEOF
12299 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12301 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12302 #include FT_MODULE_H
12304 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12306 cat >>confdefs.h <<_ACEOF
12307 #define HAVE_FT_TRUETYPEENGINETYPE 1
12308 _ACEOF
12314 else
12315 FREETYPE_CFLAGS=""
12316 FREETYPE_LIBS=""
12318 CPPFLAGS=$ac_save_CPPFLAGS
12319 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12320 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12323 if test "x$ac_cv_lib_soname_freetype" = x; then :
12324 case "x$with_freetype" in
12325 xno) ;;
12326 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12327 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12328 esac
12329 enable_fonts=${enable_fonts:-no}
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12333 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12334 if ${ac_cv_c_ppdev+:} false; then :
12335 $as_echo_n "(cached) " >&6
12336 else
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12339 #ifdef HAVE_SYS_IOCTL_H
12340 # include <sys/ioctl.h>
12341 #endif
12342 #include <linux/ppdev.h>
12344 main ()
12346 ioctl (1,PPCLAIM,0)
12348 return 0;
12350 _ACEOF
12351 if ac_fn_c_try_compile "$LINENO"; then :
12352 ac_cv_c_ppdev="yes"
12353 else
12354 ac_cv_c_ppdev="no"
12356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12359 $as_echo "$ac_cv_c_ppdev" >&6; }
12360 if test "$ac_cv_c_ppdev" = "yes"
12361 then
12363 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12367 ac_wine_check_funcs_save_LIBS="$LIBS"
12368 LIBS="$LIBS $PTHREAD_LIBS"
12369 for ac_func in \
12370 pthread_attr_get_np \
12371 pthread_getattr_np \
12372 pthread_getthreadid_np \
12373 pthread_get_stackaddr_np \
12374 pthread_get_stacksize_np
12375 do :
12376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12378 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12379 cat >>confdefs.h <<_ACEOF
12380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12381 _ACEOF
12384 done
12386 LIBS="$ac_wine_check_funcs_save_LIBS"
12388 if test "$ac_cv_header_zlib_h" = "yes"
12389 then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12391 $as_echo_n "checking for inflate in -lz... " >&6; }
12392 if ${ac_cv_lib_z_inflate+:} false; then :
12393 $as_echo_n "(cached) " >&6
12394 else
12395 ac_check_lib_save_LIBS=$LIBS
12396 LIBS="-lz $LIBS"
12397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h. */
12400 /* Override any GCC internal prototype to avoid an error.
12401 Use char because int might match the return type of a GCC
12402 builtin and then its argument prototype would still apply. */
12403 #ifdef __cplusplus
12404 extern "C"
12405 #endif
12406 char inflate ();
12408 main ()
12410 return inflate ();
12412 return 0;
12414 _ACEOF
12415 if ac_fn_c_try_link "$LINENO"; then :
12416 ac_cv_lib_z_inflate=yes
12417 else
12418 ac_cv_lib_z_inflate=no
12420 rm -f core conftest.err conftest.$ac_objext \
12421 conftest$ac_exeext conftest.$ac_ext
12422 LIBS=$ac_check_lib_save_LIBS
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12425 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12426 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12428 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12430 Z_LIBS="-lz"
12435 if test "x$Z_LIBS" = "x"; then :
12436 case "x$with_zlib" in
12437 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12438 xno) ;;
12439 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12440 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12441 esac
12445 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12446 then
12447 if test "$ac_cv_header_gettext_po_h" = "yes"
12448 then
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12450 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12451 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12452 $as_echo_n "(cached) " >&6
12453 else
12454 ac_check_lib_save_LIBS=$LIBS
12455 LIBS="-lgettextpo $LIBS"
12456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12457 /* end confdefs.h. */
12459 /* Override any GCC internal prototype to avoid an error.
12460 Use char because int might match the return type of a GCC
12461 builtin and then its argument prototype would still apply. */
12462 #ifdef __cplusplus
12463 extern "C"
12464 #endif
12465 char po_message_msgctxt ();
12467 main ()
12469 return po_message_msgctxt ();
12471 return 0;
12473 _ACEOF
12474 if ac_fn_c_try_link "$LINENO"; then :
12475 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12476 else
12477 ac_cv_lib_gettextpo_po_message_msgctxt=no
12479 rm -f core conftest.err conftest.$ac_objext \
12480 conftest$ac_exeext conftest.$ac_ext
12481 LIBS=$ac_check_lib_save_LIBS
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12484 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12485 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12487 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12489 GETTEXTPO_LIBS="-lgettextpo"
12494 if test "x$GETTEXTPO_LIBS" = "x"; then :
12495 case "x$with_gettextpo" in
12496 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12497 xno) ;;
12498 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12499 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12500 esac
12503 if test "$srcdir" != .; then :
12504 case "x$with_gettextpo" in
12505 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12506 xno) ;;
12507 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12508 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12509 esac
12514 if test "x$with_pulse" != "xno";
12515 then
12516 if ${PULSE_CFLAGS:+false} :; then :
12517 if ${PKG_CONFIG+:} false; then :
12518 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12522 if ${PULSE_LIBS:+false} :; then :
12523 if ${PKG_CONFIG+:} false; then :
12524 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12529 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12530 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12531 ac_save_CPPFLAGS=$CPPFLAGS
12532 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12533 for ac_header in pulse/pulseaudio.h
12534 do :
12535 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12536 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12537 cat >>confdefs.h <<_ACEOF
12538 #define HAVE_PULSE_PULSEAUDIO_H 1
12539 _ACEOF
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12541 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12542 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12543 $as_echo_n "(cached) " >&6
12544 else
12545 ac_check_lib_save_LIBS=$LIBS
12546 LIBS="-lpulse $PULSE_LIBS $LIBS"
12547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12548 /* end confdefs.h. */
12550 /* Override any GCC internal prototype to avoid an error.
12551 Use char because int might match the return type of a GCC
12552 builtin and then its argument prototype would still apply. */
12553 #ifdef __cplusplus
12554 extern "C"
12555 #endif
12556 char pa_stream_is_corked ();
12558 main ()
12560 return pa_stream_is_corked ();
12562 return 0;
12564 _ACEOF
12565 if ac_fn_c_try_link "$LINENO"; then :
12566 ac_cv_lib_pulse_pa_stream_is_corked=yes
12567 else
12568 ac_cv_lib_pulse_pa_stream_is_corked=no
12570 rm -f core conftest.err conftest.$ac_objext \
12571 conftest$ac_exeext conftest.$ac_ext
12572 LIBS=$ac_check_lib_save_LIBS
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12575 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12576 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12578 else
12579 PULSE_LIBS=""
12582 else
12583 PULSE_LIBS=""
12586 done
12588 CPPFLAGS=$ac_save_CPPFLAGS
12589 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12590 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12593 if test -z "$PULSE_LIBS"; then :
12594 case "x$with_pulse" in
12595 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12596 xno) ;;
12597 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12598 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12599 esac
12600 enable_winepulse_drv=${enable_winepulse_drv:-no}
12603 if test "x$with_gstreamer" != "xno"
12604 then
12605 if ${GSTREAMER_CFLAGS:+false} :; then :
12606 if ${PKG_CONFIG+:} false; then :
12607 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12611 if ${GSTREAMER_LIBS:+false} :; then :
12612 if ${PKG_CONFIG+:} false; then :
12613 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12618 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12619 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12620 ac_save_CPPFLAGS=$CPPFLAGS
12621 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12622 ac_gst_incl=""
12623 for i in $GSTREAMER_CFLAGS
12625 case "$i" in
12626 -I*) ac_gst_incl="$ac_gst_incl $i";;
12627 esac
12628 done
12629 GSTREAMER_CFLAGS=$ac_gst_incl
12630 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12631 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12632 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12634 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12636 /* end confdefs.h. */
12637 #include <gst/gst.h>
12639 main ()
12641 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12643 return 0;
12645 _ACEOF
12646 if ac_fn_c_try_compile "$LINENO"; then :
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12648 $as_echo "yes" >&6; }
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12650 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12651 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12652 $as_echo_n "(cached) " >&6
12653 else
12654 ac_check_lib_save_LIBS=$LIBS
12655 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12657 /* end confdefs.h. */
12659 /* Override any GCC internal prototype to avoid an error.
12660 Use char because int might match the return type of a GCC
12661 builtin and then its argument prototype would still apply. */
12662 #ifdef __cplusplus
12663 extern "C"
12664 #endif
12665 char gst_pad_new ();
12667 main ()
12669 return gst_pad_new ();
12671 return 0;
12673 _ACEOF
12674 if ac_fn_c_try_link "$LINENO"; then :
12675 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12676 else
12677 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12679 rm -f core conftest.err conftest.$ac_objext \
12680 conftest$ac_exeext conftest.$ac_ext
12681 LIBS=$ac_check_lib_save_LIBS
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12684 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12685 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12689 else
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12691 $as_echo "no" >&6; }
12692 ac_glib2_broken=yes
12693 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12699 CPPFLAGS=$ac_save_CPPFLAGS
12700 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12701 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12704 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
12705 case "x$with_gstreamer" in
12706 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12707 xno) ;;
12708 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12709 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12710 esac
12713 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12715 ALSA_LIBS=""
12717 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12718 then
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12720 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12721 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12722 $as_echo_n "(cached) " >&6
12723 else
12724 ac_check_lib_save_LIBS=$LIBS
12725 LIBS="-lasound $LIBS"
12726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12727 /* end confdefs.h. */
12729 /* Override any GCC internal prototype to avoid an error.
12730 Use char because int might match the return type of a GCC
12731 builtin and then its argument prototype would still apply. */
12732 #ifdef __cplusplus
12733 extern "C"
12734 #endif
12735 char snd_pcm_hw_params_get_access_mask ();
12737 main ()
12739 return snd_pcm_hw_params_get_access_mask ();
12741 return 0;
12743 _ACEOF
12744 if ac_fn_c_try_link "$LINENO"; then :
12745 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12746 else
12747 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12749 rm -f core conftest.err conftest.$ac_objext \
12750 conftest$ac_exeext conftest.$ac_ext
12751 LIBS=$ac_check_lib_save_LIBS
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12754 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12755 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12757 /* end confdefs.h. */
12758 #ifdef HAVE_ALSA_ASOUNDLIB_H
12759 #include <alsa/asoundlib.h>
12760 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12761 #include <sys/asoundlib.h>
12762 #endif
12764 main ()
12766 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12768 return 0;
12770 _ACEOF
12771 if ac_fn_c_try_compile "$LINENO"; then :
12772 ALSA_LIBS="-lasound"
12774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12778 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12780 if test "x$with_oss" != xno
12781 then
12782 ac_save_CPPFLAGS="$CPPFLAGS"
12783 if test -f /etc/oss.conf
12784 then
12785 . /etc/oss.conf
12787 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12788 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12789 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12790 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12791 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12793 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12795 cat >>confdefs.h <<_ACEOF
12796 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12797 _ACEOF
12799 OSS4_CFLAGS="$ac_oss_incl"
12806 CPPFLAGS="$ac_save_CPPFLAGS"
12808 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12809 case "x$with_oss" in
12810 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12811 xno) ;;
12812 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12813 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12814 esac
12815 enable_wineoss_drv=${enable_wineoss_drv:-no}
12818 if test "x$with_capi" != "xno"
12819 then
12820 if ${CAPI20_CFLAGS:+false} :; then :
12821 if ${PKG_CONFIG+:} false; then :
12822 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12826 if ${CAPI20_LIBS:+false} :; then :
12827 if ${PKG_CONFIG+:} false; then :
12828 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12833 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12834 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12835 ac_save_CPPFLAGS=$CPPFLAGS
12836 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12837 for ac_header in capi20.h linux/capi.h
12838 do :
12839 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12840 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12842 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12843 cat >>confdefs.h <<_ACEOF
12844 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12845 _ACEOF
12849 done
12851 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12852 then
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12854 $as_echo_n "checking for -lcapi20... " >&6; }
12855 if ${ac_cv_lib_soname_capi20+:} false; then :
12856 $as_echo_n "(cached) " >&6
12857 else
12858 ac_check_soname_save_LIBS=$LIBS
12859 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12861 /* end confdefs.h. */
12863 /* Override any GCC internal prototype to avoid an error.
12864 Use char because int might match the return type of a GCC
12865 builtin and then its argument prototype would still apply. */
12866 #ifdef __cplusplus
12867 extern "C"
12868 #endif
12869 char capi20_register ();
12871 main ()
12873 return capi20_register ();
12875 return 0;
12877 _ACEOF
12878 if ac_fn_c_try_link "$LINENO"; then :
12879 case "$LIBEXT" in
12880 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12881 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'` ;;
12882 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12883 if ${ac_cv_lib_soname_capi20:+false} :; then :
12884 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12885 fi ;;
12886 esac
12888 rm -f core conftest.err conftest.$ac_objext \
12889 conftest$ac_exeext conftest.$ac_ext
12890 LIBS=$ac_check_soname_save_LIBS
12892 if ${ac_cv_lib_soname_capi20:+false} :; then :
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12894 $as_echo "not found" >&6; }
12896 else
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12898 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12900 cat >>confdefs.h <<_ACEOF
12901 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12902 _ACEOF
12907 CPPFLAGS=$ac_save_CPPFLAGS
12908 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12909 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12912 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12913 case "x$with_capi" in
12914 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12915 xno) ;;
12916 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12917 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12918 esac
12922 CUPS_CFLAGS=""
12924 if test "x$with_cups" != "xno"
12925 then
12926 ac_save_CPPFLAGS="$CPPFLAGS"
12927 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12928 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12929 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12930 for ac_header in cups/cups.h
12931 do :
12932 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12933 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12934 cat >>confdefs.h <<_ACEOF
12935 #define HAVE_CUPS_CUPS_H 1
12936 _ACEOF
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12938 $as_echo_n "checking for -lcups... " >&6; }
12939 if ${ac_cv_lib_soname_cups+:} false; then :
12940 $as_echo_n "(cached) " >&6
12941 else
12942 ac_check_soname_save_LIBS=$LIBS
12943 LIBS="-lcups $ac_cups_libs $LIBS"
12944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12945 /* end confdefs.h. */
12947 /* Override any GCC internal prototype to avoid an error.
12948 Use char because int might match the return type of a GCC
12949 builtin and then its argument prototype would still apply. */
12950 #ifdef __cplusplus
12951 extern "C"
12952 #endif
12953 char cupsGetDefault ();
12955 main ()
12957 return cupsGetDefault ();
12959 return 0;
12961 _ACEOF
12962 if ac_fn_c_try_link "$LINENO"; then :
12963 case "$LIBEXT" in
12964 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12965 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'` ;;
12966 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12967 if ${ac_cv_lib_soname_cups:+false} :; then :
12968 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12969 fi ;;
12970 esac
12972 rm -f core conftest.err conftest.$ac_objext \
12973 conftest$ac_exeext conftest.$ac_ext
12974 LIBS=$ac_check_soname_save_LIBS
12976 if ${ac_cv_lib_soname_cups:+false} :; then :
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12978 $as_echo "not found" >&6; }
12980 else
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12982 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12984 cat >>confdefs.h <<_ACEOF
12985 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12986 _ACEOF
12988 CUPS_CFLAGS="$ac_cups_cflags"
12992 done
12994 CPPFLAGS="$ac_save_CPPFLAGS"
12996 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12997 case "x$with_cups" in
12998 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12999 xno) ;;
13000 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13001 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13002 esac
13006 if test "x$with_fontconfig" != "xno"
13007 then
13008 if ${FONTCONFIG_CFLAGS:+false} :; then :
13009 if ${PKG_CONFIG+:} false; then :
13010 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13013 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13014 if ${FONTCONFIG_LIBS:+false} :; then :
13015 if ${PKG_CONFIG+:} false; then :
13016 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13019 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13021 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13022 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13023 ac_save_CPPFLAGS=$CPPFLAGS
13024 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13025 for ac_header in fontconfig/fontconfig.h
13026 do :
13027 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13028 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13029 cat >>confdefs.h <<_ACEOF
13030 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13031 _ACEOF
13035 done
13037 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13038 then
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13040 $as_echo_n "checking for -lfontconfig... " >&6; }
13041 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13042 $as_echo_n "(cached) " >&6
13043 else
13044 ac_check_soname_save_LIBS=$LIBS
13045 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13047 /* end confdefs.h. */
13049 /* Override any GCC internal prototype to avoid an error.
13050 Use char because int might match the return type of a GCC
13051 builtin and then its argument prototype would still apply. */
13052 #ifdef __cplusplus
13053 extern "C"
13054 #endif
13055 char FcInit ();
13057 main ()
13059 return FcInit ();
13061 return 0;
13063 _ACEOF
13064 if ac_fn_c_try_link "$LINENO"; then :
13065 case "$LIBEXT" in
13066 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13067 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'` ;;
13068 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13069 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13070 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13071 fi ;;
13072 esac
13074 rm -f core conftest.err conftest.$ac_objext \
13075 conftest$ac_exeext conftest.$ac_ext
13076 LIBS=$ac_check_soname_save_LIBS
13078 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13080 $as_echo "not found" >&6; }
13081 FONTCONFIG_CFLAGS=""
13082 else
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13084 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13086 cat >>confdefs.h <<_ACEOF
13087 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13088 _ACEOF
13092 else
13093 FONTCONFIG_CFLAGS=""
13095 CPPFLAGS=$ac_save_CPPFLAGS
13096 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13097 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13100 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13101 case "x$with_fontconfig" in
13102 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13103 xno) ;;
13104 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13105 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13106 esac
13110 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13111 then
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13113 $as_echo_n "checking for -lgsm... " >&6; }
13114 if ${ac_cv_lib_soname_gsm+:} false; then :
13115 $as_echo_n "(cached) " >&6
13116 else
13117 ac_check_soname_save_LIBS=$LIBS
13118 LIBS="-lgsm $LIBS"
13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13122 /* Override any GCC internal prototype to avoid an error.
13123 Use char because int might match the return type of a GCC
13124 builtin and then its argument prototype would still apply. */
13125 #ifdef __cplusplus
13126 extern "C"
13127 #endif
13128 char gsm_create ();
13130 main ()
13132 return gsm_create ();
13134 return 0;
13136 _ACEOF
13137 if ac_fn_c_try_link "$LINENO"; then :
13138 case "$LIBEXT" in
13139 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13140 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'` ;;
13141 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13142 if ${ac_cv_lib_soname_gsm:+false} :; then :
13143 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13144 fi ;;
13145 esac
13147 rm -f core conftest.err conftest.$ac_objext \
13148 conftest$ac_exeext conftest.$ac_ext
13149 LIBS=$ac_check_soname_save_LIBS
13151 if ${ac_cv_lib_soname_gsm:+false} :; then :
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13153 $as_echo "not found" >&6; }
13155 else
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13157 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13159 cat >>confdefs.h <<_ACEOF
13160 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13161 _ACEOF
13166 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13167 case "x$with_gsm" in
13168 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13169 xno) ;;
13170 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13171 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13172 esac
13176 if test "x$with_jpeg" != "xno"
13177 then
13178 if ${JPEG_CFLAGS:+false} :; then :
13179 if ${PKG_CONFIG+:} false; then :
13180 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13184 if ${JPEG_LIBS:+false} :; then :
13185 if ${PKG_CONFIG+:} false; then :
13186 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13191 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13192 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13193 ac_save_CPPFLAGS=$CPPFLAGS
13194 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13195 for ac_header in jpeglib.h
13196 do :
13197 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13198 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13199 cat >>confdefs.h <<_ACEOF
13200 #define HAVE_JPEGLIB_H 1
13201 _ACEOF
13205 done
13207 if test "$ac_cv_header_jpeglib_h" = "yes"
13208 then
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13210 $as_echo_n "checking for -ljpeg... " >&6; }
13211 if ${ac_cv_lib_soname_jpeg+:} false; then :
13212 $as_echo_n "(cached) " >&6
13213 else
13214 ac_check_soname_save_LIBS=$LIBS
13215 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13217 /* end confdefs.h. */
13219 /* Override any GCC internal prototype to avoid an error.
13220 Use char because int might match the return type of a GCC
13221 builtin and then its argument prototype would still apply. */
13222 #ifdef __cplusplus
13223 extern "C"
13224 #endif
13225 char jpeg_start_decompress ();
13227 main ()
13229 return jpeg_start_decompress ();
13231 return 0;
13233 _ACEOF
13234 if ac_fn_c_try_link "$LINENO"; then :
13235 case "$LIBEXT" in
13236 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13237 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'` ;;
13238 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13239 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13240 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13241 fi ;;
13242 esac
13244 rm -f core conftest.err conftest.$ac_objext \
13245 conftest$ac_exeext conftest.$ac_ext
13246 LIBS=$ac_check_soname_save_LIBS
13248 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13250 $as_echo "not found" >&6; }
13251 JPEG_CFLAGS=""
13252 else
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13254 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13256 cat >>confdefs.h <<_ACEOF
13257 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13258 _ACEOF
13262 else
13263 JPEG_CFLAGS=""
13265 CPPFLAGS=$ac_save_CPPFLAGS
13266 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13267 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13270 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13271 case "x$with_jpeg" in
13272 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13273 xno) ;;
13274 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13275 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13276 esac
13280 if test "x$with_png" != "xno"
13281 then
13282 if ${PNG_CFLAGS:+false} :; then :
13283 if ${PKG_CONFIG+:} false; then :
13284 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13287 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13288 if ${PNG_LIBS:+false} :; then :
13289 if ${PKG_CONFIG+:} false; then :
13290 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13293 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13295 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13296 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13297 ac_save_CPPFLAGS=$CPPFLAGS
13298 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13299 for ac_header in png.h
13300 do :
13301 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13302 if test "x$ac_cv_header_png_h" = xyes; then :
13303 cat >>confdefs.h <<_ACEOF
13304 #define HAVE_PNG_H 1
13305 _ACEOF
13309 done
13311 if test "$ac_cv_header_png_h" = "yes"
13312 then
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13314 $as_echo_n "checking for -lpng... " >&6; }
13315 if ${ac_cv_lib_soname_png+:} false; then :
13316 $as_echo_n "(cached) " >&6
13317 else
13318 ac_check_soname_save_LIBS=$LIBS
13319 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13321 /* end confdefs.h. */
13323 /* Override any GCC internal prototype to avoid an error.
13324 Use char because int might match the return type of a GCC
13325 builtin and then its argument prototype would still apply. */
13326 #ifdef __cplusplus
13327 extern "C"
13328 #endif
13329 char png_create_read_struct ();
13331 main ()
13333 return png_create_read_struct ();
13335 return 0;
13337 _ACEOF
13338 if ac_fn_c_try_link "$LINENO"; then :
13339 case "$LIBEXT" in
13340 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13341 dylib) ac_cv_lib_soname_png=`$OTOOL -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13342 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13343 if ${ac_cv_lib_soname_png:+false} :; then :
13344 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13345 fi ;;
13346 esac
13348 rm -f core conftest.err conftest.$ac_objext \
13349 conftest$ac_exeext conftest.$ac_ext
13350 LIBS=$ac_check_soname_save_LIBS
13352 if ${ac_cv_lib_soname_png:+false} :; then :
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13354 $as_echo "not found" >&6; }
13355 PNG_CFLAGS=""
13356 else
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13358 $as_echo "$ac_cv_lib_soname_png" >&6; }
13360 cat >>confdefs.h <<_ACEOF
13361 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13362 _ACEOF
13364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13365 /* end confdefs.h. */
13366 #include <png.h>
13368 main ()
13370 typeof(png_set_expand_gray_1_2_4_to_8) *p
13372 return 0;
13374 _ACEOF
13375 if ac_fn_c_try_compile "$LINENO"; then :
13377 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13382 else
13383 PNG_CFLAGS=""
13385 CPPFLAGS=$ac_save_CPPFLAGS
13386 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13387 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13390 if test "x$ac_cv_lib_soname_png" = "x"; then :
13391 case "x$with_png" in
13392 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13393 xno) ;;
13394 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13395 This is an error since --with-png was requested." "$LINENO" 5 ;;
13396 esac
13400 if test "x$with_tiff" != "xno"
13401 then
13402 if ${TIFF_CFLAGS:+false} :; then :
13403 if ${PKG_CONFIG+:} false; then :
13404 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13408 if ${TIFF_LIBS:+false} :; then :
13409 if ${PKG_CONFIG+:} false; then :
13410 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13415 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13416 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13417 ac_save_CPPFLAGS=$CPPFLAGS
13418 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13419 for ac_header in tiffio.h
13420 do :
13421 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13422 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13423 cat >>confdefs.h <<_ACEOF
13424 #define HAVE_TIFFIO_H 1
13425 _ACEOF
13429 done
13431 if test "$ac_cv_header_tiffio_h" = "yes"
13432 then
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13434 $as_echo_n "checking for -ltiff... " >&6; }
13435 if ${ac_cv_lib_soname_tiff+:} false; then :
13436 $as_echo_n "(cached) " >&6
13437 else
13438 ac_check_soname_save_LIBS=$LIBS
13439 LIBS="-ltiff $TIFF_LIBS $LIBS"
13440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13443 /* Override any GCC internal prototype to avoid an error.
13444 Use char because int might match the return type of a GCC
13445 builtin and then its argument prototype would still apply. */
13446 #ifdef __cplusplus
13447 extern "C"
13448 #endif
13449 char TIFFClientOpen ();
13451 main ()
13453 return TIFFClientOpen ();
13455 return 0;
13457 _ACEOF
13458 if ac_fn_c_try_link "$LINENO"; then :
13459 case "$LIBEXT" in
13460 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13461 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'` ;;
13462 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13463 if ${ac_cv_lib_soname_tiff:+false} :; then :
13464 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13465 fi ;;
13466 esac
13468 rm -f core conftest.err conftest.$ac_objext \
13469 conftest$ac_exeext conftest.$ac_ext
13470 LIBS=$ac_check_soname_save_LIBS
13472 if ${ac_cv_lib_soname_tiff:+false} :; then :
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13474 $as_echo "not found" >&6; }
13476 else
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13478 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13480 cat >>confdefs.h <<_ACEOF
13481 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13482 _ACEOF
13487 CPPFLAGS=$ac_save_CPPFLAGS
13488 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13489 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13492 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13493 case "x$with_tiff" in
13494 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13495 xno) ;;
13496 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13497 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13498 esac
13502 if test "x$with_mpg123" != "xno"
13503 then
13504 if ${MPG123_CFLAGS:+false} :; then :
13505 if ${PKG_CONFIG+:} false; then :
13506 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13510 if ${MPG123_LIBS:+false} :; then :
13511 if ${PKG_CONFIG+:} false; then :
13512 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13516 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13517 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13518 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13519 ac_save_CPPFLAGS=$CPPFLAGS
13520 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13521 for ac_header in mpg123.h
13522 do :
13523 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13524 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13525 cat >>confdefs.h <<_ACEOF
13526 #define HAVE_MPG123_H 1
13527 _ACEOF
13531 done
13533 if test "$ac_cv_header_mpg123_h" = "yes"
13534 then
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13536 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13537 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13538 $as_echo_n "(cached) " >&6
13539 else
13540 ac_check_lib_save_LIBS=$LIBS
13541 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13543 /* end confdefs.h. */
13545 /* Override any GCC internal prototype to avoid an error.
13546 Use char because int might match the return type of a GCC
13547 builtin and then its argument prototype would still apply. */
13548 #ifdef __cplusplus
13549 extern "C"
13550 #endif
13551 char mpg123_feed ();
13553 main ()
13555 return mpg123_feed ();
13557 return 0;
13559 _ACEOF
13560 if ac_fn_c_try_link "$LINENO"; then :
13561 ac_cv_lib_mpg123_mpg123_feed=yes
13562 else
13563 ac_cv_lib_mpg123_mpg123_feed=no
13565 rm -f core conftest.err conftest.$ac_objext \
13566 conftest$ac_exeext conftest.$ac_ext
13567 LIBS=$ac_check_lib_save_LIBS
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13570 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13571 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13573 else
13574 MPG123_LIBS=""
13577 else
13578 MPG123_CFLAGS=""
13579 MPG123_LIBS=""
13581 CPPFLAGS=$ac_save_CPPFLAGS
13582 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13583 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13586 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13587 case "x$with_mpg123" in
13588 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13589 xno) ;;
13590 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13591 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13592 esac
13593 enable_winemp3_acm=${enable_winemp3_acm:-no}
13596 if test "$ac_cv_header_AL_al_h" = "yes"
13597 then
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13599 $as_echo_n "checking for -lopenal... " >&6; }
13600 if ${ac_cv_lib_soname_openal+:} false; then :
13601 $as_echo_n "(cached) " >&6
13602 else
13603 ac_check_soname_save_LIBS=$LIBS
13604 LIBS="-lopenal $LIBS"
13605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13606 /* end confdefs.h. */
13608 /* Override any GCC internal prototype to avoid an error.
13609 Use char because int might match the return type of a GCC
13610 builtin and then its argument prototype would still apply. */
13611 #ifdef __cplusplus
13612 extern "C"
13613 #endif
13614 char alGetSource3i ();
13616 main ()
13618 return alGetSource3i ();
13620 return 0;
13622 _ACEOF
13623 if ac_fn_c_try_link "$LINENO"; then :
13624 case "$LIBEXT" in
13625 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13626 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'` ;;
13627 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13628 if ${ac_cv_lib_soname_openal:+false} :; then :
13629 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13630 fi ;;
13631 esac
13633 rm -f core conftest.err conftest.$ac_objext \
13634 conftest$ac_exeext conftest.$ac_ext
13635 LIBS=$ac_check_soname_save_LIBS
13637 if ${ac_cv_lib_soname_openal:+false} :; then :
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13639 $as_echo "not found" >&6; }
13641 else
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13643 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13645 cat >>confdefs.h <<_ACEOF
13646 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13647 _ACEOF
13649 OPENAL_LIBS="-lopenal"
13651 ac_cv_lib_openal=yes
13653 cat >>confdefs.h <<_ACEOF
13654 #define HAVE_OPENAL 1
13655 _ACEOF
13659 if test "x$ac_cv_lib_openal" != xyes; then :
13660 case "x$with_openal" in
13661 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13662 xno) ;;
13663 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13664 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13665 esac
13666 enable_openal32=${enable_openal32:-no}
13669 if test "x$ac_cv_lib_openal" = xyes
13670 then
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13672 $as_echo_n "checking for openal-soft... " >&6; }
13673 if ${ac_cv_have_openalsoft+:} false; then :
13674 $as_echo_n "(cached) " >&6
13675 else
13676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13677 /* end confdefs.h. */
13678 #include <AL/al.h>
13679 #include <AL/alc.h>
13680 #include <AL/alext.h>
13681 LPALCRENDERSAMPLESSOFT x;
13683 main ()
13687 return 0;
13689 _ACEOF
13690 if ac_fn_c_try_compile "$LINENO"; then :
13691 ac_cv_have_openalsoft=yes
13692 else
13693 ac_cv_have_openalsoft=no
13695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13698 $as_echo "$ac_cv_have_openalsoft" >&6; }
13700 if test "x$ac_cv_have_openalsoft" != xyes
13701 then
13702 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13703 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13704 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13705 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13706 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13707 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13708 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13709 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13710 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13711 enable_xapofx1_1=${enable_xapofx1_1:-no}
13712 enable_xapofx1_2=${enable_xapofx1_2:-no}
13713 enable_xapofx1_3=${enable_xapofx1_3:-no}
13714 enable_xapofx1_4=${enable_xapofx1_4:-no}
13715 enable_xapofx1_5=${enable_xapofx1_5:-no}
13716 enable_xaudio2_0=${enable_xaudio2_0:-no}
13717 enable_xaudio2_1=${enable_xaudio2_1:-no}
13718 enable_xaudio2_2=${enable_xaudio2_2:-no}
13719 enable_xaudio2_3=${enable_xaudio2_3:-no}
13720 enable_xaudio2_4=${enable_xaudio2_4:-no}
13721 enable_xaudio2_5=${enable_xaudio2_5:-no}
13722 enable_xaudio2_6=${enable_xaudio2_6:-no}
13723 enable_xaudio2_7=${enable_xaudio2_7:-no}
13724 enable_xaudio2_8=${enable_xaudio2_8:-no}
13725 enable_xaudio2_9=${enable_xaudio2_9:-no}
13728 if test "$ac_cv_header_kstat_h" = "yes"
13729 then
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13731 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13732 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13733 $as_echo_n "(cached) " >&6
13734 else
13735 ac_check_lib_save_LIBS=$LIBS
13736 LIBS="-lkstat $LIBS"
13737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13738 /* end confdefs.h. */
13740 /* Override any GCC internal prototype to avoid an error.
13741 Use char because int might match the return type of a GCC
13742 builtin and then its argument prototype would still apply. */
13743 #ifdef __cplusplus
13744 extern "C"
13745 #endif
13746 char kstat_open ();
13748 main ()
13750 return kstat_open ();
13752 return 0;
13754 _ACEOF
13755 if ac_fn_c_try_link "$LINENO"; then :
13756 ac_cv_lib_kstat_kstat_open=yes
13757 else
13758 ac_cv_lib_kstat_kstat_open=no
13760 rm -f core conftest.err conftest.$ac_objext \
13761 conftest$ac_exeext conftest.$ac_ext
13762 LIBS=$ac_check_lib_save_LIBS
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13765 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13766 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13768 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13770 KSTAT_LIBS="-lkstat"
13776 if test "$ac_cv_header_libprocstat_h" = "yes"
13777 then
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13779 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13780 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13781 $as_echo_n "(cached) " >&6
13782 else
13783 ac_check_lib_save_LIBS=$LIBS
13784 LIBS="-lprocstat $LIBS"
13785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13786 /* end confdefs.h. */
13788 /* Override any GCC internal prototype to avoid an error.
13789 Use char because int might match the return type of a GCC
13790 builtin and then its argument prototype would still apply. */
13791 #ifdef __cplusplus
13792 extern "C"
13793 #endif
13794 char procstat_open_sysctl ();
13796 main ()
13798 return procstat_open_sysctl ();
13800 return 0;
13802 _ACEOF
13803 if ac_fn_c_try_link "$LINENO"; then :
13804 ac_cv_lib_procstat_procstat_open_sysctl=yes
13805 else
13806 ac_cv_lib_procstat_procstat_open_sysctl=no
13808 rm -f core conftest.err conftest.$ac_objext \
13809 conftest$ac_exeext conftest.$ac_ext
13810 LIBS=$ac_check_lib_save_LIBS
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13813 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13814 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13816 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13818 PROCSTAT_LIBS="-lprocstat"
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13825 $as_echo_n "checking for -lodbc... " >&6; }
13826 if ${ac_cv_lib_soname_odbc+:} false; then :
13827 $as_echo_n "(cached) " >&6
13828 else
13829 ac_check_soname_save_LIBS=$LIBS
13830 LIBS="-lodbc $LIBS"
13831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13832 /* end confdefs.h. */
13834 /* Override any GCC internal prototype to avoid an error.
13835 Use char because int might match the return type of a GCC
13836 builtin and then its argument prototype would still apply. */
13837 #ifdef __cplusplus
13838 extern "C"
13839 #endif
13840 char SQLConnect ();
13842 main ()
13844 return SQLConnect ();
13846 return 0;
13848 _ACEOF
13849 if ac_fn_c_try_link "$LINENO"; then :
13850 case "$LIBEXT" in
13851 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13852 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'` ;;
13853 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13854 if ${ac_cv_lib_soname_odbc:+false} :; then :
13855 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13856 fi ;;
13857 esac
13859 rm -f core conftest.err conftest.$ac_objext \
13860 conftest$ac_exeext conftest.$ac_ext
13861 LIBS=$ac_check_soname_save_LIBS
13863 if ${ac_cv_lib_soname_odbc:+false} :; then :
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13865 $as_echo "not found" >&6; }
13866 cat >>confdefs.h <<_ACEOF
13867 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13868 _ACEOF
13870 else
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13872 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13874 cat >>confdefs.h <<_ACEOF
13875 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13876 _ACEOF
13881 if test "x$with_netapi" != "xno"
13882 then
13883 if ${NETAPI_CFLAGS:+false} :; then :
13884 if ${PKG_CONFIG+:} false; then :
13885 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13889 if ${NETAPI_LIBS:+false} :; then :
13890 if ${PKG_CONFIG+:} false; then :
13891 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13896 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13897 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13898 ac_save_CPPFLAGS=$CPPFLAGS
13899 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13901 $as_echo_n "checking for -lnetapi... " >&6; }
13902 if ${ac_cv_lib_soname_netapi+:} false; then :
13903 $as_echo_n "(cached) " >&6
13904 else
13905 ac_check_soname_save_LIBS=$LIBS
13906 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13908 /* end confdefs.h. */
13910 /* Override any GCC internal prototype to avoid an error.
13911 Use char because int might match the return type of a GCC
13912 builtin and then its argument prototype would still apply. */
13913 #ifdef __cplusplus
13914 extern "C"
13915 #endif
13916 char libnetapi_init ();
13918 main ()
13920 return libnetapi_init ();
13922 return 0;
13924 _ACEOF
13925 if ac_fn_c_try_link "$LINENO"; then :
13926 case "$LIBEXT" in
13927 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13928 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'` ;;
13929 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13930 if ${ac_cv_lib_soname_netapi:+false} :; then :
13931 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13932 fi ;;
13933 esac
13935 rm -f core conftest.err conftest.$ac_objext \
13936 conftest$ac_exeext conftest.$ac_ext
13937 LIBS=$ac_check_soname_save_LIBS
13939 if ${ac_cv_lib_soname_netapi:+false} :; then :
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13941 $as_echo "not found" >&6; }
13942 cat >>confdefs.h <<_ACEOF
13943 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13944 _ACEOF
13946 else
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13948 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13950 cat >>confdefs.h <<_ACEOF
13951 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13952 _ACEOF
13956 CPPFLAGS=$ac_save_CPPFLAGS
13957 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13958 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13962 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13963 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13964 then
13965 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13969 EXTRACFLAGS=""
13971 if test "x${GCC}" = "xyes"
13972 then
13973 EXTRACFLAGS="-Wall -pipe"
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13976 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13977 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13978 $as_echo_n "(cached) " >&6
13979 else
13980 if test "$cross_compiling" = yes; then :
13981 ac_cv_c_gcc_strength_bug="no"
13982 else
13983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13984 /* end confdefs.h. */
13985 int L[4] = {0,1,2,3};
13987 main ()
13989 static int Array[3];
13990 unsigned int B = 3;
13991 int i;
13992 for(i=0; i<B; i++) Array[i] = i - 3;
13993 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13994 L[i] = 4;
13995 return (Array[1] != -2 || L[2] != 3)
13997 return 0;
13999 _ACEOF
14000 if ac_fn_c_try_run "$LINENO"; then :
14001 ac_cv_c_gcc_strength_bug="no"
14002 else
14003 ac_cv_c_gcc_strength_bug="yes"
14005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14006 conftest.$ac_objext conftest.beam conftest.$ac_ext
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14011 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14012 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14013 then
14014 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14018 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14019 if ${ac_cv_cflags__fno_builtin+:} false; then :
14020 $as_echo_n "(cached) " >&6
14021 else
14022 ac_wine_try_cflags_saved=$CFLAGS
14023 CFLAGS="$CFLAGS -fno-builtin"
14024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h. */
14026 int main(int argc, char **argv) { return 0; }
14027 _ACEOF
14028 if ac_fn_c_try_link "$LINENO"; then :
14029 ac_cv_cflags__fno_builtin=yes
14030 else
14031 ac_cv_cflags__fno_builtin=no
14033 rm -f core conftest.err conftest.$ac_objext \
14034 conftest$ac_exeext conftest.$ac_ext
14035 CFLAGS=$ac_wine_try_cflags_saved
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14038 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14039 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14040 BUILTINFLAG="-fno-builtin"
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14044 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14045 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14046 $as_echo_n "(cached) " >&6
14047 else
14048 ac_wine_try_cflags_saved=$CFLAGS
14049 CFLAGS="$CFLAGS -fno-strict-aliasing"
14050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14051 /* end confdefs.h. */
14052 int main(int argc, char **argv) { return 0; }
14053 _ACEOF
14054 if ac_fn_c_try_link "$LINENO"; then :
14055 ac_cv_cflags__fno_strict_aliasing=yes
14056 else
14057 ac_cv_cflags__fno_strict_aliasing=no
14059 rm -f core conftest.err conftest.$ac_objext \
14060 conftest$ac_exeext conftest.$ac_ext
14061 CFLAGS=$ac_wine_try_cflags_saved
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14064 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14065 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14066 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14069 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14070 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14071 $as_echo_n "(cached) " >&6
14072 else
14073 ac_wine_try_cflags_saved=$CFLAGS
14074 CFLAGS="$CFLAGS -fexcess-precision=standard"
14075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14077 int main(int argc, char **argv) { return 0; }
14078 _ACEOF
14079 if ac_fn_c_try_link "$LINENO"; then :
14080 ac_cv_cflags__fexcess_precision_standard=yes
14081 else
14082 ac_cv_cflags__fexcess_precision_standard=no
14084 rm -f core conftest.err conftest.$ac_objext \
14085 conftest$ac_exeext conftest.$ac_ext
14086 CFLAGS=$ac_wine_try_cflags_saved
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14089 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14090 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14091 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14094 saved_CFLAGS=$CFLAGS
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14096 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14097 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14098 $as_echo_n "(cached) " >&6
14099 else
14100 ac_wine_try_cflags_saved=$CFLAGS
14101 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14103 /* end confdefs.h. */
14104 int main(int argc, char **argv) { return 0; }
14105 _ACEOF
14106 if ac_fn_c_try_link "$LINENO"; then :
14107 ac_cv_cflags__Werror_unknown_warning_option=yes
14108 else
14109 ac_cv_cflags__Werror_unknown_warning_option=no
14111 rm -f core conftest.err conftest.$ac_objext \
14112 conftest$ac_exeext conftest.$ac_ext
14113 CFLAGS=$ac_wine_try_cflags_saved
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14116 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14117 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14118 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14121 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14122 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14123 $as_echo_n "(cached) " >&6
14124 else
14125 ac_wine_try_cflags_saved=$CFLAGS
14126 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14128 /* end confdefs.h. */
14129 int main(int argc, char **argv) { return 0; }
14130 _ACEOF
14131 if ac_fn_c_try_link "$LINENO"; then :
14132 ac_cv_cflags__Wdeclaration_after_statement=yes
14133 else
14134 ac_cv_cflags__Wdeclaration_after_statement=no
14136 rm -f core conftest.err conftest.$ac_objext \
14137 conftest$ac_exeext conftest.$ac_ext
14138 CFLAGS=$ac_wine_try_cflags_saved
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14141 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14142 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14143 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14146 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14147 if ${ac_cv_cflags__Wempty_body+:} false; then :
14148 $as_echo_n "(cached) " >&6
14149 else
14150 ac_wine_try_cflags_saved=$CFLAGS
14151 CFLAGS="$CFLAGS -Wempty-body"
14152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14154 int main(int argc, char **argv) { return 0; }
14155 _ACEOF
14156 if ac_fn_c_try_link "$LINENO"; then :
14157 ac_cv_cflags__Wempty_body=yes
14158 else
14159 ac_cv_cflags__Wempty_body=no
14161 rm -f core conftest.err conftest.$ac_objext \
14162 conftest$ac_exeext conftest.$ac_ext
14163 CFLAGS=$ac_wine_try_cflags_saved
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14166 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14167 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14168 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14171 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14172 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14173 $as_echo_n "(cached) " >&6
14174 else
14175 ac_wine_try_cflags_saved=$CFLAGS
14176 CFLAGS="$CFLAGS -Wignored-qualifiers"
14177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14178 /* end confdefs.h. */
14179 int main(int argc, char **argv) { return 0; }
14180 _ACEOF
14181 if ac_fn_c_try_link "$LINENO"; then :
14182 ac_cv_cflags__Wignored_qualifiers=yes
14183 else
14184 ac_cv_cflags__Wignored_qualifiers=no
14186 rm -f core conftest.err conftest.$ac_objext \
14187 conftest$ac_exeext conftest.$ac_ext
14188 CFLAGS=$ac_wine_try_cflags_saved
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14191 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14192 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14193 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14196 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14197 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14198 $as_echo_n "(cached) " >&6
14199 else
14200 ac_wine_try_cflags_saved=$CFLAGS
14201 CFLAGS="$CFLAGS -Wshift-overflow=2"
14202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14204 int main(int argc, char **argv) { return 0; }
14205 _ACEOF
14206 if ac_fn_c_try_link "$LINENO"; then :
14207 ac_cv_cflags__Wshift_overflow_2=yes
14208 else
14209 ac_cv_cflags__Wshift_overflow_2=no
14211 rm -f core conftest.err conftest.$ac_objext \
14212 conftest$ac_exeext conftest.$ac_ext
14213 CFLAGS=$ac_wine_try_cflags_saved
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14216 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14217 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14218 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14221 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14222 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14223 $as_echo_n "(cached) " >&6
14224 else
14225 ac_wine_try_cflags_saved=$CFLAGS
14226 CFLAGS="$CFLAGS -Wstrict-prototypes"
14227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14228 /* end confdefs.h. */
14229 int main(int argc, char **argv) { return 0; }
14230 _ACEOF
14231 if ac_fn_c_try_link "$LINENO"; then :
14232 ac_cv_cflags__Wstrict_prototypes=yes
14233 else
14234 ac_cv_cflags__Wstrict_prototypes=no
14236 rm -f core conftest.err conftest.$ac_objext \
14237 conftest$ac_exeext conftest.$ac_ext
14238 CFLAGS=$ac_wine_try_cflags_saved
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14241 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14242 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14243 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14246 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14247 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14248 $as_echo_n "(cached) " >&6
14249 else
14250 ac_wine_try_cflags_saved=$CFLAGS
14251 CFLAGS="$CFLAGS -Wtype-limits"
14252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14254 int main(int argc, char **argv) { return 0; }
14255 _ACEOF
14256 if ac_fn_c_try_link "$LINENO"; then :
14257 ac_cv_cflags__Wtype_limits=yes
14258 else
14259 ac_cv_cflags__Wtype_limits=no
14261 rm -f core conftest.err conftest.$ac_objext \
14262 conftest$ac_exeext conftest.$ac_ext
14263 CFLAGS=$ac_wine_try_cflags_saved
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14266 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14267 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14268 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14271 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14272 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14273 $as_echo_n "(cached) " >&6
14274 else
14275 ac_wine_try_cflags_saved=$CFLAGS
14276 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14278 /* end confdefs.h. */
14279 int main(int argc, char **argv) { return 0; }
14280 _ACEOF
14281 if ac_fn_c_try_link "$LINENO"; then :
14282 ac_cv_cflags__Wunused_but_set_parameter=yes
14283 else
14284 ac_cv_cflags__Wunused_but_set_parameter=no
14286 rm -f core conftest.err conftest.$ac_objext \
14287 conftest$ac_exeext conftest.$ac_ext
14288 CFLAGS=$ac_wine_try_cflags_saved
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14291 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14292 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14293 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14296 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14297 if ${ac_cv_cflags__Wvla+:} false; then :
14298 $as_echo_n "(cached) " >&6
14299 else
14300 ac_wine_try_cflags_saved=$CFLAGS
14301 CFLAGS="$CFLAGS -Wvla"
14302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14303 /* end confdefs.h. */
14304 int main(int argc, char **argv) { return 0; }
14305 _ACEOF
14306 if ac_fn_c_try_link "$LINENO"; then :
14307 ac_cv_cflags__Wvla=yes
14308 else
14309 ac_cv_cflags__Wvla=no
14311 rm -f core conftest.err conftest.$ac_objext \
14312 conftest$ac_exeext conftest.$ac_ext
14313 CFLAGS=$ac_wine_try_cflags_saved
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14316 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14317 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14318 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14321 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14322 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14323 $as_echo_n "(cached) " >&6
14324 else
14325 ac_wine_try_cflags_saved=$CFLAGS
14326 CFLAGS="$CFLAGS -Wwrite-strings"
14327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14328 /* end confdefs.h. */
14329 int main(int argc, char **argv) { return 0; }
14330 _ACEOF
14331 if ac_fn_c_try_link "$LINENO"; then :
14332 ac_cv_cflags__Wwrite_strings=yes
14333 else
14334 ac_cv_cflags__Wwrite_strings=no
14336 rm -f core conftest.err conftest.$ac_objext \
14337 conftest$ac_exeext conftest.$ac_ext
14338 CFLAGS=$ac_wine_try_cflags_saved
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14341 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14342 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14343 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14347 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14348 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14349 $as_echo_n "(cached) " >&6
14350 else
14351 ac_wine_try_cflags_saved=$CFLAGS
14352 CFLAGS="$CFLAGS -Wpointer-arith"
14353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14355 int main(int argc, char **argv) { return 0; }
14356 _ACEOF
14357 if ac_fn_c_try_link "$LINENO"; then :
14358 ac_cv_cflags__Wpointer_arith=yes
14359 else
14360 ac_cv_cflags__Wpointer_arith=no
14362 rm -f core conftest.err conftest.$ac_objext \
14363 conftest$ac_exeext conftest.$ac_ext
14364 CFLAGS=$ac_wine_try_cflags_saved
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14367 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14368 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14369 saved_string_h_CFLAGS=$CFLAGS
14370 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14372 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14373 if ${ac_cv_c_string_h_warnings+:} false; then :
14374 $as_echo_n "(cached) " >&6
14375 else
14376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14377 /* end confdefs.h. */
14378 #include <string.h>
14380 main ()
14384 return 0;
14386 _ACEOF
14387 if ac_fn_c_try_compile "$LINENO"; then :
14388 ac_cv_c_string_h_warnings=no
14389 else
14390 ac_cv_c_string_h_warnings=yes
14392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14395 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14396 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14397 CFLAGS=$saved_string_h_CFLAGS
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14401 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14402 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14403 $as_echo_n "(cached) " >&6
14404 else
14405 ac_wine_try_cflags_saved=$CFLAGS
14406 CFLAGS="$CFLAGS -Wlogical-op"
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 int main(int argc, char **argv) { return 0; }
14410 _ACEOF
14411 if ac_fn_c_try_link "$LINENO"; then :
14412 ac_cv_cflags__Wlogical_op=yes
14413 else
14414 ac_cv_cflags__Wlogical_op=no
14416 rm -f core conftest.err conftest.$ac_objext \
14417 conftest$ac_exeext conftest.$ac_ext
14418 CFLAGS=$ac_wine_try_cflags_saved
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14421 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14422 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14423 saved_string_h_CFLAGS=$CFLAGS
14424 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14426 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14427 if ${ac_cv_c_logicalop_noisy+:} false; then :
14428 $as_echo_n "(cached) " >&6
14429 else
14430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14431 /* end confdefs.h. */
14432 #include <string.h>
14433 char*f(const char *h,char n) {return strchr(h,n);}
14435 main ()
14439 return 0;
14441 _ACEOF
14442 if ac_fn_c_try_compile "$LINENO"; then :
14443 ac_cv_c_logicalop_noisy=no
14444 else
14445 ac_cv_c_logicalop_noisy=yes
14447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14450 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14451 CFLAGS=$saved_string_h_CFLAGS
14452 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14455 CFLAGS=$saved_CFLAGS
14457 for ac_flag in $CFLAGS; do
14458 case $ac_flag in
14459 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14460 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14461 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14462 $as_echo_n "(cached) " >&6
14463 else
14464 ac_wine_try_cflags_saved=$CFLAGS
14465 CFLAGS="$CFLAGS -gdwarf-2"
14466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14467 /* end confdefs.h. */
14468 int main(int argc, char **argv) { return 0; }
14469 _ACEOF
14470 if ac_fn_c_try_link "$LINENO"; then :
14471 ac_cv_cflags__gdwarf_2=yes
14472 else
14473 ac_cv_cflags__gdwarf_2=no
14475 rm -f core conftest.err conftest.$ac_objext \
14476 conftest$ac_exeext conftest.$ac_ext
14477 CFLAGS=$ac_wine_try_cflags_saved
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14480 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14481 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14482 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14485 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14486 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14487 $as_echo_n "(cached) " >&6
14488 else
14489 ac_wine_try_cflags_saved=$CFLAGS
14490 CFLAGS="$CFLAGS -gstrict-dwarf"
14491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14493 int main(int argc, char **argv) { return 0; }
14494 _ACEOF
14495 if ac_fn_c_try_link "$LINENO"; then :
14496 ac_cv_cflags__gstrict_dwarf=yes
14497 else
14498 ac_cv_cflags__gstrict_dwarf=no
14500 rm -f core conftest.err conftest.$ac_objext \
14501 conftest$ac_exeext conftest.$ac_ext
14502 CFLAGS=$ac_wine_try_cflags_saved
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14505 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14506 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14507 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14508 fi ;;
14509 esac
14510 done
14512 case $host_cpu in
14513 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14514 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14515 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14516 $as_echo_n "(cached) " >&6
14517 else
14518 ac_wine_try_cflags_saved=$CFLAGS
14519 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14521 /* end confdefs.h. */
14522 int main(int argc, char **argv) { return 0; }
14523 _ACEOF
14524 if ac_fn_c_try_link "$LINENO"; then :
14525 ac_cv_cflags__fno_omit_frame_pointer=yes
14526 else
14527 ac_cv_cflags__fno_omit_frame_pointer=no
14529 rm -f core conftest.err conftest.$ac_objext \
14530 conftest$ac_exeext conftest.$ac_ext
14531 CFLAGS=$ac_wine_try_cflags_saved
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14534 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14535 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14536 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14537 fi ;;
14538 esac
14540 case $host in
14541 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14542 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14543 if ${ac_cv_cflags__Wno_format+:} false; then :
14544 $as_echo_n "(cached) " >&6
14545 else
14546 ac_wine_try_cflags_saved=$CFLAGS
14547 CFLAGS="$CFLAGS -Wno-format"
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 int main(int argc, char **argv) { return 0; }
14551 _ACEOF
14552 if ac_fn_c_try_link "$LINENO"; then :
14553 ac_cv_cflags__Wno_format=yes
14554 else
14555 ac_cv_cflags__Wno_format=no
14557 rm -f core conftest.err conftest.$ac_objext \
14558 conftest$ac_exeext conftest.$ac_ext
14559 CFLAGS=$ac_wine_try_cflags_saved
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14562 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14563 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14564 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14565 fi ;;
14566 esac
14568 if test "x$enable_maintainer_mode" = "xyes"
14569 then
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14571 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14572 if ${ac_cv_cflags__Werror+:} false; then :
14573 $as_echo_n "(cached) " >&6
14574 else
14575 ac_wine_try_cflags_saved=$CFLAGS
14576 CFLAGS="$CFLAGS -Werror"
14577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14578 /* end confdefs.h. */
14579 int main(int argc, char **argv) { return 0; }
14580 _ACEOF
14581 if ac_fn_c_try_link "$LINENO"; then :
14582 ac_cv_cflags__Werror=yes
14583 else
14584 ac_cv_cflags__Werror=no
14586 rm -f core conftest.err conftest.$ac_objext \
14587 conftest$ac_exeext conftest.$ac_ext
14588 CFLAGS=$ac_wine_try_cflags_saved
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14591 $as_echo "$ac_cv_cflags__Werror" >&6; }
14592 if test "x$ac_cv_cflags__Werror" = xyes; then :
14593 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14597 saved_CFLAGS="$CFLAGS"
14598 CFLAGS="$CFLAGS -Werror"
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14600 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14601 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14602 $as_echo_n "(cached) " >&6
14603 else
14604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14605 /* end confdefs.h. */
14606 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14608 main ()
14612 return 0;
14614 _ACEOF
14615 if ac_fn_c_try_compile "$LINENO"; then :
14616 ac_cv_have_ms_hook_prologue="yes"
14617 else
14618 ac_cv_have_ms_hook_prologue="no"
14620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14623 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14624 CFLAGS="$saved_CFLAGS"
14625 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14626 then
14628 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14630 else
14631 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14638 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14639 if ${ac_cv_c_fortify_enabled+:} false; then :
14640 $as_echo_n "(cached) " >&6
14641 else
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14644 #include <string.h>
14646 main ()
14648 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14649 #error Fortify enabled
14650 #endif
14652 return 0;
14654 _ACEOF
14655 if ac_fn_c_try_compile "$LINENO"; then :
14656 ac_cv_c_fortify_enabled=no
14657 else
14658 ac_cv_c_fortify_enabled=yes
14660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14663 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14664 if test "$ac_cv_c_fortify_enabled" = yes
14665 then
14666 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14671 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14672 if ${ac_cv_c_extern_prefix+:} false; then :
14673 $as_echo_n "(cached) " >&6
14674 else
14675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14676 /* end confdefs.h. */
14677 extern int ac_test;
14679 main ()
14681 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14683 return 0;
14685 _ACEOF
14686 if ac_fn_c_try_link "$LINENO"; then :
14687 ac_cv_c_extern_prefix="yes"
14688 else
14689 ac_cv_c_extern_prefix="no"
14691 rm -f core conftest.err conftest.$ac_objext \
14692 conftest$ac_exeext conftest.$ac_ext
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14695 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14697 case $host_cpu in
14698 *i[3456789]86*)
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14700 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14701 if ${ac_cv_c_stdcall_suffix+:} false; then :
14702 $as_echo_n "(cached) " >&6
14703 else
14704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14705 /* end confdefs.h. */
14706 #ifndef _MSC_VER
14707 #define __stdcall __attribute__((__stdcall__))
14708 #endif
14709 int __stdcall ac_test(int i) { return i; }
14711 main ()
14713 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14715 return 0;
14717 _ACEOF
14718 if ac_fn_c_try_link "$LINENO"; then :
14719 ac_cv_c_stdcall_suffix="yes"
14720 else
14721 ac_cv_c_stdcall_suffix="no"
14723 rm -f core conftest.err conftest.$ac_objext \
14724 conftest$ac_exeext conftest.$ac_ext
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14727 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14728 *) ac_cv_c_stdcall_suffix="no" ;;
14729 esac
14732 if test "$ac_cv_c_extern_prefix" = "yes"
14733 then
14734 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14736 asm_name_prefix="_"
14737 else
14738 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14740 asm_name_prefix=""
14744 if test "$ac_cv_c_stdcall_suffix" = "yes"
14745 then
14746 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14748 else
14749 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14755 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14756 if ${ac_cv_asm_func_def+:} false; then :
14757 $as_echo_n "(cached) " >&6
14758 else
14759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14763 main ()
14765 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14767 return 0;
14769 _ACEOF
14770 if ac_fn_c_try_link "$LINENO"; then :
14771 ac_cv_asm_func_def=".def"
14772 else
14773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h. */
14777 main ()
14779 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14781 return 0;
14783 _ACEOF
14784 if ac_fn_c_try_link "$LINENO"; then :
14785 ac_cv_asm_func_def=".type @function"
14786 else
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14791 main ()
14793 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14795 return 0;
14797 _ACEOF
14798 if ac_fn_c_try_link "$LINENO"; then :
14799 ac_cv_asm_func_def=".type 2"
14800 else
14801 ac_cv_asm_func_def="unknown"
14803 rm -f core conftest.err conftest.$ac_objext \
14804 conftest$ac_exeext conftest.$ac_ext
14806 rm -f core conftest.err conftest.$ac_objext \
14807 conftest$ac_exeext conftest.$ac_ext
14809 rm -f core conftest.err conftest.$ac_objext \
14810 conftest$ac_exeext conftest.$ac_ext
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14813 $as_echo "$ac_cv_asm_func_def" >&6; }
14816 case "$ac_cv_asm_func_def" in
14817 ".def")
14818 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14820 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14821 ".type @function")
14822 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14824 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14825 ".type 2")
14826 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14828 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14830 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14832 asm_func_header="" ;;
14833 esac
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14836 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14837 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14838 $as_echo_n "(cached) " >&6
14839 else
14840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14842 asm(".text\n\t.long 0");
14844 main ()
14848 return 0;
14850 _ACEOF
14851 if ac_fn_c_try_compile "$LINENO"; then :
14852 ac_cv_c_asm_outside_funcs="yes"
14853 else
14854 ac_cv_c_asm_outside_funcs="no"
14856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14859 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14862 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14863 if ${ac_cv_c_dot_previous+:} false; then :
14864 $as_echo_n "(cached) " >&6
14865 else
14866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14867 /* end confdefs.h. */
14870 main ()
14872 asm(".text\nac_test:\t.long 0\n\t.previous");
14874 return 0;
14876 _ACEOF
14877 if ac_fn_c_try_link "$LINENO"; then :
14878 ac_cv_c_dot_previous="yes"
14879 else
14880 ac_cv_c_dot_previous="no"
14882 rm -f core conftest.err conftest.$ac_objext \
14883 conftest$ac_exeext conftest.$ac_ext
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14886 $as_echo "$ac_cv_c_dot_previous" >&6; }
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14889 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14890 if ${ac_cv_c_cfi_support+:} false; then :
14891 $as_echo_n "(cached) " >&6
14892 else
14893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14894 /* end confdefs.h. */
14895 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14897 main ()
14901 return 0;
14903 _ACEOF
14904 if ac_fn_c_try_compile "$LINENO"; then :
14905 ac_cv_c_cfi_support="yes"
14906 else
14907 ac_cv_c_cfi_support="no"
14909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14912 $as_echo "$ac_cv_c_cfi_support" >&6; }
14914 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14915 asm_func_trailer=""
14916 if test "$ac_cv_c_dot_previous" = "yes"
14917 then
14918 asm_func_trailer="\\n\\t.previous"
14920 if test "$ac_cv_c_cfi_support" = "yes"
14921 then
14922 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14923 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14925 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14927 UNWINDFLAGS=-fasynchronous-unwind-tables
14929 else
14930 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14932 if test "x$enable_win64" = "xyes"
14933 then
14934 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14938 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14941 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14942 then
14943 cat >>confdefs.h <<_ACEOF
14944 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14945 _ACEOF
14947 else
14948 cat >>confdefs.h <<_ACEOF
14949 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14950 _ACEOF
14954 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14957 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14961 case $build_os in
14962 cygwin*|mingw32*) TOOLSEXT=".exe"
14964 esac
14966 case $host_os in
14967 linux-android*) ;;
14968 linux*)
14969 case $host_cpu in
14970 *i[3456789]86*|x86_64*)
14971 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
14972 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14974 esac
14976 esac
14979 ac_save_CFLAGS="$CFLAGS"
14980 CFLAGS="$CFLAGS $BUILTINFLAG"
14981 for ac_func in \
14982 __res_get_state \
14983 __res_getservers \
14984 _finite \
14985 _isnan \
14986 _pclose \
14987 _popen \
14988 _snprintf \
14989 _spawnvp \
14990 _strdup \
14991 _stricmp \
14992 _strnicmp \
14993 _strtoi64 \
14994 _strtoui64 \
14995 _vsnprintf \
14996 asctime_r \
14997 chsize \
14998 dlopen \
14999 epoll_create \
15000 ffs \
15001 finitef \
15002 fnmatch \
15003 fork \
15004 fpclass \
15005 fstatfs \
15006 fstatvfs \
15007 ftruncate \
15008 futimens \
15009 futimes \
15010 futimesat \
15011 getattrlist \
15012 getdirentries \
15013 getopt_long_only \
15014 getpwuid \
15015 gettimeofday \
15016 getuid \
15017 if_nameindex \
15018 isnanf \
15019 kqueue \
15020 lstat \
15021 memmove \
15022 mmap \
15023 pclose \
15024 pipe2 \
15025 poll \
15026 popen \
15027 port_create \
15028 prctl \
15029 pread \
15030 proc_pidinfo \
15031 pwrite \
15032 readdir \
15033 readlink \
15034 sched_yield \
15035 select \
15036 setproctitle \
15037 setprogname \
15038 setrlimit \
15039 settimeofday \
15040 sigaltstack \
15041 sigprocmask \
15042 snprintf \
15043 statfs \
15044 statvfs \
15045 strcasecmp \
15046 strdup \
15047 strerror \
15048 strncasecmp \
15049 strtold \
15050 strtoll \
15051 strtoull \
15052 symlink \
15053 tcdrain \
15054 thr_kill2 \
15055 timegm \
15056 usleep \
15057 vsnprintf
15059 do :
15060 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15061 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15062 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15063 cat >>confdefs.h <<_ACEOF
15064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15065 _ACEOF
15068 done
15070 CFLAGS="$ac_save_CFLAGS"
15072 if test "$ac_cv_func_dlopen" = no
15073 then
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15075 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15076 if ${ac_cv_lib_dl_dlopen+:} false; then :
15077 $as_echo_n "(cached) " >&6
15078 else
15079 ac_check_lib_save_LIBS=$LIBS
15080 LIBS="-ldl $LIBS"
15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15084 /* Override any GCC internal prototype to avoid an error.
15085 Use char because int might match the return type of a GCC
15086 builtin and then its argument prototype would still apply. */
15087 #ifdef __cplusplus
15088 extern "C"
15089 #endif
15090 char dlopen ();
15092 main ()
15094 return dlopen ();
15096 return 0;
15098 _ACEOF
15099 if ac_fn_c_try_link "$LINENO"; then :
15100 ac_cv_lib_dl_dlopen=yes
15101 else
15102 ac_cv_lib_dl_dlopen=no
15104 rm -f core conftest.err conftest.$ac_objext \
15105 conftest$ac_exeext conftest.$ac_ext
15106 LIBS=$ac_check_lib_save_LIBS
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15109 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15110 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15111 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15112 DL_LIBS="-ldl"
15117 ac_wine_check_funcs_save_LIBS="$LIBS"
15118 LIBS="$LIBS $DL_LIBS"
15119 for ac_func in dladdr
15120 do :
15121 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15122 if test "x$ac_cv_func_dladdr" = xyes; then :
15123 cat >>confdefs.h <<_ACEOF
15124 #define HAVE_DLADDR 1
15125 _ACEOF
15128 done
15130 LIBS="$ac_wine_check_funcs_save_LIBS"
15132 if test "$ac_cv_func_poll" = no
15133 then
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15135 $as_echo_n "checking for poll in -lpoll... " >&6; }
15136 if ${ac_cv_lib_poll_poll+:} false; then :
15137 $as_echo_n "(cached) " >&6
15138 else
15139 ac_check_lib_save_LIBS=$LIBS
15140 LIBS="-lpoll $LIBS"
15141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15142 /* end confdefs.h. */
15144 /* Override any GCC internal prototype to avoid an error.
15145 Use char because int might match the return type of a GCC
15146 builtin and then its argument prototype would still apply. */
15147 #ifdef __cplusplus
15148 extern "C"
15149 #endif
15150 char poll ();
15152 main ()
15154 return poll ();
15156 return 0;
15158 _ACEOF
15159 if ac_fn_c_try_link "$LINENO"; then :
15160 ac_cv_lib_poll_poll=yes
15161 else
15162 ac_cv_lib_poll_poll=no
15164 rm -f core conftest.err conftest.$ac_objext \
15165 conftest$ac_exeext conftest.$ac_ext
15166 LIBS=$ac_check_lib_save_LIBS
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15169 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15170 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15171 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15172 POLL_LIBS="-lpoll"
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15179 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15180 if ${ac_cv_search_gethostbyname+:} false; then :
15181 $as_echo_n "(cached) " >&6
15182 else
15183 ac_func_search_save_LIBS=$LIBS
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15187 /* Override any GCC internal prototype to avoid an error.
15188 Use char because int might match the return type of a GCC
15189 builtin and then its argument prototype would still apply. */
15190 #ifdef __cplusplus
15191 extern "C"
15192 #endif
15193 char gethostbyname ();
15195 main ()
15197 return gethostbyname ();
15199 return 0;
15201 _ACEOF
15202 for ac_lib in '' nsl; do
15203 if test -z "$ac_lib"; then
15204 ac_res="none required"
15205 else
15206 ac_res=-l$ac_lib
15207 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15209 if ac_fn_c_try_link "$LINENO"; then :
15210 ac_cv_search_gethostbyname=$ac_res
15212 rm -f core conftest.err conftest.$ac_objext \
15213 conftest$ac_exeext
15214 if ${ac_cv_search_gethostbyname+:} false; then :
15215 break
15217 done
15218 if ${ac_cv_search_gethostbyname+:} false; then :
15220 else
15221 ac_cv_search_gethostbyname=no
15223 rm conftest.$ac_ext
15224 LIBS=$ac_func_search_save_LIBS
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15227 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15228 ac_res=$ac_cv_search_gethostbyname
15229 if test "$ac_res" != no; then :
15230 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15236 $as_echo_n "checking for library containing connect... " >&6; }
15237 if ${ac_cv_search_connect+:} false; then :
15238 $as_echo_n "(cached) " >&6
15239 else
15240 ac_func_search_save_LIBS=$LIBS
15241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15242 /* end confdefs.h. */
15244 /* Override any GCC internal prototype to avoid an error.
15245 Use char because int might match the return type of a GCC
15246 builtin and then its argument prototype would still apply. */
15247 #ifdef __cplusplus
15248 extern "C"
15249 #endif
15250 char connect ();
15252 main ()
15254 return connect ();
15256 return 0;
15258 _ACEOF
15259 for ac_lib in '' socket; do
15260 if test -z "$ac_lib"; then
15261 ac_res="none required"
15262 else
15263 ac_res=-l$ac_lib
15264 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15266 if ac_fn_c_try_link "$LINENO"; then :
15267 ac_cv_search_connect=$ac_res
15269 rm -f core conftest.err conftest.$ac_objext \
15270 conftest$ac_exeext
15271 if ${ac_cv_search_connect+:} false; then :
15272 break
15274 done
15275 if ${ac_cv_search_connect+:} false; then :
15277 else
15278 ac_cv_search_connect=no
15280 rm conftest.$ac_ext
15281 LIBS=$ac_func_search_save_LIBS
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15284 $as_echo "$ac_cv_search_connect" >&6; }
15285 ac_res=$ac_cv_search_connect
15286 if test "$ac_res" != no; then :
15287 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15293 $as_echo_n "checking for library containing inet_aton... " >&6; }
15294 if ${ac_cv_search_inet_aton+:} false; then :
15295 $as_echo_n "(cached) " >&6
15296 else
15297 ac_func_search_save_LIBS=$LIBS
15298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15301 /* Override any GCC internal prototype to avoid an error.
15302 Use char because int might match the return type of a GCC
15303 builtin and then its argument prototype would still apply. */
15304 #ifdef __cplusplus
15305 extern "C"
15306 #endif
15307 char inet_aton ();
15309 main ()
15311 return inet_aton ();
15313 return 0;
15315 _ACEOF
15316 for ac_lib in '' resolv; do
15317 if test -z "$ac_lib"; then
15318 ac_res="none required"
15319 else
15320 ac_res=-l$ac_lib
15321 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15323 if ac_fn_c_try_link "$LINENO"; then :
15324 ac_cv_search_inet_aton=$ac_res
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext
15328 if ${ac_cv_search_inet_aton+:} false; then :
15329 break
15331 done
15332 if ${ac_cv_search_inet_aton+:} false; then :
15334 else
15335 ac_cv_search_inet_aton=no
15337 rm conftest.$ac_ext
15338 LIBS=$ac_func_search_save_LIBS
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15341 $as_echo "$ac_cv_search_inet_aton" >&6; }
15342 ac_res=$ac_cv_search_inet_aton
15343 if test "$ac_res" != no; then :
15344 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15349 for ac_func in \
15350 getaddrinfo \
15351 getnameinfo \
15352 getnetbyname \
15353 getprotobyname \
15354 getprotobynumber \
15355 getservbyport \
15356 inet_addr \
15357 inet_network \
15358 inet_ntop \
15359 inet_pton \
15360 sendmsg \
15361 socketpair \
15363 do :
15364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15366 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15367 cat >>confdefs.h <<_ACEOF
15368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15369 _ACEOF
15372 done
15375 ac_save_LIBS=$LIBS
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15377 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15378 if ${ac_cv_search_clock_gettime+:} false; then :
15379 $as_echo_n "(cached) " >&6
15380 else
15381 ac_func_search_save_LIBS=$LIBS
15382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15383 /* end confdefs.h. */
15385 /* Override any GCC internal prototype to avoid an error.
15386 Use char because int might match the return type of a GCC
15387 builtin and then its argument prototype would still apply. */
15388 #ifdef __cplusplus
15389 extern "C"
15390 #endif
15391 char clock_gettime ();
15393 main ()
15395 return clock_gettime ();
15397 return 0;
15399 _ACEOF
15400 for ac_lib in '' rt; do
15401 if test -z "$ac_lib"; then
15402 ac_res="none required"
15403 else
15404 ac_res=-l$ac_lib
15405 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15407 if ac_fn_c_try_link "$LINENO"; then :
15408 ac_cv_search_clock_gettime=$ac_res
15410 rm -f core conftest.err conftest.$ac_objext \
15411 conftest$ac_exeext
15412 if ${ac_cv_search_clock_gettime+:} false; then :
15413 break
15415 done
15416 if ${ac_cv_search_clock_gettime+:} false; then :
15418 else
15419 ac_cv_search_clock_gettime=no
15421 rm conftest.$ac_ext
15422 LIBS=$ac_func_search_save_LIBS
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15425 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15426 ac_res=$ac_cv_search_clock_gettime
15427 if test "$ac_res" != no; then :
15428 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15430 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15432 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15436 LIBS=$ac_save_LIBS
15438 LDAP_LIBS=""
15440 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15441 then
15442 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15444 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15446 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15447 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15448 $as_echo_n "(cached) " >&6
15449 else
15450 ac_check_lib_save_LIBS=$LIBS
15451 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15453 /* end confdefs.h. */
15455 /* Override any GCC internal prototype to avoid an error.
15456 Use char because int might match the return type of a GCC
15457 builtin and then its argument prototype would still apply. */
15458 #ifdef __cplusplus
15459 extern "C"
15460 #endif
15461 char ldap_initialize ();
15463 main ()
15465 return ldap_initialize ();
15467 return 0;
15469 _ACEOF
15470 if ac_fn_c_try_link "$LINENO"; then :
15471 ac_cv_lib_ldap_r_ldap_initialize=yes
15472 else
15473 ac_cv_lib_ldap_r_ldap_initialize=no
15475 rm -f core conftest.err conftest.$ac_objext \
15476 conftest$ac_exeext conftest.$ac_ext
15477 LIBS=$ac_check_lib_save_LIBS
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15480 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15481 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15483 $as_echo_n "checking for ber_init in -llber... " >&6; }
15484 if ${ac_cv_lib_lber_ber_init+:} false; then :
15485 $as_echo_n "(cached) " >&6
15486 else
15487 ac_check_lib_save_LIBS=$LIBS
15488 LIBS="-llber $PTHREAD_LIBS $LIBS"
15489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15490 /* end confdefs.h. */
15492 /* Override any GCC internal prototype to avoid an error.
15493 Use char because int might match the return type of a GCC
15494 builtin and then its argument prototype would still apply. */
15495 #ifdef __cplusplus
15496 extern "C"
15497 #endif
15498 char ber_init ();
15500 main ()
15502 return ber_init ();
15504 return 0;
15506 _ACEOF
15507 if ac_fn_c_try_link "$LINENO"; then :
15508 ac_cv_lib_lber_ber_init=yes
15509 else
15510 ac_cv_lib_lber_ber_init=no
15512 rm -f core conftest.err conftest.$ac_objext \
15513 conftest$ac_exeext conftest.$ac_ext
15514 LIBS=$ac_check_lib_save_LIBS
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15517 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15518 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15520 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15522 LDAP_LIBS="-lldap_r -llber"
15529 ac_wine_check_funcs_save_LIBS="$LIBS"
15530 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15531 for ac_func in \
15532 ldap_count_references \
15533 ldap_first_reference \
15534 ldap_next_reference \
15535 ldap_parse_reference \
15536 ldap_parse_sort_control \
15537 ldap_parse_sortresponse_control \
15538 ldap_parse_vlv_control \
15539 ldap_parse_vlvresponse_control
15540 do :
15541 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15542 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15543 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15544 cat >>confdefs.h <<_ACEOF
15545 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15546 _ACEOF
15549 done
15551 LIBS="$ac_wine_check_funcs_save_LIBS"
15553 if test "x$LDAP_LIBS" = "x"; then :
15554 case "x$with_ldap" in
15555 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15556 xno) ;;
15557 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15558 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15559 esac
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15564 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15565 if ${wine_cv_one_arg_mkdir+:} false; then :
15566 $as_echo_n "(cached) " >&6
15567 else
15568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15569 /* end confdefs.h. */
15570 #include <sys/stat.h>
15572 main ()
15574 mkdir("foo");
15576 return 0;
15578 _ACEOF
15579 if ac_fn_c_try_compile "$LINENO"; then :
15580 wine_cv_one_arg_mkdir=yes
15581 else
15582 wine_cv_one_arg_mkdir=no
15584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15587 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15588 if test "$wine_cv_one_arg_mkdir" = "yes"
15589 then
15591 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15596 $as_echo_n "checking for sched_setaffinity... " >&6; }
15597 if ${wine_cv_have_sched_setaffinity+:} false; then :
15598 $as_echo_n "(cached) " >&6
15599 else
15600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15601 /* end confdefs.h. */
15602 #define _GNU_SOURCE
15603 #include <sched.h>
15605 main ()
15607 sched_setaffinity(0, 0, 0);
15609 return 0;
15611 _ACEOF
15612 if ac_fn_c_try_link "$LINENO"; then :
15613 wine_cv_have_sched_setaffinity=yes
15614 else
15615 wine_cv_have_sched_setaffinity=no
15617 rm -f core conftest.err conftest.$ac_objext \
15618 conftest$ac_exeext conftest.$ac_ext
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15621 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15622 if test "$wine_cv_have_sched_setaffinity" = "yes"
15623 then
15625 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15630 $as_echo_n "checking for fallocate... " >&6; }
15631 if ${wine_cv_have_fallocate+:} false; then :
15632 $as_echo_n "(cached) " >&6
15633 else
15634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15635 /* end confdefs.h. */
15636 #define _GNU_SOURCE
15637 #include <fcntl.h>
15639 main ()
15641 fallocate(-1, 0, 0, 0);
15643 return 0;
15645 _ACEOF
15646 if ac_fn_c_try_link "$LINENO"; then :
15647 wine_cv_have_fallocate=yes
15648 else
15649 wine_cv_have_fallocate=no
15651 rm -f core conftest.err conftest.$ac_objext \
15652 conftest$ac_exeext conftest.$ac_ext
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15655 $as_echo "$wine_cv_have_fallocate" >&6; }
15656 if test "$wine_cv_have_fallocate" = "yes"
15657 then
15659 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15665 $as_echo_n "checking for inline... " >&6; }
15666 if ${ac_cv_c_inline+:} false; then :
15667 $as_echo_n "(cached) " >&6
15668 else
15669 ac_cv_c_inline=no
15670 for ac_kw in inline __inline__ __inline; do
15671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15672 /* end confdefs.h. */
15673 #ifndef __cplusplus
15674 typedef int foo_t;
15675 static $ac_kw foo_t static_foo () {return 0; }
15676 $ac_kw foo_t foo () {return 0; }
15677 #endif
15679 _ACEOF
15680 if ac_fn_c_try_compile "$LINENO"; then :
15681 ac_cv_c_inline=$ac_kw
15683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15684 test "$ac_cv_c_inline" != no && break
15685 done
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15689 $as_echo "$ac_cv_c_inline" >&6; }
15691 case $ac_cv_c_inline in
15692 inline | yes) ;;
15694 case $ac_cv_c_inline in
15695 no) ac_val=;;
15696 *) ac_val=$ac_cv_c_inline;;
15697 esac
15698 cat >>confdefs.h <<_ACEOF
15699 #ifndef __cplusplus
15700 #define inline $ac_val
15701 #endif
15702 _ACEOF
15704 esac
15706 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15707 if test "x$ac_cv_type_mode_t" = xyes; then :
15709 cat >>confdefs.h <<_ACEOF
15710 #define HAVE_MODE_T 1
15711 _ACEOF
15715 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15716 if test "x$ac_cv_type_off_t" = xyes; then :
15718 cat >>confdefs.h <<_ACEOF
15719 #define HAVE_OFF_T 1
15720 _ACEOF
15724 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15725 if test "x$ac_cv_type_pid_t" = xyes; then :
15727 cat >>confdefs.h <<_ACEOF
15728 #define HAVE_PID_T 1
15729 _ACEOF
15733 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15734 if test "x$ac_cv_type_size_t" = xyes; then :
15736 cat >>confdefs.h <<_ACEOF
15737 #define HAVE_SIZE_T 1
15738 _ACEOF
15742 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15743 if test "x$ac_cv_type_ssize_t" = xyes; then :
15745 cat >>confdefs.h <<_ACEOF
15746 #define HAVE_SSIZE_T 1
15747 _ACEOF
15751 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15752 if test "x$ac_cv_type_long_long" = xyes; then :
15754 cat >>confdefs.h <<_ACEOF
15755 #define HAVE_LONG_LONG 1
15756 _ACEOF
15760 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15761 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15763 cat >>confdefs.h <<_ACEOF
15764 #define HAVE_FSBLKCNT_T 1
15765 _ACEOF
15769 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15770 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15772 cat >>confdefs.h <<_ACEOF
15773 #define HAVE_FSFILCNT_T 1
15774 _ACEOF
15779 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15780 #include <signal.h>
15782 if test "x$ac_cv_type_sigset_t" = xyes; then :
15784 cat >>confdefs.h <<_ACEOF
15785 #define HAVE_SIGSET_T 1
15786 _ACEOF
15791 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15793 if test "x$ac_cv_type_request_sense" = xyes; then :
15795 cat >>confdefs.h <<_ACEOF
15796 #define HAVE_REQUEST_SENSE 1
15797 _ACEOF
15803 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15804 #ifdef HAVE_SYS_SOCKET_H
15805 #include <sys/socket.h>
15806 #endif
15807 #ifdef HAVE_SYS_SOCKETVAR_H
15808 #include <sys/socketvar.h>
15809 #endif
15810 #ifdef HAVE_NET_ROUTE_H
15811 #include <net/route.h>
15812 #endif
15813 #ifdef HAVE_NETINET_IN_H
15814 #include <netinet/in.h>
15815 #endif
15816 #ifdef HAVE_NETINET_IN_SYSTM_H
15817 #include <netinet/in_systm.h>
15818 #endif
15819 #ifdef HAVE_NETINET_IP_H
15820 #include <netinet/ip.h>
15821 #endif
15822 #ifdef HAVE_NETINET_IN_PCB_H
15823 #include <netinet/in_pcb.h>
15824 #endif
15826 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15828 cat >>confdefs.h <<_ACEOF
15829 #define HAVE_STRUCT_XINPGEN 1
15830 _ACEOF
15836 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15837 #include <link.h>
15838 #endif
15839 #ifdef HAVE_SYS_LINK_H
15840 #include <sys/link.h>
15841 #endif
15843 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15845 cat >>confdefs.h <<_ACEOF
15846 #define HAVE_STRUCT_R_DEBUG 1
15847 _ACEOF
15851 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15852 #include <link.h>
15853 #endif
15854 #ifdef HAVE_SYS_LINK_H
15855 #include <sys/link.h>
15856 #endif
15858 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15860 cat >>confdefs.h <<_ACEOF
15861 #define HAVE_STRUCT_LINK_MAP 1
15862 _ACEOF
15868 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15869 #include <linux/input.h>
15870 #endif
15872 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15874 cat >>confdefs.h <<_ACEOF
15875 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15876 _ACEOF
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15883 $as_echo_n "checking for sigaddset... " >&6; }
15884 if ${wine_cv_have_sigaddset+:} false; then :
15885 $as_echo_n "(cached) " >&6
15886 else
15887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15889 #include <signal.h>
15891 main ()
15893 sigset_t set; sigaddset(&set,SIGTERM);
15895 return 0;
15897 _ACEOF
15898 if ac_fn_c_try_link "$LINENO"; then :
15899 wine_cv_have_sigaddset=yes
15900 else
15901 wine_cv_have_sigaddset=no
15903 rm -f core conftest.err conftest.$ac_objext \
15904 conftest$ac_exeext conftest.$ac_ext
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15907 $as_echo "$wine_cv_have_sigaddset" >&6; }
15908 if test "$wine_cv_have_sigaddset" = "yes"
15909 then
15911 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15917 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15918 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15919 $as_echo_n "(cached) " >&6
15920 else
15921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15922 /* end confdefs.h. */
15923 #include <netdb.h>
15925 main ()
15928 char *name=0;
15929 struct hostent he;
15930 struct hostent *result;
15931 char *buf=0;
15932 int bufsize=0;
15933 int errnr;
15934 char *addr=0;
15935 int addrlen=0;
15936 int addrtype=0;
15937 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15938 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15941 return 0;
15943 _ACEOF
15944 if ac_fn_c_try_link "$LINENO"; then :
15945 wine_cv_linux_gethostbyname_r_6=yes
15946 else
15947 wine_cv_linux_gethostbyname_r_6=no
15950 rm -f core conftest.err conftest.$ac_objext \
15951 conftest$ac_exeext conftest.$ac_ext
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15955 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15956 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15957 then
15959 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15963 if test "$ac_cv_header_linux_joystick_h" = "yes"
15964 then
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15966 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15967 if ${wine_cv_linux_joystick_22_api+:} false; then :
15968 $as_echo_n "(cached) " >&6
15969 else
15970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15971 /* end confdefs.h. */
15973 #include <sys/ioctl.h>
15974 #include <sys/types.h>
15975 #include <linux/joystick.h>
15977 struct js_event blub;
15978 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15979 #error "no 2.2 header"
15980 #endif
15983 main ()
15985 /*empty*/
15987 return 0;
15989 _ACEOF
15990 if ac_fn_c_try_compile "$LINENO"; then :
15991 wine_cv_linux_joystick_22_api=yes
15992 else
15993 wine_cv_linux_joystick_22_api=no
15995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15999 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16000 if test "$wine_cv_linux_joystick_22_api" = "yes"
16001 then
16003 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16009 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16010 #ifdef HAVE_SYS_PARAM_H
16011 # include <sys/param.h>
16012 #endif
16013 #ifdef HAVE_SYS_MOUNT_H
16014 # include <sys/mount.h>
16015 #endif
16016 #ifdef HAVE_SYS_VFS_H
16017 # include <sys/vfs.h>
16018 #endif
16019 #ifdef HAVE_SYS_STATFS_H
16020 # include <sys/statfs.h>
16021 #endif
16023 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16025 cat >>confdefs.h <<_ACEOF
16026 #define HAVE_STRUCT_STATFS_F_BFREE 1
16027 _ACEOF
16031 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16032 #ifdef HAVE_SYS_PARAM_H
16033 # include <sys/param.h>
16034 #endif
16035 #ifdef HAVE_SYS_MOUNT_H
16036 # include <sys/mount.h>
16037 #endif
16038 #ifdef HAVE_SYS_VFS_H
16039 # include <sys/vfs.h>
16040 #endif
16041 #ifdef HAVE_SYS_STATFS_H
16042 # include <sys/statfs.h>
16043 #endif
16045 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16047 cat >>confdefs.h <<_ACEOF
16048 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16049 _ACEOF
16053 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16054 #ifdef HAVE_SYS_PARAM_H
16055 # include <sys/param.h>
16056 #endif
16057 #ifdef HAVE_SYS_MOUNT_H
16058 # include <sys/mount.h>
16059 #endif
16060 #ifdef HAVE_SYS_VFS_H
16061 # include <sys/vfs.h>
16062 #endif
16063 #ifdef HAVE_SYS_STATFS_H
16064 # include <sys/statfs.h>
16065 #endif
16067 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16069 cat >>confdefs.h <<_ACEOF
16070 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16071 _ACEOF
16075 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16076 #ifdef HAVE_SYS_PARAM_H
16077 # include <sys/param.h>
16078 #endif
16079 #ifdef HAVE_SYS_MOUNT_H
16080 # include <sys/mount.h>
16081 #endif
16082 #ifdef HAVE_SYS_VFS_H
16083 # include <sys/vfs.h>
16084 #endif
16085 #ifdef HAVE_SYS_STATFS_H
16086 # include <sys/statfs.h>
16087 #endif
16089 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16091 cat >>confdefs.h <<_ACEOF
16092 #define HAVE_STRUCT_STATFS_F_FFREE 1
16093 _ACEOF
16097 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16098 #ifdef HAVE_SYS_PARAM_H
16099 # include <sys/param.h>
16100 #endif
16101 #ifdef HAVE_SYS_MOUNT_H
16102 # include <sys/mount.h>
16103 #endif
16104 #ifdef HAVE_SYS_VFS_H
16105 # include <sys/vfs.h>
16106 #endif
16107 #ifdef HAVE_SYS_STATFS_H
16108 # include <sys/statfs.h>
16109 #endif
16111 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16113 cat >>confdefs.h <<_ACEOF
16114 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16115 _ACEOF
16119 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16120 #ifdef HAVE_SYS_PARAM_H
16121 # include <sys/param.h>
16122 #endif
16123 #ifdef HAVE_SYS_MOUNT_H
16124 # include <sys/mount.h>
16125 #endif
16126 #ifdef HAVE_SYS_VFS_H
16127 # include <sys/vfs.h>
16128 #endif
16129 #ifdef HAVE_SYS_STATFS_H
16130 # include <sys/statfs.h>
16131 #endif
16133 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16135 cat >>confdefs.h <<_ACEOF
16136 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16137 _ACEOF
16143 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16144 #include <sys/statvfs.h>
16145 #endif
16147 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16149 cat >>confdefs.h <<_ACEOF
16150 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16151 _ACEOF
16157 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16158 #include <dirent.h>
16159 #endif
16161 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16163 cat >>confdefs.h <<_ACEOF
16164 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16165 _ACEOF
16171 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16172 #ifdef HAVE_SYS_SOCKET_H
16173 # include <sys/socket.h>
16174 #endif
16175 #ifdef HAVE_SYS_UN_H
16176 # include <sys/un.h>
16177 #endif
16179 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16181 cat >>confdefs.h <<_ACEOF
16182 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16183 _ACEOF
16187 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16188 #ifdef HAVE_SYS_SOCKET_H
16189 # include <sys/socket.h>
16190 #endif
16191 #ifdef HAVE_SYS_UN_H
16192 # include <sys/un.h>
16193 #endif
16195 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16197 cat >>confdefs.h <<_ACEOF
16198 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16199 _ACEOF
16203 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16204 #ifdef HAVE_SYS_SOCKET_H
16205 # include <sys/socket.h>
16206 #endif
16207 #ifdef HAVE_SYS_UN_H
16208 # include <sys/un.h>
16209 #endif
16211 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16213 cat >>confdefs.h <<_ACEOF
16214 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16215 _ACEOF
16221 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16222 #ifdef HAVE_SCSI_SG_H
16223 #include <scsi/sg.h>
16224 #endif
16226 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16228 cat >>confdefs.h <<_ACEOF
16229 #define HAVE_SCSIREQ_T_CMD 1
16230 _ACEOF
16234 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>
16235 #ifdef HAVE_SCSI_SG_H
16236 #include <scsi/sg.h>
16237 #endif
16239 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16241 cat >>confdefs.h <<_ACEOF
16242 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16243 _ACEOF
16249 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16251 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16253 cat >>confdefs.h <<_ACEOF
16254 #define HAVE_SIGINFO_T_SI_FD 1
16255 _ACEOF
16261 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16262 #ifdef HAVE_SYS_MTIO_H
16263 #include <sys/mtio.h>
16264 #endif
16266 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16268 cat >>confdefs.h <<_ACEOF
16269 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16270 _ACEOF
16274 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16275 #ifdef HAVE_SYS_MTIO_H
16276 #include <sys/mtio.h>
16277 #endif
16279 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16281 cat >>confdefs.h <<_ACEOF
16282 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16283 _ACEOF
16287 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16288 #ifdef HAVE_SYS_MTIO_H
16289 #include <sys/mtio.h>
16290 #endif
16292 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16294 cat >>confdefs.h <<_ACEOF
16295 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16296 _ACEOF
16302 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16303 #include <getopt.h>
16304 #endif
16306 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16308 cat >>confdefs.h <<_ACEOF
16309 #define HAVE_STRUCT_OPTION_NAME 1
16310 _ACEOF
16316 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16317 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16321 _ACEOF
16325 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16326 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16328 cat >>confdefs.h <<_ACEOF
16329 #define HAVE_STRUCT_STAT_ST_MTIM 1
16330 _ACEOF
16334 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16335 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16337 cat >>confdefs.h <<_ACEOF
16338 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16339 _ACEOF
16343 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16344 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16346 cat >>confdefs.h <<_ACEOF
16347 #define HAVE_STRUCT_STAT_ST_CTIM 1
16348 _ACEOF
16352 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16353 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16355 cat >>confdefs.h <<_ACEOF
16356 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16357 _ACEOF
16361 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16362 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16364 cat >>confdefs.h <<_ACEOF
16365 #define HAVE_STRUCT_STAT_ST_ATIM 1
16366 _ACEOF
16370 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16371 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16373 cat >>confdefs.h <<_ACEOF
16374 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16375 _ACEOF
16379 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16380 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16382 cat >>confdefs.h <<_ACEOF
16383 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16384 _ACEOF
16388 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16389 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16391 cat >>confdefs.h <<_ACEOF
16392 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16393 _ACEOF
16397 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16398 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16400 cat >>confdefs.h <<_ACEOF
16401 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16402 _ACEOF
16406 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16407 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16409 cat >>confdefs.h <<_ACEOF
16410 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16411 _ACEOF
16415 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16416 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16420 _ACEOF
16426 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
16427 #include <sys/types.h>
16428 #endif
16429 #ifdef HAVE_NETINET_IN_H
16430 #include <netinet/in.h>
16431 #endif
16433 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16435 cat >>confdefs.h <<_ACEOF
16436 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16437 _ACEOF
16443 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16444 #include <resolv.h>
16445 #endif
16447 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16449 cat >>confdefs.h <<_ACEOF
16450 #define HAVE_STRUCT___RES_STATE 1
16451 _ACEOF
16457 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
16458 #include <resolv.h>
16459 #endif
16461 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16463 cat >>confdefs.h <<_ACEOF
16464 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16465 _ACEOF
16471 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16472 #include <sys/types.h>
16473 #endif
16474 #ifdef HAVE_NETINET_IN_H
16475 # include <netinet/in.h>
16476 #endif
16477 #ifdef HAVE_ARPA_NAMESER_H
16478 # include <arpa/nameser.h>
16479 #endif
16481 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16483 cat >>confdefs.h <<_ACEOF
16484 #define HAVE_NS_MSG__MSG_PTR 1
16485 _ACEOF
16491 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16492 #include <sys/types.h>
16493 #endif
16494 #ifdef HAVE_NETINET_IP_H
16495 #include <netinet/ip.h>
16496 #endif
16497 #ifdef HAVE_NETINET_IP_ICMP_H
16498 #include <netinet/ip_icmp.h>
16499 #endif
16500 #ifdef HAVE_NETINET_ICMP_VAR_H
16501 #include <netinet/icmp_var.h>
16502 #endif
16504 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16506 cat >>confdefs.h <<_ACEOF
16507 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16508 _ACEOF
16514 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16515 #include <sys/types.h>
16516 #endif
16517 #ifdef HAVE_ALIAS_H
16518 #include <alias.h>
16519 #endif
16520 #ifdef HAVE_SYS_SOCKET_H
16521 #include <sys/socket.h>
16522 #endif
16523 #ifdef HAVE_SYS_SOCKETVAR_H
16524 #include <sys/socketvar.h>
16525 #endif
16526 #ifdef HAVE_SYS_TIMEOUT_H
16527 #include <sys/timeout.h>
16528 #endif
16529 #ifdef HAVE_NETINET_IN_H
16530 #include <netinet/in.h>
16531 #endif
16532 #ifdef HAVE_NETINET_IN_SYSTM_H
16533 #include <netinet/in_systm.h>
16534 #endif
16535 #ifdef HAVE_NETINET_IP_H
16536 #include <netinet/ip.h>
16537 #endif
16538 #ifdef HAVE_NETINET_IP_VAR_H
16539 #include <netinet/ip_var.h>
16540 #endif
16541 #ifdef HAVE_NETINET_IP_ICMP_H
16542 #include <netinet/ip_icmp.h>
16543 #endif
16544 #ifdef HAVE_NETINET_ICMP_VAR_H
16545 #include <netinet/icmp_var.h>
16546 #endif
16548 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16550 cat >>confdefs.h <<_ACEOF
16551 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16552 _ACEOF
16558 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16559 #include <sys/types.h>
16560 #endif
16561 #ifdef HAVE_SYS_SOCKETVAR_H
16562 #include <sys/socketvar.h>
16563 #endif
16564 #ifdef HAVE_NETINET_IN_H
16565 #include <netinet/in.h>
16566 #endif
16567 #ifdef HAVE_NETINET_IP_VAR_H
16568 #include <netinet/ip_var.h>
16569 #endif
16571 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16573 cat >>confdefs.h <<_ACEOF
16574 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16575 _ACEOF
16581 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
16582 #include <netinet/ip_var.h>
16583 #endif
16585 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16587 cat >>confdefs.h <<_ACEOF
16588 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16589 _ACEOF
16595 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16596 #include <sys/types.h>
16597 #endif
16598 #ifdef HAVE_SYS_SOCKETVAR_H
16599 #include <sys/socketvar.h>
16600 #endif
16601 #ifdef HAVE_NETINET_IN_H
16602 #include <netinet/in.h>
16603 #endif
16604 #ifdef HAVE_NETINET_TCP_H
16605 #include <netinet/tcp.h>
16606 #endif
16607 #ifdef HAVE_NETINET_TCP_VAR_H
16608 #include <netinet/tcp_var.h>
16609 #endif
16611 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16613 cat >>confdefs.h <<_ACEOF
16614 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16615 _ACEOF
16621 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
16622 #include <netinet/tcp_var.h>
16623 #endif
16625 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16627 cat >>confdefs.h <<_ACEOF
16628 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16629 _ACEOF
16635 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16636 #include <sys/types.h>
16637 #endif
16638 #ifdef HAVE_NETINET_IN_H
16639 #include <netinet/in.h>
16640 #endif
16641 #ifdef HAVE_NETINET_IP_VAR_H
16642 #include <netinet/ip_var.h>
16643 #endif
16644 #ifdef HAVE_NETINET_UDP_H
16645 #include <netinet/udp.h>
16646 #endif
16647 #ifdef HAVE_NETINET_UDP_VAR_H
16648 #include <netinet/udp_var.h>
16649 #endif
16651 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16653 cat >>confdefs.h <<_ACEOF
16654 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16655 _ACEOF
16661 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16662 #include <sys/types.h>
16663 #endif
16664 #ifdef HAVE_NET_IF_H
16665 # include <net/if.h>
16666 #endif
16668 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16670 cat >>confdefs.h <<_ACEOF
16671 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16672 _ACEOF
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16679 $as_echo_n "checking for timezone variable... " >&6; }
16680 if ${ac_cv_have_timezone+:} false; then :
16681 $as_echo_n "(cached) " >&6
16682 else
16683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16684 /* end confdefs.h. */
16685 #include <time.h>
16687 main ()
16689 timezone = 1
16691 return 0;
16693 _ACEOF
16694 if ac_fn_c_try_link "$LINENO"; then :
16695 ac_cv_have_timezone="yes"
16696 else
16697 ac_cv_have_timezone="no"
16699 rm -f core conftest.err conftest.$ac_objext \
16700 conftest$ac_exeext conftest.$ac_ext
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16703 $as_echo "$ac_cv_have_timezone" >&6; }
16704 if test "$ac_cv_have_timezone" = "yes"
16705 then
16707 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16711 $as_echo_n "checking for daylight variable... " >&6; }
16712 if ${ac_cv_have_daylight+:} false; then :
16713 $as_echo_n "(cached) " >&6
16714 else
16715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16716 /* end confdefs.h. */
16717 #include <time.h>
16719 main ()
16721 daylight = 1
16723 return 0;
16725 _ACEOF
16726 if ac_fn_c_try_link "$LINENO"; then :
16727 ac_cv_have_daylight="yes"
16728 else
16729 ac_cv_have_daylight="no"
16731 rm -f core conftest.err conftest.$ac_objext \
16732 conftest$ac_exeext conftest.$ac_ext
16734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16735 $as_echo "$ac_cv_have_daylight" >&6; }
16736 if test "$ac_cv_have_daylight" = "yes"
16737 then
16739 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16743 ac_save_LIBS="$LIBS"
16744 LIBS="$LIBS -lm"
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16746 $as_echo_n "checking for isfinite... " >&6; }
16747 if ${ac_cv_have_isfinite+:} false; then :
16748 $as_echo_n "(cached) " >&6
16749 else
16750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16751 /* end confdefs.h. */
16752 #define _GNU_SOURCE
16753 #include <math.h>
16755 main ()
16757 float f = 0.0; return isfinite(f)
16759 return 0;
16761 _ACEOF
16762 if ac_fn_c_try_link "$LINENO"; then :
16763 ac_cv_have_isfinite="yes"
16764 else
16765 ac_cv_have_isfinite="no"
16767 rm -f core conftest.err conftest.$ac_objext \
16768 conftest$ac_exeext conftest.$ac_ext
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16771 $as_echo "$ac_cv_have_isfinite" >&6; }
16772 if test "$ac_cv_have_isfinite" = "yes"
16773 then
16775 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16780 $as_echo_n "checking for isinf... " >&6; }
16781 if ${ac_cv_have_isinf+:} false; then :
16782 $as_echo_n "(cached) " >&6
16783 else
16784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16785 /* end confdefs.h. */
16786 #include <math.h>
16788 main ()
16790 float f = 0.0; return isinf(f)
16792 return 0;
16794 _ACEOF
16795 if ac_fn_c_try_link "$LINENO"; then :
16796 ac_cv_have_isinf="yes"
16797 else
16798 ac_cv_have_isinf="no"
16800 rm -f core conftest.err conftest.$ac_objext \
16801 conftest$ac_exeext conftest.$ac_ext
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16804 $as_echo "$ac_cv_have_isinf" >&6; }
16805 if test "$ac_cv_have_isinf" = "yes"
16806 then
16808 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16813 $as_echo_n "checking for isnan... " >&6; }
16814 if ${ac_cv_have_isnan+:} false; then :
16815 $as_echo_n "(cached) " >&6
16816 else
16817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16818 /* end confdefs.h. */
16819 #include <math.h>
16821 main ()
16823 float f = 0.0; return isnan(f)
16825 return 0;
16827 _ACEOF
16828 if ac_fn_c_try_link "$LINENO"; then :
16829 ac_cv_have_isnan="yes"
16830 else
16831 ac_cv_have_isnan="no"
16833 rm -f core conftest.err conftest.$ac_objext \
16834 conftest$ac_exeext conftest.$ac_ext
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16837 $as_echo "$ac_cv_have_isnan" >&6; }
16838 if test "$ac_cv_have_isnan" = "yes"
16839 then
16841 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16845 for ac_func in \
16846 cbrt \
16847 cbrtf \
16848 erf \
16849 erff \
16850 exp2 \
16851 exp2f \
16852 llrint \
16853 llrintf \
16854 llround \
16855 llroundf \
16856 log2 \
16857 log2f \
16858 lrint \
16859 lrintf \
16860 lround \
16861 lroundf \
16862 rint \
16863 rintf \
16864 round \
16865 roundf \
16866 trunc \
16867 truncf
16869 do :
16870 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16872 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16873 cat >>confdefs.h <<_ACEOF
16874 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16875 _ACEOF
16878 done
16880 LIBS="$ac_save_LIBS"
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16883 $as_echo_n "checking for __builtin_clz... " >&6; }
16884 if ${ac_cv_have___builtin_clz+:} false; then :
16885 $as_echo_n "(cached) " >&6
16886 else
16887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16888 /* end confdefs.h. */
16891 main ()
16893 return __builtin_clz(1)
16895 return 0;
16897 _ACEOF
16898 if ac_fn_c_try_link "$LINENO"; then :
16899 ac_cv_have___builtin_clz="yes"
16900 else
16901 ac_cv_have___builtin_clz="no"
16903 rm -f core conftest.err conftest.$ac_objext \
16904 conftest$ac_exeext conftest.$ac_ext
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16907 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16908 if test "$ac_cv_have___builtin_clz" = "yes"
16909 then
16911 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16916 $as_echo_n "checking for __builtin_popcount... " >&6; }
16917 if ${ac_cv_have___builtin_popcount+:} false; then :
16918 $as_echo_n "(cached) " >&6
16919 else
16920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h. */
16924 main ()
16926 return __builtin_popcount(1)
16928 return 0;
16930 _ACEOF
16931 if ac_fn_c_try_link "$LINENO"; then :
16932 ac_cv_have___builtin_popcount="yes"
16933 else
16934 ac_cv_have___builtin_popcount="no"
16936 rm -f core conftest.err conftest.$ac_objext \
16937 conftest$ac_exeext conftest.$ac_ext
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
16940 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16941 if test "$ac_cv_have___builtin_popcount" = "yes"
16942 then
16944 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16949 case $host_cpu in
16950 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16951 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16952 if ${ac_cv_cpp_def___i386__+:} false; then :
16953 $as_echo_n "(cached) " >&6
16954 else
16955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16956 /* end confdefs.h. */
16957 #ifndef __i386__
16959 #endif
16960 _ACEOF
16961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16962 $EGREP "yes" >/dev/null 2>&1; then :
16963 ac_cv_cpp_def___i386__=yes
16964 else
16965 ac_cv_cpp_def___i386__=no
16967 rm -f conftest*
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16971 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16972 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16973 CFLAGS="$CFLAGS -D__i386__"
16974 LINTFLAGS="$LINTFLAGS -D__i386__"
16975 fi ;;
16976 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16977 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16978 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16979 $as_echo_n "(cached) " >&6
16980 else
16981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16983 #ifndef __x86_64__
16985 #endif
16986 _ACEOF
16987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16988 $EGREP "yes" >/dev/null 2>&1; then :
16989 ac_cv_cpp_def___x86_64__=yes
16990 else
16991 ac_cv_cpp_def___x86_64__=no
16993 rm -f conftest*
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16997 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16998 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16999 CFLAGS="$CFLAGS -D__x86_64__"
17000 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17001 fi ;;
17002 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17003 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17004 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17005 $as_echo_n "(cached) " >&6
17006 else
17007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17008 /* end confdefs.h. */
17009 #ifndef __sparc64__
17011 #endif
17012 _ACEOF
17013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17014 $EGREP "yes" >/dev/null 2>&1; then :
17015 ac_cv_cpp_def___sparc64__=yes
17016 else
17017 ac_cv_cpp_def___sparc64__=no
17019 rm -f conftest*
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17023 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17024 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17025 CFLAGS="$CFLAGS -D__sparc64__"
17026 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17027 fi ;;
17028 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17029 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17030 if ${ac_cv_cpp_def___sparc__+:} false; then :
17031 $as_echo_n "(cached) " >&6
17032 else
17033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17035 #ifndef __sparc__
17037 #endif
17038 _ACEOF
17039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17040 $EGREP "yes" >/dev/null 2>&1; then :
17041 ac_cv_cpp_def___sparc__=yes
17042 else
17043 ac_cv_cpp_def___sparc__=no
17045 rm -f conftest*
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17049 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17050 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17051 CFLAGS="$CFLAGS -D__sparc__"
17052 LINTFLAGS="$LINTFLAGS -D__sparc__"
17053 fi ;;
17054 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17055 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17056 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17057 $as_echo_n "(cached) " >&6
17058 else
17059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17060 /* end confdefs.h. */
17061 #ifndef __powerpc64__
17063 #endif
17064 _ACEOF
17065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17066 $EGREP "yes" >/dev/null 2>&1; then :
17067 ac_cv_cpp_def___powerpc64__=yes
17068 else
17069 ac_cv_cpp_def___powerpc64__=no
17071 rm -f conftest*
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17075 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17076 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17077 CFLAGS="$CFLAGS -D__powerpc64__"
17078 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17079 fi ;;
17080 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17081 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17082 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17083 $as_echo_n "(cached) " >&6
17084 else
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 #ifndef __powerpc__
17089 #endif
17090 _ACEOF
17091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17092 $EGREP "yes" >/dev/null 2>&1; then :
17093 ac_cv_cpp_def___powerpc__=yes
17094 else
17095 ac_cv_cpp_def___powerpc__=no
17097 rm -f conftest*
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17101 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17102 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17103 CFLAGS="$CFLAGS -D__powerpc__"
17104 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17105 fi ;;
17106 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17107 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17108 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17109 $as_echo_n "(cached) " >&6
17110 else
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #ifndef __aarch64__
17115 #endif
17116 _ACEOF
17117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17118 $EGREP "yes" >/dev/null 2>&1; then :
17119 ac_cv_cpp_def___aarch64__=yes
17120 else
17121 ac_cv_cpp_def___aarch64__=no
17123 rm -f conftest*
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17127 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17128 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17129 CFLAGS="$CFLAGS -D__aarch64__"
17130 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17131 fi ;;
17132 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17133 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17134 if ${ac_cv_cpp_def___arm__+:} false; then :
17135 $as_echo_n "(cached) " >&6
17136 else
17137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17139 #ifndef __arm__
17141 #endif
17142 _ACEOF
17143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17144 $EGREP "yes" >/dev/null 2>&1; then :
17145 ac_cv_cpp_def___arm__=yes
17146 else
17147 ac_cv_cpp_def___arm__=no
17149 rm -f conftest*
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17153 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17154 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17155 CFLAGS="$CFLAGS -D__arm__"
17156 LINTFLAGS="$LINTFLAGS -D__arm__"
17157 fi ;;
17158 esac
17160 case $host_vendor in
17161 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17162 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17163 if ${ac_cv_cpp_def___sun__+:} false; then :
17164 $as_echo_n "(cached) " >&6
17165 else
17166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17167 /* end confdefs.h. */
17168 #ifndef __sun__
17170 #endif
17171 _ACEOF
17172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17173 $EGREP "yes" >/dev/null 2>&1; then :
17174 ac_cv_cpp_def___sun__=yes
17175 else
17176 ac_cv_cpp_def___sun__=no
17178 rm -f conftest*
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17182 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17183 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17184 CFLAGS="$CFLAGS -D__sun__"
17185 LINTFLAGS="$LINTFLAGS -D__sun__"
17186 fi ;;
17187 esac
17193 ac_config_commands="$ac_config_commands include/stamp-h"
17195 $as_echo_n "creating Makefile rules..." >&6
17197 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17198 SOCKET_LIBS = $SOCKET_LIBS
17199 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17200 IOKIT_LIBS = $IOKIT_LIBS
17201 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17202 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17203 CORESERVICES_LIBS = $CORESERVICES_LIBS
17204 APPKIT_LIBS = $APPKIT_LIBS
17205 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17206 SECURITY_LIBS = $SECURITY_LIBS
17207 COREAUDIO_LIBS = $COREAUDIO_LIBS
17208 OPENAL_LIBS = $OPENAL_LIBS
17209 OPENCL_LIBS = $OPENCL_LIBS
17210 QUICKTIME_LIBS = $QUICKTIME_LIBS
17211 CARBON_LIBS = $CARBON_LIBS
17212 PTHREAD_LIBS = $PTHREAD_LIBS
17213 X_CFLAGS = $X_CFLAGS
17214 X_PRE_LIBS = $X_PRE_LIBS
17215 X_LIBS = $X_LIBS
17216 X_EXTRA_LIBS = $X_EXTRA_LIBS
17217 PCAP_LIBS = $PCAP_LIBS
17218 XML2_CFLAGS = $XML2_CFLAGS
17219 XML2_LIBS = $XML2_LIBS
17220 XSLT_CFLAGS = $XSLT_CFLAGS
17221 XSLT_LIBS = $XSLT_LIBS
17222 DBUS_CFLAGS = $DBUS_CFLAGS
17223 DBUS_LIBS = $DBUS_LIBS
17224 HAL_CFLAGS = $HAL_CFLAGS
17225 HAL_LIBS = $HAL_LIBS
17226 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17227 GNUTLS_LIBS = $GNUTLS_LIBS
17228 SANE_CFLAGS = $SANE_CFLAGS
17229 SANE_LIBS = $SANE_LIBS
17230 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17231 GPHOTO2_LIBS = $GPHOTO2_LIBS
17232 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17233 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17234 RESOLV_LIBS = $RESOLV_LIBS
17235 LCMS2_CFLAGS = $LCMS2_CFLAGS
17236 LCMS2_LIBS = $LCMS2_LIBS
17237 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17238 FREETYPE_LIBS = $FREETYPE_LIBS
17239 Z_LIBS = $Z_LIBS
17240 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17241 PULSE_CFLAGS = $PULSE_CFLAGS
17242 PULSE_LIBS = $PULSE_LIBS
17243 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17244 GSTREAMER_LIBS = $GSTREAMER_LIBS
17245 ALSA_LIBS = $ALSA_LIBS
17246 OSS4_CFLAGS = $OSS4_CFLAGS
17247 CAPI20_CFLAGS = $CAPI20_CFLAGS
17248 CAPI20_LIBS = $CAPI20_LIBS
17249 CUPS_CFLAGS = $CUPS_CFLAGS
17250 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17251 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17252 JPEG_CFLAGS = $JPEG_CFLAGS
17253 JPEG_LIBS = $JPEG_LIBS
17254 PNG_CFLAGS = $PNG_CFLAGS
17255 PNG_LIBS = $PNG_LIBS
17256 TIFF_CFLAGS = $TIFF_CFLAGS
17257 TIFF_LIBS = $TIFF_LIBS
17258 MPG123_CFLAGS = $MPG123_CFLAGS
17259 MPG123_LIBS = $MPG123_LIBS
17260 KSTAT_LIBS = $KSTAT_LIBS
17261 PROCSTAT_LIBS = $PROCSTAT_LIBS
17262 NETAPI_CFLAGS = $NETAPI_CFLAGS
17263 NETAPI_LIBS = $NETAPI_LIBS
17264 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17265 DL_LIBS = $DL_LIBS
17266 POLL_LIBS = $POLL_LIBS
17267 RT_LIBS = $RT_LIBS
17268 LDAP_LIBS = $LDAP_LIBS
17273 wine_fn_append_rule "
17274 # Rules automatically generated by configure
17276 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17278 .INIT: Makefile
17279 .MAKEFILEDEPS:
17280 all: Makefile
17281 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17282 @./config.status Make.tmp Makefile
17283 depend: \$(MAKEDEP) dummy
17284 \$(MAKEDEP)"
17286 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17287 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17289 if test "x$enable_fonts" != xno; then
17290 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17291 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17292 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17293 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17294 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17295 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17297 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17298 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17299 ac_config_links="$ac_config_links wine:tools/winewrapper"
17300 wine_fn_config_symlink wine
17301 if test "x$enable_win64" != xno; then
17302 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17303 wine_fn_config_symlink wine64
17306 wine_fn_config_dll acledit enable_acledit
17307 wine_fn_config_dll aclui enable_aclui implib
17308 wine_fn_config_dll activeds enable_activeds implib
17309 wine_fn_config_dll actxprxy enable_actxprxy clean
17310 wine_fn_config_lib adsiid
17311 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17312 wine_fn_config_test dlls/advapi32/tests advapi32_test
17313 wine_fn_config_dll advpack enable_advpack implib
17314 wine_fn_config_test dlls/advpack/tests advpack_test
17315 wine_fn_config_dll amstream enable_amstream clean
17316 wine_fn_config_test dlls/amstream/tests amstream_test
17317 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17318 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17319 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17320 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17322 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17323 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17324 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17325 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17326 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17327 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17328 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17329 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17330 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17331 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17332 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17333 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17334 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17335 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17336 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17337 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17338 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17339 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17340 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17341 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17342 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17343 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17344 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17345 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17346 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17347 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17348 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17349 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17350 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17351 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17352 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17353 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17354 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17355 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17356 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17357 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17358 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17359 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17360 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17361 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17362 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17363 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17364 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17365 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17366 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17367 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17368 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17369 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17370 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17371 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17372 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17373 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17374 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17375 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17376 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17377 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17378 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17379 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17380 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17381 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17382 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17383 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17384 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17385 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17386 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17387 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17388 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17389 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17390 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17391 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17392 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17393 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17394 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17395 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17396 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17397 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17398 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17399 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17400 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17401 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17402 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17403 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17404 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17405 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17406 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17407 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17408 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17409 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17410 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17411 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17412 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17413 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17414 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17415 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17416 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17417 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17418 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17419 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17420 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17421 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17422 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17423 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17424 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17425 wine_fn_config_dll apphelp enable_apphelp
17426 wine_fn_config_test dlls/apphelp/tests apphelp_test
17427 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17428 wine_fn_config_dll atl enable_atl clean,implib
17429 wine_fn_config_test dlls/atl/tests atl_test
17430 wine_fn_config_dll atl100 enable_atl100 clean,implib
17431 wine_fn_config_test dlls/atl100/tests atl100_test
17432 wine_fn_config_dll atl110 enable_atl110 clean
17433 wine_fn_config_dll atl80 enable_atl80 clean,implib
17434 wine_fn_config_test dlls/atl80/tests atl80_test
17435 wine_fn_config_dll atl90 enable_atl90 clean
17436 wine_fn_config_dll authz enable_authz
17437 wine_fn_config_dll avicap32 enable_avicap32 implib
17438 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17439 wine_fn_config_test dlls/avifil32/tests avifil32_test
17440 wine_fn_config_dll avifile.dll16 enable_win16
17441 wine_fn_config_dll avrt enable_avrt implib
17442 wine_fn_config_dll bcrypt enable_bcrypt implib
17443 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17444 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17445 wine_fn_config_dll browseui enable_browseui clean
17446 wine_fn_config_test dlls/browseui/tests browseui_test
17447 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17448 wine_fn_config_dll cabinet enable_cabinet implib
17449 wine_fn_config_test dlls/cabinet/tests cabinet_test
17450 wine_fn_config_dll capi2032 enable_capi2032 implib
17451 wine_fn_config_dll cards enable_cards implib
17452 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17453 wine_fn_config_dll clusapi enable_clusapi implib
17454 wine_fn_config_dll combase enable_combase
17455 wine_fn_config_test dlls/combase/tests combase_test
17456 wine_fn_config_dll comcat enable_comcat
17457 wine_fn_config_test dlls/comcat/tests comcat_test
17458 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17459 wine_fn_config_test dlls/comctl32/tests comctl32_test
17460 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17461 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17462 wine_fn_config_dll comm.drv16 enable_win16
17463 wine_fn_config_dll commdlg.dll16 enable_win16
17464 wine_fn_config_dll compobj.dll16 enable_win16
17465 wine_fn_config_dll compstui enable_compstui implib
17466 wine_fn_config_dll comsvcs enable_comsvcs implib
17467 wine_fn_config_dll connect enable_connect
17468 wine_fn_config_dll credui enable_credui clean,implib
17469 wine_fn_config_test dlls/credui/tests credui_test
17470 wine_fn_config_dll crtdll enable_crtdll implib
17471 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17472 wine_fn_config_test dlls/crypt32/tests crypt32_test
17473 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17474 wine_fn_config_dll cryptdll enable_cryptdll implib
17475 wine_fn_config_dll cryptext enable_cryptext
17476 wine_fn_config_dll cryptnet enable_cryptnet implib
17477 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17478 wine_fn_config_dll cryptui enable_cryptui clean,implib
17479 wine_fn_config_test dlls/cryptui/tests cryptui_test
17480 wine_fn_config_dll ctapi32 enable_ctapi32
17481 wine_fn_config_dll ctl3d.dll16 enable_win16
17482 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17483 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17484 wine_fn_config_dll d2d1 enable_d2d1 implib
17485 wine_fn_config_test dlls/d2d1/tests d2d1_test
17486 wine_fn_config_dll d3d10 enable_d3d10 implib
17487 wine_fn_config_test dlls/d3d10/tests d3d10_test
17488 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17489 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17490 wine_fn_config_dll d3d10core enable_d3d10core implib
17491 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17492 wine_fn_config_dll d3d11 enable_d3d11 implib
17493 wine_fn_config_test dlls/d3d11/tests d3d11_test
17494 wine_fn_config_dll d3d8 enable_d3d8 implib
17495 wine_fn_config_test dlls/d3d8/tests d3d8_test
17496 wine_fn_config_dll d3d9 enable_d3d9 implib
17497 wine_fn_config_test dlls/d3d9/tests d3d9_test
17498 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17499 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17500 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17501 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17502 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17503 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17504 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17505 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17506 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17507 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17508 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17509 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17510 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17511 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17512 wine_fn_config_dll d3dim enable_d3dim implib
17513 wine_fn_config_dll d3drm enable_d3drm implib
17514 wine_fn_config_test dlls/d3drm/tests d3drm_test
17515 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17516 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17517 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17518 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17519 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17520 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17521 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17522 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17523 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17524 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17525 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17526 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17527 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17528 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17529 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17530 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17531 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17532 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17533 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17534 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17535 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17536 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17537 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17538 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17539 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17540 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17541 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17542 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17543 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17544 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17545 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17546 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17547 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17548 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17549 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17550 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17551 wine_fn_config_dll davclnt enable_davclnt
17552 wine_fn_config_dll dbgeng enable_dbgeng implib
17553 wine_fn_config_dll dbghelp enable_dbghelp implib
17554 wine_fn_config_dll dciman32 enable_dciman32 implib
17555 wine_fn_config_dll ddeml.dll16 enable_win16
17556 wine_fn_config_dll ddraw enable_ddraw clean,implib
17557 wine_fn_config_test dlls/ddraw/tests ddraw_test
17558 wine_fn_config_dll ddrawex enable_ddrawex clean
17559 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17560 wine_fn_config_dll devenum enable_devenum clean
17561 wine_fn_config_test dlls/devenum/tests devenum_test
17562 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17563 wine_fn_config_dll difxapi enable_difxapi
17564 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17565 wine_fn_config_test dlls/dinput/tests dinput_test
17566 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17567 wine_fn_config_test dlls/dinput8/tests dinput8_test
17568 wine_fn_config_dll dispdib.dll16 enable_win16
17569 wine_fn_config_dll dispex enable_dispex clean
17570 wine_fn_config_test dlls/dispex/tests dispex_test
17571 wine_fn_config_dll display.drv16 enable_win16
17572 wine_fn_config_dll dmband enable_dmband clean
17573 wine_fn_config_test dlls/dmband/tests dmband_test
17574 wine_fn_config_dll dmcompos enable_dmcompos clean
17575 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17576 wine_fn_config_dll dmime enable_dmime clean
17577 wine_fn_config_test dlls/dmime/tests dmime_test
17578 wine_fn_config_dll dmloader enable_dmloader clean
17579 wine_fn_config_test dlls/dmloader/tests dmloader_test
17580 wine_fn_config_dll dmscript enable_dmscript clean
17581 wine_fn_config_test dlls/dmscript/tests dmscript_test
17582 wine_fn_config_dll dmstyle enable_dmstyle clean
17583 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17584 wine_fn_config_dll dmsynth enable_dmsynth clean
17585 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17586 wine_fn_config_dll dmusic enable_dmusic clean
17587 wine_fn_config_test dlls/dmusic/tests dmusic_test
17588 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17589 wine_fn_config_dll dnsapi enable_dnsapi implib
17590 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17591 wine_fn_config_dll dplay enable_dplay implib
17592 wine_fn_config_dll dplayx enable_dplayx clean,implib
17593 wine_fn_config_test dlls/dplayx/tests dplayx_test
17594 wine_fn_config_dll dpnaddr enable_dpnaddr
17595 wine_fn_config_dll dpnet enable_dpnet clean,implib
17596 wine_fn_config_test dlls/dpnet/tests dpnet_test
17597 wine_fn_config_dll dpnhpast enable_dpnhpast
17598 wine_fn_config_dll dpnlobby enable_dpnlobby
17599 wine_fn_config_dll dpvoice enable_dpvoice clean
17600 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17601 wine_fn_config_dll dpwsockx enable_dpwsockx
17602 wine_fn_config_dll drmclien enable_drmclien
17603 wine_fn_config_dll dsound enable_dsound clean,implib
17604 wine_fn_config_test dlls/dsound/tests dsound_test
17605 wine_fn_config_dll dssenh enable_dssenh
17606 wine_fn_config_test dlls/dssenh/tests dssenh_test
17607 wine_fn_config_dll dswave enable_dswave clean
17608 wine_fn_config_test dlls/dswave/tests dswave_test
17609 wine_fn_config_dll dwmapi enable_dwmapi implib
17610 wine_fn_config_dll dwrite enable_dwrite implib
17611 wine_fn_config_test dlls/dwrite/tests dwrite_test
17612 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17613 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17614 wine_fn_config_lib dxerr8
17615 wine_fn_config_lib dxerr9
17616 wine_fn_config_dll dxgi enable_dxgi implib
17617 wine_fn_config_test dlls/dxgi/tests dxgi_test
17618 wine_fn_config_lib dxguid
17619 wine_fn_config_dll dxva2 enable_dxva2
17620 wine_fn_config_dll esent enable_esent
17621 wine_fn_config_dll evr enable_evr
17622 wine_fn_config_dll explorerframe enable_explorerframe clean
17623 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17624 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17625 wine_fn_config_dll faultrep enable_faultrep implib
17626 wine_fn_config_test dlls/faultrep/tests faultrep_test
17627 wine_fn_config_dll fltlib enable_fltlib
17628 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17629 wine_fn_config_dll fntcache enable_fntcache
17630 wine_fn_config_dll fontsub enable_fontsub
17631 wine_fn_config_dll fusion enable_fusion
17632 wine_fn_config_test dlls/fusion/tests fusion_test
17633 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17634 wine_fn_config_dll gameux enable_gameux clean
17635 wine_fn_config_test dlls/gameux/tests gameux_test
17636 wine_fn_config_dll gdi.exe16 enable_win16
17637 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17638 wine_fn_config_test dlls/gdi32/tests gdi32_test
17639 wine_fn_config_dll gdiplus enable_gdiplus implib
17640 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17641 wine_fn_config_dll glu32 enable_glu32 implib
17642 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17643 wine_fn_config_dll gpkcsp enable_gpkcsp
17644 wine_fn_config_dll hal enable_hal
17645 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17646 wine_fn_config_dll hid enable_hid implib
17647 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17648 wine_fn_config_dll hlink enable_hlink clean,implib
17649 wine_fn_config_test dlls/hlink/tests hlink_test
17650 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17651 wine_fn_config_dll httpapi enable_httpapi
17652 wine_fn_config_dll iccvid enable_iccvid clean
17653 wine_fn_config_dll icmp enable_icmp
17654 wine_fn_config_dll ieframe enable_ieframe clean,implib
17655 wine_fn_config_test dlls/ieframe/tests ieframe_test
17656 wine_fn_config_dll ifsmgr.vxd enable_win16
17657 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17658 wine_fn_config_dll imagehlp enable_imagehlp implib
17659 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17660 wine_fn_config_dll imm.dll16 enable_win16
17661 wine_fn_config_dll imm32 enable_imm32 implib
17662 wine_fn_config_test dlls/imm32/tests imm32_test
17663 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17664 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17665 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17666 wine_fn_config_dll inetmib1 enable_inetmib1
17667 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17668 wine_fn_config_dll infosoft enable_infosoft clean
17669 wine_fn_config_test dlls/infosoft/tests infosoft_test
17670 wine_fn_config_dll initpki enable_initpki
17671 wine_fn_config_dll inkobj enable_inkobj
17672 wine_fn_config_dll inseng enable_inseng clean
17673 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17674 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17675 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17676 wine_fn_config_dll itircl enable_itircl
17677 wine_fn_config_dll itss enable_itss clean
17678 wine_fn_config_test dlls/itss/tests itss_test
17679 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17680 wine_fn_config_dll jscript enable_jscript clean
17681 wine_fn_config_test dlls/jscript/tests jscript_test
17682 wine_fn_config_dll jsproxy enable_jsproxy implib
17683 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17684 wine_fn_config_test dlls/kernel32/tests kernel32_test
17685 wine_fn_config_dll keyboard.drv16 enable_win16
17686 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17687 wine_fn_config_dll ksuser enable_ksuser
17688 wine_fn_config_dll ktmw32 enable_ktmw32
17689 wine_fn_config_dll loadperf enable_loadperf implib
17690 wine_fn_config_dll localspl enable_localspl clean
17691 wine_fn_config_test dlls/localspl/tests localspl_test
17692 wine_fn_config_dll localui enable_localui clean
17693 wine_fn_config_test dlls/localui/tests localui_test
17694 wine_fn_config_dll lz32 enable_lz32 implib
17695 wine_fn_config_test dlls/lz32/tests lz32_test
17696 wine_fn_config_dll lzexpand.dll16 enable_win16
17697 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17698 wine_fn_config_test dlls/mapi32/tests mapi32_test
17699 wine_fn_config_dll mapistub enable_mapistub
17700 wine_fn_config_dll mciavi32 enable_mciavi32
17701 wine_fn_config_dll mcicda enable_mcicda
17702 wine_fn_config_dll mciqtz32 enable_mciqtz32
17703 wine_fn_config_dll mciseq enable_mciseq
17704 wine_fn_config_dll mciwave enable_mciwave
17705 wine_fn_config_dll mf enable_mf
17706 wine_fn_config_dll mfplat enable_mfplat
17707 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17708 wine_fn_config_dll mgmtapi enable_mgmtapi
17709 wine_fn_config_dll midimap enable_midimap
17710 wine_fn_config_dll mlang enable_mlang clean,implib
17711 wine_fn_config_test dlls/mlang/tests mlang_test
17712 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17713 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17714 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17715 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17716 wine_fn_config_dll mmdevldr.vxd enable_win16
17717 wine_fn_config_dll mmsystem.dll16 enable_win16
17718 wine_fn_config_dll monodebg.vxd enable_win16
17719 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17720 wine_fn_config_dll mouse.drv16 enable_win16
17721 wine_fn_config_dll mpr enable_mpr clean,implib
17722 wine_fn_config_test dlls/mpr/tests mpr_test
17723 wine_fn_config_dll mprapi enable_mprapi implib
17724 wine_fn_config_dll msacm.dll16 enable_win16
17725 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17726 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17727 wine_fn_config_test dlls/msacm32/tests msacm32_test
17728 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17729 wine_fn_config_dll msasn1 enable_msasn1 implib
17730 wine_fn_config_dll mscat32 enable_mscat32
17731 wine_fn_config_dll mscms enable_mscms implib
17732 wine_fn_config_test dlls/mscms/tests mscms_test
17733 wine_fn_config_dll mscoree enable_mscoree clean
17734 wine_fn_config_test dlls/mscoree/tests mscoree_test
17735 wine_fn_config_dll msctf enable_msctf clean
17736 wine_fn_config_test dlls/msctf/tests msctf_test
17737 wine_fn_config_dll msctfp enable_msctfp clean
17738 wine_fn_config_dll msdaps enable_msdaps clean
17739 wine_fn_config_dll msdelta enable_msdelta
17740 wine_fn_config_dll msdmo enable_msdmo implib
17741 wine_fn_config_test dlls/msdmo/tests msdmo_test
17742 wine_fn_config_dll msdrm enable_msdrm
17743 wine_fn_config_dll msftedit enable_msftedit
17744 wine_fn_config_dll msg711.acm enable_msg711_acm
17745 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17746 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17747 wine_fn_config_dll mshtml enable_mshtml clean,implib
17748 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17749 wine_fn_config_dll msi enable_msi clean,implib
17750 wine_fn_config_test dlls/msi/tests msi_test
17751 wine_fn_config_dll msident enable_msident clean
17752 wine_fn_config_dll msimg32 enable_msimg32 implib
17753 wine_fn_config_dll msimsg enable_msimsg
17754 wine_fn_config_dll msimtf enable_msimtf clean
17755 wine_fn_config_dll msisip enable_msisip
17756 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17757 wine_fn_config_dll msls31 enable_msls31
17758 wine_fn_config_dll msnet32 enable_msnet32
17759 wine_fn_config_dll mspatcha enable_mspatcha implib
17760 wine_fn_config_dll msrle32 enable_msrle32 clean
17761 wine_fn_config_test dlls/msrle32/tests msrle32_test
17762 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17763 wine_fn_config_dll mssign32 enable_mssign32
17764 wine_fn_config_dll mssip32 enable_mssip32
17765 wine_fn_config_dll mstask enable_mstask clean
17766 wine_fn_config_test dlls/mstask/tests mstask_test
17767 wine_fn_config_dll msvcirt enable_msvcirt
17768 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17769 wine_fn_config_dll msvcm80 enable_msvcm80
17770 wine_fn_config_dll msvcm90 enable_msvcm90
17771 wine_fn_config_dll msvcp100 enable_msvcp100
17772 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17773 wine_fn_config_dll msvcp110 enable_msvcp110
17774 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17775 wine_fn_config_dll msvcp120 enable_msvcp120
17776 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17777 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17778 wine_fn_config_dll msvcp60 enable_msvcp60
17779 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17780 wine_fn_config_dll msvcp70 enable_msvcp70
17781 wine_fn_config_dll msvcp71 enable_msvcp71
17782 wine_fn_config_dll msvcp80 enable_msvcp80
17783 wine_fn_config_dll msvcp90 enable_msvcp90
17784 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17785 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17786 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17787 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17788 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17789 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17790 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17791 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17792 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17793 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17794 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17795 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17796 wine_fn_config_dll msvcrt enable_msvcrt implib
17797 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17798 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17799 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17800 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17801 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17802 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17803 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17804 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17805 wine_fn_config_dll msvideo.dll16 enable_win16
17806 wine_fn_config_dll mswsock enable_mswsock implib
17807 wine_fn_config_dll msxml enable_msxml clean
17808 wine_fn_config_dll msxml2 enable_msxml2 clean
17809 wine_fn_config_dll msxml3 enable_msxml3 clean
17810 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17811 wine_fn_config_dll msxml4 enable_msxml4 clean
17812 wine_fn_config_dll msxml6 enable_msxml6 clean
17813 wine_fn_config_dll nddeapi enable_nddeapi implib
17814 wine_fn_config_dll ndis.sys enable_ndis_sys
17815 wine_fn_config_dll netapi32 enable_netapi32 implib
17816 wine_fn_config_test dlls/netapi32/tests netapi32_test
17817 wine_fn_config_dll netcfgx enable_netcfgx clean
17818 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17819 wine_fn_config_dll netprofm enable_netprofm clean
17820 wine_fn_config_test dlls/netprofm/tests netprofm_test
17821 wine_fn_config_dll newdev enable_newdev implib
17822 wine_fn_config_dll normaliz enable_normaliz implib
17823 wine_fn_config_dll npmshtml enable_npmshtml
17824 wine_fn_config_dll npptools enable_npptools
17825 wine_fn_config_dll ntdll enable_ntdll implib
17826 wine_fn_config_test dlls/ntdll/tests ntdll_test
17827 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17828 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17829 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17830 wine_fn_config_dll ntprint enable_ntprint
17831 wine_fn_config_test dlls/ntprint/tests ntprint_test
17832 wine_fn_config_dll objsel enable_objsel clean
17833 wine_fn_config_dll odbc32 enable_odbc32 implib
17834 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17835 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17836 wine_fn_config_dll odbccu32 enable_odbccu32
17837 wine_fn_config_dll ole2.dll16 enable_win16
17838 wine_fn_config_dll ole2conv.dll16 enable_win16
17839 wine_fn_config_dll ole2disp.dll16 enable_win16
17840 wine_fn_config_dll ole2nls.dll16 enable_win16
17841 wine_fn_config_dll ole2prox.dll16 enable_win16
17842 wine_fn_config_dll ole2thk.dll16 enable_win16
17843 wine_fn_config_dll ole32 enable_ole32 clean,implib
17844 wine_fn_config_test dlls/ole32/tests ole32_test
17845 wine_fn_config_dll oleacc enable_oleacc clean,implib
17846 wine_fn_config_test dlls/oleacc/tests oleacc_test
17847 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17848 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17849 wine_fn_config_dll olecli.dll16 enable_win16
17850 wine_fn_config_dll olecli32 enable_olecli32 implib
17851 wine_fn_config_dll oledb32 enable_oledb32 clean
17852 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17853 wine_fn_config_dll oledlg enable_oledlg clean,implib
17854 wine_fn_config_test dlls/oledlg/tests oledlg_test
17855 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17856 wine_fn_config_dll olesvr.dll16 enable_win16
17857 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17858 wine_fn_config_dll olethk32 enable_olethk32
17859 wine_fn_config_dll openal32 enable_openal32
17860 wine_fn_config_dll opencl enable_opencl
17861 wine_fn_config_dll opengl32 enable_opengl32 implib
17862 wine_fn_config_test dlls/opengl32/tests opengl32_test
17863 wine_fn_config_dll packager enable_packager clean
17864 wine_fn_config_test dlls/packager/tests packager_test
17865 wine_fn_config_dll pdh enable_pdh implib
17866 wine_fn_config_test dlls/pdh/tests pdh_test
17867 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17868 wine_fn_config_dll pidgen enable_pidgen
17869 wine_fn_config_dll powrprof enable_powrprof implib
17870 wine_fn_config_dll printui enable_printui
17871 wine_fn_config_dll prntvpt enable_prntvpt
17872 wine_fn_config_dll propsys enable_propsys clean,implib
17873 wine_fn_config_test dlls/propsys/tests propsys_test
17874 wine_fn_config_dll psapi enable_psapi implib
17875 wine_fn_config_test dlls/psapi/tests psapi_test
17876 wine_fn_config_dll pstorec enable_pstorec clean
17877 wine_fn_config_dll qcap enable_qcap
17878 wine_fn_config_test dlls/qcap/tests qcap_test
17879 wine_fn_config_dll qedit enable_qedit clean
17880 wine_fn_config_test dlls/qedit/tests qedit_test
17881 wine_fn_config_dll qmgr enable_qmgr clean
17882 wine_fn_config_test dlls/qmgr/tests qmgr_test
17883 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17884 wine_fn_config_dll quartz enable_quartz clean,implib
17885 wine_fn_config_test dlls/quartz/tests quartz_test clean
17886 wine_fn_config_dll query enable_query
17887 wine_fn_config_dll rasapi16.dll16 enable_win16
17888 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17889 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17890 wine_fn_config_dll rasdlg enable_rasdlg implib
17891 wine_fn_config_dll regapi enable_regapi
17892 wine_fn_config_dll resutils enable_resutils implib
17893 wine_fn_config_dll riched20 enable_riched20 clean,implib
17894 wine_fn_config_test dlls/riched20/tests riched20_test
17895 wine_fn_config_dll riched32 enable_riched32
17896 wine_fn_config_test dlls/riched32/tests riched32_test
17897 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17898 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17899 wine_fn_config_dll rsabase enable_rsabase
17900 wine_fn_config_dll rsaenh enable_rsaenh implib
17901 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17902 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17903 wine_fn_config_dll rtutils enable_rtutils implib
17904 wine_fn_config_dll samlib enable_samlib
17905 wine_fn_config_dll sane.ds enable_sane_ds clean
17906 wine_fn_config_dll scarddlg enable_scarddlg
17907 wine_fn_config_dll sccbase enable_sccbase
17908 wine_fn_config_dll schannel enable_schannel
17909 wine_fn_config_test dlls/schannel/tests schannel_test
17910 wine_fn_config_dll schedsvc enable_schedsvc clean
17911 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17912 wine_fn_config_dll scrrun enable_scrrun clean
17913 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17914 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17915 wine_fn_config_dll secur32 enable_secur32 implib
17916 wine_fn_config_test dlls/secur32/tests secur32_test
17917 wine_fn_config_dll security enable_security
17918 wine_fn_config_dll sensapi enable_sensapi implib
17919 wine_fn_config_dll serialui enable_serialui clean,implib
17920 wine_fn_config_test dlls/serialui/tests serialui_test
17921 wine_fn_config_dll setupapi enable_setupapi clean,implib
17922 wine_fn_config_test dlls/setupapi/tests setupapi_test
17923 wine_fn_config_dll setupx.dll16 enable_win16
17924 wine_fn_config_dll sfc enable_sfc implib
17925 wine_fn_config_dll sfc_os enable_sfc_os implib
17926 wine_fn_config_dll shdoclc enable_shdoclc clean
17927 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17928 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17929 wine_fn_config_dll shell.dll16 enable_win16
17930 wine_fn_config_dll shell32 enable_shell32 clean,implib
17931 wine_fn_config_test dlls/shell32/tests shell32_test
17932 wine_fn_config_dll shfolder enable_shfolder implib
17933 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
17934 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17935 wine_fn_config_dll slbcsp enable_slbcsp
17936 wine_fn_config_dll slc enable_slc implib
17937 wine_fn_config_test dlls/slc/tests slc_test
17938 wine_fn_config_dll snmpapi enable_snmpapi implib
17939 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17940 wine_fn_config_dll softpub enable_softpub
17941 wine_fn_config_dll sound.drv16 enable_win16
17942 wine_fn_config_dll spoolss enable_spoolss implib
17943 wine_fn_config_test dlls/spoolss/tests spoolss_test
17944 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17945 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17946 wine_fn_config_dll sti enable_sti clean,implib
17947 wine_fn_config_test dlls/sti/tests sti_test
17948 wine_fn_config_dll storage.dll16 enable_win16
17949 wine_fn_config_dll stress.dll16 enable_win16
17950 wine_fn_config_lib strmbase
17951 wine_fn_config_lib strmiids
17952 wine_fn_config_dll svrapi enable_svrapi
17953 wine_fn_config_dll sxs enable_sxs implib
17954 wine_fn_config_test dlls/sxs/tests sxs_test
17955 wine_fn_config_dll system.drv16 enable_win16
17956 wine_fn_config_dll t2embed enable_t2embed
17957 wine_fn_config_dll tapi32 enable_tapi32 implib
17958 wine_fn_config_dll taskschd enable_taskschd clean
17959 wine_fn_config_test dlls/taskschd/tests taskschd_test
17960 wine_fn_config_dll tdi.sys enable_tdi_sys
17961 wine_fn_config_dll toolhelp.dll16 enable_win16
17962 wine_fn_config_dll traffic enable_traffic
17963 wine_fn_config_dll twain.dll16 enable_win16
17964 wine_fn_config_dll twain_32 enable_twain_32
17965 wine_fn_config_test dlls/twain_32/tests twain_32_test
17966 wine_fn_config_dll typelib.dll16 enable_win16
17967 wine_fn_config_dll ucrtbase enable_ucrtbase
17968 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17969 wine_fn_config_dll unicows enable_unicows implib
17970 wine_fn_config_dll updspapi enable_updspapi
17971 wine_fn_config_dll url enable_url implib
17972 wine_fn_config_dll urlmon enable_urlmon clean,implib
17973 wine_fn_config_test dlls/urlmon/tests urlmon_test
17974 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17975 wine_fn_config_dll user.exe16 enable_win16
17976 wine_fn_config_dll user32 enable_user32 clean,implib
17977 wine_fn_config_test dlls/user32/tests user32_test
17978 wine_fn_config_dll userenv enable_userenv implib
17979 wine_fn_config_test dlls/userenv/tests userenv_test
17980 wine_fn_config_dll usp10 enable_usp10 implib
17981 wine_fn_config_test dlls/usp10/tests usp10_test
17982 wine_fn_config_lib uuid
17983 wine_fn_config_dll uxtheme enable_uxtheme implib
17984 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17985 wine_fn_config_dll vbscript enable_vbscript clean
17986 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17987 wine_fn_config_dll vcomp enable_vcomp
17988 wine_fn_config_test dlls/vcomp/tests vcomp_test
17989 wine_fn_config_dll vcomp100 enable_vcomp100
17990 wine_fn_config_dll vcomp110 enable_vcomp110
17991 wine_fn_config_dll vcomp120 enable_vcomp120
17992 wine_fn_config_dll vcomp90 enable_vcomp90
17993 wine_fn_config_dll vcruntime140 enable_vcruntime140
17994 wine_fn_config_dll vdhcp.vxd enable_win16
17995 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17996 wine_fn_config_dll ver.dll16 enable_win16
17997 wine_fn_config_dll version enable_version implib
17998 wine_fn_config_test dlls/version/tests version_test
17999 wine_fn_config_dll vmm.vxd enable_win16
18000 wine_fn_config_dll vnbt.vxd enable_win16
18001 wine_fn_config_dll vnetbios.vxd enable_win16
18002 wine_fn_config_dll vssapi enable_vssapi
18003 wine_fn_config_dll vtdapi.vxd enable_win16
18004 wine_fn_config_dll vwin32.vxd enable_win16
18005 wine_fn_config_dll w32skrnl enable_win16
18006 wine_fn_config_dll w32sys.dll16 enable_win16
18007 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18008 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18009 wine_fn_config_dll wbemprox enable_wbemprox clean
18010 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18011 wine_fn_config_dll webservices enable_webservices implib
18012 wine_fn_config_test dlls/webservices/tests webservices_test
18013 wine_fn_config_dll wer enable_wer implib
18014 wine_fn_config_test dlls/wer/tests wer_test
18015 wine_fn_config_dll wevtapi enable_wevtapi
18016 wine_fn_config_dll wiaservc enable_wiaservc clean
18017 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18018 wine_fn_config_dll wimgapi enable_wimgapi
18019 wine_fn_config_dll win32s16.dll16 enable_win16
18020 wine_fn_config_dll win87em.dll16 enable_win16
18021 wine_fn_config_dll winaspi.dll16 enable_win16
18022 wine_fn_config_dll windebug.dll16 enable_win16
18023 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18024 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18025 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18026 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18027 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18028 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18029 wine_fn_config_lib winecrt0
18030 wine_fn_config_dll wined3d enable_wined3d implib
18031 wine_fn_config_dll winegstreamer enable_winegstreamer
18032 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18033 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18034 wine_fn_config_dll winemapi enable_winemapi
18035 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18036 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18037 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18038 wine_fn_config_dll wineps16.drv16 enable_win16
18039 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18040 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18041 wine_fn_config_dll winex11.drv enable_winex11_drv
18042 wine_fn_config_dll wing.dll16 enable_win16
18043 wine_fn_config_dll wing32 enable_wing32
18044 wine_fn_config_dll winhttp enable_winhttp clean,implib
18045 wine_fn_config_test dlls/winhttp/tests winhttp_test
18046 wine_fn_config_dll wininet enable_wininet clean,implib
18047 wine_fn_config_test dlls/wininet/tests wininet_test
18048 wine_fn_config_dll winmm enable_winmm clean,implib
18049 wine_fn_config_test dlls/winmm/tests winmm_test
18050 wine_fn_config_dll winnls.dll16 enable_win16
18051 wine_fn_config_dll winnls32 enable_winnls32 implib
18052 wine_fn_config_dll winscard enable_winscard implib
18053 wine_fn_config_dll winsock.dll16 enable_win16
18054 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18055 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18056 wine_fn_config_dll winsta enable_winsta
18057 wine_fn_config_dll wintab.dll16 enable_win16
18058 wine_fn_config_dll wintab32 enable_wintab32 implib
18059 wine_fn_config_test dlls/wintab32/tests wintab32_test
18060 wine_fn_config_dll wintrust enable_wintrust implib
18061 wine_fn_config_test dlls/wintrust/tests wintrust_test
18062 wine_fn_config_dll wlanapi enable_wlanapi
18063 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18064 wine_fn_config_test dlls/wldap32/tests wldap32_test
18065 wine_fn_config_dll wmasf enable_wmasf
18066 wine_fn_config_dll wmi enable_wmi
18067 wine_fn_config_dll wmiutils enable_wmiutils clean
18068 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18069 wine_fn_config_dll wmp enable_wmp clean
18070 wine_fn_config_test dlls/wmp/tests wmp_test
18071 wine_fn_config_dll wmvcore enable_wmvcore
18072 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18073 wine_fn_config_dll wow32 enable_win16 implib
18074 wine_fn_config_dll wpcap enable_wpcap
18075 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18076 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18077 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18078 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18079 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18080 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18081 wine_fn_config_dll wsock32 enable_wsock32 implib
18082 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18083 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18084 wine_fn_config_dll wuapi enable_wuapi clean
18085 wine_fn_config_dll wuaueng enable_wuaueng
18086 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18087 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18088 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18089 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18090 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18091 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18092 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18093 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18094 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18095 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18096 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18097 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18098 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18099 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18100 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18101 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18102 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18103 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18104 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18105 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18106 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18107 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18108 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18109 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18110 wine_fn_config_dll xinput1_1 enable_xinput1_1
18111 wine_fn_config_dll xinput1_2 enable_xinput1_2
18112 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18113 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18114 wine_fn_config_dll xinput1_4 enable_xinput1_4
18115 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18116 wine_fn_config_dll xmllite enable_xmllite implib
18117 wine_fn_config_test dlls/xmllite/tests xmllite_test
18118 wine_fn_config_dll xolehlp enable_xolehlp
18119 wine_fn_config_dll xpsprint enable_xpsprint
18120 wine_fn_config_dll xpssvcs enable_xpssvcs
18121 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18122 wine_fn_config_makefile include enable_include clean,install-dev
18123 wine_fn_config_makefile libs/port enable_libs_port
18124 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18125 wine_fn_config_makefile libs/wpp enable_libs_wpp
18126 wine_fn_config_makefile loader enable_loader clean,install-lib
18127 wine_fn_config_makefile po enable_po clean
18128 wine_fn_config_program arp enable_arp install
18129 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18130 wine_fn_config_program attrib enable_attrib clean,install
18131 wine_fn_config_program cabarc enable_cabarc install
18132 wine_fn_config_program cacls enable_cacls install
18133 wine_fn_config_program clock enable_clock clean,install
18134 wine_fn_config_program cmd enable_cmd clean,install
18135 wine_fn_config_test programs/cmd/tests cmd.exe_test
18136 wine_fn_config_program conhost enable_conhost install
18137 wine_fn_config_program control enable_control install
18138 wine_fn_config_program cscript enable_cscript clean,install
18139 wine_fn_config_program dpnsvr enable_dpnsvr install
18140 wine_fn_config_program dxdiag enable_dxdiag clean,install
18141 wine_fn_config_program eject enable_eject install
18142 wine_fn_config_program expand enable_expand install
18143 wine_fn_config_program explorer enable_explorer clean,install
18144 wine_fn_config_program extrac32 enable_extrac32 install
18145 wine_fn_config_program findstr enable_findstr install
18146 wine_fn_config_program hh enable_hh install
18147 wine_fn_config_program hostname enable_hostname clean,install
18148 wine_fn_config_program icacls enable_icacls install
18149 wine_fn_config_program icinfo enable_icinfo install
18150 wine_fn_config_program iexplore enable_iexplore install
18151 wine_fn_config_program ipconfig enable_ipconfig clean,install
18152 wine_fn_config_program lodctr enable_lodctr install
18153 wine_fn_config_program mofcomp enable_mofcomp install
18154 wine_fn_config_program mshta enable_mshta install
18155 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18156 wine_fn_config_program net enable_net clean,install
18157 wine_fn_config_program netsh enable_netsh install
18158 wine_fn_config_program netstat enable_netstat clean,install
18159 wine_fn_config_program ngen enable_ngen install
18160 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18161 wine_fn_config_program oleview enable_oleview clean,install
18162 wine_fn_config_program ping enable_ping install
18163 wine_fn_config_program plugplay enable_plugplay install
18164 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18165 wine_fn_config_program progman enable_progman clean,install
18166 wine_fn_config_program reg enable_reg clean,install
18167 wine_fn_config_test programs/reg/tests reg.exe_test
18168 wine_fn_config_program regasm enable_regasm install
18169 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18170 wine_fn_config_test programs/regedit/tests regedit.exe_test
18171 wine_fn_config_program regsvcs enable_regsvcs install
18172 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18173 wine_fn_config_program rpcss enable_rpcss clean,install
18174 wine_fn_config_program rundll.exe16 enable_win16 install
18175 wine_fn_config_program rundll32 enable_rundll32 install
18176 wine_fn_config_program sc enable_sc install
18177 wine_fn_config_program schtasks enable_schtasks install
18178 wine_fn_config_program sdbinst enable_sdbinst install
18179 wine_fn_config_program secedit enable_secedit install
18180 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18181 wine_fn_config_program services enable_services clean,install
18182 wine_fn_config_test programs/services/tests services.exe_test
18183 wine_fn_config_program shutdown enable_shutdown install
18184 wine_fn_config_program spoolsv enable_spoolsv install
18185 wine_fn_config_program start enable_start clean,install
18186 wine_fn_config_program svchost enable_svchost install
18187 wine_fn_config_program systeminfo enable_systeminfo install
18188 wine_fn_config_program taskkill enable_taskkill clean,install
18189 wine_fn_config_program tasklist enable_tasklist install
18190 wine_fn_config_program taskmgr enable_taskmgr clean,install
18191 wine_fn_config_program termsv enable_termsv install
18192 wine_fn_config_program uninstaller enable_uninstaller clean,install
18193 wine_fn_config_program unlodctr enable_unlodctr install
18194 wine_fn_config_program view enable_view clean,install
18195 wine_fn_config_program wevtutil enable_wevtutil install
18196 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18197 wine_fn_config_program winebrowser enable_winebrowser install
18198 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18199 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18200 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18201 wine_fn_config_program winedevice enable_winedevice install
18202 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18203 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18204 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18205 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18206 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18207 wine_fn_config_program winetest enable_winetest clean
18208 wine_fn_config_program winevdm enable_win16 install
18209 wine_fn_config_program winhelp.exe16 enable_win16 install
18210 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18211 wine_fn_config_program winoldap.mod16 enable_win16 install
18212 wine_fn_config_program winver enable_winver install
18213 wine_fn_config_program wmic enable_wmic clean,install
18214 wine_fn_config_program wmplayer enable_wmplayer install
18215 wine_fn_config_program wordpad enable_wordpad clean,install
18216 wine_fn_config_program write enable_write clean,install
18217 wine_fn_config_program wscript enable_wscript clean,install
18218 wine_fn_config_test programs/wscript/tests wscript.exe_test
18219 wine_fn_config_program wusa enable_wusa install
18220 wine_fn_config_program xcopy enable_xcopy clean,install
18221 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18222 wine_fn_config_makefile server enable_server clean,install-lib
18223 wine_fn_config_tool tools clean
18224 wine_fn_config_tool tools/sfnt2fon clean
18225 wine_fn_config_tool tools/widl clean,install-dev
18226 wine_fn_config_tool tools/winebuild clean,install-dev
18227 wine_fn_config_tool tools/winedump clean,install-dev
18228 wine_fn_config_tool tools/winegcc clean,install-dev
18229 wine_fn_config_tool tools/winemaker clean,install-dev
18230 wine_fn_config_tool tools/wmc clean,install-dev
18231 wine_fn_config_tool tools/wrc clean,install-dev
18234 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18235 wine_fn_append_file CONFIGURE_TARGETS "tags"
18236 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18237 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18238 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18239 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18240 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18241 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18243 if test "x$enable_tools" != xno
18244 then
18245 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18246 ac_config_commands="$ac_config_commands tools/makedep"
18250 ac_config_commands="$ac_config_commands Makefile"
18253 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18257 if test "x$enable_maintainer_mode" = xyes
18258 then
18259 wine_fn_append_rule "configure: configure.ac aclocal.m4
18260 autoconf --warnings=all
18261 include/config.h.in: include/stamp-h.in
18262 include/stamp-h.in: configure.ac aclocal.m4
18263 autoheader --warnings=all
18264 @echo timestamp > \$@"
18267 if test "x$enable_tools" != xno
18268 then
18269 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18270 @./config.status tools/makedep
18271 Makefile: tools/makedep$ac_exeext"
18272 else
18273 wine_fn_append_rule "\$(MAKEDEP):
18274 @echo \"You need to run make in $TOOLSDIR first\" && false"
18277 if test -n "$with_wine64"
18278 then
18279 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18280 fonts server:
18281 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18282 $with_wine64/loader/wine:
18283 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18284 $with_wine64/loader/wine-preloader:
18285 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18286 clean::
18287 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18288 else
18289 WINELOADER_INSTALL="wine.inf"
18291 wine_fn_append_rule "install install-lib::
18292 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18293 uninstall::
18294 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18295 case $host_os in
18296 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18297 *) wine_fn_append_rule "install install-lib::
18298 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18299 uninstall::
18300 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18301 esac
18304 $as_echo " done" >&6
18305 cat >confcache <<\_ACEOF
18306 # This file is a shell script that caches the results of configure
18307 # tests run on this system so they can be shared between configure
18308 # scripts and configure runs, see configure's option --config-cache.
18309 # It is not useful on other systems. If it contains results you don't
18310 # want to keep, you may remove or edit it.
18312 # config.status only pays attention to the cache file if you give it
18313 # the --recheck option to rerun configure.
18315 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18316 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18317 # following values.
18319 _ACEOF
18321 # The following way of writing the cache mishandles newlines in values,
18322 # but we know of no workaround that is simple, portable, and efficient.
18323 # So, we kill variables containing newlines.
18324 # Ultrix sh set writes to stderr and can't be redirected directly,
18325 # and sets the high bit in the cache file unless we assign to the vars.
18327 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18328 eval ac_val=\$$ac_var
18329 case $ac_val in #(
18330 *${as_nl}*)
18331 case $ac_var in #(
18332 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18333 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18334 esac
18335 case $ac_var in #(
18336 _ | IFS | as_nl) ;; #(
18337 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18338 *) { eval $ac_var=; unset $ac_var;} ;;
18339 esac ;;
18340 esac
18341 done
18343 (set) 2>&1 |
18344 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18345 *${as_nl}ac_space=\ *)
18346 # `set' does not quote correctly, so add quotes: double-quote
18347 # substitution turns \\\\ into \\, and sed turns \\ into \.
18348 sed -n \
18349 "s/'/'\\\\''/g;
18350 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18351 ;; #(
18353 # `set' quotes correctly as required by POSIX, so do not add quotes.
18354 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18356 esac |
18357 sort
18359 sed '
18360 /^ac_cv_env_/b end
18361 t clear
18362 :clear
18363 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18364 t end
18365 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18366 :end' >>confcache
18367 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18368 if test -w "$cache_file"; then
18369 if test "x$cache_file" != "x/dev/null"; then
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18371 $as_echo "$as_me: updating cache $cache_file" >&6;}
18372 if test ! -f "$cache_file" || test -h "$cache_file"; then
18373 cat confcache >"$cache_file"
18374 else
18375 case $cache_file in #(
18376 */* | ?:*)
18377 mv -f confcache "$cache_file"$$ &&
18378 mv -f "$cache_file"$$ "$cache_file" ;; #(
18380 mv -f confcache "$cache_file" ;;
18381 esac
18384 else
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18386 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18389 rm -f confcache
18391 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18392 # Let make expand exec_prefix.
18393 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18395 DEFS=-DHAVE_CONFIG_H
18397 ac_libobjs=
18398 ac_ltlibobjs=
18400 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18401 # 1. Remove the extension, and $U if already installed.
18402 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18403 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18404 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18405 # will be set to the directory where LIBOBJS objects are built.
18406 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18407 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18408 done
18409 LIBOBJS=$ac_libobjs
18411 LTLIBOBJS=$ac_ltlibobjs
18415 : "${CONFIG_STATUS=./config.status}"
18416 ac_write_fail=0
18417 ac_clean_files_save=$ac_clean_files
18418 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18420 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18421 as_write_fail=0
18422 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18423 #! $SHELL
18424 # Generated by $as_me.
18425 # Run this file to recreate the current configuration.
18426 # Compiler output produced by configure, useful for debugging
18427 # configure, is in config.log if it exists.
18429 debug=false
18430 ac_cs_recheck=false
18431 ac_cs_silent=false
18433 SHELL=\${CONFIG_SHELL-$SHELL}
18434 export SHELL
18435 _ASEOF
18436 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18437 ## -------------------- ##
18438 ## M4sh Initialization. ##
18439 ## -------------------- ##
18441 # Be more Bourne compatible
18442 DUALCASE=1; export DUALCASE # for MKS sh
18443 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18444 emulate sh
18445 NULLCMD=:
18446 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18447 # is contrary to our usage. Disable this feature.
18448 alias -g '${1+"$@"}'='"$@"'
18449 setopt NO_GLOB_SUBST
18450 else
18451 case `(set -o) 2>/dev/null` in #(
18452 *posix*) :
18453 set -o posix ;; #(
18454 *) :
18456 esac
18460 as_nl='
18462 export as_nl
18463 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18464 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18465 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18466 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18467 # Prefer a ksh shell builtin over an external printf program on Solaris,
18468 # but without wasting forks for bash or zsh.
18469 if test -z "$BASH_VERSION$ZSH_VERSION" \
18470 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18471 as_echo='print -r --'
18472 as_echo_n='print -rn --'
18473 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18474 as_echo='printf %s\n'
18475 as_echo_n='printf %s'
18476 else
18477 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18478 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18479 as_echo_n='/usr/ucb/echo -n'
18480 else
18481 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18482 as_echo_n_body='eval
18483 arg=$1;
18484 case $arg in #(
18485 *"$as_nl"*)
18486 expr "X$arg" : "X\\(.*\\)$as_nl";
18487 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18488 esac;
18489 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18491 export as_echo_n_body
18492 as_echo_n='sh -c $as_echo_n_body as_echo'
18494 export as_echo_body
18495 as_echo='sh -c $as_echo_body as_echo'
18498 # The user is always right.
18499 if test "${PATH_SEPARATOR+set}" != set; then
18500 PATH_SEPARATOR=:
18501 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18502 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18503 PATH_SEPARATOR=';'
18508 # IFS
18509 # We need space, tab and new line, in precisely that order. Quoting is
18510 # there to prevent editors from complaining about space-tab.
18511 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18512 # splitting by setting IFS to empty value.)
18513 IFS=" "" $as_nl"
18515 # Find who we are. Look in the path if we contain no directory separator.
18516 as_myself=
18517 case $0 in #((
18518 *[\\/]* ) as_myself=$0 ;;
18519 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18520 for as_dir in $PATH
18522 IFS=$as_save_IFS
18523 test -z "$as_dir" && as_dir=.
18524 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18525 done
18526 IFS=$as_save_IFS
18529 esac
18530 # We did not find ourselves, most probably we were run as `sh COMMAND'
18531 # in which case we are not to be found in the path.
18532 if test "x$as_myself" = x; then
18533 as_myself=$0
18535 if test ! -f "$as_myself"; then
18536 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18537 exit 1
18540 # Unset variables that we do not need and which cause bugs (e.g. in
18541 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18542 # suppresses any "Segmentation fault" message there. '((' could
18543 # trigger a bug in pdksh 5.2.14.
18544 for as_var in BASH_ENV ENV MAIL MAILPATH
18545 do eval test x\${$as_var+set} = xset \
18546 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18547 done
18548 PS1='$ '
18549 PS2='> '
18550 PS4='+ '
18552 # NLS nuisances.
18553 LC_ALL=C
18554 export LC_ALL
18555 LANGUAGE=C
18556 export LANGUAGE
18558 # CDPATH.
18559 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18562 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18563 # ----------------------------------------
18564 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18565 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18566 # script with STATUS, using 1 if that was 0.
18567 as_fn_error ()
18569 as_status=$1; test $as_status -eq 0 && as_status=1
18570 if test "$4"; then
18571 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18572 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18574 $as_echo "$as_me: error: $2" >&2
18575 as_fn_exit $as_status
18576 } # as_fn_error
18579 # as_fn_set_status STATUS
18580 # -----------------------
18581 # Set $? to STATUS, without forking.
18582 as_fn_set_status ()
18584 return $1
18585 } # as_fn_set_status
18587 # as_fn_exit STATUS
18588 # -----------------
18589 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18590 as_fn_exit ()
18592 set +e
18593 as_fn_set_status $1
18594 exit $1
18595 } # as_fn_exit
18597 # as_fn_unset VAR
18598 # ---------------
18599 # Portably unset VAR.
18600 as_fn_unset ()
18602 { eval $1=; unset $1;}
18604 as_unset=as_fn_unset
18605 # as_fn_append VAR VALUE
18606 # ----------------------
18607 # Append the text in VALUE to the end of the definition contained in VAR. Take
18608 # advantage of any shell optimizations that allow amortized linear growth over
18609 # repeated appends, instead of the typical quadratic growth present in naive
18610 # implementations.
18611 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18612 eval 'as_fn_append ()
18614 eval $1+=\$2
18616 else
18617 as_fn_append ()
18619 eval $1=\$$1\$2
18621 fi # as_fn_append
18623 # as_fn_arith ARG...
18624 # ------------------
18625 # Perform arithmetic evaluation on the ARGs, and store the result in the
18626 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18627 # must be portable across $(()) and expr.
18628 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18629 eval 'as_fn_arith ()
18631 as_val=$(( $* ))
18633 else
18634 as_fn_arith ()
18636 as_val=`expr "$@" || test $? -eq 1`
18638 fi # as_fn_arith
18641 if expr a : '\(a\)' >/dev/null 2>&1 &&
18642 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18643 as_expr=expr
18644 else
18645 as_expr=false
18648 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18649 as_basename=basename
18650 else
18651 as_basename=false
18654 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18655 as_dirname=dirname
18656 else
18657 as_dirname=false
18660 as_me=`$as_basename -- "$0" ||
18661 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18662 X"$0" : 'X\(//\)$' \| \
18663 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18664 $as_echo X/"$0" |
18665 sed '/^.*\/\([^/][^/]*\)\/*$/{
18666 s//\1/
18669 /^X\/\(\/\/\)$/{
18670 s//\1/
18673 /^X\/\(\/\).*/{
18674 s//\1/
18677 s/.*/./; q'`
18679 # Avoid depending upon Character Ranges.
18680 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18681 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18682 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18683 as_cr_digits='0123456789'
18684 as_cr_alnum=$as_cr_Letters$as_cr_digits
18686 ECHO_C= ECHO_N= ECHO_T=
18687 case `echo -n x` in #(((((
18688 -n*)
18689 case `echo 'xy\c'` in
18690 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18691 xy) ECHO_C='\c';;
18692 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18693 ECHO_T=' ';;
18694 esac;;
18696 ECHO_N='-n';;
18697 esac
18699 rm -f conf$$ conf$$.exe conf$$.file
18700 if test -d conf$$.dir; then
18701 rm -f conf$$.dir/conf$$.file
18702 else
18703 rm -f conf$$.dir
18704 mkdir conf$$.dir 2>/dev/null
18706 if (echo >conf$$.file) 2>/dev/null; then
18707 if ln -s conf$$.file conf$$ 2>/dev/null; then
18708 as_ln_s='ln -s'
18709 # ... but there are two gotchas:
18710 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18711 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18712 # In both cases, we have to default to `cp -pR'.
18713 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18714 as_ln_s='cp -pR'
18715 elif ln conf$$.file conf$$ 2>/dev/null; then
18716 as_ln_s=ln
18717 else
18718 as_ln_s='cp -pR'
18720 else
18721 as_ln_s='cp -pR'
18723 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18724 rmdir conf$$.dir 2>/dev/null
18727 # as_fn_mkdir_p
18728 # -------------
18729 # Create "$as_dir" as a directory, including parents if necessary.
18730 as_fn_mkdir_p ()
18733 case $as_dir in #(
18734 -*) as_dir=./$as_dir;;
18735 esac
18736 test -d "$as_dir" || eval $as_mkdir_p || {
18737 as_dirs=
18738 while :; do
18739 case $as_dir in #(
18740 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18741 *) as_qdir=$as_dir;;
18742 esac
18743 as_dirs="'$as_qdir' $as_dirs"
18744 as_dir=`$as_dirname -- "$as_dir" ||
18745 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18746 X"$as_dir" : 'X\(//\)[^/]' \| \
18747 X"$as_dir" : 'X\(//\)$' \| \
18748 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18749 $as_echo X"$as_dir" |
18750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18751 s//\1/
18754 /^X\(\/\/\)[^/].*/{
18755 s//\1/
18758 /^X\(\/\/\)$/{
18759 s//\1/
18762 /^X\(\/\).*/{
18763 s//\1/
18766 s/.*/./; q'`
18767 test -d "$as_dir" && break
18768 done
18769 test -z "$as_dirs" || eval "mkdir $as_dirs"
18770 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18773 } # as_fn_mkdir_p
18774 if mkdir -p . 2>/dev/null; then
18775 as_mkdir_p='mkdir -p "$as_dir"'
18776 else
18777 test -d ./-p && rmdir ./-p
18778 as_mkdir_p=false
18782 # as_fn_executable_p FILE
18783 # -----------------------
18784 # Test if FILE is an executable regular file.
18785 as_fn_executable_p ()
18787 test -f "$1" && test -x "$1"
18788 } # as_fn_executable_p
18789 as_test_x='test -x'
18790 as_executable_p=as_fn_executable_p
18792 # Sed expression to map a string onto a valid CPP name.
18793 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18795 # Sed expression to map a string onto a valid variable name.
18796 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18799 exec 6>&1
18800 ## ----------------------------------- ##
18801 ## Main body of $CONFIG_STATUS script. ##
18802 ## ----------------------------------- ##
18803 _ASEOF
18804 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18807 # Save the log message, to keep $0 and so on meaningful, and to
18808 # report actual input values of CONFIG_FILES etc. instead of their
18809 # values after options handling.
18810 ac_log="
18811 This file was extended by Wine $as_me 1.9.6, which was
18812 generated by GNU Autoconf 2.69. Invocation command line was
18814 CONFIG_FILES = $CONFIG_FILES
18815 CONFIG_HEADERS = $CONFIG_HEADERS
18816 CONFIG_LINKS = $CONFIG_LINKS
18817 CONFIG_COMMANDS = $CONFIG_COMMANDS
18818 $ $0 $@
18820 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18823 _ACEOF
18825 case $ac_config_files in *"
18826 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18827 esac
18829 case $ac_config_headers in *"
18830 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18831 esac
18834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18835 # Files that config.status was made for.
18836 config_files="$ac_config_files"
18837 config_headers="$ac_config_headers"
18838 config_links="$ac_config_links"
18839 config_commands="$ac_config_commands"
18841 _ACEOF
18843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18844 ac_cs_usage="\
18845 \`$as_me' instantiates files and other configuration actions
18846 from templates according to the current configuration. Unless the files
18847 and actions are specified as TAGs, all are instantiated by default.
18849 Usage: $0 [OPTION]... [TAG]...
18851 -h, --help print this help, then exit
18852 -V, --version print version number and configuration settings, then exit
18853 --config print configuration, then exit
18854 -q, --quiet, --silent
18855 do not print progress messages
18856 -d, --debug don't remove temporary files
18857 --recheck update $as_me by reconfiguring in the same conditions
18858 --file=FILE[:TEMPLATE]
18859 instantiate the configuration file FILE
18860 --header=FILE[:TEMPLATE]
18861 instantiate the configuration header FILE
18863 Configuration files:
18864 $config_files
18866 Configuration headers:
18867 $config_headers
18869 Configuration links:
18870 $config_links
18872 Configuration commands:
18873 $config_commands
18875 Report bugs to <wine-devel@winehq.org>.
18876 Wine home page: <http://www.winehq.org>."
18878 _ACEOF
18879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18880 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18881 ac_cs_version="\\
18882 Wine config.status 1.9.6
18883 configured by $0, generated by GNU Autoconf 2.69,
18884 with options \\"\$ac_cs_config\\"
18886 Copyright (C) 2012 Free Software Foundation, Inc.
18887 This config.status script is free software; the Free Software Foundation
18888 gives unlimited permission to copy, distribute and modify it."
18890 ac_pwd='$ac_pwd'
18891 srcdir='$srcdir'
18892 test -n "\$AWK" || AWK=awk
18893 _ACEOF
18895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18896 # The default lists apply if the user does not specify any file.
18897 ac_need_defaults=:
18898 while test $# != 0
18900 case $1 in
18901 --*=?*)
18902 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18903 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18904 ac_shift=:
18906 --*=)
18907 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18908 ac_optarg=
18909 ac_shift=:
18912 ac_option=$1
18913 ac_optarg=$2
18914 ac_shift=shift
18916 esac
18918 case $ac_option in
18919 # Handling of the options.
18920 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18921 ac_cs_recheck=: ;;
18922 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18923 $as_echo "$ac_cs_version"; exit ;;
18924 --config | --confi | --conf | --con | --co | --c )
18925 $as_echo "$ac_cs_config"; exit ;;
18926 --debug | --debu | --deb | --de | --d | -d )
18927 debug=: ;;
18928 --file | --fil | --fi | --f )
18929 $ac_shift
18930 case $ac_optarg in
18931 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18932 '') as_fn_error $? "missing file argument" ;;
18933 esac
18934 as_fn_append CONFIG_FILES " '$ac_optarg'"
18935 ac_need_defaults=false;;
18936 --header | --heade | --head | --hea )
18937 $ac_shift
18938 case $ac_optarg in
18939 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18940 esac
18941 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18942 ac_need_defaults=false;;
18943 --he | --h)
18944 # Conflict between --help and --header
18945 as_fn_error $? "ambiguous option: \`$1'
18946 Try \`$0 --help' for more information.";;
18947 --help | --hel | -h )
18948 $as_echo "$ac_cs_usage"; exit ;;
18949 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18950 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18951 ac_cs_silent=: ;;
18953 # This is an error.
18954 -*) as_fn_error $? "unrecognized option: \`$1'
18955 Try \`$0 --help' for more information." ;;
18957 *) as_fn_append ac_config_targets " $1"
18958 ac_need_defaults=false ;;
18960 esac
18961 shift
18962 done
18964 ac_configure_extra_args=
18966 if $ac_cs_silent; then
18967 exec 6>/dev/null
18968 ac_configure_extra_args="$ac_configure_extra_args --silent"
18971 _ACEOF
18972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18973 if \$ac_cs_recheck; then
18974 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18975 shift
18976 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18977 CONFIG_SHELL='$SHELL'
18978 export CONFIG_SHELL
18979 exec "\$@"
18982 _ACEOF
18983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18984 exec 5>>config.log
18986 echo
18987 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18988 ## Running $as_me. ##
18989 _ASBOX
18990 $as_echo "$ac_log"
18991 } >&5
18993 _ACEOF
18994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18996 # INIT-COMMANDS
18998 wine_fn_output_makedep ()
19000 as_dir=tools; as_fn_mkdir_p
19001 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19003 wine_fn_output_makefile ()
19005 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19006 `cat $wine_rules_file`
19007 _WINE_EOF
19008 as_fn_error $? "could not create Makefile" "$LINENO" 5
19011 _ACEOF
19013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19015 # Handling of arguments.
19016 for ac_config_target in $ac_config_targets
19018 case $ac_config_target in
19019 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19020 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19021 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19022 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19023 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19024 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19025 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19026 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19027 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19028 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19029 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19030 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19031 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19033 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19034 esac
19035 done
19038 # If the user did not use the arguments to specify the items to instantiate,
19039 # then the envvar interface is used. Set only those that are not.
19040 # We use the long form for the default assignment because of an extremely
19041 # bizarre bug on SunOS 4.1.3.
19042 if $ac_need_defaults; then
19043 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19044 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19045 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19046 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19049 # Have a temporary directory for convenience. Make it in the build tree
19050 # simply because there is no reason against having it here, and in addition,
19051 # creating and moving files from /tmp can sometimes cause problems.
19052 # Hook for its removal unless debugging.
19053 # Note that there is a small window in which the directory will not be cleaned:
19054 # after its creation but before its name has been assigned to `$tmp'.
19055 $debug ||
19057 tmp= ac_tmp=
19058 trap 'exit_status=$?
19059 : "${ac_tmp:=$tmp}"
19060 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19062 trap 'as_fn_exit 1' 1 2 13 15
19064 # Create a (secure) tmp directory for tmp files.
19067 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19068 test -d "$tmp"
19069 } ||
19071 tmp=./conf$$-$RANDOM
19072 (umask 077 && mkdir "$tmp")
19073 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19074 ac_tmp=$tmp
19076 # Set up the scripts for CONFIG_FILES section.
19077 # No need to generate them if there are no CONFIG_FILES.
19078 # This happens for instance with `./config.status config.h'.
19079 if test -n "$CONFIG_FILES"; then
19082 ac_cr=`echo X | tr X '\015'`
19083 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19084 # But we know of no other shell where ac_cr would be empty at this
19085 # point, so we can use a bashism as a fallback.
19086 if test "x$ac_cr" = x; then
19087 eval ac_cr=\$\'\\r\'
19089 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19090 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19091 ac_cs_awk_cr='\\r'
19092 else
19093 ac_cs_awk_cr=$ac_cr
19096 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19097 _ACEOF
19101 echo "cat >conf$$subs.awk <<_ACEOF" &&
19102 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19103 echo "_ACEOF"
19104 } >conf$$subs.sh ||
19105 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19106 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19107 ac_delim='%!_!# '
19108 for ac_last_try in false false false false false :; do
19109 . ./conf$$subs.sh ||
19110 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19112 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19113 if test $ac_delim_n = $ac_delim_num; then
19114 break
19115 elif $ac_last_try; then
19116 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19117 else
19118 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19120 done
19121 rm -f conf$$subs.sh
19123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19124 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19125 _ACEOF
19126 sed -n '
19128 s/^/S["/; s/!.*/"]=/
19131 s/^[^!]*!//
19132 :repl
19133 t repl
19134 s/'"$ac_delim"'$//
19135 t delim
19138 s/\(.\{148\}\)..*/\1/
19139 t more1
19140 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19143 b repl
19144 :more1
19145 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19148 s/.\{148\}//
19149 t nl
19150 :delim
19152 s/\(.\{148\}\)..*/\1/
19153 t more2
19154 s/["\\]/\\&/g; s/^/"/; s/$/"/
19157 :more2
19158 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19161 s/.\{148\}//
19162 t delim
19163 ' <conf$$subs.awk | sed '
19164 /^[^""]/{
19166 s/\n//
19168 ' >>$CONFIG_STATUS || ac_write_fail=1
19169 rm -f conf$$subs.awk
19170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19171 _ACAWK
19172 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19173 for (key in S) S_is_set[key] = 1
19174 FS = "\a"
19178 line = $ 0
19179 nfields = split(line, field, "@")
19180 substed = 0
19181 len = length(field[1])
19182 for (i = 2; i < nfields; i++) {
19183 key = field[i]
19184 keylen = length(key)
19185 if (S_is_set[key]) {
19186 value = S[key]
19187 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19188 len += length(value) + length(field[++i])
19189 substed = 1
19190 } else
19191 len += 1 + keylen
19194 print line
19197 _ACAWK
19198 _ACEOF
19199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19200 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19201 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19202 else
19204 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19205 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19206 _ACEOF
19208 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19209 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19210 # trailing colons and then remove the whole line if VPATH becomes empty
19211 # (actually we leave an empty line to preserve line numbers).
19212 if test "x$srcdir" = x.; then
19213 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19215 s///
19216 s/^/:/
19217 s/[ ]*$/:/
19218 s/:\$(srcdir):/:/g
19219 s/:\${srcdir}:/:/g
19220 s/:@srcdir@:/:/g
19221 s/^:*//
19222 s/:*$//
19224 s/\(=[ ]*\).*/\1/
19226 s/\n//
19227 s/^[^=]*=[ ]*$//
19231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19232 fi # test -n "$CONFIG_FILES"
19234 # Set up the scripts for CONFIG_HEADERS section.
19235 # No need to generate them if there are no CONFIG_HEADERS.
19236 # This happens for instance with `./config.status Makefile'.
19237 if test -n "$CONFIG_HEADERS"; then
19238 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19239 BEGIN {
19240 _ACEOF
19242 # Transform confdefs.h into an awk script `defines.awk', embedded as
19243 # here-document in config.status, that substitutes the proper values into
19244 # config.h.in to produce config.h.
19246 # Create a delimiter string that does not exist in confdefs.h, to ease
19247 # handling of long lines.
19248 ac_delim='%!_!# '
19249 for ac_last_try in false false :; do
19250 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19251 if test -z "$ac_tt"; then
19252 break
19253 elif $ac_last_try; then
19254 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19255 else
19256 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19258 done
19260 # For the awk script, D is an array of macro values keyed by name,
19261 # likewise P contains macro parameters if any. Preserve backslash
19262 # newline sequences.
19264 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19265 sed -n '
19266 s/.\{148\}/&'"$ac_delim"'/g
19267 t rset
19268 :rset
19269 s/^[ ]*#[ ]*define[ ][ ]*/ /
19270 t def
19272 :def
19273 s/\\$//
19274 t bsnl
19275 s/["\\]/\\&/g
19276 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19277 D["\1"]=" \3"/p
19278 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19280 :bsnl
19281 s/["\\]/\\&/g
19282 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19283 D["\1"]=" \3\\\\\\n"\\/p
19284 t cont
19285 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19286 t cont
19288 :cont
19290 s/.\{148\}/&'"$ac_delim"'/g
19291 t clear
19292 :clear
19293 s/\\$//
19294 t bsnlc
19295 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19297 :bsnlc
19298 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19299 b cont
19300 ' <confdefs.h | sed '
19301 s/'"$ac_delim"'/"\\\
19302 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19305 for (key in D) D_is_set[key] = 1
19306 FS = "\a"
19308 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19309 line = \$ 0
19310 split(line, arg, " ")
19311 if (arg[1] == "#") {
19312 defundef = arg[2]
19313 mac1 = arg[3]
19314 } else {
19315 defundef = substr(arg[1], 2)
19316 mac1 = arg[2]
19318 split(mac1, mac2, "(") #)
19319 macro = mac2[1]
19320 prefix = substr(line, 1, index(line, defundef) - 1)
19321 if (D_is_set[macro]) {
19322 # Preserve the white space surrounding the "#".
19323 print prefix "define", macro P[macro] D[macro]
19324 next
19325 } else {
19326 # Replace #undef with comments. This is necessary, for example,
19327 # in the case of _POSIX_SOURCE, which is predefined and required
19328 # on some systems where configure will not decide to define it.
19329 if (defundef == "undef") {
19330 print "/*", prefix defundef, macro, "*/"
19331 next
19335 { print }
19336 _ACAWK
19337 _ACEOF
19338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19339 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19340 fi # test -n "$CONFIG_HEADERS"
19343 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19344 shift
19345 for ac_tag
19347 case $ac_tag in
19348 :[FHLC]) ac_mode=$ac_tag; continue;;
19349 esac
19350 case $ac_mode$ac_tag in
19351 :[FHL]*:*);;
19352 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19353 :[FH]-) ac_tag=-:-;;
19354 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19355 esac
19356 ac_save_IFS=$IFS
19357 IFS=:
19358 set x $ac_tag
19359 IFS=$ac_save_IFS
19360 shift
19361 ac_file=$1
19362 shift
19364 case $ac_mode in
19365 :L) ac_source=$1;;
19366 :[FH])
19367 ac_file_inputs=
19368 for ac_f
19370 case $ac_f in
19371 -) ac_f="$ac_tmp/stdin";;
19372 *) # Look for the file first in the build tree, then in the source tree
19373 # (if the path is not absolute). The absolute path cannot be DOS-style,
19374 # because $ac_f cannot contain `:'.
19375 test -f "$ac_f" ||
19376 case $ac_f in
19377 [\\/$]*) false;;
19378 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19379 esac ||
19380 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19381 esac
19382 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19383 as_fn_append ac_file_inputs " '$ac_f'"
19384 done
19386 # Let's still pretend it is `configure' which instantiates (i.e., don't
19387 # use $as_me), people would be surprised to read:
19388 # /* config.h. Generated by config.status. */
19389 configure_input='Generated from '`
19390 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19391 `' by configure.'
19392 if test x"$ac_file" != x-; then
19393 configure_input="$ac_file. $configure_input"
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19395 $as_echo "$as_me: creating $ac_file" >&6;}
19397 # Neutralize special characters interpreted by sed in replacement strings.
19398 case $configure_input in #(
19399 *\&* | *\|* | *\\* )
19400 ac_sed_conf_input=`$as_echo "$configure_input" |
19401 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19402 *) ac_sed_conf_input=$configure_input;;
19403 esac
19405 case $ac_tag in
19406 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19407 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19408 esac
19410 esac
19412 ac_dir=`$as_dirname -- "$ac_file" ||
19413 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19414 X"$ac_file" : 'X\(//\)[^/]' \| \
19415 X"$ac_file" : 'X\(//\)$' \| \
19416 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19417 $as_echo X"$ac_file" |
19418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19419 s//\1/
19422 /^X\(\/\/\)[^/].*/{
19423 s//\1/
19426 /^X\(\/\/\)$/{
19427 s//\1/
19430 /^X\(\/\).*/{
19431 s//\1/
19434 s/.*/./; q'`
19435 as_dir="$ac_dir"; as_fn_mkdir_p
19436 ac_builddir=.
19438 case "$ac_dir" in
19439 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19441 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19442 # A ".." for each directory in $ac_dir_suffix.
19443 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19444 case $ac_top_builddir_sub in
19445 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19446 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19447 esac ;;
19448 esac
19449 ac_abs_top_builddir=$ac_pwd
19450 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19451 # for backward compatibility:
19452 ac_top_builddir=$ac_top_build_prefix
19454 case $srcdir in
19455 .) # We are building in place.
19456 ac_srcdir=.
19457 ac_top_srcdir=$ac_top_builddir_sub
19458 ac_abs_top_srcdir=$ac_pwd ;;
19459 [\\/]* | ?:[\\/]* ) # Absolute name.
19460 ac_srcdir=$srcdir$ac_dir_suffix;
19461 ac_top_srcdir=$srcdir
19462 ac_abs_top_srcdir=$srcdir ;;
19463 *) # Relative name.
19464 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19465 ac_top_srcdir=$ac_top_build_prefix$srcdir
19466 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19467 esac
19468 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19471 case $ac_mode in
19474 # CONFIG_FILE
19477 _ACEOF
19479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19480 # If the template does not know about datarootdir, expand it.
19481 # FIXME: This hack should be removed a few years after 2.60.
19482 ac_datarootdir_hack=; ac_datarootdir_seen=
19483 ac_sed_dataroot='
19484 /datarootdir/ {
19488 /@datadir@/p
19489 /@docdir@/p
19490 /@infodir@/p
19491 /@localedir@/p
19492 /@mandir@/p'
19493 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19494 *datarootdir*) ac_datarootdir_seen=yes;;
19495 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19497 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19498 _ACEOF
19499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19500 ac_datarootdir_hack='
19501 s&@datadir@&$datadir&g
19502 s&@docdir@&$docdir&g
19503 s&@infodir@&$infodir&g
19504 s&@localedir@&$localedir&g
19505 s&@mandir@&$mandir&g
19506 s&\\\${datarootdir}&$datarootdir&g' ;;
19507 esac
19508 _ACEOF
19510 # Neutralize VPATH when `$srcdir' = `.'.
19511 # Shell code in configure.ac might set extrasub.
19512 # FIXME: do we really want to maintain this feature?
19513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19514 ac_sed_extra="$ac_vpsub
19515 $extrasub
19516 _ACEOF
19517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19519 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19520 s|@configure_input@|$ac_sed_conf_input|;t t
19521 s&@top_builddir@&$ac_top_builddir_sub&;t t
19522 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19523 s&@srcdir@&$ac_srcdir&;t t
19524 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19525 s&@top_srcdir@&$ac_top_srcdir&;t t
19526 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19527 s&@builddir@&$ac_builddir&;t t
19528 s&@abs_builddir@&$ac_abs_builddir&;t t
19529 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19530 $ac_datarootdir_hack
19532 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19533 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19535 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19536 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19537 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19538 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19540 which seems to be undefined. Please make sure it is defined" >&5
19541 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19542 which seems to be undefined. Please make sure it is defined" >&2;}
19544 rm -f "$ac_tmp/stdin"
19545 case $ac_file in
19546 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19547 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19548 esac \
19549 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19553 # CONFIG_HEADER
19555 if test x"$ac_file" != x-; then
19557 $as_echo "/* $configure_input */" \
19558 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19559 } >"$ac_tmp/config.h" \
19560 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19561 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19563 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19564 else
19565 rm -f "$ac_file"
19566 mv "$ac_tmp/config.h" "$ac_file" \
19567 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19569 else
19570 $as_echo "/* $configure_input */" \
19571 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19572 || as_fn_error $? "could not create -" "$LINENO" 5
19577 # CONFIG_LINK
19580 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19582 else
19583 # Prefer the file from the source tree if names are identical.
19584 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19585 ac_source=$srcdir/$ac_source
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19589 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19591 if test ! -r "$ac_source"; then
19592 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19594 rm -f "$ac_file"
19596 # Try a relative symlink, then a hard link, then a copy.
19597 case $ac_source in
19598 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19599 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19600 esac
19601 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19602 ln "$ac_source" "$ac_file" 2>/dev/null ||
19603 cp -p "$ac_source" "$ac_file" ||
19604 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19607 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19608 $as_echo "$as_me: executing $ac_file commands" >&6;}
19610 esac
19613 case $ac_file$ac_mode in
19614 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19615 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19616 "Makefile":C) wine_fn_output_makefile Makefile ;;
19618 esac
19619 done # for ac_tag
19622 as_fn_exit 0
19623 _ACEOF
19624 ac_clean_files=$ac_clean_files_save
19626 test $ac_write_fail = 0 ||
19627 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19630 # configure is writing to config.log, and then calls config.status.
19631 # config.status does its own redirection, appending to config.log.
19632 # Unfortunately, on DOS this fails, as config.log is still kept open
19633 # by configure, so config.status won't be able to write to it; its
19634 # output is simply discarded. So we exec the FD to /dev/null,
19635 # effectively closing config.log, so it can be properly (re)opened and
19636 # appended to by config.status. When coming back to configure, we
19637 # need to make the FD available again.
19638 if test "$no_create" != yes; then
19639 ac_cs_success=:
19640 ac_config_status_args=
19641 test "$silent" = yes &&
19642 ac_config_status_args="$ac_config_status_args --quiet"
19643 exec 5>/dev/null
19644 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19645 exec 5>>config.log
19646 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19647 # would make configure fail if this is the last instruction.
19648 $ac_cs_success || as_fn_exit 1
19650 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19652 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19656 if test "$no_create" = "yes"
19657 then
19658 exit 0
19661 ac_save_IFS="$IFS"
19662 if test "x$wine_notices" != x; then
19663 echo >&6
19664 IFS="|"
19665 for msg in $wine_notices; do
19666 IFS="$ac_save_IFS"
19667 if ${msg:+false} :; then :
19669 else
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19671 $as_echo "$as_me: $msg" >&6;}
19673 done
19675 IFS="|"
19676 for msg in $wine_warnings; do
19677 IFS="$ac_save_IFS"
19678 if ${msg:+false} :; then :
19680 else
19681 echo >&2
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19683 $as_echo "$as_me: WARNING: $msg" >&2;}
19685 done
19686 IFS="$ac_save_IFS"
19688 $as_echo "
19689 $as_me: Finished. Do '${ac_make}' to compile Wine.
19690 " >&6