wined3d: Get rid of the offscreenBuffer field in struct wined3d_device.
[wine.git] / configure
blob7bf9178302a0340131bc4b33769f507c7e7c5410
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.4.
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.4'
584 PACKAGE_STRING='Wine 1.9.4'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 LINGUAS
629 ALL_VARS_RULES
630 LDAP_LIBS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 FONTCONFIG_LIBS
652 FONTCONFIG_CFLAGS
653 CUPS_CFLAGS
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 OSS4_CFLAGS
657 ALSA_LIBS
658 GSTREAMER_LIBS
659 GSTREAMER_CFLAGS
660 PULSE_LIBS
661 PULSE_CFLAGS
662 GETTEXTPO_LIBS
663 Z_LIBS
664 FREETYPE_LIBS
665 FREETYPE_CFLAGS
666 LCMS2_LIBS
667 LCMS2_CFLAGS
668 RESOLV_LIBS
669 GPHOTO2_PORT_LIBS
670 GPHOTO2_PORT_CFLAGS
671 GPHOTO2_LIBS
672 GPHOTO2_CFLAGS
673 SANE_LIBS
674 SANE_CFLAGS
675 GNUTLS_LIBS
676 GNUTLS_CFLAGS
677 HAL_LIBS
678 HAL_CFLAGS
679 DBUS_LIBS
680 DBUS_CFLAGS
681 XSLT_LIBS
682 XSLT_CFLAGS
683 XML2_LIBS
684 XML2_CFLAGS
685 PCAP_LIBS
686 X_EXTRA_LIBS
687 X_LIBS
688 X_PRE_LIBS
689 X_CFLAGS
690 XMKMF
691 PTHREAD_LIBS
692 CROSSCC
693 CROSSTARGET
694 PRELINK
695 WINELOADER_DEPENDS
696 CARBON_LIBS
697 QUICKTIME_LIBS
698 OPENCL_LIBS
699 OPENAL_LIBS
700 COREAUDIO_LIBS
701 SECURITY_LIBS
702 DISKARBITRATION_LIBS
703 APPKIT_LIBS
704 CORESERVICES_LIBS
705 APPLICATIONSERVICES_LIBS
706 FORCEFEEDBACK_LIBS
707 IOKIT_LIBS
708 COREFOUNDATION_LIBS
709 LIBWINE_DEPENDS
710 LIBWINE_LDFLAGS
711 LIBWINE_INSTALL_DEV
712 LIBWINE_INSTALL_LIB
713 LIBWINE_IMPORTLIB
714 LIBWINE_SHAREDLIB
715 SOCKET_LIBS
716 DLLTOOL
717 WINELOADER_PROGRAMS
718 ALL_TEST_RESOURCES
719 CONFIGURE_TARGETS
720 DISABLED_SUBDIRS
721 SUBDIRS
722 READELF
723 OTOOL
725 LDEXECFLAGS
726 LDRPATH_LOCAL
727 LDRPATH_INSTALL
728 DLLFLAGS
729 dlldir
731 OPENGL_LIBS
732 ICOTOOL
733 CONVERT
734 RSVG
735 FONTFORGE
736 PKG_CONFIG
737 MSGFMT
738 LDCONFIG
739 EGREP
740 GREP
741 LN_S
742 RANLIB
743 ARFLAGS
744 STRIP
745 ac_ct_AR
747 BISON
748 FLEX
749 TOOLSDIR
750 TARGETFLAGS
752 CPPBIN
753 ac_ct_CXX
754 CXXFLAGS
756 OBJEXT
757 EXEEXT
758 ac_ct_CC
759 CPPFLAGS
760 LDFLAGS
761 CFLAGS
763 SET_MAKE
764 host_os
765 host_vendor
766 host_cpu
767 host
768 build_os
769 build_vendor
770 build_cpu
771 build
772 target_alias
773 host_alias
774 build_alias
775 LIBS
776 ECHO_T
777 ECHO_N
778 ECHO_C
779 DEFS
780 mandir
781 localedir
782 libdir
783 psdir
784 pdfdir
785 dvidir
786 htmldir
787 infodir
788 docdir
789 oldincludedir
790 includedir
791 runstatedir
792 localstatedir
793 sharedstatedir
794 sysconfdir
795 datadir
796 datarootdir
797 libexecdir
798 sbindir
799 bindir
800 program_transform_name
801 prefix
802 exec_prefix
803 PACKAGE_URL
804 PACKAGE_BUGREPORT
805 PACKAGE_STRING
806 PACKAGE_VERSION
807 PACKAGE_TARNAME
808 PACKAGE_NAME
809 PATH_SEPARATOR
810 SHELL'
811 ac_subst_files=''
812 ac_user_opts='
813 enable_option_checking
814 enable_win16
815 enable_win64
816 enable_tests
817 enable_maintainer_mode
818 with_alsa
819 with_capi
820 with_cms
821 with_coreaudio
822 with_cups
823 with_curses
824 with_dbus
825 with_fontconfig
826 with_freetype
827 with_gettext
828 with_gettextpo
829 with_gphoto
830 with_glu
831 with_gnutls
832 with_gsm
833 with_gstreamer
834 with_hal
835 with_jpeg
836 with_ldap
837 with_mpg123
838 with_netapi
839 with_openal
840 with_opencl
841 with_opengl
842 with_osmesa
843 with_oss
844 with_pcap
845 with_png
846 with_pthread
847 with_pulse
848 with_sane
849 with_tiff
850 with_v4l
851 with_xcomposite
852 with_xcursor
853 with_xinerama
854 with_xinput
855 with_xinput2
856 with_xml
857 with_xrandr
858 with_xrender
859 with_xshape
860 with_xshm
861 with_xslt
862 with_xxf86vm
863 with_zlib
864 with_wine_tools
865 with_wine64
866 enable_largefile
867 with_x
868 enable_acledit
869 enable_aclui
870 enable_activeds
871 enable_actxprxy
872 enable_advapi32
873 enable_advpack
874 enable_amstream
875 enable_api_ms_win_core_com_l1_1_0
876 enable_api_ms_win_core_com_l1_1_1
877 enable_api_ms_win_core_console_l1_1_0
878 enable_api_ms_win_core_datetime_l1_1_0
879 enable_api_ms_win_core_datetime_l1_1_1
880 enable_api_ms_win_core_debug_l1_1_0
881 enable_api_ms_win_core_debug_l1_1_1
882 enable_api_ms_win_core_delayload_l1_1_1
883 enable_api_ms_win_core_errorhandling_l1_1_0
884 enable_api_ms_win_core_errorhandling_l1_1_1
885 enable_api_ms_win_core_errorhandling_l1_1_2
886 enable_api_ms_win_core_fibers_l1_1_0
887 enable_api_ms_win_core_fibers_l1_1_1
888 enable_api_ms_win_core_file_l1_1_0
889 enable_api_ms_win_core_file_l1_2_0
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_misc_l1_1_0
912 enable_api_ms_win_core_namedpipe_l1_1_0
913 enable_api_ms_win_core_namedpipe_l1_2_0
914 enable_api_ms_win_core_path_l1_1_0
915 enable_api_ms_win_core_processenvironment_l1_1_0
916 enable_api_ms_win_core_processenvironment_l1_2_0
917 enable_api_ms_win_core_processthreads_l1_1_0
918 enable_api_ms_win_core_processthreads_l1_1_1
919 enable_api_ms_win_core_processthreads_l1_1_2
920 enable_api_ms_win_core_profile_l1_1_0
921 enable_api_ms_win_core_psapi_l1_1_0
922 enable_api_ms_win_core_registry_l1_1_0
923 enable_api_ms_win_core_rtlsupport_l1_1_0
924 enable_api_ms_win_core_rtlsupport_l1_2_0
925 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
926 enable_api_ms_win_core_string_l1_1_0
927 enable_api_ms_win_core_synch_l1_1_0
928 enable_api_ms_win_core_synch_l1_2_0
929 enable_api_ms_win_core_sysinfo_l1_1_0
930 enable_api_ms_win_core_sysinfo_l1_2_0
931 enable_api_ms_win_core_sysinfo_l1_2_1
932 enable_api_ms_win_core_threadpool_l1_2_0
933 enable_api_ms_win_core_threadpool_legacy_l1_1_0
934 enable_api_ms_win_core_timezone_l1_1_0
935 enable_api_ms_win_core_url_l1_1_0
936 enable_api_ms_win_core_util_l1_1_0
937 enable_api_ms_win_core_winrt_error_l1_1_0
938 enable_api_ms_win_core_winrt_error_l1_1_1
939 enable_api_ms_win_core_winrt_l1_1_0
940 enable_api_ms_win_core_winrt_registration_l1_1_0
941 enable_api_ms_win_core_winrt_string_l1_1_0
942 enable_api_ms_win_core_wow64_l1_1_0
943 enable_api_ms_win_core_xstate_l2_1_0
944 enable_api_ms_win_crt_conio_l1_1_0
945 enable_api_ms_win_crt_convert_l1_1_0
946 enable_api_ms_win_crt_environment_l1_1_0
947 enable_api_ms_win_crt_filesystem_l1_1_0
948 enable_api_ms_win_crt_heap_l1_1_0
949 enable_api_ms_win_crt_locale_l1_1_0
950 enable_api_ms_win_crt_math_l1_1_0
951 enable_api_ms_win_crt_multibyte_l1_1_0
952 enable_api_ms_win_crt_private_l1_1_0
953 enable_api_ms_win_crt_process_l1_1_0
954 enable_api_ms_win_crt_runtime_l1_1_0
955 enable_api_ms_win_crt_stdio_l1_1_0
956 enable_api_ms_win_crt_string_l1_1_0
957 enable_api_ms_win_crt_time_l1_1_0
958 enable_api_ms_win_crt_utility_l1_1_0
959 enable_api_ms_win_downlevel_advapi32_l1_1_0
960 enable_api_ms_win_downlevel_advapi32_l2_1_0
961 enable_api_ms_win_downlevel_normaliz_l1_1_0
962 enable_api_ms_win_downlevel_ole32_l1_1_0
963 enable_api_ms_win_downlevel_shell32_l1_1_0
964 enable_api_ms_win_downlevel_shlwapi_l1_1_0
965 enable_api_ms_win_downlevel_shlwapi_l2_1_0
966 enable_api_ms_win_downlevel_user32_l1_1_0
967 enable_api_ms_win_downlevel_version_l1_1_0
968 enable_api_ms_win_eventing_classicprovider_l1_1_0
969 enable_api_ms_win_eventing_provider_l1_1_0
970 enable_api_ms_win_ntuser_dc_access_l1_1_0
971 enable_api_ms_win_security_base_l1_1_0
972 enable_api_ms_win_security_base_l1_2_0
973 enable_api_ms_win_security_lsalookup_l1_1_0
974 enable_api_ms_win_security_lsalookup_l1_1_1
975 enable_api_ms_win_security_sddl_l1_1_0
976 enable_api_ms_win_service_core_l1_1_1
977 enable_api_ms_win_service_management_l1_1_0
978 enable_api_ms_win_service_winsvc_l1_2_0
979 enable_apphelp
980 enable_appwiz_cpl
981 enable_atl
982 enable_atl100
983 enable_atl110
984 enable_atl80
985 enable_atl90
986 enable_authz
987 enable_avicap32
988 enable_avifil32
989 enable_avrt
990 enable_bcrypt
991 enable_bluetoothapis
992 enable_browseui
993 enable_bthprops_cpl
994 enable_cabinet
995 enable_capi2032
996 enable_cards
997 enable_cfgmgr32
998 enable_clusapi
999 enable_combase
1000 enable_comcat
1001 enable_comctl32
1002 enable_comdlg32
1003 enable_compstui
1004 enable_comsvcs
1005 enable_connect
1006 enable_credui
1007 enable_crtdll
1008 enable_crypt32
1009 enable_cryptdlg
1010 enable_cryptdll
1011 enable_cryptext
1012 enable_cryptnet
1013 enable_cryptui
1014 enable_ctapi32
1015 enable_ctl3d32
1016 enable_d2d1
1017 enable_d3d10
1018 enable_d3d10_1
1019 enable_d3d10core
1020 enable_d3d11
1021 enable_d3d8
1022 enable_d3d9
1023 enable_d3dcompiler_33
1024 enable_d3dcompiler_34
1025 enable_d3dcompiler_35
1026 enable_d3dcompiler_36
1027 enable_d3dcompiler_37
1028 enable_d3dcompiler_38
1029 enable_d3dcompiler_39
1030 enable_d3dcompiler_40
1031 enable_d3dcompiler_41
1032 enable_d3dcompiler_42
1033 enable_d3dcompiler_43
1034 enable_d3dcompiler_46
1035 enable_d3dcompiler_47
1036 enable_d3dim
1037 enable_d3drm
1038 enable_d3dx10_33
1039 enable_d3dx10_34
1040 enable_d3dx10_35
1041 enable_d3dx10_36
1042 enable_d3dx10_37
1043 enable_d3dx10_38
1044 enable_d3dx10_39
1045 enable_d3dx10_40
1046 enable_d3dx10_41
1047 enable_d3dx10_42
1048 enable_d3dx10_43
1049 enable_d3dx11_42
1050 enable_d3dx11_43
1051 enable_d3dx9_24
1052 enable_d3dx9_25
1053 enable_d3dx9_26
1054 enable_d3dx9_27
1055 enable_d3dx9_28
1056 enable_d3dx9_29
1057 enable_d3dx9_30
1058 enable_d3dx9_31
1059 enable_d3dx9_32
1060 enable_d3dx9_33
1061 enable_d3dx9_34
1062 enable_d3dx9_35
1063 enable_d3dx9_36
1064 enable_d3dx9_37
1065 enable_d3dx9_38
1066 enable_d3dx9_39
1067 enable_d3dx9_40
1068 enable_d3dx9_41
1069 enable_d3dx9_42
1070 enable_d3dx9_43
1071 enable_d3dxof
1072 enable_davclnt
1073 enable_dbgeng
1074 enable_dbghelp
1075 enable_dciman32
1076 enable_ddraw
1077 enable_ddrawex
1078 enable_devenum
1079 enable_dhcpcsvc
1080 enable_difxapi
1081 enable_dinput
1082 enable_dinput8
1083 enable_dispex
1084 enable_dmband
1085 enable_dmcompos
1086 enable_dmime
1087 enable_dmloader
1088 enable_dmscript
1089 enable_dmstyle
1090 enable_dmsynth
1091 enable_dmusic
1092 enable_dmusic32
1093 enable_dnsapi
1094 enable_dplay
1095 enable_dplayx
1096 enable_dpnaddr
1097 enable_dpnet
1098 enable_dpnhpast
1099 enable_dpnlobby
1100 enable_dpvoice
1101 enable_dpwsockx
1102 enable_drmclien
1103 enable_dsound
1104 enable_dssenh
1105 enable_dswave
1106 enable_dwmapi
1107 enable_dwrite
1108 enable_dxdiagn
1109 enable_dxgi
1110 enable_dxva2
1111 enable_esent
1112 enable_evr
1113 enable_explorerframe
1114 enable_ext_ms_win_gdi_devcaps_l1_1_0
1115 enable_faultrep
1116 enable_fltlib
1117 enable_fltmgr_sys
1118 enable_fntcache
1119 enable_fontsub
1120 enable_fusion
1121 enable_fwpuclnt
1122 enable_gameux
1123 enable_gdi32
1124 enable_gdiplus
1125 enable_glu32
1126 enable_gphoto2_ds
1127 enable_gpkcsp
1128 enable_hal
1129 enable_hhctrl_ocx
1130 enable_hid
1131 enable_hidclass_sys
1132 enable_hlink
1133 enable_hnetcfg
1134 enable_httpapi
1135 enable_iccvid
1136 enable_icmp
1137 enable_ieframe
1138 enable_imaadp32_acm
1139 enable_imagehlp
1140 enable_imm32
1141 enable_inetcomm
1142 enable_inetcpl_cpl
1143 enable_inetmib1
1144 enable_infosoft
1145 enable_initpki
1146 enable_inkobj
1147 enable_inseng
1148 enable_iphlpapi
1149 enable_irprops_cpl
1150 enable_itircl
1151 enable_itss
1152 enable_joy_cpl
1153 enable_jscript
1154 enable_jsproxy
1155 enable_kernel32
1156 enable_ksuser
1157 enable_ktmw32
1158 enable_loadperf
1159 enable_localspl
1160 enable_localui
1161 enable_lz32
1162 enable_mapi32
1163 enable_mapistub
1164 enable_mciavi32
1165 enable_mcicda
1166 enable_mciqtz32
1167 enable_mciseq
1168 enable_mciwave
1169 enable_mf
1170 enable_mfplat
1171 enable_mfreadwrite
1172 enable_mgmtapi
1173 enable_midimap
1174 enable_mlang
1175 enable_mmcndmgr
1176 enable_mmdevapi
1177 enable_mountmgr_sys
1178 enable_mpr
1179 enable_mprapi
1180 enable_msacm32_drv
1181 enable_msacm32
1182 enable_msadp32_acm
1183 enable_msasn1
1184 enable_mscat32
1185 enable_mscms
1186 enable_mscoree
1187 enable_msctf
1188 enable_msctfp
1189 enable_msdaps
1190 enable_msdelta
1191 enable_msdmo
1192 enable_msdrm
1193 enable_msftedit
1194 enable_msg711_acm
1195 enable_msgsm32_acm
1196 enable_mshtml_tlb
1197 enable_mshtml
1198 enable_msi
1199 enable_msident
1200 enable_msimg32
1201 enable_msimsg
1202 enable_msimtf
1203 enable_msisip
1204 enable_msisys_ocx
1205 enable_msls31
1206 enable_msnet32
1207 enable_mspatcha
1208 enable_msrle32
1209 enable_msscript_ocx
1210 enable_mssign32
1211 enable_mssip32
1212 enable_mstask
1213 enable_msvcirt
1214 enable_msvcm80
1215 enable_msvcm90
1216 enable_msvcp100
1217 enable_msvcp110
1218 enable_msvcp120
1219 enable_msvcp120_app
1220 enable_msvcp60
1221 enable_msvcp70
1222 enable_msvcp71
1223 enable_msvcp80
1224 enable_msvcp90
1225 enable_msvcr100
1226 enable_msvcr110
1227 enable_msvcr120
1228 enable_msvcr120_app
1229 enable_msvcr70
1230 enable_msvcr71
1231 enable_msvcr80
1232 enable_msvcr90
1233 enable_msvcrt
1234 enable_msvcrt20
1235 enable_msvcrt40
1236 enable_msvcrtd
1237 enable_msvfw32
1238 enable_msvidc32
1239 enable_mswsock
1240 enable_msxml
1241 enable_msxml2
1242 enable_msxml3
1243 enable_msxml4
1244 enable_msxml6
1245 enable_nddeapi
1246 enable_ndis_sys
1247 enable_netapi32
1248 enable_netcfgx
1249 enable_netprofm
1250 enable_newdev
1251 enable_normaliz
1252 enable_npmshtml
1253 enable_npptools
1254 enable_ntdll
1255 enable_ntdsapi
1256 enable_ntoskrnl_exe
1257 enable_ntprint
1258 enable_objsel
1259 enable_odbc32
1260 enable_odbccp32
1261 enable_odbccu32
1262 enable_ole32
1263 enable_oleacc
1264 enable_oleaut32
1265 enable_olecli32
1266 enable_oledb32
1267 enable_oledlg
1268 enable_olepro32
1269 enable_olesvr32
1270 enable_olethk32
1271 enable_openal32
1272 enable_opencl
1273 enable_opengl32
1274 enable_packager
1275 enable_pdh
1276 enable_photometadatahandler
1277 enable_pidgen
1278 enable_powrprof
1279 enable_printui
1280 enable_prntvpt
1281 enable_propsys
1282 enable_psapi
1283 enable_pstorec
1284 enable_qcap
1285 enable_qedit
1286 enable_qmgr
1287 enable_qmgrprxy
1288 enable_quartz
1289 enable_query
1290 enable_rasapi32
1291 enable_rasdlg
1292 enable_regapi
1293 enable_resutils
1294 enable_riched20
1295 enable_riched32
1296 enable_rpcrt4
1297 enable_rsabase
1298 enable_rsaenh
1299 enable_rstrtmgr
1300 enable_rtutils
1301 enable_samlib
1302 enable_sane_ds
1303 enable_scarddlg
1304 enable_sccbase
1305 enable_schannel
1306 enable_schedsvc
1307 enable_scrrun
1308 enable_scsiport_sys
1309 enable_secur32
1310 enable_security
1311 enable_sensapi
1312 enable_serialui
1313 enable_setupapi
1314 enable_sfc
1315 enable_sfc_os
1316 enable_shdoclc
1317 enable_shdocvw
1318 enable_shell32
1319 enable_shfolder
1320 enable_shlwapi
1321 enable_slbcsp
1322 enable_slc
1323 enable_snmpapi
1324 enable_softpub
1325 enable_spoolss
1326 enable_stdole2_tlb
1327 enable_stdole32_tlb
1328 enable_sti
1329 enable_svrapi
1330 enable_sxs
1331 enable_t2embed
1332 enable_tapi32
1333 enable_taskschd
1334 enable_tdi_sys
1335 enable_traffic
1336 enable_twain_32
1337 enable_ucrtbase
1338 enable_unicows
1339 enable_updspapi
1340 enable_url
1341 enable_urlmon
1342 enable_usbd_sys
1343 enable_user32
1344 enable_userenv
1345 enable_usp10
1346 enable_uxtheme
1347 enable_vbscript
1348 enable_vcomp
1349 enable_vcomp100
1350 enable_vcomp110
1351 enable_vcomp120
1352 enable_vcomp90
1353 enable_vcruntime140
1354 enable_vdmdbg
1355 enable_version
1356 enable_vssapi
1357 enable_wbemdisp
1358 enable_wbemprox
1359 enable_webservices
1360 enable_wer
1361 enable_wevtapi
1362 enable_wiaservc
1363 enable_wimgapi
1364 enable_windowscodecs
1365 enable_windowscodecsext
1366 enable_winealsa_drv
1367 enable_winecoreaudio_drv
1368 enable_wined3d
1369 enable_winegstreamer
1370 enable_winejoystick_drv
1371 enable_winemac_drv
1372 enable_winemapi
1373 enable_winemp3_acm
1374 enable_wineoss_drv
1375 enable_wineps_drv
1376 enable_winepulse_drv
1377 enable_wineqtdecoder
1378 enable_winex11_drv
1379 enable_wing32
1380 enable_winhttp
1381 enable_wininet
1382 enable_winmm
1383 enable_winnls32
1384 enable_winscard
1385 enable_winspool_drv
1386 enable_winsta
1387 enable_wintab32
1388 enable_wintrust
1389 enable_wlanapi
1390 enable_wldap32
1391 enable_wmi
1392 enable_wmiutils
1393 enable_wmp
1394 enable_wmvcore
1395 enable_wnaspi32
1396 enable_wpcap
1397 enable_ws2_32
1398 enable_wshom_ocx
1399 enable_wsnmp32
1400 enable_wsock32
1401 enable_wtsapi32
1402 enable_wuapi
1403 enable_wuaueng
1404 enable_x3daudio1_0
1405 enable_x3daudio1_1
1406 enable_x3daudio1_2
1407 enable_x3daudio1_3
1408 enable_x3daudio1_4
1409 enable_x3daudio1_5
1410 enable_x3daudio1_6
1411 enable_x3daudio1_7
1412 enable_xapofx1_1
1413 enable_xapofx1_2
1414 enable_xapofx1_3
1415 enable_xapofx1_4
1416 enable_xapofx1_5
1417 enable_xaudio2_0
1418 enable_xaudio2_1
1419 enable_xaudio2_2
1420 enable_xaudio2_3
1421 enable_xaudio2_4
1422 enable_xaudio2_5
1423 enable_xaudio2_6
1424 enable_xaudio2_7
1425 enable_xaudio2_8
1426 enable_xaudio2_9
1427 enable_xinput1_1
1428 enable_xinput1_2
1429 enable_xinput1_3
1430 enable_xinput1_4
1431 enable_xinput9_1_0
1432 enable_xmllite
1433 enable_xolehlp
1434 enable_xpsprint
1435 enable_xpssvcs
1436 enable_fonts
1437 enable_include
1438 enable_libs_port
1439 enable_libs_wine
1440 enable_libs_wpp
1441 enable_loader
1442 enable_arp
1443 enable_aspnet_regiis
1444 enable_attrib
1445 enable_cabarc
1446 enable_cacls
1447 enable_clock
1448 enable_cmd
1449 enable_conhost
1450 enable_control
1451 enable_cscript
1452 enable_dpnsvr
1453 enable_dxdiag
1454 enable_eject
1455 enable_expand
1456 enable_explorer
1457 enable_extrac32
1458 enable_findstr
1459 enable_hh
1460 enable_hostname
1461 enable_icacls
1462 enable_icinfo
1463 enable_iexplore
1464 enable_ipconfig
1465 enable_lodctr
1466 enable_mofcomp
1467 enable_mshta
1468 enable_msiexec
1469 enable_net
1470 enable_netsh
1471 enable_netstat
1472 enable_ngen
1473 enable_notepad
1474 enable_oleview
1475 enable_ping
1476 enable_plugplay
1477 enable_presentationfontcache
1478 enable_progman
1479 enable_reg
1480 enable_regasm
1481 enable_regedit
1482 enable_regsvcs
1483 enable_regsvr32
1484 enable_rpcss
1485 enable_rundll32
1486 enable_sc
1487 enable_schtasks
1488 enable_sdbinst
1489 enable_secedit
1490 enable_servicemodelreg
1491 enable_services
1492 enable_spoolsv
1493 enable_start
1494 enable_svchost
1495 enable_systeminfo
1496 enable_taskkill
1497 enable_tasklist
1498 enable_taskmgr
1499 enable_termsv
1500 enable_uninstaller
1501 enable_unlodctr
1502 enable_view
1503 enable_wevtutil
1504 enable_wineboot
1505 enable_winebrowser
1506 enable_winecfg
1507 enable_wineconsole
1508 enable_winedbg
1509 enable_winedevice
1510 enable_winefile
1511 enable_winemenubuilder
1512 enable_winemine
1513 enable_winemsibuilder
1514 enable_winepath
1515 enable_winetest
1516 enable_winhlp32
1517 enable_winver
1518 enable_wmic
1519 enable_wmplayer
1520 enable_wordpad
1521 enable_write
1522 enable_wscript
1523 enable_wusa
1524 enable_xcopy
1525 enable_server
1526 enable_tools
1528 ac_precious_vars='build_alias
1529 host_alias
1530 target_alias
1532 CFLAGS
1533 LDFLAGS
1534 LIBS
1535 CPPFLAGS
1537 CXXFLAGS
1540 XMKMF
1541 XML2_CFLAGS
1542 XML2_LIBS
1543 XSLT_CFLAGS
1544 XSLT_LIBS
1545 DBUS_CFLAGS
1546 DBUS_LIBS
1547 HAL_CFLAGS
1548 HAL_LIBS
1549 GNUTLS_CFLAGS
1550 GNUTLS_LIBS
1551 SANE_CFLAGS
1552 SANE_LIBS
1553 GPHOTO2_CFLAGS
1554 GPHOTO2_LIBS
1555 GPHOTO2_PORT_CFLAGS
1556 GPHOTO2_PORT_LIBS
1557 LCMS2_CFLAGS
1558 LCMS2_LIBS
1559 FREETYPE_CFLAGS
1560 FREETYPE_LIBS
1561 PULSE_CFLAGS
1562 PULSE_LIBS
1563 GSTREAMER_CFLAGS
1564 GSTREAMER_LIBS
1565 CAPI20_CFLAGS
1566 CAPI20_LIBS
1567 FONTCONFIG_CFLAGS
1568 FONTCONFIG_LIBS
1569 JPEG_CFLAGS
1570 JPEG_LIBS
1571 PNG_CFLAGS
1572 PNG_LIBS
1573 TIFF_CFLAGS
1574 TIFF_LIBS
1575 MPG123_CFLAGS
1576 MPG123_LIBS
1577 NETAPI_CFLAGS
1578 NETAPI_LIBS'
1581 # Initialize some variables set by options.
1582 ac_init_help=
1583 ac_init_version=false
1584 ac_unrecognized_opts=
1585 ac_unrecognized_sep=
1586 # The variables have the same names as the options, with
1587 # dashes changed to underlines.
1588 cache_file=/dev/null
1589 exec_prefix=NONE
1590 no_create=
1591 no_recursion=
1592 prefix=NONE
1593 program_prefix=NONE
1594 program_suffix=NONE
1595 program_transform_name=s,x,x,
1596 silent=
1597 site=
1598 srcdir=
1599 verbose=
1600 x_includes=NONE
1601 x_libraries=NONE
1603 # Installation directory options.
1604 # These are left unexpanded so users can "make install exec_prefix=/foo"
1605 # and all the variables that are supposed to be based on exec_prefix
1606 # by default will actually change.
1607 # Use braces instead of parens because sh, perl, etc. also accept them.
1608 # (The list follows the same order as the GNU Coding Standards.)
1609 bindir='${exec_prefix}/bin'
1610 sbindir='${exec_prefix}/sbin'
1611 libexecdir='${exec_prefix}/libexec'
1612 datarootdir='${prefix}/share'
1613 datadir='${datarootdir}'
1614 sysconfdir='${prefix}/etc'
1615 sharedstatedir='${prefix}/com'
1616 localstatedir='${prefix}/var'
1617 runstatedir='${localstatedir}/run'
1618 includedir='${prefix}/include'
1619 oldincludedir='/usr/include'
1620 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1621 infodir='${datarootdir}/info'
1622 htmldir='${docdir}'
1623 dvidir='${docdir}'
1624 pdfdir='${docdir}'
1625 psdir='${docdir}'
1626 libdir='${exec_prefix}/lib'
1627 localedir='${datarootdir}/locale'
1628 mandir='${datarootdir}/man'
1630 ac_prev=
1631 ac_dashdash=
1632 for ac_option
1634 # If the previous option needs an argument, assign it.
1635 if test -n "$ac_prev"; then
1636 eval $ac_prev=\$ac_option
1637 ac_prev=
1638 continue
1641 case $ac_option in
1642 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1643 *=) ac_optarg= ;;
1644 *) ac_optarg=yes ;;
1645 esac
1647 # Accept the important Cygnus configure options, so we can diagnose typos.
1649 case $ac_dashdash$ac_option in
1651 ac_dashdash=yes ;;
1653 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1654 ac_prev=bindir ;;
1655 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1656 bindir=$ac_optarg ;;
1658 -build | --build | --buil | --bui | --bu)
1659 ac_prev=build_alias ;;
1660 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1661 build_alias=$ac_optarg ;;
1663 -cache-file | --cache-file | --cache-fil | --cache-fi \
1664 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1665 ac_prev=cache_file ;;
1666 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1667 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1668 cache_file=$ac_optarg ;;
1670 --config-cache | -C)
1671 cache_file=config.cache ;;
1673 -datadir | --datadir | --datadi | --datad)
1674 ac_prev=datadir ;;
1675 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1676 datadir=$ac_optarg ;;
1678 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1679 | --dataroo | --dataro | --datar)
1680 ac_prev=datarootdir ;;
1681 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1682 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1683 datarootdir=$ac_optarg ;;
1685 -disable-* | --disable-*)
1686 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1687 # Reject names that are not valid shell variable names.
1688 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1689 as_fn_error $? "invalid feature name: $ac_useropt"
1690 ac_useropt_orig=$ac_useropt
1691 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1692 case $ac_user_opts in
1694 "enable_$ac_useropt"
1695 "*) ;;
1696 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1697 ac_unrecognized_sep=', ';;
1698 esac
1699 eval enable_$ac_useropt=no ;;
1701 -docdir | --docdir | --docdi | --doc | --do)
1702 ac_prev=docdir ;;
1703 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1704 docdir=$ac_optarg ;;
1706 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1707 ac_prev=dvidir ;;
1708 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1709 dvidir=$ac_optarg ;;
1711 -enable-* | --enable-*)
1712 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1713 # Reject names that are not valid shell variable names.
1714 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1715 as_fn_error $? "invalid feature name: $ac_useropt"
1716 ac_useropt_orig=$ac_useropt
1717 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1718 case $ac_user_opts in
1720 "enable_$ac_useropt"
1721 "*) ;;
1722 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1723 ac_unrecognized_sep=', ';;
1724 esac
1725 eval enable_$ac_useropt=\$ac_optarg ;;
1727 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1728 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1729 | --exec | --exe | --ex)
1730 ac_prev=exec_prefix ;;
1731 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1732 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1733 | --exec=* | --exe=* | --ex=*)
1734 exec_prefix=$ac_optarg ;;
1736 -gas | --gas | --ga | --g)
1737 # Obsolete; use --with-gas.
1738 with_gas=yes ;;
1740 -help | --help | --hel | --he | -h)
1741 ac_init_help=long ;;
1742 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1743 ac_init_help=recursive ;;
1744 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1745 ac_init_help=short ;;
1747 -host | --host | --hos | --ho)
1748 ac_prev=host_alias ;;
1749 -host=* | --host=* | --hos=* | --ho=*)
1750 host_alias=$ac_optarg ;;
1752 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1753 ac_prev=htmldir ;;
1754 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1755 | --ht=*)
1756 htmldir=$ac_optarg ;;
1758 -includedir | --includedir | --includedi | --included | --include \
1759 | --includ | --inclu | --incl | --inc)
1760 ac_prev=includedir ;;
1761 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1762 | --includ=* | --inclu=* | --incl=* | --inc=*)
1763 includedir=$ac_optarg ;;
1765 -infodir | --infodir | --infodi | --infod | --info | --inf)
1766 ac_prev=infodir ;;
1767 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1768 infodir=$ac_optarg ;;
1770 -libdir | --libdir | --libdi | --libd)
1771 ac_prev=libdir ;;
1772 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1773 libdir=$ac_optarg ;;
1775 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1776 | --libexe | --libex | --libe)
1777 ac_prev=libexecdir ;;
1778 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1779 | --libexe=* | --libex=* | --libe=*)
1780 libexecdir=$ac_optarg ;;
1782 -localedir | --localedir | --localedi | --localed | --locale)
1783 ac_prev=localedir ;;
1784 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1785 localedir=$ac_optarg ;;
1787 -localstatedir | --localstatedir | --localstatedi | --localstated \
1788 | --localstate | --localstat | --localsta | --localst | --locals)
1789 ac_prev=localstatedir ;;
1790 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1791 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1792 localstatedir=$ac_optarg ;;
1794 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1795 ac_prev=mandir ;;
1796 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1797 mandir=$ac_optarg ;;
1799 -nfp | --nfp | --nf)
1800 # Obsolete; use --without-fp.
1801 with_fp=no ;;
1803 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1804 | --no-cr | --no-c | -n)
1805 no_create=yes ;;
1807 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1808 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1809 no_recursion=yes ;;
1811 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1812 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1813 | --oldin | --oldi | --old | --ol | --o)
1814 ac_prev=oldincludedir ;;
1815 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1816 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1817 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1818 oldincludedir=$ac_optarg ;;
1820 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1821 ac_prev=prefix ;;
1822 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1823 prefix=$ac_optarg ;;
1825 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1826 | --program-pre | --program-pr | --program-p)
1827 ac_prev=program_prefix ;;
1828 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1829 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1830 program_prefix=$ac_optarg ;;
1832 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1833 | --program-suf | --program-su | --program-s)
1834 ac_prev=program_suffix ;;
1835 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1836 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1837 program_suffix=$ac_optarg ;;
1839 -program-transform-name | --program-transform-name \
1840 | --program-transform-nam | --program-transform-na \
1841 | --program-transform-n | --program-transform- \
1842 | --program-transform | --program-transfor \
1843 | --program-transfo | --program-transf \
1844 | --program-trans | --program-tran \
1845 | --progr-tra | --program-tr | --program-t)
1846 ac_prev=program_transform_name ;;
1847 -program-transform-name=* | --program-transform-name=* \
1848 | --program-transform-nam=* | --program-transform-na=* \
1849 | --program-transform-n=* | --program-transform-=* \
1850 | --program-transform=* | --program-transfor=* \
1851 | --program-transfo=* | --program-transf=* \
1852 | --program-trans=* | --program-tran=* \
1853 | --progr-tra=* | --program-tr=* | --program-t=*)
1854 program_transform_name=$ac_optarg ;;
1856 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1857 ac_prev=pdfdir ;;
1858 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1859 pdfdir=$ac_optarg ;;
1861 -psdir | --psdir | --psdi | --psd | --ps)
1862 ac_prev=psdir ;;
1863 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1864 psdir=$ac_optarg ;;
1866 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1867 | -silent | --silent | --silen | --sile | --sil)
1868 silent=yes ;;
1870 -runstatedir | --runstatedir | --runstatedi | --runstated \
1871 | --runstate | --runstat | --runsta | --runst | --runs \
1872 | --run | --ru | --r)
1873 ac_prev=runstatedir ;;
1874 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1875 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1876 | --run=* | --ru=* | --r=*)
1877 runstatedir=$ac_optarg ;;
1879 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1880 ac_prev=sbindir ;;
1881 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1882 | --sbi=* | --sb=*)
1883 sbindir=$ac_optarg ;;
1885 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1886 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1887 | --sharedst | --shareds | --shared | --share | --shar \
1888 | --sha | --sh)
1889 ac_prev=sharedstatedir ;;
1890 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1891 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1892 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1893 | --sha=* | --sh=*)
1894 sharedstatedir=$ac_optarg ;;
1896 -site | --site | --sit)
1897 ac_prev=site ;;
1898 -site=* | --site=* | --sit=*)
1899 site=$ac_optarg ;;
1901 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1902 ac_prev=srcdir ;;
1903 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1904 srcdir=$ac_optarg ;;
1906 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1907 | --syscon | --sysco | --sysc | --sys | --sy)
1908 ac_prev=sysconfdir ;;
1909 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1910 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1911 sysconfdir=$ac_optarg ;;
1913 -target | --target | --targe | --targ | --tar | --ta | --t)
1914 ac_prev=target_alias ;;
1915 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1916 target_alias=$ac_optarg ;;
1918 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1919 verbose=yes ;;
1921 -version | --version | --versio | --versi | --vers | -V)
1922 ac_init_version=: ;;
1924 -with-* | --with-*)
1925 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1926 # Reject names that are not valid shell variable names.
1927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1928 as_fn_error $? "invalid package name: $ac_useropt"
1929 ac_useropt_orig=$ac_useropt
1930 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1931 case $ac_user_opts in
1933 "with_$ac_useropt"
1934 "*) ;;
1935 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1936 ac_unrecognized_sep=', ';;
1937 esac
1938 eval with_$ac_useropt=\$ac_optarg ;;
1940 -without-* | --without-*)
1941 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1942 # Reject names that are not valid shell variable names.
1943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1944 as_fn_error $? "invalid package name: $ac_useropt"
1945 ac_useropt_orig=$ac_useropt
1946 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1947 case $ac_user_opts in
1949 "with_$ac_useropt"
1950 "*) ;;
1951 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1952 ac_unrecognized_sep=', ';;
1953 esac
1954 eval with_$ac_useropt=no ;;
1956 --x)
1957 # Obsolete; use --with-x.
1958 with_x=yes ;;
1960 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1961 | --x-incl | --x-inc | --x-in | --x-i)
1962 ac_prev=x_includes ;;
1963 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1964 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1965 x_includes=$ac_optarg ;;
1967 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1968 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1969 ac_prev=x_libraries ;;
1970 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1971 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1972 x_libraries=$ac_optarg ;;
1974 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1975 Try \`$0 --help' for more information"
1978 *=*)
1979 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1980 # Reject names that are not valid shell variable names.
1981 case $ac_envvar in #(
1982 '' | [0-9]* | *[!_$as_cr_alnum]* )
1983 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1984 esac
1985 eval $ac_envvar=\$ac_optarg
1986 export $ac_envvar ;;
1989 # FIXME: should be removed in autoconf 3.0.
1990 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1991 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1992 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1993 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1996 esac
1997 done
1999 if test -n "$ac_prev"; then
2000 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2001 as_fn_error $? "missing argument to $ac_option"
2004 if test -n "$ac_unrecognized_opts"; then
2005 case $enable_option_checking in
2006 no) ;;
2007 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2008 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2009 esac
2012 # Check all directory arguments for consistency.
2013 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2014 datadir sysconfdir sharedstatedir localstatedir includedir \
2015 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2016 libdir localedir mandir runstatedir
2018 eval ac_val=\$$ac_var
2019 # Remove trailing slashes.
2020 case $ac_val in
2021 */ )
2022 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2023 eval $ac_var=\$ac_val;;
2024 esac
2025 # Be sure to have absolute directory names.
2026 case $ac_val in
2027 [\\/$]* | ?:[\\/]* ) continue;;
2028 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2029 esac
2030 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2031 done
2033 # There might be people who depend on the old broken behavior: `$host'
2034 # used to hold the argument of --host etc.
2035 # FIXME: To remove some day.
2036 build=$build_alias
2037 host=$host_alias
2038 target=$target_alias
2040 # FIXME: To remove some day.
2041 if test "x$host_alias" != x; then
2042 if test "x$build_alias" = x; then
2043 cross_compiling=maybe
2044 elif test "x$build_alias" != "x$host_alias"; then
2045 cross_compiling=yes
2049 ac_tool_prefix=
2050 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2052 test "$silent" = yes && exec 6>/dev/null
2055 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2056 ac_ls_di=`ls -di .` &&
2057 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2058 as_fn_error $? "working directory cannot be determined"
2059 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2060 as_fn_error $? "pwd does not report name of working directory"
2063 # Find the source files, if location was not specified.
2064 if test -z "$srcdir"; then
2065 ac_srcdir_defaulted=yes
2066 # Try the directory containing this script, then the parent directory.
2067 ac_confdir=`$as_dirname -- "$as_myself" ||
2068 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2069 X"$as_myself" : 'X\(//\)[^/]' \| \
2070 X"$as_myself" : 'X\(//\)$' \| \
2071 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2072 $as_echo X"$as_myself" |
2073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2074 s//\1/
2077 /^X\(\/\/\)[^/].*/{
2078 s//\1/
2081 /^X\(\/\/\)$/{
2082 s//\1/
2085 /^X\(\/\).*/{
2086 s//\1/
2089 s/.*/./; q'`
2090 srcdir=$ac_confdir
2091 if test ! -r "$srcdir/$ac_unique_file"; then
2092 srcdir=..
2094 else
2095 ac_srcdir_defaulted=no
2097 if test ! -r "$srcdir/$ac_unique_file"; then
2098 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2099 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2101 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2102 ac_abs_confdir=`(
2103 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2104 pwd)`
2105 # When building in place, set srcdir=.
2106 if test "$ac_abs_confdir" = "$ac_pwd"; then
2107 srcdir=.
2109 # Remove unnecessary trailing slashes from srcdir.
2110 # Double slashes in file names in object file debugging info
2111 # mess up M-x gdb in Emacs.
2112 case $srcdir in
2113 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2114 esac
2115 for ac_var in $ac_precious_vars; do
2116 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2117 eval ac_env_${ac_var}_value=\$${ac_var}
2118 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2119 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2120 done
2123 # Report the --help message.
2125 if test "$ac_init_help" = "long"; then
2126 # Omit some internal or obsolete options to make the list less imposing.
2127 # This message is too long to be a string in the A/UX 3.1 sh.
2128 cat <<_ACEOF
2129 \`configure' configures Wine 1.9.4 to adapt to many kinds of systems.
2131 Usage: $0 [OPTION]... [VAR=VALUE]...
2133 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2134 VAR=VALUE. See below for descriptions of some of the useful variables.
2136 Defaults for the options are specified in brackets.
2138 Configuration:
2139 -h, --help display this help and exit
2140 --help=short display options specific to this package
2141 --help=recursive display the short help of all the included packages
2142 -V, --version display version information and exit
2143 -q, --quiet, --silent do not print \`checking ...' messages
2144 --cache-file=FILE cache test results in FILE [disabled]
2145 -C, --config-cache alias for \`--cache-file=config.cache'
2146 -n, --no-create do not create output files
2147 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2149 Installation directories:
2150 --prefix=PREFIX install architecture-independent files in PREFIX
2151 [$ac_default_prefix]
2152 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2153 [PREFIX]
2155 By default, \`make install' will install all the files in
2156 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2157 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2158 for instance \`--prefix=\$HOME'.
2160 For better control, use the options below.
2162 Fine tuning of the installation directories:
2163 --bindir=DIR user executables [EPREFIX/bin]
2164 --sbindir=DIR system admin executables [EPREFIX/sbin]
2165 --libexecdir=DIR program executables [EPREFIX/libexec]
2166 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2167 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2168 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2169 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2170 --libdir=DIR object code libraries [EPREFIX/lib]
2171 --includedir=DIR C header files [PREFIX/include]
2172 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2173 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2174 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2175 --infodir=DIR info documentation [DATAROOTDIR/info]
2176 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2177 --mandir=DIR man documentation [DATAROOTDIR/man]
2178 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2179 --htmldir=DIR html documentation [DOCDIR]
2180 --dvidir=DIR dvi documentation [DOCDIR]
2181 --pdfdir=DIR pdf documentation [DOCDIR]
2182 --psdir=DIR ps documentation [DOCDIR]
2183 _ACEOF
2185 cat <<\_ACEOF
2187 X features:
2188 --x-includes=DIR X include files are in DIR
2189 --x-libraries=DIR X library files are in DIR
2191 System types:
2192 --build=BUILD configure for building on BUILD [guessed]
2193 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2194 _ACEOF
2197 if test -n "$ac_init_help"; then
2198 case $ac_init_help in
2199 short | recursive ) echo "Configuration of Wine 1.9.4:";;
2200 esac
2201 cat <<\_ACEOF
2203 Optional Features:
2204 --disable-option-checking ignore unrecognized --enable/--with options
2205 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2206 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2207 --disable-win16 do not include Win16 support
2208 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2209 binaries)
2210 --disable-tests do not build the regression tests
2211 --enable-maintainer-mode
2212 enable maintainer-specific build rules
2213 --disable-largefile omit support for large files
2215 Optional Packages:
2216 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2217 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2218 --without-alsa do not use the Alsa sound support
2219 --without-capi do not use CAPI (ISDN support)
2220 --without-cms do not use CMS (color management support)
2221 --without-coreaudio do not use the CoreAudio sound support
2222 --without-cups do not use CUPS
2223 --without-curses do not use (n)curses
2224 --without-dbus do not use DBus (dynamic device support)
2225 --without-fontconfig do not use fontconfig
2226 --without-freetype do not use the FreeType library
2227 --without-gettext do not use gettext
2228 --with-gettextpo use the GetTextPO library to rebuild po files
2229 --without-gphoto do not use gphoto (Digital Camera support)
2230 --without-glu do not use the GLU library
2231 --without-gnutls do not use GnuTLS (schannel support)
2232 --without-gsm do not use libgsm (GSM 06.10 codec support)
2233 --without-gstreamer do not use GStreamer (codecs support)
2234 --without-hal do not use HAL (dynamic device support)
2235 --without-jpeg do not use JPEG
2236 --without-ldap do not use LDAP
2237 --without-mpg123 do not use the mpg123 library
2238 --without-netapi do not use the Samba NetAPI library
2239 --without-openal do not use OpenAL
2240 --without-opencl do not use OpenCL
2241 --without-opengl do not use OpenGL
2242 --without-osmesa do not use the OSMesa library
2243 --without-oss do not use the OSS sound support
2244 --without-pcap do not use the Packet Capture library
2245 --without-png do not use PNG
2246 --without-pthread do not use the pthread library
2247 --without-pulse do not use PulseAudio sound support
2248 --without-sane do not use SANE (scanner support)
2249 --without-tiff do not use TIFF
2250 --without-v4l do not use v4l1 (v4l support)
2251 --without-xcomposite do not use the Xcomposite extension
2252 --without-xcursor do not use the Xcursor extension
2253 --without-xinerama do not use Xinerama (multi-monitor support)
2254 --without-xinput do not use the Xinput extension
2255 --without-xinput2 do not use the Xinput 2 extension
2256 --without-xml do not use XML
2257 --without-xrandr do not use Xrandr (resolution changes)
2258 --without-xrender do not use the Xrender extension
2259 --without-xshape do not use the Xshape extension
2260 --without-xshm do not use XShm (shared memory extension)
2261 --without-xslt do not use XSLT
2262 --without-xxf86vm do not use XFree video mode extension
2263 --without-zlib do not use Zlib (data compression)
2264 --with-wine-tools=DIR use Wine tools from directory DIR
2265 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2266 --with-x use the X Window System
2268 Some influential environment variables:
2269 CC C compiler command
2270 CFLAGS C compiler flags
2271 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2272 nonstandard directory <lib dir>
2273 LIBS libraries to pass to the linker, e.g. -l<library>
2274 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2275 you have headers in a nonstandard directory <include dir>
2276 CXX C++ compiler command
2277 CXXFLAGS C++ compiler flags
2278 CPP C preprocessor
2279 XMKMF Path to xmkmf, Makefile generator for X Window System
2280 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2281 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2282 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2283 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2284 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2285 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2286 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2287 HAL_LIBS Linker flags for hal, overriding pkg-config
2288 GNUTLS_CFLAGS
2289 C compiler flags for gnutls, overriding pkg-config
2290 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2291 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2292 SANE_LIBS Linker flags for libsane, overriding pkg-config
2293 GPHOTO2_CFLAGS
2294 C compiler flags for libgphoto2, overriding pkg-config
2295 GPHOTO2_LIBS
2296 Linker flags for libgphoto2, overriding pkg-config
2297 GPHOTO2_PORT_CFLAGS
2298 C compiler flags for libgphoto2_port, overriding pkg-config
2299 GPHOTO2_PORT_LIBS
2300 Linker flags for libgphoto2_port, overriding pkg-config
2301 LCMS2_CFLAGS
2302 C compiler flags for lcms2, overriding pkg-config
2303 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2304 FREETYPE_CFLAGS
2305 C compiler flags for freetype2, overriding pkg-config
2306 FREETYPE_LIBS
2307 Linker flags for freetype2, overriding pkg-config
2308 PULSE_CFLAGS
2309 C compiler flags for libpulse, overriding pkg-config
2310 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2311 GSTREAMER_CFLAGS
2312 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2313 gstreamer-audio-1.0, overriding pkg-config
2314 GSTREAMER_LIBS
2315 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2316 gstreamer-audio-1.0, overriding pkg-config
2317 CAPI20_CFLAGS
2318 C compiler flags for capi20, overriding pkg-config
2319 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2320 FONTCONFIG_CFLAGS
2321 C compiler flags for fontconfig, overriding pkg-config
2322 FONTCONFIG_LIBS
2323 Linker flags for fontconfig, overriding pkg-config
2324 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2325 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2326 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2327 PNG_LIBS Linker flags for libpng, overriding pkg-config
2328 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2329 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2330 MPG123_CFLAGS
2331 C compiler flags for libmpg123, overriding pkg-config
2332 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2333 NETAPI_CFLAGS
2334 C compiler flags for netapi, overriding pkg-config
2335 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2337 Use these variables to override the choices made by `configure' or to help
2338 it to find libraries and programs with nonstandard names/locations.
2340 Report bugs to <wine-devel@winehq.org>.
2341 Wine home page: <http://www.winehq.org>.
2342 _ACEOF
2343 ac_status=$?
2346 if test "$ac_init_help" = "recursive"; then
2347 # If there are subdirs, report their specific --help.
2348 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2349 test -d "$ac_dir" ||
2350 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2351 continue
2352 ac_builddir=.
2354 case "$ac_dir" in
2355 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2357 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2358 # A ".." for each directory in $ac_dir_suffix.
2359 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2360 case $ac_top_builddir_sub in
2361 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2362 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2363 esac ;;
2364 esac
2365 ac_abs_top_builddir=$ac_pwd
2366 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2367 # for backward compatibility:
2368 ac_top_builddir=$ac_top_build_prefix
2370 case $srcdir in
2371 .) # We are building in place.
2372 ac_srcdir=.
2373 ac_top_srcdir=$ac_top_builddir_sub
2374 ac_abs_top_srcdir=$ac_pwd ;;
2375 [\\/]* | ?:[\\/]* ) # Absolute name.
2376 ac_srcdir=$srcdir$ac_dir_suffix;
2377 ac_top_srcdir=$srcdir
2378 ac_abs_top_srcdir=$srcdir ;;
2379 *) # Relative name.
2380 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2381 ac_top_srcdir=$ac_top_build_prefix$srcdir
2382 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2383 esac
2384 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2386 cd "$ac_dir" || { ac_status=$?; continue; }
2387 # Check for guested configure.
2388 if test -f "$ac_srcdir/configure.gnu"; then
2389 echo &&
2390 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2391 elif test -f "$ac_srcdir/configure"; then
2392 echo &&
2393 $SHELL "$ac_srcdir/configure" --help=recursive
2394 else
2395 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2396 fi || ac_status=$?
2397 cd "$ac_pwd" || { ac_status=$?; break; }
2398 done
2401 test -n "$ac_init_help" && exit $ac_status
2402 if $ac_init_version; then
2403 cat <<\_ACEOF
2404 Wine configure 1.9.4
2405 generated by GNU Autoconf 2.69
2407 Copyright (C) 2012 Free Software Foundation, Inc.
2408 This configure script is free software; the Free Software Foundation
2409 gives unlimited permission to copy, distribute and modify it.
2410 _ACEOF
2411 exit
2414 ## ------------------------ ##
2415 ## Autoconf initialization. ##
2416 ## ------------------------ ##
2418 # ac_fn_c_try_compile LINENO
2419 # --------------------------
2420 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2421 ac_fn_c_try_compile ()
2423 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2424 rm -f conftest.$ac_objext
2425 if { { ac_try="$ac_compile"
2426 case "(($ac_try" in
2427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2428 *) ac_try_echo=$ac_try;;
2429 esac
2430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2431 $as_echo "$ac_try_echo"; } >&5
2432 (eval "$ac_compile") 2>conftest.err
2433 ac_status=$?
2434 if test -s conftest.err; then
2435 grep -v '^ *+' conftest.err >conftest.er1
2436 cat conftest.er1 >&5
2437 mv -f conftest.er1 conftest.err
2439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2440 test $ac_status = 0; } && {
2441 test -z "$ac_c_werror_flag" ||
2442 test ! -s conftest.err
2443 } && test -s conftest.$ac_objext; then :
2444 ac_retval=0
2445 else
2446 $as_echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.$ac_ext >&5
2449 ac_retval=1
2451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2452 as_fn_set_status $ac_retval
2454 } # ac_fn_c_try_compile
2456 # ac_fn_cxx_try_compile LINENO
2457 # ----------------------------
2458 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2459 ac_fn_cxx_try_compile ()
2461 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2462 rm -f conftest.$ac_objext
2463 if { { ac_try="$ac_compile"
2464 case "(($ac_try" in
2465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2466 *) ac_try_echo=$ac_try;;
2467 esac
2468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2469 $as_echo "$ac_try_echo"; } >&5
2470 (eval "$ac_compile") 2>conftest.err
2471 ac_status=$?
2472 if test -s conftest.err; then
2473 grep -v '^ *+' conftest.err >conftest.er1
2474 cat conftest.er1 >&5
2475 mv -f conftest.er1 conftest.err
2477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2478 test $ac_status = 0; } && {
2479 test -z "$ac_cxx_werror_flag" ||
2480 test ! -s conftest.err
2481 } && test -s conftest.$ac_objext; then :
2482 ac_retval=0
2483 else
2484 $as_echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.$ac_ext >&5
2487 ac_retval=1
2489 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2490 as_fn_set_status $ac_retval
2492 } # ac_fn_cxx_try_compile
2494 # ac_fn_c_try_link LINENO
2495 # -----------------------
2496 # Try to link conftest.$ac_ext, and return whether this succeeded.
2497 ac_fn_c_try_link ()
2499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2500 rm -f conftest.$ac_objext conftest$ac_exeext
2501 if { { ac_try="$ac_link"
2502 case "(($ac_try" in
2503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
2505 esac
2506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2507 $as_echo "$ac_try_echo"; } >&5
2508 (eval "$ac_link") 2>conftest.err
2509 ac_status=$?
2510 if test -s conftest.err; then
2511 grep -v '^ *+' conftest.err >conftest.er1
2512 cat conftest.er1 >&5
2513 mv -f conftest.er1 conftest.err
2515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2516 test $ac_status = 0; } && {
2517 test -z "$ac_c_werror_flag" ||
2518 test ! -s conftest.err
2519 } && test -s conftest$ac_exeext && {
2520 test "$cross_compiling" = yes ||
2521 test -x conftest$ac_exeext
2522 }; then :
2523 ac_retval=0
2524 else
2525 $as_echo "$as_me: failed program was:" >&5
2526 sed 's/^/| /' conftest.$ac_ext >&5
2528 ac_retval=1
2530 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2531 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2532 # interfere with the next link command; also delete a directory that is
2533 # left behind by Apple's compiler. We do this before executing the actions.
2534 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2535 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2536 as_fn_set_status $ac_retval
2538 } # ac_fn_c_try_link
2540 # ac_fn_c_try_cpp LINENO
2541 # ----------------------
2542 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2543 ac_fn_c_try_cpp ()
2545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2546 if { { ac_try="$ac_cpp conftest.$ac_ext"
2547 case "(($ac_try" in
2548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2549 *) ac_try_echo=$ac_try;;
2550 esac
2551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2552 $as_echo "$ac_try_echo"; } >&5
2553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2554 ac_status=$?
2555 if test -s conftest.err; then
2556 grep -v '^ *+' conftest.err >conftest.er1
2557 cat conftest.er1 >&5
2558 mv -f conftest.er1 conftest.err
2560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2561 test $ac_status = 0; } > conftest.i && {
2562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2563 test ! -s conftest.err
2564 }; then :
2565 ac_retval=0
2566 else
2567 $as_echo "$as_me: failed program was:" >&5
2568 sed 's/^/| /' conftest.$ac_ext >&5
2570 ac_retval=1
2572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2573 as_fn_set_status $ac_retval
2575 } # ac_fn_c_try_cpp
2577 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2578 # -------------------------------------------------------
2579 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2580 # the include files in INCLUDES and setting the cache variable VAR
2581 # accordingly.
2582 ac_fn_c_check_header_mongrel ()
2584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2585 if eval \${$3+:} false; then :
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2587 $as_echo_n "checking for $2... " >&6; }
2588 if eval \${$3+:} false; then :
2589 $as_echo_n "(cached) " >&6
2591 eval ac_res=\$$3
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2593 $as_echo "$ac_res" >&6; }
2594 else
2595 # Is the header compilable?
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2597 $as_echo_n "checking $2 usability... " >&6; }
2598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2599 /* end confdefs.h. */
2601 #include <$2>
2602 _ACEOF
2603 if ac_fn_c_try_compile "$LINENO"; then :
2604 ac_header_compiler=yes
2605 else
2606 ac_header_compiler=no
2608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2610 $as_echo "$ac_header_compiler" >&6; }
2612 # Is the header present?
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2614 $as_echo_n "checking $2 presence... " >&6; }
2615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2616 /* end confdefs.h. */
2617 #include <$2>
2618 _ACEOF
2619 if ac_fn_c_try_cpp "$LINENO"; then :
2620 ac_header_preproc=yes
2621 else
2622 ac_header_preproc=no
2624 rm -f conftest.err conftest.i conftest.$ac_ext
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2626 $as_echo "$ac_header_preproc" >&6; }
2628 # So? What about this header?
2629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2630 yes:no: )
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2632 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2634 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2636 no:yes:* )
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2638 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2640 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2642 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2644 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2646 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2647 ( $as_echo "## ------------------------------------ ##
2648 ## Report this to wine-devel@winehq.org ##
2649 ## ------------------------------------ ##"
2650 ) | sed "s/^/$as_me: WARNING: /" >&2
2652 esac
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2654 $as_echo_n "checking for $2... " >&6; }
2655 if eval \${$3+:} false; then :
2656 $as_echo_n "(cached) " >&6
2657 else
2658 eval "$3=\$ac_header_compiler"
2660 eval ac_res=\$$3
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2662 $as_echo "$ac_res" >&6; }
2664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2666 } # ac_fn_c_check_header_mongrel
2668 # ac_fn_c_try_run LINENO
2669 # ----------------------
2670 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2671 # that executables *can* be run.
2672 ac_fn_c_try_run ()
2674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2675 if { { ac_try="$ac_link"
2676 case "(($ac_try" in
2677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2678 *) ac_try_echo=$ac_try;;
2679 esac
2680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2681 $as_echo "$ac_try_echo"; } >&5
2682 (eval "$ac_link") 2>&5
2683 ac_status=$?
2684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2685 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2686 { { case "(($ac_try" in
2687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2689 esac
2690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691 $as_echo "$ac_try_echo"; } >&5
2692 (eval "$ac_try") 2>&5
2693 ac_status=$?
2694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; }; }; then :
2696 ac_retval=0
2697 else
2698 $as_echo "$as_me: program exited with status $ac_status" >&5
2699 $as_echo "$as_me: failed program was:" >&5
2700 sed 's/^/| /' conftest.$ac_ext >&5
2702 ac_retval=$ac_status
2704 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2706 as_fn_set_status $ac_retval
2708 } # ac_fn_c_try_run
2710 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2711 # -------------------------------------------------------
2712 # Tests whether HEADER exists and can be compiled using the include files in
2713 # INCLUDES, setting the cache variable VAR accordingly.
2714 ac_fn_c_check_header_compile ()
2716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2718 $as_echo_n "checking for $2... " >&6; }
2719 if eval \${$3+:} false; then :
2720 $as_echo_n "(cached) " >&6
2721 else
2722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2723 /* end confdefs.h. */
2725 #include <$2>
2726 _ACEOF
2727 if ac_fn_c_try_compile "$LINENO"; then :
2728 eval "$3=yes"
2729 else
2730 eval "$3=no"
2732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2734 eval ac_res=\$$3
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2736 $as_echo "$ac_res" >&6; }
2737 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2739 } # ac_fn_c_check_header_compile
2741 # ac_fn_c_check_func LINENO FUNC VAR
2742 # ----------------------------------
2743 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2744 ac_fn_c_check_func ()
2746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2748 $as_echo_n "checking for $2... " >&6; }
2749 if eval \${$3+:} false; then :
2750 $as_echo_n "(cached) " >&6
2751 else
2752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2753 /* end confdefs.h. */
2754 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2756 #define $2 innocuous_$2
2758 /* System header to define __stub macros and hopefully few prototypes,
2759 which can conflict with char $2 (); below.
2760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2761 <limits.h> exists even on freestanding compilers. */
2763 #ifdef __STDC__
2764 # include <limits.h>
2765 #else
2766 # include <assert.h>
2767 #endif
2769 #undef $2
2771 /* Override any GCC internal prototype to avoid an error.
2772 Use char because int might match the return type of a GCC
2773 builtin and then its argument prototype would still apply. */
2774 #ifdef __cplusplus
2775 extern "C"
2776 #endif
2777 char $2 ();
2778 /* The GNU C library defines this for functions which it implements
2779 to always fail with ENOSYS. Some functions are actually named
2780 something starting with __ and the normal name is an alias. */
2781 #if defined __stub_$2 || defined __stub___$2
2782 choke me
2783 #endif
2786 main ()
2788 return $2 ();
2790 return 0;
2792 _ACEOF
2793 if ac_fn_c_try_link "$LINENO"; then :
2794 eval "$3=yes"
2795 else
2796 eval "$3=no"
2798 rm -f core conftest.err conftest.$ac_objext \
2799 conftest$ac_exeext conftest.$ac_ext
2801 eval ac_res=\$$3
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2803 $as_echo "$ac_res" >&6; }
2804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2806 } # ac_fn_c_check_func
2808 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2809 # ----------------------------------------------------
2810 # Tries to find if the field MEMBER exists in type AGGR, after including
2811 # INCLUDES, setting cache variable VAR accordingly.
2812 ac_fn_c_check_member ()
2814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2816 $as_echo_n "checking for $2.$3... " >&6; }
2817 if eval \${$4+:} false; then :
2818 $as_echo_n "(cached) " >&6
2819 else
2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2821 /* end confdefs.h. */
2824 main ()
2826 static $2 ac_aggr;
2827 if (ac_aggr.$3)
2828 return 0;
2830 return 0;
2832 _ACEOF
2833 if ac_fn_c_try_compile "$LINENO"; then :
2834 eval "$4=yes"
2835 else
2836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837 /* end confdefs.h. */
2840 main ()
2842 static $2 ac_aggr;
2843 if (sizeof ac_aggr.$3)
2844 return 0;
2846 return 0;
2848 _ACEOF
2849 if ac_fn_c_try_compile "$LINENO"; then :
2850 eval "$4=yes"
2851 else
2852 eval "$4=no"
2854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 eval ac_res=\$$4
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2860 $as_echo "$ac_res" >&6; }
2861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2863 } # ac_fn_c_check_member
2865 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2866 # -------------------------------------------
2867 # Tests whether TYPE exists after having included INCLUDES, setting cache
2868 # variable VAR accordingly.
2869 ac_fn_c_check_type ()
2871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2873 $as_echo_n "checking for $2... " >&6; }
2874 if eval \${$3+:} false; then :
2875 $as_echo_n "(cached) " >&6
2876 else
2877 eval "$3=no"
2878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2879 /* end confdefs.h. */
2882 main ()
2884 if (sizeof ($2))
2885 return 0;
2887 return 0;
2889 _ACEOF
2890 if ac_fn_c_try_compile "$LINENO"; then :
2891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892 /* end confdefs.h. */
2895 main ()
2897 if (sizeof (($2)))
2898 return 0;
2900 return 0;
2902 _ACEOF
2903 if ac_fn_c_try_compile "$LINENO"; then :
2905 else
2906 eval "$3=yes"
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2912 eval ac_res=\$$3
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2914 $as_echo "$ac_res" >&6; }
2915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2917 } # ac_fn_c_check_type
2918 cat >config.log <<_ACEOF
2919 This file contains any messages produced by compilers while
2920 running configure, to aid debugging if configure makes a mistake.
2922 It was created by Wine $as_me 1.9.4, which was
2923 generated by GNU Autoconf 2.69. Invocation command line was
2925 $ $0 $@
2927 _ACEOF
2928 exec 5>>config.log
2930 cat <<_ASUNAME
2931 ## --------- ##
2932 ## Platform. ##
2933 ## --------- ##
2935 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2936 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2937 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2938 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2939 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2941 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2942 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2944 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2945 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2946 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2947 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2948 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2949 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2950 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2952 _ASUNAME
2954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 for as_dir in $PATH
2957 IFS=$as_save_IFS
2958 test -z "$as_dir" && as_dir=.
2959 $as_echo "PATH: $as_dir"
2960 done
2961 IFS=$as_save_IFS
2963 } >&5
2965 cat >&5 <<_ACEOF
2968 ## ----------- ##
2969 ## Core tests. ##
2970 ## ----------- ##
2972 _ACEOF
2975 # Keep a trace of the command line.
2976 # Strip out --no-create and --no-recursion so they do not pile up.
2977 # Strip out --silent because we don't want to record it for future runs.
2978 # Also quote any args containing shell meta-characters.
2979 # Make two passes to allow for proper duplicate-argument suppression.
2980 ac_configure_args=
2981 ac_configure_args0=
2982 ac_configure_args1=
2983 ac_must_keep_next=false
2984 for ac_pass in 1 2
2986 for ac_arg
2988 case $ac_arg in
2989 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2991 | -silent | --silent | --silen | --sile | --sil)
2992 continue ;;
2993 *\'*)
2994 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2995 esac
2996 case $ac_pass in
2997 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2999 as_fn_append ac_configure_args1 " '$ac_arg'"
3000 if test $ac_must_keep_next = true; then
3001 ac_must_keep_next=false # Got value, back to normal.
3002 else
3003 case $ac_arg in
3004 *=* | --config-cache | -C | -disable-* | --disable-* \
3005 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3006 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3007 | -with-* | --with-* | -without-* | --without-* | --x)
3008 case "$ac_configure_args0 " in
3009 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3010 esac
3012 -* ) ac_must_keep_next=true ;;
3013 esac
3015 as_fn_append ac_configure_args " '$ac_arg'"
3017 esac
3018 done
3019 done
3020 { ac_configure_args0=; unset ac_configure_args0;}
3021 { ac_configure_args1=; unset ac_configure_args1;}
3023 # When interrupted or exit'd, cleanup temporary files, and complete
3024 # config.log. We remove comments because anyway the quotes in there
3025 # would cause problems or look ugly.
3026 # WARNING: Use '\'' to represent an apostrophe within the trap.
3027 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3028 trap 'exit_status=$?
3029 # Save into config.log some information that might help in debugging.
3031 echo
3033 $as_echo "## ---------------- ##
3034 ## Cache variables. ##
3035 ## ---------------- ##"
3036 echo
3037 # The following way of writing the cache mishandles newlines in values,
3039 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3040 eval ac_val=\$$ac_var
3041 case $ac_val in #(
3042 *${as_nl}*)
3043 case $ac_var in #(
3044 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3045 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3046 esac
3047 case $ac_var in #(
3048 _ | IFS | as_nl) ;; #(
3049 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3050 *) { eval $ac_var=; unset $ac_var;} ;;
3051 esac ;;
3052 esac
3053 done
3054 (set) 2>&1 |
3055 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3056 *${as_nl}ac_space=\ *)
3057 sed -n \
3058 "s/'\''/'\''\\\\'\'''\''/g;
3059 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3060 ;; #(
3062 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3064 esac |
3065 sort
3067 echo
3069 $as_echo "## ----------------- ##
3070 ## Output variables. ##
3071 ## ----------------- ##"
3072 echo
3073 for ac_var in $ac_subst_vars
3075 eval ac_val=\$$ac_var
3076 case $ac_val in
3077 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3078 esac
3079 $as_echo "$ac_var='\''$ac_val'\''"
3080 done | sort
3081 echo
3083 if test -n "$ac_subst_files"; then
3084 $as_echo "## ------------------- ##
3085 ## File substitutions. ##
3086 ## ------------------- ##"
3087 echo
3088 for ac_var in $ac_subst_files
3090 eval ac_val=\$$ac_var
3091 case $ac_val in
3092 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3093 esac
3094 $as_echo "$ac_var='\''$ac_val'\''"
3095 done | sort
3096 echo
3099 if test -s confdefs.h; then
3100 $as_echo "## ----------- ##
3101 ## confdefs.h. ##
3102 ## ----------- ##"
3103 echo
3104 cat confdefs.h
3105 echo
3107 test "$ac_signal" != 0 &&
3108 $as_echo "$as_me: caught signal $ac_signal"
3109 $as_echo "$as_me: exit $exit_status"
3110 } >&5
3111 rm -f core *.core core.conftest.* &&
3112 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3113 exit $exit_status
3115 for ac_signal in 1 2 13 15; do
3116 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3117 done
3118 ac_signal=0
3120 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3121 rm -f -r conftest* confdefs.h
3123 $as_echo "/* confdefs.h */" > confdefs.h
3125 # Predefined preprocessor variables.
3127 cat >>confdefs.h <<_ACEOF
3128 #define PACKAGE_NAME "$PACKAGE_NAME"
3129 _ACEOF
3131 cat >>confdefs.h <<_ACEOF
3132 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3133 _ACEOF
3135 cat >>confdefs.h <<_ACEOF
3136 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3137 _ACEOF
3139 cat >>confdefs.h <<_ACEOF
3140 #define PACKAGE_STRING "$PACKAGE_STRING"
3141 _ACEOF
3143 cat >>confdefs.h <<_ACEOF
3144 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3145 _ACEOF
3147 cat >>confdefs.h <<_ACEOF
3148 #define PACKAGE_URL "$PACKAGE_URL"
3149 _ACEOF
3152 # Let the site file select an alternate cache file if it wants to.
3153 # Prefer an explicitly selected file to automatically selected ones.
3154 ac_site_file1=NONE
3155 ac_site_file2=NONE
3156 if test -n "$CONFIG_SITE"; then
3157 # We do not want a PATH search for config.site.
3158 case $CONFIG_SITE in #((
3159 -*) ac_site_file1=./$CONFIG_SITE;;
3160 */*) ac_site_file1=$CONFIG_SITE;;
3161 *) ac_site_file1=./$CONFIG_SITE;;
3162 esac
3163 elif test "x$prefix" != xNONE; then
3164 ac_site_file1=$prefix/share/config.site
3165 ac_site_file2=$prefix/etc/config.site
3166 else
3167 ac_site_file1=$ac_default_prefix/share/config.site
3168 ac_site_file2=$ac_default_prefix/etc/config.site
3170 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3172 test "x$ac_site_file" = xNONE && continue
3173 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3175 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3176 sed 's/^/| /' "$ac_site_file" >&5
3177 . "$ac_site_file" \
3178 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3180 as_fn_error $? "failed to load site script $ac_site_file
3181 See \`config.log' for more details" "$LINENO" 5; }
3183 done
3185 if test -r "$cache_file"; then
3186 # Some versions of bash will fail to source /dev/null (special files
3187 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3188 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3190 $as_echo "$as_me: loading cache $cache_file" >&6;}
3191 case $cache_file in
3192 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3193 *) . "./$cache_file";;
3194 esac
3196 else
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3198 $as_echo "$as_me: creating cache $cache_file" >&6;}
3199 >$cache_file
3202 # Check that the precious variables saved in the cache have kept the same
3203 # value.
3204 ac_cache_corrupted=false
3205 for ac_var in $ac_precious_vars; do
3206 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3207 eval ac_new_set=\$ac_env_${ac_var}_set
3208 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3209 eval ac_new_val=\$ac_env_${ac_var}_value
3210 case $ac_old_set,$ac_new_set in
3211 set,)
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3213 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3214 ac_cache_corrupted=: ;;
3215 ,set)
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3217 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3218 ac_cache_corrupted=: ;;
3219 ,);;
3221 if test "x$ac_old_val" != "x$ac_new_val"; then
3222 # differences in whitespace do not lead to failure.
3223 ac_old_val_w=`echo x $ac_old_val`
3224 ac_new_val_w=`echo x $ac_new_val`
3225 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3227 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3228 ac_cache_corrupted=:
3229 else
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3231 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3232 eval $ac_var=\$ac_old_val
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3235 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3237 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3238 fi;;
3239 esac
3240 # Pass precious variables to config.status.
3241 if test "$ac_new_set" = set; then
3242 case $ac_new_val in
3243 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3244 *) ac_arg=$ac_var=$ac_new_val ;;
3245 esac
3246 case " $ac_configure_args " in
3247 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3248 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3249 esac
3251 done
3252 if $ac_cache_corrupted; then
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3256 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3257 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3259 ## -------------------- ##
3260 ## Main body of script. ##
3261 ## -------------------- ##
3263 ac_ext=c
3264 ac_cpp='$CPP $CPPFLAGS'
3265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3271 ac_config_headers="$ac_config_headers include/config.h"
3273 ac_aux_dir=
3274 for ac_dir in tools "$srcdir"/tools; do
3275 if test -f "$ac_dir/install-sh"; then
3276 ac_aux_dir=$ac_dir
3277 ac_install_sh="$ac_aux_dir/install-sh -c"
3278 break
3279 elif test -f "$ac_dir/install.sh"; then
3280 ac_aux_dir=$ac_dir
3281 ac_install_sh="$ac_aux_dir/install.sh -c"
3282 break
3283 elif test -f "$ac_dir/shtool"; then
3284 ac_aux_dir=$ac_dir
3285 ac_install_sh="$ac_aux_dir/shtool install -c"
3286 break
3288 done
3289 if test -z "$ac_aux_dir"; then
3290 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3293 # These three variables are undocumented and unsupported,
3294 # and are intended to be withdrawn in a future Autoconf release.
3295 # They can cause serious problems if a builder's source tree is in a directory
3296 # whose full name contains unusual characters.
3297 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3298 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3299 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3303 libwine_version="1.0"
3307 # Check whether --enable-win16 was given.
3308 if test "${enable_win16+set}" = set; then :
3309 enableval=$enable_win16;
3312 # Check whether --enable-win64 was given.
3313 if test "${enable_win64+set}" = set; then :
3314 enableval=$enable_win64;
3317 # Check whether --enable-tests was given.
3318 if test "${enable_tests+set}" = set; then :
3319 enableval=$enable_tests;
3322 # Check whether --enable-maintainer-mode was given.
3323 if test "${enable_maintainer_mode+set}" = set; then :
3324 enableval=$enable_maintainer_mode;
3329 # Check whether --with-alsa was given.
3330 if test "${with_alsa+set}" = set; then :
3331 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3335 # Check whether --with-capi was given.
3336 if test "${with_capi+set}" = set; then :
3337 withval=$with_capi;
3341 # Check whether --with-cms was given.
3342 if test "${with_cms+set}" = set; then :
3343 withval=$with_cms;
3347 # Check whether --with-coreaudio was given.
3348 if test "${with_coreaudio+set}" = set; then :
3349 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3353 # Check whether --with-cups was given.
3354 if test "${with_cups+set}" = set; then :
3355 withval=$with_cups;
3359 # Check whether --with-curses was given.
3360 if test "${with_curses+set}" = set; then :
3361 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3365 # Check whether --with-dbus was given.
3366 if test "${with_dbus+set}" = set; then :
3367 withval=$with_dbus;
3371 # Check whether --with-fontconfig was given.
3372 if test "${with_fontconfig+set}" = set; then :
3373 withval=$with_fontconfig;
3377 # Check whether --with-freetype was given.
3378 if test "${with_freetype+set}" = set; then :
3379 withval=$with_freetype;
3383 # Check whether --with-gettext was given.
3384 if test "${with_gettext+set}" = set; then :
3385 withval=$with_gettext;
3389 # Check whether --with-gettextpo was given.
3390 if test "${with_gettextpo+set}" = set; then :
3391 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3395 # Check whether --with-gphoto was given.
3396 if test "${with_gphoto+set}" = set; then :
3397 withval=$with_gphoto;
3401 # Check whether --with-glu was given.
3402 if test "${with_glu+set}" = set; then :
3403 withval=$with_glu;
3407 # Check whether --with-gnutls was given.
3408 if test "${with_gnutls+set}" = set; then :
3409 withval=$with_gnutls;
3413 # Check whether --with-gsm was given.
3414 if test "${with_gsm+set}" = set; then :
3415 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3419 # Check whether --with-gstreamer was given.
3420 if test "${with_gstreamer+set}" = set; then :
3421 withval=$with_gstreamer;
3425 # Check whether --with-hal was given.
3426 if test "${with_hal+set}" = set; then :
3427 withval=$with_hal;
3431 # Check whether --with-jpeg was given.
3432 if test "${with_jpeg+set}" = set; then :
3433 withval=$with_jpeg;
3437 # Check whether --with-ldap was given.
3438 if test "${with_ldap+set}" = set; then :
3439 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3443 # Check whether --with-mpg123 was given.
3444 if test "${with_mpg123+set}" = set; then :
3445 withval=$with_mpg123;
3449 # Check whether --with-netapi was given.
3450 if test "${with_netapi+set}" = set; then :
3451 withval=$with_netapi;
3455 # Check whether --with-openal was given.
3456 if test "${with_openal+set}" = set; then :
3457 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3461 # Check whether --with-opencl was given.
3462 if test "${with_opencl+set}" = set; then :
3463 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3467 # Check whether --with-opengl was given.
3468 if test "${with_opengl+set}" = set; then :
3469 withval=$with_opengl;
3473 # Check whether --with-osmesa was given.
3474 if test "${with_osmesa+set}" = set; then :
3475 withval=$with_osmesa;
3479 # Check whether --with-oss was given.
3480 if test "${with_oss+set}" = set; then :
3481 withval=$with_oss;
3485 # Check whether --with-pcap was given.
3486 if test "${with_pcap+set}" = set; then :
3487 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3491 # Check whether --with-png was given.
3492 if test "${with_png+set}" = set; then :
3493 withval=$with_png;
3497 # Check whether --with-pthread was given.
3498 if test "${with_pthread+set}" = set; then :
3499 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3503 # Check whether --with-pulse was given.
3504 if test "${with_pulse+set}" = set; then :
3505 withval=$with_pulse;
3509 # Check whether --with-sane was given.
3510 if test "${with_sane+set}" = set; then :
3511 withval=$with_sane;
3515 # Check whether --with-tiff was given.
3516 if test "${with_tiff+set}" = set; then :
3517 withval=$with_tiff;
3521 # Check whether --with-v4l was given.
3522 if test "${with_v4l+set}" = set; then :
3523 withval=$with_v4l;
3527 # Check whether --with-xcomposite was given.
3528 if test "${with_xcomposite+set}" = set; then :
3529 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3533 # Check whether --with-xcursor was given.
3534 if test "${with_xcursor+set}" = set; then :
3535 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3539 # Check whether --with-xinerama was given.
3540 if test "${with_xinerama+set}" = set; then :
3541 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3545 # Check whether --with-xinput was given.
3546 if test "${with_xinput+set}" = set; then :
3547 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3551 # Check whether --with-xinput2 was given.
3552 if test "${with_xinput2+set}" = set; then :
3553 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3557 # Check whether --with-xml was given.
3558 if test "${with_xml+set}" = set; then :
3559 withval=$with_xml;
3563 # Check whether --with-xrandr was given.
3564 if test "${with_xrandr+set}" = set; then :
3565 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3569 # Check whether --with-xrender was given.
3570 if test "${with_xrender+set}" = set; then :
3571 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3575 # Check whether --with-xshape was given.
3576 if test "${with_xshape+set}" = set; then :
3577 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3581 # Check whether --with-xshm was given.
3582 if test "${with_xshm+set}" = set; then :
3583 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3587 # Check whether --with-xslt was given.
3588 if test "${with_xslt+set}" = set; then :
3589 withval=$with_xslt;
3593 # Check whether --with-xxf86vm was given.
3594 if test "${with_xxf86vm+set}" = set; then :
3595 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
3599 # Check whether --with-zlib was given.
3600 if test "${with_zlib+set}" = set; then :
3601 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3606 # Check whether --with-wine-tools was given.
3607 if test "${with_wine_tools+set}" = set; then :
3608 withval=$with_wine_tools;
3612 # Check whether --with-wine64 was given.
3613 if test "${with_wine64+set}" = set; then :
3614 withval=$with_wine64;
3618 # Make sure we can run config.sub.
3619 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3620 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3623 $as_echo_n "checking build system type... " >&6; }
3624 if ${ac_cv_build+:} false; then :
3625 $as_echo_n "(cached) " >&6
3626 else
3627 ac_build_alias=$build_alias
3628 test "x$ac_build_alias" = x &&
3629 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3630 test "x$ac_build_alias" = x &&
3631 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3632 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3633 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3637 $as_echo "$ac_cv_build" >&6; }
3638 case $ac_cv_build in
3639 *-*-*) ;;
3640 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3641 esac
3642 build=$ac_cv_build
3643 ac_save_IFS=$IFS; IFS='-'
3644 set x $ac_cv_build
3645 shift
3646 build_cpu=$1
3647 build_vendor=$2
3648 shift; shift
3649 # Remember, the first character of IFS is used to create $*,
3650 # except with old shells:
3651 build_os=$*
3652 IFS=$ac_save_IFS
3653 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3657 $as_echo_n "checking host system type... " >&6; }
3658 if ${ac_cv_host+:} false; then :
3659 $as_echo_n "(cached) " >&6
3660 else
3661 if test "x$host_alias" = x; then
3662 ac_cv_host=$ac_cv_build
3663 else
3664 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3665 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3670 $as_echo "$ac_cv_host" >&6; }
3671 case $ac_cv_host in
3672 *-*-*) ;;
3673 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3674 esac
3675 host=$ac_cv_host
3676 ac_save_IFS=$IFS; IFS='-'
3677 set x $ac_cv_host
3678 shift
3679 host_cpu=$1
3680 host_vendor=$2
3681 shift; shift
3682 # Remember, the first character of IFS is used to create $*,
3683 # except with old shells:
3684 host_os=$*
3685 IFS=$ac_save_IFS
3686 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3690 case "$srcdir" in
3691 .) ;;
3692 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3693 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3694 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3695 fi ;;
3696 esac
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3700 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3701 set x ${MAKE-make}
3702 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3703 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3704 $as_echo_n "(cached) " >&6
3705 else
3706 cat >conftest.make <<\_ACEOF
3707 SHELL = /bin/sh
3708 all:
3709 @echo '@@@%%%=$(MAKE)=@@@%%%'
3710 _ACEOF
3711 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3712 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3713 *@@@%%%=?*=@@@%%%*)
3714 eval ac_cv_prog_make_${ac_make}_set=yes;;
3716 eval ac_cv_prog_make_${ac_make}_set=no;;
3717 esac
3718 rm -f conftest.make
3720 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3722 $as_echo "yes" >&6; }
3723 SET_MAKE=
3724 else
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3727 SET_MAKE="MAKE=${MAKE-make}"
3730 ac_ext=c
3731 ac_cpp='$CPP $CPPFLAGS'
3732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3735 if test -n "$ac_tool_prefix"; then
3736 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3737 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if ${ac_cv_prog_CC+:} false; then :
3741 $as_echo_n "(cached) " >&6
3742 else
3743 if test -n "$CC"; then
3744 ac_cv_prog_CC="$CC" # Let the user override the test.
3745 else
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 for as_dir in $PATH
3749 IFS=$as_save_IFS
3750 test -z "$as_dir" && as_dir=.
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3753 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3755 break 2
3757 done
3758 done
3759 IFS=$as_save_IFS
3763 CC=$ac_cv_prog_CC
3764 if test -n "$CC"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3766 $as_echo "$CC" >&6; }
3767 else
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3774 if test -z "$ac_cv_prog_CC"; then
3775 ac_ct_CC=$CC
3776 # Extract the first word of "gcc", so it can be a program name with args.
3777 set dummy gcc; ac_word=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3781 $as_echo_n "(cached) " >&6
3782 else
3783 if test -n "$ac_ct_CC"; then
3784 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3785 else
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 for as_dir in $PATH
3789 IFS=$as_save_IFS
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3793 ac_cv_prog_ac_ct_CC="gcc"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 break 2
3797 done
3798 done
3799 IFS=$as_save_IFS
3803 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3804 if test -n "$ac_ct_CC"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3806 $as_echo "$ac_ct_CC" >&6; }
3807 else
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3812 if test "x$ac_ct_CC" = x; then
3813 CC=""
3814 else
3815 case $cross_compiling:$ac_tool_warned in
3816 yes:)
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3819 ac_tool_warned=yes ;;
3820 esac
3821 CC=$ac_ct_CC
3823 else
3824 CC="$ac_cv_prog_CC"
3827 if test -z "$CC"; then
3828 if test -n "$ac_tool_prefix"; then
3829 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3830 set dummy ${ac_tool_prefix}cc; ac_word=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if ${ac_cv_prog_CC+:} false; then :
3834 $as_echo_n "(cached) " >&6
3835 else
3836 if test -n "$CC"; then
3837 ac_cv_prog_CC="$CC" # Let the user override the test.
3838 else
3839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3840 for as_dir in $PATH
3842 IFS=$as_save_IFS
3843 test -z "$as_dir" && as_dir=.
3844 for ac_exec_ext in '' $ac_executable_extensions; do
3845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3846 ac_cv_prog_CC="${ac_tool_prefix}cc"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3848 break 2
3850 done
3851 done
3852 IFS=$as_save_IFS
3856 CC=$ac_cv_prog_CC
3857 if test -n "$CC"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3859 $as_echo "$CC" >&6; }
3860 else
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3868 if test -z "$CC"; then
3869 # Extract the first word of "cc", so it can be a program name with args.
3870 set dummy cc; ac_word=$2
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if ${ac_cv_prog_CC+:} false; then :
3874 $as_echo_n "(cached) " >&6
3875 else
3876 if test -n "$CC"; then
3877 ac_cv_prog_CC="$CC" # Let the user override the test.
3878 else
3879 ac_prog_rejected=no
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3881 for as_dir in $PATH
3883 IFS=$as_save_IFS
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3887 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3888 ac_prog_rejected=yes
3889 continue
3891 ac_cv_prog_CC="cc"
3892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3893 break 2
3895 done
3896 done
3897 IFS=$as_save_IFS
3899 if test $ac_prog_rejected = yes; then
3900 # We found a bogon in the path, so make sure we never use it.
3901 set dummy $ac_cv_prog_CC
3902 shift
3903 if test $# != 0; then
3904 # We chose a different compiler from the bogus one.
3905 # However, it has the same basename, so the bogon will be chosen
3906 # first if we set CC to just the basename; use the full file name.
3907 shift
3908 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3913 CC=$ac_cv_prog_CC
3914 if test -n "$CC"; then
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3916 $as_echo "$CC" >&6; }
3917 else
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3919 $as_echo "no" >&6; }
3924 if test -z "$CC"; then
3925 if test -n "$ac_tool_prefix"; then
3926 for ac_prog in cl.exe
3928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3929 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3931 $as_echo_n "checking for $ac_word... " >&6; }
3932 if ${ac_cv_prog_CC+:} false; then :
3933 $as_echo_n "(cached) " >&6
3934 else
3935 if test -n "$CC"; then
3936 ac_cv_prog_CC="$CC" # Let the user override the test.
3937 else
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939 for as_dir in $PATH
3941 IFS=$as_save_IFS
3942 test -z "$as_dir" && as_dir=.
3943 for ac_exec_ext in '' $ac_executable_extensions; do
3944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3945 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 break 2
3949 done
3950 done
3951 IFS=$as_save_IFS
3955 CC=$ac_cv_prog_CC
3956 if test -n "$CC"; then
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3958 $as_echo "$CC" >&6; }
3959 else
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3961 $as_echo "no" >&6; }
3965 test -n "$CC" && break
3966 done
3968 if test -z "$CC"; then
3969 ac_ct_CC=$CC
3970 for ac_prog in cl.exe
3972 # Extract the first word of "$ac_prog", so it can be a program name with args.
3973 set dummy $ac_prog; ac_word=$2
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3975 $as_echo_n "checking for $ac_word... " >&6; }
3976 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3977 $as_echo_n "(cached) " >&6
3978 else
3979 if test -n "$ac_ct_CC"; then
3980 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3981 else
3982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3983 for as_dir in $PATH
3985 IFS=$as_save_IFS
3986 test -z "$as_dir" && as_dir=.
3987 for ac_exec_ext in '' $ac_executable_extensions; do
3988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3989 ac_cv_prog_ac_ct_CC="$ac_prog"
3990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3991 break 2
3993 done
3994 done
3995 IFS=$as_save_IFS
3999 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4000 if test -n "$ac_ct_CC"; then
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4002 $as_echo "$ac_ct_CC" >&6; }
4003 else
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4009 test -n "$ac_ct_CC" && break
4010 done
4012 if test "x$ac_ct_CC" = x; then
4013 CC=""
4014 else
4015 case $cross_compiling:$ac_tool_warned in
4016 yes:)
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4019 ac_tool_warned=yes ;;
4020 esac
4021 CC=$ac_ct_CC
4028 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4030 as_fn_error $? "no acceptable C compiler found in \$PATH
4031 See \`config.log' for more details" "$LINENO" 5; }
4033 # Provide some information about the compiler.
4034 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4035 set X $ac_compile
4036 ac_compiler=$2
4037 for ac_option in --version -v -V -qversion; do
4038 { { ac_try="$ac_compiler $ac_option >&5"
4039 case "(($ac_try" in
4040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041 *) ac_try_echo=$ac_try;;
4042 esac
4043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4044 $as_echo "$ac_try_echo"; } >&5
4045 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4046 ac_status=$?
4047 if test -s conftest.err; then
4048 sed '10a\
4049 ... rest of stderr output deleted ...
4050 10q' conftest.err >conftest.er1
4051 cat conftest.er1 >&5
4053 rm -f conftest.er1 conftest.err
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }
4056 done
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4062 main ()
4066 return 0;
4068 _ACEOF
4069 ac_clean_files_save=$ac_clean_files
4070 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4071 # Try to create an executable without -o first, disregard a.out.
4072 # It will help us diagnose broken compilers, and finding out an intuition
4073 # of exeext.
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4075 $as_echo_n "checking whether the C compiler works... " >&6; }
4076 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4078 # The possible output files:
4079 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4081 ac_rmfiles=
4082 for ac_file in $ac_files
4084 case $ac_file in
4085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4086 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4087 esac
4088 done
4089 rm -f $ac_rmfiles
4091 if { { ac_try="$ac_link_default"
4092 case "(($ac_try" in
4093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4094 *) ac_try_echo=$ac_try;;
4095 esac
4096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4097 $as_echo "$ac_try_echo"; } >&5
4098 (eval "$ac_link_default") 2>&5
4099 ac_status=$?
4100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4101 test $ac_status = 0; }; then :
4102 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4103 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4104 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4105 # so that the user can short-circuit this test for compilers unknown to
4106 # Autoconf.
4107 for ac_file in $ac_files ''
4109 test -f "$ac_file" || continue
4110 case $ac_file in
4111 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4113 [ab].out )
4114 # We found the default executable, but exeext='' is most
4115 # certainly right.
4116 break;;
4117 *.* )
4118 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4119 then :; else
4120 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4122 # We set ac_cv_exeext here because the later test for it is not
4123 # safe: cross compilers may not add the suffix if given an `-o'
4124 # argument, so we may need to know it at that point already.
4125 # Even if this section looks crufty: it has the advantage of
4126 # actually working.
4127 break;;
4129 break;;
4130 esac
4131 done
4132 test "$ac_cv_exeext" = no && ac_cv_exeext=
4134 else
4135 ac_file=''
4137 if test -z "$ac_file"; then :
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4139 $as_echo "no" >&6; }
4140 $as_echo "$as_me: failed program was:" >&5
4141 sed 's/^/| /' conftest.$ac_ext >&5
4143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4145 as_fn_error 77 "C compiler cannot create executables
4146 See \`config.log' for more details" "$LINENO" 5; }
4147 else
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4149 $as_echo "yes" >&6; }
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4152 $as_echo_n "checking for C compiler default output file name... " >&6; }
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4154 $as_echo "$ac_file" >&6; }
4155 ac_exeext=$ac_cv_exeext
4157 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4158 ac_clean_files=$ac_clean_files_save
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4160 $as_echo_n "checking for suffix of executables... " >&6; }
4161 if { { ac_try="$ac_link"
4162 case "(($ac_try" in
4163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4164 *) ac_try_echo=$ac_try;;
4165 esac
4166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4167 $as_echo "$ac_try_echo"; } >&5
4168 (eval "$ac_link") 2>&5
4169 ac_status=$?
4170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4171 test $ac_status = 0; }; then :
4172 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4173 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4174 # work properly (i.e., refer to `conftest.exe'), while it won't with
4175 # `rm'.
4176 for ac_file in conftest.exe conftest conftest.*; do
4177 test -f "$ac_file" || continue
4178 case $ac_file in
4179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4180 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4181 break;;
4182 * ) break;;
4183 esac
4184 done
4185 else
4186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4188 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4189 See \`config.log' for more details" "$LINENO" 5; }
4191 rm -f conftest conftest$ac_cv_exeext
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4193 $as_echo "$ac_cv_exeext" >&6; }
4195 rm -f conftest.$ac_ext
4196 EXEEXT=$ac_cv_exeext
4197 ac_exeext=$EXEEXT
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4200 #include <stdio.h>
4202 main ()
4204 FILE *f = fopen ("conftest.out", "w");
4205 return ferror (f) || fclose (f) != 0;
4208 return 0;
4210 _ACEOF
4211 ac_clean_files="$ac_clean_files conftest.out"
4212 # Check that the compiler produces executables we can run. If not, either
4213 # the compiler is broken, or we cross compile.
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4215 $as_echo_n "checking whether we are cross compiling... " >&6; }
4216 if test "$cross_compiling" != yes; then
4217 { { ac_try="$ac_link"
4218 case "(($ac_try" in
4219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4220 *) ac_try_echo=$ac_try;;
4221 esac
4222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4223 $as_echo "$ac_try_echo"; } >&5
4224 (eval "$ac_link") 2>&5
4225 ac_status=$?
4226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4227 test $ac_status = 0; }
4228 if { ac_try='./conftest$ac_cv_exeext'
4229 { { case "(($ac_try" in
4230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4231 *) ac_try_echo=$ac_try;;
4232 esac
4233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4234 $as_echo "$ac_try_echo"; } >&5
4235 (eval "$ac_try") 2>&5
4236 ac_status=$?
4237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4238 test $ac_status = 0; }; }; then
4239 cross_compiling=no
4240 else
4241 if test "$cross_compiling" = maybe; then
4242 cross_compiling=yes
4243 else
4244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4246 as_fn_error $? "cannot run C compiled programs.
4247 If you meant to cross compile, use \`--host'.
4248 See \`config.log' for more details" "$LINENO" 5; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4253 $as_echo "$cross_compiling" >&6; }
4255 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4256 ac_clean_files=$ac_clean_files_save
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4258 $as_echo_n "checking for suffix of object files... " >&6; }
4259 if ${ac_cv_objext+:} false; then :
4260 $as_echo_n "(cached) " >&6
4261 else
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4266 main ()
4270 return 0;
4272 _ACEOF
4273 rm -f conftest.o conftest.obj
4274 if { { ac_try="$ac_compile"
4275 case "(($ac_try" in
4276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4277 *) ac_try_echo=$ac_try;;
4278 esac
4279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4280 $as_echo "$ac_try_echo"; } >&5
4281 (eval "$ac_compile") 2>&5
4282 ac_status=$?
4283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4284 test $ac_status = 0; }; then :
4285 for ac_file in conftest.o conftest.obj conftest.*; do
4286 test -f "$ac_file" || continue;
4287 case $ac_file in
4288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4289 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4290 break;;
4291 esac
4292 done
4293 else
4294 $as_echo "$as_me: failed program was:" >&5
4295 sed 's/^/| /' conftest.$ac_ext >&5
4297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4299 as_fn_error $? "cannot compute suffix of object files: cannot compile
4300 See \`config.log' for more details" "$LINENO" 5; }
4302 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4305 $as_echo "$ac_cv_objext" >&6; }
4306 OBJEXT=$ac_cv_objext
4307 ac_objext=$OBJEXT
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4309 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4310 if ${ac_cv_c_compiler_gnu+:} false; then :
4311 $as_echo_n "(cached) " >&6
4312 else
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4317 main ()
4319 #ifndef __GNUC__
4320 choke me
4321 #endif
4324 return 0;
4326 _ACEOF
4327 if ac_fn_c_try_compile "$LINENO"; then :
4328 ac_compiler_gnu=yes
4329 else
4330 ac_compiler_gnu=no
4332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4333 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4337 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4338 if test $ac_compiler_gnu = yes; then
4339 GCC=yes
4340 else
4341 GCC=
4343 ac_test_CFLAGS=${CFLAGS+set}
4344 ac_save_CFLAGS=$CFLAGS
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4346 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4347 if ${ac_cv_prog_cc_g+:} false; then :
4348 $as_echo_n "(cached) " >&6
4349 else
4350 ac_save_c_werror_flag=$ac_c_werror_flag
4351 ac_c_werror_flag=yes
4352 ac_cv_prog_cc_g=no
4353 CFLAGS="-g"
4354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4355 /* end confdefs.h. */
4358 main ()
4362 return 0;
4364 _ACEOF
4365 if ac_fn_c_try_compile "$LINENO"; then :
4366 ac_cv_prog_cc_g=yes
4367 else
4368 CFLAGS=""
4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4373 main ()
4377 return 0;
4379 _ACEOF
4380 if ac_fn_c_try_compile "$LINENO"; then :
4382 else
4383 ac_c_werror_flag=$ac_save_c_werror_flag
4384 CFLAGS="-g"
4385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4386 /* end confdefs.h. */
4389 main ()
4393 return 0;
4395 _ACEOF
4396 if ac_fn_c_try_compile "$LINENO"; then :
4397 ac_cv_prog_cc_g=yes
4399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4404 ac_c_werror_flag=$ac_save_c_werror_flag
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4407 $as_echo "$ac_cv_prog_cc_g" >&6; }
4408 if test "$ac_test_CFLAGS" = set; then
4409 CFLAGS=$ac_save_CFLAGS
4410 elif test $ac_cv_prog_cc_g = yes; then
4411 if test "$GCC" = yes; then
4412 CFLAGS="-g -O2"
4413 else
4414 CFLAGS="-g"
4416 else
4417 if test "$GCC" = yes; then
4418 CFLAGS="-O2"
4419 else
4420 CFLAGS=
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4424 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4425 if ${ac_cv_prog_cc_c89+:} false; then :
4426 $as_echo_n "(cached) " >&6
4427 else
4428 ac_cv_prog_cc_c89=no
4429 ac_save_CC=$CC
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4432 #include <stdarg.h>
4433 #include <stdio.h>
4434 struct stat;
4435 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4436 struct buf { int x; };
4437 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4438 static char *e (p, i)
4439 char **p;
4440 int i;
4442 return p[i];
4444 static char *f (char * (*g) (char **, int), char **p, ...)
4446 char *s;
4447 va_list v;
4448 va_start (v,p);
4449 s = g (p, va_arg (v,int));
4450 va_end (v);
4451 return s;
4454 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4455 function prototypes and stuff, but not '\xHH' hex character constants.
4456 These don't provoke an error unfortunately, instead are silently treated
4457 as 'x'. The following induces an error, until -std is added to get
4458 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4459 array size at least. It's necessary to write '\x00'==0 to get something
4460 that's true only with -std. */
4461 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4463 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4464 inside strings and character constants. */
4465 #define FOO(x) 'x'
4466 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4468 int test (int i, double x);
4469 struct s1 {int (*f) (int a);};
4470 struct s2 {int (*f) (double a);};
4471 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4472 int argc;
4473 char **argv;
4475 main ()
4477 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4479 return 0;
4481 _ACEOF
4482 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4483 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4485 CC="$ac_save_CC $ac_arg"
4486 if ac_fn_c_try_compile "$LINENO"; then :
4487 ac_cv_prog_cc_c89=$ac_arg
4489 rm -f core conftest.err conftest.$ac_objext
4490 test "x$ac_cv_prog_cc_c89" != "xno" && break
4491 done
4492 rm -f conftest.$ac_ext
4493 CC=$ac_save_CC
4496 # AC_CACHE_VAL
4497 case "x$ac_cv_prog_cc_c89" in
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4500 $as_echo "none needed" >&6; } ;;
4501 xno)
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4503 $as_echo "unsupported" >&6; } ;;
4505 CC="$CC $ac_cv_prog_cc_c89"
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4507 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4508 esac
4509 if test "x$ac_cv_prog_cc_c89" != xno; then :
4513 ac_ext=c
4514 ac_cpp='$CPP $CPPFLAGS'
4515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4519 ac_ext=cpp
4520 ac_cpp='$CXXCPP $CPPFLAGS'
4521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4524 if test -z "$CXX"; then
4525 if test -n "$CCC"; then
4526 CXX=$CCC
4527 else
4528 if test -n "$ac_tool_prefix"; then
4529 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4531 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4532 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4534 $as_echo_n "checking for $ac_word... " >&6; }
4535 if ${ac_cv_prog_CXX+:} false; then :
4536 $as_echo_n "(cached) " >&6
4537 else
4538 if test -n "$CXX"; then
4539 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4540 else
4541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4542 for as_dir in $PATH
4544 IFS=$as_save_IFS
4545 test -z "$as_dir" && as_dir=.
4546 for ac_exec_ext in '' $ac_executable_extensions; do
4547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4548 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4550 break 2
4552 done
4553 done
4554 IFS=$as_save_IFS
4558 CXX=$ac_cv_prog_CXX
4559 if test -n "$CXX"; then
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4561 $as_echo "$CXX" >&6; }
4562 else
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4564 $as_echo "no" >&6; }
4568 test -n "$CXX" && break
4569 done
4571 if test -z "$CXX"; then
4572 ac_ct_CXX=$CXX
4573 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4575 # Extract the first word of "$ac_prog", so it can be a program name with args.
4576 set dummy $ac_prog; ac_word=$2
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4578 $as_echo_n "checking for $ac_word... " >&6; }
4579 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4580 $as_echo_n "(cached) " >&6
4581 else
4582 if test -n "$ac_ct_CXX"; then
4583 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4584 else
4585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586 for as_dir in $PATH
4588 IFS=$as_save_IFS
4589 test -z "$as_dir" && as_dir=.
4590 for ac_exec_ext in '' $ac_executable_extensions; do
4591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4592 ac_cv_prog_ac_ct_CXX="$ac_prog"
4593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4594 break 2
4596 done
4597 done
4598 IFS=$as_save_IFS
4602 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4603 if test -n "$ac_ct_CXX"; then
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4605 $as_echo "$ac_ct_CXX" >&6; }
4606 else
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4608 $as_echo "no" >&6; }
4612 test -n "$ac_ct_CXX" && break
4613 done
4615 if test "x$ac_ct_CXX" = x; then
4616 CXX="g++"
4617 else
4618 case $cross_compiling:$ac_tool_warned in
4619 yes:)
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4622 ac_tool_warned=yes ;;
4623 esac
4624 CXX=$ac_ct_CXX
4630 # Provide some information about the compiler.
4631 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4632 set X $ac_compile
4633 ac_compiler=$2
4634 for ac_option in --version -v -V -qversion; do
4635 { { ac_try="$ac_compiler $ac_option >&5"
4636 case "(($ac_try" in
4637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4638 *) ac_try_echo=$ac_try;;
4639 esac
4640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4641 $as_echo "$ac_try_echo"; } >&5
4642 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4643 ac_status=$?
4644 if test -s conftest.err; then
4645 sed '10a\
4646 ... rest of stderr output deleted ...
4647 10q' conftest.err >conftest.er1
4648 cat conftest.er1 >&5
4650 rm -f conftest.er1 conftest.err
4651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4652 test $ac_status = 0; }
4653 done
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4656 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4657 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4658 $as_echo_n "(cached) " >&6
4659 else
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4664 main ()
4666 #ifndef __GNUC__
4667 choke me
4668 #endif
4671 return 0;
4673 _ACEOF
4674 if ac_fn_cxx_try_compile "$LINENO"; then :
4675 ac_compiler_gnu=yes
4676 else
4677 ac_compiler_gnu=no
4679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4680 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4684 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4685 if test $ac_compiler_gnu = yes; then
4686 GXX=yes
4687 else
4688 GXX=
4690 ac_test_CXXFLAGS=${CXXFLAGS+set}
4691 ac_save_CXXFLAGS=$CXXFLAGS
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4693 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4694 if ${ac_cv_prog_cxx_g+:} false; then :
4695 $as_echo_n "(cached) " >&6
4696 else
4697 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4698 ac_cxx_werror_flag=yes
4699 ac_cv_prog_cxx_g=no
4700 CXXFLAGS="-g"
4701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h. */
4705 main ()
4709 return 0;
4711 _ACEOF
4712 if ac_fn_cxx_try_compile "$LINENO"; then :
4713 ac_cv_prog_cxx_g=yes
4714 else
4715 CXXFLAGS=""
4716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4717 /* end confdefs.h. */
4720 main ()
4724 return 0;
4726 _ACEOF
4727 if ac_fn_cxx_try_compile "$LINENO"; then :
4729 else
4730 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4731 CXXFLAGS="-g"
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4736 main ()
4740 return 0;
4742 _ACEOF
4743 if ac_fn_cxx_try_compile "$LINENO"; then :
4744 ac_cv_prog_cxx_g=yes
4746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4751 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4754 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4755 if test "$ac_test_CXXFLAGS" = set; then
4756 CXXFLAGS=$ac_save_CXXFLAGS
4757 elif test $ac_cv_prog_cxx_g = yes; then
4758 if test "$GXX" = yes; then
4759 CXXFLAGS="-g -O2"
4760 else
4761 CXXFLAGS="-g"
4763 else
4764 if test "$GXX" = yes; then
4765 CXXFLAGS="-O2"
4766 else
4767 CXXFLAGS=
4770 ac_ext=c
4771 ac_cpp='$CPP $CPPFLAGS'
4772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4776 if test -n "$ac_tool_prefix"; then
4777 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4778 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4780 $as_echo_n "checking for $ac_word... " >&6; }
4781 if ${ac_cv_prog_CPPBIN+:} false; then :
4782 $as_echo_n "(cached) " >&6
4783 else
4784 if test -n "$CPPBIN"; then
4785 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4786 else
4787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788 for as_dir in $PATH
4790 IFS=$as_save_IFS
4791 test -z "$as_dir" && as_dir=.
4792 for ac_exec_ext in '' $ac_executable_extensions; do
4793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4794 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796 break 2
4798 done
4799 done
4800 IFS=$as_save_IFS
4804 CPPBIN=$ac_cv_prog_CPPBIN
4805 if test -n "$CPPBIN"; then
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4807 $as_echo "$CPPBIN" >&6; }
4808 else
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810 $as_echo "no" >&6; }
4815 if test -z "$ac_cv_prog_CPPBIN"; then
4816 ac_ct_CPPBIN=$CPPBIN
4817 # Extract the first word of "cpp", so it can be a program name with args.
4818 set dummy cpp; ac_word=$2
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4820 $as_echo_n "checking for $ac_word... " >&6; }
4821 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4822 $as_echo_n "(cached) " >&6
4823 else
4824 if test -n "$ac_ct_CPPBIN"; then
4825 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4826 else
4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 for as_dir in $PATH
4830 IFS=$as_save_IFS
4831 test -z "$as_dir" && as_dir=.
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4834 ac_cv_prog_ac_ct_CPPBIN="cpp"
4835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4836 break 2
4838 done
4839 done
4840 IFS=$as_save_IFS
4844 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4845 if test -n "$ac_ct_CPPBIN"; then
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4847 $as_echo "$ac_ct_CPPBIN" >&6; }
4848 else
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4850 $as_echo "no" >&6; }
4853 if test "x$ac_ct_CPPBIN" = x; then
4854 CPPBIN="cpp"
4855 else
4856 case $cross_compiling:$ac_tool_warned in
4857 yes:)
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4860 ac_tool_warned=yes ;;
4861 esac
4862 CPPBIN=$ac_ct_CPPBIN
4864 else
4865 CPPBIN="$ac_cv_prog_CPPBIN"
4869 cat >>confdefs.h <<_ACEOF
4870 #define EXEEXT "$ac_exeext"
4871 _ACEOF
4873 if test -n "$ac_tool_prefix"; then
4874 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4875 set dummy ${ac_tool_prefix}ld; ac_word=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if ${ac_cv_prog_LD+:} false; then :
4879 $as_echo_n "(cached) " >&6
4880 else
4881 if test -n "$LD"; then
4882 ac_cv_prog_LD="$LD" # Let the user override the test.
4883 else
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 for as_dir in $PATH
4887 IFS=$as_save_IFS
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_LD="${ac_tool_prefix}ld"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4893 break 2
4895 done
4896 done
4897 IFS=$as_save_IFS
4901 LD=$ac_cv_prog_LD
4902 if test -n "$LD"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4904 $as_echo "$LD" >&6; }
4905 else
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4912 if test -z "$ac_cv_prog_LD"; then
4913 ac_ct_LD=$LD
4914 # Extract the first word of "ld", so it can be a program name with args.
4915 set dummy ld; ac_word=$2
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4919 $as_echo_n "(cached) " >&6
4920 else
4921 if test -n "$ac_ct_LD"; then
4922 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4923 else
4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 for as_dir in $PATH
4927 IFS=$as_save_IFS
4928 test -z "$as_dir" && as_dir=.
4929 for ac_exec_ext in '' $ac_executable_extensions; do
4930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4931 ac_cv_prog_ac_ct_LD="ld"
4932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4933 break 2
4935 done
4936 done
4937 IFS=$as_save_IFS
4941 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4942 if test -n "$ac_ct_LD"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4944 $as_echo "$ac_ct_LD" >&6; }
4945 else
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4950 if test "x$ac_ct_LD" = x; then
4951 LD=""
4952 else
4953 case $cross_compiling:$ac_tool_warned in
4954 yes:)
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4957 ac_tool_warned=yes ;;
4958 esac
4959 LD=$ac_ct_LD
4961 else
4962 LD="$ac_cv_prog_LD"
4966 case $host in
4967 *-darwin*)
4968 with_fontconfig=${with_fontconfig:-no}
4970 *-mingw32*|*-cygwin*)
4971 enable_win16=${enable_win16:-no}
4972 CFLAGS="$CFLAGS -D_WIN32"
4974 esac
4976 case $host in
4977 x86_64*|amd64*)
4978 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4979 then
4980 CC="$CC -m32"
4981 CXX="$CXX -m32"
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4983 $as_echo_n "checking whether $CC works... " >&6; }
4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4986 /* end confdefs.h. */
4989 main ()
4993 return 0;
4995 _ACEOF
4996 if ac_fn_c_try_link "$LINENO"; then :
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4998 $as_echo "yes" >&6; }
4999 else
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 $as_echo "no" >&6; }
5002 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5004 rm -f core conftest.err conftest.$ac_objext \
5005 conftest$ac_exeext conftest.$ac_ext
5006 host_cpu="i386"
5007 notice_platform="32-bit "
5008 TARGETFLAGS="-m32"
5010 enable_win16=${enable_win16:-yes}
5011 else
5012 if test "x${GCC}" = "xyes"
5013 then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5015 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5017 /* end confdefs.h. */
5018 #include <stdarg.h>
5020 main ()
5022 void func(__builtin_ms_va_list *args);
5024 return 0;
5026 _ACEOF
5027 if ac_fn_c_try_compile "$LINENO"; then :
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5029 $as_echo "yes" >&6; }
5030 else
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5032 $as_echo "no" >&6; }
5033 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037 CC="$CC -m64"
5038 CXX="$CXX -m64"
5039 host_cpu="x86_64"
5040 notice_platform="64-bit "
5041 TARGETFLAGS="-m64"
5045 arm*)
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5047 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5049 /* end confdefs.h. */
5050 int ac_test(int i) { return i; }
5052 main ()
5054 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5056 return 0;
5058 _ACEOF
5059 if ac_fn_c_try_link "$LINENO"; then :
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5061 $as_echo "yes" >&6; }
5062 else
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5065 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5067 rm -f core conftest.err conftest.$ac_objext \
5068 conftest$ac_exeext conftest.$ac_ext
5069 CFLAGS="$CFLAGS -marm"
5070 TARGETFLAGS="-marm"
5073 i[3456789]86*)
5074 enable_win16=${enable_win16:-yes}
5076 esac
5078 enable_win16=${enable_win16:-no}
5079 enable_win64=${enable_win64:-no}
5081 enable_winetest=${enable_winetest:-$enable_tests}
5083 if test -n "$with_wine64"
5084 then
5085 if test "x$enable_win64" = "xyes"
5086 then
5087 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5088 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5090 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5091 You should create a separate build directory and run configure from there." "$LINENO" 5
5092 enable_fonts=${enable_fonts:-no}
5093 enable_server=${enable_server:-no}
5094 elif test "x$enable_win64" = "xyes"
5095 then
5096 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5100 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5101 if ${wine_cv_toolsdir+:} false; then :
5102 $as_echo_n "(cached) " >&6
5103 else
5104 wine_cv_toolsdir="$with_wine_tools"
5105 if test -z "$with_wine_tools"; then
5106 if test "$cross_compiling" = "yes"; then
5107 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5108 elif test -n "$with_wine64"; then
5109 wine_cv_toolsdir="$with_wine64"
5112 if test -z "$wine_cv_toolsdir"; then
5113 wine_makedep=tools/makedep
5114 wine_cv_toolsdir="\$(top_builddir)"
5115 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5116 wine_makedep=$wine_cv_toolsdir/tools/makedep
5117 case "$wine_cv_toolsdir" in
5118 /*) ;;
5119 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5120 esac
5121 enable_tools=${enable_tools:-no}
5122 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5123 else
5124 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5128 $as_echo "$wine_cv_toolsdir" >&6; }
5129 TOOLSDIR=$wine_cv_toolsdir
5131 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5132 then
5133 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5137 for ac_prog in flex
5139 # Extract the first word of "$ac_prog", so it can be a program name with args.
5140 set dummy $ac_prog; ac_word=$2
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5142 $as_echo_n "checking for $ac_word... " >&6; }
5143 if ${ac_cv_prog_FLEX+:} false; then :
5144 $as_echo_n "(cached) " >&6
5145 else
5146 if test -n "$FLEX"; then
5147 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5148 else
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 for as_dir in $PATH
5152 IFS=$as_save_IFS
5153 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156 ac_cv_prog_FLEX="$ac_prog"
5157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 break 2
5160 done
5161 done
5162 IFS=$as_save_IFS
5166 FLEX=$ac_cv_prog_FLEX
5167 if test -n "$FLEX"; then
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5169 $as_echo "$FLEX" >&6; }
5170 else
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5172 $as_echo "no" >&6; }
5176 test -n "$FLEX" && break
5177 done
5178 test -n "$FLEX" || FLEX="none"
5180 if test "$FLEX" = "none"
5181 then
5182 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5185 $as_echo_n "checking whether flex is recent enough... " >&6; }
5186 cat >conftest.l <<EOF
5187 %top{
5188 #include "prediluvian.h"
5192 if $FLEX -t conftest.l >/dev/null 2>&5
5193 then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5195 $as_echo "yes" >&6; }
5196 else
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5199 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5202 for ac_prog in bison
5204 # Extract the first word of "$ac_prog", so it can be a program name with args.
5205 set dummy $ac_prog; ac_word=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if ${ac_cv_prog_BISON+:} false; then :
5209 $as_echo_n "(cached) " >&6
5210 else
5211 if test -n "$BISON"; then
5212 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5213 else
5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215 for as_dir in $PATH
5217 IFS=$as_save_IFS
5218 test -z "$as_dir" && as_dir=.
5219 for ac_exec_ext in '' $ac_executable_extensions; do
5220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5221 ac_cv_prog_BISON="$ac_prog"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 break 2
5225 done
5226 done
5227 IFS=$as_save_IFS
5231 BISON=$ac_cv_prog_BISON
5232 if test -n "$BISON"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5234 $as_echo "$BISON" >&6; }
5235 else
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5241 test -n "$BISON" && break
5242 done
5243 test -n "$BISON" || BISON="none"
5245 if test "$BISON" = "none"
5246 then
5247 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5250 if test -n "$ac_tool_prefix"; then
5251 for ac_prog in ar gar
5253 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5254 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5256 $as_echo_n "checking for $ac_word... " >&6; }
5257 if ${ac_cv_prog_AR+:} false; then :
5258 $as_echo_n "(cached) " >&6
5259 else
5260 if test -n "$AR"; then
5261 ac_cv_prog_AR="$AR" # Let the user override the test.
5262 else
5263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5264 for as_dir in $PATH
5266 IFS=$as_save_IFS
5267 test -z "$as_dir" && as_dir=.
5268 for ac_exec_ext in '' $ac_executable_extensions; do
5269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5270 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 break 2
5274 done
5275 done
5276 IFS=$as_save_IFS
5280 AR=$ac_cv_prog_AR
5281 if test -n "$AR"; then
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5283 $as_echo "$AR" >&6; }
5284 else
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5286 $as_echo "no" >&6; }
5290 test -n "$AR" && break
5291 done
5293 if test -z "$AR"; then
5294 ac_ct_AR=$AR
5295 for ac_prog in ar gar
5297 # Extract the first word of "$ac_prog", so it can be a program name with args.
5298 set dummy $ac_prog; ac_word=$2
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5300 $as_echo_n "checking for $ac_word... " >&6; }
5301 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5302 $as_echo_n "(cached) " >&6
5303 else
5304 if test -n "$ac_ct_AR"; then
5305 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5306 else
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308 for as_dir in $PATH
5310 IFS=$as_save_IFS
5311 test -z "$as_dir" && as_dir=.
5312 for ac_exec_ext in '' $ac_executable_extensions; do
5313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5314 ac_cv_prog_ac_ct_AR="$ac_prog"
5315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5316 break 2
5318 done
5319 done
5320 IFS=$as_save_IFS
5324 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5325 if test -n "$ac_ct_AR"; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5327 $as_echo "$ac_ct_AR" >&6; }
5328 else
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5334 test -n "$ac_ct_AR" && break
5335 done
5337 if test "x$ac_ct_AR" = x; then
5338 AR="ar"
5339 else
5340 case $cross_compiling:$ac_tool_warned in
5341 yes:)
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5344 ac_tool_warned=yes ;;
5345 esac
5346 AR=$ac_ct_AR
5350 if test -n "$ac_tool_prefix"; then
5351 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5352 set dummy ${ac_tool_prefix}strip; ac_word=$2
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354 $as_echo_n "checking for $ac_word... " >&6; }
5355 if ${ac_cv_prog_STRIP+:} false; then :
5356 $as_echo_n "(cached) " >&6
5357 else
5358 if test -n "$STRIP"; then
5359 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5360 else
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 for as_dir in $PATH
5364 IFS=$as_save_IFS
5365 test -z "$as_dir" && as_dir=.
5366 for ac_exec_ext in '' $ac_executable_extensions; do
5367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5368 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5370 break 2
5372 done
5373 done
5374 IFS=$as_save_IFS
5378 STRIP=$ac_cv_prog_STRIP
5379 if test -n "$STRIP"; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5381 $as_echo "$STRIP" >&6; }
5382 else
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384 $as_echo "no" >&6; }
5389 if test -z "$ac_cv_prog_STRIP"; then
5390 ac_ct_STRIP=$STRIP
5391 # Extract the first word of "strip", so it can be a program name with args.
5392 set dummy strip; ac_word=$2
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394 $as_echo_n "checking for $ac_word... " >&6; }
5395 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5396 $as_echo_n "(cached) " >&6
5397 else
5398 if test -n "$ac_ct_STRIP"; then
5399 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5400 else
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5408 ac_cv_prog_ac_ct_STRIP="strip"
5409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 break 2
5412 done
5413 done
5414 IFS=$as_save_IFS
5418 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5419 if test -n "$ac_ct_STRIP"; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5421 $as_echo "$ac_ct_STRIP" >&6; }
5422 else
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424 $as_echo "no" >&6; }
5427 if test "x$ac_ct_STRIP" = x; then
5428 STRIP="strip"
5429 else
5430 case $cross_compiling:$ac_tool_warned in
5431 yes:)
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5434 ac_tool_warned=yes ;;
5435 esac
5436 STRIP=$ac_ct_STRIP
5438 else
5439 STRIP="$ac_cv_prog_STRIP"
5442 ARFLAGS=rc
5444 if test -n "$ac_tool_prefix"; then
5445 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5446 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if ${ac_cv_prog_RANLIB+:} false; then :
5450 $as_echo_n "(cached) " >&6
5451 else
5452 if test -n "$RANLIB"; then
5453 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5454 else
5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5456 for as_dir in $PATH
5458 IFS=$as_save_IFS
5459 test -z "$as_dir" && as_dir=.
5460 for ac_exec_ext in '' $ac_executable_extensions; do
5461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5462 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 break 2
5466 done
5467 done
5468 IFS=$as_save_IFS
5472 RANLIB=$ac_cv_prog_RANLIB
5473 if test -n "$RANLIB"; then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5475 $as_echo "$RANLIB" >&6; }
5476 else
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5483 if test -z "$ac_cv_prog_RANLIB"; then
5484 ac_ct_RANLIB=$RANLIB
5485 # Extract the first word of "ranlib", so it can be a program name with args.
5486 set dummy ranlib; ac_word=$2
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5488 $as_echo_n "checking for $ac_word... " >&6; }
5489 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5490 $as_echo_n "(cached) " >&6
5491 else
5492 if test -n "$ac_ct_RANLIB"; then
5493 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5494 else
5495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5496 for as_dir in $PATH
5498 IFS=$as_save_IFS
5499 test -z "$as_dir" && as_dir=.
5500 for ac_exec_ext in '' $ac_executable_extensions; do
5501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5502 ac_cv_prog_ac_ct_RANLIB="ranlib"
5503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5504 break 2
5506 done
5507 done
5508 IFS=$as_save_IFS
5512 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5513 if test -n "$ac_ct_RANLIB"; then
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5515 $as_echo "$ac_ct_RANLIB" >&6; }
5516 else
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5518 $as_echo "no" >&6; }
5521 if test "x$ac_ct_RANLIB" = x; then
5522 RANLIB=":"
5523 else
5524 case $cross_compiling:$ac_tool_warned in
5525 yes:)
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5528 ac_tool_warned=yes ;;
5529 esac
5530 RANLIB=$ac_ct_RANLIB
5532 else
5533 RANLIB="$ac_cv_prog_RANLIB"
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5537 $as_echo_n "checking whether ln -s works... " >&6; }
5538 LN_S=$as_ln_s
5539 if test "$LN_S" = "ln -s"; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5541 $as_echo "yes" >&6; }
5542 else
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5544 $as_echo "no, using $LN_S" >&6; }
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5548 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5549 if ${ac_cv_path_GREP+:} false; then :
5550 $as_echo_n "(cached) " >&6
5551 else
5552 if test -z "$GREP"; then
5553 ac_path_GREP_found=false
5554 # Loop through the user's path and test for each of PROGNAME-LIST
5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5558 IFS=$as_save_IFS
5559 test -z "$as_dir" && as_dir=.
5560 for ac_prog in grep ggrep; do
5561 for ac_exec_ext in '' $ac_executable_extensions; do
5562 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5563 as_fn_executable_p "$ac_path_GREP" || continue
5564 # Check for GNU ac_path_GREP and select it if it is found.
5565 # Check for GNU $ac_path_GREP
5566 case `"$ac_path_GREP" --version 2>&1` in
5567 *GNU*)
5568 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5570 ac_count=0
5571 $as_echo_n 0123456789 >"conftest.in"
5572 while :
5574 cat "conftest.in" "conftest.in" >"conftest.tmp"
5575 mv "conftest.tmp" "conftest.in"
5576 cp "conftest.in" "conftest.nl"
5577 $as_echo 'GREP' >> "conftest.nl"
5578 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5579 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5580 as_fn_arith $ac_count + 1 && ac_count=$as_val
5581 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5582 # Best one so far, save it but keep looking for a better one
5583 ac_cv_path_GREP="$ac_path_GREP"
5584 ac_path_GREP_max=$ac_count
5586 # 10*(2^10) chars as input seems more than enough
5587 test $ac_count -gt 10 && break
5588 done
5589 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5590 esac
5592 $ac_path_GREP_found && break 3
5593 done
5594 done
5595 done
5596 IFS=$as_save_IFS
5597 if test -z "$ac_cv_path_GREP"; then
5598 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5600 else
5601 ac_cv_path_GREP=$GREP
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5606 $as_echo "$ac_cv_path_GREP" >&6; }
5607 GREP="$ac_cv_path_GREP"
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5611 $as_echo_n "checking for egrep... " >&6; }
5612 if ${ac_cv_path_EGREP+:} false; then :
5613 $as_echo_n "(cached) " >&6
5614 else
5615 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5616 then ac_cv_path_EGREP="$GREP -E"
5617 else
5618 if test -z "$EGREP"; then
5619 ac_path_EGREP_found=false
5620 # Loop through the user's path and test for each of PROGNAME-LIST
5621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5622 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5624 IFS=$as_save_IFS
5625 test -z "$as_dir" && as_dir=.
5626 for ac_prog in egrep; do
5627 for ac_exec_ext in '' $ac_executable_extensions; do
5628 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5629 as_fn_executable_p "$ac_path_EGREP" || continue
5630 # Check for GNU ac_path_EGREP and select it if it is found.
5631 # Check for GNU $ac_path_EGREP
5632 case `"$ac_path_EGREP" --version 2>&1` in
5633 *GNU*)
5634 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5636 ac_count=0
5637 $as_echo_n 0123456789 >"conftest.in"
5638 while :
5640 cat "conftest.in" "conftest.in" >"conftest.tmp"
5641 mv "conftest.tmp" "conftest.in"
5642 cp "conftest.in" "conftest.nl"
5643 $as_echo 'EGREP' >> "conftest.nl"
5644 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5645 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5646 as_fn_arith $ac_count + 1 && ac_count=$as_val
5647 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5648 # Best one so far, save it but keep looking for a better one
5649 ac_cv_path_EGREP="$ac_path_EGREP"
5650 ac_path_EGREP_max=$ac_count
5652 # 10*(2^10) chars as input seems more than enough
5653 test $ac_count -gt 10 && break
5654 done
5655 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5656 esac
5658 $ac_path_EGREP_found && break 3
5659 done
5660 done
5661 done
5662 IFS=$as_save_IFS
5663 if test -z "$ac_cv_path_EGREP"; then
5664 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5666 else
5667 ac_cv_path_EGREP=$EGREP
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5673 $as_echo "$ac_cv_path_EGREP" >&6; }
5674 EGREP="$ac_cv_path_EGREP"
5677 # Extract the first word of "ldconfig", so it can be a program name with args.
5678 set dummy ldconfig; ac_word=$2
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5680 $as_echo_n "checking for $ac_word... " >&6; }
5681 if ${ac_cv_path_LDCONFIG+:} false; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 case $LDCONFIG in
5685 [\\/]* | ?:[\\/]*)
5686 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 for as_dir in /sbin /usr/sbin $PATH
5692 IFS=$as_save_IFS
5693 test -z "$as_dir" && as_dir=.
5694 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5696 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 break 2
5700 done
5701 done
5702 IFS=$as_save_IFS
5704 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5706 esac
5708 LDCONFIG=$ac_cv_path_LDCONFIG
5709 if test -n "$LDCONFIG"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5711 $as_echo "$LDCONFIG" >&6; }
5712 else
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5718 for ac_prog in msgfmt
5720 # Extract the first word of "$ac_prog", so it can be a program name with args.
5721 set dummy $ac_prog; ac_word=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if ${ac_cv_prog_MSGFMT+:} false; then :
5725 $as_echo_n "(cached) " >&6
5726 else
5727 if test -n "$MSGFMT"; then
5728 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5729 else
5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 for as_dir in $PATH
5733 IFS=$as_save_IFS
5734 test -z "$as_dir" && as_dir=.
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5737 ac_cv_prog_MSGFMT="$ac_prog"
5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 break 2
5741 done
5742 done
5743 IFS=$as_save_IFS
5747 MSGFMT=$ac_cv_prog_MSGFMT
5748 if test -n "$MSGFMT"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5750 $as_echo "$MSGFMT" >&6; }
5751 else
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5757 test -n "$MSGFMT" && break
5758 done
5759 test -n "$MSGFMT" || MSGFMT="false"
5761 if ${ac_tool_prefix+:} false; then :
5762 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5763 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5765 $as_echo_n "checking for $ac_word... " >&6; }
5766 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5767 $as_echo_n "(cached) " >&6
5768 else
5769 if test -n "$PKG_CONFIG"; then
5770 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5771 else
5772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 for as_dir in $PATH
5775 IFS=$as_save_IFS
5776 test -z "$as_dir" && as_dir=.
5777 for ac_exec_ext in '' $ac_executable_extensions; do
5778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5779 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5781 break 2
5783 done
5784 done
5785 IFS=$as_save_IFS
5789 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5790 if test -n "$PKG_CONFIG"; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5792 $as_echo "$PKG_CONFIG" >&6; }
5793 else
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 $as_echo "no" >&6; }
5800 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5801 if test "x$cross_compiling" = xyes; then :
5803 else
5804 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5805 # Extract the first word of "pkg-config", so it can be a program name with args.
5806 set dummy pkg-config; ac_word=$2
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5808 $as_echo_n "checking for $ac_word... " >&6; }
5809 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5810 $as_echo_n "(cached) " >&6
5811 else
5812 if test -n "$PKG_CONFIG"; then
5813 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5814 else
5815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5816 for as_dir in $PATH
5818 IFS=$as_save_IFS
5819 test -z "$as_dir" && as_dir=.
5820 for ac_exec_ext in '' $ac_executable_extensions; do
5821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5822 ac_cv_prog_PKG_CONFIG="pkg-config"
5823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 break 2
5826 done
5827 done
5828 IFS=$as_save_IFS
5832 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5833 if test -n "$PKG_CONFIG"; then
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5835 $as_echo "$PKG_CONFIG" >&6; }
5836 else
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5838 $as_echo "no" >&6; }
5843 else
5844 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5847 if test "x$enable_maintainer_mode" != "xyes"
5848 then
5849 FONTFORGE=""
5850 RSVG=""
5851 CONVERT=""
5852 ICOTOOL=""
5853 else
5854 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5855 for ac_prog in fontforge
5857 # Extract the first word of "$ac_prog", so it can be a program name with args.
5858 set dummy $ac_prog; ac_word=$2
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5860 $as_echo_n "checking for $ac_word... " >&6; }
5861 if ${ac_cv_prog_FONTFORGE+:} false; then :
5862 $as_echo_n "(cached) " >&6
5863 else
5864 if test -n "$FONTFORGE"; then
5865 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5866 else
5867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5868 for as_dir in $PATH
5870 IFS=$as_save_IFS
5871 test -z "$as_dir" && as_dir=.
5872 for ac_exec_ext in '' $ac_executable_extensions; do
5873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5874 ac_cv_prog_FONTFORGE="$ac_prog"
5875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 break 2
5878 done
5879 done
5880 IFS=$as_save_IFS
5884 FONTFORGE=$ac_cv_prog_FONTFORGE
5885 if test -n "$FONTFORGE"; then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5887 $as_echo "$FONTFORGE" >&6; }
5888 else
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5890 $as_echo "no" >&6; }
5894 test -n "$FONTFORGE" && break
5895 done
5896 test -n "$FONTFORGE" || FONTFORGE="false"
5898 for ac_prog in rsvg-convert rsvg
5900 # Extract the first word of "$ac_prog", so it can be a program name with args.
5901 set dummy $ac_prog; ac_word=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 $as_echo_n "checking for $ac_word... " >&6; }
5904 if ${ac_cv_prog_RSVG+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906 else
5907 if test -n "$RSVG"; then
5908 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5913 IFS=$as_save_IFS
5914 test -z "$as_dir" && as_dir=.
5915 for ac_exec_ext in '' $ac_executable_extensions; do
5916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_RSVG="$ac_prog"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 break 2
5921 done
5922 done
5923 IFS=$as_save_IFS
5927 RSVG=$ac_cv_prog_RSVG
5928 if test -n "$RSVG"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5930 $as_echo "$RSVG" >&6; }
5931 else
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5937 test -n "$RSVG" && break
5938 done
5939 test -n "$RSVG" || RSVG="false"
5941 for ac_prog in convert
5943 # Extract the first word of "$ac_prog", so it can be a program name with args.
5944 set dummy $ac_prog; ac_word=$2
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5946 $as_echo_n "checking for $ac_word... " >&6; }
5947 if ${ac_cv_prog_CONVERT+:} false; then :
5948 $as_echo_n "(cached) " >&6
5949 else
5950 if test -n "$CONVERT"; then
5951 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5952 else
5953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5954 for as_dir in $PATH
5956 IFS=$as_save_IFS
5957 test -z "$as_dir" && as_dir=.
5958 for ac_exec_ext in '' $ac_executable_extensions; do
5959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5960 ac_cv_prog_CONVERT="$ac_prog"
5961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 break 2
5964 done
5965 done
5966 IFS=$as_save_IFS
5970 CONVERT=$ac_cv_prog_CONVERT
5971 if test -n "$CONVERT"; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5973 $as_echo "$CONVERT" >&6; }
5974 else
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5976 $as_echo "no" >&6; }
5980 test -n "$CONVERT" && break
5981 done
5982 test -n "$CONVERT" || CONVERT="false"
5984 for ac_prog in icotool
5986 # Extract the first word of "$ac_prog", so it can be a program name with args.
5987 set dummy $ac_prog; ac_word=$2
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5989 $as_echo_n "checking for $ac_word... " >&6; }
5990 if ${ac_cv_prog_ICOTOOL+:} false; then :
5991 $as_echo_n "(cached) " >&6
5992 else
5993 if test -n "$ICOTOOL"; then
5994 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5995 else
5996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5997 for as_dir in $PATH
5999 IFS=$as_save_IFS
6000 test -z "$as_dir" && as_dir=.
6001 for ac_exec_ext in '' $ac_executable_extensions; do
6002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6003 ac_cv_prog_ICOTOOL="$ac_prog"
6004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6005 break 2
6007 done
6008 done
6009 IFS=$as_save_IFS
6013 ICOTOOL=$ac_cv_prog_ICOTOOL
6014 if test -n "$ICOTOOL"; then
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6016 $as_echo "$ICOTOOL" >&6; }
6017 else
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6019 $as_echo "no" >&6; }
6023 test -n "$ICOTOOL" && break
6024 done
6025 test -n "$ICOTOOL" || ICOTOOL="false"
6027 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6028 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6030 if test "$CONVERT" = false
6031 then
6032 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6033 else
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6035 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6036 convert_version=`convert --version | head -n1`
6037 if test "x$convert_version" != "x"
6038 then
6039 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6040 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6041 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6042 then
6043 CONVERT=false
6046 if test "$CONVERT" = false
6047 then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6049 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6050 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6051 else
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6053 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6057 if test "$ICOTOOL" = false
6058 then
6059 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6060 else
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6062 $as_echo_n "checking for recent enough icotool... " >&6; }
6063 icotool_version=`icotool --version | head -n1`
6064 if test "x$icotool_version" != "x"
6065 then
6066 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6067 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6068 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6069 then
6070 ICOTOOL=false
6071 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6074 if test "$ICOTOOL" = false
6075 then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6077 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6078 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6079 else
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6081 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6085 with_gettext=yes
6086 with_gettextpo=yes
6087 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6090 test "x$with_gettext" != xno || MSGFMT=false
6091 if test "$MSGFMT" != "false"
6092 then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6094 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6095 cat >conftest.po <<EOF
6096 # comment
6097 msgctxt "ctxt"
6098 msgid "id"
6099 msgstr "str"
6101 if $MSGFMT -o /dev/null conftest.po 2>&5
6102 then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6104 $as_echo "yes" >&6; }
6105 else
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6108 MSGFMT=false
6111 if test "$MSGFMT" = false; then :
6112 case "x$with_gettext" in
6113 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6114 xno) ;;
6115 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6116 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6117 esac
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6122 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6123 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6124 $as_echo_n "(cached) " >&6
6125 else
6126 ac_check_lib_save_LIBS=$LIBS
6127 LIBS="-li386 $LIBS"
6128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */
6131 /* Override any GCC internal prototype to avoid an error.
6132 Use char because int might match the return type of a GCC
6133 builtin and then its argument prototype would still apply. */
6134 #ifdef __cplusplus
6135 extern "C"
6136 #endif
6137 char i386_set_ldt ();
6139 main ()
6141 return i386_set_ldt ();
6143 return 0;
6145 _ACEOF
6146 if ac_fn_c_try_link "$LINENO"; then :
6147 ac_cv_lib_i386_i386_set_ldt=yes
6148 else
6149 ac_cv_lib_i386_i386_set_ldt=no
6151 rm -f core conftest.err conftest.$ac_objext \
6152 conftest$ac_exeext conftest.$ac_ext
6153 LIBS=$ac_check_lib_save_LIBS
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6156 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6157 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6158 cat >>confdefs.h <<_ACEOF
6159 #define HAVE_LIBI386 1
6160 _ACEOF
6162 LIBS="-li386 $LIBS"
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6167 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6168 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6169 $as_echo_n "(cached) " >&6
6170 else
6171 ac_check_lib_save_LIBS=$LIBS
6172 LIBS="-lossaudio $LIBS"
6173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6174 /* end confdefs.h. */
6176 /* Override any GCC internal prototype to avoid an error.
6177 Use char because int might match the return type of a GCC
6178 builtin and then its argument prototype would still apply. */
6179 #ifdef __cplusplus
6180 extern "C"
6181 #endif
6182 char _oss_ioctl ();
6184 main ()
6186 return _oss_ioctl ();
6188 return 0;
6190 _ACEOF
6191 if ac_fn_c_try_link "$LINENO"; then :
6192 ac_cv_lib_ossaudio__oss_ioctl=yes
6193 else
6194 ac_cv_lib_ossaudio__oss_ioctl=no
6196 rm -f core conftest.err conftest.$ac_objext \
6197 conftest$ac_exeext conftest.$ac_ext
6198 LIBS=$ac_check_lib_save_LIBS
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6201 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6202 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6203 cat >>confdefs.h <<_ACEOF
6204 #define HAVE_LIBOSSAUDIO 1
6205 _ACEOF
6207 LIBS="-lossaudio $LIBS"
6212 OPENGL_LIBS=""
6216 # Check whether --enable-largefile was given.
6217 if test "${enable_largefile+set}" = set; then :
6218 enableval=$enable_largefile;
6221 if test "$enable_largefile" != no; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6224 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6225 if ${ac_cv_sys_largefile_CC+:} false; then :
6226 $as_echo_n "(cached) " >&6
6227 else
6228 ac_cv_sys_largefile_CC=no
6229 if test "$GCC" != yes; then
6230 ac_save_CC=$CC
6231 while :; do
6232 # IRIX 6.2 and later do not support large files by default,
6233 # so use the C compiler's -n32 option if that helps.
6234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6235 /* end confdefs.h. */
6236 #include <sys/types.h>
6237 /* Check that off_t can represent 2**63 - 1 correctly.
6238 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6239 since some C++ compilers masquerading as C compilers
6240 incorrectly reject 9223372036854775807. */
6241 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6242 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6243 && LARGE_OFF_T % 2147483647 == 1)
6244 ? 1 : -1];
6246 main ()
6250 return 0;
6252 _ACEOF
6253 if ac_fn_c_try_compile "$LINENO"; then :
6254 break
6256 rm -f core conftest.err conftest.$ac_objext
6257 CC="$CC -n32"
6258 if ac_fn_c_try_compile "$LINENO"; then :
6259 ac_cv_sys_largefile_CC=' -n32'; break
6261 rm -f core conftest.err conftest.$ac_objext
6262 break
6263 done
6264 CC=$ac_save_CC
6265 rm -f conftest.$ac_ext
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6269 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6270 if test "$ac_cv_sys_largefile_CC" != no; then
6271 CC=$CC$ac_cv_sys_largefile_CC
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6275 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6276 if ${ac_cv_sys_file_offset_bits+:} false; then :
6277 $as_echo_n "(cached) " >&6
6278 else
6279 while :; do
6280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6281 /* end confdefs.h. */
6282 #include <sys/types.h>
6283 /* Check that off_t can represent 2**63 - 1 correctly.
6284 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6285 since some C++ compilers masquerading as C compilers
6286 incorrectly reject 9223372036854775807. */
6287 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6288 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6289 && LARGE_OFF_T % 2147483647 == 1)
6290 ? 1 : -1];
6292 main ()
6296 return 0;
6298 _ACEOF
6299 if ac_fn_c_try_compile "$LINENO"; then :
6300 ac_cv_sys_file_offset_bits=no; break
6302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6304 /* end confdefs.h. */
6305 #define _FILE_OFFSET_BITS 64
6306 #include <sys/types.h>
6307 /* Check that off_t can represent 2**63 - 1 correctly.
6308 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6309 since some C++ compilers masquerading as C compilers
6310 incorrectly reject 9223372036854775807. */
6311 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6312 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6313 && LARGE_OFF_T % 2147483647 == 1)
6314 ? 1 : -1];
6316 main ()
6320 return 0;
6322 _ACEOF
6323 if ac_fn_c_try_compile "$LINENO"; then :
6324 ac_cv_sys_file_offset_bits=64; break
6326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6327 ac_cv_sys_file_offset_bits=unknown
6328 break
6329 done
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6332 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6333 case $ac_cv_sys_file_offset_bits in #(
6334 no | unknown) ;;
6336 cat >>confdefs.h <<_ACEOF
6337 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6338 _ACEOF
6340 esac
6341 rm -rf conftest*
6342 if test $ac_cv_sys_file_offset_bits = unknown; then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6344 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6345 if ${ac_cv_sys_large_files+:} false; then :
6346 $as_echo_n "(cached) " >&6
6347 else
6348 while :; do
6349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6350 /* end confdefs.h. */
6351 #include <sys/types.h>
6352 /* Check that off_t can represent 2**63 - 1 correctly.
6353 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6354 since some C++ compilers masquerading as C compilers
6355 incorrectly reject 9223372036854775807. */
6356 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6357 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6358 && LARGE_OFF_T % 2147483647 == 1)
6359 ? 1 : -1];
6361 main ()
6365 return 0;
6367 _ACEOF
6368 if ac_fn_c_try_compile "$LINENO"; then :
6369 ac_cv_sys_large_files=no; break
6371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6373 /* end confdefs.h. */
6374 #define _LARGE_FILES 1
6375 #include <sys/types.h>
6376 /* Check that off_t can represent 2**63 - 1 correctly.
6377 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6378 since some C++ compilers masquerading as C compilers
6379 incorrectly reject 9223372036854775807. */
6380 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6381 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6382 && LARGE_OFF_T % 2147483647 == 1)
6383 ? 1 : -1];
6385 main ()
6389 return 0;
6391 _ACEOF
6392 if ac_fn_c_try_compile "$LINENO"; then :
6393 ac_cv_sys_large_files=1; break
6395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6396 ac_cv_sys_large_files=unknown
6397 break
6398 done
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6401 $as_echo "$ac_cv_sys_large_files" >&6; }
6402 case $ac_cv_sys_large_files in #(
6403 no | unknown) ;;
6405 cat >>confdefs.h <<_ACEOF
6406 #define _LARGE_FILES $ac_cv_sys_large_files
6407 _ACEOF
6409 esac
6410 rm -rf conftest*
6417 ac_ext=c
6418 ac_cpp='$CPP $CPPFLAGS'
6419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6423 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6424 # On Suns, sometimes $CPP names a directory.
6425 if test -n "$CPP" && test -d "$CPP"; then
6426 CPP=
6428 if test -z "$CPP"; then
6429 if ${ac_cv_prog_CPP+:} false; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 # Double quotes because CPP needs to be expanded
6433 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6435 ac_preproc_ok=false
6436 for ac_c_preproc_warn_flag in '' yes
6438 # Use a header file that comes with gcc, so configuring glibc
6439 # with a fresh cross-compiler works.
6440 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6441 # <limits.h> exists even on freestanding compilers.
6442 # On the NeXT, cc -E runs the code through the compiler's parser,
6443 # not just through cpp. "Syntax error" is here to catch this case.
6444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6445 /* end confdefs.h. */
6446 #ifdef __STDC__
6447 # include <limits.h>
6448 #else
6449 # include <assert.h>
6450 #endif
6451 Syntax error
6452 _ACEOF
6453 if ac_fn_c_try_cpp "$LINENO"; then :
6455 else
6456 # Broken: fails on valid input.
6457 continue
6459 rm -f conftest.err conftest.i conftest.$ac_ext
6461 # OK, works on sane cases. Now check whether nonexistent headers
6462 # can be detected and how.
6463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6464 /* end confdefs.h. */
6465 #include <ac_nonexistent.h>
6466 _ACEOF
6467 if ac_fn_c_try_cpp "$LINENO"; then :
6468 # Broken: success on invalid input.
6469 continue
6470 else
6471 # Passes both tests.
6472 ac_preproc_ok=:
6473 break
6475 rm -f conftest.err conftest.i conftest.$ac_ext
6477 done
6478 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6479 rm -f conftest.i conftest.err conftest.$ac_ext
6480 if $ac_preproc_ok; then :
6481 break
6484 done
6485 ac_cv_prog_CPP=$CPP
6488 CPP=$ac_cv_prog_CPP
6489 else
6490 ac_cv_prog_CPP=$CPP
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6493 $as_echo "$CPP" >&6; }
6494 ac_preproc_ok=false
6495 for ac_c_preproc_warn_flag in '' yes
6497 # Use a header file that comes with gcc, so configuring glibc
6498 # with a fresh cross-compiler works.
6499 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6500 # <limits.h> exists even on freestanding compilers.
6501 # On the NeXT, cc -E runs the code through the compiler's parser,
6502 # not just through cpp. "Syntax error" is here to catch this case.
6503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6504 /* end confdefs.h. */
6505 #ifdef __STDC__
6506 # include <limits.h>
6507 #else
6508 # include <assert.h>
6509 #endif
6510 Syntax error
6511 _ACEOF
6512 if ac_fn_c_try_cpp "$LINENO"; then :
6514 else
6515 # Broken: fails on valid input.
6516 continue
6518 rm -f conftest.err conftest.i conftest.$ac_ext
6520 # OK, works on sane cases. Now check whether nonexistent headers
6521 # can be detected and how.
6522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6523 /* end confdefs.h. */
6524 #include <ac_nonexistent.h>
6525 _ACEOF
6526 if ac_fn_c_try_cpp "$LINENO"; then :
6527 # Broken: success on invalid input.
6528 continue
6529 else
6530 # Passes both tests.
6531 ac_preproc_ok=:
6532 break
6534 rm -f conftest.err conftest.i conftest.$ac_ext
6536 done
6537 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6538 rm -f conftest.i conftest.err conftest.$ac_ext
6539 if $ac_preproc_ok; then :
6541 else
6542 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6544 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6545 See \`config.log' for more details" "$LINENO" 5; }
6548 ac_ext=c
6549 ac_cpp='$CPP $CPPFLAGS'
6550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6556 $as_echo_n "checking for ANSI C header files... " >&6; }
6557 if ${ac_cv_header_stdc+:} false; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6561 /* end confdefs.h. */
6562 #include <stdlib.h>
6563 #include <stdarg.h>
6564 #include <string.h>
6565 #include <float.h>
6568 main ()
6572 return 0;
6574 _ACEOF
6575 if ac_fn_c_try_compile "$LINENO"; then :
6576 ac_cv_header_stdc=yes
6577 else
6578 ac_cv_header_stdc=no
6580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6582 if test $ac_cv_header_stdc = yes; then
6583 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6585 /* end confdefs.h. */
6586 #include <string.h>
6588 _ACEOF
6589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6590 $EGREP "memchr" >/dev/null 2>&1; then :
6592 else
6593 ac_cv_header_stdc=no
6595 rm -f conftest*
6599 if test $ac_cv_header_stdc = yes; then
6600 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6602 /* end confdefs.h. */
6603 #include <stdlib.h>
6605 _ACEOF
6606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6607 $EGREP "free" >/dev/null 2>&1; then :
6609 else
6610 ac_cv_header_stdc=no
6612 rm -f conftest*
6616 if test $ac_cv_header_stdc = yes; then
6617 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6618 if test "$cross_compiling" = yes; then :
6620 else
6621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6622 /* end confdefs.h. */
6623 #include <ctype.h>
6624 #include <stdlib.h>
6625 #if ((' ' & 0x0FF) == 0x020)
6626 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6627 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6628 #else
6629 # define ISLOWER(c) \
6630 (('a' <= (c) && (c) <= 'i') \
6631 || ('j' <= (c) && (c) <= 'r') \
6632 || ('s' <= (c) && (c) <= 'z'))
6633 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6634 #endif
6636 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6638 main ()
6640 int i;
6641 for (i = 0; i < 256; i++)
6642 if (XOR (islower (i), ISLOWER (i))
6643 || toupper (i) != TOUPPER (i))
6644 return 2;
6645 return 0;
6647 _ACEOF
6648 if ac_fn_c_try_run "$LINENO"; then :
6650 else
6651 ac_cv_header_stdc=no
6653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6654 conftest.$ac_objext conftest.beam conftest.$ac_ext
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6660 $as_echo "$ac_cv_header_stdc" >&6; }
6661 if test $ac_cv_header_stdc = yes; then
6663 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6667 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6668 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6669 inttypes.h stdint.h unistd.h
6670 do :
6671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6672 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6674 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6675 cat >>confdefs.h <<_ACEOF
6676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6677 _ACEOF
6681 done
6684 for ac_header in \
6685 AL/al.h \
6686 ApplicationServices/ApplicationServices.h \
6687 AudioToolbox/AudioConverter.h \
6688 AudioUnit/AudioUnit.h \
6689 AudioUnit/AudioComponent.h \
6690 CL/cl.h \
6691 Carbon/Carbon.h \
6692 CommonCrypto/CommonDigest.h \
6693 CoreAudio/CoreAudio.h \
6694 CoreServices/CoreServices.h \
6695 DiskArbitration/DiskArbitration.h \
6696 IOKit/IOKitLib.h \
6697 IOKit/hid/IOHIDLib.h \
6698 OpenAL/al.h \
6699 OpenCL/opencl.h \
6700 QuickTime/ImageCompression.h \
6701 Security/Security.h \
6702 alias.h \
6703 alsa/asoundlib.h \
6704 arpa/inet.h \
6705 arpa/nameser.h \
6706 asm/types.h \
6707 asm/user.h \
6708 curses.h \
6709 direct.h \
6710 dirent.h \
6711 dlfcn.h \
6712 elf.h \
6713 float.h \
6714 fnmatch.h \
6715 getopt.h \
6716 gettext-po.h \
6717 grp.h \
6718 gsm.h \
6719 gsm/gsm.h \
6720 ieeefp.h \
6721 inet/mib2.h \
6722 io.h \
6723 kstat.h \
6724 lber.h \
6725 ldap.h \
6726 libproc.h \
6727 link.h \
6728 linux/cdrom.h \
6729 linux/compiler.h \
6730 linux/filter.h \
6731 linux/hdreg.h \
6732 linux/input.h \
6733 linux/ioctl.h \
6734 linux/joystick.h \
6735 linux/major.h \
6736 linux/param.h \
6737 linux/serial.h \
6738 linux/types.h \
6739 linux/ucdrom.h \
6740 lwp.h \
6741 mach-o/nlist.h \
6742 mach-o/loader.h \
6743 mach/mach.h \
6744 mach/machine.h \
6745 machine/cpu.h \
6746 machine/limits.h \
6747 machine/sysarch.h \
6748 mntent.h \
6749 ncurses.h \
6750 netdb.h \
6751 netinet/in.h \
6752 netinet/in_systm.h \
6753 netinet/tcp.h \
6754 netinet/tcp_fsm.h \
6755 pcap/pcap.h \
6756 poll.h \
6757 port.h \
6758 process.h \
6759 pthread.h \
6760 pwd.h \
6761 sched.h \
6762 scsi/scsi.h \
6763 scsi/scsi_ioctl.h \
6764 scsi/sg.h \
6765 stdbool.h \
6766 stdint.h \
6767 stropts.h \
6768 sys/asoundlib.h \
6769 sys/attr.h \
6770 sys/cdio.h \
6771 sys/elf32.h \
6772 sys/epoll.h \
6773 sys/event.h \
6774 sys/exec_elf.h \
6775 sys/filio.h \
6776 sys/inotify.h \
6777 sys/ioctl.h \
6778 sys/ipc.h \
6779 sys/limits.h \
6780 sys/link.h \
6781 sys/mman.h \
6782 sys/modem.h \
6783 sys/msg.h \
6784 sys/mtio.h \
6785 sys/param.h \
6786 sys/poll.h \
6787 sys/prctl.h \
6788 sys/protosw.h \
6789 sys/ptrace.h \
6790 sys/queue.h \
6791 sys/resource.h \
6792 sys/scsiio.h \
6793 sys/shm.h \
6794 sys/signal.h \
6795 sys/socket.h \
6796 sys/socketvar.h \
6797 sys/sockio.h \
6798 sys/statvfs.h \
6799 sys/strtio.h \
6800 sys/syscall.h \
6801 sys/tihdr.h \
6802 sys/time.h \
6803 sys/timeout.h \
6804 sys/times.h \
6805 sys/uio.h \
6806 sys/user.h \
6807 sys/utsname.h \
6808 sys/vm86.h \
6809 sys/vnode.h \
6810 sys/wait.h \
6811 syscall.h \
6812 termios.h \
6813 unistd.h \
6814 utime.h \
6815 valgrind/memcheck.h \
6816 valgrind/valgrind.h \
6817 zlib.h
6819 do :
6820 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6821 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6822 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6823 cat >>confdefs.h <<_ACEOF
6824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6825 _ACEOF
6829 done
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6832 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6833 if ${ac_cv_header_stat_broken+:} false; then :
6834 $as_echo_n "(cached) " >&6
6835 else
6836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6837 /* end confdefs.h. */
6838 #include <sys/types.h>
6839 #include <sys/stat.h>
6841 #if defined S_ISBLK && defined S_IFDIR
6842 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6843 #endif
6845 #if defined S_ISBLK && defined S_IFCHR
6846 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6847 #endif
6849 #if defined S_ISLNK && defined S_IFREG
6850 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6851 #endif
6853 #if defined S_ISSOCK && defined S_IFREG
6854 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6855 #endif
6857 _ACEOF
6858 if ac_fn_c_try_compile "$LINENO"; then :
6859 ac_cv_header_stat_broken=no
6860 else
6861 ac_cv_header_stat_broken=yes
6863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6866 $as_echo "$ac_cv_header_stat_broken" >&6; }
6867 if test $ac_cv_header_stat_broken = yes; then
6869 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6875 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6876 do :
6877 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6878 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6879 #ifdef HAVE_SYS_PARAM_H
6880 # include <sys/param.h>
6881 #endif
6883 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6884 cat >>confdefs.h <<_ACEOF
6885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6886 _ACEOF
6890 done
6893 for ac_header in \
6894 netinet/ip.h \
6895 net/if.h \
6896 net/if_arp.h \
6897 net/if_dl.h \
6898 net/if_types.h \
6899 net/route.h \
6900 netinet/if_ether.h \
6901 netinet/if_inarp.h \
6902 netinet/in_pcb.h \
6903 netinet/ip_icmp.h \
6904 netinet/ip_var.h \
6905 netinet/udp.h \
6906 netipx/ipx.h \
6907 sys/un.h \
6909 do :
6910 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6911 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6912 #ifdef HAVE_SYS_SOCKET_H
6913 # include <sys/socket.h>
6914 #endif
6915 #ifdef HAVE_SYS_SOCKETVAR_H
6916 # include <sys/socketvar.h>
6917 #endif
6918 #ifdef HAVE_NET_ROUTE_H
6919 # include <net/route.h>
6920 #endif
6921 #ifdef HAVE_NETINET_IN_H
6922 # include <netinet/in.h>
6923 #endif
6924 #ifdef HAVE_NETINET_IN_SYSTM_H
6925 # include <netinet/in_systm.h>
6926 #endif
6927 #ifdef HAVE_NET_IF_H
6928 # include <net/if.h>
6929 #endif
6930 #ifdef HAVE_NETINET_IP_H
6931 # include <netinet/ip.h>
6932 #endif
6934 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6935 cat >>confdefs.h <<_ACEOF
6936 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6937 _ACEOF
6941 done
6944 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6945 do :
6946 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6947 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6948 #ifdef HAVE_ALIAS_H
6949 # include <alias.h>
6950 #endif
6951 #ifdef HAVE_SYS_SOCKET_H
6952 # include <sys/socket.h>
6953 #endif
6954 #ifdef HAVE_SYS_SOCKETVAR_H
6955 # include <sys/socketvar.h>
6956 #endif
6957 #ifdef HAVE_SYS_TIMEOUT_H
6958 # include <sys/timeout.h>
6959 #endif
6960 #ifdef HAVE_NETINET_IN_H
6961 # include <netinet/in.h>
6962 #endif
6963 #ifdef HAVE_NETINET_IN_SYSTM_H
6964 # include <netinet/in_systm.h>
6965 #endif
6966 #ifdef HAVE_NETINET_IP_H
6967 # include <netinet/ip.h>
6968 #endif
6969 #ifdef HAVE_NETINET_IP_VAR_H
6970 # include <netinet/ip_var.h>
6971 #endif
6972 #ifdef HAVE_NETINET_IP_ICMP_H
6973 # include <netinet/ip_icmp.h>
6974 #endif
6975 #ifdef HAVE_NETINET_UDP_H
6976 # include <netinet/udp.h>
6977 #endif
6978 #ifdef HAVE_NETINET_TCP_H
6979 # include <netinet/tcp.h>
6980 #endif
6981 #ifdef HAVE_NETINET_TCP_TIMER_H
6982 #include <netinet/tcp_timer.h>
6983 #endif
6985 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6986 cat >>confdefs.h <<_ACEOF
6987 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6988 _ACEOF
6992 done
6995 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6996 do :
6997 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6998 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6999 #ifdef HAVE_ASM_TYPES_H
7000 # include <asm/types.h>
7001 #endif
7002 #ifdef HAVE_SYS_SOCKET_H
7003 # include <sys/socket.h>
7004 #endif
7005 #ifdef HAVE_LINUX_TYPES_H
7006 # include <linux/types.h>
7007 #endif
7009 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7010 cat >>confdefs.h <<_ACEOF
7011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7012 _ACEOF
7016 done
7019 for ac_header in mach-o/dyld_images.h
7020 do :
7021 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7022 # include <stdbool.h>
7023 #endif
7024 #ifdef HAVE_STDINT_H
7025 # include <stdint.h>
7026 #endif
7028 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7029 cat >>confdefs.h <<_ACEOF
7030 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7031 _ACEOF
7035 done
7038 for ac_header in resolv.h
7039 do :
7040 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7041 #ifdef HAVE_SYS_SOCKET_H
7042 # include <sys/socket.h>
7043 #endif
7044 #ifdef HAVE_NETINET_IN_H
7045 # include <netinet/in.h>
7046 #endif
7047 #ifdef HAVE_ARPA_NAMESER_H
7048 # include <arpa/nameser.h>
7049 #endif
7051 if test "x$ac_cv_header_resolv_h" = xyes; then :
7052 cat >>confdefs.h <<_ACEOF
7053 #define HAVE_RESOLV_H 1
7054 _ACEOF
7058 done
7061 for ac_header in ifaddrs.h
7062 do :
7063 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7065 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7066 cat >>confdefs.h <<_ACEOF
7067 #define HAVE_IFADDRS_H 1
7068 _ACEOF
7072 done
7075 for ac_header in sys/ucontext.h
7076 do :
7077 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7079 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7080 cat >>confdefs.h <<_ACEOF
7081 #define HAVE_SYS_UCONTEXT_H 1
7082 _ACEOF
7086 done
7089 for ac_header in sys/thr.h
7090 do :
7091 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7092 #ifdef HAVE_SYS_UCONTEXT_H
7093 #include <sys/ucontext.h>
7094 #endif
7096 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7097 cat >>confdefs.h <<_ACEOF
7098 #define HAVE_SYS_THR_H 1
7099 _ACEOF
7103 done
7106 for ac_header in pthread_np.h
7107 do :
7108 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7109 #include <pthread.h>
7110 #endif
7112 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7113 cat >>confdefs.h <<_ACEOF
7114 #define HAVE_PTHREAD_NP_H 1
7115 _ACEOF
7119 done
7122 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7123 do :
7124 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7125 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7126 #include <sys/time.h>
7127 #endif
7128 #include <sys/types.h>
7129 #ifdef HAVE_ASM_TYPES_H
7130 #include <asm/types.h>
7131 #endif
7133 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7134 cat >>confdefs.h <<_ACEOF
7135 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7136 _ACEOF
7140 done
7143 for ac_header in libprocstat.h
7144 do :
7145 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7146 #include <sys/param.h>
7147 #endif
7148 #ifdef HAVE_SYS_QUEUE_H
7149 #include <sys/queue.h>
7150 #endif
7151 #ifdef HAVE_SYS_SOCKET_H
7152 #include <sys/socket.h>
7153 #endif
7155 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7156 cat >>confdefs.h <<_ACEOF
7157 #define HAVE_LIBPROCSTAT_H 1
7158 _ACEOF
7162 done
7166 dlldir="\${libdir}/wine"
7168 DLLFLAGS="-D_REENTRANT"
7170 LDRPATH_INSTALL=""
7172 LDRPATH_LOCAL=""
7174 LDEXECFLAGS=""
7176 LIBEXT="so"
7177 DLLEXT=".so"
7178 IMPLIBEXT="def"
7179 STATIC_IMPLIBEXT="def.a"
7180 # Extract the first word of "ldd", so it can be a program name with args.
7181 set dummy ldd; ac_word=$2
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7183 $as_echo_n "checking for $ac_word... " >&6; }
7184 if ${ac_cv_path_LDD+:} false; then :
7185 $as_echo_n "(cached) " >&6
7186 else
7187 case $LDD in
7188 [\\/]* | ?:[\\/]*)
7189 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7193 as_dummy="/sbin:/usr/sbin:$PATH"
7194 for as_dir in $as_dummy
7196 IFS=$as_save_IFS
7197 test -z "$as_dir" && as_dir=.
7198 for ac_exec_ext in '' $ac_executable_extensions; do
7199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7202 break 2
7204 done
7205 done
7206 IFS=$as_save_IFS
7208 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7210 esac
7212 LDD=$ac_cv_path_LDD
7213 if test -n "$LDD"; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7215 $as_echo "$LDD" >&6; }
7216 else
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7222 if test -n "$ac_tool_prefix"; then
7223 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7224 set dummy ${ac_tool_prefix}otool; ac_word=$2
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 $as_echo_n "checking for $ac_word... " >&6; }
7227 if ${ac_cv_prog_OTOOL+:} false; then :
7228 $as_echo_n "(cached) " >&6
7229 else
7230 if test -n "$OTOOL"; then
7231 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7232 else
7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 for as_dir in $PATH
7236 IFS=$as_save_IFS
7237 test -z "$as_dir" && as_dir=.
7238 for ac_exec_ext in '' $ac_executable_extensions; do
7239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7240 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7242 break 2
7244 done
7245 done
7246 IFS=$as_save_IFS
7250 OTOOL=$ac_cv_prog_OTOOL
7251 if test -n "$OTOOL"; then
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7253 $as_echo "$OTOOL" >&6; }
7254 else
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7256 $as_echo "no" >&6; }
7261 if test -z "$ac_cv_prog_OTOOL"; then
7262 ac_ct_OTOOL=$OTOOL
7263 # Extract the first word of "otool", so it can be a program name with args.
7264 set dummy otool; ac_word=$2
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7266 $as_echo_n "checking for $ac_word... " >&6; }
7267 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7268 $as_echo_n "(cached) " >&6
7269 else
7270 if test -n "$ac_ct_OTOOL"; then
7271 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7272 else
7273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 for as_dir in $PATH
7276 IFS=$as_save_IFS
7277 test -z "$as_dir" && as_dir=.
7278 for ac_exec_ext in '' $ac_executable_extensions; do
7279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7280 ac_cv_prog_ac_ct_OTOOL="otool"
7281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7282 break 2
7284 done
7285 done
7286 IFS=$as_save_IFS
7290 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7291 if test -n "$ac_ct_OTOOL"; then
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7293 $as_echo "$ac_ct_OTOOL" >&6; }
7294 else
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7296 $as_echo "no" >&6; }
7299 if test "x$ac_ct_OTOOL" = x; then
7300 OTOOL="otool"
7301 else
7302 case $cross_compiling:$ac_tool_warned in
7303 yes:)
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7306 ac_tool_warned=yes ;;
7307 esac
7308 OTOOL=$ac_ct_OTOOL
7310 else
7311 OTOOL="$ac_cv_prog_OTOOL"
7314 if test -n "$ac_tool_prefix"; then
7315 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7316 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7318 $as_echo_n "checking for $ac_word... " >&6; }
7319 if ${ac_cv_prog_READELF+:} false; then :
7320 $as_echo_n "(cached) " >&6
7321 else
7322 if test -n "$READELF"; then
7323 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7324 else
7325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7326 for as_dir in $PATH
7328 IFS=$as_save_IFS
7329 test -z "$as_dir" && as_dir=.
7330 for ac_exec_ext in '' $ac_executable_extensions; do
7331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7332 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7334 break 2
7336 done
7337 done
7338 IFS=$as_save_IFS
7342 READELF=$ac_cv_prog_READELF
7343 if test -n "$READELF"; then
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7345 $as_echo "$READELF" >&6; }
7346 else
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348 $as_echo "no" >&6; }
7353 if test -z "$ac_cv_prog_READELF"; then
7354 ac_ct_READELF=$READELF
7355 # Extract the first word of "readelf", so it can be a program name with args.
7356 set dummy readelf; ac_word=$2
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 $as_echo_n "checking for $ac_word... " >&6; }
7359 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7360 $as_echo_n "(cached) " >&6
7361 else
7362 if test -n "$ac_ct_READELF"; then
7363 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7364 else
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 for as_dir in $PATH
7368 IFS=$as_save_IFS
7369 test -z "$as_dir" && as_dir=.
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7372 ac_cv_prog_ac_ct_READELF="readelf"
7373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374 break 2
7376 done
7377 done
7378 IFS=$as_save_IFS
7382 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7383 if test -n "$ac_ct_READELF"; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7385 $as_echo "$ac_ct_READELF" >&6; }
7386 else
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7391 if test "x$ac_ct_READELF" = x; then
7392 READELF="true"
7393 else
7394 case $cross_compiling:$ac_tool_warned in
7395 yes:)
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7398 ac_tool_warned=yes ;;
7399 esac
7400 READELF=$ac_ct_READELF
7402 else
7403 READELF="$ac_cv_prog_READELF"
7406 wine_rules_file=conf$$rules.make
7407 rm -f $wine_rules_file
7408 SUBDIRS=""
7410 DISABLED_SUBDIRS=""
7412 CONFIGURE_TARGETS=""
7414 ALL_TEST_RESOURCES=""
7417 wine_fn_append_file ()
7419 as_fn_append $1 " \\$as_nl $2"
7422 wine_fn_append_rule ()
7424 $as_echo "$1" >>$wine_rules_file
7427 wine_fn_has_flag ()
7429 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7432 wine_fn_all_rules ()
7434 wine_fn_append_file SUBDIRS $ac_dir
7435 wine_fn_append_rule \
7436 "all: $ac_dir
7437 .PHONY: $ac_dir
7438 $ac_dir: dummy
7439 @cd $ac_dir && \$(MAKE)"
7442 wine_fn_install_rules ()
7444 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7446 wine_fn_append_rule \
7447 ".PHONY: $ac_dir/install $ac_dir/uninstall
7448 $ac_dir/install:: $ac_dir
7449 @cd $ac_dir && \$(MAKE) install
7450 $ac_dir/uninstall::
7451 @cd $ac_dir && \$(MAKE) uninstall
7452 install:: $ac_dir/install
7453 __uninstall__: $ac_dir/uninstall"
7455 if wine_fn_has_flag install-lib
7456 then
7457 wine_fn_append_rule \
7458 ".PHONY: $ac_dir/install-lib
7459 $ac_dir/install-lib:: $ac_dir
7460 @cd $ac_dir && \$(MAKE) install-lib
7461 install-lib:: $ac_dir/install-lib"
7464 if wine_fn_has_flag install-dev
7465 then
7466 wine_fn_append_rule \
7467 ".PHONY: $ac_dir/install-dev
7468 $ac_dir/install-dev:: $ac_dir
7469 @cd $ac_dir && \$(MAKE) install-dev
7470 install-dev:: $ac_dir/install-dev"
7474 wine_fn_clean_rules ()
7476 ac_clean=$@
7478 if wine_fn_has_flag clean
7479 then
7480 wine_fn_append_rule \
7481 "$ac_dir/clean: dummy
7482 @cd $ac_dir && \$(MAKE) clean"
7483 else
7484 wine_fn_append_rule \
7485 "$ac_dir/clean: dummy
7486 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7488 wine_fn_append_rule \
7489 "__clean__: $ac_dir/clean
7490 .PHONY: $ac_dir/clean"
7493 wine_fn_disabled_rules ()
7495 ac_clean=$@
7497 wine_fn_append_file SUBDIRS $ac_dir
7498 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7499 wine_fn_append_rule \
7500 "__clean__: $ac_dir/clean
7501 .PHONY: $ac_dir/clean
7502 $ac_dir/clean: dummy
7503 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7506 wine_fn_config_makefile ()
7508 ac_dir=$1
7509 ac_enable=$2
7510 ac_flags=$3
7512 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7513 wine_fn_disabled_rules; return
7515 wine_fn_all_rules
7516 wine_fn_install_rules
7517 wine_fn_clean_rules
7520 wine_fn_config_lib ()
7522 ac_name=$1
7523 ac_flags=$2
7524 ac_dir=dlls/$ac_name
7525 ac_deps="include"
7527 if test "x$enable_tools" = xno; then :
7529 else
7530 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7532 wine_fn_all_rules
7533 wine_fn_clean_rules
7535 wine_fn_append_rule \
7536 ".PHONY: $ac_dir/install $ac_dir/uninstall
7537 $ac_dir/install:: $ac_dir
7538 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7539 $ac_dir/uninstall::
7540 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7541 install install-dev:: $ac_dir/install
7542 __uninstall__: $ac_dir/uninstall
7543 __builddeps__: $ac_dir
7544 $ac_dir: $ac_deps"
7547 wine_fn_config_dll ()
7549 ac_name=$1
7550 ac_dir=dlls/$ac_name
7551 ac_enable=$2
7552 ac_flags=$3
7553 ac_implib=${4:-$ac_name}
7554 ac_file=$ac_dir/lib$ac_implib
7555 ac_dll=$ac_name
7556 ac_deps="include"
7557 ac_implibflags=""
7559 if test "x$enable_tools" = xno; then :
7561 else
7562 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7564 case $ac_name in
7565 *16) ac_implibflags=" -m16" ;;
7566 *.*) ;;
7567 *) ac_dll=$ac_dll.dll ;;
7568 esac
7570 ac_clean=
7571 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7572 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7574 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7575 if test "$ac_enable" != enable_win16
7576 then
7577 wine_fn_clean_rules $ac_clean
7578 wine_fn_append_file SUBDIRS $ac_dir
7579 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7580 else
7581 wine_fn_disabled_rules $ac_clean
7582 return
7584 else
7585 wine_fn_all_rules
7586 wine_fn_clean_rules $ac_clean
7587 wine_fn_append_rule \
7588 "$ac_dir: __builddeps__
7589 manpages htmlpages sgmlpages xmlpages::
7590 @cd $ac_dir && \$(MAKE) \$@
7591 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7592 install install-lib:: $ac_dir/install-lib
7593 __uninstall__: $ac_dir/uninstall"
7594 if test -n "$DLLEXT"
7595 then
7596 wine_fn_append_rule \
7597 "$ac_dir/install-lib:: $ac_dir
7598 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7599 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7600 $ac_dir/uninstall::
7601 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7602 else
7603 wine_fn_append_rule \
7604 "$ac_dir/install-lib:: $ac_dir
7605 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7606 $ac_dir/uninstall::
7607 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7611 if wine_fn_has_flag staticimplib
7612 then
7613 wine_fn_append_rule \
7614 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7615 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7616 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7617 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7618 $ac_file.$STATIC_IMPLIBEXT: dummy
7619 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7620 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7621 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7622 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7623 $ac_dir/uninstall::
7624 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7625 install install-dev:: $ac_dir/install-dev
7626 __uninstall__: $ac_dir/uninstall"
7628 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7629 then
7630 wine_fn_append_rule \
7631 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7632 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7633 $ac_dir/uninstall::
7634 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7637 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7638 then
7639 wine_fn_append_rule \
7640 "__builddeps__: $ac_file.cross.a
7641 $ac_file.cross.a: dummy
7642 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7645 elif wine_fn_has_flag implib
7646 then
7647 wine_fn_append_rule \
7648 "__builddeps__: $ac_file.$IMPLIBEXT
7649 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7650 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7651 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7652 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7653 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7654 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7655 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7656 $ac_dir/uninstall::
7657 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7658 install install-dev:: $ac_dir/install-dev
7659 __uninstall__: $ac_dir/uninstall"
7660 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7661 then
7662 wine_fn_append_rule \
7663 "__builddeps__: $ac_file.cross.a
7664 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7665 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7670 wine_fn_config_program ()
7672 ac_name=$1
7673 ac_dir=programs/$ac_name
7674 ac_enable=$2
7675 ac_flags=$3
7676 ac_program=$ac_name
7678 case $ac_name in
7679 *.*) ;;
7680 *) ac_program=$ac_program.exe ;;
7681 esac
7683 ac_clean=
7684 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7685 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7687 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7688 wine_fn_disabled_rules $ac_clean; return
7691 wine_fn_all_rules
7692 wine_fn_clean_rules $ac_clean
7693 wine_fn_append_rule "$ac_dir: __builddeps__"
7695 wine_fn_has_flag install || return
7696 wine_fn_append_rule \
7697 ".PHONY: $ac_dir/install $ac_dir/uninstall
7698 install install-lib:: $ac_dir/install
7699 __uninstall__: $ac_dir/uninstall"
7701 if test -n "$DLLEXT"
7702 then
7703 wine_fn_append_rule \
7704 "$ac_dir/install:: $ac_dir
7705 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7706 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7707 $ac_dir/uninstall::
7708 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7710 if test -z "$with_wine64" && wine_fn_has_flag installbin
7711 then
7712 wine_fn_append_rule \
7713 "$ac_dir/install:: __tooldeps__
7714 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7715 $ac_dir/uninstall::
7716 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7718 else
7719 wine_fn_append_rule \
7720 "$ac_dir/install:: $ac_dir
7721 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7722 $ac_dir/uninstall::
7723 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7726 if test -z "$with_wine64" && wine_fn_has_flag manpage
7727 then
7728 wine_fn_append_rule \
7729 "$ac_dir/install:: $ac_dir
7730 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7731 $ac_dir/uninstall::
7732 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7736 wine_fn_config_test ()
7738 ac_dir=$1
7739 ac_name=$2
7740 ac_flags=$3
7742 ac_clean=
7743 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7744 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7746 if test "x$enable_tests" = xno; then :
7747 wine_fn_disabled_rules $ac_clean; return
7750 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7751 wine_fn_all_rules
7752 wine_fn_clean_rules $ac_clean
7754 wine_fn_append_rule \
7755 "$ac_dir: __builddeps__
7756 programs/winetest: $ac_dir
7757 check test: $ac_dir/test
7758 .PHONY: $ac_dir/test
7759 $ac_dir/test: dummy
7760 @cd $ac_dir && \$(MAKE) test
7761 testclean::
7762 \$(RM) $ac_dir/*.ok"
7764 if test -n "$CROSSTARGET"
7765 then
7766 wine_fn_append_rule \
7767 "crosstest: $ac_dir/crosstest
7768 .PHONY: $ac_dir/crosstest
7769 $ac_dir/crosstest: __builddeps__ dummy
7770 @cd $ac_dir && \$(MAKE) crosstest"
7774 wine_fn_config_tool ()
7776 ac_dir=$1
7777 ac_flags=$2
7778 if test "x$enable_tools" = xno; then :
7779 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7782 wine_fn_all_rules
7783 wine_fn_install_rules
7784 wine_fn_clean_rules
7786 wine_fn_append_rule "__tooldeps__: $ac_dir"
7787 wine_fn_append_rule "$ac_dir: libs/port"
7788 case $ac_dir in
7789 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7790 esac
7793 wine_fn_config_symlink ()
7795 ac_linkdir=
7796 if test "x$1" = "x-d"
7797 then
7798 ac_linkdir=$2
7799 shift; shift
7801 ac_links=$@
7802 wine_fn_append_rule \
7803 "$ac_links:
7804 @./config.status \$@"
7805 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7806 test -n "$ac_linkdir" || return
7807 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7810 wine_binary="wine"
7811 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7812 WINELOADER_PROGRAMS="$wine_binary"
7814 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7816 case $host_os in
7817 cygwin*|mingw32*)
7818 if test -n "$ac_tool_prefix"; then
7819 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7820 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7822 $as_echo_n "checking for $ac_word... " >&6; }
7823 if ${ac_cv_prog_DLLTOOL+:} false; then :
7824 $as_echo_n "(cached) " >&6
7825 else
7826 if test -n "$DLLTOOL"; then
7827 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7828 else
7829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7830 for as_dir in $PATH
7832 IFS=$as_save_IFS
7833 test -z "$as_dir" && as_dir=.
7834 for ac_exec_ext in '' $ac_executable_extensions; do
7835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7836 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7838 break 2
7840 done
7841 done
7842 IFS=$as_save_IFS
7846 DLLTOOL=$ac_cv_prog_DLLTOOL
7847 if test -n "$DLLTOOL"; then
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7849 $as_echo "$DLLTOOL" >&6; }
7850 else
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7852 $as_echo "no" >&6; }
7857 if test -z "$ac_cv_prog_DLLTOOL"; then
7858 ac_ct_DLLTOOL=$DLLTOOL
7859 # Extract the first word of "dlltool", so it can be a program name with args.
7860 set dummy dlltool; ac_word=$2
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7862 $as_echo_n "checking for $ac_word... " >&6; }
7863 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7864 $as_echo_n "(cached) " >&6
7865 else
7866 if test -n "$ac_ct_DLLTOOL"; then
7867 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7868 else
7869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7870 for as_dir in $PATH
7872 IFS=$as_save_IFS
7873 test -z "$as_dir" && as_dir=.
7874 for ac_exec_ext in '' $ac_executable_extensions; do
7875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7876 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7878 break 2
7880 done
7881 done
7882 IFS=$as_save_IFS
7886 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7887 if test -n "$ac_ct_DLLTOOL"; then
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7889 $as_echo "$ac_ct_DLLTOOL" >&6; }
7890 else
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7892 $as_echo "no" >&6; }
7895 if test "x$ac_ct_DLLTOOL" = x; then
7896 DLLTOOL="false"
7897 else
7898 case $cross_compiling:$ac_tool_warned in
7899 yes:)
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7902 ac_tool_warned=yes ;;
7903 esac
7904 DLLTOOL=$ac_ct_DLLTOOL
7906 else
7907 DLLTOOL="$ac_cv_prog_DLLTOOL"
7910 LIBEXT="dll"
7911 DLLEXT=""
7912 IMPLIBEXT="a"
7913 STATIC_IMPLIBEXT="a"
7914 enable_iphlpapi=${enable_iphlpapi:-no}
7915 enable_kernel32=${enable_kernel32:-no}
7916 enable_msvcrt=${enable_msvcrt:-no}
7917 enable_ntdll=${enable_ntdll:-no}
7918 enable_ws2_32=${enable_ws2_32:-no}
7919 enable_loader=${enable_loader:-no}
7920 enable_server=${enable_server:-no}
7921 with_x=${with_x:-no}
7922 with_pthread=${with_pthread:-no}
7924 crtlibs=""
7925 case $host_os in
7926 mingw32*)
7927 crtlibs="-lmsvcrt"
7928 SOCKET_LIBS="-lws2_32"
7930 esac
7932 LIBWINE_SHAREDLIB="libwine.dll"
7934 LIBWINE_IMPORTLIB="libwine.a"
7936 LIBWINE_INSTALL_LIB="libwine.dll"
7938 LIBWINE_INSTALL_DEV="libwine.a"
7940 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7942 LIBWINE_DEPENDS="wine.def"
7946 darwin*|macosx*)
7947 for ac_header in libunwind.h
7948 do :
7949 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7950 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7951 cat >>confdefs.h <<_ACEOF
7952 #define HAVE_LIBUNWIND_H 1
7953 _ACEOF
7957 done
7959 LIBEXT="dylib"
7960 DLLFLAGS="$DLLFLAGS -fPIC"
7961 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7962 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7963 COREFOUNDATION_LIBS="-framework CoreFoundation"
7965 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7967 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7969 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7971 CORESERVICES_LIBS="-framework CoreServices"
7973 APPKIT_LIBS="-framework AppKit"
7975 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7977 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7978 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7979 $as_echo_n "(cached) " >&6
7980 else
7981 ac_wine_try_cflags_saved=$CFLAGS
7982 CFLAGS="$CFLAGS -Wl,-no_pie"
7983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7984 /* end confdefs.h. */
7985 int main(int argc, char **argv) { return 0; }
7986 _ACEOF
7987 if ac_fn_c_try_link "$LINENO"; then :
7988 ac_cv_cflags__Wl__no_pie=yes
7989 else
7990 ac_cv_cflags__Wl__no_pie=no
7992 rm -f core conftest.err conftest.$ac_objext \
7993 conftest$ac_exeext conftest.$ac_ext
7994 CFLAGS=$ac_wine_try_cflags_saved
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7997 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7998 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7999 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8001 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8002 then
8003 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8006 if test "$ac_cv_header_Security_Security_h" = "yes"
8007 then
8008 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8010 ac_save_LIBS="$LIBS"
8011 LIBS="$LIBS $SECURITY_LIBS"
8012 for ac_func in SSLCopyPeerCertificates
8013 do :
8014 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8015 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8016 cat >>confdefs.h <<_ACEOF
8017 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8018 _ACEOF
8021 done
8023 LIBS="$ac_save_LIBS"
8024 with_gnutls=${with_gnutls:-no}
8026 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8027 then
8028 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8029 then
8030 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8032 else
8033 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8036 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8037 ac_save_LIBS="$LIBS"
8038 LIBS="$LIBS $COREAUDIO_LIBS"
8039 for ac_func in AUGraphAddNode
8040 do :
8041 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8042 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8043 cat >>confdefs.h <<_ACEOF
8044 #define HAVE_AUGRAPHADDNODE 1
8045 _ACEOF
8048 done
8050 LIBS="$ac_save_LIBS"
8052 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8053 then
8054 OPENAL_LIBS="-framework OpenAL"
8057 cat >>confdefs.h <<_ACEOF
8058 #define HAVE_OPENAL 1
8059 _ACEOF
8061 ac_cv_lib_openal=yes
8063 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8064 then
8065 OPENCL_LIBS="-framework OpenCL"
8067 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8069 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8070 then
8071 ac_save_LIBS="$LIBS"
8072 LIBS="$LIBS $IOKIT_LIBS"
8073 for ac_func in IOHIDManagerCreate
8074 do :
8075 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8076 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8077 cat >>confdefs.h <<_ACEOF
8078 #define HAVE_IOHIDMANAGERCREATE 1
8079 _ACEOF
8082 done
8084 LIBS="$ac_save_LIBS"
8086 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8087 then
8088 ac_save_LIBS="$LIBS"
8089 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8091 $as_echo_n "checking for the QuickTime framework... " >&6; }
8092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8093 /* end confdefs.h. */
8094 #include <QuickTime/ImageCompression.h>
8096 main ()
8098 CodecManagerVersion(NULL);
8100 return 0;
8102 _ACEOF
8103 if ac_fn_c_try_link "$LINENO"; then :
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8105 $as_echo "yes" >&6; }
8106 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8108 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8109 else
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8111 $as_echo "no" >&6; }
8112 ac_cv_header_QuickTime_ImageCompression_h=no
8114 rm -f core conftest.err conftest.$ac_objext \
8115 conftest$ac_exeext conftest.$ac_ext
8116 LIBS="$ac_save_LIBS"
8118 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8119 then
8120 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8122 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8123 then
8124 CARBON_LIBS="-framework Carbon"
8128 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8129 then
8130 ac_save_LIBS="$LIBS"
8131 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8132 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8133 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8134 enable_winemac_drv=${enable_winemac_drv:-yes}
8137 LIBS="$ac_save_LIBS"
8140 if test "x$enable_win16" = "xyes"
8141 then
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8143 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8144 if test "$cross_compiling" = yes; then :
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8146 $as_echo "cross-compiling, assuming yes" >&6; }
8147 else
8148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8149 /* end confdefs.h. */
8150 asm(".text\n"
8151 "bad:\tnop;nop\n"
8152 "good:\tnop;nop\n\t"
8153 ".globl _testfunc\n"
8154 "_testfunc:\tcallw good");
8155 extern void testfunc();
8157 main ()
8159 unsigned short *p = (unsigned short *)testfunc;
8160 return p[0] != 0xe866 || p[1] != 0xfffa
8162 return 0;
8164 _ACEOF
8165 if ac_fn_c_try_run "$LINENO"; then :
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8167 $as_echo "yes" >&6; }
8168 else
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8170 $as_echo "no" >&6; }
8171 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
8173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8174 conftest.$ac_objext conftest.beam conftest.$ac_ext
8179 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8181 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8183 LIBWINE_INSTALL_DEV="libwine.dylib"
8185 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8187 WINELOADER_DEPENDS="wine_info.plist"
8191 linux-android*)
8192 DLLFLAGS="$DLLFLAGS -fPIC"
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8194 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8195 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8196 $as_echo_n "(cached) " >&6
8197 else
8198 ac_wine_try_cflags_saved=$CFLAGS
8199 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8201 /* end confdefs.h. */
8202 int main(int argc, char **argv) { return 0; }
8203 _ACEOF
8204 if ac_fn_c_try_link "$LINENO"; then :
8205 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8206 else
8207 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8209 rm -f core conftest.err conftest.$ac_objext \
8210 conftest$ac_exeext conftest.$ac_ext
8211 CFLAGS=$ac_wine_try_cflags_saved
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8214 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8215 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8216 LDEXECFLAGS="-Wl,--export-dynamic"
8218 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8220 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8221 if eval \${$as_ac_var+:} false; then :
8222 $as_echo_n "(cached) " >&6
8223 else
8224 ac_wine_try_cflags_saved=$CFLAGS
8225 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8227 /* end confdefs.h. */
8228 int main(int argc, char **argv) { return 0; }
8229 _ACEOF
8230 if ac_fn_c_try_link "$LINENO"; then :
8231 eval "$as_ac_var=yes"
8232 else
8233 eval "$as_ac_var=no"
8235 rm -f core conftest.err conftest.$ac_objext \
8236 conftest$ac_exeext conftest.$ac_ext
8237 CFLAGS=$ac_wine_try_cflags_saved
8239 eval ac_res=\$$as_ac_var
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8241 $as_echo "$ac_res" >&6; }
8242 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8243 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8244 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8245 else
8246 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8248 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8249 if eval \${$as_ac_var+:} false; then :
8250 $as_echo_n "(cached) " >&6
8251 else
8252 ac_wine_try_cflags_saved=$CFLAGS
8253 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8255 /* end confdefs.h. */
8256 int main(int argc, char **argv) { return 0; }
8257 _ACEOF
8258 if ac_fn_c_try_link "$LINENO"; then :
8259 eval "$as_ac_var=yes"
8260 else
8261 eval "$as_ac_var=no"
8263 rm -f core conftest.err conftest.$ac_objext \
8264 conftest$ac_exeext conftest.$ac_ext
8265 CFLAGS=$ac_wine_try_cflags_saved
8267 eval ac_res=\$$as_ac_var
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8269 $as_echo "$ac_res" >&6; }
8270 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8271 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8272 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8277 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8278 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8279 $as_echo_n "(cached) " >&6
8280 else
8281 ac_wine_try_cflags_saved=$CFLAGS
8282 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8284 /* end confdefs.h. */
8285 int main(int argc, char **argv) { return 0; }
8286 _ACEOF
8287 if ac_fn_c_try_link "$LINENO"; then :
8288 ac_cv_cflags__Wl___enable_new_dtags=yes
8289 else
8290 ac_cv_cflags__Wl___enable_new_dtags=no
8292 rm -f core conftest.err conftest.$ac_objext \
8293 conftest$ac_exeext conftest.$ac_ext
8294 CFLAGS=$ac_wine_try_cflags_saved
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8297 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8298 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8299 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8302 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8303 if ${ac_cv_cflags__Wl__pie+:} false; then :
8304 $as_echo_n "(cached) " >&6
8305 else
8306 ac_wine_try_cflags_saved=$CFLAGS
8307 CFLAGS="$CFLAGS -Wl,-pie"
8308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8309 /* end confdefs.h. */
8310 int main(int argc, char **argv) { return 0; }
8311 _ACEOF
8312 if ac_fn_c_try_link "$LINENO"; then :
8313 ac_cv_cflags__Wl__pie=yes
8314 else
8315 ac_cv_cflags__Wl__pie=no
8317 rm -f core conftest.err conftest.$ac_objext \
8318 conftest$ac_exeext conftest.$ac_ext
8319 CFLAGS=$ac_wine_try_cflags_saved
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8322 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8323 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8324 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8327 LIBWINE_SHAREDLIB="libwine.so"
8329 LIBWINE_INSTALL_LIB="libwine.so"
8331 LIBWINE_LDFLAGS="-shared"
8336 DLLFLAGS="$DLLFLAGS -fPIC"
8337 LDEXECFLAGS=""
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8339 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8340 if ${ac_cv_c_dll_gnuelf+:} false; then :
8341 $as_echo_n "(cached) " >&6
8342 else
8343 ac_wine_try_cflags_saved=$CFLAGS
8344 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8346 /* end confdefs.h. */
8347 void myfunc() {}
8348 _ACEOF
8349 if ac_fn_c_try_link "$LINENO"; then :
8350 ac_cv_c_dll_gnuelf="yes"
8351 else
8352 ac_cv_c_dll_gnuelf="no"
8354 rm -f core conftest.err conftest.$ac_objext \
8355 conftest$ac_exeext conftest.$ac_ext
8356 CFLAGS=$ac_wine_try_cflags_saved
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8359 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8360 if test "$ac_cv_c_dll_gnuelf" = "yes"
8361 then
8362 LIBWINE_LDFLAGS="-shared"
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8364 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8365 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8366 $as_echo_n "(cached) " >&6
8367 else
8368 ac_wine_try_cflags_saved=$CFLAGS
8369 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8372 int main(int argc, char **argv) { return 0; }
8373 _ACEOF
8374 if ac_fn_c_try_link "$LINENO"; then :
8375 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8376 else
8377 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8379 rm -f core conftest.err conftest.$ac_objext \
8380 conftest$ac_exeext conftest.$ac_ext
8381 CFLAGS=$ac_wine_try_cflags_saved
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8384 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8385 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8386 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8387 else
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8389 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8390 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8391 $as_echo_n "(cached) " >&6
8392 else
8393 ac_wine_try_cflags_saved=$CFLAGS
8394 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8396 /* end confdefs.h. */
8397 int main(int argc, char **argv) { return 0; }
8398 _ACEOF
8399 if ac_fn_c_try_link "$LINENO"; then :
8400 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8401 else
8402 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8404 rm -f core conftest.err conftest.$ac_objext \
8405 conftest$ac_exeext conftest.$ac_ext
8406 CFLAGS=$ac_wine_try_cflags_saved
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8409 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8410 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8411 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8415 echo '{ global: *; };' >conftest.map
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8417 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8418 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8419 $as_echo_n "(cached) " >&6
8420 else
8421 ac_wine_try_cflags_saved=$CFLAGS
8422 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8425 int main(int argc, char **argv) { return 0; }
8426 _ACEOF
8427 if ac_fn_c_try_link "$LINENO"; then :
8428 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8429 else
8430 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8432 rm -f core conftest.err conftest.$ac_objext \
8433 conftest$ac_exeext conftest.$ac_ext
8434 CFLAGS=$ac_wine_try_cflags_saved
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8437 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8438 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8439 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8441 rm -f conftest.map
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8444 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8445 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8446 $as_echo_n "(cached) " >&6
8447 else
8448 ac_wine_try_cflags_saved=$CFLAGS
8449 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8451 /* end confdefs.h. */
8452 int main(int argc, char **argv) { return 0; }
8453 _ACEOF
8454 if ac_fn_c_try_link "$LINENO"; then :
8455 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8456 else
8457 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8459 rm -f core conftest.err conftest.$ac_objext \
8460 conftest$ac_exeext conftest.$ac_ext
8461 CFLAGS=$ac_wine_try_cflags_saved
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8464 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8465 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8466 LDEXECFLAGS="-Wl,--export-dynamic"
8469 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8471 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8472 if eval \${$as_ac_var+:} false; then :
8473 $as_echo_n "(cached) " >&6
8474 else
8475 ac_wine_try_cflags_saved=$CFLAGS
8476 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8479 int main(int argc, char **argv) { return 0; }
8480 _ACEOF
8481 if ac_fn_c_try_link "$LINENO"; then :
8482 eval "$as_ac_var=yes"
8483 else
8484 eval "$as_ac_var=no"
8486 rm -f core conftest.err conftest.$ac_objext \
8487 conftest$ac_exeext conftest.$ac_ext
8488 CFLAGS=$ac_wine_try_cflags_saved
8490 eval ac_res=\$$as_ac_var
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8492 $as_echo "$ac_res" >&6; }
8493 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8494 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8495 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8496 else
8497 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8499 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8500 if eval \${$as_ac_var+:} false; then :
8501 $as_echo_n "(cached) " >&6
8502 else
8503 ac_wine_try_cflags_saved=$CFLAGS
8504 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8507 int main(int argc, char **argv) { return 0; }
8508 _ACEOF
8509 if ac_fn_c_try_link "$LINENO"; then :
8510 eval "$as_ac_var=yes"
8511 else
8512 eval "$as_ac_var=no"
8514 rm -f core conftest.err conftest.$ac_objext \
8515 conftest$ac_exeext conftest.$ac_ext
8516 CFLAGS=$ac_wine_try_cflags_saved
8518 eval ac_res=\$$as_ac_var
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8520 $as_echo "$ac_res" >&6; }
8521 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8522 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8523 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8528 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8529 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8530 $as_echo_n "(cached) " >&6
8531 else
8532 ac_wine_try_cflags_saved=$CFLAGS
8533 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8536 int main(int argc, char **argv) { return 0; }
8537 _ACEOF
8538 if ac_fn_c_try_link "$LINENO"; then :
8539 ac_cv_cflags__Wl___enable_new_dtags=yes
8540 else
8541 ac_cv_cflags__Wl___enable_new_dtags=no
8543 rm -f core conftest.err conftest.$ac_objext \
8544 conftest$ac_exeext conftest.$ac_ext
8545 CFLAGS=$ac_wine_try_cflags_saved
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8548 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8549 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8550 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8553 case $host_cpu in
8554 *i[3456789]86* | x86_64)
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8556 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8557 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8558 $as_echo_n "(cached) " >&6
8559 else
8560 ac_wine_try_cflags_saved=$CFLAGS
8561 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8563 /* end confdefs.h. */
8564 int main(int argc, char **argv) { return 0; }
8565 _ACEOF
8566 if ac_fn_c_try_link "$LINENO"; then :
8567 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8568 else
8569 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8571 rm -f core conftest.err conftest.$ac_objext \
8572 conftest$ac_exeext conftest.$ac_ext
8573 CFLAGS=$ac_wine_try_cflags_saved
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8576 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8577 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8578 case $host_os in
8579 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8580 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8581 esac
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8585 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8586 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8587 $as_echo_n "(cached) " >&6
8588 else
8589 ac_wine_try_cflags_saved=$CFLAGS
8590 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8593 int main(int argc, char **argv) { return 0; }
8594 _ACEOF
8595 if ac_fn_c_try_link "$LINENO"; then :
8596 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8597 else
8598 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8600 rm -f core conftest.err conftest.$ac_objext \
8601 conftest$ac_exeext conftest.$ac_ext
8602 CFLAGS=$ac_wine_try_cflags_saved
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8605 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8606 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8608 else
8609 # Extract the first word of "prelink", so it can be a program name with args.
8610 set dummy prelink; ac_word=$2
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8612 $as_echo_n "checking for $ac_word... " >&6; }
8613 if ${ac_cv_path_PRELINK+:} false; then :
8614 $as_echo_n "(cached) " >&6
8615 else
8616 case $PRELINK in
8617 [\\/]* | ?:[\\/]*)
8618 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8622 for as_dir in /sbin /usr/sbin $PATH
8624 IFS=$as_save_IFS
8625 test -z "$as_dir" && as_dir=.
8626 for ac_exec_ext in '' $ac_executable_extensions; do
8627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8628 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8630 break 2
8632 done
8633 done
8634 IFS=$as_save_IFS
8636 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8638 esac
8640 PRELINK=$ac_cv_path_PRELINK
8641 if test -n "$PRELINK"; then
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8643 $as_echo "$PRELINK" >&6; }
8644 else
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8646 $as_echo "no" >&6; }
8650 if test "x$PRELINK" = xfalse
8651 then
8652 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8656 esac
8658 else
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8660 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8661 if ${ac_cv_c_dll_unixware+:} false; then :
8662 $as_echo_n "(cached) " >&6
8663 else
8664 ac_wine_try_cflags_saved=$CFLAGS
8665 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8667 /* end confdefs.h. */
8668 void myfunc() {}
8669 _ACEOF
8670 if ac_fn_c_try_link "$LINENO"; then :
8671 ac_cv_c_dll_unixware="yes"
8672 else
8673 ac_cv_c_dll_unixware="no"
8675 rm -f core conftest.err conftest.$ac_objext \
8676 conftest$ac_exeext conftest.$ac_ext
8677 CFLAGS=$ac_wine_try_cflags_saved
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8680 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8681 if test "$ac_cv_c_dll_unixware" = "yes"
8682 then
8683 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8686 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8688 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8690 LIBWINE_INSTALL_DEV="libwine.so"
8692 LIBWINE_DEPENDS="wine.map"
8695 esac
8697 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8698 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8699 enable_winemac_drv=${enable_winemac_drv:-no}
8700 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8702 CROSSTARGET=""
8704 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8705 then
8706 case "$host_cpu" in
8707 arm*)
8708 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8709 i[3456789]86*)
8710 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
8711 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8712 mingw32-gcc" ;;
8713 x86_64)
8714 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
8715 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8717 ac_prefix_list="" ;;
8718 esac
8719 for ac_prog in $ac_prefix_list
8721 # Extract the first word of "$ac_prog", so it can be a program name with args.
8722 set dummy $ac_prog; ac_word=$2
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8724 $as_echo_n "checking for $ac_word... " >&6; }
8725 if ${ac_cv_prog_CROSSCC+:} false; then :
8726 $as_echo_n "(cached) " >&6
8727 else
8728 if test -n "$CROSSCC"; then
8729 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8730 else
8731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8732 for as_dir in $PATH
8734 IFS=$as_save_IFS
8735 test -z "$as_dir" && as_dir=.
8736 for ac_exec_ext in '' $ac_executable_extensions; do
8737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8738 ac_cv_prog_CROSSCC="$ac_prog"
8739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8740 break 2
8742 done
8743 done
8744 IFS=$as_save_IFS
8748 CROSSCC=$ac_cv_prog_CROSSCC
8749 if test -n "$CROSSCC"; then
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8751 $as_echo "$CROSSCC" >&6; }
8752 else
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8754 $as_echo "no" >&6; }
8758 test -n "$CROSSCC" && break
8759 done
8760 test -n "$CROSSCC" || CROSSCC="false"
8762 if test "$CROSSCC" != "false"
8763 then
8764 ac_save_CC="$CC"
8765 CC="$CROSSCC"
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8767 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8769 /* end confdefs.h. */
8772 main ()
8776 return 0;
8778 _ACEOF
8779 if ac_fn_c_try_compile "$LINENO"; then :
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8781 $as_echo "yes" >&6; }
8782 set x $CROSSCC
8783 shift
8784 while test $# -ge 1
8786 case "$1" in
8787 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8788 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8789 esac
8790 shift
8791 done
8792 else
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8794 $as_echo "no" >&6; }
8796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8797 CC="$ac_save_CC"
8802 if test "$ac_cv_header_pthread_h" = "yes"
8803 then
8804 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8805 if test "x$ac_cv_func_pthread_create" = xyes; then :
8807 else
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8809 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8810 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8811 $as_echo_n "(cached) " >&6
8812 else
8813 ac_check_lib_save_LIBS=$LIBS
8814 LIBS="-lpthread $LIBS"
8815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8816 /* end confdefs.h. */
8818 /* Override any GCC internal prototype to avoid an error.
8819 Use char because int might match the return type of a GCC
8820 builtin and then its argument prototype would still apply. */
8821 #ifdef __cplusplus
8822 extern "C"
8823 #endif
8824 char pthread_create ();
8826 main ()
8828 return pthread_create ();
8830 return 0;
8832 _ACEOF
8833 if ac_fn_c_try_link "$LINENO"; then :
8834 ac_cv_lib_pthread_pthread_create=yes
8835 else
8836 ac_cv_lib_pthread_pthread_create=no
8838 rm -f core conftest.err conftest.$ac_objext \
8839 conftest$ac_exeext conftest.$ac_ext
8840 LIBS=$ac_check_lib_save_LIBS
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8843 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8844 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8845 PTHREAD_LIBS="-lpthread"
8852 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8853 case "x$with_pthread" in
8854 xno) ;;
8855 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8856 Wine cannot support threads without libpthread.
8857 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8858 esac
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8863 $as_echo_n "checking for X... " >&6; }
8866 # Check whether --with-x was given.
8867 if test "${with_x+set}" = set; then :
8868 withval=$with_x;
8871 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8872 if test "x$with_x" = xno; then
8873 # The user explicitly disabled X.
8874 have_x=disabled
8875 else
8876 case $x_includes,$x_libraries in #(
8877 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8878 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8879 $as_echo_n "(cached) " >&6
8880 else
8881 # One or both of the vars are not set, and there is no cached value.
8882 ac_x_includes=no ac_x_libraries=no
8883 rm -f -r conftest.dir
8884 if mkdir conftest.dir; then
8885 cd conftest.dir
8886 cat >Imakefile <<'_ACEOF'
8887 incroot:
8888 @echo incroot='${INCROOT}'
8889 usrlibdir:
8890 @echo usrlibdir='${USRLIBDIR}'
8891 libdir:
8892 @echo libdir='${LIBDIR}'
8893 _ACEOF
8894 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8895 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8896 for ac_var in incroot usrlibdir libdir; do
8897 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8898 done
8899 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8900 for ac_extension in a so sl dylib la dll; do
8901 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8902 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8903 ac_im_usrlibdir=$ac_im_libdir; break
8905 done
8906 # Screen out bogus values from the imake configuration. They are
8907 # bogus both because they are the default anyway, and because
8908 # using them would break gcc on systems where it needs fixed includes.
8909 case $ac_im_incroot in
8910 /usr/include) ac_x_includes= ;;
8911 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8912 esac
8913 case $ac_im_usrlibdir in
8914 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8915 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8916 esac
8918 cd ..
8919 rm -f -r conftest.dir
8922 # Standard set of common directories for X headers.
8923 # Check X11 before X11Rn because it is often a symlink to the current release.
8924 ac_x_header_dirs='
8925 /usr/X11/include
8926 /usr/X11R7/include
8927 /usr/X11R6/include
8928 /usr/X11R5/include
8929 /usr/X11R4/include
8931 /usr/include/X11
8932 /usr/include/X11R7
8933 /usr/include/X11R6
8934 /usr/include/X11R5
8935 /usr/include/X11R4
8937 /usr/local/X11/include
8938 /usr/local/X11R7/include
8939 /usr/local/X11R6/include
8940 /usr/local/X11R5/include
8941 /usr/local/X11R4/include
8943 /usr/local/include/X11
8944 /usr/local/include/X11R7
8945 /usr/local/include/X11R6
8946 /usr/local/include/X11R5
8947 /usr/local/include/X11R4
8949 /usr/X386/include
8950 /usr/x386/include
8951 /usr/XFree86/include/X11
8953 /usr/include
8954 /usr/local/include
8955 /usr/unsupported/include
8956 /usr/athena/include
8957 /usr/local/x11r5/include
8958 /usr/lpp/Xamples/include
8960 /usr/openwin/include
8961 /usr/openwin/share/include'
8963 if test "$ac_x_includes" = no; then
8964 # Guess where to find include files, by looking for Xlib.h.
8965 # First, try using that file with no special directory specified.
8966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8967 /* end confdefs.h. */
8968 #include <X11/Xlib.h>
8969 _ACEOF
8970 if ac_fn_c_try_cpp "$LINENO"; then :
8971 # We can compile using X headers with no special include directory.
8972 ac_x_includes=
8973 else
8974 for ac_dir in $ac_x_header_dirs; do
8975 if test -r "$ac_dir/X11/Xlib.h"; then
8976 ac_x_includes=$ac_dir
8977 break
8979 done
8981 rm -f conftest.err conftest.i conftest.$ac_ext
8982 fi # $ac_x_includes = no
8984 if test "$ac_x_libraries" = no; then
8985 # Check for the libraries.
8986 # See if we find them without any special options.
8987 # Don't add to $LIBS permanently.
8988 ac_save_LIBS=$LIBS
8989 LIBS="-lX11 $LIBS"
8990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8991 /* end confdefs.h. */
8992 #include <X11/Xlib.h>
8994 main ()
8996 XrmInitialize ()
8998 return 0;
9000 _ACEOF
9001 if ac_fn_c_try_link "$LINENO"; then :
9002 LIBS=$ac_save_LIBS
9003 # We can link X programs with no special library path.
9004 ac_x_libraries=
9005 else
9006 LIBS=$ac_save_LIBS
9007 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9009 # Don't even attempt the hair of trying to link an X program!
9010 for ac_extension in a so sl dylib la dll; do
9011 if test -r "$ac_dir/libX11.$ac_extension"; then
9012 ac_x_libraries=$ac_dir
9013 break 2
9015 done
9016 done
9018 rm -f core conftest.err conftest.$ac_objext \
9019 conftest$ac_exeext conftest.$ac_ext
9020 fi # $ac_x_libraries = no
9022 case $ac_x_includes,$ac_x_libraries in #(
9023 no,* | *,no | *\'*)
9024 # Didn't find X, or a directory has "'" in its name.
9025 ac_cv_have_x="have_x=no";; #(
9027 # Record where we found X for the cache.
9028 ac_cv_have_x="have_x=yes\
9029 ac_x_includes='$ac_x_includes'\
9030 ac_x_libraries='$ac_x_libraries'"
9031 esac
9033 ;; #(
9034 *) have_x=yes;;
9035 esac
9036 eval "$ac_cv_have_x"
9037 fi # $with_x != no
9039 if test "$have_x" != yes; then
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9041 $as_echo "$have_x" >&6; }
9042 no_x=yes
9043 else
9044 # If each of the values was on the command line, it overrides each guess.
9045 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9046 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9047 # Update the cache value to reflect the command line values.
9048 ac_cv_have_x="have_x=yes\
9049 ac_x_includes='$x_includes'\
9050 ac_x_libraries='$x_libraries'"
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9052 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9055 if test "$no_x" = yes; then
9056 # Not all programs may use this symbol, but it does not hurt to define it.
9058 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9060 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9061 else
9062 if test -n "$x_includes"; then
9063 X_CFLAGS="$X_CFLAGS -I$x_includes"
9066 # It would also be nice to do this for all -L options, not just this one.
9067 if test -n "$x_libraries"; then
9068 X_LIBS="$X_LIBS -L$x_libraries"
9069 # For Solaris; some versions of Sun CC require a space after -R and
9070 # others require no space. Words are not sufficient . . . .
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9072 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9073 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9074 ac_xsave_c_werror_flag=$ac_c_werror_flag
9075 ac_c_werror_flag=yes
9076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9077 /* end confdefs.h. */
9080 main ()
9084 return 0;
9086 _ACEOF
9087 if ac_fn_c_try_link "$LINENO"; then :
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9089 $as_echo "no" >&6; }
9090 X_LIBS="$X_LIBS -R$x_libraries"
9091 else
9092 LIBS="$ac_xsave_LIBS -R $x_libraries"
9093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9094 /* end confdefs.h. */
9097 main ()
9101 return 0;
9103 _ACEOF
9104 if ac_fn_c_try_link "$LINENO"; then :
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9106 $as_echo "yes" >&6; }
9107 X_LIBS="$X_LIBS -R $x_libraries"
9108 else
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9110 $as_echo "neither works" >&6; }
9112 rm -f core conftest.err conftest.$ac_objext \
9113 conftest$ac_exeext conftest.$ac_ext
9115 rm -f core conftest.err conftest.$ac_objext \
9116 conftest$ac_exeext conftest.$ac_ext
9117 ac_c_werror_flag=$ac_xsave_c_werror_flag
9118 LIBS=$ac_xsave_LIBS
9121 # Check for system-dependent libraries X programs must link with.
9122 # Do this before checking for the system-independent R6 libraries
9123 # (-lICE), since we may need -lsocket or whatever for X linking.
9125 if test "$ISC" = yes; then
9126 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9127 else
9128 # Martyn Johnson says this is needed for Ultrix, if the X
9129 # libraries were built with DECnet support. And Karl Berry says
9130 # the Alpha needs dnet_stub (dnet does not exist).
9131 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9135 /* Override any GCC internal prototype to avoid an error.
9136 Use char because int might match the return type of a GCC
9137 builtin and then its argument prototype would still apply. */
9138 #ifdef __cplusplus
9139 extern "C"
9140 #endif
9141 char XOpenDisplay ();
9143 main ()
9145 return XOpenDisplay ();
9147 return 0;
9149 _ACEOF
9150 if ac_fn_c_try_link "$LINENO"; then :
9152 else
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9154 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9155 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9156 $as_echo_n "(cached) " >&6
9157 else
9158 ac_check_lib_save_LIBS=$LIBS
9159 LIBS="-ldnet $LIBS"
9160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9163 /* Override any GCC internal prototype to avoid an error.
9164 Use char because int might match the return type of a GCC
9165 builtin and then its argument prototype would still apply. */
9166 #ifdef __cplusplus
9167 extern "C"
9168 #endif
9169 char dnet_ntoa ();
9171 main ()
9173 return dnet_ntoa ();
9175 return 0;
9177 _ACEOF
9178 if ac_fn_c_try_link "$LINENO"; then :
9179 ac_cv_lib_dnet_dnet_ntoa=yes
9180 else
9181 ac_cv_lib_dnet_dnet_ntoa=no
9183 rm -f core conftest.err conftest.$ac_objext \
9184 conftest$ac_exeext conftest.$ac_ext
9185 LIBS=$ac_check_lib_save_LIBS
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9188 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9189 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9190 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9193 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9195 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9196 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9197 $as_echo_n "(cached) " >&6
9198 else
9199 ac_check_lib_save_LIBS=$LIBS
9200 LIBS="-ldnet_stub $LIBS"
9201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9202 /* end confdefs.h. */
9204 /* Override any GCC internal prototype to avoid an error.
9205 Use char because int might match the return type of a GCC
9206 builtin and then its argument prototype would still apply. */
9207 #ifdef __cplusplus
9208 extern "C"
9209 #endif
9210 char dnet_ntoa ();
9212 main ()
9214 return dnet_ntoa ();
9216 return 0;
9218 _ACEOF
9219 if ac_fn_c_try_link "$LINENO"; then :
9220 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9221 else
9222 ac_cv_lib_dnet_stub_dnet_ntoa=no
9224 rm -f core conftest.err conftest.$ac_objext \
9225 conftest$ac_exeext conftest.$ac_ext
9226 LIBS=$ac_check_lib_save_LIBS
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9229 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9230 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9231 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9236 rm -f core conftest.err conftest.$ac_objext \
9237 conftest$ac_exeext conftest.$ac_ext
9238 LIBS="$ac_xsave_LIBS"
9240 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9241 # to get the SysV transport functions.
9242 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9243 # needs -lnsl.
9244 # The nsl library prevents programs from opening the X display
9245 # on Irix 5.2, according to T.E. Dickey.
9246 # The functions gethostbyname, getservbyname, and inet_addr are
9247 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9248 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9249 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9253 if test $ac_cv_func_gethostbyname = no; then
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9255 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9256 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9257 $as_echo_n "(cached) " >&6
9258 else
9259 ac_check_lib_save_LIBS=$LIBS
9260 LIBS="-lnsl $LIBS"
9261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9262 /* end confdefs.h. */
9264 /* Override any GCC internal prototype to avoid an error.
9265 Use char because int might match the return type of a GCC
9266 builtin and then its argument prototype would still apply. */
9267 #ifdef __cplusplus
9268 extern "C"
9269 #endif
9270 char gethostbyname ();
9272 main ()
9274 return gethostbyname ();
9276 return 0;
9278 _ACEOF
9279 if ac_fn_c_try_link "$LINENO"; then :
9280 ac_cv_lib_nsl_gethostbyname=yes
9281 else
9282 ac_cv_lib_nsl_gethostbyname=no
9284 rm -f core conftest.err conftest.$ac_objext \
9285 conftest$ac_exeext conftest.$ac_ext
9286 LIBS=$ac_check_lib_save_LIBS
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9289 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9290 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9291 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9294 if test $ac_cv_lib_nsl_gethostbyname = no; then
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9296 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9297 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9298 $as_echo_n "(cached) " >&6
9299 else
9300 ac_check_lib_save_LIBS=$LIBS
9301 LIBS="-lbsd $LIBS"
9302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9303 /* end confdefs.h. */
9305 /* Override any GCC internal prototype to avoid an error.
9306 Use char because int might match the return type of a GCC
9307 builtin and then its argument prototype would still apply. */
9308 #ifdef __cplusplus
9309 extern "C"
9310 #endif
9311 char gethostbyname ();
9313 main ()
9315 return gethostbyname ();
9317 return 0;
9319 _ACEOF
9320 if ac_fn_c_try_link "$LINENO"; then :
9321 ac_cv_lib_bsd_gethostbyname=yes
9322 else
9323 ac_cv_lib_bsd_gethostbyname=no
9325 rm -f core conftest.err conftest.$ac_objext \
9326 conftest$ac_exeext conftest.$ac_ext
9327 LIBS=$ac_check_lib_save_LIBS
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9330 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9331 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9332 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9338 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9339 # socket/setsockopt and other routines are undefined under SCO ODT
9340 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9341 # on later versions), says Simon Leinen: it contains gethostby*
9342 # variants that don't use the name server (or something). -lsocket
9343 # must be given before -lnsl if both are needed. We assume that
9344 # if connect needs -lnsl, so does gethostbyname.
9345 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9346 if test "x$ac_cv_func_connect" = xyes; then :
9350 if test $ac_cv_func_connect = no; then
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9352 $as_echo_n "checking for connect in -lsocket... " >&6; }
9353 if ${ac_cv_lib_socket_connect+:} false; then :
9354 $as_echo_n "(cached) " >&6
9355 else
9356 ac_check_lib_save_LIBS=$LIBS
9357 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9359 /* end confdefs.h. */
9361 /* Override any GCC internal prototype to avoid an error.
9362 Use char because int might match the return type of a GCC
9363 builtin and then its argument prototype would still apply. */
9364 #ifdef __cplusplus
9365 extern "C"
9366 #endif
9367 char connect ();
9369 main ()
9371 return connect ();
9373 return 0;
9375 _ACEOF
9376 if ac_fn_c_try_link "$LINENO"; then :
9377 ac_cv_lib_socket_connect=yes
9378 else
9379 ac_cv_lib_socket_connect=no
9381 rm -f core conftest.err conftest.$ac_objext \
9382 conftest$ac_exeext conftest.$ac_ext
9383 LIBS=$ac_check_lib_save_LIBS
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9386 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9387 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9388 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9393 # Guillermo Gomez says -lposix is necessary on A/UX.
9394 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9395 if test "x$ac_cv_func_remove" = xyes; then :
9399 if test $ac_cv_func_remove = no; then
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9401 $as_echo_n "checking for remove in -lposix... " >&6; }
9402 if ${ac_cv_lib_posix_remove+:} false; then :
9403 $as_echo_n "(cached) " >&6
9404 else
9405 ac_check_lib_save_LIBS=$LIBS
9406 LIBS="-lposix $LIBS"
9407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9408 /* end confdefs.h. */
9410 /* Override any GCC internal prototype to avoid an error.
9411 Use char because int might match the return type of a GCC
9412 builtin and then its argument prototype would still apply. */
9413 #ifdef __cplusplus
9414 extern "C"
9415 #endif
9416 char remove ();
9418 main ()
9420 return remove ();
9422 return 0;
9424 _ACEOF
9425 if ac_fn_c_try_link "$LINENO"; then :
9426 ac_cv_lib_posix_remove=yes
9427 else
9428 ac_cv_lib_posix_remove=no
9430 rm -f core conftest.err conftest.$ac_objext \
9431 conftest$ac_exeext conftest.$ac_ext
9432 LIBS=$ac_check_lib_save_LIBS
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9435 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9436 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9437 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9442 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9443 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9444 if test "x$ac_cv_func_shmat" = xyes; then :
9448 if test $ac_cv_func_shmat = no; then
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9450 $as_echo_n "checking for shmat in -lipc... " >&6; }
9451 if ${ac_cv_lib_ipc_shmat+:} false; then :
9452 $as_echo_n "(cached) " >&6
9453 else
9454 ac_check_lib_save_LIBS=$LIBS
9455 LIBS="-lipc $LIBS"
9456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457 /* end confdefs.h. */
9459 /* Override any GCC internal prototype to avoid an error.
9460 Use char because int might match the return type of a GCC
9461 builtin and then its argument prototype would still apply. */
9462 #ifdef __cplusplus
9463 extern "C"
9464 #endif
9465 char shmat ();
9467 main ()
9469 return shmat ();
9471 return 0;
9473 _ACEOF
9474 if ac_fn_c_try_link "$LINENO"; then :
9475 ac_cv_lib_ipc_shmat=yes
9476 else
9477 ac_cv_lib_ipc_shmat=no
9479 rm -f core conftest.err conftest.$ac_objext \
9480 conftest$ac_exeext conftest.$ac_ext
9481 LIBS=$ac_check_lib_save_LIBS
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9484 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9485 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9486 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9492 # Check for libraries that X11R6 Xt/Xaw programs need.
9493 ac_save_LDFLAGS=$LDFLAGS
9494 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9495 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9496 # check for ICE first), but we must link in the order -lSM -lICE or
9497 # we get undefined symbols. So assume we have SM if we have ICE.
9498 # These have to be linked with before -lX11, unlike the other
9499 # libraries we check for below, so use a different variable.
9500 # John Interrante, Karl Berry
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9502 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9503 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9504 $as_echo_n "(cached) " >&6
9505 else
9506 ac_check_lib_save_LIBS=$LIBS
9507 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9509 /* end confdefs.h. */
9511 /* Override any GCC internal prototype to avoid an error.
9512 Use char because int might match the return type of a GCC
9513 builtin and then its argument prototype would still apply. */
9514 #ifdef __cplusplus
9515 extern "C"
9516 #endif
9517 char IceConnectionNumber ();
9519 main ()
9521 return IceConnectionNumber ();
9523 return 0;
9525 _ACEOF
9526 if ac_fn_c_try_link "$LINENO"; then :
9527 ac_cv_lib_ICE_IceConnectionNumber=yes
9528 else
9529 ac_cv_lib_ICE_IceConnectionNumber=no
9531 rm -f core conftest.err conftest.$ac_objext \
9532 conftest$ac_exeext conftest.$ac_ext
9533 LIBS=$ac_check_lib_save_LIBS
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9536 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9537 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9538 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9541 LDFLAGS=$ac_save_LDFLAGS
9546 if test "$have_x" = "yes"
9547 then
9548 ac_save_CPPFLAGS="$CPPFLAGS"
9549 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9552 $as_echo_n "checking for -lX11... " >&6; }
9553 if ${ac_cv_lib_soname_X11+:} false; then :
9554 $as_echo_n "(cached) " >&6
9555 else
9556 ac_check_soname_save_LIBS=$LIBS
9557 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9559 /* end confdefs.h. */
9561 /* Override any GCC internal prototype to avoid an error.
9562 Use char because int might match the return type of a GCC
9563 builtin and then its argument prototype would still apply. */
9564 #ifdef __cplusplus
9565 extern "C"
9566 #endif
9567 char XCreateWindow ();
9569 main ()
9571 return XCreateWindow ();
9573 return 0;
9575 _ACEOF
9576 if ac_fn_c_try_link "$LINENO"; then :
9577 case "$LIBEXT" in
9578 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9579 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'` ;;
9580 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9581 if ${ac_cv_lib_soname_X11:+false} :; then :
9582 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9583 fi ;;
9584 esac
9586 rm -f core conftest.err conftest.$ac_objext \
9587 conftest$ac_exeext conftest.$ac_ext
9588 LIBS=$ac_check_soname_save_LIBS
9590 if ${ac_cv_lib_soname_X11:+false} :; then :
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9592 $as_echo "not found" >&6; }
9594 else
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9596 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9598 cat >>confdefs.h <<_ACEOF
9599 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9600 _ACEOF
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9605 $as_echo_n "checking for -lXext... " >&6; }
9606 if ${ac_cv_lib_soname_Xext+:} false; then :
9607 $as_echo_n "(cached) " >&6
9608 else
9609 ac_check_soname_save_LIBS=$LIBS
9610 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9612 /* end confdefs.h. */
9614 /* Override any GCC internal prototype to avoid an error.
9615 Use char because int might match the return type of a GCC
9616 builtin and then its argument prototype would still apply. */
9617 #ifdef __cplusplus
9618 extern "C"
9619 #endif
9620 char XextCreateExtension ();
9622 main ()
9624 return XextCreateExtension ();
9626 return 0;
9628 _ACEOF
9629 if ac_fn_c_try_link "$LINENO"; then :
9630 case "$LIBEXT" in
9631 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9632 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'` ;;
9633 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9634 if ${ac_cv_lib_soname_Xext:+false} :; then :
9635 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9636 fi ;;
9637 esac
9639 rm -f core conftest.err conftest.$ac_objext \
9640 conftest$ac_exeext conftest.$ac_ext
9641 LIBS=$ac_check_soname_save_LIBS
9643 if ${ac_cv_lib_soname_Xext:+false} :; then :
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9645 $as_echo "not found" >&6; }
9647 else
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9649 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9651 cat >>confdefs.h <<_ACEOF
9652 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9653 _ACEOF
9655 X_LIBS="$X_LIBS -lXext"
9657 X_LIBS="$X_LIBS -lX11"
9659 for ac_header in X11/Xlib.h \
9660 X11/XKBlib.h \
9661 X11/Xutil.h \
9662 X11/Xcursor/Xcursor.h \
9663 X11/extensions/shape.h \
9664 X11/extensions/XInput.h \
9665 X11/extensions/XInput2.h \
9666 X11/extensions/XShm.h \
9667 X11/extensions/Xcomposite.h \
9668 X11/extensions/Xinerama.h \
9669 X11/extensions/Xrandr.h \
9670 X11/extensions/Xrender.h \
9671 X11/extensions/xf86vmode.h \
9672 X11/extensions/xf86vmproto.h
9673 do :
9674 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9675 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9676 # include <X11/Xlib.h>
9677 #endif
9678 #ifdef HAVE_X11_XUTIL_H
9679 # include <X11/Xutil.h>
9680 #endif
9682 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9683 cat >>confdefs.h <<_ACEOF
9684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9685 _ACEOF
9689 done
9692 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9693 then
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9695 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9696 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9697 $as_echo_n "(cached) " >&6
9698 else
9699 ac_check_lib_save_LIBS=$LIBS
9700 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9702 /* end confdefs.h. */
9704 /* Override any GCC internal prototype to avoid an error.
9705 Use char because int might match the return type of a GCC
9706 builtin and then its argument prototype would still apply. */
9707 #ifdef __cplusplus
9708 extern "C"
9709 #endif
9710 char XkbQueryExtension ();
9712 main ()
9714 return XkbQueryExtension ();
9716 return 0;
9718 _ACEOF
9719 if ac_fn_c_try_link "$LINENO"; then :
9720 ac_cv_lib_X11_XkbQueryExtension=yes
9721 else
9722 ac_cv_lib_X11_XkbQueryExtension=no
9724 rm -f core conftest.err conftest.$ac_objext \
9725 conftest$ac_exeext conftest.$ac_ext
9726 LIBS=$ac_check_lib_save_LIBS
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9729 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9730 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9732 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9738 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9739 then
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9741 $as_echo_n "checking for -lXcursor... " >&6; }
9742 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9743 $as_echo_n "(cached) " >&6
9744 else
9745 ac_check_soname_save_LIBS=$LIBS
9746 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9748 /* end confdefs.h. */
9750 /* Override any GCC internal prototype to avoid an error.
9751 Use char because int might match the return type of a GCC
9752 builtin and then its argument prototype would still apply. */
9753 #ifdef __cplusplus
9754 extern "C"
9755 #endif
9756 char XcursorImageLoadCursor ();
9758 main ()
9760 return XcursorImageLoadCursor ();
9762 return 0;
9764 _ACEOF
9765 if ac_fn_c_try_link "$LINENO"; then :
9766 case "$LIBEXT" in
9767 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9768 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'` ;;
9769 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9770 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9771 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9772 fi ;;
9773 esac
9775 rm -f core conftest.err conftest.$ac_objext \
9776 conftest$ac_exeext conftest.$ac_ext
9777 LIBS=$ac_check_soname_save_LIBS
9779 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9781 $as_echo "not found" >&6; }
9783 else
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9785 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9787 cat >>confdefs.h <<_ACEOF
9788 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9789 _ACEOF
9794 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9795 case "x$with_xcursor" in
9796 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9797 xno) ;;
9798 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9799 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9800 esac
9803 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9804 then
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9806 $as_echo_n "checking for -lXi... " >&6; }
9807 if ${ac_cv_lib_soname_Xi+:} false; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 ac_check_soname_save_LIBS=$LIBS
9811 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9815 /* Override any GCC internal prototype to avoid an error.
9816 Use char because int might match the return type of a GCC
9817 builtin and then its argument prototype would still apply. */
9818 #ifdef __cplusplus
9819 extern "C"
9820 #endif
9821 char XOpenDevice ();
9823 main ()
9825 return XOpenDevice ();
9827 return 0;
9829 _ACEOF
9830 if ac_fn_c_try_link "$LINENO"; then :
9831 case "$LIBEXT" in
9832 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9833 dylib) ac_cv_lib_soname_Xi=`$OTOOL -L conftest$ac_exeext | grep "libXi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9834 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9835 if ${ac_cv_lib_soname_Xi:+false} :; then :
9836 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9837 fi ;;
9838 esac
9840 rm -f core conftest.err conftest.$ac_objext \
9841 conftest$ac_exeext conftest.$ac_ext
9842 LIBS=$ac_check_soname_save_LIBS
9844 if ${ac_cv_lib_soname_Xi:+false} :; then :
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9846 $as_echo "not found" >&6; }
9848 else
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9850 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9852 cat >>confdefs.h <<_ACEOF
9853 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9854 _ACEOF
9859 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9860 case "x$with_xinput" in
9861 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9862 xno) ;;
9863 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9864 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9865 esac
9868 if test "x$ac_cv_lib_soname_Xi" != x
9869 then
9870 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9871 case "x$with_xinput2" in
9872 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9873 xno) ;;
9874 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9875 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9876 esac
9880 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9881 then
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9883 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9884 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9885 $as_echo_n "(cached) " >&6
9886 else
9887 ac_check_lib_save_LIBS=$LIBS
9888 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9890 /* end confdefs.h. */
9892 /* Override any GCC internal prototype to avoid an error.
9893 Use char because int might match the return type of a GCC
9894 builtin and then its argument prototype would still apply. */
9895 #ifdef __cplusplus
9896 extern "C"
9897 #endif
9898 char XShmQueryExtension ();
9900 main ()
9902 return XShmQueryExtension ();
9904 return 0;
9906 _ACEOF
9907 if ac_fn_c_try_link "$LINENO"; then :
9908 ac_cv_lib_Xext_XShmQueryExtension=yes
9909 else
9910 ac_cv_lib_Xext_XShmQueryExtension=no
9912 rm -f core conftest.err conftest.$ac_objext \
9913 conftest$ac_exeext conftest.$ac_ext
9914 LIBS=$ac_check_lib_save_LIBS
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9917 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9918 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9920 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9925 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9926 case "x$with_xshm" in
9927 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9928 xno) ;;
9929 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9930 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9931 esac
9934 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9935 then
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9937 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9938 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9939 $as_echo_n "(cached) " >&6
9940 else
9941 ac_check_lib_save_LIBS=$LIBS
9942 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9946 /* Override any GCC internal prototype to avoid an error.
9947 Use char because int might match the return type of a GCC
9948 builtin and then its argument prototype would still apply. */
9949 #ifdef __cplusplus
9950 extern "C"
9951 #endif
9952 char XShapeQueryExtension ();
9954 main ()
9956 return XShapeQueryExtension ();
9958 return 0;
9960 _ACEOF
9961 if ac_fn_c_try_link "$LINENO"; then :
9962 ac_cv_lib_Xext_XShapeQueryExtension=yes
9963 else
9964 ac_cv_lib_Xext_XShapeQueryExtension=no
9966 rm -f core conftest.err conftest.$ac_objext \
9967 conftest$ac_exeext conftest.$ac_ext
9968 LIBS=$ac_check_lib_save_LIBS
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9971 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9972 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9974 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9979 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9980 case "x$with_xshape" in
9981 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9982 xno) ;;
9983 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9984 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9985 esac
9988 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9989 then
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9991 $as_echo_n "checking for -lXxf86vm... " >&6; }
9992 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9993 $as_echo_n "(cached) " >&6
9994 else
9995 ac_check_soname_save_LIBS=$LIBS
9996 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
10000 /* Override any GCC internal prototype to avoid an error.
10001 Use char because int might match the return type of a GCC
10002 builtin and then its argument prototype would still apply. */
10003 #ifdef __cplusplus
10004 extern "C"
10005 #endif
10006 char XF86VidModeQueryExtension ();
10008 main ()
10010 return XF86VidModeQueryExtension ();
10012 return 0;
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"; then :
10016 case "$LIBEXT" in
10017 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10018 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'` ;;
10019 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10020 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10021 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10022 fi ;;
10023 esac
10025 rm -f core conftest.err conftest.$ac_objext \
10026 conftest$ac_exeext conftest.$ac_ext
10027 LIBS=$ac_check_soname_save_LIBS
10029 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10031 $as_echo "not found" >&6; }
10033 else
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10035 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10037 cat >>confdefs.h <<_ACEOF
10038 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10039 _ACEOF
10044 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10045 case "x$with_xxf86vm" in
10046 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10047 xno) ;;
10048 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10049 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10050 esac
10053 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10054 then
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10056 $as_echo_n "checking for -lXrender... " >&6; }
10057 if ${ac_cv_lib_soname_Xrender+:} false; then :
10058 $as_echo_n "(cached) " >&6
10059 else
10060 ac_check_soname_save_LIBS=$LIBS
10061 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10065 /* Override any GCC internal prototype to avoid an error.
10066 Use char because int might match the return type of a GCC
10067 builtin and then its argument prototype would still apply. */
10068 #ifdef __cplusplus
10069 extern "C"
10070 #endif
10071 char XRenderQueryExtension ();
10073 main ()
10075 return XRenderQueryExtension ();
10077 return 0;
10079 _ACEOF
10080 if ac_fn_c_try_link "$LINENO"; then :
10081 case "$LIBEXT" in
10082 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10083 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'` ;;
10084 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10085 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10086 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10087 fi ;;
10088 esac
10090 rm -f core conftest.err conftest.$ac_objext \
10091 conftest$ac_exeext conftest.$ac_ext
10092 LIBS=$ac_check_soname_save_LIBS
10094 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10096 $as_echo "not found" >&6; }
10098 else
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10100 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10102 cat >>confdefs.h <<_ACEOF
10103 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10104 _ACEOF
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10107 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10108 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10109 $as_echo_n "(cached) " >&6
10110 else
10111 ac_check_lib_save_LIBS=$LIBS
10112 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10114 /* end confdefs.h. */
10116 /* Override any GCC internal prototype to avoid an error.
10117 Use char because int might match the return type of a GCC
10118 builtin and then its argument prototype would still apply. */
10119 #ifdef __cplusplus
10120 extern "C"
10121 #endif
10122 char XRenderSetPictureTransform ();
10124 main ()
10126 return XRenderSetPictureTransform ();
10128 return 0;
10130 _ACEOF
10131 if ac_fn_c_try_link "$LINENO"; then :
10132 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10133 else
10134 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10136 rm -f core conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 LIBS=$ac_check_lib_save_LIBS
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10141 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10142 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10144 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10149 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10150 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10151 $as_echo_n "(cached) " >&6
10152 else
10153 ac_check_lib_save_LIBS=$LIBS
10154 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10158 /* Override any GCC internal prototype to avoid an error.
10159 Use char because int might match the return type of a GCC
10160 builtin and then its argument prototype would still apply. */
10161 #ifdef __cplusplus
10162 extern "C"
10163 #endif
10164 char XRenderCreateLinearGradient ();
10166 main ()
10168 return XRenderCreateLinearGradient ();
10170 return 0;
10172 _ACEOF
10173 if ac_fn_c_try_link "$LINENO"; then :
10174 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10175 else
10176 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10178 rm -f core conftest.err conftest.$ac_objext \
10179 conftest$ac_exeext conftest.$ac_ext
10180 LIBS=$ac_check_lib_save_LIBS
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10183 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10184 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10186 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10193 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10194 case "x$with_xrender" in
10195 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10196 xno) ;;
10197 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10198 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10199 esac
10202 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10203 then
10204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10206 #include <X11/Xlib.h>
10207 #include <X11/extensions/Xrandr.h>
10209 main ()
10211 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10213 return 0;
10215 _ACEOF
10216 if ac_fn_c_try_compile "$LINENO"; then :
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10218 $as_echo_n "checking for -lXrandr... " >&6; }
10219 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10220 $as_echo_n "(cached) " >&6
10221 else
10222 ac_check_soname_save_LIBS=$LIBS
10223 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10227 /* Override any GCC internal prototype to avoid an error.
10228 Use char because int might match the return type of a GCC
10229 builtin and then its argument prototype would still apply. */
10230 #ifdef __cplusplus
10231 extern "C"
10232 #endif
10233 char XRRQueryExtension ();
10235 main ()
10237 return XRRQueryExtension ();
10239 return 0;
10241 _ACEOF
10242 if ac_fn_c_try_link "$LINENO"; then :
10243 case "$LIBEXT" in
10244 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10245 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'` ;;
10246 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10247 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10248 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10249 fi ;;
10250 esac
10252 rm -f core conftest.err conftest.$ac_objext \
10253 conftest$ac_exeext conftest.$ac_ext
10254 LIBS=$ac_check_soname_save_LIBS
10256 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10258 $as_echo "not found" >&6; }
10260 else
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10262 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10264 cat >>confdefs.h <<_ACEOF
10265 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10266 _ACEOF
10268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10269 /* end confdefs.h. */
10270 #include <X11/Xlib.h>
10271 #include <X11/extensions/Xrandr.h>
10273 main ()
10275 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10277 return 0;
10279 _ACEOF
10280 if ac_fn_c_try_compile "$LINENO"; then :
10282 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10290 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10291 case "x$with_xrandr" in
10292 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10293 xno) ;;
10294 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10295 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10296 esac
10299 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10300 then
10301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10302 /* end confdefs.h. */
10303 #include <X11/Xlib.h>
10304 #include <X11/extensions/Xinerama.h>
10306 main ()
10308 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10310 return 0;
10312 _ACEOF
10313 if ac_fn_c_try_compile "$LINENO"; then :
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10315 $as_echo_n "checking for -lXinerama... " >&6; }
10316 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10317 $as_echo_n "(cached) " >&6
10318 else
10319 ac_check_soname_save_LIBS=$LIBS
10320 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10324 /* Override any GCC internal prototype to avoid an error.
10325 Use char because int might match the return type of a GCC
10326 builtin and then its argument prototype would still apply. */
10327 #ifdef __cplusplus
10328 extern "C"
10329 #endif
10330 char XineramaQueryScreens ();
10332 main ()
10334 return XineramaQueryScreens ();
10336 return 0;
10338 _ACEOF
10339 if ac_fn_c_try_link "$LINENO"; then :
10340 case "$LIBEXT" in
10341 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10342 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'` ;;
10343 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10344 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10345 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10346 fi ;;
10347 esac
10349 rm -f core conftest.err conftest.$ac_objext \
10350 conftest$ac_exeext conftest.$ac_ext
10351 LIBS=$ac_check_soname_save_LIBS
10353 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10355 $as_echo "not found" >&6; }
10357 else
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10359 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10361 cat >>confdefs.h <<_ACEOF
10362 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10363 _ACEOF
10368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10370 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10371 case "x$with_xinerama" in
10372 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10373 xno) ;;
10374 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10375 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10376 esac
10379 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10380 then
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10382 $as_echo_n "checking for -lXcomposite... " >&6; }
10383 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10384 $as_echo_n "(cached) " >&6
10385 else
10386 ac_check_soname_save_LIBS=$LIBS
10387 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10391 /* Override any GCC internal prototype to avoid an error.
10392 Use char because int might match the return type of a GCC
10393 builtin and then its argument prototype would still apply. */
10394 #ifdef __cplusplus
10395 extern "C"
10396 #endif
10397 char XCompositeRedirectWindow ();
10399 main ()
10401 return XCompositeRedirectWindow ();
10403 return 0;
10405 _ACEOF
10406 if ac_fn_c_try_link "$LINENO"; then :
10407 case "$LIBEXT" in
10408 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10409 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'` ;;
10410 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10411 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10412 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10413 fi ;;
10414 esac
10416 rm -f core conftest.err conftest.$ac_objext \
10417 conftest$ac_exeext conftest.$ac_ext
10418 LIBS=$ac_check_soname_save_LIBS
10420 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10422 $as_echo "not found" >&6; }
10424 else
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10426 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10428 cat >>confdefs.h <<_ACEOF
10429 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10430 _ACEOF
10435 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10436 case "x$with_xcomposite" in
10437 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10438 xno) ;;
10439 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10440 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10441 esac
10444 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10445 #include <X11/Xlib.h>
10446 #endif
10448 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10450 cat >>confdefs.h <<_ACEOF
10451 #define HAVE_XICCALLBACK_CALLBACK 1
10452 _ACEOF
10456 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10457 #include <X11/Xlib.h>
10458 #endif
10460 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10462 cat >>confdefs.h <<_ACEOF
10463 #define HAVE_XEVENT_XCOOKIE 1
10464 _ACEOF
10471 opengl_msg=""
10472 if test "x$with_opengl" != "xno"
10473 then
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10475 $as_echo_n "checking for -lGL... " >&6; }
10476 if ${ac_cv_lib_soname_GL+:} false; then :
10477 $as_echo_n "(cached) " >&6
10478 else
10479 ac_check_soname_save_LIBS=$LIBS
10480 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10482 /* end confdefs.h. */
10484 /* Override any GCC internal prototype to avoid an error.
10485 Use char because int might match the return type of a GCC
10486 builtin and then its argument prototype would still apply. */
10487 #ifdef __cplusplus
10488 extern "C"
10489 #endif
10490 char glXCreateContext ();
10492 main ()
10494 return glXCreateContext ();
10496 return 0;
10498 _ACEOF
10499 if ac_fn_c_try_link "$LINENO"; then :
10500 case "$LIBEXT" in
10501 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10502 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'` ;;
10503 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10504 if ${ac_cv_lib_soname_GL:+false} :; then :
10505 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10506 fi ;;
10507 esac
10509 rm -f core conftest.err conftest.$ac_objext \
10510 conftest$ac_exeext conftest.$ac_ext
10511 LIBS=$ac_check_soname_save_LIBS
10513 if ${ac_cv_lib_soname_GL:+false} :; then :
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10515 $as_echo "not found" >&6; }
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10517 $as_echo_n "checking for -lGL... " >&6; }
10518 if ${ac_cv_lib_soname_GL+:} false; then :
10519 $as_echo_n "(cached) " >&6
10520 else
10521 ac_check_soname_save_LIBS=$LIBS
10522 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"
10523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10524 /* end confdefs.h. */
10526 /* Override any GCC internal prototype to avoid an error.
10527 Use char because int might match the return type of a GCC
10528 builtin and then its argument prototype would still apply. */
10529 #ifdef __cplusplus
10530 extern "C"
10531 #endif
10532 char glXCreateContext ();
10534 main ()
10536 return glXCreateContext ();
10538 return 0;
10540 _ACEOF
10541 if ac_fn_c_try_link "$LINENO"; then :
10542 case "$LIBEXT" in
10543 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10544 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'` ;;
10545 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10546 if ${ac_cv_lib_soname_GL:+false} :; then :
10547 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10548 fi ;;
10549 esac
10551 rm -f core conftest.err conftest.$ac_objext \
10552 conftest$ac_exeext conftest.$ac_ext
10553 LIBS=$ac_check_soname_save_LIBS
10555 if ${ac_cv_lib_soname_GL:+false} :; then :
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10557 $as_echo "not found" >&6; }
10558 if test -f /usr/X11R6/lib/libGL.a
10559 then
10560 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10561 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10562 else
10563 opengl_msg="No OpenGL library found on this system."
10565 else
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10567 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10569 cat >>confdefs.h <<_ACEOF
10570 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10571 _ACEOF
10573 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"
10575 else
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10577 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10579 cat >>confdefs.h <<_ACEOF
10580 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10581 _ACEOF
10583 OPENGL_LIBS="-lGL"
10585 if test "x$with_glu" != "xno"
10586 then
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10588 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10589 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10590 $as_echo_n "(cached) " >&6
10591 else
10592 ac_check_lib_save_LIBS=$LIBS
10593 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10595 /* end confdefs.h. */
10597 /* Override any GCC internal prototype to avoid an error.
10598 Use char because int might match the return type of a GCC
10599 builtin and then its argument prototype would still apply. */
10600 #ifdef __cplusplus
10601 extern "C"
10602 #endif
10603 char gluLookAt ();
10605 main ()
10607 return gluLookAt ();
10609 return 0;
10611 _ACEOF
10612 if ac_fn_c_try_link "$LINENO"; then :
10613 ac_cv_lib_GLU_gluLookAt=yes
10614 else
10615 ac_cv_lib_GLU_gluLookAt=no
10617 rm -f core conftest.err conftest.$ac_objext \
10618 conftest$ac_exeext conftest.$ac_ext
10619 LIBS=$ac_check_lib_save_LIBS
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10622 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10623 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10627 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10628 case "x$with_glu" in
10629 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10630 xno) ;;
10631 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10632 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10633 esac
10637 if test "x$with_osmesa" != "xno"
10638 then
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10640 $as_echo_n "checking for -lOSMesa... " >&6; }
10641 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10642 $as_echo_n "(cached) " >&6
10643 else
10644 ac_check_soname_save_LIBS=$LIBS
10645 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10649 /* Override any GCC internal prototype to avoid an error.
10650 Use char because int might match the return type of a GCC
10651 builtin and then its argument prototype would still apply. */
10652 #ifdef __cplusplus
10653 extern "C"
10654 #endif
10655 char glAccum ();
10657 main ()
10659 return glAccum ();
10661 return 0;
10663 _ACEOF
10664 if ac_fn_c_try_link "$LINENO"; then :
10665 case "$LIBEXT" in
10666 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10667 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'` ;;
10668 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10669 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10670 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10671 fi ;;
10672 esac
10674 rm -f core conftest.err conftest.$ac_objext \
10675 conftest$ac_exeext conftest.$ac_ext
10676 LIBS=$ac_check_soname_save_LIBS
10678 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10680 $as_echo "not found" >&6; }
10682 else
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10684 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10686 cat >>confdefs.h <<_ACEOF
10687 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10688 _ACEOF
10692 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10693 case "x$with_osmesa" in
10694 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10695 xno) ;;
10696 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10697 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10698 esac
10702 if test -n "$opengl_msg"; then :
10703 case "x$with_opengl" in
10704 x) as_fn_append wine_warnings "|$opengl_msg
10705 OpenGL and Direct3D won't be supported." ;;
10706 xno) ;;
10707 *) as_fn_error $? "$opengl_msg
10708 OpenGL and Direct3D won't be supported.
10709 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10710 esac
10713 CPPFLAGS="$ac_save_CPPFLAGS"
10714 else
10715 X_CFLAGS=""
10716 X_LIBS=""
10717 enable_winex11_drv=${enable_winex11_drv:-no}
10719 if test "x$X_LIBS" = "x"; then :
10720 case "x$with_x" in
10721 xno) ;;
10722 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10723 without X support, which probably isn't what you want. You will need
10724 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10725 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10726 esac
10729 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10731 if test "$ac_cv_header_CL_cl_h" = "yes"
10732 then
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10734 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10735 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10736 $as_echo_n "(cached) " >&6
10737 else
10738 ac_check_lib_save_LIBS=$LIBS
10739 LIBS="-lOpenCL $LIBS"
10740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10741 /* end confdefs.h. */
10743 /* Override any GCC internal prototype to avoid an error.
10744 Use char because int might match the return type of a GCC
10745 builtin and then its argument prototype would still apply. */
10746 #ifdef __cplusplus
10747 extern "C"
10748 #endif
10749 char clGetPlatformInfo ();
10751 main ()
10753 return clGetPlatformInfo ();
10755 return 0;
10757 _ACEOF
10758 if ac_fn_c_try_link "$LINENO"; then :
10759 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10760 else
10761 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10763 rm -f core conftest.err conftest.$ac_objext \
10764 conftest$ac_exeext conftest.$ac_ext
10765 LIBS=$ac_check_lib_save_LIBS
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10768 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10769 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10770 OPENCL_LIBS="-lOpenCL"
10775 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10776 case "x$with_opencl" in
10777 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10778 xno) ;;
10779 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10780 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10781 esac
10783 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10785 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10786 then
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10788 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10789 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10790 $as_echo_n "(cached) " >&6
10791 else
10792 ac_check_lib_save_LIBS=$LIBS
10793 LIBS="-lpcap $LIBS"
10794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10797 /* Override any GCC internal prototype to avoid an error.
10798 Use char because int might match the return type of a GCC
10799 builtin and then its argument prototype would still apply. */
10800 #ifdef __cplusplus
10801 extern "C"
10802 #endif
10803 char pcap_create ();
10805 main ()
10807 return pcap_create ();
10809 return 0;
10811 _ACEOF
10812 if ac_fn_c_try_link "$LINENO"; then :
10813 ac_cv_lib_pcap_pcap_create=yes
10814 else
10815 ac_cv_lib_pcap_pcap_create=no
10817 rm -f core conftest.err conftest.$ac_objext \
10818 conftest$ac_exeext conftest.$ac_ext
10819 LIBS=$ac_check_lib_save_LIBS
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10822 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10823 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10824 PCAP_LIBS="-lpcap"
10829 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10830 case "x$with_pcap" in
10831 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10832 xno) ;;
10833 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10834 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10835 esac
10837 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10840 if test "x$with_xml" != "xno"
10841 then
10842 if ${XML2_CFLAGS:+false} :; then :
10843 if ${PKG_CONFIG+:} false; then :
10844 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10847 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10848 if ${XML2_LIBS:+false} :; then :
10849 if ${PKG_CONFIG+:} false; then :
10850 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10853 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10854 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10855 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10856 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10857 ac_save_CPPFLAGS=$CPPFLAGS
10858 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10859 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10860 do :
10861 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10862 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10863 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10864 cat >>confdefs.h <<_ACEOF
10865 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10866 _ACEOF
10870 done
10872 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"
10873 then
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10875 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10876 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10877 $as_echo_n "(cached) " >&6
10878 else
10879 ac_check_lib_save_LIBS=$LIBS
10880 LIBS="-lxml2 $XML2_LIBS $LIBS"
10881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10882 /* end confdefs.h. */
10884 /* Override any GCC internal prototype to avoid an error.
10885 Use char because int might match the return type of a GCC
10886 builtin and then its argument prototype would still apply. */
10887 #ifdef __cplusplus
10888 extern "C"
10889 #endif
10890 char xmlParseMemory ();
10892 main ()
10894 return xmlParseMemory ();
10896 return 0;
10898 _ACEOF
10899 if ac_fn_c_try_link "$LINENO"; then :
10900 ac_cv_lib_xml2_xmlParseMemory=yes
10901 else
10902 ac_cv_lib_xml2_xmlParseMemory=no
10904 rm -f core conftest.err conftest.$ac_objext \
10905 conftest$ac_exeext conftest.$ac_ext
10906 LIBS=$ac_check_lib_save_LIBS
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10909 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10910 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10912 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10914 else
10915 XML2_LIBS=""
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10919 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10920 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10921 $as_echo_n "(cached) " >&6
10922 else
10923 ac_check_lib_save_LIBS=$LIBS
10924 LIBS="-lxml2 $XML2_LIBS $LIBS"
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10928 /* Override any GCC internal prototype to avoid an error.
10929 Use char because int might match the return type of a GCC
10930 builtin and then its argument prototype would still apply. */
10931 #ifdef __cplusplus
10932 extern "C"
10933 #endif
10934 char xmlReadMemory ();
10936 main ()
10938 return xmlReadMemory ();
10940 return 0;
10942 _ACEOF
10943 if ac_fn_c_try_link "$LINENO"; then :
10944 ac_cv_lib_xml2_xmlReadMemory=yes
10945 else
10946 ac_cv_lib_xml2_xmlReadMemory=no
10948 rm -f core conftest.err conftest.$ac_objext \
10949 conftest$ac_exeext conftest.$ac_ext
10950 LIBS=$ac_check_lib_save_LIBS
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10953 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10954 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10956 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10961 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10962 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10963 $as_echo_n "(cached) " >&6
10964 else
10965 ac_check_lib_save_LIBS=$LIBS
10966 LIBS="-lxml2 $XML2_LIBS $LIBS"
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10973 #ifdef __cplusplus
10974 extern "C"
10975 #endif
10976 char xmlNewDocPI ();
10978 main ()
10980 return xmlNewDocPI ();
10982 return 0;
10984 _ACEOF
10985 if ac_fn_c_try_link "$LINENO"; then :
10986 ac_cv_lib_xml2_xmlNewDocPI=yes
10987 else
10988 ac_cv_lib_xml2_xmlNewDocPI=no
10990 rm -f core conftest.err conftest.$ac_objext \
10991 conftest$ac_exeext conftest.$ac_ext
10992 LIBS=$ac_check_lib_save_LIBS
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10995 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10996 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10998 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11003 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11004 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11005 $as_echo_n "(cached) " >&6
11006 else
11007 ac_check_lib_save_LIBS=$LIBS
11008 LIBS="-lxml2 $XML2_LIBS $LIBS"
11009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11012 /* Override any GCC internal prototype to avoid an error.
11013 Use char because int might match the return type of a GCC
11014 builtin and then its argument prototype would still apply. */
11015 #ifdef __cplusplus
11016 extern "C"
11017 #endif
11018 char xmlSchemaSetParserStructuredErrors ();
11020 main ()
11022 return xmlSchemaSetParserStructuredErrors ();
11024 return 0;
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"; then :
11028 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11029 else
11030 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11032 rm -f core conftest.err conftest.$ac_objext \
11033 conftest$ac_exeext conftest.$ac_ext
11034 LIBS=$ac_check_lib_save_LIBS
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11037 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11038 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11040 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11045 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11046 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11047 $as_echo_n "(cached) " >&6
11048 else
11049 ac_check_lib_save_LIBS=$LIBS
11050 LIBS="-lxml2 $XML2_LIBS $LIBS"
11051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11054 /* Override any GCC internal prototype to avoid an error.
11055 Use char because int might match the return type of a GCC
11056 builtin and then its argument prototype would still apply. */
11057 #ifdef __cplusplus
11058 extern "C"
11059 #endif
11060 char xmlSchemaSetValidStructuredErrors ();
11062 main ()
11064 return xmlSchemaSetValidStructuredErrors ();
11066 return 0;
11068 _ACEOF
11069 if ac_fn_c_try_link "$LINENO"; then :
11070 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11071 else
11072 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11074 rm -f core conftest.err conftest.$ac_objext \
11075 conftest$ac_exeext conftest.$ac_ext
11076 LIBS=$ac_check_lib_save_LIBS
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11079 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11080 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11082 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11087 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11088 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11089 $as_echo_n "(cached) " >&6
11090 else
11091 ac_check_lib_save_LIBS=$LIBS
11092 LIBS="-lxml2 $XML2_LIBS $LIBS"
11093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11096 /* Override any GCC internal prototype to avoid an error.
11097 Use char because int might match the return type of a GCC
11098 builtin and then its argument prototype would still apply. */
11099 #ifdef __cplusplus
11100 extern "C"
11101 #endif
11102 char xmlFirstElementChild ();
11104 main ()
11106 return xmlFirstElementChild ();
11108 return 0;
11110 _ACEOF
11111 if ac_fn_c_try_link "$LINENO"; then :
11112 ac_cv_lib_xml2_xmlFirstElementChild=yes
11113 else
11114 ac_cv_lib_xml2_xmlFirstElementChild=no
11116 rm -f core conftest.err conftest.$ac_objext \
11117 conftest$ac_exeext conftest.$ac_ext
11118 LIBS=$ac_check_lib_save_LIBS
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11121 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11122 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11124 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11128 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11130 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11132 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11136 else
11137 XML2_CFLAGS=""
11138 XML2_LIBS=""
11140 CPPFLAGS=$ac_save_CPPFLAGS
11141 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11142 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11145 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11146 case "x$with_xml" in
11147 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11148 xno) ;;
11149 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11150 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11151 esac
11154 if test "x$with_xslt" != "xno"
11155 then
11156 if ${XSLT_CFLAGS:+false} :; then :
11157 if ${PKG_CONFIG+:} false; then :
11158 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11161 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11162 if ${XSLT_LIBS:+false} :; then :
11163 if ${PKG_CONFIG+:} false; then :
11164 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11167 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11168 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11169 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11170 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11171 ac_save_CPPFLAGS=$CPPFLAGS
11172 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11173 for ac_header in libxslt/pattern.h libxslt/transform.h
11174 do :
11175 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11176 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11177 # include <libxslt/pattern.h>
11178 #endif
11180 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11181 cat >>confdefs.h <<_ACEOF
11182 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11183 _ACEOF
11187 done
11189 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11190 then
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11192 $as_echo_n "checking for -lxslt... " >&6; }
11193 if ${ac_cv_lib_soname_xslt+:} false; then :
11194 $as_echo_n "(cached) " >&6
11195 else
11196 ac_check_soname_save_LIBS=$LIBS
11197 LIBS="-lxslt $XSLT_LIBS $LIBS"
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11201 /* Override any GCC internal prototype to avoid an error.
11202 Use char because int might match the return type of a GCC
11203 builtin and then its argument prototype would still apply. */
11204 #ifdef __cplusplus
11205 extern "C"
11206 #endif
11207 char xsltCompilePattern ();
11209 main ()
11211 return xsltCompilePattern ();
11213 return 0;
11215 _ACEOF
11216 if ac_fn_c_try_link "$LINENO"; then :
11217 case "$LIBEXT" in
11218 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11219 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'` ;;
11220 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11221 if ${ac_cv_lib_soname_xslt:+false} :; then :
11222 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11223 fi ;;
11224 esac
11226 rm -f core conftest.err conftest.$ac_objext \
11227 conftest$ac_exeext conftest.$ac_ext
11228 LIBS=$ac_check_soname_save_LIBS
11230 if ${ac_cv_lib_soname_xslt:+false} :; then :
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11232 $as_echo "not found" >&6; }
11234 else
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11236 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11238 cat >>confdefs.h <<_ACEOF
11239 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11240 _ACEOF
11244 else
11245 XSLT_CFLAGS=""
11247 CPPFLAGS=$ac_save_CPPFLAGS
11248 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11249 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11252 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11253 case "x$with_xslt" in
11254 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11255 xno) ;;
11256 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11257 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11258 esac
11261 if test "x$with_dbus" != "xno"
11262 then
11263 if ${DBUS_CFLAGS:+false} :; then :
11264 if ${PKG_CONFIG+:} false; then :
11265 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11269 if ${DBUS_LIBS:+false} :; then :
11270 if ${PKG_CONFIG+:} false; then :
11271 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11276 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11277 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11278 ac_save_CPPFLAGS=$CPPFLAGS
11279 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11280 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11281 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11283 $as_echo_n "checking for -ldbus-1... " >&6; }
11284 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11285 $as_echo_n "(cached) " >&6
11286 else
11287 ac_check_soname_save_LIBS=$LIBS
11288 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11295 #ifdef __cplusplus
11296 extern "C"
11297 #endif
11298 char dbus_connection_close ();
11300 main ()
11302 return dbus_connection_close ();
11304 return 0;
11306 _ACEOF
11307 if ac_fn_c_try_link "$LINENO"; then :
11308 case "$LIBEXT" in
11309 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11310 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'` ;;
11311 *) 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'`
11312 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11313 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11314 fi ;;
11315 esac
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_soname_save_LIBS
11321 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11323 $as_echo "not found" >&6; }
11324 DBUS_CFLAGS=""
11325 else
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11327 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11329 cat >>confdefs.h <<_ACEOF
11330 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11331 _ACEOF
11335 else
11336 DBUS_CFLAGS=""
11340 CPPFLAGS=$ac_save_CPPFLAGS
11341 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11342 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11345 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11346 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11347 case "x$with_dbus" in
11348 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11349 xno) ;;
11350 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11351 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11352 esac
11355 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11356 then
11357 if ${HAL_CFLAGS:+false} :; then :
11358 if ${PKG_CONFIG+:} false; then :
11359 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11363 if ${HAL_LIBS:+false} :; then :
11364 if ${PKG_CONFIG+:} false; then :
11365 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11369 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11370 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11371 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11372 ac_save_CPPFLAGS=$CPPFLAGS
11373 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11374 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11375 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11377 $as_echo_n "checking for -lhal... " >&6; }
11378 if ${ac_cv_lib_soname_hal+:} false; then :
11379 $as_echo_n "(cached) " >&6
11380 else
11381 ac_check_soname_save_LIBS=$LIBS
11382 LIBS="-lhal $HAL_LIBS $LIBS"
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11386 /* Override any GCC internal prototype to avoid an error.
11387 Use char because int might match the return type of a GCC
11388 builtin and then its argument prototype would still apply. */
11389 #ifdef __cplusplus
11390 extern "C"
11391 #endif
11392 char libhal_ctx_new ();
11394 main ()
11396 return libhal_ctx_new ();
11398 return 0;
11400 _ACEOF
11401 if ac_fn_c_try_link "$LINENO"; then :
11402 case "$LIBEXT" in
11403 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11404 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'` ;;
11405 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11406 if ${ac_cv_lib_soname_hal:+false} :; then :
11407 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11408 fi ;;
11409 esac
11411 rm -f core conftest.err conftest.$ac_objext \
11412 conftest$ac_exeext conftest.$ac_ext
11413 LIBS=$ac_check_soname_save_LIBS
11415 if ${ac_cv_lib_soname_hal:+false} :; then :
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11417 $as_echo "not found" >&6; }
11418 HAL_CFLAGS=""
11419 else
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11421 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11423 cat >>confdefs.h <<_ACEOF
11424 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11425 _ACEOF
11429 else
11430 HAL_CFLAGS=""
11434 CPPFLAGS=$ac_save_CPPFLAGS
11435 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11436 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11438 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11439 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11440 case "x$with_hal" in
11441 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11442 xno) ;;
11443 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11444 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11445 esac
11449 if test "x$with_gnutls" != "xno"
11450 then
11451 if ${GNUTLS_CFLAGS:+false} :; then :
11452 if ${PKG_CONFIG+:} false; then :
11453 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11457 if ${GNUTLS_LIBS:+false} :; then :
11458 if ${PKG_CONFIG+:} false; then :
11459 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11464 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11465 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11466 ac_save_CPPFLAGS=$CPPFLAGS
11467 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11468 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11469 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h. */
11472 #include <gnutls/gnutls.h>
11473 #include <gnutls/crypto.h>
11475 main ()
11477 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11479 return 0;
11481 _ACEOF
11482 if ac_fn_c_try_compile "$LINENO"; then :
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11484 $as_echo_n "checking for -lgnutls... " >&6; }
11485 if ${ac_cv_lib_soname_gnutls+:} false; then :
11486 $as_echo_n "(cached) " >&6
11487 else
11488 ac_check_soname_save_LIBS=$LIBS
11489 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11491 /* end confdefs.h. */
11493 /* Override any GCC internal prototype to avoid an error.
11494 Use char because int might match the return type of a GCC
11495 builtin and then its argument prototype would still apply. */
11496 #ifdef __cplusplus
11497 extern "C"
11498 #endif
11499 char gnutls_global_init ();
11501 main ()
11503 return gnutls_global_init ();
11505 return 0;
11507 _ACEOF
11508 if ac_fn_c_try_link "$LINENO"; then :
11509 case "$LIBEXT" in
11510 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11511 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'` ;;
11512 *) 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'`
11513 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11514 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'`
11515 fi ;;
11516 esac
11518 rm -f core conftest.err conftest.$ac_objext \
11519 conftest$ac_exeext conftest.$ac_ext
11520 LIBS=$ac_check_soname_save_LIBS
11522 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11524 $as_echo "not found" >&6; }
11525 GNUTLS_CFLAGS=""
11526 else
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11528 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11530 cat >>confdefs.h <<_ACEOF
11531 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11532 _ACEOF
11536 ac_wine_check_funcs_save_LIBS="$LIBS"
11537 LIBS="$LIBS $GNUTLS_LIBS"
11538 for ac_func in gnutls_hash
11539 do :
11540 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11541 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11542 cat >>confdefs.h <<_ACEOF
11543 #define HAVE_GNUTLS_HASH 1
11544 _ACEOF
11546 else
11547 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11549 done
11551 LIBS="$ac_wine_check_funcs_save_LIBS"
11553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11554 else
11555 GNUTLS_CFLAGS=""
11559 CPPFLAGS=$ac_save_CPPFLAGS
11560 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11561 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11564 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11565 case "x$with_gnutls" in
11566 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11567 xno) ;;
11568 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11569 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11570 esac
11573 CURSES_LIBS=""
11574 if test "$ac_cv_header_ncurses_h" = "yes"
11575 then
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11577 $as_echo_n "checking for -lncurses... " >&6; }
11578 if ${ac_cv_lib_soname_ncurses+:} false; then :
11579 $as_echo_n "(cached) " >&6
11580 else
11581 ac_check_soname_save_LIBS=$LIBS
11582 LIBS="-lncurses $LIBS"
11583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11584 /* end confdefs.h. */
11586 /* Override any GCC internal prototype to avoid an error.
11587 Use char because int might match the return type of a GCC
11588 builtin and then its argument prototype would still apply. */
11589 #ifdef __cplusplus
11590 extern "C"
11591 #endif
11592 char waddch ();
11594 main ()
11596 return waddch ();
11598 return 0;
11600 _ACEOF
11601 if ac_fn_c_try_link "$LINENO"; then :
11602 case "$LIBEXT" in
11603 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11604 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'` ;;
11605 *) 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'`
11606 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11607 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11608 fi ;;
11609 esac
11611 rm -f core conftest.err conftest.$ac_objext \
11612 conftest$ac_exeext conftest.$ac_ext
11613 LIBS=$ac_check_soname_save_LIBS
11615 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11617 $as_echo "not found" >&6; }
11619 else
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11621 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11623 cat >>confdefs.h <<_ACEOF
11624 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11625 _ACEOF
11627 CURSES_LIBS="-lncurses"
11629 elif test "$ac_cv_header_curses_h" = "yes"
11630 then
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11632 $as_echo_n "checking for -lcurses... " >&6; }
11633 if ${ac_cv_lib_soname_curses+:} false; then :
11634 $as_echo_n "(cached) " >&6
11635 else
11636 ac_check_soname_save_LIBS=$LIBS
11637 LIBS="-lcurses $LIBS"
11638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11639 /* end confdefs.h. */
11641 /* Override any GCC internal prototype to avoid an error.
11642 Use char because int might match the return type of a GCC
11643 builtin and then its argument prototype would still apply. */
11644 #ifdef __cplusplus
11645 extern "C"
11646 #endif
11647 char waddch ();
11649 main ()
11651 return waddch ();
11653 return 0;
11655 _ACEOF
11656 if ac_fn_c_try_link "$LINENO"; then :
11657 case "$LIBEXT" in
11658 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11659 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'` ;;
11660 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11661 if ${ac_cv_lib_soname_curses:+false} :; then :
11662 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11663 fi ;;
11664 esac
11666 rm -f core conftest.err conftest.$ac_objext \
11667 conftest$ac_exeext conftest.$ac_ext
11668 LIBS=$ac_check_soname_save_LIBS
11670 if ${ac_cv_lib_soname_curses:+false} :; then :
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11672 $as_echo "not found" >&6; }
11674 else
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11676 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11678 cat >>confdefs.h <<_ACEOF
11679 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11680 _ACEOF
11682 CURSES_LIBS="-lcurses"
11685 ac_save_LIBS="$LIBS"
11686 LIBS="$LIBS $CURSES_LIBS"
11687 for ac_func in mousemask
11688 do :
11689 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11690 if test "x$ac_cv_func_mousemask" = xyes; then :
11691 cat >>confdefs.h <<_ACEOF
11692 #define HAVE_MOUSEMASK 1
11693 _ACEOF
11696 done
11698 LIBS="$ac_save_LIBS"
11699 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11700 case "x$with_curses" in
11701 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11702 xno) ;;
11703 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11704 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11705 esac
11708 if test "x$with_sane" != "xno"
11709 then
11710 if ${SANE_CFLAGS:+false} :; then :
11711 if ${PKG_CONFIG+:} false; then :
11712 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11715 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11716 if ${SANE_LIBS:+false} :; then :
11717 if ${PKG_CONFIG+:} false; then :
11718 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11721 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11723 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11724 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11725 ac_save_CPPFLAGS=$CPPFLAGS
11726 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11727 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11728 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11730 $as_echo_n "checking for -lsane... " >&6; }
11731 if ${ac_cv_lib_soname_sane+:} false; then :
11732 $as_echo_n "(cached) " >&6
11733 else
11734 ac_check_soname_save_LIBS=$LIBS
11735 LIBS="-lsane $SANE_LIBS $LIBS"
11736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11737 /* end confdefs.h. */
11739 /* Override any GCC internal prototype to avoid an error.
11740 Use char because int might match the return type of a GCC
11741 builtin and then its argument prototype would still apply. */
11742 #ifdef __cplusplus
11743 extern "C"
11744 #endif
11745 char sane_init ();
11747 main ()
11749 return sane_init ();
11751 return 0;
11753 _ACEOF
11754 if ac_fn_c_try_link "$LINENO"; then :
11755 case "$LIBEXT" in
11756 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11757 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'` ;;
11758 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11759 if ${ac_cv_lib_soname_sane:+false} :; then :
11760 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11761 fi ;;
11762 esac
11764 rm -f core conftest.err conftest.$ac_objext \
11765 conftest$ac_exeext conftest.$ac_ext
11766 LIBS=$ac_check_soname_save_LIBS
11768 if ${ac_cv_lib_soname_sane:+false} :; then :
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11770 $as_echo "not found" >&6; }
11771 SANE_CFLAGS=""
11772 else
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11774 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11776 cat >>confdefs.h <<_ACEOF
11777 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11778 _ACEOF
11782 else
11783 SANE_CFLAGS=""
11787 CPPFLAGS=$ac_save_CPPFLAGS
11788 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11789 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11792 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11793 case "x$with_sane" in
11794 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11795 xno) ;;
11796 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11797 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11798 esac
11801 if test "x$with_v4l" != "xno"
11802 then
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11804 $as_echo_n "checking for -lv4l1... " >&6; }
11805 if ${ac_cv_lib_soname_v4l1+:} false; then :
11806 $as_echo_n "(cached) " >&6
11807 else
11808 ac_check_soname_save_LIBS=$LIBS
11809 LIBS="-lv4l1 $LIBS"
11810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11813 /* Override any GCC internal prototype to avoid an error.
11814 Use char because int might match the return type of a GCC
11815 builtin and then its argument prototype would still apply. */
11816 #ifdef __cplusplus
11817 extern "C"
11818 #endif
11819 char v4l1_open ();
11821 main ()
11823 return v4l1_open ();
11825 return 0;
11827 _ACEOF
11828 if ac_fn_c_try_link "$LINENO"; then :
11829 case "$LIBEXT" in
11830 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11831 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'` ;;
11832 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11833 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11834 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11835 fi ;;
11836 esac
11838 rm -f core conftest.err conftest.$ac_objext \
11839 conftest$ac_exeext conftest.$ac_ext
11840 LIBS=$ac_check_soname_save_LIBS
11842 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11844 $as_echo "not found" >&6; }
11846 else
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11848 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11850 cat >>confdefs.h <<_ACEOF
11851 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11852 _ACEOF
11857 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11858 case "x$with_v4l" in
11859 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11860 xno) ;;
11861 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11862 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11863 esac
11866 if test "x$with_gphoto" != "xno"
11867 then
11868 if ${GPHOTO2_CFLAGS:+false} :; then :
11869 if ${PKG_CONFIG+:} false; then :
11870 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11873 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11874 if ${GPHOTO2_LIBS:+false} :; then :
11875 if ${PKG_CONFIG+:} false; then :
11876 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11879 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11880 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11881 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11882 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11883 ac_save_CPPFLAGS=$CPPFLAGS
11884 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11885 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11886 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11888 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11889 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11890 $as_echo_n "(cached) " >&6
11891 else
11892 ac_check_lib_save_LIBS=$LIBS
11893 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11895 /* end confdefs.h. */
11897 /* Override any GCC internal prototype to avoid an error.
11898 Use char because int might match the return type of a GCC
11899 builtin and then its argument prototype would still apply. */
11900 #ifdef __cplusplus
11901 extern "C"
11902 #endif
11903 char gp_camera_new ();
11905 main ()
11907 return gp_camera_new ();
11909 return 0;
11911 _ACEOF
11912 if ac_fn_c_try_link "$LINENO"; then :
11913 ac_cv_lib_gphoto2_gp_camera_new=yes
11914 else
11915 ac_cv_lib_gphoto2_gp_camera_new=no
11917 rm -f core conftest.err conftest.$ac_objext \
11918 conftest$ac_exeext conftest.$ac_ext
11919 LIBS=$ac_check_lib_save_LIBS
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11922 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11923 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11925 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11927 else
11928 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11931 else
11932 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11936 CPPFLAGS=$ac_save_CPPFLAGS
11937 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11938 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11940 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11941 if ${PKG_CONFIG+:} false; then :
11942 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11945 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11946 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11947 if ${PKG_CONFIG+:} false; then :
11948 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11951 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
11952 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11953 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11954 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11955 ac_save_CPPFLAGS=$CPPFLAGS
11956 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11957 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11958 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11960 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11961 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11962 $as_echo_n "(cached) " >&6
11963 else
11964 ac_check_lib_save_LIBS=$LIBS
11965 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11969 /* Override any GCC internal prototype to avoid an error.
11970 Use char because int might match the return type of a GCC
11971 builtin and then its argument prototype would still apply. */
11972 #ifdef __cplusplus
11973 extern "C"
11974 #endif
11975 char gp_port_info_list_new ();
11977 main ()
11979 return gp_port_info_list_new ();
11981 return 0;
11983 _ACEOF
11984 if ac_fn_c_try_link "$LINENO"; then :
11985 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11986 else
11987 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11989 rm -f core conftest.err conftest.$ac_objext \
11990 conftest$ac_exeext conftest.$ac_ext
11991 LIBS=$ac_check_lib_save_LIBS
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11994 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11995 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11997 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11999 else
12000 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12003 else
12004 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12008 CPPFLAGS=$ac_save_CPPFLAGS
12009 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12010 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12013 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12014 case "x$with_gphoto" in
12015 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12016 xno) ;;
12017 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12018 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12019 esac
12021 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12022 case "x$with_gphoto" in
12023 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12024 xno) ;;
12025 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12026 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12027 esac
12031 if test "$ac_cv_header_resolv_h" = "yes"
12032 then
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12034 $as_echo_n "checking for resolver library... " >&6; }
12035 if ${ac_cv_have_resolv+:} false; then :
12036 $as_echo_n "(cached) " >&6
12037 else
12038 ac_save_LIBS="$LIBS"
12039 for lib in '' -lresolv
12041 LIBS="$lib $ac_save_LIBS"
12042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12043 /* end confdefs.h. */
12044 #ifdef HAVE_NETINET_IN_H
12045 #include <netinet/in.h>
12046 #endif
12047 #include <resolv.h>
12049 main ()
12051 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12053 return 0;
12055 _ACEOF
12056 if ac_fn_c_try_link "$LINENO"; then :
12057 ac_cv_have_resolv=${lib:-"none required"}
12058 else
12059 ac_cv_have_resolv="not found"
12061 rm -f core conftest.err conftest.$ac_objext \
12062 conftest$ac_exeext conftest.$ac_ext
12063 test "x$ac_cv_have_resolv" = "xnot found" || break
12064 done
12065 LIBS="$ac_save_LIBS"
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12068 $as_echo "$ac_cv_have_resolv" >&6; }
12070 case "$ac_cv_have_resolv" in
12071 "not found") ;;
12072 "none required")
12074 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12077 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12079 RESOLV_LIBS=$ac_cv_have_resolv
12081 esac
12084 if test "x$with_cms" != "xno"
12085 then
12086 if ${LCMS2_CFLAGS:+false} :; then :
12087 if ${PKG_CONFIG+:} false; then :
12088 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12092 if ${LCMS2_LIBS:+false} :; then :
12093 if ${PKG_CONFIG+:} false; then :
12094 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12098 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12099 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12100 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12101 ac_save_CPPFLAGS=$CPPFLAGS
12102 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12103 for ac_header in lcms2.h
12104 do :
12105 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12106 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12107 cat >>confdefs.h <<_ACEOF
12108 #define HAVE_LCMS2_H 1
12109 _ACEOF
12113 done
12115 if test "$ac_cv_header_lcms2_h" = "yes"
12116 then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12118 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12119 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12120 $as_echo_n "(cached) " >&6
12121 else
12122 ac_check_lib_save_LIBS=$LIBS
12123 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12125 /* end confdefs.h. */
12127 /* Override any GCC internal prototype to avoid an error.
12128 Use char because int might match the return type of a GCC
12129 builtin and then its argument prototype would still apply. */
12130 #ifdef __cplusplus
12131 extern "C"
12132 #endif
12133 char cmsOpenProfileFromFile ();
12135 main ()
12137 return cmsOpenProfileFromFile ();
12139 return 0;
12141 _ACEOF
12142 if ac_fn_c_try_link "$LINENO"; then :
12143 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12144 else
12145 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12147 rm -f core conftest.err conftest.$ac_objext \
12148 conftest$ac_exeext conftest.$ac_ext
12149 LIBS=$ac_check_lib_save_LIBS
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12152 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12153 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12155 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12157 else
12158 LCMS2_LIBS=""
12161 else
12162 LCMS2_CFLAGS=""
12163 LCMS2_LIBS=""
12165 CPPFLAGS=$ac_save_CPPFLAGS
12166 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12167 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12170 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12171 case "x$with_cms" in
12172 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12173 xno) ;;
12174 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12175 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12176 esac
12179 if test "x$with_freetype" != "xno"
12180 then
12181 if ${FREETYPE_CFLAGS:+false} :; then :
12182 if ${PKG_CONFIG+:} false; then :
12183 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12186 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12187 if ${FREETYPE_LIBS:+false} :; then :
12188 if ${PKG_CONFIG+:} false; then :
12189 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12192 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12193 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12194 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12195 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12196 ac_save_CPPFLAGS=$CPPFLAGS
12197 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12198 for ac_header in ft2build.h
12199 do :
12200 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12201 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12202 cat >>confdefs.h <<_ACEOF
12203 #define HAVE_FT2BUILD_H 1
12204 _ACEOF
12208 done
12210 if test "$ac_cv_header_ft2build_h" = "yes"
12211 then
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12213 $as_echo_n "checking for -lfreetype... " >&6; }
12214 if ${ac_cv_lib_soname_freetype+:} false; then :
12215 $as_echo_n "(cached) " >&6
12216 else
12217 ac_check_soname_save_LIBS=$LIBS
12218 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12220 /* end confdefs.h. */
12222 /* Override any GCC internal prototype to avoid an error.
12223 Use char because int might match the return type of a GCC
12224 builtin and then its argument prototype would still apply. */
12225 #ifdef __cplusplus
12226 extern "C"
12227 #endif
12228 char FT_Init_FreeType ();
12230 main ()
12232 return FT_Init_FreeType ();
12234 return 0;
12236 _ACEOF
12237 if ac_fn_c_try_link "$LINENO"; then :
12238 case "$LIBEXT" in
12239 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12240 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'` ;;
12241 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12242 if ${ac_cv_lib_soname_freetype:+false} :; then :
12243 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12244 fi ;;
12245 esac
12247 rm -f core conftest.err conftest.$ac_objext \
12248 conftest$ac_exeext conftest.$ac_ext
12249 LIBS=$ac_check_soname_save_LIBS
12251 if ${ac_cv_lib_soname_freetype:+false} :; then :
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12253 $as_echo "not found" >&6; }
12254 FREETYPE_LIBS=""
12255 else
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12257 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12259 cat >>confdefs.h <<_ACEOF
12260 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12261 _ACEOF
12264 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12266 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12267 #include FT_MODULE_H
12269 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12271 cat >>confdefs.h <<_ACEOF
12272 #define HAVE_FT_TRUETYPEENGINETYPE 1
12273 _ACEOF
12279 else
12280 FREETYPE_CFLAGS=""
12281 FREETYPE_LIBS=""
12283 CPPFLAGS=$ac_save_CPPFLAGS
12284 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12285 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12288 if test "x$ac_cv_lib_soname_freetype" = x; then :
12289 case "x$with_freetype" in
12290 xno) ;;
12291 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12292 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12293 esac
12295 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12298 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12299 if ${ac_cv_c_ppdev+:} false; then :
12300 $as_echo_n "(cached) " >&6
12301 else
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12304 #ifdef HAVE_SYS_IOCTL_H
12305 # include <sys/ioctl.h>
12306 #endif
12307 #include <linux/ppdev.h>
12309 main ()
12311 ioctl (1,PPCLAIM,0)
12313 return 0;
12315 _ACEOF
12316 if ac_fn_c_try_compile "$LINENO"; then :
12317 ac_cv_c_ppdev="yes"
12318 else
12319 ac_cv_c_ppdev="no"
12321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12324 $as_echo "$ac_cv_c_ppdev" >&6; }
12325 if test "$ac_cv_c_ppdev" = "yes"
12326 then
12328 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12332 ac_wine_check_funcs_save_LIBS="$LIBS"
12333 LIBS="$LIBS $PTHREAD_LIBS"
12334 for ac_func in \
12335 pthread_attr_get_np \
12336 pthread_getattr_np \
12337 pthread_getthreadid_np \
12338 pthread_get_stackaddr_np \
12339 pthread_get_stacksize_np
12340 do :
12341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12343 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12344 cat >>confdefs.h <<_ACEOF
12345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12346 _ACEOF
12349 done
12351 LIBS="$ac_wine_check_funcs_save_LIBS"
12353 if test "$ac_cv_header_zlib_h" = "yes"
12354 then
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12356 $as_echo_n "checking for inflate in -lz... " >&6; }
12357 if ${ac_cv_lib_z_inflate+:} false; then :
12358 $as_echo_n "(cached) " >&6
12359 else
12360 ac_check_lib_save_LIBS=$LIBS
12361 LIBS="-lz $LIBS"
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12365 /* Override any GCC internal prototype to avoid an error.
12366 Use char because int might match the return type of a GCC
12367 builtin and then its argument prototype would still apply. */
12368 #ifdef __cplusplus
12369 extern "C"
12370 #endif
12371 char inflate ();
12373 main ()
12375 return inflate ();
12377 return 0;
12379 _ACEOF
12380 if ac_fn_c_try_link "$LINENO"; then :
12381 ac_cv_lib_z_inflate=yes
12382 else
12383 ac_cv_lib_z_inflate=no
12385 rm -f core conftest.err conftest.$ac_objext \
12386 conftest$ac_exeext conftest.$ac_ext
12387 LIBS=$ac_check_lib_save_LIBS
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12390 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12391 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12393 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12395 Z_LIBS="-lz"
12400 if test "x$Z_LIBS" = "x"; then :
12401 case "x$with_zlib" in
12402 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12403 xno) ;;
12404 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12405 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12406 esac
12409 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12410 then
12411 if test "$ac_cv_header_gettext_po_h" = "yes"
12412 then
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12414 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12415 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12416 $as_echo_n "(cached) " >&6
12417 else
12418 ac_check_lib_save_LIBS=$LIBS
12419 LIBS="-lgettextpo $LIBS"
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12423 /* Override any GCC internal prototype to avoid an error.
12424 Use char because int might match the return type of a GCC
12425 builtin and then its argument prototype would still apply. */
12426 #ifdef __cplusplus
12427 extern "C"
12428 #endif
12429 char po_message_msgctxt ();
12431 main ()
12433 return po_message_msgctxt ();
12435 return 0;
12437 _ACEOF
12438 if ac_fn_c_try_link "$LINENO"; then :
12439 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12440 else
12441 ac_cv_lib_gettextpo_po_message_msgctxt=no
12443 rm -f core conftest.err conftest.$ac_objext \
12444 conftest$ac_exeext conftest.$ac_ext
12445 LIBS=$ac_check_lib_save_LIBS
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12448 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12449 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12451 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12453 GETTEXTPO_LIBS="-lgettextpo"
12458 if test "x$GETTEXTPO_LIBS" = "x"; then :
12459 case "x$with_gettextpo" in
12460 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12461 xno) ;;
12462 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12463 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12464 esac
12466 if test "$srcdir" != .; then :
12467 case "x$with_gettextpo" in
12468 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12469 xno) ;;
12470 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12471 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12472 esac
12476 if test "x$with_pulse" != "xno";
12477 then
12478 if ${PULSE_CFLAGS:+false} :; then :
12479 if ${PKG_CONFIG+:} false; then :
12480 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12484 if ${PULSE_LIBS:+false} :; then :
12485 if ${PKG_CONFIG+:} false; then :
12486 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12491 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12492 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12493 ac_save_CPPFLAGS=$CPPFLAGS
12494 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12495 for ac_header in pulse/pulseaudio.h
12496 do :
12497 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12498 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12499 cat >>confdefs.h <<_ACEOF
12500 #define HAVE_PULSE_PULSEAUDIO_H 1
12501 _ACEOF
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12503 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12504 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12505 $as_echo_n "(cached) " >&6
12506 else
12507 ac_check_lib_save_LIBS=$LIBS
12508 LIBS="-lpulse $PULSE_LIBS $LIBS"
12509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12510 /* end confdefs.h. */
12512 /* Override any GCC internal prototype to avoid an error.
12513 Use char because int might match the return type of a GCC
12514 builtin and then its argument prototype would still apply. */
12515 #ifdef __cplusplus
12516 extern "C"
12517 #endif
12518 char pa_stream_is_corked ();
12520 main ()
12522 return pa_stream_is_corked ();
12524 return 0;
12526 _ACEOF
12527 if ac_fn_c_try_link "$LINENO"; then :
12528 ac_cv_lib_pulse_pa_stream_is_corked=yes
12529 else
12530 ac_cv_lib_pulse_pa_stream_is_corked=no
12532 rm -f core conftest.err conftest.$ac_objext \
12533 conftest$ac_exeext conftest.$ac_ext
12534 LIBS=$ac_check_lib_save_LIBS
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12537 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12538 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12540 else
12541 PULSE_LIBS=""
12544 else
12545 PULSE_LIBS=""
12548 done
12550 CPPFLAGS=$ac_save_CPPFLAGS
12551 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12552 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12555 if test -z "$PULSE_LIBS"; then :
12556 case "x$with_pulse" in
12557 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12558 xno) ;;
12559 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12560 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12561 esac
12563 test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12565 if test "x$with_gstreamer" != "xno"
12566 then
12567 if ${GSTREAMER_CFLAGS:+false} :; then :
12568 if ${PKG_CONFIG+:} false; then :
12569 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12573 if ${GSTREAMER_LIBS:+false} :; then :
12574 if ${PKG_CONFIG+:} false; then :
12575 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12580 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12581 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12582 ac_save_CPPFLAGS=$CPPFLAGS
12583 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12584 ac_gst_incl=""
12585 for i in $GSTREAMER_CFLAGS
12587 case "$i" in
12588 -I*) ac_gst_incl="$ac_gst_incl $i";;
12589 esac
12590 done
12591 GSTREAMER_CFLAGS=$ac_gst_incl
12592 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12593 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12594 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12596 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12598 /* end confdefs.h. */
12599 #include <gst/gst.h>
12601 main ()
12603 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12605 return 0;
12607 _ACEOF
12608 if ac_fn_c_try_compile "$LINENO"; then :
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12610 $as_echo "yes" >&6; }
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12612 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12613 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12614 $as_echo_n "(cached) " >&6
12615 else
12616 ac_check_lib_save_LIBS=$LIBS
12617 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12619 /* end confdefs.h. */
12621 /* Override any GCC internal prototype to avoid an error.
12622 Use char because int might match the return type of a GCC
12623 builtin and then its argument prototype would still apply. */
12624 #ifdef __cplusplus
12625 extern "C"
12626 #endif
12627 char gst_pad_new ();
12629 main ()
12631 return gst_pad_new ();
12633 return 0;
12635 _ACEOF
12636 if ac_fn_c_try_link "$LINENO"; then :
12637 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12638 else
12639 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12641 rm -f core conftest.err conftest.$ac_objext \
12642 conftest$ac_exeext conftest.$ac_ext
12643 LIBS=$ac_check_lib_save_LIBS
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12646 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12647 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12651 else
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12653 $as_echo "no" >&6; }
12654 ac_glib2_broken=yes
12655 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12661 CPPFLAGS=$ac_save_CPPFLAGS
12662 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12663 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12666 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 :
12667 case "x$with_gstreamer" in
12668 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12669 xno) ;;
12670 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12671 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12672 esac
12674 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12676 ALSA_LIBS=""
12678 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12679 then
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12681 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12682 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12683 $as_echo_n "(cached) " >&6
12684 else
12685 ac_check_lib_save_LIBS=$LIBS
12686 LIBS="-lasound $LIBS"
12687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12688 /* end confdefs.h. */
12690 /* Override any GCC internal prototype to avoid an error.
12691 Use char because int might match the return type of a GCC
12692 builtin and then its argument prototype would still apply. */
12693 #ifdef __cplusplus
12694 extern "C"
12695 #endif
12696 char snd_pcm_hw_params_get_access_mask ();
12698 main ()
12700 return snd_pcm_hw_params_get_access_mask ();
12702 return 0;
12704 _ACEOF
12705 if ac_fn_c_try_link "$LINENO"; then :
12706 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12707 else
12708 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12710 rm -f core conftest.err conftest.$ac_objext \
12711 conftest$ac_exeext conftest.$ac_ext
12712 LIBS=$ac_check_lib_save_LIBS
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12715 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12716 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12719 #ifdef HAVE_ALSA_ASOUNDLIB_H
12720 #include <alsa/asoundlib.h>
12721 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12722 #include <sys/asoundlib.h>
12723 #endif
12725 main ()
12727 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12729 return 0;
12731 _ACEOF
12732 if ac_fn_c_try_compile "$LINENO"; then :
12733 ALSA_LIBS="-lasound"
12735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12739 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12741 if test "x$with_oss" != xno
12742 then
12743 ac_save_CPPFLAGS="$CPPFLAGS"
12744 if test -f /etc/oss.conf
12745 then
12746 . /etc/oss.conf
12748 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12749 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12750 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12751 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12752 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12754 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12756 cat >>confdefs.h <<_ACEOF
12757 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12758 _ACEOF
12760 OSS4_CFLAGS="$ac_oss_incl"
12767 CPPFLAGS="$ac_save_CPPFLAGS"
12768 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12769 then
12770 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12773 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12775 if test "x$with_capi" != "xno"
12776 then
12777 if ${CAPI20_CFLAGS:+false} :; then :
12778 if ${PKG_CONFIG+:} false; then :
12779 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12783 if ${CAPI20_LIBS:+false} :; then :
12784 if ${PKG_CONFIG+:} false; then :
12785 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12790 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12791 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12792 ac_save_CPPFLAGS=$CPPFLAGS
12793 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12794 for ac_header in capi20.h linux/capi.h
12795 do :
12796 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12797 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12799 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12800 cat >>confdefs.h <<_ACEOF
12801 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12802 _ACEOF
12806 done
12808 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12809 then
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12811 $as_echo_n "checking for -lcapi20... " >&6; }
12812 if ${ac_cv_lib_soname_capi20+:} false; then :
12813 $as_echo_n "(cached) " >&6
12814 else
12815 ac_check_soname_save_LIBS=$LIBS
12816 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12820 /* Override any GCC internal prototype to avoid an error.
12821 Use char because int might match the return type of a GCC
12822 builtin and then its argument prototype would still apply. */
12823 #ifdef __cplusplus
12824 extern "C"
12825 #endif
12826 char capi20_register ();
12828 main ()
12830 return capi20_register ();
12832 return 0;
12834 _ACEOF
12835 if ac_fn_c_try_link "$LINENO"; then :
12836 case "$LIBEXT" in
12837 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12838 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'` ;;
12839 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12840 if ${ac_cv_lib_soname_capi20:+false} :; then :
12841 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12842 fi ;;
12843 esac
12845 rm -f core conftest.err conftest.$ac_objext \
12846 conftest$ac_exeext conftest.$ac_ext
12847 LIBS=$ac_check_soname_save_LIBS
12849 if ${ac_cv_lib_soname_capi20:+false} :; then :
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12851 $as_echo "not found" >&6; }
12853 else
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12855 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12857 cat >>confdefs.h <<_ACEOF
12858 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12859 _ACEOF
12864 CPPFLAGS=$ac_save_CPPFLAGS
12865 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12866 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12869 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12870 case "x$with_capi" in
12871 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12872 xno) ;;
12873 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12874 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12875 esac
12878 CUPS_CFLAGS=""
12880 if test "x$with_cups" != "xno"
12881 then
12882 ac_save_CPPFLAGS="$CPPFLAGS"
12883 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12884 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12885 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12886 for ac_header in cups/cups.h
12887 do :
12888 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12889 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12890 cat >>confdefs.h <<_ACEOF
12891 #define HAVE_CUPS_CUPS_H 1
12892 _ACEOF
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12894 $as_echo_n "checking for -lcups... " >&6; }
12895 if ${ac_cv_lib_soname_cups+:} false; then :
12896 $as_echo_n "(cached) " >&6
12897 else
12898 ac_check_soname_save_LIBS=$LIBS
12899 LIBS="-lcups $ac_cups_libs $LIBS"
12900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12901 /* end confdefs.h. */
12903 /* Override any GCC internal prototype to avoid an error.
12904 Use char because int might match the return type of a GCC
12905 builtin and then its argument prototype would still apply. */
12906 #ifdef __cplusplus
12907 extern "C"
12908 #endif
12909 char cupsGetDefault ();
12911 main ()
12913 return cupsGetDefault ();
12915 return 0;
12917 _ACEOF
12918 if ac_fn_c_try_link "$LINENO"; then :
12919 case "$LIBEXT" in
12920 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12921 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'` ;;
12922 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12923 if ${ac_cv_lib_soname_cups:+false} :; then :
12924 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12925 fi ;;
12926 esac
12928 rm -f core conftest.err conftest.$ac_objext \
12929 conftest$ac_exeext conftest.$ac_ext
12930 LIBS=$ac_check_soname_save_LIBS
12932 if ${ac_cv_lib_soname_cups:+false} :; then :
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12934 $as_echo "not found" >&6; }
12936 else
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12938 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12940 cat >>confdefs.h <<_ACEOF
12941 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12942 _ACEOF
12944 CUPS_CFLAGS="$ac_cups_cflags"
12948 done
12950 CPPFLAGS="$ac_save_CPPFLAGS"
12952 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12953 case "x$with_cups" in
12954 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12955 xno) ;;
12956 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12957 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12958 esac
12961 if test "x$with_fontconfig" != "xno"
12962 then
12963 if ${FONTCONFIG_CFLAGS:+false} :; then :
12964 if ${PKG_CONFIG+:} false; then :
12965 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12968 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12969 if ${FONTCONFIG_LIBS:+false} :; then :
12970 if ${PKG_CONFIG+:} false; then :
12971 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12974 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12976 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12977 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12978 ac_save_CPPFLAGS=$CPPFLAGS
12979 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12980 for ac_header in fontconfig/fontconfig.h
12981 do :
12982 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12983 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12984 cat >>confdefs.h <<_ACEOF
12985 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12986 _ACEOF
12990 done
12992 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12993 then
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12995 $as_echo_n "checking for -lfontconfig... " >&6; }
12996 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12997 $as_echo_n "(cached) " >&6
12998 else
12999 ac_check_soname_save_LIBS=$LIBS
13000 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13002 /* end confdefs.h. */
13004 /* Override any GCC internal prototype to avoid an error.
13005 Use char because int might match the return type of a GCC
13006 builtin and then its argument prototype would still apply. */
13007 #ifdef __cplusplus
13008 extern "C"
13009 #endif
13010 char FcInit ();
13012 main ()
13014 return FcInit ();
13016 return 0;
13018 _ACEOF
13019 if ac_fn_c_try_link "$LINENO"; then :
13020 case "$LIBEXT" in
13021 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13022 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'` ;;
13023 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13024 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13025 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13026 fi ;;
13027 esac
13029 rm -f core conftest.err conftest.$ac_objext \
13030 conftest$ac_exeext conftest.$ac_ext
13031 LIBS=$ac_check_soname_save_LIBS
13033 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13035 $as_echo "not found" >&6; }
13036 FONTCONFIG_CFLAGS=""
13037 else
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13039 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13041 cat >>confdefs.h <<_ACEOF
13042 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13043 _ACEOF
13047 else
13048 FONTCONFIG_CFLAGS=""
13050 CPPFLAGS=$ac_save_CPPFLAGS
13051 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13052 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13055 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13056 case "x$with_fontconfig" in
13057 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13058 xno) ;;
13059 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13060 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13061 esac
13064 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13065 then
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13067 $as_echo_n "checking for -lgsm... " >&6; }
13068 if ${ac_cv_lib_soname_gsm+:} false; then :
13069 $as_echo_n "(cached) " >&6
13070 else
13071 ac_check_soname_save_LIBS=$LIBS
13072 LIBS="-lgsm $LIBS"
13073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13074 /* end confdefs.h. */
13076 /* Override any GCC internal prototype to avoid an error.
13077 Use char because int might match the return type of a GCC
13078 builtin and then its argument prototype would still apply. */
13079 #ifdef __cplusplus
13080 extern "C"
13081 #endif
13082 char gsm_create ();
13084 main ()
13086 return gsm_create ();
13088 return 0;
13090 _ACEOF
13091 if ac_fn_c_try_link "$LINENO"; then :
13092 case "$LIBEXT" in
13093 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13094 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'` ;;
13095 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13096 if ${ac_cv_lib_soname_gsm:+false} :; then :
13097 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13098 fi ;;
13099 esac
13101 rm -f core conftest.err conftest.$ac_objext \
13102 conftest$ac_exeext conftest.$ac_ext
13103 LIBS=$ac_check_soname_save_LIBS
13105 if ${ac_cv_lib_soname_gsm:+false} :; then :
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13107 $as_echo "not found" >&6; }
13109 else
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13111 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13113 cat >>confdefs.h <<_ACEOF
13114 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13115 _ACEOF
13120 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13121 case "x$with_gsm" in
13122 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13123 xno) ;;
13124 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13125 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13126 esac
13129 if test "x$with_jpeg" != "xno"
13130 then
13131 if ${JPEG_CFLAGS:+false} :; then :
13132 if ${PKG_CONFIG+:} false; then :
13133 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13137 if ${JPEG_LIBS:+false} :; then :
13138 if ${PKG_CONFIG+:} false; then :
13139 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13144 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13145 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13146 ac_save_CPPFLAGS=$CPPFLAGS
13147 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13148 for ac_header in jpeglib.h
13149 do :
13150 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13151 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13152 cat >>confdefs.h <<_ACEOF
13153 #define HAVE_JPEGLIB_H 1
13154 _ACEOF
13158 done
13160 if test "$ac_cv_header_jpeglib_h" = "yes"
13161 then
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13163 $as_echo_n "checking for -ljpeg... " >&6; }
13164 if ${ac_cv_lib_soname_jpeg+:} false; then :
13165 $as_echo_n "(cached) " >&6
13166 else
13167 ac_check_soname_save_LIBS=$LIBS
13168 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13170 /* end confdefs.h. */
13172 /* Override any GCC internal prototype to avoid an error.
13173 Use char because int might match the return type of a GCC
13174 builtin and then its argument prototype would still apply. */
13175 #ifdef __cplusplus
13176 extern "C"
13177 #endif
13178 char jpeg_start_decompress ();
13180 main ()
13182 return jpeg_start_decompress ();
13184 return 0;
13186 _ACEOF
13187 if ac_fn_c_try_link "$LINENO"; then :
13188 case "$LIBEXT" in
13189 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13190 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'` ;;
13191 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13192 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13193 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13194 fi ;;
13195 esac
13197 rm -f core conftest.err conftest.$ac_objext \
13198 conftest$ac_exeext conftest.$ac_ext
13199 LIBS=$ac_check_soname_save_LIBS
13201 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13203 $as_echo "not found" >&6; }
13204 JPEG_CFLAGS=""
13205 else
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13207 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13209 cat >>confdefs.h <<_ACEOF
13210 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13211 _ACEOF
13215 else
13216 JPEG_CFLAGS=""
13218 CPPFLAGS=$ac_save_CPPFLAGS
13219 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13220 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13223 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13224 case "x$with_jpeg" in
13225 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13226 xno) ;;
13227 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13228 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13229 esac
13232 if test "x$with_png" != "xno"
13233 then
13234 if ${PNG_CFLAGS:+false} :; then :
13235 if ${PKG_CONFIG+:} false; then :
13236 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13239 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13240 if ${PNG_LIBS:+false} :; then :
13241 if ${PKG_CONFIG+:} false; then :
13242 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13245 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13247 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13248 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13249 ac_save_CPPFLAGS=$CPPFLAGS
13250 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13251 for ac_header in png.h
13252 do :
13253 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13254 if test "x$ac_cv_header_png_h" = xyes; then :
13255 cat >>confdefs.h <<_ACEOF
13256 #define HAVE_PNG_H 1
13257 _ACEOF
13261 done
13263 if test "$ac_cv_header_png_h" = "yes"
13264 then
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13266 $as_echo_n "checking for -lpng... " >&6; }
13267 if ${ac_cv_lib_soname_png+:} false; then :
13268 $as_echo_n "(cached) " >&6
13269 else
13270 ac_check_soname_save_LIBS=$LIBS
13271 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13273 /* end confdefs.h. */
13275 /* Override any GCC internal prototype to avoid an error.
13276 Use char because int might match the return type of a GCC
13277 builtin and then its argument prototype would still apply. */
13278 #ifdef __cplusplus
13279 extern "C"
13280 #endif
13281 char png_create_read_struct ();
13283 main ()
13285 return png_create_read_struct ();
13287 return 0;
13289 _ACEOF
13290 if ac_fn_c_try_link "$LINENO"; then :
13291 case "$LIBEXT" in
13292 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13293 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'` ;;
13294 *) 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'`
13295 if ${ac_cv_lib_soname_png:+false} :; then :
13296 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13297 fi ;;
13298 esac
13300 rm -f core conftest.err conftest.$ac_objext \
13301 conftest$ac_exeext conftest.$ac_ext
13302 LIBS=$ac_check_soname_save_LIBS
13304 if ${ac_cv_lib_soname_png:+false} :; then :
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13306 $as_echo "not found" >&6; }
13307 PNG_CFLAGS=""
13308 else
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13310 $as_echo "$ac_cv_lib_soname_png" >&6; }
13312 cat >>confdefs.h <<_ACEOF
13313 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13314 _ACEOF
13316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13317 /* end confdefs.h. */
13318 #include <png.h>
13320 main ()
13322 typeof(png_set_expand_gray_1_2_4_to_8) *p
13324 return 0;
13326 _ACEOF
13327 if ac_fn_c_try_compile "$LINENO"; then :
13329 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13334 else
13335 PNG_CFLAGS=""
13337 CPPFLAGS=$ac_save_CPPFLAGS
13338 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13339 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13342 if test "x$ac_cv_lib_soname_png" = "x"; then :
13343 case "x$with_png" in
13344 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13345 xno) ;;
13346 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13347 This is an error since --with-png was requested." "$LINENO" 5 ;;
13348 esac
13351 if test "x$with_tiff" != "xno"
13352 then
13353 if ${TIFF_CFLAGS:+false} :; then :
13354 if ${PKG_CONFIG+:} false; then :
13355 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13359 if ${TIFF_LIBS:+false} :; then :
13360 if ${PKG_CONFIG+:} false; then :
13361 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13366 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13367 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13368 ac_save_CPPFLAGS=$CPPFLAGS
13369 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13370 for ac_header in tiffio.h
13371 do :
13372 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13373 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13374 cat >>confdefs.h <<_ACEOF
13375 #define HAVE_TIFFIO_H 1
13376 _ACEOF
13380 done
13382 if test "$ac_cv_header_tiffio_h" = "yes"
13383 then
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13385 $as_echo_n "checking for -ltiff... " >&6; }
13386 if ${ac_cv_lib_soname_tiff+:} false; then :
13387 $as_echo_n "(cached) " >&6
13388 else
13389 ac_check_soname_save_LIBS=$LIBS
13390 LIBS="-ltiff $TIFF_LIBS $LIBS"
13391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13392 /* end confdefs.h. */
13394 /* Override any GCC internal prototype to avoid an error.
13395 Use char because int might match the return type of a GCC
13396 builtin and then its argument prototype would still apply. */
13397 #ifdef __cplusplus
13398 extern "C"
13399 #endif
13400 char TIFFClientOpen ();
13402 main ()
13404 return TIFFClientOpen ();
13406 return 0;
13408 _ACEOF
13409 if ac_fn_c_try_link "$LINENO"; then :
13410 case "$LIBEXT" in
13411 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13412 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'` ;;
13413 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13414 if ${ac_cv_lib_soname_tiff:+false} :; then :
13415 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13416 fi ;;
13417 esac
13419 rm -f core conftest.err conftest.$ac_objext \
13420 conftest$ac_exeext conftest.$ac_ext
13421 LIBS=$ac_check_soname_save_LIBS
13423 if ${ac_cv_lib_soname_tiff:+false} :; then :
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13425 $as_echo "not found" >&6; }
13427 else
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13429 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13431 cat >>confdefs.h <<_ACEOF
13432 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13433 _ACEOF
13438 CPPFLAGS=$ac_save_CPPFLAGS
13439 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13440 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13443 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13444 case "x$with_tiff" in
13445 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13446 xno) ;;
13447 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13448 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13449 esac
13452 if test "x$with_mpg123" != "xno"
13453 then
13454 if ${MPG123_CFLAGS:+false} :; then :
13455 if ${PKG_CONFIG+:} false; then :
13456 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13460 if ${MPG123_LIBS:+false} :; then :
13461 if ${PKG_CONFIG+:} false; then :
13462 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13466 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13467 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13468 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13469 ac_save_CPPFLAGS=$CPPFLAGS
13470 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13471 for ac_header in mpg123.h
13472 do :
13473 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13474 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13475 cat >>confdefs.h <<_ACEOF
13476 #define HAVE_MPG123_H 1
13477 _ACEOF
13481 done
13483 if test "$ac_cv_header_mpg123_h" = "yes"
13484 then
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13486 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13487 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13488 $as_echo_n "(cached) " >&6
13489 else
13490 ac_check_lib_save_LIBS=$LIBS
13491 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13493 /* end confdefs.h. */
13495 /* Override any GCC internal prototype to avoid an error.
13496 Use char because int might match the return type of a GCC
13497 builtin and then its argument prototype would still apply. */
13498 #ifdef __cplusplus
13499 extern "C"
13500 #endif
13501 char mpg123_feed ();
13503 main ()
13505 return mpg123_feed ();
13507 return 0;
13509 _ACEOF
13510 if ac_fn_c_try_link "$LINENO"; then :
13511 ac_cv_lib_mpg123_mpg123_feed=yes
13512 else
13513 ac_cv_lib_mpg123_mpg123_feed=no
13515 rm -f core conftest.err conftest.$ac_objext \
13516 conftest$ac_exeext conftest.$ac_ext
13517 LIBS=$ac_check_lib_save_LIBS
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13520 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13521 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13523 else
13524 MPG123_LIBS=""
13527 else
13528 MPG123_CFLAGS=""
13529 MPG123_LIBS=""
13531 CPPFLAGS=$ac_save_CPPFLAGS
13532 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13533 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13536 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13537 case "x$with_mpg123" in
13538 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13539 xno) ;;
13540 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13541 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13542 esac
13544 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes -o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
13546 if test "$ac_cv_header_AL_al_h" = "yes"
13547 then
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13549 $as_echo_n "checking for -lopenal... " >&6; }
13550 if ${ac_cv_lib_soname_openal+:} false; then :
13551 $as_echo_n "(cached) " >&6
13552 else
13553 ac_check_soname_save_LIBS=$LIBS
13554 LIBS="-lopenal $LIBS"
13555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13556 /* end confdefs.h. */
13558 /* Override any GCC internal prototype to avoid an error.
13559 Use char because int might match the return type of a GCC
13560 builtin and then its argument prototype would still apply. */
13561 #ifdef __cplusplus
13562 extern "C"
13563 #endif
13564 char alGetSource3i ();
13566 main ()
13568 return alGetSource3i ();
13570 return 0;
13572 _ACEOF
13573 if ac_fn_c_try_link "$LINENO"; then :
13574 case "$LIBEXT" in
13575 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13576 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'` ;;
13577 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13578 if ${ac_cv_lib_soname_openal:+false} :; then :
13579 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13580 fi ;;
13581 esac
13583 rm -f core conftest.err conftest.$ac_objext \
13584 conftest$ac_exeext conftest.$ac_ext
13585 LIBS=$ac_check_soname_save_LIBS
13587 if ${ac_cv_lib_soname_openal:+false} :; then :
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13589 $as_echo "not found" >&6; }
13591 else
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13593 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13595 cat >>confdefs.h <<_ACEOF
13596 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13597 _ACEOF
13599 OPENAL_LIBS="-lopenal"
13601 ac_cv_lib_openal=yes
13603 cat >>confdefs.h <<_ACEOF
13604 #define HAVE_OPENAL 1
13605 _ACEOF
13609 if test "x$ac_cv_lib_openal" != xyes; then :
13610 case "x$with_openal" in
13611 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13612 xno) ;;
13613 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13614 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13615 esac
13617 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13619 if test "x$ac_cv_lib_openal" = xyes
13620 then
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13622 $as_echo_n "checking for openal-soft... " >&6; }
13623 if ${ac_cv_have_openalsoft+:} false; then :
13624 $as_echo_n "(cached) " >&6
13625 else
13626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13627 /* end confdefs.h. */
13628 #include <AL/al.h>
13629 #include <AL/alc.h>
13630 #include <AL/alext.h>
13631 LPALCRENDERSAMPLESSOFT x;
13633 main ()
13637 return 0;
13639 _ACEOF
13640 if ac_fn_c_try_compile "$LINENO"; then :
13641 ac_cv_have_openalsoft=yes
13642 else
13643 ac_cv_have_openalsoft=no
13645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13648 $as_echo "$ac_cv_have_openalsoft" >&6; }
13650 if test "x$ac_cv_have_openalsoft" != xyes
13651 then
13652 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13653 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13654 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13655 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13656 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13657 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13658 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13659 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13660 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13661 enable_xapofx1_1=${enable_xapofx1_1:-no}
13662 enable_xapofx1_2=${enable_xapofx1_2:-no}
13663 enable_xapofx1_3=${enable_xapofx1_3:-no}
13664 enable_xapofx1_4=${enable_xapofx1_4:-no}
13665 enable_xapofx1_5=${enable_xapofx1_5:-no}
13666 enable_xaudio2_0=${enable_xaudio2_0:-no}
13667 enable_xaudio2_1=${enable_xaudio2_1:-no}
13668 enable_xaudio2_2=${enable_xaudio2_2:-no}
13669 enable_xaudio2_3=${enable_xaudio2_3:-no}
13670 enable_xaudio2_4=${enable_xaudio2_4:-no}
13671 enable_xaudio2_5=${enable_xaudio2_5:-no}
13672 enable_xaudio2_6=${enable_xaudio2_6:-no}
13673 enable_xaudio2_7=${enable_xaudio2_7:-no}
13674 enable_xaudio2_8=${enable_xaudio2_8:-no}
13675 enable_xaudio2_9=${enable_xaudio2_9:-no}
13678 if test "$ac_cv_header_kstat_h" = "yes"
13679 then
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13681 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13682 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13683 $as_echo_n "(cached) " >&6
13684 else
13685 ac_check_lib_save_LIBS=$LIBS
13686 LIBS="-lkstat $LIBS"
13687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13688 /* end confdefs.h. */
13690 /* Override any GCC internal prototype to avoid an error.
13691 Use char because int might match the return type of a GCC
13692 builtin and then its argument prototype would still apply. */
13693 #ifdef __cplusplus
13694 extern "C"
13695 #endif
13696 char kstat_open ();
13698 main ()
13700 return kstat_open ();
13702 return 0;
13704 _ACEOF
13705 if ac_fn_c_try_link "$LINENO"; then :
13706 ac_cv_lib_kstat_kstat_open=yes
13707 else
13708 ac_cv_lib_kstat_kstat_open=no
13710 rm -f core conftest.err conftest.$ac_objext \
13711 conftest$ac_exeext conftest.$ac_ext
13712 LIBS=$ac_check_lib_save_LIBS
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13715 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13716 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13718 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13720 KSTAT_LIBS="-lkstat"
13726 if test "$ac_cv_header_libprocstat_h" = "yes"
13727 then
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13729 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13730 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13731 $as_echo_n "(cached) " >&6
13732 else
13733 ac_check_lib_save_LIBS=$LIBS
13734 LIBS="-lprocstat $LIBS"
13735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13736 /* end confdefs.h. */
13738 /* Override any GCC internal prototype to avoid an error.
13739 Use char because int might match the return type of a GCC
13740 builtin and then its argument prototype would still apply. */
13741 #ifdef __cplusplus
13742 extern "C"
13743 #endif
13744 char procstat_open_sysctl ();
13746 main ()
13748 return procstat_open_sysctl ();
13750 return 0;
13752 _ACEOF
13753 if ac_fn_c_try_link "$LINENO"; then :
13754 ac_cv_lib_procstat_procstat_open_sysctl=yes
13755 else
13756 ac_cv_lib_procstat_procstat_open_sysctl=no
13758 rm -f core conftest.err conftest.$ac_objext \
13759 conftest$ac_exeext conftest.$ac_ext
13760 LIBS=$ac_check_lib_save_LIBS
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13763 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13764 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13766 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13768 PROCSTAT_LIBS="-lprocstat"
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13775 $as_echo_n "checking for -lodbc... " >&6; }
13776 if ${ac_cv_lib_soname_odbc+:} false; then :
13777 $as_echo_n "(cached) " >&6
13778 else
13779 ac_check_soname_save_LIBS=$LIBS
13780 LIBS="-lodbc $LIBS"
13781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 /* end confdefs.h. */
13784 /* Override any GCC internal prototype to avoid an error.
13785 Use char because int might match the return type of a GCC
13786 builtin and then its argument prototype would still apply. */
13787 #ifdef __cplusplus
13788 extern "C"
13789 #endif
13790 char SQLConnect ();
13792 main ()
13794 return SQLConnect ();
13796 return 0;
13798 _ACEOF
13799 if ac_fn_c_try_link "$LINENO"; then :
13800 case "$LIBEXT" in
13801 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13802 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'` ;;
13803 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13804 if ${ac_cv_lib_soname_odbc:+false} :; then :
13805 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13806 fi ;;
13807 esac
13809 rm -f core conftest.err conftest.$ac_objext \
13810 conftest$ac_exeext conftest.$ac_ext
13811 LIBS=$ac_check_soname_save_LIBS
13813 if ${ac_cv_lib_soname_odbc:+false} :; then :
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13815 $as_echo "not found" >&6; }
13816 cat >>confdefs.h <<_ACEOF
13817 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13818 _ACEOF
13820 else
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13822 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13824 cat >>confdefs.h <<_ACEOF
13825 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13826 _ACEOF
13831 if test "x$with_netapi" != "xno"
13832 then
13833 if ${NETAPI_CFLAGS:+false} :; then :
13834 if ${PKG_CONFIG+:} false; then :
13835 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13839 if ${NETAPI_LIBS:+false} :; then :
13840 if ${PKG_CONFIG+:} false; then :
13841 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13846 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13847 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13848 ac_save_CPPFLAGS=$CPPFLAGS
13849 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13851 $as_echo_n "checking for -lnetapi... " >&6; }
13852 if ${ac_cv_lib_soname_netapi+:} false; then :
13853 $as_echo_n "(cached) " >&6
13854 else
13855 ac_check_soname_save_LIBS=$LIBS
13856 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13860 /* Override any GCC internal prototype to avoid an error.
13861 Use char because int might match the return type of a GCC
13862 builtin and then its argument prototype would still apply. */
13863 #ifdef __cplusplus
13864 extern "C"
13865 #endif
13866 char libnetapi_init ();
13868 main ()
13870 return libnetapi_init ();
13872 return 0;
13874 _ACEOF
13875 if ac_fn_c_try_link "$LINENO"; then :
13876 case "$LIBEXT" in
13877 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13878 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'` ;;
13879 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13880 if ${ac_cv_lib_soname_netapi:+false} :; then :
13881 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13882 fi ;;
13883 esac
13885 rm -f core conftest.err conftest.$ac_objext \
13886 conftest$ac_exeext conftest.$ac_ext
13887 LIBS=$ac_check_soname_save_LIBS
13889 if ${ac_cv_lib_soname_netapi:+false} :; then :
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13891 $as_echo "not found" >&6; }
13892 cat >>confdefs.h <<_ACEOF
13893 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13894 _ACEOF
13896 else
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13898 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13900 cat >>confdefs.h <<_ACEOF
13901 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13902 _ACEOF
13906 CPPFLAGS=$ac_save_CPPFLAGS
13907 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13908 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13912 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13913 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13914 then
13915 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13919 EXTRACFLAGS=""
13921 if test "x${GCC}" = "xyes"
13922 then
13923 EXTRACFLAGS="-Wall -pipe"
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13926 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13927 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13928 $as_echo_n "(cached) " >&6
13929 else
13930 if test "$cross_compiling" = yes; then :
13931 ac_cv_c_gcc_strength_bug="no"
13932 else
13933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13934 /* end confdefs.h. */
13935 int L[4] = {0,1,2,3};
13937 main ()
13939 static int Array[3];
13940 unsigned int B = 3;
13941 int i;
13942 for(i=0; i<B; i++) Array[i] = i - 3;
13943 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13944 L[i] = 4;
13945 return (Array[1] != -2 || L[2] != 3)
13947 return 0;
13949 _ACEOF
13950 if ac_fn_c_try_run "$LINENO"; then :
13951 ac_cv_c_gcc_strength_bug="no"
13952 else
13953 ac_cv_c_gcc_strength_bug="yes"
13955 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13956 conftest.$ac_objext conftest.beam conftest.$ac_ext
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13961 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13962 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13963 then
13964 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13968 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13969 if ${ac_cv_cflags__fno_builtin+:} false; then :
13970 $as_echo_n "(cached) " >&6
13971 else
13972 ac_wine_try_cflags_saved=$CFLAGS
13973 CFLAGS="$CFLAGS -fno-builtin"
13974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13976 int main(int argc, char **argv) { return 0; }
13977 _ACEOF
13978 if ac_fn_c_try_link "$LINENO"; then :
13979 ac_cv_cflags__fno_builtin=yes
13980 else
13981 ac_cv_cflags__fno_builtin=no
13983 rm -f core conftest.err conftest.$ac_objext \
13984 conftest$ac_exeext conftest.$ac_ext
13985 CFLAGS=$ac_wine_try_cflags_saved
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13988 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13989 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13990 BUILTINFLAG="-fno-builtin"
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13994 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13995 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13996 $as_echo_n "(cached) " >&6
13997 else
13998 ac_wine_try_cflags_saved=$CFLAGS
13999 CFLAGS="$CFLAGS -fno-strict-aliasing"
14000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14002 int main(int argc, char **argv) { return 0; }
14003 _ACEOF
14004 if ac_fn_c_try_link "$LINENO"; then :
14005 ac_cv_cflags__fno_strict_aliasing=yes
14006 else
14007 ac_cv_cflags__fno_strict_aliasing=no
14009 rm -f core conftest.err conftest.$ac_objext \
14010 conftest$ac_exeext conftest.$ac_ext
14011 CFLAGS=$ac_wine_try_cflags_saved
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14014 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14015 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14016 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14019 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14020 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14021 $as_echo_n "(cached) " >&6
14022 else
14023 ac_wine_try_cflags_saved=$CFLAGS
14024 CFLAGS="$CFLAGS -fexcess-precision=standard"
14025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14026 /* end confdefs.h. */
14027 int main(int argc, char **argv) { return 0; }
14028 _ACEOF
14029 if ac_fn_c_try_link "$LINENO"; then :
14030 ac_cv_cflags__fexcess_precision_standard=yes
14031 else
14032 ac_cv_cflags__fexcess_precision_standard=no
14034 rm -f core conftest.err conftest.$ac_objext \
14035 conftest$ac_exeext conftest.$ac_ext
14036 CFLAGS=$ac_wine_try_cflags_saved
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14039 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14040 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14041 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14044 saved_CFLAGS=$CFLAGS
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14046 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14047 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14048 $as_echo_n "(cached) " >&6
14049 else
14050 ac_wine_try_cflags_saved=$CFLAGS
14051 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14054 int main(int argc, char **argv) { return 0; }
14055 _ACEOF
14056 if ac_fn_c_try_link "$LINENO"; then :
14057 ac_cv_cflags__Werror_unknown_warning_option=yes
14058 else
14059 ac_cv_cflags__Werror_unknown_warning_option=no
14061 rm -f core conftest.err conftest.$ac_objext \
14062 conftest$ac_exeext conftest.$ac_ext
14063 CFLAGS=$ac_wine_try_cflags_saved
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14066 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14067 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14068 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14071 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14072 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14073 $as_echo_n "(cached) " >&6
14074 else
14075 ac_wine_try_cflags_saved=$CFLAGS
14076 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078 /* end confdefs.h. */
14079 int main(int argc, char **argv) { return 0; }
14080 _ACEOF
14081 if ac_fn_c_try_link "$LINENO"; then :
14082 ac_cv_cflags__Wdeclaration_after_statement=yes
14083 else
14084 ac_cv_cflags__Wdeclaration_after_statement=no
14086 rm -f core conftest.err conftest.$ac_objext \
14087 conftest$ac_exeext conftest.$ac_ext
14088 CFLAGS=$ac_wine_try_cflags_saved
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14091 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14092 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14093 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14096 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14097 if ${ac_cv_cflags__Wempty_body+:} false; then :
14098 $as_echo_n "(cached) " >&6
14099 else
14100 ac_wine_try_cflags_saved=$CFLAGS
14101 CFLAGS="$CFLAGS -Wempty-body"
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__Wempty_body=yes
14108 else
14109 ac_cv_cflags__Wempty_body=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__Wempty_body" >&5
14116 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14117 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14118 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14121 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14122 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14123 $as_echo_n "(cached) " >&6
14124 else
14125 ac_wine_try_cflags_saved=$CFLAGS
14126 CFLAGS="$CFLAGS -Wignored-qualifiers"
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__Wignored_qualifiers=yes
14133 else
14134 ac_cv_cflags__Wignored_qualifiers=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__Wignored_qualifiers" >&5
14141 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14142 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14143 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14146 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14147 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14148 $as_echo_n "(cached) " >&6
14149 else
14150 ac_wine_try_cflags_saved=$CFLAGS
14151 CFLAGS="$CFLAGS -Wshift-overflow=2"
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__Wshift_overflow_2=yes
14158 else
14159 ac_cv_cflags__Wshift_overflow_2=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__Wshift_overflow_2" >&5
14166 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14167 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14168 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14171 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14172 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14173 $as_echo_n "(cached) " >&6
14174 else
14175 ac_wine_try_cflags_saved=$CFLAGS
14176 CFLAGS="$CFLAGS -Wstrict-prototypes"
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__Wstrict_prototypes=yes
14183 else
14184 ac_cv_cflags__Wstrict_prototypes=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__Wstrict_prototypes" >&5
14191 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14192 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14193 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14196 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14197 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14198 $as_echo_n "(cached) " >&6
14199 else
14200 ac_wine_try_cflags_saved=$CFLAGS
14201 CFLAGS="$CFLAGS -Wtype-limits"
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__Wtype_limits=yes
14208 else
14209 ac_cv_cflags__Wtype_limits=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__Wtype_limits" >&5
14216 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14217 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14218 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14221 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14222 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14223 $as_echo_n "(cached) " >&6
14224 else
14225 ac_wine_try_cflags_saved=$CFLAGS
14226 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
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__Wunused_but_set_parameter=yes
14233 else
14234 ac_cv_cflags__Wunused_but_set_parameter=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__Wunused_but_set_parameter" >&5
14241 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14242 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14243 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14246 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14247 if ${ac_cv_cflags__Wvla+:} false; then :
14248 $as_echo_n "(cached) " >&6
14249 else
14250 ac_wine_try_cflags_saved=$CFLAGS
14251 CFLAGS="$CFLAGS -Wvla"
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__Wvla=yes
14258 else
14259 ac_cv_cflags__Wvla=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__Wvla" >&5
14266 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14267 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14268 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14271 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14272 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14273 $as_echo_n "(cached) " >&6
14274 else
14275 ac_wine_try_cflags_saved=$CFLAGS
14276 CFLAGS="$CFLAGS -Wwrite-strings"
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__Wwrite_strings=yes
14283 else
14284 ac_cv_cflags__Wwrite_strings=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__Wwrite_strings" >&5
14291 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14292 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14293 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14297 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14298 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14299 $as_echo_n "(cached) " >&6
14300 else
14301 ac_wine_try_cflags_saved=$CFLAGS
14302 CFLAGS="$CFLAGS -Wpointer-arith"
14303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14305 int main(int argc, char **argv) { return 0; }
14306 _ACEOF
14307 if ac_fn_c_try_link "$LINENO"; then :
14308 ac_cv_cflags__Wpointer_arith=yes
14309 else
14310 ac_cv_cflags__Wpointer_arith=no
14312 rm -f core conftest.err conftest.$ac_objext \
14313 conftest$ac_exeext conftest.$ac_ext
14314 CFLAGS=$ac_wine_try_cflags_saved
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14317 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14318 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14319 saved_string_h_CFLAGS=$CFLAGS
14320 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14322 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14323 if ${ac_cv_c_string_h_warnings+:} false; then :
14324 $as_echo_n "(cached) " >&6
14325 else
14326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14327 /* end confdefs.h. */
14328 #include <string.h>
14330 main ()
14334 return 0;
14336 _ACEOF
14337 if ac_fn_c_try_compile "$LINENO"; then :
14338 ac_cv_c_string_h_warnings=no
14339 else
14340 ac_cv_c_string_h_warnings=yes
14342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14345 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14346 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14347 CFLAGS=$saved_string_h_CFLAGS
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14351 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14352 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14353 $as_echo_n "(cached) " >&6
14354 else
14355 ac_wine_try_cflags_saved=$CFLAGS
14356 CFLAGS="$CFLAGS -Wlogical-op"
14357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14359 int main(int argc, char **argv) { return 0; }
14360 _ACEOF
14361 if ac_fn_c_try_link "$LINENO"; then :
14362 ac_cv_cflags__Wlogical_op=yes
14363 else
14364 ac_cv_cflags__Wlogical_op=no
14366 rm -f core conftest.err conftest.$ac_objext \
14367 conftest$ac_exeext conftest.$ac_ext
14368 CFLAGS=$ac_wine_try_cflags_saved
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14371 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14372 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14373 saved_string_h_CFLAGS=$CFLAGS
14374 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14376 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14377 if ${ac_cv_c_logicalop_noisy+:} false; then :
14378 $as_echo_n "(cached) " >&6
14379 else
14380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14382 #include <string.h>
14383 char*f(const char *h,char n) {return strchr(h,n);}
14385 main ()
14389 return 0;
14391 _ACEOF
14392 if ac_fn_c_try_compile "$LINENO"; then :
14393 ac_cv_c_logicalop_noisy=no
14394 else
14395 ac_cv_c_logicalop_noisy=yes
14397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14400 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14401 CFLAGS=$saved_string_h_CFLAGS
14402 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14405 CFLAGS=$saved_CFLAGS
14407 for ac_flag in $CFLAGS; do
14408 case $ac_flag in
14409 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14410 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14411 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14412 $as_echo_n "(cached) " >&6
14413 else
14414 ac_wine_try_cflags_saved=$CFLAGS
14415 CFLAGS="$CFLAGS -gdwarf-2"
14416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14417 /* end confdefs.h. */
14418 int main(int argc, char **argv) { return 0; }
14419 _ACEOF
14420 if ac_fn_c_try_link "$LINENO"; then :
14421 ac_cv_cflags__gdwarf_2=yes
14422 else
14423 ac_cv_cflags__gdwarf_2=no
14425 rm -f core conftest.err conftest.$ac_objext \
14426 conftest$ac_exeext conftest.$ac_ext
14427 CFLAGS=$ac_wine_try_cflags_saved
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14430 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14431 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14432 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14435 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14436 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14437 $as_echo_n "(cached) " >&6
14438 else
14439 ac_wine_try_cflags_saved=$CFLAGS
14440 CFLAGS="$CFLAGS -gstrict-dwarf"
14441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14443 int main(int argc, char **argv) { return 0; }
14444 _ACEOF
14445 if ac_fn_c_try_link "$LINENO"; then :
14446 ac_cv_cflags__gstrict_dwarf=yes
14447 else
14448 ac_cv_cflags__gstrict_dwarf=no
14450 rm -f core conftest.err conftest.$ac_objext \
14451 conftest$ac_exeext conftest.$ac_ext
14452 CFLAGS=$ac_wine_try_cflags_saved
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14455 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14456 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14457 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14458 fi ;;
14459 esac
14460 done
14462 case $host_cpu in
14463 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14464 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14465 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14466 $as_echo_n "(cached) " >&6
14467 else
14468 ac_wine_try_cflags_saved=$CFLAGS
14469 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14472 int main(int argc, char **argv) { return 0; }
14473 _ACEOF
14474 if ac_fn_c_try_link "$LINENO"; then :
14475 ac_cv_cflags__fno_omit_frame_pointer=yes
14476 else
14477 ac_cv_cflags__fno_omit_frame_pointer=no
14479 rm -f core conftest.err conftest.$ac_objext \
14480 conftest$ac_exeext conftest.$ac_ext
14481 CFLAGS=$ac_wine_try_cflags_saved
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14484 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14485 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14486 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14487 fi ;;
14488 esac
14490 case $host in
14491 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14492 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14493 if ${ac_cv_cflags__Wno_format+:} false; then :
14494 $as_echo_n "(cached) " >&6
14495 else
14496 ac_wine_try_cflags_saved=$CFLAGS
14497 CFLAGS="$CFLAGS -Wno-format"
14498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14500 int main(int argc, char **argv) { return 0; }
14501 _ACEOF
14502 if ac_fn_c_try_link "$LINENO"; then :
14503 ac_cv_cflags__Wno_format=yes
14504 else
14505 ac_cv_cflags__Wno_format=no
14507 rm -f core conftest.err conftest.$ac_objext \
14508 conftest$ac_exeext conftest.$ac_ext
14509 CFLAGS=$ac_wine_try_cflags_saved
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14512 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14513 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14514 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14515 fi ;;
14516 esac
14518 if test "x$enable_maintainer_mode" = "xyes"
14519 then
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14521 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14522 if ${ac_cv_cflags__Werror+:} false; then :
14523 $as_echo_n "(cached) " >&6
14524 else
14525 ac_wine_try_cflags_saved=$CFLAGS
14526 CFLAGS="$CFLAGS -Werror"
14527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14528 /* end confdefs.h. */
14529 int main(int argc, char **argv) { return 0; }
14530 _ACEOF
14531 if ac_fn_c_try_link "$LINENO"; then :
14532 ac_cv_cflags__Werror=yes
14533 else
14534 ac_cv_cflags__Werror=no
14536 rm -f core conftest.err conftest.$ac_objext \
14537 conftest$ac_exeext conftest.$ac_ext
14538 CFLAGS=$ac_wine_try_cflags_saved
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14541 $as_echo "$ac_cv_cflags__Werror" >&6; }
14542 if test "x$ac_cv_cflags__Werror" = xyes; then :
14543 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14547 saved_CFLAGS="$CFLAGS"
14548 CFLAGS="$CFLAGS -Werror"
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14550 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14551 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14552 $as_echo_n "(cached) " >&6
14553 else
14554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14555 /* end confdefs.h. */
14556 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14558 main ()
14562 return 0;
14564 _ACEOF
14565 if ac_fn_c_try_compile "$LINENO"; then :
14566 ac_cv_have_ms_hook_prologue="yes"
14567 else
14568 ac_cv_have_ms_hook_prologue="no"
14570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14573 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14574 CFLAGS="$saved_CFLAGS"
14575 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14576 then
14578 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14580 else
14581 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14588 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14589 if ${ac_cv_c_fortify_enabled+:} false; then :
14590 $as_echo_n "(cached) " >&6
14591 else
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14594 #include <string.h>
14596 main ()
14598 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14599 #error Fortify enabled
14600 #endif
14602 return 0;
14604 _ACEOF
14605 if ac_fn_c_try_compile "$LINENO"; then :
14606 ac_cv_c_fortify_enabled=no
14607 else
14608 ac_cv_c_fortify_enabled=yes
14610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14613 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14614 if test "$ac_cv_c_fortify_enabled" = yes
14615 then
14616 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14621 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14622 if ${ac_cv_c_extern_prefix+:} false; then :
14623 $as_echo_n "(cached) " >&6
14624 else
14625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14627 extern int ac_test;
14629 main ()
14631 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14633 return 0;
14635 _ACEOF
14636 if ac_fn_c_try_link "$LINENO"; then :
14637 ac_cv_c_extern_prefix="yes"
14638 else
14639 ac_cv_c_extern_prefix="no"
14641 rm -f core conftest.err conftest.$ac_objext \
14642 conftest$ac_exeext conftest.$ac_ext
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14645 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14647 case $host_cpu in
14648 *i[3456789]86*)
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14650 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14651 if ${ac_cv_c_stdcall_suffix+:} false; then :
14652 $as_echo_n "(cached) " >&6
14653 else
14654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14656 #ifndef _MSC_VER
14657 #define __stdcall __attribute__((__stdcall__))
14658 #endif
14659 int __stdcall ac_test(int i) { return i; }
14661 main ()
14663 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14665 return 0;
14667 _ACEOF
14668 if ac_fn_c_try_link "$LINENO"; then :
14669 ac_cv_c_stdcall_suffix="yes"
14670 else
14671 ac_cv_c_stdcall_suffix="no"
14673 rm -f core conftest.err conftest.$ac_objext \
14674 conftest$ac_exeext conftest.$ac_ext
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14677 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14678 *) ac_cv_c_stdcall_suffix="no" ;;
14679 esac
14682 if test "$ac_cv_c_extern_prefix" = "yes"
14683 then
14684 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14686 asm_name_prefix="_"
14687 else
14688 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14690 asm_name_prefix=""
14694 if test "$ac_cv_c_stdcall_suffix" = "yes"
14695 then
14696 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14698 else
14699 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14705 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14706 if ${ac_cv_asm_func_def+:} false; then :
14707 $as_echo_n "(cached) " >&6
14708 else
14709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14710 /* end confdefs.h. */
14713 main ()
14715 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14717 return 0;
14719 _ACEOF
14720 if ac_fn_c_try_link "$LINENO"; then :
14721 ac_cv_asm_func_def=".def"
14722 else
14723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14724 /* end confdefs.h. */
14727 main ()
14729 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14731 return 0;
14733 _ACEOF
14734 if ac_fn_c_try_link "$LINENO"; then :
14735 ac_cv_asm_func_def=".type @function"
14736 else
14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14741 main ()
14743 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14745 return 0;
14747 _ACEOF
14748 if ac_fn_c_try_link "$LINENO"; then :
14749 ac_cv_asm_func_def=".type 2"
14750 else
14751 ac_cv_asm_func_def="unknown"
14753 rm -f core conftest.err conftest.$ac_objext \
14754 conftest$ac_exeext conftest.$ac_ext
14756 rm -f core conftest.err conftest.$ac_objext \
14757 conftest$ac_exeext conftest.$ac_ext
14759 rm -f core conftest.err conftest.$ac_objext \
14760 conftest$ac_exeext conftest.$ac_ext
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14763 $as_echo "$ac_cv_asm_func_def" >&6; }
14766 case "$ac_cv_asm_func_def" in
14767 ".def")
14768 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14770 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14771 ".type @function")
14772 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14774 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14775 ".type 2")
14776 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14778 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14780 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14782 asm_func_header="" ;;
14783 esac
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14786 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14787 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14788 $as_echo_n "(cached) " >&6
14789 else
14790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14792 asm(".text\n\t.long 0");
14794 main ()
14798 return 0;
14800 _ACEOF
14801 if ac_fn_c_try_compile "$LINENO"; then :
14802 ac_cv_c_asm_outside_funcs="yes"
14803 else
14804 ac_cv_c_asm_outside_funcs="no"
14806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14809 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14812 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14813 if ${ac_cv_c_dot_previous+:} false; then :
14814 $as_echo_n "(cached) " >&6
14815 else
14816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14817 /* end confdefs.h. */
14820 main ()
14822 asm(".text\nac_test:\t.long 0\n\t.previous");
14824 return 0;
14826 _ACEOF
14827 if ac_fn_c_try_link "$LINENO"; then :
14828 ac_cv_c_dot_previous="yes"
14829 else
14830 ac_cv_c_dot_previous="no"
14832 rm -f core conftest.err conftest.$ac_objext \
14833 conftest$ac_exeext conftest.$ac_ext
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14836 $as_echo "$ac_cv_c_dot_previous" >&6; }
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14839 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14840 if ${ac_cv_c_cfi_support+:} false; then :
14841 $as_echo_n "(cached) " >&6
14842 else
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14845 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14847 main ()
14851 return 0;
14853 _ACEOF
14854 if ac_fn_c_try_compile "$LINENO"; then :
14855 ac_cv_c_cfi_support="yes"
14856 else
14857 ac_cv_c_cfi_support="no"
14859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14862 $as_echo "$ac_cv_c_cfi_support" >&6; }
14864 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14865 asm_func_trailer=""
14866 if test "$ac_cv_c_dot_previous" = "yes"
14867 then
14868 asm_func_trailer="\\n\\t.previous"
14870 if test "$ac_cv_c_cfi_support" = "yes"
14871 then
14872 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14873 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14875 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14877 UNWINDFLAGS=-fasynchronous-unwind-tables
14879 else
14880 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14882 if test "x$enable_win64" = "xyes"
14883 then
14884 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14888 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14891 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14892 then
14893 cat >>confdefs.h <<_ACEOF
14894 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14895 _ACEOF
14897 else
14898 cat >>confdefs.h <<_ACEOF
14899 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14900 _ACEOF
14904 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14907 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14911 case $build_os in
14912 cygwin*|mingw32*) TOOLSEXT=".exe"
14914 esac
14916 case $host_os in
14917 linux-android*) ;;
14918 linux*)
14919 case $host_cpu in
14920 *i[3456789]86*|x86_64*)
14921 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
14922 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14924 esac
14926 esac
14929 ac_save_CFLAGS="$CFLAGS"
14930 CFLAGS="$CFLAGS $BUILTINFLAG"
14931 for ac_func in \
14932 __res_get_state \
14933 __res_getservers \
14934 _finite \
14935 _isnan \
14936 _pclose \
14937 _popen \
14938 _snprintf \
14939 _spawnvp \
14940 _strdup \
14941 _stricmp \
14942 _strnicmp \
14943 _strtoi64 \
14944 _strtoui64 \
14945 _vsnprintf \
14946 asctime_r \
14947 chsize \
14948 dlopen \
14949 epoll_create \
14950 ffs \
14951 finitef \
14952 fnmatch \
14953 fork \
14954 fpclass \
14955 fstatfs \
14956 fstatvfs \
14957 ftruncate \
14958 futimens \
14959 futimes \
14960 futimesat \
14961 getattrlist \
14962 getdirentries \
14963 getopt_long_only \
14964 getpwuid \
14965 gettimeofday \
14966 getuid \
14967 if_nameindex \
14968 isnanf \
14969 kqueue \
14970 lstat \
14971 memmove \
14972 mmap \
14973 pclose \
14974 pipe2 \
14975 poll \
14976 popen \
14977 port_create \
14978 prctl \
14979 pread \
14980 proc_pidinfo \
14981 pwrite \
14982 readdir \
14983 readlink \
14984 sched_yield \
14985 select \
14986 setproctitle \
14987 setprogname \
14988 setrlimit \
14989 settimeofday \
14990 sigaltstack \
14991 sigprocmask \
14992 snprintf \
14993 statfs \
14994 statvfs \
14995 strcasecmp \
14996 strdup \
14997 strerror \
14998 strncasecmp \
14999 strtold \
15000 strtoll \
15001 strtoull \
15002 symlink \
15003 tcdrain \
15004 thr_kill2 \
15005 timegm \
15006 usleep \
15007 vsnprintf
15009 do :
15010 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15012 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15013 cat >>confdefs.h <<_ACEOF
15014 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15015 _ACEOF
15018 done
15020 CFLAGS="$ac_save_CFLAGS"
15022 if test "$ac_cv_func_dlopen" = no
15023 then
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15025 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15026 if ${ac_cv_lib_dl_dlopen+:} false; then :
15027 $as_echo_n "(cached) " >&6
15028 else
15029 ac_check_lib_save_LIBS=$LIBS
15030 LIBS="-ldl $LIBS"
15031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15034 /* Override any GCC internal prototype to avoid an error.
15035 Use char because int might match the return type of a GCC
15036 builtin and then its argument prototype would still apply. */
15037 #ifdef __cplusplus
15038 extern "C"
15039 #endif
15040 char dlopen ();
15042 main ()
15044 return dlopen ();
15046 return 0;
15048 _ACEOF
15049 if ac_fn_c_try_link "$LINENO"; then :
15050 ac_cv_lib_dl_dlopen=yes
15051 else
15052 ac_cv_lib_dl_dlopen=no
15054 rm -f core conftest.err conftest.$ac_objext \
15055 conftest$ac_exeext conftest.$ac_ext
15056 LIBS=$ac_check_lib_save_LIBS
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15059 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15060 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15061 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15062 DL_LIBS="-ldl"
15067 ac_wine_check_funcs_save_LIBS="$LIBS"
15068 LIBS="$LIBS $DL_LIBS"
15069 for ac_func in dladdr
15070 do :
15071 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15072 if test "x$ac_cv_func_dladdr" = xyes; then :
15073 cat >>confdefs.h <<_ACEOF
15074 #define HAVE_DLADDR 1
15075 _ACEOF
15078 done
15080 LIBS="$ac_wine_check_funcs_save_LIBS"
15082 if test "$ac_cv_func_poll" = no
15083 then
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15085 $as_echo_n "checking for poll in -lpoll... " >&6; }
15086 if ${ac_cv_lib_poll_poll+:} false; then :
15087 $as_echo_n "(cached) " >&6
15088 else
15089 ac_check_lib_save_LIBS=$LIBS
15090 LIBS="-lpoll $LIBS"
15091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15092 /* end confdefs.h. */
15094 /* Override any GCC internal prototype to avoid an error.
15095 Use char because int might match the return type of a GCC
15096 builtin and then its argument prototype would still apply. */
15097 #ifdef __cplusplus
15098 extern "C"
15099 #endif
15100 char poll ();
15102 main ()
15104 return poll ();
15106 return 0;
15108 _ACEOF
15109 if ac_fn_c_try_link "$LINENO"; then :
15110 ac_cv_lib_poll_poll=yes
15111 else
15112 ac_cv_lib_poll_poll=no
15114 rm -f core conftest.err conftest.$ac_objext \
15115 conftest$ac_exeext conftest.$ac_ext
15116 LIBS=$ac_check_lib_save_LIBS
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15119 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15120 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15121 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15122 POLL_LIBS="-lpoll"
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15129 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15130 if ${ac_cv_search_gethostbyname+:} false; then :
15131 $as_echo_n "(cached) " >&6
15132 else
15133 ac_func_search_save_LIBS=$LIBS
15134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15137 /* Override any GCC internal prototype to avoid an error.
15138 Use char because int might match the return type of a GCC
15139 builtin and then its argument prototype would still apply. */
15140 #ifdef __cplusplus
15141 extern "C"
15142 #endif
15143 char gethostbyname ();
15145 main ()
15147 return gethostbyname ();
15149 return 0;
15151 _ACEOF
15152 for ac_lib in '' nsl; do
15153 if test -z "$ac_lib"; then
15154 ac_res="none required"
15155 else
15156 ac_res=-l$ac_lib
15157 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15159 if ac_fn_c_try_link "$LINENO"; then :
15160 ac_cv_search_gethostbyname=$ac_res
15162 rm -f core conftest.err conftest.$ac_objext \
15163 conftest$ac_exeext
15164 if ${ac_cv_search_gethostbyname+:} false; then :
15165 break
15167 done
15168 if ${ac_cv_search_gethostbyname+:} false; then :
15170 else
15171 ac_cv_search_gethostbyname=no
15173 rm conftest.$ac_ext
15174 LIBS=$ac_func_search_save_LIBS
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15177 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15178 ac_res=$ac_cv_search_gethostbyname
15179 if test "$ac_res" != no; then :
15180 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15186 $as_echo_n "checking for library containing connect... " >&6; }
15187 if ${ac_cv_search_connect+:} false; then :
15188 $as_echo_n "(cached) " >&6
15189 else
15190 ac_func_search_save_LIBS=$LIBS
15191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15192 /* end confdefs.h. */
15194 /* Override any GCC internal prototype to avoid an error.
15195 Use char because int might match the return type of a GCC
15196 builtin and then its argument prototype would still apply. */
15197 #ifdef __cplusplus
15198 extern "C"
15199 #endif
15200 char connect ();
15202 main ()
15204 return connect ();
15206 return 0;
15208 _ACEOF
15209 for ac_lib in '' socket; do
15210 if test -z "$ac_lib"; then
15211 ac_res="none required"
15212 else
15213 ac_res=-l$ac_lib
15214 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15216 if ac_fn_c_try_link "$LINENO"; then :
15217 ac_cv_search_connect=$ac_res
15219 rm -f core conftest.err conftest.$ac_objext \
15220 conftest$ac_exeext
15221 if ${ac_cv_search_connect+:} false; then :
15222 break
15224 done
15225 if ${ac_cv_search_connect+:} false; then :
15227 else
15228 ac_cv_search_connect=no
15230 rm conftest.$ac_ext
15231 LIBS=$ac_func_search_save_LIBS
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15234 $as_echo "$ac_cv_search_connect" >&6; }
15235 ac_res=$ac_cv_search_connect
15236 if test "$ac_res" != no; then :
15237 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15243 $as_echo_n "checking for library containing inet_aton... " >&6; }
15244 if ${ac_cv_search_inet_aton+:} false; then :
15245 $as_echo_n "(cached) " >&6
15246 else
15247 ac_func_search_save_LIBS=$LIBS
15248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15249 /* end confdefs.h. */
15251 /* Override any GCC internal prototype to avoid an error.
15252 Use char because int might match the return type of a GCC
15253 builtin and then its argument prototype would still apply. */
15254 #ifdef __cplusplus
15255 extern "C"
15256 #endif
15257 char inet_aton ();
15259 main ()
15261 return inet_aton ();
15263 return 0;
15265 _ACEOF
15266 for ac_lib in '' resolv; do
15267 if test -z "$ac_lib"; then
15268 ac_res="none required"
15269 else
15270 ac_res=-l$ac_lib
15271 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15273 if ac_fn_c_try_link "$LINENO"; then :
15274 ac_cv_search_inet_aton=$ac_res
15276 rm -f core conftest.err conftest.$ac_objext \
15277 conftest$ac_exeext
15278 if ${ac_cv_search_inet_aton+:} false; then :
15279 break
15281 done
15282 if ${ac_cv_search_inet_aton+:} false; then :
15284 else
15285 ac_cv_search_inet_aton=no
15287 rm conftest.$ac_ext
15288 LIBS=$ac_func_search_save_LIBS
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15291 $as_echo "$ac_cv_search_inet_aton" >&6; }
15292 ac_res=$ac_cv_search_inet_aton
15293 if test "$ac_res" != no; then :
15294 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15299 for ac_func in \
15300 getaddrinfo \
15301 getnameinfo \
15302 getnetbyname \
15303 getprotobyname \
15304 getprotobynumber \
15305 getservbyport \
15306 inet_addr \
15307 inet_network \
15308 inet_ntop \
15309 inet_pton \
15310 sendmsg \
15311 socketpair \
15313 do :
15314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15316 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15317 cat >>confdefs.h <<_ACEOF
15318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15319 _ACEOF
15322 done
15325 ac_save_LIBS=$LIBS
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15327 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15328 if ${ac_cv_search_clock_gettime+:} false; then :
15329 $as_echo_n "(cached) " >&6
15330 else
15331 ac_func_search_save_LIBS=$LIBS
15332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15333 /* end confdefs.h. */
15335 /* Override any GCC internal prototype to avoid an error.
15336 Use char because int might match the return type of a GCC
15337 builtin and then its argument prototype would still apply. */
15338 #ifdef __cplusplus
15339 extern "C"
15340 #endif
15341 char clock_gettime ();
15343 main ()
15345 return clock_gettime ();
15347 return 0;
15349 _ACEOF
15350 for ac_lib in '' rt; do
15351 if test -z "$ac_lib"; then
15352 ac_res="none required"
15353 else
15354 ac_res=-l$ac_lib
15355 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15357 if ac_fn_c_try_link "$LINENO"; then :
15358 ac_cv_search_clock_gettime=$ac_res
15360 rm -f core conftest.err conftest.$ac_objext \
15361 conftest$ac_exeext
15362 if ${ac_cv_search_clock_gettime+:} false; then :
15363 break
15365 done
15366 if ${ac_cv_search_clock_gettime+:} false; then :
15368 else
15369 ac_cv_search_clock_gettime=no
15371 rm conftest.$ac_ext
15372 LIBS=$ac_func_search_save_LIBS
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15375 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15376 ac_res=$ac_cv_search_clock_gettime
15377 if test "$ac_res" != no; then :
15378 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15380 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15382 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15386 LIBS=$ac_save_LIBS
15388 LDAP_LIBS=""
15390 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15391 then
15392 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15394 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15396 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15397 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15398 $as_echo_n "(cached) " >&6
15399 else
15400 ac_check_lib_save_LIBS=$LIBS
15401 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15403 /* end confdefs.h. */
15405 /* Override any GCC internal prototype to avoid an error.
15406 Use char because int might match the return type of a GCC
15407 builtin and then its argument prototype would still apply. */
15408 #ifdef __cplusplus
15409 extern "C"
15410 #endif
15411 char ldap_initialize ();
15413 main ()
15415 return ldap_initialize ();
15417 return 0;
15419 _ACEOF
15420 if ac_fn_c_try_link "$LINENO"; then :
15421 ac_cv_lib_ldap_r_ldap_initialize=yes
15422 else
15423 ac_cv_lib_ldap_r_ldap_initialize=no
15425 rm -f core conftest.err conftest.$ac_objext \
15426 conftest$ac_exeext conftest.$ac_ext
15427 LIBS=$ac_check_lib_save_LIBS
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15430 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15431 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15433 $as_echo_n "checking for ber_init in -llber... " >&6; }
15434 if ${ac_cv_lib_lber_ber_init+:} false; then :
15435 $as_echo_n "(cached) " >&6
15436 else
15437 ac_check_lib_save_LIBS=$LIBS
15438 LIBS="-llber $PTHREAD_LIBS $LIBS"
15439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15440 /* end confdefs.h. */
15442 /* Override any GCC internal prototype to avoid an error.
15443 Use char because int might match the return type of a GCC
15444 builtin and then its argument prototype would still apply. */
15445 #ifdef __cplusplus
15446 extern "C"
15447 #endif
15448 char ber_init ();
15450 main ()
15452 return ber_init ();
15454 return 0;
15456 _ACEOF
15457 if ac_fn_c_try_link "$LINENO"; then :
15458 ac_cv_lib_lber_ber_init=yes
15459 else
15460 ac_cv_lib_lber_ber_init=no
15462 rm -f core conftest.err conftest.$ac_objext \
15463 conftest$ac_exeext conftest.$ac_ext
15464 LIBS=$ac_check_lib_save_LIBS
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15467 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15468 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15470 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15472 LDAP_LIBS="-lldap_r -llber"
15479 ac_wine_check_funcs_save_LIBS="$LIBS"
15480 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15481 for ac_func in \
15482 ldap_count_references \
15483 ldap_first_reference \
15484 ldap_next_reference \
15485 ldap_parse_reference \
15486 ldap_parse_sort_control \
15487 ldap_parse_sortresponse_control \
15488 ldap_parse_vlv_control \
15489 ldap_parse_vlvresponse_control
15490 do :
15491 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15492 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15493 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15494 cat >>confdefs.h <<_ACEOF
15495 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15496 _ACEOF
15499 done
15501 LIBS="$ac_wine_check_funcs_save_LIBS"
15503 if test "x$LDAP_LIBS" = "x"; then :
15504 case "x$with_ldap" in
15505 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15506 xno) ;;
15507 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15508 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15509 esac
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15513 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15514 if ${wine_cv_one_arg_mkdir+:} false; then :
15515 $as_echo_n "(cached) " >&6
15516 else
15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15519 #include <sys/stat.h>
15521 main ()
15523 mkdir("foo");
15525 return 0;
15527 _ACEOF
15528 if ac_fn_c_try_compile "$LINENO"; then :
15529 wine_cv_one_arg_mkdir=yes
15530 else
15531 wine_cv_one_arg_mkdir=no
15533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15536 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15537 if test "$wine_cv_one_arg_mkdir" = "yes"
15538 then
15540 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15545 $as_echo_n "checking for sched_setaffinity... " >&6; }
15546 if ${wine_cv_have_sched_setaffinity+:} false; then :
15547 $as_echo_n "(cached) " >&6
15548 else
15549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15550 /* end confdefs.h. */
15551 #define _GNU_SOURCE
15552 #include <sched.h>
15554 main ()
15556 sched_setaffinity(0, 0, 0);
15558 return 0;
15560 _ACEOF
15561 if ac_fn_c_try_link "$LINENO"; then :
15562 wine_cv_have_sched_setaffinity=yes
15563 else
15564 wine_cv_have_sched_setaffinity=no
15566 rm -f core conftest.err conftest.$ac_objext \
15567 conftest$ac_exeext conftest.$ac_ext
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15570 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15571 if test "$wine_cv_have_sched_setaffinity" = "yes"
15572 then
15574 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15579 $as_echo_n "checking for fallocate... " >&6; }
15580 if ${wine_cv_have_fallocate+:} false; then :
15581 $as_echo_n "(cached) " >&6
15582 else
15583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15584 /* end confdefs.h. */
15585 #define _GNU_SOURCE
15586 #include <fcntl.h>
15588 main ()
15590 fallocate(-1, 0, 0, 0);
15592 return 0;
15594 _ACEOF
15595 if ac_fn_c_try_link "$LINENO"; then :
15596 wine_cv_have_fallocate=yes
15597 else
15598 wine_cv_have_fallocate=no
15600 rm -f core conftest.err conftest.$ac_objext \
15601 conftest$ac_exeext conftest.$ac_ext
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15604 $as_echo "$wine_cv_have_fallocate" >&6; }
15605 if test "$wine_cv_have_fallocate" = "yes"
15606 then
15608 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15614 $as_echo_n "checking for inline... " >&6; }
15615 if ${ac_cv_c_inline+:} false; then :
15616 $as_echo_n "(cached) " >&6
15617 else
15618 ac_cv_c_inline=no
15619 for ac_kw in inline __inline__ __inline; do
15620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15621 /* end confdefs.h. */
15622 #ifndef __cplusplus
15623 typedef int foo_t;
15624 static $ac_kw foo_t static_foo () {return 0; }
15625 $ac_kw foo_t foo () {return 0; }
15626 #endif
15628 _ACEOF
15629 if ac_fn_c_try_compile "$LINENO"; then :
15630 ac_cv_c_inline=$ac_kw
15632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15633 test "$ac_cv_c_inline" != no && break
15634 done
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15638 $as_echo "$ac_cv_c_inline" >&6; }
15640 case $ac_cv_c_inline in
15641 inline | yes) ;;
15643 case $ac_cv_c_inline in
15644 no) ac_val=;;
15645 *) ac_val=$ac_cv_c_inline;;
15646 esac
15647 cat >>confdefs.h <<_ACEOF
15648 #ifndef __cplusplus
15649 #define inline $ac_val
15650 #endif
15651 _ACEOF
15653 esac
15655 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15656 if test "x$ac_cv_type_mode_t" = xyes; then :
15658 cat >>confdefs.h <<_ACEOF
15659 #define HAVE_MODE_T 1
15660 _ACEOF
15664 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15665 if test "x$ac_cv_type_off_t" = xyes; then :
15667 cat >>confdefs.h <<_ACEOF
15668 #define HAVE_OFF_T 1
15669 _ACEOF
15673 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15674 if test "x$ac_cv_type_pid_t" = xyes; then :
15676 cat >>confdefs.h <<_ACEOF
15677 #define HAVE_PID_T 1
15678 _ACEOF
15682 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15683 if test "x$ac_cv_type_size_t" = xyes; then :
15685 cat >>confdefs.h <<_ACEOF
15686 #define HAVE_SIZE_T 1
15687 _ACEOF
15691 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15692 if test "x$ac_cv_type_ssize_t" = xyes; then :
15694 cat >>confdefs.h <<_ACEOF
15695 #define HAVE_SSIZE_T 1
15696 _ACEOF
15700 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15701 if test "x$ac_cv_type_long_long" = xyes; then :
15703 cat >>confdefs.h <<_ACEOF
15704 #define HAVE_LONG_LONG 1
15705 _ACEOF
15709 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15710 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15712 cat >>confdefs.h <<_ACEOF
15713 #define HAVE_FSBLKCNT_T 1
15714 _ACEOF
15718 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15719 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15721 cat >>confdefs.h <<_ACEOF
15722 #define HAVE_FSFILCNT_T 1
15723 _ACEOF
15728 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15729 #include <signal.h>
15731 if test "x$ac_cv_type_sigset_t" = xyes; then :
15733 cat >>confdefs.h <<_ACEOF
15734 #define HAVE_SIGSET_T 1
15735 _ACEOF
15740 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15742 if test "x$ac_cv_type_request_sense" = xyes; then :
15744 cat >>confdefs.h <<_ACEOF
15745 #define HAVE_REQUEST_SENSE 1
15746 _ACEOF
15752 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15753 #ifdef HAVE_SYS_SOCKET_H
15754 #include <sys/socket.h>
15755 #endif
15756 #ifdef HAVE_SYS_SOCKETVAR_H
15757 #include <sys/socketvar.h>
15758 #endif
15759 #ifdef HAVE_NET_ROUTE_H
15760 #include <net/route.h>
15761 #endif
15762 #ifdef HAVE_NETINET_IN_H
15763 #include <netinet/in.h>
15764 #endif
15765 #ifdef HAVE_NETINET_IN_SYSTM_H
15766 #include <netinet/in_systm.h>
15767 #endif
15768 #ifdef HAVE_NETINET_IP_H
15769 #include <netinet/ip.h>
15770 #endif
15771 #ifdef HAVE_NETINET_IN_PCB_H
15772 #include <netinet/in_pcb.h>
15773 #endif
15775 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15777 cat >>confdefs.h <<_ACEOF
15778 #define HAVE_STRUCT_XINPGEN 1
15779 _ACEOF
15785 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15786 #include <link.h>
15787 #endif
15788 #ifdef HAVE_SYS_LINK_H
15789 #include <sys/link.h>
15790 #endif
15792 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15794 cat >>confdefs.h <<_ACEOF
15795 #define HAVE_STRUCT_R_DEBUG 1
15796 _ACEOF
15800 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15801 #include <link.h>
15802 #endif
15803 #ifdef HAVE_SYS_LINK_H
15804 #include <sys/link.h>
15805 #endif
15807 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15809 cat >>confdefs.h <<_ACEOF
15810 #define HAVE_STRUCT_LINK_MAP 1
15811 _ACEOF
15817 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15818 #include <linux/input.h>
15819 #endif
15821 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15823 cat >>confdefs.h <<_ACEOF
15824 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15825 _ACEOF
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15832 $as_echo_n "checking for sigaddset... " >&6; }
15833 if ${wine_cv_have_sigaddset+:} false; then :
15834 $as_echo_n "(cached) " >&6
15835 else
15836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15838 #include <signal.h>
15840 main ()
15842 sigset_t set; sigaddset(&set,SIGTERM);
15844 return 0;
15846 _ACEOF
15847 if ac_fn_c_try_link "$LINENO"; then :
15848 wine_cv_have_sigaddset=yes
15849 else
15850 wine_cv_have_sigaddset=no
15852 rm -f core conftest.err conftest.$ac_objext \
15853 conftest$ac_exeext conftest.$ac_ext
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15856 $as_echo "$wine_cv_have_sigaddset" >&6; }
15857 if test "$wine_cv_have_sigaddset" = "yes"
15858 then
15860 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15866 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15867 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15868 $as_echo_n "(cached) " >&6
15869 else
15870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15871 /* end confdefs.h. */
15872 #include <netdb.h>
15874 main ()
15877 char *name=0;
15878 struct hostent he;
15879 struct hostent *result;
15880 char *buf=0;
15881 int bufsize=0;
15882 int errnr;
15883 char *addr=0;
15884 int addrlen=0;
15885 int addrtype=0;
15886 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15887 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15890 return 0;
15892 _ACEOF
15893 if ac_fn_c_try_link "$LINENO"; then :
15894 wine_cv_linux_gethostbyname_r_6=yes
15895 else
15896 wine_cv_linux_gethostbyname_r_6=no
15899 rm -f core conftest.err conftest.$ac_objext \
15900 conftest$ac_exeext conftest.$ac_ext
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15904 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15905 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15906 then
15908 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15912 if test "$ac_cv_header_linux_joystick_h" = "yes"
15913 then
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15915 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15916 if ${wine_cv_linux_joystick_22_api+:} false; then :
15917 $as_echo_n "(cached) " >&6
15918 else
15919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15920 /* end confdefs.h. */
15922 #include <sys/ioctl.h>
15923 #include <sys/types.h>
15924 #include <linux/joystick.h>
15926 struct js_event blub;
15927 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15928 #error "no 2.2 header"
15929 #endif
15932 main ()
15934 /*empty*/
15936 return 0;
15938 _ACEOF
15939 if ac_fn_c_try_compile "$LINENO"; then :
15940 wine_cv_linux_joystick_22_api=yes
15941 else
15942 wine_cv_linux_joystick_22_api=no
15944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15948 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15949 if test "$wine_cv_linux_joystick_22_api" = "yes"
15950 then
15952 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15958 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15959 #ifdef HAVE_SYS_PARAM_H
15960 # include <sys/param.h>
15961 #endif
15962 #ifdef HAVE_SYS_MOUNT_H
15963 # include <sys/mount.h>
15964 #endif
15965 #ifdef HAVE_SYS_VFS_H
15966 # include <sys/vfs.h>
15967 #endif
15968 #ifdef HAVE_SYS_STATFS_H
15969 # include <sys/statfs.h>
15970 #endif
15972 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15974 cat >>confdefs.h <<_ACEOF
15975 #define HAVE_STRUCT_STATFS_F_BFREE 1
15976 _ACEOF
15980 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15981 #ifdef HAVE_SYS_PARAM_H
15982 # include <sys/param.h>
15983 #endif
15984 #ifdef HAVE_SYS_MOUNT_H
15985 # include <sys/mount.h>
15986 #endif
15987 #ifdef HAVE_SYS_VFS_H
15988 # include <sys/vfs.h>
15989 #endif
15990 #ifdef HAVE_SYS_STATFS_H
15991 # include <sys/statfs.h>
15992 #endif
15994 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15996 cat >>confdefs.h <<_ACEOF
15997 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15998 _ACEOF
16002 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16003 #ifdef HAVE_SYS_PARAM_H
16004 # include <sys/param.h>
16005 #endif
16006 #ifdef HAVE_SYS_MOUNT_H
16007 # include <sys/mount.h>
16008 #endif
16009 #ifdef HAVE_SYS_VFS_H
16010 # include <sys/vfs.h>
16011 #endif
16012 #ifdef HAVE_SYS_STATFS_H
16013 # include <sys/statfs.h>
16014 #endif
16016 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16018 cat >>confdefs.h <<_ACEOF
16019 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16020 _ACEOF
16024 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16025 #ifdef HAVE_SYS_PARAM_H
16026 # include <sys/param.h>
16027 #endif
16028 #ifdef HAVE_SYS_MOUNT_H
16029 # include <sys/mount.h>
16030 #endif
16031 #ifdef HAVE_SYS_VFS_H
16032 # include <sys/vfs.h>
16033 #endif
16034 #ifdef HAVE_SYS_STATFS_H
16035 # include <sys/statfs.h>
16036 #endif
16038 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16040 cat >>confdefs.h <<_ACEOF
16041 #define HAVE_STRUCT_STATFS_F_FFREE 1
16042 _ACEOF
16046 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16047 #ifdef HAVE_SYS_PARAM_H
16048 # include <sys/param.h>
16049 #endif
16050 #ifdef HAVE_SYS_MOUNT_H
16051 # include <sys/mount.h>
16052 #endif
16053 #ifdef HAVE_SYS_VFS_H
16054 # include <sys/vfs.h>
16055 #endif
16056 #ifdef HAVE_SYS_STATFS_H
16057 # include <sys/statfs.h>
16058 #endif
16060 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16062 cat >>confdefs.h <<_ACEOF
16063 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16064 _ACEOF
16068 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16069 #ifdef HAVE_SYS_PARAM_H
16070 # include <sys/param.h>
16071 #endif
16072 #ifdef HAVE_SYS_MOUNT_H
16073 # include <sys/mount.h>
16074 #endif
16075 #ifdef HAVE_SYS_VFS_H
16076 # include <sys/vfs.h>
16077 #endif
16078 #ifdef HAVE_SYS_STATFS_H
16079 # include <sys/statfs.h>
16080 #endif
16082 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16084 cat >>confdefs.h <<_ACEOF
16085 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16086 _ACEOF
16092 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16093 #include <sys/statvfs.h>
16094 #endif
16096 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16098 cat >>confdefs.h <<_ACEOF
16099 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16100 _ACEOF
16106 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16107 #include <dirent.h>
16108 #endif
16110 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16112 cat >>confdefs.h <<_ACEOF
16113 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16114 _ACEOF
16120 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16121 #ifdef HAVE_SYS_SOCKET_H
16122 # include <sys/socket.h>
16123 #endif
16124 #ifdef HAVE_SYS_UN_H
16125 # include <sys/un.h>
16126 #endif
16128 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16132 _ACEOF
16136 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16137 #ifdef HAVE_SYS_SOCKET_H
16138 # include <sys/socket.h>
16139 #endif
16140 #ifdef HAVE_SYS_UN_H
16141 # include <sys/un.h>
16142 #endif
16144 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16146 cat >>confdefs.h <<_ACEOF
16147 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16148 _ACEOF
16152 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16153 #ifdef HAVE_SYS_SOCKET_H
16154 # include <sys/socket.h>
16155 #endif
16156 #ifdef HAVE_SYS_UN_H
16157 # include <sys/un.h>
16158 #endif
16160 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16162 cat >>confdefs.h <<_ACEOF
16163 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16164 _ACEOF
16170 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16171 #ifdef HAVE_SCSI_SG_H
16172 #include <scsi/sg.h>
16173 #endif
16175 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16177 cat >>confdefs.h <<_ACEOF
16178 #define HAVE_SCSIREQ_T_CMD 1
16179 _ACEOF
16183 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>
16184 #ifdef HAVE_SCSI_SG_H
16185 #include <scsi/sg.h>
16186 #endif
16188 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16190 cat >>confdefs.h <<_ACEOF
16191 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16192 _ACEOF
16198 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16200 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16202 cat >>confdefs.h <<_ACEOF
16203 #define HAVE_SIGINFO_T_SI_FD 1
16204 _ACEOF
16210 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16211 #ifdef HAVE_SYS_MTIO_H
16212 #include <sys/mtio.h>
16213 #endif
16215 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16217 cat >>confdefs.h <<_ACEOF
16218 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16219 _ACEOF
16223 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16224 #ifdef HAVE_SYS_MTIO_H
16225 #include <sys/mtio.h>
16226 #endif
16228 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16230 cat >>confdefs.h <<_ACEOF
16231 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16232 _ACEOF
16236 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16237 #ifdef HAVE_SYS_MTIO_H
16238 #include <sys/mtio.h>
16239 #endif
16241 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16243 cat >>confdefs.h <<_ACEOF
16244 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16245 _ACEOF
16251 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16252 #include <getopt.h>
16253 #endif
16255 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16257 cat >>confdefs.h <<_ACEOF
16258 #define HAVE_STRUCT_OPTION_NAME 1
16259 _ACEOF
16265 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16266 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16268 cat >>confdefs.h <<_ACEOF
16269 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16270 _ACEOF
16274 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16275 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16277 cat >>confdefs.h <<_ACEOF
16278 #define HAVE_STRUCT_STAT_ST_MTIM 1
16279 _ACEOF
16283 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16284 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16286 cat >>confdefs.h <<_ACEOF
16287 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16288 _ACEOF
16292 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16293 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16295 cat >>confdefs.h <<_ACEOF
16296 #define HAVE_STRUCT_STAT_ST_CTIM 1
16297 _ACEOF
16301 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16302 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16304 cat >>confdefs.h <<_ACEOF
16305 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16306 _ACEOF
16310 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16311 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16313 cat >>confdefs.h <<_ACEOF
16314 #define HAVE_STRUCT_STAT_ST_ATIM 1
16315 _ACEOF
16319 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16320 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16322 cat >>confdefs.h <<_ACEOF
16323 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16324 _ACEOF
16328 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16329 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16331 cat >>confdefs.h <<_ACEOF
16332 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16333 _ACEOF
16337 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16338 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16340 cat >>confdefs.h <<_ACEOF
16341 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16342 _ACEOF
16346 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16347 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16349 cat >>confdefs.h <<_ACEOF
16350 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16351 _ACEOF
16355 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16356 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16358 cat >>confdefs.h <<_ACEOF
16359 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16360 _ACEOF
16364 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16365 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16367 cat >>confdefs.h <<_ACEOF
16368 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16369 _ACEOF
16375 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
16376 #include <sys/types.h>
16377 #endif
16378 #ifdef HAVE_NETINET_IN_H
16379 #include <netinet/in.h>
16380 #endif
16382 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16384 cat >>confdefs.h <<_ACEOF
16385 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16386 _ACEOF
16392 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16393 #include <resolv.h>
16394 #endif
16396 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16398 cat >>confdefs.h <<_ACEOF
16399 #define HAVE_STRUCT___RES_STATE 1
16400 _ACEOF
16406 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
16407 #include <resolv.h>
16408 #endif
16410 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16412 cat >>confdefs.h <<_ACEOF
16413 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16414 _ACEOF
16420 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16421 #include <sys/types.h>
16422 #endif
16423 #ifdef HAVE_NETINET_IN_H
16424 # include <netinet/in.h>
16425 #endif
16426 #ifdef HAVE_ARPA_NAMESER_H
16427 # include <arpa/nameser.h>
16428 #endif
16430 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16432 cat >>confdefs.h <<_ACEOF
16433 #define HAVE_NS_MSG__MSG_PTR 1
16434 _ACEOF
16440 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16441 #include <sys/types.h>
16442 #endif
16443 #ifdef HAVE_NETINET_IP_H
16444 #include <netinet/ip.h>
16445 #endif
16446 #ifdef HAVE_NETINET_IP_ICMP_H
16447 #include <netinet/ip_icmp.h>
16448 #endif
16449 #ifdef HAVE_NETINET_ICMP_VAR_H
16450 #include <netinet/icmp_var.h>
16451 #endif
16453 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16455 cat >>confdefs.h <<_ACEOF
16456 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16457 _ACEOF
16463 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16464 #include <sys/types.h>
16465 #endif
16466 #ifdef HAVE_ALIAS_H
16467 #include <alias.h>
16468 #endif
16469 #ifdef HAVE_SYS_SOCKET_H
16470 #include <sys/socket.h>
16471 #endif
16472 #ifdef HAVE_SYS_SOCKETVAR_H
16473 #include <sys/socketvar.h>
16474 #endif
16475 #ifdef HAVE_SYS_TIMEOUT_H
16476 #include <sys/timeout.h>
16477 #endif
16478 #ifdef HAVE_NETINET_IN_H
16479 #include <netinet/in.h>
16480 #endif
16481 #ifdef HAVE_NETINET_IN_SYSTM_H
16482 #include <netinet/in_systm.h>
16483 #endif
16484 #ifdef HAVE_NETINET_IP_H
16485 #include <netinet/ip.h>
16486 #endif
16487 #ifdef HAVE_NETINET_IP_VAR_H
16488 #include <netinet/ip_var.h>
16489 #endif
16490 #ifdef HAVE_NETINET_IP_ICMP_H
16491 #include <netinet/ip_icmp.h>
16492 #endif
16493 #ifdef HAVE_NETINET_ICMP_VAR_H
16494 #include <netinet/icmp_var.h>
16495 #endif
16497 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16499 cat >>confdefs.h <<_ACEOF
16500 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16501 _ACEOF
16507 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16508 #include <sys/types.h>
16509 #endif
16510 #ifdef HAVE_SYS_SOCKETVAR_H
16511 #include <sys/socketvar.h>
16512 #endif
16513 #ifdef HAVE_NETINET_IN_H
16514 #include <netinet/in.h>
16515 #endif
16516 #ifdef HAVE_NETINET_IP_VAR_H
16517 #include <netinet/ip_var.h>
16518 #endif
16520 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16522 cat >>confdefs.h <<_ACEOF
16523 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16524 _ACEOF
16530 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
16531 #include <netinet/ip_var.h>
16532 #endif
16534 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16536 cat >>confdefs.h <<_ACEOF
16537 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16538 _ACEOF
16544 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16545 #include <sys/types.h>
16546 #endif
16547 #ifdef HAVE_SYS_SOCKETVAR_H
16548 #include <sys/socketvar.h>
16549 #endif
16550 #ifdef HAVE_NETINET_IN_H
16551 #include <netinet/in.h>
16552 #endif
16553 #ifdef HAVE_NETINET_TCP_H
16554 #include <netinet/tcp.h>
16555 #endif
16556 #ifdef HAVE_NETINET_TCP_VAR_H
16557 #include <netinet/tcp_var.h>
16558 #endif
16560 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16562 cat >>confdefs.h <<_ACEOF
16563 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16564 _ACEOF
16570 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
16571 #include <netinet/tcp_var.h>
16572 #endif
16574 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16576 cat >>confdefs.h <<_ACEOF
16577 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16578 _ACEOF
16584 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16585 #include <sys/types.h>
16586 #endif
16587 #ifdef HAVE_NETINET_IN_H
16588 #include <netinet/in.h>
16589 #endif
16590 #ifdef HAVE_NETINET_IP_VAR_H
16591 #include <netinet/ip_var.h>
16592 #endif
16593 #ifdef HAVE_NETINET_UDP_H
16594 #include <netinet/udp.h>
16595 #endif
16596 #ifdef HAVE_NETINET_UDP_VAR_H
16597 #include <netinet/udp_var.h>
16598 #endif
16600 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16602 cat >>confdefs.h <<_ACEOF
16603 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16604 _ACEOF
16610 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16611 #include <sys/types.h>
16612 #endif
16613 #ifdef HAVE_NET_IF_H
16614 # include <net/if.h>
16615 #endif
16617 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16619 cat >>confdefs.h <<_ACEOF
16620 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16621 _ACEOF
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16628 $as_echo_n "checking for timezone variable... " >&6; }
16629 if ${ac_cv_have_timezone+:} false; then :
16630 $as_echo_n "(cached) " >&6
16631 else
16632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16634 #include <time.h>
16636 main ()
16638 timezone = 1
16640 return 0;
16642 _ACEOF
16643 if ac_fn_c_try_link "$LINENO"; then :
16644 ac_cv_have_timezone="yes"
16645 else
16646 ac_cv_have_timezone="no"
16648 rm -f core conftest.err conftest.$ac_objext \
16649 conftest$ac_exeext conftest.$ac_ext
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16652 $as_echo "$ac_cv_have_timezone" >&6; }
16653 if test "$ac_cv_have_timezone" = "yes"
16654 then
16656 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16660 $as_echo_n "checking for daylight variable... " >&6; }
16661 if ${ac_cv_have_daylight+:} false; then :
16662 $as_echo_n "(cached) " >&6
16663 else
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16666 #include <time.h>
16668 main ()
16670 daylight = 1
16672 return 0;
16674 _ACEOF
16675 if ac_fn_c_try_link "$LINENO"; then :
16676 ac_cv_have_daylight="yes"
16677 else
16678 ac_cv_have_daylight="no"
16680 rm -f core conftest.err conftest.$ac_objext \
16681 conftest$ac_exeext conftest.$ac_ext
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16684 $as_echo "$ac_cv_have_daylight" >&6; }
16685 if test "$ac_cv_have_daylight" = "yes"
16686 then
16688 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16692 ac_save_LIBS="$LIBS"
16693 LIBS="$LIBS -lm"
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16695 $as_echo_n "checking for isfinite... " >&6; }
16696 if ${ac_cv_have_isfinite+:} false; then :
16697 $as_echo_n "(cached) " >&6
16698 else
16699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16701 #define _GNU_SOURCE
16702 #include <math.h>
16704 main ()
16706 float f = 0.0; return isfinite(f)
16708 return 0;
16710 _ACEOF
16711 if ac_fn_c_try_link "$LINENO"; then :
16712 ac_cv_have_isfinite="yes"
16713 else
16714 ac_cv_have_isfinite="no"
16716 rm -f core conftest.err conftest.$ac_objext \
16717 conftest$ac_exeext conftest.$ac_ext
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16720 $as_echo "$ac_cv_have_isfinite" >&6; }
16721 if test "$ac_cv_have_isfinite" = "yes"
16722 then
16724 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16729 $as_echo_n "checking for isinf... " >&6; }
16730 if ${ac_cv_have_isinf+:} false; then :
16731 $as_echo_n "(cached) " >&6
16732 else
16733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16734 /* end confdefs.h. */
16735 #include <math.h>
16737 main ()
16739 float f = 0.0; return isinf(f)
16741 return 0;
16743 _ACEOF
16744 if ac_fn_c_try_link "$LINENO"; then :
16745 ac_cv_have_isinf="yes"
16746 else
16747 ac_cv_have_isinf="no"
16749 rm -f core conftest.err conftest.$ac_objext \
16750 conftest$ac_exeext conftest.$ac_ext
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16753 $as_echo "$ac_cv_have_isinf" >&6; }
16754 if test "$ac_cv_have_isinf" = "yes"
16755 then
16757 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16762 $as_echo_n "checking for isnan... " >&6; }
16763 if ${ac_cv_have_isnan+:} false; then :
16764 $as_echo_n "(cached) " >&6
16765 else
16766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16767 /* end confdefs.h. */
16768 #include <math.h>
16770 main ()
16772 float f = 0.0; return isnan(f)
16774 return 0;
16776 _ACEOF
16777 if ac_fn_c_try_link "$LINENO"; then :
16778 ac_cv_have_isnan="yes"
16779 else
16780 ac_cv_have_isnan="no"
16782 rm -f core conftest.err conftest.$ac_objext \
16783 conftest$ac_exeext conftest.$ac_ext
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16786 $as_echo "$ac_cv_have_isnan" >&6; }
16787 if test "$ac_cv_have_isnan" = "yes"
16788 then
16790 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16794 for ac_func in \
16795 cbrt \
16796 cbrtf \
16797 erf \
16798 erff \
16799 exp2 \
16800 exp2f \
16801 llrint \
16802 llrintf \
16803 llround \
16804 llroundf \
16805 log2 \
16806 log2f \
16807 lrint \
16808 lrintf \
16809 lround \
16810 lroundf \
16811 rint \
16812 rintf \
16813 round \
16814 roundf \
16815 trunc \
16816 truncf
16818 do :
16819 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16820 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16821 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16822 cat >>confdefs.h <<_ACEOF
16823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16824 _ACEOF
16827 done
16829 LIBS="$ac_save_LIBS"
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16832 $as_echo_n "checking for __builtin_clz... " >&6; }
16833 if ${ac_cv_have___builtin_clz+:} false; then :
16834 $as_echo_n "(cached) " >&6
16835 else
16836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16837 /* end confdefs.h. */
16840 main ()
16842 return __builtin_clz(1)
16844 return 0;
16846 _ACEOF
16847 if ac_fn_c_try_link "$LINENO"; then :
16848 ac_cv_have___builtin_clz="yes"
16849 else
16850 ac_cv_have___builtin_clz="no"
16852 rm -f core conftest.err conftest.$ac_objext \
16853 conftest$ac_exeext conftest.$ac_ext
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16856 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16857 if test "$ac_cv_have___builtin_clz" = "yes"
16858 then
16860 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16865 $as_echo_n "checking for __builtin_popcount... " >&6; }
16866 if ${ac_cv_have___builtin_popcount+:} false; then :
16867 $as_echo_n "(cached) " >&6
16868 else
16869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16870 /* end confdefs.h. */
16873 main ()
16875 return __builtin_popcount(1)
16877 return 0;
16879 _ACEOF
16880 if ac_fn_c_try_link "$LINENO"; then :
16881 ac_cv_have___builtin_popcount="yes"
16882 else
16883 ac_cv_have___builtin_popcount="no"
16885 rm -f core conftest.err conftest.$ac_objext \
16886 conftest$ac_exeext conftest.$ac_ext
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
16889 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16890 if test "$ac_cv_have___builtin_popcount" = "yes"
16891 then
16893 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16898 case $host_cpu in
16899 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16900 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16901 if ${ac_cv_cpp_def___i386__+:} false; then :
16902 $as_echo_n "(cached) " >&6
16903 else
16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16906 #ifndef __i386__
16908 #endif
16909 _ACEOF
16910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16911 $EGREP "yes" >/dev/null 2>&1; then :
16912 ac_cv_cpp_def___i386__=yes
16913 else
16914 ac_cv_cpp_def___i386__=no
16916 rm -f conftest*
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16920 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16921 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16922 CFLAGS="$CFLAGS -D__i386__"
16923 LINTFLAGS="$LINTFLAGS -D__i386__"
16924 fi ;;
16925 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16926 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16927 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16928 $as_echo_n "(cached) " >&6
16929 else
16930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16931 /* end confdefs.h. */
16932 #ifndef __x86_64__
16934 #endif
16935 _ACEOF
16936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16937 $EGREP "yes" >/dev/null 2>&1; then :
16938 ac_cv_cpp_def___x86_64__=yes
16939 else
16940 ac_cv_cpp_def___x86_64__=no
16942 rm -f conftest*
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16946 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16947 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16948 CFLAGS="$CFLAGS -D__x86_64__"
16949 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16950 fi ;;
16951 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16952 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16953 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16954 $as_echo_n "(cached) " >&6
16955 else
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16958 #ifndef __sparc64__
16960 #endif
16961 _ACEOF
16962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16963 $EGREP "yes" >/dev/null 2>&1; then :
16964 ac_cv_cpp_def___sparc64__=yes
16965 else
16966 ac_cv_cpp_def___sparc64__=no
16968 rm -f conftest*
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16972 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16973 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16974 CFLAGS="$CFLAGS -D__sparc64__"
16975 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16976 fi ;;
16977 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16978 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16979 if ${ac_cv_cpp_def___sparc__+:} false; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16984 #ifndef __sparc__
16986 #endif
16987 _ACEOF
16988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16989 $EGREP "yes" >/dev/null 2>&1; then :
16990 ac_cv_cpp_def___sparc__=yes
16991 else
16992 ac_cv_cpp_def___sparc__=no
16994 rm -f conftest*
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16998 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16999 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17000 CFLAGS="$CFLAGS -D__sparc__"
17001 LINTFLAGS="$LINTFLAGS -D__sparc__"
17002 fi ;;
17003 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17004 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17005 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17006 $as_echo_n "(cached) " >&6
17007 else
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #ifndef __powerpc64__
17012 #endif
17013 _ACEOF
17014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17015 $EGREP "yes" >/dev/null 2>&1; then :
17016 ac_cv_cpp_def___powerpc64__=yes
17017 else
17018 ac_cv_cpp_def___powerpc64__=no
17020 rm -f conftest*
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17024 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17025 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17026 CFLAGS="$CFLAGS -D__powerpc64__"
17027 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17028 fi ;;
17029 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17030 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17031 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17032 $as_echo_n "(cached) " >&6
17033 else
17034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17035 /* end confdefs.h. */
17036 #ifndef __powerpc__
17038 #endif
17039 _ACEOF
17040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17041 $EGREP "yes" >/dev/null 2>&1; then :
17042 ac_cv_cpp_def___powerpc__=yes
17043 else
17044 ac_cv_cpp_def___powerpc__=no
17046 rm -f conftest*
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17050 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17051 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17052 CFLAGS="$CFLAGS -D__powerpc__"
17053 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17054 fi ;;
17055 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17056 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17057 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17058 $as_echo_n "(cached) " >&6
17059 else
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17062 #ifndef __aarch64__
17064 #endif
17065 _ACEOF
17066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17067 $EGREP "yes" >/dev/null 2>&1; then :
17068 ac_cv_cpp_def___aarch64__=yes
17069 else
17070 ac_cv_cpp_def___aarch64__=no
17072 rm -f conftest*
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17076 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17077 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17078 CFLAGS="$CFLAGS -D__aarch64__"
17079 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17080 fi ;;
17081 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17082 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17083 if ${ac_cv_cpp_def___arm__+:} false; then :
17084 $as_echo_n "(cached) " >&6
17085 else
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17088 #ifndef __arm__
17090 #endif
17091 _ACEOF
17092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17093 $EGREP "yes" >/dev/null 2>&1; then :
17094 ac_cv_cpp_def___arm__=yes
17095 else
17096 ac_cv_cpp_def___arm__=no
17098 rm -f conftest*
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17102 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17103 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17104 CFLAGS="$CFLAGS -D__arm__"
17105 LINTFLAGS="$LINTFLAGS -D__arm__"
17106 fi ;;
17107 esac
17109 case $host_vendor in
17110 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17111 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17112 if ${ac_cv_cpp_def___sun__+:} false; then :
17113 $as_echo_n "(cached) " >&6
17114 else
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17117 #ifndef __sun__
17119 #endif
17120 _ACEOF
17121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17122 $EGREP "yes" >/dev/null 2>&1; then :
17123 ac_cv_cpp_def___sun__=yes
17124 else
17125 ac_cv_cpp_def___sun__=no
17127 rm -f conftest*
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17131 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17132 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17133 CFLAGS="$CFLAGS -D__sun__"
17134 LINTFLAGS="$LINTFLAGS -D__sun__"
17135 fi ;;
17136 esac
17142 ac_config_commands="$ac_config_commands include/stamp-h"
17144 $as_echo_n "creating Makefile rules..." >&6
17146 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17147 SOCKET_LIBS = $SOCKET_LIBS
17148 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17149 IOKIT_LIBS = $IOKIT_LIBS
17150 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17151 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17152 CORESERVICES_LIBS = $CORESERVICES_LIBS
17153 APPKIT_LIBS = $APPKIT_LIBS
17154 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17155 SECURITY_LIBS = $SECURITY_LIBS
17156 COREAUDIO_LIBS = $COREAUDIO_LIBS
17157 OPENAL_LIBS = $OPENAL_LIBS
17158 OPENCL_LIBS = $OPENCL_LIBS
17159 QUICKTIME_LIBS = $QUICKTIME_LIBS
17160 CARBON_LIBS = $CARBON_LIBS
17161 PTHREAD_LIBS = $PTHREAD_LIBS
17162 X_CFLAGS = $X_CFLAGS
17163 X_PRE_LIBS = $X_PRE_LIBS
17164 X_LIBS = $X_LIBS
17165 X_EXTRA_LIBS = $X_EXTRA_LIBS
17166 PCAP_LIBS = $PCAP_LIBS
17167 XML2_CFLAGS = $XML2_CFLAGS
17168 XML2_LIBS = $XML2_LIBS
17169 XSLT_CFLAGS = $XSLT_CFLAGS
17170 XSLT_LIBS = $XSLT_LIBS
17171 DBUS_CFLAGS = $DBUS_CFLAGS
17172 DBUS_LIBS = $DBUS_LIBS
17173 HAL_CFLAGS = $HAL_CFLAGS
17174 HAL_LIBS = $HAL_LIBS
17175 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17176 GNUTLS_LIBS = $GNUTLS_LIBS
17177 SANE_CFLAGS = $SANE_CFLAGS
17178 SANE_LIBS = $SANE_LIBS
17179 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17180 GPHOTO2_LIBS = $GPHOTO2_LIBS
17181 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17182 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17183 RESOLV_LIBS = $RESOLV_LIBS
17184 LCMS2_CFLAGS = $LCMS2_CFLAGS
17185 LCMS2_LIBS = $LCMS2_LIBS
17186 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17187 FREETYPE_LIBS = $FREETYPE_LIBS
17188 Z_LIBS = $Z_LIBS
17189 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17190 PULSE_CFLAGS = $PULSE_CFLAGS
17191 PULSE_LIBS = $PULSE_LIBS
17192 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17193 GSTREAMER_LIBS = $GSTREAMER_LIBS
17194 ALSA_LIBS = $ALSA_LIBS
17195 OSS4_CFLAGS = $OSS4_CFLAGS
17196 CAPI20_CFLAGS = $CAPI20_CFLAGS
17197 CAPI20_LIBS = $CAPI20_LIBS
17198 CUPS_CFLAGS = $CUPS_CFLAGS
17199 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17200 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17201 JPEG_CFLAGS = $JPEG_CFLAGS
17202 JPEG_LIBS = $JPEG_LIBS
17203 PNG_CFLAGS = $PNG_CFLAGS
17204 PNG_LIBS = $PNG_LIBS
17205 TIFF_CFLAGS = $TIFF_CFLAGS
17206 TIFF_LIBS = $TIFF_LIBS
17207 MPG123_CFLAGS = $MPG123_CFLAGS
17208 MPG123_LIBS = $MPG123_LIBS
17209 KSTAT_LIBS = $KSTAT_LIBS
17210 PROCSTAT_LIBS = $PROCSTAT_LIBS
17211 NETAPI_CFLAGS = $NETAPI_CFLAGS
17212 NETAPI_LIBS = $NETAPI_LIBS
17213 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17214 DL_LIBS = $DL_LIBS
17215 POLL_LIBS = $POLL_LIBS
17216 RT_LIBS = $RT_LIBS
17217 LDAP_LIBS = $LDAP_LIBS
17222 wine_fn_append_rule "
17223 # Rules automatically generated by configure
17225 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17227 .INIT: Makefile
17228 .MAKEFILEDEPS:
17229 all: Makefile
17230 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17231 @./config.status Make.tmp Makefile
17232 depend: \$(MAKEDEP) dummy
17233 \$(MAKEDEP)"
17235 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17236 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17238 if test "x$enable_fonts" != xno; then
17239 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17240 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17241 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17242 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17243 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17244 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17246 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17247 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17248 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17249 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17250 ac_config_links="$ac_config_links wine:tools/winewrapper"
17251 wine_fn_config_symlink wine
17252 if test "x$enable_win64" != xno; then
17253 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17254 wine_fn_config_symlink wine64
17257 wine_fn_config_dll acledit enable_acledit
17258 wine_fn_config_dll aclui enable_aclui implib
17259 wine_fn_config_dll activeds enable_activeds implib
17260 wine_fn_config_dll actxprxy enable_actxprxy clean
17261 wine_fn_config_lib adsiid
17262 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17263 wine_fn_config_test dlls/advapi32/tests advapi32_test
17264 wine_fn_config_dll advpack enable_advpack implib
17265 wine_fn_config_test dlls/advpack/tests advpack_test
17266 wine_fn_config_dll amstream enable_amstream clean
17267 wine_fn_config_test dlls/amstream/tests amstream_test
17268 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17269 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17270 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17271 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17272 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17273 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17274 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17275 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17276 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17277 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17278 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17279 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17280 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17281 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17282 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17283 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17284 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17285 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17286 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17287 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17288 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17289 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17290 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17291 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17292 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17293 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17294 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17295 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17296 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17297 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17298 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17299 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17300 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17301 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17302 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17303 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17304 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17305 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17306 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17307 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17308 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17309 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17310 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17311 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17312 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17313 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17314 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17315 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17316 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17317 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17318 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17319 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17320 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17322 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17323 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17324 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17325 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17326 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17327 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17328 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17329 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17330 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17331 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17332 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17333 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17334 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17335 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17336 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17337 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17338 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17339 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17340 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17341 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17342 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17343 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17344 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17345 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17346 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17347 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17348 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17349 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17350 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17351 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17352 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17353 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17354 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17355 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17356 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17357 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17358 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17359 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17360 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17361 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17362 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17363 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17364 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17365 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17366 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17367 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17368 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17369 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17370 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17371 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17372 wine_fn_config_dll apphelp enable_apphelp
17373 wine_fn_config_test dlls/apphelp/tests apphelp_test
17374 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17375 wine_fn_config_dll atl enable_atl clean,implib
17376 wine_fn_config_test dlls/atl/tests atl_test
17377 wine_fn_config_dll atl100 enable_atl100 clean,implib
17378 wine_fn_config_test dlls/atl100/tests atl100_test
17379 wine_fn_config_dll atl110 enable_atl110 clean
17380 wine_fn_config_dll atl80 enable_atl80 clean,implib
17381 wine_fn_config_test dlls/atl80/tests atl80_test
17382 wine_fn_config_dll atl90 enable_atl90 clean
17383 wine_fn_config_dll authz enable_authz
17384 wine_fn_config_dll avicap32 enable_avicap32 implib
17385 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17386 wine_fn_config_test dlls/avifil32/tests avifil32_test
17387 wine_fn_config_dll avifile.dll16 enable_win16
17388 wine_fn_config_dll avrt enable_avrt implib
17389 wine_fn_config_dll bcrypt enable_bcrypt implib
17390 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17391 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17392 wine_fn_config_dll browseui enable_browseui clean
17393 wine_fn_config_test dlls/browseui/tests browseui_test
17394 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17395 wine_fn_config_dll cabinet enable_cabinet implib
17396 wine_fn_config_test dlls/cabinet/tests cabinet_test
17397 wine_fn_config_dll capi2032 enable_capi2032 implib
17398 wine_fn_config_dll cards enable_cards implib
17399 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17400 wine_fn_config_dll clusapi enable_clusapi implib
17401 wine_fn_config_dll combase enable_combase
17402 wine_fn_config_test dlls/combase/tests combase_test
17403 wine_fn_config_dll comcat enable_comcat
17404 wine_fn_config_test dlls/comcat/tests comcat_test
17405 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17406 wine_fn_config_test dlls/comctl32/tests comctl32_test
17407 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17408 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17409 wine_fn_config_dll comm.drv16 enable_win16
17410 wine_fn_config_dll commdlg.dll16 enable_win16
17411 wine_fn_config_dll compobj.dll16 enable_win16
17412 wine_fn_config_dll compstui enable_compstui implib
17413 wine_fn_config_dll comsvcs enable_comsvcs implib
17414 wine_fn_config_dll connect enable_connect
17415 wine_fn_config_dll credui enable_credui clean,implib
17416 wine_fn_config_test dlls/credui/tests credui_test
17417 wine_fn_config_dll crtdll enable_crtdll implib
17418 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17419 wine_fn_config_test dlls/crypt32/tests crypt32_test
17420 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17421 wine_fn_config_dll cryptdll enable_cryptdll implib
17422 wine_fn_config_dll cryptext enable_cryptext
17423 wine_fn_config_dll cryptnet enable_cryptnet implib
17424 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17425 wine_fn_config_dll cryptui enable_cryptui clean,implib
17426 wine_fn_config_test dlls/cryptui/tests cryptui_test
17427 wine_fn_config_dll ctapi32 enable_ctapi32
17428 wine_fn_config_dll ctl3d.dll16 enable_win16
17429 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17430 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17431 wine_fn_config_dll d2d1 enable_d2d1 implib
17432 wine_fn_config_test dlls/d2d1/tests d2d1_test
17433 wine_fn_config_dll d3d10 enable_d3d10 implib
17434 wine_fn_config_test dlls/d3d10/tests d3d10_test
17435 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17436 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17437 wine_fn_config_dll d3d10core enable_d3d10core implib
17438 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17439 wine_fn_config_dll d3d11 enable_d3d11 implib
17440 wine_fn_config_test dlls/d3d11/tests d3d11_test
17441 wine_fn_config_dll d3d8 enable_d3d8 implib
17442 wine_fn_config_test dlls/d3d8/tests d3d8_test
17443 wine_fn_config_dll d3d9 enable_d3d9 implib
17444 wine_fn_config_test dlls/d3d9/tests d3d9_test
17445 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17446 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17447 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17448 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17449 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17450 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17451 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17452 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17453 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17454 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17455 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17456 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17457 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17458 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17459 wine_fn_config_dll d3dim enable_d3dim implib
17460 wine_fn_config_dll d3drm enable_d3drm implib
17461 wine_fn_config_test dlls/d3drm/tests d3drm_test
17462 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17463 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17464 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17465 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17466 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17467 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17468 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17469 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17470 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17471 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17472 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17473 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17474 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17475 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17476 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17477 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17478 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17479 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17480 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17481 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17482 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17483 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17484 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17485 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17486 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17487 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17488 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17489 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17490 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17491 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17492 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17493 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17494 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17495 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17496 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17497 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17498 wine_fn_config_dll davclnt enable_davclnt
17499 wine_fn_config_dll dbgeng enable_dbgeng implib
17500 wine_fn_config_dll dbghelp enable_dbghelp implib
17501 wine_fn_config_dll dciman32 enable_dciman32 implib
17502 wine_fn_config_dll ddeml.dll16 enable_win16
17503 wine_fn_config_dll ddraw enable_ddraw clean,implib
17504 wine_fn_config_test dlls/ddraw/tests ddraw_test
17505 wine_fn_config_dll ddrawex enable_ddrawex clean
17506 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17507 wine_fn_config_dll devenum enable_devenum clean
17508 wine_fn_config_test dlls/devenum/tests devenum_test
17509 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17510 wine_fn_config_dll difxapi enable_difxapi
17511 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17512 wine_fn_config_test dlls/dinput/tests dinput_test
17513 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17514 wine_fn_config_test dlls/dinput8/tests dinput8_test
17515 wine_fn_config_dll dispdib.dll16 enable_win16
17516 wine_fn_config_dll dispex enable_dispex clean
17517 wine_fn_config_test dlls/dispex/tests dispex_test
17518 wine_fn_config_dll display.drv16 enable_win16
17519 wine_fn_config_dll dmband enable_dmband clean
17520 wine_fn_config_test dlls/dmband/tests dmband_test
17521 wine_fn_config_dll dmcompos enable_dmcompos clean
17522 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17523 wine_fn_config_dll dmime enable_dmime clean
17524 wine_fn_config_test dlls/dmime/tests dmime_test
17525 wine_fn_config_dll dmloader enable_dmloader clean
17526 wine_fn_config_test dlls/dmloader/tests dmloader_test
17527 wine_fn_config_dll dmscript enable_dmscript clean
17528 wine_fn_config_test dlls/dmscript/tests dmscript_test
17529 wine_fn_config_dll dmstyle enable_dmstyle clean
17530 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17531 wine_fn_config_dll dmsynth enable_dmsynth clean
17532 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17533 wine_fn_config_dll dmusic enable_dmusic clean
17534 wine_fn_config_test dlls/dmusic/tests dmusic_test
17535 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17536 wine_fn_config_dll dnsapi enable_dnsapi implib
17537 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17538 wine_fn_config_dll dplay enable_dplay implib
17539 wine_fn_config_dll dplayx enable_dplayx clean,implib
17540 wine_fn_config_test dlls/dplayx/tests dplayx_test
17541 wine_fn_config_dll dpnaddr enable_dpnaddr
17542 wine_fn_config_dll dpnet enable_dpnet clean,implib
17543 wine_fn_config_test dlls/dpnet/tests dpnet_test
17544 wine_fn_config_dll dpnhpast enable_dpnhpast
17545 wine_fn_config_dll dpnlobby enable_dpnlobby
17546 wine_fn_config_dll dpvoice enable_dpvoice clean
17547 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17548 wine_fn_config_dll dpwsockx enable_dpwsockx
17549 wine_fn_config_dll drmclien enable_drmclien
17550 wine_fn_config_dll dsound enable_dsound clean,implib
17551 wine_fn_config_test dlls/dsound/tests dsound_test
17552 wine_fn_config_dll dssenh enable_dssenh
17553 wine_fn_config_test dlls/dssenh/tests dssenh_test
17554 wine_fn_config_dll dswave enable_dswave clean
17555 wine_fn_config_test dlls/dswave/tests dswave_test
17556 wine_fn_config_dll dwmapi enable_dwmapi implib
17557 wine_fn_config_dll dwrite enable_dwrite implib
17558 wine_fn_config_test dlls/dwrite/tests dwrite_test
17559 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17560 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17561 wine_fn_config_lib dxerr8
17562 wine_fn_config_lib dxerr9
17563 wine_fn_config_dll dxgi enable_dxgi implib
17564 wine_fn_config_test dlls/dxgi/tests dxgi_test
17565 wine_fn_config_lib dxguid
17566 wine_fn_config_dll dxva2 enable_dxva2
17567 wine_fn_config_dll esent enable_esent
17568 wine_fn_config_dll evr enable_evr
17569 wine_fn_config_dll explorerframe enable_explorerframe clean
17570 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17571 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17572 wine_fn_config_dll faultrep enable_faultrep implib
17573 wine_fn_config_test dlls/faultrep/tests faultrep_test
17574 wine_fn_config_dll fltlib enable_fltlib
17575 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17576 wine_fn_config_dll fntcache enable_fntcache
17577 wine_fn_config_dll fontsub enable_fontsub
17578 wine_fn_config_dll fusion enable_fusion
17579 wine_fn_config_test dlls/fusion/tests fusion_test
17580 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17581 wine_fn_config_dll gameux enable_gameux clean
17582 wine_fn_config_test dlls/gameux/tests gameux_test
17583 wine_fn_config_dll gdi.exe16 enable_win16
17584 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17585 wine_fn_config_test dlls/gdi32/tests gdi32_test
17586 wine_fn_config_dll gdiplus enable_gdiplus implib
17587 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17588 wine_fn_config_dll glu32 enable_glu32 implib
17589 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17590 wine_fn_config_dll gpkcsp enable_gpkcsp
17591 wine_fn_config_dll hal enable_hal
17592 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17593 wine_fn_config_dll hid enable_hid implib
17594 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17595 wine_fn_config_dll hlink enable_hlink clean,implib
17596 wine_fn_config_test dlls/hlink/tests hlink_test
17597 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17598 wine_fn_config_dll httpapi enable_httpapi
17599 wine_fn_config_dll iccvid enable_iccvid clean
17600 wine_fn_config_dll icmp enable_icmp
17601 wine_fn_config_dll ieframe enable_ieframe clean,implib
17602 wine_fn_config_test dlls/ieframe/tests ieframe_test
17603 wine_fn_config_dll ifsmgr.vxd enable_win16
17604 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17605 wine_fn_config_dll imagehlp enable_imagehlp implib
17606 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17607 wine_fn_config_dll imm.dll16 enable_win16
17608 wine_fn_config_dll imm32 enable_imm32 implib
17609 wine_fn_config_test dlls/imm32/tests imm32_test
17610 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17611 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17612 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17613 wine_fn_config_dll inetmib1 enable_inetmib1
17614 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17615 wine_fn_config_dll infosoft enable_infosoft clean
17616 wine_fn_config_test dlls/infosoft/tests infosoft_test
17617 wine_fn_config_dll initpki enable_initpki
17618 wine_fn_config_dll inkobj enable_inkobj
17619 wine_fn_config_dll inseng enable_inseng clean
17620 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17621 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17622 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17623 wine_fn_config_dll itircl enable_itircl
17624 wine_fn_config_dll itss enable_itss clean
17625 wine_fn_config_test dlls/itss/tests itss_test
17626 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17627 wine_fn_config_dll jscript enable_jscript clean
17628 wine_fn_config_test dlls/jscript/tests jscript_test
17629 wine_fn_config_dll jsproxy enable_jsproxy implib
17630 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17631 wine_fn_config_test dlls/kernel32/tests kernel32_test
17632 wine_fn_config_dll keyboard.drv16 enable_win16
17633 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17634 wine_fn_config_dll ksuser enable_ksuser
17635 wine_fn_config_dll ktmw32 enable_ktmw32
17636 wine_fn_config_dll loadperf enable_loadperf implib
17637 wine_fn_config_dll localspl enable_localspl clean
17638 wine_fn_config_test dlls/localspl/tests localspl_test
17639 wine_fn_config_dll localui enable_localui clean
17640 wine_fn_config_test dlls/localui/tests localui_test
17641 wine_fn_config_dll lz32 enable_lz32 implib
17642 wine_fn_config_test dlls/lz32/tests lz32_test
17643 wine_fn_config_dll lzexpand.dll16 enable_win16
17644 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17645 wine_fn_config_test dlls/mapi32/tests mapi32_test
17646 wine_fn_config_dll mapistub enable_mapistub
17647 wine_fn_config_dll mciavi32 enable_mciavi32
17648 wine_fn_config_dll mcicda enable_mcicda
17649 wine_fn_config_dll mciqtz32 enable_mciqtz32
17650 wine_fn_config_dll mciseq enable_mciseq
17651 wine_fn_config_dll mciwave enable_mciwave
17652 wine_fn_config_dll mf enable_mf
17653 wine_fn_config_dll mfplat enable_mfplat
17654 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17655 wine_fn_config_dll mgmtapi enable_mgmtapi
17656 wine_fn_config_dll midimap enable_midimap
17657 wine_fn_config_dll mlang enable_mlang clean,implib
17658 wine_fn_config_test dlls/mlang/tests mlang_test
17659 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17660 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17661 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17662 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17663 wine_fn_config_dll mmdevldr.vxd enable_win16
17664 wine_fn_config_dll mmsystem.dll16 enable_win16
17665 wine_fn_config_dll monodebg.vxd enable_win16
17666 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17667 wine_fn_config_dll mouse.drv16 enable_win16
17668 wine_fn_config_dll mpr enable_mpr clean,implib
17669 wine_fn_config_test dlls/mpr/tests mpr_test
17670 wine_fn_config_dll mprapi enable_mprapi implib
17671 wine_fn_config_dll msacm.dll16 enable_win16
17672 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17673 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17674 wine_fn_config_test dlls/msacm32/tests msacm32_test
17675 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17676 wine_fn_config_dll msasn1 enable_msasn1 implib
17677 wine_fn_config_dll mscat32 enable_mscat32
17678 wine_fn_config_dll mscms enable_mscms implib
17679 wine_fn_config_test dlls/mscms/tests mscms_test
17680 wine_fn_config_dll mscoree enable_mscoree clean
17681 wine_fn_config_test dlls/mscoree/tests mscoree_test
17682 wine_fn_config_dll msctf enable_msctf clean
17683 wine_fn_config_test dlls/msctf/tests msctf_test
17684 wine_fn_config_dll msctfp enable_msctfp clean
17685 wine_fn_config_dll msdaps enable_msdaps clean
17686 wine_fn_config_dll msdelta enable_msdelta
17687 wine_fn_config_dll msdmo enable_msdmo implib
17688 wine_fn_config_test dlls/msdmo/tests msdmo_test
17689 wine_fn_config_dll msdrm enable_msdrm
17690 wine_fn_config_dll msftedit enable_msftedit
17691 wine_fn_config_dll msg711.acm enable_msg711_acm
17692 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17693 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17694 wine_fn_config_dll mshtml enable_mshtml clean,implib
17695 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17696 wine_fn_config_dll msi enable_msi clean,implib
17697 wine_fn_config_test dlls/msi/tests msi_test
17698 wine_fn_config_dll msident enable_msident clean
17699 wine_fn_config_dll msimg32 enable_msimg32 implib
17700 wine_fn_config_dll msimsg enable_msimsg
17701 wine_fn_config_dll msimtf enable_msimtf clean
17702 wine_fn_config_dll msisip enable_msisip
17703 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17704 wine_fn_config_dll msls31 enable_msls31
17705 wine_fn_config_dll msnet32 enable_msnet32
17706 wine_fn_config_dll mspatcha enable_mspatcha implib
17707 wine_fn_config_dll msrle32 enable_msrle32 clean
17708 wine_fn_config_test dlls/msrle32/tests msrle32_test
17709 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17710 wine_fn_config_dll mssign32 enable_mssign32
17711 wine_fn_config_dll mssip32 enable_mssip32
17712 wine_fn_config_dll mstask enable_mstask clean
17713 wine_fn_config_test dlls/mstask/tests mstask_test
17714 wine_fn_config_dll msvcirt enable_msvcirt
17715 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17716 wine_fn_config_dll msvcm80 enable_msvcm80
17717 wine_fn_config_dll msvcm90 enable_msvcm90
17718 wine_fn_config_dll msvcp100 enable_msvcp100
17719 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17720 wine_fn_config_dll msvcp110 enable_msvcp110
17721 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17722 wine_fn_config_dll msvcp120 enable_msvcp120
17723 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17724 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17725 wine_fn_config_dll msvcp60 enable_msvcp60
17726 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17727 wine_fn_config_dll msvcp70 enable_msvcp70
17728 wine_fn_config_dll msvcp71 enable_msvcp71
17729 wine_fn_config_dll msvcp80 enable_msvcp80
17730 wine_fn_config_dll msvcp90 enable_msvcp90
17731 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17732 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17733 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17734 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17735 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17736 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17737 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17738 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17739 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17740 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17741 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17742 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17743 wine_fn_config_dll msvcrt enable_msvcrt implib
17744 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17745 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17746 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17747 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17748 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17749 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17750 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17751 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17752 wine_fn_config_dll msvideo.dll16 enable_win16
17753 wine_fn_config_dll mswsock enable_mswsock implib
17754 wine_fn_config_dll msxml enable_msxml clean
17755 wine_fn_config_dll msxml2 enable_msxml2 clean
17756 wine_fn_config_dll msxml3 enable_msxml3 clean
17757 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17758 wine_fn_config_dll msxml4 enable_msxml4 clean
17759 wine_fn_config_dll msxml6 enable_msxml6 clean
17760 wine_fn_config_dll nddeapi enable_nddeapi implib
17761 wine_fn_config_dll ndis.sys enable_ndis_sys
17762 wine_fn_config_dll netapi32 enable_netapi32 implib
17763 wine_fn_config_test dlls/netapi32/tests netapi32_test
17764 wine_fn_config_dll netcfgx enable_netcfgx clean
17765 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17766 wine_fn_config_dll netprofm enable_netprofm clean
17767 wine_fn_config_test dlls/netprofm/tests netprofm_test
17768 wine_fn_config_dll newdev enable_newdev implib
17769 wine_fn_config_dll normaliz enable_normaliz implib
17770 wine_fn_config_dll npmshtml enable_npmshtml
17771 wine_fn_config_dll npptools enable_npptools
17772 wine_fn_config_dll ntdll enable_ntdll implib
17773 wine_fn_config_test dlls/ntdll/tests ntdll_test
17774 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17775 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17776 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17777 wine_fn_config_dll ntprint enable_ntprint
17778 wine_fn_config_test dlls/ntprint/tests ntprint_test
17779 wine_fn_config_dll objsel enable_objsel clean
17780 wine_fn_config_dll odbc32 enable_odbc32 implib
17781 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17782 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17783 wine_fn_config_dll odbccu32 enable_odbccu32
17784 wine_fn_config_dll ole2.dll16 enable_win16
17785 wine_fn_config_dll ole2conv.dll16 enable_win16
17786 wine_fn_config_dll ole2disp.dll16 enable_win16
17787 wine_fn_config_dll ole2nls.dll16 enable_win16
17788 wine_fn_config_dll ole2prox.dll16 enable_win16
17789 wine_fn_config_dll ole2thk.dll16 enable_win16
17790 wine_fn_config_dll ole32 enable_ole32 clean,implib
17791 wine_fn_config_test dlls/ole32/tests ole32_test
17792 wine_fn_config_dll oleacc enable_oleacc clean,implib
17793 wine_fn_config_test dlls/oleacc/tests oleacc_test
17794 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17795 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17796 wine_fn_config_dll olecli.dll16 enable_win16
17797 wine_fn_config_dll olecli32 enable_olecli32 implib
17798 wine_fn_config_dll oledb32 enable_oledb32 clean
17799 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17800 wine_fn_config_dll oledlg enable_oledlg clean,implib
17801 wine_fn_config_test dlls/oledlg/tests oledlg_test
17802 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17803 wine_fn_config_dll olesvr.dll16 enable_win16
17804 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17805 wine_fn_config_dll olethk32 enable_olethk32
17806 wine_fn_config_dll openal32 enable_openal32
17807 wine_fn_config_dll opencl enable_opencl
17808 wine_fn_config_dll opengl32 enable_opengl32 implib
17809 wine_fn_config_test dlls/opengl32/tests opengl32_test
17810 wine_fn_config_dll packager enable_packager clean
17811 wine_fn_config_test dlls/packager/tests packager_test
17812 wine_fn_config_dll pdh enable_pdh implib
17813 wine_fn_config_test dlls/pdh/tests pdh_test
17814 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17815 wine_fn_config_dll pidgen enable_pidgen
17816 wine_fn_config_dll powrprof enable_powrprof implib
17817 wine_fn_config_dll printui enable_printui
17818 wine_fn_config_dll prntvpt enable_prntvpt
17819 wine_fn_config_dll propsys enable_propsys clean,implib
17820 wine_fn_config_test dlls/propsys/tests propsys_test
17821 wine_fn_config_dll psapi enable_psapi implib
17822 wine_fn_config_test dlls/psapi/tests psapi_test
17823 wine_fn_config_dll pstorec enable_pstorec clean
17824 wine_fn_config_dll qcap enable_qcap
17825 wine_fn_config_test dlls/qcap/tests qcap_test
17826 wine_fn_config_dll qedit enable_qedit clean
17827 wine_fn_config_test dlls/qedit/tests qedit_test
17828 wine_fn_config_dll qmgr enable_qmgr clean
17829 wine_fn_config_test dlls/qmgr/tests qmgr_test
17830 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17831 wine_fn_config_dll quartz enable_quartz clean,implib
17832 wine_fn_config_test dlls/quartz/tests quartz_test clean
17833 wine_fn_config_dll query enable_query
17834 wine_fn_config_dll rasapi16.dll16 enable_win16
17835 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17836 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17837 wine_fn_config_dll rasdlg enable_rasdlg implib
17838 wine_fn_config_dll regapi enable_regapi
17839 wine_fn_config_dll resutils enable_resutils implib
17840 wine_fn_config_dll riched20 enable_riched20 clean,implib
17841 wine_fn_config_test dlls/riched20/tests riched20_test
17842 wine_fn_config_dll riched32 enable_riched32
17843 wine_fn_config_test dlls/riched32/tests riched32_test
17844 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17845 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17846 wine_fn_config_dll rsabase enable_rsabase
17847 wine_fn_config_dll rsaenh enable_rsaenh implib
17848 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17849 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17850 wine_fn_config_dll rtutils enable_rtutils implib
17851 wine_fn_config_dll samlib enable_samlib
17852 wine_fn_config_dll sane.ds enable_sane_ds clean
17853 wine_fn_config_dll scarddlg enable_scarddlg
17854 wine_fn_config_dll sccbase enable_sccbase
17855 wine_fn_config_dll schannel enable_schannel
17856 wine_fn_config_test dlls/schannel/tests schannel_test
17857 wine_fn_config_dll schedsvc enable_schedsvc clean
17858 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17859 wine_fn_config_dll scrrun enable_scrrun clean
17860 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17861 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17862 wine_fn_config_dll secur32 enable_secur32 implib
17863 wine_fn_config_test dlls/secur32/tests secur32_test
17864 wine_fn_config_dll security enable_security
17865 wine_fn_config_dll sensapi enable_sensapi implib
17866 wine_fn_config_dll serialui enable_serialui clean,implib
17867 wine_fn_config_test dlls/serialui/tests serialui_test
17868 wine_fn_config_dll setupapi enable_setupapi clean,implib
17869 wine_fn_config_test dlls/setupapi/tests setupapi_test
17870 wine_fn_config_dll setupx.dll16 enable_win16
17871 wine_fn_config_dll sfc enable_sfc implib
17872 wine_fn_config_dll sfc_os enable_sfc_os implib
17873 wine_fn_config_dll shdoclc enable_shdoclc clean
17874 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17875 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17876 wine_fn_config_dll shell.dll16 enable_win16
17877 wine_fn_config_dll shell32 enable_shell32 clean,implib
17878 wine_fn_config_test dlls/shell32/tests shell32_test
17879 wine_fn_config_dll shfolder enable_shfolder implib
17880 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
17881 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17882 wine_fn_config_dll slbcsp enable_slbcsp
17883 wine_fn_config_dll slc enable_slc implib
17884 wine_fn_config_test dlls/slc/tests slc_test
17885 wine_fn_config_dll snmpapi enable_snmpapi implib
17886 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17887 wine_fn_config_dll softpub enable_softpub
17888 wine_fn_config_dll sound.drv16 enable_win16
17889 wine_fn_config_dll spoolss enable_spoolss implib
17890 wine_fn_config_test dlls/spoolss/tests spoolss_test
17891 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17892 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17893 wine_fn_config_dll sti enable_sti clean,implib
17894 wine_fn_config_test dlls/sti/tests sti_test
17895 wine_fn_config_dll storage.dll16 enable_win16
17896 wine_fn_config_dll stress.dll16 enable_win16
17897 wine_fn_config_lib strmbase
17898 wine_fn_config_lib strmiids
17899 wine_fn_config_dll svrapi enable_svrapi
17900 wine_fn_config_dll sxs enable_sxs implib
17901 wine_fn_config_test dlls/sxs/tests sxs_test
17902 wine_fn_config_dll system.drv16 enable_win16
17903 wine_fn_config_dll t2embed enable_t2embed
17904 wine_fn_config_dll tapi32 enable_tapi32 implib
17905 wine_fn_config_dll taskschd enable_taskschd clean
17906 wine_fn_config_test dlls/taskschd/tests taskschd_test
17907 wine_fn_config_dll tdi.sys enable_tdi_sys
17908 wine_fn_config_dll toolhelp.dll16 enable_win16
17909 wine_fn_config_dll traffic enable_traffic
17910 wine_fn_config_dll twain.dll16 enable_win16
17911 wine_fn_config_dll twain_32 enable_twain_32
17912 wine_fn_config_test dlls/twain_32/tests twain_32_test
17913 wine_fn_config_dll typelib.dll16 enable_win16
17914 wine_fn_config_dll ucrtbase enable_ucrtbase
17915 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17916 wine_fn_config_dll unicows enable_unicows implib
17917 wine_fn_config_dll updspapi enable_updspapi
17918 wine_fn_config_dll url enable_url implib
17919 wine_fn_config_dll urlmon enable_urlmon clean,implib
17920 wine_fn_config_test dlls/urlmon/tests urlmon_test
17921 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17922 wine_fn_config_dll user.exe16 enable_win16
17923 wine_fn_config_dll user32 enable_user32 clean,implib
17924 wine_fn_config_test dlls/user32/tests user32_test
17925 wine_fn_config_dll userenv enable_userenv implib
17926 wine_fn_config_test dlls/userenv/tests userenv_test
17927 wine_fn_config_dll usp10 enable_usp10 implib
17928 wine_fn_config_test dlls/usp10/tests usp10_test
17929 wine_fn_config_lib uuid
17930 wine_fn_config_dll uxtheme enable_uxtheme implib
17931 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17932 wine_fn_config_dll vbscript enable_vbscript clean
17933 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17934 wine_fn_config_dll vcomp enable_vcomp
17935 wine_fn_config_test dlls/vcomp/tests vcomp_test
17936 wine_fn_config_dll vcomp100 enable_vcomp100
17937 wine_fn_config_dll vcomp110 enable_vcomp110
17938 wine_fn_config_dll vcomp120 enable_vcomp120
17939 wine_fn_config_dll vcomp90 enable_vcomp90
17940 wine_fn_config_dll vcruntime140 enable_vcruntime140
17941 wine_fn_config_dll vdhcp.vxd enable_win16
17942 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17943 wine_fn_config_dll ver.dll16 enable_win16
17944 wine_fn_config_dll version enable_version implib
17945 wine_fn_config_test dlls/version/tests version_test
17946 wine_fn_config_dll vmm.vxd enable_win16
17947 wine_fn_config_dll vnbt.vxd enable_win16
17948 wine_fn_config_dll vnetbios.vxd enable_win16
17949 wine_fn_config_dll vssapi enable_vssapi
17950 wine_fn_config_dll vtdapi.vxd enable_win16
17951 wine_fn_config_dll vwin32.vxd enable_win16
17952 wine_fn_config_dll w32skrnl enable_win16
17953 wine_fn_config_dll w32sys.dll16 enable_win16
17954 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17955 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17956 wine_fn_config_dll wbemprox enable_wbemprox clean
17957 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17958 wine_fn_config_dll webservices enable_webservices implib
17959 wine_fn_config_test dlls/webservices/tests webservices_test
17960 wine_fn_config_dll wer enable_wer implib
17961 wine_fn_config_test dlls/wer/tests wer_test
17962 wine_fn_config_dll wevtapi enable_wevtapi
17963 wine_fn_config_dll wiaservc enable_wiaservc clean
17964 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
17965 wine_fn_config_dll wimgapi enable_wimgapi
17966 wine_fn_config_dll win32s16.dll16 enable_win16
17967 wine_fn_config_dll win87em.dll16 enable_win16
17968 wine_fn_config_dll winaspi.dll16 enable_win16
17969 wine_fn_config_dll windebug.dll16 enable_win16
17970 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17971 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17972 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17973 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17974 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17975 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17976 wine_fn_config_lib winecrt0
17977 wine_fn_config_dll wined3d enable_wined3d implib
17978 wine_fn_config_dll winegstreamer enable_winegstreamer
17979 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17980 wine_fn_config_dll winemac.drv enable_winemac_drv clean
17981 wine_fn_config_dll winemapi enable_winemapi
17982 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17983 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17984 wine_fn_config_dll wineps.drv enable_wineps_drv clean
17985 wine_fn_config_dll wineps16.drv16 enable_win16
17986 wine_fn_config_dll winepulse.drv enable_winepulse_drv
17987 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17988 wine_fn_config_dll winex11.drv enable_winex11_drv
17989 wine_fn_config_dll wing.dll16 enable_win16
17990 wine_fn_config_dll wing32 enable_wing32
17991 wine_fn_config_dll winhttp enable_winhttp clean,implib
17992 wine_fn_config_test dlls/winhttp/tests winhttp_test
17993 wine_fn_config_dll wininet enable_wininet clean,implib
17994 wine_fn_config_test dlls/wininet/tests wininet_test
17995 wine_fn_config_dll winmm enable_winmm clean,implib
17996 wine_fn_config_test dlls/winmm/tests winmm_test
17997 wine_fn_config_dll winnls.dll16 enable_win16
17998 wine_fn_config_dll winnls32 enable_winnls32 implib
17999 wine_fn_config_dll winscard enable_winscard implib
18000 wine_fn_config_dll winsock.dll16 enable_win16
18001 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18002 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18003 wine_fn_config_dll winsta enable_winsta
18004 wine_fn_config_dll wintab.dll16 enable_win16
18005 wine_fn_config_dll wintab32 enable_wintab32 implib
18006 wine_fn_config_test dlls/wintab32/tests wintab32_test
18007 wine_fn_config_dll wintrust enable_wintrust implib
18008 wine_fn_config_test dlls/wintrust/tests wintrust_test
18009 wine_fn_config_dll wlanapi enable_wlanapi
18010 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18011 wine_fn_config_test dlls/wldap32/tests wldap32_test
18012 wine_fn_config_dll wmi enable_wmi
18013 wine_fn_config_dll wmiutils enable_wmiutils clean
18014 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18015 wine_fn_config_dll wmp enable_wmp clean
18016 wine_fn_config_test dlls/wmp/tests wmp_test
18017 wine_fn_config_dll wmvcore enable_wmvcore
18018 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18019 wine_fn_config_dll wow32 enable_win16 implib
18020 wine_fn_config_dll wpcap enable_wpcap
18021 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18022 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18023 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18024 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18025 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18026 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18027 wine_fn_config_dll wsock32 enable_wsock32 implib
18028 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18029 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18030 wine_fn_config_dll wuapi enable_wuapi clean
18031 wine_fn_config_dll wuaueng enable_wuaueng
18032 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18033 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18034 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18035 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18036 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18037 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18038 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18039 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18040 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18041 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18042 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18043 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18044 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18045 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18046 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18047 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18048 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18049 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18050 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18051 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18052 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18053 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18054 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18055 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18056 wine_fn_config_dll xinput1_1 enable_xinput1_1
18057 wine_fn_config_dll xinput1_2 enable_xinput1_2
18058 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18059 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18060 wine_fn_config_dll xinput1_4 enable_xinput1_4
18061 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18062 wine_fn_config_dll xmllite enable_xmllite implib
18063 wine_fn_config_test dlls/xmllite/tests xmllite_test
18064 wine_fn_config_dll xolehlp enable_xolehlp
18065 wine_fn_config_dll xpsprint enable_xpsprint
18066 wine_fn_config_dll xpssvcs enable_xpssvcs
18067 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18068 wine_fn_config_makefile include enable_include clean,install-dev
18069 wine_fn_config_makefile libs/port enable_libs_port
18070 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18071 wine_fn_config_makefile libs/wpp enable_libs_wpp
18072 wine_fn_config_makefile loader enable_loader clean,install-lib
18073 wine_fn_config_program arp enable_arp install
18074 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18075 wine_fn_config_program attrib enable_attrib clean,install
18076 wine_fn_config_program cabarc enable_cabarc install
18077 wine_fn_config_program cacls enable_cacls install
18078 wine_fn_config_program clock enable_clock clean,install
18079 wine_fn_config_program cmd enable_cmd clean,install
18080 wine_fn_config_test programs/cmd/tests cmd.exe_test
18081 wine_fn_config_program conhost enable_conhost install
18082 wine_fn_config_program control enable_control install
18083 wine_fn_config_program cscript enable_cscript clean,install
18084 wine_fn_config_program dpnsvr enable_dpnsvr install
18085 wine_fn_config_program dxdiag enable_dxdiag clean,install
18086 wine_fn_config_program eject enable_eject install
18087 wine_fn_config_program expand enable_expand install
18088 wine_fn_config_program explorer enable_explorer clean,install
18089 wine_fn_config_program extrac32 enable_extrac32 install
18090 wine_fn_config_program findstr enable_findstr install
18091 wine_fn_config_program hh enable_hh install
18092 wine_fn_config_program hostname enable_hostname clean,install
18093 wine_fn_config_program icacls enable_icacls install
18094 wine_fn_config_program icinfo enable_icinfo install
18095 wine_fn_config_program iexplore enable_iexplore install
18096 wine_fn_config_program ipconfig enable_ipconfig clean,install
18097 wine_fn_config_program lodctr enable_lodctr install
18098 wine_fn_config_program mofcomp enable_mofcomp install
18099 wine_fn_config_program mshta enable_mshta install
18100 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18101 wine_fn_config_program net enable_net clean,install
18102 wine_fn_config_program netsh enable_netsh install
18103 wine_fn_config_program netstat enable_netstat clean,install
18104 wine_fn_config_program ngen enable_ngen install
18105 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18106 wine_fn_config_program oleview enable_oleview clean,install
18107 wine_fn_config_program ping enable_ping install
18108 wine_fn_config_program plugplay enable_plugplay install
18109 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18110 wine_fn_config_program progman enable_progman clean,install
18111 wine_fn_config_program reg enable_reg clean,install
18112 wine_fn_config_test programs/reg/tests reg.exe_test
18113 wine_fn_config_program regasm enable_regasm install
18114 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18115 wine_fn_config_test programs/regedit/tests regedit.exe_test
18116 wine_fn_config_program regsvcs enable_regsvcs install
18117 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18118 wine_fn_config_program rpcss enable_rpcss clean,install
18119 wine_fn_config_program rundll.exe16 enable_win16 install
18120 wine_fn_config_program rundll32 enable_rundll32 install
18121 wine_fn_config_program sc enable_sc install
18122 wine_fn_config_program schtasks enable_schtasks install
18123 wine_fn_config_program sdbinst enable_sdbinst install
18124 wine_fn_config_program secedit enable_secedit install
18125 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18126 wine_fn_config_program services enable_services clean,install
18127 wine_fn_config_test programs/services/tests services.exe_test
18128 wine_fn_config_program spoolsv enable_spoolsv install
18129 wine_fn_config_program start enable_start clean,install
18130 wine_fn_config_program svchost enable_svchost install
18131 wine_fn_config_program systeminfo enable_systeminfo install
18132 wine_fn_config_program taskkill enable_taskkill clean,install
18133 wine_fn_config_program tasklist enable_tasklist install
18134 wine_fn_config_program taskmgr enable_taskmgr clean,install
18135 wine_fn_config_program termsv enable_termsv install
18136 wine_fn_config_program uninstaller enable_uninstaller clean,install
18137 wine_fn_config_program unlodctr enable_unlodctr install
18138 wine_fn_config_program view enable_view clean,install
18139 wine_fn_config_program wevtutil enable_wevtutil install
18140 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18141 wine_fn_config_program winebrowser enable_winebrowser install
18142 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18143 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18144 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18145 wine_fn_config_program winedevice enable_winedevice install
18146 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18147 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18148 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18149 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18150 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18151 wine_fn_config_program winetest enable_winetest clean
18152 wine_fn_config_program winevdm enable_win16 install
18153 wine_fn_config_program winhelp.exe16 enable_win16 install
18154 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18155 wine_fn_config_program winoldap.mod16 enable_win16 install
18156 wine_fn_config_program winver enable_winver install
18157 wine_fn_config_program wmic enable_wmic clean,install
18158 wine_fn_config_program wmplayer enable_wmplayer install
18159 wine_fn_config_program wordpad enable_wordpad clean,install
18160 wine_fn_config_program write enable_write clean,install
18161 wine_fn_config_program wscript enable_wscript clean,install
18162 wine_fn_config_test programs/wscript/tests wscript.exe_test
18163 wine_fn_config_program wusa enable_wusa install
18164 wine_fn_config_program xcopy enable_xcopy clean,install
18165 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18166 wine_fn_config_makefile server enable_server clean,install-lib
18167 wine_fn_config_tool tools clean
18168 wine_fn_config_tool tools/sfnt2fon clean
18169 wine_fn_config_tool tools/widl clean,install-dev
18170 wine_fn_config_tool tools/winebuild clean,install-dev
18171 wine_fn_config_tool tools/winedump clean,install-dev
18172 wine_fn_config_tool tools/winegcc clean,install-dev
18173 wine_fn_config_tool tools/winemaker clean,install-dev
18174 wine_fn_config_tool tools/wmc clean,install-dev
18175 wine_fn_config_tool tools/wrc clean,install-dev
18177 LINGUAS="\
18178 ar \
18179 bg \
18180 ca \
18181 cs \
18182 da \
18183 de \
18184 el \
18185 en \
18186 en_US \
18187 eo \
18188 es \
18189 fa \
18190 fi \
18191 fr \
18192 he \
18193 hi \
18194 hr \
18195 hu \
18196 it \
18197 ja \
18198 ko \
18199 lt \
18200 ml \
18201 nb_NO \
18202 nl \
18203 or \
18204 pa \
18205 pl \
18206 pt_BR \
18207 pt_PT \
18208 rm \
18209 ro \
18210 ru \
18211 sk \
18212 sl \
18213 sr_RS@cyrillic \
18214 sr_RS@latin \
18215 sv \
18216 te \
18217 th \
18218 tr \
18219 uk \
18220 wa \
18221 zh_CN \
18222 zh_TW"
18227 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18228 wine_fn_append_file CONFIGURE_TARGETS "tags"
18229 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18230 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18231 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18232 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18233 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18234 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18236 if test "x$enable_tools" != xno
18237 then
18238 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18239 ac_config_commands="$ac_config_commands tools/makedep"
18243 ac_config_commands="$ac_config_commands Makefile"
18246 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18250 if test "x$enable_maintainer_mode" = xyes
18251 then
18252 wine_fn_append_rule "configure: configure.ac aclocal.m4
18253 autoconf --warnings=all
18254 include/config.h.in: include/stamp-h.in
18255 include/stamp-h.in: configure.ac aclocal.m4
18256 autoheader --warnings=all
18257 @echo timestamp > \$@"
18260 test "$MSGFMT" != false || LINGUAS=
18262 if test "x$enable_tools" != xno
18263 then
18264 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18265 @./config.status tools/makedep
18266 Makefile: tools/makedep$ac_exeext"
18267 else
18268 wine_fn_append_rule "\$(MAKEDEP):
18269 @echo \"You need to run make in $TOOLSDIR first\" && false"
18272 if test -n "$with_wine64"
18273 then
18274 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18275 fonts server tools:
18276 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18277 $with_wine64/loader/wine:
18278 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18279 $with_wine64/loader/wine-preloader:
18280 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18281 clean::
18282 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18283 else
18284 WINELOADER_INSTALL="wine.inf"
18286 wine_fn_append_rule "install install-lib::
18287 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18288 uninstall::
18289 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18290 case $host_os in
18291 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18292 *) wine_fn_append_rule "install install-lib::
18293 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18294 uninstall::
18295 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18296 esac
18299 $as_echo " done" >&6
18300 cat >confcache <<\_ACEOF
18301 # This file is a shell script that caches the results of configure
18302 # tests run on this system so they can be shared between configure
18303 # scripts and configure runs, see configure's option --config-cache.
18304 # It is not useful on other systems. If it contains results you don't
18305 # want to keep, you may remove or edit it.
18307 # config.status only pays attention to the cache file if you give it
18308 # the --recheck option to rerun configure.
18310 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18312 # following values.
18314 _ACEOF
18316 # The following way of writing the cache mishandles newlines in values,
18317 # but we know of no workaround that is simple, portable, and efficient.
18318 # So, we kill variables containing newlines.
18319 # Ultrix sh set writes to stderr and can't be redirected directly,
18320 # and sets the high bit in the cache file unless we assign to the vars.
18322 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18323 eval ac_val=\$$ac_var
18324 case $ac_val in #(
18325 *${as_nl}*)
18326 case $ac_var in #(
18327 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18328 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18329 esac
18330 case $ac_var in #(
18331 _ | IFS | as_nl) ;; #(
18332 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18333 *) { eval $ac_var=; unset $ac_var;} ;;
18334 esac ;;
18335 esac
18336 done
18338 (set) 2>&1 |
18339 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18340 *${as_nl}ac_space=\ *)
18341 # `set' does not quote correctly, so add quotes: double-quote
18342 # substitution turns \\\\ into \\, and sed turns \\ into \.
18343 sed -n \
18344 "s/'/'\\\\''/g;
18345 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18346 ;; #(
18348 # `set' quotes correctly as required by POSIX, so do not add quotes.
18349 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18351 esac |
18352 sort
18354 sed '
18355 /^ac_cv_env_/b end
18356 t clear
18357 :clear
18358 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18359 t end
18360 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18361 :end' >>confcache
18362 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18363 if test -w "$cache_file"; then
18364 if test "x$cache_file" != "x/dev/null"; then
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18366 $as_echo "$as_me: updating cache $cache_file" >&6;}
18367 if test ! -f "$cache_file" || test -h "$cache_file"; then
18368 cat confcache >"$cache_file"
18369 else
18370 case $cache_file in #(
18371 */* | ?:*)
18372 mv -f confcache "$cache_file"$$ &&
18373 mv -f "$cache_file"$$ "$cache_file" ;; #(
18375 mv -f confcache "$cache_file" ;;
18376 esac
18379 else
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18381 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18384 rm -f confcache
18386 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18387 # Let make expand exec_prefix.
18388 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18390 DEFS=-DHAVE_CONFIG_H
18392 ac_libobjs=
18393 ac_ltlibobjs=
18395 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18396 # 1. Remove the extension, and $U if already installed.
18397 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18398 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18399 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18400 # will be set to the directory where LIBOBJS objects are built.
18401 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18402 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18403 done
18404 LIBOBJS=$ac_libobjs
18406 LTLIBOBJS=$ac_ltlibobjs
18410 : "${CONFIG_STATUS=./config.status}"
18411 ac_write_fail=0
18412 ac_clean_files_save=$ac_clean_files
18413 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18415 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18416 as_write_fail=0
18417 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18418 #! $SHELL
18419 # Generated by $as_me.
18420 # Run this file to recreate the current configuration.
18421 # Compiler output produced by configure, useful for debugging
18422 # configure, is in config.log if it exists.
18424 debug=false
18425 ac_cs_recheck=false
18426 ac_cs_silent=false
18428 SHELL=\${CONFIG_SHELL-$SHELL}
18429 export SHELL
18430 _ASEOF
18431 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18432 ## -------------------- ##
18433 ## M4sh Initialization. ##
18434 ## -------------------- ##
18436 # Be more Bourne compatible
18437 DUALCASE=1; export DUALCASE # for MKS sh
18438 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18439 emulate sh
18440 NULLCMD=:
18441 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18442 # is contrary to our usage. Disable this feature.
18443 alias -g '${1+"$@"}'='"$@"'
18444 setopt NO_GLOB_SUBST
18445 else
18446 case `(set -o) 2>/dev/null` in #(
18447 *posix*) :
18448 set -o posix ;; #(
18449 *) :
18451 esac
18455 as_nl='
18457 export as_nl
18458 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18459 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18460 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18461 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18462 # Prefer a ksh shell builtin over an external printf program on Solaris,
18463 # but without wasting forks for bash or zsh.
18464 if test -z "$BASH_VERSION$ZSH_VERSION" \
18465 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18466 as_echo='print -r --'
18467 as_echo_n='print -rn --'
18468 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18469 as_echo='printf %s\n'
18470 as_echo_n='printf %s'
18471 else
18472 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18473 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18474 as_echo_n='/usr/ucb/echo -n'
18475 else
18476 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18477 as_echo_n_body='eval
18478 arg=$1;
18479 case $arg in #(
18480 *"$as_nl"*)
18481 expr "X$arg" : "X\\(.*\\)$as_nl";
18482 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18483 esac;
18484 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18486 export as_echo_n_body
18487 as_echo_n='sh -c $as_echo_n_body as_echo'
18489 export as_echo_body
18490 as_echo='sh -c $as_echo_body as_echo'
18493 # The user is always right.
18494 if test "${PATH_SEPARATOR+set}" != set; then
18495 PATH_SEPARATOR=:
18496 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18497 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18498 PATH_SEPARATOR=';'
18503 # IFS
18504 # We need space, tab and new line, in precisely that order. Quoting is
18505 # there to prevent editors from complaining about space-tab.
18506 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18507 # splitting by setting IFS to empty value.)
18508 IFS=" "" $as_nl"
18510 # Find who we are. Look in the path if we contain no directory separator.
18511 as_myself=
18512 case $0 in #((
18513 *[\\/]* ) as_myself=$0 ;;
18514 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18515 for as_dir in $PATH
18517 IFS=$as_save_IFS
18518 test -z "$as_dir" && as_dir=.
18519 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18520 done
18521 IFS=$as_save_IFS
18524 esac
18525 # We did not find ourselves, most probably we were run as `sh COMMAND'
18526 # in which case we are not to be found in the path.
18527 if test "x$as_myself" = x; then
18528 as_myself=$0
18530 if test ! -f "$as_myself"; then
18531 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18532 exit 1
18535 # Unset variables that we do not need and which cause bugs (e.g. in
18536 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18537 # suppresses any "Segmentation fault" message there. '((' could
18538 # trigger a bug in pdksh 5.2.14.
18539 for as_var in BASH_ENV ENV MAIL MAILPATH
18540 do eval test x\${$as_var+set} = xset \
18541 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18542 done
18543 PS1='$ '
18544 PS2='> '
18545 PS4='+ '
18547 # NLS nuisances.
18548 LC_ALL=C
18549 export LC_ALL
18550 LANGUAGE=C
18551 export LANGUAGE
18553 # CDPATH.
18554 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18557 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18558 # ----------------------------------------
18559 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18560 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18561 # script with STATUS, using 1 if that was 0.
18562 as_fn_error ()
18564 as_status=$1; test $as_status -eq 0 && as_status=1
18565 if test "$4"; then
18566 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18567 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18569 $as_echo "$as_me: error: $2" >&2
18570 as_fn_exit $as_status
18571 } # as_fn_error
18574 # as_fn_set_status STATUS
18575 # -----------------------
18576 # Set $? to STATUS, without forking.
18577 as_fn_set_status ()
18579 return $1
18580 } # as_fn_set_status
18582 # as_fn_exit STATUS
18583 # -----------------
18584 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18585 as_fn_exit ()
18587 set +e
18588 as_fn_set_status $1
18589 exit $1
18590 } # as_fn_exit
18592 # as_fn_unset VAR
18593 # ---------------
18594 # Portably unset VAR.
18595 as_fn_unset ()
18597 { eval $1=; unset $1;}
18599 as_unset=as_fn_unset
18600 # as_fn_append VAR VALUE
18601 # ----------------------
18602 # Append the text in VALUE to the end of the definition contained in VAR. Take
18603 # advantage of any shell optimizations that allow amortized linear growth over
18604 # repeated appends, instead of the typical quadratic growth present in naive
18605 # implementations.
18606 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18607 eval 'as_fn_append ()
18609 eval $1+=\$2
18611 else
18612 as_fn_append ()
18614 eval $1=\$$1\$2
18616 fi # as_fn_append
18618 # as_fn_arith ARG...
18619 # ------------------
18620 # Perform arithmetic evaluation on the ARGs, and store the result in the
18621 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18622 # must be portable across $(()) and expr.
18623 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18624 eval 'as_fn_arith ()
18626 as_val=$(( $* ))
18628 else
18629 as_fn_arith ()
18631 as_val=`expr "$@" || test $? -eq 1`
18633 fi # as_fn_arith
18636 if expr a : '\(a\)' >/dev/null 2>&1 &&
18637 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18638 as_expr=expr
18639 else
18640 as_expr=false
18643 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18644 as_basename=basename
18645 else
18646 as_basename=false
18649 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18650 as_dirname=dirname
18651 else
18652 as_dirname=false
18655 as_me=`$as_basename -- "$0" ||
18656 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18657 X"$0" : 'X\(//\)$' \| \
18658 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18659 $as_echo X/"$0" |
18660 sed '/^.*\/\([^/][^/]*\)\/*$/{
18661 s//\1/
18664 /^X\/\(\/\/\)$/{
18665 s//\1/
18668 /^X\/\(\/\).*/{
18669 s//\1/
18672 s/.*/./; q'`
18674 # Avoid depending upon Character Ranges.
18675 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18676 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18677 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18678 as_cr_digits='0123456789'
18679 as_cr_alnum=$as_cr_Letters$as_cr_digits
18681 ECHO_C= ECHO_N= ECHO_T=
18682 case `echo -n x` in #(((((
18683 -n*)
18684 case `echo 'xy\c'` in
18685 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18686 xy) ECHO_C='\c';;
18687 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18688 ECHO_T=' ';;
18689 esac;;
18691 ECHO_N='-n';;
18692 esac
18694 rm -f conf$$ conf$$.exe conf$$.file
18695 if test -d conf$$.dir; then
18696 rm -f conf$$.dir/conf$$.file
18697 else
18698 rm -f conf$$.dir
18699 mkdir conf$$.dir 2>/dev/null
18701 if (echo >conf$$.file) 2>/dev/null; then
18702 if ln -s conf$$.file conf$$ 2>/dev/null; then
18703 as_ln_s='ln -s'
18704 # ... but there are two gotchas:
18705 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18706 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18707 # In both cases, we have to default to `cp -pR'.
18708 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18709 as_ln_s='cp -pR'
18710 elif ln conf$$.file conf$$ 2>/dev/null; then
18711 as_ln_s=ln
18712 else
18713 as_ln_s='cp -pR'
18715 else
18716 as_ln_s='cp -pR'
18718 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18719 rmdir conf$$.dir 2>/dev/null
18722 # as_fn_mkdir_p
18723 # -------------
18724 # Create "$as_dir" as a directory, including parents if necessary.
18725 as_fn_mkdir_p ()
18728 case $as_dir in #(
18729 -*) as_dir=./$as_dir;;
18730 esac
18731 test -d "$as_dir" || eval $as_mkdir_p || {
18732 as_dirs=
18733 while :; do
18734 case $as_dir in #(
18735 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18736 *) as_qdir=$as_dir;;
18737 esac
18738 as_dirs="'$as_qdir' $as_dirs"
18739 as_dir=`$as_dirname -- "$as_dir" ||
18740 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18741 X"$as_dir" : 'X\(//\)[^/]' \| \
18742 X"$as_dir" : 'X\(//\)$' \| \
18743 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18744 $as_echo X"$as_dir" |
18745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18746 s//\1/
18749 /^X\(\/\/\)[^/].*/{
18750 s//\1/
18753 /^X\(\/\/\)$/{
18754 s//\1/
18757 /^X\(\/\).*/{
18758 s//\1/
18761 s/.*/./; q'`
18762 test -d "$as_dir" && break
18763 done
18764 test -z "$as_dirs" || eval "mkdir $as_dirs"
18765 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18768 } # as_fn_mkdir_p
18769 if mkdir -p . 2>/dev/null; then
18770 as_mkdir_p='mkdir -p "$as_dir"'
18771 else
18772 test -d ./-p && rmdir ./-p
18773 as_mkdir_p=false
18777 # as_fn_executable_p FILE
18778 # -----------------------
18779 # Test if FILE is an executable regular file.
18780 as_fn_executable_p ()
18782 test -f "$1" && test -x "$1"
18783 } # as_fn_executable_p
18784 as_test_x='test -x'
18785 as_executable_p=as_fn_executable_p
18787 # Sed expression to map a string onto a valid CPP name.
18788 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18790 # Sed expression to map a string onto a valid variable name.
18791 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18794 exec 6>&1
18795 ## ----------------------------------- ##
18796 ## Main body of $CONFIG_STATUS script. ##
18797 ## ----------------------------------- ##
18798 _ASEOF
18799 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18802 # Save the log message, to keep $0 and so on meaningful, and to
18803 # report actual input values of CONFIG_FILES etc. instead of their
18804 # values after options handling.
18805 ac_log="
18806 This file was extended by Wine $as_me 1.9.4, which was
18807 generated by GNU Autoconf 2.69. Invocation command line was
18809 CONFIG_FILES = $CONFIG_FILES
18810 CONFIG_HEADERS = $CONFIG_HEADERS
18811 CONFIG_LINKS = $CONFIG_LINKS
18812 CONFIG_COMMANDS = $CONFIG_COMMANDS
18813 $ $0 $@
18815 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18818 _ACEOF
18820 case $ac_config_files in *"
18821 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18822 esac
18824 case $ac_config_headers in *"
18825 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18826 esac
18829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18830 # Files that config.status was made for.
18831 config_files="$ac_config_files"
18832 config_headers="$ac_config_headers"
18833 config_links="$ac_config_links"
18834 config_commands="$ac_config_commands"
18836 _ACEOF
18838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18839 ac_cs_usage="\
18840 \`$as_me' instantiates files and other configuration actions
18841 from templates according to the current configuration. Unless the files
18842 and actions are specified as TAGs, all are instantiated by default.
18844 Usage: $0 [OPTION]... [TAG]...
18846 -h, --help print this help, then exit
18847 -V, --version print version number and configuration settings, then exit
18848 --config print configuration, then exit
18849 -q, --quiet, --silent
18850 do not print progress messages
18851 -d, --debug don't remove temporary files
18852 --recheck update $as_me by reconfiguring in the same conditions
18853 --file=FILE[:TEMPLATE]
18854 instantiate the configuration file FILE
18855 --header=FILE[:TEMPLATE]
18856 instantiate the configuration header FILE
18858 Configuration files:
18859 $config_files
18861 Configuration headers:
18862 $config_headers
18864 Configuration links:
18865 $config_links
18867 Configuration commands:
18868 $config_commands
18870 Report bugs to <wine-devel@winehq.org>.
18871 Wine home page: <http://www.winehq.org>."
18873 _ACEOF
18874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18875 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18876 ac_cs_version="\\
18877 Wine config.status 1.9.4
18878 configured by $0, generated by GNU Autoconf 2.69,
18879 with options \\"\$ac_cs_config\\"
18881 Copyright (C) 2012 Free Software Foundation, Inc.
18882 This config.status script is free software; the Free Software Foundation
18883 gives unlimited permission to copy, distribute and modify it."
18885 ac_pwd='$ac_pwd'
18886 srcdir='$srcdir'
18887 test -n "\$AWK" || AWK=awk
18888 _ACEOF
18890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18891 # The default lists apply if the user does not specify any file.
18892 ac_need_defaults=:
18893 while test $# != 0
18895 case $1 in
18896 --*=?*)
18897 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18898 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18899 ac_shift=:
18901 --*=)
18902 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18903 ac_optarg=
18904 ac_shift=:
18907 ac_option=$1
18908 ac_optarg=$2
18909 ac_shift=shift
18911 esac
18913 case $ac_option in
18914 # Handling of the options.
18915 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18916 ac_cs_recheck=: ;;
18917 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18918 $as_echo "$ac_cs_version"; exit ;;
18919 --config | --confi | --conf | --con | --co | --c )
18920 $as_echo "$ac_cs_config"; exit ;;
18921 --debug | --debu | --deb | --de | --d | -d )
18922 debug=: ;;
18923 --file | --fil | --fi | --f )
18924 $ac_shift
18925 case $ac_optarg in
18926 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18927 '') as_fn_error $? "missing file argument" ;;
18928 esac
18929 as_fn_append CONFIG_FILES " '$ac_optarg'"
18930 ac_need_defaults=false;;
18931 --header | --heade | --head | --hea )
18932 $ac_shift
18933 case $ac_optarg in
18934 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18935 esac
18936 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18937 ac_need_defaults=false;;
18938 --he | --h)
18939 # Conflict between --help and --header
18940 as_fn_error $? "ambiguous option: \`$1'
18941 Try \`$0 --help' for more information.";;
18942 --help | --hel | -h )
18943 $as_echo "$ac_cs_usage"; exit ;;
18944 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18945 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18946 ac_cs_silent=: ;;
18948 # This is an error.
18949 -*) as_fn_error $? "unrecognized option: \`$1'
18950 Try \`$0 --help' for more information." ;;
18952 *) as_fn_append ac_config_targets " $1"
18953 ac_need_defaults=false ;;
18955 esac
18956 shift
18957 done
18959 ac_configure_extra_args=
18961 if $ac_cs_silent; then
18962 exec 6>/dev/null
18963 ac_configure_extra_args="$ac_configure_extra_args --silent"
18966 _ACEOF
18967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18968 if \$ac_cs_recheck; then
18969 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18970 shift
18971 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18972 CONFIG_SHELL='$SHELL'
18973 export CONFIG_SHELL
18974 exec "\$@"
18977 _ACEOF
18978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18979 exec 5>>config.log
18981 echo
18982 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18983 ## Running $as_me. ##
18984 _ASBOX
18985 $as_echo "$ac_log"
18986 } >&5
18988 _ACEOF
18989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18991 # INIT-COMMANDS
18993 wine_fn_output_makedep ()
18995 as_dir=tools; as_fn_mkdir_p
18996 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18998 wine_fn_output_makefile ()
19000 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19001 `cat $wine_rules_file`
19002 _WINE_EOF
19003 as_fn_error $? "could not create Makefile" "$LINENO" 5
19006 _ACEOF
19008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19010 # Handling of arguments.
19011 for ac_config_target in $ac_config_targets
19013 case $ac_config_target in
19014 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19015 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19016 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19017 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19018 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19019 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19020 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19021 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19022 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19023 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19024 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19025 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19026 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19027 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19029 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19030 esac
19031 done
19034 # If the user did not use the arguments to specify the items to instantiate,
19035 # then the envvar interface is used. Set only those that are not.
19036 # We use the long form for the default assignment because of an extremely
19037 # bizarre bug on SunOS 4.1.3.
19038 if $ac_need_defaults; then
19039 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19040 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19041 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19042 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19045 # Have a temporary directory for convenience. Make it in the build tree
19046 # simply because there is no reason against having it here, and in addition,
19047 # creating and moving files from /tmp can sometimes cause problems.
19048 # Hook for its removal unless debugging.
19049 # Note that there is a small window in which the directory will not be cleaned:
19050 # after its creation but before its name has been assigned to `$tmp'.
19051 $debug ||
19053 tmp= ac_tmp=
19054 trap 'exit_status=$?
19055 : "${ac_tmp:=$tmp}"
19056 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19058 trap 'as_fn_exit 1' 1 2 13 15
19060 # Create a (secure) tmp directory for tmp files.
19063 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19064 test -d "$tmp"
19065 } ||
19067 tmp=./conf$$-$RANDOM
19068 (umask 077 && mkdir "$tmp")
19069 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19070 ac_tmp=$tmp
19072 # Set up the scripts for CONFIG_FILES section.
19073 # No need to generate them if there are no CONFIG_FILES.
19074 # This happens for instance with `./config.status config.h'.
19075 if test -n "$CONFIG_FILES"; then
19078 ac_cr=`echo X | tr X '\015'`
19079 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19080 # But we know of no other shell where ac_cr would be empty at this
19081 # point, so we can use a bashism as a fallback.
19082 if test "x$ac_cr" = x; then
19083 eval ac_cr=\$\'\\r\'
19085 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19086 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19087 ac_cs_awk_cr='\\r'
19088 else
19089 ac_cs_awk_cr=$ac_cr
19092 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19093 _ACEOF
19097 echo "cat >conf$$subs.awk <<_ACEOF" &&
19098 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19099 echo "_ACEOF"
19100 } >conf$$subs.sh ||
19101 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19102 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19103 ac_delim='%!_!# '
19104 for ac_last_try in false false false false false :; do
19105 . ./conf$$subs.sh ||
19106 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19108 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19109 if test $ac_delim_n = $ac_delim_num; then
19110 break
19111 elif $ac_last_try; then
19112 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19113 else
19114 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19116 done
19117 rm -f conf$$subs.sh
19119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19120 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19121 _ACEOF
19122 sed -n '
19124 s/^/S["/; s/!.*/"]=/
19127 s/^[^!]*!//
19128 :repl
19129 t repl
19130 s/'"$ac_delim"'$//
19131 t delim
19134 s/\(.\{148\}\)..*/\1/
19135 t more1
19136 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19139 b repl
19140 :more1
19141 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19144 s/.\{148\}//
19145 t nl
19146 :delim
19148 s/\(.\{148\}\)..*/\1/
19149 t more2
19150 s/["\\]/\\&/g; s/^/"/; s/$/"/
19153 :more2
19154 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19157 s/.\{148\}//
19158 t delim
19159 ' <conf$$subs.awk | sed '
19160 /^[^""]/{
19162 s/\n//
19164 ' >>$CONFIG_STATUS || ac_write_fail=1
19165 rm -f conf$$subs.awk
19166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19167 _ACAWK
19168 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19169 for (key in S) S_is_set[key] = 1
19170 FS = "\a"
19174 line = $ 0
19175 nfields = split(line, field, "@")
19176 substed = 0
19177 len = length(field[1])
19178 for (i = 2; i < nfields; i++) {
19179 key = field[i]
19180 keylen = length(key)
19181 if (S_is_set[key]) {
19182 value = S[key]
19183 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19184 len += length(value) + length(field[++i])
19185 substed = 1
19186 } else
19187 len += 1 + keylen
19190 print line
19193 _ACAWK
19194 _ACEOF
19195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19196 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19197 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19198 else
19200 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19201 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19202 _ACEOF
19204 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19205 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19206 # trailing colons and then remove the whole line if VPATH becomes empty
19207 # (actually we leave an empty line to preserve line numbers).
19208 if test "x$srcdir" = x.; then
19209 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19211 s///
19212 s/^/:/
19213 s/[ ]*$/:/
19214 s/:\$(srcdir):/:/g
19215 s/:\${srcdir}:/:/g
19216 s/:@srcdir@:/:/g
19217 s/^:*//
19218 s/:*$//
19220 s/\(=[ ]*\).*/\1/
19222 s/\n//
19223 s/^[^=]*=[ ]*$//
19227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19228 fi # test -n "$CONFIG_FILES"
19230 # Set up the scripts for CONFIG_HEADERS section.
19231 # No need to generate them if there are no CONFIG_HEADERS.
19232 # This happens for instance with `./config.status Makefile'.
19233 if test -n "$CONFIG_HEADERS"; then
19234 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19235 BEGIN {
19236 _ACEOF
19238 # Transform confdefs.h into an awk script `defines.awk', embedded as
19239 # here-document in config.status, that substitutes the proper values into
19240 # config.h.in to produce config.h.
19242 # Create a delimiter string that does not exist in confdefs.h, to ease
19243 # handling of long lines.
19244 ac_delim='%!_!# '
19245 for ac_last_try in false false :; do
19246 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19247 if test -z "$ac_tt"; then
19248 break
19249 elif $ac_last_try; then
19250 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19251 else
19252 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19254 done
19256 # For the awk script, D is an array of macro values keyed by name,
19257 # likewise P contains macro parameters if any. Preserve backslash
19258 # newline sequences.
19260 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19261 sed -n '
19262 s/.\{148\}/&'"$ac_delim"'/g
19263 t rset
19264 :rset
19265 s/^[ ]*#[ ]*define[ ][ ]*/ /
19266 t def
19268 :def
19269 s/\\$//
19270 t bsnl
19271 s/["\\]/\\&/g
19272 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19273 D["\1"]=" \3"/p
19274 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19276 :bsnl
19277 s/["\\]/\\&/g
19278 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19279 D["\1"]=" \3\\\\\\n"\\/p
19280 t cont
19281 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19282 t cont
19284 :cont
19286 s/.\{148\}/&'"$ac_delim"'/g
19287 t clear
19288 :clear
19289 s/\\$//
19290 t bsnlc
19291 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19293 :bsnlc
19294 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19295 b cont
19296 ' <confdefs.h | sed '
19297 s/'"$ac_delim"'/"\\\
19298 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19301 for (key in D) D_is_set[key] = 1
19302 FS = "\a"
19304 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19305 line = \$ 0
19306 split(line, arg, " ")
19307 if (arg[1] == "#") {
19308 defundef = arg[2]
19309 mac1 = arg[3]
19310 } else {
19311 defundef = substr(arg[1], 2)
19312 mac1 = arg[2]
19314 split(mac1, mac2, "(") #)
19315 macro = mac2[1]
19316 prefix = substr(line, 1, index(line, defundef) - 1)
19317 if (D_is_set[macro]) {
19318 # Preserve the white space surrounding the "#".
19319 print prefix "define", macro P[macro] D[macro]
19320 next
19321 } else {
19322 # Replace #undef with comments. This is necessary, for example,
19323 # in the case of _POSIX_SOURCE, which is predefined and required
19324 # on some systems where configure will not decide to define it.
19325 if (defundef == "undef") {
19326 print "/*", prefix defundef, macro, "*/"
19327 next
19331 { print }
19332 _ACAWK
19333 _ACEOF
19334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19335 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19336 fi # test -n "$CONFIG_HEADERS"
19339 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19340 shift
19341 for ac_tag
19343 case $ac_tag in
19344 :[FHLC]) ac_mode=$ac_tag; continue;;
19345 esac
19346 case $ac_mode$ac_tag in
19347 :[FHL]*:*);;
19348 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19349 :[FH]-) ac_tag=-:-;;
19350 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19351 esac
19352 ac_save_IFS=$IFS
19353 IFS=:
19354 set x $ac_tag
19355 IFS=$ac_save_IFS
19356 shift
19357 ac_file=$1
19358 shift
19360 case $ac_mode in
19361 :L) ac_source=$1;;
19362 :[FH])
19363 ac_file_inputs=
19364 for ac_f
19366 case $ac_f in
19367 -) ac_f="$ac_tmp/stdin";;
19368 *) # Look for the file first in the build tree, then in the source tree
19369 # (if the path is not absolute). The absolute path cannot be DOS-style,
19370 # because $ac_f cannot contain `:'.
19371 test -f "$ac_f" ||
19372 case $ac_f in
19373 [\\/$]*) false;;
19374 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19375 esac ||
19376 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19377 esac
19378 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19379 as_fn_append ac_file_inputs " '$ac_f'"
19380 done
19382 # Let's still pretend it is `configure' which instantiates (i.e., don't
19383 # use $as_me), people would be surprised to read:
19384 # /* config.h. Generated by config.status. */
19385 configure_input='Generated from '`
19386 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19387 `' by configure.'
19388 if test x"$ac_file" != x-; then
19389 configure_input="$ac_file. $configure_input"
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19391 $as_echo "$as_me: creating $ac_file" >&6;}
19393 # Neutralize special characters interpreted by sed in replacement strings.
19394 case $configure_input in #(
19395 *\&* | *\|* | *\\* )
19396 ac_sed_conf_input=`$as_echo "$configure_input" |
19397 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19398 *) ac_sed_conf_input=$configure_input;;
19399 esac
19401 case $ac_tag in
19402 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19403 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19404 esac
19406 esac
19408 ac_dir=`$as_dirname -- "$ac_file" ||
19409 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19410 X"$ac_file" : 'X\(//\)[^/]' \| \
19411 X"$ac_file" : 'X\(//\)$' \| \
19412 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19413 $as_echo X"$ac_file" |
19414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19415 s//\1/
19418 /^X\(\/\/\)[^/].*/{
19419 s//\1/
19422 /^X\(\/\/\)$/{
19423 s//\1/
19426 /^X\(\/\).*/{
19427 s//\1/
19430 s/.*/./; q'`
19431 as_dir="$ac_dir"; as_fn_mkdir_p
19432 ac_builddir=.
19434 case "$ac_dir" in
19435 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19437 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19438 # A ".." for each directory in $ac_dir_suffix.
19439 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19440 case $ac_top_builddir_sub in
19441 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19442 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19443 esac ;;
19444 esac
19445 ac_abs_top_builddir=$ac_pwd
19446 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19447 # for backward compatibility:
19448 ac_top_builddir=$ac_top_build_prefix
19450 case $srcdir in
19451 .) # We are building in place.
19452 ac_srcdir=.
19453 ac_top_srcdir=$ac_top_builddir_sub
19454 ac_abs_top_srcdir=$ac_pwd ;;
19455 [\\/]* | ?:[\\/]* ) # Absolute name.
19456 ac_srcdir=$srcdir$ac_dir_suffix;
19457 ac_top_srcdir=$srcdir
19458 ac_abs_top_srcdir=$srcdir ;;
19459 *) # Relative name.
19460 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19461 ac_top_srcdir=$ac_top_build_prefix$srcdir
19462 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19463 esac
19464 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19467 case $ac_mode in
19470 # CONFIG_FILE
19473 _ACEOF
19475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19476 # If the template does not know about datarootdir, expand it.
19477 # FIXME: This hack should be removed a few years after 2.60.
19478 ac_datarootdir_hack=; ac_datarootdir_seen=
19479 ac_sed_dataroot='
19480 /datarootdir/ {
19484 /@datadir@/p
19485 /@docdir@/p
19486 /@infodir@/p
19487 /@localedir@/p
19488 /@mandir@/p'
19489 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19490 *datarootdir*) ac_datarootdir_seen=yes;;
19491 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19493 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19494 _ACEOF
19495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19496 ac_datarootdir_hack='
19497 s&@datadir@&$datadir&g
19498 s&@docdir@&$docdir&g
19499 s&@infodir@&$infodir&g
19500 s&@localedir@&$localedir&g
19501 s&@mandir@&$mandir&g
19502 s&\\\${datarootdir}&$datarootdir&g' ;;
19503 esac
19504 _ACEOF
19506 # Neutralize VPATH when `$srcdir' = `.'.
19507 # Shell code in configure.ac might set extrasub.
19508 # FIXME: do we really want to maintain this feature?
19509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19510 ac_sed_extra="$ac_vpsub
19511 $extrasub
19512 _ACEOF
19513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19515 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19516 s|@configure_input@|$ac_sed_conf_input|;t t
19517 s&@top_builddir@&$ac_top_builddir_sub&;t t
19518 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19519 s&@srcdir@&$ac_srcdir&;t t
19520 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19521 s&@top_srcdir@&$ac_top_srcdir&;t t
19522 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19523 s&@builddir@&$ac_builddir&;t t
19524 s&@abs_builddir@&$ac_abs_builddir&;t t
19525 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19526 $ac_datarootdir_hack
19528 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19529 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19531 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19532 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19533 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19534 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19536 which seems to be undefined. Please make sure it is defined" >&5
19537 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19538 which seems to be undefined. Please make sure it is defined" >&2;}
19540 rm -f "$ac_tmp/stdin"
19541 case $ac_file in
19542 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19543 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19544 esac \
19545 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19549 # CONFIG_HEADER
19551 if test x"$ac_file" != x-; then
19553 $as_echo "/* $configure_input */" \
19554 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19555 } >"$ac_tmp/config.h" \
19556 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19557 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19559 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19560 else
19561 rm -f "$ac_file"
19562 mv "$ac_tmp/config.h" "$ac_file" \
19563 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19565 else
19566 $as_echo "/* $configure_input */" \
19567 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19568 || as_fn_error $? "could not create -" "$LINENO" 5
19573 # CONFIG_LINK
19576 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19578 else
19579 # Prefer the file from the source tree if names are identical.
19580 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19581 ac_source=$srcdir/$ac_source
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19585 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19587 if test ! -r "$ac_source"; then
19588 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19590 rm -f "$ac_file"
19592 # Try a relative symlink, then a hard link, then a copy.
19593 case $ac_source in
19594 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19595 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19596 esac
19597 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19598 ln "$ac_source" "$ac_file" 2>/dev/null ||
19599 cp -p "$ac_source" "$ac_file" ||
19600 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19603 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19604 $as_echo "$as_me: executing $ac_file commands" >&6;}
19606 esac
19609 case $ac_file$ac_mode in
19610 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19611 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19612 "Makefile":C) wine_fn_output_makefile Makefile ;;
19614 esac
19615 done # for ac_tag
19618 as_fn_exit 0
19619 _ACEOF
19620 ac_clean_files=$ac_clean_files_save
19622 test $ac_write_fail = 0 ||
19623 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19626 # configure is writing to config.log, and then calls config.status.
19627 # config.status does its own redirection, appending to config.log.
19628 # Unfortunately, on DOS this fails, as config.log is still kept open
19629 # by configure, so config.status won't be able to write to it; its
19630 # output is simply discarded. So we exec the FD to /dev/null,
19631 # effectively closing config.log, so it can be properly (re)opened and
19632 # appended to by config.status. When coming back to configure, we
19633 # need to make the FD available again.
19634 if test "$no_create" != yes; then
19635 ac_cs_success=:
19636 ac_config_status_args=
19637 test "$silent" = yes &&
19638 ac_config_status_args="$ac_config_status_args --quiet"
19639 exec 5>/dev/null
19640 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19641 exec 5>>config.log
19642 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19643 # would make configure fail if this is the last instruction.
19644 $ac_cs_success || as_fn_exit 1
19646 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19648 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19652 if test "$no_create" = "yes"
19653 then
19654 exit 0
19657 ac_save_IFS="$IFS"
19658 if test "x$wine_notices" != x; then
19659 echo >&6
19660 IFS="|"
19661 for msg in $wine_notices; do
19662 IFS="$ac_save_IFS"
19663 if ${msg:+false} :; then :
19665 else
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19667 $as_echo "$as_me: $msg" >&6;}
19669 done
19671 IFS="|"
19672 for msg in $wine_warnings; do
19673 IFS="$ac_save_IFS"
19674 if ${msg:+false} :; then :
19676 else
19677 echo >&2
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19679 $as_echo "$as_me: WARNING: $msg" >&2;}
19681 done
19682 IFS="$ac_save_IFS"
19684 $as_echo "
19685 $as_me: Finished. Do '${ac_make}' to compile Wine.
19686 " >&6