wined3d: Merge wined3d_surface_map() and wined3d_volume_map().
[wine.git] / configure
blobbee8e6b22619dbb62e1f105e9586e552fd1effd5
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.5.
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.5'
584 PACKAGE_STRING='Wine 1.9.5'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 OSS4_CFLAGS
656 ALSA_LIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 PULSE_LIBS
660 PULSE_CFLAGS
661 GETTEXTPO_LIBS
662 Z_LIBS
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLV_LIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 PCAP_LIBS
685 X_EXTRA_LIBS
686 X_LIBS
687 X_PRE_LIBS
688 X_CFLAGS
689 XMKMF
690 PTHREAD_LIBS
691 CROSSCC
692 CROSSTARGET
693 PRELINK
694 WINELOADER_DEPENDS
695 CARBON_LIBS
696 QUICKTIME_LIBS
697 OPENCL_LIBS
698 OPENAL_LIBS
699 COREAUDIO_LIBS
700 SECURITY_LIBS
701 DISKARBITRATION_LIBS
702 APPKIT_LIBS
703 CORESERVICES_LIBS
704 APPLICATIONSERVICES_LIBS
705 FORCEFEEDBACK_LIBS
706 IOKIT_LIBS
707 COREFOUNDATION_LIBS
708 LIBWINE_DEPENDS
709 LIBWINE_LDFLAGS
710 LIBWINE_INSTALL_DEV
711 LIBWINE_INSTALL_LIB
712 LIBWINE_IMPORTLIB
713 LIBWINE_SHAREDLIB
714 SOCKET_LIBS
715 DLLTOOL
716 WINELOADER_PROGRAMS
717 ALL_TEST_RESOURCES
718 CONFIGURE_TARGETS
719 DISABLED_SUBDIRS
720 SUBDIRS
721 READELF
722 OTOOL
724 LDEXECFLAGS
725 LDRPATH_LOCAL
726 LDRPATH_INSTALL
727 DLLFLAGS
728 dlldir
730 OPENGL_LIBS
731 ICOTOOL
732 CONVERT
733 RSVG
734 FONTFORGE
735 PKG_CONFIG
736 MSGFMT
737 LDCONFIG
738 EGREP
739 GREP
740 LN_S
741 RANLIB
742 ARFLAGS
743 STRIP
744 ac_ct_AR
746 BISON
747 FLEX
748 TOOLSDIR
749 TARGETFLAGS
751 CPPBIN
752 ac_ct_CXX
753 CXXFLAGS
755 OBJEXT
756 EXEEXT
757 ac_ct_CC
758 CPPFLAGS
759 LDFLAGS
760 CFLAGS
762 SET_MAKE
763 host_os
764 host_vendor
765 host_cpu
766 host
767 build_os
768 build_vendor
769 build_cpu
770 build
771 target_alias
772 host_alias
773 build_alias
774 LIBS
775 ECHO_T
776 ECHO_N
777 ECHO_C
778 DEFS
779 mandir
780 localedir
781 libdir
782 psdir
783 pdfdir
784 dvidir
785 htmldir
786 infodir
787 docdir
788 oldincludedir
789 includedir
790 runstatedir
791 localstatedir
792 sharedstatedir
793 sysconfdir
794 datadir
795 datarootdir
796 libexecdir
797 sbindir
798 bindir
799 program_transform_name
800 prefix
801 exec_prefix
802 PACKAGE_URL
803 PACKAGE_BUGREPORT
804 PACKAGE_STRING
805 PACKAGE_VERSION
806 PACKAGE_TARNAME
807 PACKAGE_NAME
808 PATH_SEPARATOR
809 SHELL'
810 ac_subst_files=''
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_netapi
838 with_openal
839 with_opencl
840 with_opengl
841 with_osmesa
842 with_oss
843 with_pcap
844 with_png
845 with_pthread
846 with_pulse
847 with_sane
848 with_tiff
849 with_v4l
850 with_xcomposite
851 with_xcursor
852 with_xinerama
853 with_xinput
854 with_xinput2
855 with_xml
856 with_xrandr
857 with_xrender
858 with_xshape
859 with_xshm
860 with_xslt
861 with_xxf86vm
862 with_zlib
863 with_wine_tools
864 with_wine64
865 enable_largefile
866 with_x
867 enable_acledit
868 enable_aclui
869 enable_activeds
870 enable_actxprxy
871 enable_advapi32
872 enable_advpack
873 enable_amstream
874 enable_api_ms_win_core_com_l1_1_0
875 enable_api_ms_win_core_com_l1_1_1
876 enable_api_ms_win_core_console_l1_1_0
877 enable_api_ms_win_core_datetime_l1_1_0
878 enable_api_ms_win_core_datetime_l1_1_1
879 enable_api_ms_win_core_debug_l1_1_0
880 enable_api_ms_win_core_debug_l1_1_1
881 enable_api_ms_win_core_delayload_l1_1_1
882 enable_api_ms_win_core_errorhandling_l1_1_0
883 enable_api_ms_win_core_errorhandling_l1_1_1
884 enable_api_ms_win_core_errorhandling_l1_1_2
885 enable_api_ms_win_core_fibers_l1_1_0
886 enable_api_ms_win_core_fibers_l1_1_1
887 enable_api_ms_win_core_file_l1_1_0
888 enable_api_ms_win_core_file_l1_2_0
889 enable_api_ms_win_core_file_l2_1_0
890 enable_api_ms_win_core_file_l2_1_1
891 enable_api_ms_win_core_handle_l1_1_0
892 enable_api_ms_win_core_heap_l1_1_0
893 enable_api_ms_win_core_heap_l1_2_0
894 enable_api_ms_win_core_heap_obsolete_l1_1_0
895 enable_api_ms_win_core_interlocked_l1_1_0
896 enable_api_ms_win_core_interlocked_l1_2_0
897 enable_api_ms_win_core_io_l1_1_1
898 enable_api_ms_win_core_kernel32_legacy_l1_1_0
899 enable_api_ms_win_core_kernel32_legacy_l1_1_1
900 enable_api_ms_win_core_libraryloader_l1_1_0
901 enable_api_ms_win_core_libraryloader_l1_1_1
902 enable_api_ms_win_core_libraryloader_l1_2_0
903 enable_api_ms_win_core_localization_l1_1_0
904 enable_api_ms_win_core_localization_l1_2_0
905 enable_api_ms_win_core_localization_l1_2_1
906 enable_api_ms_win_core_localization_obsolete_l1_1_0
907 enable_api_ms_win_core_localregistry_l1_1_0
908 enable_api_ms_win_core_memory_l1_1_0
909 enable_api_ms_win_core_memory_l1_1_1
910 enable_api_ms_win_core_misc_l1_1_0
911 enable_api_ms_win_core_namedpipe_l1_1_0
912 enable_api_ms_win_core_namedpipe_l1_2_0
913 enable_api_ms_win_core_path_l1_1_0
914 enable_api_ms_win_core_processenvironment_l1_1_0
915 enable_api_ms_win_core_processenvironment_l1_2_0
916 enable_api_ms_win_core_processthreads_l1_1_0
917 enable_api_ms_win_core_processthreads_l1_1_1
918 enable_api_ms_win_core_processthreads_l1_1_2
919 enable_api_ms_win_core_profile_l1_1_0
920 enable_api_ms_win_core_psapi_l1_1_0
921 enable_api_ms_win_core_registry_l1_1_0
922 enable_api_ms_win_core_rtlsupport_l1_1_0
923 enable_api_ms_win_core_rtlsupport_l1_2_0
924 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
925 enable_api_ms_win_core_string_l1_1_0
926 enable_api_ms_win_core_synch_l1_1_0
927 enable_api_ms_win_core_synch_l1_2_0
928 enable_api_ms_win_core_sysinfo_l1_1_0
929 enable_api_ms_win_core_sysinfo_l1_2_0
930 enable_api_ms_win_core_sysinfo_l1_2_1
931 enable_api_ms_win_core_threadpool_l1_2_0
932 enable_api_ms_win_core_threadpool_legacy_l1_1_0
933 enable_api_ms_win_core_timezone_l1_1_0
934 enable_api_ms_win_core_url_l1_1_0
935 enable_api_ms_win_core_util_l1_1_0
936 enable_api_ms_win_core_winrt_error_l1_1_0
937 enable_api_ms_win_core_winrt_error_l1_1_1
938 enable_api_ms_win_core_winrt_l1_1_0
939 enable_api_ms_win_core_winrt_registration_l1_1_0
940 enable_api_ms_win_core_winrt_string_l1_1_0
941 enable_api_ms_win_core_wow64_l1_1_0
942 enable_api_ms_win_core_xstate_l2_1_0
943 enable_api_ms_win_crt_conio_l1_1_0
944 enable_api_ms_win_crt_convert_l1_1_0
945 enable_api_ms_win_crt_environment_l1_1_0
946 enable_api_ms_win_crt_filesystem_l1_1_0
947 enable_api_ms_win_crt_heap_l1_1_0
948 enable_api_ms_win_crt_locale_l1_1_0
949 enable_api_ms_win_crt_math_l1_1_0
950 enable_api_ms_win_crt_multibyte_l1_1_0
951 enable_api_ms_win_crt_private_l1_1_0
952 enable_api_ms_win_crt_process_l1_1_0
953 enable_api_ms_win_crt_runtime_l1_1_0
954 enable_api_ms_win_crt_stdio_l1_1_0
955 enable_api_ms_win_crt_string_l1_1_0
956 enable_api_ms_win_crt_time_l1_1_0
957 enable_api_ms_win_crt_utility_l1_1_0
958 enable_api_ms_win_downlevel_advapi32_l1_1_0
959 enable_api_ms_win_downlevel_advapi32_l2_1_0
960 enable_api_ms_win_downlevel_normaliz_l1_1_0
961 enable_api_ms_win_downlevel_ole32_l1_1_0
962 enable_api_ms_win_downlevel_shell32_l1_1_0
963 enable_api_ms_win_downlevel_shlwapi_l1_1_0
964 enable_api_ms_win_downlevel_shlwapi_l2_1_0
965 enable_api_ms_win_downlevel_user32_l1_1_0
966 enable_api_ms_win_downlevel_version_l1_1_0
967 enable_api_ms_win_eventing_classicprovider_l1_1_0
968 enable_api_ms_win_eventing_provider_l1_1_0
969 enable_api_ms_win_ntuser_dc_access_l1_1_0
970 enable_api_ms_win_security_base_l1_1_0
971 enable_api_ms_win_security_base_l1_2_0
972 enable_api_ms_win_security_lsalookup_l1_1_0
973 enable_api_ms_win_security_lsalookup_l1_1_1
974 enable_api_ms_win_security_sddl_l1_1_0
975 enable_api_ms_win_service_core_l1_1_1
976 enable_api_ms_win_service_management_l1_1_0
977 enable_api_ms_win_service_winsvc_l1_2_0
978 enable_apphelp
979 enable_appwiz_cpl
980 enable_atl
981 enable_atl100
982 enable_atl110
983 enable_atl80
984 enable_atl90
985 enable_authz
986 enable_avicap32
987 enable_avifil32
988 enable_avrt
989 enable_bcrypt
990 enable_bluetoothapis
991 enable_browseui
992 enable_bthprops_cpl
993 enable_cabinet
994 enable_capi2032
995 enable_cards
996 enable_cfgmgr32
997 enable_clusapi
998 enable_combase
999 enable_comcat
1000 enable_comctl32
1001 enable_comdlg32
1002 enable_compstui
1003 enable_comsvcs
1004 enable_connect
1005 enable_credui
1006 enable_crtdll
1007 enable_crypt32
1008 enable_cryptdlg
1009 enable_cryptdll
1010 enable_cryptext
1011 enable_cryptnet
1012 enable_cryptui
1013 enable_ctapi32
1014 enable_ctl3d32
1015 enable_d2d1
1016 enable_d3d10
1017 enable_d3d10_1
1018 enable_d3d10core
1019 enable_d3d11
1020 enable_d3d8
1021 enable_d3d9
1022 enable_d3dcompiler_33
1023 enable_d3dcompiler_34
1024 enable_d3dcompiler_35
1025 enable_d3dcompiler_36
1026 enable_d3dcompiler_37
1027 enable_d3dcompiler_38
1028 enable_d3dcompiler_39
1029 enable_d3dcompiler_40
1030 enable_d3dcompiler_41
1031 enable_d3dcompiler_42
1032 enable_d3dcompiler_43
1033 enable_d3dcompiler_46
1034 enable_d3dcompiler_47
1035 enable_d3dim
1036 enable_d3drm
1037 enable_d3dx10_33
1038 enable_d3dx10_34
1039 enable_d3dx10_35
1040 enable_d3dx10_36
1041 enable_d3dx10_37
1042 enable_d3dx10_38
1043 enable_d3dx10_39
1044 enable_d3dx10_40
1045 enable_d3dx10_41
1046 enable_d3dx10_42
1047 enable_d3dx10_43
1048 enable_d3dx11_42
1049 enable_d3dx11_43
1050 enable_d3dx9_24
1051 enable_d3dx9_25
1052 enable_d3dx9_26
1053 enable_d3dx9_27
1054 enable_d3dx9_28
1055 enable_d3dx9_29
1056 enable_d3dx9_30
1057 enable_d3dx9_31
1058 enable_d3dx9_32
1059 enable_d3dx9_33
1060 enable_d3dx9_34
1061 enable_d3dx9_35
1062 enable_d3dx9_36
1063 enable_d3dx9_37
1064 enable_d3dx9_38
1065 enable_d3dx9_39
1066 enable_d3dx9_40
1067 enable_d3dx9_41
1068 enable_d3dx9_42
1069 enable_d3dx9_43
1070 enable_d3dxof
1071 enable_davclnt
1072 enable_dbgeng
1073 enable_dbghelp
1074 enable_dciman32
1075 enable_ddraw
1076 enable_ddrawex
1077 enable_devenum
1078 enable_dhcpcsvc
1079 enable_difxapi
1080 enable_dinput
1081 enable_dinput8
1082 enable_dispex
1083 enable_dmband
1084 enable_dmcompos
1085 enable_dmime
1086 enable_dmloader
1087 enable_dmscript
1088 enable_dmstyle
1089 enable_dmsynth
1090 enable_dmusic
1091 enable_dmusic32
1092 enable_dnsapi
1093 enable_dplay
1094 enable_dplayx
1095 enable_dpnaddr
1096 enable_dpnet
1097 enable_dpnhpast
1098 enable_dpnlobby
1099 enable_dpvoice
1100 enable_dpwsockx
1101 enable_drmclien
1102 enable_dsound
1103 enable_dssenh
1104 enable_dswave
1105 enable_dwmapi
1106 enable_dwrite
1107 enable_dxdiagn
1108 enable_dxgi
1109 enable_dxva2
1110 enable_esent
1111 enable_evr
1112 enable_explorerframe
1113 enable_ext_ms_win_gdi_devcaps_l1_1_0
1114 enable_faultrep
1115 enable_fltlib
1116 enable_fltmgr_sys
1117 enable_fntcache
1118 enable_fontsub
1119 enable_fusion
1120 enable_fwpuclnt
1121 enable_gameux
1122 enable_gdi32
1123 enable_gdiplus
1124 enable_glu32
1125 enable_gphoto2_ds
1126 enable_gpkcsp
1127 enable_hal
1128 enable_hhctrl_ocx
1129 enable_hid
1130 enable_hidclass_sys
1131 enable_hlink
1132 enable_hnetcfg
1133 enable_httpapi
1134 enable_iccvid
1135 enable_icmp
1136 enable_ieframe
1137 enable_imaadp32_acm
1138 enable_imagehlp
1139 enable_imm32
1140 enable_inetcomm
1141 enable_inetcpl_cpl
1142 enable_inetmib1
1143 enable_infosoft
1144 enable_initpki
1145 enable_inkobj
1146 enable_inseng
1147 enable_iphlpapi
1148 enable_irprops_cpl
1149 enable_itircl
1150 enable_itss
1151 enable_joy_cpl
1152 enable_jscript
1153 enable_jsproxy
1154 enable_kernel32
1155 enable_ksuser
1156 enable_ktmw32
1157 enable_loadperf
1158 enable_localspl
1159 enable_localui
1160 enable_lz32
1161 enable_mapi32
1162 enable_mapistub
1163 enable_mciavi32
1164 enable_mcicda
1165 enable_mciqtz32
1166 enable_mciseq
1167 enable_mciwave
1168 enable_mf
1169 enable_mfplat
1170 enable_mfreadwrite
1171 enable_mgmtapi
1172 enable_midimap
1173 enable_mlang
1174 enable_mmcndmgr
1175 enable_mmdevapi
1176 enable_mountmgr_sys
1177 enable_mpr
1178 enable_mprapi
1179 enable_msacm32_drv
1180 enable_msacm32
1181 enable_msadp32_acm
1182 enable_msasn1
1183 enable_mscat32
1184 enable_mscms
1185 enable_mscoree
1186 enable_msctf
1187 enable_msctfp
1188 enable_msdaps
1189 enable_msdelta
1190 enable_msdmo
1191 enable_msdrm
1192 enable_msftedit
1193 enable_msg711_acm
1194 enable_msgsm32_acm
1195 enable_mshtml_tlb
1196 enable_mshtml
1197 enable_msi
1198 enable_msident
1199 enable_msimg32
1200 enable_msimsg
1201 enable_msimtf
1202 enable_msisip
1203 enable_msisys_ocx
1204 enable_msls31
1205 enable_msnet32
1206 enable_mspatcha
1207 enable_msrle32
1208 enable_msscript_ocx
1209 enable_mssign32
1210 enable_mssip32
1211 enable_mstask
1212 enable_msvcirt
1213 enable_msvcm80
1214 enable_msvcm90
1215 enable_msvcp100
1216 enable_msvcp110
1217 enable_msvcp120
1218 enable_msvcp120_app
1219 enable_msvcp60
1220 enable_msvcp70
1221 enable_msvcp71
1222 enable_msvcp80
1223 enable_msvcp90
1224 enable_msvcr100
1225 enable_msvcr110
1226 enable_msvcr120
1227 enable_msvcr120_app
1228 enable_msvcr70
1229 enable_msvcr71
1230 enable_msvcr80
1231 enable_msvcr90
1232 enable_msvcrt
1233 enable_msvcrt20
1234 enable_msvcrt40
1235 enable_msvcrtd
1236 enable_msvfw32
1237 enable_msvidc32
1238 enable_mswsock
1239 enable_msxml
1240 enable_msxml2
1241 enable_msxml3
1242 enable_msxml4
1243 enable_msxml6
1244 enable_nddeapi
1245 enable_ndis_sys
1246 enable_netapi32
1247 enable_netcfgx
1248 enable_netprofm
1249 enable_newdev
1250 enable_normaliz
1251 enable_npmshtml
1252 enable_npptools
1253 enable_ntdll
1254 enable_ntdsapi
1255 enable_ntoskrnl_exe
1256 enable_ntprint
1257 enable_objsel
1258 enable_odbc32
1259 enable_odbccp32
1260 enable_odbccu32
1261 enable_ole32
1262 enable_oleacc
1263 enable_oleaut32
1264 enable_olecli32
1265 enable_oledb32
1266 enable_oledlg
1267 enable_olepro32
1268 enable_olesvr32
1269 enable_olethk32
1270 enable_openal32
1271 enable_opencl
1272 enable_opengl32
1273 enable_packager
1274 enable_pdh
1275 enable_photometadatahandler
1276 enable_pidgen
1277 enable_powrprof
1278 enable_printui
1279 enable_prntvpt
1280 enable_propsys
1281 enable_psapi
1282 enable_pstorec
1283 enable_qcap
1284 enable_qedit
1285 enable_qmgr
1286 enable_qmgrprxy
1287 enable_quartz
1288 enable_query
1289 enable_rasapi32
1290 enable_rasdlg
1291 enable_regapi
1292 enable_resutils
1293 enable_riched20
1294 enable_riched32
1295 enable_rpcrt4
1296 enable_rsabase
1297 enable_rsaenh
1298 enable_rstrtmgr
1299 enable_rtutils
1300 enable_samlib
1301 enable_sane_ds
1302 enable_scarddlg
1303 enable_sccbase
1304 enable_schannel
1305 enable_schedsvc
1306 enable_scrrun
1307 enable_scsiport_sys
1308 enable_secur32
1309 enable_security
1310 enable_sensapi
1311 enable_serialui
1312 enable_setupapi
1313 enable_sfc
1314 enable_sfc_os
1315 enable_shdoclc
1316 enable_shdocvw
1317 enable_shell32
1318 enable_shfolder
1319 enable_shlwapi
1320 enable_slbcsp
1321 enable_slc
1322 enable_snmpapi
1323 enable_softpub
1324 enable_spoolss
1325 enable_stdole2_tlb
1326 enable_stdole32_tlb
1327 enable_sti
1328 enable_svrapi
1329 enable_sxs
1330 enable_t2embed
1331 enable_tapi32
1332 enable_taskschd
1333 enable_tdi_sys
1334 enable_traffic
1335 enable_twain_32
1336 enable_ucrtbase
1337 enable_unicows
1338 enable_updspapi
1339 enable_url
1340 enable_urlmon
1341 enable_usbd_sys
1342 enable_user32
1343 enable_userenv
1344 enable_usp10
1345 enable_uxtheme
1346 enable_vbscript
1347 enable_vcomp
1348 enable_vcomp100
1349 enable_vcomp110
1350 enable_vcomp120
1351 enable_vcomp90
1352 enable_vcruntime140
1353 enable_vdmdbg
1354 enable_version
1355 enable_vssapi
1356 enable_wbemdisp
1357 enable_wbemprox
1358 enable_webservices
1359 enable_wer
1360 enable_wevtapi
1361 enable_wiaservc
1362 enable_wimgapi
1363 enable_windowscodecs
1364 enable_windowscodecsext
1365 enable_winealsa_drv
1366 enable_winecoreaudio_drv
1367 enable_wined3d
1368 enable_winegstreamer
1369 enable_winejoystick_drv
1370 enable_winemac_drv
1371 enable_winemapi
1372 enable_winemp3_acm
1373 enable_wineoss_drv
1374 enable_wineps_drv
1375 enable_winepulse_drv
1376 enable_wineqtdecoder
1377 enable_winex11_drv
1378 enable_wing32
1379 enable_winhttp
1380 enable_wininet
1381 enable_winmm
1382 enable_winnls32
1383 enable_winscard
1384 enable_winspool_drv
1385 enable_winsta
1386 enable_wintab32
1387 enable_wintrust
1388 enable_wlanapi
1389 enable_wldap32
1390 enable_wmi
1391 enable_wmiutils
1392 enable_wmp
1393 enable_wmvcore
1394 enable_wnaspi32
1395 enable_wpcap
1396 enable_ws2_32
1397 enable_wshom_ocx
1398 enable_wsnmp32
1399 enable_wsock32
1400 enable_wtsapi32
1401 enable_wuapi
1402 enable_wuaueng
1403 enable_x3daudio1_0
1404 enable_x3daudio1_1
1405 enable_x3daudio1_2
1406 enable_x3daudio1_3
1407 enable_x3daudio1_4
1408 enable_x3daudio1_5
1409 enable_x3daudio1_6
1410 enable_x3daudio1_7
1411 enable_xapofx1_1
1412 enable_xapofx1_2
1413 enable_xapofx1_3
1414 enable_xapofx1_4
1415 enable_xapofx1_5
1416 enable_xaudio2_0
1417 enable_xaudio2_1
1418 enable_xaudio2_2
1419 enable_xaudio2_3
1420 enable_xaudio2_4
1421 enable_xaudio2_5
1422 enable_xaudio2_6
1423 enable_xaudio2_7
1424 enable_xaudio2_8
1425 enable_xaudio2_9
1426 enable_xinput1_1
1427 enable_xinput1_2
1428 enable_xinput1_3
1429 enable_xinput1_4
1430 enable_xinput9_1_0
1431 enable_xmllite
1432 enable_xolehlp
1433 enable_xpsprint
1434 enable_xpssvcs
1435 enable_fonts
1436 enable_include
1437 enable_libs_port
1438 enable_libs_wine
1439 enable_libs_wpp
1440 enable_loader
1441 enable_po
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_shutdown
1493 enable_spoolsv
1494 enable_start
1495 enable_svchost
1496 enable_systeminfo
1497 enable_taskkill
1498 enable_tasklist
1499 enable_taskmgr
1500 enable_termsv
1501 enable_uninstaller
1502 enable_unlodctr
1503 enable_view
1504 enable_wevtutil
1505 enable_wineboot
1506 enable_winebrowser
1507 enable_winecfg
1508 enable_wineconsole
1509 enable_winedbg
1510 enable_winedevice
1511 enable_winefile
1512 enable_winemenubuilder
1513 enable_winemine
1514 enable_winemsibuilder
1515 enable_winepath
1516 enable_winetest
1517 enable_winhlp32
1518 enable_winver
1519 enable_wmic
1520 enable_wmplayer
1521 enable_wordpad
1522 enable_write
1523 enable_wscript
1524 enable_wusa
1525 enable_xcopy
1526 enable_server
1527 enable_tools
1529 ac_precious_vars='build_alias
1530 host_alias
1531 target_alias
1533 CFLAGS
1534 LDFLAGS
1535 LIBS
1536 CPPFLAGS
1538 CXXFLAGS
1541 XMKMF
1542 XML2_CFLAGS
1543 XML2_LIBS
1544 XSLT_CFLAGS
1545 XSLT_LIBS
1546 DBUS_CFLAGS
1547 DBUS_LIBS
1548 HAL_CFLAGS
1549 HAL_LIBS
1550 GNUTLS_CFLAGS
1551 GNUTLS_LIBS
1552 SANE_CFLAGS
1553 SANE_LIBS
1554 GPHOTO2_CFLAGS
1555 GPHOTO2_LIBS
1556 GPHOTO2_PORT_CFLAGS
1557 GPHOTO2_PORT_LIBS
1558 LCMS2_CFLAGS
1559 LCMS2_LIBS
1560 FREETYPE_CFLAGS
1561 FREETYPE_LIBS
1562 PULSE_CFLAGS
1563 PULSE_LIBS
1564 GSTREAMER_CFLAGS
1565 GSTREAMER_LIBS
1566 CAPI20_CFLAGS
1567 CAPI20_LIBS
1568 FONTCONFIG_CFLAGS
1569 FONTCONFIG_LIBS
1570 JPEG_CFLAGS
1571 JPEG_LIBS
1572 PNG_CFLAGS
1573 PNG_LIBS
1574 TIFF_CFLAGS
1575 TIFF_LIBS
1576 MPG123_CFLAGS
1577 MPG123_LIBS
1578 NETAPI_CFLAGS
1579 NETAPI_LIBS'
1582 # Initialize some variables set by options.
1583 ac_init_help=
1584 ac_init_version=false
1585 ac_unrecognized_opts=
1586 ac_unrecognized_sep=
1587 # The variables have the same names as the options, with
1588 # dashes changed to underlines.
1589 cache_file=/dev/null
1590 exec_prefix=NONE
1591 no_create=
1592 no_recursion=
1593 prefix=NONE
1594 program_prefix=NONE
1595 program_suffix=NONE
1596 program_transform_name=s,x,x,
1597 silent=
1598 site=
1599 srcdir=
1600 verbose=
1601 x_includes=NONE
1602 x_libraries=NONE
1604 # Installation directory options.
1605 # These are left unexpanded so users can "make install exec_prefix=/foo"
1606 # and all the variables that are supposed to be based on exec_prefix
1607 # by default will actually change.
1608 # Use braces instead of parens because sh, perl, etc. also accept them.
1609 # (The list follows the same order as the GNU Coding Standards.)
1610 bindir='${exec_prefix}/bin'
1611 sbindir='${exec_prefix}/sbin'
1612 libexecdir='${exec_prefix}/libexec'
1613 datarootdir='${prefix}/share'
1614 datadir='${datarootdir}'
1615 sysconfdir='${prefix}/etc'
1616 sharedstatedir='${prefix}/com'
1617 localstatedir='${prefix}/var'
1618 runstatedir='${localstatedir}/run'
1619 includedir='${prefix}/include'
1620 oldincludedir='/usr/include'
1621 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1622 infodir='${datarootdir}/info'
1623 htmldir='${docdir}'
1624 dvidir='${docdir}'
1625 pdfdir='${docdir}'
1626 psdir='${docdir}'
1627 libdir='${exec_prefix}/lib'
1628 localedir='${datarootdir}/locale'
1629 mandir='${datarootdir}/man'
1631 ac_prev=
1632 ac_dashdash=
1633 for ac_option
1635 # If the previous option needs an argument, assign it.
1636 if test -n "$ac_prev"; then
1637 eval $ac_prev=\$ac_option
1638 ac_prev=
1639 continue
1642 case $ac_option in
1643 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1644 *=) ac_optarg= ;;
1645 *) ac_optarg=yes ;;
1646 esac
1648 # Accept the important Cygnus configure options, so we can diagnose typos.
1650 case $ac_dashdash$ac_option in
1652 ac_dashdash=yes ;;
1654 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1655 ac_prev=bindir ;;
1656 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1657 bindir=$ac_optarg ;;
1659 -build | --build | --buil | --bui | --bu)
1660 ac_prev=build_alias ;;
1661 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1662 build_alias=$ac_optarg ;;
1664 -cache-file | --cache-file | --cache-fil | --cache-fi \
1665 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1666 ac_prev=cache_file ;;
1667 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1668 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1669 cache_file=$ac_optarg ;;
1671 --config-cache | -C)
1672 cache_file=config.cache ;;
1674 -datadir | --datadir | --datadi | --datad)
1675 ac_prev=datadir ;;
1676 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1677 datadir=$ac_optarg ;;
1679 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1680 | --dataroo | --dataro | --datar)
1681 ac_prev=datarootdir ;;
1682 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1683 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1684 datarootdir=$ac_optarg ;;
1686 -disable-* | --disable-*)
1687 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1688 # Reject names that are not valid shell variable names.
1689 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1690 as_fn_error $? "invalid feature name: $ac_useropt"
1691 ac_useropt_orig=$ac_useropt
1692 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1693 case $ac_user_opts in
1695 "enable_$ac_useropt"
1696 "*) ;;
1697 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1698 ac_unrecognized_sep=', ';;
1699 esac
1700 eval enable_$ac_useropt=no ;;
1702 -docdir | --docdir | --docdi | --doc | --do)
1703 ac_prev=docdir ;;
1704 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1705 docdir=$ac_optarg ;;
1707 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1708 ac_prev=dvidir ;;
1709 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1710 dvidir=$ac_optarg ;;
1712 -enable-* | --enable-*)
1713 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1714 # Reject names that are not valid shell variable names.
1715 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1716 as_fn_error $? "invalid feature name: $ac_useropt"
1717 ac_useropt_orig=$ac_useropt
1718 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1719 case $ac_user_opts in
1721 "enable_$ac_useropt"
1722 "*) ;;
1723 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1724 ac_unrecognized_sep=', ';;
1725 esac
1726 eval enable_$ac_useropt=\$ac_optarg ;;
1728 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1729 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1730 | --exec | --exe | --ex)
1731 ac_prev=exec_prefix ;;
1732 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1733 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1734 | --exec=* | --exe=* | --ex=*)
1735 exec_prefix=$ac_optarg ;;
1737 -gas | --gas | --ga | --g)
1738 # Obsolete; use --with-gas.
1739 with_gas=yes ;;
1741 -help | --help | --hel | --he | -h)
1742 ac_init_help=long ;;
1743 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1744 ac_init_help=recursive ;;
1745 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1746 ac_init_help=short ;;
1748 -host | --host | --hos | --ho)
1749 ac_prev=host_alias ;;
1750 -host=* | --host=* | --hos=* | --ho=*)
1751 host_alias=$ac_optarg ;;
1753 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1754 ac_prev=htmldir ;;
1755 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1756 | --ht=*)
1757 htmldir=$ac_optarg ;;
1759 -includedir | --includedir | --includedi | --included | --include \
1760 | --includ | --inclu | --incl | --inc)
1761 ac_prev=includedir ;;
1762 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1763 | --includ=* | --inclu=* | --incl=* | --inc=*)
1764 includedir=$ac_optarg ;;
1766 -infodir | --infodir | --infodi | --infod | --info | --inf)
1767 ac_prev=infodir ;;
1768 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1769 infodir=$ac_optarg ;;
1771 -libdir | --libdir | --libdi | --libd)
1772 ac_prev=libdir ;;
1773 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1774 libdir=$ac_optarg ;;
1776 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1777 | --libexe | --libex | --libe)
1778 ac_prev=libexecdir ;;
1779 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1780 | --libexe=* | --libex=* | --libe=*)
1781 libexecdir=$ac_optarg ;;
1783 -localedir | --localedir | --localedi | --localed | --locale)
1784 ac_prev=localedir ;;
1785 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1786 localedir=$ac_optarg ;;
1788 -localstatedir | --localstatedir | --localstatedi | --localstated \
1789 | --localstate | --localstat | --localsta | --localst | --locals)
1790 ac_prev=localstatedir ;;
1791 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1792 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1793 localstatedir=$ac_optarg ;;
1795 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1796 ac_prev=mandir ;;
1797 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1798 mandir=$ac_optarg ;;
1800 -nfp | --nfp | --nf)
1801 # Obsolete; use --without-fp.
1802 with_fp=no ;;
1804 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1805 | --no-cr | --no-c | -n)
1806 no_create=yes ;;
1808 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1809 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1810 no_recursion=yes ;;
1812 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1813 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1814 | --oldin | --oldi | --old | --ol | --o)
1815 ac_prev=oldincludedir ;;
1816 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1817 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1818 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1819 oldincludedir=$ac_optarg ;;
1821 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1822 ac_prev=prefix ;;
1823 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1824 prefix=$ac_optarg ;;
1826 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1827 | --program-pre | --program-pr | --program-p)
1828 ac_prev=program_prefix ;;
1829 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1830 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1831 program_prefix=$ac_optarg ;;
1833 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1834 | --program-suf | --program-su | --program-s)
1835 ac_prev=program_suffix ;;
1836 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1837 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1838 program_suffix=$ac_optarg ;;
1840 -program-transform-name | --program-transform-name \
1841 | --program-transform-nam | --program-transform-na \
1842 | --program-transform-n | --program-transform- \
1843 | --program-transform | --program-transfor \
1844 | --program-transfo | --program-transf \
1845 | --program-trans | --program-tran \
1846 | --progr-tra | --program-tr | --program-t)
1847 ac_prev=program_transform_name ;;
1848 -program-transform-name=* | --program-transform-name=* \
1849 | --program-transform-nam=* | --program-transform-na=* \
1850 | --program-transform-n=* | --program-transform-=* \
1851 | --program-transform=* | --program-transfor=* \
1852 | --program-transfo=* | --program-transf=* \
1853 | --program-trans=* | --program-tran=* \
1854 | --progr-tra=* | --program-tr=* | --program-t=*)
1855 program_transform_name=$ac_optarg ;;
1857 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1858 ac_prev=pdfdir ;;
1859 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1860 pdfdir=$ac_optarg ;;
1862 -psdir | --psdir | --psdi | --psd | --ps)
1863 ac_prev=psdir ;;
1864 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1865 psdir=$ac_optarg ;;
1867 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1868 | -silent | --silent | --silen | --sile | --sil)
1869 silent=yes ;;
1871 -runstatedir | --runstatedir | --runstatedi | --runstated \
1872 | --runstate | --runstat | --runsta | --runst | --runs \
1873 | --run | --ru | --r)
1874 ac_prev=runstatedir ;;
1875 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1876 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1877 | --run=* | --ru=* | --r=*)
1878 runstatedir=$ac_optarg ;;
1880 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1881 ac_prev=sbindir ;;
1882 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1883 | --sbi=* | --sb=*)
1884 sbindir=$ac_optarg ;;
1886 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1887 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1888 | --sharedst | --shareds | --shared | --share | --shar \
1889 | --sha | --sh)
1890 ac_prev=sharedstatedir ;;
1891 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1892 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1893 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1894 | --sha=* | --sh=*)
1895 sharedstatedir=$ac_optarg ;;
1897 -site | --site | --sit)
1898 ac_prev=site ;;
1899 -site=* | --site=* | --sit=*)
1900 site=$ac_optarg ;;
1902 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1903 ac_prev=srcdir ;;
1904 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1905 srcdir=$ac_optarg ;;
1907 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1908 | --syscon | --sysco | --sysc | --sys | --sy)
1909 ac_prev=sysconfdir ;;
1910 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1911 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1912 sysconfdir=$ac_optarg ;;
1914 -target | --target | --targe | --targ | --tar | --ta | --t)
1915 ac_prev=target_alias ;;
1916 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1917 target_alias=$ac_optarg ;;
1919 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1920 verbose=yes ;;
1922 -version | --version | --versio | --versi | --vers | -V)
1923 ac_init_version=: ;;
1925 -with-* | --with-*)
1926 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1927 # Reject names that are not valid shell variable names.
1928 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1929 as_fn_error $? "invalid package name: $ac_useropt"
1930 ac_useropt_orig=$ac_useropt
1931 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1932 case $ac_user_opts in
1934 "with_$ac_useropt"
1935 "*) ;;
1936 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1937 ac_unrecognized_sep=', ';;
1938 esac
1939 eval with_$ac_useropt=\$ac_optarg ;;
1941 -without-* | --without-*)
1942 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1943 # Reject names that are not valid shell variable names.
1944 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1945 as_fn_error $? "invalid package name: $ac_useropt"
1946 ac_useropt_orig=$ac_useropt
1947 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1948 case $ac_user_opts in
1950 "with_$ac_useropt"
1951 "*) ;;
1952 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1953 ac_unrecognized_sep=', ';;
1954 esac
1955 eval with_$ac_useropt=no ;;
1957 --x)
1958 # Obsolete; use --with-x.
1959 with_x=yes ;;
1961 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1962 | --x-incl | --x-inc | --x-in | --x-i)
1963 ac_prev=x_includes ;;
1964 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1965 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1966 x_includes=$ac_optarg ;;
1968 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1969 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1970 ac_prev=x_libraries ;;
1971 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1972 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1973 x_libraries=$ac_optarg ;;
1975 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1976 Try \`$0 --help' for more information"
1979 *=*)
1980 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1981 # Reject names that are not valid shell variable names.
1982 case $ac_envvar in #(
1983 '' | [0-9]* | *[!_$as_cr_alnum]* )
1984 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1985 esac
1986 eval $ac_envvar=\$ac_optarg
1987 export $ac_envvar ;;
1990 # FIXME: should be removed in autoconf 3.0.
1991 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1992 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1993 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1994 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1997 esac
1998 done
2000 if test -n "$ac_prev"; then
2001 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2002 as_fn_error $? "missing argument to $ac_option"
2005 if test -n "$ac_unrecognized_opts"; then
2006 case $enable_option_checking in
2007 no) ;;
2008 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2009 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2010 esac
2013 # Check all directory arguments for consistency.
2014 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2015 datadir sysconfdir sharedstatedir localstatedir includedir \
2016 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2017 libdir localedir mandir runstatedir
2019 eval ac_val=\$$ac_var
2020 # Remove trailing slashes.
2021 case $ac_val in
2022 */ )
2023 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2024 eval $ac_var=\$ac_val;;
2025 esac
2026 # Be sure to have absolute directory names.
2027 case $ac_val in
2028 [\\/$]* | ?:[\\/]* ) continue;;
2029 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2030 esac
2031 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2032 done
2034 # There might be people who depend on the old broken behavior: `$host'
2035 # used to hold the argument of --host etc.
2036 # FIXME: To remove some day.
2037 build=$build_alias
2038 host=$host_alias
2039 target=$target_alias
2041 # FIXME: To remove some day.
2042 if test "x$host_alias" != x; then
2043 if test "x$build_alias" = x; then
2044 cross_compiling=maybe
2045 elif test "x$build_alias" != "x$host_alias"; then
2046 cross_compiling=yes
2050 ac_tool_prefix=
2051 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2053 test "$silent" = yes && exec 6>/dev/null
2056 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2057 ac_ls_di=`ls -di .` &&
2058 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2059 as_fn_error $? "working directory cannot be determined"
2060 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2061 as_fn_error $? "pwd does not report name of working directory"
2064 # Find the source files, if location was not specified.
2065 if test -z "$srcdir"; then
2066 ac_srcdir_defaulted=yes
2067 # Try the directory containing this script, then the parent directory.
2068 ac_confdir=`$as_dirname -- "$as_myself" ||
2069 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2070 X"$as_myself" : 'X\(//\)[^/]' \| \
2071 X"$as_myself" : 'X\(//\)$' \| \
2072 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2073 $as_echo X"$as_myself" |
2074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2075 s//\1/
2078 /^X\(\/\/\)[^/].*/{
2079 s//\1/
2082 /^X\(\/\/\)$/{
2083 s//\1/
2086 /^X\(\/\).*/{
2087 s//\1/
2090 s/.*/./; q'`
2091 srcdir=$ac_confdir
2092 if test ! -r "$srcdir/$ac_unique_file"; then
2093 srcdir=..
2095 else
2096 ac_srcdir_defaulted=no
2098 if test ! -r "$srcdir/$ac_unique_file"; then
2099 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2100 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2102 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2103 ac_abs_confdir=`(
2104 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2105 pwd)`
2106 # When building in place, set srcdir=.
2107 if test "$ac_abs_confdir" = "$ac_pwd"; then
2108 srcdir=.
2110 # Remove unnecessary trailing slashes from srcdir.
2111 # Double slashes in file names in object file debugging info
2112 # mess up M-x gdb in Emacs.
2113 case $srcdir in
2114 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2115 esac
2116 for ac_var in $ac_precious_vars; do
2117 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2118 eval ac_env_${ac_var}_value=\$${ac_var}
2119 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2120 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2121 done
2124 # Report the --help message.
2126 if test "$ac_init_help" = "long"; then
2127 # Omit some internal or obsolete options to make the list less imposing.
2128 # This message is too long to be a string in the A/UX 3.1 sh.
2129 cat <<_ACEOF
2130 \`configure' configures Wine 1.9.5 to adapt to many kinds of systems.
2132 Usage: $0 [OPTION]... [VAR=VALUE]...
2134 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2135 VAR=VALUE. See below for descriptions of some of the useful variables.
2137 Defaults for the options are specified in brackets.
2139 Configuration:
2140 -h, --help display this help and exit
2141 --help=short display options specific to this package
2142 --help=recursive display the short help of all the included packages
2143 -V, --version display version information and exit
2144 -q, --quiet, --silent do not print \`checking ...' messages
2145 --cache-file=FILE cache test results in FILE [disabled]
2146 -C, --config-cache alias for \`--cache-file=config.cache'
2147 -n, --no-create do not create output files
2148 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2150 Installation directories:
2151 --prefix=PREFIX install architecture-independent files in PREFIX
2152 [$ac_default_prefix]
2153 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2154 [PREFIX]
2156 By default, \`make install' will install all the files in
2157 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2158 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2159 for instance \`--prefix=\$HOME'.
2161 For better control, use the options below.
2163 Fine tuning of the installation directories:
2164 --bindir=DIR user executables [EPREFIX/bin]
2165 --sbindir=DIR system admin executables [EPREFIX/sbin]
2166 --libexecdir=DIR program executables [EPREFIX/libexec]
2167 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2168 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2169 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2170 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2171 --libdir=DIR object code libraries [EPREFIX/lib]
2172 --includedir=DIR C header files [PREFIX/include]
2173 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2174 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2175 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2176 --infodir=DIR info documentation [DATAROOTDIR/info]
2177 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2178 --mandir=DIR man documentation [DATAROOTDIR/man]
2179 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2180 --htmldir=DIR html documentation [DOCDIR]
2181 --dvidir=DIR dvi documentation [DOCDIR]
2182 --pdfdir=DIR pdf documentation [DOCDIR]
2183 --psdir=DIR ps documentation [DOCDIR]
2184 _ACEOF
2186 cat <<\_ACEOF
2188 X features:
2189 --x-includes=DIR X include files are in DIR
2190 --x-libraries=DIR X library files are in DIR
2192 System types:
2193 --build=BUILD configure for building on BUILD [guessed]
2194 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2195 _ACEOF
2198 if test -n "$ac_init_help"; then
2199 case $ac_init_help in
2200 short | recursive ) echo "Configuration of Wine 1.9.5:";;
2201 esac
2202 cat <<\_ACEOF
2204 Optional Features:
2205 --disable-option-checking ignore unrecognized --enable/--with options
2206 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2207 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2208 --disable-win16 do not include Win16 support
2209 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2210 binaries)
2211 --disable-tests do not build the regression tests
2212 --enable-maintainer-mode
2213 enable maintainer-specific build rules
2214 --disable-largefile omit support for large files
2216 Optional Packages:
2217 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2218 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2219 --without-alsa do not use the Alsa sound support
2220 --without-capi do not use CAPI (ISDN support)
2221 --without-cms do not use CMS (color management support)
2222 --without-coreaudio do not use the CoreAudio sound support
2223 --without-cups do not use CUPS
2224 --without-curses do not use (n)curses
2225 --without-dbus do not use DBus (dynamic device support)
2226 --without-fontconfig do not use fontconfig
2227 --without-freetype do not use the FreeType library
2228 --without-gettext do not use gettext
2229 --with-gettextpo use the GetTextPO library to rebuild po files
2230 --without-gphoto do not use gphoto (Digital Camera support)
2231 --without-glu do not use the GLU library
2232 --without-gnutls do not use GnuTLS (schannel support)
2233 --without-gsm do not use libgsm (GSM 06.10 codec support)
2234 --without-gstreamer do not use GStreamer (codecs support)
2235 --without-hal do not use HAL (dynamic device support)
2236 --without-jpeg do not use JPEG
2237 --without-ldap do not use LDAP
2238 --without-mpg123 do not use the mpg123 library
2239 --without-netapi do not use the Samba NetAPI library
2240 --without-openal do not use OpenAL
2241 --without-opencl do not use OpenCL
2242 --without-opengl do not use OpenGL
2243 --without-osmesa do not use the OSMesa library
2244 --without-oss do not use the OSS sound support
2245 --without-pcap do not use the Packet Capture library
2246 --without-png do not use PNG
2247 --without-pthread do not use the pthread library
2248 --without-pulse do not use PulseAudio sound support
2249 --without-sane do not use SANE (scanner support)
2250 --without-tiff do not use TIFF
2251 --without-v4l do not use v4l1 (v4l support)
2252 --without-xcomposite do not use the Xcomposite extension
2253 --without-xcursor do not use the Xcursor extension
2254 --without-xinerama do not use Xinerama (multi-monitor support)
2255 --without-xinput do not use the Xinput extension
2256 --without-xinput2 do not use the Xinput 2 extension
2257 --without-xml do not use XML
2258 --without-xrandr do not use Xrandr (resolution changes)
2259 --without-xrender do not use the Xrender extension
2260 --without-xshape do not use the Xshape extension
2261 --without-xshm do not use XShm (shared memory extension)
2262 --without-xslt do not use XSLT
2263 --without-xxf86vm do not use XFree video mode extension
2264 --without-zlib do not use Zlib (data compression)
2265 --with-wine-tools=DIR use Wine tools from directory DIR
2266 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2267 --with-x use the X Window System
2269 Some influential environment variables:
2270 CC C compiler command
2271 CFLAGS C compiler flags
2272 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2273 nonstandard directory <lib dir>
2274 LIBS libraries to pass to the linker, e.g. -l<library>
2275 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2276 you have headers in a nonstandard directory <include dir>
2277 CXX C++ compiler command
2278 CXXFLAGS C++ compiler flags
2279 CPP C preprocessor
2280 XMKMF Path to xmkmf, Makefile generator for X Window System
2281 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2282 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2283 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2284 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2285 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2286 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2287 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2288 HAL_LIBS Linker flags for hal, overriding pkg-config
2289 GNUTLS_CFLAGS
2290 C compiler flags for gnutls, overriding pkg-config
2291 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2292 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2293 SANE_LIBS Linker flags for libsane, overriding pkg-config
2294 GPHOTO2_CFLAGS
2295 C compiler flags for libgphoto2, overriding pkg-config
2296 GPHOTO2_LIBS
2297 Linker flags for libgphoto2, overriding pkg-config
2298 GPHOTO2_PORT_CFLAGS
2299 C compiler flags for libgphoto2_port, overriding pkg-config
2300 GPHOTO2_PORT_LIBS
2301 Linker flags for libgphoto2_port, overriding pkg-config
2302 LCMS2_CFLAGS
2303 C compiler flags for lcms2, overriding pkg-config
2304 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2305 FREETYPE_CFLAGS
2306 C compiler flags for freetype2, overriding pkg-config
2307 FREETYPE_LIBS
2308 Linker flags for freetype2, overriding pkg-config
2309 PULSE_CFLAGS
2310 C compiler flags for libpulse, overriding pkg-config
2311 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2312 GSTREAMER_CFLAGS
2313 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2314 gstreamer-audio-1.0, overriding pkg-config
2315 GSTREAMER_LIBS
2316 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2317 gstreamer-audio-1.0, overriding pkg-config
2318 CAPI20_CFLAGS
2319 C compiler flags for capi20, overriding pkg-config
2320 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2321 FONTCONFIG_CFLAGS
2322 C compiler flags for fontconfig, overriding pkg-config
2323 FONTCONFIG_LIBS
2324 Linker flags for fontconfig, overriding pkg-config
2325 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2326 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2327 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2328 PNG_LIBS Linker flags for libpng, overriding pkg-config
2329 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2330 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2331 MPG123_CFLAGS
2332 C compiler flags for libmpg123, overriding pkg-config
2333 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2334 NETAPI_CFLAGS
2335 C compiler flags for netapi, overriding pkg-config
2336 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2338 Use these variables to override the choices made by `configure' or to help
2339 it to find libraries and programs with nonstandard names/locations.
2341 Report bugs to <wine-devel@winehq.org>.
2342 Wine home page: <http://www.winehq.org>.
2343 _ACEOF
2344 ac_status=$?
2347 if test "$ac_init_help" = "recursive"; then
2348 # If there are subdirs, report their specific --help.
2349 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2350 test -d "$ac_dir" ||
2351 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2352 continue
2353 ac_builddir=.
2355 case "$ac_dir" in
2356 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2358 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2359 # A ".." for each directory in $ac_dir_suffix.
2360 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2361 case $ac_top_builddir_sub in
2362 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2363 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2364 esac ;;
2365 esac
2366 ac_abs_top_builddir=$ac_pwd
2367 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2368 # for backward compatibility:
2369 ac_top_builddir=$ac_top_build_prefix
2371 case $srcdir in
2372 .) # We are building in place.
2373 ac_srcdir=.
2374 ac_top_srcdir=$ac_top_builddir_sub
2375 ac_abs_top_srcdir=$ac_pwd ;;
2376 [\\/]* | ?:[\\/]* ) # Absolute name.
2377 ac_srcdir=$srcdir$ac_dir_suffix;
2378 ac_top_srcdir=$srcdir
2379 ac_abs_top_srcdir=$srcdir ;;
2380 *) # Relative name.
2381 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2382 ac_top_srcdir=$ac_top_build_prefix$srcdir
2383 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2384 esac
2385 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2387 cd "$ac_dir" || { ac_status=$?; continue; }
2388 # Check for guested configure.
2389 if test -f "$ac_srcdir/configure.gnu"; then
2390 echo &&
2391 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2392 elif test -f "$ac_srcdir/configure"; then
2393 echo &&
2394 $SHELL "$ac_srcdir/configure" --help=recursive
2395 else
2396 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2397 fi || ac_status=$?
2398 cd "$ac_pwd" || { ac_status=$?; break; }
2399 done
2402 test -n "$ac_init_help" && exit $ac_status
2403 if $ac_init_version; then
2404 cat <<\_ACEOF
2405 Wine configure 1.9.5
2406 generated by GNU Autoconf 2.69
2408 Copyright (C) 2012 Free Software Foundation, Inc.
2409 This configure script is free software; the Free Software Foundation
2410 gives unlimited permission to copy, distribute and modify it.
2411 _ACEOF
2412 exit
2415 ## ------------------------ ##
2416 ## Autoconf initialization. ##
2417 ## ------------------------ ##
2419 # ac_fn_c_try_compile LINENO
2420 # --------------------------
2421 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2422 ac_fn_c_try_compile ()
2424 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2425 rm -f conftest.$ac_objext
2426 if { { ac_try="$ac_compile"
2427 case "(($ac_try" in
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429 *) ac_try_echo=$ac_try;;
2430 esac
2431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2432 $as_echo "$ac_try_echo"; } >&5
2433 (eval "$ac_compile") 2>conftest.err
2434 ac_status=$?
2435 if test -s conftest.err; then
2436 grep -v '^ *+' conftest.err >conftest.er1
2437 cat conftest.er1 >&5
2438 mv -f conftest.er1 conftest.err
2440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2441 test $ac_status = 0; } && {
2442 test -z "$ac_c_werror_flag" ||
2443 test ! -s conftest.err
2444 } && test -s conftest.$ac_objext; then :
2445 ac_retval=0
2446 else
2447 $as_echo "$as_me: failed program was:" >&5
2448 sed 's/^/| /' conftest.$ac_ext >&5
2450 ac_retval=1
2452 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2453 as_fn_set_status $ac_retval
2455 } # ac_fn_c_try_compile
2457 # ac_fn_cxx_try_compile LINENO
2458 # ----------------------------
2459 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2460 ac_fn_cxx_try_compile ()
2462 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2463 rm -f conftest.$ac_objext
2464 if { { ac_try="$ac_compile"
2465 case "(($ac_try" in
2466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2467 *) ac_try_echo=$ac_try;;
2468 esac
2469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2470 $as_echo "$ac_try_echo"; } >&5
2471 (eval "$ac_compile") 2>conftest.err
2472 ac_status=$?
2473 if test -s conftest.err; then
2474 grep -v '^ *+' conftest.err >conftest.er1
2475 cat conftest.er1 >&5
2476 mv -f conftest.er1 conftest.err
2478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2479 test $ac_status = 0; } && {
2480 test -z "$ac_cxx_werror_flag" ||
2481 test ! -s conftest.err
2482 } && test -s conftest.$ac_objext; then :
2483 ac_retval=0
2484 else
2485 $as_echo "$as_me: failed program was:" >&5
2486 sed 's/^/| /' conftest.$ac_ext >&5
2488 ac_retval=1
2490 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2491 as_fn_set_status $ac_retval
2493 } # ac_fn_cxx_try_compile
2495 # ac_fn_c_try_link LINENO
2496 # -----------------------
2497 # Try to link conftest.$ac_ext, and return whether this succeeded.
2498 ac_fn_c_try_link ()
2500 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2501 rm -f conftest.$ac_objext conftest$ac_exeext
2502 if { { ac_try="$ac_link"
2503 case "(($ac_try" in
2504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2505 *) ac_try_echo=$ac_try;;
2506 esac
2507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2508 $as_echo "$ac_try_echo"; } >&5
2509 (eval "$ac_link") 2>conftest.err
2510 ac_status=$?
2511 if test -s conftest.err; then
2512 grep -v '^ *+' conftest.err >conftest.er1
2513 cat conftest.er1 >&5
2514 mv -f conftest.er1 conftest.err
2516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2517 test $ac_status = 0; } && {
2518 test -z "$ac_c_werror_flag" ||
2519 test ! -s conftest.err
2520 } && test -s conftest$ac_exeext && {
2521 test "$cross_compiling" = yes ||
2522 test -x conftest$ac_exeext
2523 }; then :
2524 ac_retval=0
2525 else
2526 $as_echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.$ac_ext >&5
2529 ac_retval=1
2531 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2532 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2533 # interfere with the next link command; also delete a directory that is
2534 # left behind by Apple's compiler. We do this before executing the actions.
2535 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2536 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2537 as_fn_set_status $ac_retval
2539 } # ac_fn_c_try_link
2541 # ac_fn_c_try_cpp LINENO
2542 # ----------------------
2543 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2544 ac_fn_c_try_cpp ()
2546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2547 if { { ac_try="$ac_cpp conftest.$ac_ext"
2548 case "(($ac_try" in
2549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2550 *) ac_try_echo=$ac_try;;
2551 esac
2552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2553 $as_echo "$ac_try_echo"; } >&5
2554 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2555 ac_status=$?
2556 if test -s conftest.err; then
2557 grep -v '^ *+' conftest.err >conftest.er1
2558 cat conftest.er1 >&5
2559 mv -f conftest.er1 conftest.err
2561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2562 test $ac_status = 0; } > conftest.i && {
2563 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2564 test ! -s conftest.err
2565 }; then :
2566 ac_retval=0
2567 else
2568 $as_echo "$as_me: failed program was:" >&5
2569 sed 's/^/| /' conftest.$ac_ext >&5
2571 ac_retval=1
2573 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2574 as_fn_set_status $ac_retval
2576 } # ac_fn_c_try_cpp
2578 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2579 # -------------------------------------------------------
2580 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2581 # the include files in INCLUDES and setting the cache variable VAR
2582 # accordingly.
2583 ac_fn_c_check_header_mongrel ()
2585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2586 if eval \${$3+:} false; then :
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2588 $as_echo_n "checking for $2... " >&6; }
2589 if eval \${$3+:} false; then :
2590 $as_echo_n "(cached) " >&6
2592 eval ac_res=\$$3
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2594 $as_echo "$ac_res" >&6; }
2595 else
2596 # Is the header compilable?
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2598 $as_echo_n "checking $2 usability... " >&6; }
2599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2600 /* end confdefs.h. */
2602 #include <$2>
2603 _ACEOF
2604 if ac_fn_c_try_compile "$LINENO"; then :
2605 ac_header_compiler=yes
2606 else
2607 ac_header_compiler=no
2609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2611 $as_echo "$ac_header_compiler" >&6; }
2613 # Is the header present?
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2615 $as_echo_n "checking $2 presence... " >&6; }
2616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2617 /* end confdefs.h. */
2618 #include <$2>
2619 _ACEOF
2620 if ac_fn_c_try_cpp "$LINENO"; then :
2621 ac_header_preproc=yes
2622 else
2623 ac_header_preproc=no
2625 rm -f conftest.err conftest.i conftest.$ac_ext
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2627 $as_echo "$ac_header_preproc" >&6; }
2629 # So? What about this header?
2630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2631 yes:no: )
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2633 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2635 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2637 no:yes:* )
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2639 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2641 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2643 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2645 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2647 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2648 ( $as_echo "## ------------------------------------ ##
2649 ## Report this to wine-devel@winehq.org ##
2650 ## ------------------------------------ ##"
2651 ) | sed "s/^/$as_me: WARNING: /" >&2
2653 esac
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2655 $as_echo_n "checking for $2... " >&6; }
2656 if eval \${$3+:} false; then :
2657 $as_echo_n "(cached) " >&6
2658 else
2659 eval "$3=\$ac_header_compiler"
2661 eval ac_res=\$$3
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2663 $as_echo "$ac_res" >&6; }
2665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2667 } # ac_fn_c_check_header_mongrel
2669 # ac_fn_c_try_run LINENO
2670 # ----------------------
2671 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2672 # that executables *can* be run.
2673 ac_fn_c_try_run ()
2675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2676 if { { ac_try="$ac_link"
2677 case "(($ac_try" in
2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679 *) ac_try_echo=$ac_try;;
2680 esac
2681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2682 $as_echo "$ac_try_echo"; } >&5
2683 (eval "$ac_link") 2>&5
2684 ac_status=$?
2685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2686 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2687 { { case "(($ac_try" in
2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2689 *) ac_try_echo=$ac_try;;
2690 esac
2691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2692 $as_echo "$ac_try_echo"; } >&5
2693 (eval "$ac_try") 2>&5
2694 ac_status=$?
2695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2696 test $ac_status = 0; }; }; then :
2697 ac_retval=0
2698 else
2699 $as_echo "$as_me: program exited with status $ac_status" >&5
2700 $as_echo "$as_me: failed program was:" >&5
2701 sed 's/^/| /' conftest.$ac_ext >&5
2703 ac_retval=$ac_status
2705 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2707 as_fn_set_status $ac_retval
2709 } # ac_fn_c_try_run
2711 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2712 # -------------------------------------------------------
2713 # Tests whether HEADER exists and can be compiled using the include files in
2714 # INCLUDES, setting the cache variable VAR accordingly.
2715 ac_fn_c_check_header_compile ()
2717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2719 $as_echo_n "checking for $2... " >&6; }
2720 if eval \${$3+:} false; then :
2721 $as_echo_n "(cached) " >&6
2722 else
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2726 #include <$2>
2727 _ACEOF
2728 if ac_fn_c_try_compile "$LINENO"; then :
2729 eval "$3=yes"
2730 else
2731 eval "$3=no"
2733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735 eval ac_res=\$$3
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2737 $as_echo "$ac_res" >&6; }
2738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2740 } # ac_fn_c_check_header_compile
2742 # ac_fn_c_check_func LINENO FUNC VAR
2743 # ----------------------------------
2744 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2745 ac_fn_c_check_func ()
2747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2749 $as_echo_n "checking for $2... " >&6; }
2750 if eval \${$3+:} false; then :
2751 $as_echo_n "(cached) " >&6
2752 else
2753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h. */
2755 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2757 #define $2 innocuous_$2
2759 /* System header to define __stub macros and hopefully few prototypes,
2760 which can conflict with char $2 (); below.
2761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2762 <limits.h> exists even on freestanding compilers. */
2764 #ifdef __STDC__
2765 # include <limits.h>
2766 #else
2767 # include <assert.h>
2768 #endif
2770 #undef $2
2772 /* Override any GCC internal prototype to avoid an error.
2773 Use char because int might match the return type of a GCC
2774 builtin and then its argument prototype would still apply. */
2775 #ifdef __cplusplus
2776 extern "C"
2777 #endif
2778 char $2 ();
2779 /* The GNU C library defines this for functions which it implements
2780 to always fail with ENOSYS. Some functions are actually named
2781 something starting with __ and the normal name is an alias. */
2782 #if defined __stub_$2 || defined __stub___$2
2783 choke me
2784 #endif
2787 main ()
2789 return $2 ();
2791 return 0;
2793 _ACEOF
2794 if ac_fn_c_try_link "$LINENO"; then :
2795 eval "$3=yes"
2796 else
2797 eval "$3=no"
2799 rm -f core conftest.err conftest.$ac_objext \
2800 conftest$ac_exeext conftest.$ac_ext
2802 eval ac_res=\$$3
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2804 $as_echo "$ac_res" >&6; }
2805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2807 } # ac_fn_c_check_func
2809 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2810 # ----------------------------------------------------
2811 # Tries to find if the field MEMBER exists in type AGGR, after including
2812 # INCLUDES, setting cache variable VAR accordingly.
2813 ac_fn_c_check_member ()
2815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2817 $as_echo_n "checking for $2.$3... " >&6; }
2818 if eval \${$4+:} false; then :
2819 $as_echo_n "(cached) " >&6
2820 else
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2825 main ()
2827 static $2 ac_aggr;
2828 if (ac_aggr.$3)
2829 return 0;
2831 return 0;
2833 _ACEOF
2834 if ac_fn_c_try_compile "$LINENO"; then :
2835 eval "$4=yes"
2836 else
2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h. */
2841 main ()
2843 static $2 ac_aggr;
2844 if (sizeof ac_aggr.$3)
2845 return 0;
2847 return 0;
2849 _ACEOF
2850 if ac_fn_c_try_compile "$LINENO"; then :
2851 eval "$4=yes"
2852 else
2853 eval "$4=no"
2855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2859 eval ac_res=\$$4
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2861 $as_echo "$ac_res" >&6; }
2862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2864 } # ac_fn_c_check_member
2866 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2867 # -------------------------------------------
2868 # Tests whether TYPE exists after having included INCLUDES, setting cache
2869 # variable VAR accordingly.
2870 ac_fn_c_check_type ()
2872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2874 $as_echo_n "checking for $2... " >&6; }
2875 if eval \${$3+:} false; then :
2876 $as_echo_n "(cached) " >&6
2877 else
2878 eval "$3=no"
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2883 main ()
2885 if (sizeof ($2))
2886 return 0;
2888 return 0;
2890 _ACEOF
2891 if ac_fn_c_try_compile "$LINENO"; then :
2892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2896 main ()
2898 if (sizeof (($2)))
2899 return 0;
2901 return 0;
2903 _ACEOF
2904 if ac_fn_c_try_compile "$LINENO"; then :
2906 else
2907 eval "$3=yes"
2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2913 eval ac_res=\$$3
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2915 $as_echo "$ac_res" >&6; }
2916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2918 } # ac_fn_c_check_type
2919 cat >config.log <<_ACEOF
2920 This file contains any messages produced by compilers while
2921 running configure, to aid debugging if configure makes a mistake.
2923 It was created by Wine $as_me 1.9.5, which was
2924 generated by GNU Autoconf 2.69. Invocation command line was
2926 $ $0 $@
2928 _ACEOF
2929 exec 5>>config.log
2931 cat <<_ASUNAME
2932 ## --------- ##
2933 ## Platform. ##
2934 ## --------- ##
2936 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2937 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2938 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2939 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2940 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2942 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2943 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2945 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2946 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2947 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2948 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2949 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2950 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2951 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2953 _ASUNAME
2955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2956 for as_dir in $PATH
2958 IFS=$as_save_IFS
2959 test -z "$as_dir" && as_dir=.
2960 $as_echo "PATH: $as_dir"
2961 done
2962 IFS=$as_save_IFS
2964 } >&5
2966 cat >&5 <<_ACEOF
2969 ## ----------- ##
2970 ## Core tests. ##
2971 ## ----------- ##
2973 _ACEOF
2976 # Keep a trace of the command line.
2977 # Strip out --no-create and --no-recursion so they do not pile up.
2978 # Strip out --silent because we don't want to record it for future runs.
2979 # Also quote any args containing shell meta-characters.
2980 # Make two passes to allow for proper duplicate-argument suppression.
2981 ac_configure_args=
2982 ac_configure_args0=
2983 ac_configure_args1=
2984 ac_must_keep_next=false
2985 for ac_pass in 1 2
2987 for ac_arg
2989 case $ac_arg in
2990 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2991 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2992 | -silent | --silent | --silen | --sile | --sil)
2993 continue ;;
2994 *\'*)
2995 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2996 esac
2997 case $ac_pass in
2998 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3000 as_fn_append ac_configure_args1 " '$ac_arg'"
3001 if test $ac_must_keep_next = true; then
3002 ac_must_keep_next=false # Got value, back to normal.
3003 else
3004 case $ac_arg in
3005 *=* | --config-cache | -C | -disable-* | --disable-* \
3006 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3007 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3008 | -with-* | --with-* | -without-* | --without-* | --x)
3009 case "$ac_configure_args0 " in
3010 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3011 esac
3013 -* ) ac_must_keep_next=true ;;
3014 esac
3016 as_fn_append ac_configure_args " '$ac_arg'"
3018 esac
3019 done
3020 done
3021 { ac_configure_args0=; unset ac_configure_args0;}
3022 { ac_configure_args1=; unset ac_configure_args1;}
3024 # When interrupted or exit'd, cleanup temporary files, and complete
3025 # config.log. We remove comments because anyway the quotes in there
3026 # would cause problems or look ugly.
3027 # WARNING: Use '\'' to represent an apostrophe within the trap.
3028 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3029 trap 'exit_status=$?
3030 # Save into config.log some information that might help in debugging.
3032 echo
3034 $as_echo "## ---------------- ##
3035 ## Cache variables. ##
3036 ## ---------------- ##"
3037 echo
3038 # The following way of writing the cache mishandles newlines in values,
3040 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3041 eval ac_val=\$$ac_var
3042 case $ac_val in #(
3043 *${as_nl}*)
3044 case $ac_var in #(
3045 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3046 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3047 esac
3048 case $ac_var in #(
3049 _ | IFS | as_nl) ;; #(
3050 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3051 *) { eval $ac_var=; unset $ac_var;} ;;
3052 esac ;;
3053 esac
3054 done
3055 (set) 2>&1 |
3056 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3057 *${as_nl}ac_space=\ *)
3058 sed -n \
3059 "s/'\''/'\''\\\\'\'''\''/g;
3060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3061 ;; #(
3063 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3065 esac |
3066 sort
3068 echo
3070 $as_echo "## ----------------- ##
3071 ## Output variables. ##
3072 ## ----------------- ##"
3073 echo
3074 for ac_var in $ac_subst_vars
3076 eval ac_val=\$$ac_var
3077 case $ac_val in
3078 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3079 esac
3080 $as_echo "$ac_var='\''$ac_val'\''"
3081 done | sort
3082 echo
3084 if test -n "$ac_subst_files"; then
3085 $as_echo "## ------------------- ##
3086 ## File substitutions. ##
3087 ## ------------------- ##"
3088 echo
3089 for ac_var in $ac_subst_files
3091 eval ac_val=\$$ac_var
3092 case $ac_val in
3093 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3094 esac
3095 $as_echo "$ac_var='\''$ac_val'\''"
3096 done | sort
3097 echo
3100 if test -s confdefs.h; then
3101 $as_echo "## ----------- ##
3102 ## confdefs.h. ##
3103 ## ----------- ##"
3104 echo
3105 cat confdefs.h
3106 echo
3108 test "$ac_signal" != 0 &&
3109 $as_echo "$as_me: caught signal $ac_signal"
3110 $as_echo "$as_me: exit $exit_status"
3111 } >&5
3112 rm -f core *.core core.conftest.* &&
3113 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3114 exit $exit_status
3116 for ac_signal in 1 2 13 15; do
3117 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3118 done
3119 ac_signal=0
3121 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3122 rm -f -r conftest* confdefs.h
3124 $as_echo "/* confdefs.h */" > confdefs.h
3126 # Predefined preprocessor variables.
3128 cat >>confdefs.h <<_ACEOF
3129 #define PACKAGE_NAME "$PACKAGE_NAME"
3130 _ACEOF
3132 cat >>confdefs.h <<_ACEOF
3133 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3134 _ACEOF
3136 cat >>confdefs.h <<_ACEOF
3137 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3138 _ACEOF
3140 cat >>confdefs.h <<_ACEOF
3141 #define PACKAGE_STRING "$PACKAGE_STRING"
3142 _ACEOF
3144 cat >>confdefs.h <<_ACEOF
3145 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3146 _ACEOF
3148 cat >>confdefs.h <<_ACEOF
3149 #define PACKAGE_URL "$PACKAGE_URL"
3150 _ACEOF
3153 # Let the site file select an alternate cache file if it wants to.
3154 # Prefer an explicitly selected file to automatically selected ones.
3155 ac_site_file1=NONE
3156 ac_site_file2=NONE
3157 if test -n "$CONFIG_SITE"; then
3158 # We do not want a PATH search for config.site.
3159 case $CONFIG_SITE in #((
3160 -*) ac_site_file1=./$CONFIG_SITE;;
3161 */*) ac_site_file1=$CONFIG_SITE;;
3162 *) ac_site_file1=./$CONFIG_SITE;;
3163 esac
3164 elif test "x$prefix" != xNONE; then
3165 ac_site_file1=$prefix/share/config.site
3166 ac_site_file2=$prefix/etc/config.site
3167 else
3168 ac_site_file1=$ac_default_prefix/share/config.site
3169 ac_site_file2=$ac_default_prefix/etc/config.site
3171 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3173 test "x$ac_site_file" = xNONE && continue
3174 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3176 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3177 sed 's/^/| /' "$ac_site_file" >&5
3178 . "$ac_site_file" \
3179 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3181 as_fn_error $? "failed to load site script $ac_site_file
3182 See \`config.log' for more details" "$LINENO" 5; }
3184 done
3186 if test -r "$cache_file"; then
3187 # Some versions of bash will fail to source /dev/null (special files
3188 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3189 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3191 $as_echo "$as_me: loading cache $cache_file" >&6;}
3192 case $cache_file in
3193 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3194 *) . "./$cache_file";;
3195 esac
3197 else
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3199 $as_echo "$as_me: creating cache $cache_file" >&6;}
3200 >$cache_file
3203 # Check that the precious variables saved in the cache have kept the same
3204 # value.
3205 ac_cache_corrupted=false
3206 for ac_var in $ac_precious_vars; do
3207 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3208 eval ac_new_set=\$ac_env_${ac_var}_set
3209 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3210 eval ac_new_val=\$ac_env_${ac_var}_value
3211 case $ac_old_set,$ac_new_set in
3212 set,)
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3214 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3215 ac_cache_corrupted=: ;;
3216 ,set)
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3218 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3219 ac_cache_corrupted=: ;;
3220 ,);;
3222 if test "x$ac_old_val" != "x$ac_new_val"; then
3223 # differences in whitespace do not lead to failure.
3224 ac_old_val_w=`echo x $ac_old_val`
3225 ac_new_val_w=`echo x $ac_new_val`
3226 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3228 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3229 ac_cache_corrupted=:
3230 else
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3232 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3233 eval $ac_var=\$ac_old_val
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3236 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3238 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3239 fi;;
3240 esac
3241 # Pass precious variables to config.status.
3242 if test "$ac_new_set" = set; then
3243 case $ac_new_val in
3244 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3245 *) ac_arg=$ac_var=$ac_new_val ;;
3246 esac
3247 case " $ac_configure_args " in
3248 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3249 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3250 esac
3252 done
3253 if $ac_cache_corrupted; then
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3257 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3258 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3260 ## -------------------- ##
3261 ## Main body of script. ##
3262 ## -------------------- ##
3264 ac_ext=c
3265 ac_cpp='$CPP $CPPFLAGS'
3266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3272 ac_config_headers="$ac_config_headers include/config.h"
3274 ac_aux_dir=
3275 for ac_dir in tools "$srcdir"/tools; do
3276 if test -f "$ac_dir/install-sh"; then
3277 ac_aux_dir=$ac_dir
3278 ac_install_sh="$ac_aux_dir/install-sh -c"
3279 break
3280 elif test -f "$ac_dir/install.sh"; then
3281 ac_aux_dir=$ac_dir
3282 ac_install_sh="$ac_aux_dir/install.sh -c"
3283 break
3284 elif test -f "$ac_dir/shtool"; then
3285 ac_aux_dir=$ac_dir
3286 ac_install_sh="$ac_aux_dir/shtool install -c"
3287 break
3289 done
3290 if test -z "$ac_aux_dir"; then
3291 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3294 # These three variables are undocumented and unsupported,
3295 # and are intended to be withdrawn in a future Autoconf release.
3296 # They can cause serious problems if a builder's source tree is in a directory
3297 # whose full name contains unusual characters.
3298 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3299 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3300 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3304 libwine_version="1.0"
3308 # Check whether --enable-win16 was given.
3309 if test "${enable_win16+set}" = set; then :
3310 enableval=$enable_win16;
3313 # Check whether --enable-win64 was given.
3314 if test "${enable_win64+set}" = set; then :
3315 enableval=$enable_win64;
3318 # Check whether --enable-tests was given.
3319 if test "${enable_tests+set}" = set; then :
3320 enableval=$enable_tests;
3323 # Check whether --enable-maintainer-mode was given.
3324 if test "${enable_maintainer_mode+set}" = set; then :
3325 enableval=$enable_maintainer_mode;
3330 # Check whether --with-alsa was given.
3331 if test "${with_alsa+set}" = set; then :
3332 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3336 # Check whether --with-capi was given.
3337 if test "${with_capi+set}" = set; then :
3338 withval=$with_capi;
3342 # Check whether --with-cms was given.
3343 if test "${with_cms+set}" = set; then :
3344 withval=$with_cms;
3348 # Check whether --with-coreaudio was given.
3349 if test "${with_coreaudio+set}" = set; then :
3350 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3354 # Check whether --with-cups was given.
3355 if test "${with_cups+set}" = set; then :
3356 withval=$with_cups;
3360 # Check whether --with-curses was given.
3361 if test "${with_curses+set}" = set; then :
3362 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3366 # Check whether --with-dbus was given.
3367 if test "${with_dbus+set}" = set; then :
3368 withval=$with_dbus;
3372 # Check whether --with-fontconfig was given.
3373 if test "${with_fontconfig+set}" = set; then :
3374 withval=$with_fontconfig;
3378 # Check whether --with-freetype was given.
3379 if test "${with_freetype+set}" = set; then :
3380 withval=$with_freetype;
3384 # Check whether --with-gettext was given.
3385 if test "${with_gettext+set}" = set; then :
3386 withval=$with_gettext;
3390 # Check whether --with-gettextpo was given.
3391 if test "${with_gettextpo+set}" = set; then :
3392 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3396 # Check whether --with-gphoto was given.
3397 if test "${with_gphoto+set}" = set; then :
3398 withval=$with_gphoto;
3402 # Check whether --with-glu was given.
3403 if test "${with_glu+set}" = set; then :
3404 withval=$with_glu;
3408 # Check whether --with-gnutls was given.
3409 if test "${with_gnutls+set}" = set; then :
3410 withval=$with_gnutls;
3414 # Check whether --with-gsm was given.
3415 if test "${with_gsm+set}" = set; then :
3416 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3420 # Check whether --with-gstreamer was given.
3421 if test "${with_gstreamer+set}" = set; then :
3422 withval=$with_gstreamer;
3426 # Check whether --with-hal was given.
3427 if test "${with_hal+set}" = set; then :
3428 withval=$with_hal;
3432 # Check whether --with-jpeg was given.
3433 if test "${with_jpeg+set}" = set; then :
3434 withval=$with_jpeg;
3438 # Check whether --with-ldap was given.
3439 if test "${with_ldap+set}" = set; then :
3440 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3444 # Check whether --with-mpg123 was given.
3445 if test "${with_mpg123+set}" = set; then :
3446 withval=$with_mpg123;
3450 # Check whether --with-netapi was given.
3451 if test "${with_netapi+set}" = set; then :
3452 withval=$with_netapi;
3456 # Check whether --with-openal was given.
3457 if test "${with_openal+set}" = set; then :
3458 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3462 # Check whether --with-opencl was given.
3463 if test "${with_opencl+set}" = set; then :
3464 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3468 # Check whether --with-opengl was given.
3469 if test "${with_opengl+set}" = set; then :
3470 withval=$with_opengl;
3474 # Check whether --with-osmesa was given.
3475 if test "${with_osmesa+set}" = set; then :
3476 withval=$with_osmesa;
3480 # Check whether --with-oss was given.
3481 if test "${with_oss+set}" = set; then :
3482 withval=$with_oss;
3486 # Check whether --with-pcap was given.
3487 if test "${with_pcap+set}" = set; then :
3488 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3492 # Check whether --with-png was given.
3493 if test "${with_png+set}" = set; then :
3494 withval=$with_png;
3498 # Check whether --with-pthread was given.
3499 if test "${with_pthread+set}" = set; then :
3500 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3504 # Check whether --with-pulse was given.
3505 if test "${with_pulse+set}" = set; then :
3506 withval=$with_pulse;
3510 # Check whether --with-sane was given.
3511 if test "${with_sane+set}" = set; then :
3512 withval=$with_sane;
3516 # Check whether --with-tiff was given.
3517 if test "${with_tiff+set}" = set; then :
3518 withval=$with_tiff;
3522 # Check whether --with-v4l was given.
3523 if test "${with_v4l+set}" = set; then :
3524 withval=$with_v4l;
3528 # Check whether --with-xcomposite was given.
3529 if test "${with_xcomposite+set}" = set; then :
3530 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3534 # Check whether --with-xcursor was given.
3535 if test "${with_xcursor+set}" = set; then :
3536 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3540 # Check whether --with-xinerama was given.
3541 if test "${with_xinerama+set}" = set; then :
3542 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3546 # Check whether --with-xinput was given.
3547 if test "${with_xinput+set}" = set; then :
3548 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3552 # Check whether --with-xinput2 was given.
3553 if test "${with_xinput2+set}" = set; then :
3554 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3558 # Check whether --with-xml was given.
3559 if test "${with_xml+set}" = set; then :
3560 withval=$with_xml;
3564 # Check whether --with-xrandr was given.
3565 if test "${with_xrandr+set}" = set; then :
3566 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3570 # Check whether --with-xrender was given.
3571 if test "${with_xrender+set}" = set; then :
3572 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3576 # Check whether --with-xshape was given.
3577 if test "${with_xshape+set}" = set; then :
3578 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3582 # Check whether --with-xshm was given.
3583 if test "${with_xshm+set}" = set; then :
3584 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3588 # Check whether --with-xslt was given.
3589 if test "${with_xslt+set}" = set; then :
3590 withval=$with_xslt;
3594 # Check whether --with-xxf86vm was given.
3595 if test "${with_xxf86vm+set}" = set; then :
3596 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
3600 # Check whether --with-zlib was given.
3601 if test "${with_zlib+set}" = set; then :
3602 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3607 # Check whether --with-wine-tools was given.
3608 if test "${with_wine_tools+set}" = set; then :
3609 withval=$with_wine_tools;
3613 # Check whether --with-wine64 was given.
3614 if test "${with_wine64+set}" = set; then :
3615 withval=$with_wine64;
3619 # Make sure we can run config.sub.
3620 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3621 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3624 $as_echo_n "checking build system type... " >&6; }
3625 if ${ac_cv_build+:} false; then :
3626 $as_echo_n "(cached) " >&6
3627 else
3628 ac_build_alias=$build_alias
3629 test "x$ac_build_alias" = x &&
3630 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3631 test "x$ac_build_alias" = x &&
3632 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3633 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3634 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3638 $as_echo "$ac_cv_build" >&6; }
3639 case $ac_cv_build in
3640 *-*-*) ;;
3641 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3642 esac
3643 build=$ac_cv_build
3644 ac_save_IFS=$IFS; IFS='-'
3645 set x $ac_cv_build
3646 shift
3647 build_cpu=$1
3648 build_vendor=$2
3649 shift; shift
3650 # Remember, the first character of IFS is used to create $*,
3651 # except with old shells:
3652 build_os=$*
3653 IFS=$ac_save_IFS
3654 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3658 $as_echo_n "checking host system type... " >&6; }
3659 if ${ac_cv_host+:} false; then :
3660 $as_echo_n "(cached) " >&6
3661 else
3662 if test "x$host_alias" = x; then
3663 ac_cv_host=$ac_cv_build
3664 else
3665 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3666 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3671 $as_echo "$ac_cv_host" >&6; }
3672 case $ac_cv_host in
3673 *-*-*) ;;
3674 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3675 esac
3676 host=$ac_cv_host
3677 ac_save_IFS=$IFS; IFS='-'
3678 set x $ac_cv_host
3679 shift
3680 host_cpu=$1
3681 host_vendor=$2
3682 shift; shift
3683 # Remember, the first character of IFS is used to create $*,
3684 # except with old shells:
3685 host_os=$*
3686 IFS=$ac_save_IFS
3687 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3691 case "$srcdir" in
3692 .) ;;
3693 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3694 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3695 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3696 fi ;;
3697 esac
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3701 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3702 set x ${MAKE-make}
3703 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3704 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3705 $as_echo_n "(cached) " >&6
3706 else
3707 cat >conftest.make <<\_ACEOF
3708 SHELL = /bin/sh
3709 all:
3710 @echo '@@@%%%=$(MAKE)=@@@%%%'
3711 _ACEOF
3712 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3713 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3714 *@@@%%%=?*=@@@%%%*)
3715 eval ac_cv_prog_make_${ac_make}_set=yes;;
3717 eval ac_cv_prog_make_${ac_make}_set=no;;
3718 esac
3719 rm -f conftest.make
3721 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3723 $as_echo "yes" >&6; }
3724 SET_MAKE=
3725 else
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3728 SET_MAKE="MAKE=${MAKE-make}"
3731 ac_ext=c
3732 ac_cpp='$CPP $CPPFLAGS'
3733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3736 if test -n "$ac_tool_prefix"; then
3737 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3738 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if ${ac_cv_prog_CC+:} false; then :
3742 $as_echo_n "(cached) " >&6
3743 else
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC="$CC" # Let the user override the test.
3746 else
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3748 for as_dir in $PATH
3750 IFS=$as_save_IFS
3751 test -z "$as_dir" && as_dir=.
3752 for ac_exec_ext in '' $ac_executable_extensions; do
3753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3754 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3756 break 2
3758 done
3759 done
3760 IFS=$as_save_IFS
3764 CC=$ac_cv_prog_CC
3765 if test -n "$CC"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3768 else
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3775 if test -z "$ac_cv_prog_CC"; then
3776 ac_ct_CC=$CC
3777 # Extract the first word of "gcc", so it can be a program name with args.
3778 set dummy gcc; ac_word=$2
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3780 $as_echo_n "checking for $ac_word... " >&6; }
3781 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3782 $as_echo_n "(cached) " >&6
3783 else
3784 if test -n "$ac_ct_CC"; then
3785 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3786 else
3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788 for as_dir in $PATH
3790 IFS=$as_save_IFS
3791 test -z "$as_dir" && as_dir=.
3792 for ac_exec_ext in '' $ac_executable_extensions; do
3793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3794 ac_cv_prog_ac_ct_CC="gcc"
3795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 break 2
3798 done
3799 done
3800 IFS=$as_save_IFS
3804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3805 if test -n "$ac_ct_CC"; then
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3807 $as_echo "$ac_ct_CC" >&6; }
3808 else
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3810 $as_echo "no" >&6; }
3813 if test "x$ac_ct_CC" = x; then
3814 CC=""
3815 else
3816 case $cross_compiling:$ac_tool_warned in
3817 yes:)
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3820 ac_tool_warned=yes ;;
3821 esac
3822 CC=$ac_ct_CC
3824 else
3825 CC="$ac_cv_prog_CC"
3828 if test -z "$CC"; then
3829 if test -n "$ac_tool_prefix"; then
3830 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3831 set dummy ${ac_tool_prefix}cc; ac_word=$2
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 $as_echo_n "checking for $ac_word... " >&6; }
3834 if ${ac_cv_prog_CC+:} false; then :
3835 $as_echo_n "(cached) " >&6
3836 else
3837 if test -n "$CC"; then
3838 ac_cv_prog_CC="$CC" # Let the user override the test.
3839 else
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3841 for as_dir in $PATH
3843 IFS=$as_save_IFS
3844 test -z "$as_dir" && as_dir=.
3845 for ac_exec_ext in '' $ac_executable_extensions; do
3846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3847 ac_cv_prog_CC="${ac_tool_prefix}cc"
3848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3849 break 2
3851 done
3852 done
3853 IFS=$as_save_IFS
3857 CC=$ac_cv_prog_CC
3858 if test -n "$CC"; then
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3860 $as_echo "$CC" >&6; }
3861 else
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3869 if test -z "$CC"; then
3870 # Extract the first word of "cc", so it can be a program name with args.
3871 set dummy cc; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if ${ac_cv_prog_CC+:} false; then :
3875 $as_echo_n "(cached) " >&6
3876 else
3877 if test -n "$CC"; then
3878 ac_cv_prog_CC="$CC" # Let the user override the test.
3879 else
3880 ac_prog_rejected=no
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 for as_dir in $PATH
3884 IFS=$as_save_IFS
3885 test -z "$as_dir" && as_dir=.
3886 for ac_exec_ext in '' $ac_executable_extensions; do
3887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3888 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3889 ac_prog_rejected=yes
3890 continue
3892 ac_cv_prog_CC="cc"
3893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3894 break 2
3896 done
3897 done
3898 IFS=$as_save_IFS
3900 if test $ac_prog_rejected = yes; then
3901 # We found a bogon in the path, so make sure we never use it.
3902 set dummy $ac_cv_prog_CC
3903 shift
3904 if test $# != 0; then
3905 # We chose a different compiler from the bogus one.
3906 # However, it has the same basename, so the bogon will be chosen
3907 # first if we set CC to just the basename; use the full file name.
3908 shift
3909 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3914 CC=$ac_cv_prog_CC
3915 if test -n "$CC"; then
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3917 $as_echo "$CC" >&6; }
3918 else
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3925 if test -z "$CC"; then
3926 if test -n "$ac_tool_prefix"; then
3927 for ac_prog in cl.exe
3929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if ${ac_cv_prog_CC+:} false; then :
3934 $as_echo_n "(cached) " >&6
3935 else
3936 if test -n "$CC"; then
3937 ac_cv_prog_CC="$CC" # Let the user override the test.
3938 else
3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940 for as_dir in $PATH
3942 IFS=$as_save_IFS
3943 test -z "$as_dir" && as_dir=.
3944 for ac_exec_ext in '' $ac_executable_extensions; do
3945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3946 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 break 2
3950 done
3951 done
3952 IFS=$as_save_IFS
3956 CC=$ac_cv_prog_CC
3957 if test -n "$CC"; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3959 $as_echo "$CC" >&6; }
3960 else
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3966 test -n "$CC" && break
3967 done
3969 if test -z "$CC"; then
3970 ac_ct_CC=$CC
3971 for ac_prog in cl.exe
3973 # Extract the first word of "$ac_prog", so it can be a program name with args.
3974 set dummy $ac_prog; ac_word=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3978 $as_echo_n "(cached) " >&6
3979 else
3980 if test -n "$ac_ct_CC"; then
3981 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3982 else
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 for as_dir in $PATH
3986 IFS=$as_save_IFS
3987 test -z "$as_dir" && as_dir=.
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3990 ac_cv_prog_ac_ct_CC="$ac_prog"
3991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 break 2
3994 done
3995 done
3996 IFS=$as_save_IFS
4000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4001 if test -n "$ac_ct_CC"; then
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4003 $as_echo "$ac_ct_CC" >&6; }
4004 else
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4010 test -n "$ac_ct_CC" && break
4011 done
4013 if test "x$ac_ct_CC" = x; then
4014 CC=""
4015 else
4016 case $cross_compiling:$ac_tool_warned in
4017 yes:)
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4020 ac_tool_warned=yes ;;
4021 esac
4022 CC=$ac_ct_CC
4029 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error $? "no acceptable C compiler found in \$PATH
4032 See \`config.log' for more details" "$LINENO" 5; }
4034 # Provide some information about the compiler.
4035 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4036 set X $ac_compile
4037 ac_compiler=$2
4038 for ac_option in --version -v -V -qversion; do
4039 { { ac_try="$ac_compiler $ac_option >&5"
4040 case "(($ac_try" in
4041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042 *) ac_try_echo=$ac_try;;
4043 esac
4044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4045 $as_echo "$ac_try_echo"; } >&5
4046 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4047 ac_status=$?
4048 if test -s conftest.err; then
4049 sed '10a\
4050 ... rest of stderr output deleted ...
4051 10q' conftest.err >conftest.er1
4052 cat conftest.er1 >&5
4054 rm -f conftest.er1 conftest.err
4055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056 test $ac_status = 0; }
4057 done
4059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4060 /* end confdefs.h. */
4063 main ()
4067 return 0;
4069 _ACEOF
4070 ac_clean_files_save=$ac_clean_files
4071 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4072 # Try to create an executable without -o first, disregard a.out.
4073 # It will help us diagnose broken compilers, and finding out an intuition
4074 # of exeext.
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4076 $as_echo_n "checking whether the C compiler works... " >&6; }
4077 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4079 # The possible output files:
4080 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4082 ac_rmfiles=
4083 for ac_file in $ac_files
4085 case $ac_file in
4086 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4087 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4088 esac
4089 done
4090 rm -f $ac_rmfiles
4092 if { { ac_try="$ac_link_default"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_link_default") 2>&5
4100 ac_status=$?
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; then :
4103 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4104 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4105 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4106 # so that the user can short-circuit this test for compilers unknown to
4107 # Autoconf.
4108 for ac_file in $ac_files ''
4110 test -f "$ac_file" || continue
4111 case $ac_file in
4112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4114 [ab].out )
4115 # We found the default executable, but exeext='' is most
4116 # certainly right.
4117 break;;
4118 *.* )
4119 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4120 then :; else
4121 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4123 # We set ac_cv_exeext here because the later test for it is not
4124 # safe: cross compilers may not add the suffix if given an `-o'
4125 # argument, so we may need to know it at that point already.
4126 # Even if this section looks crufty: it has the advantage of
4127 # actually working.
4128 break;;
4130 break;;
4131 esac
4132 done
4133 test "$ac_cv_exeext" = no && ac_cv_exeext=
4135 else
4136 ac_file=''
4138 if test -z "$ac_file"; then :
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4140 $as_echo "no" >&6; }
4141 $as_echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error 77 "C compiler cannot create executables
4147 See \`config.log' for more details" "$LINENO" 5; }
4148 else
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4150 $as_echo "yes" >&6; }
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4153 $as_echo_n "checking for C compiler default output file name... " >&6; }
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4155 $as_echo "$ac_file" >&6; }
4156 ac_exeext=$ac_cv_exeext
4158 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4159 ac_clean_files=$ac_clean_files_save
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4161 $as_echo_n "checking for suffix of executables... " >&6; }
4162 if { { ac_try="$ac_link"
4163 case "(($ac_try" in
4164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4165 *) ac_try_echo=$ac_try;;
4166 esac
4167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4168 $as_echo "$ac_try_echo"; } >&5
4169 (eval "$ac_link") 2>&5
4170 ac_status=$?
4171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4172 test $ac_status = 0; }; then :
4173 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4174 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4175 # work properly (i.e., refer to `conftest.exe'), while it won't with
4176 # `rm'.
4177 for ac_file in conftest.exe conftest conftest.*; do
4178 test -f "$ac_file" || continue
4179 case $ac_file in
4180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4181 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4182 break;;
4183 * ) break;;
4184 esac
4185 done
4186 else
4187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4189 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4190 See \`config.log' for more details" "$LINENO" 5; }
4192 rm -f conftest conftest$ac_cv_exeext
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4194 $as_echo "$ac_cv_exeext" >&6; }
4196 rm -f conftest.$ac_ext
4197 EXEEXT=$ac_cv_exeext
4198 ac_exeext=$EXEEXT
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4201 #include <stdio.h>
4203 main ()
4205 FILE *f = fopen ("conftest.out", "w");
4206 return ferror (f) || fclose (f) != 0;
4209 return 0;
4211 _ACEOF
4212 ac_clean_files="$ac_clean_files conftest.out"
4213 # Check that the compiler produces executables we can run. If not, either
4214 # the compiler is broken, or we cross compile.
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4216 $as_echo_n "checking whether we are cross compiling... " >&6; }
4217 if test "$cross_compiling" != yes; then
4218 { { ac_try="$ac_link"
4219 case "(($ac_try" in
4220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4221 *) ac_try_echo=$ac_try;;
4222 esac
4223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4224 $as_echo "$ac_try_echo"; } >&5
4225 (eval "$ac_link") 2>&5
4226 ac_status=$?
4227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4228 test $ac_status = 0; }
4229 if { ac_try='./conftest$ac_cv_exeext'
4230 { { case "(($ac_try" in
4231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4232 *) ac_try_echo=$ac_try;;
4233 esac
4234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4235 $as_echo "$ac_try_echo"; } >&5
4236 (eval "$ac_try") 2>&5
4237 ac_status=$?
4238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4239 test $ac_status = 0; }; }; then
4240 cross_compiling=no
4241 else
4242 if test "$cross_compiling" = maybe; then
4243 cross_compiling=yes
4244 else
4245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4247 as_fn_error $? "cannot run C compiled programs.
4248 If you meant to cross compile, use \`--host'.
4249 See \`config.log' for more details" "$LINENO" 5; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4254 $as_echo "$cross_compiling" >&6; }
4256 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4257 ac_clean_files=$ac_clean_files_save
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4259 $as_echo_n "checking for suffix of object files... " >&6; }
4260 if ${ac_cv_objext+:} false; then :
4261 $as_echo_n "(cached) " >&6
4262 else
4263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4264 /* end confdefs.h. */
4267 main ()
4271 return 0;
4273 _ACEOF
4274 rm -f conftest.o conftest.obj
4275 if { { ac_try="$ac_compile"
4276 case "(($ac_try" in
4277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4278 *) ac_try_echo=$ac_try;;
4279 esac
4280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4281 $as_echo "$ac_try_echo"; } >&5
4282 (eval "$ac_compile") 2>&5
4283 ac_status=$?
4284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4285 test $ac_status = 0; }; then :
4286 for ac_file in conftest.o conftest.obj conftest.*; do
4287 test -f "$ac_file" || continue;
4288 case $ac_file in
4289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4290 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4291 break;;
4292 esac
4293 done
4294 else
4295 $as_echo "$as_me: failed program was:" >&5
4296 sed 's/^/| /' conftest.$ac_ext >&5
4298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4300 as_fn_error $? "cannot compute suffix of object files: cannot compile
4301 See \`config.log' for more details" "$LINENO" 5; }
4303 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4306 $as_echo "$ac_cv_objext" >&6; }
4307 OBJEXT=$ac_cv_objext
4308 ac_objext=$OBJEXT
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4310 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4311 if ${ac_cv_c_compiler_gnu+:} false; then :
4312 $as_echo_n "(cached) " >&6
4313 else
4314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4315 /* end confdefs.h. */
4318 main ()
4320 #ifndef __GNUC__
4321 choke me
4322 #endif
4325 return 0;
4327 _ACEOF
4328 if ac_fn_c_try_compile "$LINENO"; then :
4329 ac_compiler_gnu=yes
4330 else
4331 ac_compiler_gnu=no
4333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4334 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4338 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4339 if test $ac_compiler_gnu = yes; then
4340 GCC=yes
4341 else
4342 GCC=
4344 ac_test_CFLAGS=${CFLAGS+set}
4345 ac_save_CFLAGS=$CFLAGS
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4347 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4348 if ${ac_cv_prog_cc_g+:} false; then :
4349 $as_echo_n "(cached) " >&6
4350 else
4351 ac_save_c_werror_flag=$ac_c_werror_flag
4352 ac_c_werror_flag=yes
4353 ac_cv_prog_cc_g=no
4354 CFLAGS="-g"
4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4359 main ()
4363 return 0;
4365 _ACEOF
4366 if ac_fn_c_try_compile "$LINENO"; then :
4367 ac_cv_prog_cc_g=yes
4368 else
4369 CFLAGS=""
4370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4371 /* end confdefs.h. */
4374 main ()
4378 return 0;
4380 _ACEOF
4381 if ac_fn_c_try_compile "$LINENO"; then :
4383 else
4384 ac_c_werror_flag=$ac_save_c_werror_flag
4385 CFLAGS="-g"
4386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h. */
4390 main ()
4394 return 0;
4396 _ACEOF
4397 if ac_fn_c_try_compile "$LINENO"; then :
4398 ac_cv_prog_cc_g=yes
4400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4405 ac_c_werror_flag=$ac_save_c_werror_flag
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4408 $as_echo "$ac_cv_prog_cc_g" >&6; }
4409 if test "$ac_test_CFLAGS" = set; then
4410 CFLAGS=$ac_save_CFLAGS
4411 elif test $ac_cv_prog_cc_g = yes; then
4412 if test "$GCC" = yes; then
4413 CFLAGS="-g -O2"
4414 else
4415 CFLAGS="-g"
4417 else
4418 if test "$GCC" = yes; then
4419 CFLAGS="-O2"
4420 else
4421 CFLAGS=
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4425 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4426 if ${ac_cv_prog_cc_c89+:} false; then :
4427 $as_echo_n "(cached) " >&6
4428 else
4429 ac_cv_prog_cc_c89=no
4430 ac_save_CC=$CC
4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4432 /* end confdefs.h. */
4433 #include <stdarg.h>
4434 #include <stdio.h>
4435 struct stat;
4436 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4437 struct buf { int x; };
4438 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4439 static char *e (p, i)
4440 char **p;
4441 int i;
4443 return p[i];
4445 static char *f (char * (*g) (char **, int), char **p, ...)
4447 char *s;
4448 va_list v;
4449 va_start (v,p);
4450 s = g (p, va_arg (v,int));
4451 va_end (v);
4452 return s;
4455 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4456 function prototypes and stuff, but not '\xHH' hex character constants.
4457 These don't provoke an error unfortunately, instead are silently treated
4458 as 'x'. The following induces an error, until -std is added to get
4459 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4460 array size at least. It's necessary to write '\x00'==0 to get something
4461 that's true only with -std. */
4462 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4464 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4465 inside strings and character constants. */
4466 #define FOO(x) 'x'
4467 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4469 int test (int i, double x);
4470 struct s1 {int (*f) (int a);};
4471 struct s2 {int (*f) (double a);};
4472 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4473 int argc;
4474 char **argv;
4476 main ()
4478 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4480 return 0;
4482 _ACEOF
4483 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4484 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4486 CC="$ac_save_CC $ac_arg"
4487 if ac_fn_c_try_compile "$LINENO"; then :
4488 ac_cv_prog_cc_c89=$ac_arg
4490 rm -f core conftest.err conftest.$ac_objext
4491 test "x$ac_cv_prog_cc_c89" != "xno" && break
4492 done
4493 rm -f conftest.$ac_ext
4494 CC=$ac_save_CC
4497 # AC_CACHE_VAL
4498 case "x$ac_cv_prog_cc_c89" in
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4501 $as_echo "none needed" >&6; } ;;
4502 xno)
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4504 $as_echo "unsupported" >&6; } ;;
4506 CC="$CC $ac_cv_prog_cc_c89"
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4508 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4509 esac
4510 if test "x$ac_cv_prog_cc_c89" != xno; then :
4514 ac_ext=c
4515 ac_cpp='$CPP $CPPFLAGS'
4516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4520 ac_ext=cpp
4521 ac_cpp='$CXXCPP $CPPFLAGS'
4522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4525 if test -z "$CXX"; then
4526 if test -n "$CCC"; then
4527 CXX=$CCC
4528 else
4529 if test -n "$ac_tool_prefix"; then
4530 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4532 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4533 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4535 $as_echo_n "checking for $ac_word... " >&6; }
4536 if ${ac_cv_prog_CXX+:} false; then :
4537 $as_echo_n "(cached) " >&6
4538 else
4539 if test -n "$CXX"; then
4540 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4541 else
4542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4543 for as_dir in $PATH
4545 IFS=$as_save_IFS
4546 test -z "$as_dir" && as_dir=.
4547 for ac_exec_ext in '' $ac_executable_extensions; do
4548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4549 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4551 break 2
4553 done
4554 done
4555 IFS=$as_save_IFS
4559 CXX=$ac_cv_prog_CXX
4560 if test -n "$CXX"; then
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4562 $as_echo "$CXX" >&6; }
4563 else
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4565 $as_echo "no" >&6; }
4569 test -n "$CXX" && break
4570 done
4572 if test -z "$CXX"; then
4573 ac_ct_CXX=$CXX
4574 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4576 # Extract the first word of "$ac_prog", so it can be a program name with args.
4577 set dummy $ac_prog; ac_word=$2
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4579 $as_echo_n "checking for $ac_word... " >&6; }
4580 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4581 $as_echo_n "(cached) " >&6
4582 else
4583 if test -n "$ac_ct_CXX"; then
4584 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4585 else
4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4587 for as_dir in $PATH
4589 IFS=$as_save_IFS
4590 test -z "$as_dir" && as_dir=.
4591 for ac_exec_ext in '' $ac_executable_extensions; do
4592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4593 ac_cv_prog_ac_ct_CXX="$ac_prog"
4594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 break 2
4597 done
4598 done
4599 IFS=$as_save_IFS
4603 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4604 if test -n "$ac_ct_CXX"; then
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4606 $as_echo "$ac_ct_CXX" >&6; }
4607 else
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609 $as_echo "no" >&6; }
4613 test -n "$ac_ct_CXX" && break
4614 done
4616 if test "x$ac_ct_CXX" = x; then
4617 CXX="g++"
4618 else
4619 case $cross_compiling:$ac_tool_warned in
4620 yes:)
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4623 ac_tool_warned=yes ;;
4624 esac
4625 CXX=$ac_ct_CXX
4631 # Provide some information about the compiler.
4632 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4633 set X $ac_compile
4634 ac_compiler=$2
4635 for ac_option in --version -v -V -qversion; do
4636 { { ac_try="$ac_compiler $ac_option >&5"
4637 case "(($ac_try" in
4638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639 *) ac_try_echo=$ac_try;;
4640 esac
4641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4642 $as_echo "$ac_try_echo"; } >&5
4643 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4644 ac_status=$?
4645 if test -s conftest.err; then
4646 sed '10a\
4647 ... rest of stderr output deleted ...
4648 10q' conftest.err >conftest.er1
4649 cat conftest.er1 >&5
4651 rm -f conftest.er1 conftest.err
4652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4653 test $ac_status = 0; }
4654 done
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4657 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4658 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4659 $as_echo_n "(cached) " >&6
4660 else
4661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4662 /* end confdefs.h. */
4665 main ()
4667 #ifndef __GNUC__
4668 choke me
4669 #endif
4672 return 0;
4674 _ACEOF
4675 if ac_fn_cxx_try_compile "$LINENO"; then :
4676 ac_compiler_gnu=yes
4677 else
4678 ac_compiler_gnu=no
4680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4681 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4685 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4686 if test $ac_compiler_gnu = yes; then
4687 GXX=yes
4688 else
4689 GXX=
4691 ac_test_CXXFLAGS=${CXXFLAGS+set}
4692 ac_save_CXXFLAGS=$CXXFLAGS
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4694 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4695 if ${ac_cv_prog_cxx_g+:} false; then :
4696 $as_echo_n "(cached) " >&6
4697 else
4698 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4699 ac_cxx_werror_flag=yes
4700 ac_cv_prog_cxx_g=no
4701 CXXFLAGS="-g"
4702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4703 /* end confdefs.h. */
4706 main ()
4710 return 0;
4712 _ACEOF
4713 if ac_fn_cxx_try_compile "$LINENO"; then :
4714 ac_cv_prog_cxx_g=yes
4715 else
4716 CXXFLAGS=""
4717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4718 /* end confdefs.h. */
4721 main ()
4725 return 0;
4727 _ACEOF
4728 if ac_fn_cxx_try_compile "$LINENO"; then :
4730 else
4731 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4732 CXXFLAGS="-g"
4733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734 /* end confdefs.h. */
4737 main ()
4741 return 0;
4743 _ACEOF
4744 if ac_fn_cxx_try_compile "$LINENO"; then :
4745 ac_cv_prog_cxx_g=yes
4747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4752 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4755 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4756 if test "$ac_test_CXXFLAGS" = set; then
4757 CXXFLAGS=$ac_save_CXXFLAGS
4758 elif test $ac_cv_prog_cxx_g = yes; then
4759 if test "$GXX" = yes; then
4760 CXXFLAGS="-g -O2"
4761 else
4762 CXXFLAGS="-g"
4764 else
4765 if test "$GXX" = yes; then
4766 CXXFLAGS="-O2"
4767 else
4768 CXXFLAGS=
4771 ac_ext=c
4772 ac_cpp='$CPP $CPPFLAGS'
4773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4777 if test -n "$ac_tool_prefix"; then
4778 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4779 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 $as_echo_n "checking for $ac_word... " >&6; }
4782 if ${ac_cv_prog_CPPBIN+:} false; then :
4783 $as_echo_n "(cached) " >&6
4784 else
4785 if test -n "$CPPBIN"; then
4786 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4787 else
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4789 for as_dir in $PATH
4791 IFS=$as_save_IFS
4792 test -z "$as_dir" && as_dir=.
4793 for ac_exec_ext in '' $ac_executable_extensions; do
4794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4795 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 break 2
4799 done
4800 done
4801 IFS=$as_save_IFS
4805 CPPBIN=$ac_cv_prog_CPPBIN
4806 if test -n "$CPPBIN"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4808 $as_echo "$CPPBIN" >&6; }
4809 else
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4816 if test -z "$ac_cv_prog_CPPBIN"; then
4817 ac_ct_CPPBIN=$CPPBIN
4818 # Extract the first word of "cpp", so it can be a program name with args.
4819 set dummy cpp; ac_word=$2
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 $as_echo_n "checking for $ac_word... " >&6; }
4822 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if test -n "$ac_ct_CPPBIN"; then
4826 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4827 else
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH
4831 IFS=$as_save_IFS
4832 test -z "$as_dir" && as_dir=.
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4835 ac_cv_prog_ac_ct_CPPBIN="cpp"
4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4837 break 2
4839 done
4840 done
4841 IFS=$as_save_IFS
4845 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4846 if test -n "$ac_ct_CPPBIN"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4848 $as_echo "$ac_ct_CPPBIN" >&6; }
4849 else
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 $as_echo "no" >&6; }
4854 if test "x$ac_ct_CPPBIN" = x; then
4855 CPPBIN="cpp"
4856 else
4857 case $cross_compiling:$ac_tool_warned in
4858 yes:)
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4861 ac_tool_warned=yes ;;
4862 esac
4863 CPPBIN=$ac_ct_CPPBIN
4865 else
4866 CPPBIN="$ac_cv_prog_CPPBIN"
4870 cat >>confdefs.h <<_ACEOF
4871 #define EXEEXT "$ac_exeext"
4872 _ACEOF
4874 if test -n "$ac_tool_prefix"; then
4875 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4876 set dummy ${ac_tool_prefix}ld; ac_word=$2
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878 $as_echo_n "checking for $ac_word... " >&6; }
4879 if ${ac_cv_prog_LD+:} false; then :
4880 $as_echo_n "(cached) " >&6
4881 else
4882 if test -n "$LD"; then
4883 ac_cv_prog_LD="$LD" # Let the user override the test.
4884 else
4885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886 for as_dir in $PATH
4888 IFS=$as_save_IFS
4889 test -z "$as_dir" && as_dir=.
4890 for ac_exec_ext in '' $ac_executable_extensions; do
4891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4892 ac_cv_prog_LD="${ac_tool_prefix}ld"
4893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894 break 2
4896 done
4897 done
4898 IFS=$as_save_IFS
4902 LD=$ac_cv_prog_LD
4903 if test -n "$LD"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4905 $as_echo "$LD" >&6; }
4906 else
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4913 if test -z "$ac_cv_prog_LD"; then
4914 ac_ct_LD=$LD
4915 # Extract the first word of "ld", so it can be a program name with args.
4916 set dummy ld; ac_word=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 $as_echo_n "checking for $ac_word... " >&6; }
4919 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4920 $as_echo_n "(cached) " >&6
4921 else
4922 if test -n "$ac_ct_LD"; then
4923 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4924 else
4925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926 for as_dir in $PATH
4928 IFS=$as_save_IFS
4929 test -z "$as_dir" && as_dir=.
4930 for ac_exec_ext in '' $ac_executable_extensions; do
4931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4932 ac_cv_prog_ac_ct_LD="ld"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4934 break 2
4936 done
4937 done
4938 IFS=$as_save_IFS
4942 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4943 if test -n "$ac_ct_LD"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4945 $as_echo "$ac_ct_LD" >&6; }
4946 else
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4951 if test "x$ac_ct_LD" = x; then
4952 LD=""
4953 else
4954 case $cross_compiling:$ac_tool_warned in
4955 yes:)
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4958 ac_tool_warned=yes ;;
4959 esac
4960 LD=$ac_ct_LD
4962 else
4963 LD="$ac_cv_prog_LD"
4967 case $host in
4968 *-darwin*)
4969 with_fontconfig=${with_fontconfig:-no}
4971 *-mingw32*|*-cygwin*)
4972 enable_win16=${enable_win16:-no}
4973 CFLAGS="$CFLAGS -D_WIN32"
4975 esac
4977 case $host in
4978 x86_64*|amd64*)
4979 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4980 then
4981 CC="$CC -m32"
4982 CXX="$CXX -m32"
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4984 $as_echo_n "checking whether $CC works... " >&6; }
4986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4987 /* end confdefs.h. */
4990 main ()
4994 return 0;
4996 _ACEOF
4997 if ac_fn_c_try_link "$LINENO"; then :
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4999 $as_echo "yes" >&6; }
5000 else
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5003 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5005 rm -f core conftest.err conftest.$ac_objext \
5006 conftest$ac_exeext conftest.$ac_ext
5007 host_cpu="i386"
5008 notice_platform="32-bit "
5009 TARGETFLAGS="-m32"
5011 enable_win16=${enable_win16:-yes}
5012 else
5013 if test "x${GCC}" = "xyes"
5014 then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5016 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5018 /* end confdefs.h. */
5019 #include <stdarg.h>
5021 main ()
5023 void func(__builtin_ms_va_list *args);
5025 return 0;
5027 _ACEOF
5028 if ac_fn_c_try_compile "$LINENO"; then :
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5030 $as_echo "yes" >&6; }
5031 else
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5034 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5038 CC="$CC -m64"
5039 CXX="$CXX -m64"
5040 host_cpu="x86_64"
5041 notice_platform="64-bit "
5042 TARGETFLAGS="-m64"
5046 arm*)
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5048 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5050 /* end confdefs.h. */
5051 int ac_test(int i) { return i; }
5053 main ()
5055 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5057 return 0;
5059 _ACEOF
5060 if ac_fn_c_try_link "$LINENO"; then :
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5062 $as_echo "yes" >&6; }
5063 else
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5065 $as_echo "no" >&6; }
5066 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5068 rm -f core conftest.err conftest.$ac_objext \
5069 conftest$ac_exeext conftest.$ac_ext
5070 CFLAGS="$CFLAGS -marm"
5071 TARGETFLAGS="-marm"
5074 i[3456789]86*)
5075 enable_win16=${enable_win16:-yes}
5077 esac
5079 enable_win16=${enable_win16:-no}
5080 enable_win64=${enable_win64:-no}
5082 enable_winetest=${enable_winetest:-$enable_tests}
5084 if test -n "$with_wine64"
5085 then
5086 if test "x$enable_win64" = "xyes"
5087 then
5088 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5089 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5091 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5092 You should create a separate build directory and run configure from there." "$LINENO" 5
5093 enable_fonts=${enable_fonts:-no}
5094 enable_server=${enable_server:-no}
5095 elif test "x$enable_win64" = "xyes"
5096 then
5097 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5101 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5102 if ${wine_cv_toolsdir+:} false; then :
5103 $as_echo_n "(cached) " >&6
5104 else
5105 wine_cv_toolsdir="$with_wine_tools"
5106 if test -z "$with_wine_tools"; then
5107 if test "$cross_compiling" = "yes"; then
5108 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5109 elif test -n "$with_wine64"; then
5110 wine_cv_toolsdir="$with_wine64"
5113 if test -z "$wine_cv_toolsdir"; then
5114 wine_makedep=tools/makedep
5115 wine_cv_toolsdir="\$(top_builddir)"
5116 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5117 wine_makedep=$wine_cv_toolsdir/tools/makedep
5118 case "$wine_cv_toolsdir" in
5119 /*) ;;
5120 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5121 esac
5122 enable_tools=${enable_tools:-no}
5123 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5124 else
5125 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5129 $as_echo "$wine_cv_toolsdir" >&6; }
5130 TOOLSDIR=$wine_cv_toolsdir
5132 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5133 then
5134 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5138 for ac_prog in flex
5140 # Extract the first word of "$ac_prog", so it can be a program name with args.
5141 set dummy $ac_prog; ac_word=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if ${ac_cv_prog_FLEX+:} false; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 if test -n "$FLEX"; then
5148 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5149 else
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH
5153 IFS=$as_save_IFS
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_FLEX="$ac_prog"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 break 2
5161 done
5162 done
5163 IFS=$as_save_IFS
5167 FLEX=$ac_cv_prog_FLEX
5168 if test -n "$FLEX"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5170 $as_echo "$FLEX" >&6; }
5171 else
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5177 test -n "$FLEX" && break
5178 done
5179 test -n "$FLEX" || FLEX="none"
5181 if test "$FLEX" = "none"
5182 then
5183 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5186 $as_echo_n "checking whether flex is recent enough... " >&6; }
5187 cat >conftest.l <<EOF
5188 %top{
5189 #include "prediluvian.h"
5193 if $FLEX -t conftest.l >/dev/null 2>&5
5194 then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5196 $as_echo "yes" >&6; }
5197 else
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 $as_echo "no" >&6; }
5200 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5203 for ac_prog in bison
5205 # Extract the first word of "$ac_prog", so it can be a program name with args.
5206 set dummy $ac_prog; ac_word=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_BISON+:} false; then :
5210 $as_echo_n "(cached) " >&6
5211 else
5212 if test -n "$BISON"; then
5213 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5214 else
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 for as_dir in $PATH
5218 IFS=$as_save_IFS
5219 test -z "$as_dir" && as_dir=.
5220 for ac_exec_ext in '' $ac_executable_extensions; do
5221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_BISON="$ac_prog"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 break 2
5226 done
5227 done
5228 IFS=$as_save_IFS
5232 BISON=$ac_cv_prog_BISON
5233 if test -n "$BISON"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5235 $as_echo "$BISON" >&6; }
5236 else
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5242 test -n "$BISON" && break
5243 done
5244 test -n "$BISON" || BISON="none"
5246 if test "$BISON" = "none"
5247 then
5248 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5251 if test -n "$ac_tool_prefix"; then
5252 for ac_prog in ar gar
5254 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5255 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5257 $as_echo_n "checking for $ac_word... " >&6; }
5258 if ${ac_cv_prog_AR+:} false; then :
5259 $as_echo_n "(cached) " >&6
5260 else
5261 if test -n "$AR"; then
5262 ac_cv_prog_AR="$AR" # Let the user override the test.
5263 else
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5265 for as_dir in $PATH
5267 IFS=$as_save_IFS
5268 test -z "$as_dir" && as_dir=.
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5271 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 break 2
5275 done
5276 done
5277 IFS=$as_save_IFS
5281 AR=$ac_cv_prog_AR
5282 if test -n "$AR"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5284 $as_echo "$AR" >&6; }
5285 else
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5291 test -n "$AR" && break
5292 done
5294 if test -z "$AR"; then
5295 ac_ct_AR=$AR
5296 for ac_prog in ar gar
5298 # Extract the first word of "$ac_prog", so it can be a program name with args.
5299 set dummy $ac_prog; ac_word=$2
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5301 $as_echo_n "checking for $ac_word... " >&6; }
5302 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5303 $as_echo_n "(cached) " >&6
5304 else
5305 if test -n "$ac_ct_AR"; then
5306 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5307 else
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 for as_dir in $PATH
5311 IFS=$as_save_IFS
5312 test -z "$as_dir" && as_dir=.
5313 for ac_exec_ext in '' $ac_executable_extensions; do
5314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5315 ac_cv_prog_ac_ct_AR="$ac_prog"
5316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5317 break 2
5319 done
5320 done
5321 IFS=$as_save_IFS
5325 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5326 if test -n "$ac_ct_AR"; then
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5328 $as_echo "$ac_ct_AR" >&6; }
5329 else
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5331 $as_echo "no" >&6; }
5335 test -n "$ac_ct_AR" && break
5336 done
5338 if test "x$ac_ct_AR" = x; then
5339 AR="ar"
5340 else
5341 case $cross_compiling:$ac_tool_warned in
5342 yes:)
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5345 ac_tool_warned=yes ;;
5346 esac
5347 AR=$ac_ct_AR
5351 if test -n "$ac_tool_prefix"; then
5352 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5353 set dummy ${ac_tool_prefix}strip; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if ${ac_cv_prog_STRIP+:} false; then :
5357 $as_echo_n "(cached) " >&6
5358 else
5359 if test -n "$STRIP"; then
5360 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5361 else
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5365 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5369 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 break 2
5373 done
5374 done
5375 IFS=$as_save_IFS
5379 STRIP=$ac_cv_prog_STRIP
5380 if test -n "$STRIP"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5382 $as_echo "$STRIP" >&6; }
5383 else
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5390 if test -z "$ac_cv_prog_STRIP"; then
5391 ac_ct_STRIP=$STRIP
5392 # Extract the first word of "strip", so it can be a program name with args.
5393 set dummy strip; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5397 $as_echo_n "(cached) " >&6
5398 else
5399 if test -n "$ac_ct_STRIP"; then
5400 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5405 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5409 ac_cv_prog_ac_ct_STRIP="strip"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 break 2
5413 done
5414 done
5415 IFS=$as_save_IFS
5419 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5420 if test -n "$ac_ct_STRIP"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5422 $as_echo "$ac_ct_STRIP" >&6; }
5423 else
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5428 if test "x$ac_ct_STRIP" = x; then
5429 STRIP="strip"
5430 else
5431 case $cross_compiling:$ac_tool_warned in
5432 yes:)
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5435 ac_tool_warned=yes ;;
5436 esac
5437 STRIP=$ac_ct_STRIP
5439 else
5440 STRIP="$ac_cv_prog_STRIP"
5443 ARFLAGS=rc
5445 if test -n "$ac_tool_prefix"; then
5446 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5447 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5449 $as_echo_n "checking for $ac_word... " >&6; }
5450 if ${ac_cv_prog_RANLIB+:} false; then :
5451 $as_echo_n "(cached) " >&6
5452 else
5453 if test -n "$RANLIB"; then
5454 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5455 else
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 for as_dir in $PATH
5459 IFS=$as_save_IFS
5460 test -z "$as_dir" && as_dir=.
5461 for ac_exec_ext in '' $ac_executable_extensions; do
5462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5463 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5465 break 2
5467 done
5468 done
5469 IFS=$as_save_IFS
5473 RANLIB=$ac_cv_prog_RANLIB
5474 if test -n "$RANLIB"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5476 $as_echo "$RANLIB" >&6; }
5477 else
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5484 if test -z "$ac_cv_prog_RANLIB"; then
5485 ac_ct_RANLIB=$RANLIB
5486 # Extract the first word of "ranlib", so it can be a program name with args.
5487 set dummy ranlib; ac_word=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5491 $as_echo_n "(cached) " >&6
5492 else
5493 if test -n "$ac_ct_RANLIB"; then
5494 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5495 else
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH
5499 IFS=$as_save_IFS
5500 test -z "$as_dir" && as_dir=.
5501 for ac_exec_ext in '' $ac_executable_extensions; do
5502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5503 ac_cv_prog_ac_ct_RANLIB="ranlib"
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5505 break 2
5507 done
5508 done
5509 IFS=$as_save_IFS
5513 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5514 if test -n "$ac_ct_RANLIB"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5516 $as_echo "$ac_ct_RANLIB" >&6; }
5517 else
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5522 if test "x$ac_ct_RANLIB" = x; then
5523 RANLIB=":"
5524 else
5525 case $cross_compiling:$ac_tool_warned in
5526 yes:)
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5529 ac_tool_warned=yes ;;
5530 esac
5531 RANLIB=$ac_ct_RANLIB
5533 else
5534 RANLIB="$ac_cv_prog_RANLIB"
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5538 $as_echo_n "checking whether ln -s works... " >&6; }
5539 LN_S=$as_ln_s
5540 if test "$LN_S" = "ln -s"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5542 $as_echo "yes" >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5545 $as_echo "no, using $LN_S" >&6; }
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5549 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5550 if ${ac_cv_path_GREP+:} false; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 if test -z "$GREP"; then
5554 ac_path_GREP_found=false
5555 # Loop through the user's path and test for each of PROGNAME-LIST
5556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5559 IFS=$as_save_IFS
5560 test -z "$as_dir" && as_dir=.
5561 for ac_prog in grep ggrep; do
5562 for ac_exec_ext in '' $ac_executable_extensions; do
5563 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5564 as_fn_executable_p "$ac_path_GREP" || continue
5565 # Check for GNU ac_path_GREP and select it if it is found.
5566 # Check for GNU $ac_path_GREP
5567 case `"$ac_path_GREP" --version 2>&1` in
5568 *GNU*)
5569 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5571 ac_count=0
5572 $as_echo_n 0123456789 >"conftest.in"
5573 while :
5575 cat "conftest.in" "conftest.in" >"conftest.tmp"
5576 mv "conftest.tmp" "conftest.in"
5577 cp "conftest.in" "conftest.nl"
5578 $as_echo 'GREP' >> "conftest.nl"
5579 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5580 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5581 as_fn_arith $ac_count + 1 && ac_count=$as_val
5582 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5583 # Best one so far, save it but keep looking for a better one
5584 ac_cv_path_GREP="$ac_path_GREP"
5585 ac_path_GREP_max=$ac_count
5587 # 10*(2^10) chars as input seems more than enough
5588 test $ac_count -gt 10 && break
5589 done
5590 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5591 esac
5593 $ac_path_GREP_found && break 3
5594 done
5595 done
5596 done
5597 IFS=$as_save_IFS
5598 if test -z "$ac_cv_path_GREP"; then
5599 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5601 else
5602 ac_cv_path_GREP=$GREP
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5607 $as_echo "$ac_cv_path_GREP" >&6; }
5608 GREP="$ac_cv_path_GREP"
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5612 $as_echo_n "checking for egrep... " >&6; }
5613 if ${ac_cv_path_EGREP+:} false; then :
5614 $as_echo_n "(cached) " >&6
5615 else
5616 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5617 then ac_cv_path_EGREP="$GREP -E"
5618 else
5619 if test -z "$EGREP"; then
5620 ac_path_EGREP_found=false
5621 # Loop through the user's path and test for each of PROGNAME-LIST
5622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5623 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5625 IFS=$as_save_IFS
5626 test -z "$as_dir" && as_dir=.
5627 for ac_prog in egrep; do
5628 for ac_exec_ext in '' $ac_executable_extensions; do
5629 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5630 as_fn_executable_p "$ac_path_EGREP" || continue
5631 # Check for GNU ac_path_EGREP and select it if it is found.
5632 # Check for GNU $ac_path_EGREP
5633 case `"$ac_path_EGREP" --version 2>&1` in
5634 *GNU*)
5635 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5637 ac_count=0
5638 $as_echo_n 0123456789 >"conftest.in"
5639 while :
5641 cat "conftest.in" "conftest.in" >"conftest.tmp"
5642 mv "conftest.tmp" "conftest.in"
5643 cp "conftest.in" "conftest.nl"
5644 $as_echo 'EGREP' >> "conftest.nl"
5645 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5646 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5647 as_fn_arith $ac_count + 1 && ac_count=$as_val
5648 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5649 # Best one so far, save it but keep looking for a better one
5650 ac_cv_path_EGREP="$ac_path_EGREP"
5651 ac_path_EGREP_max=$ac_count
5653 # 10*(2^10) chars as input seems more than enough
5654 test $ac_count -gt 10 && break
5655 done
5656 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5657 esac
5659 $ac_path_EGREP_found && break 3
5660 done
5661 done
5662 done
5663 IFS=$as_save_IFS
5664 if test -z "$ac_cv_path_EGREP"; then
5665 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5667 else
5668 ac_cv_path_EGREP=$EGREP
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5674 $as_echo "$ac_cv_path_EGREP" >&6; }
5675 EGREP="$ac_cv_path_EGREP"
5678 # Extract the first word of "ldconfig", so it can be a program name with args.
5679 set dummy ldconfig; ac_word=$2
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5681 $as_echo_n "checking for $ac_word... " >&6; }
5682 if ${ac_cv_path_LDCONFIG+:} false; then :
5683 $as_echo_n "(cached) " >&6
5684 else
5685 case $LDCONFIG in
5686 [\\/]* | ?:[\\/]*)
5687 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 for as_dir in /sbin /usr/sbin $PATH
5693 IFS=$as_save_IFS
5694 test -z "$as_dir" && as_dir=.
5695 for ac_exec_ext in '' $ac_executable_extensions; do
5696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5697 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 break 2
5701 done
5702 done
5703 IFS=$as_save_IFS
5705 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5707 esac
5709 LDCONFIG=$ac_cv_path_LDCONFIG
5710 if test -n "$LDCONFIG"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5712 $as_echo "$LDCONFIG" >&6; }
5713 else
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5719 for ac_prog in msgfmt
5721 # Extract the first word of "$ac_prog", so it can be a program name with args.
5722 set dummy $ac_prog; ac_word=$2
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5724 $as_echo_n "checking for $ac_word... " >&6; }
5725 if ${ac_cv_prog_MSGFMT+:} false; then :
5726 $as_echo_n "(cached) " >&6
5727 else
5728 if test -n "$MSGFMT"; then
5729 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5730 else
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732 for as_dir in $PATH
5734 IFS=$as_save_IFS
5735 test -z "$as_dir" && as_dir=.
5736 for ac_exec_ext in '' $ac_executable_extensions; do
5737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5738 ac_cv_prog_MSGFMT="$ac_prog"
5739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5740 break 2
5742 done
5743 done
5744 IFS=$as_save_IFS
5748 MSGFMT=$ac_cv_prog_MSGFMT
5749 if test -n "$MSGFMT"; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5751 $as_echo "$MSGFMT" >&6; }
5752 else
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5754 $as_echo "no" >&6; }
5758 test -n "$MSGFMT" && break
5759 done
5760 test -n "$MSGFMT" || MSGFMT="false"
5762 if ${ac_tool_prefix+:} false; then :
5763 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5764 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5768 $as_echo_n "(cached) " >&6
5769 else
5770 if test -n "$PKG_CONFIG"; then
5771 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5772 else
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 for as_dir in $PATH
5776 IFS=$as_save_IFS
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 break 2
5784 done
5785 done
5786 IFS=$as_save_IFS
5790 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5791 if test -n "$PKG_CONFIG"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5793 $as_echo "$PKG_CONFIG" >&6; }
5794 else
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5801 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5802 if test "x$cross_compiling" = xyes; then :
5804 else
5805 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5806 # Extract the first word of "pkg-config", so it can be a program name with args.
5807 set dummy pkg-config; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 if test -n "$PKG_CONFIG"; then
5814 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_PKG_CONFIG="pkg-config"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 break 2
5827 done
5828 done
5829 IFS=$as_save_IFS
5833 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5834 if test -n "$PKG_CONFIG"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5836 $as_echo "$PKG_CONFIG" >&6; }
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5844 else
5845 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5848 if test "x$enable_maintainer_mode" != "xyes"
5849 then
5850 FONTFORGE=""
5851 RSVG=""
5852 CONVERT=""
5853 ICOTOOL=""
5854 else
5855 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5856 for ac_prog in fontforge
5858 # Extract the first word of "$ac_prog", so it can be a program name with args.
5859 set dummy $ac_prog; ac_word=$2
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5861 $as_echo_n "checking for $ac_word... " >&6; }
5862 if ${ac_cv_prog_FONTFORGE+:} false; then :
5863 $as_echo_n "(cached) " >&6
5864 else
5865 if test -n "$FONTFORGE"; then
5866 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5867 else
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 for as_dir in $PATH
5871 IFS=$as_save_IFS
5872 test -z "$as_dir" && as_dir=.
5873 for ac_exec_ext in '' $ac_executable_extensions; do
5874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5875 ac_cv_prog_FONTFORGE="$ac_prog"
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 break 2
5879 done
5880 done
5881 IFS=$as_save_IFS
5885 FONTFORGE=$ac_cv_prog_FONTFORGE
5886 if test -n "$FONTFORGE"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5888 $as_echo "$FONTFORGE" >&6; }
5889 else
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5895 test -n "$FONTFORGE" && break
5896 done
5897 test -n "$FONTFORGE" || FONTFORGE="false"
5899 for ac_prog in rsvg-convert rsvg
5901 # Extract the first word of "$ac_prog", so it can be a program name with args.
5902 set dummy $ac_prog; ac_word=$2
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5904 $as_echo_n "checking for $ac_word... " >&6; }
5905 if ${ac_cv_prog_RSVG+:} false; then :
5906 $as_echo_n "(cached) " >&6
5907 else
5908 if test -n "$RSVG"; then
5909 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5910 else
5911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912 for as_dir in $PATH
5914 IFS=$as_save_IFS
5915 test -z "$as_dir" && as_dir=.
5916 for ac_exec_ext in '' $ac_executable_extensions; do
5917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5918 ac_cv_prog_RSVG="$ac_prog"
5919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5920 break 2
5922 done
5923 done
5924 IFS=$as_save_IFS
5928 RSVG=$ac_cv_prog_RSVG
5929 if test -n "$RSVG"; then
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5931 $as_echo "$RSVG" >&6; }
5932 else
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5934 $as_echo "no" >&6; }
5938 test -n "$RSVG" && break
5939 done
5940 test -n "$RSVG" || RSVG="false"
5942 for ac_prog in convert
5944 # Extract the first word of "$ac_prog", so it can be a program name with args.
5945 set dummy $ac_prog; ac_word=$2
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947 $as_echo_n "checking for $ac_word... " >&6; }
5948 if ${ac_cv_prog_CONVERT+:} false; then :
5949 $as_echo_n "(cached) " >&6
5950 else
5951 if test -n "$CONVERT"; then
5952 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5953 else
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 for as_dir in $PATH
5957 IFS=$as_save_IFS
5958 test -z "$as_dir" && as_dir=.
5959 for ac_exec_ext in '' $ac_executable_extensions; do
5960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5961 ac_cv_prog_CONVERT="$ac_prog"
5962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5963 break 2
5965 done
5966 done
5967 IFS=$as_save_IFS
5971 CONVERT=$ac_cv_prog_CONVERT
5972 if test -n "$CONVERT"; then
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5974 $as_echo "$CONVERT" >&6; }
5975 else
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5977 $as_echo "no" >&6; }
5981 test -n "$CONVERT" && break
5982 done
5983 test -n "$CONVERT" || CONVERT="false"
5985 for ac_prog in icotool
5987 # Extract the first word of "$ac_prog", so it can be a program name with args.
5988 set dummy $ac_prog; ac_word=$2
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5990 $as_echo_n "checking for $ac_word... " >&6; }
5991 if ${ac_cv_prog_ICOTOOL+:} false; then :
5992 $as_echo_n "(cached) " >&6
5993 else
5994 if test -n "$ICOTOOL"; then
5995 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5996 else
5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5998 for as_dir in $PATH
6000 IFS=$as_save_IFS
6001 test -z "$as_dir" && as_dir=.
6002 for ac_exec_ext in '' $ac_executable_extensions; do
6003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6004 ac_cv_prog_ICOTOOL="$ac_prog"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006 break 2
6008 done
6009 done
6010 IFS=$as_save_IFS
6014 ICOTOOL=$ac_cv_prog_ICOTOOL
6015 if test -n "$ICOTOOL"; then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6017 $as_echo "$ICOTOOL" >&6; }
6018 else
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6020 $as_echo "no" >&6; }
6024 test -n "$ICOTOOL" && break
6025 done
6026 test -n "$ICOTOOL" || ICOTOOL="false"
6028 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6029 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6031 if test "$CONVERT" = false
6032 then
6033 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6034 else
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6036 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6037 convert_version=`convert --version | head -n1`
6038 if test "x$convert_version" != "x"
6039 then
6040 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6041 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6042 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6043 then
6044 CONVERT=false
6047 if test "$CONVERT" = false
6048 then
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6050 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6051 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6052 else
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6054 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6058 if test "$ICOTOOL" = false
6059 then
6060 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6061 else
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6063 $as_echo_n "checking for recent enough icotool... " >&6; }
6064 icotool_version=`icotool --version | head -n1`
6065 if test "x$icotool_version" != "x"
6066 then
6067 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6068 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6069 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6070 then
6071 ICOTOOL=false
6072 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6075 if test "$ICOTOOL" = false
6076 then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6078 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6079 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6080 else
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6082 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6086 with_gettext=yes
6087 with_gettextpo=yes
6088 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6091 test "x$with_gettext" != xno || MSGFMT=false
6092 if test "$MSGFMT" != "false"
6093 then
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6095 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6096 cat >conftest.po <<EOF
6097 # comment
6098 msgctxt "ctxt"
6099 msgid "id"
6100 msgstr "str"
6102 if $MSGFMT -o /dev/null conftest.po 2>&5
6103 then
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6105 $as_echo "yes" >&6; }
6106 else
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6108 $as_echo "no" >&6; }
6109 MSGFMT=false
6112 if test "$MSGFMT" = false; then :
6113 case "x$with_gettext" in
6114 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6115 xno) ;;
6116 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6117 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6118 esac
6119 enable_po=${enable_po:-no}
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6124 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6125 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6126 $as_echo_n "(cached) " >&6
6127 else
6128 ac_check_lib_save_LIBS=$LIBS
6129 LIBS="-li386 $LIBS"
6130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6131 /* end confdefs.h. */
6133 /* Override any GCC internal prototype to avoid an error.
6134 Use char because int might match the return type of a GCC
6135 builtin and then its argument prototype would still apply. */
6136 #ifdef __cplusplus
6137 extern "C"
6138 #endif
6139 char i386_set_ldt ();
6141 main ()
6143 return i386_set_ldt ();
6145 return 0;
6147 _ACEOF
6148 if ac_fn_c_try_link "$LINENO"; then :
6149 ac_cv_lib_i386_i386_set_ldt=yes
6150 else
6151 ac_cv_lib_i386_i386_set_ldt=no
6153 rm -f core conftest.err conftest.$ac_objext \
6154 conftest$ac_exeext conftest.$ac_ext
6155 LIBS=$ac_check_lib_save_LIBS
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6158 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6159 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6160 cat >>confdefs.h <<_ACEOF
6161 #define HAVE_LIBI386 1
6162 _ACEOF
6164 LIBS="-li386 $LIBS"
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6169 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6170 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6171 $as_echo_n "(cached) " >&6
6172 else
6173 ac_check_lib_save_LIBS=$LIBS
6174 LIBS="-lossaudio $LIBS"
6175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6176 /* end confdefs.h. */
6178 /* Override any GCC internal prototype to avoid an error.
6179 Use char because int might match the return type of a GCC
6180 builtin and then its argument prototype would still apply. */
6181 #ifdef __cplusplus
6182 extern "C"
6183 #endif
6184 char _oss_ioctl ();
6186 main ()
6188 return _oss_ioctl ();
6190 return 0;
6192 _ACEOF
6193 if ac_fn_c_try_link "$LINENO"; then :
6194 ac_cv_lib_ossaudio__oss_ioctl=yes
6195 else
6196 ac_cv_lib_ossaudio__oss_ioctl=no
6198 rm -f core conftest.err conftest.$ac_objext \
6199 conftest$ac_exeext conftest.$ac_ext
6200 LIBS=$ac_check_lib_save_LIBS
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6203 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6204 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6205 cat >>confdefs.h <<_ACEOF
6206 #define HAVE_LIBOSSAUDIO 1
6207 _ACEOF
6209 LIBS="-lossaudio $LIBS"
6214 OPENGL_LIBS=""
6218 # Check whether --enable-largefile was given.
6219 if test "${enable_largefile+set}" = set; then :
6220 enableval=$enable_largefile;
6223 if test "$enable_largefile" != no; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6226 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6227 if ${ac_cv_sys_largefile_CC+:} false; then :
6228 $as_echo_n "(cached) " >&6
6229 else
6230 ac_cv_sys_largefile_CC=no
6231 if test "$GCC" != yes; then
6232 ac_save_CC=$CC
6233 while :; do
6234 # IRIX 6.2 and later do not support large files by default,
6235 # so use the C compiler's -n32 option if that helps.
6236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6237 /* end confdefs.h. */
6238 #include <sys/types.h>
6239 /* Check that off_t can represent 2**63 - 1 correctly.
6240 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6241 since some C++ compilers masquerading as C compilers
6242 incorrectly reject 9223372036854775807. */
6243 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6244 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6245 && LARGE_OFF_T % 2147483647 == 1)
6246 ? 1 : -1];
6248 main ()
6252 return 0;
6254 _ACEOF
6255 if ac_fn_c_try_compile "$LINENO"; then :
6256 break
6258 rm -f core conftest.err conftest.$ac_objext
6259 CC="$CC -n32"
6260 if ac_fn_c_try_compile "$LINENO"; then :
6261 ac_cv_sys_largefile_CC=' -n32'; break
6263 rm -f core conftest.err conftest.$ac_objext
6264 break
6265 done
6266 CC=$ac_save_CC
6267 rm -f conftest.$ac_ext
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6271 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6272 if test "$ac_cv_sys_largefile_CC" != no; then
6273 CC=$CC$ac_cv_sys_largefile_CC
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6277 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6278 if ${ac_cv_sys_file_offset_bits+:} false; then :
6279 $as_echo_n "(cached) " >&6
6280 else
6281 while :; do
6282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6284 #include <sys/types.h>
6285 /* Check that off_t can represent 2**63 - 1 correctly.
6286 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6287 since some C++ compilers masquerading as C compilers
6288 incorrectly reject 9223372036854775807. */
6289 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6290 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6291 && LARGE_OFF_T % 2147483647 == 1)
6292 ? 1 : -1];
6294 main ()
6298 return 0;
6300 _ACEOF
6301 if ac_fn_c_try_compile "$LINENO"; then :
6302 ac_cv_sys_file_offset_bits=no; break
6304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6306 /* end confdefs.h. */
6307 #define _FILE_OFFSET_BITS 64
6308 #include <sys/types.h>
6309 /* Check that off_t can represent 2**63 - 1 correctly.
6310 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6311 since some C++ compilers masquerading as C compilers
6312 incorrectly reject 9223372036854775807. */
6313 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6314 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6315 && LARGE_OFF_T % 2147483647 == 1)
6316 ? 1 : -1];
6318 main ()
6322 return 0;
6324 _ACEOF
6325 if ac_fn_c_try_compile "$LINENO"; then :
6326 ac_cv_sys_file_offset_bits=64; break
6328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6329 ac_cv_sys_file_offset_bits=unknown
6330 break
6331 done
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6334 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6335 case $ac_cv_sys_file_offset_bits in #(
6336 no | unknown) ;;
6338 cat >>confdefs.h <<_ACEOF
6339 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6340 _ACEOF
6342 esac
6343 rm -rf conftest*
6344 if test $ac_cv_sys_file_offset_bits = unknown; then
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6346 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6347 if ${ac_cv_sys_large_files+:} false; then :
6348 $as_echo_n "(cached) " >&6
6349 else
6350 while :; do
6351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h. */
6353 #include <sys/types.h>
6354 /* Check that off_t can represent 2**63 - 1 correctly.
6355 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6356 since some C++ compilers masquerading as C compilers
6357 incorrectly reject 9223372036854775807. */
6358 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6359 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6360 && LARGE_OFF_T % 2147483647 == 1)
6361 ? 1 : -1];
6363 main ()
6367 return 0;
6369 _ACEOF
6370 if ac_fn_c_try_compile "$LINENO"; then :
6371 ac_cv_sys_large_files=no; break
6373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6376 #define _LARGE_FILES 1
6377 #include <sys/types.h>
6378 /* Check that off_t can represent 2**63 - 1 correctly.
6379 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6380 since some C++ compilers masquerading as C compilers
6381 incorrectly reject 9223372036854775807. */
6382 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6383 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6384 && LARGE_OFF_T % 2147483647 == 1)
6385 ? 1 : -1];
6387 main ()
6391 return 0;
6393 _ACEOF
6394 if ac_fn_c_try_compile "$LINENO"; then :
6395 ac_cv_sys_large_files=1; break
6397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6398 ac_cv_sys_large_files=unknown
6399 break
6400 done
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6403 $as_echo "$ac_cv_sys_large_files" >&6; }
6404 case $ac_cv_sys_large_files in #(
6405 no | unknown) ;;
6407 cat >>confdefs.h <<_ACEOF
6408 #define _LARGE_FILES $ac_cv_sys_large_files
6409 _ACEOF
6411 esac
6412 rm -rf conftest*
6419 ac_ext=c
6420 ac_cpp='$CPP $CPPFLAGS'
6421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6425 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6426 # On Suns, sometimes $CPP names a directory.
6427 if test -n "$CPP" && test -d "$CPP"; then
6428 CPP=
6430 if test -z "$CPP"; then
6431 if ${ac_cv_prog_CPP+:} false; then :
6432 $as_echo_n "(cached) " >&6
6433 else
6434 # Double quotes because CPP needs to be expanded
6435 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6437 ac_preproc_ok=false
6438 for ac_c_preproc_warn_flag in '' yes
6440 # Use a header file that comes with gcc, so configuring glibc
6441 # with a fresh cross-compiler works.
6442 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6443 # <limits.h> exists even on freestanding compilers.
6444 # On the NeXT, cc -E runs the code through the compiler's parser,
6445 # not just through cpp. "Syntax error" is here to catch this case.
6446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6447 /* end confdefs.h. */
6448 #ifdef __STDC__
6449 # include <limits.h>
6450 #else
6451 # include <assert.h>
6452 #endif
6453 Syntax error
6454 _ACEOF
6455 if ac_fn_c_try_cpp "$LINENO"; then :
6457 else
6458 # Broken: fails on valid input.
6459 continue
6461 rm -f conftest.err conftest.i conftest.$ac_ext
6463 # OK, works on sane cases. Now check whether nonexistent headers
6464 # can be detected and how.
6465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6466 /* end confdefs.h. */
6467 #include <ac_nonexistent.h>
6468 _ACEOF
6469 if ac_fn_c_try_cpp "$LINENO"; then :
6470 # Broken: success on invalid input.
6471 continue
6472 else
6473 # Passes both tests.
6474 ac_preproc_ok=:
6475 break
6477 rm -f conftest.err conftest.i conftest.$ac_ext
6479 done
6480 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6481 rm -f conftest.i conftest.err conftest.$ac_ext
6482 if $ac_preproc_ok; then :
6483 break
6486 done
6487 ac_cv_prog_CPP=$CPP
6490 CPP=$ac_cv_prog_CPP
6491 else
6492 ac_cv_prog_CPP=$CPP
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6495 $as_echo "$CPP" >&6; }
6496 ac_preproc_ok=false
6497 for ac_c_preproc_warn_flag in '' yes
6499 # Use a header file that comes with gcc, so configuring glibc
6500 # with a fresh cross-compiler works.
6501 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6502 # <limits.h> exists even on freestanding compilers.
6503 # On the NeXT, cc -E runs the code through the compiler's parser,
6504 # not just through cpp. "Syntax error" is here to catch this case.
6505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6506 /* end confdefs.h. */
6507 #ifdef __STDC__
6508 # include <limits.h>
6509 #else
6510 # include <assert.h>
6511 #endif
6512 Syntax error
6513 _ACEOF
6514 if ac_fn_c_try_cpp "$LINENO"; then :
6516 else
6517 # Broken: fails on valid input.
6518 continue
6520 rm -f conftest.err conftest.i conftest.$ac_ext
6522 # OK, works on sane cases. Now check whether nonexistent headers
6523 # can be detected and how.
6524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6525 /* end confdefs.h. */
6526 #include <ac_nonexistent.h>
6527 _ACEOF
6528 if ac_fn_c_try_cpp "$LINENO"; then :
6529 # Broken: success on invalid input.
6530 continue
6531 else
6532 # Passes both tests.
6533 ac_preproc_ok=:
6534 break
6536 rm -f conftest.err conftest.i conftest.$ac_ext
6538 done
6539 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6540 rm -f conftest.i conftest.err conftest.$ac_ext
6541 if $ac_preproc_ok; then :
6543 else
6544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6546 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6547 See \`config.log' for more details" "$LINENO" 5; }
6550 ac_ext=c
6551 ac_cpp='$CPP $CPPFLAGS'
6552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6558 $as_echo_n "checking for ANSI C header files... " >&6; }
6559 if ${ac_cv_header_stdc+:} false; then :
6560 $as_echo_n "(cached) " >&6
6561 else
6562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6563 /* end confdefs.h. */
6564 #include <stdlib.h>
6565 #include <stdarg.h>
6566 #include <string.h>
6567 #include <float.h>
6570 main ()
6574 return 0;
6576 _ACEOF
6577 if ac_fn_c_try_compile "$LINENO"; then :
6578 ac_cv_header_stdc=yes
6579 else
6580 ac_cv_header_stdc=no
6582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6584 if test $ac_cv_header_stdc = yes; then
6585 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6587 /* end confdefs.h. */
6588 #include <string.h>
6590 _ACEOF
6591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6592 $EGREP "memchr" >/dev/null 2>&1; then :
6594 else
6595 ac_cv_header_stdc=no
6597 rm -f conftest*
6601 if test $ac_cv_header_stdc = yes; then
6602 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6604 /* end confdefs.h. */
6605 #include <stdlib.h>
6607 _ACEOF
6608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6609 $EGREP "free" >/dev/null 2>&1; then :
6611 else
6612 ac_cv_header_stdc=no
6614 rm -f conftest*
6618 if test $ac_cv_header_stdc = yes; then
6619 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6620 if test "$cross_compiling" = yes; then :
6622 else
6623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6624 /* end confdefs.h. */
6625 #include <ctype.h>
6626 #include <stdlib.h>
6627 #if ((' ' & 0x0FF) == 0x020)
6628 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6629 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6630 #else
6631 # define ISLOWER(c) \
6632 (('a' <= (c) && (c) <= 'i') \
6633 || ('j' <= (c) && (c) <= 'r') \
6634 || ('s' <= (c) && (c) <= 'z'))
6635 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6636 #endif
6638 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6640 main ()
6642 int i;
6643 for (i = 0; i < 256; i++)
6644 if (XOR (islower (i), ISLOWER (i))
6645 || toupper (i) != TOUPPER (i))
6646 return 2;
6647 return 0;
6649 _ACEOF
6650 if ac_fn_c_try_run "$LINENO"; then :
6652 else
6653 ac_cv_header_stdc=no
6655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6656 conftest.$ac_objext conftest.beam conftest.$ac_ext
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6662 $as_echo "$ac_cv_header_stdc" >&6; }
6663 if test $ac_cv_header_stdc = yes; then
6665 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6669 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6670 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6671 inttypes.h stdint.h unistd.h
6672 do :
6673 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6674 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6676 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6677 cat >>confdefs.h <<_ACEOF
6678 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6679 _ACEOF
6683 done
6686 for ac_header in \
6687 AL/al.h \
6688 ApplicationServices/ApplicationServices.h \
6689 AudioToolbox/AudioConverter.h \
6690 AudioUnit/AudioUnit.h \
6691 AudioUnit/AudioComponent.h \
6692 CL/cl.h \
6693 Carbon/Carbon.h \
6694 CommonCrypto/CommonDigest.h \
6695 CoreAudio/CoreAudio.h \
6696 CoreServices/CoreServices.h \
6697 DiskArbitration/DiskArbitration.h \
6698 IOKit/IOKitLib.h \
6699 IOKit/hid/IOHIDLib.h \
6700 OpenAL/al.h \
6701 OpenCL/opencl.h \
6702 QuickTime/ImageCompression.h \
6703 Security/Security.h \
6704 alias.h \
6705 alsa/asoundlib.h \
6706 arpa/inet.h \
6707 arpa/nameser.h \
6708 asm/types.h \
6709 asm/user.h \
6710 curses.h \
6711 direct.h \
6712 dirent.h \
6713 dlfcn.h \
6714 elf.h \
6715 float.h \
6716 fnmatch.h \
6717 getopt.h \
6718 gettext-po.h \
6719 grp.h \
6720 gsm.h \
6721 gsm/gsm.h \
6722 ieeefp.h \
6723 inet/mib2.h \
6724 io.h \
6725 kstat.h \
6726 lber.h \
6727 ldap.h \
6728 libproc.h \
6729 link.h \
6730 linux/cdrom.h \
6731 linux/compiler.h \
6732 linux/filter.h \
6733 linux/hdreg.h \
6734 linux/input.h \
6735 linux/ioctl.h \
6736 linux/joystick.h \
6737 linux/major.h \
6738 linux/param.h \
6739 linux/serial.h \
6740 linux/types.h \
6741 linux/ucdrom.h \
6742 lwp.h \
6743 mach-o/nlist.h \
6744 mach-o/loader.h \
6745 mach/mach.h \
6746 mach/machine.h \
6747 machine/cpu.h \
6748 machine/limits.h \
6749 machine/sysarch.h \
6750 mntent.h \
6751 ncurses.h \
6752 netdb.h \
6753 netinet/in.h \
6754 netinet/in_systm.h \
6755 netinet/tcp.h \
6756 netinet/tcp_fsm.h \
6757 pcap/pcap.h \
6758 poll.h \
6759 port.h \
6760 process.h \
6761 pthread.h \
6762 pwd.h \
6763 sched.h \
6764 scsi/scsi.h \
6765 scsi/scsi_ioctl.h \
6766 scsi/sg.h \
6767 stdbool.h \
6768 stdint.h \
6769 stropts.h \
6770 sys/asoundlib.h \
6771 sys/attr.h \
6772 sys/cdio.h \
6773 sys/elf32.h \
6774 sys/epoll.h \
6775 sys/event.h \
6776 sys/exec_elf.h \
6777 sys/filio.h \
6778 sys/inotify.h \
6779 sys/ioctl.h \
6780 sys/ipc.h \
6781 sys/limits.h \
6782 sys/link.h \
6783 sys/mman.h \
6784 sys/modem.h \
6785 sys/msg.h \
6786 sys/mtio.h \
6787 sys/param.h \
6788 sys/poll.h \
6789 sys/prctl.h \
6790 sys/protosw.h \
6791 sys/ptrace.h \
6792 sys/queue.h \
6793 sys/resource.h \
6794 sys/scsiio.h \
6795 sys/shm.h \
6796 sys/signal.h \
6797 sys/socket.h \
6798 sys/socketvar.h \
6799 sys/sockio.h \
6800 sys/statvfs.h \
6801 sys/strtio.h \
6802 sys/syscall.h \
6803 sys/tihdr.h \
6804 sys/time.h \
6805 sys/timeout.h \
6806 sys/times.h \
6807 sys/uio.h \
6808 sys/user.h \
6809 sys/utsname.h \
6810 sys/vm86.h \
6811 sys/vnode.h \
6812 sys/wait.h \
6813 syscall.h \
6814 termios.h \
6815 unistd.h \
6816 utime.h \
6817 valgrind/memcheck.h \
6818 valgrind/valgrind.h \
6819 zlib.h
6821 do :
6822 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6823 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6824 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6825 cat >>confdefs.h <<_ACEOF
6826 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6827 _ACEOF
6831 done
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6834 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6835 if ${ac_cv_header_stat_broken+:} false; then :
6836 $as_echo_n "(cached) " >&6
6837 else
6838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839 /* end confdefs.h. */
6840 #include <sys/types.h>
6841 #include <sys/stat.h>
6843 #if defined S_ISBLK && defined S_IFDIR
6844 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6845 #endif
6847 #if defined S_ISBLK && defined S_IFCHR
6848 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6849 #endif
6851 #if defined S_ISLNK && defined S_IFREG
6852 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6853 #endif
6855 #if defined S_ISSOCK && defined S_IFREG
6856 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6857 #endif
6859 _ACEOF
6860 if ac_fn_c_try_compile "$LINENO"; then :
6861 ac_cv_header_stat_broken=no
6862 else
6863 ac_cv_header_stat_broken=yes
6865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6868 $as_echo "$ac_cv_header_stat_broken" >&6; }
6869 if test $ac_cv_header_stat_broken = yes; then
6871 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6877 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6878 do :
6879 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6880 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6881 #ifdef HAVE_SYS_PARAM_H
6882 # include <sys/param.h>
6883 #endif
6885 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6886 cat >>confdefs.h <<_ACEOF
6887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6888 _ACEOF
6892 done
6895 for ac_header in \
6896 netinet/ip.h \
6897 net/if.h \
6898 net/if_arp.h \
6899 net/if_dl.h \
6900 net/if_types.h \
6901 net/route.h \
6902 netinet/if_ether.h \
6903 netinet/if_inarp.h \
6904 netinet/in_pcb.h \
6905 netinet/ip_icmp.h \
6906 netinet/ip_var.h \
6907 netinet/udp.h \
6908 netipx/ipx.h \
6909 sys/un.h \
6911 do :
6912 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6913 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6914 #ifdef HAVE_SYS_SOCKET_H
6915 # include <sys/socket.h>
6916 #endif
6917 #ifdef HAVE_SYS_SOCKETVAR_H
6918 # include <sys/socketvar.h>
6919 #endif
6920 #ifdef HAVE_NET_ROUTE_H
6921 # include <net/route.h>
6922 #endif
6923 #ifdef HAVE_NETINET_IN_H
6924 # include <netinet/in.h>
6925 #endif
6926 #ifdef HAVE_NETINET_IN_SYSTM_H
6927 # include <netinet/in_systm.h>
6928 #endif
6929 #ifdef HAVE_NET_IF_H
6930 # include <net/if.h>
6931 #endif
6932 #ifdef HAVE_NETINET_IP_H
6933 # include <netinet/ip.h>
6934 #endif
6936 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6937 cat >>confdefs.h <<_ACEOF
6938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6939 _ACEOF
6943 done
6946 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6947 do :
6948 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6949 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6950 #ifdef HAVE_ALIAS_H
6951 # include <alias.h>
6952 #endif
6953 #ifdef HAVE_SYS_SOCKET_H
6954 # include <sys/socket.h>
6955 #endif
6956 #ifdef HAVE_SYS_SOCKETVAR_H
6957 # include <sys/socketvar.h>
6958 #endif
6959 #ifdef HAVE_SYS_TIMEOUT_H
6960 # include <sys/timeout.h>
6961 #endif
6962 #ifdef HAVE_NETINET_IN_H
6963 # include <netinet/in.h>
6964 #endif
6965 #ifdef HAVE_NETINET_IN_SYSTM_H
6966 # include <netinet/in_systm.h>
6967 #endif
6968 #ifdef HAVE_NETINET_IP_H
6969 # include <netinet/ip.h>
6970 #endif
6971 #ifdef HAVE_NETINET_IP_VAR_H
6972 # include <netinet/ip_var.h>
6973 #endif
6974 #ifdef HAVE_NETINET_IP_ICMP_H
6975 # include <netinet/ip_icmp.h>
6976 #endif
6977 #ifdef HAVE_NETINET_UDP_H
6978 # include <netinet/udp.h>
6979 #endif
6980 #ifdef HAVE_NETINET_TCP_H
6981 # include <netinet/tcp.h>
6982 #endif
6983 #ifdef HAVE_NETINET_TCP_TIMER_H
6984 #include <netinet/tcp_timer.h>
6985 #endif
6987 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6988 cat >>confdefs.h <<_ACEOF
6989 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6990 _ACEOF
6994 done
6997 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6998 do :
6999 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7000 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7001 #ifdef HAVE_ASM_TYPES_H
7002 # include <asm/types.h>
7003 #endif
7004 #ifdef HAVE_SYS_SOCKET_H
7005 # include <sys/socket.h>
7006 #endif
7007 #ifdef HAVE_LINUX_TYPES_H
7008 # include <linux/types.h>
7009 #endif
7011 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7012 cat >>confdefs.h <<_ACEOF
7013 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7014 _ACEOF
7018 done
7021 for ac_header in mach-o/dyld_images.h
7022 do :
7023 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7024 # include <stdbool.h>
7025 #endif
7026 #ifdef HAVE_STDINT_H
7027 # include <stdint.h>
7028 #endif
7030 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7031 cat >>confdefs.h <<_ACEOF
7032 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7033 _ACEOF
7037 done
7040 for ac_header in resolv.h
7041 do :
7042 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7043 #ifdef HAVE_SYS_SOCKET_H
7044 # include <sys/socket.h>
7045 #endif
7046 #ifdef HAVE_NETINET_IN_H
7047 # include <netinet/in.h>
7048 #endif
7049 #ifdef HAVE_ARPA_NAMESER_H
7050 # include <arpa/nameser.h>
7051 #endif
7053 if test "x$ac_cv_header_resolv_h" = xyes; then :
7054 cat >>confdefs.h <<_ACEOF
7055 #define HAVE_RESOLV_H 1
7056 _ACEOF
7060 done
7063 for ac_header in ifaddrs.h
7064 do :
7065 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7067 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7068 cat >>confdefs.h <<_ACEOF
7069 #define HAVE_IFADDRS_H 1
7070 _ACEOF
7074 done
7077 for ac_header in sys/ucontext.h
7078 do :
7079 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7081 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7082 cat >>confdefs.h <<_ACEOF
7083 #define HAVE_SYS_UCONTEXT_H 1
7084 _ACEOF
7088 done
7091 for ac_header in sys/thr.h
7092 do :
7093 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7094 #ifdef HAVE_SYS_UCONTEXT_H
7095 #include <sys/ucontext.h>
7096 #endif
7098 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7099 cat >>confdefs.h <<_ACEOF
7100 #define HAVE_SYS_THR_H 1
7101 _ACEOF
7105 done
7108 for ac_header in pthread_np.h
7109 do :
7110 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7111 #include <pthread.h>
7112 #endif
7114 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7115 cat >>confdefs.h <<_ACEOF
7116 #define HAVE_PTHREAD_NP_H 1
7117 _ACEOF
7121 done
7124 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7125 do :
7126 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7127 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7128 #include <sys/time.h>
7129 #endif
7130 #include <sys/types.h>
7131 #ifdef HAVE_ASM_TYPES_H
7132 #include <asm/types.h>
7133 #endif
7135 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7136 cat >>confdefs.h <<_ACEOF
7137 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7138 _ACEOF
7142 done
7145 for ac_header in libprocstat.h
7146 do :
7147 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7148 #include <sys/param.h>
7149 #endif
7150 #ifdef HAVE_SYS_QUEUE_H
7151 #include <sys/queue.h>
7152 #endif
7153 #ifdef HAVE_SYS_SOCKET_H
7154 #include <sys/socket.h>
7155 #endif
7157 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7158 cat >>confdefs.h <<_ACEOF
7159 #define HAVE_LIBPROCSTAT_H 1
7160 _ACEOF
7164 done
7168 dlldir="\${libdir}/wine"
7170 DLLFLAGS="-D_REENTRANT"
7172 LDRPATH_INSTALL=""
7174 LDRPATH_LOCAL=""
7176 LDEXECFLAGS=""
7178 LIBEXT="so"
7179 DLLEXT=".so"
7180 IMPLIBEXT="def"
7181 STATIC_IMPLIBEXT="def.a"
7182 # Extract the first word of "ldd", so it can be a program name with args.
7183 set dummy ldd; ac_word=$2
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7185 $as_echo_n "checking for $ac_word... " >&6; }
7186 if ${ac_cv_path_LDD+:} false; then :
7187 $as_echo_n "(cached) " >&6
7188 else
7189 case $LDD in
7190 [\\/]* | ?:[\\/]*)
7191 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 as_dummy="/sbin:/usr/sbin:$PATH"
7196 for as_dir in $as_dummy
7198 IFS=$as_save_IFS
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204 break 2
7206 done
7207 done
7208 IFS=$as_save_IFS
7210 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7212 esac
7214 LDD=$ac_cv_path_LDD
7215 if test -n "$LDD"; then
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7217 $as_echo "$LDD" >&6; }
7218 else
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7220 $as_echo "no" >&6; }
7224 if test -n "$ac_tool_prefix"; then
7225 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7226 set dummy ${ac_tool_prefix}otool; ac_word=$2
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7228 $as_echo_n "checking for $ac_word... " >&6; }
7229 if ${ac_cv_prog_OTOOL+:} false; then :
7230 $as_echo_n "(cached) " >&6
7231 else
7232 if test -n "$OTOOL"; then
7233 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7234 else
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7236 for as_dir in $PATH
7238 IFS=$as_save_IFS
7239 test -z "$as_dir" && as_dir=.
7240 for ac_exec_ext in '' $ac_executable_extensions; do
7241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7242 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7244 break 2
7246 done
7247 done
7248 IFS=$as_save_IFS
7252 OTOOL=$ac_cv_prog_OTOOL
7253 if test -n "$OTOOL"; then
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7255 $as_echo "$OTOOL" >&6; }
7256 else
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7258 $as_echo "no" >&6; }
7263 if test -z "$ac_cv_prog_OTOOL"; then
7264 ac_ct_OTOOL=$OTOOL
7265 # Extract the first word of "otool", so it can be a program name with args.
7266 set dummy otool; ac_word=$2
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268 $as_echo_n "checking for $ac_word... " >&6; }
7269 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7270 $as_echo_n "(cached) " >&6
7271 else
7272 if test -n "$ac_ct_OTOOL"; then
7273 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7274 else
7275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7276 for as_dir in $PATH
7278 IFS=$as_save_IFS
7279 test -z "$as_dir" && as_dir=.
7280 for ac_exec_ext in '' $ac_executable_extensions; do
7281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7282 ac_cv_prog_ac_ct_OTOOL="otool"
7283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7284 break 2
7286 done
7287 done
7288 IFS=$as_save_IFS
7292 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7293 if test -n "$ac_ct_OTOOL"; then
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7295 $as_echo "$ac_ct_OTOOL" >&6; }
7296 else
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298 $as_echo "no" >&6; }
7301 if test "x$ac_ct_OTOOL" = x; then
7302 OTOOL="otool"
7303 else
7304 case $cross_compiling:$ac_tool_warned in
7305 yes:)
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7308 ac_tool_warned=yes ;;
7309 esac
7310 OTOOL=$ac_ct_OTOOL
7312 else
7313 OTOOL="$ac_cv_prog_OTOOL"
7316 if test -n "$ac_tool_prefix"; then
7317 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7318 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 $as_echo_n "checking for $ac_word... " >&6; }
7321 if ${ac_cv_prog_READELF+:} false; then :
7322 $as_echo_n "(cached) " >&6
7323 else
7324 if test -n "$READELF"; then
7325 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7326 else
7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328 for as_dir in $PATH
7330 IFS=$as_save_IFS
7331 test -z "$as_dir" && as_dir=.
7332 for ac_exec_ext in '' $ac_executable_extensions; do
7333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7334 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 break 2
7338 done
7339 done
7340 IFS=$as_save_IFS
7344 READELF=$ac_cv_prog_READELF
7345 if test -n "$READELF"; then
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7347 $as_echo "$READELF" >&6; }
7348 else
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7350 $as_echo "no" >&6; }
7355 if test -z "$ac_cv_prog_READELF"; then
7356 ac_ct_READELF=$READELF
7357 # Extract the first word of "readelf", so it can be a program name with args.
7358 set dummy readelf; ac_word=$2
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360 $as_echo_n "checking for $ac_word... " >&6; }
7361 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7362 $as_echo_n "(cached) " >&6
7363 else
7364 if test -n "$ac_ct_READELF"; then
7365 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7366 else
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368 for as_dir in $PATH
7370 IFS=$as_save_IFS
7371 test -z "$as_dir" && as_dir=.
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7374 ac_cv_prog_ac_ct_READELF="readelf"
7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7376 break 2
7378 done
7379 done
7380 IFS=$as_save_IFS
7384 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7385 if test -n "$ac_ct_READELF"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7387 $as_echo "$ac_ct_READELF" >&6; }
7388 else
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7393 if test "x$ac_ct_READELF" = x; then
7394 READELF="true"
7395 else
7396 case $cross_compiling:$ac_tool_warned in
7397 yes:)
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7400 ac_tool_warned=yes ;;
7401 esac
7402 READELF=$ac_ct_READELF
7404 else
7405 READELF="$ac_cv_prog_READELF"
7408 wine_rules_file=conf$$rules.make
7409 rm -f $wine_rules_file
7410 SUBDIRS=""
7412 DISABLED_SUBDIRS=""
7414 CONFIGURE_TARGETS=""
7416 ALL_TEST_RESOURCES=""
7419 wine_fn_append_file ()
7421 as_fn_append $1 " \\$as_nl $2"
7424 wine_fn_append_rule ()
7426 $as_echo "$1" >>$wine_rules_file
7429 wine_fn_has_flag ()
7431 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7434 wine_fn_all_rules ()
7436 wine_fn_append_file SUBDIRS $ac_dir
7437 wine_fn_append_rule \
7438 "all: $ac_dir
7439 .PHONY: $ac_dir
7440 $ac_dir: dummy
7441 @cd $ac_dir && \$(MAKE)"
7444 wine_fn_install_rules ()
7446 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7448 wine_fn_append_rule \
7449 ".PHONY: $ac_dir/install $ac_dir/uninstall
7450 $ac_dir/install:: $ac_dir
7451 @cd $ac_dir && \$(MAKE) install
7452 $ac_dir/uninstall::
7453 @cd $ac_dir && \$(MAKE) uninstall
7454 install:: $ac_dir/install
7455 __uninstall__: $ac_dir/uninstall"
7457 if wine_fn_has_flag install-lib
7458 then
7459 wine_fn_append_rule \
7460 ".PHONY: $ac_dir/install-lib
7461 $ac_dir/install-lib:: $ac_dir
7462 @cd $ac_dir && \$(MAKE) install-lib
7463 install-lib:: $ac_dir/install-lib"
7466 if wine_fn_has_flag install-dev
7467 then
7468 wine_fn_append_rule \
7469 ".PHONY: $ac_dir/install-dev
7470 $ac_dir/install-dev:: $ac_dir
7471 @cd $ac_dir && \$(MAKE) install-dev
7472 install-dev:: $ac_dir/install-dev"
7476 wine_fn_clean_rules ()
7478 ac_clean=$@
7480 if wine_fn_has_flag clean
7481 then
7482 wine_fn_append_rule \
7483 "$ac_dir/clean: dummy
7484 @cd $ac_dir && \$(MAKE) clean"
7485 else
7486 wine_fn_append_rule \
7487 "$ac_dir/clean: dummy
7488 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7490 wine_fn_append_rule \
7491 "__clean__: $ac_dir/clean
7492 .PHONY: $ac_dir/clean"
7495 wine_fn_disabled_rules ()
7497 ac_clean=$@
7499 wine_fn_append_file SUBDIRS $ac_dir
7500 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7501 wine_fn_append_rule \
7502 "__clean__: $ac_dir/clean
7503 .PHONY: $ac_dir/clean
7504 $ac_dir/clean: dummy
7505 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7508 wine_fn_config_makefile ()
7510 ac_dir=$1
7511 ac_enable=$2
7512 ac_flags=$3
7514 case $ac_dir in
7515 fonts|server) test -z "$with_wine64" || return ;;
7516 esac
7517 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7518 wine_fn_disabled_rules; return
7520 wine_fn_all_rules
7521 wine_fn_install_rules
7522 wine_fn_clean_rules
7525 wine_fn_config_lib ()
7527 ac_name=$1
7528 ac_flags=$2
7529 ac_dir=dlls/$ac_name
7530 ac_deps="include"
7532 if test "x$enable_tools" = xno; then :
7534 else
7535 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7537 wine_fn_all_rules
7538 wine_fn_clean_rules
7540 wine_fn_append_rule \
7541 ".PHONY: $ac_dir/install $ac_dir/uninstall
7542 $ac_dir/install:: $ac_dir
7543 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7544 $ac_dir/uninstall::
7545 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7546 install install-dev:: $ac_dir/install
7547 __uninstall__: $ac_dir/uninstall
7548 __builddeps__: $ac_dir
7549 $ac_dir: $ac_deps"
7552 wine_fn_config_dll ()
7554 ac_name=$1
7555 ac_dir=dlls/$ac_name
7556 ac_enable=$2
7557 ac_flags=$3
7558 ac_implib=${4:-$ac_name}
7559 ac_file=$ac_dir/lib$ac_implib
7560 ac_dll=$ac_name
7561 ac_deps="include"
7562 ac_implibflags=""
7564 if test "x$enable_tools" = xno; then :
7566 else
7567 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7569 case $ac_name in
7570 *16) ac_implibflags=" -m16" ;;
7571 *.*) ;;
7572 *) ac_dll=$ac_dll.dll ;;
7573 esac
7575 ac_clean=
7576 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7577 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7579 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7580 if test "$ac_enable" != enable_win16
7581 then
7582 wine_fn_clean_rules $ac_clean
7583 wine_fn_append_file SUBDIRS $ac_dir
7584 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7585 else
7586 wine_fn_disabled_rules $ac_clean
7587 return
7589 else
7590 wine_fn_all_rules
7591 wine_fn_clean_rules $ac_clean
7592 wine_fn_append_rule \
7593 "$ac_dir: __builddeps__
7594 manpages htmlpages sgmlpages xmlpages::
7595 @cd $ac_dir && \$(MAKE) \$@
7596 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7597 install install-lib:: $ac_dir/install-lib
7598 __uninstall__: $ac_dir/uninstall"
7599 if test -n "$DLLEXT"
7600 then
7601 wine_fn_append_rule \
7602 "$ac_dir/install-lib:: $ac_dir
7603 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7604 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7605 $ac_dir/uninstall::
7606 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7607 else
7608 wine_fn_append_rule \
7609 "$ac_dir/install-lib:: $ac_dir
7610 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7611 $ac_dir/uninstall::
7612 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7616 if wine_fn_has_flag staticimplib
7617 then
7618 wine_fn_append_rule \
7619 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7620 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7621 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7622 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7623 $ac_file.$STATIC_IMPLIBEXT: dummy
7624 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7625 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7626 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7627 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7628 $ac_dir/uninstall::
7629 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7630 install install-dev:: $ac_dir/install-dev
7631 __uninstall__: $ac_dir/uninstall"
7633 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7634 then
7635 wine_fn_append_rule \
7636 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7637 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7638 $ac_dir/uninstall::
7639 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7642 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7643 then
7644 wine_fn_append_rule \
7645 "__builddeps__: $ac_file.cross.a
7646 $ac_file.cross.a: dummy
7647 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7650 elif wine_fn_has_flag implib
7651 then
7652 wine_fn_append_rule \
7653 "__builddeps__: $ac_file.$IMPLIBEXT
7654 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7655 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7656 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7657 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7658 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7659 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7660 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7661 $ac_dir/uninstall::
7662 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7663 install install-dev:: $ac_dir/install-dev
7664 __uninstall__: $ac_dir/uninstall"
7665 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7666 then
7667 wine_fn_append_rule \
7668 "__builddeps__: $ac_file.cross.a
7669 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7670 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7675 wine_fn_config_program ()
7677 ac_name=$1
7678 ac_dir=programs/$ac_name
7679 ac_enable=$2
7680 ac_flags=$3
7681 ac_program=$ac_name
7683 case $ac_name in
7684 *.*) ;;
7685 *) ac_program=$ac_program.exe ;;
7686 esac
7688 ac_clean=
7689 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7690 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7692 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7693 wine_fn_disabled_rules $ac_clean; return
7696 wine_fn_all_rules
7697 wine_fn_clean_rules $ac_clean
7698 wine_fn_append_rule "$ac_dir: __builddeps__"
7700 wine_fn_has_flag install || return
7701 wine_fn_append_rule \
7702 ".PHONY: $ac_dir/install $ac_dir/uninstall
7703 install install-lib:: $ac_dir/install
7704 __uninstall__: $ac_dir/uninstall"
7706 if test -n "$DLLEXT"
7707 then
7708 wine_fn_append_rule \
7709 "$ac_dir/install:: $ac_dir
7710 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7711 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7712 $ac_dir/uninstall::
7713 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7715 if test -z "$with_wine64" && wine_fn_has_flag installbin
7716 then
7717 wine_fn_append_rule \
7718 "$ac_dir/install:: __tooldeps__
7719 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7720 $ac_dir/uninstall::
7721 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7723 else
7724 wine_fn_append_rule \
7725 "$ac_dir/install:: $ac_dir
7726 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7727 $ac_dir/uninstall::
7728 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7731 if test -z "$with_wine64" && wine_fn_has_flag manpage
7732 then
7733 wine_fn_append_rule \
7734 "$ac_dir/install:: $ac_dir
7735 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7736 $ac_dir/uninstall::
7737 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7741 wine_fn_config_test ()
7743 ac_dir=$1
7744 ac_name=$2
7745 ac_flags=$3
7747 ac_clean=
7748 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7749 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7751 if test "x$enable_tests" = xno; then :
7752 wine_fn_disabled_rules $ac_clean; return
7755 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7756 wine_fn_all_rules
7757 wine_fn_clean_rules $ac_clean
7759 wine_fn_append_rule \
7760 "$ac_dir: __builddeps__
7761 programs/winetest: $ac_dir
7762 check test: $ac_dir/test
7763 .PHONY: $ac_dir/test
7764 $ac_dir/test: dummy
7765 @cd $ac_dir && \$(MAKE) test
7766 testclean::
7767 \$(RM) $ac_dir/*.ok"
7769 if test -n "$CROSSTARGET"
7770 then
7771 wine_fn_append_rule \
7772 "crosstest: $ac_dir/crosstest
7773 .PHONY: $ac_dir/crosstest
7774 $ac_dir/crosstest: __builddeps__ dummy
7775 @cd $ac_dir && \$(MAKE) crosstest"
7779 wine_fn_config_tool ()
7781 ac_dir=$1
7782 ac_flags=$2
7783 if test "x$enable_tools" = xno; then :
7784 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7787 wine_fn_all_rules
7788 wine_fn_install_rules
7789 wine_fn_clean_rules
7791 wine_fn_append_rule "__tooldeps__: $ac_dir"
7792 wine_fn_append_rule "$ac_dir: libs/port"
7793 case $ac_dir in
7794 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7795 esac
7798 wine_fn_config_symlink ()
7800 ac_linkdir=
7801 if test "x$1" = "x-d"
7802 then
7803 ac_linkdir=$2
7804 shift; shift
7806 ac_links=$@
7807 wine_fn_append_rule \
7808 "$ac_links:
7809 @./config.status \$@"
7810 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7811 test -n "$ac_linkdir" || return
7812 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7815 wine_binary="wine"
7816 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7817 WINELOADER_PROGRAMS="$wine_binary"
7819 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7821 case $host_os in
7822 cygwin*|mingw32*)
7823 if test -n "$ac_tool_prefix"; then
7824 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7825 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7827 $as_echo_n "checking for $ac_word... " >&6; }
7828 if ${ac_cv_prog_DLLTOOL+:} false; then :
7829 $as_echo_n "(cached) " >&6
7830 else
7831 if test -n "$DLLTOOL"; then
7832 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7833 else
7834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7835 for as_dir in $PATH
7837 IFS=$as_save_IFS
7838 test -z "$as_dir" && as_dir=.
7839 for ac_exec_ext in '' $ac_executable_extensions; do
7840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7841 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7843 break 2
7845 done
7846 done
7847 IFS=$as_save_IFS
7851 DLLTOOL=$ac_cv_prog_DLLTOOL
7852 if test -n "$DLLTOOL"; then
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7854 $as_echo "$DLLTOOL" >&6; }
7855 else
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7857 $as_echo "no" >&6; }
7862 if test -z "$ac_cv_prog_DLLTOOL"; then
7863 ac_ct_DLLTOOL=$DLLTOOL
7864 # Extract the first word of "dlltool", so it can be a program name with args.
7865 set dummy dlltool; ac_word=$2
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7867 $as_echo_n "checking for $ac_word... " >&6; }
7868 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7869 $as_echo_n "(cached) " >&6
7870 else
7871 if test -n "$ac_ct_DLLTOOL"; then
7872 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7873 else
7874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875 for as_dir in $PATH
7877 IFS=$as_save_IFS
7878 test -z "$as_dir" && as_dir=.
7879 for ac_exec_ext in '' $ac_executable_extensions; do
7880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7881 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7883 break 2
7885 done
7886 done
7887 IFS=$as_save_IFS
7891 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7892 if test -n "$ac_ct_DLLTOOL"; then
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7894 $as_echo "$ac_ct_DLLTOOL" >&6; }
7895 else
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7897 $as_echo "no" >&6; }
7900 if test "x$ac_ct_DLLTOOL" = x; then
7901 DLLTOOL="false"
7902 else
7903 case $cross_compiling:$ac_tool_warned in
7904 yes:)
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7907 ac_tool_warned=yes ;;
7908 esac
7909 DLLTOOL=$ac_ct_DLLTOOL
7911 else
7912 DLLTOOL="$ac_cv_prog_DLLTOOL"
7915 LIBEXT="dll"
7916 DLLEXT=""
7917 IMPLIBEXT="a"
7918 STATIC_IMPLIBEXT="a"
7919 enable_iphlpapi=${enable_iphlpapi:-no}
7920 enable_kernel32=${enable_kernel32:-no}
7921 enable_msvcrt=${enable_msvcrt:-no}
7922 enable_ntdll=${enable_ntdll:-no}
7923 enable_ws2_32=${enable_ws2_32:-no}
7924 enable_loader=${enable_loader:-no}
7925 enable_server=${enable_server:-no}
7926 with_x=${with_x:-no}
7927 with_pthread=${with_pthread:-no}
7929 crtlibs=""
7930 case $host_os in
7931 mingw32*)
7932 crtlibs="-lmsvcrt"
7933 SOCKET_LIBS="-lws2_32"
7935 esac
7937 LIBWINE_SHAREDLIB="libwine.dll"
7939 LIBWINE_IMPORTLIB="libwine.a"
7941 LIBWINE_INSTALL_LIB="libwine.dll"
7943 LIBWINE_INSTALL_DEV="libwine.a"
7945 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7947 LIBWINE_DEPENDS="wine.def"
7951 darwin*|macosx*)
7952 for ac_header in libunwind.h
7953 do :
7954 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7956 cat >>confdefs.h <<_ACEOF
7957 #define HAVE_LIBUNWIND_H 1
7958 _ACEOF
7962 done
7964 LIBEXT="dylib"
7965 DLLFLAGS="$DLLFLAGS -fPIC"
7966 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7967 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7968 COREFOUNDATION_LIBS="-framework CoreFoundation"
7970 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7972 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7974 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7976 CORESERVICES_LIBS="-framework CoreServices"
7978 APPKIT_LIBS="-framework AppKit"
7980 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7982 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7983 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7984 $as_echo_n "(cached) " >&6
7985 else
7986 ac_wine_try_cflags_saved=$CFLAGS
7987 CFLAGS="$CFLAGS -Wl,-no_pie"
7988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7989 /* end confdefs.h. */
7990 int main(int argc, char **argv) { return 0; }
7991 _ACEOF
7992 if ac_fn_c_try_link "$LINENO"; then :
7993 ac_cv_cflags__Wl__no_pie=yes
7994 else
7995 ac_cv_cflags__Wl__no_pie=no
7997 rm -f core conftest.err conftest.$ac_objext \
7998 conftest$ac_exeext conftest.$ac_ext
7999 CFLAGS=$ac_wine_try_cflags_saved
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8002 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8003 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8004 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8006 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8007 then
8008 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8011 if test "$ac_cv_header_Security_Security_h" = "yes"
8012 then
8013 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8015 ac_save_LIBS="$LIBS"
8016 LIBS="$LIBS $SECURITY_LIBS"
8017 for ac_func in SSLCopyPeerCertificates
8018 do :
8019 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8020 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8021 cat >>confdefs.h <<_ACEOF
8022 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8023 _ACEOF
8026 done
8028 LIBS="$ac_save_LIBS"
8029 with_gnutls=${with_gnutls:-no}
8031 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8032 then
8033 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8034 then
8035 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8037 else
8038 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8041 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8042 ac_save_LIBS="$LIBS"
8043 LIBS="$LIBS $COREAUDIO_LIBS"
8044 for ac_func in AUGraphAddNode
8045 do :
8046 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8047 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8048 cat >>confdefs.h <<_ACEOF
8049 #define HAVE_AUGRAPHADDNODE 1
8050 _ACEOF
8053 done
8055 LIBS="$ac_save_LIBS"
8057 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8058 then
8059 OPENAL_LIBS="-framework OpenAL"
8062 cat >>confdefs.h <<_ACEOF
8063 #define HAVE_OPENAL 1
8064 _ACEOF
8066 ac_cv_lib_openal=yes
8068 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8069 then
8070 OPENCL_LIBS="-framework OpenCL"
8072 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8074 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8075 then
8076 ac_save_LIBS="$LIBS"
8077 LIBS="$LIBS $IOKIT_LIBS"
8078 for ac_func in IOHIDManagerCreate
8079 do :
8080 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8081 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8082 cat >>confdefs.h <<_ACEOF
8083 #define HAVE_IOHIDMANAGERCREATE 1
8084 _ACEOF
8087 done
8089 LIBS="$ac_save_LIBS"
8091 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8092 then
8093 ac_save_LIBS="$LIBS"
8094 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8096 $as_echo_n "checking for the QuickTime framework... " >&6; }
8097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8098 /* end confdefs.h. */
8099 #include <QuickTime/ImageCompression.h>
8101 main ()
8103 CodecManagerVersion(NULL);
8105 return 0;
8107 _ACEOF
8108 if ac_fn_c_try_link "$LINENO"; then :
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8110 $as_echo "yes" >&6; }
8111 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8113 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8114 else
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8116 $as_echo "no" >&6; }
8117 ac_cv_header_QuickTime_ImageCompression_h=no
8119 rm -f core conftest.err conftest.$ac_objext \
8120 conftest$ac_exeext conftest.$ac_ext
8121 LIBS="$ac_save_LIBS"
8123 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8124 then
8125 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8127 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8128 then
8129 CARBON_LIBS="-framework Carbon"
8133 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8134 then
8135 ac_save_LIBS="$LIBS"
8136 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8137 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8138 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8139 enable_winemac_drv=${enable_winemac_drv:-yes}
8142 LIBS="$ac_save_LIBS"
8145 if test "x$enable_win16" = "xyes"
8146 then
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8148 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8149 if test "$cross_compiling" = yes; then :
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8151 $as_echo "cross-compiling, assuming yes" >&6; }
8152 else
8153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8154 /* end confdefs.h. */
8155 asm(".text\n"
8156 "bad:\tnop;nop\n"
8157 "good:\tnop;nop\n\t"
8158 ".globl _testfunc\n"
8159 "_testfunc:\tcallw good");
8160 extern void testfunc();
8162 main ()
8164 unsigned short *p = (unsigned short *)testfunc;
8165 return p[0] != 0xe866 || p[1] != 0xfffa
8167 return 0;
8169 _ACEOF
8170 if ac_fn_c_try_run "$LINENO"; then :
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8172 $as_echo "yes" >&6; }
8173 else
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8175 $as_echo "no" >&6; }
8176 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
8178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8179 conftest.$ac_objext conftest.beam conftest.$ac_ext
8184 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8186 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8188 LIBWINE_INSTALL_DEV="libwine.dylib"
8190 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8192 WINELOADER_DEPENDS="wine_info.plist"
8196 linux-android*)
8197 DLLFLAGS="$DLLFLAGS -fPIC"
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8199 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8200 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8201 $as_echo_n "(cached) " >&6
8202 else
8203 ac_wine_try_cflags_saved=$CFLAGS
8204 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8206 /* end confdefs.h. */
8207 int main(int argc, char **argv) { return 0; }
8208 _ACEOF
8209 if ac_fn_c_try_link "$LINENO"; then :
8210 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8211 else
8212 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8214 rm -f core conftest.err conftest.$ac_objext \
8215 conftest$ac_exeext conftest.$ac_ext
8216 CFLAGS=$ac_wine_try_cflags_saved
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8219 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8220 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8221 LDEXECFLAGS="-Wl,--export-dynamic"
8223 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8225 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8226 if eval \${$as_ac_var+:} false; then :
8227 $as_echo_n "(cached) " >&6
8228 else
8229 ac_wine_try_cflags_saved=$CFLAGS
8230 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8232 /* end confdefs.h. */
8233 int main(int argc, char **argv) { return 0; }
8234 _ACEOF
8235 if ac_fn_c_try_link "$LINENO"; then :
8236 eval "$as_ac_var=yes"
8237 else
8238 eval "$as_ac_var=no"
8240 rm -f core conftest.err conftest.$ac_objext \
8241 conftest$ac_exeext conftest.$ac_ext
8242 CFLAGS=$ac_wine_try_cflags_saved
8244 eval ac_res=\$$as_ac_var
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8246 $as_echo "$ac_res" >&6; }
8247 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8248 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8249 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8250 else
8251 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8253 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8254 if eval \${$as_ac_var+:} false; then :
8255 $as_echo_n "(cached) " >&6
8256 else
8257 ac_wine_try_cflags_saved=$CFLAGS
8258 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8260 /* end confdefs.h. */
8261 int main(int argc, char **argv) { return 0; }
8262 _ACEOF
8263 if ac_fn_c_try_link "$LINENO"; then :
8264 eval "$as_ac_var=yes"
8265 else
8266 eval "$as_ac_var=no"
8268 rm -f core conftest.err conftest.$ac_objext \
8269 conftest$ac_exeext conftest.$ac_ext
8270 CFLAGS=$ac_wine_try_cflags_saved
8272 eval ac_res=\$$as_ac_var
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8274 $as_echo "$ac_res" >&6; }
8275 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8276 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8277 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8282 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8283 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 ac_wine_try_cflags_saved=$CFLAGS
8287 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8289 /* end confdefs.h. */
8290 int main(int argc, char **argv) { return 0; }
8291 _ACEOF
8292 if ac_fn_c_try_link "$LINENO"; then :
8293 ac_cv_cflags__Wl___enable_new_dtags=yes
8294 else
8295 ac_cv_cflags__Wl___enable_new_dtags=no
8297 rm -f core conftest.err conftest.$ac_objext \
8298 conftest$ac_exeext conftest.$ac_ext
8299 CFLAGS=$ac_wine_try_cflags_saved
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8302 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8303 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8304 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8307 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8308 if ${ac_cv_cflags__Wl__pie+:} false; then :
8309 $as_echo_n "(cached) " >&6
8310 else
8311 ac_wine_try_cflags_saved=$CFLAGS
8312 CFLAGS="$CFLAGS -Wl,-pie"
8313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8314 /* end confdefs.h. */
8315 int main(int argc, char **argv) { return 0; }
8316 _ACEOF
8317 if ac_fn_c_try_link "$LINENO"; then :
8318 ac_cv_cflags__Wl__pie=yes
8319 else
8320 ac_cv_cflags__Wl__pie=no
8322 rm -f core conftest.err conftest.$ac_objext \
8323 conftest$ac_exeext conftest.$ac_ext
8324 CFLAGS=$ac_wine_try_cflags_saved
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8327 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8328 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8329 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8332 LIBWINE_SHAREDLIB="libwine.so"
8334 LIBWINE_INSTALL_LIB="libwine.so"
8336 LIBWINE_LDFLAGS="-shared"
8341 DLLFLAGS="$DLLFLAGS -fPIC"
8342 LDEXECFLAGS=""
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8344 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8345 if ${ac_cv_c_dll_gnuelf+:} false; then :
8346 $as_echo_n "(cached) " >&6
8347 else
8348 ac_wine_try_cflags_saved=$CFLAGS
8349 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8352 void myfunc() {}
8353 _ACEOF
8354 if ac_fn_c_try_link "$LINENO"; then :
8355 ac_cv_c_dll_gnuelf="yes"
8356 else
8357 ac_cv_c_dll_gnuelf="no"
8359 rm -f core conftest.err conftest.$ac_objext \
8360 conftest$ac_exeext conftest.$ac_ext
8361 CFLAGS=$ac_wine_try_cflags_saved
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8364 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8365 if test "$ac_cv_c_dll_gnuelf" = "yes"
8366 then
8367 LIBWINE_LDFLAGS="-shared"
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8369 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8370 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8371 $as_echo_n "(cached) " >&6
8372 else
8373 ac_wine_try_cflags_saved=$CFLAGS
8374 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8376 /* end confdefs.h. */
8377 int main(int argc, char **argv) { return 0; }
8378 _ACEOF
8379 if ac_fn_c_try_link "$LINENO"; then :
8380 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8381 else
8382 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8384 rm -f core conftest.err conftest.$ac_objext \
8385 conftest$ac_exeext conftest.$ac_ext
8386 CFLAGS=$ac_wine_try_cflags_saved
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8389 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8390 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8391 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8392 else
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8394 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8395 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8396 $as_echo_n "(cached) " >&6
8397 else
8398 ac_wine_try_cflags_saved=$CFLAGS
8399 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8402 int main(int argc, char **argv) { return 0; }
8403 _ACEOF
8404 if ac_fn_c_try_link "$LINENO"; then :
8405 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8406 else
8407 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8409 rm -f core conftest.err conftest.$ac_objext \
8410 conftest$ac_exeext conftest.$ac_ext
8411 CFLAGS=$ac_wine_try_cflags_saved
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8414 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8415 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8416 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8420 echo '{ global: *; };' >conftest.map
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8422 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8423 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8424 $as_echo_n "(cached) " >&6
8425 else
8426 ac_wine_try_cflags_saved=$CFLAGS
8427 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8430 int main(int argc, char **argv) { return 0; }
8431 _ACEOF
8432 if ac_fn_c_try_link "$LINENO"; then :
8433 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8434 else
8435 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8437 rm -f core conftest.err conftest.$ac_objext \
8438 conftest$ac_exeext conftest.$ac_ext
8439 CFLAGS=$ac_wine_try_cflags_saved
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8442 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8443 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8444 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8446 rm -f conftest.map
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8449 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8450 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8451 $as_echo_n "(cached) " >&6
8452 else
8453 ac_wine_try_cflags_saved=$CFLAGS
8454 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8457 int main(int argc, char **argv) { return 0; }
8458 _ACEOF
8459 if ac_fn_c_try_link "$LINENO"; then :
8460 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8461 else
8462 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8464 rm -f core conftest.err conftest.$ac_objext \
8465 conftest$ac_exeext conftest.$ac_ext
8466 CFLAGS=$ac_wine_try_cflags_saved
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8469 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8470 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8471 LDEXECFLAGS="-Wl,--export-dynamic"
8474 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8476 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8477 if eval \${$as_ac_var+:} false; then :
8478 $as_echo_n "(cached) " >&6
8479 else
8480 ac_wine_try_cflags_saved=$CFLAGS
8481 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8483 /* end confdefs.h. */
8484 int main(int argc, char **argv) { return 0; }
8485 _ACEOF
8486 if ac_fn_c_try_link "$LINENO"; then :
8487 eval "$as_ac_var=yes"
8488 else
8489 eval "$as_ac_var=no"
8491 rm -f core conftest.err conftest.$ac_objext \
8492 conftest$ac_exeext conftest.$ac_ext
8493 CFLAGS=$ac_wine_try_cflags_saved
8495 eval ac_res=\$$as_ac_var
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8497 $as_echo "$ac_res" >&6; }
8498 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8499 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8500 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8501 else
8502 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8504 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8505 if eval \${$as_ac_var+:} false; then :
8506 $as_echo_n "(cached) " >&6
8507 else
8508 ac_wine_try_cflags_saved=$CFLAGS
8509 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8512 int main(int argc, char **argv) { return 0; }
8513 _ACEOF
8514 if ac_fn_c_try_link "$LINENO"; then :
8515 eval "$as_ac_var=yes"
8516 else
8517 eval "$as_ac_var=no"
8519 rm -f core conftest.err conftest.$ac_objext \
8520 conftest$ac_exeext conftest.$ac_ext
8521 CFLAGS=$ac_wine_try_cflags_saved
8523 eval ac_res=\$$as_ac_var
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8525 $as_echo "$ac_res" >&6; }
8526 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8527 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8528 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8533 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8534 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8535 $as_echo_n "(cached) " >&6
8536 else
8537 ac_wine_try_cflags_saved=$CFLAGS
8538 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8541 int main(int argc, char **argv) { return 0; }
8542 _ACEOF
8543 if ac_fn_c_try_link "$LINENO"; then :
8544 ac_cv_cflags__Wl___enable_new_dtags=yes
8545 else
8546 ac_cv_cflags__Wl___enable_new_dtags=no
8548 rm -f core conftest.err conftest.$ac_objext \
8549 conftest$ac_exeext conftest.$ac_ext
8550 CFLAGS=$ac_wine_try_cflags_saved
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8553 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8554 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8555 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8558 case $host_cpu in
8559 *i[3456789]86* | x86_64)
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8561 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8562 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8563 $as_echo_n "(cached) " >&6
8564 else
8565 ac_wine_try_cflags_saved=$CFLAGS
8566 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8569 int main(int argc, char **argv) { return 0; }
8570 _ACEOF
8571 if ac_fn_c_try_link "$LINENO"; then :
8572 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8573 else
8574 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8576 rm -f core conftest.err conftest.$ac_objext \
8577 conftest$ac_exeext conftest.$ac_ext
8578 CFLAGS=$ac_wine_try_cflags_saved
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8581 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8582 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8583 case $host_os in
8584 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8585 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8586 esac
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8590 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8591 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8592 $as_echo_n "(cached) " >&6
8593 else
8594 ac_wine_try_cflags_saved=$CFLAGS
8595 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 int main(int argc, char **argv) { return 0; }
8599 _ACEOF
8600 if ac_fn_c_try_link "$LINENO"; then :
8601 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8602 else
8603 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8605 rm -f core conftest.err conftest.$ac_objext \
8606 conftest$ac_exeext conftest.$ac_ext
8607 CFLAGS=$ac_wine_try_cflags_saved
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8610 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8611 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8613 else
8614 # Extract the first word of "prelink", so it can be a program name with args.
8615 set dummy prelink; ac_word=$2
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8617 $as_echo_n "checking for $ac_word... " >&6; }
8618 if ${ac_cv_path_PRELINK+:} false; then :
8619 $as_echo_n "(cached) " >&6
8620 else
8621 case $PRELINK in
8622 [\\/]* | ?:[\\/]*)
8623 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8627 for as_dir in /sbin /usr/sbin $PATH
8629 IFS=$as_save_IFS
8630 test -z "$as_dir" && as_dir=.
8631 for ac_exec_ext in '' $ac_executable_extensions; do
8632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8633 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8635 break 2
8637 done
8638 done
8639 IFS=$as_save_IFS
8641 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8643 esac
8645 PRELINK=$ac_cv_path_PRELINK
8646 if test -n "$PRELINK"; then
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8648 $as_echo "$PRELINK" >&6; }
8649 else
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8651 $as_echo "no" >&6; }
8655 if test "x$PRELINK" = xfalse
8656 then
8657 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8661 esac
8663 else
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8665 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8666 if ${ac_cv_c_dll_unixware+:} false; then :
8667 $as_echo_n "(cached) " >&6
8668 else
8669 ac_wine_try_cflags_saved=$CFLAGS
8670 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8672 /* end confdefs.h. */
8673 void myfunc() {}
8674 _ACEOF
8675 if ac_fn_c_try_link "$LINENO"; then :
8676 ac_cv_c_dll_unixware="yes"
8677 else
8678 ac_cv_c_dll_unixware="no"
8680 rm -f core conftest.err conftest.$ac_objext \
8681 conftest$ac_exeext conftest.$ac_ext
8682 CFLAGS=$ac_wine_try_cflags_saved
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8685 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8686 if test "$ac_cv_c_dll_unixware" = "yes"
8687 then
8688 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8691 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8693 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8695 LIBWINE_INSTALL_DEV="libwine.so"
8697 LIBWINE_DEPENDS="wine.map"
8700 esac
8702 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8703 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8704 enable_winemac_drv=${enable_winemac_drv:-no}
8705 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8707 CROSSTARGET=""
8709 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8710 then
8711 case "$host_cpu" in
8712 arm*)
8713 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8714 i[3456789]86*)
8715 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
8716 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8717 mingw32-gcc" ;;
8718 x86_64)
8719 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
8720 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8722 ac_prefix_list="" ;;
8723 esac
8724 for ac_prog in $ac_prefix_list
8726 # Extract the first word of "$ac_prog", so it can be a program name with args.
8727 set dummy $ac_prog; ac_word=$2
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8729 $as_echo_n "checking for $ac_word... " >&6; }
8730 if ${ac_cv_prog_CROSSCC+:} false; then :
8731 $as_echo_n "(cached) " >&6
8732 else
8733 if test -n "$CROSSCC"; then
8734 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8735 else
8736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8737 for as_dir in $PATH
8739 IFS=$as_save_IFS
8740 test -z "$as_dir" && as_dir=.
8741 for ac_exec_ext in '' $ac_executable_extensions; do
8742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8743 ac_cv_prog_CROSSCC="$ac_prog"
8744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8745 break 2
8747 done
8748 done
8749 IFS=$as_save_IFS
8753 CROSSCC=$ac_cv_prog_CROSSCC
8754 if test -n "$CROSSCC"; then
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8756 $as_echo "$CROSSCC" >&6; }
8757 else
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8759 $as_echo "no" >&6; }
8763 test -n "$CROSSCC" && break
8764 done
8765 test -n "$CROSSCC" || CROSSCC="false"
8767 if test "$CROSSCC" != "false"
8768 then
8769 ac_save_CC="$CC"
8770 CC="$CROSSCC"
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8772 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8774 /* end confdefs.h. */
8777 main ()
8781 return 0;
8783 _ACEOF
8784 if ac_fn_c_try_compile "$LINENO"; then :
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8786 $as_echo "yes" >&6; }
8787 set x $CROSSCC
8788 shift
8789 while test $# -ge 1
8791 case "$1" in
8792 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8793 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8794 esac
8795 shift
8796 done
8797 else
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8799 $as_echo "no" >&6; }
8801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8802 CC="$ac_save_CC"
8807 if test "$ac_cv_header_pthread_h" = "yes"
8808 then
8809 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8810 if test "x$ac_cv_func_pthread_create" = xyes; then :
8812 else
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8814 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8815 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8816 $as_echo_n "(cached) " >&6
8817 else
8818 ac_check_lib_save_LIBS=$LIBS
8819 LIBS="-lpthread $LIBS"
8820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8823 /* Override any GCC internal prototype to avoid an error.
8824 Use char because int might match the return type of a GCC
8825 builtin and then its argument prototype would still apply. */
8826 #ifdef __cplusplus
8827 extern "C"
8828 #endif
8829 char pthread_create ();
8831 main ()
8833 return pthread_create ();
8835 return 0;
8837 _ACEOF
8838 if ac_fn_c_try_link "$LINENO"; then :
8839 ac_cv_lib_pthread_pthread_create=yes
8840 else
8841 ac_cv_lib_pthread_pthread_create=no
8843 rm -f core conftest.err conftest.$ac_objext \
8844 conftest$ac_exeext conftest.$ac_ext
8845 LIBS=$ac_check_lib_save_LIBS
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8848 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8849 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8850 PTHREAD_LIBS="-lpthread"
8857 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8858 case "x$with_pthread" in
8859 xno) ;;
8860 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8861 Wine cannot support threads without libpthread.
8862 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8863 esac
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8869 $as_echo_n "checking for X... " >&6; }
8872 # Check whether --with-x was given.
8873 if test "${with_x+set}" = set; then :
8874 withval=$with_x;
8877 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8878 if test "x$with_x" = xno; then
8879 # The user explicitly disabled X.
8880 have_x=disabled
8881 else
8882 case $x_includes,$x_libraries in #(
8883 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8884 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8885 $as_echo_n "(cached) " >&6
8886 else
8887 # One or both of the vars are not set, and there is no cached value.
8888 ac_x_includes=no ac_x_libraries=no
8889 rm -f -r conftest.dir
8890 if mkdir conftest.dir; then
8891 cd conftest.dir
8892 cat >Imakefile <<'_ACEOF'
8893 incroot:
8894 @echo incroot='${INCROOT}'
8895 usrlibdir:
8896 @echo usrlibdir='${USRLIBDIR}'
8897 libdir:
8898 @echo libdir='${LIBDIR}'
8899 _ACEOF
8900 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8901 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8902 for ac_var in incroot usrlibdir libdir; do
8903 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8904 done
8905 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8906 for ac_extension in a so sl dylib la dll; do
8907 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8908 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8909 ac_im_usrlibdir=$ac_im_libdir; break
8911 done
8912 # Screen out bogus values from the imake configuration. They are
8913 # bogus both because they are the default anyway, and because
8914 # using them would break gcc on systems where it needs fixed includes.
8915 case $ac_im_incroot in
8916 /usr/include) ac_x_includes= ;;
8917 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8918 esac
8919 case $ac_im_usrlibdir in
8920 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8921 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8922 esac
8924 cd ..
8925 rm -f -r conftest.dir
8928 # Standard set of common directories for X headers.
8929 # Check X11 before X11Rn because it is often a symlink to the current release.
8930 ac_x_header_dirs='
8931 /usr/X11/include
8932 /usr/X11R7/include
8933 /usr/X11R6/include
8934 /usr/X11R5/include
8935 /usr/X11R4/include
8937 /usr/include/X11
8938 /usr/include/X11R7
8939 /usr/include/X11R6
8940 /usr/include/X11R5
8941 /usr/include/X11R4
8943 /usr/local/X11/include
8944 /usr/local/X11R7/include
8945 /usr/local/X11R6/include
8946 /usr/local/X11R5/include
8947 /usr/local/X11R4/include
8949 /usr/local/include/X11
8950 /usr/local/include/X11R7
8951 /usr/local/include/X11R6
8952 /usr/local/include/X11R5
8953 /usr/local/include/X11R4
8955 /usr/X386/include
8956 /usr/x386/include
8957 /usr/XFree86/include/X11
8959 /usr/include
8960 /usr/local/include
8961 /usr/unsupported/include
8962 /usr/athena/include
8963 /usr/local/x11r5/include
8964 /usr/lpp/Xamples/include
8966 /usr/openwin/include
8967 /usr/openwin/share/include'
8969 if test "$ac_x_includes" = no; then
8970 # Guess where to find include files, by looking for Xlib.h.
8971 # First, try using that file with no special directory specified.
8972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8973 /* end confdefs.h. */
8974 #include <X11/Xlib.h>
8975 _ACEOF
8976 if ac_fn_c_try_cpp "$LINENO"; then :
8977 # We can compile using X headers with no special include directory.
8978 ac_x_includes=
8979 else
8980 for ac_dir in $ac_x_header_dirs; do
8981 if test -r "$ac_dir/X11/Xlib.h"; then
8982 ac_x_includes=$ac_dir
8983 break
8985 done
8987 rm -f conftest.err conftest.i conftest.$ac_ext
8988 fi # $ac_x_includes = no
8990 if test "$ac_x_libraries" = no; then
8991 # Check for the libraries.
8992 # See if we find them without any special options.
8993 # Don't add to $LIBS permanently.
8994 ac_save_LIBS=$LIBS
8995 LIBS="-lX11 $LIBS"
8996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8997 /* end confdefs.h. */
8998 #include <X11/Xlib.h>
9000 main ()
9002 XrmInitialize ()
9004 return 0;
9006 _ACEOF
9007 if ac_fn_c_try_link "$LINENO"; then :
9008 LIBS=$ac_save_LIBS
9009 # We can link X programs with no special library path.
9010 ac_x_libraries=
9011 else
9012 LIBS=$ac_save_LIBS
9013 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9015 # Don't even attempt the hair of trying to link an X program!
9016 for ac_extension in a so sl dylib la dll; do
9017 if test -r "$ac_dir/libX11.$ac_extension"; then
9018 ac_x_libraries=$ac_dir
9019 break 2
9021 done
9022 done
9024 rm -f core conftest.err conftest.$ac_objext \
9025 conftest$ac_exeext conftest.$ac_ext
9026 fi # $ac_x_libraries = no
9028 case $ac_x_includes,$ac_x_libraries in #(
9029 no,* | *,no | *\'*)
9030 # Didn't find X, or a directory has "'" in its name.
9031 ac_cv_have_x="have_x=no";; #(
9033 # Record where we found X for the cache.
9034 ac_cv_have_x="have_x=yes\
9035 ac_x_includes='$ac_x_includes'\
9036 ac_x_libraries='$ac_x_libraries'"
9037 esac
9039 ;; #(
9040 *) have_x=yes;;
9041 esac
9042 eval "$ac_cv_have_x"
9043 fi # $with_x != no
9045 if test "$have_x" != yes; then
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9047 $as_echo "$have_x" >&6; }
9048 no_x=yes
9049 else
9050 # If each of the values was on the command line, it overrides each guess.
9051 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9052 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9053 # Update the cache value to reflect the command line values.
9054 ac_cv_have_x="have_x=yes\
9055 ac_x_includes='$x_includes'\
9056 ac_x_libraries='$x_libraries'"
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9058 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9061 if test "$no_x" = yes; then
9062 # Not all programs may use this symbol, but it does not hurt to define it.
9064 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9066 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9067 else
9068 if test -n "$x_includes"; then
9069 X_CFLAGS="$X_CFLAGS -I$x_includes"
9072 # It would also be nice to do this for all -L options, not just this one.
9073 if test -n "$x_libraries"; then
9074 X_LIBS="$X_LIBS -L$x_libraries"
9075 # For Solaris; some versions of Sun CC require a space after -R and
9076 # others require no space. Words are not sufficient . . . .
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9078 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9079 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9080 ac_xsave_c_werror_flag=$ac_c_werror_flag
9081 ac_c_werror_flag=yes
9082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9086 main ()
9090 return 0;
9092 _ACEOF
9093 if ac_fn_c_try_link "$LINENO"; then :
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9095 $as_echo "no" >&6; }
9096 X_LIBS="$X_LIBS -R$x_libraries"
9097 else
9098 LIBS="$ac_xsave_LIBS -R $x_libraries"
9099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9100 /* end confdefs.h. */
9103 main ()
9107 return 0;
9109 _ACEOF
9110 if ac_fn_c_try_link "$LINENO"; then :
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9112 $as_echo "yes" >&6; }
9113 X_LIBS="$X_LIBS -R $x_libraries"
9114 else
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9116 $as_echo "neither works" >&6; }
9118 rm -f core conftest.err conftest.$ac_objext \
9119 conftest$ac_exeext conftest.$ac_ext
9121 rm -f core conftest.err conftest.$ac_objext \
9122 conftest$ac_exeext conftest.$ac_ext
9123 ac_c_werror_flag=$ac_xsave_c_werror_flag
9124 LIBS=$ac_xsave_LIBS
9127 # Check for system-dependent libraries X programs must link with.
9128 # Do this before checking for the system-independent R6 libraries
9129 # (-lICE), since we may need -lsocket or whatever for X linking.
9131 if test "$ISC" = yes; then
9132 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9133 else
9134 # Martyn Johnson says this is needed for Ultrix, if the X
9135 # libraries were built with DECnet support. And Karl Berry says
9136 # the Alpha needs dnet_stub (dnet does not exist).
9137 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h. */
9141 /* Override any GCC internal prototype to avoid an error.
9142 Use char because int might match the return type of a GCC
9143 builtin and then its argument prototype would still apply. */
9144 #ifdef __cplusplus
9145 extern "C"
9146 #endif
9147 char XOpenDisplay ();
9149 main ()
9151 return XOpenDisplay ();
9153 return 0;
9155 _ACEOF
9156 if ac_fn_c_try_link "$LINENO"; then :
9158 else
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9160 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9161 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9162 $as_echo_n "(cached) " >&6
9163 else
9164 ac_check_lib_save_LIBS=$LIBS
9165 LIBS="-ldnet $LIBS"
9166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9167 /* end confdefs.h. */
9169 /* Override any GCC internal prototype to avoid an error.
9170 Use char because int might match the return type of a GCC
9171 builtin and then its argument prototype would still apply. */
9172 #ifdef __cplusplus
9173 extern "C"
9174 #endif
9175 char dnet_ntoa ();
9177 main ()
9179 return dnet_ntoa ();
9181 return 0;
9183 _ACEOF
9184 if ac_fn_c_try_link "$LINENO"; then :
9185 ac_cv_lib_dnet_dnet_ntoa=yes
9186 else
9187 ac_cv_lib_dnet_dnet_ntoa=no
9189 rm -f core conftest.err conftest.$ac_objext \
9190 conftest$ac_exeext conftest.$ac_ext
9191 LIBS=$ac_check_lib_save_LIBS
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9194 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9195 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9196 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9199 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9201 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9202 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9203 $as_echo_n "(cached) " >&6
9204 else
9205 ac_check_lib_save_LIBS=$LIBS
9206 LIBS="-ldnet_stub $LIBS"
9207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9208 /* end confdefs.h. */
9210 /* Override any GCC internal prototype to avoid an error.
9211 Use char because int might match the return type of a GCC
9212 builtin and then its argument prototype would still apply. */
9213 #ifdef __cplusplus
9214 extern "C"
9215 #endif
9216 char dnet_ntoa ();
9218 main ()
9220 return dnet_ntoa ();
9222 return 0;
9224 _ACEOF
9225 if ac_fn_c_try_link "$LINENO"; then :
9226 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9227 else
9228 ac_cv_lib_dnet_stub_dnet_ntoa=no
9230 rm -f core conftest.err conftest.$ac_objext \
9231 conftest$ac_exeext conftest.$ac_ext
9232 LIBS=$ac_check_lib_save_LIBS
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9235 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9236 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9237 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9242 rm -f core conftest.err conftest.$ac_objext \
9243 conftest$ac_exeext conftest.$ac_ext
9244 LIBS="$ac_xsave_LIBS"
9246 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9247 # to get the SysV transport functions.
9248 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9249 # needs -lnsl.
9250 # The nsl library prevents programs from opening the X display
9251 # on Irix 5.2, according to T.E. Dickey.
9252 # The functions gethostbyname, getservbyname, and inet_addr are
9253 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9254 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9255 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9259 if test $ac_cv_func_gethostbyname = no; then
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9261 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9262 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9263 $as_echo_n "(cached) " >&6
9264 else
9265 ac_check_lib_save_LIBS=$LIBS
9266 LIBS="-lnsl $LIBS"
9267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9268 /* end confdefs.h. */
9270 /* Override any GCC internal prototype to avoid an error.
9271 Use char because int might match the return type of a GCC
9272 builtin and then its argument prototype would still apply. */
9273 #ifdef __cplusplus
9274 extern "C"
9275 #endif
9276 char gethostbyname ();
9278 main ()
9280 return gethostbyname ();
9282 return 0;
9284 _ACEOF
9285 if ac_fn_c_try_link "$LINENO"; then :
9286 ac_cv_lib_nsl_gethostbyname=yes
9287 else
9288 ac_cv_lib_nsl_gethostbyname=no
9290 rm -f core conftest.err conftest.$ac_objext \
9291 conftest$ac_exeext conftest.$ac_ext
9292 LIBS=$ac_check_lib_save_LIBS
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9295 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9296 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9297 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9300 if test $ac_cv_lib_nsl_gethostbyname = no; then
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9302 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9303 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9304 $as_echo_n "(cached) " >&6
9305 else
9306 ac_check_lib_save_LIBS=$LIBS
9307 LIBS="-lbsd $LIBS"
9308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9309 /* end confdefs.h. */
9311 /* Override any GCC internal prototype to avoid an error.
9312 Use char because int might match the return type of a GCC
9313 builtin and then its argument prototype would still apply. */
9314 #ifdef __cplusplus
9315 extern "C"
9316 #endif
9317 char gethostbyname ();
9319 main ()
9321 return gethostbyname ();
9323 return 0;
9325 _ACEOF
9326 if ac_fn_c_try_link "$LINENO"; then :
9327 ac_cv_lib_bsd_gethostbyname=yes
9328 else
9329 ac_cv_lib_bsd_gethostbyname=no
9331 rm -f core conftest.err conftest.$ac_objext \
9332 conftest$ac_exeext conftest.$ac_ext
9333 LIBS=$ac_check_lib_save_LIBS
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9336 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9337 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9338 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9344 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9345 # socket/setsockopt and other routines are undefined under SCO ODT
9346 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9347 # on later versions), says Simon Leinen: it contains gethostby*
9348 # variants that don't use the name server (or something). -lsocket
9349 # must be given before -lnsl if both are needed. We assume that
9350 # if connect needs -lnsl, so does gethostbyname.
9351 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9352 if test "x$ac_cv_func_connect" = xyes; then :
9356 if test $ac_cv_func_connect = no; then
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9358 $as_echo_n "checking for connect in -lsocket... " >&6; }
9359 if ${ac_cv_lib_socket_connect+:} false; then :
9360 $as_echo_n "(cached) " >&6
9361 else
9362 ac_check_lib_save_LIBS=$LIBS
9363 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9365 /* end confdefs.h. */
9367 /* Override any GCC internal prototype to avoid an error.
9368 Use char because int might match the return type of a GCC
9369 builtin and then its argument prototype would still apply. */
9370 #ifdef __cplusplus
9371 extern "C"
9372 #endif
9373 char connect ();
9375 main ()
9377 return connect ();
9379 return 0;
9381 _ACEOF
9382 if ac_fn_c_try_link "$LINENO"; then :
9383 ac_cv_lib_socket_connect=yes
9384 else
9385 ac_cv_lib_socket_connect=no
9387 rm -f core conftest.err conftest.$ac_objext \
9388 conftest$ac_exeext conftest.$ac_ext
9389 LIBS=$ac_check_lib_save_LIBS
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9392 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9393 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9394 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9399 # Guillermo Gomez says -lposix is necessary on A/UX.
9400 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9401 if test "x$ac_cv_func_remove" = xyes; then :
9405 if test $ac_cv_func_remove = no; then
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9407 $as_echo_n "checking for remove in -lposix... " >&6; }
9408 if ${ac_cv_lib_posix_remove+:} false; then :
9409 $as_echo_n "(cached) " >&6
9410 else
9411 ac_check_lib_save_LIBS=$LIBS
9412 LIBS="-lposix $LIBS"
9413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h. */
9416 /* Override any GCC internal prototype to avoid an error.
9417 Use char because int might match the return type of a GCC
9418 builtin and then its argument prototype would still apply. */
9419 #ifdef __cplusplus
9420 extern "C"
9421 #endif
9422 char remove ();
9424 main ()
9426 return remove ();
9428 return 0;
9430 _ACEOF
9431 if ac_fn_c_try_link "$LINENO"; then :
9432 ac_cv_lib_posix_remove=yes
9433 else
9434 ac_cv_lib_posix_remove=no
9436 rm -f core conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9438 LIBS=$ac_check_lib_save_LIBS
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9441 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9442 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9443 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9448 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9449 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9450 if test "x$ac_cv_func_shmat" = xyes; then :
9454 if test $ac_cv_func_shmat = no; then
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9456 $as_echo_n "checking for shmat in -lipc... " >&6; }
9457 if ${ac_cv_lib_ipc_shmat+:} false; then :
9458 $as_echo_n "(cached) " >&6
9459 else
9460 ac_check_lib_save_LIBS=$LIBS
9461 LIBS="-lipc $LIBS"
9462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9463 /* end confdefs.h. */
9465 /* Override any GCC internal prototype to avoid an error.
9466 Use char because int might match the return type of a GCC
9467 builtin and then its argument prototype would still apply. */
9468 #ifdef __cplusplus
9469 extern "C"
9470 #endif
9471 char shmat ();
9473 main ()
9475 return shmat ();
9477 return 0;
9479 _ACEOF
9480 if ac_fn_c_try_link "$LINENO"; then :
9481 ac_cv_lib_ipc_shmat=yes
9482 else
9483 ac_cv_lib_ipc_shmat=no
9485 rm -f core conftest.err conftest.$ac_objext \
9486 conftest$ac_exeext conftest.$ac_ext
9487 LIBS=$ac_check_lib_save_LIBS
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9490 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9491 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9492 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9498 # Check for libraries that X11R6 Xt/Xaw programs need.
9499 ac_save_LDFLAGS=$LDFLAGS
9500 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9501 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9502 # check for ICE first), but we must link in the order -lSM -lICE or
9503 # we get undefined symbols. So assume we have SM if we have ICE.
9504 # These have to be linked with before -lX11, unlike the other
9505 # libraries we check for below, so use a different variable.
9506 # John Interrante, Karl Berry
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9508 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9509 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9510 $as_echo_n "(cached) " >&6
9511 else
9512 ac_check_lib_save_LIBS=$LIBS
9513 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9517 /* Override any GCC internal prototype to avoid an error.
9518 Use char because int might match the return type of a GCC
9519 builtin and then its argument prototype would still apply. */
9520 #ifdef __cplusplus
9521 extern "C"
9522 #endif
9523 char IceConnectionNumber ();
9525 main ()
9527 return IceConnectionNumber ();
9529 return 0;
9531 _ACEOF
9532 if ac_fn_c_try_link "$LINENO"; then :
9533 ac_cv_lib_ICE_IceConnectionNumber=yes
9534 else
9535 ac_cv_lib_ICE_IceConnectionNumber=no
9537 rm -f core conftest.err conftest.$ac_objext \
9538 conftest$ac_exeext conftest.$ac_ext
9539 LIBS=$ac_check_lib_save_LIBS
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9542 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9543 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9544 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9547 LDFLAGS=$ac_save_LDFLAGS
9552 if test "$have_x" = "yes"
9553 then
9554 ac_save_CPPFLAGS="$CPPFLAGS"
9555 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9558 $as_echo_n "checking for -lX11... " >&6; }
9559 if ${ac_cv_lib_soname_X11+:} false; then :
9560 $as_echo_n "(cached) " >&6
9561 else
9562 ac_check_soname_save_LIBS=$LIBS
9563 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9567 /* Override any GCC internal prototype to avoid an error.
9568 Use char because int might match the return type of a GCC
9569 builtin and then its argument prototype would still apply. */
9570 #ifdef __cplusplus
9571 extern "C"
9572 #endif
9573 char XCreateWindow ();
9575 main ()
9577 return XCreateWindow ();
9579 return 0;
9581 _ACEOF
9582 if ac_fn_c_try_link "$LINENO"; then :
9583 case "$LIBEXT" in
9584 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9585 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'` ;;
9586 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9587 if ${ac_cv_lib_soname_X11:+false} :; then :
9588 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9589 fi ;;
9590 esac
9592 rm -f core conftest.err conftest.$ac_objext \
9593 conftest$ac_exeext conftest.$ac_ext
9594 LIBS=$ac_check_soname_save_LIBS
9596 if ${ac_cv_lib_soname_X11:+false} :; then :
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9598 $as_echo "not found" >&6; }
9600 else
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9602 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9604 cat >>confdefs.h <<_ACEOF
9605 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9606 _ACEOF
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9611 $as_echo_n "checking for -lXext... " >&6; }
9612 if ${ac_cv_lib_soname_Xext+:} false; then :
9613 $as_echo_n "(cached) " >&6
9614 else
9615 ac_check_soname_save_LIBS=$LIBS
9616 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9618 /* end confdefs.h. */
9620 /* Override any GCC internal prototype to avoid an error.
9621 Use char because int might match the return type of a GCC
9622 builtin and then its argument prototype would still apply. */
9623 #ifdef __cplusplus
9624 extern "C"
9625 #endif
9626 char XextCreateExtension ();
9628 main ()
9630 return XextCreateExtension ();
9632 return 0;
9634 _ACEOF
9635 if ac_fn_c_try_link "$LINENO"; then :
9636 case "$LIBEXT" in
9637 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9638 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'` ;;
9639 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9640 if ${ac_cv_lib_soname_Xext:+false} :; then :
9641 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9642 fi ;;
9643 esac
9645 rm -f core conftest.err conftest.$ac_objext \
9646 conftest$ac_exeext conftest.$ac_ext
9647 LIBS=$ac_check_soname_save_LIBS
9649 if ${ac_cv_lib_soname_Xext:+false} :; then :
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9651 $as_echo "not found" >&6; }
9653 else
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9655 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9657 cat >>confdefs.h <<_ACEOF
9658 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9659 _ACEOF
9661 X_LIBS="$X_LIBS -lXext"
9663 X_LIBS="$X_LIBS -lX11"
9665 for ac_header in X11/Xlib.h \
9666 X11/XKBlib.h \
9667 X11/Xutil.h \
9668 X11/Xcursor/Xcursor.h \
9669 X11/extensions/shape.h \
9670 X11/extensions/XInput.h \
9671 X11/extensions/XInput2.h \
9672 X11/extensions/XShm.h \
9673 X11/extensions/Xcomposite.h \
9674 X11/extensions/Xinerama.h \
9675 X11/extensions/Xrandr.h \
9676 X11/extensions/Xrender.h \
9677 X11/extensions/xf86vmode.h \
9678 X11/extensions/xf86vmproto.h
9679 do :
9680 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9681 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9682 # include <X11/Xlib.h>
9683 #endif
9684 #ifdef HAVE_X11_XUTIL_H
9685 # include <X11/Xutil.h>
9686 #endif
9688 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9689 cat >>confdefs.h <<_ACEOF
9690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9691 _ACEOF
9695 done
9698 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9699 then
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9701 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9702 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9703 $as_echo_n "(cached) " >&6
9704 else
9705 ac_check_lib_save_LIBS=$LIBS
9706 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9708 /* end confdefs.h. */
9710 /* Override any GCC internal prototype to avoid an error.
9711 Use char because int might match the return type of a GCC
9712 builtin and then its argument prototype would still apply. */
9713 #ifdef __cplusplus
9714 extern "C"
9715 #endif
9716 char XkbQueryExtension ();
9718 main ()
9720 return XkbQueryExtension ();
9722 return 0;
9724 _ACEOF
9725 if ac_fn_c_try_link "$LINENO"; then :
9726 ac_cv_lib_X11_XkbQueryExtension=yes
9727 else
9728 ac_cv_lib_X11_XkbQueryExtension=no
9730 rm -f core conftest.err conftest.$ac_objext \
9731 conftest$ac_exeext conftest.$ac_ext
9732 LIBS=$ac_check_lib_save_LIBS
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9735 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9736 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9738 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9744 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9745 then
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9747 $as_echo_n "checking for -lXcursor... " >&6; }
9748 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9749 $as_echo_n "(cached) " >&6
9750 else
9751 ac_check_soname_save_LIBS=$LIBS
9752 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9756 /* Override any GCC internal prototype to avoid an error.
9757 Use char because int might match the return type of a GCC
9758 builtin and then its argument prototype would still apply. */
9759 #ifdef __cplusplus
9760 extern "C"
9761 #endif
9762 char XcursorImageLoadCursor ();
9764 main ()
9766 return XcursorImageLoadCursor ();
9768 return 0;
9770 _ACEOF
9771 if ac_fn_c_try_link "$LINENO"; then :
9772 case "$LIBEXT" in
9773 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9774 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'` ;;
9775 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9776 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9777 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9778 fi ;;
9779 esac
9781 rm -f core conftest.err conftest.$ac_objext \
9782 conftest$ac_exeext conftest.$ac_ext
9783 LIBS=$ac_check_soname_save_LIBS
9785 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9787 $as_echo "not found" >&6; }
9789 else
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9791 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9793 cat >>confdefs.h <<_ACEOF
9794 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9795 _ACEOF
9800 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9801 case "x$with_xcursor" in
9802 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9803 xno) ;;
9804 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9805 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9806 esac
9810 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9811 then
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9813 $as_echo_n "checking for -lXi... " >&6; }
9814 if ${ac_cv_lib_soname_Xi+:} false; then :
9815 $as_echo_n "(cached) " >&6
9816 else
9817 ac_check_soname_save_LIBS=$LIBS
9818 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9820 /* end confdefs.h. */
9822 /* Override any GCC internal prototype to avoid an error.
9823 Use char because int might match the return type of a GCC
9824 builtin and then its argument prototype would still apply. */
9825 #ifdef __cplusplus
9826 extern "C"
9827 #endif
9828 char XOpenDevice ();
9830 main ()
9832 return XOpenDevice ();
9834 return 0;
9836 _ACEOF
9837 if ac_fn_c_try_link "$LINENO"; then :
9838 case "$LIBEXT" in
9839 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9840 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'` ;;
9841 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9842 if ${ac_cv_lib_soname_Xi:+false} :; then :
9843 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9844 fi ;;
9845 esac
9847 rm -f core conftest.err conftest.$ac_objext \
9848 conftest$ac_exeext conftest.$ac_ext
9849 LIBS=$ac_check_soname_save_LIBS
9851 if ${ac_cv_lib_soname_Xi:+false} :; then :
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9853 $as_echo "not found" >&6; }
9855 else
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9857 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9859 cat >>confdefs.h <<_ACEOF
9860 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9861 _ACEOF
9866 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9867 case "x$with_xinput" in
9868 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9869 xno) ;;
9870 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9871 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9872 esac
9876 if test "x$ac_cv_lib_soname_Xi" != x
9877 then
9878 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9879 case "x$with_xinput2" in
9880 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9881 xno) ;;
9882 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9883 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9884 esac
9889 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9890 then
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9892 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9893 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9894 $as_echo_n "(cached) " >&6
9895 else
9896 ac_check_lib_save_LIBS=$LIBS
9897 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9901 /* Override any GCC internal prototype to avoid an error.
9902 Use char because int might match the return type of a GCC
9903 builtin and then its argument prototype would still apply. */
9904 #ifdef __cplusplus
9905 extern "C"
9906 #endif
9907 char XShmQueryExtension ();
9909 main ()
9911 return XShmQueryExtension ();
9913 return 0;
9915 _ACEOF
9916 if ac_fn_c_try_link "$LINENO"; then :
9917 ac_cv_lib_Xext_XShmQueryExtension=yes
9918 else
9919 ac_cv_lib_Xext_XShmQueryExtension=no
9921 rm -f core conftest.err conftest.$ac_objext \
9922 conftest$ac_exeext conftest.$ac_ext
9923 LIBS=$ac_check_lib_save_LIBS
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9926 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9927 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9929 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9934 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9935 case "x$with_xshm" in
9936 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9937 xno) ;;
9938 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9939 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9940 esac
9944 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9945 then
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9947 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9948 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9949 $as_echo_n "(cached) " >&6
9950 else
9951 ac_check_lib_save_LIBS=$LIBS
9952 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9954 /* end confdefs.h. */
9956 /* Override any GCC internal prototype to avoid an error.
9957 Use char because int might match the return type of a GCC
9958 builtin and then its argument prototype would still apply. */
9959 #ifdef __cplusplus
9960 extern "C"
9961 #endif
9962 char XShapeQueryExtension ();
9964 main ()
9966 return XShapeQueryExtension ();
9968 return 0;
9970 _ACEOF
9971 if ac_fn_c_try_link "$LINENO"; then :
9972 ac_cv_lib_Xext_XShapeQueryExtension=yes
9973 else
9974 ac_cv_lib_Xext_XShapeQueryExtension=no
9976 rm -f core conftest.err conftest.$ac_objext \
9977 conftest$ac_exeext conftest.$ac_ext
9978 LIBS=$ac_check_lib_save_LIBS
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9981 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9982 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9984 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9989 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9990 case "x$with_xshape" in
9991 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9992 xno) ;;
9993 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9994 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9995 esac
9999 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10000 then
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10002 $as_echo_n "checking for -lXxf86vm... " >&6; }
10003 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10004 $as_echo_n "(cached) " >&6
10005 else
10006 ac_check_soname_save_LIBS=$LIBS
10007 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10011 /* Override any GCC internal prototype to avoid an error.
10012 Use char because int might match the return type of a GCC
10013 builtin and then its argument prototype would still apply. */
10014 #ifdef __cplusplus
10015 extern "C"
10016 #endif
10017 char XF86VidModeQueryExtension ();
10019 main ()
10021 return XF86VidModeQueryExtension ();
10023 return 0;
10025 _ACEOF
10026 if ac_fn_c_try_link "$LINENO"; then :
10027 case "$LIBEXT" in
10028 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10029 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'` ;;
10030 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10031 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10032 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10033 fi ;;
10034 esac
10036 rm -f core conftest.err conftest.$ac_objext \
10037 conftest$ac_exeext conftest.$ac_ext
10038 LIBS=$ac_check_soname_save_LIBS
10040 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10042 $as_echo "not found" >&6; }
10044 else
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10046 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10048 cat >>confdefs.h <<_ACEOF
10049 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10050 _ACEOF
10055 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10056 case "x$with_xxf86vm" in
10057 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10058 xno) ;;
10059 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10060 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10061 esac
10065 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10066 then
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10068 $as_echo_n "checking for -lXrender... " >&6; }
10069 if ${ac_cv_lib_soname_Xrender+:} false; then :
10070 $as_echo_n "(cached) " >&6
10071 else
10072 ac_check_soname_save_LIBS=$LIBS
10073 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10077 /* Override any GCC internal prototype to avoid an error.
10078 Use char because int might match the return type of a GCC
10079 builtin and then its argument prototype would still apply. */
10080 #ifdef __cplusplus
10081 extern "C"
10082 #endif
10083 char XRenderQueryExtension ();
10085 main ()
10087 return XRenderQueryExtension ();
10089 return 0;
10091 _ACEOF
10092 if ac_fn_c_try_link "$LINENO"; then :
10093 case "$LIBEXT" in
10094 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10095 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'` ;;
10096 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10097 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10098 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10099 fi ;;
10100 esac
10102 rm -f core conftest.err conftest.$ac_objext \
10103 conftest$ac_exeext conftest.$ac_ext
10104 LIBS=$ac_check_soname_save_LIBS
10106 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10108 $as_echo "not found" >&6; }
10110 else
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10112 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10114 cat >>confdefs.h <<_ACEOF
10115 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10116 _ACEOF
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10119 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10120 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10121 $as_echo_n "(cached) " >&6
10122 else
10123 ac_check_lib_save_LIBS=$LIBS
10124 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10128 /* Override any GCC internal prototype to avoid an error.
10129 Use char because int might match the return type of a GCC
10130 builtin and then its argument prototype would still apply. */
10131 #ifdef __cplusplus
10132 extern "C"
10133 #endif
10134 char XRenderSetPictureTransform ();
10136 main ()
10138 return XRenderSetPictureTransform ();
10140 return 0;
10142 _ACEOF
10143 if ac_fn_c_try_link "$LINENO"; then :
10144 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10145 else
10146 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10148 rm -f core conftest.err conftest.$ac_objext \
10149 conftest$ac_exeext conftest.$ac_ext
10150 LIBS=$ac_check_lib_save_LIBS
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10153 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10154 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10156 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10161 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10162 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10163 $as_echo_n "(cached) " >&6
10164 else
10165 ac_check_lib_save_LIBS=$LIBS
10166 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10168 /* end confdefs.h. */
10170 /* Override any GCC internal prototype to avoid an error.
10171 Use char because int might match the return type of a GCC
10172 builtin and then its argument prototype would still apply. */
10173 #ifdef __cplusplus
10174 extern "C"
10175 #endif
10176 char XRenderCreateLinearGradient ();
10178 main ()
10180 return XRenderCreateLinearGradient ();
10182 return 0;
10184 _ACEOF
10185 if ac_fn_c_try_link "$LINENO"; then :
10186 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10187 else
10188 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10190 rm -f core conftest.err conftest.$ac_objext \
10191 conftest$ac_exeext conftest.$ac_ext
10192 LIBS=$ac_check_lib_save_LIBS
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10195 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10196 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10198 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10205 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10206 case "x$with_xrender" in
10207 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10208 xno) ;;
10209 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10210 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10211 esac
10215 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10216 then
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10219 #include <X11/Xlib.h>
10220 #include <X11/extensions/Xrandr.h>
10222 main ()
10224 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10226 return 0;
10228 _ACEOF
10229 if ac_fn_c_try_compile "$LINENO"; then :
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10231 $as_echo_n "checking for -lXrandr... " >&6; }
10232 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10233 $as_echo_n "(cached) " >&6
10234 else
10235 ac_check_soname_save_LIBS=$LIBS
10236 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10243 #ifdef __cplusplus
10244 extern "C"
10245 #endif
10246 char XRRQueryExtension ();
10248 main ()
10250 return XRRQueryExtension ();
10252 return 0;
10254 _ACEOF
10255 if ac_fn_c_try_link "$LINENO"; then :
10256 case "$LIBEXT" in
10257 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10258 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'` ;;
10259 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10260 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10261 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10262 fi ;;
10263 esac
10265 rm -f core conftest.err conftest.$ac_objext \
10266 conftest$ac_exeext conftest.$ac_ext
10267 LIBS=$ac_check_soname_save_LIBS
10269 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10271 $as_echo "not found" >&6; }
10273 else
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10275 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10277 cat >>confdefs.h <<_ACEOF
10278 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10279 _ACEOF
10281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10282 /* end confdefs.h. */
10283 #include <X11/Xlib.h>
10284 #include <X11/extensions/Xrandr.h>
10286 main ()
10288 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10290 return 0;
10292 _ACEOF
10293 if ac_fn_c_try_compile "$LINENO"; then :
10295 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10303 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10304 case "x$with_xrandr" in
10305 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10306 xno) ;;
10307 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10308 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10309 esac
10313 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10314 then
10315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10317 #include <X11/Xlib.h>
10318 #include <X11/extensions/Xinerama.h>
10320 main ()
10322 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10324 return 0;
10326 _ACEOF
10327 if ac_fn_c_try_compile "$LINENO"; then :
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10329 $as_echo_n "checking for -lXinerama... " >&6; }
10330 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10331 $as_echo_n "(cached) " >&6
10332 else
10333 ac_check_soname_save_LIBS=$LIBS
10334 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10336 /* end confdefs.h. */
10338 /* Override any GCC internal prototype to avoid an error.
10339 Use char because int might match the return type of a GCC
10340 builtin and then its argument prototype would still apply. */
10341 #ifdef __cplusplus
10342 extern "C"
10343 #endif
10344 char XineramaQueryScreens ();
10346 main ()
10348 return XineramaQueryScreens ();
10350 return 0;
10352 _ACEOF
10353 if ac_fn_c_try_link "$LINENO"; then :
10354 case "$LIBEXT" in
10355 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10356 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'` ;;
10357 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10358 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10359 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10360 fi ;;
10361 esac
10363 rm -f core conftest.err conftest.$ac_objext \
10364 conftest$ac_exeext conftest.$ac_ext
10365 LIBS=$ac_check_soname_save_LIBS
10367 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10369 $as_echo "not found" >&6; }
10371 else
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10373 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10375 cat >>confdefs.h <<_ACEOF
10376 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10377 _ACEOF
10382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10384 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10385 case "x$with_xinerama" in
10386 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10387 xno) ;;
10388 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10389 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10390 esac
10394 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10395 then
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10397 $as_echo_n "checking for -lXcomposite... " >&6; }
10398 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10399 $as_echo_n "(cached) " >&6
10400 else
10401 ac_check_soname_save_LIBS=$LIBS
10402 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10404 /* end confdefs.h. */
10406 /* Override any GCC internal prototype to avoid an error.
10407 Use char because int might match the return type of a GCC
10408 builtin and then its argument prototype would still apply. */
10409 #ifdef __cplusplus
10410 extern "C"
10411 #endif
10412 char XCompositeRedirectWindow ();
10414 main ()
10416 return XCompositeRedirectWindow ();
10418 return 0;
10420 _ACEOF
10421 if ac_fn_c_try_link "$LINENO"; then :
10422 case "$LIBEXT" in
10423 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10424 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'` ;;
10425 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10426 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10427 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10428 fi ;;
10429 esac
10431 rm -f core conftest.err conftest.$ac_objext \
10432 conftest$ac_exeext conftest.$ac_ext
10433 LIBS=$ac_check_soname_save_LIBS
10435 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10437 $as_echo "not found" >&6; }
10439 else
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10441 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10443 cat >>confdefs.h <<_ACEOF
10444 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10445 _ACEOF
10450 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10451 case "x$with_xcomposite" in
10452 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10453 xno) ;;
10454 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10455 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10456 esac
10460 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10461 #include <X11/Xlib.h>
10462 #endif
10464 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10466 cat >>confdefs.h <<_ACEOF
10467 #define HAVE_XICCALLBACK_CALLBACK 1
10468 _ACEOF
10472 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10473 #include <X11/Xlib.h>
10474 #endif
10476 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10478 cat >>confdefs.h <<_ACEOF
10479 #define HAVE_XEVENT_XCOOKIE 1
10480 _ACEOF
10487 opengl_msg=""
10488 if test "x$with_opengl" != "xno"
10489 then
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10491 $as_echo_n "checking for -lGL... " >&6; }
10492 if ${ac_cv_lib_soname_GL+:} false; then :
10493 $as_echo_n "(cached) " >&6
10494 else
10495 ac_check_soname_save_LIBS=$LIBS
10496 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10498 /* end confdefs.h. */
10500 /* Override any GCC internal prototype to avoid an error.
10501 Use char because int might match the return type of a GCC
10502 builtin and then its argument prototype would still apply. */
10503 #ifdef __cplusplus
10504 extern "C"
10505 #endif
10506 char glXCreateContext ();
10508 main ()
10510 return glXCreateContext ();
10512 return 0;
10514 _ACEOF
10515 if ac_fn_c_try_link "$LINENO"; then :
10516 case "$LIBEXT" in
10517 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10518 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'` ;;
10519 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10520 if ${ac_cv_lib_soname_GL:+false} :; then :
10521 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10522 fi ;;
10523 esac
10525 rm -f core conftest.err conftest.$ac_objext \
10526 conftest$ac_exeext conftest.$ac_ext
10527 LIBS=$ac_check_soname_save_LIBS
10529 if ${ac_cv_lib_soname_GL:+false} :; then :
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10531 $as_echo "not found" >&6; }
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10533 $as_echo_n "checking for -lGL... " >&6; }
10534 if ${ac_cv_lib_soname_GL+:} false; then :
10535 $as_echo_n "(cached) " >&6
10536 else
10537 ac_check_soname_save_LIBS=$LIBS
10538 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"
10539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10540 /* end confdefs.h. */
10542 /* Override any GCC internal prototype to avoid an error.
10543 Use char because int might match the return type of a GCC
10544 builtin and then its argument prototype would still apply. */
10545 #ifdef __cplusplus
10546 extern "C"
10547 #endif
10548 char glXCreateContext ();
10550 main ()
10552 return glXCreateContext ();
10554 return 0;
10556 _ACEOF
10557 if ac_fn_c_try_link "$LINENO"; then :
10558 case "$LIBEXT" in
10559 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10560 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'` ;;
10561 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10562 if ${ac_cv_lib_soname_GL:+false} :; then :
10563 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10564 fi ;;
10565 esac
10567 rm -f core conftest.err conftest.$ac_objext \
10568 conftest$ac_exeext conftest.$ac_ext
10569 LIBS=$ac_check_soname_save_LIBS
10571 if ${ac_cv_lib_soname_GL:+false} :; then :
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10573 $as_echo "not found" >&6; }
10574 if test -f /usr/X11R6/lib/libGL.a
10575 then
10576 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10577 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10578 else
10579 opengl_msg="No OpenGL library found on this system."
10581 else
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10583 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10585 cat >>confdefs.h <<_ACEOF
10586 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10587 _ACEOF
10589 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"
10591 else
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10593 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10595 cat >>confdefs.h <<_ACEOF
10596 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10597 _ACEOF
10599 OPENGL_LIBS="-lGL"
10601 if test "x$with_glu" != "xno"
10602 then
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10604 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10605 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10606 $as_echo_n "(cached) " >&6
10607 else
10608 ac_check_lib_save_LIBS=$LIBS
10609 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10611 /* end confdefs.h. */
10613 /* Override any GCC internal prototype to avoid an error.
10614 Use char because int might match the return type of a GCC
10615 builtin and then its argument prototype would still apply. */
10616 #ifdef __cplusplus
10617 extern "C"
10618 #endif
10619 char gluLookAt ();
10621 main ()
10623 return gluLookAt ();
10625 return 0;
10627 _ACEOF
10628 if ac_fn_c_try_link "$LINENO"; then :
10629 ac_cv_lib_GLU_gluLookAt=yes
10630 else
10631 ac_cv_lib_GLU_gluLookAt=no
10633 rm -f core conftest.err conftest.$ac_objext \
10634 conftest$ac_exeext conftest.$ac_ext
10635 LIBS=$ac_check_lib_save_LIBS
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10638 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10639 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10643 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10644 case "x$with_glu" in
10645 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10646 xno) ;;
10647 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10648 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10649 esac
10654 if test "x$with_osmesa" != "xno"
10655 then
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10657 $as_echo_n "checking for -lOSMesa... " >&6; }
10658 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10659 $as_echo_n "(cached) " >&6
10660 else
10661 ac_check_soname_save_LIBS=$LIBS
10662 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h. */
10666 /* Override any GCC internal prototype to avoid an error.
10667 Use char because int might match the return type of a GCC
10668 builtin and then its argument prototype would still apply. */
10669 #ifdef __cplusplus
10670 extern "C"
10671 #endif
10672 char glAccum ();
10674 main ()
10676 return glAccum ();
10678 return 0;
10680 _ACEOF
10681 if ac_fn_c_try_link "$LINENO"; then :
10682 case "$LIBEXT" in
10683 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10684 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'` ;;
10685 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10686 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10687 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10688 fi ;;
10689 esac
10691 rm -f core conftest.err conftest.$ac_objext \
10692 conftest$ac_exeext conftest.$ac_ext
10693 LIBS=$ac_check_soname_save_LIBS
10695 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10697 $as_echo "not found" >&6; }
10699 else
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10701 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10703 cat >>confdefs.h <<_ACEOF
10704 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10705 _ACEOF
10709 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10710 case "x$with_osmesa" in
10711 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10712 xno) ;;
10713 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10714 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10715 esac
10720 if test -n "$opengl_msg"; then :
10721 case "x$with_opengl" in
10722 x) as_fn_append wine_warnings "|$opengl_msg
10723 OpenGL and Direct3D won't be supported." ;;
10724 xno) ;;
10725 *) as_fn_error $? "$opengl_msg
10726 OpenGL and Direct3D won't be supported.
10727 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10728 esac
10732 CPPFLAGS="$ac_save_CPPFLAGS"
10733 else
10734 X_CFLAGS=""
10735 X_LIBS=""
10737 if test "x$X_LIBS" = "x"; then :
10738 case "x$with_x" in
10739 xno) ;;
10740 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10741 without X support, which probably isn't what you want. You will need
10742 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10743 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10744 esac
10745 enable_winex11_drv=${enable_winex11_drv:-no}
10748 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10750 if test "$ac_cv_header_CL_cl_h" = "yes"
10751 then
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10753 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10754 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10755 $as_echo_n "(cached) " >&6
10756 else
10757 ac_check_lib_save_LIBS=$LIBS
10758 LIBS="-lOpenCL $LIBS"
10759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h. */
10762 /* Override any GCC internal prototype to avoid an error.
10763 Use char because int might match the return type of a GCC
10764 builtin and then its argument prototype would still apply. */
10765 #ifdef __cplusplus
10766 extern "C"
10767 #endif
10768 char clGetPlatformInfo ();
10770 main ()
10772 return clGetPlatformInfo ();
10774 return 0;
10776 _ACEOF
10777 if ac_fn_c_try_link "$LINENO"; then :
10778 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10779 else
10780 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10782 rm -f core conftest.err conftest.$ac_objext \
10783 conftest$ac_exeext conftest.$ac_ext
10784 LIBS=$ac_check_lib_save_LIBS
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10787 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10788 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10789 OPENCL_LIBS="-lOpenCL"
10794 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10795 case "x$with_opencl" in
10796 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10797 xno) ;;
10798 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10799 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10800 esac
10801 enable_opencl=${enable_opencl:-no}
10804 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10805 then
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10807 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10808 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10809 $as_echo_n "(cached) " >&6
10810 else
10811 ac_check_lib_save_LIBS=$LIBS
10812 LIBS="-lpcap $LIBS"
10813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10814 /* end confdefs.h. */
10816 /* Override any GCC internal prototype to avoid an error.
10817 Use char because int might match the return type of a GCC
10818 builtin and then its argument prototype would still apply. */
10819 #ifdef __cplusplus
10820 extern "C"
10821 #endif
10822 char pcap_create ();
10824 main ()
10826 return pcap_create ();
10828 return 0;
10830 _ACEOF
10831 if ac_fn_c_try_link "$LINENO"; then :
10832 ac_cv_lib_pcap_pcap_create=yes
10833 else
10834 ac_cv_lib_pcap_pcap_create=no
10836 rm -f core conftest.err conftest.$ac_objext \
10837 conftest$ac_exeext conftest.$ac_ext
10838 LIBS=$ac_check_lib_save_LIBS
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10841 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10842 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10843 PCAP_LIBS="-lpcap"
10848 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10849 case "x$with_pcap" in
10850 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10851 xno) ;;
10852 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10853 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10854 esac
10855 enable_wpcap=${enable_wpcap:-no}
10859 if test "x$with_xml" != "xno"
10860 then
10861 if ${XML2_CFLAGS:+false} :; then :
10862 if ${PKG_CONFIG+:} false; then :
10863 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10866 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10867 if ${XML2_LIBS:+false} :; then :
10868 if ${PKG_CONFIG+:} false; then :
10869 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10872 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10873 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10874 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10875 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10876 ac_save_CPPFLAGS=$CPPFLAGS
10877 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10878 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10879 do :
10880 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10881 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10882 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10883 cat >>confdefs.h <<_ACEOF
10884 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10885 _ACEOF
10889 done
10891 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"
10892 then
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10894 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10895 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10896 $as_echo_n "(cached) " >&6
10897 else
10898 ac_check_lib_save_LIBS=$LIBS
10899 LIBS="-lxml2 $XML2_LIBS $LIBS"
10900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10901 /* end confdefs.h. */
10903 /* Override any GCC internal prototype to avoid an error.
10904 Use char because int might match the return type of a GCC
10905 builtin and then its argument prototype would still apply. */
10906 #ifdef __cplusplus
10907 extern "C"
10908 #endif
10909 char xmlParseMemory ();
10911 main ()
10913 return xmlParseMemory ();
10915 return 0;
10917 _ACEOF
10918 if ac_fn_c_try_link "$LINENO"; then :
10919 ac_cv_lib_xml2_xmlParseMemory=yes
10920 else
10921 ac_cv_lib_xml2_xmlParseMemory=no
10923 rm -f core conftest.err conftest.$ac_objext \
10924 conftest$ac_exeext conftest.$ac_ext
10925 LIBS=$ac_check_lib_save_LIBS
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10928 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10929 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10931 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10933 else
10934 XML2_LIBS=""
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10938 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10939 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10940 $as_echo_n "(cached) " >&6
10941 else
10942 ac_check_lib_save_LIBS=$LIBS
10943 LIBS="-lxml2 $XML2_LIBS $LIBS"
10944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10945 /* end confdefs.h. */
10947 /* Override any GCC internal prototype to avoid an error.
10948 Use char because int might match the return type of a GCC
10949 builtin and then its argument prototype would still apply. */
10950 #ifdef __cplusplus
10951 extern "C"
10952 #endif
10953 char xmlReadMemory ();
10955 main ()
10957 return xmlReadMemory ();
10959 return 0;
10961 _ACEOF
10962 if ac_fn_c_try_link "$LINENO"; then :
10963 ac_cv_lib_xml2_xmlReadMemory=yes
10964 else
10965 ac_cv_lib_xml2_xmlReadMemory=no
10967 rm -f core conftest.err conftest.$ac_objext \
10968 conftest$ac_exeext conftest.$ac_ext
10969 LIBS=$ac_check_lib_save_LIBS
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10972 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10973 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10975 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10980 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10981 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10982 $as_echo_n "(cached) " >&6
10983 else
10984 ac_check_lib_save_LIBS=$LIBS
10985 LIBS="-lxml2 $XML2_LIBS $LIBS"
10986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10989 /* Override any GCC internal prototype to avoid an error.
10990 Use char because int might match the return type of a GCC
10991 builtin and then its argument prototype would still apply. */
10992 #ifdef __cplusplus
10993 extern "C"
10994 #endif
10995 char xmlNewDocPI ();
10997 main ()
10999 return xmlNewDocPI ();
11001 return 0;
11003 _ACEOF
11004 if ac_fn_c_try_link "$LINENO"; then :
11005 ac_cv_lib_xml2_xmlNewDocPI=yes
11006 else
11007 ac_cv_lib_xml2_xmlNewDocPI=no
11009 rm -f core conftest.err conftest.$ac_objext \
11010 conftest$ac_exeext conftest.$ac_ext
11011 LIBS=$ac_check_lib_save_LIBS
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11014 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11015 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11017 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11022 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11023 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11024 $as_echo_n "(cached) " >&6
11025 else
11026 ac_check_lib_save_LIBS=$LIBS
11027 LIBS="-lxml2 $XML2_LIBS $LIBS"
11028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11031 /* Override any GCC internal prototype to avoid an error.
11032 Use char because int might match the return type of a GCC
11033 builtin and then its argument prototype would still apply. */
11034 #ifdef __cplusplus
11035 extern "C"
11036 #endif
11037 char xmlSchemaSetParserStructuredErrors ();
11039 main ()
11041 return xmlSchemaSetParserStructuredErrors ();
11043 return 0;
11045 _ACEOF
11046 if ac_fn_c_try_link "$LINENO"; then :
11047 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11048 else
11049 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11051 rm -f core conftest.err conftest.$ac_objext \
11052 conftest$ac_exeext conftest.$ac_ext
11053 LIBS=$ac_check_lib_save_LIBS
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11056 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11057 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11059 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11064 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11065 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11066 $as_echo_n "(cached) " >&6
11067 else
11068 ac_check_lib_save_LIBS=$LIBS
11069 LIBS="-lxml2 $XML2_LIBS $LIBS"
11070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11071 /* end confdefs.h. */
11073 /* Override any GCC internal prototype to avoid an error.
11074 Use char because int might match the return type of a GCC
11075 builtin and then its argument prototype would still apply. */
11076 #ifdef __cplusplus
11077 extern "C"
11078 #endif
11079 char xmlSchemaSetValidStructuredErrors ();
11081 main ()
11083 return xmlSchemaSetValidStructuredErrors ();
11085 return 0;
11087 _ACEOF
11088 if ac_fn_c_try_link "$LINENO"; then :
11089 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11090 else
11091 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11093 rm -f core conftest.err conftest.$ac_objext \
11094 conftest$ac_exeext conftest.$ac_ext
11095 LIBS=$ac_check_lib_save_LIBS
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11098 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11099 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11101 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11106 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11107 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11108 $as_echo_n "(cached) " >&6
11109 else
11110 ac_check_lib_save_LIBS=$LIBS
11111 LIBS="-lxml2 $XML2_LIBS $LIBS"
11112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11115 /* Override any GCC internal prototype to avoid an error.
11116 Use char because int might match the return type of a GCC
11117 builtin and then its argument prototype would still apply. */
11118 #ifdef __cplusplus
11119 extern "C"
11120 #endif
11121 char xmlFirstElementChild ();
11123 main ()
11125 return xmlFirstElementChild ();
11127 return 0;
11129 _ACEOF
11130 if ac_fn_c_try_link "$LINENO"; then :
11131 ac_cv_lib_xml2_xmlFirstElementChild=yes
11132 else
11133 ac_cv_lib_xml2_xmlFirstElementChild=no
11135 rm -f core conftest.err conftest.$ac_objext \
11136 conftest$ac_exeext conftest.$ac_ext
11137 LIBS=$ac_check_lib_save_LIBS
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11140 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11141 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11143 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11147 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11149 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11151 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11155 else
11156 XML2_CFLAGS=""
11157 XML2_LIBS=""
11159 CPPFLAGS=$ac_save_CPPFLAGS
11160 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11161 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11164 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11165 case "x$with_xml" in
11166 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11167 xno) ;;
11168 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11169 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11170 esac
11174 if test "x$with_xslt" != "xno"
11175 then
11176 if ${XSLT_CFLAGS:+false} :; then :
11177 if ${PKG_CONFIG+:} false; then :
11178 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11181 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11182 if ${XSLT_LIBS:+false} :; then :
11183 if ${PKG_CONFIG+:} false; then :
11184 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11187 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11188 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11189 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11190 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11191 ac_save_CPPFLAGS=$CPPFLAGS
11192 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11193 for ac_header in libxslt/pattern.h libxslt/transform.h
11194 do :
11195 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11196 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11197 # include <libxslt/pattern.h>
11198 #endif
11200 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11201 cat >>confdefs.h <<_ACEOF
11202 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11203 _ACEOF
11207 done
11209 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11210 then
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11212 $as_echo_n "checking for -lxslt... " >&6; }
11213 if ${ac_cv_lib_soname_xslt+:} false; then :
11214 $as_echo_n "(cached) " >&6
11215 else
11216 ac_check_soname_save_LIBS=$LIBS
11217 LIBS="-lxslt $XSLT_LIBS $LIBS"
11218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11221 /* Override any GCC internal prototype to avoid an error.
11222 Use char because int might match the return type of a GCC
11223 builtin and then its argument prototype would still apply. */
11224 #ifdef __cplusplus
11225 extern "C"
11226 #endif
11227 char xsltCompilePattern ();
11229 main ()
11231 return xsltCompilePattern ();
11233 return 0;
11235 _ACEOF
11236 if ac_fn_c_try_link "$LINENO"; then :
11237 case "$LIBEXT" in
11238 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11239 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'` ;;
11240 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11241 if ${ac_cv_lib_soname_xslt:+false} :; then :
11242 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11243 fi ;;
11244 esac
11246 rm -f core conftest.err conftest.$ac_objext \
11247 conftest$ac_exeext conftest.$ac_ext
11248 LIBS=$ac_check_soname_save_LIBS
11250 if ${ac_cv_lib_soname_xslt:+false} :; then :
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11252 $as_echo "not found" >&6; }
11254 else
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11256 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11258 cat >>confdefs.h <<_ACEOF
11259 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11260 _ACEOF
11264 else
11265 XSLT_CFLAGS=""
11267 CPPFLAGS=$ac_save_CPPFLAGS
11268 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11269 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11272 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11273 case "x$with_xslt" in
11274 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11275 xno) ;;
11276 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11277 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11278 esac
11282 if test "x$with_dbus" != "xno"
11283 then
11284 if ${DBUS_CFLAGS:+false} :; then :
11285 if ${PKG_CONFIG+:} false; then :
11286 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11290 if ${DBUS_LIBS:+false} :; then :
11291 if ${PKG_CONFIG+:} false; then :
11292 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11297 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11298 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11299 ac_save_CPPFLAGS=$CPPFLAGS
11300 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11301 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11302 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11304 $as_echo_n "checking for -ldbus-1... " >&6; }
11305 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11306 $as_echo_n "(cached) " >&6
11307 else
11308 ac_check_soname_save_LIBS=$LIBS
11309 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11311 /* end confdefs.h. */
11313 /* Override any GCC internal prototype to avoid an error.
11314 Use char because int might match the return type of a GCC
11315 builtin and then its argument prototype would still apply. */
11316 #ifdef __cplusplus
11317 extern "C"
11318 #endif
11319 char dbus_connection_close ();
11321 main ()
11323 return dbus_connection_close ();
11325 return 0;
11327 _ACEOF
11328 if ac_fn_c_try_link "$LINENO"; then :
11329 case "$LIBEXT" in
11330 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11331 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'` ;;
11332 *) 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'`
11333 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11334 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11335 fi ;;
11336 esac
11338 rm -f core conftest.err conftest.$ac_objext \
11339 conftest$ac_exeext conftest.$ac_ext
11340 LIBS=$ac_check_soname_save_LIBS
11342 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11344 $as_echo "not found" >&6; }
11345 DBUS_CFLAGS=""
11346 else
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11348 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11350 cat >>confdefs.h <<_ACEOF
11351 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11352 _ACEOF
11356 else
11357 DBUS_CFLAGS=""
11361 CPPFLAGS=$ac_save_CPPFLAGS
11362 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11363 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11366 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11367 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11368 case "x$with_dbus" in
11369 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11370 xno) ;;
11371 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11372 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11373 esac
11377 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11378 then
11379 if ${HAL_CFLAGS:+false} :; then :
11380 if ${PKG_CONFIG+:} false; then :
11381 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11385 if ${HAL_LIBS:+false} :; then :
11386 if ${PKG_CONFIG+:} false; then :
11387 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11391 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11392 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11393 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11394 ac_save_CPPFLAGS=$CPPFLAGS
11395 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11396 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11397 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11399 $as_echo_n "checking for -lhal... " >&6; }
11400 if ${ac_cv_lib_soname_hal+:} false; then :
11401 $as_echo_n "(cached) " >&6
11402 else
11403 ac_check_soname_save_LIBS=$LIBS
11404 LIBS="-lhal $HAL_LIBS $LIBS"
11405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11408 /* Override any GCC internal prototype to avoid an error.
11409 Use char because int might match the return type of a GCC
11410 builtin and then its argument prototype would still apply. */
11411 #ifdef __cplusplus
11412 extern "C"
11413 #endif
11414 char libhal_ctx_new ();
11416 main ()
11418 return libhal_ctx_new ();
11420 return 0;
11422 _ACEOF
11423 if ac_fn_c_try_link "$LINENO"; then :
11424 case "$LIBEXT" in
11425 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11426 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'` ;;
11427 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11428 if ${ac_cv_lib_soname_hal:+false} :; then :
11429 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11430 fi ;;
11431 esac
11433 rm -f core conftest.err conftest.$ac_objext \
11434 conftest$ac_exeext conftest.$ac_ext
11435 LIBS=$ac_check_soname_save_LIBS
11437 if ${ac_cv_lib_soname_hal:+false} :; then :
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11439 $as_echo "not found" >&6; }
11440 HAL_CFLAGS=""
11441 else
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11443 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11445 cat >>confdefs.h <<_ACEOF
11446 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11447 _ACEOF
11451 else
11452 HAL_CFLAGS=""
11456 CPPFLAGS=$ac_save_CPPFLAGS
11457 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11458 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11460 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11461 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11462 case "x$with_hal" in
11463 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11464 xno) ;;
11465 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11466 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11467 esac
11472 if test "x$with_gnutls" != "xno"
11473 then
11474 if ${GNUTLS_CFLAGS:+false} :; then :
11475 if ${PKG_CONFIG+:} false; then :
11476 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11480 if ${GNUTLS_LIBS:+false} :; then :
11481 if ${PKG_CONFIG+:} false; then :
11482 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11487 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11488 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11489 ac_save_CPPFLAGS=$CPPFLAGS
11490 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11491 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11492 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11495 #include <gnutls/gnutls.h>
11496 #include <gnutls/crypto.h>
11498 main ()
11500 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11502 return 0;
11504 _ACEOF
11505 if ac_fn_c_try_compile "$LINENO"; then :
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11507 $as_echo_n "checking for -lgnutls... " >&6; }
11508 if ${ac_cv_lib_soname_gnutls+:} false; then :
11509 $as_echo_n "(cached) " >&6
11510 else
11511 ac_check_soname_save_LIBS=$LIBS
11512 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11514 /* end confdefs.h. */
11516 /* Override any GCC internal prototype to avoid an error.
11517 Use char because int might match the return type of a GCC
11518 builtin and then its argument prototype would still apply. */
11519 #ifdef __cplusplus
11520 extern "C"
11521 #endif
11522 char gnutls_global_init ();
11524 main ()
11526 return gnutls_global_init ();
11528 return 0;
11530 _ACEOF
11531 if ac_fn_c_try_link "$LINENO"; then :
11532 case "$LIBEXT" in
11533 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11534 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'` ;;
11535 *) 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'`
11536 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11537 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'`
11538 fi ;;
11539 esac
11541 rm -f core conftest.err conftest.$ac_objext \
11542 conftest$ac_exeext conftest.$ac_ext
11543 LIBS=$ac_check_soname_save_LIBS
11545 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11547 $as_echo "not found" >&6; }
11548 GNUTLS_CFLAGS=""
11549 else
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11551 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11553 cat >>confdefs.h <<_ACEOF
11554 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11555 _ACEOF
11559 ac_wine_check_funcs_save_LIBS="$LIBS"
11560 LIBS="$LIBS $GNUTLS_LIBS"
11561 for ac_func in gnutls_hash
11562 do :
11563 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11564 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11565 cat >>confdefs.h <<_ACEOF
11566 #define HAVE_GNUTLS_HASH 1
11567 _ACEOF
11569 else
11570 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11572 done
11574 LIBS="$ac_wine_check_funcs_save_LIBS"
11576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11577 else
11578 GNUTLS_CFLAGS=""
11582 CPPFLAGS=$ac_save_CPPFLAGS
11583 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11584 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11587 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11588 case "x$with_gnutls" in
11589 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11590 xno) ;;
11591 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11592 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11593 esac
11597 CURSES_LIBS=""
11598 if test "$ac_cv_header_ncurses_h" = "yes"
11599 then
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11601 $as_echo_n "checking for -lncurses... " >&6; }
11602 if ${ac_cv_lib_soname_ncurses+:} false; then :
11603 $as_echo_n "(cached) " >&6
11604 else
11605 ac_check_soname_save_LIBS=$LIBS
11606 LIBS="-lncurses $LIBS"
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11610 /* Override any GCC internal prototype to avoid an error.
11611 Use char because int might match the return type of a GCC
11612 builtin and then its argument prototype would still apply. */
11613 #ifdef __cplusplus
11614 extern "C"
11615 #endif
11616 char waddch ();
11618 main ()
11620 return waddch ();
11622 return 0;
11624 _ACEOF
11625 if ac_fn_c_try_link "$LINENO"; then :
11626 case "$LIBEXT" in
11627 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11628 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'` ;;
11629 *) 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'`
11630 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11631 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11632 fi ;;
11633 esac
11635 rm -f core conftest.err conftest.$ac_objext \
11636 conftest$ac_exeext conftest.$ac_ext
11637 LIBS=$ac_check_soname_save_LIBS
11639 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11641 $as_echo "not found" >&6; }
11643 else
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11645 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11647 cat >>confdefs.h <<_ACEOF
11648 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11649 _ACEOF
11651 CURSES_LIBS="-lncurses"
11653 elif test "$ac_cv_header_curses_h" = "yes"
11654 then
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11656 $as_echo_n "checking for -lcurses... " >&6; }
11657 if ${ac_cv_lib_soname_curses+:} false; then :
11658 $as_echo_n "(cached) " >&6
11659 else
11660 ac_check_soname_save_LIBS=$LIBS
11661 LIBS="-lcurses $LIBS"
11662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11663 /* end confdefs.h. */
11665 /* Override any GCC internal prototype to avoid an error.
11666 Use char because int might match the return type of a GCC
11667 builtin and then its argument prototype would still apply. */
11668 #ifdef __cplusplus
11669 extern "C"
11670 #endif
11671 char waddch ();
11673 main ()
11675 return waddch ();
11677 return 0;
11679 _ACEOF
11680 if ac_fn_c_try_link "$LINENO"; then :
11681 case "$LIBEXT" in
11682 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11683 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'` ;;
11684 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11685 if ${ac_cv_lib_soname_curses:+false} :; then :
11686 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11687 fi ;;
11688 esac
11690 rm -f core conftest.err conftest.$ac_objext \
11691 conftest$ac_exeext conftest.$ac_ext
11692 LIBS=$ac_check_soname_save_LIBS
11694 if ${ac_cv_lib_soname_curses:+false} :; then :
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11696 $as_echo "not found" >&6; }
11698 else
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11700 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11702 cat >>confdefs.h <<_ACEOF
11703 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11704 _ACEOF
11706 CURSES_LIBS="-lcurses"
11709 ac_save_LIBS="$LIBS"
11710 LIBS="$LIBS $CURSES_LIBS"
11711 for ac_func in mousemask
11712 do :
11713 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11714 if test "x$ac_cv_func_mousemask" = xyes; then :
11715 cat >>confdefs.h <<_ACEOF
11716 #define HAVE_MOUSEMASK 1
11717 _ACEOF
11720 done
11722 LIBS="$ac_save_LIBS"
11723 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11724 case "x$with_curses" in
11725 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11726 xno) ;;
11727 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11728 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11729 esac
11733 if test "x$with_sane" != "xno"
11734 then
11735 if ${SANE_CFLAGS:+false} :; then :
11736 if ${PKG_CONFIG+:} false; then :
11737 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11740 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11741 if ${SANE_LIBS:+false} :; then :
11742 if ${PKG_CONFIG+:} false; then :
11743 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11746 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11748 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11749 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11750 ac_save_CPPFLAGS=$CPPFLAGS
11751 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11752 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11753 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11755 $as_echo_n "checking for -lsane... " >&6; }
11756 if ${ac_cv_lib_soname_sane+:} false; then :
11757 $as_echo_n "(cached) " >&6
11758 else
11759 ac_check_soname_save_LIBS=$LIBS
11760 LIBS="-lsane $SANE_LIBS $LIBS"
11761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11762 /* end confdefs.h. */
11764 /* Override any GCC internal prototype to avoid an error.
11765 Use char because int might match the return type of a GCC
11766 builtin and then its argument prototype would still apply. */
11767 #ifdef __cplusplus
11768 extern "C"
11769 #endif
11770 char sane_init ();
11772 main ()
11774 return sane_init ();
11776 return 0;
11778 _ACEOF
11779 if ac_fn_c_try_link "$LINENO"; then :
11780 case "$LIBEXT" in
11781 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11782 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'` ;;
11783 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11784 if ${ac_cv_lib_soname_sane:+false} :; then :
11785 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11786 fi ;;
11787 esac
11789 rm -f core conftest.err conftest.$ac_objext \
11790 conftest$ac_exeext conftest.$ac_ext
11791 LIBS=$ac_check_soname_save_LIBS
11793 if ${ac_cv_lib_soname_sane:+false} :; then :
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11795 $as_echo "not found" >&6; }
11796 SANE_CFLAGS=""
11797 else
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11799 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11801 cat >>confdefs.h <<_ACEOF
11802 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11803 _ACEOF
11807 else
11808 SANE_CFLAGS=""
11812 CPPFLAGS=$ac_save_CPPFLAGS
11813 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11814 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11817 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11818 case "x$with_sane" in
11819 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11820 xno) ;;
11821 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11822 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11823 esac
11827 if test "x$with_v4l" != "xno"
11828 then
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11830 $as_echo_n "checking for -lv4l1... " >&6; }
11831 if ${ac_cv_lib_soname_v4l1+:} false; then :
11832 $as_echo_n "(cached) " >&6
11833 else
11834 ac_check_soname_save_LIBS=$LIBS
11835 LIBS="-lv4l1 $LIBS"
11836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11837 /* end confdefs.h. */
11839 /* Override any GCC internal prototype to avoid an error.
11840 Use char because int might match the return type of a GCC
11841 builtin and then its argument prototype would still apply. */
11842 #ifdef __cplusplus
11843 extern "C"
11844 #endif
11845 char v4l1_open ();
11847 main ()
11849 return v4l1_open ();
11851 return 0;
11853 _ACEOF
11854 if ac_fn_c_try_link "$LINENO"; then :
11855 case "$LIBEXT" in
11856 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11857 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'` ;;
11858 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11859 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11860 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11861 fi ;;
11862 esac
11864 rm -f core conftest.err conftest.$ac_objext \
11865 conftest$ac_exeext conftest.$ac_ext
11866 LIBS=$ac_check_soname_save_LIBS
11868 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11870 $as_echo "not found" >&6; }
11872 else
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11874 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11876 cat >>confdefs.h <<_ACEOF
11877 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11878 _ACEOF
11883 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11884 case "x$with_v4l" in
11885 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11886 xno) ;;
11887 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11888 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11889 esac
11893 if test "x$with_gphoto" != "xno"
11894 then
11895 if ${GPHOTO2_CFLAGS:+false} :; then :
11896 if ${PKG_CONFIG+:} false; then :
11897 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11900 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11901 if ${GPHOTO2_LIBS:+false} :; then :
11902 if ${PKG_CONFIG+:} false; then :
11903 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11906 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11907 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11908 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11909 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11910 ac_save_CPPFLAGS=$CPPFLAGS
11911 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11912 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11913 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11915 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11916 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11917 $as_echo_n "(cached) " >&6
11918 else
11919 ac_check_lib_save_LIBS=$LIBS
11920 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11922 /* end confdefs.h. */
11924 /* Override any GCC internal prototype to avoid an error.
11925 Use char because int might match the return type of a GCC
11926 builtin and then its argument prototype would still apply. */
11927 #ifdef __cplusplus
11928 extern "C"
11929 #endif
11930 char gp_camera_new ();
11932 main ()
11934 return gp_camera_new ();
11936 return 0;
11938 _ACEOF
11939 if ac_fn_c_try_link "$LINENO"; then :
11940 ac_cv_lib_gphoto2_gp_camera_new=yes
11941 else
11942 ac_cv_lib_gphoto2_gp_camera_new=no
11944 rm -f core conftest.err conftest.$ac_objext \
11945 conftest$ac_exeext conftest.$ac_ext
11946 LIBS=$ac_check_lib_save_LIBS
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11949 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11950 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11952 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11954 else
11955 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11958 else
11959 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11963 CPPFLAGS=$ac_save_CPPFLAGS
11964 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11965 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11967 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11968 if ${PKG_CONFIG+:} false; then :
11969 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11972 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11973 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11974 if ${PKG_CONFIG+:} false; then :
11975 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11978 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
11979 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11980 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11981 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11982 ac_save_CPPFLAGS=$CPPFLAGS
11983 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11984 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11985 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11987 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11988 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11989 $as_echo_n "(cached) " >&6
11990 else
11991 ac_check_lib_save_LIBS=$LIBS
11992 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
11999 #ifdef __cplusplus
12000 extern "C"
12001 #endif
12002 char gp_port_info_list_new ();
12004 main ()
12006 return gp_port_info_list_new ();
12008 return 0;
12010 _ACEOF
12011 if ac_fn_c_try_link "$LINENO"; then :
12012 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12013 else
12014 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12016 rm -f core conftest.err conftest.$ac_objext \
12017 conftest$ac_exeext conftest.$ac_ext
12018 LIBS=$ac_check_lib_save_LIBS
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12021 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12022 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12024 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12026 else
12027 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12030 else
12031 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12035 CPPFLAGS=$ac_save_CPPFLAGS
12036 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12037 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12040 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12041 case "x$with_gphoto" in
12042 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12043 xno) ;;
12044 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12045 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12046 esac
12049 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12050 case "x$with_gphoto" in
12051 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12052 xno) ;;
12053 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12054 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12055 esac
12060 if test "$ac_cv_header_resolv_h" = "yes"
12061 then
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12063 $as_echo_n "checking for resolver library... " >&6; }
12064 if ${ac_cv_have_resolv+:} false; then :
12065 $as_echo_n "(cached) " >&6
12066 else
12067 ac_save_LIBS="$LIBS"
12068 for lib in '' -lresolv
12070 LIBS="$lib $ac_save_LIBS"
12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12073 #ifdef HAVE_NETINET_IN_H
12074 #include <netinet/in.h>
12075 #endif
12076 #include <resolv.h>
12078 main ()
12080 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12082 return 0;
12084 _ACEOF
12085 if ac_fn_c_try_link "$LINENO"; then :
12086 ac_cv_have_resolv=${lib:-"none required"}
12087 else
12088 ac_cv_have_resolv="not found"
12090 rm -f core conftest.err conftest.$ac_objext \
12091 conftest$ac_exeext conftest.$ac_ext
12092 test "x$ac_cv_have_resolv" = "xnot found" || break
12093 done
12094 LIBS="$ac_save_LIBS"
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12097 $as_echo "$ac_cv_have_resolv" >&6; }
12099 case "$ac_cv_have_resolv" in
12100 "not found") ;;
12101 "none required")
12103 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12106 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12108 RESOLV_LIBS=$ac_cv_have_resolv
12110 esac
12113 if test "x$with_cms" != "xno"
12114 then
12115 if ${LCMS2_CFLAGS:+false} :; then :
12116 if ${PKG_CONFIG+:} false; then :
12117 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12121 if ${LCMS2_LIBS:+false} :; then :
12122 if ${PKG_CONFIG+:} false; then :
12123 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12127 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12128 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12129 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12130 ac_save_CPPFLAGS=$CPPFLAGS
12131 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12132 for ac_header in lcms2.h
12133 do :
12134 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12135 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12136 cat >>confdefs.h <<_ACEOF
12137 #define HAVE_LCMS2_H 1
12138 _ACEOF
12142 done
12144 if test "$ac_cv_header_lcms2_h" = "yes"
12145 then
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12147 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12148 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12149 $as_echo_n "(cached) " >&6
12150 else
12151 ac_check_lib_save_LIBS=$LIBS
12152 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12154 /* end confdefs.h. */
12156 /* Override any GCC internal prototype to avoid an error.
12157 Use char because int might match the return type of a GCC
12158 builtin and then its argument prototype would still apply. */
12159 #ifdef __cplusplus
12160 extern "C"
12161 #endif
12162 char cmsOpenProfileFromFile ();
12164 main ()
12166 return cmsOpenProfileFromFile ();
12168 return 0;
12170 _ACEOF
12171 if ac_fn_c_try_link "$LINENO"; then :
12172 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12173 else
12174 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12176 rm -f core conftest.err conftest.$ac_objext \
12177 conftest$ac_exeext conftest.$ac_ext
12178 LIBS=$ac_check_lib_save_LIBS
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12181 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12182 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12184 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12186 else
12187 LCMS2_LIBS=""
12190 else
12191 LCMS2_CFLAGS=""
12192 LCMS2_LIBS=""
12194 CPPFLAGS=$ac_save_CPPFLAGS
12195 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12196 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12199 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12200 case "x$with_cms" in
12201 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12202 xno) ;;
12203 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12204 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12205 esac
12209 if test "x$with_freetype" != "xno"
12210 then
12211 if ${FREETYPE_CFLAGS:+false} :; then :
12212 if ${PKG_CONFIG+:} false; then :
12213 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12216 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12217 if ${FREETYPE_LIBS:+false} :; then :
12218 if ${PKG_CONFIG+:} false; then :
12219 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12222 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12223 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12224 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12225 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12226 ac_save_CPPFLAGS=$CPPFLAGS
12227 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12228 for ac_header in ft2build.h
12229 do :
12230 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12231 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12232 cat >>confdefs.h <<_ACEOF
12233 #define HAVE_FT2BUILD_H 1
12234 _ACEOF
12238 done
12240 if test "$ac_cv_header_ft2build_h" = "yes"
12241 then
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12243 $as_echo_n "checking for -lfreetype... " >&6; }
12244 if ${ac_cv_lib_soname_freetype+:} false; then :
12245 $as_echo_n "(cached) " >&6
12246 else
12247 ac_check_soname_save_LIBS=$LIBS
12248 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12250 /* end confdefs.h. */
12252 /* Override any GCC internal prototype to avoid an error.
12253 Use char because int might match the return type of a GCC
12254 builtin and then its argument prototype would still apply. */
12255 #ifdef __cplusplus
12256 extern "C"
12257 #endif
12258 char FT_Init_FreeType ();
12260 main ()
12262 return FT_Init_FreeType ();
12264 return 0;
12266 _ACEOF
12267 if ac_fn_c_try_link "$LINENO"; then :
12268 case "$LIBEXT" in
12269 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12270 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'` ;;
12271 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12272 if ${ac_cv_lib_soname_freetype:+false} :; then :
12273 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12274 fi ;;
12275 esac
12277 rm -f core conftest.err conftest.$ac_objext \
12278 conftest$ac_exeext conftest.$ac_ext
12279 LIBS=$ac_check_soname_save_LIBS
12281 if ${ac_cv_lib_soname_freetype:+false} :; then :
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12283 $as_echo "not found" >&6; }
12284 FREETYPE_LIBS=""
12285 else
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12287 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12289 cat >>confdefs.h <<_ACEOF
12290 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12291 _ACEOF
12294 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12296 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12297 #include FT_MODULE_H
12299 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12301 cat >>confdefs.h <<_ACEOF
12302 #define HAVE_FT_TRUETYPEENGINETYPE 1
12303 _ACEOF
12309 else
12310 FREETYPE_CFLAGS=""
12311 FREETYPE_LIBS=""
12313 CPPFLAGS=$ac_save_CPPFLAGS
12314 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12315 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12318 if test "x$ac_cv_lib_soname_freetype" = x; then :
12319 case "x$with_freetype" in
12320 xno) ;;
12321 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12322 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12323 esac
12324 enable_fonts=${enable_fonts:-no}
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12328 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12329 if ${ac_cv_c_ppdev+:} false; then :
12330 $as_echo_n "(cached) " >&6
12331 else
12332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12333 /* end confdefs.h. */
12334 #ifdef HAVE_SYS_IOCTL_H
12335 # include <sys/ioctl.h>
12336 #endif
12337 #include <linux/ppdev.h>
12339 main ()
12341 ioctl (1,PPCLAIM,0)
12343 return 0;
12345 _ACEOF
12346 if ac_fn_c_try_compile "$LINENO"; then :
12347 ac_cv_c_ppdev="yes"
12348 else
12349 ac_cv_c_ppdev="no"
12351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12354 $as_echo "$ac_cv_c_ppdev" >&6; }
12355 if test "$ac_cv_c_ppdev" = "yes"
12356 then
12358 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12362 ac_wine_check_funcs_save_LIBS="$LIBS"
12363 LIBS="$LIBS $PTHREAD_LIBS"
12364 for ac_func in \
12365 pthread_attr_get_np \
12366 pthread_getattr_np \
12367 pthread_getthreadid_np \
12368 pthread_get_stackaddr_np \
12369 pthread_get_stacksize_np
12370 do :
12371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12373 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12374 cat >>confdefs.h <<_ACEOF
12375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12376 _ACEOF
12379 done
12381 LIBS="$ac_wine_check_funcs_save_LIBS"
12383 if test "$ac_cv_header_zlib_h" = "yes"
12384 then
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12386 $as_echo_n "checking for inflate in -lz... " >&6; }
12387 if ${ac_cv_lib_z_inflate+:} false; then :
12388 $as_echo_n "(cached) " >&6
12389 else
12390 ac_check_lib_save_LIBS=$LIBS
12391 LIBS="-lz $LIBS"
12392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12393 /* end confdefs.h. */
12395 /* Override any GCC internal prototype to avoid an error.
12396 Use char because int might match the return type of a GCC
12397 builtin and then its argument prototype would still apply. */
12398 #ifdef __cplusplus
12399 extern "C"
12400 #endif
12401 char inflate ();
12403 main ()
12405 return inflate ();
12407 return 0;
12409 _ACEOF
12410 if ac_fn_c_try_link "$LINENO"; then :
12411 ac_cv_lib_z_inflate=yes
12412 else
12413 ac_cv_lib_z_inflate=no
12415 rm -f core conftest.err conftest.$ac_objext \
12416 conftest$ac_exeext conftest.$ac_ext
12417 LIBS=$ac_check_lib_save_LIBS
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12420 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12421 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12423 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12425 Z_LIBS="-lz"
12430 if test "x$Z_LIBS" = "x"; then :
12431 case "x$with_zlib" in
12432 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12433 xno) ;;
12434 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12435 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12436 esac
12440 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12441 then
12442 if test "$ac_cv_header_gettext_po_h" = "yes"
12443 then
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12445 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12446 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12447 $as_echo_n "(cached) " >&6
12448 else
12449 ac_check_lib_save_LIBS=$LIBS
12450 LIBS="-lgettextpo $LIBS"
12451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12452 /* end confdefs.h. */
12454 /* Override any GCC internal prototype to avoid an error.
12455 Use char because int might match the return type of a GCC
12456 builtin and then its argument prototype would still apply. */
12457 #ifdef __cplusplus
12458 extern "C"
12459 #endif
12460 char po_message_msgctxt ();
12462 main ()
12464 return po_message_msgctxt ();
12466 return 0;
12468 _ACEOF
12469 if ac_fn_c_try_link "$LINENO"; then :
12470 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12471 else
12472 ac_cv_lib_gettextpo_po_message_msgctxt=no
12474 rm -f core conftest.err conftest.$ac_objext \
12475 conftest$ac_exeext conftest.$ac_ext
12476 LIBS=$ac_check_lib_save_LIBS
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12479 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12480 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12482 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12484 GETTEXTPO_LIBS="-lgettextpo"
12489 if test "x$GETTEXTPO_LIBS" = "x"; then :
12490 case "x$with_gettextpo" in
12491 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12492 xno) ;;
12493 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12494 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12495 esac
12498 if test "$srcdir" != .; then :
12499 case "x$with_gettextpo" in
12500 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12501 xno) ;;
12502 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12503 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12504 esac
12509 if test "x$with_pulse" != "xno";
12510 then
12511 if ${PULSE_CFLAGS:+false} :; then :
12512 if ${PKG_CONFIG+:} false; then :
12513 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12517 if ${PULSE_LIBS:+false} :; then :
12518 if ${PKG_CONFIG+:} false; then :
12519 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12524 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12525 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12526 ac_save_CPPFLAGS=$CPPFLAGS
12527 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12528 for ac_header in pulse/pulseaudio.h
12529 do :
12530 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12531 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12532 cat >>confdefs.h <<_ACEOF
12533 #define HAVE_PULSE_PULSEAUDIO_H 1
12534 _ACEOF
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12536 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12537 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12538 $as_echo_n "(cached) " >&6
12539 else
12540 ac_check_lib_save_LIBS=$LIBS
12541 LIBS="-lpulse $PULSE_LIBS $LIBS"
12542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12543 /* end confdefs.h. */
12545 /* Override any GCC internal prototype to avoid an error.
12546 Use char because int might match the return type of a GCC
12547 builtin and then its argument prototype would still apply. */
12548 #ifdef __cplusplus
12549 extern "C"
12550 #endif
12551 char pa_stream_is_corked ();
12553 main ()
12555 return pa_stream_is_corked ();
12557 return 0;
12559 _ACEOF
12560 if ac_fn_c_try_link "$LINENO"; then :
12561 ac_cv_lib_pulse_pa_stream_is_corked=yes
12562 else
12563 ac_cv_lib_pulse_pa_stream_is_corked=no
12565 rm -f core conftest.err conftest.$ac_objext \
12566 conftest$ac_exeext conftest.$ac_ext
12567 LIBS=$ac_check_lib_save_LIBS
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12570 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12571 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12573 else
12574 PULSE_LIBS=""
12577 else
12578 PULSE_LIBS=""
12581 done
12583 CPPFLAGS=$ac_save_CPPFLAGS
12584 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12585 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12588 if test -z "$PULSE_LIBS"; then :
12589 case "x$with_pulse" in
12590 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12591 xno) ;;
12592 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12593 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12594 esac
12595 enable_winepulse_drv=${enable_winepulse_drv:-no}
12598 if test "x$with_gstreamer" != "xno"
12599 then
12600 if ${GSTREAMER_CFLAGS:+false} :; then :
12601 if ${PKG_CONFIG+:} false; then :
12602 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12606 if ${GSTREAMER_LIBS:+false} :; then :
12607 if ${PKG_CONFIG+:} false; then :
12608 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12613 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12614 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12615 ac_save_CPPFLAGS=$CPPFLAGS
12616 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12617 ac_gst_incl=""
12618 for i in $GSTREAMER_CFLAGS
12620 case "$i" in
12621 -I*) ac_gst_incl="$ac_gst_incl $i";;
12622 esac
12623 done
12624 GSTREAMER_CFLAGS=$ac_gst_incl
12625 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12626 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12627 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12629 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12631 /* end confdefs.h. */
12632 #include <gst/gst.h>
12634 main ()
12636 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12638 return 0;
12640 _ACEOF
12641 if ac_fn_c_try_compile "$LINENO"; then :
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12643 $as_echo "yes" >&6; }
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12645 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12646 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12647 $as_echo_n "(cached) " >&6
12648 else
12649 ac_check_lib_save_LIBS=$LIBS
12650 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12652 /* end confdefs.h. */
12654 /* Override any GCC internal prototype to avoid an error.
12655 Use char because int might match the return type of a GCC
12656 builtin and then its argument prototype would still apply. */
12657 #ifdef __cplusplus
12658 extern "C"
12659 #endif
12660 char gst_pad_new ();
12662 main ()
12664 return gst_pad_new ();
12666 return 0;
12668 _ACEOF
12669 if ac_fn_c_try_link "$LINENO"; then :
12670 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12671 else
12672 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12674 rm -f core conftest.err conftest.$ac_objext \
12675 conftest$ac_exeext conftest.$ac_ext
12676 LIBS=$ac_check_lib_save_LIBS
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12679 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12680 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12684 else
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12686 $as_echo "no" >&6; }
12687 ac_glib2_broken=yes
12688 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12694 CPPFLAGS=$ac_save_CPPFLAGS
12695 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12696 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12699 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 :
12700 case "x$with_gstreamer" in
12701 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12702 xno) ;;
12703 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12704 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12705 esac
12708 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12710 ALSA_LIBS=""
12712 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12713 then
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12715 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12716 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12717 $as_echo_n "(cached) " >&6
12718 else
12719 ac_check_lib_save_LIBS=$LIBS
12720 LIBS="-lasound $LIBS"
12721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12724 /* Override any GCC internal prototype to avoid an error.
12725 Use char because int might match the return type of a GCC
12726 builtin and then its argument prototype would still apply. */
12727 #ifdef __cplusplus
12728 extern "C"
12729 #endif
12730 char snd_pcm_hw_params_get_access_mask ();
12732 main ()
12734 return snd_pcm_hw_params_get_access_mask ();
12736 return 0;
12738 _ACEOF
12739 if ac_fn_c_try_link "$LINENO"; then :
12740 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12741 else
12742 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12744 rm -f core conftest.err conftest.$ac_objext \
12745 conftest$ac_exeext conftest.$ac_ext
12746 LIBS=$ac_check_lib_save_LIBS
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12749 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12750 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12753 #ifdef HAVE_ALSA_ASOUNDLIB_H
12754 #include <alsa/asoundlib.h>
12755 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12756 #include <sys/asoundlib.h>
12757 #endif
12759 main ()
12761 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12763 return 0;
12765 _ACEOF
12766 if ac_fn_c_try_compile "$LINENO"; then :
12767 ALSA_LIBS="-lasound"
12769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12773 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12775 if test "x$with_oss" != xno
12776 then
12777 ac_save_CPPFLAGS="$CPPFLAGS"
12778 if test -f /etc/oss.conf
12779 then
12780 . /etc/oss.conf
12782 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12783 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12784 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12785 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12786 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12788 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12790 cat >>confdefs.h <<_ACEOF
12791 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12792 _ACEOF
12794 OSS4_CFLAGS="$ac_oss_incl"
12801 CPPFLAGS="$ac_save_CPPFLAGS"
12803 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12804 case "x$with_oss" in
12805 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12806 xno) ;;
12807 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12808 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12809 esac
12810 enable_wineoss_drv=${enable_wineoss_drv:-no}
12813 if test "x$with_capi" != "xno"
12814 then
12815 if ${CAPI20_CFLAGS:+false} :; then :
12816 if ${PKG_CONFIG+:} false; then :
12817 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12821 if ${CAPI20_LIBS:+false} :; then :
12822 if ${PKG_CONFIG+:} false; then :
12823 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12828 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12829 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12830 ac_save_CPPFLAGS=$CPPFLAGS
12831 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12832 for ac_header in capi20.h linux/capi.h
12833 do :
12834 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12835 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12837 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12838 cat >>confdefs.h <<_ACEOF
12839 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12840 _ACEOF
12844 done
12846 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12847 then
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12849 $as_echo_n "checking for -lcapi20... " >&6; }
12850 if ${ac_cv_lib_soname_capi20+:} false; then :
12851 $as_echo_n "(cached) " >&6
12852 else
12853 ac_check_soname_save_LIBS=$LIBS
12854 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h. */
12858 /* Override any GCC internal prototype to avoid an error.
12859 Use char because int might match the return type of a GCC
12860 builtin and then its argument prototype would still apply. */
12861 #ifdef __cplusplus
12862 extern "C"
12863 #endif
12864 char capi20_register ();
12866 main ()
12868 return capi20_register ();
12870 return 0;
12872 _ACEOF
12873 if ac_fn_c_try_link "$LINENO"; then :
12874 case "$LIBEXT" in
12875 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12876 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'` ;;
12877 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12878 if ${ac_cv_lib_soname_capi20:+false} :; then :
12879 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12880 fi ;;
12881 esac
12883 rm -f core conftest.err conftest.$ac_objext \
12884 conftest$ac_exeext conftest.$ac_ext
12885 LIBS=$ac_check_soname_save_LIBS
12887 if ${ac_cv_lib_soname_capi20:+false} :; then :
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12889 $as_echo "not found" >&6; }
12891 else
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12893 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12895 cat >>confdefs.h <<_ACEOF
12896 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12897 _ACEOF
12902 CPPFLAGS=$ac_save_CPPFLAGS
12903 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12904 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12907 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12908 case "x$with_capi" in
12909 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12910 xno) ;;
12911 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12912 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12913 esac
12917 CUPS_CFLAGS=""
12919 if test "x$with_cups" != "xno"
12920 then
12921 ac_save_CPPFLAGS="$CPPFLAGS"
12922 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12923 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12924 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12925 for ac_header in cups/cups.h
12926 do :
12927 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12928 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12929 cat >>confdefs.h <<_ACEOF
12930 #define HAVE_CUPS_CUPS_H 1
12931 _ACEOF
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12933 $as_echo_n "checking for -lcups... " >&6; }
12934 if ${ac_cv_lib_soname_cups+:} false; then :
12935 $as_echo_n "(cached) " >&6
12936 else
12937 ac_check_soname_save_LIBS=$LIBS
12938 LIBS="-lcups $ac_cups_libs $LIBS"
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12942 /* Override any GCC internal prototype to avoid an error.
12943 Use char because int might match the return type of a GCC
12944 builtin and then its argument prototype would still apply. */
12945 #ifdef __cplusplus
12946 extern "C"
12947 #endif
12948 char cupsGetDefault ();
12950 main ()
12952 return cupsGetDefault ();
12954 return 0;
12956 _ACEOF
12957 if ac_fn_c_try_link "$LINENO"; then :
12958 case "$LIBEXT" in
12959 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12960 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'` ;;
12961 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12962 if ${ac_cv_lib_soname_cups:+false} :; then :
12963 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12964 fi ;;
12965 esac
12967 rm -f core conftest.err conftest.$ac_objext \
12968 conftest$ac_exeext conftest.$ac_ext
12969 LIBS=$ac_check_soname_save_LIBS
12971 if ${ac_cv_lib_soname_cups:+false} :; then :
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12973 $as_echo "not found" >&6; }
12975 else
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12977 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12979 cat >>confdefs.h <<_ACEOF
12980 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12981 _ACEOF
12983 CUPS_CFLAGS="$ac_cups_cflags"
12987 done
12989 CPPFLAGS="$ac_save_CPPFLAGS"
12991 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12992 case "x$with_cups" in
12993 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12994 xno) ;;
12995 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12996 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12997 esac
13001 if test "x$with_fontconfig" != "xno"
13002 then
13003 if ${FONTCONFIG_CFLAGS:+false} :; then :
13004 if ${PKG_CONFIG+:} false; then :
13005 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13008 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13009 if ${FONTCONFIG_LIBS:+false} :; then :
13010 if ${PKG_CONFIG+:} false; then :
13011 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13014 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13016 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13017 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13018 ac_save_CPPFLAGS=$CPPFLAGS
13019 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13020 for ac_header in fontconfig/fontconfig.h
13021 do :
13022 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13023 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13024 cat >>confdefs.h <<_ACEOF
13025 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13026 _ACEOF
13030 done
13032 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13033 then
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13035 $as_echo_n "checking for -lfontconfig... " >&6; }
13036 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13037 $as_echo_n "(cached) " >&6
13038 else
13039 ac_check_soname_save_LIBS=$LIBS
13040 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13042 /* end confdefs.h. */
13044 /* Override any GCC internal prototype to avoid an error.
13045 Use char because int might match the return type of a GCC
13046 builtin and then its argument prototype would still apply. */
13047 #ifdef __cplusplus
13048 extern "C"
13049 #endif
13050 char FcInit ();
13052 main ()
13054 return FcInit ();
13056 return 0;
13058 _ACEOF
13059 if ac_fn_c_try_link "$LINENO"; then :
13060 case "$LIBEXT" in
13061 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13062 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'` ;;
13063 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13064 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13065 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13066 fi ;;
13067 esac
13069 rm -f core conftest.err conftest.$ac_objext \
13070 conftest$ac_exeext conftest.$ac_ext
13071 LIBS=$ac_check_soname_save_LIBS
13073 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13075 $as_echo "not found" >&6; }
13076 FONTCONFIG_CFLAGS=""
13077 else
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13079 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13081 cat >>confdefs.h <<_ACEOF
13082 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13083 _ACEOF
13087 else
13088 FONTCONFIG_CFLAGS=""
13090 CPPFLAGS=$ac_save_CPPFLAGS
13091 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13092 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13095 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13096 case "x$with_fontconfig" in
13097 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13098 xno) ;;
13099 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13100 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13101 esac
13105 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13106 then
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13108 $as_echo_n "checking for -lgsm... " >&6; }
13109 if ${ac_cv_lib_soname_gsm+:} false; then :
13110 $as_echo_n "(cached) " >&6
13111 else
13112 ac_check_soname_save_LIBS=$LIBS
13113 LIBS="-lgsm $LIBS"
13114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13115 /* end confdefs.h. */
13117 /* Override any GCC internal prototype to avoid an error.
13118 Use char because int might match the return type of a GCC
13119 builtin and then its argument prototype would still apply. */
13120 #ifdef __cplusplus
13121 extern "C"
13122 #endif
13123 char gsm_create ();
13125 main ()
13127 return gsm_create ();
13129 return 0;
13131 _ACEOF
13132 if ac_fn_c_try_link "$LINENO"; then :
13133 case "$LIBEXT" in
13134 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13135 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'` ;;
13136 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13137 if ${ac_cv_lib_soname_gsm:+false} :; then :
13138 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13139 fi ;;
13140 esac
13142 rm -f core conftest.err conftest.$ac_objext \
13143 conftest$ac_exeext conftest.$ac_ext
13144 LIBS=$ac_check_soname_save_LIBS
13146 if ${ac_cv_lib_soname_gsm:+false} :; then :
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13148 $as_echo "not found" >&6; }
13150 else
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13152 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13154 cat >>confdefs.h <<_ACEOF
13155 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13156 _ACEOF
13161 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13162 case "x$with_gsm" in
13163 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13164 xno) ;;
13165 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13166 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13167 esac
13171 if test "x$with_jpeg" != "xno"
13172 then
13173 if ${JPEG_CFLAGS:+false} :; then :
13174 if ${PKG_CONFIG+:} false; then :
13175 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13179 if ${JPEG_LIBS:+false} :; then :
13180 if ${PKG_CONFIG+:} false; then :
13181 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13186 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13187 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13188 ac_save_CPPFLAGS=$CPPFLAGS
13189 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13190 for ac_header in jpeglib.h
13191 do :
13192 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13193 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13194 cat >>confdefs.h <<_ACEOF
13195 #define HAVE_JPEGLIB_H 1
13196 _ACEOF
13200 done
13202 if test "$ac_cv_header_jpeglib_h" = "yes"
13203 then
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13205 $as_echo_n "checking for -ljpeg... " >&6; }
13206 if ${ac_cv_lib_soname_jpeg+:} false; then :
13207 $as_echo_n "(cached) " >&6
13208 else
13209 ac_check_soname_save_LIBS=$LIBS
13210 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13212 /* end confdefs.h. */
13214 /* Override any GCC internal prototype to avoid an error.
13215 Use char because int might match the return type of a GCC
13216 builtin and then its argument prototype would still apply. */
13217 #ifdef __cplusplus
13218 extern "C"
13219 #endif
13220 char jpeg_start_decompress ();
13222 main ()
13224 return jpeg_start_decompress ();
13226 return 0;
13228 _ACEOF
13229 if ac_fn_c_try_link "$LINENO"; then :
13230 case "$LIBEXT" in
13231 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13232 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'` ;;
13233 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13234 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13235 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13236 fi ;;
13237 esac
13239 rm -f core conftest.err conftest.$ac_objext \
13240 conftest$ac_exeext conftest.$ac_ext
13241 LIBS=$ac_check_soname_save_LIBS
13243 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13245 $as_echo "not found" >&6; }
13246 JPEG_CFLAGS=""
13247 else
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13249 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13251 cat >>confdefs.h <<_ACEOF
13252 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13253 _ACEOF
13257 else
13258 JPEG_CFLAGS=""
13260 CPPFLAGS=$ac_save_CPPFLAGS
13261 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13262 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13265 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13266 case "x$with_jpeg" in
13267 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13268 xno) ;;
13269 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13270 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13271 esac
13275 if test "x$with_png" != "xno"
13276 then
13277 if ${PNG_CFLAGS:+false} :; then :
13278 if ${PKG_CONFIG+:} false; then :
13279 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13282 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13283 if ${PNG_LIBS:+false} :; then :
13284 if ${PKG_CONFIG+:} false; then :
13285 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13288 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13290 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13291 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13292 ac_save_CPPFLAGS=$CPPFLAGS
13293 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13294 for ac_header in png.h
13295 do :
13296 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13297 if test "x$ac_cv_header_png_h" = xyes; then :
13298 cat >>confdefs.h <<_ACEOF
13299 #define HAVE_PNG_H 1
13300 _ACEOF
13304 done
13306 if test "$ac_cv_header_png_h" = "yes"
13307 then
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13309 $as_echo_n "checking for -lpng... " >&6; }
13310 if ${ac_cv_lib_soname_png+:} false; then :
13311 $as_echo_n "(cached) " >&6
13312 else
13313 ac_check_soname_save_LIBS=$LIBS
13314 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13316 /* end confdefs.h. */
13318 /* Override any GCC internal prototype to avoid an error.
13319 Use char because int might match the return type of a GCC
13320 builtin and then its argument prototype would still apply. */
13321 #ifdef __cplusplus
13322 extern "C"
13323 #endif
13324 char png_create_read_struct ();
13326 main ()
13328 return png_create_read_struct ();
13330 return 0;
13332 _ACEOF
13333 if ac_fn_c_try_link "$LINENO"; then :
13334 case "$LIBEXT" in
13335 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13336 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'` ;;
13337 *) 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'`
13338 if ${ac_cv_lib_soname_png:+false} :; then :
13339 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13340 fi ;;
13341 esac
13343 rm -f core conftest.err conftest.$ac_objext \
13344 conftest$ac_exeext conftest.$ac_ext
13345 LIBS=$ac_check_soname_save_LIBS
13347 if ${ac_cv_lib_soname_png:+false} :; then :
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13349 $as_echo "not found" >&6; }
13350 PNG_CFLAGS=""
13351 else
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13353 $as_echo "$ac_cv_lib_soname_png" >&6; }
13355 cat >>confdefs.h <<_ACEOF
13356 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13357 _ACEOF
13359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13360 /* end confdefs.h. */
13361 #include <png.h>
13363 main ()
13365 typeof(png_set_expand_gray_1_2_4_to_8) *p
13367 return 0;
13369 _ACEOF
13370 if ac_fn_c_try_compile "$LINENO"; then :
13372 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13377 else
13378 PNG_CFLAGS=""
13380 CPPFLAGS=$ac_save_CPPFLAGS
13381 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13382 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13385 if test "x$ac_cv_lib_soname_png" = "x"; then :
13386 case "x$with_png" in
13387 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13388 xno) ;;
13389 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13390 This is an error since --with-png was requested." "$LINENO" 5 ;;
13391 esac
13395 if test "x$with_tiff" != "xno"
13396 then
13397 if ${TIFF_CFLAGS:+false} :; then :
13398 if ${PKG_CONFIG+:} false; then :
13399 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13403 if ${TIFF_LIBS:+false} :; then :
13404 if ${PKG_CONFIG+:} false; then :
13405 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13410 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13411 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13412 ac_save_CPPFLAGS=$CPPFLAGS
13413 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13414 for ac_header in tiffio.h
13415 do :
13416 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13417 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13418 cat >>confdefs.h <<_ACEOF
13419 #define HAVE_TIFFIO_H 1
13420 _ACEOF
13424 done
13426 if test "$ac_cv_header_tiffio_h" = "yes"
13427 then
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13429 $as_echo_n "checking for -ltiff... " >&6; }
13430 if ${ac_cv_lib_soname_tiff+:} false; then :
13431 $as_echo_n "(cached) " >&6
13432 else
13433 ac_check_soname_save_LIBS=$LIBS
13434 LIBS="-ltiff $TIFF_LIBS $LIBS"
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13438 /* Override any GCC internal prototype to avoid an error.
13439 Use char because int might match the return type of a GCC
13440 builtin and then its argument prototype would still apply. */
13441 #ifdef __cplusplus
13442 extern "C"
13443 #endif
13444 char TIFFClientOpen ();
13446 main ()
13448 return TIFFClientOpen ();
13450 return 0;
13452 _ACEOF
13453 if ac_fn_c_try_link "$LINENO"; then :
13454 case "$LIBEXT" in
13455 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13456 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'` ;;
13457 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13458 if ${ac_cv_lib_soname_tiff:+false} :; then :
13459 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13460 fi ;;
13461 esac
13463 rm -f core conftest.err conftest.$ac_objext \
13464 conftest$ac_exeext conftest.$ac_ext
13465 LIBS=$ac_check_soname_save_LIBS
13467 if ${ac_cv_lib_soname_tiff:+false} :; then :
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13469 $as_echo "not found" >&6; }
13471 else
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13473 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13475 cat >>confdefs.h <<_ACEOF
13476 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13477 _ACEOF
13482 CPPFLAGS=$ac_save_CPPFLAGS
13483 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13484 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13487 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13488 case "x$with_tiff" in
13489 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13490 xno) ;;
13491 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13492 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13493 esac
13497 if test "x$with_mpg123" != "xno"
13498 then
13499 if ${MPG123_CFLAGS:+false} :; then :
13500 if ${PKG_CONFIG+:} false; then :
13501 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13505 if ${MPG123_LIBS:+false} :; then :
13506 if ${PKG_CONFIG+:} false; then :
13507 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13511 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13512 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13513 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13514 ac_save_CPPFLAGS=$CPPFLAGS
13515 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13516 for ac_header in mpg123.h
13517 do :
13518 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13519 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13520 cat >>confdefs.h <<_ACEOF
13521 #define HAVE_MPG123_H 1
13522 _ACEOF
13526 done
13528 if test "$ac_cv_header_mpg123_h" = "yes"
13529 then
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13531 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13532 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13533 $as_echo_n "(cached) " >&6
13534 else
13535 ac_check_lib_save_LIBS=$LIBS
13536 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h. */
13540 /* Override any GCC internal prototype to avoid an error.
13541 Use char because int might match the return type of a GCC
13542 builtin and then its argument prototype would still apply. */
13543 #ifdef __cplusplus
13544 extern "C"
13545 #endif
13546 char mpg123_feed ();
13548 main ()
13550 return mpg123_feed ();
13552 return 0;
13554 _ACEOF
13555 if ac_fn_c_try_link "$LINENO"; then :
13556 ac_cv_lib_mpg123_mpg123_feed=yes
13557 else
13558 ac_cv_lib_mpg123_mpg123_feed=no
13560 rm -f core conftest.err conftest.$ac_objext \
13561 conftest$ac_exeext conftest.$ac_ext
13562 LIBS=$ac_check_lib_save_LIBS
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13565 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13566 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13568 else
13569 MPG123_LIBS=""
13572 else
13573 MPG123_CFLAGS=""
13574 MPG123_LIBS=""
13576 CPPFLAGS=$ac_save_CPPFLAGS
13577 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13578 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13581 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13582 case "x$with_mpg123" in
13583 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13584 xno) ;;
13585 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13586 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13587 esac
13588 enable_winemp3_acm=${enable_winemp3_acm:-no}
13591 if test "$ac_cv_header_AL_al_h" = "yes"
13592 then
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13594 $as_echo_n "checking for -lopenal... " >&6; }
13595 if ${ac_cv_lib_soname_openal+:} false; then :
13596 $as_echo_n "(cached) " >&6
13597 else
13598 ac_check_soname_save_LIBS=$LIBS
13599 LIBS="-lopenal $LIBS"
13600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13601 /* end confdefs.h. */
13603 /* Override any GCC internal prototype to avoid an error.
13604 Use char because int might match the return type of a GCC
13605 builtin and then its argument prototype would still apply. */
13606 #ifdef __cplusplus
13607 extern "C"
13608 #endif
13609 char alGetSource3i ();
13611 main ()
13613 return alGetSource3i ();
13615 return 0;
13617 _ACEOF
13618 if ac_fn_c_try_link "$LINENO"; then :
13619 case "$LIBEXT" in
13620 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13621 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'` ;;
13622 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13623 if ${ac_cv_lib_soname_openal:+false} :; then :
13624 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13625 fi ;;
13626 esac
13628 rm -f core conftest.err conftest.$ac_objext \
13629 conftest$ac_exeext conftest.$ac_ext
13630 LIBS=$ac_check_soname_save_LIBS
13632 if ${ac_cv_lib_soname_openal:+false} :; then :
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13634 $as_echo "not found" >&6; }
13636 else
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13638 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13640 cat >>confdefs.h <<_ACEOF
13641 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13642 _ACEOF
13644 OPENAL_LIBS="-lopenal"
13646 ac_cv_lib_openal=yes
13648 cat >>confdefs.h <<_ACEOF
13649 #define HAVE_OPENAL 1
13650 _ACEOF
13654 if test "x$ac_cv_lib_openal" != xyes; then :
13655 case "x$with_openal" in
13656 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13657 xno) ;;
13658 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13659 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13660 esac
13661 enable_openal32=${enable_openal32:-no}
13664 if test "x$ac_cv_lib_openal" = xyes
13665 then
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13667 $as_echo_n "checking for openal-soft... " >&6; }
13668 if ${ac_cv_have_openalsoft+:} false; then :
13669 $as_echo_n "(cached) " >&6
13670 else
13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 #include <AL/al.h>
13674 #include <AL/alc.h>
13675 #include <AL/alext.h>
13676 LPALCRENDERSAMPLESSOFT x;
13678 main ()
13682 return 0;
13684 _ACEOF
13685 if ac_fn_c_try_compile "$LINENO"; then :
13686 ac_cv_have_openalsoft=yes
13687 else
13688 ac_cv_have_openalsoft=no
13690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13693 $as_echo "$ac_cv_have_openalsoft" >&6; }
13695 if test "x$ac_cv_have_openalsoft" != xyes
13696 then
13697 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13698 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13699 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13700 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13701 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13702 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13703 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13704 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13705 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13706 enable_xapofx1_1=${enable_xapofx1_1:-no}
13707 enable_xapofx1_2=${enable_xapofx1_2:-no}
13708 enable_xapofx1_3=${enable_xapofx1_3:-no}
13709 enable_xapofx1_4=${enable_xapofx1_4:-no}
13710 enable_xapofx1_5=${enable_xapofx1_5:-no}
13711 enable_xaudio2_0=${enable_xaudio2_0:-no}
13712 enable_xaudio2_1=${enable_xaudio2_1:-no}
13713 enable_xaudio2_2=${enable_xaudio2_2:-no}
13714 enable_xaudio2_3=${enable_xaudio2_3:-no}
13715 enable_xaudio2_4=${enable_xaudio2_4:-no}
13716 enable_xaudio2_5=${enable_xaudio2_5:-no}
13717 enable_xaudio2_6=${enable_xaudio2_6:-no}
13718 enable_xaudio2_7=${enable_xaudio2_7:-no}
13719 enable_xaudio2_8=${enable_xaudio2_8:-no}
13720 enable_xaudio2_9=${enable_xaudio2_9:-no}
13723 if test "$ac_cv_header_kstat_h" = "yes"
13724 then
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13726 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13727 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13728 $as_echo_n "(cached) " >&6
13729 else
13730 ac_check_lib_save_LIBS=$LIBS
13731 LIBS="-lkstat $LIBS"
13732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13735 /* Override any GCC internal prototype to avoid an error.
13736 Use char because int might match the return type of a GCC
13737 builtin and then its argument prototype would still apply. */
13738 #ifdef __cplusplus
13739 extern "C"
13740 #endif
13741 char kstat_open ();
13743 main ()
13745 return kstat_open ();
13747 return 0;
13749 _ACEOF
13750 if ac_fn_c_try_link "$LINENO"; then :
13751 ac_cv_lib_kstat_kstat_open=yes
13752 else
13753 ac_cv_lib_kstat_kstat_open=no
13755 rm -f core conftest.err conftest.$ac_objext \
13756 conftest$ac_exeext conftest.$ac_ext
13757 LIBS=$ac_check_lib_save_LIBS
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13760 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13761 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13763 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13765 KSTAT_LIBS="-lkstat"
13771 if test "$ac_cv_header_libprocstat_h" = "yes"
13772 then
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13774 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13775 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13776 $as_echo_n "(cached) " >&6
13777 else
13778 ac_check_lib_save_LIBS=$LIBS
13779 LIBS="-lprocstat $LIBS"
13780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13783 /* Override any GCC internal prototype to avoid an error.
13784 Use char because int might match the return type of a GCC
13785 builtin and then its argument prototype would still apply. */
13786 #ifdef __cplusplus
13787 extern "C"
13788 #endif
13789 char procstat_open_sysctl ();
13791 main ()
13793 return procstat_open_sysctl ();
13795 return 0;
13797 _ACEOF
13798 if ac_fn_c_try_link "$LINENO"; then :
13799 ac_cv_lib_procstat_procstat_open_sysctl=yes
13800 else
13801 ac_cv_lib_procstat_procstat_open_sysctl=no
13803 rm -f core conftest.err conftest.$ac_objext \
13804 conftest$ac_exeext conftest.$ac_ext
13805 LIBS=$ac_check_lib_save_LIBS
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13808 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13809 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13811 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13813 PROCSTAT_LIBS="-lprocstat"
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13820 $as_echo_n "checking for -lodbc... " >&6; }
13821 if ${ac_cv_lib_soname_odbc+:} false; then :
13822 $as_echo_n "(cached) " >&6
13823 else
13824 ac_check_soname_save_LIBS=$LIBS
13825 LIBS="-lodbc $LIBS"
13826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13829 /* Override any GCC internal prototype to avoid an error.
13830 Use char because int might match the return type of a GCC
13831 builtin and then its argument prototype would still apply. */
13832 #ifdef __cplusplus
13833 extern "C"
13834 #endif
13835 char SQLConnect ();
13837 main ()
13839 return SQLConnect ();
13841 return 0;
13843 _ACEOF
13844 if ac_fn_c_try_link "$LINENO"; then :
13845 case "$LIBEXT" in
13846 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13847 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'` ;;
13848 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13849 if ${ac_cv_lib_soname_odbc:+false} :; then :
13850 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13851 fi ;;
13852 esac
13854 rm -f core conftest.err conftest.$ac_objext \
13855 conftest$ac_exeext conftest.$ac_ext
13856 LIBS=$ac_check_soname_save_LIBS
13858 if ${ac_cv_lib_soname_odbc:+false} :; then :
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13860 $as_echo "not found" >&6; }
13861 cat >>confdefs.h <<_ACEOF
13862 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13863 _ACEOF
13865 else
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13867 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13869 cat >>confdefs.h <<_ACEOF
13870 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13871 _ACEOF
13876 if test "x$with_netapi" != "xno"
13877 then
13878 if ${NETAPI_CFLAGS:+false} :; then :
13879 if ${PKG_CONFIG+:} false; then :
13880 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13884 if ${NETAPI_LIBS:+false} :; then :
13885 if ${PKG_CONFIG+:} false; then :
13886 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13891 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13892 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13893 ac_save_CPPFLAGS=$CPPFLAGS
13894 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13896 $as_echo_n "checking for -lnetapi... " >&6; }
13897 if ${ac_cv_lib_soname_netapi+:} false; then :
13898 $as_echo_n "(cached) " >&6
13899 else
13900 ac_check_soname_save_LIBS=$LIBS
13901 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13903 /* end confdefs.h. */
13905 /* Override any GCC internal prototype to avoid an error.
13906 Use char because int might match the return type of a GCC
13907 builtin and then its argument prototype would still apply. */
13908 #ifdef __cplusplus
13909 extern "C"
13910 #endif
13911 char libnetapi_init ();
13913 main ()
13915 return libnetapi_init ();
13917 return 0;
13919 _ACEOF
13920 if ac_fn_c_try_link "$LINENO"; then :
13921 case "$LIBEXT" in
13922 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13923 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'` ;;
13924 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13925 if ${ac_cv_lib_soname_netapi:+false} :; then :
13926 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13927 fi ;;
13928 esac
13930 rm -f core conftest.err conftest.$ac_objext \
13931 conftest$ac_exeext conftest.$ac_ext
13932 LIBS=$ac_check_soname_save_LIBS
13934 if ${ac_cv_lib_soname_netapi:+false} :; then :
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13936 $as_echo "not found" >&6; }
13937 cat >>confdefs.h <<_ACEOF
13938 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13939 _ACEOF
13941 else
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13943 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13945 cat >>confdefs.h <<_ACEOF
13946 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13947 _ACEOF
13951 CPPFLAGS=$ac_save_CPPFLAGS
13952 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13953 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13957 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13958 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13959 then
13960 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13964 EXTRACFLAGS=""
13966 if test "x${GCC}" = "xyes"
13967 then
13968 EXTRACFLAGS="-Wall -pipe"
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13971 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13972 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13973 $as_echo_n "(cached) " >&6
13974 else
13975 if test "$cross_compiling" = yes; then :
13976 ac_cv_c_gcc_strength_bug="no"
13977 else
13978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13979 /* end confdefs.h. */
13980 int L[4] = {0,1,2,3};
13982 main ()
13984 static int Array[3];
13985 unsigned int B = 3;
13986 int i;
13987 for(i=0; i<B; i++) Array[i] = i - 3;
13988 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13989 L[i] = 4;
13990 return (Array[1] != -2 || L[2] != 3)
13992 return 0;
13994 _ACEOF
13995 if ac_fn_c_try_run "$LINENO"; then :
13996 ac_cv_c_gcc_strength_bug="no"
13997 else
13998 ac_cv_c_gcc_strength_bug="yes"
14000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14001 conftest.$ac_objext conftest.beam conftest.$ac_ext
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14006 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14007 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14008 then
14009 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14013 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14014 if ${ac_cv_cflags__fno_builtin+:} false; then :
14015 $as_echo_n "(cached) " >&6
14016 else
14017 ac_wine_try_cflags_saved=$CFLAGS
14018 CFLAGS="$CFLAGS -fno-builtin"
14019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14020 /* end confdefs.h. */
14021 int main(int argc, char **argv) { return 0; }
14022 _ACEOF
14023 if ac_fn_c_try_link "$LINENO"; then :
14024 ac_cv_cflags__fno_builtin=yes
14025 else
14026 ac_cv_cflags__fno_builtin=no
14028 rm -f core conftest.err conftest.$ac_objext \
14029 conftest$ac_exeext conftest.$ac_ext
14030 CFLAGS=$ac_wine_try_cflags_saved
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14033 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14034 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14035 BUILTINFLAG="-fno-builtin"
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14039 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14040 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14041 $as_echo_n "(cached) " >&6
14042 else
14043 ac_wine_try_cflags_saved=$CFLAGS
14044 CFLAGS="$CFLAGS -fno-strict-aliasing"
14045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14047 int main(int argc, char **argv) { return 0; }
14048 _ACEOF
14049 if ac_fn_c_try_link "$LINENO"; then :
14050 ac_cv_cflags__fno_strict_aliasing=yes
14051 else
14052 ac_cv_cflags__fno_strict_aliasing=no
14054 rm -f core conftest.err conftest.$ac_objext \
14055 conftest$ac_exeext conftest.$ac_ext
14056 CFLAGS=$ac_wine_try_cflags_saved
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14059 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14060 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14061 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14064 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14065 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14066 $as_echo_n "(cached) " >&6
14067 else
14068 ac_wine_try_cflags_saved=$CFLAGS
14069 CFLAGS="$CFLAGS -fexcess-precision=standard"
14070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14072 int main(int argc, char **argv) { return 0; }
14073 _ACEOF
14074 if ac_fn_c_try_link "$LINENO"; then :
14075 ac_cv_cflags__fexcess_precision_standard=yes
14076 else
14077 ac_cv_cflags__fexcess_precision_standard=no
14079 rm -f core conftest.err conftest.$ac_objext \
14080 conftest$ac_exeext conftest.$ac_ext
14081 CFLAGS=$ac_wine_try_cflags_saved
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14084 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14085 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14086 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14089 saved_CFLAGS=$CFLAGS
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14091 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14092 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14093 $as_echo_n "(cached) " >&6
14094 else
14095 ac_wine_try_cflags_saved=$CFLAGS
14096 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14099 int main(int argc, char **argv) { return 0; }
14100 _ACEOF
14101 if ac_fn_c_try_link "$LINENO"; then :
14102 ac_cv_cflags__Werror_unknown_warning_option=yes
14103 else
14104 ac_cv_cflags__Werror_unknown_warning_option=no
14106 rm -f core conftest.err conftest.$ac_objext \
14107 conftest$ac_exeext conftest.$ac_ext
14108 CFLAGS=$ac_wine_try_cflags_saved
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14111 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14112 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14113 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14116 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14117 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14118 $as_echo_n "(cached) " >&6
14119 else
14120 ac_wine_try_cflags_saved=$CFLAGS
14121 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14123 /* end confdefs.h. */
14124 int main(int argc, char **argv) { return 0; }
14125 _ACEOF
14126 if ac_fn_c_try_link "$LINENO"; then :
14127 ac_cv_cflags__Wdeclaration_after_statement=yes
14128 else
14129 ac_cv_cflags__Wdeclaration_after_statement=no
14131 rm -f core conftest.err conftest.$ac_objext \
14132 conftest$ac_exeext conftest.$ac_ext
14133 CFLAGS=$ac_wine_try_cflags_saved
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14136 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14137 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14138 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14141 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14142 if ${ac_cv_cflags__Wempty_body+:} false; then :
14143 $as_echo_n "(cached) " >&6
14144 else
14145 ac_wine_try_cflags_saved=$CFLAGS
14146 CFLAGS="$CFLAGS -Wempty-body"
14147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14148 /* end confdefs.h. */
14149 int main(int argc, char **argv) { return 0; }
14150 _ACEOF
14151 if ac_fn_c_try_link "$LINENO"; then :
14152 ac_cv_cflags__Wempty_body=yes
14153 else
14154 ac_cv_cflags__Wempty_body=no
14156 rm -f core conftest.err conftest.$ac_objext \
14157 conftest$ac_exeext conftest.$ac_ext
14158 CFLAGS=$ac_wine_try_cflags_saved
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14161 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14162 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14163 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14166 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14167 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14168 $as_echo_n "(cached) " >&6
14169 else
14170 ac_wine_try_cflags_saved=$CFLAGS
14171 CFLAGS="$CFLAGS -Wignored-qualifiers"
14172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14173 /* end confdefs.h. */
14174 int main(int argc, char **argv) { return 0; }
14175 _ACEOF
14176 if ac_fn_c_try_link "$LINENO"; then :
14177 ac_cv_cflags__Wignored_qualifiers=yes
14178 else
14179 ac_cv_cflags__Wignored_qualifiers=no
14181 rm -f core conftest.err conftest.$ac_objext \
14182 conftest$ac_exeext conftest.$ac_ext
14183 CFLAGS=$ac_wine_try_cflags_saved
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14186 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14187 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14188 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14191 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14192 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14193 $as_echo_n "(cached) " >&6
14194 else
14195 ac_wine_try_cflags_saved=$CFLAGS
14196 CFLAGS="$CFLAGS -Wshift-overflow=2"
14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14199 int main(int argc, char **argv) { return 0; }
14200 _ACEOF
14201 if ac_fn_c_try_link "$LINENO"; then :
14202 ac_cv_cflags__Wshift_overflow_2=yes
14203 else
14204 ac_cv_cflags__Wshift_overflow_2=no
14206 rm -f core conftest.err conftest.$ac_objext \
14207 conftest$ac_exeext conftest.$ac_ext
14208 CFLAGS=$ac_wine_try_cflags_saved
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14211 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14212 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14213 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14216 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14217 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14218 $as_echo_n "(cached) " >&6
14219 else
14220 ac_wine_try_cflags_saved=$CFLAGS
14221 CFLAGS="$CFLAGS -Wstrict-prototypes"
14222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14224 int main(int argc, char **argv) { return 0; }
14225 _ACEOF
14226 if ac_fn_c_try_link "$LINENO"; then :
14227 ac_cv_cflags__Wstrict_prototypes=yes
14228 else
14229 ac_cv_cflags__Wstrict_prototypes=no
14231 rm -f core conftest.err conftest.$ac_objext \
14232 conftest$ac_exeext conftest.$ac_ext
14233 CFLAGS=$ac_wine_try_cflags_saved
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14236 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14237 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14238 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14241 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14242 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14243 $as_echo_n "(cached) " >&6
14244 else
14245 ac_wine_try_cflags_saved=$CFLAGS
14246 CFLAGS="$CFLAGS -Wtype-limits"
14247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14248 /* end confdefs.h. */
14249 int main(int argc, char **argv) { return 0; }
14250 _ACEOF
14251 if ac_fn_c_try_link "$LINENO"; then :
14252 ac_cv_cflags__Wtype_limits=yes
14253 else
14254 ac_cv_cflags__Wtype_limits=no
14256 rm -f core conftest.err conftest.$ac_objext \
14257 conftest$ac_exeext conftest.$ac_ext
14258 CFLAGS=$ac_wine_try_cflags_saved
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14261 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14262 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14263 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14266 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14267 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14268 $as_echo_n "(cached) " >&6
14269 else
14270 ac_wine_try_cflags_saved=$CFLAGS
14271 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14274 int main(int argc, char **argv) { return 0; }
14275 _ACEOF
14276 if ac_fn_c_try_link "$LINENO"; then :
14277 ac_cv_cflags__Wunused_but_set_parameter=yes
14278 else
14279 ac_cv_cflags__Wunused_but_set_parameter=no
14281 rm -f core conftest.err conftest.$ac_objext \
14282 conftest$ac_exeext conftest.$ac_ext
14283 CFLAGS=$ac_wine_try_cflags_saved
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14286 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14287 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14288 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14291 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14292 if ${ac_cv_cflags__Wvla+:} false; then :
14293 $as_echo_n "(cached) " >&6
14294 else
14295 ac_wine_try_cflags_saved=$CFLAGS
14296 CFLAGS="$CFLAGS -Wvla"
14297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14299 int main(int argc, char **argv) { return 0; }
14300 _ACEOF
14301 if ac_fn_c_try_link "$LINENO"; then :
14302 ac_cv_cflags__Wvla=yes
14303 else
14304 ac_cv_cflags__Wvla=no
14306 rm -f core conftest.err conftest.$ac_objext \
14307 conftest$ac_exeext conftest.$ac_ext
14308 CFLAGS=$ac_wine_try_cflags_saved
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14311 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14312 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14313 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14316 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14317 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14318 $as_echo_n "(cached) " >&6
14319 else
14320 ac_wine_try_cflags_saved=$CFLAGS
14321 CFLAGS="$CFLAGS -Wwrite-strings"
14322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14323 /* end confdefs.h. */
14324 int main(int argc, char **argv) { return 0; }
14325 _ACEOF
14326 if ac_fn_c_try_link "$LINENO"; then :
14327 ac_cv_cflags__Wwrite_strings=yes
14328 else
14329 ac_cv_cflags__Wwrite_strings=no
14331 rm -f core conftest.err conftest.$ac_objext \
14332 conftest$ac_exeext conftest.$ac_ext
14333 CFLAGS=$ac_wine_try_cflags_saved
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14336 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14337 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14338 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14342 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14343 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14344 $as_echo_n "(cached) " >&6
14345 else
14346 ac_wine_try_cflags_saved=$CFLAGS
14347 CFLAGS="$CFLAGS -Wpointer-arith"
14348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14350 int main(int argc, char **argv) { return 0; }
14351 _ACEOF
14352 if ac_fn_c_try_link "$LINENO"; then :
14353 ac_cv_cflags__Wpointer_arith=yes
14354 else
14355 ac_cv_cflags__Wpointer_arith=no
14357 rm -f core conftest.err conftest.$ac_objext \
14358 conftest$ac_exeext conftest.$ac_ext
14359 CFLAGS=$ac_wine_try_cflags_saved
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14362 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14363 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14364 saved_string_h_CFLAGS=$CFLAGS
14365 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14367 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14368 if ${ac_cv_c_string_h_warnings+:} false; then :
14369 $as_echo_n "(cached) " >&6
14370 else
14371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14372 /* end confdefs.h. */
14373 #include <string.h>
14375 main ()
14379 return 0;
14381 _ACEOF
14382 if ac_fn_c_try_compile "$LINENO"; then :
14383 ac_cv_c_string_h_warnings=no
14384 else
14385 ac_cv_c_string_h_warnings=yes
14387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14390 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14391 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14392 CFLAGS=$saved_string_h_CFLAGS
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14396 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14397 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14398 $as_echo_n "(cached) " >&6
14399 else
14400 ac_wine_try_cflags_saved=$CFLAGS
14401 CFLAGS="$CFLAGS -Wlogical-op"
14402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14403 /* end confdefs.h. */
14404 int main(int argc, char **argv) { return 0; }
14405 _ACEOF
14406 if ac_fn_c_try_link "$LINENO"; then :
14407 ac_cv_cflags__Wlogical_op=yes
14408 else
14409 ac_cv_cflags__Wlogical_op=no
14411 rm -f core conftest.err conftest.$ac_objext \
14412 conftest$ac_exeext conftest.$ac_ext
14413 CFLAGS=$ac_wine_try_cflags_saved
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14416 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14417 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14418 saved_string_h_CFLAGS=$CFLAGS
14419 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14421 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14422 if ${ac_cv_c_logicalop_noisy+:} false; then :
14423 $as_echo_n "(cached) " >&6
14424 else
14425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14426 /* end confdefs.h. */
14427 #include <string.h>
14428 char*f(const char *h,char n) {return strchr(h,n);}
14430 main ()
14434 return 0;
14436 _ACEOF
14437 if ac_fn_c_try_compile "$LINENO"; then :
14438 ac_cv_c_logicalop_noisy=no
14439 else
14440 ac_cv_c_logicalop_noisy=yes
14442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14445 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14446 CFLAGS=$saved_string_h_CFLAGS
14447 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14450 CFLAGS=$saved_CFLAGS
14452 for ac_flag in $CFLAGS; do
14453 case $ac_flag in
14454 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14455 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14456 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14457 $as_echo_n "(cached) " >&6
14458 else
14459 ac_wine_try_cflags_saved=$CFLAGS
14460 CFLAGS="$CFLAGS -gdwarf-2"
14461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14462 /* end confdefs.h. */
14463 int main(int argc, char **argv) { return 0; }
14464 _ACEOF
14465 if ac_fn_c_try_link "$LINENO"; then :
14466 ac_cv_cflags__gdwarf_2=yes
14467 else
14468 ac_cv_cflags__gdwarf_2=no
14470 rm -f core conftest.err conftest.$ac_objext \
14471 conftest$ac_exeext conftest.$ac_ext
14472 CFLAGS=$ac_wine_try_cflags_saved
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14475 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14476 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14477 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14480 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14481 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14482 $as_echo_n "(cached) " >&6
14483 else
14484 ac_wine_try_cflags_saved=$CFLAGS
14485 CFLAGS="$CFLAGS -gstrict-dwarf"
14486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14487 /* end confdefs.h. */
14488 int main(int argc, char **argv) { return 0; }
14489 _ACEOF
14490 if ac_fn_c_try_link "$LINENO"; then :
14491 ac_cv_cflags__gstrict_dwarf=yes
14492 else
14493 ac_cv_cflags__gstrict_dwarf=no
14495 rm -f core conftest.err conftest.$ac_objext \
14496 conftest$ac_exeext conftest.$ac_ext
14497 CFLAGS=$ac_wine_try_cflags_saved
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14500 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14501 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14502 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14503 fi ;;
14504 esac
14505 done
14507 case $host_cpu in
14508 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14509 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14510 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14511 $as_echo_n "(cached) " >&6
14512 else
14513 ac_wine_try_cflags_saved=$CFLAGS
14514 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14517 int main(int argc, char **argv) { return 0; }
14518 _ACEOF
14519 if ac_fn_c_try_link "$LINENO"; then :
14520 ac_cv_cflags__fno_omit_frame_pointer=yes
14521 else
14522 ac_cv_cflags__fno_omit_frame_pointer=no
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14526 CFLAGS=$ac_wine_try_cflags_saved
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14529 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14530 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14531 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14532 fi ;;
14533 esac
14535 case $host in
14536 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14537 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14538 if ${ac_cv_cflags__Wno_format+:} false; then :
14539 $as_echo_n "(cached) " >&6
14540 else
14541 ac_wine_try_cflags_saved=$CFLAGS
14542 CFLAGS="$CFLAGS -Wno-format"
14543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14544 /* end confdefs.h. */
14545 int main(int argc, char **argv) { return 0; }
14546 _ACEOF
14547 if ac_fn_c_try_link "$LINENO"; then :
14548 ac_cv_cflags__Wno_format=yes
14549 else
14550 ac_cv_cflags__Wno_format=no
14552 rm -f core conftest.err conftest.$ac_objext \
14553 conftest$ac_exeext conftest.$ac_ext
14554 CFLAGS=$ac_wine_try_cflags_saved
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14557 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14558 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14559 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14560 fi ;;
14561 esac
14563 if test "x$enable_maintainer_mode" = "xyes"
14564 then
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14566 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14567 if ${ac_cv_cflags__Werror+:} false; then :
14568 $as_echo_n "(cached) " >&6
14569 else
14570 ac_wine_try_cflags_saved=$CFLAGS
14571 CFLAGS="$CFLAGS -Werror"
14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14574 int main(int argc, char **argv) { return 0; }
14575 _ACEOF
14576 if ac_fn_c_try_link "$LINENO"; then :
14577 ac_cv_cflags__Werror=yes
14578 else
14579 ac_cv_cflags__Werror=no
14581 rm -f core conftest.err conftest.$ac_objext \
14582 conftest$ac_exeext conftest.$ac_ext
14583 CFLAGS=$ac_wine_try_cflags_saved
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14586 $as_echo "$ac_cv_cflags__Werror" >&6; }
14587 if test "x$ac_cv_cflags__Werror" = xyes; then :
14588 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14592 saved_CFLAGS="$CFLAGS"
14593 CFLAGS="$CFLAGS -Werror"
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14595 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14596 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14597 $as_echo_n "(cached) " >&6
14598 else
14599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14601 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14603 main ()
14607 return 0;
14609 _ACEOF
14610 if ac_fn_c_try_compile "$LINENO"; then :
14611 ac_cv_have_ms_hook_prologue="yes"
14612 else
14613 ac_cv_have_ms_hook_prologue="no"
14615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14618 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14619 CFLAGS="$saved_CFLAGS"
14620 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14621 then
14623 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14625 else
14626 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14633 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14634 if ${ac_cv_c_fortify_enabled+:} false; then :
14635 $as_echo_n "(cached) " >&6
14636 else
14637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14639 #include <string.h>
14641 main ()
14643 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14644 #error Fortify enabled
14645 #endif
14647 return 0;
14649 _ACEOF
14650 if ac_fn_c_try_compile "$LINENO"; then :
14651 ac_cv_c_fortify_enabled=no
14652 else
14653 ac_cv_c_fortify_enabled=yes
14655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14658 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14659 if test "$ac_cv_c_fortify_enabled" = yes
14660 then
14661 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14666 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14667 if ${ac_cv_c_extern_prefix+:} false; then :
14668 $as_echo_n "(cached) " >&6
14669 else
14670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14671 /* end confdefs.h. */
14672 extern int ac_test;
14674 main ()
14676 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14678 return 0;
14680 _ACEOF
14681 if ac_fn_c_try_link "$LINENO"; then :
14682 ac_cv_c_extern_prefix="yes"
14683 else
14684 ac_cv_c_extern_prefix="no"
14686 rm -f core conftest.err conftest.$ac_objext \
14687 conftest$ac_exeext conftest.$ac_ext
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14690 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14692 case $host_cpu in
14693 *i[3456789]86*)
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14695 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14696 if ${ac_cv_c_stdcall_suffix+:} false; then :
14697 $as_echo_n "(cached) " >&6
14698 else
14699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14701 #ifndef _MSC_VER
14702 #define __stdcall __attribute__((__stdcall__))
14703 #endif
14704 int __stdcall ac_test(int i) { return i; }
14706 main ()
14708 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14710 return 0;
14712 _ACEOF
14713 if ac_fn_c_try_link "$LINENO"; then :
14714 ac_cv_c_stdcall_suffix="yes"
14715 else
14716 ac_cv_c_stdcall_suffix="no"
14718 rm -f core conftest.err conftest.$ac_objext \
14719 conftest$ac_exeext conftest.$ac_ext
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14722 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14723 *) ac_cv_c_stdcall_suffix="no" ;;
14724 esac
14727 if test "$ac_cv_c_extern_prefix" = "yes"
14728 then
14729 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14731 asm_name_prefix="_"
14732 else
14733 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14735 asm_name_prefix=""
14739 if test "$ac_cv_c_stdcall_suffix" = "yes"
14740 then
14741 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14743 else
14744 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14750 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14751 if ${ac_cv_asm_func_def+:} false; then :
14752 $as_echo_n "(cached) " >&6
14753 else
14754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14755 /* end confdefs.h. */
14758 main ()
14760 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14762 return 0;
14764 _ACEOF
14765 if ac_fn_c_try_link "$LINENO"; then :
14766 ac_cv_asm_func_def=".def"
14767 else
14768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14769 /* end confdefs.h. */
14772 main ()
14774 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14776 return 0;
14778 _ACEOF
14779 if ac_fn_c_try_link "$LINENO"; then :
14780 ac_cv_asm_func_def=".type @function"
14781 else
14782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14783 /* end confdefs.h. */
14786 main ()
14788 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14790 return 0;
14792 _ACEOF
14793 if ac_fn_c_try_link "$LINENO"; then :
14794 ac_cv_asm_func_def=".type 2"
14795 else
14796 ac_cv_asm_func_def="unknown"
14798 rm -f core conftest.err conftest.$ac_objext \
14799 conftest$ac_exeext conftest.$ac_ext
14801 rm -f core conftest.err conftest.$ac_objext \
14802 conftest$ac_exeext conftest.$ac_ext
14804 rm -f core conftest.err conftest.$ac_objext \
14805 conftest$ac_exeext conftest.$ac_ext
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14808 $as_echo "$ac_cv_asm_func_def" >&6; }
14811 case "$ac_cv_asm_func_def" in
14812 ".def")
14813 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14815 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14816 ".type @function")
14817 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14819 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14820 ".type 2")
14821 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14823 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14825 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14827 asm_func_header="" ;;
14828 esac
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14831 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14832 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14833 $as_echo_n "(cached) " >&6
14834 else
14835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14836 /* end confdefs.h. */
14837 asm(".text\n\t.long 0");
14839 main ()
14843 return 0;
14845 _ACEOF
14846 if ac_fn_c_try_compile "$LINENO"; then :
14847 ac_cv_c_asm_outside_funcs="yes"
14848 else
14849 ac_cv_c_asm_outside_funcs="no"
14851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14854 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14857 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14858 if ${ac_cv_c_dot_previous+:} false; then :
14859 $as_echo_n "(cached) " >&6
14860 else
14861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14862 /* end confdefs.h. */
14865 main ()
14867 asm(".text\nac_test:\t.long 0\n\t.previous");
14869 return 0;
14871 _ACEOF
14872 if ac_fn_c_try_link "$LINENO"; then :
14873 ac_cv_c_dot_previous="yes"
14874 else
14875 ac_cv_c_dot_previous="no"
14877 rm -f core conftest.err conftest.$ac_objext \
14878 conftest$ac_exeext conftest.$ac_ext
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14881 $as_echo "$ac_cv_c_dot_previous" >&6; }
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14884 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14885 if ${ac_cv_c_cfi_support+:} false; then :
14886 $as_echo_n "(cached) " >&6
14887 else
14888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14889 /* end confdefs.h. */
14890 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14892 main ()
14896 return 0;
14898 _ACEOF
14899 if ac_fn_c_try_compile "$LINENO"; then :
14900 ac_cv_c_cfi_support="yes"
14901 else
14902 ac_cv_c_cfi_support="no"
14904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14907 $as_echo "$ac_cv_c_cfi_support" >&6; }
14909 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14910 asm_func_trailer=""
14911 if test "$ac_cv_c_dot_previous" = "yes"
14912 then
14913 asm_func_trailer="\\n\\t.previous"
14915 if test "$ac_cv_c_cfi_support" = "yes"
14916 then
14917 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14918 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14920 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14922 UNWINDFLAGS=-fasynchronous-unwind-tables
14924 else
14925 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14927 if test "x$enable_win64" = "xyes"
14928 then
14929 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14933 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14936 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14937 then
14938 cat >>confdefs.h <<_ACEOF
14939 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14940 _ACEOF
14942 else
14943 cat >>confdefs.h <<_ACEOF
14944 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14945 _ACEOF
14949 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14952 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14956 case $build_os in
14957 cygwin*|mingw32*) TOOLSEXT=".exe"
14959 esac
14961 case $host_os in
14962 linux-android*) ;;
14963 linux*)
14964 case $host_cpu in
14965 *i[3456789]86*|x86_64*)
14966 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
14967 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14969 esac
14971 esac
14974 ac_save_CFLAGS="$CFLAGS"
14975 CFLAGS="$CFLAGS $BUILTINFLAG"
14976 for ac_func in \
14977 __res_get_state \
14978 __res_getservers \
14979 _finite \
14980 _isnan \
14981 _pclose \
14982 _popen \
14983 _snprintf \
14984 _spawnvp \
14985 _strdup \
14986 _stricmp \
14987 _strnicmp \
14988 _strtoi64 \
14989 _strtoui64 \
14990 _vsnprintf \
14991 asctime_r \
14992 chsize \
14993 dlopen \
14994 epoll_create \
14995 ffs \
14996 finitef \
14997 fnmatch \
14998 fork \
14999 fpclass \
15000 fstatfs \
15001 fstatvfs \
15002 ftruncate \
15003 futimens \
15004 futimes \
15005 futimesat \
15006 getattrlist \
15007 getdirentries \
15008 getopt_long_only \
15009 getpwuid \
15010 gettimeofday \
15011 getuid \
15012 if_nameindex \
15013 isnanf \
15014 kqueue \
15015 lstat \
15016 memmove \
15017 mmap \
15018 pclose \
15019 pipe2 \
15020 poll \
15021 popen \
15022 port_create \
15023 prctl \
15024 pread \
15025 proc_pidinfo \
15026 pwrite \
15027 readdir \
15028 readlink \
15029 sched_yield \
15030 select \
15031 setproctitle \
15032 setprogname \
15033 setrlimit \
15034 settimeofday \
15035 sigaltstack \
15036 sigprocmask \
15037 snprintf \
15038 statfs \
15039 statvfs \
15040 strcasecmp \
15041 strdup \
15042 strerror \
15043 strncasecmp \
15044 strtold \
15045 strtoll \
15046 strtoull \
15047 symlink \
15048 tcdrain \
15049 thr_kill2 \
15050 timegm \
15051 usleep \
15052 vsnprintf
15054 do :
15055 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15057 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15058 cat >>confdefs.h <<_ACEOF
15059 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15060 _ACEOF
15063 done
15065 CFLAGS="$ac_save_CFLAGS"
15067 if test "$ac_cv_func_dlopen" = no
15068 then
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15070 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15071 if ${ac_cv_lib_dl_dlopen+:} false; then :
15072 $as_echo_n "(cached) " >&6
15073 else
15074 ac_check_lib_save_LIBS=$LIBS
15075 LIBS="-ldl $LIBS"
15076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15077 /* end confdefs.h. */
15079 /* Override any GCC internal prototype to avoid an error.
15080 Use char because int might match the return type of a GCC
15081 builtin and then its argument prototype would still apply. */
15082 #ifdef __cplusplus
15083 extern "C"
15084 #endif
15085 char dlopen ();
15087 main ()
15089 return dlopen ();
15091 return 0;
15093 _ACEOF
15094 if ac_fn_c_try_link "$LINENO"; then :
15095 ac_cv_lib_dl_dlopen=yes
15096 else
15097 ac_cv_lib_dl_dlopen=no
15099 rm -f core conftest.err conftest.$ac_objext \
15100 conftest$ac_exeext conftest.$ac_ext
15101 LIBS=$ac_check_lib_save_LIBS
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15104 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15105 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15106 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15107 DL_LIBS="-ldl"
15112 ac_wine_check_funcs_save_LIBS="$LIBS"
15113 LIBS="$LIBS $DL_LIBS"
15114 for ac_func in dladdr
15115 do :
15116 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15117 if test "x$ac_cv_func_dladdr" = xyes; then :
15118 cat >>confdefs.h <<_ACEOF
15119 #define HAVE_DLADDR 1
15120 _ACEOF
15123 done
15125 LIBS="$ac_wine_check_funcs_save_LIBS"
15127 if test "$ac_cv_func_poll" = no
15128 then
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15130 $as_echo_n "checking for poll in -lpoll... " >&6; }
15131 if ${ac_cv_lib_poll_poll+:} false; then :
15132 $as_echo_n "(cached) " >&6
15133 else
15134 ac_check_lib_save_LIBS=$LIBS
15135 LIBS="-lpoll $LIBS"
15136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15137 /* end confdefs.h. */
15139 /* Override any GCC internal prototype to avoid an error.
15140 Use char because int might match the return type of a GCC
15141 builtin and then its argument prototype would still apply. */
15142 #ifdef __cplusplus
15143 extern "C"
15144 #endif
15145 char poll ();
15147 main ()
15149 return poll ();
15151 return 0;
15153 _ACEOF
15154 if ac_fn_c_try_link "$LINENO"; then :
15155 ac_cv_lib_poll_poll=yes
15156 else
15157 ac_cv_lib_poll_poll=no
15159 rm -f core conftest.err conftest.$ac_objext \
15160 conftest$ac_exeext conftest.$ac_ext
15161 LIBS=$ac_check_lib_save_LIBS
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15164 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15165 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15166 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15167 POLL_LIBS="-lpoll"
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15174 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15175 if ${ac_cv_search_gethostbyname+:} false; then :
15176 $as_echo_n "(cached) " >&6
15177 else
15178 ac_func_search_save_LIBS=$LIBS
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15182 /* Override any GCC internal prototype to avoid an error.
15183 Use char because int might match the return type of a GCC
15184 builtin and then its argument prototype would still apply. */
15185 #ifdef __cplusplus
15186 extern "C"
15187 #endif
15188 char gethostbyname ();
15190 main ()
15192 return gethostbyname ();
15194 return 0;
15196 _ACEOF
15197 for ac_lib in '' nsl; do
15198 if test -z "$ac_lib"; then
15199 ac_res="none required"
15200 else
15201 ac_res=-l$ac_lib
15202 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15204 if ac_fn_c_try_link "$LINENO"; then :
15205 ac_cv_search_gethostbyname=$ac_res
15207 rm -f core conftest.err conftest.$ac_objext \
15208 conftest$ac_exeext
15209 if ${ac_cv_search_gethostbyname+:} false; then :
15210 break
15212 done
15213 if ${ac_cv_search_gethostbyname+:} false; then :
15215 else
15216 ac_cv_search_gethostbyname=no
15218 rm conftest.$ac_ext
15219 LIBS=$ac_func_search_save_LIBS
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15222 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15223 ac_res=$ac_cv_search_gethostbyname
15224 if test "$ac_res" != no; then :
15225 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15231 $as_echo_n "checking for library containing connect... " >&6; }
15232 if ${ac_cv_search_connect+:} false; then :
15233 $as_echo_n "(cached) " >&6
15234 else
15235 ac_func_search_save_LIBS=$LIBS
15236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h. */
15239 /* Override any GCC internal prototype to avoid an error.
15240 Use char because int might match the return type of a GCC
15241 builtin and then its argument prototype would still apply. */
15242 #ifdef __cplusplus
15243 extern "C"
15244 #endif
15245 char connect ();
15247 main ()
15249 return connect ();
15251 return 0;
15253 _ACEOF
15254 for ac_lib in '' socket; do
15255 if test -z "$ac_lib"; then
15256 ac_res="none required"
15257 else
15258 ac_res=-l$ac_lib
15259 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15261 if ac_fn_c_try_link "$LINENO"; then :
15262 ac_cv_search_connect=$ac_res
15264 rm -f core conftest.err conftest.$ac_objext \
15265 conftest$ac_exeext
15266 if ${ac_cv_search_connect+:} false; then :
15267 break
15269 done
15270 if ${ac_cv_search_connect+:} false; then :
15272 else
15273 ac_cv_search_connect=no
15275 rm conftest.$ac_ext
15276 LIBS=$ac_func_search_save_LIBS
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15279 $as_echo "$ac_cv_search_connect" >&6; }
15280 ac_res=$ac_cv_search_connect
15281 if test "$ac_res" != no; then :
15282 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15288 $as_echo_n "checking for library containing inet_aton... " >&6; }
15289 if ${ac_cv_search_inet_aton+:} false; then :
15290 $as_echo_n "(cached) " >&6
15291 else
15292 ac_func_search_save_LIBS=$LIBS
15293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15296 /* Override any GCC internal prototype to avoid an error.
15297 Use char because int might match the return type of a GCC
15298 builtin and then its argument prototype would still apply. */
15299 #ifdef __cplusplus
15300 extern "C"
15301 #endif
15302 char inet_aton ();
15304 main ()
15306 return inet_aton ();
15308 return 0;
15310 _ACEOF
15311 for ac_lib in '' resolv; do
15312 if test -z "$ac_lib"; then
15313 ac_res="none required"
15314 else
15315 ac_res=-l$ac_lib
15316 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15318 if ac_fn_c_try_link "$LINENO"; then :
15319 ac_cv_search_inet_aton=$ac_res
15321 rm -f core conftest.err conftest.$ac_objext \
15322 conftest$ac_exeext
15323 if ${ac_cv_search_inet_aton+:} false; then :
15324 break
15326 done
15327 if ${ac_cv_search_inet_aton+:} false; then :
15329 else
15330 ac_cv_search_inet_aton=no
15332 rm conftest.$ac_ext
15333 LIBS=$ac_func_search_save_LIBS
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15336 $as_echo "$ac_cv_search_inet_aton" >&6; }
15337 ac_res=$ac_cv_search_inet_aton
15338 if test "$ac_res" != no; then :
15339 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15344 for ac_func in \
15345 getaddrinfo \
15346 getnameinfo \
15347 getnetbyname \
15348 getprotobyname \
15349 getprotobynumber \
15350 getservbyport \
15351 inet_addr \
15352 inet_network \
15353 inet_ntop \
15354 inet_pton \
15355 sendmsg \
15356 socketpair \
15358 do :
15359 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15360 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15361 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15362 cat >>confdefs.h <<_ACEOF
15363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15364 _ACEOF
15367 done
15370 ac_save_LIBS=$LIBS
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15372 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15373 if ${ac_cv_search_clock_gettime+:} false; then :
15374 $as_echo_n "(cached) " >&6
15375 else
15376 ac_func_search_save_LIBS=$LIBS
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15380 /* Override any GCC internal prototype to avoid an error.
15381 Use char because int might match the return type of a GCC
15382 builtin and then its argument prototype would still apply. */
15383 #ifdef __cplusplus
15384 extern "C"
15385 #endif
15386 char clock_gettime ();
15388 main ()
15390 return clock_gettime ();
15392 return 0;
15394 _ACEOF
15395 for ac_lib in '' rt; do
15396 if test -z "$ac_lib"; then
15397 ac_res="none required"
15398 else
15399 ac_res=-l$ac_lib
15400 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15402 if ac_fn_c_try_link "$LINENO"; then :
15403 ac_cv_search_clock_gettime=$ac_res
15405 rm -f core conftest.err conftest.$ac_objext \
15406 conftest$ac_exeext
15407 if ${ac_cv_search_clock_gettime+:} false; then :
15408 break
15410 done
15411 if ${ac_cv_search_clock_gettime+:} false; then :
15413 else
15414 ac_cv_search_clock_gettime=no
15416 rm conftest.$ac_ext
15417 LIBS=$ac_func_search_save_LIBS
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15420 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15421 ac_res=$ac_cv_search_clock_gettime
15422 if test "$ac_res" != no; then :
15423 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15425 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15427 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15431 LIBS=$ac_save_LIBS
15433 LDAP_LIBS=""
15435 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15436 then
15437 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15439 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15441 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15442 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15443 $as_echo_n "(cached) " >&6
15444 else
15445 ac_check_lib_save_LIBS=$LIBS
15446 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15448 /* end confdefs.h. */
15450 /* Override any GCC internal prototype to avoid an error.
15451 Use char because int might match the return type of a GCC
15452 builtin and then its argument prototype would still apply. */
15453 #ifdef __cplusplus
15454 extern "C"
15455 #endif
15456 char ldap_initialize ();
15458 main ()
15460 return ldap_initialize ();
15462 return 0;
15464 _ACEOF
15465 if ac_fn_c_try_link "$LINENO"; then :
15466 ac_cv_lib_ldap_r_ldap_initialize=yes
15467 else
15468 ac_cv_lib_ldap_r_ldap_initialize=no
15470 rm -f core conftest.err conftest.$ac_objext \
15471 conftest$ac_exeext conftest.$ac_ext
15472 LIBS=$ac_check_lib_save_LIBS
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15475 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15476 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15478 $as_echo_n "checking for ber_init in -llber... " >&6; }
15479 if ${ac_cv_lib_lber_ber_init+:} false; then :
15480 $as_echo_n "(cached) " >&6
15481 else
15482 ac_check_lib_save_LIBS=$LIBS
15483 LIBS="-llber $PTHREAD_LIBS $LIBS"
15484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15485 /* end confdefs.h. */
15487 /* Override any GCC internal prototype to avoid an error.
15488 Use char because int might match the return type of a GCC
15489 builtin and then its argument prototype would still apply. */
15490 #ifdef __cplusplus
15491 extern "C"
15492 #endif
15493 char ber_init ();
15495 main ()
15497 return ber_init ();
15499 return 0;
15501 _ACEOF
15502 if ac_fn_c_try_link "$LINENO"; then :
15503 ac_cv_lib_lber_ber_init=yes
15504 else
15505 ac_cv_lib_lber_ber_init=no
15507 rm -f core conftest.err conftest.$ac_objext \
15508 conftest$ac_exeext conftest.$ac_ext
15509 LIBS=$ac_check_lib_save_LIBS
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15512 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15513 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15515 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15517 LDAP_LIBS="-lldap_r -llber"
15524 ac_wine_check_funcs_save_LIBS="$LIBS"
15525 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15526 for ac_func in \
15527 ldap_count_references \
15528 ldap_first_reference \
15529 ldap_next_reference \
15530 ldap_parse_reference \
15531 ldap_parse_sort_control \
15532 ldap_parse_sortresponse_control \
15533 ldap_parse_vlv_control \
15534 ldap_parse_vlvresponse_control
15535 do :
15536 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15537 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15538 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15539 cat >>confdefs.h <<_ACEOF
15540 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15541 _ACEOF
15544 done
15546 LIBS="$ac_wine_check_funcs_save_LIBS"
15548 if test "x$LDAP_LIBS" = "x"; then :
15549 case "x$with_ldap" in
15550 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15551 xno) ;;
15552 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15553 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15554 esac
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15559 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15560 if ${wine_cv_one_arg_mkdir+:} false; then :
15561 $as_echo_n "(cached) " >&6
15562 else
15563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15564 /* end confdefs.h. */
15565 #include <sys/stat.h>
15567 main ()
15569 mkdir("foo");
15571 return 0;
15573 _ACEOF
15574 if ac_fn_c_try_compile "$LINENO"; then :
15575 wine_cv_one_arg_mkdir=yes
15576 else
15577 wine_cv_one_arg_mkdir=no
15579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15582 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15583 if test "$wine_cv_one_arg_mkdir" = "yes"
15584 then
15586 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15591 $as_echo_n "checking for sched_setaffinity... " >&6; }
15592 if ${wine_cv_have_sched_setaffinity+:} false; then :
15593 $as_echo_n "(cached) " >&6
15594 else
15595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h. */
15597 #define _GNU_SOURCE
15598 #include <sched.h>
15600 main ()
15602 sched_setaffinity(0, 0, 0);
15604 return 0;
15606 _ACEOF
15607 if ac_fn_c_try_link "$LINENO"; then :
15608 wine_cv_have_sched_setaffinity=yes
15609 else
15610 wine_cv_have_sched_setaffinity=no
15612 rm -f core conftest.err conftest.$ac_objext \
15613 conftest$ac_exeext conftest.$ac_ext
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15616 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15617 if test "$wine_cv_have_sched_setaffinity" = "yes"
15618 then
15620 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15625 $as_echo_n "checking for fallocate... " >&6; }
15626 if ${wine_cv_have_fallocate+:} false; then :
15627 $as_echo_n "(cached) " >&6
15628 else
15629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15630 /* end confdefs.h. */
15631 #define _GNU_SOURCE
15632 #include <fcntl.h>
15634 main ()
15636 fallocate(-1, 0, 0, 0);
15638 return 0;
15640 _ACEOF
15641 if ac_fn_c_try_link "$LINENO"; then :
15642 wine_cv_have_fallocate=yes
15643 else
15644 wine_cv_have_fallocate=no
15646 rm -f core conftest.err conftest.$ac_objext \
15647 conftest$ac_exeext conftest.$ac_ext
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15650 $as_echo "$wine_cv_have_fallocate" >&6; }
15651 if test "$wine_cv_have_fallocate" = "yes"
15652 then
15654 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15660 $as_echo_n "checking for inline... " >&6; }
15661 if ${ac_cv_c_inline+:} false; then :
15662 $as_echo_n "(cached) " >&6
15663 else
15664 ac_cv_c_inline=no
15665 for ac_kw in inline __inline__ __inline; do
15666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15668 #ifndef __cplusplus
15669 typedef int foo_t;
15670 static $ac_kw foo_t static_foo () {return 0; }
15671 $ac_kw foo_t foo () {return 0; }
15672 #endif
15674 _ACEOF
15675 if ac_fn_c_try_compile "$LINENO"; then :
15676 ac_cv_c_inline=$ac_kw
15678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15679 test "$ac_cv_c_inline" != no && break
15680 done
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15684 $as_echo "$ac_cv_c_inline" >&6; }
15686 case $ac_cv_c_inline in
15687 inline | yes) ;;
15689 case $ac_cv_c_inline in
15690 no) ac_val=;;
15691 *) ac_val=$ac_cv_c_inline;;
15692 esac
15693 cat >>confdefs.h <<_ACEOF
15694 #ifndef __cplusplus
15695 #define inline $ac_val
15696 #endif
15697 _ACEOF
15699 esac
15701 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15702 if test "x$ac_cv_type_mode_t" = xyes; then :
15704 cat >>confdefs.h <<_ACEOF
15705 #define HAVE_MODE_T 1
15706 _ACEOF
15710 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15711 if test "x$ac_cv_type_off_t" = xyes; then :
15713 cat >>confdefs.h <<_ACEOF
15714 #define HAVE_OFF_T 1
15715 _ACEOF
15719 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15720 if test "x$ac_cv_type_pid_t" = xyes; then :
15722 cat >>confdefs.h <<_ACEOF
15723 #define HAVE_PID_T 1
15724 _ACEOF
15728 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15729 if test "x$ac_cv_type_size_t" = xyes; then :
15731 cat >>confdefs.h <<_ACEOF
15732 #define HAVE_SIZE_T 1
15733 _ACEOF
15737 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15738 if test "x$ac_cv_type_ssize_t" = xyes; then :
15740 cat >>confdefs.h <<_ACEOF
15741 #define HAVE_SSIZE_T 1
15742 _ACEOF
15746 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15747 if test "x$ac_cv_type_long_long" = xyes; then :
15749 cat >>confdefs.h <<_ACEOF
15750 #define HAVE_LONG_LONG 1
15751 _ACEOF
15755 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15756 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15758 cat >>confdefs.h <<_ACEOF
15759 #define HAVE_FSBLKCNT_T 1
15760 _ACEOF
15764 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15765 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15767 cat >>confdefs.h <<_ACEOF
15768 #define HAVE_FSFILCNT_T 1
15769 _ACEOF
15774 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15775 #include <signal.h>
15777 if test "x$ac_cv_type_sigset_t" = xyes; then :
15779 cat >>confdefs.h <<_ACEOF
15780 #define HAVE_SIGSET_T 1
15781 _ACEOF
15786 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15788 if test "x$ac_cv_type_request_sense" = xyes; then :
15790 cat >>confdefs.h <<_ACEOF
15791 #define HAVE_REQUEST_SENSE 1
15792 _ACEOF
15798 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15799 #ifdef HAVE_SYS_SOCKET_H
15800 #include <sys/socket.h>
15801 #endif
15802 #ifdef HAVE_SYS_SOCKETVAR_H
15803 #include <sys/socketvar.h>
15804 #endif
15805 #ifdef HAVE_NET_ROUTE_H
15806 #include <net/route.h>
15807 #endif
15808 #ifdef HAVE_NETINET_IN_H
15809 #include <netinet/in.h>
15810 #endif
15811 #ifdef HAVE_NETINET_IN_SYSTM_H
15812 #include <netinet/in_systm.h>
15813 #endif
15814 #ifdef HAVE_NETINET_IP_H
15815 #include <netinet/ip.h>
15816 #endif
15817 #ifdef HAVE_NETINET_IN_PCB_H
15818 #include <netinet/in_pcb.h>
15819 #endif
15821 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15823 cat >>confdefs.h <<_ACEOF
15824 #define HAVE_STRUCT_XINPGEN 1
15825 _ACEOF
15831 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15832 #include <link.h>
15833 #endif
15834 #ifdef HAVE_SYS_LINK_H
15835 #include <sys/link.h>
15836 #endif
15838 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15840 cat >>confdefs.h <<_ACEOF
15841 #define HAVE_STRUCT_R_DEBUG 1
15842 _ACEOF
15846 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15847 #include <link.h>
15848 #endif
15849 #ifdef HAVE_SYS_LINK_H
15850 #include <sys/link.h>
15851 #endif
15853 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15855 cat >>confdefs.h <<_ACEOF
15856 #define HAVE_STRUCT_LINK_MAP 1
15857 _ACEOF
15863 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15864 #include <linux/input.h>
15865 #endif
15867 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15869 cat >>confdefs.h <<_ACEOF
15870 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15871 _ACEOF
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15878 $as_echo_n "checking for sigaddset... " >&6; }
15879 if ${wine_cv_have_sigaddset+:} false; then :
15880 $as_echo_n "(cached) " >&6
15881 else
15882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15883 /* end confdefs.h. */
15884 #include <signal.h>
15886 main ()
15888 sigset_t set; sigaddset(&set,SIGTERM);
15890 return 0;
15892 _ACEOF
15893 if ac_fn_c_try_link "$LINENO"; then :
15894 wine_cv_have_sigaddset=yes
15895 else
15896 wine_cv_have_sigaddset=no
15898 rm -f core conftest.err conftest.$ac_objext \
15899 conftest$ac_exeext conftest.$ac_ext
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15902 $as_echo "$wine_cv_have_sigaddset" >&6; }
15903 if test "$wine_cv_have_sigaddset" = "yes"
15904 then
15906 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15912 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15913 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15914 $as_echo_n "(cached) " >&6
15915 else
15916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15918 #include <netdb.h>
15920 main ()
15923 char *name=0;
15924 struct hostent he;
15925 struct hostent *result;
15926 char *buf=0;
15927 int bufsize=0;
15928 int errnr;
15929 char *addr=0;
15930 int addrlen=0;
15931 int addrtype=0;
15932 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15933 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15936 return 0;
15938 _ACEOF
15939 if ac_fn_c_try_link "$LINENO"; then :
15940 wine_cv_linux_gethostbyname_r_6=yes
15941 else
15942 wine_cv_linux_gethostbyname_r_6=no
15945 rm -f core conftest.err conftest.$ac_objext \
15946 conftest$ac_exeext conftest.$ac_ext
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15950 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15951 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15952 then
15954 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15958 if test "$ac_cv_header_linux_joystick_h" = "yes"
15959 then
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15961 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15962 if ${wine_cv_linux_joystick_22_api+:} false; then :
15963 $as_echo_n "(cached) " >&6
15964 else
15965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15966 /* end confdefs.h. */
15968 #include <sys/ioctl.h>
15969 #include <sys/types.h>
15970 #include <linux/joystick.h>
15972 struct js_event blub;
15973 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15974 #error "no 2.2 header"
15975 #endif
15978 main ()
15980 /*empty*/
15982 return 0;
15984 _ACEOF
15985 if ac_fn_c_try_compile "$LINENO"; then :
15986 wine_cv_linux_joystick_22_api=yes
15987 else
15988 wine_cv_linux_joystick_22_api=no
15990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15994 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15995 if test "$wine_cv_linux_joystick_22_api" = "yes"
15996 then
15998 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16004 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16005 #ifdef HAVE_SYS_PARAM_H
16006 # include <sys/param.h>
16007 #endif
16008 #ifdef HAVE_SYS_MOUNT_H
16009 # include <sys/mount.h>
16010 #endif
16011 #ifdef HAVE_SYS_VFS_H
16012 # include <sys/vfs.h>
16013 #endif
16014 #ifdef HAVE_SYS_STATFS_H
16015 # include <sys/statfs.h>
16016 #endif
16018 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16020 cat >>confdefs.h <<_ACEOF
16021 #define HAVE_STRUCT_STATFS_F_BFREE 1
16022 _ACEOF
16026 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16027 #ifdef HAVE_SYS_PARAM_H
16028 # include <sys/param.h>
16029 #endif
16030 #ifdef HAVE_SYS_MOUNT_H
16031 # include <sys/mount.h>
16032 #endif
16033 #ifdef HAVE_SYS_VFS_H
16034 # include <sys/vfs.h>
16035 #endif
16036 #ifdef HAVE_SYS_STATFS_H
16037 # include <sys/statfs.h>
16038 #endif
16040 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16042 cat >>confdefs.h <<_ACEOF
16043 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16044 _ACEOF
16048 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16049 #ifdef HAVE_SYS_PARAM_H
16050 # include <sys/param.h>
16051 #endif
16052 #ifdef HAVE_SYS_MOUNT_H
16053 # include <sys/mount.h>
16054 #endif
16055 #ifdef HAVE_SYS_VFS_H
16056 # include <sys/vfs.h>
16057 #endif
16058 #ifdef HAVE_SYS_STATFS_H
16059 # include <sys/statfs.h>
16060 #endif
16062 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16064 cat >>confdefs.h <<_ACEOF
16065 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16066 _ACEOF
16070 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16071 #ifdef HAVE_SYS_PARAM_H
16072 # include <sys/param.h>
16073 #endif
16074 #ifdef HAVE_SYS_MOUNT_H
16075 # include <sys/mount.h>
16076 #endif
16077 #ifdef HAVE_SYS_VFS_H
16078 # include <sys/vfs.h>
16079 #endif
16080 #ifdef HAVE_SYS_STATFS_H
16081 # include <sys/statfs.h>
16082 #endif
16084 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16086 cat >>confdefs.h <<_ACEOF
16087 #define HAVE_STRUCT_STATFS_F_FFREE 1
16088 _ACEOF
16092 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16093 #ifdef HAVE_SYS_PARAM_H
16094 # include <sys/param.h>
16095 #endif
16096 #ifdef HAVE_SYS_MOUNT_H
16097 # include <sys/mount.h>
16098 #endif
16099 #ifdef HAVE_SYS_VFS_H
16100 # include <sys/vfs.h>
16101 #endif
16102 #ifdef HAVE_SYS_STATFS_H
16103 # include <sys/statfs.h>
16104 #endif
16106 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16108 cat >>confdefs.h <<_ACEOF
16109 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16110 _ACEOF
16114 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16115 #ifdef HAVE_SYS_PARAM_H
16116 # include <sys/param.h>
16117 #endif
16118 #ifdef HAVE_SYS_MOUNT_H
16119 # include <sys/mount.h>
16120 #endif
16121 #ifdef HAVE_SYS_VFS_H
16122 # include <sys/vfs.h>
16123 #endif
16124 #ifdef HAVE_SYS_STATFS_H
16125 # include <sys/statfs.h>
16126 #endif
16128 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16132 _ACEOF
16138 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16139 #include <sys/statvfs.h>
16140 #endif
16142 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16144 cat >>confdefs.h <<_ACEOF
16145 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16146 _ACEOF
16152 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16153 #include <dirent.h>
16154 #endif
16156 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16158 cat >>confdefs.h <<_ACEOF
16159 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16160 _ACEOF
16166 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16167 #ifdef HAVE_SYS_SOCKET_H
16168 # include <sys/socket.h>
16169 #endif
16170 #ifdef HAVE_SYS_UN_H
16171 # include <sys/un.h>
16172 #endif
16174 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16176 cat >>confdefs.h <<_ACEOF
16177 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16178 _ACEOF
16182 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16183 #ifdef HAVE_SYS_SOCKET_H
16184 # include <sys/socket.h>
16185 #endif
16186 #ifdef HAVE_SYS_UN_H
16187 # include <sys/un.h>
16188 #endif
16190 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16192 cat >>confdefs.h <<_ACEOF
16193 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16194 _ACEOF
16198 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16199 #ifdef HAVE_SYS_SOCKET_H
16200 # include <sys/socket.h>
16201 #endif
16202 #ifdef HAVE_SYS_UN_H
16203 # include <sys/un.h>
16204 #endif
16206 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16208 cat >>confdefs.h <<_ACEOF
16209 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16210 _ACEOF
16216 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16217 #ifdef HAVE_SCSI_SG_H
16218 #include <scsi/sg.h>
16219 #endif
16221 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16223 cat >>confdefs.h <<_ACEOF
16224 #define HAVE_SCSIREQ_T_CMD 1
16225 _ACEOF
16229 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>
16230 #ifdef HAVE_SCSI_SG_H
16231 #include <scsi/sg.h>
16232 #endif
16234 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16236 cat >>confdefs.h <<_ACEOF
16237 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16238 _ACEOF
16244 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16246 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16248 cat >>confdefs.h <<_ACEOF
16249 #define HAVE_SIGINFO_T_SI_FD 1
16250 _ACEOF
16256 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16257 #ifdef HAVE_SYS_MTIO_H
16258 #include <sys/mtio.h>
16259 #endif
16261 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16263 cat >>confdefs.h <<_ACEOF
16264 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16265 _ACEOF
16269 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16270 #ifdef HAVE_SYS_MTIO_H
16271 #include <sys/mtio.h>
16272 #endif
16274 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16276 cat >>confdefs.h <<_ACEOF
16277 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16278 _ACEOF
16282 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16283 #ifdef HAVE_SYS_MTIO_H
16284 #include <sys/mtio.h>
16285 #endif
16287 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16289 cat >>confdefs.h <<_ACEOF
16290 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16291 _ACEOF
16297 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16298 #include <getopt.h>
16299 #endif
16301 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16303 cat >>confdefs.h <<_ACEOF
16304 #define HAVE_STRUCT_OPTION_NAME 1
16305 _ACEOF
16311 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16312 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16314 cat >>confdefs.h <<_ACEOF
16315 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16316 _ACEOF
16320 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16321 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16323 cat >>confdefs.h <<_ACEOF
16324 #define HAVE_STRUCT_STAT_ST_MTIM 1
16325 _ACEOF
16329 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16330 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16332 cat >>confdefs.h <<_ACEOF
16333 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16334 _ACEOF
16338 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16339 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16341 cat >>confdefs.h <<_ACEOF
16342 #define HAVE_STRUCT_STAT_ST_CTIM 1
16343 _ACEOF
16347 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16348 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16350 cat >>confdefs.h <<_ACEOF
16351 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16352 _ACEOF
16356 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16357 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16359 cat >>confdefs.h <<_ACEOF
16360 #define HAVE_STRUCT_STAT_ST_ATIM 1
16361 _ACEOF
16365 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16366 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16368 cat >>confdefs.h <<_ACEOF
16369 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16370 _ACEOF
16374 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16375 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16377 cat >>confdefs.h <<_ACEOF
16378 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16379 _ACEOF
16383 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16384 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16386 cat >>confdefs.h <<_ACEOF
16387 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16388 _ACEOF
16392 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16393 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16395 cat >>confdefs.h <<_ACEOF
16396 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16397 _ACEOF
16401 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16402 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16404 cat >>confdefs.h <<_ACEOF
16405 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16406 _ACEOF
16410 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16411 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16413 cat >>confdefs.h <<_ACEOF
16414 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16415 _ACEOF
16421 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
16422 #include <sys/types.h>
16423 #endif
16424 #ifdef HAVE_NETINET_IN_H
16425 #include <netinet/in.h>
16426 #endif
16428 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16430 cat >>confdefs.h <<_ACEOF
16431 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16432 _ACEOF
16438 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16439 #include <resolv.h>
16440 #endif
16442 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16444 cat >>confdefs.h <<_ACEOF
16445 #define HAVE_STRUCT___RES_STATE 1
16446 _ACEOF
16452 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
16453 #include <resolv.h>
16454 #endif
16456 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16460 _ACEOF
16466 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16467 #include <sys/types.h>
16468 #endif
16469 #ifdef HAVE_NETINET_IN_H
16470 # include <netinet/in.h>
16471 #endif
16472 #ifdef HAVE_ARPA_NAMESER_H
16473 # include <arpa/nameser.h>
16474 #endif
16476 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16478 cat >>confdefs.h <<_ACEOF
16479 #define HAVE_NS_MSG__MSG_PTR 1
16480 _ACEOF
16486 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16487 #include <sys/types.h>
16488 #endif
16489 #ifdef HAVE_NETINET_IP_H
16490 #include <netinet/ip.h>
16491 #endif
16492 #ifdef HAVE_NETINET_IP_ICMP_H
16493 #include <netinet/ip_icmp.h>
16494 #endif
16495 #ifdef HAVE_NETINET_ICMP_VAR_H
16496 #include <netinet/icmp_var.h>
16497 #endif
16499 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16501 cat >>confdefs.h <<_ACEOF
16502 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16503 _ACEOF
16509 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16510 #include <sys/types.h>
16511 #endif
16512 #ifdef HAVE_ALIAS_H
16513 #include <alias.h>
16514 #endif
16515 #ifdef HAVE_SYS_SOCKET_H
16516 #include <sys/socket.h>
16517 #endif
16518 #ifdef HAVE_SYS_SOCKETVAR_H
16519 #include <sys/socketvar.h>
16520 #endif
16521 #ifdef HAVE_SYS_TIMEOUT_H
16522 #include <sys/timeout.h>
16523 #endif
16524 #ifdef HAVE_NETINET_IN_H
16525 #include <netinet/in.h>
16526 #endif
16527 #ifdef HAVE_NETINET_IN_SYSTM_H
16528 #include <netinet/in_systm.h>
16529 #endif
16530 #ifdef HAVE_NETINET_IP_H
16531 #include <netinet/ip.h>
16532 #endif
16533 #ifdef HAVE_NETINET_IP_VAR_H
16534 #include <netinet/ip_var.h>
16535 #endif
16536 #ifdef HAVE_NETINET_IP_ICMP_H
16537 #include <netinet/ip_icmp.h>
16538 #endif
16539 #ifdef HAVE_NETINET_ICMP_VAR_H
16540 #include <netinet/icmp_var.h>
16541 #endif
16543 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16545 cat >>confdefs.h <<_ACEOF
16546 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16547 _ACEOF
16553 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16554 #include <sys/types.h>
16555 #endif
16556 #ifdef HAVE_SYS_SOCKETVAR_H
16557 #include <sys/socketvar.h>
16558 #endif
16559 #ifdef HAVE_NETINET_IN_H
16560 #include <netinet/in.h>
16561 #endif
16562 #ifdef HAVE_NETINET_IP_VAR_H
16563 #include <netinet/ip_var.h>
16564 #endif
16566 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16568 cat >>confdefs.h <<_ACEOF
16569 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16570 _ACEOF
16576 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
16577 #include <netinet/ip_var.h>
16578 #endif
16580 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16582 cat >>confdefs.h <<_ACEOF
16583 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16584 _ACEOF
16590 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16591 #include <sys/types.h>
16592 #endif
16593 #ifdef HAVE_SYS_SOCKETVAR_H
16594 #include <sys/socketvar.h>
16595 #endif
16596 #ifdef HAVE_NETINET_IN_H
16597 #include <netinet/in.h>
16598 #endif
16599 #ifdef HAVE_NETINET_TCP_H
16600 #include <netinet/tcp.h>
16601 #endif
16602 #ifdef HAVE_NETINET_TCP_VAR_H
16603 #include <netinet/tcp_var.h>
16604 #endif
16606 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16608 cat >>confdefs.h <<_ACEOF
16609 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16610 _ACEOF
16616 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
16617 #include <netinet/tcp_var.h>
16618 #endif
16620 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16622 cat >>confdefs.h <<_ACEOF
16623 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16624 _ACEOF
16630 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16631 #include <sys/types.h>
16632 #endif
16633 #ifdef HAVE_NETINET_IN_H
16634 #include <netinet/in.h>
16635 #endif
16636 #ifdef HAVE_NETINET_IP_VAR_H
16637 #include <netinet/ip_var.h>
16638 #endif
16639 #ifdef HAVE_NETINET_UDP_H
16640 #include <netinet/udp.h>
16641 #endif
16642 #ifdef HAVE_NETINET_UDP_VAR_H
16643 #include <netinet/udp_var.h>
16644 #endif
16646 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16648 cat >>confdefs.h <<_ACEOF
16649 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16650 _ACEOF
16656 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16657 #include <sys/types.h>
16658 #endif
16659 #ifdef HAVE_NET_IF_H
16660 # include <net/if.h>
16661 #endif
16663 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16665 cat >>confdefs.h <<_ACEOF
16666 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16667 _ACEOF
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16674 $as_echo_n "checking for timezone variable... " >&6; }
16675 if ${ac_cv_have_timezone+:} false; then :
16676 $as_echo_n "(cached) " >&6
16677 else
16678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16680 #include <time.h>
16682 main ()
16684 timezone = 1
16686 return 0;
16688 _ACEOF
16689 if ac_fn_c_try_link "$LINENO"; then :
16690 ac_cv_have_timezone="yes"
16691 else
16692 ac_cv_have_timezone="no"
16694 rm -f core conftest.err conftest.$ac_objext \
16695 conftest$ac_exeext conftest.$ac_ext
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16698 $as_echo "$ac_cv_have_timezone" >&6; }
16699 if test "$ac_cv_have_timezone" = "yes"
16700 then
16702 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16706 $as_echo_n "checking for daylight variable... " >&6; }
16707 if ${ac_cv_have_daylight+:} false; then :
16708 $as_echo_n "(cached) " >&6
16709 else
16710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16711 /* end confdefs.h. */
16712 #include <time.h>
16714 main ()
16716 daylight = 1
16718 return 0;
16720 _ACEOF
16721 if ac_fn_c_try_link "$LINENO"; then :
16722 ac_cv_have_daylight="yes"
16723 else
16724 ac_cv_have_daylight="no"
16726 rm -f core conftest.err conftest.$ac_objext \
16727 conftest$ac_exeext conftest.$ac_ext
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16730 $as_echo "$ac_cv_have_daylight" >&6; }
16731 if test "$ac_cv_have_daylight" = "yes"
16732 then
16734 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16738 ac_save_LIBS="$LIBS"
16739 LIBS="$LIBS -lm"
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16741 $as_echo_n "checking for isfinite... " >&6; }
16742 if ${ac_cv_have_isfinite+:} false; then :
16743 $as_echo_n "(cached) " >&6
16744 else
16745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16746 /* end confdefs.h. */
16747 #define _GNU_SOURCE
16748 #include <math.h>
16750 main ()
16752 float f = 0.0; return isfinite(f)
16754 return 0;
16756 _ACEOF
16757 if ac_fn_c_try_link "$LINENO"; then :
16758 ac_cv_have_isfinite="yes"
16759 else
16760 ac_cv_have_isfinite="no"
16762 rm -f core conftest.err conftest.$ac_objext \
16763 conftest$ac_exeext conftest.$ac_ext
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16766 $as_echo "$ac_cv_have_isfinite" >&6; }
16767 if test "$ac_cv_have_isfinite" = "yes"
16768 then
16770 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16775 $as_echo_n "checking for isinf... " >&6; }
16776 if ${ac_cv_have_isinf+:} false; then :
16777 $as_echo_n "(cached) " >&6
16778 else
16779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16780 /* end confdefs.h. */
16781 #include <math.h>
16783 main ()
16785 float f = 0.0; return isinf(f)
16787 return 0;
16789 _ACEOF
16790 if ac_fn_c_try_link "$LINENO"; then :
16791 ac_cv_have_isinf="yes"
16792 else
16793 ac_cv_have_isinf="no"
16795 rm -f core conftest.err conftest.$ac_objext \
16796 conftest$ac_exeext conftest.$ac_ext
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16799 $as_echo "$ac_cv_have_isinf" >&6; }
16800 if test "$ac_cv_have_isinf" = "yes"
16801 then
16803 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16808 $as_echo_n "checking for isnan... " >&6; }
16809 if ${ac_cv_have_isnan+:} false; then :
16810 $as_echo_n "(cached) " >&6
16811 else
16812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16814 #include <math.h>
16816 main ()
16818 float f = 0.0; return isnan(f)
16820 return 0;
16822 _ACEOF
16823 if ac_fn_c_try_link "$LINENO"; then :
16824 ac_cv_have_isnan="yes"
16825 else
16826 ac_cv_have_isnan="no"
16828 rm -f core conftest.err conftest.$ac_objext \
16829 conftest$ac_exeext conftest.$ac_ext
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16832 $as_echo "$ac_cv_have_isnan" >&6; }
16833 if test "$ac_cv_have_isnan" = "yes"
16834 then
16836 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16840 for ac_func in \
16841 cbrt \
16842 cbrtf \
16843 erf \
16844 erff \
16845 exp2 \
16846 exp2f \
16847 llrint \
16848 llrintf \
16849 llround \
16850 llroundf \
16851 log2 \
16852 log2f \
16853 lrint \
16854 lrintf \
16855 lround \
16856 lroundf \
16857 rint \
16858 rintf \
16859 round \
16860 roundf \
16861 trunc \
16862 truncf
16864 do :
16865 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16866 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16867 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16868 cat >>confdefs.h <<_ACEOF
16869 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16870 _ACEOF
16873 done
16875 LIBS="$ac_save_LIBS"
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16878 $as_echo_n "checking for __builtin_clz... " >&6; }
16879 if ${ac_cv_have___builtin_clz+:} false; then :
16880 $as_echo_n "(cached) " >&6
16881 else
16882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16886 main ()
16888 return __builtin_clz(1)
16890 return 0;
16892 _ACEOF
16893 if ac_fn_c_try_link "$LINENO"; then :
16894 ac_cv_have___builtin_clz="yes"
16895 else
16896 ac_cv_have___builtin_clz="no"
16898 rm -f core conftest.err conftest.$ac_objext \
16899 conftest$ac_exeext conftest.$ac_ext
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16902 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16903 if test "$ac_cv_have___builtin_clz" = "yes"
16904 then
16906 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16911 $as_echo_n "checking for __builtin_popcount... " >&6; }
16912 if ${ac_cv_have___builtin_popcount+:} false; then :
16913 $as_echo_n "(cached) " >&6
16914 else
16915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16916 /* end confdefs.h. */
16919 main ()
16921 return __builtin_popcount(1)
16923 return 0;
16925 _ACEOF
16926 if ac_fn_c_try_link "$LINENO"; then :
16927 ac_cv_have___builtin_popcount="yes"
16928 else
16929 ac_cv_have___builtin_popcount="no"
16931 rm -f core conftest.err conftest.$ac_objext \
16932 conftest$ac_exeext conftest.$ac_ext
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
16935 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16936 if test "$ac_cv_have___builtin_popcount" = "yes"
16937 then
16939 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16944 case $host_cpu in
16945 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16946 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16947 if ${ac_cv_cpp_def___i386__+:} false; then :
16948 $as_echo_n "(cached) " >&6
16949 else
16950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16951 /* end confdefs.h. */
16952 #ifndef __i386__
16954 #endif
16955 _ACEOF
16956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16957 $EGREP "yes" >/dev/null 2>&1; then :
16958 ac_cv_cpp_def___i386__=yes
16959 else
16960 ac_cv_cpp_def___i386__=no
16962 rm -f conftest*
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16966 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16967 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16968 CFLAGS="$CFLAGS -D__i386__"
16969 LINTFLAGS="$LINTFLAGS -D__i386__"
16970 fi ;;
16971 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16972 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16973 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16974 $as_echo_n "(cached) " >&6
16975 else
16976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16977 /* end confdefs.h. */
16978 #ifndef __x86_64__
16980 #endif
16981 _ACEOF
16982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16983 $EGREP "yes" >/dev/null 2>&1; then :
16984 ac_cv_cpp_def___x86_64__=yes
16985 else
16986 ac_cv_cpp_def___x86_64__=no
16988 rm -f conftest*
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16992 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16993 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16994 CFLAGS="$CFLAGS -D__x86_64__"
16995 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16996 fi ;;
16997 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16998 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16999 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17000 $as_echo_n "(cached) " >&6
17001 else
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17004 #ifndef __sparc64__
17006 #endif
17007 _ACEOF
17008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17009 $EGREP "yes" >/dev/null 2>&1; then :
17010 ac_cv_cpp_def___sparc64__=yes
17011 else
17012 ac_cv_cpp_def___sparc64__=no
17014 rm -f conftest*
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17018 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17019 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17020 CFLAGS="$CFLAGS -D__sparc64__"
17021 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17022 fi ;;
17023 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17024 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17025 if ${ac_cv_cpp_def___sparc__+:} false; then :
17026 $as_echo_n "(cached) " >&6
17027 else
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 #ifndef __sparc__
17032 #endif
17033 _ACEOF
17034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17035 $EGREP "yes" >/dev/null 2>&1; then :
17036 ac_cv_cpp_def___sparc__=yes
17037 else
17038 ac_cv_cpp_def___sparc__=no
17040 rm -f conftest*
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17044 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17045 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17046 CFLAGS="$CFLAGS -D__sparc__"
17047 LINTFLAGS="$LINTFLAGS -D__sparc__"
17048 fi ;;
17049 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17050 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17051 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17052 $as_echo_n "(cached) " >&6
17053 else
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #ifndef __powerpc64__
17058 #endif
17059 _ACEOF
17060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17061 $EGREP "yes" >/dev/null 2>&1; then :
17062 ac_cv_cpp_def___powerpc64__=yes
17063 else
17064 ac_cv_cpp_def___powerpc64__=no
17066 rm -f conftest*
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17070 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17071 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17072 CFLAGS="$CFLAGS -D__powerpc64__"
17073 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17074 fi ;;
17075 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17076 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17077 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17078 $as_echo_n "(cached) " >&6
17079 else
17080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17081 /* end confdefs.h. */
17082 #ifndef __powerpc__
17084 #endif
17085 _ACEOF
17086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17087 $EGREP "yes" >/dev/null 2>&1; then :
17088 ac_cv_cpp_def___powerpc__=yes
17089 else
17090 ac_cv_cpp_def___powerpc__=no
17092 rm -f conftest*
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17096 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17097 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17098 CFLAGS="$CFLAGS -D__powerpc__"
17099 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17100 fi ;;
17101 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17102 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17103 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17104 $as_echo_n "(cached) " >&6
17105 else
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 #ifndef __aarch64__
17110 #endif
17111 _ACEOF
17112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17113 $EGREP "yes" >/dev/null 2>&1; then :
17114 ac_cv_cpp_def___aarch64__=yes
17115 else
17116 ac_cv_cpp_def___aarch64__=no
17118 rm -f conftest*
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17122 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17123 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17124 CFLAGS="$CFLAGS -D__aarch64__"
17125 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17126 fi ;;
17127 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17128 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17129 if ${ac_cv_cpp_def___arm__+:} false; then :
17130 $as_echo_n "(cached) " >&6
17131 else
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 #ifndef __arm__
17136 #endif
17137 _ACEOF
17138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17139 $EGREP "yes" >/dev/null 2>&1; then :
17140 ac_cv_cpp_def___arm__=yes
17141 else
17142 ac_cv_cpp_def___arm__=no
17144 rm -f conftest*
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17148 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17149 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17150 CFLAGS="$CFLAGS -D__arm__"
17151 LINTFLAGS="$LINTFLAGS -D__arm__"
17152 fi ;;
17153 esac
17155 case $host_vendor in
17156 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17157 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17158 if ${ac_cv_cpp_def___sun__+:} false; then :
17159 $as_echo_n "(cached) " >&6
17160 else
17161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17162 /* end confdefs.h. */
17163 #ifndef __sun__
17165 #endif
17166 _ACEOF
17167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17168 $EGREP "yes" >/dev/null 2>&1; then :
17169 ac_cv_cpp_def___sun__=yes
17170 else
17171 ac_cv_cpp_def___sun__=no
17173 rm -f conftest*
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17177 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17178 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17179 CFLAGS="$CFLAGS -D__sun__"
17180 LINTFLAGS="$LINTFLAGS -D__sun__"
17181 fi ;;
17182 esac
17188 ac_config_commands="$ac_config_commands include/stamp-h"
17190 $as_echo_n "creating Makefile rules..." >&6
17192 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17193 SOCKET_LIBS = $SOCKET_LIBS
17194 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17195 IOKIT_LIBS = $IOKIT_LIBS
17196 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17197 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17198 CORESERVICES_LIBS = $CORESERVICES_LIBS
17199 APPKIT_LIBS = $APPKIT_LIBS
17200 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17201 SECURITY_LIBS = $SECURITY_LIBS
17202 COREAUDIO_LIBS = $COREAUDIO_LIBS
17203 OPENAL_LIBS = $OPENAL_LIBS
17204 OPENCL_LIBS = $OPENCL_LIBS
17205 QUICKTIME_LIBS = $QUICKTIME_LIBS
17206 CARBON_LIBS = $CARBON_LIBS
17207 PTHREAD_LIBS = $PTHREAD_LIBS
17208 X_CFLAGS = $X_CFLAGS
17209 X_PRE_LIBS = $X_PRE_LIBS
17210 X_LIBS = $X_LIBS
17211 X_EXTRA_LIBS = $X_EXTRA_LIBS
17212 PCAP_LIBS = $PCAP_LIBS
17213 XML2_CFLAGS = $XML2_CFLAGS
17214 XML2_LIBS = $XML2_LIBS
17215 XSLT_CFLAGS = $XSLT_CFLAGS
17216 XSLT_LIBS = $XSLT_LIBS
17217 DBUS_CFLAGS = $DBUS_CFLAGS
17218 DBUS_LIBS = $DBUS_LIBS
17219 HAL_CFLAGS = $HAL_CFLAGS
17220 HAL_LIBS = $HAL_LIBS
17221 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17222 GNUTLS_LIBS = $GNUTLS_LIBS
17223 SANE_CFLAGS = $SANE_CFLAGS
17224 SANE_LIBS = $SANE_LIBS
17225 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17226 GPHOTO2_LIBS = $GPHOTO2_LIBS
17227 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17228 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17229 RESOLV_LIBS = $RESOLV_LIBS
17230 LCMS2_CFLAGS = $LCMS2_CFLAGS
17231 LCMS2_LIBS = $LCMS2_LIBS
17232 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17233 FREETYPE_LIBS = $FREETYPE_LIBS
17234 Z_LIBS = $Z_LIBS
17235 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17236 PULSE_CFLAGS = $PULSE_CFLAGS
17237 PULSE_LIBS = $PULSE_LIBS
17238 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17239 GSTREAMER_LIBS = $GSTREAMER_LIBS
17240 ALSA_LIBS = $ALSA_LIBS
17241 OSS4_CFLAGS = $OSS4_CFLAGS
17242 CAPI20_CFLAGS = $CAPI20_CFLAGS
17243 CAPI20_LIBS = $CAPI20_LIBS
17244 CUPS_CFLAGS = $CUPS_CFLAGS
17245 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17246 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17247 JPEG_CFLAGS = $JPEG_CFLAGS
17248 JPEG_LIBS = $JPEG_LIBS
17249 PNG_CFLAGS = $PNG_CFLAGS
17250 PNG_LIBS = $PNG_LIBS
17251 TIFF_CFLAGS = $TIFF_CFLAGS
17252 TIFF_LIBS = $TIFF_LIBS
17253 MPG123_CFLAGS = $MPG123_CFLAGS
17254 MPG123_LIBS = $MPG123_LIBS
17255 KSTAT_LIBS = $KSTAT_LIBS
17256 PROCSTAT_LIBS = $PROCSTAT_LIBS
17257 NETAPI_CFLAGS = $NETAPI_CFLAGS
17258 NETAPI_LIBS = $NETAPI_LIBS
17259 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17260 DL_LIBS = $DL_LIBS
17261 POLL_LIBS = $POLL_LIBS
17262 RT_LIBS = $RT_LIBS
17263 LDAP_LIBS = $LDAP_LIBS
17268 wine_fn_append_rule "
17269 # Rules automatically generated by configure
17271 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17273 .INIT: Makefile
17274 .MAKEFILEDEPS:
17275 all: Makefile
17276 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17277 @./config.status Make.tmp Makefile
17278 depend: \$(MAKEDEP) dummy
17279 \$(MAKEDEP)"
17281 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17282 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17284 if test "x$enable_fonts" != xno; then
17285 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17286 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17287 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17288 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17289 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17290 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17292 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17293 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17294 ac_config_links="$ac_config_links wine:tools/winewrapper"
17295 wine_fn_config_symlink wine
17296 if test "x$enable_win64" != xno; then
17297 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17298 wine_fn_config_symlink wine64
17301 wine_fn_config_dll acledit enable_acledit
17302 wine_fn_config_dll aclui enable_aclui implib
17303 wine_fn_config_dll activeds enable_activeds implib
17304 wine_fn_config_dll actxprxy enable_actxprxy clean
17305 wine_fn_config_lib adsiid
17306 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17307 wine_fn_config_test dlls/advapi32/tests advapi32_test
17308 wine_fn_config_dll advpack enable_advpack implib
17309 wine_fn_config_test dlls/advpack/tests advpack_test
17310 wine_fn_config_dll amstream enable_amstream clean
17311 wine_fn_config_test dlls/amstream/tests amstream_test
17312 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17313 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17314 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17315 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17316 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17317 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17318 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17319 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17320 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17322 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17323 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17324 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17325 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17326 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17327 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17328 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17329 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17330 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17331 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17332 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17333 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17334 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17335 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17336 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17337 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17338 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17339 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17340 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17341 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17342 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17343 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17344 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17345 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17346 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17347 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17348 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17349 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17350 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17351 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17352 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17353 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17354 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17355 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17356 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17357 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17358 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17359 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17360 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17361 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17362 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17363 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17364 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17365 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17366 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17367 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17368 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17369 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17370 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17371 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17372 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17373 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17374 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17375 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17376 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17377 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17378 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17379 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17380 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17381 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17382 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17383 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17384 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17385 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17386 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17387 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17388 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17389 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17390 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17391 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17392 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17393 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17394 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17395 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17396 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17397 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17398 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17399 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17400 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17401 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17402 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17403 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17404 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17405 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17406 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17407 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17408 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17409 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17410 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17411 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17412 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17413 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17414 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17415 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17416 wine_fn_config_dll apphelp enable_apphelp
17417 wine_fn_config_test dlls/apphelp/tests apphelp_test
17418 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17419 wine_fn_config_dll atl enable_atl clean,implib
17420 wine_fn_config_test dlls/atl/tests atl_test
17421 wine_fn_config_dll atl100 enable_atl100 clean,implib
17422 wine_fn_config_test dlls/atl100/tests atl100_test
17423 wine_fn_config_dll atl110 enable_atl110 clean
17424 wine_fn_config_dll atl80 enable_atl80 clean,implib
17425 wine_fn_config_test dlls/atl80/tests atl80_test
17426 wine_fn_config_dll atl90 enable_atl90 clean
17427 wine_fn_config_dll authz enable_authz
17428 wine_fn_config_dll avicap32 enable_avicap32 implib
17429 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17430 wine_fn_config_test dlls/avifil32/tests avifil32_test
17431 wine_fn_config_dll avifile.dll16 enable_win16
17432 wine_fn_config_dll avrt enable_avrt implib
17433 wine_fn_config_dll bcrypt enable_bcrypt implib
17434 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17435 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17436 wine_fn_config_dll browseui enable_browseui clean
17437 wine_fn_config_test dlls/browseui/tests browseui_test
17438 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17439 wine_fn_config_dll cabinet enable_cabinet implib
17440 wine_fn_config_test dlls/cabinet/tests cabinet_test
17441 wine_fn_config_dll capi2032 enable_capi2032 implib
17442 wine_fn_config_dll cards enable_cards implib
17443 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17444 wine_fn_config_dll clusapi enable_clusapi implib
17445 wine_fn_config_dll combase enable_combase
17446 wine_fn_config_test dlls/combase/tests combase_test
17447 wine_fn_config_dll comcat enable_comcat
17448 wine_fn_config_test dlls/comcat/tests comcat_test
17449 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17450 wine_fn_config_test dlls/comctl32/tests comctl32_test
17451 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17452 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17453 wine_fn_config_dll comm.drv16 enable_win16
17454 wine_fn_config_dll commdlg.dll16 enable_win16
17455 wine_fn_config_dll compobj.dll16 enable_win16
17456 wine_fn_config_dll compstui enable_compstui implib
17457 wine_fn_config_dll comsvcs enable_comsvcs implib
17458 wine_fn_config_dll connect enable_connect
17459 wine_fn_config_dll credui enable_credui clean,implib
17460 wine_fn_config_test dlls/credui/tests credui_test
17461 wine_fn_config_dll crtdll enable_crtdll implib
17462 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17463 wine_fn_config_test dlls/crypt32/tests crypt32_test
17464 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17465 wine_fn_config_dll cryptdll enable_cryptdll implib
17466 wine_fn_config_dll cryptext enable_cryptext
17467 wine_fn_config_dll cryptnet enable_cryptnet implib
17468 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17469 wine_fn_config_dll cryptui enable_cryptui clean,implib
17470 wine_fn_config_test dlls/cryptui/tests cryptui_test
17471 wine_fn_config_dll ctapi32 enable_ctapi32
17472 wine_fn_config_dll ctl3d.dll16 enable_win16
17473 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17474 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17475 wine_fn_config_dll d2d1 enable_d2d1 implib
17476 wine_fn_config_test dlls/d2d1/tests d2d1_test
17477 wine_fn_config_dll d3d10 enable_d3d10 implib
17478 wine_fn_config_test dlls/d3d10/tests d3d10_test
17479 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17480 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17481 wine_fn_config_dll d3d10core enable_d3d10core implib
17482 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17483 wine_fn_config_dll d3d11 enable_d3d11 implib
17484 wine_fn_config_test dlls/d3d11/tests d3d11_test
17485 wine_fn_config_dll d3d8 enable_d3d8 implib
17486 wine_fn_config_test dlls/d3d8/tests d3d8_test
17487 wine_fn_config_dll d3d9 enable_d3d9 implib
17488 wine_fn_config_test dlls/d3d9/tests d3d9_test
17489 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17490 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17491 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17492 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17493 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17494 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17495 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17496 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17497 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17498 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17499 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17500 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17501 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17502 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17503 wine_fn_config_dll d3dim enable_d3dim implib
17504 wine_fn_config_dll d3drm enable_d3drm implib
17505 wine_fn_config_test dlls/d3drm/tests d3drm_test
17506 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17507 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17508 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17509 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17510 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17511 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17512 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17513 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17514 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17515 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17516 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17517 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17518 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17519 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17520 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17521 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17522 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17523 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17524 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17525 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17526 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17527 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17528 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17529 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17530 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17531 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17532 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17533 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17534 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17535 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17536 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17537 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17538 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17539 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17540 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17541 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17542 wine_fn_config_dll davclnt enable_davclnt
17543 wine_fn_config_dll dbgeng enable_dbgeng implib
17544 wine_fn_config_dll dbghelp enable_dbghelp implib
17545 wine_fn_config_dll dciman32 enable_dciman32 implib
17546 wine_fn_config_dll ddeml.dll16 enable_win16
17547 wine_fn_config_dll ddraw enable_ddraw clean,implib
17548 wine_fn_config_test dlls/ddraw/tests ddraw_test
17549 wine_fn_config_dll ddrawex enable_ddrawex clean
17550 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17551 wine_fn_config_dll devenum enable_devenum clean
17552 wine_fn_config_test dlls/devenum/tests devenum_test
17553 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17554 wine_fn_config_dll difxapi enable_difxapi
17555 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17556 wine_fn_config_test dlls/dinput/tests dinput_test
17557 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17558 wine_fn_config_test dlls/dinput8/tests dinput8_test
17559 wine_fn_config_dll dispdib.dll16 enable_win16
17560 wine_fn_config_dll dispex enable_dispex clean
17561 wine_fn_config_test dlls/dispex/tests dispex_test
17562 wine_fn_config_dll display.drv16 enable_win16
17563 wine_fn_config_dll dmband enable_dmband clean
17564 wine_fn_config_test dlls/dmband/tests dmband_test
17565 wine_fn_config_dll dmcompos enable_dmcompos clean
17566 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17567 wine_fn_config_dll dmime enable_dmime clean
17568 wine_fn_config_test dlls/dmime/tests dmime_test
17569 wine_fn_config_dll dmloader enable_dmloader clean
17570 wine_fn_config_test dlls/dmloader/tests dmloader_test
17571 wine_fn_config_dll dmscript enable_dmscript clean
17572 wine_fn_config_test dlls/dmscript/tests dmscript_test
17573 wine_fn_config_dll dmstyle enable_dmstyle clean
17574 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17575 wine_fn_config_dll dmsynth enable_dmsynth clean
17576 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17577 wine_fn_config_dll dmusic enable_dmusic clean
17578 wine_fn_config_test dlls/dmusic/tests dmusic_test
17579 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17580 wine_fn_config_dll dnsapi enable_dnsapi implib
17581 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17582 wine_fn_config_dll dplay enable_dplay implib
17583 wine_fn_config_dll dplayx enable_dplayx clean,implib
17584 wine_fn_config_test dlls/dplayx/tests dplayx_test
17585 wine_fn_config_dll dpnaddr enable_dpnaddr
17586 wine_fn_config_dll dpnet enable_dpnet clean,implib
17587 wine_fn_config_test dlls/dpnet/tests dpnet_test
17588 wine_fn_config_dll dpnhpast enable_dpnhpast
17589 wine_fn_config_dll dpnlobby enable_dpnlobby
17590 wine_fn_config_dll dpvoice enable_dpvoice clean
17591 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17592 wine_fn_config_dll dpwsockx enable_dpwsockx
17593 wine_fn_config_dll drmclien enable_drmclien
17594 wine_fn_config_dll dsound enable_dsound clean,implib
17595 wine_fn_config_test dlls/dsound/tests dsound_test
17596 wine_fn_config_dll dssenh enable_dssenh
17597 wine_fn_config_test dlls/dssenh/tests dssenh_test
17598 wine_fn_config_dll dswave enable_dswave clean
17599 wine_fn_config_test dlls/dswave/tests dswave_test
17600 wine_fn_config_dll dwmapi enable_dwmapi implib
17601 wine_fn_config_dll dwrite enable_dwrite implib
17602 wine_fn_config_test dlls/dwrite/tests dwrite_test
17603 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17604 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17605 wine_fn_config_lib dxerr8
17606 wine_fn_config_lib dxerr9
17607 wine_fn_config_dll dxgi enable_dxgi implib
17608 wine_fn_config_test dlls/dxgi/tests dxgi_test
17609 wine_fn_config_lib dxguid
17610 wine_fn_config_dll dxva2 enable_dxva2
17611 wine_fn_config_dll esent enable_esent
17612 wine_fn_config_dll evr enable_evr
17613 wine_fn_config_dll explorerframe enable_explorerframe clean
17614 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17615 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17616 wine_fn_config_dll faultrep enable_faultrep implib
17617 wine_fn_config_test dlls/faultrep/tests faultrep_test
17618 wine_fn_config_dll fltlib enable_fltlib
17619 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17620 wine_fn_config_dll fntcache enable_fntcache
17621 wine_fn_config_dll fontsub enable_fontsub
17622 wine_fn_config_dll fusion enable_fusion
17623 wine_fn_config_test dlls/fusion/tests fusion_test
17624 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17625 wine_fn_config_dll gameux enable_gameux clean
17626 wine_fn_config_test dlls/gameux/tests gameux_test
17627 wine_fn_config_dll gdi.exe16 enable_win16
17628 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17629 wine_fn_config_test dlls/gdi32/tests gdi32_test
17630 wine_fn_config_dll gdiplus enable_gdiplus implib
17631 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17632 wine_fn_config_dll glu32 enable_glu32 implib
17633 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17634 wine_fn_config_dll gpkcsp enable_gpkcsp
17635 wine_fn_config_dll hal enable_hal
17636 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17637 wine_fn_config_dll hid enable_hid implib
17638 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17639 wine_fn_config_dll hlink enable_hlink clean,implib
17640 wine_fn_config_test dlls/hlink/tests hlink_test
17641 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17642 wine_fn_config_dll httpapi enable_httpapi
17643 wine_fn_config_dll iccvid enable_iccvid clean
17644 wine_fn_config_dll icmp enable_icmp
17645 wine_fn_config_dll ieframe enable_ieframe clean,implib
17646 wine_fn_config_test dlls/ieframe/tests ieframe_test
17647 wine_fn_config_dll ifsmgr.vxd enable_win16
17648 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17649 wine_fn_config_dll imagehlp enable_imagehlp implib
17650 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17651 wine_fn_config_dll imm.dll16 enable_win16
17652 wine_fn_config_dll imm32 enable_imm32 implib
17653 wine_fn_config_test dlls/imm32/tests imm32_test
17654 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17655 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17656 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17657 wine_fn_config_dll inetmib1 enable_inetmib1
17658 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17659 wine_fn_config_dll infosoft enable_infosoft clean
17660 wine_fn_config_test dlls/infosoft/tests infosoft_test
17661 wine_fn_config_dll initpki enable_initpki
17662 wine_fn_config_dll inkobj enable_inkobj
17663 wine_fn_config_dll inseng enable_inseng clean
17664 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17665 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17666 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17667 wine_fn_config_dll itircl enable_itircl
17668 wine_fn_config_dll itss enable_itss clean
17669 wine_fn_config_test dlls/itss/tests itss_test
17670 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17671 wine_fn_config_dll jscript enable_jscript clean
17672 wine_fn_config_test dlls/jscript/tests jscript_test
17673 wine_fn_config_dll jsproxy enable_jsproxy implib
17674 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17675 wine_fn_config_test dlls/kernel32/tests kernel32_test
17676 wine_fn_config_dll keyboard.drv16 enable_win16
17677 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17678 wine_fn_config_dll ksuser enable_ksuser
17679 wine_fn_config_dll ktmw32 enable_ktmw32
17680 wine_fn_config_dll loadperf enable_loadperf implib
17681 wine_fn_config_dll localspl enable_localspl clean
17682 wine_fn_config_test dlls/localspl/tests localspl_test
17683 wine_fn_config_dll localui enable_localui clean
17684 wine_fn_config_test dlls/localui/tests localui_test
17685 wine_fn_config_dll lz32 enable_lz32 implib
17686 wine_fn_config_test dlls/lz32/tests lz32_test
17687 wine_fn_config_dll lzexpand.dll16 enable_win16
17688 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17689 wine_fn_config_test dlls/mapi32/tests mapi32_test
17690 wine_fn_config_dll mapistub enable_mapistub
17691 wine_fn_config_dll mciavi32 enable_mciavi32
17692 wine_fn_config_dll mcicda enable_mcicda
17693 wine_fn_config_dll mciqtz32 enable_mciqtz32
17694 wine_fn_config_dll mciseq enable_mciseq
17695 wine_fn_config_dll mciwave enable_mciwave
17696 wine_fn_config_dll mf enable_mf
17697 wine_fn_config_dll mfplat enable_mfplat
17698 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17699 wine_fn_config_dll mgmtapi enable_mgmtapi
17700 wine_fn_config_dll midimap enable_midimap
17701 wine_fn_config_dll mlang enable_mlang clean,implib
17702 wine_fn_config_test dlls/mlang/tests mlang_test
17703 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17704 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17705 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17706 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17707 wine_fn_config_dll mmdevldr.vxd enable_win16
17708 wine_fn_config_dll mmsystem.dll16 enable_win16
17709 wine_fn_config_dll monodebg.vxd enable_win16
17710 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17711 wine_fn_config_dll mouse.drv16 enable_win16
17712 wine_fn_config_dll mpr enable_mpr clean,implib
17713 wine_fn_config_test dlls/mpr/tests mpr_test
17714 wine_fn_config_dll mprapi enable_mprapi implib
17715 wine_fn_config_dll msacm.dll16 enable_win16
17716 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17717 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17718 wine_fn_config_test dlls/msacm32/tests msacm32_test
17719 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17720 wine_fn_config_dll msasn1 enable_msasn1 implib
17721 wine_fn_config_dll mscat32 enable_mscat32
17722 wine_fn_config_dll mscms enable_mscms implib
17723 wine_fn_config_test dlls/mscms/tests mscms_test
17724 wine_fn_config_dll mscoree enable_mscoree clean
17725 wine_fn_config_test dlls/mscoree/tests mscoree_test
17726 wine_fn_config_dll msctf enable_msctf clean
17727 wine_fn_config_test dlls/msctf/tests msctf_test
17728 wine_fn_config_dll msctfp enable_msctfp clean
17729 wine_fn_config_dll msdaps enable_msdaps clean
17730 wine_fn_config_dll msdelta enable_msdelta
17731 wine_fn_config_dll msdmo enable_msdmo implib
17732 wine_fn_config_test dlls/msdmo/tests msdmo_test
17733 wine_fn_config_dll msdrm enable_msdrm
17734 wine_fn_config_dll msftedit enable_msftedit
17735 wine_fn_config_dll msg711.acm enable_msg711_acm
17736 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17737 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17738 wine_fn_config_dll mshtml enable_mshtml clean,implib
17739 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17740 wine_fn_config_dll msi enable_msi clean,implib
17741 wine_fn_config_test dlls/msi/tests msi_test
17742 wine_fn_config_dll msident enable_msident clean
17743 wine_fn_config_dll msimg32 enable_msimg32 implib
17744 wine_fn_config_dll msimsg enable_msimsg
17745 wine_fn_config_dll msimtf enable_msimtf clean
17746 wine_fn_config_dll msisip enable_msisip
17747 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17748 wine_fn_config_dll msls31 enable_msls31
17749 wine_fn_config_dll msnet32 enable_msnet32
17750 wine_fn_config_dll mspatcha enable_mspatcha implib
17751 wine_fn_config_dll msrle32 enable_msrle32 clean
17752 wine_fn_config_test dlls/msrle32/tests msrle32_test
17753 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17754 wine_fn_config_dll mssign32 enable_mssign32
17755 wine_fn_config_dll mssip32 enable_mssip32
17756 wine_fn_config_dll mstask enable_mstask clean
17757 wine_fn_config_test dlls/mstask/tests mstask_test
17758 wine_fn_config_dll msvcirt enable_msvcirt
17759 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17760 wine_fn_config_dll msvcm80 enable_msvcm80
17761 wine_fn_config_dll msvcm90 enable_msvcm90
17762 wine_fn_config_dll msvcp100 enable_msvcp100
17763 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17764 wine_fn_config_dll msvcp110 enable_msvcp110
17765 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17766 wine_fn_config_dll msvcp120 enable_msvcp120
17767 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17768 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17769 wine_fn_config_dll msvcp60 enable_msvcp60
17770 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17771 wine_fn_config_dll msvcp70 enable_msvcp70
17772 wine_fn_config_dll msvcp71 enable_msvcp71
17773 wine_fn_config_dll msvcp80 enable_msvcp80
17774 wine_fn_config_dll msvcp90 enable_msvcp90
17775 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17776 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17777 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17778 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17779 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17780 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17781 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17782 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17783 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17784 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17785 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17786 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17787 wine_fn_config_dll msvcrt enable_msvcrt implib
17788 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17789 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17790 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17791 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17792 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17793 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17794 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17795 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17796 wine_fn_config_dll msvideo.dll16 enable_win16
17797 wine_fn_config_dll mswsock enable_mswsock implib
17798 wine_fn_config_dll msxml enable_msxml clean
17799 wine_fn_config_dll msxml2 enable_msxml2 clean
17800 wine_fn_config_dll msxml3 enable_msxml3 clean
17801 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17802 wine_fn_config_dll msxml4 enable_msxml4 clean
17803 wine_fn_config_dll msxml6 enable_msxml6 clean
17804 wine_fn_config_dll nddeapi enable_nddeapi implib
17805 wine_fn_config_dll ndis.sys enable_ndis_sys
17806 wine_fn_config_dll netapi32 enable_netapi32 implib
17807 wine_fn_config_test dlls/netapi32/tests netapi32_test
17808 wine_fn_config_dll netcfgx enable_netcfgx clean
17809 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17810 wine_fn_config_dll netprofm enable_netprofm clean
17811 wine_fn_config_test dlls/netprofm/tests netprofm_test
17812 wine_fn_config_dll newdev enable_newdev implib
17813 wine_fn_config_dll normaliz enable_normaliz implib
17814 wine_fn_config_dll npmshtml enable_npmshtml
17815 wine_fn_config_dll npptools enable_npptools
17816 wine_fn_config_dll ntdll enable_ntdll implib
17817 wine_fn_config_test dlls/ntdll/tests ntdll_test
17818 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17819 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17820 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17821 wine_fn_config_dll ntprint enable_ntprint
17822 wine_fn_config_test dlls/ntprint/tests ntprint_test
17823 wine_fn_config_dll objsel enable_objsel clean
17824 wine_fn_config_dll odbc32 enable_odbc32 implib
17825 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17826 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17827 wine_fn_config_dll odbccu32 enable_odbccu32
17828 wine_fn_config_dll ole2.dll16 enable_win16
17829 wine_fn_config_dll ole2conv.dll16 enable_win16
17830 wine_fn_config_dll ole2disp.dll16 enable_win16
17831 wine_fn_config_dll ole2nls.dll16 enable_win16
17832 wine_fn_config_dll ole2prox.dll16 enable_win16
17833 wine_fn_config_dll ole2thk.dll16 enable_win16
17834 wine_fn_config_dll ole32 enable_ole32 clean,implib
17835 wine_fn_config_test dlls/ole32/tests ole32_test
17836 wine_fn_config_dll oleacc enable_oleacc clean,implib
17837 wine_fn_config_test dlls/oleacc/tests oleacc_test
17838 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17839 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17840 wine_fn_config_dll olecli.dll16 enable_win16
17841 wine_fn_config_dll olecli32 enable_olecli32 implib
17842 wine_fn_config_dll oledb32 enable_oledb32 clean
17843 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17844 wine_fn_config_dll oledlg enable_oledlg clean,implib
17845 wine_fn_config_test dlls/oledlg/tests oledlg_test
17846 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17847 wine_fn_config_dll olesvr.dll16 enable_win16
17848 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17849 wine_fn_config_dll olethk32 enable_olethk32
17850 wine_fn_config_dll openal32 enable_openal32
17851 wine_fn_config_dll opencl enable_opencl
17852 wine_fn_config_dll opengl32 enable_opengl32 implib
17853 wine_fn_config_test dlls/opengl32/tests opengl32_test
17854 wine_fn_config_dll packager enable_packager clean
17855 wine_fn_config_test dlls/packager/tests packager_test
17856 wine_fn_config_dll pdh enable_pdh implib
17857 wine_fn_config_test dlls/pdh/tests pdh_test
17858 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17859 wine_fn_config_dll pidgen enable_pidgen
17860 wine_fn_config_dll powrprof enable_powrprof implib
17861 wine_fn_config_dll printui enable_printui
17862 wine_fn_config_dll prntvpt enable_prntvpt
17863 wine_fn_config_dll propsys enable_propsys clean,implib
17864 wine_fn_config_test dlls/propsys/tests propsys_test
17865 wine_fn_config_dll psapi enable_psapi implib
17866 wine_fn_config_test dlls/psapi/tests psapi_test
17867 wine_fn_config_dll pstorec enable_pstorec clean
17868 wine_fn_config_dll qcap enable_qcap
17869 wine_fn_config_test dlls/qcap/tests qcap_test
17870 wine_fn_config_dll qedit enable_qedit clean
17871 wine_fn_config_test dlls/qedit/tests qedit_test
17872 wine_fn_config_dll qmgr enable_qmgr clean
17873 wine_fn_config_test dlls/qmgr/tests qmgr_test
17874 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17875 wine_fn_config_dll quartz enable_quartz clean,implib
17876 wine_fn_config_test dlls/quartz/tests quartz_test clean
17877 wine_fn_config_dll query enable_query
17878 wine_fn_config_dll rasapi16.dll16 enable_win16
17879 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17880 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17881 wine_fn_config_dll rasdlg enable_rasdlg implib
17882 wine_fn_config_dll regapi enable_regapi
17883 wine_fn_config_dll resutils enable_resutils implib
17884 wine_fn_config_dll riched20 enable_riched20 clean,implib
17885 wine_fn_config_test dlls/riched20/tests riched20_test
17886 wine_fn_config_dll riched32 enable_riched32
17887 wine_fn_config_test dlls/riched32/tests riched32_test
17888 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17889 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17890 wine_fn_config_dll rsabase enable_rsabase
17891 wine_fn_config_dll rsaenh enable_rsaenh implib
17892 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17893 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17894 wine_fn_config_dll rtutils enable_rtutils implib
17895 wine_fn_config_dll samlib enable_samlib
17896 wine_fn_config_dll sane.ds enable_sane_ds clean
17897 wine_fn_config_dll scarddlg enable_scarddlg
17898 wine_fn_config_dll sccbase enable_sccbase
17899 wine_fn_config_dll schannel enable_schannel
17900 wine_fn_config_test dlls/schannel/tests schannel_test
17901 wine_fn_config_dll schedsvc enable_schedsvc clean
17902 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17903 wine_fn_config_dll scrrun enable_scrrun clean
17904 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17905 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17906 wine_fn_config_dll secur32 enable_secur32 implib
17907 wine_fn_config_test dlls/secur32/tests secur32_test
17908 wine_fn_config_dll security enable_security
17909 wine_fn_config_dll sensapi enable_sensapi implib
17910 wine_fn_config_dll serialui enable_serialui clean,implib
17911 wine_fn_config_test dlls/serialui/tests serialui_test
17912 wine_fn_config_dll setupapi enable_setupapi clean,implib
17913 wine_fn_config_test dlls/setupapi/tests setupapi_test
17914 wine_fn_config_dll setupx.dll16 enable_win16
17915 wine_fn_config_dll sfc enable_sfc implib
17916 wine_fn_config_dll sfc_os enable_sfc_os implib
17917 wine_fn_config_dll shdoclc enable_shdoclc clean
17918 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17919 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17920 wine_fn_config_dll shell.dll16 enable_win16
17921 wine_fn_config_dll shell32 enable_shell32 clean,implib
17922 wine_fn_config_test dlls/shell32/tests shell32_test
17923 wine_fn_config_dll shfolder enable_shfolder implib
17924 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
17925 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17926 wine_fn_config_dll slbcsp enable_slbcsp
17927 wine_fn_config_dll slc enable_slc implib
17928 wine_fn_config_test dlls/slc/tests slc_test
17929 wine_fn_config_dll snmpapi enable_snmpapi implib
17930 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17931 wine_fn_config_dll softpub enable_softpub
17932 wine_fn_config_dll sound.drv16 enable_win16
17933 wine_fn_config_dll spoolss enable_spoolss implib
17934 wine_fn_config_test dlls/spoolss/tests spoolss_test
17935 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17936 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17937 wine_fn_config_dll sti enable_sti clean,implib
17938 wine_fn_config_test dlls/sti/tests sti_test
17939 wine_fn_config_dll storage.dll16 enable_win16
17940 wine_fn_config_dll stress.dll16 enable_win16
17941 wine_fn_config_lib strmbase
17942 wine_fn_config_lib strmiids
17943 wine_fn_config_dll svrapi enable_svrapi
17944 wine_fn_config_dll sxs enable_sxs implib
17945 wine_fn_config_test dlls/sxs/tests sxs_test
17946 wine_fn_config_dll system.drv16 enable_win16
17947 wine_fn_config_dll t2embed enable_t2embed
17948 wine_fn_config_dll tapi32 enable_tapi32 implib
17949 wine_fn_config_dll taskschd enable_taskschd clean
17950 wine_fn_config_test dlls/taskschd/tests taskschd_test
17951 wine_fn_config_dll tdi.sys enable_tdi_sys
17952 wine_fn_config_dll toolhelp.dll16 enable_win16
17953 wine_fn_config_dll traffic enable_traffic
17954 wine_fn_config_dll twain.dll16 enable_win16
17955 wine_fn_config_dll twain_32 enable_twain_32
17956 wine_fn_config_test dlls/twain_32/tests twain_32_test
17957 wine_fn_config_dll typelib.dll16 enable_win16
17958 wine_fn_config_dll ucrtbase enable_ucrtbase
17959 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17960 wine_fn_config_dll unicows enable_unicows implib
17961 wine_fn_config_dll updspapi enable_updspapi
17962 wine_fn_config_dll url enable_url implib
17963 wine_fn_config_dll urlmon enable_urlmon clean,implib
17964 wine_fn_config_test dlls/urlmon/tests urlmon_test
17965 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17966 wine_fn_config_dll user.exe16 enable_win16
17967 wine_fn_config_dll user32 enable_user32 clean,implib
17968 wine_fn_config_test dlls/user32/tests user32_test
17969 wine_fn_config_dll userenv enable_userenv implib
17970 wine_fn_config_test dlls/userenv/tests userenv_test
17971 wine_fn_config_dll usp10 enable_usp10 implib
17972 wine_fn_config_test dlls/usp10/tests usp10_test
17973 wine_fn_config_lib uuid
17974 wine_fn_config_dll uxtheme enable_uxtheme implib
17975 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17976 wine_fn_config_dll vbscript enable_vbscript clean
17977 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17978 wine_fn_config_dll vcomp enable_vcomp
17979 wine_fn_config_test dlls/vcomp/tests vcomp_test
17980 wine_fn_config_dll vcomp100 enable_vcomp100
17981 wine_fn_config_dll vcomp110 enable_vcomp110
17982 wine_fn_config_dll vcomp120 enable_vcomp120
17983 wine_fn_config_dll vcomp90 enable_vcomp90
17984 wine_fn_config_dll vcruntime140 enable_vcruntime140
17985 wine_fn_config_dll vdhcp.vxd enable_win16
17986 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17987 wine_fn_config_dll ver.dll16 enable_win16
17988 wine_fn_config_dll version enable_version implib
17989 wine_fn_config_test dlls/version/tests version_test
17990 wine_fn_config_dll vmm.vxd enable_win16
17991 wine_fn_config_dll vnbt.vxd enable_win16
17992 wine_fn_config_dll vnetbios.vxd enable_win16
17993 wine_fn_config_dll vssapi enable_vssapi
17994 wine_fn_config_dll vtdapi.vxd enable_win16
17995 wine_fn_config_dll vwin32.vxd enable_win16
17996 wine_fn_config_dll w32skrnl enable_win16
17997 wine_fn_config_dll w32sys.dll16 enable_win16
17998 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17999 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18000 wine_fn_config_dll wbemprox enable_wbemprox clean
18001 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18002 wine_fn_config_dll webservices enable_webservices implib
18003 wine_fn_config_test dlls/webservices/tests webservices_test
18004 wine_fn_config_dll wer enable_wer implib
18005 wine_fn_config_test dlls/wer/tests wer_test
18006 wine_fn_config_dll wevtapi enable_wevtapi
18007 wine_fn_config_dll wiaservc enable_wiaservc clean
18008 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18009 wine_fn_config_dll wimgapi enable_wimgapi
18010 wine_fn_config_dll win32s16.dll16 enable_win16
18011 wine_fn_config_dll win87em.dll16 enable_win16
18012 wine_fn_config_dll winaspi.dll16 enable_win16
18013 wine_fn_config_dll windebug.dll16 enable_win16
18014 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18015 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18016 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18017 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18018 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18019 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18020 wine_fn_config_lib winecrt0
18021 wine_fn_config_dll wined3d enable_wined3d implib
18022 wine_fn_config_dll winegstreamer enable_winegstreamer
18023 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18024 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18025 wine_fn_config_dll winemapi enable_winemapi
18026 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18027 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18028 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18029 wine_fn_config_dll wineps16.drv16 enable_win16
18030 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18031 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18032 wine_fn_config_dll winex11.drv enable_winex11_drv
18033 wine_fn_config_dll wing.dll16 enable_win16
18034 wine_fn_config_dll wing32 enable_wing32
18035 wine_fn_config_dll winhttp enable_winhttp clean,implib
18036 wine_fn_config_test dlls/winhttp/tests winhttp_test
18037 wine_fn_config_dll wininet enable_wininet clean,implib
18038 wine_fn_config_test dlls/wininet/tests wininet_test
18039 wine_fn_config_dll winmm enable_winmm clean,implib
18040 wine_fn_config_test dlls/winmm/tests winmm_test
18041 wine_fn_config_dll winnls.dll16 enable_win16
18042 wine_fn_config_dll winnls32 enable_winnls32 implib
18043 wine_fn_config_dll winscard enable_winscard implib
18044 wine_fn_config_dll winsock.dll16 enable_win16
18045 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18046 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18047 wine_fn_config_dll winsta enable_winsta
18048 wine_fn_config_dll wintab.dll16 enable_win16
18049 wine_fn_config_dll wintab32 enable_wintab32 implib
18050 wine_fn_config_test dlls/wintab32/tests wintab32_test
18051 wine_fn_config_dll wintrust enable_wintrust implib
18052 wine_fn_config_test dlls/wintrust/tests wintrust_test
18053 wine_fn_config_dll wlanapi enable_wlanapi
18054 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18055 wine_fn_config_test dlls/wldap32/tests wldap32_test
18056 wine_fn_config_dll wmi enable_wmi
18057 wine_fn_config_dll wmiutils enable_wmiutils clean
18058 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18059 wine_fn_config_dll wmp enable_wmp clean
18060 wine_fn_config_test dlls/wmp/tests wmp_test
18061 wine_fn_config_dll wmvcore enable_wmvcore
18062 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18063 wine_fn_config_dll wow32 enable_win16 implib
18064 wine_fn_config_dll wpcap enable_wpcap
18065 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18066 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18067 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18068 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18069 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18070 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18071 wine_fn_config_dll wsock32 enable_wsock32 implib
18072 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18073 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18074 wine_fn_config_dll wuapi enable_wuapi clean
18075 wine_fn_config_dll wuaueng enable_wuaueng
18076 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18077 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18078 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18079 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18080 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18081 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18082 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18083 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18084 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18085 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18086 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18087 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18088 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18089 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18090 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18091 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18092 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18093 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18094 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18095 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18096 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18097 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18098 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18099 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18100 wine_fn_config_dll xinput1_1 enable_xinput1_1
18101 wine_fn_config_dll xinput1_2 enable_xinput1_2
18102 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18103 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18104 wine_fn_config_dll xinput1_4 enable_xinput1_4
18105 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18106 wine_fn_config_dll xmllite enable_xmllite implib
18107 wine_fn_config_test dlls/xmllite/tests xmllite_test
18108 wine_fn_config_dll xolehlp enable_xolehlp
18109 wine_fn_config_dll xpsprint enable_xpsprint
18110 wine_fn_config_dll xpssvcs enable_xpssvcs
18111 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18112 wine_fn_config_makefile include enable_include clean,install-dev
18113 wine_fn_config_makefile libs/port enable_libs_port
18114 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18115 wine_fn_config_makefile libs/wpp enable_libs_wpp
18116 wine_fn_config_makefile loader enable_loader clean,install-lib
18117 wine_fn_config_makefile po enable_po clean
18118 wine_fn_config_program arp enable_arp install
18119 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18120 wine_fn_config_program attrib enable_attrib clean,install
18121 wine_fn_config_program cabarc enable_cabarc install
18122 wine_fn_config_program cacls enable_cacls install
18123 wine_fn_config_program clock enable_clock clean,install
18124 wine_fn_config_program cmd enable_cmd clean,install
18125 wine_fn_config_test programs/cmd/tests cmd.exe_test
18126 wine_fn_config_program conhost enable_conhost install
18127 wine_fn_config_program control enable_control install
18128 wine_fn_config_program cscript enable_cscript clean,install
18129 wine_fn_config_program dpnsvr enable_dpnsvr install
18130 wine_fn_config_program dxdiag enable_dxdiag clean,install
18131 wine_fn_config_program eject enable_eject install
18132 wine_fn_config_program expand enable_expand install
18133 wine_fn_config_program explorer enable_explorer clean,install
18134 wine_fn_config_program extrac32 enable_extrac32 install
18135 wine_fn_config_program findstr enable_findstr install
18136 wine_fn_config_program hh enable_hh install
18137 wine_fn_config_program hostname enable_hostname clean,install
18138 wine_fn_config_program icacls enable_icacls install
18139 wine_fn_config_program icinfo enable_icinfo install
18140 wine_fn_config_program iexplore enable_iexplore install
18141 wine_fn_config_program ipconfig enable_ipconfig clean,install
18142 wine_fn_config_program lodctr enable_lodctr install
18143 wine_fn_config_program mofcomp enable_mofcomp install
18144 wine_fn_config_program mshta enable_mshta install
18145 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18146 wine_fn_config_program net enable_net clean,install
18147 wine_fn_config_program netsh enable_netsh install
18148 wine_fn_config_program netstat enable_netstat clean,install
18149 wine_fn_config_program ngen enable_ngen install
18150 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18151 wine_fn_config_program oleview enable_oleview clean,install
18152 wine_fn_config_program ping enable_ping install
18153 wine_fn_config_program plugplay enable_plugplay install
18154 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18155 wine_fn_config_program progman enable_progman clean,install
18156 wine_fn_config_program reg enable_reg clean,install
18157 wine_fn_config_test programs/reg/tests reg.exe_test
18158 wine_fn_config_program regasm enable_regasm install
18159 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18160 wine_fn_config_test programs/regedit/tests regedit.exe_test
18161 wine_fn_config_program regsvcs enable_regsvcs install
18162 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18163 wine_fn_config_program rpcss enable_rpcss clean,install
18164 wine_fn_config_program rundll.exe16 enable_win16 install
18165 wine_fn_config_program rundll32 enable_rundll32 install
18166 wine_fn_config_program sc enable_sc install
18167 wine_fn_config_program schtasks enable_schtasks install
18168 wine_fn_config_program sdbinst enable_sdbinst install
18169 wine_fn_config_program secedit enable_secedit install
18170 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18171 wine_fn_config_program services enable_services clean,install
18172 wine_fn_config_test programs/services/tests services.exe_test
18173 wine_fn_config_program shutdown enable_shutdown install
18174 wine_fn_config_program spoolsv enable_spoolsv install
18175 wine_fn_config_program start enable_start clean,install
18176 wine_fn_config_program svchost enable_svchost install
18177 wine_fn_config_program systeminfo enable_systeminfo install
18178 wine_fn_config_program taskkill enable_taskkill clean,install
18179 wine_fn_config_program tasklist enable_tasklist install
18180 wine_fn_config_program taskmgr enable_taskmgr clean,install
18181 wine_fn_config_program termsv enable_termsv install
18182 wine_fn_config_program uninstaller enable_uninstaller clean,install
18183 wine_fn_config_program unlodctr enable_unlodctr install
18184 wine_fn_config_program view enable_view clean,install
18185 wine_fn_config_program wevtutil enable_wevtutil install
18186 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18187 wine_fn_config_program winebrowser enable_winebrowser install
18188 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18189 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18190 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18191 wine_fn_config_program winedevice enable_winedevice install
18192 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18193 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18194 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18195 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18196 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18197 wine_fn_config_program winetest enable_winetest clean
18198 wine_fn_config_program winevdm enable_win16 install
18199 wine_fn_config_program winhelp.exe16 enable_win16 install
18200 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18201 wine_fn_config_program winoldap.mod16 enable_win16 install
18202 wine_fn_config_program winver enable_winver install
18203 wine_fn_config_program wmic enable_wmic clean,install
18204 wine_fn_config_program wmplayer enable_wmplayer install
18205 wine_fn_config_program wordpad enable_wordpad clean,install
18206 wine_fn_config_program write enable_write clean,install
18207 wine_fn_config_program wscript enable_wscript clean,install
18208 wine_fn_config_test programs/wscript/tests wscript.exe_test
18209 wine_fn_config_program wusa enable_wusa install
18210 wine_fn_config_program xcopy enable_xcopy clean,install
18211 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18212 wine_fn_config_makefile server enable_server clean,install-lib
18213 wine_fn_config_tool tools clean
18214 wine_fn_config_tool tools/sfnt2fon clean
18215 wine_fn_config_tool tools/widl clean,install-dev
18216 wine_fn_config_tool tools/winebuild clean,install-dev
18217 wine_fn_config_tool tools/winedump clean,install-dev
18218 wine_fn_config_tool tools/winegcc clean,install-dev
18219 wine_fn_config_tool tools/winemaker clean,install-dev
18220 wine_fn_config_tool tools/wmc clean,install-dev
18221 wine_fn_config_tool tools/wrc clean,install-dev
18224 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18225 wine_fn_append_file CONFIGURE_TARGETS "tags"
18226 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18227 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18228 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18229 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18230 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18231 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18233 if test "x$enable_tools" != xno
18234 then
18235 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18236 ac_config_commands="$ac_config_commands tools/makedep"
18240 ac_config_commands="$ac_config_commands Makefile"
18243 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18247 if test "x$enable_maintainer_mode" = xyes
18248 then
18249 wine_fn_append_rule "configure: configure.ac aclocal.m4
18250 autoconf --warnings=all
18251 include/config.h.in: include/stamp-h.in
18252 include/stamp-h.in: configure.ac aclocal.m4
18253 autoheader --warnings=all
18254 @echo timestamp > \$@"
18257 if test "x$enable_tools" != xno
18258 then
18259 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18260 @./config.status tools/makedep
18261 Makefile: tools/makedep$ac_exeext"
18262 else
18263 wine_fn_append_rule "\$(MAKEDEP):
18264 @echo \"You need to run make in $TOOLSDIR first\" && false"
18267 if test -n "$with_wine64"
18268 then
18269 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18270 fonts server:
18271 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18272 $with_wine64/loader/wine:
18273 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18274 $with_wine64/loader/wine-preloader:
18275 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18276 clean::
18277 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18278 else
18279 WINELOADER_INSTALL="wine.inf"
18281 wine_fn_append_rule "install install-lib::
18282 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18283 uninstall::
18284 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18285 case $host_os in
18286 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18287 *) wine_fn_append_rule "install install-lib::
18288 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18289 uninstall::
18290 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18291 esac
18294 $as_echo " done" >&6
18295 cat >confcache <<\_ACEOF
18296 # This file is a shell script that caches the results of configure
18297 # tests run on this system so they can be shared between configure
18298 # scripts and configure runs, see configure's option --config-cache.
18299 # It is not useful on other systems. If it contains results you don't
18300 # want to keep, you may remove or edit it.
18302 # config.status only pays attention to the cache file if you give it
18303 # the --recheck option to rerun configure.
18305 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18306 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18307 # following values.
18309 _ACEOF
18311 # The following way of writing the cache mishandles newlines in values,
18312 # but we know of no workaround that is simple, portable, and efficient.
18313 # So, we kill variables containing newlines.
18314 # Ultrix sh set writes to stderr and can't be redirected directly,
18315 # and sets the high bit in the cache file unless we assign to the vars.
18317 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18318 eval ac_val=\$$ac_var
18319 case $ac_val in #(
18320 *${as_nl}*)
18321 case $ac_var in #(
18322 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18323 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18324 esac
18325 case $ac_var in #(
18326 _ | IFS | as_nl) ;; #(
18327 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18328 *) { eval $ac_var=; unset $ac_var;} ;;
18329 esac ;;
18330 esac
18331 done
18333 (set) 2>&1 |
18334 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18335 *${as_nl}ac_space=\ *)
18336 # `set' does not quote correctly, so add quotes: double-quote
18337 # substitution turns \\\\ into \\, and sed turns \\ into \.
18338 sed -n \
18339 "s/'/'\\\\''/g;
18340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18341 ;; #(
18343 # `set' quotes correctly as required by POSIX, so do not add quotes.
18344 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18346 esac |
18347 sort
18349 sed '
18350 /^ac_cv_env_/b end
18351 t clear
18352 :clear
18353 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18354 t end
18355 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18356 :end' >>confcache
18357 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18358 if test -w "$cache_file"; then
18359 if test "x$cache_file" != "x/dev/null"; then
18360 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18361 $as_echo "$as_me: updating cache $cache_file" >&6;}
18362 if test ! -f "$cache_file" || test -h "$cache_file"; then
18363 cat confcache >"$cache_file"
18364 else
18365 case $cache_file in #(
18366 */* | ?:*)
18367 mv -f confcache "$cache_file"$$ &&
18368 mv -f "$cache_file"$$ "$cache_file" ;; #(
18370 mv -f confcache "$cache_file" ;;
18371 esac
18374 else
18375 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18376 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18379 rm -f confcache
18381 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18382 # Let make expand exec_prefix.
18383 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18385 DEFS=-DHAVE_CONFIG_H
18387 ac_libobjs=
18388 ac_ltlibobjs=
18390 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18391 # 1. Remove the extension, and $U if already installed.
18392 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18393 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18394 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18395 # will be set to the directory where LIBOBJS objects are built.
18396 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18397 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18398 done
18399 LIBOBJS=$ac_libobjs
18401 LTLIBOBJS=$ac_ltlibobjs
18405 : "${CONFIG_STATUS=./config.status}"
18406 ac_write_fail=0
18407 ac_clean_files_save=$ac_clean_files
18408 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18410 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18411 as_write_fail=0
18412 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18413 #! $SHELL
18414 # Generated by $as_me.
18415 # Run this file to recreate the current configuration.
18416 # Compiler output produced by configure, useful for debugging
18417 # configure, is in config.log if it exists.
18419 debug=false
18420 ac_cs_recheck=false
18421 ac_cs_silent=false
18423 SHELL=\${CONFIG_SHELL-$SHELL}
18424 export SHELL
18425 _ASEOF
18426 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18427 ## -------------------- ##
18428 ## M4sh Initialization. ##
18429 ## -------------------- ##
18431 # Be more Bourne compatible
18432 DUALCASE=1; export DUALCASE # for MKS sh
18433 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18434 emulate sh
18435 NULLCMD=:
18436 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18437 # is contrary to our usage. Disable this feature.
18438 alias -g '${1+"$@"}'='"$@"'
18439 setopt NO_GLOB_SUBST
18440 else
18441 case `(set -o) 2>/dev/null` in #(
18442 *posix*) :
18443 set -o posix ;; #(
18444 *) :
18446 esac
18450 as_nl='
18452 export as_nl
18453 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18454 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18455 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18456 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18457 # Prefer a ksh shell builtin over an external printf program on Solaris,
18458 # but without wasting forks for bash or zsh.
18459 if test -z "$BASH_VERSION$ZSH_VERSION" \
18460 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18461 as_echo='print -r --'
18462 as_echo_n='print -rn --'
18463 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18464 as_echo='printf %s\n'
18465 as_echo_n='printf %s'
18466 else
18467 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18468 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18469 as_echo_n='/usr/ucb/echo -n'
18470 else
18471 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18472 as_echo_n_body='eval
18473 arg=$1;
18474 case $arg in #(
18475 *"$as_nl"*)
18476 expr "X$arg" : "X\\(.*\\)$as_nl";
18477 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18478 esac;
18479 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18481 export as_echo_n_body
18482 as_echo_n='sh -c $as_echo_n_body as_echo'
18484 export as_echo_body
18485 as_echo='sh -c $as_echo_body as_echo'
18488 # The user is always right.
18489 if test "${PATH_SEPARATOR+set}" != set; then
18490 PATH_SEPARATOR=:
18491 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18492 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18493 PATH_SEPARATOR=';'
18498 # IFS
18499 # We need space, tab and new line, in precisely that order. Quoting is
18500 # there to prevent editors from complaining about space-tab.
18501 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18502 # splitting by setting IFS to empty value.)
18503 IFS=" "" $as_nl"
18505 # Find who we are. Look in the path if we contain no directory separator.
18506 as_myself=
18507 case $0 in #((
18508 *[\\/]* ) as_myself=$0 ;;
18509 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18510 for as_dir in $PATH
18512 IFS=$as_save_IFS
18513 test -z "$as_dir" && as_dir=.
18514 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18515 done
18516 IFS=$as_save_IFS
18519 esac
18520 # We did not find ourselves, most probably we were run as `sh COMMAND'
18521 # in which case we are not to be found in the path.
18522 if test "x$as_myself" = x; then
18523 as_myself=$0
18525 if test ! -f "$as_myself"; then
18526 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18527 exit 1
18530 # Unset variables that we do not need and which cause bugs (e.g. in
18531 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18532 # suppresses any "Segmentation fault" message there. '((' could
18533 # trigger a bug in pdksh 5.2.14.
18534 for as_var in BASH_ENV ENV MAIL MAILPATH
18535 do eval test x\${$as_var+set} = xset \
18536 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18537 done
18538 PS1='$ '
18539 PS2='> '
18540 PS4='+ '
18542 # NLS nuisances.
18543 LC_ALL=C
18544 export LC_ALL
18545 LANGUAGE=C
18546 export LANGUAGE
18548 # CDPATH.
18549 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18552 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18553 # ----------------------------------------
18554 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18555 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18556 # script with STATUS, using 1 if that was 0.
18557 as_fn_error ()
18559 as_status=$1; test $as_status -eq 0 && as_status=1
18560 if test "$4"; then
18561 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18562 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18564 $as_echo "$as_me: error: $2" >&2
18565 as_fn_exit $as_status
18566 } # as_fn_error
18569 # as_fn_set_status STATUS
18570 # -----------------------
18571 # Set $? to STATUS, without forking.
18572 as_fn_set_status ()
18574 return $1
18575 } # as_fn_set_status
18577 # as_fn_exit STATUS
18578 # -----------------
18579 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18580 as_fn_exit ()
18582 set +e
18583 as_fn_set_status $1
18584 exit $1
18585 } # as_fn_exit
18587 # as_fn_unset VAR
18588 # ---------------
18589 # Portably unset VAR.
18590 as_fn_unset ()
18592 { eval $1=; unset $1;}
18594 as_unset=as_fn_unset
18595 # as_fn_append VAR VALUE
18596 # ----------------------
18597 # Append the text in VALUE to the end of the definition contained in VAR. Take
18598 # advantage of any shell optimizations that allow amortized linear growth over
18599 # repeated appends, instead of the typical quadratic growth present in naive
18600 # implementations.
18601 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18602 eval 'as_fn_append ()
18604 eval $1+=\$2
18606 else
18607 as_fn_append ()
18609 eval $1=\$$1\$2
18611 fi # as_fn_append
18613 # as_fn_arith ARG...
18614 # ------------------
18615 # Perform arithmetic evaluation on the ARGs, and store the result in the
18616 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18617 # must be portable across $(()) and expr.
18618 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18619 eval 'as_fn_arith ()
18621 as_val=$(( $* ))
18623 else
18624 as_fn_arith ()
18626 as_val=`expr "$@" || test $? -eq 1`
18628 fi # as_fn_arith
18631 if expr a : '\(a\)' >/dev/null 2>&1 &&
18632 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18633 as_expr=expr
18634 else
18635 as_expr=false
18638 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18639 as_basename=basename
18640 else
18641 as_basename=false
18644 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18645 as_dirname=dirname
18646 else
18647 as_dirname=false
18650 as_me=`$as_basename -- "$0" ||
18651 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18652 X"$0" : 'X\(//\)$' \| \
18653 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18654 $as_echo X/"$0" |
18655 sed '/^.*\/\([^/][^/]*\)\/*$/{
18656 s//\1/
18659 /^X\/\(\/\/\)$/{
18660 s//\1/
18663 /^X\/\(\/\).*/{
18664 s//\1/
18667 s/.*/./; q'`
18669 # Avoid depending upon Character Ranges.
18670 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18671 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18672 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18673 as_cr_digits='0123456789'
18674 as_cr_alnum=$as_cr_Letters$as_cr_digits
18676 ECHO_C= ECHO_N= ECHO_T=
18677 case `echo -n x` in #(((((
18678 -n*)
18679 case `echo 'xy\c'` in
18680 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18681 xy) ECHO_C='\c';;
18682 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18683 ECHO_T=' ';;
18684 esac;;
18686 ECHO_N='-n';;
18687 esac
18689 rm -f conf$$ conf$$.exe conf$$.file
18690 if test -d conf$$.dir; then
18691 rm -f conf$$.dir/conf$$.file
18692 else
18693 rm -f conf$$.dir
18694 mkdir conf$$.dir 2>/dev/null
18696 if (echo >conf$$.file) 2>/dev/null; then
18697 if ln -s conf$$.file conf$$ 2>/dev/null; then
18698 as_ln_s='ln -s'
18699 # ... but there are two gotchas:
18700 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18701 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18702 # In both cases, we have to default to `cp -pR'.
18703 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18704 as_ln_s='cp -pR'
18705 elif ln conf$$.file conf$$ 2>/dev/null; then
18706 as_ln_s=ln
18707 else
18708 as_ln_s='cp -pR'
18710 else
18711 as_ln_s='cp -pR'
18713 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18714 rmdir conf$$.dir 2>/dev/null
18717 # as_fn_mkdir_p
18718 # -------------
18719 # Create "$as_dir" as a directory, including parents if necessary.
18720 as_fn_mkdir_p ()
18723 case $as_dir in #(
18724 -*) as_dir=./$as_dir;;
18725 esac
18726 test -d "$as_dir" || eval $as_mkdir_p || {
18727 as_dirs=
18728 while :; do
18729 case $as_dir in #(
18730 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18731 *) as_qdir=$as_dir;;
18732 esac
18733 as_dirs="'$as_qdir' $as_dirs"
18734 as_dir=`$as_dirname -- "$as_dir" ||
18735 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18736 X"$as_dir" : 'X\(//\)[^/]' \| \
18737 X"$as_dir" : 'X\(//\)$' \| \
18738 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18739 $as_echo X"$as_dir" |
18740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18741 s//\1/
18744 /^X\(\/\/\)[^/].*/{
18745 s//\1/
18748 /^X\(\/\/\)$/{
18749 s//\1/
18752 /^X\(\/\).*/{
18753 s//\1/
18756 s/.*/./; q'`
18757 test -d "$as_dir" && break
18758 done
18759 test -z "$as_dirs" || eval "mkdir $as_dirs"
18760 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18763 } # as_fn_mkdir_p
18764 if mkdir -p . 2>/dev/null; then
18765 as_mkdir_p='mkdir -p "$as_dir"'
18766 else
18767 test -d ./-p && rmdir ./-p
18768 as_mkdir_p=false
18772 # as_fn_executable_p FILE
18773 # -----------------------
18774 # Test if FILE is an executable regular file.
18775 as_fn_executable_p ()
18777 test -f "$1" && test -x "$1"
18778 } # as_fn_executable_p
18779 as_test_x='test -x'
18780 as_executable_p=as_fn_executable_p
18782 # Sed expression to map a string onto a valid CPP name.
18783 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18785 # Sed expression to map a string onto a valid variable name.
18786 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18789 exec 6>&1
18790 ## ----------------------------------- ##
18791 ## Main body of $CONFIG_STATUS script. ##
18792 ## ----------------------------------- ##
18793 _ASEOF
18794 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18797 # Save the log message, to keep $0 and so on meaningful, and to
18798 # report actual input values of CONFIG_FILES etc. instead of their
18799 # values after options handling.
18800 ac_log="
18801 This file was extended by Wine $as_me 1.9.5, which was
18802 generated by GNU Autoconf 2.69. Invocation command line was
18804 CONFIG_FILES = $CONFIG_FILES
18805 CONFIG_HEADERS = $CONFIG_HEADERS
18806 CONFIG_LINKS = $CONFIG_LINKS
18807 CONFIG_COMMANDS = $CONFIG_COMMANDS
18808 $ $0 $@
18810 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18813 _ACEOF
18815 case $ac_config_files in *"
18816 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18817 esac
18819 case $ac_config_headers in *"
18820 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18821 esac
18824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18825 # Files that config.status was made for.
18826 config_files="$ac_config_files"
18827 config_headers="$ac_config_headers"
18828 config_links="$ac_config_links"
18829 config_commands="$ac_config_commands"
18831 _ACEOF
18833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18834 ac_cs_usage="\
18835 \`$as_me' instantiates files and other configuration actions
18836 from templates according to the current configuration. Unless the files
18837 and actions are specified as TAGs, all are instantiated by default.
18839 Usage: $0 [OPTION]... [TAG]...
18841 -h, --help print this help, then exit
18842 -V, --version print version number and configuration settings, then exit
18843 --config print configuration, then exit
18844 -q, --quiet, --silent
18845 do not print progress messages
18846 -d, --debug don't remove temporary files
18847 --recheck update $as_me by reconfiguring in the same conditions
18848 --file=FILE[:TEMPLATE]
18849 instantiate the configuration file FILE
18850 --header=FILE[:TEMPLATE]
18851 instantiate the configuration header FILE
18853 Configuration files:
18854 $config_files
18856 Configuration headers:
18857 $config_headers
18859 Configuration links:
18860 $config_links
18862 Configuration commands:
18863 $config_commands
18865 Report bugs to <wine-devel@winehq.org>.
18866 Wine home page: <http://www.winehq.org>."
18868 _ACEOF
18869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18870 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18871 ac_cs_version="\\
18872 Wine config.status 1.9.5
18873 configured by $0, generated by GNU Autoconf 2.69,
18874 with options \\"\$ac_cs_config\\"
18876 Copyright (C) 2012 Free Software Foundation, Inc.
18877 This config.status script is free software; the Free Software Foundation
18878 gives unlimited permission to copy, distribute and modify it."
18880 ac_pwd='$ac_pwd'
18881 srcdir='$srcdir'
18882 test -n "\$AWK" || AWK=awk
18883 _ACEOF
18885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18886 # The default lists apply if the user does not specify any file.
18887 ac_need_defaults=:
18888 while test $# != 0
18890 case $1 in
18891 --*=?*)
18892 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18893 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18894 ac_shift=:
18896 --*=)
18897 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18898 ac_optarg=
18899 ac_shift=:
18902 ac_option=$1
18903 ac_optarg=$2
18904 ac_shift=shift
18906 esac
18908 case $ac_option in
18909 # Handling of the options.
18910 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18911 ac_cs_recheck=: ;;
18912 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18913 $as_echo "$ac_cs_version"; exit ;;
18914 --config | --confi | --conf | --con | --co | --c )
18915 $as_echo "$ac_cs_config"; exit ;;
18916 --debug | --debu | --deb | --de | --d | -d )
18917 debug=: ;;
18918 --file | --fil | --fi | --f )
18919 $ac_shift
18920 case $ac_optarg in
18921 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18922 '') as_fn_error $? "missing file argument" ;;
18923 esac
18924 as_fn_append CONFIG_FILES " '$ac_optarg'"
18925 ac_need_defaults=false;;
18926 --header | --heade | --head | --hea )
18927 $ac_shift
18928 case $ac_optarg in
18929 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18930 esac
18931 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18932 ac_need_defaults=false;;
18933 --he | --h)
18934 # Conflict between --help and --header
18935 as_fn_error $? "ambiguous option: \`$1'
18936 Try \`$0 --help' for more information.";;
18937 --help | --hel | -h )
18938 $as_echo "$ac_cs_usage"; exit ;;
18939 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18940 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18941 ac_cs_silent=: ;;
18943 # This is an error.
18944 -*) as_fn_error $? "unrecognized option: \`$1'
18945 Try \`$0 --help' for more information." ;;
18947 *) as_fn_append ac_config_targets " $1"
18948 ac_need_defaults=false ;;
18950 esac
18951 shift
18952 done
18954 ac_configure_extra_args=
18956 if $ac_cs_silent; then
18957 exec 6>/dev/null
18958 ac_configure_extra_args="$ac_configure_extra_args --silent"
18961 _ACEOF
18962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18963 if \$ac_cs_recheck; then
18964 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18965 shift
18966 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18967 CONFIG_SHELL='$SHELL'
18968 export CONFIG_SHELL
18969 exec "\$@"
18972 _ACEOF
18973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18974 exec 5>>config.log
18976 echo
18977 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18978 ## Running $as_me. ##
18979 _ASBOX
18980 $as_echo "$ac_log"
18981 } >&5
18983 _ACEOF
18984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18986 # INIT-COMMANDS
18988 wine_fn_output_makedep ()
18990 as_dir=tools; as_fn_mkdir_p
18991 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18993 wine_fn_output_makefile ()
18995 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
18996 `cat $wine_rules_file`
18997 _WINE_EOF
18998 as_fn_error $? "could not create Makefile" "$LINENO" 5
19001 _ACEOF
19003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19005 # Handling of arguments.
19006 for ac_config_target in $ac_config_targets
19008 case $ac_config_target in
19009 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19010 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19011 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19012 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19013 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19014 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19015 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19016 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19017 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19018 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19019 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19020 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19021 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19023 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19024 esac
19025 done
19028 # If the user did not use the arguments to specify the items to instantiate,
19029 # then the envvar interface is used. Set only those that are not.
19030 # We use the long form for the default assignment because of an extremely
19031 # bizarre bug on SunOS 4.1.3.
19032 if $ac_need_defaults; then
19033 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19034 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19035 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19036 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19039 # Have a temporary directory for convenience. Make it in the build tree
19040 # simply because there is no reason against having it here, and in addition,
19041 # creating and moving files from /tmp can sometimes cause problems.
19042 # Hook for its removal unless debugging.
19043 # Note that there is a small window in which the directory will not be cleaned:
19044 # after its creation but before its name has been assigned to `$tmp'.
19045 $debug ||
19047 tmp= ac_tmp=
19048 trap 'exit_status=$?
19049 : "${ac_tmp:=$tmp}"
19050 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19052 trap 'as_fn_exit 1' 1 2 13 15
19054 # Create a (secure) tmp directory for tmp files.
19057 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19058 test -d "$tmp"
19059 } ||
19061 tmp=./conf$$-$RANDOM
19062 (umask 077 && mkdir "$tmp")
19063 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19064 ac_tmp=$tmp
19066 # Set up the scripts for CONFIG_FILES section.
19067 # No need to generate them if there are no CONFIG_FILES.
19068 # This happens for instance with `./config.status config.h'.
19069 if test -n "$CONFIG_FILES"; then
19072 ac_cr=`echo X | tr X '\015'`
19073 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19074 # But we know of no other shell where ac_cr would be empty at this
19075 # point, so we can use a bashism as a fallback.
19076 if test "x$ac_cr" = x; then
19077 eval ac_cr=\$\'\\r\'
19079 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19080 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19081 ac_cs_awk_cr='\\r'
19082 else
19083 ac_cs_awk_cr=$ac_cr
19086 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19087 _ACEOF
19091 echo "cat >conf$$subs.awk <<_ACEOF" &&
19092 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19093 echo "_ACEOF"
19094 } >conf$$subs.sh ||
19095 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19096 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19097 ac_delim='%!_!# '
19098 for ac_last_try in false false false false false :; do
19099 . ./conf$$subs.sh ||
19100 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19102 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19103 if test $ac_delim_n = $ac_delim_num; then
19104 break
19105 elif $ac_last_try; then
19106 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19107 else
19108 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19110 done
19111 rm -f conf$$subs.sh
19113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19114 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19115 _ACEOF
19116 sed -n '
19118 s/^/S["/; s/!.*/"]=/
19121 s/^[^!]*!//
19122 :repl
19123 t repl
19124 s/'"$ac_delim"'$//
19125 t delim
19128 s/\(.\{148\}\)..*/\1/
19129 t more1
19130 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19133 b repl
19134 :more1
19135 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19138 s/.\{148\}//
19139 t nl
19140 :delim
19142 s/\(.\{148\}\)..*/\1/
19143 t more2
19144 s/["\\]/\\&/g; s/^/"/; s/$/"/
19147 :more2
19148 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19151 s/.\{148\}//
19152 t delim
19153 ' <conf$$subs.awk | sed '
19154 /^[^""]/{
19156 s/\n//
19158 ' >>$CONFIG_STATUS || ac_write_fail=1
19159 rm -f conf$$subs.awk
19160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19161 _ACAWK
19162 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19163 for (key in S) S_is_set[key] = 1
19164 FS = "\a"
19168 line = $ 0
19169 nfields = split(line, field, "@")
19170 substed = 0
19171 len = length(field[1])
19172 for (i = 2; i < nfields; i++) {
19173 key = field[i]
19174 keylen = length(key)
19175 if (S_is_set[key]) {
19176 value = S[key]
19177 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19178 len += length(value) + length(field[++i])
19179 substed = 1
19180 } else
19181 len += 1 + keylen
19184 print line
19187 _ACAWK
19188 _ACEOF
19189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19190 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19191 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19192 else
19194 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19195 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19196 _ACEOF
19198 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19199 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19200 # trailing colons and then remove the whole line if VPATH becomes empty
19201 # (actually we leave an empty line to preserve line numbers).
19202 if test "x$srcdir" = x.; then
19203 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19205 s///
19206 s/^/:/
19207 s/[ ]*$/:/
19208 s/:\$(srcdir):/:/g
19209 s/:\${srcdir}:/:/g
19210 s/:@srcdir@:/:/g
19211 s/^:*//
19212 s/:*$//
19214 s/\(=[ ]*\).*/\1/
19216 s/\n//
19217 s/^[^=]*=[ ]*$//
19221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19222 fi # test -n "$CONFIG_FILES"
19224 # Set up the scripts for CONFIG_HEADERS section.
19225 # No need to generate them if there are no CONFIG_HEADERS.
19226 # This happens for instance with `./config.status Makefile'.
19227 if test -n "$CONFIG_HEADERS"; then
19228 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19229 BEGIN {
19230 _ACEOF
19232 # Transform confdefs.h into an awk script `defines.awk', embedded as
19233 # here-document in config.status, that substitutes the proper values into
19234 # config.h.in to produce config.h.
19236 # Create a delimiter string that does not exist in confdefs.h, to ease
19237 # handling of long lines.
19238 ac_delim='%!_!# '
19239 for ac_last_try in false false :; do
19240 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19241 if test -z "$ac_tt"; then
19242 break
19243 elif $ac_last_try; then
19244 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19245 else
19246 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19248 done
19250 # For the awk script, D is an array of macro values keyed by name,
19251 # likewise P contains macro parameters if any. Preserve backslash
19252 # newline sequences.
19254 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19255 sed -n '
19256 s/.\{148\}/&'"$ac_delim"'/g
19257 t rset
19258 :rset
19259 s/^[ ]*#[ ]*define[ ][ ]*/ /
19260 t def
19262 :def
19263 s/\\$//
19264 t bsnl
19265 s/["\\]/\\&/g
19266 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19267 D["\1"]=" \3"/p
19268 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19270 :bsnl
19271 s/["\\]/\\&/g
19272 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19273 D["\1"]=" \3\\\\\\n"\\/p
19274 t cont
19275 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19276 t cont
19278 :cont
19280 s/.\{148\}/&'"$ac_delim"'/g
19281 t clear
19282 :clear
19283 s/\\$//
19284 t bsnlc
19285 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19287 :bsnlc
19288 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19289 b cont
19290 ' <confdefs.h | sed '
19291 s/'"$ac_delim"'/"\\\
19292 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19295 for (key in D) D_is_set[key] = 1
19296 FS = "\a"
19298 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19299 line = \$ 0
19300 split(line, arg, " ")
19301 if (arg[1] == "#") {
19302 defundef = arg[2]
19303 mac1 = arg[3]
19304 } else {
19305 defundef = substr(arg[1], 2)
19306 mac1 = arg[2]
19308 split(mac1, mac2, "(") #)
19309 macro = mac2[1]
19310 prefix = substr(line, 1, index(line, defundef) - 1)
19311 if (D_is_set[macro]) {
19312 # Preserve the white space surrounding the "#".
19313 print prefix "define", macro P[macro] D[macro]
19314 next
19315 } else {
19316 # Replace #undef with comments. This is necessary, for example,
19317 # in the case of _POSIX_SOURCE, which is predefined and required
19318 # on some systems where configure will not decide to define it.
19319 if (defundef == "undef") {
19320 print "/*", prefix defundef, macro, "*/"
19321 next
19325 { print }
19326 _ACAWK
19327 _ACEOF
19328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19329 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19330 fi # test -n "$CONFIG_HEADERS"
19333 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19334 shift
19335 for ac_tag
19337 case $ac_tag in
19338 :[FHLC]) ac_mode=$ac_tag; continue;;
19339 esac
19340 case $ac_mode$ac_tag in
19341 :[FHL]*:*);;
19342 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19343 :[FH]-) ac_tag=-:-;;
19344 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19345 esac
19346 ac_save_IFS=$IFS
19347 IFS=:
19348 set x $ac_tag
19349 IFS=$ac_save_IFS
19350 shift
19351 ac_file=$1
19352 shift
19354 case $ac_mode in
19355 :L) ac_source=$1;;
19356 :[FH])
19357 ac_file_inputs=
19358 for ac_f
19360 case $ac_f in
19361 -) ac_f="$ac_tmp/stdin";;
19362 *) # Look for the file first in the build tree, then in the source tree
19363 # (if the path is not absolute). The absolute path cannot be DOS-style,
19364 # because $ac_f cannot contain `:'.
19365 test -f "$ac_f" ||
19366 case $ac_f in
19367 [\\/$]*) false;;
19368 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19369 esac ||
19370 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19371 esac
19372 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19373 as_fn_append ac_file_inputs " '$ac_f'"
19374 done
19376 # Let's still pretend it is `configure' which instantiates (i.e., don't
19377 # use $as_me), people would be surprised to read:
19378 # /* config.h. Generated by config.status. */
19379 configure_input='Generated from '`
19380 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19381 `' by configure.'
19382 if test x"$ac_file" != x-; then
19383 configure_input="$ac_file. $configure_input"
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19385 $as_echo "$as_me: creating $ac_file" >&6;}
19387 # Neutralize special characters interpreted by sed in replacement strings.
19388 case $configure_input in #(
19389 *\&* | *\|* | *\\* )
19390 ac_sed_conf_input=`$as_echo "$configure_input" |
19391 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19392 *) ac_sed_conf_input=$configure_input;;
19393 esac
19395 case $ac_tag in
19396 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19397 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19398 esac
19400 esac
19402 ac_dir=`$as_dirname -- "$ac_file" ||
19403 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19404 X"$ac_file" : 'X\(//\)[^/]' \| \
19405 X"$ac_file" : 'X\(//\)$' \| \
19406 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19407 $as_echo X"$ac_file" |
19408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19409 s//\1/
19412 /^X\(\/\/\)[^/].*/{
19413 s//\1/
19416 /^X\(\/\/\)$/{
19417 s//\1/
19420 /^X\(\/\).*/{
19421 s//\1/
19424 s/.*/./; q'`
19425 as_dir="$ac_dir"; as_fn_mkdir_p
19426 ac_builddir=.
19428 case "$ac_dir" in
19429 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19431 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19432 # A ".." for each directory in $ac_dir_suffix.
19433 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19434 case $ac_top_builddir_sub in
19435 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19436 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19437 esac ;;
19438 esac
19439 ac_abs_top_builddir=$ac_pwd
19440 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19441 # for backward compatibility:
19442 ac_top_builddir=$ac_top_build_prefix
19444 case $srcdir in
19445 .) # We are building in place.
19446 ac_srcdir=.
19447 ac_top_srcdir=$ac_top_builddir_sub
19448 ac_abs_top_srcdir=$ac_pwd ;;
19449 [\\/]* | ?:[\\/]* ) # Absolute name.
19450 ac_srcdir=$srcdir$ac_dir_suffix;
19451 ac_top_srcdir=$srcdir
19452 ac_abs_top_srcdir=$srcdir ;;
19453 *) # Relative name.
19454 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19455 ac_top_srcdir=$ac_top_build_prefix$srcdir
19456 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19457 esac
19458 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19461 case $ac_mode in
19464 # CONFIG_FILE
19467 _ACEOF
19469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19470 # If the template does not know about datarootdir, expand it.
19471 # FIXME: This hack should be removed a few years after 2.60.
19472 ac_datarootdir_hack=; ac_datarootdir_seen=
19473 ac_sed_dataroot='
19474 /datarootdir/ {
19478 /@datadir@/p
19479 /@docdir@/p
19480 /@infodir@/p
19481 /@localedir@/p
19482 /@mandir@/p'
19483 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19484 *datarootdir*) ac_datarootdir_seen=yes;;
19485 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19487 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19488 _ACEOF
19489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19490 ac_datarootdir_hack='
19491 s&@datadir@&$datadir&g
19492 s&@docdir@&$docdir&g
19493 s&@infodir@&$infodir&g
19494 s&@localedir@&$localedir&g
19495 s&@mandir@&$mandir&g
19496 s&\\\${datarootdir}&$datarootdir&g' ;;
19497 esac
19498 _ACEOF
19500 # Neutralize VPATH when `$srcdir' = `.'.
19501 # Shell code in configure.ac might set extrasub.
19502 # FIXME: do we really want to maintain this feature?
19503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19504 ac_sed_extra="$ac_vpsub
19505 $extrasub
19506 _ACEOF
19507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19509 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19510 s|@configure_input@|$ac_sed_conf_input|;t t
19511 s&@top_builddir@&$ac_top_builddir_sub&;t t
19512 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19513 s&@srcdir@&$ac_srcdir&;t t
19514 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19515 s&@top_srcdir@&$ac_top_srcdir&;t t
19516 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19517 s&@builddir@&$ac_builddir&;t t
19518 s&@abs_builddir@&$ac_abs_builddir&;t t
19519 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19520 $ac_datarootdir_hack
19522 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19523 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19525 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19526 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19527 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19528 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19530 which seems to be undefined. Please make sure it is defined" >&5
19531 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19532 which seems to be undefined. Please make sure it is defined" >&2;}
19534 rm -f "$ac_tmp/stdin"
19535 case $ac_file in
19536 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19537 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19538 esac \
19539 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19543 # CONFIG_HEADER
19545 if test x"$ac_file" != x-; then
19547 $as_echo "/* $configure_input */" \
19548 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19549 } >"$ac_tmp/config.h" \
19550 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19551 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19553 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19554 else
19555 rm -f "$ac_file"
19556 mv "$ac_tmp/config.h" "$ac_file" \
19557 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19559 else
19560 $as_echo "/* $configure_input */" \
19561 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19562 || as_fn_error $? "could not create -" "$LINENO" 5
19567 # CONFIG_LINK
19570 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19572 else
19573 # Prefer the file from the source tree if names are identical.
19574 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19575 ac_source=$srcdir/$ac_source
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19579 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19581 if test ! -r "$ac_source"; then
19582 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19584 rm -f "$ac_file"
19586 # Try a relative symlink, then a hard link, then a copy.
19587 case $ac_source in
19588 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19589 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19590 esac
19591 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19592 ln "$ac_source" "$ac_file" 2>/dev/null ||
19593 cp -p "$ac_source" "$ac_file" ||
19594 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19597 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19598 $as_echo "$as_me: executing $ac_file commands" >&6;}
19600 esac
19603 case $ac_file$ac_mode in
19604 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19605 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19606 "Makefile":C) wine_fn_output_makefile Makefile ;;
19608 esac
19609 done # for ac_tag
19612 as_fn_exit 0
19613 _ACEOF
19614 ac_clean_files=$ac_clean_files_save
19616 test $ac_write_fail = 0 ||
19617 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19620 # configure is writing to config.log, and then calls config.status.
19621 # config.status does its own redirection, appending to config.log.
19622 # Unfortunately, on DOS this fails, as config.log is still kept open
19623 # by configure, so config.status won't be able to write to it; its
19624 # output is simply discarded. So we exec the FD to /dev/null,
19625 # effectively closing config.log, so it can be properly (re)opened and
19626 # appended to by config.status. When coming back to configure, we
19627 # need to make the FD available again.
19628 if test "$no_create" != yes; then
19629 ac_cs_success=:
19630 ac_config_status_args=
19631 test "$silent" = yes &&
19632 ac_config_status_args="$ac_config_status_args --quiet"
19633 exec 5>/dev/null
19634 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19635 exec 5>>config.log
19636 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19637 # would make configure fail if this is the last instruction.
19638 $ac_cs_success || as_fn_exit 1
19640 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19642 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19646 if test "$no_create" = "yes"
19647 then
19648 exit 0
19651 ac_save_IFS="$IFS"
19652 if test "x$wine_notices" != x; then
19653 echo >&6
19654 IFS="|"
19655 for msg in $wine_notices; do
19656 IFS="$ac_save_IFS"
19657 if ${msg:+false} :; then :
19659 else
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19661 $as_echo "$as_me: $msg" >&6;}
19663 done
19665 IFS="|"
19666 for msg in $wine_warnings; do
19667 IFS="$ac_save_IFS"
19668 if ${msg:+false} :; then :
19670 else
19671 echo >&2
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19673 $as_echo "$as_me: WARNING: $msg" >&2;}
19675 done
19676 IFS="$ac_save_IFS"
19678 $as_echo "
19679 $as_me: Finished. Do '${ac_make}' to compile Wine.
19680 " >&6