winebuild: Store a C-compatible version of the dll name.
[wine.git] / configure
blob76a626760253a2ce46f5d521bfc8911cceced513
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.6.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.9.6'
584 PACKAGE_STRING='Wine 1.9.6'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 OSS4_CFLAGS
656 ALSA_LIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 PULSE_LIBS
660 PULSE_CFLAGS
661 GETTEXTPO_LIBS
662 Z_LIBS
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLV_LIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 PCAP_LIBS
685 X_EXTRA_LIBS
686 X_LIBS
687 X_PRE_LIBS
688 X_CFLAGS
689 XMKMF
690 PTHREAD_LIBS
691 CROSSCC
692 CROSSTARGET
693 PRELINK
694 WINELOADER_DEPENDS
695 CARBON_LIBS
696 QUICKTIME_LIBS
697 OPENCL_LIBS
698 OPENAL_LIBS
699 COREAUDIO_LIBS
700 SECURITY_LIBS
701 DISKARBITRATION_LIBS
702 APPKIT_LIBS
703 CORESERVICES_LIBS
704 APPLICATIONSERVICES_LIBS
705 FORCEFEEDBACK_LIBS
706 IOKIT_LIBS
707 COREFOUNDATION_LIBS
708 LIBWINE_DEPENDS
709 LIBWINE_LDFLAGS
710 LIBWINE_INSTALL_DEV
711 LIBWINE_INSTALL_LIB
712 LIBWINE_IMPORTLIB
713 LIBWINE_SHAREDLIB
714 SOCKET_LIBS
715 DLLTOOL
716 WINELOADER_PROGRAMS
717 ALL_TEST_RESOURCES
718 CONFIGURE_TARGETS
719 DISABLED_SUBDIRS
720 SUBDIRS
721 READELF
722 OTOOL
724 LDEXECFLAGS
725 LDRPATH_LOCAL
726 LDRPATH_INSTALL
727 DLLFLAGS
728 dlldir
730 OPENGL_LIBS
731 ICOTOOL
732 CONVERT
733 RSVG
734 FONTFORGE
735 PKG_CONFIG
736 MSGFMT
737 LDCONFIG
738 EGREP
739 GREP
740 LN_S
741 RANLIB
742 ARFLAGS
743 STRIP
744 ac_ct_AR
746 BISON
747 FLEX
748 TOOLSDIR
749 TARGETFLAGS
751 CPPBIN
752 ac_ct_CXX
753 CXXFLAGS
755 OBJEXT
756 EXEEXT
757 ac_ct_CC
758 CPPFLAGS
759 LDFLAGS
760 CFLAGS
762 SET_MAKE
763 host_os
764 host_vendor
765 host_cpu
766 host
767 build_os
768 build_vendor
769 build_cpu
770 build
771 target_alias
772 host_alias
773 build_alias
774 LIBS
775 ECHO_T
776 ECHO_N
777 ECHO_C
778 DEFS
779 mandir
780 localedir
781 libdir
782 psdir
783 pdfdir
784 dvidir
785 htmldir
786 infodir
787 docdir
788 oldincludedir
789 includedir
790 runstatedir
791 localstatedir
792 sharedstatedir
793 sysconfdir
794 datadir
795 datarootdir
796 libexecdir
797 sbindir
798 bindir
799 program_transform_name
800 prefix
801 exec_prefix
802 PACKAGE_URL
803 PACKAGE_BUGREPORT
804 PACKAGE_STRING
805 PACKAGE_VERSION
806 PACKAGE_TARNAME
807 PACKAGE_NAME
808 PATH_SEPARATOR
809 SHELL'
810 ac_subst_files=''
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_netapi
838 with_openal
839 with_opencl
840 with_opengl
841 with_osmesa
842 with_oss
843 with_pcap
844 with_png
845 with_pthread
846 with_pulse
847 with_sane
848 with_tiff
849 with_v4l
850 with_xcomposite
851 with_xcursor
852 with_xinerama
853 with_xinput
854 with_xinput2
855 with_xml
856 with_xrandr
857 with_xrender
858 with_xshape
859 with_xshm
860 with_xslt
861 with_xxf86vm
862 with_zlib
863 with_wine_tools
864 with_wine64
865 enable_largefile
866 with_x
867 enable_acledit
868 enable_aclui
869 enable_activeds
870 enable_actxprxy
871 enable_advapi32
872 enable_advpack
873 enable_amstream
874 enable_api_ms_win_core_com_l1_1_0
875 enable_api_ms_win_core_com_l1_1_1
876 enable_api_ms_win_core_console_l1_1_0
877 enable_api_ms_win_core_datetime_l1_1_0
878 enable_api_ms_win_core_datetime_l1_1_1
879 enable_api_ms_win_core_debug_l1_1_0
880 enable_api_ms_win_core_debug_l1_1_1
881 enable_api_ms_win_core_delayload_l1_1_1
882 enable_api_ms_win_core_errorhandling_l1_1_0
883 enable_api_ms_win_core_errorhandling_l1_1_1
884 enable_api_ms_win_core_errorhandling_l1_1_2
885 enable_api_ms_win_core_fibers_l1_1_0
886 enable_api_ms_win_core_fibers_l1_1_1
887 enable_api_ms_win_core_file_l1_1_0
888 enable_api_ms_win_core_file_l1_2_0
889 enable_api_ms_win_core_file_l1_2_1
890 enable_api_ms_win_core_file_l2_1_0
891 enable_api_ms_win_core_file_l2_1_1
892 enable_api_ms_win_core_handle_l1_1_0
893 enable_api_ms_win_core_heap_l1_1_0
894 enable_api_ms_win_core_heap_l1_2_0
895 enable_api_ms_win_core_heap_obsolete_l1_1_0
896 enable_api_ms_win_core_interlocked_l1_1_0
897 enable_api_ms_win_core_interlocked_l1_2_0
898 enable_api_ms_win_core_io_l1_1_1
899 enable_api_ms_win_core_kernel32_legacy_l1_1_0
900 enable_api_ms_win_core_kernel32_legacy_l1_1_1
901 enable_api_ms_win_core_libraryloader_l1_1_0
902 enable_api_ms_win_core_libraryloader_l1_1_1
903 enable_api_ms_win_core_libraryloader_l1_2_0
904 enable_api_ms_win_core_localization_l1_1_0
905 enable_api_ms_win_core_localization_l1_2_0
906 enable_api_ms_win_core_localization_l1_2_1
907 enable_api_ms_win_core_localization_obsolete_l1_1_0
908 enable_api_ms_win_core_localregistry_l1_1_0
909 enable_api_ms_win_core_memory_l1_1_0
910 enable_api_ms_win_core_memory_l1_1_1
911 enable_api_ms_win_core_memory_l1_1_2
912 enable_api_ms_win_core_misc_l1_1_0
913 enable_api_ms_win_core_namedpipe_l1_1_0
914 enable_api_ms_win_core_namedpipe_l1_2_0
915 enable_api_ms_win_core_path_l1_1_0
916 enable_api_ms_win_core_processenvironment_l1_1_0
917 enable_api_ms_win_core_processenvironment_l1_2_0
918 enable_api_ms_win_core_processthreads_l1_1_0
919 enable_api_ms_win_core_processthreads_l1_1_1
920 enable_api_ms_win_core_processthreads_l1_1_2
921 enable_api_ms_win_core_profile_l1_1_0
922 enable_api_ms_win_core_psapi_l1_1_0
923 enable_api_ms_win_core_registry_l1_1_0
924 enable_api_ms_win_core_rtlsupport_l1_1_0
925 enable_api_ms_win_core_rtlsupport_l1_2_0
926 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
927 enable_api_ms_win_core_string_l1_1_0
928 enable_api_ms_win_core_string_l2_1_0
929 enable_api_ms_win_core_synch_l1_1_0
930 enable_api_ms_win_core_synch_l1_2_0
931 enable_api_ms_win_core_sysinfo_l1_1_0
932 enable_api_ms_win_core_sysinfo_l1_2_0
933 enable_api_ms_win_core_sysinfo_l1_2_1
934 enable_api_ms_win_core_threadpool_l1_2_0
935 enable_api_ms_win_core_threadpool_legacy_l1_1_0
936 enable_api_ms_win_core_timezone_l1_1_0
937 enable_api_ms_win_core_url_l1_1_0
938 enable_api_ms_win_core_util_l1_1_0
939 enable_api_ms_win_core_version_l1_1_0
940 enable_api_ms_win_core_winrt_error_l1_1_0
941 enable_api_ms_win_core_winrt_error_l1_1_1
942 enable_api_ms_win_core_winrt_l1_1_0
943 enable_api_ms_win_core_winrt_registration_l1_1_0
944 enable_api_ms_win_core_winrt_string_l1_1_0
945 enable_api_ms_win_core_wow64_l1_1_0
946 enable_api_ms_win_core_xstate_l2_1_0
947 enable_api_ms_win_crt_conio_l1_1_0
948 enable_api_ms_win_crt_convert_l1_1_0
949 enable_api_ms_win_crt_environment_l1_1_0
950 enable_api_ms_win_crt_filesystem_l1_1_0
951 enable_api_ms_win_crt_heap_l1_1_0
952 enable_api_ms_win_crt_locale_l1_1_0
953 enable_api_ms_win_crt_math_l1_1_0
954 enable_api_ms_win_crt_multibyte_l1_1_0
955 enable_api_ms_win_crt_private_l1_1_0
956 enable_api_ms_win_crt_process_l1_1_0
957 enable_api_ms_win_crt_runtime_l1_1_0
958 enable_api_ms_win_crt_stdio_l1_1_0
959 enable_api_ms_win_crt_string_l1_1_0
960 enable_api_ms_win_crt_time_l1_1_0
961 enable_api_ms_win_crt_utility_l1_1_0
962 enable_api_ms_win_downlevel_advapi32_l1_1_0
963 enable_api_ms_win_downlevel_advapi32_l2_1_0
964 enable_api_ms_win_downlevel_normaliz_l1_1_0
965 enable_api_ms_win_downlevel_ole32_l1_1_0
966 enable_api_ms_win_downlevel_shell32_l1_1_0
967 enable_api_ms_win_downlevel_shlwapi_l1_1_0
968 enable_api_ms_win_downlevel_shlwapi_l2_1_0
969 enable_api_ms_win_downlevel_user32_l1_1_0
970 enable_api_ms_win_downlevel_version_l1_1_0
971 enable_api_ms_win_eventing_classicprovider_l1_1_0
972 enable_api_ms_win_eventing_provider_l1_1_0
973 enable_api_ms_win_ntuser_dc_access_l1_1_0
974 enable_api_ms_win_security_base_l1_1_0
975 enable_api_ms_win_security_base_l1_2_0
976 enable_api_ms_win_security_lsalookup_l1_1_0
977 enable_api_ms_win_security_lsalookup_l1_1_1
978 enable_api_ms_win_security_sddl_l1_1_0
979 enable_api_ms_win_service_core_l1_1_1
980 enable_api_ms_win_service_management_l1_1_0
981 enable_api_ms_win_service_winsvc_l1_2_0
982 enable_apphelp
983 enable_appwiz_cpl
984 enable_atl
985 enable_atl100
986 enable_atl110
987 enable_atl80
988 enable_atl90
989 enable_authz
990 enable_avicap32
991 enable_avifil32
992 enable_avrt
993 enable_bcrypt
994 enable_bluetoothapis
995 enable_browseui
996 enable_bthprops_cpl
997 enable_cabinet
998 enable_capi2032
999 enable_cards
1000 enable_cfgmgr32
1001 enable_clusapi
1002 enable_combase
1003 enable_comcat
1004 enable_comctl32
1005 enable_comdlg32
1006 enable_compstui
1007 enable_comsvcs
1008 enable_connect
1009 enable_credui
1010 enable_crtdll
1011 enable_crypt32
1012 enable_cryptdlg
1013 enable_cryptdll
1014 enable_cryptext
1015 enable_cryptnet
1016 enable_cryptui
1017 enable_ctapi32
1018 enable_ctl3d32
1019 enable_d2d1
1020 enable_d3d10
1021 enable_d3d10_1
1022 enable_d3d10core
1023 enable_d3d11
1024 enable_d3d8
1025 enable_d3d9
1026 enable_d3dcompiler_33
1027 enable_d3dcompiler_34
1028 enable_d3dcompiler_35
1029 enable_d3dcompiler_36
1030 enable_d3dcompiler_37
1031 enable_d3dcompiler_38
1032 enable_d3dcompiler_39
1033 enable_d3dcompiler_40
1034 enable_d3dcompiler_41
1035 enable_d3dcompiler_42
1036 enable_d3dcompiler_43
1037 enable_d3dcompiler_46
1038 enable_d3dcompiler_47
1039 enable_d3dim
1040 enable_d3drm
1041 enable_d3dx10_33
1042 enable_d3dx10_34
1043 enable_d3dx10_35
1044 enable_d3dx10_36
1045 enable_d3dx10_37
1046 enable_d3dx10_38
1047 enable_d3dx10_39
1048 enable_d3dx10_40
1049 enable_d3dx10_41
1050 enable_d3dx10_42
1051 enable_d3dx10_43
1052 enable_d3dx11_42
1053 enable_d3dx11_43
1054 enable_d3dx9_24
1055 enable_d3dx9_25
1056 enable_d3dx9_26
1057 enable_d3dx9_27
1058 enable_d3dx9_28
1059 enable_d3dx9_29
1060 enable_d3dx9_30
1061 enable_d3dx9_31
1062 enable_d3dx9_32
1063 enable_d3dx9_33
1064 enable_d3dx9_34
1065 enable_d3dx9_35
1066 enable_d3dx9_36
1067 enable_d3dx9_37
1068 enable_d3dx9_38
1069 enable_d3dx9_39
1070 enable_d3dx9_40
1071 enable_d3dx9_41
1072 enable_d3dx9_42
1073 enable_d3dx9_43
1074 enable_d3dxof
1075 enable_davclnt
1076 enable_dbgeng
1077 enable_dbghelp
1078 enable_dciman32
1079 enable_ddraw
1080 enable_ddrawex
1081 enable_devenum
1082 enable_dhcpcsvc
1083 enable_difxapi
1084 enable_dinput
1085 enable_dinput8
1086 enable_dispex
1087 enable_dmband
1088 enable_dmcompos
1089 enable_dmime
1090 enable_dmloader
1091 enable_dmscript
1092 enable_dmstyle
1093 enable_dmsynth
1094 enable_dmusic
1095 enable_dmusic32
1096 enable_dnsapi
1097 enable_dplay
1098 enable_dplayx
1099 enable_dpnaddr
1100 enable_dpnet
1101 enable_dpnhpast
1102 enable_dpnlobby
1103 enable_dpvoice
1104 enable_dpwsockx
1105 enable_drmclien
1106 enable_dsound
1107 enable_dssenh
1108 enable_dswave
1109 enable_dwmapi
1110 enable_dwrite
1111 enable_dxdiagn
1112 enable_dxgi
1113 enable_dxva2
1114 enable_esent
1115 enable_evr
1116 enable_explorerframe
1117 enable_ext_ms_win_gdi_devcaps_l1_1_0
1118 enable_faultrep
1119 enable_fltlib
1120 enable_fltmgr_sys
1121 enable_fntcache
1122 enable_fontsub
1123 enable_fusion
1124 enable_fwpuclnt
1125 enable_gameux
1126 enable_gdi32
1127 enable_gdiplus
1128 enable_glu32
1129 enable_gphoto2_ds
1130 enable_gpkcsp
1131 enable_hal
1132 enable_hhctrl_ocx
1133 enable_hid
1134 enable_hidclass_sys
1135 enable_hlink
1136 enable_hnetcfg
1137 enable_httpapi
1138 enable_iccvid
1139 enable_icmp
1140 enable_ieframe
1141 enable_imaadp32_acm
1142 enable_imagehlp
1143 enable_imm32
1144 enable_inetcomm
1145 enable_inetcpl_cpl
1146 enable_inetmib1
1147 enable_infosoft
1148 enable_initpki
1149 enable_inkobj
1150 enable_inseng
1151 enable_iphlpapi
1152 enable_irprops_cpl
1153 enable_itircl
1154 enable_itss
1155 enable_joy_cpl
1156 enable_jscript
1157 enable_jsproxy
1158 enable_kernel32
1159 enable_kernelbase
1160 enable_ksuser
1161 enable_ktmw32
1162 enable_loadperf
1163 enable_localspl
1164 enable_localui
1165 enable_lz32
1166 enable_mapi32
1167 enable_mapistub
1168 enable_mciavi32
1169 enable_mcicda
1170 enable_mciqtz32
1171 enable_mciseq
1172 enable_mciwave
1173 enable_mf
1174 enable_mfplat
1175 enable_mfreadwrite
1176 enable_mgmtapi
1177 enable_midimap
1178 enable_mlang
1179 enable_mmcndmgr
1180 enable_mmdevapi
1181 enable_mountmgr_sys
1182 enable_mpr
1183 enable_mprapi
1184 enable_msacm32_drv
1185 enable_msacm32
1186 enable_msadp32_acm
1187 enable_msasn1
1188 enable_mscat32
1189 enable_mscms
1190 enable_mscoree
1191 enable_msctf
1192 enable_msctfp
1193 enable_msdaps
1194 enable_msdelta
1195 enable_msdmo
1196 enable_msdrm
1197 enable_msftedit
1198 enable_msg711_acm
1199 enable_msgsm32_acm
1200 enable_mshtml_tlb
1201 enable_mshtml
1202 enable_msi
1203 enable_msident
1204 enable_msimg32
1205 enable_msimsg
1206 enable_msimtf
1207 enable_msisip
1208 enable_msisys_ocx
1209 enable_msls31
1210 enable_msnet32
1211 enable_mspatcha
1212 enable_msrle32
1213 enable_msscript_ocx
1214 enable_mssign32
1215 enable_mssip32
1216 enable_mstask
1217 enable_msvcirt
1218 enable_msvcm80
1219 enable_msvcm90
1220 enable_msvcp100
1221 enable_msvcp110
1222 enable_msvcp120
1223 enable_msvcp120_app
1224 enable_msvcp60
1225 enable_msvcp70
1226 enable_msvcp71
1227 enable_msvcp80
1228 enable_msvcp90
1229 enable_msvcr100
1230 enable_msvcr110
1231 enable_msvcr120
1232 enable_msvcr120_app
1233 enable_msvcr70
1234 enable_msvcr71
1235 enable_msvcr80
1236 enable_msvcr90
1237 enable_msvcrt
1238 enable_msvcrt20
1239 enable_msvcrt40
1240 enable_msvcrtd
1241 enable_msvfw32
1242 enable_msvidc32
1243 enable_mswsock
1244 enable_msxml
1245 enable_msxml2
1246 enable_msxml3
1247 enable_msxml4
1248 enable_msxml6
1249 enable_nddeapi
1250 enable_ndis_sys
1251 enable_netapi32
1252 enable_netcfgx
1253 enable_netprofm
1254 enable_newdev
1255 enable_normaliz
1256 enable_npmshtml
1257 enable_npptools
1258 enable_ntdll
1259 enable_ntdsapi
1260 enable_ntoskrnl_exe
1261 enable_ntprint
1262 enable_objsel
1263 enable_odbc32
1264 enable_odbccp32
1265 enable_odbccu32
1266 enable_ole32
1267 enable_oleacc
1268 enable_oleaut32
1269 enable_olecli32
1270 enable_oledb32
1271 enable_oledlg
1272 enable_olepro32
1273 enable_olesvr32
1274 enable_olethk32
1275 enable_openal32
1276 enable_opencl
1277 enable_opengl32
1278 enable_packager
1279 enable_pdh
1280 enable_photometadatahandler
1281 enable_pidgen
1282 enable_powrprof
1283 enable_printui
1284 enable_prntvpt
1285 enable_propsys
1286 enable_psapi
1287 enable_pstorec
1288 enable_qcap
1289 enable_qedit
1290 enable_qmgr
1291 enable_qmgrprxy
1292 enable_quartz
1293 enable_query
1294 enable_rasapi32
1295 enable_rasdlg
1296 enable_regapi
1297 enable_resutils
1298 enable_riched20
1299 enable_riched32
1300 enable_rpcrt4
1301 enable_rsabase
1302 enable_rsaenh
1303 enable_rstrtmgr
1304 enable_rtutils
1305 enable_samlib
1306 enable_sane_ds
1307 enable_scarddlg
1308 enable_sccbase
1309 enable_schannel
1310 enable_schedsvc
1311 enable_scrrun
1312 enable_scsiport_sys
1313 enable_secur32
1314 enable_security
1315 enable_sensapi
1316 enable_serialui
1317 enable_setupapi
1318 enable_sfc
1319 enable_sfc_os
1320 enable_shdoclc
1321 enable_shdocvw
1322 enable_shell32
1323 enable_shfolder
1324 enable_shlwapi
1325 enable_slbcsp
1326 enable_slc
1327 enable_snmpapi
1328 enable_softpub
1329 enable_spoolss
1330 enable_stdole2_tlb
1331 enable_stdole32_tlb
1332 enable_sti
1333 enable_svrapi
1334 enable_sxs
1335 enable_t2embed
1336 enable_tapi32
1337 enable_taskschd
1338 enable_tdi_sys
1339 enable_traffic
1340 enable_twain_32
1341 enable_ucrtbase
1342 enable_unicows
1343 enable_updspapi
1344 enable_url
1345 enable_urlmon
1346 enable_usbd_sys
1347 enable_user32
1348 enable_userenv
1349 enable_usp10
1350 enable_uxtheme
1351 enable_vbscript
1352 enable_vcomp
1353 enable_vcomp100
1354 enable_vcomp110
1355 enable_vcomp120
1356 enable_vcomp90
1357 enable_vcruntime140
1358 enable_vdmdbg
1359 enable_version
1360 enable_vssapi
1361 enable_wbemdisp
1362 enable_wbemprox
1363 enable_webservices
1364 enable_wer
1365 enable_wevtapi
1366 enable_wiaservc
1367 enable_wimgapi
1368 enable_windowscodecs
1369 enable_windowscodecsext
1370 enable_winealsa_drv
1371 enable_winecoreaudio_drv
1372 enable_wined3d
1373 enable_winegstreamer
1374 enable_winejoystick_drv
1375 enable_winemac_drv
1376 enable_winemapi
1377 enable_winemp3_acm
1378 enable_wineoss_drv
1379 enable_wineps_drv
1380 enable_winepulse_drv
1381 enable_wineqtdecoder
1382 enable_winex11_drv
1383 enable_wing32
1384 enable_winhttp
1385 enable_wininet
1386 enable_winmm
1387 enable_winnls32
1388 enable_winscard
1389 enable_winspool_drv
1390 enable_winsta
1391 enable_wintab32
1392 enable_wintrust
1393 enable_wlanapi
1394 enable_wldap32
1395 enable_wmasf
1396 enable_wmi
1397 enable_wmiutils
1398 enable_wmp
1399 enable_wmvcore
1400 enable_wnaspi32
1401 enable_wpcap
1402 enable_ws2_32
1403 enable_wshom_ocx
1404 enable_wsnmp32
1405 enable_wsock32
1406 enable_wtsapi32
1407 enable_wuapi
1408 enable_wuaueng
1409 enable_x3daudio1_0
1410 enable_x3daudio1_1
1411 enable_x3daudio1_2
1412 enable_x3daudio1_3
1413 enable_x3daudio1_4
1414 enable_x3daudio1_5
1415 enable_x3daudio1_6
1416 enable_x3daudio1_7
1417 enable_xapofx1_1
1418 enable_xapofx1_2
1419 enable_xapofx1_3
1420 enable_xapofx1_4
1421 enable_xapofx1_5
1422 enable_xaudio2_0
1423 enable_xaudio2_1
1424 enable_xaudio2_2
1425 enable_xaudio2_3
1426 enable_xaudio2_4
1427 enable_xaudio2_5
1428 enable_xaudio2_6
1429 enable_xaudio2_7
1430 enable_xaudio2_8
1431 enable_xaudio2_9
1432 enable_xinput1_1
1433 enable_xinput1_2
1434 enable_xinput1_3
1435 enable_xinput1_4
1436 enable_xinput9_1_0
1437 enable_xmllite
1438 enable_xolehlp
1439 enable_xpsprint
1440 enable_xpssvcs
1441 enable_fonts
1442 enable_include
1443 enable_libs_port
1444 enable_libs_wine
1445 enable_libs_wpp
1446 enable_loader
1447 enable_po
1448 enable_arp
1449 enable_aspnet_regiis
1450 enable_attrib
1451 enable_cabarc
1452 enable_cacls
1453 enable_clock
1454 enable_cmd
1455 enable_conhost
1456 enable_control
1457 enable_cscript
1458 enable_dpnsvr
1459 enable_dxdiag
1460 enable_eject
1461 enable_expand
1462 enable_explorer
1463 enable_extrac32
1464 enable_findstr
1465 enable_hh
1466 enable_hostname
1467 enable_icacls
1468 enable_icinfo
1469 enable_iexplore
1470 enable_ipconfig
1471 enable_lodctr
1472 enable_mofcomp
1473 enable_mshta
1474 enable_msiexec
1475 enable_net
1476 enable_netsh
1477 enable_netstat
1478 enable_ngen
1479 enable_notepad
1480 enable_oleview
1481 enable_ping
1482 enable_plugplay
1483 enable_presentationfontcache
1484 enable_progman
1485 enable_reg
1486 enable_regasm
1487 enable_regedit
1488 enable_regsvcs
1489 enable_regsvr32
1490 enable_rpcss
1491 enable_rundll32
1492 enable_sc
1493 enable_schtasks
1494 enable_sdbinst
1495 enable_secedit
1496 enable_servicemodelreg
1497 enable_services
1498 enable_shutdown
1499 enable_spoolsv
1500 enable_start
1501 enable_svchost
1502 enable_systeminfo
1503 enable_taskkill
1504 enable_tasklist
1505 enable_taskmgr
1506 enable_termsv
1507 enable_uninstaller
1508 enable_unlodctr
1509 enable_view
1510 enable_wevtutil
1511 enable_wineboot
1512 enable_winebrowser
1513 enable_winecfg
1514 enable_wineconsole
1515 enable_winedbg
1516 enable_winedevice
1517 enable_winefile
1518 enable_winemenubuilder
1519 enable_winemine
1520 enable_winemsibuilder
1521 enable_winepath
1522 enable_winetest
1523 enable_winhlp32
1524 enable_winver
1525 enable_wmic
1526 enable_wmplayer
1527 enable_wordpad
1528 enable_write
1529 enable_wscript
1530 enable_wusa
1531 enable_xcopy
1532 enable_server
1533 enable_tools
1535 ac_precious_vars='build_alias
1536 host_alias
1537 target_alias
1539 CFLAGS
1540 LDFLAGS
1541 LIBS
1542 CPPFLAGS
1544 CXXFLAGS
1547 XMKMF
1548 XML2_CFLAGS
1549 XML2_LIBS
1550 XSLT_CFLAGS
1551 XSLT_LIBS
1552 DBUS_CFLAGS
1553 DBUS_LIBS
1554 HAL_CFLAGS
1555 HAL_LIBS
1556 GNUTLS_CFLAGS
1557 GNUTLS_LIBS
1558 SANE_CFLAGS
1559 SANE_LIBS
1560 GPHOTO2_CFLAGS
1561 GPHOTO2_LIBS
1562 GPHOTO2_PORT_CFLAGS
1563 GPHOTO2_PORT_LIBS
1564 LCMS2_CFLAGS
1565 LCMS2_LIBS
1566 FREETYPE_CFLAGS
1567 FREETYPE_LIBS
1568 PULSE_CFLAGS
1569 PULSE_LIBS
1570 GSTREAMER_CFLAGS
1571 GSTREAMER_LIBS
1572 CAPI20_CFLAGS
1573 CAPI20_LIBS
1574 FONTCONFIG_CFLAGS
1575 FONTCONFIG_LIBS
1576 JPEG_CFLAGS
1577 JPEG_LIBS
1578 PNG_CFLAGS
1579 PNG_LIBS
1580 TIFF_CFLAGS
1581 TIFF_LIBS
1582 MPG123_CFLAGS
1583 MPG123_LIBS
1584 NETAPI_CFLAGS
1585 NETAPI_LIBS'
1588 # Initialize some variables set by options.
1589 ac_init_help=
1590 ac_init_version=false
1591 ac_unrecognized_opts=
1592 ac_unrecognized_sep=
1593 # The variables have the same names as the options, with
1594 # dashes changed to underlines.
1595 cache_file=/dev/null
1596 exec_prefix=NONE
1597 no_create=
1598 no_recursion=
1599 prefix=NONE
1600 program_prefix=NONE
1601 program_suffix=NONE
1602 program_transform_name=s,x,x,
1603 silent=
1604 site=
1605 srcdir=
1606 verbose=
1607 x_includes=NONE
1608 x_libraries=NONE
1610 # Installation directory options.
1611 # These are left unexpanded so users can "make install exec_prefix=/foo"
1612 # and all the variables that are supposed to be based on exec_prefix
1613 # by default will actually change.
1614 # Use braces instead of parens because sh, perl, etc. also accept them.
1615 # (The list follows the same order as the GNU Coding Standards.)
1616 bindir='${exec_prefix}/bin'
1617 sbindir='${exec_prefix}/sbin'
1618 libexecdir='${exec_prefix}/libexec'
1619 datarootdir='${prefix}/share'
1620 datadir='${datarootdir}'
1621 sysconfdir='${prefix}/etc'
1622 sharedstatedir='${prefix}/com'
1623 localstatedir='${prefix}/var'
1624 runstatedir='${localstatedir}/run'
1625 includedir='${prefix}/include'
1626 oldincludedir='/usr/include'
1627 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1628 infodir='${datarootdir}/info'
1629 htmldir='${docdir}'
1630 dvidir='${docdir}'
1631 pdfdir='${docdir}'
1632 psdir='${docdir}'
1633 libdir='${exec_prefix}/lib'
1634 localedir='${datarootdir}/locale'
1635 mandir='${datarootdir}/man'
1637 ac_prev=
1638 ac_dashdash=
1639 for ac_option
1641 # If the previous option needs an argument, assign it.
1642 if test -n "$ac_prev"; then
1643 eval $ac_prev=\$ac_option
1644 ac_prev=
1645 continue
1648 case $ac_option in
1649 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1650 *=) ac_optarg= ;;
1651 *) ac_optarg=yes ;;
1652 esac
1654 # Accept the important Cygnus configure options, so we can diagnose typos.
1656 case $ac_dashdash$ac_option in
1658 ac_dashdash=yes ;;
1660 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1661 ac_prev=bindir ;;
1662 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1663 bindir=$ac_optarg ;;
1665 -build | --build | --buil | --bui | --bu)
1666 ac_prev=build_alias ;;
1667 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1668 build_alias=$ac_optarg ;;
1670 -cache-file | --cache-file | --cache-fil | --cache-fi \
1671 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1672 ac_prev=cache_file ;;
1673 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1674 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1675 cache_file=$ac_optarg ;;
1677 --config-cache | -C)
1678 cache_file=config.cache ;;
1680 -datadir | --datadir | --datadi | --datad)
1681 ac_prev=datadir ;;
1682 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1683 datadir=$ac_optarg ;;
1685 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1686 | --dataroo | --dataro | --datar)
1687 ac_prev=datarootdir ;;
1688 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1689 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1690 datarootdir=$ac_optarg ;;
1692 -disable-* | --disable-*)
1693 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1694 # Reject names that are not valid shell variable names.
1695 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1696 as_fn_error $? "invalid feature name: $ac_useropt"
1697 ac_useropt_orig=$ac_useropt
1698 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1699 case $ac_user_opts in
1701 "enable_$ac_useropt"
1702 "*) ;;
1703 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1704 ac_unrecognized_sep=', ';;
1705 esac
1706 eval enable_$ac_useropt=no ;;
1708 -docdir | --docdir | --docdi | --doc | --do)
1709 ac_prev=docdir ;;
1710 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1711 docdir=$ac_optarg ;;
1713 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1714 ac_prev=dvidir ;;
1715 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1716 dvidir=$ac_optarg ;;
1718 -enable-* | --enable-*)
1719 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1720 # Reject names that are not valid shell variable names.
1721 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1722 as_fn_error $? "invalid feature name: $ac_useropt"
1723 ac_useropt_orig=$ac_useropt
1724 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1725 case $ac_user_opts in
1727 "enable_$ac_useropt"
1728 "*) ;;
1729 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1730 ac_unrecognized_sep=', ';;
1731 esac
1732 eval enable_$ac_useropt=\$ac_optarg ;;
1734 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1735 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1736 | --exec | --exe | --ex)
1737 ac_prev=exec_prefix ;;
1738 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1739 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1740 | --exec=* | --exe=* | --ex=*)
1741 exec_prefix=$ac_optarg ;;
1743 -gas | --gas | --ga | --g)
1744 # Obsolete; use --with-gas.
1745 with_gas=yes ;;
1747 -help | --help | --hel | --he | -h)
1748 ac_init_help=long ;;
1749 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1750 ac_init_help=recursive ;;
1751 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1752 ac_init_help=short ;;
1754 -host | --host | --hos | --ho)
1755 ac_prev=host_alias ;;
1756 -host=* | --host=* | --hos=* | --ho=*)
1757 host_alias=$ac_optarg ;;
1759 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1760 ac_prev=htmldir ;;
1761 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1762 | --ht=*)
1763 htmldir=$ac_optarg ;;
1765 -includedir | --includedir | --includedi | --included | --include \
1766 | --includ | --inclu | --incl | --inc)
1767 ac_prev=includedir ;;
1768 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1769 | --includ=* | --inclu=* | --incl=* | --inc=*)
1770 includedir=$ac_optarg ;;
1772 -infodir | --infodir | --infodi | --infod | --info | --inf)
1773 ac_prev=infodir ;;
1774 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1775 infodir=$ac_optarg ;;
1777 -libdir | --libdir | --libdi | --libd)
1778 ac_prev=libdir ;;
1779 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1780 libdir=$ac_optarg ;;
1782 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1783 | --libexe | --libex | --libe)
1784 ac_prev=libexecdir ;;
1785 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1786 | --libexe=* | --libex=* | --libe=*)
1787 libexecdir=$ac_optarg ;;
1789 -localedir | --localedir | --localedi | --localed | --locale)
1790 ac_prev=localedir ;;
1791 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1792 localedir=$ac_optarg ;;
1794 -localstatedir | --localstatedir | --localstatedi | --localstated \
1795 | --localstate | --localstat | --localsta | --localst | --locals)
1796 ac_prev=localstatedir ;;
1797 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1798 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1799 localstatedir=$ac_optarg ;;
1801 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1802 ac_prev=mandir ;;
1803 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1804 mandir=$ac_optarg ;;
1806 -nfp | --nfp | --nf)
1807 # Obsolete; use --without-fp.
1808 with_fp=no ;;
1810 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1811 | --no-cr | --no-c | -n)
1812 no_create=yes ;;
1814 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1815 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1816 no_recursion=yes ;;
1818 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1819 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1820 | --oldin | --oldi | --old | --ol | --o)
1821 ac_prev=oldincludedir ;;
1822 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1823 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1824 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1825 oldincludedir=$ac_optarg ;;
1827 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1828 ac_prev=prefix ;;
1829 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1830 prefix=$ac_optarg ;;
1832 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1833 | --program-pre | --program-pr | --program-p)
1834 ac_prev=program_prefix ;;
1835 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1836 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1837 program_prefix=$ac_optarg ;;
1839 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1840 | --program-suf | --program-su | --program-s)
1841 ac_prev=program_suffix ;;
1842 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1843 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1844 program_suffix=$ac_optarg ;;
1846 -program-transform-name | --program-transform-name \
1847 | --program-transform-nam | --program-transform-na \
1848 | --program-transform-n | --program-transform- \
1849 | --program-transform | --program-transfor \
1850 | --program-transfo | --program-transf \
1851 | --program-trans | --program-tran \
1852 | --progr-tra | --program-tr | --program-t)
1853 ac_prev=program_transform_name ;;
1854 -program-transform-name=* | --program-transform-name=* \
1855 | --program-transform-nam=* | --program-transform-na=* \
1856 | --program-transform-n=* | --program-transform-=* \
1857 | --program-transform=* | --program-transfor=* \
1858 | --program-transfo=* | --program-transf=* \
1859 | --program-trans=* | --program-tran=* \
1860 | --progr-tra=* | --program-tr=* | --program-t=*)
1861 program_transform_name=$ac_optarg ;;
1863 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1864 ac_prev=pdfdir ;;
1865 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1866 pdfdir=$ac_optarg ;;
1868 -psdir | --psdir | --psdi | --psd | --ps)
1869 ac_prev=psdir ;;
1870 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1871 psdir=$ac_optarg ;;
1873 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1874 | -silent | --silent | --silen | --sile | --sil)
1875 silent=yes ;;
1877 -runstatedir | --runstatedir | --runstatedi | --runstated \
1878 | --runstate | --runstat | --runsta | --runst | --runs \
1879 | --run | --ru | --r)
1880 ac_prev=runstatedir ;;
1881 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1882 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1883 | --run=* | --ru=* | --r=*)
1884 runstatedir=$ac_optarg ;;
1886 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1887 ac_prev=sbindir ;;
1888 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1889 | --sbi=* | --sb=*)
1890 sbindir=$ac_optarg ;;
1892 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1893 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1894 | --sharedst | --shareds | --shared | --share | --shar \
1895 | --sha | --sh)
1896 ac_prev=sharedstatedir ;;
1897 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1898 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1899 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1900 | --sha=* | --sh=*)
1901 sharedstatedir=$ac_optarg ;;
1903 -site | --site | --sit)
1904 ac_prev=site ;;
1905 -site=* | --site=* | --sit=*)
1906 site=$ac_optarg ;;
1908 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1909 ac_prev=srcdir ;;
1910 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1911 srcdir=$ac_optarg ;;
1913 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1914 | --syscon | --sysco | --sysc | --sys | --sy)
1915 ac_prev=sysconfdir ;;
1916 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1917 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1918 sysconfdir=$ac_optarg ;;
1920 -target | --target | --targe | --targ | --tar | --ta | --t)
1921 ac_prev=target_alias ;;
1922 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1923 target_alias=$ac_optarg ;;
1925 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1926 verbose=yes ;;
1928 -version | --version | --versio | --versi | --vers | -V)
1929 ac_init_version=: ;;
1931 -with-* | --with-*)
1932 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1933 # Reject names that are not valid shell variable names.
1934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1935 as_fn_error $? "invalid package name: $ac_useropt"
1936 ac_useropt_orig=$ac_useropt
1937 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1938 case $ac_user_opts in
1940 "with_$ac_useropt"
1941 "*) ;;
1942 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1943 ac_unrecognized_sep=', ';;
1944 esac
1945 eval with_$ac_useropt=\$ac_optarg ;;
1947 -without-* | --without-*)
1948 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1949 # Reject names that are not valid shell variable names.
1950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1951 as_fn_error $? "invalid package name: $ac_useropt"
1952 ac_useropt_orig=$ac_useropt
1953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1954 case $ac_user_opts in
1956 "with_$ac_useropt"
1957 "*) ;;
1958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1959 ac_unrecognized_sep=', ';;
1960 esac
1961 eval with_$ac_useropt=no ;;
1963 --x)
1964 # Obsolete; use --with-x.
1965 with_x=yes ;;
1967 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1968 | --x-incl | --x-inc | --x-in | --x-i)
1969 ac_prev=x_includes ;;
1970 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1971 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1972 x_includes=$ac_optarg ;;
1974 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1975 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1976 ac_prev=x_libraries ;;
1977 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1978 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1979 x_libraries=$ac_optarg ;;
1981 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1982 Try \`$0 --help' for more information"
1985 *=*)
1986 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1987 # Reject names that are not valid shell variable names.
1988 case $ac_envvar in #(
1989 '' | [0-9]* | *[!_$as_cr_alnum]* )
1990 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1991 esac
1992 eval $ac_envvar=\$ac_optarg
1993 export $ac_envvar ;;
1996 # FIXME: should be removed in autoconf 3.0.
1997 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1998 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1999 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2000 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2003 esac
2004 done
2006 if test -n "$ac_prev"; then
2007 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2008 as_fn_error $? "missing argument to $ac_option"
2011 if test -n "$ac_unrecognized_opts"; then
2012 case $enable_option_checking in
2013 no) ;;
2014 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2015 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2016 esac
2019 # Check all directory arguments for consistency.
2020 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2021 datadir sysconfdir sharedstatedir localstatedir includedir \
2022 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2023 libdir localedir mandir runstatedir
2025 eval ac_val=\$$ac_var
2026 # Remove trailing slashes.
2027 case $ac_val in
2028 */ )
2029 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2030 eval $ac_var=\$ac_val;;
2031 esac
2032 # Be sure to have absolute directory names.
2033 case $ac_val in
2034 [\\/$]* | ?:[\\/]* ) continue;;
2035 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2036 esac
2037 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2038 done
2040 # There might be people who depend on the old broken behavior: `$host'
2041 # used to hold the argument of --host etc.
2042 # FIXME: To remove some day.
2043 build=$build_alias
2044 host=$host_alias
2045 target=$target_alias
2047 # FIXME: To remove some day.
2048 if test "x$host_alias" != x; then
2049 if test "x$build_alias" = x; then
2050 cross_compiling=maybe
2051 elif test "x$build_alias" != "x$host_alias"; then
2052 cross_compiling=yes
2056 ac_tool_prefix=
2057 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2059 test "$silent" = yes && exec 6>/dev/null
2062 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2063 ac_ls_di=`ls -di .` &&
2064 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2065 as_fn_error $? "working directory cannot be determined"
2066 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2067 as_fn_error $? "pwd does not report name of working directory"
2070 # Find the source files, if location was not specified.
2071 if test -z "$srcdir"; then
2072 ac_srcdir_defaulted=yes
2073 # Try the directory containing this script, then the parent directory.
2074 ac_confdir=`$as_dirname -- "$as_myself" ||
2075 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2076 X"$as_myself" : 'X\(//\)[^/]' \| \
2077 X"$as_myself" : 'X\(//\)$' \| \
2078 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2079 $as_echo X"$as_myself" |
2080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2081 s//\1/
2084 /^X\(\/\/\)[^/].*/{
2085 s//\1/
2088 /^X\(\/\/\)$/{
2089 s//\1/
2092 /^X\(\/\).*/{
2093 s//\1/
2096 s/.*/./; q'`
2097 srcdir=$ac_confdir
2098 if test ! -r "$srcdir/$ac_unique_file"; then
2099 srcdir=..
2101 else
2102 ac_srcdir_defaulted=no
2104 if test ! -r "$srcdir/$ac_unique_file"; then
2105 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2106 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2108 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2109 ac_abs_confdir=`(
2110 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2111 pwd)`
2112 # When building in place, set srcdir=.
2113 if test "$ac_abs_confdir" = "$ac_pwd"; then
2114 srcdir=.
2116 # Remove unnecessary trailing slashes from srcdir.
2117 # Double slashes in file names in object file debugging info
2118 # mess up M-x gdb in Emacs.
2119 case $srcdir in
2120 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2121 esac
2122 for ac_var in $ac_precious_vars; do
2123 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2124 eval ac_env_${ac_var}_value=\$${ac_var}
2125 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2126 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2127 done
2130 # Report the --help message.
2132 if test "$ac_init_help" = "long"; then
2133 # Omit some internal or obsolete options to make the list less imposing.
2134 # This message is too long to be a string in the A/UX 3.1 sh.
2135 cat <<_ACEOF
2136 \`configure' configures Wine 1.9.6 to adapt to many kinds of systems.
2138 Usage: $0 [OPTION]... [VAR=VALUE]...
2140 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2141 VAR=VALUE. See below for descriptions of some of the useful variables.
2143 Defaults for the options are specified in brackets.
2145 Configuration:
2146 -h, --help display this help and exit
2147 --help=short display options specific to this package
2148 --help=recursive display the short help of all the included packages
2149 -V, --version display version information and exit
2150 -q, --quiet, --silent do not print \`checking ...' messages
2151 --cache-file=FILE cache test results in FILE [disabled]
2152 -C, --config-cache alias for \`--cache-file=config.cache'
2153 -n, --no-create do not create output files
2154 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2156 Installation directories:
2157 --prefix=PREFIX install architecture-independent files in PREFIX
2158 [$ac_default_prefix]
2159 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2160 [PREFIX]
2162 By default, \`make install' will install all the files in
2163 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2164 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2165 for instance \`--prefix=\$HOME'.
2167 For better control, use the options below.
2169 Fine tuning of the installation directories:
2170 --bindir=DIR user executables [EPREFIX/bin]
2171 --sbindir=DIR system admin executables [EPREFIX/sbin]
2172 --libexecdir=DIR program executables [EPREFIX/libexec]
2173 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2174 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2175 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2176 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2177 --libdir=DIR object code libraries [EPREFIX/lib]
2178 --includedir=DIR C header files [PREFIX/include]
2179 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2180 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2181 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2182 --infodir=DIR info documentation [DATAROOTDIR/info]
2183 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2184 --mandir=DIR man documentation [DATAROOTDIR/man]
2185 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2186 --htmldir=DIR html documentation [DOCDIR]
2187 --dvidir=DIR dvi documentation [DOCDIR]
2188 --pdfdir=DIR pdf documentation [DOCDIR]
2189 --psdir=DIR ps documentation [DOCDIR]
2190 _ACEOF
2192 cat <<\_ACEOF
2194 X features:
2195 --x-includes=DIR X include files are in DIR
2196 --x-libraries=DIR X library files are in DIR
2198 System types:
2199 --build=BUILD configure for building on BUILD [guessed]
2200 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2201 _ACEOF
2204 if test -n "$ac_init_help"; then
2205 case $ac_init_help in
2206 short | recursive ) echo "Configuration of Wine 1.9.6:";;
2207 esac
2208 cat <<\_ACEOF
2210 Optional Features:
2211 --disable-option-checking ignore unrecognized --enable/--with options
2212 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2213 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2214 --disable-win16 do not include Win16 support
2215 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2216 binaries)
2217 --disable-tests do not build the regression tests
2218 --enable-maintainer-mode
2219 enable maintainer-specific build rules
2220 --disable-largefile omit support for large files
2222 Optional Packages:
2223 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2224 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2225 --without-alsa do not use the Alsa sound support
2226 --without-capi do not use CAPI (ISDN support)
2227 --without-cms do not use CMS (color management support)
2228 --without-coreaudio do not use the CoreAudio sound support
2229 --without-cups do not use CUPS
2230 --without-curses do not use (n)curses
2231 --without-dbus do not use DBus (dynamic device support)
2232 --without-fontconfig do not use fontconfig
2233 --without-freetype do not use the FreeType library
2234 --without-gettext do not use gettext
2235 --with-gettextpo use the GetTextPO library to rebuild po files
2236 --without-gphoto do not use gphoto (Digital Camera support)
2237 --without-glu do not use the GLU library
2238 --without-gnutls do not use GnuTLS (schannel support)
2239 --without-gsm do not use libgsm (GSM 06.10 codec support)
2240 --without-gstreamer do not use GStreamer (codecs support)
2241 --without-hal do not use HAL (dynamic device support)
2242 --without-jpeg do not use JPEG
2243 --without-ldap do not use LDAP
2244 --without-mpg123 do not use the mpg123 library
2245 --without-netapi do not use the Samba NetAPI library
2246 --without-openal do not use OpenAL
2247 --without-opencl do not use OpenCL
2248 --without-opengl do not use OpenGL
2249 --without-osmesa do not use the OSMesa library
2250 --without-oss do not use the OSS sound support
2251 --without-pcap do not use the Packet Capture library
2252 --without-png do not use PNG
2253 --without-pthread do not use the pthread library
2254 --without-pulse do not use PulseAudio sound support
2255 --without-sane do not use SANE (scanner support)
2256 --without-tiff do not use TIFF
2257 --without-v4l do not use v4l1 (v4l support)
2258 --without-xcomposite do not use the Xcomposite extension
2259 --without-xcursor do not use the Xcursor extension
2260 --without-xinerama do not use Xinerama (multi-monitor support)
2261 --without-xinput do not use the Xinput extension
2262 --without-xinput2 do not use the Xinput 2 extension
2263 --without-xml do not use XML
2264 --without-xrandr do not use Xrandr (resolution changes)
2265 --without-xrender do not use the Xrender extension
2266 --without-xshape do not use the Xshape extension
2267 --without-xshm do not use XShm (shared memory extension)
2268 --without-xslt do not use XSLT
2269 --without-xxf86vm do not use XFree video mode extension
2270 --without-zlib do not use Zlib (data compression)
2271 --with-wine-tools=DIR use Wine tools from directory DIR
2272 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2273 --with-x use the X Window System
2275 Some influential environment variables:
2276 CC C compiler command
2277 CFLAGS C compiler flags
2278 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2279 nonstandard directory <lib dir>
2280 LIBS libraries to pass to the linker, e.g. -l<library>
2281 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2282 you have headers in a nonstandard directory <include dir>
2283 CXX C++ compiler command
2284 CXXFLAGS C++ compiler flags
2285 CPP C preprocessor
2286 XMKMF Path to xmkmf, Makefile generator for X Window System
2287 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2288 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2289 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2290 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2291 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2292 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2293 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2294 HAL_LIBS Linker flags for hal, overriding pkg-config
2295 GNUTLS_CFLAGS
2296 C compiler flags for gnutls, overriding pkg-config
2297 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2298 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2299 SANE_LIBS Linker flags for libsane, overriding pkg-config
2300 GPHOTO2_CFLAGS
2301 C compiler flags for libgphoto2, overriding pkg-config
2302 GPHOTO2_LIBS
2303 Linker flags for libgphoto2, overriding pkg-config
2304 GPHOTO2_PORT_CFLAGS
2305 C compiler flags for libgphoto2_port, overriding pkg-config
2306 GPHOTO2_PORT_LIBS
2307 Linker flags for libgphoto2_port, overriding pkg-config
2308 LCMS2_CFLAGS
2309 C compiler flags for lcms2, overriding pkg-config
2310 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2311 FREETYPE_CFLAGS
2312 C compiler flags for freetype2, overriding pkg-config
2313 FREETYPE_LIBS
2314 Linker flags for freetype2, overriding pkg-config
2315 PULSE_CFLAGS
2316 C compiler flags for libpulse, overriding pkg-config
2317 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2318 GSTREAMER_CFLAGS
2319 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2320 gstreamer-audio-1.0, overriding pkg-config
2321 GSTREAMER_LIBS
2322 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2323 gstreamer-audio-1.0, overriding pkg-config
2324 CAPI20_CFLAGS
2325 C compiler flags for capi20, overriding pkg-config
2326 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2327 FONTCONFIG_CFLAGS
2328 C compiler flags for fontconfig, overriding pkg-config
2329 FONTCONFIG_LIBS
2330 Linker flags for fontconfig, overriding pkg-config
2331 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2332 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2333 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2334 PNG_LIBS Linker flags for libpng, overriding pkg-config
2335 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2336 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2337 MPG123_CFLAGS
2338 C compiler flags for libmpg123, overriding pkg-config
2339 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2340 NETAPI_CFLAGS
2341 C compiler flags for netapi, overriding pkg-config
2342 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2344 Use these variables to override the choices made by `configure' or to help
2345 it to find libraries and programs with nonstandard names/locations.
2347 Report bugs to <wine-devel@winehq.org>.
2348 Wine home page: <http://www.winehq.org>.
2349 _ACEOF
2350 ac_status=$?
2353 if test "$ac_init_help" = "recursive"; then
2354 # If there are subdirs, report their specific --help.
2355 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2356 test -d "$ac_dir" ||
2357 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2358 continue
2359 ac_builddir=.
2361 case "$ac_dir" in
2362 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2364 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2365 # A ".." for each directory in $ac_dir_suffix.
2366 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2367 case $ac_top_builddir_sub in
2368 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2369 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2370 esac ;;
2371 esac
2372 ac_abs_top_builddir=$ac_pwd
2373 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2374 # for backward compatibility:
2375 ac_top_builddir=$ac_top_build_prefix
2377 case $srcdir in
2378 .) # We are building in place.
2379 ac_srcdir=.
2380 ac_top_srcdir=$ac_top_builddir_sub
2381 ac_abs_top_srcdir=$ac_pwd ;;
2382 [\\/]* | ?:[\\/]* ) # Absolute name.
2383 ac_srcdir=$srcdir$ac_dir_suffix;
2384 ac_top_srcdir=$srcdir
2385 ac_abs_top_srcdir=$srcdir ;;
2386 *) # Relative name.
2387 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2388 ac_top_srcdir=$ac_top_build_prefix$srcdir
2389 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2390 esac
2391 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2393 cd "$ac_dir" || { ac_status=$?; continue; }
2394 # Check for guested configure.
2395 if test -f "$ac_srcdir/configure.gnu"; then
2396 echo &&
2397 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2398 elif test -f "$ac_srcdir/configure"; then
2399 echo &&
2400 $SHELL "$ac_srcdir/configure" --help=recursive
2401 else
2402 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2403 fi || ac_status=$?
2404 cd "$ac_pwd" || { ac_status=$?; break; }
2405 done
2408 test -n "$ac_init_help" && exit $ac_status
2409 if $ac_init_version; then
2410 cat <<\_ACEOF
2411 Wine configure 1.9.6
2412 generated by GNU Autoconf 2.69
2414 Copyright (C) 2012 Free Software Foundation, Inc.
2415 This configure script is free software; the Free Software Foundation
2416 gives unlimited permission to copy, distribute and modify it.
2417 _ACEOF
2418 exit
2421 ## ------------------------ ##
2422 ## Autoconf initialization. ##
2423 ## ------------------------ ##
2425 # ac_fn_c_try_compile LINENO
2426 # --------------------------
2427 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2428 ac_fn_c_try_compile ()
2430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2431 rm -f conftest.$ac_objext
2432 if { { ac_try="$ac_compile"
2433 case "(($ac_try" in
2434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2435 *) ac_try_echo=$ac_try;;
2436 esac
2437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2438 $as_echo "$ac_try_echo"; } >&5
2439 (eval "$ac_compile") 2>conftest.err
2440 ac_status=$?
2441 if test -s conftest.err; then
2442 grep -v '^ *+' conftest.err >conftest.er1
2443 cat conftest.er1 >&5
2444 mv -f conftest.er1 conftest.err
2446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2447 test $ac_status = 0; } && {
2448 test -z "$ac_c_werror_flag" ||
2449 test ! -s conftest.err
2450 } && test -s conftest.$ac_objext; then :
2451 ac_retval=0
2452 else
2453 $as_echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.$ac_ext >&5
2456 ac_retval=1
2458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2459 as_fn_set_status $ac_retval
2461 } # ac_fn_c_try_compile
2463 # ac_fn_cxx_try_compile LINENO
2464 # ----------------------------
2465 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2466 ac_fn_cxx_try_compile ()
2468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2469 rm -f conftest.$ac_objext
2470 if { { ac_try="$ac_compile"
2471 case "(($ac_try" in
2472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2473 *) ac_try_echo=$ac_try;;
2474 esac
2475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2476 $as_echo "$ac_try_echo"; } >&5
2477 (eval "$ac_compile") 2>conftest.err
2478 ac_status=$?
2479 if test -s conftest.err; then
2480 grep -v '^ *+' conftest.err >conftest.er1
2481 cat conftest.er1 >&5
2482 mv -f conftest.er1 conftest.err
2484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2485 test $ac_status = 0; } && {
2486 test -z "$ac_cxx_werror_flag" ||
2487 test ! -s conftest.err
2488 } && test -s conftest.$ac_objext; then :
2489 ac_retval=0
2490 else
2491 $as_echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.$ac_ext >&5
2494 ac_retval=1
2496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2497 as_fn_set_status $ac_retval
2499 } # ac_fn_cxx_try_compile
2501 # ac_fn_c_try_link LINENO
2502 # -----------------------
2503 # Try to link conftest.$ac_ext, and return whether this succeeded.
2504 ac_fn_c_try_link ()
2506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2507 rm -f conftest.$ac_objext conftest$ac_exeext
2508 if { { ac_try="$ac_link"
2509 case "(($ac_try" in
2510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2512 esac
2513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2514 $as_echo "$ac_try_echo"; } >&5
2515 (eval "$ac_link") 2>conftest.err
2516 ac_status=$?
2517 if test -s conftest.err; then
2518 grep -v '^ *+' conftest.err >conftest.er1
2519 cat conftest.er1 >&5
2520 mv -f conftest.er1 conftest.err
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; } && {
2524 test -z "$ac_c_werror_flag" ||
2525 test ! -s conftest.err
2526 } && test -s conftest$ac_exeext && {
2527 test "$cross_compiling" = yes ||
2528 test -x conftest$ac_exeext
2529 }; then :
2530 ac_retval=0
2531 else
2532 $as_echo "$as_me: failed program was:" >&5
2533 sed 's/^/| /' conftest.$ac_ext >&5
2535 ac_retval=1
2537 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2538 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2539 # interfere with the next link command; also delete a directory that is
2540 # left behind by Apple's compiler. We do this before executing the actions.
2541 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2543 as_fn_set_status $ac_retval
2545 } # ac_fn_c_try_link
2547 # ac_fn_c_try_cpp LINENO
2548 # ----------------------
2549 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2550 ac_fn_c_try_cpp ()
2552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2553 if { { ac_try="$ac_cpp conftest.$ac_ext"
2554 case "(($ac_try" in
2555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2557 esac
2558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2559 $as_echo "$ac_try_echo"; } >&5
2560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2561 ac_status=$?
2562 if test -s conftest.err; then
2563 grep -v '^ *+' conftest.err >conftest.er1
2564 cat conftest.er1 >&5
2565 mv -f conftest.er1 conftest.err
2567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2568 test $ac_status = 0; } > conftest.i && {
2569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2570 test ! -s conftest.err
2571 }; then :
2572 ac_retval=0
2573 else
2574 $as_echo "$as_me: failed program was:" >&5
2575 sed 's/^/| /' conftest.$ac_ext >&5
2577 ac_retval=1
2579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2580 as_fn_set_status $ac_retval
2582 } # ac_fn_c_try_cpp
2584 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2585 # -------------------------------------------------------
2586 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2587 # the include files in INCLUDES and setting the cache variable VAR
2588 # accordingly.
2589 ac_fn_c_check_header_mongrel ()
2591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2592 if eval \${$3+:} false; then :
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2594 $as_echo_n "checking for $2... " >&6; }
2595 if eval \${$3+:} false; then :
2596 $as_echo_n "(cached) " >&6
2598 eval ac_res=\$$3
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2600 $as_echo "$ac_res" >&6; }
2601 else
2602 # Is the header compilable?
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2604 $as_echo_n "checking $2 usability... " >&6; }
2605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2606 /* end confdefs.h. */
2608 #include <$2>
2609 _ACEOF
2610 if ac_fn_c_try_compile "$LINENO"; then :
2611 ac_header_compiler=yes
2612 else
2613 ac_header_compiler=no
2615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2617 $as_echo "$ac_header_compiler" >&6; }
2619 # Is the header present?
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2621 $as_echo_n "checking $2 presence... " >&6; }
2622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2623 /* end confdefs.h. */
2624 #include <$2>
2625 _ACEOF
2626 if ac_fn_c_try_cpp "$LINENO"; then :
2627 ac_header_preproc=yes
2628 else
2629 ac_header_preproc=no
2631 rm -f conftest.err conftest.i conftest.$ac_ext
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2633 $as_echo "$ac_header_preproc" >&6; }
2635 # So? What about this header?
2636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2637 yes:no: )
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2639 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2641 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2643 no:yes:* )
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2645 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2647 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2649 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2651 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2653 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2654 ( $as_echo "## ------------------------------------ ##
2655 ## Report this to wine-devel@winehq.org ##
2656 ## ------------------------------------ ##"
2657 ) | sed "s/^/$as_me: WARNING: /" >&2
2659 esac
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2661 $as_echo_n "checking for $2... " >&6; }
2662 if eval \${$3+:} false; then :
2663 $as_echo_n "(cached) " >&6
2664 else
2665 eval "$3=\$ac_header_compiler"
2667 eval ac_res=\$$3
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2669 $as_echo "$ac_res" >&6; }
2671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2673 } # ac_fn_c_check_header_mongrel
2675 # ac_fn_c_try_run LINENO
2676 # ----------------------
2677 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2678 # that executables *can* be run.
2679 ac_fn_c_try_run ()
2681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2682 if { { ac_try="$ac_link"
2683 case "(($ac_try" in
2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;;
2686 esac
2687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2688 $as_echo "$ac_try_echo"; } >&5
2689 (eval "$ac_link") 2>&5
2690 ac_status=$?
2691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2693 { { case "(($ac_try" in
2694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2695 *) ac_try_echo=$ac_try;;
2696 esac
2697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2698 $as_echo "$ac_try_echo"; } >&5
2699 (eval "$ac_try") 2>&5
2700 ac_status=$?
2701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; }; }; then :
2703 ac_retval=0
2704 else
2705 $as_echo "$as_me: program exited with status $ac_status" >&5
2706 $as_echo "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.$ac_ext >&5
2709 ac_retval=$ac_status
2711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 as_fn_set_status $ac_retval
2715 } # ac_fn_c_try_run
2717 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2718 # -------------------------------------------------------
2719 # Tests whether HEADER exists and can be compiled using the include files in
2720 # INCLUDES, setting the cache variable VAR accordingly.
2721 ac_fn_c_check_header_compile ()
2723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2725 $as_echo_n "checking for $2... " >&6; }
2726 if eval \${$3+:} false; then :
2727 $as_echo_n "(cached) " >&6
2728 else
2729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2732 #include <$2>
2733 _ACEOF
2734 if ac_fn_c_try_compile "$LINENO"; then :
2735 eval "$3=yes"
2736 else
2737 eval "$3=no"
2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2741 eval ac_res=\$$3
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2743 $as_echo "$ac_res" >&6; }
2744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2746 } # ac_fn_c_check_header_compile
2748 # ac_fn_c_check_func LINENO FUNC VAR
2749 # ----------------------------------
2750 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2751 ac_fn_c_check_func ()
2753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2755 $as_echo_n "checking for $2... " >&6; }
2756 if eval \${$3+:} false; then :
2757 $as_echo_n "(cached) " >&6
2758 else
2759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2761 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2763 #define $2 innocuous_$2
2765 /* System header to define __stub macros and hopefully few prototypes,
2766 which can conflict with char $2 (); below.
2767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2768 <limits.h> exists even on freestanding compilers. */
2770 #ifdef __STDC__
2771 # include <limits.h>
2772 #else
2773 # include <assert.h>
2774 #endif
2776 #undef $2
2778 /* Override any GCC internal prototype to avoid an error.
2779 Use char because int might match the return type of a GCC
2780 builtin and then its argument prototype would still apply. */
2781 #ifdef __cplusplus
2782 extern "C"
2783 #endif
2784 char $2 ();
2785 /* The GNU C library defines this for functions which it implements
2786 to always fail with ENOSYS. Some functions are actually named
2787 something starting with __ and the normal name is an alias. */
2788 #if defined __stub_$2 || defined __stub___$2
2789 choke me
2790 #endif
2793 main ()
2795 return $2 ();
2797 return 0;
2799 _ACEOF
2800 if ac_fn_c_try_link "$LINENO"; then :
2801 eval "$3=yes"
2802 else
2803 eval "$3=no"
2805 rm -f core conftest.err conftest.$ac_objext \
2806 conftest$ac_exeext conftest.$ac_ext
2808 eval ac_res=\$$3
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2810 $as_echo "$ac_res" >&6; }
2811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2813 } # ac_fn_c_check_func
2815 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2816 # ----------------------------------------------------
2817 # Tries to find if the field MEMBER exists in type AGGR, after including
2818 # INCLUDES, setting cache variable VAR accordingly.
2819 ac_fn_c_check_member ()
2821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2823 $as_echo_n "checking for $2.$3... " >&6; }
2824 if eval \${$4+:} false; then :
2825 $as_echo_n "(cached) " >&6
2826 else
2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828 /* end confdefs.h. */
2831 main ()
2833 static $2 ac_aggr;
2834 if (ac_aggr.$3)
2835 return 0;
2837 return 0;
2839 _ACEOF
2840 if ac_fn_c_try_compile "$LINENO"; then :
2841 eval "$4=yes"
2842 else
2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 /* end confdefs.h. */
2847 main ()
2849 static $2 ac_aggr;
2850 if (sizeof ac_aggr.$3)
2851 return 0;
2853 return 0;
2855 _ACEOF
2856 if ac_fn_c_try_compile "$LINENO"; then :
2857 eval "$4=yes"
2858 else
2859 eval "$4=no"
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 eval ac_res=\$$4
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2867 $as_echo "$ac_res" >&6; }
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2870 } # ac_fn_c_check_member
2872 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2873 # -------------------------------------------
2874 # Tests whether TYPE exists after having included INCLUDES, setting cache
2875 # variable VAR accordingly.
2876 ac_fn_c_check_type ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2880 $as_echo_n "checking for $2... " >&6; }
2881 if eval \${$3+:} false; then :
2882 $as_echo_n "(cached) " >&6
2883 else
2884 eval "$3=no"
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2889 main ()
2891 if (sizeof ($2))
2892 return 0;
2894 return 0;
2896 _ACEOF
2897 if ac_fn_c_try_compile "$LINENO"; then :
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2902 main ()
2904 if (sizeof (($2)))
2905 return 0;
2907 return 0;
2909 _ACEOF
2910 if ac_fn_c_try_compile "$LINENO"; then :
2912 else
2913 eval "$3=yes"
2915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2919 eval ac_res=\$$3
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2921 $as_echo "$ac_res" >&6; }
2922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2924 } # ac_fn_c_check_type
2925 cat >config.log <<_ACEOF
2926 This file contains any messages produced by compilers while
2927 running configure, to aid debugging if configure makes a mistake.
2929 It was created by Wine $as_me 1.9.6, which was
2930 generated by GNU Autoconf 2.69. Invocation command line was
2932 $ $0 $@
2934 _ACEOF
2935 exec 5>>config.log
2937 cat <<_ASUNAME
2938 ## --------- ##
2939 ## Platform. ##
2940 ## --------- ##
2942 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2943 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2944 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2945 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2946 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2948 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2949 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2951 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2952 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2953 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2954 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2955 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2956 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2957 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2959 _ASUNAME
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 for as_dir in $PATH
2964 IFS=$as_save_IFS
2965 test -z "$as_dir" && as_dir=.
2966 $as_echo "PATH: $as_dir"
2967 done
2968 IFS=$as_save_IFS
2970 } >&5
2972 cat >&5 <<_ACEOF
2975 ## ----------- ##
2976 ## Core tests. ##
2977 ## ----------- ##
2979 _ACEOF
2982 # Keep a trace of the command line.
2983 # Strip out --no-create and --no-recursion so they do not pile up.
2984 # Strip out --silent because we don't want to record it for future runs.
2985 # Also quote any args containing shell meta-characters.
2986 # Make two passes to allow for proper duplicate-argument suppression.
2987 ac_configure_args=
2988 ac_configure_args0=
2989 ac_configure_args1=
2990 ac_must_keep_next=false
2991 for ac_pass in 1 2
2993 for ac_arg
2995 case $ac_arg in
2996 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2997 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2998 | -silent | --silent | --silen | --sile | --sil)
2999 continue ;;
3000 *\'*)
3001 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3002 esac
3003 case $ac_pass in
3004 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3006 as_fn_append ac_configure_args1 " '$ac_arg'"
3007 if test $ac_must_keep_next = true; then
3008 ac_must_keep_next=false # Got value, back to normal.
3009 else
3010 case $ac_arg in
3011 *=* | --config-cache | -C | -disable-* | --disable-* \
3012 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3013 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3014 | -with-* | --with-* | -without-* | --without-* | --x)
3015 case "$ac_configure_args0 " in
3016 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3017 esac
3019 -* ) ac_must_keep_next=true ;;
3020 esac
3022 as_fn_append ac_configure_args " '$ac_arg'"
3024 esac
3025 done
3026 done
3027 { ac_configure_args0=; unset ac_configure_args0;}
3028 { ac_configure_args1=; unset ac_configure_args1;}
3030 # When interrupted or exit'd, cleanup temporary files, and complete
3031 # config.log. We remove comments because anyway the quotes in there
3032 # would cause problems or look ugly.
3033 # WARNING: Use '\'' to represent an apostrophe within the trap.
3034 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3035 trap 'exit_status=$?
3036 # Save into config.log some information that might help in debugging.
3038 echo
3040 $as_echo "## ---------------- ##
3041 ## Cache variables. ##
3042 ## ---------------- ##"
3043 echo
3044 # The following way of writing the cache mishandles newlines in values,
3046 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3047 eval ac_val=\$$ac_var
3048 case $ac_val in #(
3049 *${as_nl}*)
3050 case $ac_var in #(
3051 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3052 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3053 esac
3054 case $ac_var in #(
3055 _ | IFS | as_nl) ;; #(
3056 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3057 *) { eval $ac_var=; unset $ac_var;} ;;
3058 esac ;;
3059 esac
3060 done
3061 (set) 2>&1 |
3062 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3063 *${as_nl}ac_space=\ *)
3064 sed -n \
3065 "s/'\''/'\''\\\\'\'''\''/g;
3066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3067 ;; #(
3069 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3071 esac |
3072 sort
3074 echo
3076 $as_echo "## ----------------- ##
3077 ## Output variables. ##
3078 ## ----------------- ##"
3079 echo
3080 for ac_var in $ac_subst_vars
3082 eval ac_val=\$$ac_var
3083 case $ac_val in
3084 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3085 esac
3086 $as_echo "$ac_var='\''$ac_val'\''"
3087 done | sort
3088 echo
3090 if test -n "$ac_subst_files"; then
3091 $as_echo "## ------------------- ##
3092 ## File substitutions. ##
3093 ## ------------------- ##"
3094 echo
3095 for ac_var in $ac_subst_files
3097 eval ac_val=\$$ac_var
3098 case $ac_val in
3099 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3100 esac
3101 $as_echo "$ac_var='\''$ac_val'\''"
3102 done | sort
3103 echo
3106 if test -s confdefs.h; then
3107 $as_echo "## ----------- ##
3108 ## confdefs.h. ##
3109 ## ----------- ##"
3110 echo
3111 cat confdefs.h
3112 echo
3114 test "$ac_signal" != 0 &&
3115 $as_echo "$as_me: caught signal $ac_signal"
3116 $as_echo "$as_me: exit $exit_status"
3117 } >&5
3118 rm -f core *.core core.conftest.* &&
3119 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3120 exit $exit_status
3122 for ac_signal in 1 2 13 15; do
3123 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3124 done
3125 ac_signal=0
3127 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3128 rm -f -r conftest* confdefs.h
3130 $as_echo "/* confdefs.h */" > confdefs.h
3132 # Predefined preprocessor variables.
3134 cat >>confdefs.h <<_ACEOF
3135 #define PACKAGE_NAME "$PACKAGE_NAME"
3136 _ACEOF
3138 cat >>confdefs.h <<_ACEOF
3139 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3140 _ACEOF
3142 cat >>confdefs.h <<_ACEOF
3143 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3144 _ACEOF
3146 cat >>confdefs.h <<_ACEOF
3147 #define PACKAGE_STRING "$PACKAGE_STRING"
3148 _ACEOF
3150 cat >>confdefs.h <<_ACEOF
3151 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3152 _ACEOF
3154 cat >>confdefs.h <<_ACEOF
3155 #define PACKAGE_URL "$PACKAGE_URL"
3156 _ACEOF
3159 # Let the site file select an alternate cache file if it wants to.
3160 # Prefer an explicitly selected file to automatically selected ones.
3161 ac_site_file1=NONE
3162 ac_site_file2=NONE
3163 if test -n "$CONFIG_SITE"; then
3164 # We do not want a PATH search for config.site.
3165 case $CONFIG_SITE in #((
3166 -*) ac_site_file1=./$CONFIG_SITE;;
3167 */*) ac_site_file1=$CONFIG_SITE;;
3168 *) ac_site_file1=./$CONFIG_SITE;;
3169 esac
3170 elif test "x$prefix" != xNONE; then
3171 ac_site_file1=$prefix/share/config.site
3172 ac_site_file2=$prefix/etc/config.site
3173 else
3174 ac_site_file1=$ac_default_prefix/share/config.site
3175 ac_site_file2=$ac_default_prefix/etc/config.site
3177 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3179 test "x$ac_site_file" = xNONE && continue
3180 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3182 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3183 sed 's/^/| /' "$ac_site_file" >&5
3184 . "$ac_site_file" \
3185 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187 as_fn_error $? "failed to load site script $ac_site_file
3188 See \`config.log' for more details" "$LINENO" 5; }
3190 done
3192 if test -r "$cache_file"; then
3193 # Some versions of bash will fail to source /dev/null (special files
3194 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3195 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3197 $as_echo "$as_me: loading cache $cache_file" >&6;}
3198 case $cache_file in
3199 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3200 *) . "./$cache_file";;
3201 esac
3203 else
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3205 $as_echo "$as_me: creating cache $cache_file" >&6;}
3206 >$cache_file
3209 # Check that the precious variables saved in the cache have kept the same
3210 # value.
3211 ac_cache_corrupted=false
3212 for ac_var in $ac_precious_vars; do
3213 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3214 eval ac_new_set=\$ac_env_${ac_var}_set
3215 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3216 eval ac_new_val=\$ac_env_${ac_var}_value
3217 case $ac_old_set,$ac_new_set in
3218 set,)
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3220 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3221 ac_cache_corrupted=: ;;
3222 ,set)
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3224 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3225 ac_cache_corrupted=: ;;
3226 ,);;
3228 if test "x$ac_old_val" != "x$ac_new_val"; then
3229 # differences in whitespace do not lead to failure.
3230 ac_old_val_w=`echo x $ac_old_val`
3231 ac_new_val_w=`echo x $ac_new_val`
3232 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3234 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3235 ac_cache_corrupted=:
3236 else
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3238 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3239 eval $ac_var=\$ac_old_val
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3242 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3244 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3245 fi;;
3246 esac
3247 # Pass precious variables to config.status.
3248 if test "$ac_new_set" = set; then
3249 case $ac_new_val in
3250 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3251 *) ac_arg=$ac_var=$ac_new_val ;;
3252 esac
3253 case " $ac_configure_args " in
3254 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3255 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3256 esac
3258 done
3259 if $ac_cache_corrupted; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3263 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3264 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3266 ## -------------------- ##
3267 ## Main body of script. ##
3268 ## -------------------- ##
3270 ac_ext=c
3271 ac_cpp='$CPP $CPPFLAGS'
3272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3278 ac_config_headers="$ac_config_headers include/config.h"
3280 ac_aux_dir=
3281 for ac_dir in tools "$srcdir"/tools; do
3282 if test -f "$ac_dir/install-sh"; then
3283 ac_aux_dir=$ac_dir
3284 ac_install_sh="$ac_aux_dir/install-sh -c"
3285 break
3286 elif test -f "$ac_dir/install.sh"; then
3287 ac_aux_dir=$ac_dir
3288 ac_install_sh="$ac_aux_dir/install.sh -c"
3289 break
3290 elif test -f "$ac_dir/shtool"; then
3291 ac_aux_dir=$ac_dir
3292 ac_install_sh="$ac_aux_dir/shtool install -c"
3293 break
3295 done
3296 if test -z "$ac_aux_dir"; then
3297 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3300 # These three variables are undocumented and unsupported,
3301 # and are intended to be withdrawn in a future Autoconf release.
3302 # They can cause serious problems if a builder's source tree is in a directory
3303 # whose full name contains unusual characters.
3304 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3305 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3306 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3310 libwine_version="1.0"
3314 # Check whether --enable-win16 was given.
3315 if test "${enable_win16+set}" = set; then :
3316 enableval=$enable_win16;
3319 # Check whether --enable-win64 was given.
3320 if test "${enable_win64+set}" = set; then :
3321 enableval=$enable_win64;
3324 # Check whether --enable-tests was given.
3325 if test "${enable_tests+set}" = set; then :
3326 enableval=$enable_tests;
3329 # Check whether --enable-maintainer-mode was given.
3330 if test "${enable_maintainer_mode+set}" = set; then :
3331 enableval=$enable_maintainer_mode;
3336 # Check whether --with-alsa was given.
3337 if test "${with_alsa+set}" = set; then :
3338 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3342 # Check whether --with-capi was given.
3343 if test "${with_capi+set}" = set; then :
3344 withval=$with_capi;
3348 # Check whether --with-cms was given.
3349 if test "${with_cms+set}" = set; then :
3350 withval=$with_cms;
3354 # Check whether --with-coreaudio was given.
3355 if test "${with_coreaudio+set}" = set; then :
3356 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3360 # Check whether --with-cups was given.
3361 if test "${with_cups+set}" = set; then :
3362 withval=$with_cups;
3366 # Check whether --with-curses was given.
3367 if test "${with_curses+set}" = set; then :
3368 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3372 # Check whether --with-dbus was given.
3373 if test "${with_dbus+set}" = set; then :
3374 withval=$with_dbus;
3378 # Check whether --with-fontconfig was given.
3379 if test "${with_fontconfig+set}" = set; then :
3380 withval=$with_fontconfig;
3384 # Check whether --with-freetype was given.
3385 if test "${with_freetype+set}" = set; then :
3386 withval=$with_freetype;
3390 # Check whether --with-gettext was given.
3391 if test "${with_gettext+set}" = set; then :
3392 withval=$with_gettext;
3396 # Check whether --with-gettextpo was given.
3397 if test "${with_gettextpo+set}" = set; then :
3398 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3402 # Check whether --with-gphoto was given.
3403 if test "${with_gphoto+set}" = set; then :
3404 withval=$with_gphoto;
3408 # Check whether --with-glu was given.
3409 if test "${with_glu+set}" = set; then :
3410 withval=$with_glu;
3414 # Check whether --with-gnutls was given.
3415 if test "${with_gnutls+set}" = set; then :
3416 withval=$with_gnutls;
3420 # Check whether --with-gsm was given.
3421 if test "${with_gsm+set}" = set; then :
3422 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3426 # Check whether --with-gstreamer was given.
3427 if test "${with_gstreamer+set}" = set; then :
3428 withval=$with_gstreamer;
3432 # Check whether --with-hal was given.
3433 if test "${with_hal+set}" = set; then :
3434 withval=$with_hal;
3438 # Check whether --with-jpeg was given.
3439 if test "${with_jpeg+set}" = set; then :
3440 withval=$with_jpeg;
3444 # Check whether --with-ldap was given.
3445 if test "${with_ldap+set}" = set; then :
3446 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3450 # Check whether --with-mpg123 was given.
3451 if test "${with_mpg123+set}" = set; then :
3452 withval=$with_mpg123;
3456 # Check whether --with-netapi was given.
3457 if test "${with_netapi+set}" = set; then :
3458 withval=$with_netapi;
3462 # Check whether --with-openal was given.
3463 if test "${with_openal+set}" = set; then :
3464 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3468 # Check whether --with-opencl was given.
3469 if test "${with_opencl+set}" = set; then :
3470 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3474 # Check whether --with-opengl was given.
3475 if test "${with_opengl+set}" = set; then :
3476 withval=$with_opengl;
3480 # Check whether --with-osmesa was given.
3481 if test "${with_osmesa+set}" = set; then :
3482 withval=$with_osmesa;
3486 # Check whether --with-oss was given.
3487 if test "${with_oss+set}" = set; then :
3488 withval=$with_oss;
3492 # Check whether --with-pcap was given.
3493 if test "${with_pcap+set}" = set; then :
3494 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3498 # Check whether --with-png was given.
3499 if test "${with_png+set}" = set; then :
3500 withval=$with_png;
3504 # Check whether --with-pthread was given.
3505 if test "${with_pthread+set}" = set; then :
3506 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3510 # Check whether --with-pulse was given.
3511 if test "${with_pulse+set}" = set; then :
3512 withval=$with_pulse;
3516 # Check whether --with-sane was given.
3517 if test "${with_sane+set}" = set; then :
3518 withval=$with_sane;
3522 # Check whether --with-tiff was given.
3523 if test "${with_tiff+set}" = set; then :
3524 withval=$with_tiff;
3528 # Check whether --with-v4l was given.
3529 if test "${with_v4l+set}" = set; then :
3530 withval=$with_v4l;
3534 # Check whether --with-xcomposite was given.
3535 if test "${with_xcomposite+set}" = set; then :
3536 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3540 # Check whether --with-xcursor was given.
3541 if test "${with_xcursor+set}" = set; then :
3542 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3546 # Check whether --with-xinerama was given.
3547 if test "${with_xinerama+set}" = set; then :
3548 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3552 # Check whether --with-xinput was given.
3553 if test "${with_xinput+set}" = set; then :
3554 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3558 # Check whether --with-xinput2 was given.
3559 if test "${with_xinput2+set}" = set; then :
3560 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3564 # Check whether --with-xml was given.
3565 if test "${with_xml+set}" = set; then :
3566 withval=$with_xml;
3570 # Check whether --with-xrandr was given.
3571 if test "${with_xrandr+set}" = set; then :
3572 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3576 # Check whether --with-xrender was given.
3577 if test "${with_xrender+set}" = set; then :
3578 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3582 # Check whether --with-xshape was given.
3583 if test "${with_xshape+set}" = set; then :
3584 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3588 # Check whether --with-xshm was given.
3589 if test "${with_xshm+set}" = set; then :
3590 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3594 # Check whether --with-xslt was given.
3595 if test "${with_xslt+set}" = set; then :
3596 withval=$with_xslt;
3600 # Check whether --with-xxf86vm was given.
3601 if test "${with_xxf86vm+set}" = set; then :
3602 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
3606 # Check whether --with-zlib was given.
3607 if test "${with_zlib+set}" = set; then :
3608 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3613 # Check whether --with-wine-tools was given.
3614 if test "${with_wine_tools+set}" = set; then :
3615 withval=$with_wine_tools;
3619 # Check whether --with-wine64 was given.
3620 if test "${with_wine64+set}" = set; then :
3621 withval=$with_wine64;
3625 # Make sure we can run config.sub.
3626 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3627 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3630 $as_echo_n "checking build system type... " >&6; }
3631 if ${ac_cv_build+:} false; then :
3632 $as_echo_n "(cached) " >&6
3633 else
3634 ac_build_alias=$build_alias
3635 test "x$ac_build_alias" = x &&
3636 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3637 test "x$ac_build_alias" = x &&
3638 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3639 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3640 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3644 $as_echo "$ac_cv_build" >&6; }
3645 case $ac_cv_build in
3646 *-*-*) ;;
3647 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3648 esac
3649 build=$ac_cv_build
3650 ac_save_IFS=$IFS; IFS='-'
3651 set x $ac_cv_build
3652 shift
3653 build_cpu=$1
3654 build_vendor=$2
3655 shift; shift
3656 # Remember, the first character of IFS is used to create $*,
3657 # except with old shells:
3658 build_os=$*
3659 IFS=$ac_save_IFS
3660 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3664 $as_echo_n "checking host system type... " >&6; }
3665 if ${ac_cv_host+:} false; then :
3666 $as_echo_n "(cached) " >&6
3667 else
3668 if test "x$host_alias" = x; then
3669 ac_cv_host=$ac_cv_build
3670 else
3671 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3672 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3677 $as_echo "$ac_cv_host" >&6; }
3678 case $ac_cv_host in
3679 *-*-*) ;;
3680 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3681 esac
3682 host=$ac_cv_host
3683 ac_save_IFS=$IFS; IFS='-'
3684 set x $ac_cv_host
3685 shift
3686 host_cpu=$1
3687 host_vendor=$2
3688 shift; shift
3689 # Remember, the first character of IFS is used to create $*,
3690 # except with old shells:
3691 host_os=$*
3692 IFS=$ac_save_IFS
3693 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3697 case "$srcdir" in
3698 .) ;;
3699 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3700 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3701 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3702 fi ;;
3703 esac
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3707 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3708 set x ${MAKE-make}
3709 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3710 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3711 $as_echo_n "(cached) " >&6
3712 else
3713 cat >conftest.make <<\_ACEOF
3714 SHELL = /bin/sh
3715 all:
3716 @echo '@@@%%%=$(MAKE)=@@@%%%'
3717 _ACEOF
3718 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3719 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3720 *@@@%%%=?*=@@@%%%*)
3721 eval ac_cv_prog_make_${ac_make}_set=yes;;
3723 eval ac_cv_prog_make_${ac_make}_set=no;;
3724 esac
3725 rm -f conftest.make
3727 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3729 $as_echo "yes" >&6; }
3730 SET_MAKE=
3731 else
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3734 SET_MAKE="MAKE=${MAKE-make}"
3737 ac_ext=c
3738 ac_cpp='$CPP $CPPFLAGS'
3739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3742 if test -n "$ac_tool_prefix"; then
3743 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3744 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if ${ac_cv_prog_CC+:} false; then :
3748 $as_echo_n "(cached) " >&6
3749 else
3750 if test -n "$CC"; then
3751 ac_cv_prog_CC="$CC" # Let the user override the test.
3752 else
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 for as_dir in $PATH
3756 IFS=$as_save_IFS
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3760 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 break 2
3764 done
3765 done
3766 IFS=$as_save_IFS
3770 CC=$ac_cv_prog_CC
3771 if test -n "$CC"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3773 $as_echo "$CC" >&6; }
3774 else
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3781 if test -z "$ac_cv_prog_CC"; then
3782 ac_ct_CC=$CC
3783 # Extract the first word of "gcc", so it can be a program name with args.
3784 set dummy gcc; ac_word=$2
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3786 $as_echo_n "checking for $ac_word... " >&6; }
3787 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3788 $as_echo_n "(cached) " >&6
3789 else
3790 if test -n "$ac_ct_CC"; then
3791 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3792 else
3793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3794 for as_dir in $PATH
3796 IFS=$as_save_IFS
3797 test -z "$as_dir" && as_dir=.
3798 for ac_exec_ext in '' $ac_executable_extensions; do
3799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3800 ac_cv_prog_ac_ct_CC="gcc"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 break 2
3804 done
3805 done
3806 IFS=$as_save_IFS
3810 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3811 if test -n "$ac_ct_CC"; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3813 $as_echo "$ac_ct_CC" >&6; }
3814 else
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 $as_echo "no" >&6; }
3819 if test "x$ac_ct_CC" = x; then
3820 CC=""
3821 else
3822 case $cross_compiling:$ac_tool_warned in
3823 yes:)
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3826 ac_tool_warned=yes ;;
3827 esac
3828 CC=$ac_ct_CC
3830 else
3831 CC="$ac_cv_prog_CC"
3834 if test -z "$CC"; then
3835 if test -n "$ac_tool_prefix"; then
3836 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3837 set dummy ${ac_tool_prefix}cc; ac_word=$2
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3839 $as_echo_n "checking for $ac_word... " >&6; }
3840 if ${ac_cv_prog_CC+:} false; then :
3841 $as_echo_n "(cached) " >&6
3842 else
3843 if test -n "$CC"; then
3844 ac_cv_prog_CC="$CC" # Let the user override the test.
3845 else
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH
3849 IFS=$as_save_IFS
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3853 ac_cv_prog_CC="${ac_tool_prefix}cc"
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 break 2
3857 done
3858 done
3859 IFS=$as_save_IFS
3863 CC=$ac_cv_prog_CC
3864 if test -n "$CC"; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3866 $as_echo "$CC" >&6; }
3867 else
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869 $as_echo "no" >&6; }
3875 if test -z "$CC"; then
3876 # Extract the first word of "cc", so it can be a program name with args.
3877 set dummy cc; ac_word=$2
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3879 $as_echo_n "checking for $ac_word... " >&6; }
3880 if ${ac_cv_prog_CC+:} false; then :
3881 $as_echo_n "(cached) " >&6
3882 else
3883 if test -n "$CC"; then
3884 ac_cv_prog_CC="$CC" # Let the user override the test.
3885 else
3886 ac_prog_rejected=no
3887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3888 for as_dir in $PATH
3890 IFS=$as_save_IFS
3891 test -z "$as_dir" && as_dir=.
3892 for ac_exec_ext in '' $ac_executable_extensions; do
3893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3894 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3895 ac_prog_rejected=yes
3896 continue
3898 ac_cv_prog_CC="cc"
3899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 break 2
3902 done
3903 done
3904 IFS=$as_save_IFS
3906 if test $ac_prog_rejected = yes; then
3907 # We found a bogon in the path, so make sure we never use it.
3908 set dummy $ac_cv_prog_CC
3909 shift
3910 if test $# != 0; then
3911 # We chose a different compiler from the bogus one.
3912 # However, it has the same basename, so the bogon will be chosen
3913 # first if we set CC to just the basename; use the full file name.
3914 shift
3915 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3920 CC=$ac_cv_prog_CC
3921 if test -n "$CC"; then
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3923 $as_echo "$CC" >&6; }
3924 else
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3926 $as_echo "no" >&6; }
3931 if test -z "$CC"; then
3932 if test -n "$ac_tool_prefix"; then
3933 for ac_prog in cl.exe
3935 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3936 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3938 $as_echo_n "checking for $ac_word... " >&6; }
3939 if ${ac_cv_prog_CC+:} false; then :
3940 $as_echo_n "(cached) " >&6
3941 else
3942 if test -n "$CC"; then
3943 ac_cv_prog_CC="$CC" # Let the user override the test.
3944 else
3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946 for as_dir in $PATH
3948 IFS=$as_save_IFS
3949 test -z "$as_dir" && as_dir=.
3950 for ac_exec_ext in '' $ac_executable_extensions; do
3951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3952 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3954 break 2
3956 done
3957 done
3958 IFS=$as_save_IFS
3962 CC=$ac_cv_prog_CC
3963 if test -n "$CC"; then
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3965 $as_echo "$CC" >&6; }
3966 else
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3968 $as_echo "no" >&6; }
3972 test -n "$CC" && break
3973 done
3975 if test -z "$CC"; then
3976 ac_ct_CC=$CC
3977 for ac_prog in cl.exe
3979 # Extract the first word of "$ac_prog", so it can be a program name with args.
3980 set dummy $ac_prog; ac_word=$2
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3982 $as_echo_n "checking for $ac_word... " >&6; }
3983 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3984 $as_echo_n "(cached) " >&6
3985 else
3986 if test -n "$ac_ct_CC"; then
3987 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3988 else
3989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3990 for as_dir in $PATH
3992 IFS=$as_save_IFS
3993 test -z "$as_dir" && as_dir=.
3994 for ac_exec_ext in '' $ac_executable_extensions; do
3995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3996 ac_cv_prog_ac_ct_CC="$ac_prog"
3997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 break 2
4000 done
4001 done
4002 IFS=$as_save_IFS
4006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4007 if test -n "$ac_ct_CC"; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4009 $as_echo "$ac_ct_CC" >&6; }
4010 else
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 $as_echo "no" >&6; }
4016 test -n "$ac_ct_CC" && break
4017 done
4019 if test "x$ac_ct_CC" = x; then
4020 CC=""
4021 else
4022 case $cross_compiling:$ac_tool_warned in
4023 yes:)
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4026 ac_tool_warned=yes ;;
4027 esac
4028 CC=$ac_ct_CC
4035 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4037 as_fn_error $? "no acceptable C compiler found in \$PATH
4038 See \`config.log' for more details" "$LINENO" 5; }
4040 # Provide some information about the compiler.
4041 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4042 set X $ac_compile
4043 ac_compiler=$2
4044 for ac_option in --version -v -V -qversion; do
4045 { { ac_try="$ac_compiler $ac_option >&5"
4046 case "(($ac_try" in
4047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4049 esac
4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4053 ac_status=$?
4054 if test -s conftest.err; then
4055 sed '10a\
4056 ... rest of stderr output deleted ...
4057 10q' conftest.err >conftest.er1
4058 cat conftest.er1 >&5
4060 rm -f conftest.er1 conftest.err
4061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4062 test $ac_status = 0; }
4063 done
4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4069 main ()
4073 return 0;
4075 _ACEOF
4076 ac_clean_files_save=$ac_clean_files
4077 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4078 # Try to create an executable without -o first, disregard a.out.
4079 # It will help us diagnose broken compilers, and finding out an intuition
4080 # of exeext.
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4082 $as_echo_n "checking whether the C compiler works... " >&6; }
4083 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4085 # The possible output files:
4086 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4088 ac_rmfiles=
4089 for ac_file in $ac_files
4091 case $ac_file in
4092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4093 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4094 esac
4095 done
4096 rm -f $ac_rmfiles
4098 if { { ac_try="$ac_link_default"
4099 case "(($ac_try" in
4100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4101 *) ac_try_echo=$ac_try;;
4102 esac
4103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104 $as_echo "$ac_try_echo"; } >&5
4105 (eval "$ac_link_default") 2>&5
4106 ac_status=$?
4107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4108 test $ac_status = 0; }; then :
4109 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4110 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4111 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4112 # so that the user can short-circuit this test for compilers unknown to
4113 # Autoconf.
4114 for ac_file in $ac_files ''
4116 test -f "$ac_file" || continue
4117 case $ac_file in
4118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4120 [ab].out )
4121 # We found the default executable, but exeext='' is most
4122 # certainly right.
4123 break;;
4124 *.* )
4125 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4126 then :; else
4127 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4129 # We set ac_cv_exeext here because the later test for it is not
4130 # safe: cross compilers may not add the suffix if given an `-o'
4131 # argument, so we may need to know it at that point already.
4132 # Even if this section looks crufty: it has the advantage of
4133 # actually working.
4134 break;;
4136 break;;
4137 esac
4138 done
4139 test "$ac_cv_exeext" = no && ac_cv_exeext=
4141 else
4142 ac_file=''
4144 if test -z "$ac_file"; then :
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4146 $as_echo "no" >&6; }
4147 $as_echo "$as_me: failed program was:" >&5
4148 sed 's/^/| /' conftest.$ac_ext >&5
4150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4152 as_fn_error 77 "C compiler cannot create executables
4153 See \`config.log' for more details" "$LINENO" 5; }
4154 else
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4156 $as_echo "yes" >&6; }
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4159 $as_echo_n "checking for C compiler default output file name... " >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4161 $as_echo "$ac_file" >&6; }
4162 ac_exeext=$ac_cv_exeext
4164 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4165 ac_clean_files=$ac_clean_files_save
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4167 $as_echo_n "checking for suffix of executables... " >&6; }
4168 if { { ac_try="$ac_link"
4169 case "(($ac_try" in
4170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4171 *) ac_try_echo=$ac_try;;
4172 esac
4173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4174 $as_echo "$ac_try_echo"; } >&5
4175 (eval "$ac_link") 2>&5
4176 ac_status=$?
4177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4178 test $ac_status = 0; }; then :
4179 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4180 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4181 # work properly (i.e., refer to `conftest.exe'), while it won't with
4182 # `rm'.
4183 for ac_file in conftest.exe conftest conftest.*; do
4184 test -f "$ac_file" || continue
4185 case $ac_file in
4186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4187 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4188 break;;
4189 * ) break;;
4190 esac
4191 done
4192 else
4193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4195 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4196 See \`config.log' for more details" "$LINENO" 5; }
4198 rm -f conftest conftest$ac_cv_exeext
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4200 $as_echo "$ac_cv_exeext" >&6; }
4202 rm -f conftest.$ac_ext
4203 EXEEXT=$ac_cv_exeext
4204 ac_exeext=$EXEEXT
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4207 #include <stdio.h>
4209 main ()
4211 FILE *f = fopen ("conftest.out", "w");
4212 return ferror (f) || fclose (f) != 0;
4215 return 0;
4217 _ACEOF
4218 ac_clean_files="$ac_clean_files conftest.out"
4219 # Check that the compiler produces executables we can run. If not, either
4220 # the compiler is broken, or we cross compile.
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4222 $as_echo_n "checking whether we are cross compiling... " >&6; }
4223 if test "$cross_compiling" != yes; then
4224 { { ac_try="$ac_link"
4225 case "(($ac_try" in
4226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4227 *) ac_try_echo=$ac_try;;
4228 esac
4229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4230 $as_echo "$ac_try_echo"; } >&5
4231 (eval "$ac_link") 2>&5
4232 ac_status=$?
4233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4234 test $ac_status = 0; }
4235 if { ac_try='./conftest$ac_cv_exeext'
4236 { { case "(($ac_try" in
4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238 *) ac_try_echo=$ac_try;;
4239 esac
4240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4241 $as_echo "$ac_try_echo"; } >&5
4242 (eval "$ac_try") 2>&5
4243 ac_status=$?
4244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4245 test $ac_status = 0; }; }; then
4246 cross_compiling=no
4247 else
4248 if test "$cross_compiling" = maybe; then
4249 cross_compiling=yes
4250 else
4251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4253 as_fn_error $? "cannot run C compiled programs.
4254 If you meant to cross compile, use \`--host'.
4255 See \`config.log' for more details" "$LINENO" 5; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4260 $as_echo "$cross_compiling" >&6; }
4262 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4263 ac_clean_files=$ac_clean_files_save
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4265 $as_echo_n "checking for suffix of object files... " >&6; }
4266 if ${ac_cv_objext+:} false; then :
4267 $as_echo_n "(cached) " >&6
4268 else
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4273 main ()
4277 return 0;
4279 _ACEOF
4280 rm -f conftest.o conftest.obj
4281 if { { ac_try="$ac_compile"
4282 case "(($ac_try" in
4283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4284 *) ac_try_echo=$ac_try;;
4285 esac
4286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4287 $as_echo "$ac_try_echo"; } >&5
4288 (eval "$ac_compile") 2>&5
4289 ac_status=$?
4290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4291 test $ac_status = 0; }; then :
4292 for ac_file in conftest.o conftest.obj conftest.*; do
4293 test -f "$ac_file" || continue;
4294 case $ac_file in
4295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4296 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4297 break;;
4298 esac
4299 done
4300 else
4301 $as_echo "$as_me: failed program was:" >&5
4302 sed 's/^/| /' conftest.$ac_ext >&5
4304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4306 as_fn_error $? "cannot compute suffix of object files: cannot compile
4307 See \`config.log' for more details" "$LINENO" 5; }
4309 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4312 $as_echo "$ac_cv_objext" >&6; }
4313 OBJEXT=$ac_cv_objext
4314 ac_objext=$OBJEXT
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4316 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4317 if ${ac_cv_c_compiler_gnu+:} false; then :
4318 $as_echo_n "(cached) " >&6
4319 else
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4324 main ()
4326 #ifndef __GNUC__
4327 choke me
4328 #endif
4331 return 0;
4333 _ACEOF
4334 if ac_fn_c_try_compile "$LINENO"; then :
4335 ac_compiler_gnu=yes
4336 else
4337 ac_compiler_gnu=no
4339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4344 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4345 if test $ac_compiler_gnu = yes; then
4346 GCC=yes
4347 else
4348 GCC=
4350 ac_test_CFLAGS=${CFLAGS+set}
4351 ac_save_CFLAGS=$CFLAGS
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4353 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4354 if ${ac_cv_prog_cc_g+:} false; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 ac_save_c_werror_flag=$ac_c_werror_flag
4358 ac_c_werror_flag=yes
4359 ac_cv_prog_cc_g=no
4360 CFLAGS="-g"
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4365 main ()
4369 return 0;
4371 _ACEOF
4372 if ac_fn_c_try_compile "$LINENO"; then :
4373 ac_cv_prog_cc_g=yes
4374 else
4375 CFLAGS=""
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4380 main ()
4384 return 0;
4386 _ACEOF
4387 if ac_fn_c_try_compile "$LINENO"; then :
4389 else
4390 ac_c_werror_flag=$ac_save_c_werror_flag
4391 CFLAGS="-g"
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4396 main ()
4400 return 0;
4402 _ACEOF
4403 if ac_fn_c_try_compile "$LINENO"; then :
4404 ac_cv_prog_cc_g=yes
4406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 ac_c_werror_flag=$ac_save_c_werror_flag
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4414 $as_echo "$ac_cv_prog_cc_g" >&6; }
4415 if test "$ac_test_CFLAGS" = set; then
4416 CFLAGS=$ac_save_CFLAGS
4417 elif test $ac_cv_prog_cc_g = yes; then
4418 if test "$GCC" = yes; then
4419 CFLAGS="-g -O2"
4420 else
4421 CFLAGS="-g"
4423 else
4424 if test "$GCC" = yes; then
4425 CFLAGS="-O2"
4426 else
4427 CFLAGS=
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4431 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4432 if ${ac_cv_prog_cc_c89+:} false; then :
4433 $as_echo_n "(cached) " >&6
4434 else
4435 ac_cv_prog_cc_c89=no
4436 ac_save_CC=$CC
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4439 #include <stdarg.h>
4440 #include <stdio.h>
4441 struct stat;
4442 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4443 struct buf { int x; };
4444 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4445 static char *e (p, i)
4446 char **p;
4447 int i;
4449 return p[i];
4451 static char *f (char * (*g) (char **, int), char **p, ...)
4453 char *s;
4454 va_list v;
4455 va_start (v,p);
4456 s = g (p, va_arg (v,int));
4457 va_end (v);
4458 return s;
4461 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4462 function prototypes and stuff, but not '\xHH' hex character constants.
4463 These don't provoke an error unfortunately, instead are silently treated
4464 as 'x'. The following induces an error, until -std is added to get
4465 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4466 array size at least. It's necessary to write '\x00'==0 to get something
4467 that's true only with -std. */
4468 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4470 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4471 inside strings and character constants. */
4472 #define FOO(x) 'x'
4473 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4475 int test (int i, double x);
4476 struct s1 {int (*f) (int a);};
4477 struct s2 {int (*f) (double a);};
4478 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4479 int argc;
4480 char **argv;
4482 main ()
4484 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4486 return 0;
4488 _ACEOF
4489 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4490 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4492 CC="$ac_save_CC $ac_arg"
4493 if ac_fn_c_try_compile "$LINENO"; then :
4494 ac_cv_prog_cc_c89=$ac_arg
4496 rm -f core conftest.err conftest.$ac_objext
4497 test "x$ac_cv_prog_cc_c89" != "xno" && break
4498 done
4499 rm -f conftest.$ac_ext
4500 CC=$ac_save_CC
4503 # AC_CACHE_VAL
4504 case "x$ac_cv_prog_cc_c89" in
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4507 $as_echo "none needed" >&6; } ;;
4508 xno)
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4510 $as_echo "unsupported" >&6; } ;;
4512 CC="$CC $ac_cv_prog_cc_c89"
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4514 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4515 esac
4516 if test "x$ac_cv_prog_cc_c89" != xno; then :
4520 ac_ext=c
4521 ac_cpp='$CPP $CPPFLAGS'
4522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4526 ac_ext=cpp
4527 ac_cpp='$CXXCPP $CPPFLAGS'
4528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4531 if test -z "$CXX"; then
4532 if test -n "$CCC"; then
4533 CXX=$CCC
4534 else
4535 if test -n "$ac_tool_prefix"; then
4536 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4538 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4539 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if ${ac_cv_prog_CXX+:} false; then :
4543 $as_echo_n "(cached) " >&6
4544 else
4545 if test -n "$CXX"; then
4546 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4547 else
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 for as_dir in $PATH
4551 IFS=$as_save_IFS
4552 test -z "$as_dir" && as_dir=.
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4555 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4557 break 2
4559 done
4560 done
4561 IFS=$as_save_IFS
4565 CXX=$ac_cv_prog_CXX
4566 if test -n "$CXX"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4568 $as_echo "$CXX" >&6; }
4569 else
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4575 test -n "$CXX" && break
4576 done
4578 if test -z "$CXX"; then
4579 ac_ct_CXX=$CXX
4580 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4582 # Extract the first word of "$ac_prog", so it can be a program name with args.
4583 set dummy $ac_prog; ac_word=$2
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4585 $as_echo_n "checking for $ac_word... " >&6; }
4586 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4587 $as_echo_n "(cached) " >&6
4588 else
4589 if test -n "$ac_ct_CXX"; then
4590 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4591 else
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 for as_dir in $PATH
4595 IFS=$as_save_IFS
4596 test -z "$as_dir" && as_dir=.
4597 for ac_exec_ext in '' $ac_executable_extensions; do
4598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4599 ac_cv_prog_ac_ct_CXX="$ac_prog"
4600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 break 2
4603 done
4604 done
4605 IFS=$as_save_IFS
4609 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4610 if test -n "$ac_ct_CXX"; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4612 $as_echo "$ac_ct_CXX" >&6; }
4613 else
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4615 $as_echo "no" >&6; }
4619 test -n "$ac_ct_CXX" && break
4620 done
4622 if test "x$ac_ct_CXX" = x; then
4623 CXX="g++"
4624 else
4625 case $cross_compiling:$ac_tool_warned in
4626 yes:)
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4629 ac_tool_warned=yes ;;
4630 esac
4631 CXX=$ac_ct_CXX
4637 # Provide some information about the compiler.
4638 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4639 set X $ac_compile
4640 ac_compiler=$2
4641 for ac_option in --version -v -V -qversion; do
4642 { { ac_try="$ac_compiler $ac_option >&5"
4643 case "(($ac_try" in
4644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4645 *) ac_try_echo=$ac_try;;
4646 esac
4647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4648 $as_echo "$ac_try_echo"; } >&5
4649 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4650 ac_status=$?
4651 if test -s conftest.err; then
4652 sed '10a\
4653 ... rest of stderr output deleted ...
4654 10q' conftest.err >conftest.er1
4655 cat conftest.er1 >&5
4657 rm -f conftest.er1 conftest.err
4658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4659 test $ac_status = 0; }
4660 done
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4663 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4664 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4665 $as_echo_n "(cached) " >&6
4666 else
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4671 main ()
4673 #ifndef __GNUC__
4674 choke me
4675 #endif
4678 return 0;
4680 _ACEOF
4681 if ac_fn_cxx_try_compile "$LINENO"; then :
4682 ac_compiler_gnu=yes
4683 else
4684 ac_compiler_gnu=no
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4687 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4691 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4692 if test $ac_compiler_gnu = yes; then
4693 GXX=yes
4694 else
4695 GXX=
4697 ac_test_CXXFLAGS=${CXXFLAGS+set}
4698 ac_save_CXXFLAGS=$CXXFLAGS
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4700 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4701 if ${ac_cv_prog_cxx_g+:} false; then :
4702 $as_echo_n "(cached) " >&6
4703 else
4704 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4705 ac_cxx_werror_flag=yes
4706 ac_cv_prog_cxx_g=no
4707 CXXFLAGS="-g"
4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4712 main ()
4716 return 0;
4718 _ACEOF
4719 if ac_fn_cxx_try_compile "$LINENO"; then :
4720 ac_cv_prog_cxx_g=yes
4721 else
4722 CXXFLAGS=""
4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4727 main ()
4731 return 0;
4733 _ACEOF
4734 if ac_fn_cxx_try_compile "$LINENO"; then :
4736 else
4737 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4738 CXXFLAGS="-g"
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4743 main ()
4747 return 0;
4749 _ACEOF
4750 if ac_fn_cxx_try_compile "$LINENO"; then :
4751 ac_cv_prog_cxx_g=yes
4753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4758 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4761 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4762 if test "$ac_test_CXXFLAGS" = set; then
4763 CXXFLAGS=$ac_save_CXXFLAGS
4764 elif test $ac_cv_prog_cxx_g = yes; then
4765 if test "$GXX" = yes; then
4766 CXXFLAGS="-g -O2"
4767 else
4768 CXXFLAGS="-g"
4770 else
4771 if test "$GXX" = yes; then
4772 CXXFLAGS="-O2"
4773 else
4774 CXXFLAGS=
4777 ac_ext=c
4778 ac_cpp='$CPP $CPPFLAGS'
4779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4783 if test -n "$ac_tool_prefix"; then
4784 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4785 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4787 $as_echo_n "checking for $ac_word... " >&6; }
4788 if ${ac_cv_prog_CPPBIN+:} false; then :
4789 $as_echo_n "(cached) " >&6
4790 else
4791 if test -n "$CPPBIN"; then
4792 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4793 else
4794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4795 for as_dir in $PATH
4797 IFS=$as_save_IFS
4798 test -z "$as_dir" && as_dir=.
4799 for ac_exec_ext in '' $ac_executable_extensions; do
4800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4801 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 break 2
4805 done
4806 done
4807 IFS=$as_save_IFS
4811 CPPBIN=$ac_cv_prog_CPPBIN
4812 if test -n "$CPPBIN"; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4814 $as_echo "$CPPBIN" >&6; }
4815 else
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4822 if test -z "$ac_cv_prog_CPPBIN"; then
4823 ac_ct_CPPBIN=$CPPBIN
4824 # Extract the first word of "cpp", so it can be a program name with args.
4825 set dummy cpp; ac_word=$2
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4827 $as_echo_n "checking for $ac_word... " >&6; }
4828 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4829 $as_echo_n "(cached) " >&6
4830 else
4831 if test -n "$ac_ct_CPPBIN"; then
4832 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4833 else
4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 for as_dir in $PATH
4837 IFS=$as_save_IFS
4838 test -z "$as_dir" && as_dir=.
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_ac_ct_CPPBIN="cpp"
4842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 break 2
4845 done
4846 done
4847 IFS=$as_save_IFS
4851 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4852 if test -n "$ac_ct_CPPBIN"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4854 $as_echo "$ac_ct_CPPBIN" >&6; }
4855 else
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 $as_echo "no" >&6; }
4860 if test "x$ac_ct_CPPBIN" = x; then
4861 CPPBIN="cpp"
4862 else
4863 case $cross_compiling:$ac_tool_warned in
4864 yes:)
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4867 ac_tool_warned=yes ;;
4868 esac
4869 CPPBIN=$ac_ct_CPPBIN
4871 else
4872 CPPBIN="$ac_cv_prog_CPPBIN"
4876 cat >>confdefs.h <<_ACEOF
4877 #define EXEEXT "$ac_exeext"
4878 _ACEOF
4880 if test -n "$ac_tool_prefix"; then
4881 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4882 set dummy ${ac_tool_prefix}ld; ac_word=$2
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884 $as_echo_n "checking for $ac_word... " >&6; }
4885 if ${ac_cv_prog_LD+:} false; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 if test -n "$LD"; then
4889 ac_cv_prog_LD="$LD" # Let the user override the test.
4890 else
4891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 for as_dir in $PATH
4894 IFS=$as_save_IFS
4895 test -z "$as_dir" && as_dir=.
4896 for ac_exec_ext in '' $ac_executable_extensions; do
4897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_LD="${ac_tool_prefix}ld"
4899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4900 break 2
4902 done
4903 done
4904 IFS=$as_save_IFS
4908 LD=$ac_cv_prog_LD
4909 if test -n "$LD"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4911 $as_echo "$LD" >&6; }
4912 else
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4919 if test -z "$ac_cv_prog_LD"; then
4920 ac_ct_LD=$LD
4921 # Extract the first word of "ld", so it can be a program name with args.
4922 set dummy ld; ac_word=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4926 $as_echo_n "(cached) " >&6
4927 else
4928 if test -n "$ac_ct_LD"; then
4929 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4930 else
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 for as_dir in $PATH
4934 IFS=$as_save_IFS
4935 test -z "$as_dir" && as_dir=.
4936 for ac_exec_ext in '' $ac_executable_extensions; do
4937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_ac_ct_LD="ld"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 break 2
4942 done
4943 done
4944 IFS=$as_save_IFS
4948 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4949 if test -n "$ac_ct_LD"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4951 $as_echo "$ac_ct_LD" >&6; }
4952 else
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4957 if test "x$ac_ct_LD" = x; then
4958 LD=""
4959 else
4960 case $cross_compiling:$ac_tool_warned in
4961 yes:)
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4964 ac_tool_warned=yes ;;
4965 esac
4966 LD=$ac_ct_LD
4968 else
4969 LD="$ac_cv_prog_LD"
4973 case $host in
4974 *-darwin*)
4975 with_fontconfig=${with_fontconfig:-no}
4977 *-mingw32*|*-cygwin*)
4978 enable_win16=${enable_win16:-no}
4979 CFLAGS="$CFLAGS -D_WIN32"
4981 esac
4983 case $host in
4984 x86_64*|amd64*)
4985 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4986 then
4987 CC="$CC -m32"
4988 CXX="$CXX -m32"
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4990 $as_echo_n "checking whether $CC works... " >&6; }
4992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h. */
4996 main ()
5000 return 0;
5002 _ACEOF
5003 if ac_fn_c_try_link "$LINENO"; then :
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5005 $as_echo "yes" >&6; }
5006 else
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5009 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5011 rm -f core conftest.err conftest.$ac_objext \
5012 conftest$ac_exeext conftest.$ac_ext
5013 host_cpu="i386"
5014 notice_platform="32-bit "
5015 TARGETFLAGS="-m32"
5017 enable_win16=${enable_win16:-yes}
5018 else
5019 if test "x${GCC}" = "xyes"
5020 then
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5022 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5024 /* end confdefs.h. */
5025 #include <stdarg.h>
5027 main ()
5029 void func(__builtin_ms_va_list *args);
5031 return 0;
5033 _ACEOF
5034 if ac_fn_c_try_compile "$LINENO"; then :
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5036 $as_echo "yes" >&6; }
5037 else
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5040 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5044 CC="$CC -m64"
5045 CXX="$CXX -m64"
5046 host_cpu="x86_64"
5047 notice_platform="64-bit "
5048 TARGETFLAGS="-m64"
5052 arm*)
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5054 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h. */
5057 int ac_test(int i) { return i; }
5059 main ()
5061 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5063 return 0;
5065 _ACEOF
5066 if ac_fn_c_try_link "$LINENO"; then :
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5068 $as_echo "yes" >&6; }
5069 else
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5072 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5074 rm -f core conftest.err conftest.$ac_objext \
5075 conftest$ac_exeext conftest.$ac_ext
5076 CFLAGS="$CFLAGS -marm"
5077 TARGETFLAGS="-marm"
5080 i[3456789]86*)
5081 enable_win16=${enable_win16:-yes}
5083 esac
5085 enable_win16=${enable_win16:-no}
5086 enable_win64=${enable_win64:-no}
5088 enable_winetest=${enable_winetest:-$enable_tests}
5090 if test -n "$with_wine64"
5091 then
5092 if test "x$enable_win64" = "xyes"
5093 then
5094 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5095 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5097 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5098 You should create a separate build directory and run configure from there." "$LINENO" 5
5099 enable_fonts=${enable_fonts:-no}
5100 enable_server=${enable_server:-no}
5101 elif test "x$enable_win64" = "xyes"
5102 then
5103 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5107 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5108 if ${wine_cv_toolsdir+:} false; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 wine_cv_toolsdir="$with_wine_tools"
5112 if test -z "$with_wine_tools"; then
5113 if test "$cross_compiling" = "yes"; then
5114 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5115 elif test -n "$with_wine64"; then
5116 wine_cv_toolsdir="$with_wine64"
5119 if test -z "$wine_cv_toolsdir"; then
5120 wine_makedep=tools/makedep
5121 wine_cv_toolsdir="\$(top_builddir)"
5122 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5123 wine_makedep=$wine_cv_toolsdir/tools/makedep
5124 case "$wine_cv_toolsdir" in
5125 /*) ;;
5126 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5127 esac
5128 enable_tools=${enable_tools:-no}
5129 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5130 else
5131 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5135 $as_echo "$wine_cv_toolsdir" >&6; }
5136 TOOLSDIR=$wine_cv_toolsdir
5138 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5139 then
5140 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5144 for ac_prog in flex
5146 # Extract the first word of "$ac_prog", so it can be a program name with args.
5147 set dummy $ac_prog; ac_word=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if ${ac_cv_prog_FLEX+:} false; then :
5151 $as_echo_n "(cached) " >&6
5152 else
5153 if test -n "$FLEX"; then
5154 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5155 else
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 for as_dir in $PATH
5159 IFS=$as_save_IFS
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163 ac_cv_prog_FLEX="$ac_prog"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 break 2
5167 done
5168 done
5169 IFS=$as_save_IFS
5173 FLEX=$ac_cv_prog_FLEX
5174 if test -n "$FLEX"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5176 $as_echo "$FLEX" >&6; }
5177 else
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5183 test -n "$FLEX" && break
5184 done
5185 test -n "$FLEX" || FLEX="none"
5187 if test "$FLEX" = "none"
5188 then
5189 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5192 $as_echo_n "checking whether flex is recent enough... " >&6; }
5193 cat >conftest.l <<EOF
5194 %top{
5195 #include "prediluvian.h"
5199 if $FLEX -t conftest.l >/dev/null 2>&5
5200 then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5202 $as_echo "yes" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5206 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5209 for ac_prog in bison
5211 # Extract the first word of "$ac_prog", so it can be a program name with args.
5212 set dummy $ac_prog; ac_word=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if ${ac_cv_prog_BISON+:} false; then :
5216 $as_echo_n "(cached) " >&6
5217 else
5218 if test -n "$BISON"; then
5219 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5220 else
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 for as_dir in $PATH
5224 IFS=$as_save_IFS
5225 test -z "$as_dir" && as_dir=.
5226 for ac_exec_ext in '' $ac_executable_extensions; do
5227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_BISON="$ac_prog"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 break 2
5232 done
5233 done
5234 IFS=$as_save_IFS
5238 BISON=$ac_cv_prog_BISON
5239 if test -n "$BISON"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5241 $as_echo "$BISON" >&6; }
5242 else
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5248 test -n "$BISON" && break
5249 done
5250 test -n "$BISON" || BISON="none"
5252 if test "$BISON" = "none"
5253 then
5254 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5257 if test -n "$ac_tool_prefix"; then
5258 for ac_prog in ar gar
5260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if ${ac_cv_prog_AR+:} false; then :
5265 $as_echo_n "(cached) " >&6
5266 else
5267 if test -n "$AR"; then
5268 ac_cv_prog_AR="$AR" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5273 IFS=$as_save_IFS
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5277 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 break 2
5281 done
5282 done
5283 IFS=$as_save_IFS
5287 AR=$ac_cv_prog_AR
5288 if test -n "$AR"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5290 $as_echo "$AR" >&6; }
5291 else
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5297 test -n "$AR" && break
5298 done
5300 if test -z "$AR"; then
5301 ac_ct_AR=$AR
5302 for ac_prog in ar gar
5304 # Extract the first word of "$ac_prog", so it can be a program name with args.
5305 set dummy $ac_prog; ac_word=$2
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5307 $as_echo_n "checking for $ac_word... " >&6; }
5308 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5309 $as_echo_n "(cached) " >&6
5310 else
5311 if test -n "$ac_ct_AR"; then
5312 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5313 else
5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 for as_dir in $PATH
5317 IFS=$as_save_IFS
5318 test -z "$as_dir" && as_dir=.
5319 for ac_exec_ext in '' $ac_executable_extensions; do
5320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5321 ac_cv_prog_ac_ct_AR="$ac_prog"
5322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 break 2
5325 done
5326 done
5327 IFS=$as_save_IFS
5331 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5332 if test -n "$ac_ct_AR"; then
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5334 $as_echo "$ac_ct_AR" >&6; }
5335 else
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5337 $as_echo "no" >&6; }
5341 test -n "$ac_ct_AR" && break
5342 done
5344 if test "x$ac_ct_AR" = x; then
5345 AR="ar"
5346 else
5347 case $cross_compiling:$ac_tool_warned in
5348 yes:)
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5351 ac_tool_warned=yes ;;
5352 esac
5353 AR=$ac_ct_AR
5357 if test -n "$ac_tool_prefix"; then
5358 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5359 set dummy ${ac_tool_prefix}strip; ac_word=$2
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5361 $as_echo_n "checking for $ac_word... " >&6; }
5362 if ${ac_cv_prog_STRIP+:} false; then :
5363 $as_echo_n "(cached) " >&6
5364 else
5365 if test -n "$STRIP"; then
5366 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5367 else
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 for as_dir in $PATH
5371 IFS=$as_save_IFS
5372 test -z "$as_dir" && as_dir=.
5373 for ac_exec_ext in '' $ac_executable_extensions; do
5374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5375 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5377 break 2
5379 done
5380 done
5381 IFS=$as_save_IFS
5385 STRIP=$ac_cv_prog_STRIP
5386 if test -n "$STRIP"; then
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5388 $as_echo "$STRIP" >&6; }
5389 else
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5391 $as_echo "no" >&6; }
5396 if test -z "$ac_cv_prog_STRIP"; then
5397 ac_ct_STRIP=$STRIP
5398 # Extract the first word of "strip", so it can be a program name with args.
5399 set dummy strip; ac_word=$2
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401 $as_echo_n "checking for $ac_word... " >&6; }
5402 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5403 $as_echo_n "(cached) " >&6
5404 else
5405 if test -n "$ac_ct_STRIP"; then
5406 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5407 else
5408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5409 for as_dir in $PATH
5411 IFS=$as_save_IFS
5412 test -z "$as_dir" && as_dir=.
5413 for ac_exec_ext in '' $ac_executable_extensions; do
5414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5415 ac_cv_prog_ac_ct_STRIP="strip"
5416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 break 2
5419 done
5420 done
5421 IFS=$as_save_IFS
5425 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5426 if test -n "$ac_ct_STRIP"; then
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5428 $as_echo "$ac_ct_STRIP" >&6; }
5429 else
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5431 $as_echo "no" >&6; }
5434 if test "x$ac_ct_STRIP" = x; then
5435 STRIP="strip"
5436 else
5437 case $cross_compiling:$ac_tool_warned in
5438 yes:)
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5441 ac_tool_warned=yes ;;
5442 esac
5443 STRIP=$ac_ct_STRIP
5445 else
5446 STRIP="$ac_cv_prog_STRIP"
5449 ARFLAGS=rc
5451 if test -n "$ac_tool_prefix"; then
5452 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5453 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5455 $as_echo_n "checking for $ac_word... " >&6; }
5456 if ${ac_cv_prog_RANLIB+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if test -n "$RANLIB"; then
5460 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5461 else
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5469 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 break 2
5473 done
5474 done
5475 IFS=$as_save_IFS
5479 RANLIB=$ac_cv_prog_RANLIB
5480 if test -n "$RANLIB"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5482 $as_echo "$RANLIB" >&6; }
5483 else
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5490 if test -z "$ac_cv_prog_RANLIB"; then
5491 ac_ct_RANLIB=$RANLIB
5492 # Extract the first word of "ranlib", so it can be a program name with args.
5493 set dummy ranlib; ac_word=$2
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495 $as_echo_n "checking for $ac_word... " >&6; }
5496 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5497 $as_echo_n "(cached) " >&6
5498 else
5499 if test -n "$ac_ct_RANLIB"; then
5500 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5501 else
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 for as_dir in $PATH
5505 IFS=$as_save_IFS
5506 test -z "$as_dir" && as_dir=.
5507 for ac_exec_ext in '' $ac_executable_extensions; do
5508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5509 ac_cv_prog_ac_ct_RANLIB="ranlib"
5510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 break 2
5513 done
5514 done
5515 IFS=$as_save_IFS
5519 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5520 if test -n "$ac_ct_RANLIB"; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5522 $as_echo "$ac_ct_RANLIB" >&6; }
5523 else
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5528 if test "x$ac_ct_RANLIB" = x; then
5529 RANLIB=":"
5530 else
5531 case $cross_compiling:$ac_tool_warned in
5532 yes:)
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5535 ac_tool_warned=yes ;;
5536 esac
5537 RANLIB=$ac_ct_RANLIB
5539 else
5540 RANLIB="$ac_cv_prog_RANLIB"
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5544 $as_echo_n "checking whether ln -s works... " >&6; }
5545 LN_S=$as_ln_s
5546 if test "$LN_S" = "ln -s"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5548 $as_echo "yes" >&6; }
5549 else
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5551 $as_echo "no, using $LN_S" >&6; }
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5555 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5556 if ${ac_cv_path_GREP+:} false; then :
5557 $as_echo_n "(cached) " >&6
5558 else
5559 if test -z "$GREP"; then
5560 ac_path_GREP_found=false
5561 # Loop through the user's path and test for each of PROGNAME-LIST
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5565 IFS=$as_save_IFS
5566 test -z "$as_dir" && as_dir=.
5567 for ac_prog in grep ggrep; do
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5570 as_fn_executable_p "$ac_path_GREP" || continue
5571 # Check for GNU ac_path_GREP and select it if it is found.
5572 # Check for GNU $ac_path_GREP
5573 case `"$ac_path_GREP" --version 2>&1` in
5574 *GNU*)
5575 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5577 ac_count=0
5578 $as_echo_n 0123456789 >"conftest.in"
5579 while :
5581 cat "conftest.in" "conftest.in" >"conftest.tmp"
5582 mv "conftest.tmp" "conftest.in"
5583 cp "conftest.in" "conftest.nl"
5584 $as_echo 'GREP' >> "conftest.nl"
5585 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5587 as_fn_arith $ac_count + 1 && ac_count=$as_val
5588 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5589 # Best one so far, save it but keep looking for a better one
5590 ac_cv_path_GREP="$ac_path_GREP"
5591 ac_path_GREP_max=$ac_count
5593 # 10*(2^10) chars as input seems more than enough
5594 test $ac_count -gt 10 && break
5595 done
5596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5597 esac
5599 $ac_path_GREP_found && break 3
5600 done
5601 done
5602 done
5603 IFS=$as_save_IFS
5604 if test -z "$ac_cv_path_GREP"; then
5605 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5607 else
5608 ac_cv_path_GREP=$GREP
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5613 $as_echo "$ac_cv_path_GREP" >&6; }
5614 GREP="$ac_cv_path_GREP"
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5618 $as_echo_n "checking for egrep... " >&6; }
5619 if ${ac_cv_path_EGREP+:} false; then :
5620 $as_echo_n "(cached) " >&6
5621 else
5622 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5623 then ac_cv_path_EGREP="$GREP -E"
5624 else
5625 if test -z "$EGREP"; then
5626 ac_path_EGREP_found=false
5627 # Loop through the user's path and test for each of PROGNAME-LIST
5628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5631 IFS=$as_save_IFS
5632 test -z "$as_dir" && as_dir=.
5633 for ac_prog in egrep; do
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5636 as_fn_executable_p "$ac_path_EGREP" || continue
5637 # Check for GNU ac_path_EGREP and select it if it is found.
5638 # Check for GNU $ac_path_EGREP
5639 case `"$ac_path_EGREP" --version 2>&1` in
5640 *GNU*)
5641 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5643 ac_count=0
5644 $as_echo_n 0123456789 >"conftest.in"
5645 while :
5647 cat "conftest.in" "conftest.in" >"conftest.tmp"
5648 mv "conftest.tmp" "conftest.in"
5649 cp "conftest.in" "conftest.nl"
5650 $as_echo 'EGREP' >> "conftest.nl"
5651 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5652 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5653 as_fn_arith $ac_count + 1 && ac_count=$as_val
5654 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5655 # Best one so far, save it but keep looking for a better one
5656 ac_cv_path_EGREP="$ac_path_EGREP"
5657 ac_path_EGREP_max=$ac_count
5659 # 10*(2^10) chars as input seems more than enough
5660 test $ac_count -gt 10 && break
5661 done
5662 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5663 esac
5665 $ac_path_EGREP_found && break 3
5666 done
5667 done
5668 done
5669 IFS=$as_save_IFS
5670 if test -z "$ac_cv_path_EGREP"; then
5671 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5673 else
5674 ac_cv_path_EGREP=$EGREP
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5680 $as_echo "$ac_cv_path_EGREP" >&6; }
5681 EGREP="$ac_cv_path_EGREP"
5684 # Extract the first word of "ldconfig", so it can be a program name with args.
5685 set dummy ldconfig; ac_word=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_path_LDCONFIG+:} false; then :
5689 $as_echo_n "(cached) " >&6
5690 else
5691 case $LDCONFIG in
5692 [\\/]* | ?:[\\/]*)
5693 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 for as_dir in /sbin /usr/sbin $PATH
5699 IFS=$as_save_IFS
5700 test -z "$as_dir" && as_dir=.
5701 for ac_exec_ext in '' $ac_executable_extensions; do
5702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5703 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 break 2
5707 done
5708 done
5709 IFS=$as_save_IFS
5711 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5713 esac
5715 LDCONFIG=$ac_cv_path_LDCONFIG
5716 if test -n "$LDCONFIG"; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5718 $as_echo "$LDCONFIG" >&6; }
5719 else
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 $as_echo "no" >&6; }
5725 for ac_prog in msgfmt
5727 # Extract the first word of "$ac_prog", so it can be a program name with args.
5728 set dummy $ac_prog; ac_word=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if ${ac_cv_prog_MSGFMT+:} false; then :
5732 $as_echo_n "(cached) " >&6
5733 else
5734 if test -n "$MSGFMT"; then
5735 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5736 else
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $PATH
5740 IFS=$as_save_IFS
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_MSGFMT="$ac_prog"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 break 2
5748 done
5749 done
5750 IFS=$as_save_IFS
5754 MSGFMT=$ac_cv_prog_MSGFMT
5755 if test -n "$MSGFMT"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5757 $as_echo "$MSGFMT" >&6; }
5758 else
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5764 test -n "$MSGFMT" && break
5765 done
5766 test -n "$MSGFMT" || MSGFMT="false"
5768 if ${ac_tool_prefix+:} false; then :
5769 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5770 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5774 $as_echo_n "(cached) " >&6
5775 else
5776 if test -n "$PKG_CONFIG"; then
5777 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5778 else
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 for as_dir in $PATH
5782 IFS=$as_save_IFS
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 break 2
5790 done
5791 done
5792 IFS=$as_save_IFS
5796 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5797 if test -n "$PKG_CONFIG"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5799 $as_echo "$PKG_CONFIG" >&6; }
5800 else
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5807 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5808 if test "x$cross_compiling" = xyes; then :
5810 else
5811 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5812 # Extract the first word of "pkg-config", so it can be a program name with args.
5813 set dummy pkg-config; ac_word=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 $as_echo_n "checking for $ac_word... " >&6; }
5816 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5817 $as_echo_n "(cached) " >&6
5818 else
5819 if test -n "$PKG_CONFIG"; then
5820 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_prog_PKG_CONFIG="pkg-config"
5830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 break 2
5833 done
5834 done
5835 IFS=$as_save_IFS
5839 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5840 if test -n "$PKG_CONFIG"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5842 $as_echo "$PKG_CONFIG" >&6; }
5843 else
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5850 else
5851 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5854 if test "x$enable_maintainer_mode" != "xyes"
5855 then
5856 FONTFORGE=""
5857 RSVG=""
5858 CONVERT=""
5859 ICOTOOL=""
5860 else
5861 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5862 for ac_prog in fontforge
5864 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865 set dummy $ac_prog; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if ${ac_cv_prog_FONTFORGE+:} false; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 if test -n "$FONTFORGE"; then
5872 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_FONTFORGE="$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5885 done
5886 done
5887 IFS=$as_save_IFS
5891 FONTFORGE=$ac_cv_prog_FONTFORGE
5892 if test -n "$FONTFORGE"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5894 $as_echo "$FONTFORGE" >&6; }
5895 else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5901 test -n "$FONTFORGE" && break
5902 done
5903 test -n "$FONTFORGE" || FONTFORGE="false"
5905 for ac_prog in rsvg-convert rsvg
5907 # Extract the first word of "$ac_prog", so it can be a program name with args.
5908 set dummy $ac_prog; ac_word=$2
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5910 $as_echo_n "checking for $ac_word... " >&6; }
5911 if ${ac_cv_prog_RSVG+:} false; then :
5912 $as_echo_n "(cached) " >&6
5913 else
5914 if test -n "$RSVG"; then
5915 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5916 else
5917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918 for as_dir in $PATH
5920 IFS=$as_save_IFS
5921 test -z "$as_dir" && as_dir=.
5922 for ac_exec_ext in '' $ac_executable_extensions; do
5923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5924 ac_cv_prog_RSVG="$ac_prog"
5925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5926 break 2
5928 done
5929 done
5930 IFS=$as_save_IFS
5934 RSVG=$ac_cv_prog_RSVG
5935 if test -n "$RSVG"; then
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5937 $as_echo "$RSVG" >&6; }
5938 else
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5940 $as_echo "no" >&6; }
5944 test -n "$RSVG" && break
5945 done
5946 test -n "$RSVG" || RSVG="false"
5948 for ac_prog in convert
5950 # Extract the first word of "$ac_prog", so it can be a program name with args.
5951 set dummy $ac_prog; ac_word=$2
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953 $as_echo_n "checking for $ac_word... " >&6; }
5954 if ${ac_cv_prog_CONVERT+:} false; then :
5955 $as_echo_n "(cached) " >&6
5956 else
5957 if test -n "$CONVERT"; then
5958 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5959 else
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH
5963 IFS=$as_save_IFS
5964 test -z "$as_dir" && as_dir=.
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5967 ac_cv_prog_CONVERT="$ac_prog"
5968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 break 2
5971 done
5972 done
5973 IFS=$as_save_IFS
5977 CONVERT=$ac_cv_prog_CONVERT
5978 if test -n "$CONVERT"; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5980 $as_echo "$CONVERT" >&6; }
5981 else
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5987 test -n "$CONVERT" && break
5988 done
5989 test -n "$CONVERT" || CONVERT="false"
5991 for ac_prog in icotool
5993 # Extract the first word of "$ac_prog", so it can be a program name with args.
5994 set dummy $ac_prog; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_ICOTOOL+:} false; then :
5998 $as_echo_n "(cached) " >&6
5999 else
6000 if test -n "$ICOTOOL"; then
6001 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6002 else
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $PATH
6006 IFS=$as_save_IFS
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_ICOTOOL="$ac_prog"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 break 2
6014 done
6015 done
6016 IFS=$as_save_IFS
6020 ICOTOOL=$ac_cv_prog_ICOTOOL
6021 if test -n "$ICOTOOL"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6023 $as_echo "$ICOTOOL" >&6; }
6024 else
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6030 test -n "$ICOTOOL" && break
6031 done
6032 test -n "$ICOTOOL" || ICOTOOL="false"
6034 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6035 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6037 if test "$CONVERT" = false
6038 then
6039 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6040 else
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6042 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6043 convert_version=`convert --version | head -n1`
6044 if test "x$convert_version" != "x"
6045 then
6046 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6047 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6048 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6049 then
6050 CONVERT=false
6053 if test "$CONVERT" = false
6054 then
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6056 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6057 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6058 else
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6060 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6064 if test "$ICOTOOL" = false
6065 then
6066 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6067 else
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6069 $as_echo_n "checking for recent enough icotool... " >&6; }
6070 icotool_version=`icotool --version | head -n1`
6071 if test "x$icotool_version" != "x"
6072 then
6073 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6074 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6075 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6076 then
6077 ICOTOOL=false
6078 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6081 if test "$ICOTOOL" = false
6082 then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6084 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6085 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6086 else
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6088 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6092 with_gettext=yes
6093 with_gettextpo=yes
6094 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6097 test "x$with_gettext" != xno || MSGFMT=false
6098 if test "$MSGFMT" != "false"
6099 then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6101 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6102 cat >conftest.po <<EOF
6103 # comment
6104 msgctxt "ctxt"
6105 msgid "id"
6106 msgstr "str"
6108 if $MSGFMT -o /dev/null conftest.po 2>&5
6109 then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6111 $as_echo "yes" >&6; }
6112 else
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114 $as_echo "no" >&6; }
6115 MSGFMT=false
6118 if test "$MSGFMT" = false; then :
6119 case "x$with_gettext" in
6120 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6121 xno) ;;
6122 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6123 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6124 esac
6125 enable_po=${enable_po:-no}
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6130 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6131 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6132 $as_echo_n "(cached) " >&6
6133 else
6134 ac_check_lib_save_LIBS=$LIBS
6135 LIBS="-li386 $LIBS"
6136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6137 /* end confdefs.h. */
6139 /* Override any GCC internal prototype to avoid an error.
6140 Use char because int might match the return type of a GCC
6141 builtin and then its argument prototype would still apply. */
6142 #ifdef __cplusplus
6143 extern "C"
6144 #endif
6145 char i386_set_ldt ();
6147 main ()
6149 return i386_set_ldt ();
6151 return 0;
6153 _ACEOF
6154 if ac_fn_c_try_link "$LINENO"; then :
6155 ac_cv_lib_i386_i386_set_ldt=yes
6156 else
6157 ac_cv_lib_i386_i386_set_ldt=no
6159 rm -f core conftest.err conftest.$ac_objext \
6160 conftest$ac_exeext conftest.$ac_ext
6161 LIBS=$ac_check_lib_save_LIBS
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6164 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6165 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6166 cat >>confdefs.h <<_ACEOF
6167 #define HAVE_LIBI386 1
6168 _ACEOF
6170 LIBS="-li386 $LIBS"
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6175 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6176 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6177 $as_echo_n "(cached) " >&6
6178 else
6179 ac_check_lib_save_LIBS=$LIBS
6180 LIBS="-lossaudio $LIBS"
6181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6182 /* end confdefs.h. */
6184 /* Override any GCC internal prototype to avoid an error.
6185 Use char because int might match the return type of a GCC
6186 builtin and then its argument prototype would still apply. */
6187 #ifdef __cplusplus
6188 extern "C"
6189 #endif
6190 char _oss_ioctl ();
6192 main ()
6194 return _oss_ioctl ();
6196 return 0;
6198 _ACEOF
6199 if ac_fn_c_try_link "$LINENO"; then :
6200 ac_cv_lib_ossaudio__oss_ioctl=yes
6201 else
6202 ac_cv_lib_ossaudio__oss_ioctl=no
6204 rm -f core conftest.err conftest.$ac_objext \
6205 conftest$ac_exeext conftest.$ac_ext
6206 LIBS=$ac_check_lib_save_LIBS
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6209 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6210 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6211 cat >>confdefs.h <<_ACEOF
6212 #define HAVE_LIBOSSAUDIO 1
6213 _ACEOF
6215 LIBS="-lossaudio $LIBS"
6220 OPENGL_LIBS=""
6224 # Check whether --enable-largefile was given.
6225 if test "${enable_largefile+set}" = set; then :
6226 enableval=$enable_largefile;
6229 if test "$enable_largefile" != no; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6232 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6233 if ${ac_cv_sys_largefile_CC+:} false; then :
6234 $as_echo_n "(cached) " >&6
6235 else
6236 ac_cv_sys_largefile_CC=no
6237 if test "$GCC" != yes; then
6238 ac_save_CC=$CC
6239 while :; do
6240 # IRIX 6.2 and later do not support large files by default,
6241 # so use the C compiler's -n32 option if that helps.
6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6244 #include <sys/types.h>
6245 /* Check that off_t can represent 2**63 - 1 correctly.
6246 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6247 since some C++ compilers masquerading as C compilers
6248 incorrectly reject 9223372036854775807. */
6249 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6250 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6251 && LARGE_OFF_T % 2147483647 == 1)
6252 ? 1 : -1];
6254 main ()
6258 return 0;
6260 _ACEOF
6261 if ac_fn_c_try_compile "$LINENO"; then :
6262 break
6264 rm -f core conftest.err conftest.$ac_objext
6265 CC="$CC -n32"
6266 if ac_fn_c_try_compile "$LINENO"; then :
6267 ac_cv_sys_largefile_CC=' -n32'; break
6269 rm -f core conftest.err conftest.$ac_objext
6270 break
6271 done
6272 CC=$ac_save_CC
6273 rm -f conftest.$ac_ext
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6277 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6278 if test "$ac_cv_sys_largefile_CC" != no; then
6279 CC=$CC$ac_cv_sys_largefile_CC
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6283 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6284 if ${ac_cv_sys_file_offset_bits+:} false; then :
6285 $as_echo_n "(cached) " >&6
6286 else
6287 while :; do
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6289 /* end confdefs.h. */
6290 #include <sys/types.h>
6291 /* Check that off_t can represent 2**63 - 1 correctly.
6292 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6293 since some C++ compilers masquerading as C compilers
6294 incorrectly reject 9223372036854775807. */
6295 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6296 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6297 && LARGE_OFF_T % 2147483647 == 1)
6298 ? 1 : -1];
6300 main ()
6304 return 0;
6306 _ACEOF
6307 if ac_fn_c_try_compile "$LINENO"; then :
6308 ac_cv_sys_file_offset_bits=no; break
6310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6312 /* end confdefs.h. */
6313 #define _FILE_OFFSET_BITS 64
6314 #include <sys/types.h>
6315 /* Check that off_t can represent 2**63 - 1 correctly.
6316 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6317 since some C++ compilers masquerading as C compilers
6318 incorrectly reject 9223372036854775807. */
6319 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6320 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6321 && LARGE_OFF_T % 2147483647 == 1)
6322 ? 1 : -1];
6324 main ()
6328 return 0;
6330 _ACEOF
6331 if ac_fn_c_try_compile "$LINENO"; then :
6332 ac_cv_sys_file_offset_bits=64; break
6334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6335 ac_cv_sys_file_offset_bits=unknown
6336 break
6337 done
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6340 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6341 case $ac_cv_sys_file_offset_bits in #(
6342 no | unknown) ;;
6344 cat >>confdefs.h <<_ACEOF
6345 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6346 _ACEOF
6348 esac
6349 rm -rf conftest*
6350 if test $ac_cv_sys_file_offset_bits = unknown; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6352 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6353 if ${ac_cv_sys_large_files+:} false; then :
6354 $as_echo_n "(cached) " >&6
6355 else
6356 while :; do
6357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6358 /* end confdefs.h. */
6359 #include <sys/types.h>
6360 /* Check that off_t can represent 2**63 - 1 correctly.
6361 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6362 since some C++ compilers masquerading as C compilers
6363 incorrectly reject 9223372036854775807. */
6364 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6365 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6366 && LARGE_OFF_T % 2147483647 == 1)
6367 ? 1 : -1];
6369 main ()
6373 return 0;
6375 _ACEOF
6376 if ac_fn_c_try_compile "$LINENO"; then :
6377 ac_cv_sys_large_files=no; break
6379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6382 #define _LARGE_FILES 1
6383 #include <sys/types.h>
6384 /* Check that off_t can represent 2**63 - 1 correctly.
6385 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6386 since some C++ compilers masquerading as C compilers
6387 incorrectly reject 9223372036854775807. */
6388 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6389 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6390 && LARGE_OFF_T % 2147483647 == 1)
6391 ? 1 : -1];
6393 main ()
6397 return 0;
6399 _ACEOF
6400 if ac_fn_c_try_compile "$LINENO"; then :
6401 ac_cv_sys_large_files=1; break
6403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6404 ac_cv_sys_large_files=unknown
6405 break
6406 done
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6409 $as_echo "$ac_cv_sys_large_files" >&6; }
6410 case $ac_cv_sys_large_files in #(
6411 no | unknown) ;;
6413 cat >>confdefs.h <<_ACEOF
6414 #define _LARGE_FILES $ac_cv_sys_large_files
6415 _ACEOF
6417 esac
6418 rm -rf conftest*
6425 ac_ext=c
6426 ac_cpp='$CPP $CPPFLAGS'
6427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6431 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6432 # On Suns, sometimes $CPP names a directory.
6433 if test -n "$CPP" && test -d "$CPP"; then
6434 CPP=
6436 if test -z "$CPP"; then
6437 if ${ac_cv_prog_CPP+:} false; then :
6438 $as_echo_n "(cached) " >&6
6439 else
6440 # Double quotes because CPP needs to be expanded
6441 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6443 ac_preproc_ok=false
6444 for ac_c_preproc_warn_flag in '' yes
6446 # Use a header file that comes with gcc, so configuring glibc
6447 # with a fresh cross-compiler works.
6448 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6449 # <limits.h> exists even on freestanding compilers.
6450 # On the NeXT, cc -E runs the code through the compiler's parser,
6451 # not just through cpp. "Syntax error" is here to catch this case.
6452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6453 /* end confdefs.h. */
6454 #ifdef __STDC__
6455 # include <limits.h>
6456 #else
6457 # include <assert.h>
6458 #endif
6459 Syntax error
6460 _ACEOF
6461 if ac_fn_c_try_cpp "$LINENO"; then :
6463 else
6464 # Broken: fails on valid input.
6465 continue
6467 rm -f conftest.err conftest.i conftest.$ac_ext
6469 # OK, works on sane cases. Now check whether nonexistent headers
6470 # can be detected and how.
6471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6473 #include <ac_nonexistent.h>
6474 _ACEOF
6475 if ac_fn_c_try_cpp "$LINENO"; then :
6476 # Broken: success on invalid input.
6477 continue
6478 else
6479 # Passes both tests.
6480 ac_preproc_ok=:
6481 break
6483 rm -f conftest.err conftest.i conftest.$ac_ext
6485 done
6486 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6487 rm -f conftest.i conftest.err conftest.$ac_ext
6488 if $ac_preproc_ok; then :
6489 break
6492 done
6493 ac_cv_prog_CPP=$CPP
6496 CPP=$ac_cv_prog_CPP
6497 else
6498 ac_cv_prog_CPP=$CPP
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6501 $as_echo "$CPP" >&6; }
6502 ac_preproc_ok=false
6503 for ac_c_preproc_warn_flag in '' yes
6505 # Use a header file that comes with gcc, so configuring glibc
6506 # with a fresh cross-compiler works.
6507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6508 # <limits.h> exists even on freestanding compilers.
6509 # On the NeXT, cc -E runs the code through the compiler's parser,
6510 # not just through cpp. "Syntax error" is here to catch this case.
6511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6513 #ifdef __STDC__
6514 # include <limits.h>
6515 #else
6516 # include <assert.h>
6517 #endif
6518 Syntax error
6519 _ACEOF
6520 if ac_fn_c_try_cpp "$LINENO"; then :
6522 else
6523 # Broken: fails on valid input.
6524 continue
6526 rm -f conftest.err conftest.i conftest.$ac_ext
6528 # OK, works on sane cases. Now check whether nonexistent headers
6529 # can be detected and how.
6530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6531 /* end confdefs.h. */
6532 #include <ac_nonexistent.h>
6533 _ACEOF
6534 if ac_fn_c_try_cpp "$LINENO"; then :
6535 # Broken: success on invalid input.
6536 continue
6537 else
6538 # Passes both tests.
6539 ac_preproc_ok=:
6540 break
6542 rm -f conftest.err conftest.i conftest.$ac_ext
6544 done
6545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6546 rm -f conftest.i conftest.err conftest.$ac_ext
6547 if $ac_preproc_ok; then :
6549 else
6550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6552 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6553 See \`config.log' for more details" "$LINENO" 5; }
6556 ac_ext=c
6557 ac_cpp='$CPP $CPPFLAGS'
6558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6564 $as_echo_n "checking for ANSI C header files... " >&6; }
6565 if ${ac_cv_header_stdc+:} false; then :
6566 $as_echo_n "(cached) " >&6
6567 else
6568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6570 #include <stdlib.h>
6571 #include <stdarg.h>
6572 #include <string.h>
6573 #include <float.h>
6576 main ()
6580 return 0;
6582 _ACEOF
6583 if ac_fn_c_try_compile "$LINENO"; then :
6584 ac_cv_header_stdc=yes
6585 else
6586 ac_cv_header_stdc=no
6588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6590 if test $ac_cv_header_stdc = yes; then
6591 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6593 /* end confdefs.h. */
6594 #include <string.h>
6596 _ACEOF
6597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6598 $EGREP "memchr" >/dev/null 2>&1; then :
6600 else
6601 ac_cv_header_stdc=no
6603 rm -f conftest*
6607 if test $ac_cv_header_stdc = yes; then
6608 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6610 /* end confdefs.h. */
6611 #include <stdlib.h>
6613 _ACEOF
6614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6615 $EGREP "free" >/dev/null 2>&1; then :
6617 else
6618 ac_cv_header_stdc=no
6620 rm -f conftest*
6624 if test $ac_cv_header_stdc = yes; then
6625 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6626 if test "$cross_compiling" = yes; then :
6628 else
6629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6630 /* end confdefs.h. */
6631 #include <ctype.h>
6632 #include <stdlib.h>
6633 #if ((' ' & 0x0FF) == 0x020)
6634 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6635 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6636 #else
6637 # define ISLOWER(c) \
6638 (('a' <= (c) && (c) <= 'i') \
6639 || ('j' <= (c) && (c) <= 'r') \
6640 || ('s' <= (c) && (c) <= 'z'))
6641 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6642 #endif
6644 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6646 main ()
6648 int i;
6649 for (i = 0; i < 256; i++)
6650 if (XOR (islower (i), ISLOWER (i))
6651 || toupper (i) != TOUPPER (i))
6652 return 2;
6653 return 0;
6655 _ACEOF
6656 if ac_fn_c_try_run "$LINENO"; then :
6658 else
6659 ac_cv_header_stdc=no
6661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6662 conftest.$ac_objext conftest.beam conftest.$ac_ext
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6668 $as_echo "$ac_cv_header_stdc" >&6; }
6669 if test $ac_cv_header_stdc = yes; then
6671 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6675 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6676 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6677 inttypes.h stdint.h unistd.h
6678 do :
6679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6680 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6682 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6683 cat >>confdefs.h <<_ACEOF
6684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6685 _ACEOF
6689 done
6692 for ac_header in \
6693 AL/al.h \
6694 ApplicationServices/ApplicationServices.h \
6695 AudioToolbox/AudioConverter.h \
6696 AudioUnit/AudioUnit.h \
6697 AudioUnit/AudioComponent.h \
6698 CL/cl.h \
6699 Carbon/Carbon.h \
6700 CommonCrypto/CommonDigest.h \
6701 CoreAudio/CoreAudio.h \
6702 CoreServices/CoreServices.h \
6703 DiskArbitration/DiskArbitration.h \
6704 IOKit/IOKitLib.h \
6705 IOKit/hid/IOHIDLib.h \
6706 OpenAL/al.h \
6707 OpenCL/opencl.h \
6708 QuickTime/ImageCompression.h \
6709 Security/Security.h \
6710 alias.h \
6711 alsa/asoundlib.h \
6712 arpa/inet.h \
6713 arpa/nameser.h \
6714 asm/types.h \
6715 asm/user.h \
6716 curses.h \
6717 direct.h \
6718 dirent.h \
6719 dlfcn.h \
6720 elf.h \
6721 float.h \
6722 fnmatch.h \
6723 getopt.h \
6724 gettext-po.h \
6725 grp.h \
6726 gsm.h \
6727 gsm/gsm.h \
6728 ieeefp.h \
6729 inet/mib2.h \
6730 io.h \
6731 kstat.h \
6732 lber.h \
6733 ldap.h \
6734 libproc.h \
6735 link.h \
6736 linux/cdrom.h \
6737 linux/compiler.h \
6738 linux/filter.h \
6739 linux/hdreg.h \
6740 linux/input.h \
6741 linux/ioctl.h \
6742 linux/joystick.h \
6743 linux/major.h \
6744 linux/param.h \
6745 linux/serial.h \
6746 linux/types.h \
6747 linux/ucdrom.h \
6748 lwp.h \
6749 mach-o/nlist.h \
6750 mach-o/loader.h \
6751 mach/mach.h \
6752 mach/machine.h \
6753 machine/cpu.h \
6754 machine/limits.h \
6755 machine/sysarch.h \
6756 mntent.h \
6757 ncurses.h \
6758 netdb.h \
6759 netinet/in.h \
6760 netinet/in_systm.h \
6761 netinet/tcp.h \
6762 netinet/tcp_fsm.h \
6763 pcap/pcap.h \
6764 poll.h \
6765 port.h \
6766 process.h \
6767 pthread.h \
6768 pwd.h \
6769 sched.h \
6770 scsi/scsi.h \
6771 scsi/scsi_ioctl.h \
6772 scsi/sg.h \
6773 stdbool.h \
6774 stdint.h \
6775 stropts.h \
6776 sys/asoundlib.h \
6777 sys/attr.h \
6778 sys/cdio.h \
6779 sys/elf32.h \
6780 sys/epoll.h \
6781 sys/event.h \
6782 sys/exec_elf.h \
6783 sys/filio.h \
6784 sys/inotify.h \
6785 sys/ioctl.h \
6786 sys/ipc.h \
6787 sys/limits.h \
6788 sys/link.h \
6789 sys/mman.h \
6790 sys/modem.h \
6791 sys/msg.h \
6792 sys/mtio.h \
6793 sys/param.h \
6794 sys/poll.h \
6795 sys/prctl.h \
6796 sys/protosw.h \
6797 sys/ptrace.h \
6798 sys/queue.h \
6799 sys/resource.h \
6800 sys/scsiio.h \
6801 sys/shm.h \
6802 sys/signal.h \
6803 sys/socket.h \
6804 sys/socketvar.h \
6805 sys/sockio.h \
6806 sys/statvfs.h \
6807 sys/strtio.h \
6808 sys/syscall.h \
6809 sys/tihdr.h \
6810 sys/time.h \
6811 sys/timeout.h \
6812 sys/times.h \
6813 sys/uio.h \
6814 sys/user.h \
6815 sys/utsname.h \
6816 sys/vm86.h \
6817 sys/vnode.h \
6818 sys/wait.h \
6819 syscall.h \
6820 termios.h \
6821 unistd.h \
6822 utime.h \
6823 valgrind/memcheck.h \
6824 valgrind/valgrind.h \
6825 zlib.h
6827 do :
6828 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6829 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6830 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6831 cat >>confdefs.h <<_ACEOF
6832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6833 _ACEOF
6837 done
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6840 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6841 if ${ac_cv_header_stat_broken+:} false; then :
6842 $as_echo_n "(cached) " >&6
6843 else
6844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6845 /* end confdefs.h. */
6846 #include <sys/types.h>
6847 #include <sys/stat.h>
6849 #if defined S_ISBLK && defined S_IFDIR
6850 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6851 #endif
6853 #if defined S_ISBLK && defined S_IFCHR
6854 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6855 #endif
6857 #if defined S_ISLNK && defined S_IFREG
6858 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6859 #endif
6861 #if defined S_ISSOCK && defined S_IFREG
6862 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6863 #endif
6865 _ACEOF
6866 if ac_fn_c_try_compile "$LINENO"; then :
6867 ac_cv_header_stat_broken=no
6868 else
6869 ac_cv_header_stat_broken=yes
6871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6874 $as_echo "$ac_cv_header_stat_broken" >&6; }
6875 if test $ac_cv_header_stat_broken = yes; then
6877 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6883 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6884 do :
6885 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6886 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6887 #ifdef HAVE_SYS_PARAM_H
6888 # include <sys/param.h>
6889 #endif
6891 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6892 cat >>confdefs.h <<_ACEOF
6893 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6894 _ACEOF
6898 done
6901 for ac_header in \
6902 netinet/ip.h \
6903 net/if.h \
6904 net/if_arp.h \
6905 net/if_dl.h \
6906 net/if_types.h \
6907 net/route.h \
6908 netinet/if_ether.h \
6909 netinet/if_inarp.h \
6910 netinet/in_pcb.h \
6911 netinet/ip_icmp.h \
6912 netinet/ip_var.h \
6913 netinet/udp.h \
6914 netipx/ipx.h \
6915 sys/un.h \
6917 do :
6918 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6919 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6920 #ifdef HAVE_SYS_SOCKET_H
6921 # include <sys/socket.h>
6922 #endif
6923 #ifdef HAVE_SYS_SOCKETVAR_H
6924 # include <sys/socketvar.h>
6925 #endif
6926 #ifdef HAVE_NET_ROUTE_H
6927 # include <net/route.h>
6928 #endif
6929 #ifdef HAVE_NETINET_IN_H
6930 # include <netinet/in.h>
6931 #endif
6932 #ifdef HAVE_NETINET_IN_SYSTM_H
6933 # include <netinet/in_systm.h>
6934 #endif
6935 #ifdef HAVE_NET_IF_H
6936 # include <net/if.h>
6937 #endif
6938 #ifdef HAVE_NETINET_IP_H
6939 # include <netinet/ip.h>
6940 #endif
6942 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6943 cat >>confdefs.h <<_ACEOF
6944 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6945 _ACEOF
6949 done
6952 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6953 do :
6954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6955 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6956 #ifdef HAVE_ALIAS_H
6957 # include <alias.h>
6958 #endif
6959 #ifdef HAVE_SYS_SOCKET_H
6960 # include <sys/socket.h>
6961 #endif
6962 #ifdef HAVE_SYS_SOCKETVAR_H
6963 # include <sys/socketvar.h>
6964 #endif
6965 #ifdef HAVE_SYS_TIMEOUT_H
6966 # include <sys/timeout.h>
6967 #endif
6968 #ifdef HAVE_NETINET_IN_H
6969 # include <netinet/in.h>
6970 #endif
6971 #ifdef HAVE_NETINET_IN_SYSTM_H
6972 # include <netinet/in_systm.h>
6973 #endif
6974 #ifdef HAVE_NETINET_IP_H
6975 # include <netinet/ip.h>
6976 #endif
6977 #ifdef HAVE_NETINET_IP_VAR_H
6978 # include <netinet/ip_var.h>
6979 #endif
6980 #ifdef HAVE_NETINET_IP_ICMP_H
6981 # include <netinet/ip_icmp.h>
6982 #endif
6983 #ifdef HAVE_NETINET_UDP_H
6984 # include <netinet/udp.h>
6985 #endif
6986 #ifdef HAVE_NETINET_TCP_H
6987 # include <netinet/tcp.h>
6988 #endif
6989 #ifdef HAVE_NETINET_TCP_TIMER_H
6990 #include <netinet/tcp_timer.h>
6991 #endif
6993 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6994 cat >>confdefs.h <<_ACEOF
6995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6996 _ACEOF
7000 done
7003 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7004 do :
7005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7006 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7007 #ifdef HAVE_ASM_TYPES_H
7008 # include <asm/types.h>
7009 #endif
7010 #ifdef HAVE_SYS_SOCKET_H
7011 # include <sys/socket.h>
7012 #endif
7013 #ifdef HAVE_LINUX_TYPES_H
7014 # include <linux/types.h>
7015 #endif
7017 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7018 cat >>confdefs.h <<_ACEOF
7019 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7020 _ACEOF
7024 done
7027 for ac_header in mach-o/dyld_images.h
7028 do :
7029 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7030 # include <stdbool.h>
7031 #endif
7032 #ifdef HAVE_STDINT_H
7033 # include <stdint.h>
7034 #endif
7036 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7037 cat >>confdefs.h <<_ACEOF
7038 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7039 _ACEOF
7043 done
7046 for ac_header in resolv.h
7047 do :
7048 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7049 #ifdef HAVE_SYS_SOCKET_H
7050 # include <sys/socket.h>
7051 #endif
7052 #ifdef HAVE_NETINET_IN_H
7053 # include <netinet/in.h>
7054 #endif
7055 #ifdef HAVE_ARPA_NAMESER_H
7056 # include <arpa/nameser.h>
7057 #endif
7059 if test "x$ac_cv_header_resolv_h" = xyes; then :
7060 cat >>confdefs.h <<_ACEOF
7061 #define HAVE_RESOLV_H 1
7062 _ACEOF
7066 done
7069 for ac_header in ifaddrs.h
7070 do :
7071 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7073 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7074 cat >>confdefs.h <<_ACEOF
7075 #define HAVE_IFADDRS_H 1
7076 _ACEOF
7080 done
7083 for ac_header in sys/ucontext.h
7084 do :
7085 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7087 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7088 cat >>confdefs.h <<_ACEOF
7089 #define HAVE_SYS_UCONTEXT_H 1
7090 _ACEOF
7094 done
7097 for ac_header in sys/thr.h
7098 do :
7099 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7100 #ifdef HAVE_SYS_UCONTEXT_H
7101 #include <sys/ucontext.h>
7102 #endif
7104 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7105 cat >>confdefs.h <<_ACEOF
7106 #define HAVE_SYS_THR_H 1
7107 _ACEOF
7111 done
7114 for ac_header in pthread_np.h
7115 do :
7116 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7117 #include <pthread.h>
7118 #endif
7120 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7121 cat >>confdefs.h <<_ACEOF
7122 #define HAVE_PTHREAD_NP_H 1
7123 _ACEOF
7127 done
7130 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7131 do :
7132 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7133 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7134 #include <sys/time.h>
7135 #endif
7136 #include <sys/types.h>
7137 #ifdef HAVE_ASM_TYPES_H
7138 #include <asm/types.h>
7139 #endif
7141 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7142 cat >>confdefs.h <<_ACEOF
7143 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7144 _ACEOF
7148 done
7151 for ac_header in libprocstat.h
7152 do :
7153 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7154 #include <sys/param.h>
7155 #endif
7156 #ifdef HAVE_SYS_QUEUE_H
7157 #include <sys/queue.h>
7158 #endif
7159 #ifdef HAVE_SYS_SOCKET_H
7160 #include <sys/socket.h>
7161 #endif
7163 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7164 cat >>confdefs.h <<_ACEOF
7165 #define HAVE_LIBPROCSTAT_H 1
7166 _ACEOF
7170 done
7174 dlldir="\${libdir}/wine"
7176 DLLFLAGS="-D_REENTRANT"
7178 LDRPATH_INSTALL=""
7180 LDRPATH_LOCAL=""
7182 LDEXECFLAGS=""
7184 LIBEXT="so"
7185 DLLEXT=".so"
7186 IMPLIBEXT="def"
7187 STATIC_IMPLIBEXT="def.a"
7188 # Extract the first word of "ldd", so it can be a program name with args.
7189 set dummy ldd; ac_word=$2
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191 $as_echo_n "checking for $ac_word... " >&6; }
7192 if ${ac_cv_path_LDD+:} false; then :
7193 $as_echo_n "(cached) " >&6
7194 else
7195 case $LDD in
7196 [\\/]* | ?:[\\/]*)
7197 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7201 as_dummy="/sbin:/usr/sbin:$PATH"
7202 for as_dir in $as_dummy
7204 IFS=$as_save_IFS
7205 test -z "$as_dir" && as_dir=.
7206 for ac_exec_ext in '' $ac_executable_extensions; do
7207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7208 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210 break 2
7212 done
7213 done
7214 IFS=$as_save_IFS
7216 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7218 esac
7220 LDD=$ac_cv_path_LDD
7221 if test -n "$LDD"; then
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7223 $as_echo "$LDD" >&6; }
7224 else
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7226 $as_echo "no" >&6; }
7230 if test -n "$ac_tool_prefix"; then
7231 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7232 set dummy ${ac_tool_prefix}otool; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 $as_echo_n "checking for $ac_word... " >&6; }
7235 if ${ac_cv_prog_OTOOL+:} false; then :
7236 $as_echo_n "(cached) " >&6
7237 else
7238 if test -n "$OTOOL"; then
7239 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7240 else
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 for as_dir in $PATH
7244 IFS=$as_save_IFS
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7248 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 break 2
7252 done
7253 done
7254 IFS=$as_save_IFS
7258 OTOOL=$ac_cv_prog_OTOOL
7259 if test -n "$OTOOL"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7261 $as_echo "$OTOOL" >&6; }
7262 else
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7269 if test -z "$ac_cv_prog_OTOOL"; then
7270 ac_ct_OTOOL=$OTOOL
7271 # Extract the first word of "otool", so it can be a program name with args.
7272 set dummy otool; ac_word=$2
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274 $as_echo_n "checking for $ac_word... " >&6; }
7275 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7276 $as_echo_n "(cached) " >&6
7277 else
7278 if test -n "$ac_ct_OTOOL"; then
7279 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7280 else
7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282 for as_dir in $PATH
7284 IFS=$as_save_IFS
7285 test -z "$as_dir" && as_dir=.
7286 for ac_exec_ext in '' $ac_executable_extensions; do
7287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7288 ac_cv_prog_ac_ct_OTOOL="otool"
7289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290 break 2
7292 done
7293 done
7294 IFS=$as_save_IFS
7298 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7299 if test -n "$ac_ct_OTOOL"; then
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7301 $as_echo "$ac_ct_OTOOL" >&6; }
7302 else
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 $as_echo "no" >&6; }
7307 if test "x$ac_ct_OTOOL" = x; then
7308 OTOOL="otool"
7309 else
7310 case $cross_compiling:$ac_tool_warned in
7311 yes:)
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7314 ac_tool_warned=yes ;;
7315 esac
7316 OTOOL=$ac_ct_OTOOL
7318 else
7319 OTOOL="$ac_cv_prog_OTOOL"
7322 if test -n "$ac_tool_prefix"; then
7323 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7324 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326 $as_echo_n "checking for $ac_word... " >&6; }
7327 if ${ac_cv_prog_READELF+:} false; then :
7328 $as_echo_n "(cached) " >&6
7329 else
7330 if test -n "$READELF"; then
7331 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7332 else
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 for as_dir in $PATH
7336 IFS=$as_save_IFS
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7340 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 break 2
7344 done
7345 done
7346 IFS=$as_save_IFS
7350 READELF=$ac_cv_prog_READELF
7351 if test -n "$READELF"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7353 $as_echo "$READELF" >&6; }
7354 else
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7361 if test -z "$ac_cv_prog_READELF"; then
7362 ac_ct_READELF=$READELF
7363 # Extract the first word of "readelf", so it can be a program name with args.
7364 set dummy readelf; ac_word=$2
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366 $as_echo_n "checking for $ac_word... " >&6; }
7367 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7368 $as_echo_n "(cached) " >&6
7369 else
7370 if test -n "$ac_ct_READELF"; then
7371 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7372 else
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 for as_dir in $PATH
7376 IFS=$as_save_IFS
7377 test -z "$as_dir" && as_dir=.
7378 for ac_exec_ext in '' $ac_executable_extensions; do
7379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7380 ac_cv_prog_ac_ct_READELF="readelf"
7381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 break 2
7384 done
7385 done
7386 IFS=$as_save_IFS
7390 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7391 if test -n "$ac_ct_READELF"; then
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7393 $as_echo "$ac_ct_READELF" >&6; }
7394 else
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7396 $as_echo "no" >&6; }
7399 if test "x$ac_ct_READELF" = x; then
7400 READELF="true"
7401 else
7402 case $cross_compiling:$ac_tool_warned in
7403 yes:)
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7406 ac_tool_warned=yes ;;
7407 esac
7408 READELF=$ac_ct_READELF
7410 else
7411 READELF="$ac_cv_prog_READELF"
7414 wine_rules_file=conf$$rules.make
7415 rm -f $wine_rules_file
7416 SUBDIRS=""
7418 DISABLED_SUBDIRS=""
7420 CONFIGURE_TARGETS=""
7422 ALL_TEST_RESOURCES=""
7425 wine_fn_append_file ()
7427 as_fn_append $1 " \\$as_nl $2"
7430 wine_fn_append_rule ()
7432 $as_echo "$1" >>$wine_rules_file
7435 wine_fn_has_flag ()
7437 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7440 wine_fn_all_rules ()
7442 wine_fn_append_file SUBDIRS $ac_dir
7443 wine_fn_append_rule \
7444 "all: $ac_dir
7445 .PHONY: $ac_dir
7446 $ac_dir: dummy
7447 @cd $ac_dir && \$(MAKE)"
7450 wine_fn_install_rules ()
7452 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7454 wine_fn_append_rule \
7455 ".PHONY: $ac_dir/install $ac_dir/uninstall
7456 $ac_dir/install:: $ac_dir
7457 @cd $ac_dir && \$(MAKE) install
7458 $ac_dir/uninstall::
7459 @cd $ac_dir && \$(MAKE) uninstall
7460 install:: $ac_dir/install
7461 __uninstall__: $ac_dir/uninstall"
7463 if wine_fn_has_flag install-lib
7464 then
7465 wine_fn_append_rule \
7466 ".PHONY: $ac_dir/install-lib
7467 $ac_dir/install-lib:: $ac_dir
7468 @cd $ac_dir && \$(MAKE) install-lib
7469 install-lib:: $ac_dir/install-lib"
7472 if wine_fn_has_flag install-dev
7473 then
7474 wine_fn_append_rule \
7475 ".PHONY: $ac_dir/install-dev
7476 $ac_dir/install-dev:: $ac_dir
7477 @cd $ac_dir && \$(MAKE) install-dev
7478 install-dev:: $ac_dir/install-dev"
7482 wine_fn_clean_rules ()
7484 ac_clean=$@
7486 if wine_fn_has_flag clean
7487 then
7488 wine_fn_append_rule \
7489 "$ac_dir/clean: dummy
7490 @cd $ac_dir && \$(MAKE) clean"
7491 else
7492 wine_fn_append_rule \
7493 "$ac_dir/clean: dummy
7494 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7496 wine_fn_append_rule \
7497 "__clean__: $ac_dir/clean
7498 .PHONY: $ac_dir/clean"
7501 wine_fn_disabled_rules ()
7503 ac_clean=$@
7505 wine_fn_append_file SUBDIRS $ac_dir
7506 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7507 wine_fn_append_rule \
7508 "__clean__: $ac_dir/clean
7509 .PHONY: $ac_dir/clean
7510 $ac_dir/clean: dummy
7511 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7514 wine_fn_config_makefile ()
7516 ac_dir=$1
7517 ac_enable=$2
7518 ac_flags=$3
7520 case $ac_dir in
7521 fonts|server) test -z "$with_wine64" || return ;;
7522 esac
7523 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7524 wine_fn_disabled_rules; return
7526 wine_fn_all_rules
7527 wine_fn_install_rules
7528 wine_fn_clean_rules
7531 wine_fn_config_lib ()
7533 ac_name=$1
7534 ac_flags=$2
7535 ac_dir=dlls/$ac_name
7536 ac_deps="include"
7538 if test "x$enable_tools" = xno; then :
7540 else
7541 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7543 wine_fn_all_rules
7544 wine_fn_clean_rules
7546 wine_fn_append_rule \
7547 ".PHONY: $ac_dir/install $ac_dir/uninstall
7548 $ac_dir/install:: $ac_dir
7549 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7550 $ac_dir/uninstall::
7551 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7552 install install-dev:: $ac_dir/install
7553 __uninstall__: $ac_dir/uninstall
7554 __builddeps__: $ac_dir
7555 $ac_dir: $ac_deps"
7558 wine_fn_config_dll ()
7560 ac_name=$1
7561 ac_dir=dlls/$ac_name
7562 ac_enable=$2
7563 ac_flags=$3
7564 ac_implib=${4:-$ac_name}
7565 ac_file=$ac_dir/lib$ac_implib
7566 ac_dll=$ac_name
7567 ac_deps="include"
7568 ac_implibflags=""
7570 if test "x$enable_tools" = xno; then :
7572 else
7573 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7575 case $ac_name in
7576 *16) ac_implibflags=" -m16" ;;
7577 *.*) ;;
7578 *) ac_dll=$ac_dll.dll ;;
7579 esac
7581 ac_clean=
7582 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7583 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7585 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7586 if test "$ac_enable" != enable_win16
7587 then
7588 wine_fn_clean_rules $ac_clean
7589 wine_fn_append_file SUBDIRS $ac_dir
7590 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7591 else
7592 wine_fn_disabled_rules $ac_clean
7593 return
7595 else
7596 wine_fn_all_rules
7597 wine_fn_clean_rules $ac_clean
7598 wine_fn_append_rule \
7599 "$ac_dir: __builddeps__
7600 manpages htmlpages sgmlpages xmlpages::
7601 @cd $ac_dir && \$(MAKE) \$@
7602 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7603 install install-lib:: $ac_dir/install-lib
7604 __uninstall__: $ac_dir/uninstall"
7605 if test -n "$DLLEXT"
7606 then
7607 wine_fn_append_rule \
7608 "$ac_dir/install-lib:: $ac_dir
7609 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7610 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7611 $ac_dir/uninstall::
7612 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7613 else
7614 wine_fn_append_rule \
7615 "$ac_dir/install-lib:: $ac_dir
7616 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7617 $ac_dir/uninstall::
7618 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7622 if wine_fn_has_flag staticimplib
7623 then
7624 wine_fn_append_rule \
7625 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7626 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7627 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7628 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7629 $ac_file.$STATIC_IMPLIBEXT: dummy
7630 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7631 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7632 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7633 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7634 $ac_dir/uninstall::
7635 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7636 install install-dev:: $ac_dir/install-dev
7637 __uninstall__: $ac_dir/uninstall"
7639 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7640 then
7641 wine_fn_append_rule \
7642 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7643 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7644 $ac_dir/uninstall::
7645 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7648 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7649 then
7650 wine_fn_append_rule \
7651 "__builddeps__: $ac_file.cross.a
7652 $ac_file.cross.a: dummy
7653 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7656 elif wine_fn_has_flag implib
7657 then
7658 wine_fn_append_rule \
7659 "__builddeps__: $ac_file.$IMPLIBEXT
7660 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7661 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7662 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7663 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7664 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7665 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7666 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7667 $ac_dir/uninstall::
7668 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7669 install install-dev:: $ac_dir/install-dev
7670 __uninstall__: $ac_dir/uninstall"
7671 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7672 then
7673 wine_fn_append_rule \
7674 "__builddeps__: $ac_file.cross.a
7675 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7676 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7681 wine_fn_config_program ()
7683 ac_name=$1
7684 ac_dir=programs/$ac_name
7685 ac_enable=$2
7686 ac_flags=$3
7687 ac_program=$ac_name
7689 case $ac_name in
7690 *.*) ;;
7691 *) ac_program=$ac_program.exe ;;
7692 esac
7694 ac_clean=
7695 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7696 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7698 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7699 wine_fn_disabled_rules $ac_clean; return
7702 wine_fn_all_rules
7703 wine_fn_clean_rules $ac_clean
7704 wine_fn_append_rule "$ac_dir: __builddeps__"
7706 wine_fn_has_flag install || return
7707 wine_fn_append_rule \
7708 ".PHONY: $ac_dir/install $ac_dir/uninstall
7709 install install-lib:: $ac_dir/install
7710 __uninstall__: $ac_dir/uninstall"
7712 if test -n "$DLLEXT"
7713 then
7714 wine_fn_append_rule \
7715 "$ac_dir/install:: $ac_dir
7716 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7717 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7718 $ac_dir/uninstall::
7719 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7721 if test -z "$with_wine64" && wine_fn_has_flag installbin
7722 then
7723 wine_fn_append_rule \
7724 "$ac_dir/install:: __tooldeps__
7725 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7726 $ac_dir/uninstall::
7727 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7729 else
7730 wine_fn_append_rule \
7731 "$ac_dir/install:: $ac_dir
7732 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7733 $ac_dir/uninstall::
7734 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7737 if test -z "$with_wine64" && wine_fn_has_flag manpage
7738 then
7739 wine_fn_append_rule \
7740 "$ac_dir/install:: $ac_dir
7741 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7742 $ac_dir/uninstall::
7743 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7747 wine_fn_config_test ()
7749 ac_dir=$1
7750 ac_name=$2
7751 ac_flags=$3
7753 ac_clean=
7754 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7755 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7757 if test "x$enable_tests" = xno; then :
7758 wine_fn_disabled_rules $ac_clean; return
7761 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7762 wine_fn_all_rules
7763 wine_fn_clean_rules $ac_clean
7765 wine_fn_append_rule \
7766 "$ac_dir: __builddeps__
7767 programs/winetest: $ac_dir
7768 check test: $ac_dir/test
7769 .PHONY: $ac_dir/test
7770 $ac_dir/test: dummy
7771 @cd $ac_dir && \$(MAKE) test
7772 testclean::
7773 \$(RM) $ac_dir/*.ok"
7775 if test -n "$CROSSTARGET"
7776 then
7777 wine_fn_append_rule \
7778 "crosstest: $ac_dir/crosstest
7779 .PHONY: $ac_dir/crosstest
7780 $ac_dir/crosstest: __builddeps__ dummy
7781 @cd $ac_dir && \$(MAKE) crosstest"
7785 wine_fn_config_tool ()
7787 ac_dir=$1
7788 ac_flags=$2
7789 if test "x$enable_tools" = xno; then :
7790 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7793 wine_fn_all_rules
7794 wine_fn_install_rules
7795 wine_fn_clean_rules
7797 wine_fn_append_rule "__tooldeps__: $ac_dir"
7798 wine_fn_append_rule "$ac_dir: libs/port"
7799 case $ac_dir in
7800 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7801 esac
7804 wine_fn_config_symlink ()
7806 ac_linkdir=
7807 if test "x$1" = "x-d"
7808 then
7809 ac_linkdir=$2
7810 shift; shift
7812 ac_links=$@
7813 wine_fn_append_rule \
7814 "$ac_links:
7815 @./config.status \$@"
7816 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7817 test -n "$ac_linkdir" || return
7818 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7821 wine_binary="wine"
7822 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7823 WINELOADER_PROGRAMS="$wine_binary"
7825 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7827 case $host_os in
7828 cygwin*|mingw32*)
7829 if test -n "$ac_tool_prefix"; then
7830 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7831 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7833 $as_echo_n "checking for $ac_word... " >&6; }
7834 if ${ac_cv_prog_DLLTOOL+:} false; then :
7835 $as_echo_n "(cached) " >&6
7836 else
7837 if test -n "$DLLTOOL"; then
7838 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7839 else
7840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7841 for as_dir in $PATH
7843 IFS=$as_save_IFS
7844 test -z "$as_dir" && as_dir=.
7845 for ac_exec_ext in '' $ac_executable_extensions; do
7846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7847 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7849 break 2
7851 done
7852 done
7853 IFS=$as_save_IFS
7857 DLLTOOL=$ac_cv_prog_DLLTOOL
7858 if test -n "$DLLTOOL"; then
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7860 $as_echo "$DLLTOOL" >&6; }
7861 else
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7863 $as_echo "no" >&6; }
7868 if test -z "$ac_cv_prog_DLLTOOL"; then
7869 ac_ct_DLLTOOL=$DLLTOOL
7870 # Extract the first word of "dlltool", so it can be a program name with args.
7871 set dummy dlltool; ac_word=$2
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7873 $as_echo_n "checking for $ac_word... " >&6; }
7874 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7875 $as_echo_n "(cached) " >&6
7876 else
7877 if test -n "$ac_ct_DLLTOOL"; then
7878 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7879 else
7880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7881 for as_dir in $PATH
7883 IFS=$as_save_IFS
7884 test -z "$as_dir" && as_dir=.
7885 for ac_exec_ext in '' $ac_executable_extensions; do
7886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7887 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7889 break 2
7891 done
7892 done
7893 IFS=$as_save_IFS
7897 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7898 if test -n "$ac_ct_DLLTOOL"; then
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7900 $as_echo "$ac_ct_DLLTOOL" >&6; }
7901 else
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7903 $as_echo "no" >&6; }
7906 if test "x$ac_ct_DLLTOOL" = x; then
7907 DLLTOOL="false"
7908 else
7909 case $cross_compiling:$ac_tool_warned in
7910 yes:)
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7913 ac_tool_warned=yes ;;
7914 esac
7915 DLLTOOL=$ac_ct_DLLTOOL
7917 else
7918 DLLTOOL="$ac_cv_prog_DLLTOOL"
7921 LIBEXT="dll"
7922 DLLEXT=""
7923 IMPLIBEXT="a"
7924 STATIC_IMPLIBEXT="a"
7925 enable_iphlpapi=${enable_iphlpapi:-no}
7926 enable_kernel32=${enable_kernel32:-no}
7927 enable_msvcrt=${enable_msvcrt:-no}
7928 enable_ntdll=${enable_ntdll:-no}
7929 enable_ws2_32=${enable_ws2_32:-no}
7930 enable_loader=${enable_loader:-no}
7931 enable_server=${enable_server:-no}
7932 with_x=${with_x:-no}
7933 with_pthread=${with_pthread:-no}
7935 crtlibs=""
7936 case $host_os in
7937 mingw32*)
7938 crtlibs="-lmsvcrt"
7939 SOCKET_LIBS="-lws2_32"
7941 esac
7943 LIBWINE_SHAREDLIB="libwine.dll"
7945 LIBWINE_IMPORTLIB="libwine.a"
7947 LIBWINE_INSTALL_LIB="libwine.dll"
7949 LIBWINE_INSTALL_DEV="libwine.a"
7951 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7953 LIBWINE_DEPENDS="wine.def"
7957 darwin*|macosx*)
7958 for ac_header in libunwind.h
7959 do :
7960 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7962 cat >>confdefs.h <<_ACEOF
7963 #define HAVE_LIBUNWIND_H 1
7964 _ACEOF
7968 done
7970 LIBEXT="dylib"
7971 DLLFLAGS="$DLLFLAGS -fPIC"
7972 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7973 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7974 COREFOUNDATION_LIBS="-framework CoreFoundation"
7976 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7978 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7980 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7982 CORESERVICES_LIBS="-framework CoreServices"
7984 APPKIT_LIBS="-framework AppKit"
7986 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7988 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7989 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7990 $as_echo_n "(cached) " >&6
7991 else
7992 ac_wine_try_cflags_saved=$CFLAGS
7993 CFLAGS="$CFLAGS -Wl,-no_pie"
7994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7995 /* end confdefs.h. */
7996 int main(int argc, char **argv) { return 0; }
7997 _ACEOF
7998 if ac_fn_c_try_link "$LINENO"; then :
7999 ac_cv_cflags__Wl__no_pie=yes
8000 else
8001 ac_cv_cflags__Wl__no_pie=no
8003 rm -f core conftest.err conftest.$ac_objext \
8004 conftest$ac_exeext conftest.$ac_ext
8005 CFLAGS=$ac_wine_try_cflags_saved
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8008 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8009 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8010 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8012 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8013 then
8014 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8017 if test "$ac_cv_header_Security_Security_h" = "yes"
8018 then
8019 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8021 ac_save_LIBS="$LIBS"
8022 LIBS="$LIBS $SECURITY_LIBS"
8023 for ac_func in SSLCopyPeerCertificates
8024 do :
8025 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8026 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8027 cat >>confdefs.h <<_ACEOF
8028 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8029 _ACEOF
8032 done
8034 LIBS="$ac_save_LIBS"
8035 with_gnutls=${with_gnutls:-no}
8037 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8038 then
8039 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8040 then
8041 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8043 else
8044 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8047 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8048 ac_save_LIBS="$LIBS"
8049 LIBS="$LIBS $COREAUDIO_LIBS"
8050 for ac_func in AUGraphAddNode
8051 do :
8052 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8053 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8054 cat >>confdefs.h <<_ACEOF
8055 #define HAVE_AUGRAPHADDNODE 1
8056 _ACEOF
8059 done
8061 LIBS="$ac_save_LIBS"
8063 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8064 then
8065 OPENAL_LIBS="-framework OpenAL"
8068 cat >>confdefs.h <<_ACEOF
8069 #define HAVE_OPENAL 1
8070 _ACEOF
8072 ac_cv_lib_openal=yes
8074 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8075 then
8076 OPENCL_LIBS="-framework OpenCL"
8078 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8080 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8081 then
8082 ac_save_LIBS="$LIBS"
8083 LIBS="$LIBS $IOKIT_LIBS"
8084 for ac_func in IOHIDManagerCreate
8085 do :
8086 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8087 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8088 cat >>confdefs.h <<_ACEOF
8089 #define HAVE_IOHIDMANAGERCREATE 1
8090 _ACEOF
8093 done
8095 LIBS="$ac_save_LIBS"
8097 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8098 then
8099 ac_save_LIBS="$LIBS"
8100 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8102 $as_echo_n "checking for the QuickTime framework... " >&6; }
8103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8104 /* end confdefs.h. */
8105 #include <QuickTime/ImageCompression.h>
8107 main ()
8109 CodecManagerVersion(NULL);
8111 return 0;
8113 _ACEOF
8114 if ac_fn_c_try_link "$LINENO"; then :
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8116 $as_echo "yes" >&6; }
8117 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8119 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8120 else
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8122 $as_echo "no" >&6; }
8123 ac_cv_header_QuickTime_ImageCompression_h=no
8125 rm -f core conftest.err conftest.$ac_objext \
8126 conftest$ac_exeext conftest.$ac_ext
8127 LIBS="$ac_save_LIBS"
8129 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8130 then
8131 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8133 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8134 then
8135 CARBON_LIBS="-framework Carbon"
8139 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8140 then
8141 ac_save_LIBS="$LIBS"
8142 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8143 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8144 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8145 enable_winemac_drv=${enable_winemac_drv:-yes}
8148 LIBS="$ac_save_LIBS"
8151 if test "x$enable_win16" = "xyes"
8152 then
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8154 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8155 if test "$cross_compiling" = yes; then :
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8157 $as_echo "cross-compiling, assuming yes" >&6; }
8158 else
8159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8160 /* end confdefs.h. */
8161 asm(".text\n"
8162 "bad:\tnop;nop\n"
8163 "good:\tnop;nop\n\t"
8164 ".globl _testfunc\n"
8165 "_testfunc:\tcallw good");
8166 extern void testfunc();
8168 main ()
8170 unsigned short *p = (unsigned short *)testfunc;
8171 return p[0] != 0xe866 || p[1] != 0xfffa
8173 return 0;
8175 _ACEOF
8176 if ac_fn_c_try_run "$LINENO"; then :
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8178 $as_echo "yes" >&6; }
8179 else
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8181 $as_echo "no" >&6; }
8182 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
8184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8185 conftest.$ac_objext conftest.beam conftest.$ac_ext
8190 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8192 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8194 LIBWINE_INSTALL_DEV="libwine.dylib"
8196 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8198 WINELOADER_DEPENDS="wine_info.plist"
8202 linux-android*)
8203 DLLFLAGS="$DLLFLAGS -fPIC"
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8205 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8206 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8207 $as_echo_n "(cached) " >&6
8208 else
8209 ac_wine_try_cflags_saved=$CFLAGS
8210 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8212 /* end confdefs.h. */
8213 int main(int argc, char **argv) { return 0; }
8214 _ACEOF
8215 if ac_fn_c_try_link "$LINENO"; then :
8216 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8217 else
8218 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8220 rm -f core conftest.err conftest.$ac_objext \
8221 conftest$ac_exeext conftest.$ac_ext
8222 CFLAGS=$ac_wine_try_cflags_saved
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8225 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8226 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8227 LDEXECFLAGS="-Wl,--export-dynamic"
8229 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8231 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8232 if eval \${$as_ac_var+:} false; then :
8233 $as_echo_n "(cached) " >&6
8234 else
8235 ac_wine_try_cflags_saved=$CFLAGS
8236 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8238 /* end confdefs.h. */
8239 int main(int argc, char **argv) { return 0; }
8240 _ACEOF
8241 if ac_fn_c_try_link "$LINENO"; then :
8242 eval "$as_ac_var=yes"
8243 else
8244 eval "$as_ac_var=no"
8246 rm -f core conftest.err conftest.$ac_objext \
8247 conftest$ac_exeext conftest.$ac_ext
8248 CFLAGS=$ac_wine_try_cflags_saved
8250 eval ac_res=\$$as_ac_var
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8252 $as_echo "$ac_res" >&6; }
8253 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8254 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8255 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8256 else
8257 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8259 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8260 if eval \${$as_ac_var+:} false; then :
8261 $as_echo_n "(cached) " >&6
8262 else
8263 ac_wine_try_cflags_saved=$CFLAGS
8264 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8266 /* end confdefs.h. */
8267 int main(int argc, char **argv) { return 0; }
8268 _ACEOF
8269 if ac_fn_c_try_link "$LINENO"; then :
8270 eval "$as_ac_var=yes"
8271 else
8272 eval "$as_ac_var=no"
8274 rm -f core conftest.err conftest.$ac_objext \
8275 conftest$ac_exeext conftest.$ac_ext
8276 CFLAGS=$ac_wine_try_cflags_saved
8278 eval ac_res=\$$as_ac_var
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8280 $as_echo "$ac_res" >&6; }
8281 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8282 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8283 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8288 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8289 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8290 $as_echo_n "(cached) " >&6
8291 else
8292 ac_wine_try_cflags_saved=$CFLAGS
8293 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8296 int main(int argc, char **argv) { return 0; }
8297 _ACEOF
8298 if ac_fn_c_try_link "$LINENO"; then :
8299 ac_cv_cflags__Wl___enable_new_dtags=yes
8300 else
8301 ac_cv_cflags__Wl___enable_new_dtags=no
8303 rm -f core conftest.err conftest.$ac_objext \
8304 conftest$ac_exeext conftest.$ac_ext
8305 CFLAGS=$ac_wine_try_cflags_saved
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8308 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8309 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8310 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8313 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8314 if ${ac_cv_cflags__Wl__pie+:} false; then :
8315 $as_echo_n "(cached) " >&6
8316 else
8317 ac_wine_try_cflags_saved=$CFLAGS
8318 CFLAGS="$CFLAGS -Wl,-pie"
8319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8320 /* end confdefs.h. */
8321 int main(int argc, char **argv) { return 0; }
8322 _ACEOF
8323 if ac_fn_c_try_link "$LINENO"; then :
8324 ac_cv_cflags__Wl__pie=yes
8325 else
8326 ac_cv_cflags__Wl__pie=no
8328 rm -f core conftest.err conftest.$ac_objext \
8329 conftest$ac_exeext conftest.$ac_ext
8330 CFLAGS=$ac_wine_try_cflags_saved
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8333 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8334 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8335 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8338 LIBWINE_SHAREDLIB="libwine.so"
8340 LIBWINE_INSTALL_LIB="libwine.so"
8342 LIBWINE_LDFLAGS="-shared"
8347 DLLFLAGS="$DLLFLAGS -fPIC"
8348 LDEXECFLAGS=""
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8350 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8351 if ${ac_cv_c_dll_gnuelf+:} false; then :
8352 $as_echo_n "(cached) " >&6
8353 else
8354 ac_wine_try_cflags_saved=$CFLAGS
8355 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8357 /* end confdefs.h. */
8358 void myfunc() {}
8359 _ACEOF
8360 if ac_fn_c_try_link "$LINENO"; then :
8361 ac_cv_c_dll_gnuelf="yes"
8362 else
8363 ac_cv_c_dll_gnuelf="no"
8365 rm -f core conftest.err conftest.$ac_objext \
8366 conftest$ac_exeext conftest.$ac_ext
8367 CFLAGS=$ac_wine_try_cflags_saved
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8370 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8371 if test "$ac_cv_c_dll_gnuelf" = "yes"
8372 then
8373 LIBWINE_LDFLAGS="-shared"
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8375 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8376 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8377 $as_echo_n "(cached) " >&6
8378 else
8379 ac_wine_try_cflags_saved=$CFLAGS
8380 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382 /* end confdefs.h. */
8383 int main(int argc, char **argv) { return 0; }
8384 _ACEOF
8385 if ac_fn_c_try_link "$LINENO"; then :
8386 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8387 else
8388 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8390 rm -f core conftest.err conftest.$ac_objext \
8391 conftest$ac_exeext conftest.$ac_ext
8392 CFLAGS=$ac_wine_try_cflags_saved
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8395 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8396 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8397 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8398 else
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8400 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8401 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8402 $as_echo_n "(cached) " >&6
8403 else
8404 ac_wine_try_cflags_saved=$CFLAGS
8405 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8407 /* end confdefs.h. */
8408 int main(int argc, char **argv) { return 0; }
8409 _ACEOF
8410 if ac_fn_c_try_link "$LINENO"; then :
8411 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8412 else
8413 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8415 rm -f core conftest.err conftest.$ac_objext \
8416 conftest$ac_exeext conftest.$ac_ext
8417 CFLAGS=$ac_wine_try_cflags_saved
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8420 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8421 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8422 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8426 echo '{ global: *; };' >conftest.map
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8428 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8429 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8430 $as_echo_n "(cached) " >&6
8431 else
8432 ac_wine_try_cflags_saved=$CFLAGS
8433 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8435 /* end confdefs.h. */
8436 int main(int argc, char **argv) { return 0; }
8437 _ACEOF
8438 if ac_fn_c_try_link "$LINENO"; then :
8439 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8440 else
8441 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8443 rm -f core conftest.err conftest.$ac_objext \
8444 conftest$ac_exeext conftest.$ac_ext
8445 CFLAGS=$ac_wine_try_cflags_saved
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8448 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8449 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8450 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8452 rm -f conftest.map
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8455 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8456 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8457 $as_echo_n "(cached) " >&6
8458 else
8459 ac_wine_try_cflags_saved=$CFLAGS
8460 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8462 /* end confdefs.h. */
8463 int main(int argc, char **argv) { return 0; }
8464 _ACEOF
8465 if ac_fn_c_try_link "$LINENO"; then :
8466 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8467 else
8468 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8470 rm -f core conftest.err conftest.$ac_objext \
8471 conftest$ac_exeext conftest.$ac_ext
8472 CFLAGS=$ac_wine_try_cflags_saved
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8475 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8476 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8477 LDEXECFLAGS="-Wl,--export-dynamic"
8480 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8482 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8483 if eval \${$as_ac_var+:} false; then :
8484 $as_echo_n "(cached) " >&6
8485 else
8486 ac_wine_try_cflags_saved=$CFLAGS
8487 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8490 int main(int argc, char **argv) { return 0; }
8491 _ACEOF
8492 if ac_fn_c_try_link "$LINENO"; then :
8493 eval "$as_ac_var=yes"
8494 else
8495 eval "$as_ac_var=no"
8497 rm -f core conftest.err conftest.$ac_objext \
8498 conftest$ac_exeext conftest.$ac_ext
8499 CFLAGS=$ac_wine_try_cflags_saved
8501 eval ac_res=\$$as_ac_var
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8503 $as_echo "$ac_res" >&6; }
8504 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8505 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8506 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8507 else
8508 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8510 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8511 if eval \${$as_ac_var+:} false; then :
8512 $as_echo_n "(cached) " >&6
8513 else
8514 ac_wine_try_cflags_saved=$CFLAGS
8515 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8518 int main(int argc, char **argv) { return 0; }
8519 _ACEOF
8520 if ac_fn_c_try_link "$LINENO"; then :
8521 eval "$as_ac_var=yes"
8522 else
8523 eval "$as_ac_var=no"
8525 rm -f core conftest.err conftest.$ac_objext \
8526 conftest$ac_exeext conftest.$ac_ext
8527 CFLAGS=$ac_wine_try_cflags_saved
8529 eval ac_res=\$$as_ac_var
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8531 $as_echo "$ac_res" >&6; }
8532 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8533 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8534 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8539 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8540 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8541 $as_echo_n "(cached) " >&6
8542 else
8543 ac_wine_try_cflags_saved=$CFLAGS
8544 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h. */
8547 int main(int argc, char **argv) { return 0; }
8548 _ACEOF
8549 if ac_fn_c_try_link "$LINENO"; then :
8550 ac_cv_cflags__Wl___enable_new_dtags=yes
8551 else
8552 ac_cv_cflags__Wl___enable_new_dtags=no
8554 rm -f core conftest.err conftest.$ac_objext \
8555 conftest$ac_exeext conftest.$ac_ext
8556 CFLAGS=$ac_wine_try_cflags_saved
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8559 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8560 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8561 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8564 case $host_cpu in
8565 *i[3456789]86* | x86_64)
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8567 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8568 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8569 $as_echo_n "(cached) " >&6
8570 else
8571 ac_wine_try_cflags_saved=$CFLAGS
8572 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8574 /* end confdefs.h. */
8575 int main(int argc, char **argv) { return 0; }
8576 _ACEOF
8577 if ac_fn_c_try_link "$LINENO"; then :
8578 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8579 else
8580 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8582 rm -f core conftest.err conftest.$ac_objext \
8583 conftest$ac_exeext conftest.$ac_ext
8584 CFLAGS=$ac_wine_try_cflags_saved
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8587 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8588 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8589 case $host_os in
8590 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8591 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8592 esac
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8596 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8597 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8598 $as_echo_n "(cached) " >&6
8599 else
8600 ac_wine_try_cflags_saved=$CFLAGS
8601 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8603 /* end confdefs.h. */
8604 int main(int argc, char **argv) { return 0; }
8605 _ACEOF
8606 if ac_fn_c_try_link "$LINENO"; then :
8607 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8608 else
8609 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8611 rm -f core conftest.err conftest.$ac_objext \
8612 conftest$ac_exeext conftest.$ac_ext
8613 CFLAGS=$ac_wine_try_cflags_saved
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8616 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8617 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8619 else
8620 # Extract the first word of "prelink", so it can be a program name with args.
8621 set dummy prelink; ac_word=$2
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8623 $as_echo_n "checking for $ac_word... " >&6; }
8624 if ${ac_cv_path_PRELINK+:} false; then :
8625 $as_echo_n "(cached) " >&6
8626 else
8627 case $PRELINK in
8628 [\\/]* | ?:[\\/]*)
8629 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8633 for as_dir in /sbin /usr/sbin $PATH
8635 IFS=$as_save_IFS
8636 test -z "$as_dir" && as_dir=.
8637 for ac_exec_ext in '' $ac_executable_extensions; do
8638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8639 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8641 break 2
8643 done
8644 done
8645 IFS=$as_save_IFS
8647 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8649 esac
8651 PRELINK=$ac_cv_path_PRELINK
8652 if test -n "$PRELINK"; then
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8654 $as_echo "$PRELINK" >&6; }
8655 else
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8657 $as_echo "no" >&6; }
8661 if test "x$PRELINK" = xfalse
8662 then
8663 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8667 esac
8669 else
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8671 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8672 if ${ac_cv_c_dll_unixware+:} false; then :
8673 $as_echo_n "(cached) " >&6
8674 else
8675 ac_wine_try_cflags_saved=$CFLAGS
8676 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h. */
8679 void myfunc() {}
8680 _ACEOF
8681 if ac_fn_c_try_link "$LINENO"; then :
8682 ac_cv_c_dll_unixware="yes"
8683 else
8684 ac_cv_c_dll_unixware="no"
8686 rm -f core conftest.err conftest.$ac_objext \
8687 conftest$ac_exeext conftest.$ac_ext
8688 CFLAGS=$ac_wine_try_cflags_saved
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8691 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8692 if test "$ac_cv_c_dll_unixware" = "yes"
8693 then
8694 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8697 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8699 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8701 LIBWINE_INSTALL_DEV="libwine.so"
8703 LIBWINE_DEPENDS="wine.map"
8706 esac
8708 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8709 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8710 enable_winemac_drv=${enable_winemac_drv:-no}
8711 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8713 CROSSTARGET=""
8715 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8716 then
8717 case "$host_cpu" in
8718 arm*)
8719 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8720 i[3456789]86*)
8721 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
8722 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8723 mingw32-gcc" ;;
8724 x86_64)
8725 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
8726 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8728 ac_prefix_list="" ;;
8729 esac
8730 for ac_prog in $ac_prefix_list
8732 # Extract the first word of "$ac_prog", so it can be a program name with args.
8733 set dummy $ac_prog; ac_word=$2
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8735 $as_echo_n "checking for $ac_word... " >&6; }
8736 if ${ac_cv_prog_CROSSCC+:} false; then :
8737 $as_echo_n "(cached) " >&6
8738 else
8739 if test -n "$CROSSCC"; then
8740 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8741 else
8742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8743 for as_dir in $PATH
8745 IFS=$as_save_IFS
8746 test -z "$as_dir" && as_dir=.
8747 for ac_exec_ext in '' $ac_executable_extensions; do
8748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8749 ac_cv_prog_CROSSCC="$ac_prog"
8750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8751 break 2
8753 done
8754 done
8755 IFS=$as_save_IFS
8759 CROSSCC=$ac_cv_prog_CROSSCC
8760 if test -n "$CROSSCC"; then
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8762 $as_echo "$CROSSCC" >&6; }
8763 else
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8765 $as_echo "no" >&6; }
8769 test -n "$CROSSCC" && break
8770 done
8771 test -n "$CROSSCC" || CROSSCC="false"
8773 if test "$CROSSCC" != "false"
8774 then
8775 ac_save_CC="$CC"
8776 CC="$CROSSCC"
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8778 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h. */
8783 main ()
8787 return 0;
8789 _ACEOF
8790 if ac_fn_c_try_compile "$LINENO"; then :
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8792 $as_echo "yes" >&6; }
8793 set x $CROSSCC
8794 shift
8795 while test $# -ge 1
8797 case "$1" in
8798 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8799 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8800 esac
8801 shift
8802 done
8803 else
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8805 $as_echo "no" >&6; }
8807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8808 CC="$ac_save_CC"
8813 if test "$ac_cv_header_pthread_h" = "yes"
8814 then
8815 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8816 if test "x$ac_cv_func_pthread_create" = xyes; then :
8818 else
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8820 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8821 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8822 $as_echo_n "(cached) " >&6
8823 else
8824 ac_check_lib_save_LIBS=$LIBS
8825 LIBS="-lpthread $LIBS"
8826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8827 /* end confdefs.h. */
8829 /* Override any GCC internal prototype to avoid an error.
8830 Use char because int might match the return type of a GCC
8831 builtin and then its argument prototype would still apply. */
8832 #ifdef __cplusplus
8833 extern "C"
8834 #endif
8835 char pthread_create ();
8837 main ()
8839 return pthread_create ();
8841 return 0;
8843 _ACEOF
8844 if ac_fn_c_try_link "$LINENO"; then :
8845 ac_cv_lib_pthread_pthread_create=yes
8846 else
8847 ac_cv_lib_pthread_pthread_create=no
8849 rm -f core conftest.err conftest.$ac_objext \
8850 conftest$ac_exeext conftest.$ac_ext
8851 LIBS=$ac_check_lib_save_LIBS
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8854 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8855 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8856 PTHREAD_LIBS="-lpthread"
8863 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8864 case "x$with_pthread" in
8865 xno) ;;
8866 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8867 Wine cannot support threads without libpthread.
8868 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8869 esac
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8875 $as_echo_n "checking for X... " >&6; }
8878 # Check whether --with-x was given.
8879 if test "${with_x+set}" = set; then :
8880 withval=$with_x;
8883 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8884 if test "x$with_x" = xno; then
8885 # The user explicitly disabled X.
8886 have_x=disabled
8887 else
8888 case $x_includes,$x_libraries in #(
8889 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8890 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8891 $as_echo_n "(cached) " >&6
8892 else
8893 # One or both of the vars are not set, and there is no cached value.
8894 ac_x_includes=no ac_x_libraries=no
8895 rm -f -r conftest.dir
8896 if mkdir conftest.dir; then
8897 cd conftest.dir
8898 cat >Imakefile <<'_ACEOF'
8899 incroot:
8900 @echo incroot='${INCROOT}'
8901 usrlibdir:
8902 @echo usrlibdir='${USRLIBDIR}'
8903 libdir:
8904 @echo libdir='${LIBDIR}'
8905 _ACEOF
8906 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8907 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8908 for ac_var in incroot usrlibdir libdir; do
8909 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8910 done
8911 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8912 for ac_extension in a so sl dylib la dll; do
8913 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8914 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8915 ac_im_usrlibdir=$ac_im_libdir; break
8917 done
8918 # Screen out bogus values from the imake configuration. They are
8919 # bogus both because they are the default anyway, and because
8920 # using them would break gcc on systems where it needs fixed includes.
8921 case $ac_im_incroot in
8922 /usr/include) ac_x_includes= ;;
8923 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8924 esac
8925 case $ac_im_usrlibdir in
8926 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8927 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8928 esac
8930 cd ..
8931 rm -f -r conftest.dir
8934 # Standard set of common directories for X headers.
8935 # Check X11 before X11Rn because it is often a symlink to the current release.
8936 ac_x_header_dirs='
8937 /usr/X11/include
8938 /usr/X11R7/include
8939 /usr/X11R6/include
8940 /usr/X11R5/include
8941 /usr/X11R4/include
8943 /usr/include/X11
8944 /usr/include/X11R7
8945 /usr/include/X11R6
8946 /usr/include/X11R5
8947 /usr/include/X11R4
8949 /usr/local/X11/include
8950 /usr/local/X11R7/include
8951 /usr/local/X11R6/include
8952 /usr/local/X11R5/include
8953 /usr/local/X11R4/include
8955 /usr/local/include/X11
8956 /usr/local/include/X11R7
8957 /usr/local/include/X11R6
8958 /usr/local/include/X11R5
8959 /usr/local/include/X11R4
8961 /usr/X386/include
8962 /usr/x386/include
8963 /usr/XFree86/include/X11
8965 /usr/include
8966 /usr/local/include
8967 /usr/unsupported/include
8968 /usr/athena/include
8969 /usr/local/x11r5/include
8970 /usr/lpp/Xamples/include
8972 /usr/openwin/include
8973 /usr/openwin/share/include'
8975 if test "$ac_x_includes" = no; then
8976 # Guess where to find include files, by looking for Xlib.h.
8977 # First, try using that file with no special directory specified.
8978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8979 /* end confdefs.h. */
8980 #include <X11/Xlib.h>
8981 _ACEOF
8982 if ac_fn_c_try_cpp "$LINENO"; then :
8983 # We can compile using X headers with no special include directory.
8984 ac_x_includes=
8985 else
8986 for ac_dir in $ac_x_header_dirs; do
8987 if test -r "$ac_dir/X11/Xlib.h"; then
8988 ac_x_includes=$ac_dir
8989 break
8991 done
8993 rm -f conftest.err conftest.i conftest.$ac_ext
8994 fi # $ac_x_includes = no
8996 if test "$ac_x_libraries" = no; then
8997 # Check for the libraries.
8998 # See if we find them without any special options.
8999 # Don't add to $LIBS permanently.
9000 ac_save_LIBS=$LIBS
9001 LIBS="-lX11 $LIBS"
9002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9003 /* end confdefs.h. */
9004 #include <X11/Xlib.h>
9006 main ()
9008 XrmInitialize ()
9010 return 0;
9012 _ACEOF
9013 if ac_fn_c_try_link "$LINENO"; then :
9014 LIBS=$ac_save_LIBS
9015 # We can link X programs with no special library path.
9016 ac_x_libraries=
9017 else
9018 LIBS=$ac_save_LIBS
9019 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9021 # Don't even attempt the hair of trying to link an X program!
9022 for ac_extension in a so sl dylib la dll; do
9023 if test -r "$ac_dir/libX11.$ac_extension"; then
9024 ac_x_libraries=$ac_dir
9025 break 2
9027 done
9028 done
9030 rm -f core conftest.err conftest.$ac_objext \
9031 conftest$ac_exeext conftest.$ac_ext
9032 fi # $ac_x_libraries = no
9034 case $ac_x_includes,$ac_x_libraries in #(
9035 no,* | *,no | *\'*)
9036 # Didn't find X, or a directory has "'" in its name.
9037 ac_cv_have_x="have_x=no";; #(
9039 # Record where we found X for the cache.
9040 ac_cv_have_x="have_x=yes\
9041 ac_x_includes='$ac_x_includes'\
9042 ac_x_libraries='$ac_x_libraries'"
9043 esac
9045 ;; #(
9046 *) have_x=yes;;
9047 esac
9048 eval "$ac_cv_have_x"
9049 fi # $with_x != no
9051 if test "$have_x" != yes; then
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9053 $as_echo "$have_x" >&6; }
9054 no_x=yes
9055 else
9056 # If each of the values was on the command line, it overrides each guess.
9057 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9058 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9059 # Update the cache value to reflect the command line values.
9060 ac_cv_have_x="have_x=yes\
9061 ac_x_includes='$x_includes'\
9062 ac_x_libraries='$x_libraries'"
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9064 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9067 if test "$no_x" = yes; then
9068 # Not all programs may use this symbol, but it does not hurt to define it.
9070 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9072 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9073 else
9074 if test -n "$x_includes"; then
9075 X_CFLAGS="$X_CFLAGS -I$x_includes"
9078 # It would also be nice to do this for all -L options, not just this one.
9079 if test -n "$x_libraries"; then
9080 X_LIBS="$X_LIBS -L$x_libraries"
9081 # For Solaris; some versions of Sun CC require a space after -R and
9082 # others require no space. Words are not sufficient . . . .
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9084 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9085 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9086 ac_xsave_c_werror_flag=$ac_c_werror_flag
9087 ac_c_werror_flag=yes
9088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9089 /* end confdefs.h. */
9092 main ()
9096 return 0;
9098 _ACEOF
9099 if ac_fn_c_try_link "$LINENO"; then :
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9101 $as_echo "no" >&6; }
9102 X_LIBS="$X_LIBS -R$x_libraries"
9103 else
9104 LIBS="$ac_xsave_LIBS -R $x_libraries"
9105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9106 /* end confdefs.h. */
9109 main ()
9113 return 0;
9115 _ACEOF
9116 if ac_fn_c_try_link "$LINENO"; then :
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9118 $as_echo "yes" >&6; }
9119 X_LIBS="$X_LIBS -R $x_libraries"
9120 else
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9122 $as_echo "neither works" >&6; }
9124 rm -f core conftest.err conftest.$ac_objext \
9125 conftest$ac_exeext conftest.$ac_ext
9127 rm -f core conftest.err conftest.$ac_objext \
9128 conftest$ac_exeext conftest.$ac_ext
9129 ac_c_werror_flag=$ac_xsave_c_werror_flag
9130 LIBS=$ac_xsave_LIBS
9133 # Check for system-dependent libraries X programs must link with.
9134 # Do this before checking for the system-independent R6 libraries
9135 # (-lICE), since we may need -lsocket or whatever for X linking.
9137 if test "$ISC" = yes; then
9138 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9139 else
9140 # Martyn Johnson says this is needed for Ultrix, if the X
9141 # libraries were built with DECnet support. And Karl Berry says
9142 # the Alpha needs dnet_stub (dnet does not exist).
9143 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9147 /* Override any GCC internal prototype to avoid an error.
9148 Use char because int might match the return type of a GCC
9149 builtin and then its argument prototype would still apply. */
9150 #ifdef __cplusplus
9151 extern "C"
9152 #endif
9153 char XOpenDisplay ();
9155 main ()
9157 return XOpenDisplay ();
9159 return 0;
9161 _ACEOF
9162 if ac_fn_c_try_link "$LINENO"; then :
9164 else
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9166 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9167 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9168 $as_echo_n "(cached) " >&6
9169 else
9170 ac_check_lib_save_LIBS=$LIBS
9171 LIBS="-ldnet $LIBS"
9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h. */
9175 /* Override any GCC internal prototype to avoid an error.
9176 Use char because int might match the return type of a GCC
9177 builtin and then its argument prototype would still apply. */
9178 #ifdef __cplusplus
9179 extern "C"
9180 #endif
9181 char dnet_ntoa ();
9183 main ()
9185 return dnet_ntoa ();
9187 return 0;
9189 _ACEOF
9190 if ac_fn_c_try_link "$LINENO"; then :
9191 ac_cv_lib_dnet_dnet_ntoa=yes
9192 else
9193 ac_cv_lib_dnet_dnet_ntoa=no
9195 rm -f core conftest.err conftest.$ac_objext \
9196 conftest$ac_exeext conftest.$ac_ext
9197 LIBS=$ac_check_lib_save_LIBS
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9200 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9201 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9202 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9205 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9207 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9208 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9209 $as_echo_n "(cached) " >&6
9210 else
9211 ac_check_lib_save_LIBS=$LIBS
9212 LIBS="-ldnet_stub $LIBS"
9213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9216 /* Override any GCC internal prototype to avoid an error.
9217 Use char because int might match the return type of a GCC
9218 builtin and then its argument prototype would still apply. */
9219 #ifdef __cplusplus
9220 extern "C"
9221 #endif
9222 char dnet_ntoa ();
9224 main ()
9226 return dnet_ntoa ();
9228 return 0;
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9232 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9233 else
9234 ac_cv_lib_dnet_stub_dnet_ntoa=no
9236 rm -f core conftest.err conftest.$ac_objext \
9237 conftest$ac_exeext conftest.$ac_ext
9238 LIBS=$ac_check_lib_save_LIBS
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9241 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9242 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9243 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9248 rm -f core conftest.err conftest.$ac_objext \
9249 conftest$ac_exeext conftest.$ac_ext
9250 LIBS="$ac_xsave_LIBS"
9252 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9253 # to get the SysV transport functions.
9254 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9255 # needs -lnsl.
9256 # The nsl library prevents programs from opening the X display
9257 # on Irix 5.2, according to T.E. Dickey.
9258 # The functions gethostbyname, getservbyname, and inet_addr are
9259 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9260 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9261 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9265 if test $ac_cv_func_gethostbyname = no; then
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9267 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9268 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9269 $as_echo_n "(cached) " >&6
9270 else
9271 ac_check_lib_save_LIBS=$LIBS
9272 LIBS="-lnsl $LIBS"
9273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9279 #ifdef __cplusplus
9280 extern "C"
9281 #endif
9282 char gethostbyname ();
9284 main ()
9286 return gethostbyname ();
9288 return 0;
9290 _ACEOF
9291 if ac_fn_c_try_link "$LINENO"; then :
9292 ac_cv_lib_nsl_gethostbyname=yes
9293 else
9294 ac_cv_lib_nsl_gethostbyname=no
9296 rm -f core conftest.err conftest.$ac_objext \
9297 conftest$ac_exeext conftest.$ac_ext
9298 LIBS=$ac_check_lib_save_LIBS
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9301 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9302 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9303 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9306 if test $ac_cv_lib_nsl_gethostbyname = no; then
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9308 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9309 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9310 $as_echo_n "(cached) " >&6
9311 else
9312 ac_check_lib_save_LIBS=$LIBS
9313 LIBS="-lbsd $LIBS"
9314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9315 /* end confdefs.h. */
9317 /* Override any GCC internal prototype to avoid an error.
9318 Use char because int might match the return type of a GCC
9319 builtin and then its argument prototype would still apply. */
9320 #ifdef __cplusplus
9321 extern "C"
9322 #endif
9323 char gethostbyname ();
9325 main ()
9327 return gethostbyname ();
9329 return 0;
9331 _ACEOF
9332 if ac_fn_c_try_link "$LINENO"; then :
9333 ac_cv_lib_bsd_gethostbyname=yes
9334 else
9335 ac_cv_lib_bsd_gethostbyname=no
9337 rm -f core conftest.err conftest.$ac_objext \
9338 conftest$ac_exeext conftest.$ac_ext
9339 LIBS=$ac_check_lib_save_LIBS
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9342 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9343 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9344 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9350 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9351 # socket/setsockopt and other routines are undefined under SCO ODT
9352 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9353 # on later versions), says Simon Leinen: it contains gethostby*
9354 # variants that don't use the name server (or something). -lsocket
9355 # must be given before -lnsl if both are needed. We assume that
9356 # if connect needs -lnsl, so does gethostbyname.
9357 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9358 if test "x$ac_cv_func_connect" = xyes; then :
9362 if test $ac_cv_func_connect = no; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9364 $as_echo_n "checking for connect in -lsocket... " >&6; }
9365 if ${ac_cv_lib_socket_connect+:} false; then :
9366 $as_echo_n "(cached) " >&6
9367 else
9368 ac_check_lib_save_LIBS=$LIBS
9369 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h. */
9373 /* Override any GCC internal prototype to avoid an error.
9374 Use char because int might match the return type of a GCC
9375 builtin and then its argument prototype would still apply. */
9376 #ifdef __cplusplus
9377 extern "C"
9378 #endif
9379 char connect ();
9381 main ()
9383 return connect ();
9385 return 0;
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389 ac_cv_lib_socket_connect=yes
9390 else
9391 ac_cv_lib_socket_connect=no
9393 rm -f core conftest.err conftest.$ac_objext \
9394 conftest$ac_exeext conftest.$ac_ext
9395 LIBS=$ac_check_lib_save_LIBS
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9398 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9399 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9400 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9405 # Guillermo Gomez says -lposix is necessary on A/UX.
9406 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9407 if test "x$ac_cv_func_remove" = xyes; then :
9411 if test $ac_cv_func_remove = no; then
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9413 $as_echo_n "checking for remove in -lposix... " >&6; }
9414 if ${ac_cv_lib_posix_remove+:} false; then :
9415 $as_echo_n "(cached) " >&6
9416 else
9417 ac_check_lib_save_LIBS=$LIBS
9418 LIBS="-lposix $LIBS"
9419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9420 /* end confdefs.h. */
9422 /* Override any GCC internal prototype to avoid an error.
9423 Use char because int might match the return type of a GCC
9424 builtin and then its argument prototype would still apply. */
9425 #ifdef __cplusplus
9426 extern "C"
9427 #endif
9428 char remove ();
9430 main ()
9432 return remove ();
9434 return 0;
9436 _ACEOF
9437 if ac_fn_c_try_link "$LINENO"; then :
9438 ac_cv_lib_posix_remove=yes
9439 else
9440 ac_cv_lib_posix_remove=no
9442 rm -f core conftest.err conftest.$ac_objext \
9443 conftest$ac_exeext conftest.$ac_ext
9444 LIBS=$ac_check_lib_save_LIBS
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9447 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9448 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9449 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9454 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9455 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9456 if test "x$ac_cv_func_shmat" = xyes; then :
9460 if test $ac_cv_func_shmat = no; then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9462 $as_echo_n "checking for shmat in -lipc... " >&6; }
9463 if ${ac_cv_lib_ipc_shmat+:} false; then :
9464 $as_echo_n "(cached) " >&6
9465 else
9466 ac_check_lib_save_LIBS=$LIBS
9467 LIBS="-lipc $LIBS"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9474 #ifdef __cplusplus
9475 extern "C"
9476 #endif
9477 char shmat ();
9479 main ()
9481 return shmat ();
9483 return 0;
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 ac_cv_lib_ipc_shmat=yes
9488 else
9489 ac_cv_lib_ipc_shmat=no
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 LIBS=$ac_check_lib_save_LIBS
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9496 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9497 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9498 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9504 # Check for libraries that X11R6 Xt/Xaw programs need.
9505 ac_save_LDFLAGS=$LDFLAGS
9506 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9507 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9508 # check for ICE first), but we must link in the order -lSM -lICE or
9509 # we get undefined symbols. So assume we have SM if we have ICE.
9510 # These have to be linked with before -lX11, unlike the other
9511 # libraries we check for below, so use a different variable.
9512 # John Interrante, Karl Berry
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9514 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9515 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9516 $as_echo_n "(cached) " >&6
9517 else
9518 ac_check_lib_save_LIBS=$LIBS
9519 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9523 /* Override any GCC internal prototype to avoid an error.
9524 Use char because int might match the return type of a GCC
9525 builtin and then its argument prototype would still apply. */
9526 #ifdef __cplusplus
9527 extern "C"
9528 #endif
9529 char IceConnectionNumber ();
9531 main ()
9533 return IceConnectionNumber ();
9535 return 0;
9537 _ACEOF
9538 if ac_fn_c_try_link "$LINENO"; then :
9539 ac_cv_lib_ICE_IceConnectionNumber=yes
9540 else
9541 ac_cv_lib_ICE_IceConnectionNumber=no
9543 rm -f core conftest.err conftest.$ac_objext \
9544 conftest$ac_exeext conftest.$ac_ext
9545 LIBS=$ac_check_lib_save_LIBS
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9548 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9549 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9550 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9553 LDFLAGS=$ac_save_LDFLAGS
9558 if test "$have_x" = "yes"
9559 then
9560 ac_save_CPPFLAGS="$CPPFLAGS"
9561 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9564 $as_echo_n "checking for -lX11... " >&6; }
9565 if ${ac_cv_lib_soname_X11+:} false; then :
9566 $as_echo_n "(cached) " >&6
9567 else
9568 ac_check_soname_save_LIBS=$LIBS
9569 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9573 /* Override any GCC internal prototype to avoid an error.
9574 Use char because int might match the return type of a GCC
9575 builtin and then its argument prototype would still apply. */
9576 #ifdef __cplusplus
9577 extern "C"
9578 #endif
9579 char XCreateWindow ();
9581 main ()
9583 return XCreateWindow ();
9585 return 0;
9587 _ACEOF
9588 if ac_fn_c_try_link "$LINENO"; then :
9589 case "$LIBEXT" in
9590 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9591 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'` ;;
9592 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9593 if ${ac_cv_lib_soname_X11:+false} :; then :
9594 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9595 fi ;;
9596 esac
9598 rm -f core conftest.err conftest.$ac_objext \
9599 conftest$ac_exeext conftest.$ac_ext
9600 LIBS=$ac_check_soname_save_LIBS
9602 if ${ac_cv_lib_soname_X11:+false} :; then :
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9604 $as_echo "not found" >&6; }
9606 else
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9608 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9610 cat >>confdefs.h <<_ACEOF
9611 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9612 _ACEOF
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9617 $as_echo_n "checking for -lXext... " >&6; }
9618 if ${ac_cv_lib_soname_Xext+:} false; then :
9619 $as_echo_n "(cached) " >&6
9620 else
9621 ac_check_soname_save_LIBS=$LIBS
9622 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9624 /* end confdefs.h. */
9626 /* Override any GCC internal prototype to avoid an error.
9627 Use char because int might match the return type of a GCC
9628 builtin and then its argument prototype would still apply. */
9629 #ifdef __cplusplus
9630 extern "C"
9631 #endif
9632 char XextCreateExtension ();
9634 main ()
9636 return XextCreateExtension ();
9638 return 0;
9640 _ACEOF
9641 if ac_fn_c_try_link "$LINENO"; then :
9642 case "$LIBEXT" in
9643 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9644 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'` ;;
9645 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9646 if ${ac_cv_lib_soname_Xext:+false} :; then :
9647 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9648 fi ;;
9649 esac
9651 rm -f core conftest.err conftest.$ac_objext \
9652 conftest$ac_exeext conftest.$ac_ext
9653 LIBS=$ac_check_soname_save_LIBS
9655 if ${ac_cv_lib_soname_Xext:+false} :; then :
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9657 $as_echo "not found" >&6; }
9659 else
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9661 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9663 cat >>confdefs.h <<_ACEOF
9664 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9665 _ACEOF
9667 X_LIBS="$X_LIBS -lXext"
9669 X_LIBS="$X_LIBS -lX11"
9671 for ac_header in X11/Xlib.h \
9672 X11/XKBlib.h \
9673 X11/Xutil.h \
9674 X11/Xcursor/Xcursor.h \
9675 X11/extensions/shape.h \
9676 X11/extensions/XInput.h \
9677 X11/extensions/XInput2.h \
9678 X11/extensions/XShm.h \
9679 X11/extensions/Xcomposite.h \
9680 X11/extensions/Xinerama.h \
9681 X11/extensions/Xrandr.h \
9682 X11/extensions/Xrender.h \
9683 X11/extensions/xf86vmode.h \
9684 X11/extensions/xf86vmproto.h
9685 do :
9686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9687 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9688 # include <X11/Xlib.h>
9689 #endif
9690 #ifdef HAVE_X11_XUTIL_H
9691 # include <X11/Xutil.h>
9692 #endif
9694 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9695 cat >>confdefs.h <<_ACEOF
9696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9697 _ACEOF
9701 done
9704 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9705 then
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9707 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9708 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9709 $as_echo_n "(cached) " >&6
9710 else
9711 ac_check_lib_save_LIBS=$LIBS
9712 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9716 /* Override any GCC internal prototype to avoid an error.
9717 Use char because int might match the return type of a GCC
9718 builtin and then its argument prototype would still apply. */
9719 #ifdef __cplusplus
9720 extern "C"
9721 #endif
9722 char XkbQueryExtension ();
9724 main ()
9726 return XkbQueryExtension ();
9728 return 0;
9730 _ACEOF
9731 if ac_fn_c_try_link "$LINENO"; then :
9732 ac_cv_lib_X11_XkbQueryExtension=yes
9733 else
9734 ac_cv_lib_X11_XkbQueryExtension=no
9736 rm -f core conftest.err conftest.$ac_objext \
9737 conftest$ac_exeext conftest.$ac_ext
9738 LIBS=$ac_check_lib_save_LIBS
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9741 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9742 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9744 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9750 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9751 then
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9753 $as_echo_n "checking for -lXcursor... " >&6; }
9754 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9755 $as_echo_n "(cached) " >&6
9756 else
9757 ac_check_soname_save_LIBS=$LIBS
9758 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9760 /* end confdefs.h. */
9762 /* Override any GCC internal prototype to avoid an error.
9763 Use char because int might match the return type of a GCC
9764 builtin and then its argument prototype would still apply. */
9765 #ifdef __cplusplus
9766 extern "C"
9767 #endif
9768 char XcursorImageLoadCursor ();
9770 main ()
9772 return XcursorImageLoadCursor ();
9774 return 0;
9776 _ACEOF
9777 if ac_fn_c_try_link "$LINENO"; then :
9778 case "$LIBEXT" in
9779 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9780 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'` ;;
9781 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9782 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9783 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9784 fi ;;
9785 esac
9787 rm -f core conftest.err conftest.$ac_objext \
9788 conftest$ac_exeext conftest.$ac_ext
9789 LIBS=$ac_check_soname_save_LIBS
9791 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9793 $as_echo "not found" >&6; }
9795 else
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9797 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9799 cat >>confdefs.h <<_ACEOF
9800 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9801 _ACEOF
9806 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9807 case "x$with_xcursor" in
9808 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9809 xno) ;;
9810 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9811 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9812 esac
9816 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9817 then
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9819 $as_echo_n "checking for -lXi... " >&6; }
9820 if ${ac_cv_lib_soname_Xi+:} false; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 ac_check_soname_save_LIBS=$LIBS
9824 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9826 /* end confdefs.h. */
9828 /* Override any GCC internal prototype to avoid an error.
9829 Use char because int might match the return type of a GCC
9830 builtin and then its argument prototype would still apply. */
9831 #ifdef __cplusplus
9832 extern "C"
9833 #endif
9834 char XOpenDevice ();
9836 main ()
9838 return XOpenDevice ();
9840 return 0;
9842 _ACEOF
9843 if ac_fn_c_try_link "$LINENO"; then :
9844 case "$LIBEXT" in
9845 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9846 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'` ;;
9847 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9848 if ${ac_cv_lib_soname_Xi:+false} :; then :
9849 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9850 fi ;;
9851 esac
9853 rm -f core conftest.err conftest.$ac_objext \
9854 conftest$ac_exeext conftest.$ac_ext
9855 LIBS=$ac_check_soname_save_LIBS
9857 if ${ac_cv_lib_soname_Xi:+false} :; then :
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9859 $as_echo "not found" >&6; }
9861 else
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9863 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9865 cat >>confdefs.h <<_ACEOF
9866 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9867 _ACEOF
9872 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9873 case "x$with_xinput" in
9874 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9875 xno) ;;
9876 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9877 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9878 esac
9882 if test "x$ac_cv_lib_soname_Xi" != x
9883 then
9884 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9885 case "x$with_xinput2" in
9886 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9887 xno) ;;
9888 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9889 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9890 esac
9895 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9896 then
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9898 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9899 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9900 $as_echo_n "(cached) " >&6
9901 else
9902 ac_check_lib_save_LIBS=$LIBS
9903 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9907 /* Override any GCC internal prototype to avoid an error.
9908 Use char because int might match the return type of a GCC
9909 builtin and then its argument prototype would still apply. */
9910 #ifdef __cplusplus
9911 extern "C"
9912 #endif
9913 char XShmQueryExtension ();
9915 main ()
9917 return XShmQueryExtension ();
9919 return 0;
9921 _ACEOF
9922 if ac_fn_c_try_link "$LINENO"; then :
9923 ac_cv_lib_Xext_XShmQueryExtension=yes
9924 else
9925 ac_cv_lib_Xext_XShmQueryExtension=no
9927 rm -f core conftest.err conftest.$ac_objext \
9928 conftest$ac_exeext conftest.$ac_ext
9929 LIBS=$ac_check_lib_save_LIBS
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9932 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9933 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9935 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9940 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9941 case "x$with_xshm" in
9942 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9943 xno) ;;
9944 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9945 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9946 esac
9950 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9951 then
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9953 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9954 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9955 $as_echo_n "(cached) " >&6
9956 else
9957 ac_check_lib_save_LIBS=$LIBS
9958 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9962 /* Override any GCC internal prototype to avoid an error.
9963 Use char because int might match the return type of a GCC
9964 builtin and then its argument prototype would still apply. */
9965 #ifdef __cplusplus
9966 extern "C"
9967 #endif
9968 char XShapeQueryExtension ();
9970 main ()
9972 return XShapeQueryExtension ();
9974 return 0;
9976 _ACEOF
9977 if ac_fn_c_try_link "$LINENO"; then :
9978 ac_cv_lib_Xext_XShapeQueryExtension=yes
9979 else
9980 ac_cv_lib_Xext_XShapeQueryExtension=no
9982 rm -f core conftest.err conftest.$ac_objext \
9983 conftest$ac_exeext conftest.$ac_ext
9984 LIBS=$ac_check_lib_save_LIBS
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9987 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9988 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9990 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9995 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9996 case "x$with_xshape" in
9997 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9998 xno) ;;
9999 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10000 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10001 esac
10005 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10006 then
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10008 $as_echo_n "checking for -lXxf86vm... " >&6; }
10009 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10010 $as_echo_n "(cached) " >&6
10011 else
10012 ac_check_soname_save_LIBS=$LIBS
10013 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10015 /* end confdefs.h. */
10017 /* Override any GCC internal prototype to avoid an error.
10018 Use char because int might match the return type of a GCC
10019 builtin and then its argument prototype would still apply. */
10020 #ifdef __cplusplus
10021 extern "C"
10022 #endif
10023 char XF86VidModeQueryExtension ();
10025 main ()
10027 return XF86VidModeQueryExtension ();
10029 return 0;
10031 _ACEOF
10032 if ac_fn_c_try_link "$LINENO"; then :
10033 case "$LIBEXT" in
10034 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10035 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'` ;;
10036 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10037 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10038 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10039 fi ;;
10040 esac
10042 rm -f core conftest.err conftest.$ac_objext \
10043 conftest$ac_exeext conftest.$ac_ext
10044 LIBS=$ac_check_soname_save_LIBS
10046 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10048 $as_echo "not found" >&6; }
10050 else
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10052 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10054 cat >>confdefs.h <<_ACEOF
10055 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10056 _ACEOF
10061 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10062 case "x$with_xxf86vm" in
10063 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10064 xno) ;;
10065 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10066 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10067 esac
10071 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10072 then
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10074 $as_echo_n "checking for -lXrender... " >&6; }
10075 if ${ac_cv_lib_soname_Xrender+:} false; then :
10076 $as_echo_n "(cached) " >&6
10077 else
10078 ac_check_soname_save_LIBS=$LIBS
10079 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10081 /* end confdefs.h. */
10083 /* Override any GCC internal prototype to avoid an error.
10084 Use char because int might match the return type of a GCC
10085 builtin and then its argument prototype would still apply. */
10086 #ifdef __cplusplus
10087 extern "C"
10088 #endif
10089 char XRenderQueryExtension ();
10091 main ()
10093 return XRenderQueryExtension ();
10095 return 0;
10097 _ACEOF
10098 if ac_fn_c_try_link "$LINENO"; then :
10099 case "$LIBEXT" in
10100 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10101 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'` ;;
10102 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10103 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10104 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10105 fi ;;
10106 esac
10108 rm -f core conftest.err conftest.$ac_objext \
10109 conftest$ac_exeext conftest.$ac_ext
10110 LIBS=$ac_check_soname_save_LIBS
10112 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10114 $as_echo "not found" >&6; }
10116 else
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10118 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10120 cat >>confdefs.h <<_ACEOF
10121 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10122 _ACEOF
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10125 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10126 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10127 $as_echo_n "(cached) " >&6
10128 else
10129 ac_check_lib_save_LIBS=$LIBS
10130 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10134 /* Override any GCC internal prototype to avoid an error.
10135 Use char because int might match the return type of a GCC
10136 builtin and then its argument prototype would still apply. */
10137 #ifdef __cplusplus
10138 extern "C"
10139 #endif
10140 char XRenderSetPictureTransform ();
10142 main ()
10144 return XRenderSetPictureTransform ();
10146 return 0;
10148 _ACEOF
10149 if ac_fn_c_try_link "$LINENO"; then :
10150 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10151 else
10152 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10154 rm -f core conftest.err conftest.$ac_objext \
10155 conftest$ac_exeext conftest.$ac_ext
10156 LIBS=$ac_check_lib_save_LIBS
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10159 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10160 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10162 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10167 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10168 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10169 $as_echo_n "(cached) " >&6
10170 else
10171 ac_check_lib_save_LIBS=$LIBS
10172 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10176 /* Override any GCC internal prototype to avoid an error.
10177 Use char because int might match the return type of a GCC
10178 builtin and then its argument prototype would still apply. */
10179 #ifdef __cplusplus
10180 extern "C"
10181 #endif
10182 char XRenderCreateLinearGradient ();
10184 main ()
10186 return XRenderCreateLinearGradient ();
10188 return 0;
10190 _ACEOF
10191 if ac_fn_c_try_link "$LINENO"; then :
10192 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10193 else
10194 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10196 rm -f core conftest.err conftest.$ac_objext \
10197 conftest$ac_exeext conftest.$ac_ext
10198 LIBS=$ac_check_lib_save_LIBS
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10201 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10202 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10204 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10211 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10212 case "x$with_xrender" in
10213 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10214 xno) ;;
10215 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10216 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10217 esac
10221 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10222 then
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10225 #include <X11/Xlib.h>
10226 #include <X11/extensions/Xrandr.h>
10228 main ()
10230 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10232 return 0;
10234 _ACEOF
10235 if ac_fn_c_try_compile "$LINENO"; then :
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10237 $as_echo_n "checking for -lXrandr... " >&6; }
10238 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10239 $as_echo_n "(cached) " >&6
10240 else
10241 ac_check_soname_save_LIBS=$LIBS
10242 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 char XRRQueryExtension ();
10254 main ()
10256 return XRRQueryExtension ();
10258 return 0;
10260 _ACEOF
10261 if ac_fn_c_try_link "$LINENO"; then :
10262 case "$LIBEXT" in
10263 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10264 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'` ;;
10265 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10266 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10267 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10268 fi ;;
10269 esac
10271 rm -f core conftest.err conftest.$ac_objext \
10272 conftest$ac_exeext conftest.$ac_ext
10273 LIBS=$ac_check_soname_save_LIBS
10275 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10277 $as_echo "not found" >&6; }
10279 else
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10281 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10283 cat >>confdefs.h <<_ACEOF
10284 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10285 _ACEOF
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10289 #include <X11/Xlib.h>
10290 #include <X11/extensions/Xrandr.h>
10292 main ()
10294 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10296 return 0;
10298 _ACEOF
10299 if ac_fn_c_try_compile "$LINENO"; then :
10301 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10309 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10310 case "x$with_xrandr" in
10311 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10312 xno) ;;
10313 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10314 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10315 esac
10319 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10320 then
10321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10323 #include <X11/Xlib.h>
10324 #include <X11/extensions/Xinerama.h>
10326 main ()
10328 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10330 return 0;
10332 _ACEOF
10333 if ac_fn_c_try_compile "$LINENO"; then :
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10335 $as_echo_n "checking for -lXinerama... " >&6; }
10336 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10337 $as_echo_n "(cached) " >&6
10338 else
10339 ac_check_soname_save_LIBS=$LIBS
10340 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10344 /* Override any GCC internal prototype to avoid an error.
10345 Use char because int might match the return type of a GCC
10346 builtin and then its argument prototype would still apply. */
10347 #ifdef __cplusplus
10348 extern "C"
10349 #endif
10350 char XineramaQueryScreens ();
10352 main ()
10354 return XineramaQueryScreens ();
10356 return 0;
10358 _ACEOF
10359 if ac_fn_c_try_link "$LINENO"; then :
10360 case "$LIBEXT" in
10361 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10362 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'` ;;
10363 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10364 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10365 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10366 fi ;;
10367 esac
10369 rm -f core conftest.err conftest.$ac_objext \
10370 conftest$ac_exeext conftest.$ac_ext
10371 LIBS=$ac_check_soname_save_LIBS
10373 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10375 $as_echo "not found" >&6; }
10377 else
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10379 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10381 cat >>confdefs.h <<_ACEOF
10382 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10383 _ACEOF
10388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10390 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10391 case "x$with_xinerama" in
10392 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10393 xno) ;;
10394 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10395 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10396 esac
10400 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10401 then
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10403 $as_echo_n "checking for -lXcomposite... " >&6; }
10404 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10405 $as_echo_n "(cached) " >&6
10406 else
10407 ac_check_soname_save_LIBS=$LIBS
10408 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10412 /* Override any GCC internal prototype to avoid an error.
10413 Use char because int might match the return type of a GCC
10414 builtin and then its argument prototype would still apply. */
10415 #ifdef __cplusplus
10416 extern "C"
10417 #endif
10418 char XCompositeRedirectWindow ();
10420 main ()
10422 return XCompositeRedirectWindow ();
10424 return 0;
10426 _ACEOF
10427 if ac_fn_c_try_link "$LINENO"; then :
10428 case "$LIBEXT" in
10429 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10430 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'` ;;
10431 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10432 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10433 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10434 fi ;;
10435 esac
10437 rm -f core conftest.err conftest.$ac_objext \
10438 conftest$ac_exeext conftest.$ac_ext
10439 LIBS=$ac_check_soname_save_LIBS
10441 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10443 $as_echo "not found" >&6; }
10445 else
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10447 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10449 cat >>confdefs.h <<_ACEOF
10450 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10451 _ACEOF
10456 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10457 case "x$with_xcomposite" in
10458 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10459 xno) ;;
10460 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10461 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10462 esac
10466 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10467 #include <X11/Xlib.h>
10468 #endif
10470 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10472 cat >>confdefs.h <<_ACEOF
10473 #define HAVE_XICCALLBACK_CALLBACK 1
10474 _ACEOF
10478 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10479 #include <X11/Xlib.h>
10480 #endif
10482 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10484 cat >>confdefs.h <<_ACEOF
10485 #define HAVE_XEVENT_XCOOKIE 1
10486 _ACEOF
10493 opengl_msg=""
10494 if test "x$with_opengl" != "xno"
10495 then
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10497 $as_echo_n "checking for -lGL... " >&6; }
10498 if ${ac_cv_lib_soname_GL+:} false; then :
10499 $as_echo_n "(cached) " >&6
10500 else
10501 ac_check_soname_save_LIBS=$LIBS
10502 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10504 /* end confdefs.h. */
10506 /* Override any GCC internal prototype to avoid an error.
10507 Use char because int might match the return type of a GCC
10508 builtin and then its argument prototype would still apply. */
10509 #ifdef __cplusplus
10510 extern "C"
10511 #endif
10512 char glXCreateContext ();
10514 main ()
10516 return glXCreateContext ();
10518 return 0;
10520 _ACEOF
10521 if ac_fn_c_try_link "$LINENO"; then :
10522 case "$LIBEXT" in
10523 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10524 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'` ;;
10525 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10526 if ${ac_cv_lib_soname_GL:+false} :; then :
10527 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10528 fi ;;
10529 esac
10531 rm -f core conftest.err conftest.$ac_objext \
10532 conftest$ac_exeext conftest.$ac_ext
10533 LIBS=$ac_check_soname_save_LIBS
10535 if ${ac_cv_lib_soname_GL:+false} :; then :
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10537 $as_echo "not found" >&6; }
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10539 $as_echo_n "checking for -lGL... " >&6; }
10540 if ${ac_cv_lib_soname_GL+:} false; then :
10541 $as_echo_n "(cached) " >&6
10542 else
10543 ac_check_soname_save_LIBS=$LIBS
10544 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"
10545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10546 /* end confdefs.h. */
10548 /* Override any GCC internal prototype to avoid an error.
10549 Use char because int might match the return type of a GCC
10550 builtin and then its argument prototype would still apply. */
10551 #ifdef __cplusplus
10552 extern "C"
10553 #endif
10554 char glXCreateContext ();
10556 main ()
10558 return glXCreateContext ();
10560 return 0;
10562 _ACEOF
10563 if ac_fn_c_try_link "$LINENO"; then :
10564 case "$LIBEXT" in
10565 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10566 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'` ;;
10567 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10568 if ${ac_cv_lib_soname_GL:+false} :; then :
10569 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10570 fi ;;
10571 esac
10573 rm -f core conftest.err conftest.$ac_objext \
10574 conftest$ac_exeext conftest.$ac_ext
10575 LIBS=$ac_check_soname_save_LIBS
10577 if ${ac_cv_lib_soname_GL:+false} :; then :
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10579 $as_echo "not found" >&6; }
10580 if test -f /usr/X11R6/lib/libGL.a
10581 then
10582 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10583 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10584 else
10585 opengl_msg="No OpenGL library found on this system."
10587 else
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10589 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10591 cat >>confdefs.h <<_ACEOF
10592 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10593 _ACEOF
10595 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"
10597 else
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10599 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10601 cat >>confdefs.h <<_ACEOF
10602 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10603 _ACEOF
10605 OPENGL_LIBS="-lGL"
10607 if test "x$with_glu" != "xno"
10608 then
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10610 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10611 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10612 $as_echo_n "(cached) " >&6
10613 else
10614 ac_check_lib_save_LIBS=$LIBS
10615 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10617 /* end confdefs.h. */
10619 /* Override any GCC internal prototype to avoid an error.
10620 Use char because int might match the return type of a GCC
10621 builtin and then its argument prototype would still apply. */
10622 #ifdef __cplusplus
10623 extern "C"
10624 #endif
10625 char gluLookAt ();
10627 main ()
10629 return gluLookAt ();
10631 return 0;
10633 _ACEOF
10634 if ac_fn_c_try_link "$LINENO"; then :
10635 ac_cv_lib_GLU_gluLookAt=yes
10636 else
10637 ac_cv_lib_GLU_gluLookAt=no
10639 rm -f core conftest.err conftest.$ac_objext \
10640 conftest$ac_exeext conftest.$ac_ext
10641 LIBS=$ac_check_lib_save_LIBS
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10644 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10645 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10649 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10650 case "x$with_glu" in
10651 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10652 xno) ;;
10653 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10654 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10655 esac
10660 if test "x$with_osmesa" != "xno"
10661 then
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10663 $as_echo_n "checking for -lOSMesa... " >&6; }
10664 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10665 $as_echo_n "(cached) " >&6
10666 else
10667 ac_check_soname_save_LIBS=$LIBS
10668 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10670 /* end confdefs.h. */
10672 /* Override any GCC internal prototype to avoid an error.
10673 Use char because int might match the return type of a GCC
10674 builtin and then its argument prototype would still apply. */
10675 #ifdef __cplusplus
10676 extern "C"
10677 #endif
10678 char glAccum ();
10680 main ()
10682 return glAccum ();
10684 return 0;
10686 _ACEOF
10687 if ac_fn_c_try_link "$LINENO"; then :
10688 case "$LIBEXT" in
10689 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10690 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'` ;;
10691 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10692 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10693 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10694 fi ;;
10695 esac
10697 rm -f core conftest.err conftest.$ac_objext \
10698 conftest$ac_exeext conftest.$ac_ext
10699 LIBS=$ac_check_soname_save_LIBS
10701 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10703 $as_echo "not found" >&6; }
10705 else
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10707 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10709 cat >>confdefs.h <<_ACEOF
10710 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10711 _ACEOF
10715 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10716 case "x$with_osmesa" in
10717 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10718 xno) ;;
10719 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10720 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10721 esac
10726 if test -n "$opengl_msg"; then :
10727 case "x$with_opengl" in
10728 x) as_fn_append wine_warnings "|$opengl_msg
10729 OpenGL and Direct3D won't be supported." ;;
10730 xno) ;;
10731 *) as_fn_error $? "$opengl_msg
10732 OpenGL and Direct3D won't be supported.
10733 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10734 esac
10738 CPPFLAGS="$ac_save_CPPFLAGS"
10739 else
10740 X_CFLAGS=""
10741 X_LIBS=""
10743 if test "x$X_LIBS" = "x"; then :
10744 case "x$with_x" in
10745 xno) ;;
10746 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10747 without X support, which probably isn't what you want. You will need
10748 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10749 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10750 esac
10751 enable_winex11_drv=${enable_winex11_drv:-no}
10754 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10756 if test "$ac_cv_header_CL_cl_h" = "yes"
10757 then
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10759 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10760 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10761 $as_echo_n "(cached) " >&6
10762 else
10763 ac_check_lib_save_LIBS=$LIBS
10764 LIBS="-lOpenCL $LIBS"
10765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10766 /* end confdefs.h. */
10768 /* Override any GCC internal prototype to avoid an error.
10769 Use char because int might match the return type of a GCC
10770 builtin and then its argument prototype would still apply. */
10771 #ifdef __cplusplus
10772 extern "C"
10773 #endif
10774 char clGetPlatformInfo ();
10776 main ()
10778 return clGetPlatformInfo ();
10780 return 0;
10782 _ACEOF
10783 if ac_fn_c_try_link "$LINENO"; then :
10784 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10785 else
10786 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10788 rm -f core conftest.err conftest.$ac_objext \
10789 conftest$ac_exeext conftest.$ac_ext
10790 LIBS=$ac_check_lib_save_LIBS
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10793 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10794 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10795 OPENCL_LIBS="-lOpenCL"
10800 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10801 case "x$with_opencl" in
10802 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10803 xno) ;;
10804 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10805 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10806 esac
10807 enable_opencl=${enable_opencl:-no}
10810 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10811 then
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10813 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10814 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10815 $as_echo_n "(cached) " >&6
10816 else
10817 ac_check_lib_save_LIBS=$LIBS
10818 LIBS="-lpcap $LIBS"
10819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10822 /* Override any GCC internal prototype to avoid an error.
10823 Use char because int might match the return type of a GCC
10824 builtin and then its argument prototype would still apply. */
10825 #ifdef __cplusplus
10826 extern "C"
10827 #endif
10828 char pcap_create ();
10830 main ()
10832 return pcap_create ();
10834 return 0;
10836 _ACEOF
10837 if ac_fn_c_try_link "$LINENO"; then :
10838 ac_cv_lib_pcap_pcap_create=yes
10839 else
10840 ac_cv_lib_pcap_pcap_create=no
10842 rm -f core conftest.err conftest.$ac_objext \
10843 conftest$ac_exeext conftest.$ac_ext
10844 LIBS=$ac_check_lib_save_LIBS
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10847 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10848 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10849 PCAP_LIBS="-lpcap"
10854 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10855 case "x$with_pcap" in
10856 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10857 xno) ;;
10858 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10859 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10860 esac
10861 enable_wpcap=${enable_wpcap:-no}
10865 if test "x$with_xml" != "xno"
10866 then
10867 if ${XML2_CFLAGS:+false} :; then :
10868 if ${PKG_CONFIG+:} false; then :
10869 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10872 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10873 if ${XML2_LIBS:+false} :; then :
10874 if ${PKG_CONFIG+:} false; then :
10875 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10878 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10879 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10880 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10881 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10882 ac_save_CPPFLAGS=$CPPFLAGS
10883 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10884 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10885 do :
10886 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10887 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10888 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10889 cat >>confdefs.h <<_ACEOF
10890 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10891 _ACEOF
10895 done
10897 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"
10898 then
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10900 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10901 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10902 $as_echo_n "(cached) " >&6
10903 else
10904 ac_check_lib_save_LIBS=$LIBS
10905 LIBS="-lxml2 $XML2_LIBS $LIBS"
10906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10907 /* end confdefs.h. */
10909 /* Override any GCC internal prototype to avoid an error.
10910 Use char because int might match the return type of a GCC
10911 builtin and then its argument prototype would still apply. */
10912 #ifdef __cplusplus
10913 extern "C"
10914 #endif
10915 char xmlParseMemory ();
10917 main ()
10919 return xmlParseMemory ();
10921 return 0;
10923 _ACEOF
10924 if ac_fn_c_try_link "$LINENO"; then :
10925 ac_cv_lib_xml2_xmlParseMemory=yes
10926 else
10927 ac_cv_lib_xml2_xmlParseMemory=no
10929 rm -f core conftest.err conftest.$ac_objext \
10930 conftest$ac_exeext conftest.$ac_ext
10931 LIBS=$ac_check_lib_save_LIBS
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10934 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10935 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10937 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10939 else
10940 XML2_LIBS=""
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10944 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10945 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10946 $as_echo_n "(cached) " >&6
10947 else
10948 ac_check_lib_save_LIBS=$LIBS
10949 LIBS="-lxml2 $XML2_LIBS $LIBS"
10950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10953 /* Override any GCC internal prototype to avoid an error.
10954 Use char because int might match the return type of a GCC
10955 builtin and then its argument prototype would still apply. */
10956 #ifdef __cplusplus
10957 extern "C"
10958 #endif
10959 char xmlReadMemory ();
10961 main ()
10963 return xmlReadMemory ();
10965 return 0;
10967 _ACEOF
10968 if ac_fn_c_try_link "$LINENO"; then :
10969 ac_cv_lib_xml2_xmlReadMemory=yes
10970 else
10971 ac_cv_lib_xml2_xmlReadMemory=no
10973 rm -f core conftest.err conftest.$ac_objext \
10974 conftest$ac_exeext conftest.$ac_ext
10975 LIBS=$ac_check_lib_save_LIBS
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10978 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10979 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10981 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10986 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10987 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10988 $as_echo_n "(cached) " >&6
10989 else
10990 ac_check_lib_save_LIBS=$LIBS
10991 LIBS="-lxml2 $XML2_LIBS $LIBS"
10992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h. */
10995 /* Override any GCC internal prototype to avoid an error.
10996 Use char because int might match the return type of a GCC
10997 builtin and then its argument prototype would still apply. */
10998 #ifdef __cplusplus
10999 extern "C"
11000 #endif
11001 char xmlNewDocPI ();
11003 main ()
11005 return xmlNewDocPI ();
11007 return 0;
11009 _ACEOF
11010 if ac_fn_c_try_link "$LINENO"; then :
11011 ac_cv_lib_xml2_xmlNewDocPI=yes
11012 else
11013 ac_cv_lib_xml2_xmlNewDocPI=no
11015 rm -f core conftest.err conftest.$ac_objext \
11016 conftest$ac_exeext conftest.$ac_ext
11017 LIBS=$ac_check_lib_save_LIBS
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11020 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11021 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11023 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11028 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11029 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11030 $as_echo_n "(cached) " >&6
11031 else
11032 ac_check_lib_save_LIBS=$LIBS
11033 LIBS="-lxml2 $XML2_LIBS $LIBS"
11034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11035 /* end confdefs.h. */
11037 /* Override any GCC internal prototype to avoid an error.
11038 Use char because int might match the return type of a GCC
11039 builtin and then its argument prototype would still apply. */
11040 #ifdef __cplusplus
11041 extern "C"
11042 #endif
11043 char xmlSchemaSetParserStructuredErrors ();
11045 main ()
11047 return xmlSchemaSetParserStructuredErrors ();
11049 return 0;
11051 _ACEOF
11052 if ac_fn_c_try_link "$LINENO"; then :
11053 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11054 else
11055 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11057 rm -f core conftest.err conftest.$ac_objext \
11058 conftest$ac_exeext conftest.$ac_ext
11059 LIBS=$ac_check_lib_save_LIBS
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11062 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11063 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11065 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11070 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11071 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11072 $as_echo_n "(cached) " >&6
11073 else
11074 ac_check_lib_save_LIBS=$LIBS
11075 LIBS="-lxml2 $XML2_LIBS $LIBS"
11076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11079 /* Override any GCC internal prototype to avoid an error.
11080 Use char because int might match the return type of a GCC
11081 builtin and then its argument prototype would still apply. */
11082 #ifdef __cplusplus
11083 extern "C"
11084 #endif
11085 char xmlSchemaSetValidStructuredErrors ();
11087 main ()
11089 return xmlSchemaSetValidStructuredErrors ();
11091 return 0;
11093 _ACEOF
11094 if ac_fn_c_try_link "$LINENO"; then :
11095 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11096 else
11097 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11099 rm -f core conftest.err conftest.$ac_objext \
11100 conftest$ac_exeext conftest.$ac_ext
11101 LIBS=$ac_check_lib_save_LIBS
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11104 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11105 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11107 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11112 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11113 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11114 $as_echo_n "(cached) " >&6
11115 else
11116 ac_check_lib_save_LIBS=$LIBS
11117 LIBS="-lxml2 $XML2_LIBS $LIBS"
11118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11119 /* end confdefs.h. */
11121 /* Override any GCC internal prototype to avoid an error.
11122 Use char because int might match the return type of a GCC
11123 builtin and then its argument prototype would still apply. */
11124 #ifdef __cplusplus
11125 extern "C"
11126 #endif
11127 char xmlFirstElementChild ();
11129 main ()
11131 return xmlFirstElementChild ();
11133 return 0;
11135 _ACEOF
11136 if ac_fn_c_try_link "$LINENO"; then :
11137 ac_cv_lib_xml2_xmlFirstElementChild=yes
11138 else
11139 ac_cv_lib_xml2_xmlFirstElementChild=no
11141 rm -f core conftest.err conftest.$ac_objext \
11142 conftest$ac_exeext conftest.$ac_ext
11143 LIBS=$ac_check_lib_save_LIBS
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11146 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11147 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11149 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11153 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11155 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11157 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11161 else
11162 XML2_CFLAGS=""
11163 XML2_LIBS=""
11165 CPPFLAGS=$ac_save_CPPFLAGS
11166 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11167 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11170 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11171 case "x$with_xml" in
11172 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11173 xno) ;;
11174 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11175 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11176 esac
11180 if test "x$with_xslt" != "xno"
11181 then
11182 if ${XSLT_CFLAGS:+false} :; then :
11183 if ${PKG_CONFIG+:} false; then :
11184 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11187 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11188 if ${XSLT_LIBS:+false} :; then :
11189 if ${PKG_CONFIG+:} false; then :
11190 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11193 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11194 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11195 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11196 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11197 ac_save_CPPFLAGS=$CPPFLAGS
11198 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11199 for ac_header in libxslt/pattern.h libxslt/transform.h
11200 do :
11201 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11202 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11203 # include <libxslt/pattern.h>
11204 #endif
11206 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11207 cat >>confdefs.h <<_ACEOF
11208 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11209 _ACEOF
11213 done
11215 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11216 then
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11218 $as_echo_n "checking for -lxslt... " >&6; }
11219 if ${ac_cv_lib_soname_xslt+:} false; then :
11220 $as_echo_n "(cached) " >&6
11221 else
11222 ac_check_soname_save_LIBS=$LIBS
11223 LIBS="-lxslt $XSLT_LIBS $LIBS"
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11227 /* Override any GCC internal prototype to avoid an error.
11228 Use char because int might match the return type of a GCC
11229 builtin and then its argument prototype would still apply. */
11230 #ifdef __cplusplus
11231 extern "C"
11232 #endif
11233 char xsltCompilePattern ();
11235 main ()
11237 return xsltCompilePattern ();
11239 return 0;
11241 _ACEOF
11242 if ac_fn_c_try_link "$LINENO"; then :
11243 case "$LIBEXT" in
11244 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11245 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'` ;;
11246 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11247 if ${ac_cv_lib_soname_xslt:+false} :; then :
11248 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11249 fi ;;
11250 esac
11252 rm -f core conftest.err conftest.$ac_objext \
11253 conftest$ac_exeext conftest.$ac_ext
11254 LIBS=$ac_check_soname_save_LIBS
11256 if ${ac_cv_lib_soname_xslt:+false} :; then :
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11258 $as_echo "not found" >&6; }
11260 else
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11262 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11264 cat >>confdefs.h <<_ACEOF
11265 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11266 _ACEOF
11270 else
11271 XSLT_CFLAGS=""
11273 CPPFLAGS=$ac_save_CPPFLAGS
11274 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11275 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11278 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11279 case "x$with_xslt" in
11280 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11281 xno) ;;
11282 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11283 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11284 esac
11288 if test "x$with_dbus" != "xno"
11289 then
11290 if ${DBUS_CFLAGS:+false} :; then :
11291 if ${PKG_CONFIG+:} false; then :
11292 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11296 if ${DBUS_LIBS:+false} :; then :
11297 if ${PKG_CONFIG+:} false; then :
11298 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11303 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11304 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11305 ac_save_CPPFLAGS=$CPPFLAGS
11306 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11307 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11308 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11310 $as_echo_n "checking for -ldbus-1... " >&6; }
11311 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11312 $as_echo_n "(cached) " >&6
11313 else
11314 ac_check_soname_save_LIBS=$LIBS
11315 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11319 /* Override any GCC internal prototype to avoid an error.
11320 Use char because int might match the return type of a GCC
11321 builtin and then its argument prototype would still apply. */
11322 #ifdef __cplusplus
11323 extern "C"
11324 #endif
11325 char dbus_connection_close ();
11327 main ()
11329 return dbus_connection_close ();
11331 return 0;
11333 _ACEOF
11334 if ac_fn_c_try_link "$LINENO"; then :
11335 case "$LIBEXT" in
11336 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11337 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'` ;;
11338 *) 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'`
11339 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11340 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11341 fi ;;
11342 esac
11344 rm -f core conftest.err conftest.$ac_objext \
11345 conftest$ac_exeext conftest.$ac_ext
11346 LIBS=$ac_check_soname_save_LIBS
11348 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11350 $as_echo "not found" >&6; }
11351 DBUS_CFLAGS=""
11352 else
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11354 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11356 cat >>confdefs.h <<_ACEOF
11357 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11358 _ACEOF
11362 else
11363 DBUS_CFLAGS=""
11367 CPPFLAGS=$ac_save_CPPFLAGS
11368 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11369 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11372 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11373 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11374 case "x$with_dbus" in
11375 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11376 xno) ;;
11377 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11378 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11379 esac
11383 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11384 then
11385 if ${HAL_CFLAGS:+false} :; then :
11386 if ${PKG_CONFIG+:} false; then :
11387 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11391 if ${HAL_LIBS:+false} :; then :
11392 if ${PKG_CONFIG+:} false; then :
11393 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11397 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11398 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11399 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11400 ac_save_CPPFLAGS=$CPPFLAGS
11401 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11402 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11403 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11405 $as_echo_n "checking for -lhal... " >&6; }
11406 if ${ac_cv_lib_soname_hal+:} false; then :
11407 $as_echo_n "(cached) " >&6
11408 else
11409 ac_check_soname_save_LIBS=$LIBS
11410 LIBS="-lhal $HAL_LIBS $LIBS"
11411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11417 #ifdef __cplusplus
11418 extern "C"
11419 #endif
11420 char libhal_ctx_new ();
11422 main ()
11424 return libhal_ctx_new ();
11426 return 0;
11428 _ACEOF
11429 if ac_fn_c_try_link "$LINENO"; then :
11430 case "$LIBEXT" in
11431 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11432 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'` ;;
11433 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11434 if ${ac_cv_lib_soname_hal:+false} :; then :
11435 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11436 fi ;;
11437 esac
11439 rm -f core conftest.err conftest.$ac_objext \
11440 conftest$ac_exeext conftest.$ac_ext
11441 LIBS=$ac_check_soname_save_LIBS
11443 if ${ac_cv_lib_soname_hal:+false} :; then :
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11445 $as_echo "not found" >&6; }
11446 HAL_CFLAGS=""
11447 else
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11449 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11451 cat >>confdefs.h <<_ACEOF
11452 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11453 _ACEOF
11457 else
11458 HAL_CFLAGS=""
11462 CPPFLAGS=$ac_save_CPPFLAGS
11463 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11464 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11466 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11467 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11468 case "x$with_hal" in
11469 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11470 xno) ;;
11471 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11472 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11473 esac
11478 if test "x$with_gnutls" != "xno"
11479 then
11480 if ${GNUTLS_CFLAGS:+false} :; then :
11481 if ${PKG_CONFIG+:} false; then :
11482 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11486 if ${GNUTLS_LIBS:+false} :; then :
11487 if ${PKG_CONFIG+:} false; then :
11488 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11493 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11494 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11495 ac_save_CPPFLAGS=$CPPFLAGS
11496 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11497 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11498 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11500 /* end confdefs.h. */
11501 #include <gnutls/gnutls.h>
11502 #include <gnutls/crypto.h>
11504 main ()
11506 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11508 return 0;
11510 _ACEOF
11511 if ac_fn_c_try_compile "$LINENO"; then :
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11513 $as_echo_n "checking for -lgnutls... " >&6; }
11514 if ${ac_cv_lib_soname_gnutls+:} false; then :
11515 $as_echo_n "(cached) " >&6
11516 else
11517 ac_check_soname_save_LIBS=$LIBS
11518 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11520 /* end confdefs.h. */
11522 /* Override any GCC internal prototype to avoid an error.
11523 Use char because int might match the return type of a GCC
11524 builtin and then its argument prototype would still apply. */
11525 #ifdef __cplusplus
11526 extern "C"
11527 #endif
11528 char gnutls_global_init ();
11530 main ()
11532 return gnutls_global_init ();
11534 return 0;
11536 _ACEOF
11537 if ac_fn_c_try_link "$LINENO"; then :
11538 case "$LIBEXT" in
11539 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11540 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'` ;;
11541 *) 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'`
11542 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11543 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'`
11544 fi ;;
11545 esac
11547 rm -f core conftest.err conftest.$ac_objext \
11548 conftest$ac_exeext conftest.$ac_ext
11549 LIBS=$ac_check_soname_save_LIBS
11551 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11553 $as_echo "not found" >&6; }
11554 GNUTLS_CFLAGS=""
11555 else
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11557 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11559 cat >>confdefs.h <<_ACEOF
11560 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11561 _ACEOF
11565 ac_wine_check_funcs_save_LIBS="$LIBS"
11566 LIBS="$LIBS $GNUTLS_LIBS"
11567 for ac_func in gnutls_hash
11568 do :
11569 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11570 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11571 cat >>confdefs.h <<_ACEOF
11572 #define HAVE_GNUTLS_HASH 1
11573 _ACEOF
11575 else
11576 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11578 done
11580 LIBS="$ac_wine_check_funcs_save_LIBS"
11582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11583 else
11584 GNUTLS_CFLAGS=""
11588 CPPFLAGS=$ac_save_CPPFLAGS
11589 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11590 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11593 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11594 case "x$with_gnutls" in
11595 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11596 xno) ;;
11597 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11598 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11599 esac
11603 CURSES_LIBS=""
11604 if test "$ac_cv_header_ncurses_h" = "yes"
11605 then
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11607 $as_echo_n "checking for -lncurses... " >&6; }
11608 if ${ac_cv_lib_soname_ncurses+:} false; then :
11609 $as_echo_n "(cached) " >&6
11610 else
11611 ac_check_soname_save_LIBS=$LIBS
11612 LIBS="-lncurses $LIBS"
11613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11614 /* end confdefs.h. */
11616 /* Override any GCC internal prototype to avoid an error.
11617 Use char because int might match the return type of a GCC
11618 builtin and then its argument prototype would still apply. */
11619 #ifdef __cplusplus
11620 extern "C"
11621 #endif
11622 char waddch ();
11624 main ()
11626 return waddch ();
11628 return 0;
11630 _ACEOF
11631 if ac_fn_c_try_link "$LINENO"; then :
11632 case "$LIBEXT" in
11633 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11634 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'` ;;
11635 *) 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'`
11636 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11637 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11638 fi ;;
11639 esac
11641 rm -f core conftest.err conftest.$ac_objext \
11642 conftest$ac_exeext conftest.$ac_ext
11643 LIBS=$ac_check_soname_save_LIBS
11645 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11647 $as_echo "not found" >&6; }
11649 else
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11651 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11653 cat >>confdefs.h <<_ACEOF
11654 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11655 _ACEOF
11657 CURSES_LIBS="-lncurses"
11659 elif test "$ac_cv_header_curses_h" = "yes"
11660 then
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11662 $as_echo_n "checking for -lcurses... " >&6; }
11663 if ${ac_cv_lib_soname_curses+:} false; then :
11664 $as_echo_n "(cached) " >&6
11665 else
11666 ac_check_soname_save_LIBS=$LIBS
11667 LIBS="-lcurses $LIBS"
11668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11671 /* Override any GCC internal prototype to avoid an error.
11672 Use char because int might match the return type of a GCC
11673 builtin and then its argument prototype would still apply. */
11674 #ifdef __cplusplus
11675 extern "C"
11676 #endif
11677 char waddch ();
11679 main ()
11681 return waddch ();
11683 return 0;
11685 _ACEOF
11686 if ac_fn_c_try_link "$LINENO"; then :
11687 case "$LIBEXT" in
11688 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11689 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'` ;;
11690 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11691 if ${ac_cv_lib_soname_curses:+false} :; then :
11692 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11693 fi ;;
11694 esac
11696 rm -f core conftest.err conftest.$ac_objext \
11697 conftest$ac_exeext conftest.$ac_ext
11698 LIBS=$ac_check_soname_save_LIBS
11700 if ${ac_cv_lib_soname_curses:+false} :; then :
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11702 $as_echo "not found" >&6; }
11704 else
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11706 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11708 cat >>confdefs.h <<_ACEOF
11709 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11710 _ACEOF
11712 CURSES_LIBS="-lcurses"
11715 ac_save_LIBS="$LIBS"
11716 LIBS="$LIBS $CURSES_LIBS"
11717 for ac_func in mousemask
11718 do :
11719 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11720 if test "x$ac_cv_func_mousemask" = xyes; then :
11721 cat >>confdefs.h <<_ACEOF
11722 #define HAVE_MOUSEMASK 1
11723 _ACEOF
11726 done
11728 LIBS="$ac_save_LIBS"
11729 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11730 case "x$with_curses" in
11731 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11732 xno) ;;
11733 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11734 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11735 esac
11739 if test "x$with_sane" != "xno"
11740 then
11741 if ${SANE_CFLAGS:+false} :; then :
11742 if ${PKG_CONFIG+:} false; then :
11743 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11746 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11747 if ${SANE_LIBS:+false} :; then :
11748 if ${PKG_CONFIG+:} false; then :
11749 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11752 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11754 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11755 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11756 ac_save_CPPFLAGS=$CPPFLAGS
11757 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11758 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11759 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11761 $as_echo_n "checking for -lsane... " >&6; }
11762 if ${ac_cv_lib_soname_sane+:} false; then :
11763 $as_echo_n "(cached) " >&6
11764 else
11765 ac_check_soname_save_LIBS=$LIBS
11766 LIBS="-lsane $SANE_LIBS $LIBS"
11767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11770 /* Override any GCC internal prototype to avoid an error.
11771 Use char because int might match the return type of a GCC
11772 builtin and then its argument prototype would still apply. */
11773 #ifdef __cplusplus
11774 extern "C"
11775 #endif
11776 char sane_init ();
11778 main ()
11780 return sane_init ();
11782 return 0;
11784 _ACEOF
11785 if ac_fn_c_try_link "$LINENO"; then :
11786 case "$LIBEXT" in
11787 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11788 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'` ;;
11789 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11790 if ${ac_cv_lib_soname_sane:+false} :; then :
11791 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11792 fi ;;
11793 esac
11795 rm -f core conftest.err conftest.$ac_objext \
11796 conftest$ac_exeext conftest.$ac_ext
11797 LIBS=$ac_check_soname_save_LIBS
11799 if ${ac_cv_lib_soname_sane:+false} :; then :
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11801 $as_echo "not found" >&6; }
11802 SANE_CFLAGS=""
11803 else
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11805 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11807 cat >>confdefs.h <<_ACEOF
11808 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11809 _ACEOF
11813 else
11814 SANE_CFLAGS=""
11818 CPPFLAGS=$ac_save_CPPFLAGS
11819 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11820 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11823 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11824 case "x$with_sane" in
11825 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11826 xno) ;;
11827 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11828 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11829 esac
11833 if test "x$with_v4l" != "xno"
11834 then
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11836 $as_echo_n "checking for -lv4l1... " >&6; }
11837 if ${ac_cv_lib_soname_v4l1+:} false; then :
11838 $as_echo_n "(cached) " >&6
11839 else
11840 ac_check_soname_save_LIBS=$LIBS
11841 LIBS="-lv4l1 $LIBS"
11842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11843 /* end confdefs.h. */
11845 /* Override any GCC internal prototype to avoid an error.
11846 Use char because int might match the return type of a GCC
11847 builtin and then its argument prototype would still apply. */
11848 #ifdef __cplusplus
11849 extern "C"
11850 #endif
11851 char v4l1_open ();
11853 main ()
11855 return v4l1_open ();
11857 return 0;
11859 _ACEOF
11860 if ac_fn_c_try_link "$LINENO"; then :
11861 case "$LIBEXT" in
11862 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11863 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'` ;;
11864 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11865 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11866 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11867 fi ;;
11868 esac
11870 rm -f core conftest.err conftest.$ac_objext \
11871 conftest$ac_exeext conftest.$ac_ext
11872 LIBS=$ac_check_soname_save_LIBS
11874 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11876 $as_echo "not found" >&6; }
11878 else
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11880 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11882 cat >>confdefs.h <<_ACEOF
11883 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11884 _ACEOF
11889 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11890 case "x$with_v4l" in
11891 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11892 xno) ;;
11893 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11894 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11895 esac
11899 if test "x$with_gphoto" != "xno"
11900 then
11901 if ${GPHOTO2_CFLAGS:+false} :; then :
11902 if ${PKG_CONFIG+:} false; then :
11903 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11906 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11907 if ${GPHOTO2_LIBS:+false} :; then :
11908 if ${PKG_CONFIG+:} false; then :
11909 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11912 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11913 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11914 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11915 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11916 ac_save_CPPFLAGS=$CPPFLAGS
11917 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11918 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11919 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11921 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11922 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11923 $as_echo_n "(cached) " >&6
11924 else
11925 ac_check_lib_save_LIBS=$LIBS
11926 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11930 /* Override any GCC internal prototype to avoid an error.
11931 Use char because int might match the return type of a GCC
11932 builtin and then its argument prototype would still apply. */
11933 #ifdef __cplusplus
11934 extern "C"
11935 #endif
11936 char gp_camera_new ();
11938 main ()
11940 return gp_camera_new ();
11942 return 0;
11944 _ACEOF
11945 if ac_fn_c_try_link "$LINENO"; then :
11946 ac_cv_lib_gphoto2_gp_camera_new=yes
11947 else
11948 ac_cv_lib_gphoto2_gp_camera_new=no
11950 rm -f core conftest.err conftest.$ac_objext \
11951 conftest$ac_exeext conftest.$ac_ext
11952 LIBS=$ac_check_lib_save_LIBS
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11955 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11956 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11958 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11960 else
11961 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11964 else
11965 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11969 CPPFLAGS=$ac_save_CPPFLAGS
11970 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11971 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11973 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11974 if ${PKG_CONFIG+:} false; then :
11975 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11978 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11979 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11980 if ${PKG_CONFIG+:} false; then :
11981 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11984 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
11985 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11986 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11987 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11988 ac_save_CPPFLAGS=$CPPFLAGS
11989 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11990 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11991 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11993 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11994 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11995 $as_echo_n "(cached) " >&6
11996 else
11997 ac_check_lib_save_LIBS=$LIBS
11998 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12002 /* Override any GCC internal prototype to avoid an error.
12003 Use char because int might match the return type of a GCC
12004 builtin and then its argument prototype would still apply. */
12005 #ifdef __cplusplus
12006 extern "C"
12007 #endif
12008 char gp_port_info_list_new ();
12010 main ()
12012 return gp_port_info_list_new ();
12014 return 0;
12016 _ACEOF
12017 if ac_fn_c_try_link "$LINENO"; then :
12018 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12019 else
12020 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12022 rm -f core conftest.err conftest.$ac_objext \
12023 conftest$ac_exeext conftest.$ac_ext
12024 LIBS=$ac_check_lib_save_LIBS
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12027 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12028 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12030 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12032 else
12033 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12036 else
12037 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12041 CPPFLAGS=$ac_save_CPPFLAGS
12042 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12043 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12046 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12047 case "x$with_gphoto" in
12048 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12049 xno) ;;
12050 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12051 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12052 esac
12055 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12056 case "x$with_gphoto" in
12057 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12058 xno) ;;
12059 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12060 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12061 esac
12066 if test "$ac_cv_header_resolv_h" = "yes"
12067 then
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12069 $as_echo_n "checking for resolver library... " >&6; }
12070 if ${ac_cv_have_resolv+:} false; then :
12071 $as_echo_n "(cached) " >&6
12072 else
12073 ac_save_LIBS="$LIBS"
12074 for lib in '' -lresolv
12076 LIBS="$lib $ac_save_LIBS"
12077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12079 #ifdef HAVE_NETINET_IN_H
12080 #include <netinet/in.h>
12081 #endif
12082 #include <resolv.h>
12084 main ()
12086 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12088 return 0;
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"; then :
12092 ac_cv_have_resolv=${lib:-"none required"}
12093 else
12094 ac_cv_have_resolv="not found"
12096 rm -f core conftest.err conftest.$ac_objext \
12097 conftest$ac_exeext conftest.$ac_ext
12098 test "x$ac_cv_have_resolv" = "xnot found" || break
12099 done
12100 LIBS="$ac_save_LIBS"
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12103 $as_echo "$ac_cv_have_resolv" >&6; }
12105 case "$ac_cv_have_resolv" in
12106 "not found") ;;
12107 "none required")
12109 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12112 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12114 RESOLV_LIBS=$ac_cv_have_resolv
12116 esac
12119 if test "x$with_cms" != "xno"
12120 then
12121 if ${LCMS2_CFLAGS:+false} :; then :
12122 if ${PKG_CONFIG+:} false; then :
12123 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12127 if ${LCMS2_LIBS:+false} :; then :
12128 if ${PKG_CONFIG+:} false; then :
12129 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12133 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12134 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12135 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12136 ac_save_CPPFLAGS=$CPPFLAGS
12137 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12138 for ac_header in lcms2.h
12139 do :
12140 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12141 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12142 cat >>confdefs.h <<_ACEOF
12143 #define HAVE_LCMS2_H 1
12144 _ACEOF
12148 done
12150 if test "$ac_cv_header_lcms2_h" = "yes"
12151 then
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12153 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12154 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12155 $as_echo_n "(cached) " >&6
12156 else
12157 ac_check_lib_save_LIBS=$LIBS
12158 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12160 /* end confdefs.h. */
12162 /* Override any GCC internal prototype to avoid an error.
12163 Use char because int might match the return type of a GCC
12164 builtin and then its argument prototype would still apply. */
12165 #ifdef __cplusplus
12166 extern "C"
12167 #endif
12168 char cmsOpenProfileFromFile ();
12170 main ()
12172 return cmsOpenProfileFromFile ();
12174 return 0;
12176 _ACEOF
12177 if ac_fn_c_try_link "$LINENO"; then :
12178 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12179 else
12180 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12182 rm -f core conftest.err conftest.$ac_objext \
12183 conftest$ac_exeext conftest.$ac_ext
12184 LIBS=$ac_check_lib_save_LIBS
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12187 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12188 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12190 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12192 else
12193 LCMS2_LIBS=""
12196 else
12197 LCMS2_CFLAGS=""
12198 LCMS2_LIBS=""
12200 CPPFLAGS=$ac_save_CPPFLAGS
12201 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12202 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12205 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12206 case "x$with_cms" in
12207 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12208 xno) ;;
12209 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12210 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12211 esac
12215 if test "x$with_freetype" != "xno"
12216 then
12217 if ${FREETYPE_CFLAGS:+false} :; then :
12218 if ${PKG_CONFIG+:} false; then :
12219 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12222 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12223 if ${FREETYPE_LIBS:+false} :; then :
12224 if ${PKG_CONFIG+:} false; then :
12225 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12228 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12229 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12230 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12231 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12232 ac_save_CPPFLAGS=$CPPFLAGS
12233 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12234 for ac_header in ft2build.h
12235 do :
12236 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12237 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12238 cat >>confdefs.h <<_ACEOF
12239 #define HAVE_FT2BUILD_H 1
12240 _ACEOF
12244 done
12246 if test "$ac_cv_header_ft2build_h" = "yes"
12247 then
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12249 $as_echo_n "checking for -lfreetype... " >&6; }
12250 if ${ac_cv_lib_soname_freetype+:} false; then :
12251 $as_echo_n "(cached) " >&6
12252 else
12253 ac_check_soname_save_LIBS=$LIBS
12254 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h. */
12258 /* Override any GCC internal prototype to avoid an error.
12259 Use char because int might match the return type of a GCC
12260 builtin and then its argument prototype would still apply. */
12261 #ifdef __cplusplus
12262 extern "C"
12263 #endif
12264 char FT_Init_FreeType ();
12266 main ()
12268 return FT_Init_FreeType ();
12270 return 0;
12272 _ACEOF
12273 if ac_fn_c_try_link "$LINENO"; then :
12274 case "$LIBEXT" in
12275 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12276 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'` ;;
12277 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12278 if ${ac_cv_lib_soname_freetype:+false} :; then :
12279 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12280 fi ;;
12281 esac
12283 rm -f core conftest.err conftest.$ac_objext \
12284 conftest$ac_exeext conftest.$ac_ext
12285 LIBS=$ac_check_soname_save_LIBS
12287 if ${ac_cv_lib_soname_freetype:+false} :; then :
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12289 $as_echo "not found" >&6; }
12290 FREETYPE_LIBS=""
12291 else
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12293 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12295 cat >>confdefs.h <<_ACEOF
12296 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12297 _ACEOF
12300 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12302 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12303 #include FT_MODULE_H
12305 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12307 cat >>confdefs.h <<_ACEOF
12308 #define HAVE_FT_TRUETYPEENGINETYPE 1
12309 _ACEOF
12315 else
12316 FREETYPE_CFLAGS=""
12317 FREETYPE_LIBS=""
12319 CPPFLAGS=$ac_save_CPPFLAGS
12320 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12321 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12324 if test "x$ac_cv_lib_soname_freetype" = x; then :
12325 case "x$with_freetype" in
12326 xno) ;;
12327 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12328 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12329 esac
12330 enable_fonts=${enable_fonts:-no}
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12334 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12335 if ${ac_cv_c_ppdev+:} false; then :
12336 $as_echo_n "(cached) " >&6
12337 else
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12340 #ifdef HAVE_SYS_IOCTL_H
12341 # include <sys/ioctl.h>
12342 #endif
12343 #include <linux/ppdev.h>
12345 main ()
12347 ioctl (1,PPCLAIM,0)
12349 return 0;
12351 _ACEOF
12352 if ac_fn_c_try_compile "$LINENO"; then :
12353 ac_cv_c_ppdev="yes"
12354 else
12355 ac_cv_c_ppdev="no"
12357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12360 $as_echo "$ac_cv_c_ppdev" >&6; }
12361 if test "$ac_cv_c_ppdev" = "yes"
12362 then
12364 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12368 ac_wine_check_funcs_save_LIBS="$LIBS"
12369 LIBS="$LIBS $PTHREAD_LIBS"
12370 for ac_func in \
12371 pthread_attr_get_np \
12372 pthread_getattr_np \
12373 pthread_getthreadid_np \
12374 pthread_get_stackaddr_np \
12375 pthread_get_stacksize_np
12376 do :
12377 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12379 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12380 cat >>confdefs.h <<_ACEOF
12381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12382 _ACEOF
12385 done
12387 LIBS="$ac_wine_check_funcs_save_LIBS"
12389 if test "$ac_cv_header_zlib_h" = "yes"
12390 then
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12392 $as_echo_n "checking for inflate in -lz... " >&6; }
12393 if ${ac_cv_lib_z_inflate+:} false; then :
12394 $as_echo_n "(cached) " >&6
12395 else
12396 ac_check_lib_save_LIBS=$LIBS
12397 LIBS="-lz $LIBS"
12398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12401 /* Override any GCC internal prototype to avoid an error.
12402 Use char because int might match the return type of a GCC
12403 builtin and then its argument prototype would still apply. */
12404 #ifdef __cplusplus
12405 extern "C"
12406 #endif
12407 char inflate ();
12409 main ()
12411 return inflate ();
12413 return 0;
12415 _ACEOF
12416 if ac_fn_c_try_link "$LINENO"; then :
12417 ac_cv_lib_z_inflate=yes
12418 else
12419 ac_cv_lib_z_inflate=no
12421 rm -f core conftest.err conftest.$ac_objext \
12422 conftest$ac_exeext conftest.$ac_ext
12423 LIBS=$ac_check_lib_save_LIBS
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12426 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12427 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12429 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12431 Z_LIBS="-lz"
12436 if test "x$Z_LIBS" = "x"; then :
12437 case "x$with_zlib" in
12438 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12439 xno) ;;
12440 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12441 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12442 esac
12446 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12447 then
12448 if test "$ac_cv_header_gettext_po_h" = "yes"
12449 then
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12451 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12452 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12453 $as_echo_n "(cached) " >&6
12454 else
12455 ac_check_lib_save_LIBS=$LIBS
12456 LIBS="-lgettextpo $LIBS"
12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h. */
12460 /* Override any GCC internal prototype to avoid an error.
12461 Use char because int might match the return type of a GCC
12462 builtin and then its argument prototype would still apply. */
12463 #ifdef __cplusplus
12464 extern "C"
12465 #endif
12466 char po_message_msgctxt ();
12468 main ()
12470 return po_message_msgctxt ();
12472 return 0;
12474 _ACEOF
12475 if ac_fn_c_try_link "$LINENO"; then :
12476 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12477 else
12478 ac_cv_lib_gettextpo_po_message_msgctxt=no
12480 rm -f core conftest.err conftest.$ac_objext \
12481 conftest$ac_exeext conftest.$ac_ext
12482 LIBS=$ac_check_lib_save_LIBS
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12485 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12486 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12488 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12490 GETTEXTPO_LIBS="-lgettextpo"
12495 if test "x$GETTEXTPO_LIBS" = "x"; then :
12496 case "x$with_gettextpo" in
12497 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12498 xno) ;;
12499 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12500 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12501 esac
12504 if test "$srcdir" != .; then :
12505 case "x$with_gettextpo" in
12506 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12507 xno) ;;
12508 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12509 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12510 esac
12515 if test "x$with_pulse" != "xno";
12516 then
12517 if ${PULSE_CFLAGS:+false} :; then :
12518 if ${PKG_CONFIG+:} false; then :
12519 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12523 if ${PULSE_LIBS:+false} :; then :
12524 if ${PKG_CONFIG+:} false; then :
12525 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12530 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12531 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12532 ac_save_CPPFLAGS=$CPPFLAGS
12533 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12534 for ac_header in pulse/pulseaudio.h
12535 do :
12536 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12537 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12538 cat >>confdefs.h <<_ACEOF
12539 #define HAVE_PULSE_PULSEAUDIO_H 1
12540 _ACEOF
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12542 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12543 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12544 $as_echo_n "(cached) " >&6
12545 else
12546 ac_check_lib_save_LIBS=$LIBS
12547 LIBS="-lpulse $PULSE_LIBS $LIBS"
12548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12549 /* end confdefs.h. */
12551 /* Override any GCC internal prototype to avoid an error.
12552 Use char because int might match the return type of a GCC
12553 builtin and then its argument prototype would still apply. */
12554 #ifdef __cplusplus
12555 extern "C"
12556 #endif
12557 char pa_stream_is_corked ();
12559 main ()
12561 return pa_stream_is_corked ();
12563 return 0;
12565 _ACEOF
12566 if ac_fn_c_try_link "$LINENO"; then :
12567 ac_cv_lib_pulse_pa_stream_is_corked=yes
12568 else
12569 ac_cv_lib_pulse_pa_stream_is_corked=no
12571 rm -f core conftest.err conftest.$ac_objext \
12572 conftest$ac_exeext conftest.$ac_ext
12573 LIBS=$ac_check_lib_save_LIBS
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12576 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12577 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12579 else
12580 PULSE_LIBS=""
12583 else
12584 PULSE_LIBS=""
12587 done
12589 CPPFLAGS=$ac_save_CPPFLAGS
12590 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12591 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12594 if test -z "$PULSE_LIBS"; then :
12595 case "x$with_pulse" in
12596 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12597 xno) ;;
12598 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12599 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12600 esac
12601 enable_winepulse_drv=${enable_winepulse_drv:-no}
12604 if test "x$with_gstreamer" != "xno"
12605 then
12606 if ${GSTREAMER_CFLAGS:+false} :; then :
12607 if ${PKG_CONFIG+:} false; then :
12608 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12612 if ${GSTREAMER_LIBS:+false} :; then :
12613 if ${PKG_CONFIG+:} false; then :
12614 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12619 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12620 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12621 ac_save_CPPFLAGS=$CPPFLAGS
12622 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12623 ac_gst_incl=""
12624 for i in $GSTREAMER_CFLAGS
12626 case "$i" in
12627 -I*) ac_gst_incl="$ac_gst_incl $i";;
12628 esac
12629 done
12630 GSTREAMER_CFLAGS=$ac_gst_incl
12631 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12632 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12633 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12635 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12638 #include <gst/gst.h>
12640 main ()
12642 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12644 return 0;
12646 _ACEOF
12647 if ac_fn_c_try_compile "$LINENO"; then :
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12649 $as_echo "yes" >&6; }
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12651 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12652 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12653 $as_echo_n "(cached) " >&6
12654 else
12655 ac_check_lib_save_LIBS=$LIBS
12656 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12658 /* end confdefs.h. */
12660 /* Override any GCC internal prototype to avoid an error.
12661 Use char because int might match the return type of a GCC
12662 builtin and then its argument prototype would still apply. */
12663 #ifdef __cplusplus
12664 extern "C"
12665 #endif
12666 char gst_pad_new ();
12668 main ()
12670 return gst_pad_new ();
12672 return 0;
12674 _ACEOF
12675 if ac_fn_c_try_link "$LINENO"; then :
12676 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12677 else
12678 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12680 rm -f core conftest.err conftest.$ac_objext \
12681 conftest$ac_exeext conftest.$ac_ext
12682 LIBS=$ac_check_lib_save_LIBS
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12685 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12686 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12690 else
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12692 $as_echo "no" >&6; }
12693 ac_glib2_broken=yes
12694 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12700 CPPFLAGS=$ac_save_CPPFLAGS
12701 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12702 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12705 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 :
12706 case "x$with_gstreamer" in
12707 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12708 xno) ;;
12709 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12710 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12711 esac
12714 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12716 ALSA_LIBS=""
12718 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12719 then
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12721 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12722 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12723 $as_echo_n "(cached) " >&6
12724 else
12725 ac_check_lib_save_LIBS=$LIBS
12726 LIBS="-lasound $LIBS"
12727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12728 /* end confdefs.h. */
12730 /* Override any GCC internal prototype to avoid an error.
12731 Use char because int might match the return type of a GCC
12732 builtin and then its argument prototype would still apply. */
12733 #ifdef __cplusplus
12734 extern "C"
12735 #endif
12736 char snd_pcm_hw_params_get_access_mask ();
12738 main ()
12740 return snd_pcm_hw_params_get_access_mask ();
12742 return 0;
12744 _ACEOF
12745 if ac_fn_c_try_link "$LINENO"; then :
12746 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12747 else
12748 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12750 rm -f core conftest.err conftest.$ac_objext \
12751 conftest$ac_exeext conftest.$ac_ext
12752 LIBS=$ac_check_lib_save_LIBS
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12755 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12756 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12758 /* end confdefs.h. */
12759 #ifdef HAVE_ALSA_ASOUNDLIB_H
12760 #include <alsa/asoundlib.h>
12761 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12762 #include <sys/asoundlib.h>
12763 #endif
12765 main ()
12767 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12769 return 0;
12771 _ACEOF
12772 if ac_fn_c_try_compile "$LINENO"; then :
12773 ALSA_LIBS="-lasound"
12775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12779 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12781 if test "x$with_oss" != xno
12782 then
12783 ac_save_CPPFLAGS="$CPPFLAGS"
12784 if test -f /etc/oss.conf
12785 then
12786 . /etc/oss.conf
12788 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12789 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12790 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12791 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12792 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12794 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12796 cat >>confdefs.h <<_ACEOF
12797 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12798 _ACEOF
12800 OSS4_CFLAGS="$ac_oss_incl"
12807 CPPFLAGS="$ac_save_CPPFLAGS"
12809 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12810 case "x$with_oss" in
12811 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12812 xno) ;;
12813 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12814 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12815 esac
12816 enable_wineoss_drv=${enable_wineoss_drv:-no}
12819 if test "x$with_capi" != "xno"
12820 then
12821 if ${CAPI20_CFLAGS:+false} :; then :
12822 if ${PKG_CONFIG+:} false; then :
12823 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12827 if ${CAPI20_LIBS:+false} :; then :
12828 if ${PKG_CONFIG+:} false; then :
12829 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12834 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12835 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12836 ac_save_CPPFLAGS=$CPPFLAGS
12837 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12838 for ac_header in capi20.h linux/capi.h
12839 do :
12840 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12841 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12843 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12844 cat >>confdefs.h <<_ACEOF
12845 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12846 _ACEOF
12850 done
12852 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12853 then
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12855 $as_echo_n "checking for -lcapi20... " >&6; }
12856 if ${ac_cv_lib_soname_capi20+:} false; then :
12857 $as_echo_n "(cached) " >&6
12858 else
12859 ac_check_soname_save_LIBS=$LIBS
12860 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12862 /* end confdefs.h. */
12864 /* Override any GCC internal prototype to avoid an error.
12865 Use char because int might match the return type of a GCC
12866 builtin and then its argument prototype would still apply. */
12867 #ifdef __cplusplus
12868 extern "C"
12869 #endif
12870 char capi20_register ();
12872 main ()
12874 return capi20_register ();
12876 return 0;
12878 _ACEOF
12879 if ac_fn_c_try_link "$LINENO"; then :
12880 case "$LIBEXT" in
12881 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12882 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'` ;;
12883 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12884 if ${ac_cv_lib_soname_capi20:+false} :; then :
12885 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12886 fi ;;
12887 esac
12889 rm -f core conftest.err conftest.$ac_objext \
12890 conftest$ac_exeext conftest.$ac_ext
12891 LIBS=$ac_check_soname_save_LIBS
12893 if ${ac_cv_lib_soname_capi20:+false} :; then :
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12895 $as_echo "not found" >&6; }
12897 else
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12899 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12901 cat >>confdefs.h <<_ACEOF
12902 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12903 _ACEOF
12908 CPPFLAGS=$ac_save_CPPFLAGS
12909 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12910 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12913 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12914 case "x$with_capi" in
12915 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12916 xno) ;;
12917 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12918 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12919 esac
12923 CUPS_CFLAGS=""
12925 if test "x$with_cups" != "xno"
12926 then
12927 ac_save_CPPFLAGS="$CPPFLAGS"
12928 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12929 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12930 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12931 for ac_header in cups/cups.h
12932 do :
12933 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12934 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12935 cat >>confdefs.h <<_ACEOF
12936 #define HAVE_CUPS_CUPS_H 1
12937 _ACEOF
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12939 $as_echo_n "checking for -lcups... " >&6; }
12940 if ${ac_cv_lib_soname_cups+:} false; then :
12941 $as_echo_n "(cached) " >&6
12942 else
12943 ac_check_soname_save_LIBS=$LIBS
12944 LIBS="-lcups $ac_cups_libs $LIBS"
12945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12946 /* end confdefs.h. */
12948 /* Override any GCC internal prototype to avoid an error.
12949 Use char because int might match the return type of a GCC
12950 builtin and then its argument prototype would still apply. */
12951 #ifdef __cplusplus
12952 extern "C"
12953 #endif
12954 char cupsGetDefault ();
12956 main ()
12958 return cupsGetDefault ();
12960 return 0;
12962 _ACEOF
12963 if ac_fn_c_try_link "$LINENO"; then :
12964 case "$LIBEXT" in
12965 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12966 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'` ;;
12967 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12968 if ${ac_cv_lib_soname_cups:+false} :; then :
12969 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12970 fi ;;
12971 esac
12973 rm -f core conftest.err conftest.$ac_objext \
12974 conftest$ac_exeext conftest.$ac_ext
12975 LIBS=$ac_check_soname_save_LIBS
12977 if ${ac_cv_lib_soname_cups:+false} :; then :
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12979 $as_echo "not found" >&6; }
12981 else
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12983 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12985 cat >>confdefs.h <<_ACEOF
12986 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12987 _ACEOF
12989 CUPS_CFLAGS="$ac_cups_cflags"
12993 done
12995 CPPFLAGS="$ac_save_CPPFLAGS"
12997 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12998 case "x$with_cups" in
12999 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13000 xno) ;;
13001 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13002 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13003 esac
13007 if test "x$with_fontconfig" != "xno"
13008 then
13009 if ${FONTCONFIG_CFLAGS:+false} :; then :
13010 if ${PKG_CONFIG+:} false; then :
13011 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13014 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13015 if ${FONTCONFIG_LIBS:+false} :; then :
13016 if ${PKG_CONFIG+:} false; then :
13017 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13020 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13022 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13023 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13024 ac_save_CPPFLAGS=$CPPFLAGS
13025 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13026 for ac_header in fontconfig/fontconfig.h
13027 do :
13028 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13029 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13030 cat >>confdefs.h <<_ACEOF
13031 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13032 _ACEOF
13036 done
13038 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13039 then
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13041 $as_echo_n "checking for -lfontconfig... " >&6; }
13042 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13043 $as_echo_n "(cached) " >&6
13044 else
13045 ac_check_soname_save_LIBS=$LIBS
13046 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13048 /* end confdefs.h. */
13050 /* Override any GCC internal prototype to avoid an error.
13051 Use char because int might match the return type of a GCC
13052 builtin and then its argument prototype would still apply. */
13053 #ifdef __cplusplus
13054 extern "C"
13055 #endif
13056 char FcInit ();
13058 main ()
13060 return FcInit ();
13062 return 0;
13064 _ACEOF
13065 if ac_fn_c_try_link "$LINENO"; then :
13066 case "$LIBEXT" in
13067 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13068 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'` ;;
13069 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13070 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13071 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13072 fi ;;
13073 esac
13075 rm -f core conftest.err conftest.$ac_objext \
13076 conftest$ac_exeext conftest.$ac_ext
13077 LIBS=$ac_check_soname_save_LIBS
13079 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13081 $as_echo "not found" >&6; }
13082 FONTCONFIG_CFLAGS=""
13083 else
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13085 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13087 cat >>confdefs.h <<_ACEOF
13088 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13089 _ACEOF
13093 else
13094 FONTCONFIG_CFLAGS=""
13096 CPPFLAGS=$ac_save_CPPFLAGS
13097 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13098 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13101 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13102 case "x$with_fontconfig" in
13103 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13104 xno) ;;
13105 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13106 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13107 esac
13111 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13112 then
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13114 $as_echo_n "checking for -lgsm... " >&6; }
13115 if ${ac_cv_lib_soname_gsm+:} false; then :
13116 $as_echo_n "(cached) " >&6
13117 else
13118 ac_check_soname_save_LIBS=$LIBS
13119 LIBS="-lgsm $LIBS"
13120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13123 /* Override any GCC internal prototype to avoid an error.
13124 Use char because int might match the return type of a GCC
13125 builtin and then its argument prototype would still apply. */
13126 #ifdef __cplusplus
13127 extern "C"
13128 #endif
13129 char gsm_create ();
13131 main ()
13133 return gsm_create ();
13135 return 0;
13137 _ACEOF
13138 if ac_fn_c_try_link "$LINENO"; then :
13139 case "$LIBEXT" in
13140 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13141 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'` ;;
13142 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13143 if ${ac_cv_lib_soname_gsm:+false} :; then :
13144 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13145 fi ;;
13146 esac
13148 rm -f core conftest.err conftest.$ac_objext \
13149 conftest$ac_exeext conftest.$ac_ext
13150 LIBS=$ac_check_soname_save_LIBS
13152 if ${ac_cv_lib_soname_gsm:+false} :; then :
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13154 $as_echo "not found" >&6; }
13156 else
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13158 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13160 cat >>confdefs.h <<_ACEOF
13161 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13162 _ACEOF
13167 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13168 case "x$with_gsm" in
13169 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13170 xno) ;;
13171 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13172 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13173 esac
13177 if test "x$with_jpeg" != "xno"
13178 then
13179 if ${JPEG_CFLAGS:+false} :; then :
13180 if ${PKG_CONFIG+:} false; then :
13181 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13185 if ${JPEG_LIBS:+false} :; then :
13186 if ${PKG_CONFIG+:} false; then :
13187 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13192 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13193 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13194 ac_save_CPPFLAGS=$CPPFLAGS
13195 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13196 for ac_header in jpeglib.h
13197 do :
13198 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13199 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13200 cat >>confdefs.h <<_ACEOF
13201 #define HAVE_JPEGLIB_H 1
13202 _ACEOF
13206 done
13208 if test "$ac_cv_header_jpeglib_h" = "yes"
13209 then
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13211 $as_echo_n "checking for -ljpeg... " >&6; }
13212 if ${ac_cv_lib_soname_jpeg+:} false; then :
13213 $as_echo_n "(cached) " >&6
13214 else
13215 ac_check_soname_save_LIBS=$LIBS
13216 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13218 /* end confdefs.h. */
13220 /* Override any GCC internal prototype to avoid an error.
13221 Use char because int might match the return type of a GCC
13222 builtin and then its argument prototype would still apply. */
13223 #ifdef __cplusplus
13224 extern "C"
13225 #endif
13226 char jpeg_start_decompress ();
13228 main ()
13230 return jpeg_start_decompress ();
13232 return 0;
13234 _ACEOF
13235 if ac_fn_c_try_link "$LINENO"; then :
13236 case "$LIBEXT" in
13237 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13238 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'` ;;
13239 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13240 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13241 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13242 fi ;;
13243 esac
13245 rm -f core conftest.err conftest.$ac_objext \
13246 conftest$ac_exeext conftest.$ac_ext
13247 LIBS=$ac_check_soname_save_LIBS
13249 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13251 $as_echo "not found" >&6; }
13252 JPEG_CFLAGS=""
13253 else
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13255 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13257 cat >>confdefs.h <<_ACEOF
13258 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13259 _ACEOF
13263 else
13264 JPEG_CFLAGS=""
13266 CPPFLAGS=$ac_save_CPPFLAGS
13267 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13268 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13271 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13272 case "x$with_jpeg" in
13273 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13274 xno) ;;
13275 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13276 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13277 esac
13281 if test "x$with_png" != "xno"
13282 then
13283 if ${PNG_CFLAGS:+false} :; then :
13284 if ${PKG_CONFIG+:} false; then :
13285 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13288 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13289 if ${PNG_LIBS:+false} :; then :
13290 if ${PKG_CONFIG+:} false; then :
13291 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13294 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13296 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13297 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13298 ac_save_CPPFLAGS=$CPPFLAGS
13299 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13300 for ac_header in png.h
13301 do :
13302 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13303 if test "x$ac_cv_header_png_h" = xyes; then :
13304 cat >>confdefs.h <<_ACEOF
13305 #define HAVE_PNG_H 1
13306 _ACEOF
13310 done
13312 if test "$ac_cv_header_png_h" = "yes"
13313 then
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13315 $as_echo_n "checking for -lpng... " >&6; }
13316 if ${ac_cv_lib_soname_png+:} false; then :
13317 $as_echo_n "(cached) " >&6
13318 else
13319 ac_check_soname_save_LIBS=$LIBS
13320 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322 /* end confdefs.h. */
13324 /* Override any GCC internal prototype to avoid an error.
13325 Use char because int might match the return type of a GCC
13326 builtin and then its argument prototype would still apply. */
13327 #ifdef __cplusplus
13328 extern "C"
13329 #endif
13330 char png_create_read_struct ();
13332 main ()
13334 return png_create_read_struct ();
13336 return 0;
13338 _ACEOF
13339 if ac_fn_c_try_link "$LINENO"; then :
13340 case "$LIBEXT" in
13341 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13342 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'` ;;
13343 *) 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'`
13344 if ${ac_cv_lib_soname_png:+false} :; then :
13345 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13346 fi ;;
13347 esac
13349 rm -f core conftest.err conftest.$ac_objext \
13350 conftest$ac_exeext conftest.$ac_ext
13351 LIBS=$ac_check_soname_save_LIBS
13353 if ${ac_cv_lib_soname_png:+false} :; then :
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13355 $as_echo "not found" >&6; }
13356 PNG_CFLAGS=""
13357 else
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13359 $as_echo "$ac_cv_lib_soname_png" >&6; }
13361 cat >>confdefs.h <<_ACEOF
13362 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13363 _ACEOF
13365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13366 /* end confdefs.h. */
13367 #include <png.h>
13369 main ()
13371 typeof(png_set_expand_gray_1_2_4_to_8) *p
13373 return 0;
13375 _ACEOF
13376 if ac_fn_c_try_compile "$LINENO"; then :
13378 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13383 else
13384 PNG_CFLAGS=""
13386 CPPFLAGS=$ac_save_CPPFLAGS
13387 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13388 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13391 if test "x$ac_cv_lib_soname_png" = "x"; then :
13392 case "x$with_png" in
13393 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13394 xno) ;;
13395 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13396 This is an error since --with-png was requested." "$LINENO" 5 ;;
13397 esac
13401 if test "x$with_tiff" != "xno"
13402 then
13403 if ${TIFF_CFLAGS:+false} :; then :
13404 if ${PKG_CONFIG+:} false; then :
13405 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13409 if ${TIFF_LIBS:+false} :; then :
13410 if ${PKG_CONFIG+:} false; then :
13411 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13416 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13417 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13418 ac_save_CPPFLAGS=$CPPFLAGS
13419 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13420 for ac_header in tiffio.h
13421 do :
13422 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13423 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13424 cat >>confdefs.h <<_ACEOF
13425 #define HAVE_TIFFIO_H 1
13426 _ACEOF
13430 done
13432 if test "$ac_cv_header_tiffio_h" = "yes"
13433 then
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13435 $as_echo_n "checking for -ltiff... " >&6; }
13436 if ${ac_cv_lib_soname_tiff+:} false; then :
13437 $as_echo_n "(cached) " >&6
13438 else
13439 ac_check_soname_save_LIBS=$LIBS
13440 LIBS="-ltiff $TIFF_LIBS $LIBS"
13441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13442 /* end confdefs.h. */
13444 /* Override any GCC internal prototype to avoid an error.
13445 Use char because int might match the return type of a GCC
13446 builtin and then its argument prototype would still apply. */
13447 #ifdef __cplusplus
13448 extern "C"
13449 #endif
13450 char TIFFClientOpen ();
13452 main ()
13454 return TIFFClientOpen ();
13456 return 0;
13458 _ACEOF
13459 if ac_fn_c_try_link "$LINENO"; then :
13460 case "$LIBEXT" in
13461 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13462 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'` ;;
13463 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13464 if ${ac_cv_lib_soname_tiff:+false} :; then :
13465 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13466 fi ;;
13467 esac
13469 rm -f core conftest.err conftest.$ac_objext \
13470 conftest$ac_exeext conftest.$ac_ext
13471 LIBS=$ac_check_soname_save_LIBS
13473 if ${ac_cv_lib_soname_tiff:+false} :; then :
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13475 $as_echo "not found" >&6; }
13477 else
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13479 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13481 cat >>confdefs.h <<_ACEOF
13482 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13483 _ACEOF
13488 CPPFLAGS=$ac_save_CPPFLAGS
13489 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13490 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13493 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13494 case "x$with_tiff" in
13495 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13496 xno) ;;
13497 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13498 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13499 esac
13503 if test "x$with_mpg123" != "xno"
13504 then
13505 if ${MPG123_CFLAGS:+false} :; then :
13506 if ${PKG_CONFIG+:} false; then :
13507 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13511 if ${MPG123_LIBS:+false} :; then :
13512 if ${PKG_CONFIG+:} false; then :
13513 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13517 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13518 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13519 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13520 ac_save_CPPFLAGS=$CPPFLAGS
13521 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13522 for ac_header in mpg123.h
13523 do :
13524 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13525 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13526 cat >>confdefs.h <<_ACEOF
13527 #define HAVE_MPG123_H 1
13528 _ACEOF
13532 done
13534 if test "$ac_cv_header_mpg123_h" = "yes"
13535 then
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13537 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13538 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13539 $as_echo_n "(cached) " >&6
13540 else
13541 ac_check_lib_save_LIBS=$LIBS
13542 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13544 /* end confdefs.h. */
13546 /* Override any GCC internal prototype to avoid an error.
13547 Use char because int might match the return type of a GCC
13548 builtin and then its argument prototype would still apply. */
13549 #ifdef __cplusplus
13550 extern "C"
13551 #endif
13552 char mpg123_feed ();
13554 main ()
13556 return mpg123_feed ();
13558 return 0;
13560 _ACEOF
13561 if ac_fn_c_try_link "$LINENO"; then :
13562 ac_cv_lib_mpg123_mpg123_feed=yes
13563 else
13564 ac_cv_lib_mpg123_mpg123_feed=no
13566 rm -f core conftest.err conftest.$ac_objext \
13567 conftest$ac_exeext conftest.$ac_ext
13568 LIBS=$ac_check_lib_save_LIBS
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13571 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13572 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13574 else
13575 MPG123_LIBS=""
13578 else
13579 MPG123_CFLAGS=""
13580 MPG123_LIBS=""
13582 CPPFLAGS=$ac_save_CPPFLAGS
13583 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13584 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13587 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13588 case "x$with_mpg123" in
13589 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13590 xno) ;;
13591 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13592 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13593 esac
13594 enable_winemp3_acm=${enable_winemp3_acm:-no}
13597 if test "$ac_cv_header_AL_al_h" = "yes"
13598 then
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13600 $as_echo_n "checking for -lopenal... " >&6; }
13601 if ${ac_cv_lib_soname_openal+:} false; then :
13602 $as_echo_n "(cached) " >&6
13603 else
13604 ac_check_soname_save_LIBS=$LIBS
13605 LIBS="-lopenal $LIBS"
13606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13607 /* end confdefs.h. */
13609 /* Override any GCC internal prototype to avoid an error.
13610 Use char because int might match the return type of a GCC
13611 builtin and then its argument prototype would still apply. */
13612 #ifdef __cplusplus
13613 extern "C"
13614 #endif
13615 char alGetSource3i ();
13617 main ()
13619 return alGetSource3i ();
13621 return 0;
13623 _ACEOF
13624 if ac_fn_c_try_link "$LINENO"; then :
13625 case "$LIBEXT" in
13626 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13627 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'` ;;
13628 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13629 if ${ac_cv_lib_soname_openal:+false} :; then :
13630 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13631 fi ;;
13632 esac
13634 rm -f core conftest.err conftest.$ac_objext \
13635 conftest$ac_exeext conftest.$ac_ext
13636 LIBS=$ac_check_soname_save_LIBS
13638 if ${ac_cv_lib_soname_openal:+false} :; then :
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13640 $as_echo "not found" >&6; }
13642 else
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13644 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13646 cat >>confdefs.h <<_ACEOF
13647 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13648 _ACEOF
13650 OPENAL_LIBS="-lopenal"
13652 ac_cv_lib_openal=yes
13654 cat >>confdefs.h <<_ACEOF
13655 #define HAVE_OPENAL 1
13656 _ACEOF
13660 if test "x$ac_cv_lib_openal" != xyes; then :
13661 case "x$with_openal" in
13662 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13663 xno) ;;
13664 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13665 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13666 esac
13667 enable_openal32=${enable_openal32:-no}
13670 if test "x$ac_cv_lib_openal" = xyes
13671 then
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13673 $as_echo_n "checking for openal-soft... " >&6; }
13674 if ${ac_cv_have_openalsoft+:} false; then :
13675 $as_echo_n "(cached) " >&6
13676 else
13677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13678 /* end confdefs.h. */
13679 #include <AL/al.h>
13680 #include <AL/alc.h>
13681 #include <AL/alext.h>
13682 LPALCRENDERSAMPLESSOFT x;
13684 main ()
13688 return 0;
13690 _ACEOF
13691 if ac_fn_c_try_compile "$LINENO"; then :
13692 ac_cv_have_openalsoft=yes
13693 else
13694 ac_cv_have_openalsoft=no
13696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13699 $as_echo "$ac_cv_have_openalsoft" >&6; }
13701 if test "x$ac_cv_have_openalsoft" != xyes
13702 then
13703 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13704 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13705 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13706 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13707 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13708 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13709 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13710 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13711 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13712 enable_xapofx1_1=${enable_xapofx1_1:-no}
13713 enable_xapofx1_2=${enable_xapofx1_2:-no}
13714 enable_xapofx1_3=${enable_xapofx1_3:-no}
13715 enable_xapofx1_4=${enable_xapofx1_4:-no}
13716 enable_xapofx1_5=${enable_xapofx1_5:-no}
13717 enable_xaudio2_0=${enable_xaudio2_0:-no}
13718 enable_xaudio2_1=${enable_xaudio2_1:-no}
13719 enable_xaudio2_2=${enable_xaudio2_2:-no}
13720 enable_xaudio2_3=${enable_xaudio2_3:-no}
13721 enable_xaudio2_4=${enable_xaudio2_4:-no}
13722 enable_xaudio2_5=${enable_xaudio2_5:-no}
13723 enable_xaudio2_6=${enable_xaudio2_6:-no}
13724 enable_xaudio2_7=${enable_xaudio2_7:-no}
13725 enable_xaudio2_8=${enable_xaudio2_8:-no}
13726 enable_xaudio2_9=${enable_xaudio2_9:-no}
13729 if test "$ac_cv_header_kstat_h" = "yes"
13730 then
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13732 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13733 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13734 $as_echo_n "(cached) " >&6
13735 else
13736 ac_check_lib_save_LIBS=$LIBS
13737 LIBS="-lkstat $LIBS"
13738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13739 /* end confdefs.h. */
13741 /* Override any GCC internal prototype to avoid an error.
13742 Use char because int might match the return type of a GCC
13743 builtin and then its argument prototype would still apply. */
13744 #ifdef __cplusplus
13745 extern "C"
13746 #endif
13747 char kstat_open ();
13749 main ()
13751 return kstat_open ();
13753 return 0;
13755 _ACEOF
13756 if ac_fn_c_try_link "$LINENO"; then :
13757 ac_cv_lib_kstat_kstat_open=yes
13758 else
13759 ac_cv_lib_kstat_kstat_open=no
13761 rm -f core conftest.err conftest.$ac_objext \
13762 conftest$ac_exeext conftest.$ac_ext
13763 LIBS=$ac_check_lib_save_LIBS
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13766 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13767 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13769 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13771 KSTAT_LIBS="-lkstat"
13777 if test "$ac_cv_header_libprocstat_h" = "yes"
13778 then
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13780 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13781 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13782 $as_echo_n "(cached) " >&6
13783 else
13784 ac_check_lib_save_LIBS=$LIBS
13785 LIBS="-lprocstat $LIBS"
13786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13789 /* Override any GCC internal prototype to avoid an error.
13790 Use char because int might match the return type of a GCC
13791 builtin and then its argument prototype would still apply. */
13792 #ifdef __cplusplus
13793 extern "C"
13794 #endif
13795 char procstat_open_sysctl ();
13797 main ()
13799 return procstat_open_sysctl ();
13801 return 0;
13803 _ACEOF
13804 if ac_fn_c_try_link "$LINENO"; then :
13805 ac_cv_lib_procstat_procstat_open_sysctl=yes
13806 else
13807 ac_cv_lib_procstat_procstat_open_sysctl=no
13809 rm -f core conftest.err conftest.$ac_objext \
13810 conftest$ac_exeext conftest.$ac_ext
13811 LIBS=$ac_check_lib_save_LIBS
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13814 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13815 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13817 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13819 PROCSTAT_LIBS="-lprocstat"
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13826 $as_echo_n "checking for -lodbc... " >&6; }
13827 if ${ac_cv_lib_soname_odbc+:} false; then :
13828 $as_echo_n "(cached) " >&6
13829 else
13830 ac_check_soname_save_LIBS=$LIBS
13831 LIBS="-lodbc $LIBS"
13832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13833 /* end confdefs.h. */
13835 /* Override any GCC internal prototype to avoid an error.
13836 Use char because int might match the return type of a GCC
13837 builtin and then its argument prototype would still apply. */
13838 #ifdef __cplusplus
13839 extern "C"
13840 #endif
13841 char SQLConnect ();
13843 main ()
13845 return SQLConnect ();
13847 return 0;
13849 _ACEOF
13850 if ac_fn_c_try_link "$LINENO"; then :
13851 case "$LIBEXT" in
13852 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13853 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'` ;;
13854 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13855 if ${ac_cv_lib_soname_odbc:+false} :; then :
13856 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13857 fi ;;
13858 esac
13860 rm -f core conftest.err conftest.$ac_objext \
13861 conftest$ac_exeext conftest.$ac_ext
13862 LIBS=$ac_check_soname_save_LIBS
13864 if ${ac_cv_lib_soname_odbc:+false} :; then :
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13866 $as_echo "not found" >&6; }
13867 cat >>confdefs.h <<_ACEOF
13868 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13869 _ACEOF
13871 else
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13873 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13875 cat >>confdefs.h <<_ACEOF
13876 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13877 _ACEOF
13882 if test "x$with_netapi" != "xno"
13883 then
13884 if ${NETAPI_CFLAGS:+false} :; then :
13885 if ${PKG_CONFIG+:} false; then :
13886 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13890 if ${NETAPI_LIBS:+false} :; then :
13891 if ${PKG_CONFIG+:} false; then :
13892 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13897 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13898 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13899 ac_save_CPPFLAGS=$CPPFLAGS
13900 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13902 $as_echo_n "checking for -lnetapi... " >&6; }
13903 if ${ac_cv_lib_soname_netapi+:} false; then :
13904 $as_echo_n "(cached) " >&6
13905 else
13906 ac_check_soname_save_LIBS=$LIBS
13907 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13909 /* end confdefs.h. */
13911 /* Override any GCC internal prototype to avoid an error.
13912 Use char because int might match the return type of a GCC
13913 builtin and then its argument prototype would still apply. */
13914 #ifdef __cplusplus
13915 extern "C"
13916 #endif
13917 char libnetapi_init ();
13919 main ()
13921 return libnetapi_init ();
13923 return 0;
13925 _ACEOF
13926 if ac_fn_c_try_link "$LINENO"; then :
13927 case "$LIBEXT" in
13928 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13929 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'` ;;
13930 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13931 if ${ac_cv_lib_soname_netapi:+false} :; then :
13932 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13933 fi ;;
13934 esac
13936 rm -f core conftest.err conftest.$ac_objext \
13937 conftest$ac_exeext conftest.$ac_ext
13938 LIBS=$ac_check_soname_save_LIBS
13940 if ${ac_cv_lib_soname_netapi:+false} :; then :
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13942 $as_echo "not found" >&6; }
13943 cat >>confdefs.h <<_ACEOF
13944 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13945 _ACEOF
13947 else
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13949 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13951 cat >>confdefs.h <<_ACEOF
13952 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13953 _ACEOF
13957 CPPFLAGS=$ac_save_CPPFLAGS
13958 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13959 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13963 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13964 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13965 then
13966 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13970 EXTRACFLAGS=""
13972 if test "x${GCC}" = "xyes"
13973 then
13974 EXTRACFLAGS="-Wall -pipe"
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13977 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13978 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13979 $as_echo_n "(cached) " >&6
13980 else
13981 if test "$cross_compiling" = yes; then :
13982 ac_cv_c_gcc_strength_bug="no"
13983 else
13984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13985 /* end confdefs.h. */
13986 int L[4] = {0,1,2,3};
13988 main ()
13990 static int Array[3];
13991 unsigned int B = 3;
13992 int i;
13993 for(i=0; i<B; i++) Array[i] = i - 3;
13994 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13995 L[i] = 4;
13996 return (Array[1] != -2 || L[2] != 3)
13998 return 0;
14000 _ACEOF
14001 if ac_fn_c_try_run "$LINENO"; then :
14002 ac_cv_c_gcc_strength_bug="no"
14003 else
14004 ac_cv_c_gcc_strength_bug="yes"
14006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14007 conftest.$ac_objext conftest.beam conftest.$ac_ext
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14012 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14013 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14014 then
14015 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14019 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14020 if ${ac_cv_cflags__fno_builtin+:} false; then :
14021 $as_echo_n "(cached) " >&6
14022 else
14023 ac_wine_try_cflags_saved=$CFLAGS
14024 CFLAGS="$CFLAGS -fno-builtin"
14025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14026 /* end confdefs.h. */
14027 int main(int argc, char **argv) { return 0; }
14028 _ACEOF
14029 if ac_fn_c_try_link "$LINENO"; then :
14030 ac_cv_cflags__fno_builtin=yes
14031 else
14032 ac_cv_cflags__fno_builtin=no
14034 rm -f core conftest.err conftest.$ac_objext \
14035 conftest$ac_exeext conftest.$ac_ext
14036 CFLAGS=$ac_wine_try_cflags_saved
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14039 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14040 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14041 BUILTINFLAG="-fno-builtin"
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14045 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14046 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14047 $as_echo_n "(cached) " >&6
14048 else
14049 ac_wine_try_cflags_saved=$CFLAGS
14050 CFLAGS="$CFLAGS -fno-strict-aliasing"
14051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14052 /* end confdefs.h. */
14053 int main(int argc, char **argv) { return 0; }
14054 _ACEOF
14055 if ac_fn_c_try_link "$LINENO"; then :
14056 ac_cv_cflags__fno_strict_aliasing=yes
14057 else
14058 ac_cv_cflags__fno_strict_aliasing=no
14060 rm -f core conftest.err conftest.$ac_objext \
14061 conftest$ac_exeext conftest.$ac_ext
14062 CFLAGS=$ac_wine_try_cflags_saved
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14065 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14066 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14067 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14070 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14071 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14072 $as_echo_n "(cached) " >&6
14073 else
14074 ac_wine_try_cflags_saved=$CFLAGS
14075 CFLAGS="$CFLAGS -fexcess-precision=standard"
14076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14077 /* end confdefs.h. */
14078 int main(int argc, char **argv) { return 0; }
14079 _ACEOF
14080 if ac_fn_c_try_link "$LINENO"; then :
14081 ac_cv_cflags__fexcess_precision_standard=yes
14082 else
14083 ac_cv_cflags__fexcess_precision_standard=no
14085 rm -f core conftest.err conftest.$ac_objext \
14086 conftest$ac_exeext conftest.$ac_ext
14087 CFLAGS=$ac_wine_try_cflags_saved
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14090 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14091 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14092 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14095 saved_CFLAGS=$CFLAGS
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14097 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14098 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14099 $as_echo_n "(cached) " >&6
14100 else
14101 ac_wine_try_cflags_saved=$CFLAGS
14102 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14105 int main(int argc, char **argv) { return 0; }
14106 _ACEOF
14107 if ac_fn_c_try_link "$LINENO"; then :
14108 ac_cv_cflags__Werror_unknown_warning_option=yes
14109 else
14110 ac_cv_cflags__Werror_unknown_warning_option=no
14112 rm -f core conftest.err conftest.$ac_objext \
14113 conftest$ac_exeext conftest.$ac_ext
14114 CFLAGS=$ac_wine_try_cflags_saved
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14117 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14118 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14119 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14122 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14123 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14124 $as_echo_n "(cached) " >&6
14125 else
14126 ac_wine_try_cflags_saved=$CFLAGS
14127 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14130 int main(int argc, char **argv) { return 0; }
14131 _ACEOF
14132 if ac_fn_c_try_link "$LINENO"; then :
14133 ac_cv_cflags__Wdeclaration_after_statement=yes
14134 else
14135 ac_cv_cflags__Wdeclaration_after_statement=no
14137 rm -f core conftest.err conftest.$ac_objext \
14138 conftest$ac_exeext conftest.$ac_ext
14139 CFLAGS=$ac_wine_try_cflags_saved
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14142 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14143 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14144 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14147 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14148 if ${ac_cv_cflags__Wempty_body+:} false; then :
14149 $as_echo_n "(cached) " >&6
14150 else
14151 ac_wine_try_cflags_saved=$CFLAGS
14152 CFLAGS="$CFLAGS -Wempty-body"
14153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14154 /* end confdefs.h. */
14155 int main(int argc, char **argv) { return 0; }
14156 _ACEOF
14157 if ac_fn_c_try_link "$LINENO"; then :
14158 ac_cv_cflags__Wempty_body=yes
14159 else
14160 ac_cv_cflags__Wempty_body=no
14162 rm -f core conftest.err conftest.$ac_objext \
14163 conftest$ac_exeext conftest.$ac_ext
14164 CFLAGS=$ac_wine_try_cflags_saved
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14167 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14168 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14169 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14172 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14173 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14174 $as_echo_n "(cached) " >&6
14175 else
14176 ac_wine_try_cflags_saved=$CFLAGS
14177 CFLAGS="$CFLAGS -Wignored-qualifiers"
14178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14179 /* end confdefs.h. */
14180 int main(int argc, char **argv) { return 0; }
14181 _ACEOF
14182 if ac_fn_c_try_link "$LINENO"; then :
14183 ac_cv_cflags__Wignored_qualifiers=yes
14184 else
14185 ac_cv_cflags__Wignored_qualifiers=no
14187 rm -f core conftest.err conftest.$ac_objext \
14188 conftest$ac_exeext conftest.$ac_ext
14189 CFLAGS=$ac_wine_try_cflags_saved
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14192 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14193 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14194 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14197 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14198 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14199 $as_echo_n "(cached) " >&6
14200 else
14201 ac_wine_try_cflags_saved=$CFLAGS
14202 CFLAGS="$CFLAGS -Wshift-overflow=2"
14203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14205 int main(int argc, char **argv) { return 0; }
14206 _ACEOF
14207 if ac_fn_c_try_link "$LINENO"; then :
14208 ac_cv_cflags__Wshift_overflow_2=yes
14209 else
14210 ac_cv_cflags__Wshift_overflow_2=no
14212 rm -f core conftest.err conftest.$ac_objext \
14213 conftest$ac_exeext conftest.$ac_ext
14214 CFLAGS=$ac_wine_try_cflags_saved
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14217 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14218 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14219 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14222 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14223 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14224 $as_echo_n "(cached) " >&6
14225 else
14226 ac_wine_try_cflags_saved=$CFLAGS
14227 CFLAGS="$CFLAGS -Wstrict-prototypes"
14228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14229 /* end confdefs.h. */
14230 int main(int argc, char **argv) { return 0; }
14231 _ACEOF
14232 if ac_fn_c_try_link "$LINENO"; then :
14233 ac_cv_cflags__Wstrict_prototypes=yes
14234 else
14235 ac_cv_cflags__Wstrict_prototypes=no
14237 rm -f core conftest.err conftest.$ac_objext \
14238 conftest$ac_exeext conftest.$ac_ext
14239 CFLAGS=$ac_wine_try_cflags_saved
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14242 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14243 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14244 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14247 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14248 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14249 $as_echo_n "(cached) " >&6
14250 else
14251 ac_wine_try_cflags_saved=$CFLAGS
14252 CFLAGS="$CFLAGS -Wtype-limits"
14253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14254 /* end confdefs.h. */
14255 int main(int argc, char **argv) { return 0; }
14256 _ACEOF
14257 if ac_fn_c_try_link "$LINENO"; then :
14258 ac_cv_cflags__Wtype_limits=yes
14259 else
14260 ac_cv_cflags__Wtype_limits=no
14262 rm -f core conftest.err conftest.$ac_objext \
14263 conftest$ac_exeext conftest.$ac_ext
14264 CFLAGS=$ac_wine_try_cflags_saved
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14267 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14268 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14269 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14272 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14273 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14274 $as_echo_n "(cached) " >&6
14275 else
14276 ac_wine_try_cflags_saved=$CFLAGS
14277 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14279 /* end confdefs.h. */
14280 int main(int argc, char **argv) { return 0; }
14281 _ACEOF
14282 if ac_fn_c_try_link "$LINENO"; then :
14283 ac_cv_cflags__Wunused_but_set_parameter=yes
14284 else
14285 ac_cv_cflags__Wunused_but_set_parameter=no
14287 rm -f core conftest.err conftest.$ac_objext \
14288 conftest$ac_exeext conftest.$ac_ext
14289 CFLAGS=$ac_wine_try_cflags_saved
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14292 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14293 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14294 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14297 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14298 if ${ac_cv_cflags__Wvla+:} false; then :
14299 $as_echo_n "(cached) " >&6
14300 else
14301 ac_wine_try_cflags_saved=$CFLAGS
14302 CFLAGS="$CFLAGS -Wvla"
14303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14305 int main(int argc, char **argv) { return 0; }
14306 _ACEOF
14307 if ac_fn_c_try_link "$LINENO"; then :
14308 ac_cv_cflags__Wvla=yes
14309 else
14310 ac_cv_cflags__Wvla=no
14312 rm -f core conftest.err conftest.$ac_objext \
14313 conftest$ac_exeext conftest.$ac_ext
14314 CFLAGS=$ac_wine_try_cflags_saved
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14317 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14318 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14319 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14322 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14323 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14324 $as_echo_n "(cached) " >&6
14325 else
14326 ac_wine_try_cflags_saved=$CFLAGS
14327 CFLAGS="$CFLAGS -Wwrite-strings"
14328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14329 /* end confdefs.h. */
14330 int main(int argc, char **argv) { return 0; }
14331 _ACEOF
14332 if ac_fn_c_try_link "$LINENO"; then :
14333 ac_cv_cflags__Wwrite_strings=yes
14334 else
14335 ac_cv_cflags__Wwrite_strings=no
14337 rm -f core conftest.err conftest.$ac_objext \
14338 conftest$ac_exeext conftest.$ac_ext
14339 CFLAGS=$ac_wine_try_cflags_saved
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14342 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14343 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14344 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14348 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14349 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14350 $as_echo_n "(cached) " >&6
14351 else
14352 ac_wine_try_cflags_saved=$CFLAGS
14353 CFLAGS="$CFLAGS -Wpointer-arith"
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14356 int main(int argc, char **argv) { return 0; }
14357 _ACEOF
14358 if ac_fn_c_try_link "$LINENO"; then :
14359 ac_cv_cflags__Wpointer_arith=yes
14360 else
14361 ac_cv_cflags__Wpointer_arith=no
14363 rm -f core conftest.err conftest.$ac_objext \
14364 conftest$ac_exeext conftest.$ac_ext
14365 CFLAGS=$ac_wine_try_cflags_saved
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14368 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14369 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14370 saved_string_h_CFLAGS=$CFLAGS
14371 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14373 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14374 if ${ac_cv_c_string_h_warnings+:} false; then :
14375 $as_echo_n "(cached) " >&6
14376 else
14377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14378 /* end confdefs.h. */
14379 #include <string.h>
14381 main ()
14385 return 0;
14387 _ACEOF
14388 if ac_fn_c_try_compile "$LINENO"; then :
14389 ac_cv_c_string_h_warnings=no
14390 else
14391 ac_cv_c_string_h_warnings=yes
14393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14396 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14397 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14398 CFLAGS=$saved_string_h_CFLAGS
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14402 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14403 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14404 $as_echo_n "(cached) " >&6
14405 else
14406 ac_wine_try_cflags_saved=$CFLAGS
14407 CFLAGS="$CFLAGS -Wlogical-op"
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14410 int main(int argc, char **argv) { return 0; }
14411 _ACEOF
14412 if ac_fn_c_try_link "$LINENO"; then :
14413 ac_cv_cflags__Wlogical_op=yes
14414 else
14415 ac_cv_cflags__Wlogical_op=no
14417 rm -f core conftest.err conftest.$ac_objext \
14418 conftest$ac_exeext conftest.$ac_ext
14419 CFLAGS=$ac_wine_try_cflags_saved
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14422 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14423 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14424 saved_string_h_CFLAGS=$CFLAGS
14425 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14427 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14428 if ${ac_cv_c_logicalop_noisy+:} false; then :
14429 $as_echo_n "(cached) " >&6
14430 else
14431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14432 /* end confdefs.h. */
14433 #include <string.h>
14434 char*f(const char *h,char n) {return strchr(h,n);}
14436 main ()
14440 return 0;
14442 _ACEOF
14443 if ac_fn_c_try_compile "$LINENO"; then :
14444 ac_cv_c_logicalop_noisy=no
14445 else
14446 ac_cv_c_logicalop_noisy=yes
14448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14451 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14452 CFLAGS=$saved_string_h_CFLAGS
14453 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14456 CFLAGS=$saved_CFLAGS
14458 for ac_flag in $CFLAGS; do
14459 case $ac_flag in
14460 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14461 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14462 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14463 $as_echo_n "(cached) " >&6
14464 else
14465 ac_wine_try_cflags_saved=$CFLAGS
14466 CFLAGS="$CFLAGS -gdwarf-2"
14467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14468 /* end confdefs.h. */
14469 int main(int argc, char **argv) { return 0; }
14470 _ACEOF
14471 if ac_fn_c_try_link "$LINENO"; then :
14472 ac_cv_cflags__gdwarf_2=yes
14473 else
14474 ac_cv_cflags__gdwarf_2=no
14476 rm -f core conftest.err conftest.$ac_objext \
14477 conftest$ac_exeext conftest.$ac_ext
14478 CFLAGS=$ac_wine_try_cflags_saved
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14481 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14482 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14483 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14486 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14487 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14488 $as_echo_n "(cached) " >&6
14489 else
14490 ac_wine_try_cflags_saved=$CFLAGS
14491 CFLAGS="$CFLAGS -gstrict-dwarf"
14492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14493 /* end confdefs.h. */
14494 int main(int argc, char **argv) { return 0; }
14495 _ACEOF
14496 if ac_fn_c_try_link "$LINENO"; then :
14497 ac_cv_cflags__gstrict_dwarf=yes
14498 else
14499 ac_cv_cflags__gstrict_dwarf=no
14501 rm -f core conftest.err conftest.$ac_objext \
14502 conftest$ac_exeext conftest.$ac_ext
14503 CFLAGS=$ac_wine_try_cflags_saved
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14506 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14507 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14508 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14509 fi ;;
14510 esac
14511 done
14513 case $host_cpu in
14514 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14515 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14516 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14517 $as_echo_n "(cached) " >&6
14518 else
14519 ac_wine_try_cflags_saved=$CFLAGS
14520 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14523 int main(int argc, char **argv) { return 0; }
14524 _ACEOF
14525 if ac_fn_c_try_link "$LINENO"; then :
14526 ac_cv_cflags__fno_omit_frame_pointer=yes
14527 else
14528 ac_cv_cflags__fno_omit_frame_pointer=no
14530 rm -f core conftest.err conftest.$ac_objext \
14531 conftest$ac_exeext conftest.$ac_ext
14532 CFLAGS=$ac_wine_try_cflags_saved
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14535 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14536 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14537 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14538 fi ;;
14539 esac
14541 case $host in
14542 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14543 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14544 if ${ac_cv_cflags__Wno_format+:} false; then :
14545 $as_echo_n "(cached) " >&6
14546 else
14547 ac_wine_try_cflags_saved=$CFLAGS
14548 CFLAGS="$CFLAGS -Wno-format"
14549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14551 int main(int argc, char **argv) { return 0; }
14552 _ACEOF
14553 if ac_fn_c_try_link "$LINENO"; then :
14554 ac_cv_cflags__Wno_format=yes
14555 else
14556 ac_cv_cflags__Wno_format=no
14558 rm -f core conftest.err conftest.$ac_objext \
14559 conftest$ac_exeext conftest.$ac_ext
14560 CFLAGS=$ac_wine_try_cflags_saved
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14563 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14564 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14565 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14566 fi ;;
14567 esac
14569 if test "x$enable_maintainer_mode" = "xyes"
14570 then
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14572 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14573 if ${ac_cv_cflags__Werror+:} false; then :
14574 $as_echo_n "(cached) " >&6
14575 else
14576 ac_wine_try_cflags_saved=$CFLAGS
14577 CFLAGS="$CFLAGS -Werror"
14578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14579 /* end confdefs.h. */
14580 int main(int argc, char **argv) { return 0; }
14581 _ACEOF
14582 if ac_fn_c_try_link "$LINENO"; then :
14583 ac_cv_cflags__Werror=yes
14584 else
14585 ac_cv_cflags__Werror=no
14587 rm -f core conftest.err conftest.$ac_objext \
14588 conftest$ac_exeext conftest.$ac_ext
14589 CFLAGS=$ac_wine_try_cflags_saved
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14592 $as_echo "$ac_cv_cflags__Werror" >&6; }
14593 if test "x$ac_cv_cflags__Werror" = xyes; then :
14594 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14598 saved_CFLAGS="$CFLAGS"
14599 CFLAGS="$CFLAGS -Werror"
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14601 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14602 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14603 $as_echo_n "(cached) " >&6
14604 else
14605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14607 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14609 main ()
14613 return 0;
14615 _ACEOF
14616 if ac_fn_c_try_compile "$LINENO"; then :
14617 ac_cv_have_ms_hook_prologue="yes"
14618 else
14619 ac_cv_have_ms_hook_prologue="no"
14621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14624 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14625 CFLAGS="$saved_CFLAGS"
14626 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14627 then
14629 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14631 else
14632 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14639 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14640 if ${ac_cv_c_fortify_enabled+:} false; then :
14641 $as_echo_n "(cached) " >&6
14642 else
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14645 #include <string.h>
14647 main ()
14649 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14650 #error Fortify enabled
14651 #endif
14653 return 0;
14655 _ACEOF
14656 if ac_fn_c_try_compile "$LINENO"; then :
14657 ac_cv_c_fortify_enabled=no
14658 else
14659 ac_cv_c_fortify_enabled=yes
14661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14664 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14665 if test "$ac_cv_c_fortify_enabled" = yes
14666 then
14667 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14672 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14673 if ${ac_cv_c_extern_prefix+:} false; then :
14674 $as_echo_n "(cached) " >&6
14675 else
14676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14677 /* end confdefs.h. */
14678 extern int ac_test;
14680 main ()
14682 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14684 return 0;
14686 _ACEOF
14687 if ac_fn_c_try_link "$LINENO"; then :
14688 ac_cv_c_extern_prefix="yes"
14689 else
14690 ac_cv_c_extern_prefix="no"
14692 rm -f core conftest.err conftest.$ac_objext \
14693 conftest$ac_exeext conftest.$ac_ext
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14696 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14698 case $host_cpu in
14699 *i[3456789]86*)
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14701 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14702 if ${ac_cv_c_stdcall_suffix+:} false; then :
14703 $as_echo_n "(cached) " >&6
14704 else
14705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14706 /* end confdefs.h. */
14707 #ifndef _MSC_VER
14708 #define __stdcall __attribute__((__stdcall__))
14709 #endif
14710 int __stdcall ac_test(int i) { return i; }
14712 main ()
14714 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14716 return 0;
14718 _ACEOF
14719 if ac_fn_c_try_link "$LINENO"; then :
14720 ac_cv_c_stdcall_suffix="yes"
14721 else
14722 ac_cv_c_stdcall_suffix="no"
14724 rm -f core conftest.err conftest.$ac_objext \
14725 conftest$ac_exeext conftest.$ac_ext
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14728 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14729 *) ac_cv_c_stdcall_suffix="no" ;;
14730 esac
14733 if test "$ac_cv_c_extern_prefix" = "yes"
14734 then
14735 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14737 asm_name_prefix="_"
14738 else
14739 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14741 asm_name_prefix=""
14745 if test "$ac_cv_c_stdcall_suffix" = "yes"
14746 then
14747 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14749 else
14750 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14756 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14757 if ${ac_cv_asm_func_def+:} false; then :
14758 $as_echo_n "(cached) " >&6
14759 else
14760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14764 main ()
14766 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14768 return 0;
14770 _ACEOF
14771 if ac_fn_c_try_link "$LINENO"; then :
14772 ac_cv_asm_func_def=".def"
14773 else
14774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14775 /* end confdefs.h. */
14778 main ()
14780 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14782 return 0;
14784 _ACEOF
14785 if ac_fn_c_try_link "$LINENO"; then :
14786 ac_cv_asm_func_def=".type @function"
14787 else
14788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14789 /* end confdefs.h. */
14792 main ()
14794 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14796 return 0;
14798 _ACEOF
14799 if ac_fn_c_try_link "$LINENO"; then :
14800 ac_cv_asm_func_def=".type 2"
14801 else
14802 ac_cv_asm_func_def="unknown"
14804 rm -f core conftest.err conftest.$ac_objext \
14805 conftest$ac_exeext conftest.$ac_ext
14807 rm -f core conftest.err conftest.$ac_objext \
14808 conftest$ac_exeext conftest.$ac_ext
14810 rm -f core conftest.err conftest.$ac_objext \
14811 conftest$ac_exeext conftest.$ac_ext
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14814 $as_echo "$ac_cv_asm_func_def" >&6; }
14817 case "$ac_cv_asm_func_def" in
14818 ".def")
14819 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14821 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14822 ".type @function")
14823 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14825 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14826 ".type 2")
14827 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14829 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14831 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14833 asm_func_header="" ;;
14834 esac
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14837 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14838 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14839 $as_echo_n "(cached) " >&6
14840 else
14841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14843 asm(".text\n\t.long 0");
14845 main ()
14849 return 0;
14851 _ACEOF
14852 if ac_fn_c_try_compile "$LINENO"; then :
14853 ac_cv_c_asm_outside_funcs="yes"
14854 else
14855 ac_cv_c_asm_outside_funcs="no"
14857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14860 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14863 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14864 if ${ac_cv_c_dot_previous+:} false; then :
14865 $as_echo_n "(cached) " >&6
14866 else
14867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14868 /* end confdefs.h. */
14871 main ()
14873 asm(".text\nac_test:\t.long 0\n\t.previous");
14875 return 0;
14877 _ACEOF
14878 if ac_fn_c_try_link "$LINENO"; then :
14879 ac_cv_c_dot_previous="yes"
14880 else
14881 ac_cv_c_dot_previous="no"
14883 rm -f core conftest.err conftest.$ac_objext \
14884 conftest$ac_exeext conftest.$ac_ext
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14887 $as_echo "$ac_cv_c_dot_previous" >&6; }
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14890 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14891 if ${ac_cv_c_cfi_support+:} false; then :
14892 $as_echo_n "(cached) " >&6
14893 else
14894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14895 /* end confdefs.h. */
14896 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14898 main ()
14902 return 0;
14904 _ACEOF
14905 if ac_fn_c_try_compile "$LINENO"; then :
14906 ac_cv_c_cfi_support="yes"
14907 else
14908 ac_cv_c_cfi_support="no"
14910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14913 $as_echo "$ac_cv_c_cfi_support" >&6; }
14915 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14916 asm_func_trailer=""
14917 if test "$ac_cv_c_dot_previous" = "yes"
14918 then
14919 asm_func_trailer="\\n\\t.previous"
14921 if test "$ac_cv_c_cfi_support" = "yes"
14922 then
14923 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14924 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14926 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14928 UNWINDFLAGS=-fasynchronous-unwind-tables
14930 else
14931 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14933 if test "x$enable_win64" = "xyes"
14934 then
14935 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14939 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14942 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14943 then
14944 cat >>confdefs.h <<_ACEOF
14945 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14946 _ACEOF
14948 else
14949 cat >>confdefs.h <<_ACEOF
14950 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14951 _ACEOF
14955 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14958 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14962 case $build_os in
14963 cygwin*|mingw32*) TOOLSEXT=".exe"
14965 esac
14967 case $host_os in
14968 linux-android*) ;;
14969 linux*)
14970 case $host_cpu in
14971 *i[3456789]86*|x86_64*)
14972 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
14973 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14975 esac
14977 esac
14980 ac_save_CFLAGS="$CFLAGS"
14981 CFLAGS="$CFLAGS $BUILTINFLAG"
14982 for ac_func in \
14983 __res_get_state \
14984 __res_getservers \
14985 _finite \
14986 _isnan \
14987 _pclose \
14988 _popen \
14989 _snprintf \
14990 _spawnvp \
14991 _strdup \
14992 _stricmp \
14993 _strnicmp \
14994 _strtoi64 \
14995 _strtoui64 \
14996 _vsnprintf \
14997 asctime_r \
14998 chsize \
14999 dlopen \
15000 epoll_create \
15001 ffs \
15002 finitef \
15003 fnmatch \
15004 fork \
15005 fpclass \
15006 fstatfs \
15007 fstatvfs \
15008 ftruncate \
15009 futimens \
15010 futimes \
15011 futimesat \
15012 getattrlist \
15013 getdirentries \
15014 getopt_long_only \
15015 getpwuid \
15016 gettimeofday \
15017 getuid \
15018 if_nameindex \
15019 isnanf \
15020 kqueue \
15021 lstat \
15022 memmove \
15023 mmap \
15024 pclose \
15025 pipe2 \
15026 poll \
15027 popen \
15028 port_create \
15029 prctl \
15030 pread \
15031 proc_pidinfo \
15032 pwrite \
15033 readdir \
15034 readlink \
15035 sched_yield \
15036 select \
15037 setproctitle \
15038 setprogname \
15039 setrlimit \
15040 settimeofday \
15041 sigaltstack \
15042 sigprocmask \
15043 snprintf \
15044 statfs \
15045 statvfs \
15046 strcasecmp \
15047 strdup \
15048 strerror \
15049 strncasecmp \
15050 strtold \
15051 strtoll \
15052 strtoull \
15053 symlink \
15054 tcdrain \
15055 thr_kill2 \
15056 timegm \
15057 usleep \
15058 vsnprintf
15060 do :
15061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15062 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15063 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15064 cat >>confdefs.h <<_ACEOF
15065 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15066 _ACEOF
15069 done
15071 CFLAGS="$ac_save_CFLAGS"
15073 if test "$ac_cv_func_dlopen" = no
15074 then
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15076 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15077 if ${ac_cv_lib_dl_dlopen+:} false; then :
15078 $as_echo_n "(cached) " >&6
15079 else
15080 ac_check_lib_save_LIBS=$LIBS
15081 LIBS="-ldl $LIBS"
15082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15085 /* Override any GCC internal prototype to avoid an error.
15086 Use char because int might match the return type of a GCC
15087 builtin and then its argument prototype would still apply. */
15088 #ifdef __cplusplus
15089 extern "C"
15090 #endif
15091 char dlopen ();
15093 main ()
15095 return dlopen ();
15097 return 0;
15099 _ACEOF
15100 if ac_fn_c_try_link "$LINENO"; then :
15101 ac_cv_lib_dl_dlopen=yes
15102 else
15103 ac_cv_lib_dl_dlopen=no
15105 rm -f core conftest.err conftest.$ac_objext \
15106 conftest$ac_exeext conftest.$ac_ext
15107 LIBS=$ac_check_lib_save_LIBS
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15110 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15111 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15112 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15113 DL_LIBS="-ldl"
15118 ac_wine_check_funcs_save_LIBS="$LIBS"
15119 LIBS="$LIBS $DL_LIBS"
15120 for ac_func in dladdr
15121 do :
15122 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15123 if test "x$ac_cv_func_dladdr" = xyes; then :
15124 cat >>confdefs.h <<_ACEOF
15125 #define HAVE_DLADDR 1
15126 _ACEOF
15129 done
15131 LIBS="$ac_wine_check_funcs_save_LIBS"
15133 if test "$ac_cv_func_poll" = no
15134 then
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15136 $as_echo_n "checking for poll in -lpoll... " >&6; }
15137 if ${ac_cv_lib_poll_poll+:} false; then :
15138 $as_echo_n "(cached) " >&6
15139 else
15140 ac_check_lib_save_LIBS=$LIBS
15141 LIBS="-lpoll $LIBS"
15142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15145 /* Override any GCC internal prototype to avoid an error.
15146 Use char because int might match the return type of a GCC
15147 builtin and then its argument prototype would still apply. */
15148 #ifdef __cplusplus
15149 extern "C"
15150 #endif
15151 char poll ();
15153 main ()
15155 return poll ();
15157 return 0;
15159 _ACEOF
15160 if ac_fn_c_try_link "$LINENO"; then :
15161 ac_cv_lib_poll_poll=yes
15162 else
15163 ac_cv_lib_poll_poll=no
15165 rm -f core conftest.err conftest.$ac_objext \
15166 conftest$ac_exeext conftest.$ac_ext
15167 LIBS=$ac_check_lib_save_LIBS
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15170 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15171 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15172 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15173 POLL_LIBS="-lpoll"
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15180 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15181 if ${ac_cv_search_gethostbyname+:} false; then :
15182 $as_echo_n "(cached) " >&6
15183 else
15184 ac_func_search_save_LIBS=$LIBS
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15188 /* Override any GCC internal prototype to avoid an error.
15189 Use char because int might match the return type of a GCC
15190 builtin and then its argument prototype would still apply. */
15191 #ifdef __cplusplus
15192 extern "C"
15193 #endif
15194 char gethostbyname ();
15196 main ()
15198 return gethostbyname ();
15200 return 0;
15202 _ACEOF
15203 for ac_lib in '' nsl; do
15204 if test -z "$ac_lib"; then
15205 ac_res="none required"
15206 else
15207 ac_res=-l$ac_lib
15208 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15210 if ac_fn_c_try_link "$LINENO"; then :
15211 ac_cv_search_gethostbyname=$ac_res
15213 rm -f core conftest.err conftest.$ac_objext \
15214 conftest$ac_exeext
15215 if ${ac_cv_search_gethostbyname+:} false; then :
15216 break
15218 done
15219 if ${ac_cv_search_gethostbyname+:} false; then :
15221 else
15222 ac_cv_search_gethostbyname=no
15224 rm conftest.$ac_ext
15225 LIBS=$ac_func_search_save_LIBS
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15228 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15229 ac_res=$ac_cv_search_gethostbyname
15230 if test "$ac_res" != no; then :
15231 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15237 $as_echo_n "checking for library containing connect... " >&6; }
15238 if ${ac_cv_search_connect+:} false; then :
15239 $as_echo_n "(cached) " >&6
15240 else
15241 ac_func_search_save_LIBS=$LIBS
15242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15245 /* Override any GCC internal prototype to avoid an error.
15246 Use char because int might match the return type of a GCC
15247 builtin and then its argument prototype would still apply. */
15248 #ifdef __cplusplus
15249 extern "C"
15250 #endif
15251 char connect ();
15253 main ()
15255 return connect ();
15257 return 0;
15259 _ACEOF
15260 for ac_lib in '' socket; do
15261 if test -z "$ac_lib"; then
15262 ac_res="none required"
15263 else
15264 ac_res=-l$ac_lib
15265 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15267 if ac_fn_c_try_link "$LINENO"; then :
15268 ac_cv_search_connect=$ac_res
15270 rm -f core conftest.err conftest.$ac_objext \
15271 conftest$ac_exeext
15272 if ${ac_cv_search_connect+:} false; then :
15273 break
15275 done
15276 if ${ac_cv_search_connect+:} false; then :
15278 else
15279 ac_cv_search_connect=no
15281 rm conftest.$ac_ext
15282 LIBS=$ac_func_search_save_LIBS
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15285 $as_echo "$ac_cv_search_connect" >&6; }
15286 ac_res=$ac_cv_search_connect
15287 if test "$ac_res" != no; then :
15288 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15294 $as_echo_n "checking for library containing inet_aton... " >&6; }
15295 if ${ac_cv_search_inet_aton+:} false; then :
15296 $as_echo_n "(cached) " >&6
15297 else
15298 ac_func_search_save_LIBS=$LIBS
15299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15300 /* end confdefs.h. */
15302 /* Override any GCC internal prototype to avoid an error.
15303 Use char because int might match the return type of a GCC
15304 builtin and then its argument prototype would still apply. */
15305 #ifdef __cplusplus
15306 extern "C"
15307 #endif
15308 char inet_aton ();
15310 main ()
15312 return inet_aton ();
15314 return 0;
15316 _ACEOF
15317 for ac_lib in '' resolv; do
15318 if test -z "$ac_lib"; then
15319 ac_res="none required"
15320 else
15321 ac_res=-l$ac_lib
15322 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15324 if ac_fn_c_try_link "$LINENO"; then :
15325 ac_cv_search_inet_aton=$ac_res
15327 rm -f core conftest.err conftest.$ac_objext \
15328 conftest$ac_exeext
15329 if ${ac_cv_search_inet_aton+:} false; then :
15330 break
15332 done
15333 if ${ac_cv_search_inet_aton+:} false; then :
15335 else
15336 ac_cv_search_inet_aton=no
15338 rm conftest.$ac_ext
15339 LIBS=$ac_func_search_save_LIBS
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15342 $as_echo "$ac_cv_search_inet_aton" >&6; }
15343 ac_res=$ac_cv_search_inet_aton
15344 if test "$ac_res" != no; then :
15345 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15350 for ac_func in \
15351 getaddrinfo \
15352 getnameinfo \
15353 getnetbyname \
15354 getprotobyname \
15355 getprotobynumber \
15356 getservbyport \
15357 inet_addr \
15358 inet_network \
15359 inet_ntop \
15360 inet_pton \
15361 sendmsg \
15362 socketpair \
15364 do :
15365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15367 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15368 cat >>confdefs.h <<_ACEOF
15369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15370 _ACEOF
15373 done
15376 ac_save_LIBS=$LIBS
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15378 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15379 if ${ac_cv_search_clock_gettime+:} false; then :
15380 $as_echo_n "(cached) " >&6
15381 else
15382 ac_func_search_save_LIBS=$LIBS
15383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15384 /* end confdefs.h. */
15386 /* Override any GCC internal prototype to avoid an error.
15387 Use char because int might match the return type of a GCC
15388 builtin and then its argument prototype would still apply. */
15389 #ifdef __cplusplus
15390 extern "C"
15391 #endif
15392 char clock_gettime ();
15394 main ()
15396 return clock_gettime ();
15398 return 0;
15400 _ACEOF
15401 for ac_lib in '' rt; do
15402 if test -z "$ac_lib"; then
15403 ac_res="none required"
15404 else
15405 ac_res=-l$ac_lib
15406 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15408 if ac_fn_c_try_link "$LINENO"; then :
15409 ac_cv_search_clock_gettime=$ac_res
15411 rm -f core conftest.err conftest.$ac_objext \
15412 conftest$ac_exeext
15413 if ${ac_cv_search_clock_gettime+:} false; then :
15414 break
15416 done
15417 if ${ac_cv_search_clock_gettime+:} false; then :
15419 else
15420 ac_cv_search_clock_gettime=no
15422 rm conftest.$ac_ext
15423 LIBS=$ac_func_search_save_LIBS
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15426 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15427 ac_res=$ac_cv_search_clock_gettime
15428 if test "$ac_res" != no; then :
15429 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15431 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15433 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15437 LIBS=$ac_save_LIBS
15439 LDAP_LIBS=""
15441 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15442 then
15443 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15445 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15447 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15448 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15449 $as_echo_n "(cached) " >&6
15450 else
15451 ac_check_lib_save_LIBS=$LIBS
15452 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15454 /* end confdefs.h. */
15456 /* Override any GCC internal prototype to avoid an error.
15457 Use char because int might match the return type of a GCC
15458 builtin and then its argument prototype would still apply. */
15459 #ifdef __cplusplus
15460 extern "C"
15461 #endif
15462 char ldap_initialize ();
15464 main ()
15466 return ldap_initialize ();
15468 return 0;
15470 _ACEOF
15471 if ac_fn_c_try_link "$LINENO"; then :
15472 ac_cv_lib_ldap_r_ldap_initialize=yes
15473 else
15474 ac_cv_lib_ldap_r_ldap_initialize=no
15476 rm -f core conftest.err conftest.$ac_objext \
15477 conftest$ac_exeext conftest.$ac_ext
15478 LIBS=$ac_check_lib_save_LIBS
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15481 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15482 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15484 $as_echo_n "checking for ber_init in -llber... " >&6; }
15485 if ${ac_cv_lib_lber_ber_init+:} false; then :
15486 $as_echo_n "(cached) " >&6
15487 else
15488 ac_check_lib_save_LIBS=$LIBS
15489 LIBS="-llber $PTHREAD_LIBS $LIBS"
15490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15491 /* end confdefs.h. */
15493 /* Override any GCC internal prototype to avoid an error.
15494 Use char because int might match the return type of a GCC
15495 builtin and then its argument prototype would still apply. */
15496 #ifdef __cplusplus
15497 extern "C"
15498 #endif
15499 char ber_init ();
15501 main ()
15503 return ber_init ();
15505 return 0;
15507 _ACEOF
15508 if ac_fn_c_try_link "$LINENO"; then :
15509 ac_cv_lib_lber_ber_init=yes
15510 else
15511 ac_cv_lib_lber_ber_init=no
15513 rm -f core conftest.err conftest.$ac_objext \
15514 conftest$ac_exeext conftest.$ac_ext
15515 LIBS=$ac_check_lib_save_LIBS
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15518 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15519 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15521 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15523 LDAP_LIBS="-lldap_r -llber"
15530 ac_wine_check_funcs_save_LIBS="$LIBS"
15531 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15532 for ac_func in \
15533 ldap_count_references \
15534 ldap_first_reference \
15535 ldap_next_reference \
15536 ldap_parse_reference \
15537 ldap_parse_sort_control \
15538 ldap_parse_sortresponse_control \
15539 ldap_parse_vlv_control \
15540 ldap_parse_vlvresponse_control
15541 do :
15542 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15544 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15545 cat >>confdefs.h <<_ACEOF
15546 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15547 _ACEOF
15550 done
15552 LIBS="$ac_wine_check_funcs_save_LIBS"
15554 if test "x$LDAP_LIBS" = "x"; then :
15555 case "x$with_ldap" in
15556 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15557 xno) ;;
15558 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15559 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15560 esac
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15565 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15566 if ${wine_cv_one_arg_mkdir+:} false; then :
15567 $as_echo_n "(cached) " >&6
15568 else
15569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15570 /* end confdefs.h. */
15571 #include <sys/stat.h>
15573 main ()
15575 mkdir("foo");
15577 return 0;
15579 _ACEOF
15580 if ac_fn_c_try_compile "$LINENO"; then :
15581 wine_cv_one_arg_mkdir=yes
15582 else
15583 wine_cv_one_arg_mkdir=no
15585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15588 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15589 if test "$wine_cv_one_arg_mkdir" = "yes"
15590 then
15592 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15597 $as_echo_n "checking for sched_setaffinity... " >&6; }
15598 if ${wine_cv_have_sched_setaffinity+:} false; then :
15599 $as_echo_n "(cached) " >&6
15600 else
15601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15602 /* end confdefs.h. */
15603 #define _GNU_SOURCE
15604 #include <sched.h>
15606 main ()
15608 sched_setaffinity(0, 0, 0);
15610 return 0;
15612 _ACEOF
15613 if ac_fn_c_try_link "$LINENO"; then :
15614 wine_cv_have_sched_setaffinity=yes
15615 else
15616 wine_cv_have_sched_setaffinity=no
15618 rm -f core conftest.err conftest.$ac_objext \
15619 conftest$ac_exeext conftest.$ac_ext
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15622 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15623 if test "$wine_cv_have_sched_setaffinity" = "yes"
15624 then
15626 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15631 $as_echo_n "checking for fallocate... " >&6; }
15632 if ${wine_cv_have_fallocate+:} false; then :
15633 $as_echo_n "(cached) " >&6
15634 else
15635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15636 /* end confdefs.h. */
15637 #define _GNU_SOURCE
15638 #include <fcntl.h>
15640 main ()
15642 fallocate(-1, 0, 0, 0);
15644 return 0;
15646 _ACEOF
15647 if ac_fn_c_try_link "$LINENO"; then :
15648 wine_cv_have_fallocate=yes
15649 else
15650 wine_cv_have_fallocate=no
15652 rm -f core conftest.err conftest.$ac_objext \
15653 conftest$ac_exeext conftest.$ac_ext
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15656 $as_echo "$wine_cv_have_fallocate" >&6; }
15657 if test "$wine_cv_have_fallocate" = "yes"
15658 then
15660 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15666 $as_echo_n "checking for inline... " >&6; }
15667 if ${ac_cv_c_inline+:} false; then :
15668 $as_echo_n "(cached) " >&6
15669 else
15670 ac_cv_c_inline=no
15671 for ac_kw in inline __inline__ __inline; do
15672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15673 /* end confdefs.h. */
15674 #ifndef __cplusplus
15675 typedef int foo_t;
15676 static $ac_kw foo_t static_foo () {return 0; }
15677 $ac_kw foo_t foo () {return 0; }
15678 #endif
15680 _ACEOF
15681 if ac_fn_c_try_compile "$LINENO"; then :
15682 ac_cv_c_inline=$ac_kw
15684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15685 test "$ac_cv_c_inline" != no && break
15686 done
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15690 $as_echo "$ac_cv_c_inline" >&6; }
15692 case $ac_cv_c_inline in
15693 inline | yes) ;;
15695 case $ac_cv_c_inline in
15696 no) ac_val=;;
15697 *) ac_val=$ac_cv_c_inline;;
15698 esac
15699 cat >>confdefs.h <<_ACEOF
15700 #ifndef __cplusplus
15701 #define inline $ac_val
15702 #endif
15703 _ACEOF
15705 esac
15707 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15708 if test "x$ac_cv_type_mode_t" = xyes; then :
15710 cat >>confdefs.h <<_ACEOF
15711 #define HAVE_MODE_T 1
15712 _ACEOF
15716 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15717 if test "x$ac_cv_type_off_t" = xyes; then :
15719 cat >>confdefs.h <<_ACEOF
15720 #define HAVE_OFF_T 1
15721 _ACEOF
15725 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15726 if test "x$ac_cv_type_pid_t" = xyes; then :
15728 cat >>confdefs.h <<_ACEOF
15729 #define HAVE_PID_T 1
15730 _ACEOF
15734 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15735 if test "x$ac_cv_type_size_t" = xyes; then :
15737 cat >>confdefs.h <<_ACEOF
15738 #define HAVE_SIZE_T 1
15739 _ACEOF
15743 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15744 if test "x$ac_cv_type_ssize_t" = xyes; then :
15746 cat >>confdefs.h <<_ACEOF
15747 #define HAVE_SSIZE_T 1
15748 _ACEOF
15752 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15753 if test "x$ac_cv_type_long_long" = xyes; then :
15755 cat >>confdefs.h <<_ACEOF
15756 #define HAVE_LONG_LONG 1
15757 _ACEOF
15761 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15762 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15764 cat >>confdefs.h <<_ACEOF
15765 #define HAVE_FSBLKCNT_T 1
15766 _ACEOF
15770 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15771 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15773 cat >>confdefs.h <<_ACEOF
15774 #define HAVE_FSFILCNT_T 1
15775 _ACEOF
15780 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15781 #include <signal.h>
15783 if test "x$ac_cv_type_sigset_t" = xyes; then :
15785 cat >>confdefs.h <<_ACEOF
15786 #define HAVE_SIGSET_T 1
15787 _ACEOF
15792 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15794 if test "x$ac_cv_type_request_sense" = xyes; then :
15796 cat >>confdefs.h <<_ACEOF
15797 #define HAVE_REQUEST_SENSE 1
15798 _ACEOF
15804 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15805 #ifdef HAVE_SYS_SOCKET_H
15806 #include <sys/socket.h>
15807 #endif
15808 #ifdef HAVE_SYS_SOCKETVAR_H
15809 #include <sys/socketvar.h>
15810 #endif
15811 #ifdef HAVE_NET_ROUTE_H
15812 #include <net/route.h>
15813 #endif
15814 #ifdef HAVE_NETINET_IN_H
15815 #include <netinet/in.h>
15816 #endif
15817 #ifdef HAVE_NETINET_IN_SYSTM_H
15818 #include <netinet/in_systm.h>
15819 #endif
15820 #ifdef HAVE_NETINET_IP_H
15821 #include <netinet/ip.h>
15822 #endif
15823 #ifdef HAVE_NETINET_IN_PCB_H
15824 #include <netinet/in_pcb.h>
15825 #endif
15827 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15829 cat >>confdefs.h <<_ACEOF
15830 #define HAVE_STRUCT_XINPGEN 1
15831 _ACEOF
15837 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15838 #include <link.h>
15839 #endif
15840 #ifdef HAVE_SYS_LINK_H
15841 #include <sys/link.h>
15842 #endif
15844 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15846 cat >>confdefs.h <<_ACEOF
15847 #define HAVE_STRUCT_R_DEBUG 1
15848 _ACEOF
15852 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15853 #include <link.h>
15854 #endif
15855 #ifdef HAVE_SYS_LINK_H
15856 #include <sys/link.h>
15857 #endif
15859 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15861 cat >>confdefs.h <<_ACEOF
15862 #define HAVE_STRUCT_LINK_MAP 1
15863 _ACEOF
15869 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15870 #include <linux/input.h>
15871 #endif
15873 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15875 cat >>confdefs.h <<_ACEOF
15876 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15877 _ACEOF
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15884 $as_echo_n "checking for sigaddset... " >&6; }
15885 if ${wine_cv_have_sigaddset+:} false; then :
15886 $as_echo_n "(cached) " >&6
15887 else
15888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15889 /* end confdefs.h. */
15890 #include <signal.h>
15892 main ()
15894 sigset_t set; sigaddset(&set,SIGTERM);
15896 return 0;
15898 _ACEOF
15899 if ac_fn_c_try_link "$LINENO"; then :
15900 wine_cv_have_sigaddset=yes
15901 else
15902 wine_cv_have_sigaddset=no
15904 rm -f core conftest.err conftest.$ac_objext \
15905 conftest$ac_exeext conftest.$ac_ext
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15908 $as_echo "$wine_cv_have_sigaddset" >&6; }
15909 if test "$wine_cv_have_sigaddset" = "yes"
15910 then
15912 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15918 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15919 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15920 $as_echo_n "(cached) " >&6
15921 else
15922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15923 /* end confdefs.h. */
15924 #include <netdb.h>
15926 main ()
15929 char *name=0;
15930 struct hostent he;
15931 struct hostent *result;
15932 char *buf=0;
15933 int bufsize=0;
15934 int errnr;
15935 char *addr=0;
15936 int addrlen=0;
15937 int addrtype=0;
15938 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15939 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15942 return 0;
15944 _ACEOF
15945 if ac_fn_c_try_link "$LINENO"; then :
15946 wine_cv_linux_gethostbyname_r_6=yes
15947 else
15948 wine_cv_linux_gethostbyname_r_6=no
15951 rm -f core conftest.err conftest.$ac_objext \
15952 conftest$ac_exeext conftest.$ac_ext
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15956 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15957 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15958 then
15960 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15964 if test "$ac_cv_header_linux_joystick_h" = "yes"
15965 then
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15967 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15968 if ${wine_cv_linux_joystick_22_api+:} false; then :
15969 $as_echo_n "(cached) " >&6
15970 else
15971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15972 /* end confdefs.h. */
15974 #include <sys/ioctl.h>
15975 #include <sys/types.h>
15976 #include <linux/joystick.h>
15978 struct js_event blub;
15979 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15980 #error "no 2.2 header"
15981 #endif
15984 main ()
15986 /*empty*/
15988 return 0;
15990 _ACEOF
15991 if ac_fn_c_try_compile "$LINENO"; then :
15992 wine_cv_linux_joystick_22_api=yes
15993 else
15994 wine_cv_linux_joystick_22_api=no
15996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16000 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16001 if test "$wine_cv_linux_joystick_22_api" = "yes"
16002 then
16004 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16010 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16011 #ifdef HAVE_SYS_PARAM_H
16012 # include <sys/param.h>
16013 #endif
16014 #ifdef HAVE_SYS_MOUNT_H
16015 # include <sys/mount.h>
16016 #endif
16017 #ifdef HAVE_SYS_VFS_H
16018 # include <sys/vfs.h>
16019 #endif
16020 #ifdef HAVE_SYS_STATFS_H
16021 # include <sys/statfs.h>
16022 #endif
16024 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16026 cat >>confdefs.h <<_ACEOF
16027 #define HAVE_STRUCT_STATFS_F_BFREE 1
16028 _ACEOF
16032 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16033 #ifdef HAVE_SYS_PARAM_H
16034 # include <sys/param.h>
16035 #endif
16036 #ifdef HAVE_SYS_MOUNT_H
16037 # include <sys/mount.h>
16038 #endif
16039 #ifdef HAVE_SYS_VFS_H
16040 # include <sys/vfs.h>
16041 #endif
16042 #ifdef HAVE_SYS_STATFS_H
16043 # include <sys/statfs.h>
16044 #endif
16046 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16048 cat >>confdefs.h <<_ACEOF
16049 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16050 _ACEOF
16054 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16055 #ifdef HAVE_SYS_PARAM_H
16056 # include <sys/param.h>
16057 #endif
16058 #ifdef HAVE_SYS_MOUNT_H
16059 # include <sys/mount.h>
16060 #endif
16061 #ifdef HAVE_SYS_VFS_H
16062 # include <sys/vfs.h>
16063 #endif
16064 #ifdef HAVE_SYS_STATFS_H
16065 # include <sys/statfs.h>
16066 #endif
16068 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16070 cat >>confdefs.h <<_ACEOF
16071 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16072 _ACEOF
16076 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16077 #ifdef HAVE_SYS_PARAM_H
16078 # include <sys/param.h>
16079 #endif
16080 #ifdef HAVE_SYS_MOUNT_H
16081 # include <sys/mount.h>
16082 #endif
16083 #ifdef HAVE_SYS_VFS_H
16084 # include <sys/vfs.h>
16085 #endif
16086 #ifdef HAVE_SYS_STATFS_H
16087 # include <sys/statfs.h>
16088 #endif
16090 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16092 cat >>confdefs.h <<_ACEOF
16093 #define HAVE_STRUCT_STATFS_F_FFREE 1
16094 _ACEOF
16098 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16099 #ifdef HAVE_SYS_PARAM_H
16100 # include <sys/param.h>
16101 #endif
16102 #ifdef HAVE_SYS_MOUNT_H
16103 # include <sys/mount.h>
16104 #endif
16105 #ifdef HAVE_SYS_VFS_H
16106 # include <sys/vfs.h>
16107 #endif
16108 #ifdef HAVE_SYS_STATFS_H
16109 # include <sys/statfs.h>
16110 #endif
16112 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16114 cat >>confdefs.h <<_ACEOF
16115 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16116 _ACEOF
16120 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16121 #ifdef HAVE_SYS_PARAM_H
16122 # include <sys/param.h>
16123 #endif
16124 #ifdef HAVE_SYS_MOUNT_H
16125 # include <sys/mount.h>
16126 #endif
16127 #ifdef HAVE_SYS_VFS_H
16128 # include <sys/vfs.h>
16129 #endif
16130 #ifdef HAVE_SYS_STATFS_H
16131 # include <sys/statfs.h>
16132 #endif
16134 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16136 cat >>confdefs.h <<_ACEOF
16137 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16138 _ACEOF
16144 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16145 #include <sys/statvfs.h>
16146 #endif
16148 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16150 cat >>confdefs.h <<_ACEOF
16151 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16152 _ACEOF
16158 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16159 #include <dirent.h>
16160 #endif
16162 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16164 cat >>confdefs.h <<_ACEOF
16165 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16166 _ACEOF
16172 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16173 #ifdef HAVE_SYS_SOCKET_H
16174 # include <sys/socket.h>
16175 #endif
16176 #ifdef HAVE_SYS_UN_H
16177 # include <sys/un.h>
16178 #endif
16180 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16182 cat >>confdefs.h <<_ACEOF
16183 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16184 _ACEOF
16188 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16189 #ifdef HAVE_SYS_SOCKET_H
16190 # include <sys/socket.h>
16191 #endif
16192 #ifdef HAVE_SYS_UN_H
16193 # include <sys/un.h>
16194 #endif
16196 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16198 cat >>confdefs.h <<_ACEOF
16199 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16200 _ACEOF
16204 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16205 #ifdef HAVE_SYS_SOCKET_H
16206 # include <sys/socket.h>
16207 #endif
16208 #ifdef HAVE_SYS_UN_H
16209 # include <sys/un.h>
16210 #endif
16212 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16214 cat >>confdefs.h <<_ACEOF
16215 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16216 _ACEOF
16222 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16223 #ifdef HAVE_SCSI_SG_H
16224 #include <scsi/sg.h>
16225 #endif
16227 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16229 cat >>confdefs.h <<_ACEOF
16230 #define HAVE_SCSIREQ_T_CMD 1
16231 _ACEOF
16235 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>
16236 #ifdef HAVE_SCSI_SG_H
16237 #include <scsi/sg.h>
16238 #endif
16240 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16242 cat >>confdefs.h <<_ACEOF
16243 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16244 _ACEOF
16250 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16252 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16254 cat >>confdefs.h <<_ACEOF
16255 #define HAVE_SIGINFO_T_SI_FD 1
16256 _ACEOF
16262 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16263 #ifdef HAVE_SYS_MTIO_H
16264 #include <sys/mtio.h>
16265 #endif
16267 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16269 cat >>confdefs.h <<_ACEOF
16270 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16271 _ACEOF
16275 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16276 #ifdef HAVE_SYS_MTIO_H
16277 #include <sys/mtio.h>
16278 #endif
16280 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16284 _ACEOF
16288 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16289 #ifdef HAVE_SYS_MTIO_H
16290 #include <sys/mtio.h>
16291 #endif
16293 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16295 cat >>confdefs.h <<_ACEOF
16296 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16297 _ACEOF
16303 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16304 #include <getopt.h>
16305 #endif
16307 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16309 cat >>confdefs.h <<_ACEOF
16310 #define HAVE_STRUCT_OPTION_NAME 1
16311 _ACEOF
16317 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16318 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16320 cat >>confdefs.h <<_ACEOF
16321 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16322 _ACEOF
16326 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16327 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16329 cat >>confdefs.h <<_ACEOF
16330 #define HAVE_STRUCT_STAT_ST_MTIM 1
16331 _ACEOF
16335 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16336 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16338 cat >>confdefs.h <<_ACEOF
16339 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16340 _ACEOF
16344 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16345 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16347 cat >>confdefs.h <<_ACEOF
16348 #define HAVE_STRUCT_STAT_ST_CTIM 1
16349 _ACEOF
16353 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16354 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16356 cat >>confdefs.h <<_ACEOF
16357 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16358 _ACEOF
16362 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16363 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16365 cat >>confdefs.h <<_ACEOF
16366 #define HAVE_STRUCT_STAT_ST_ATIM 1
16367 _ACEOF
16371 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16372 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16374 cat >>confdefs.h <<_ACEOF
16375 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16376 _ACEOF
16380 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16381 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16383 cat >>confdefs.h <<_ACEOF
16384 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16385 _ACEOF
16389 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16390 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16392 cat >>confdefs.h <<_ACEOF
16393 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16394 _ACEOF
16398 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16399 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16401 cat >>confdefs.h <<_ACEOF
16402 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16403 _ACEOF
16407 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16408 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16410 cat >>confdefs.h <<_ACEOF
16411 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16412 _ACEOF
16416 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16417 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16419 cat >>confdefs.h <<_ACEOF
16420 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16421 _ACEOF
16427 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
16428 #include <sys/types.h>
16429 #endif
16430 #ifdef HAVE_NETINET_IN_H
16431 #include <netinet/in.h>
16432 #endif
16434 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16436 cat >>confdefs.h <<_ACEOF
16437 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16438 _ACEOF
16444 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16445 #include <resolv.h>
16446 #endif
16448 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16450 cat >>confdefs.h <<_ACEOF
16451 #define HAVE_STRUCT___RES_STATE 1
16452 _ACEOF
16458 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
16459 #include <resolv.h>
16460 #endif
16462 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16464 cat >>confdefs.h <<_ACEOF
16465 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16466 _ACEOF
16472 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16473 #include <sys/types.h>
16474 #endif
16475 #ifdef HAVE_NETINET_IN_H
16476 # include <netinet/in.h>
16477 #endif
16478 #ifdef HAVE_ARPA_NAMESER_H
16479 # include <arpa/nameser.h>
16480 #endif
16482 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16484 cat >>confdefs.h <<_ACEOF
16485 #define HAVE_NS_MSG__MSG_PTR 1
16486 _ACEOF
16492 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16493 #include <sys/types.h>
16494 #endif
16495 #ifdef HAVE_NETINET_IP_H
16496 #include <netinet/ip.h>
16497 #endif
16498 #ifdef HAVE_NETINET_IP_ICMP_H
16499 #include <netinet/ip_icmp.h>
16500 #endif
16501 #ifdef HAVE_NETINET_ICMP_VAR_H
16502 #include <netinet/icmp_var.h>
16503 #endif
16505 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16507 cat >>confdefs.h <<_ACEOF
16508 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16509 _ACEOF
16515 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16516 #include <sys/types.h>
16517 #endif
16518 #ifdef HAVE_ALIAS_H
16519 #include <alias.h>
16520 #endif
16521 #ifdef HAVE_SYS_SOCKET_H
16522 #include <sys/socket.h>
16523 #endif
16524 #ifdef HAVE_SYS_SOCKETVAR_H
16525 #include <sys/socketvar.h>
16526 #endif
16527 #ifdef HAVE_SYS_TIMEOUT_H
16528 #include <sys/timeout.h>
16529 #endif
16530 #ifdef HAVE_NETINET_IN_H
16531 #include <netinet/in.h>
16532 #endif
16533 #ifdef HAVE_NETINET_IN_SYSTM_H
16534 #include <netinet/in_systm.h>
16535 #endif
16536 #ifdef HAVE_NETINET_IP_H
16537 #include <netinet/ip.h>
16538 #endif
16539 #ifdef HAVE_NETINET_IP_VAR_H
16540 #include <netinet/ip_var.h>
16541 #endif
16542 #ifdef HAVE_NETINET_IP_ICMP_H
16543 #include <netinet/ip_icmp.h>
16544 #endif
16545 #ifdef HAVE_NETINET_ICMP_VAR_H
16546 #include <netinet/icmp_var.h>
16547 #endif
16549 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16551 cat >>confdefs.h <<_ACEOF
16552 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16553 _ACEOF
16559 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16560 #include <sys/types.h>
16561 #endif
16562 #ifdef HAVE_SYS_SOCKETVAR_H
16563 #include <sys/socketvar.h>
16564 #endif
16565 #ifdef HAVE_NETINET_IN_H
16566 #include <netinet/in.h>
16567 #endif
16568 #ifdef HAVE_NETINET_IP_VAR_H
16569 #include <netinet/ip_var.h>
16570 #endif
16572 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16574 cat >>confdefs.h <<_ACEOF
16575 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16576 _ACEOF
16582 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
16583 #include <netinet/ip_var.h>
16584 #endif
16586 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16588 cat >>confdefs.h <<_ACEOF
16589 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16590 _ACEOF
16596 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16597 #include <sys/types.h>
16598 #endif
16599 #ifdef HAVE_SYS_SOCKETVAR_H
16600 #include <sys/socketvar.h>
16601 #endif
16602 #ifdef HAVE_NETINET_IN_H
16603 #include <netinet/in.h>
16604 #endif
16605 #ifdef HAVE_NETINET_TCP_H
16606 #include <netinet/tcp.h>
16607 #endif
16608 #ifdef HAVE_NETINET_TCP_VAR_H
16609 #include <netinet/tcp_var.h>
16610 #endif
16612 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16614 cat >>confdefs.h <<_ACEOF
16615 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16616 _ACEOF
16622 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
16623 #include <netinet/tcp_var.h>
16624 #endif
16626 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16628 cat >>confdefs.h <<_ACEOF
16629 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16630 _ACEOF
16636 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16637 #include <sys/types.h>
16638 #endif
16639 #ifdef HAVE_NETINET_IN_H
16640 #include <netinet/in.h>
16641 #endif
16642 #ifdef HAVE_NETINET_IP_VAR_H
16643 #include <netinet/ip_var.h>
16644 #endif
16645 #ifdef HAVE_NETINET_UDP_H
16646 #include <netinet/udp.h>
16647 #endif
16648 #ifdef HAVE_NETINET_UDP_VAR_H
16649 #include <netinet/udp_var.h>
16650 #endif
16652 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16654 cat >>confdefs.h <<_ACEOF
16655 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16656 _ACEOF
16662 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16663 #include <sys/types.h>
16664 #endif
16665 #ifdef HAVE_NET_IF_H
16666 # include <net/if.h>
16667 #endif
16669 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16671 cat >>confdefs.h <<_ACEOF
16672 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16673 _ACEOF
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16680 $as_echo_n "checking for timezone variable... " >&6; }
16681 if ${ac_cv_have_timezone+:} false; then :
16682 $as_echo_n "(cached) " >&6
16683 else
16684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16685 /* end confdefs.h. */
16686 #include <time.h>
16688 main ()
16690 timezone = 1
16692 return 0;
16694 _ACEOF
16695 if ac_fn_c_try_link "$LINENO"; then :
16696 ac_cv_have_timezone="yes"
16697 else
16698 ac_cv_have_timezone="no"
16700 rm -f core conftest.err conftest.$ac_objext \
16701 conftest$ac_exeext conftest.$ac_ext
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16704 $as_echo "$ac_cv_have_timezone" >&6; }
16705 if test "$ac_cv_have_timezone" = "yes"
16706 then
16708 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16712 $as_echo_n "checking for daylight variable... " >&6; }
16713 if ${ac_cv_have_daylight+:} false; then :
16714 $as_echo_n "(cached) " >&6
16715 else
16716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16717 /* end confdefs.h. */
16718 #include <time.h>
16720 main ()
16722 daylight = 1
16724 return 0;
16726 _ACEOF
16727 if ac_fn_c_try_link "$LINENO"; then :
16728 ac_cv_have_daylight="yes"
16729 else
16730 ac_cv_have_daylight="no"
16732 rm -f core conftest.err conftest.$ac_objext \
16733 conftest$ac_exeext conftest.$ac_ext
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16736 $as_echo "$ac_cv_have_daylight" >&6; }
16737 if test "$ac_cv_have_daylight" = "yes"
16738 then
16740 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16744 ac_save_LIBS="$LIBS"
16745 LIBS="$LIBS -lm"
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16747 $as_echo_n "checking for isfinite... " >&6; }
16748 if ${ac_cv_have_isfinite+:} false; then :
16749 $as_echo_n "(cached) " >&6
16750 else
16751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16752 /* end confdefs.h. */
16753 #define _GNU_SOURCE
16754 #include <math.h>
16756 main ()
16758 float f = 0.0; return isfinite(f)
16760 return 0;
16762 _ACEOF
16763 if ac_fn_c_try_link "$LINENO"; then :
16764 ac_cv_have_isfinite="yes"
16765 else
16766 ac_cv_have_isfinite="no"
16768 rm -f core conftest.err conftest.$ac_objext \
16769 conftest$ac_exeext conftest.$ac_ext
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16772 $as_echo "$ac_cv_have_isfinite" >&6; }
16773 if test "$ac_cv_have_isfinite" = "yes"
16774 then
16776 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16781 $as_echo_n "checking for isinf... " >&6; }
16782 if ${ac_cv_have_isinf+:} false; then :
16783 $as_echo_n "(cached) " >&6
16784 else
16785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16786 /* end confdefs.h. */
16787 #include <math.h>
16789 main ()
16791 float f = 0.0; return isinf(f)
16793 return 0;
16795 _ACEOF
16796 if ac_fn_c_try_link "$LINENO"; then :
16797 ac_cv_have_isinf="yes"
16798 else
16799 ac_cv_have_isinf="no"
16801 rm -f core conftest.err conftest.$ac_objext \
16802 conftest$ac_exeext conftest.$ac_ext
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16805 $as_echo "$ac_cv_have_isinf" >&6; }
16806 if test "$ac_cv_have_isinf" = "yes"
16807 then
16809 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16814 $as_echo_n "checking for isnan... " >&6; }
16815 if ${ac_cv_have_isnan+:} false; then :
16816 $as_echo_n "(cached) " >&6
16817 else
16818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16819 /* end confdefs.h. */
16820 #include <math.h>
16822 main ()
16824 float f = 0.0; return isnan(f)
16826 return 0;
16828 _ACEOF
16829 if ac_fn_c_try_link "$LINENO"; then :
16830 ac_cv_have_isnan="yes"
16831 else
16832 ac_cv_have_isnan="no"
16834 rm -f core conftest.err conftest.$ac_objext \
16835 conftest$ac_exeext conftest.$ac_ext
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16838 $as_echo "$ac_cv_have_isnan" >&6; }
16839 if test "$ac_cv_have_isnan" = "yes"
16840 then
16842 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16846 for ac_func in \
16847 cbrt \
16848 cbrtf \
16849 erf \
16850 erff \
16851 exp2 \
16852 exp2f \
16853 llrint \
16854 llrintf \
16855 llround \
16856 llroundf \
16857 log2 \
16858 log2f \
16859 lrint \
16860 lrintf \
16861 lround \
16862 lroundf \
16863 rint \
16864 rintf \
16865 round \
16866 roundf \
16867 trunc \
16868 truncf
16870 do :
16871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16873 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16874 cat >>confdefs.h <<_ACEOF
16875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16876 _ACEOF
16879 done
16881 LIBS="$ac_save_LIBS"
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16884 $as_echo_n "checking for __builtin_clz... " >&6; }
16885 if ${ac_cv_have___builtin_clz+:} false; then :
16886 $as_echo_n "(cached) " >&6
16887 else
16888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16892 main ()
16894 return __builtin_clz(1)
16896 return 0;
16898 _ACEOF
16899 if ac_fn_c_try_link "$LINENO"; then :
16900 ac_cv_have___builtin_clz="yes"
16901 else
16902 ac_cv_have___builtin_clz="no"
16904 rm -f core conftest.err conftest.$ac_objext \
16905 conftest$ac_exeext conftest.$ac_ext
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16908 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16909 if test "$ac_cv_have___builtin_clz" = "yes"
16910 then
16912 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16917 $as_echo_n "checking for __builtin_popcount... " >&6; }
16918 if ${ac_cv_have___builtin_popcount+:} false; then :
16919 $as_echo_n "(cached) " >&6
16920 else
16921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16922 /* end confdefs.h. */
16925 main ()
16927 return __builtin_popcount(1)
16929 return 0;
16931 _ACEOF
16932 if ac_fn_c_try_link "$LINENO"; then :
16933 ac_cv_have___builtin_popcount="yes"
16934 else
16935 ac_cv_have___builtin_popcount="no"
16937 rm -f core conftest.err conftest.$ac_objext \
16938 conftest$ac_exeext conftest.$ac_ext
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
16941 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16942 if test "$ac_cv_have___builtin_popcount" = "yes"
16943 then
16945 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16950 case $host_cpu in
16951 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16952 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16953 if ${ac_cv_cpp_def___i386__+:} false; then :
16954 $as_echo_n "(cached) " >&6
16955 else
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16958 #ifndef __i386__
16960 #endif
16961 _ACEOF
16962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16963 $EGREP "yes" >/dev/null 2>&1; then :
16964 ac_cv_cpp_def___i386__=yes
16965 else
16966 ac_cv_cpp_def___i386__=no
16968 rm -f conftest*
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16972 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16973 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16974 CFLAGS="$CFLAGS -D__i386__"
16975 LINTFLAGS="$LINTFLAGS -D__i386__"
16976 fi ;;
16977 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16978 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16979 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16984 #ifndef __x86_64__
16986 #endif
16987 _ACEOF
16988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16989 $EGREP "yes" >/dev/null 2>&1; then :
16990 ac_cv_cpp_def___x86_64__=yes
16991 else
16992 ac_cv_cpp_def___x86_64__=no
16994 rm -f conftest*
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16998 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16999 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17000 CFLAGS="$CFLAGS -D__x86_64__"
17001 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17002 fi ;;
17003 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17004 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17005 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17006 $as_echo_n "(cached) " >&6
17007 else
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #ifndef __sparc64__
17012 #endif
17013 _ACEOF
17014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17015 $EGREP "yes" >/dev/null 2>&1; then :
17016 ac_cv_cpp_def___sparc64__=yes
17017 else
17018 ac_cv_cpp_def___sparc64__=no
17020 rm -f conftest*
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17024 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17025 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17026 CFLAGS="$CFLAGS -D__sparc64__"
17027 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17028 fi ;;
17029 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17030 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17031 if ${ac_cv_cpp_def___sparc__+:} false; then :
17032 $as_echo_n "(cached) " >&6
17033 else
17034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17035 /* end confdefs.h. */
17036 #ifndef __sparc__
17038 #endif
17039 _ACEOF
17040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17041 $EGREP "yes" >/dev/null 2>&1; then :
17042 ac_cv_cpp_def___sparc__=yes
17043 else
17044 ac_cv_cpp_def___sparc__=no
17046 rm -f conftest*
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17050 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17051 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17052 CFLAGS="$CFLAGS -D__sparc__"
17053 LINTFLAGS="$LINTFLAGS -D__sparc__"
17054 fi ;;
17055 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17056 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17057 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17058 $as_echo_n "(cached) " >&6
17059 else
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17062 #ifndef __powerpc64__
17064 #endif
17065 _ACEOF
17066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17067 $EGREP "yes" >/dev/null 2>&1; then :
17068 ac_cv_cpp_def___powerpc64__=yes
17069 else
17070 ac_cv_cpp_def___powerpc64__=no
17072 rm -f conftest*
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17076 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17077 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17078 CFLAGS="$CFLAGS -D__powerpc64__"
17079 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17080 fi ;;
17081 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17082 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17083 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17084 $as_echo_n "(cached) " >&6
17085 else
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17088 #ifndef __powerpc__
17090 #endif
17091 _ACEOF
17092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17093 $EGREP "yes" >/dev/null 2>&1; then :
17094 ac_cv_cpp_def___powerpc__=yes
17095 else
17096 ac_cv_cpp_def___powerpc__=no
17098 rm -f conftest*
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17102 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17103 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17104 CFLAGS="$CFLAGS -D__powerpc__"
17105 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17106 fi ;;
17107 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17108 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17109 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17110 $as_echo_n "(cached) " >&6
17111 else
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17114 #ifndef __aarch64__
17116 #endif
17117 _ACEOF
17118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17119 $EGREP "yes" >/dev/null 2>&1; then :
17120 ac_cv_cpp_def___aarch64__=yes
17121 else
17122 ac_cv_cpp_def___aarch64__=no
17124 rm -f conftest*
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17128 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17129 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17130 CFLAGS="$CFLAGS -D__aarch64__"
17131 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17132 fi ;;
17133 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17134 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17135 if ${ac_cv_cpp_def___arm__+:} false; then :
17136 $as_echo_n "(cached) " >&6
17137 else
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17140 #ifndef __arm__
17142 #endif
17143 _ACEOF
17144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17145 $EGREP "yes" >/dev/null 2>&1; then :
17146 ac_cv_cpp_def___arm__=yes
17147 else
17148 ac_cv_cpp_def___arm__=no
17150 rm -f conftest*
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17154 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17155 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17156 CFLAGS="$CFLAGS -D__arm__"
17157 LINTFLAGS="$LINTFLAGS -D__arm__"
17158 fi ;;
17159 esac
17161 case $host_vendor in
17162 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17163 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17164 if ${ac_cv_cpp_def___sun__+:} false; then :
17165 $as_echo_n "(cached) " >&6
17166 else
17167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17168 /* end confdefs.h. */
17169 #ifndef __sun__
17171 #endif
17172 _ACEOF
17173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17174 $EGREP "yes" >/dev/null 2>&1; then :
17175 ac_cv_cpp_def___sun__=yes
17176 else
17177 ac_cv_cpp_def___sun__=no
17179 rm -f conftest*
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17183 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17184 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17185 CFLAGS="$CFLAGS -D__sun__"
17186 LINTFLAGS="$LINTFLAGS -D__sun__"
17187 fi ;;
17188 esac
17194 ac_config_commands="$ac_config_commands include/stamp-h"
17196 $as_echo_n "creating Makefile rules..." >&6
17198 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17199 SOCKET_LIBS = $SOCKET_LIBS
17200 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17201 IOKIT_LIBS = $IOKIT_LIBS
17202 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17203 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17204 CORESERVICES_LIBS = $CORESERVICES_LIBS
17205 APPKIT_LIBS = $APPKIT_LIBS
17206 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17207 SECURITY_LIBS = $SECURITY_LIBS
17208 COREAUDIO_LIBS = $COREAUDIO_LIBS
17209 OPENAL_LIBS = $OPENAL_LIBS
17210 OPENCL_LIBS = $OPENCL_LIBS
17211 QUICKTIME_LIBS = $QUICKTIME_LIBS
17212 CARBON_LIBS = $CARBON_LIBS
17213 PTHREAD_LIBS = $PTHREAD_LIBS
17214 X_CFLAGS = $X_CFLAGS
17215 X_PRE_LIBS = $X_PRE_LIBS
17216 X_LIBS = $X_LIBS
17217 X_EXTRA_LIBS = $X_EXTRA_LIBS
17218 PCAP_LIBS = $PCAP_LIBS
17219 XML2_CFLAGS = $XML2_CFLAGS
17220 XML2_LIBS = $XML2_LIBS
17221 XSLT_CFLAGS = $XSLT_CFLAGS
17222 XSLT_LIBS = $XSLT_LIBS
17223 DBUS_CFLAGS = $DBUS_CFLAGS
17224 DBUS_LIBS = $DBUS_LIBS
17225 HAL_CFLAGS = $HAL_CFLAGS
17226 HAL_LIBS = $HAL_LIBS
17227 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17228 GNUTLS_LIBS = $GNUTLS_LIBS
17229 SANE_CFLAGS = $SANE_CFLAGS
17230 SANE_LIBS = $SANE_LIBS
17231 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17232 GPHOTO2_LIBS = $GPHOTO2_LIBS
17233 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17234 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17235 RESOLV_LIBS = $RESOLV_LIBS
17236 LCMS2_CFLAGS = $LCMS2_CFLAGS
17237 LCMS2_LIBS = $LCMS2_LIBS
17238 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17239 FREETYPE_LIBS = $FREETYPE_LIBS
17240 Z_LIBS = $Z_LIBS
17241 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17242 PULSE_CFLAGS = $PULSE_CFLAGS
17243 PULSE_LIBS = $PULSE_LIBS
17244 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17245 GSTREAMER_LIBS = $GSTREAMER_LIBS
17246 ALSA_LIBS = $ALSA_LIBS
17247 OSS4_CFLAGS = $OSS4_CFLAGS
17248 CAPI20_CFLAGS = $CAPI20_CFLAGS
17249 CAPI20_LIBS = $CAPI20_LIBS
17250 CUPS_CFLAGS = $CUPS_CFLAGS
17251 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17252 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17253 JPEG_CFLAGS = $JPEG_CFLAGS
17254 JPEG_LIBS = $JPEG_LIBS
17255 PNG_CFLAGS = $PNG_CFLAGS
17256 PNG_LIBS = $PNG_LIBS
17257 TIFF_CFLAGS = $TIFF_CFLAGS
17258 TIFF_LIBS = $TIFF_LIBS
17259 MPG123_CFLAGS = $MPG123_CFLAGS
17260 MPG123_LIBS = $MPG123_LIBS
17261 KSTAT_LIBS = $KSTAT_LIBS
17262 PROCSTAT_LIBS = $PROCSTAT_LIBS
17263 NETAPI_CFLAGS = $NETAPI_CFLAGS
17264 NETAPI_LIBS = $NETAPI_LIBS
17265 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17266 DL_LIBS = $DL_LIBS
17267 POLL_LIBS = $POLL_LIBS
17268 RT_LIBS = $RT_LIBS
17269 LDAP_LIBS = $LDAP_LIBS
17274 wine_fn_append_rule "
17275 # Rules automatically generated by configure
17277 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17279 .INIT: Makefile
17280 .MAKEFILEDEPS:
17281 all: Makefile
17282 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17283 @./config.status Make.tmp Makefile
17284 depend: \$(MAKEDEP) dummy
17285 \$(MAKEDEP)"
17287 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17288 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17290 if test "x$enable_fonts" != xno; then
17291 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17292 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17293 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17294 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17295 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17296 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17298 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17299 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17300 ac_config_links="$ac_config_links wine:tools/winewrapper"
17301 wine_fn_config_symlink wine
17302 if test "x$enable_win64" != xno; then
17303 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17304 wine_fn_config_symlink wine64
17307 wine_fn_config_dll acledit enable_acledit
17308 wine_fn_config_dll aclui enable_aclui implib
17309 wine_fn_config_dll activeds enable_activeds implib
17310 wine_fn_config_dll actxprxy enable_actxprxy clean
17311 wine_fn_config_lib adsiid
17312 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17313 wine_fn_config_test dlls/advapi32/tests advapi32_test
17314 wine_fn_config_dll advpack enable_advpack implib
17315 wine_fn_config_test dlls/advpack/tests advpack_test
17316 wine_fn_config_dll amstream enable_amstream clean
17317 wine_fn_config_test dlls/amstream/tests amstream_test
17318 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17319 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17320 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17322 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17323 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17324 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17325 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17326 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17327 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17328 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17329 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17330 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17331 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17332 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17333 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17334 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17335 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17336 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17337 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17338 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17339 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17340 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17341 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17342 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17343 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17344 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17345 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17346 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17347 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17348 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17349 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17350 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17351 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17352 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17353 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17354 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17355 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17356 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17357 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17358 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17359 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17360 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17361 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17362 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17363 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17364 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17365 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17366 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17367 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17368 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17369 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17370 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17371 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17372 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17373 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17374 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17375 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17376 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17377 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17378 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17379 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17380 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17381 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17382 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17383 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17384 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17385 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17386 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17387 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17388 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17389 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17390 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17391 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17392 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17393 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17394 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17395 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17396 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17397 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17398 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17399 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17400 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17401 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17402 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17403 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17404 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17405 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17406 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17407 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17408 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17409 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17410 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17411 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17412 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17413 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17414 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17415 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17416 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17417 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17418 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17419 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17420 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17421 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17422 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17423 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17424 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17425 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17426 wine_fn_config_dll apphelp enable_apphelp
17427 wine_fn_config_test dlls/apphelp/tests apphelp_test
17428 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17429 wine_fn_config_dll atl enable_atl clean,implib
17430 wine_fn_config_test dlls/atl/tests atl_test
17431 wine_fn_config_dll atl100 enable_atl100 clean,implib
17432 wine_fn_config_test dlls/atl100/tests atl100_test
17433 wine_fn_config_dll atl110 enable_atl110 clean
17434 wine_fn_config_dll atl80 enable_atl80 clean,implib
17435 wine_fn_config_test dlls/atl80/tests atl80_test
17436 wine_fn_config_dll atl90 enable_atl90 clean
17437 wine_fn_config_dll authz enable_authz
17438 wine_fn_config_dll avicap32 enable_avicap32 implib
17439 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17440 wine_fn_config_test dlls/avifil32/tests avifil32_test
17441 wine_fn_config_dll avifile.dll16 enable_win16
17442 wine_fn_config_dll avrt enable_avrt implib
17443 wine_fn_config_dll bcrypt enable_bcrypt implib
17444 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17445 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17446 wine_fn_config_dll browseui enable_browseui clean
17447 wine_fn_config_test dlls/browseui/tests browseui_test
17448 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17449 wine_fn_config_dll cabinet enable_cabinet implib
17450 wine_fn_config_test dlls/cabinet/tests cabinet_test
17451 wine_fn_config_dll capi2032 enable_capi2032 implib
17452 wine_fn_config_dll cards enable_cards implib
17453 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17454 wine_fn_config_dll clusapi enable_clusapi implib
17455 wine_fn_config_dll combase enable_combase
17456 wine_fn_config_test dlls/combase/tests combase_test
17457 wine_fn_config_dll comcat enable_comcat
17458 wine_fn_config_test dlls/comcat/tests comcat_test
17459 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17460 wine_fn_config_test dlls/comctl32/tests comctl32_test
17461 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17462 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17463 wine_fn_config_dll comm.drv16 enable_win16
17464 wine_fn_config_dll commdlg.dll16 enable_win16
17465 wine_fn_config_dll compobj.dll16 enable_win16
17466 wine_fn_config_dll compstui enable_compstui implib
17467 wine_fn_config_dll comsvcs enable_comsvcs implib
17468 wine_fn_config_dll connect enable_connect
17469 wine_fn_config_dll credui enable_credui clean,implib
17470 wine_fn_config_test dlls/credui/tests credui_test
17471 wine_fn_config_dll crtdll enable_crtdll implib
17472 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17473 wine_fn_config_test dlls/crypt32/tests crypt32_test
17474 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17475 wine_fn_config_dll cryptdll enable_cryptdll implib
17476 wine_fn_config_dll cryptext enable_cryptext
17477 wine_fn_config_dll cryptnet enable_cryptnet implib
17478 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17479 wine_fn_config_dll cryptui enable_cryptui clean,implib
17480 wine_fn_config_test dlls/cryptui/tests cryptui_test
17481 wine_fn_config_dll ctapi32 enable_ctapi32
17482 wine_fn_config_dll ctl3d.dll16 enable_win16
17483 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17484 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17485 wine_fn_config_dll d2d1 enable_d2d1 implib
17486 wine_fn_config_test dlls/d2d1/tests d2d1_test
17487 wine_fn_config_dll d3d10 enable_d3d10 implib
17488 wine_fn_config_test dlls/d3d10/tests d3d10_test
17489 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17490 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17491 wine_fn_config_dll d3d10core enable_d3d10core implib
17492 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17493 wine_fn_config_dll d3d11 enable_d3d11 implib
17494 wine_fn_config_test dlls/d3d11/tests d3d11_test
17495 wine_fn_config_dll d3d8 enable_d3d8 implib
17496 wine_fn_config_test dlls/d3d8/tests d3d8_test
17497 wine_fn_config_dll d3d9 enable_d3d9 implib
17498 wine_fn_config_test dlls/d3d9/tests d3d9_test
17499 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17500 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17501 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17502 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17503 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17504 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17505 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17506 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17507 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17508 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17509 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17510 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17511 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17512 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17513 wine_fn_config_dll d3dim enable_d3dim implib
17514 wine_fn_config_dll d3drm enable_d3drm implib
17515 wine_fn_config_test dlls/d3drm/tests d3drm_test
17516 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17517 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17518 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17519 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17520 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17521 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17522 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17523 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17524 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17525 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17526 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17527 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17528 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17529 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17530 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17531 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17532 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17533 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17534 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17535 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17536 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17537 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17538 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17539 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17540 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17541 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17542 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17543 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17544 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17545 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17546 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17547 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17548 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17549 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17550 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17551 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17552 wine_fn_config_dll davclnt enable_davclnt
17553 wine_fn_config_dll dbgeng enable_dbgeng implib
17554 wine_fn_config_dll dbghelp enable_dbghelp implib
17555 wine_fn_config_dll dciman32 enable_dciman32 implib
17556 wine_fn_config_dll ddeml.dll16 enable_win16
17557 wine_fn_config_dll ddraw enable_ddraw clean,implib
17558 wine_fn_config_test dlls/ddraw/tests ddraw_test
17559 wine_fn_config_dll ddrawex enable_ddrawex clean
17560 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17561 wine_fn_config_dll devenum enable_devenum clean
17562 wine_fn_config_test dlls/devenum/tests devenum_test
17563 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17564 wine_fn_config_dll difxapi enable_difxapi
17565 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17566 wine_fn_config_test dlls/dinput/tests dinput_test
17567 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17568 wine_fn_config_test dlls/dinput8/tests dinput8_test
17569 wine_fn_config_dll dispdib.dll16 enable_win16
17570 wine_fn_config_dll dispex enable_dispex clean
17571 wine_fn_config_test dlls/dispex/tests dispex_test
17572 wine_fn_config_dll display.drv16 enable_win16
17573 wine_fn_config_dll dmband enable_dmband clean
17574 wine_fn_config_test dlls/dmband/tests dmband_test
17575 wine_fn_config_dll dmcompos enable_dmcompos clean
17576 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17577 wine_fn_config_dll dmime enable_dmime clean
17578 wine_fn_config_test dlls/dmime/tests dmime_test
17579 wine_fn_config_dll dmloader enable_dmloader clean
17580 wine_fn_config_test dlls/dmloader/tests dmloader_test
17581 wine_fn_config_dll dmscript enable_dmscript clean
17582 wine_fn_config_test dlls/dmscript/tests dmscript_test
17583 wine_fn_config_dll dmstyle enable_dmstyle clean
17584 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17585 wine_fn_config_dll dmsynth enable_dmsynth clean
17586 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17587 wine_fn_config_dll dmusic enable_dmusic clean
17588 wine_fn_config_test dlls/dmusic/tests dmusic_test
17589 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17590 wine_fn_config_dll dnsapi enable_dnsapi implib
17591 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17592 wine_fn_config_dll dplay enable_dplay implib
17593 wine_fn_config_dll dplayx enable_dplayx clean,implib
17594 wine_fn_config_test dlls/dplayx/tests dplayx_test
17595 wine_fn_config_dll dpnaddr enable_dpnaddr
17596 wine_fn_config_dll dpnet enable_dpnet clean,implib
17597 wine_fn_config_test dlls/dpnet/tests dpnet_test
17598 wine_fn_config_dll dpnhpast enable_dpnhpast
17599 wine_fn_config_dll dpnlobby enable_dpnlobby
17600 wine_fn_config_dll dpvoice enable_dpvoice clean
17601 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17602 wine_fn_config_dll dpwsockx enable_dpwsockx
17603 wine_fn_config_dll drmclien enable_drmclien
17604 wine_fn_config_dll dsound enable_dsound clean,implib
17605 wine_fn_config_test dlls/dsound/tests dsound_test
17606 wine_fn_config_dll dssenh enable_dssenh
17607 wine_fn_config_test dlls/dssenh/tests dssenh_test
17608 wine_fn_config_dll dswave enable_dswave clean
17609 wine_fn_config_test dlls/dswave/tests dswave_test
17610 wine_fn_config_dll dwmapi enable_dwmapi implib
17611 wine_fn_config_dll dwrite enable_dwrite implib
17612 wine_fn_config_test dlls/dwrite/tests dwrite_test
17613 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17614 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17615 wine_fn_config_lib dxerr8
17616 wine_fn_config_lib dxerr9
17617 wine_fn_config_dll dxgi enable_dxgi implib
17618 wine_fn_config_test dlls/dxgi/tests dxgi_test
17619 wine_fn_config_lib dxguid
17620 wine_fn_config_dll dxva2 enable_dxva2
17621 wine_fn_config_dll esent enable_esent
17622 wine_fn_config_dll evr enable_evr
17623 wine_fn_config_dll explorerframe enable_explorerframe clean
17624 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17625 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17626 wine_fn_config_dll faultrep enable_faultrep implib
17627 wine_fn_config_test dlls/faultrep/tests faultrep_test
17628 wine_fn_config_dll fltlib enable_fltlib
17629 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17630 wine_fn_config_dll fntcache enable_fntcache
17631 wine_fn_config_dll fontsub enable_fontsub
17632 wine_fn_config_dll fusion enable_fusion
17633 wine_fn_config_test dlls/fusion/tests fusion_test
17634 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17635 wine_fn_config_dll gameux enable_gameux clean
17636 wine_fn_config_test dlls/gameux/tests gameux_test
17637 wine_fn_config_dll gdi.exe16 enable_win16
17638 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17639 wine_fn_config_test dlls/gdi32/tests gdi32_test
17640 wine_fn_config_dll gdiplus enable_gdiplus implib
17641 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17642 wine_fn_config_dll glu32 enable_glu32 implib
17643 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17644 wine_fn_config_dll gpkcsp enable_gpkcsp
17645 wine_fn_config_dll hal enable_hal
17646 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17647 wine_fn_config_dll hid enable_hid implib
17648 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17649 wine_fn_config_dll hlink enable_hlink clean,implib
17650 wine_fn_config_test dlls/hlink/tests hlink_test
17651 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17652 wine_fn_config_dll httpapi enable_httpapi
17653 wine_fn_config_dll iccvid enable_iccvid clean
17654 wine_fn_config_dll icmp enable_icmp
17655 wine_fn_config_dll ieframe enable_ieframe clean,implib
17656 wine_fn_config_test dlls/ieframe/tests ieframe_test
17657 wine_fn_config_dll ifsmgr.vxd enable_win16
17658 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17659 wine_fn_config_dll imagehlp enable_imagehlp implib
17660 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17661 wine_fn_config_dll imm.dll16 enable_win16
17662 wine_fn_config_dll imm32 enable_imm32 implib
17663 wine_fn_config_test dlls/imm32/tests imm32_test
17664 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17665 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17666 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17667 wine_fn_config_dll inetmib1 enable_inetmib1
17668 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17669 wine_fn_config_dll infosoft enable_infosoft clean
17670 wine_fn_config_test dlls/infosoft/tests infosoft_test
17671 wine_fn_config_dll initpki enable_initpki
17672 wine_fn_config_dll inkobj enable_inkobj
17673 wine_fn_config_dll inseng enable_inseng clean
17674 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17675 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17676 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17677 wine_fn_config_dll itircl enable_itircl
17678 wine_fn_config_dll itss enable_itss clean
17679 wine_fn_config_test dlls/itss/tests itss_test
17680 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17681 wine_fn_config_dll jscript enable_jscript clean
17682 wine_fn_config_test dlls/jscript/tests jscript_test
17683 wine_fn_config_dll jsproxy enable_jsproxy implib
17684 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17685 wine_fn_config_test dlls/kernel32/tests kernel32_test
17686 wine_fn_config_dll kernelbase enable_kernelbase
17687 wine_fn_config_dll keyboard.drv16 enable_win16
17688 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17689 wine_fn_config_dll ksuser enable_ksuser
17690 wine_fn_config_dll ktmw32 enable_ktmw32
17691 wine_fn_config_dll loadperf enable_loadperf implib
17692 wine_fn_config_dll localspl enable_localspl clean
17693 wine_fn_config_test dlls/localspl/tests localspl_test
17694 wine_fn_config_dll localui enable_localui clean
17695 wine_fn_config_test dlls/localui/tests localui_test
17696 wine_fn_config_dll lz32 enable_lz32 implib
17697 wine_fn_config_test dlls/lz32/tests lz32_test
17698 wine_fn_config_dll lzexpand.dll16 enable_win16
17699 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17700 wine_fn_config_test dlls/mapi32/tests mapi32_test
17701 wine_fn_config_dll mapistub enable_mapistub
17702 wine_fn_config_dll mciavi32 enable_mciavi32
17703 wine_fn_config_dll mcicda enable_mcicda
17704 wine_fn_config_dll mciqtz32 enable_mciqtz32
17705 wine_fn_config_dll mciseq enable_mciseq
17706 wine_fn_config_dll mciwave enable_mciwave
17707 wine_fn_config_dll mf enable_mf
17708 wine_fn_config_dll mfplat enable_mfplat
17709 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17710 wine_fn_config_dll mgmtapi enable_mgmtapi
17711 wine_fn_config_dll midimap enable_midimap
17712 wine_fn_config_dll mlang enable_mlang clean,implib
17713 wine_fn_config_test dlls/mlang/tests mlang_test
17714 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17715 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17716 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17717 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17718 wine_fn_config_dll mmdevldr.vxd enable_win16
17719 wine_fn_config_dll mmsystem.dll16 enable_win16
17720 wine_fn_config_dll monodebg.vxd enable_win16
17721 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17722 wine_fn_config_dll mouse.drv16 enable_win16
17723 wine_fn_config_dll mpr enable_mpr clean,implib
17724 wine_fn_config_test dlls/mpr/tests mpr_test
17725 wine_fn_config_dll mprapi enable_mprapi implib
17726 wine_fn_config_dll msacm.dll16 enable_win16
17727 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17728 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17729 wine_fn_config_test dlls/msacm32/tests msacm32_test
17730 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17731 wine_fn_config_dll msasn1 enable_msasn1 implib
17732 wine_fn_config_dll mscat32 enable_mscat32
17733 wine_fn_config_dll mscms enable_mscms implib
17734 wine_fn_config_test dlls/mscms/tests mscms_test
17735 wine_fn_config_dll mscoree enable_mscoree clean
17736 wine_fn_config_test dlls/mscoree/tests mscoree_test
17737 wine_fn_config_dll msctf enable_msctf clean
17738 wine_fn_config_test dlls/msctf/tests msctf_test
17739 wine_fn_config_dll msctfp enable_msctfp clean
17740 wine_fn_config_dll msdaps enable_msdaps clean
17741 wine_fn_config_dll msdelta enable_msdelta
17742 wine_fn_config_dll msdmo enable_msdmo implib
17743 wine_fn_config_test dlls/msdmo/tests msdmo_test
17744 wine_fn_config_dll msdrm enable_msdrm
17745 wine_fn_config_dll msftedit enable_msftedit
17746 wine_fn_config_dll msg711.acm enable_msg711_acm
17747 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17748 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17749 wine_fn_config_dll mshtml enable_mshtml clean,implib
17750 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17751 wine_fn_config_dll msi enable_msi clean,implib
17752 wine_fn_config_test dlls/msi/tests msi_test
17753 wine_fn_config_dll msident enable_msident clean
17754 wine_fn_config_dll msimg32 enable_msimg32 implib
17755 wine_fn_config_dll msimsg enable_msimsg
17756 wine_fn_config_dll msimtf enable_msimtf clean
17757 wine_fn_config_dll msisip enable_msisip
17758 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17759 wine_fn_config_dll msls31 enable_msls31
17760 wine_fn_config_dll msnet32 enable_msnet32
17761 wine_fn_config_dll mspatcha enable_mspatcha implib
17762 wine_fn_config_dll msrle32 enable_msrle32 clean
17763 wine_fn_config_test dlls/msrle32/tests msrle32_test
17764 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17765 wine_fn_config_dll mssign32 enable_mssign32
17766 wine_fn_config_dll mssip32 enable_mssip32
17767 wine_fn_config_dll mstask enable_mstask clean
17768 wine_fn_config_test dlls/mstask/tests mstask_test
17769 wine_fn_config_dll msvcirt enable_msvcirt
17770 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17771 wine_fn_config_dll msvcm80 enable_msvcm80
17772 wine_fn_config_dll msvcm90 enable_msvcm90
17773 wine_fn_config_dll msvcp100 enable_msvcp100
17774 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17775 wine_fn_config_dll msvcp110 enable_msvcp110
17776 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17777 wine_fn_config_dll msvcp120 enable_msvcp120
17778 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17779 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17780 wine_fn_config_dll msvcp60 enable_msvcp60
17781 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17782 wine_fn_config_dll msvcp70 enable_msvcp70
17783 wine_fn_config_dll msvcp71 enable_msvcp71
17784 wine_fn_config_dll msvcp80 enable_msvcp80
17785 wine_fn_config_dll msvcp90 enable_msvcp90
17786 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17787 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17788 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17789 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17790 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17791 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17792 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17793 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17794 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17795 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17796 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17797 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17798 wine_fn_config_dll msvcrt enable_msvcrt implib
17799 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17800 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17801 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17802 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17803 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17804 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17805 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17806 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17807 wine_fn_config_dll msvideo.dll16 enable_win16
17808 wine_fn_config_dll mswsock enable_mswsock implib
17809 wine_fn_config_dll msxml enable_msxml clean
17810 wine_fn_config_dll msxml2 enable_msxml2 clean
17811 wine_fn_config_dll msxml3 enable_msxml3 clean
17812 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17813 wine_fn_config_dll msxml4 enable_msxml4 clean
17814 wine_fn_config_dll msxml6 enable_msxml6 clean
17815 wine_fn_config_dll nddeapi enable_nddeapi implib
17816 wine_fn_config_dll ndis.sys enable_ndis_sys
17817 wine_fn_config_dll netapi32 enable_netapi32 implib
17818 wine_fn_config_test dlls/netapi32/tests netapi32_test
17819 wine_fn_config_dll netcfgx enable_netcfgx clean
17820 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17821 wine_fn_config_dll netprofm enable_netprofm clean
17822 wine_fn_config_test dlls/netprofm/tests netprofm_test
17823 wine_fn_config_dll newdev enable_newdev implib
17824 wine_fn_config_dll normaliz enable_normaliz implib
17825 wine_fn_config_dll npmshtml enable_npmshtml
17826 wine_fn_config_dll npptools enable_npptools
17827 wine_fn_config_dll ntdll enable_ntdll implib
17828 wine_fn_config_test dlls/ntdll/tests ntdll_test
17829 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17830 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17831 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17832 wine_fn_config_dll ntprint enable_ntprint
17833 wine_fn_config_test dlls/ntprint/tests ntprint_test
17834 wine_fn_config_dll objsel enable_objsel clean
17835 wine_fn_config_dll odbc32 enable_odbc32 implib
17836 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17837 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17838 wine_fn_config_dll odbccu32 enable_odbccu32
17839 wine_fn_config_dll ole2.dll16 enable_win16
17840 wine_fn_config_dll ole2conv.dll16 enable_win16
17841 wine_fn_config_dll ole2disp.dll16 enable_win16
17842 wine_fn_config_dll ole2nls.dll16 enable_win16
17843 wine_fn_config_dll ole2prox.dll16 enable_win16
17844 wine_fn_config_dll ole2thk.dll16 enable_win16
17845 wine_fn_config_dll ole32 enable_ole32 clean,implib
17846 wine_fn_config_test dlls/ole32/tests ole32_test
17847 wine_fn_config_dll oleacc enable_oleacc clean,implib
17848 wine_fn_config_test dlls/oleacc/tests oleacc_test
17849 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17850 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17851 wine_fn_config_dll olecli.dll16 enable_win16
17852 wine_fn_config_dll olecli32 enable_olecli32 implib
17853 wine_fn_config_dll oledb32 enable_oledb32 clean
17854 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17855 wine_fn_config_dll oledlg enable_oledlg clean,implib
17856 wine_fn_config_test dlls/oledlg/tests oledlg_test
17857 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17858 wine_fn_config_dll olesvr.dll16 enable_win16
17859 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17860 wine_fn_config_dll olethk32 enable_olethk32
17861 wine_fn_config_dll openal32 enable_openal32
17862 wine_fn_config_dll opencl enable_opencl
17863 wine_fn_config_dll opengl32 enable_opengl32 implib
17864 wine_fn_config_test dlls/opengl32/tests opengl32_test
17865 wine_fn_config_dll packager enable_packager clean
17866 wine_fn_config_test dlls/packager/tests packager_test
17867 wine_fn_config_dll pdh enable_pdh implib
17868 wine_fn_config_test dlls/pdh/tests pdh_test
17869 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17870 wine_fn_config_dll pidgen enable_pidgen
17871 wine_fn_config_dll powrprof enable_powrprof implib
17872 wine_fn_config_dll printui enable_printui
17873 wine_fn_config_dll prntvpt enable_prntvpt
17874 wine_fn_config_dll propsys enable_propsys clean,implib
17875 wine_fn_config_test dlls/propsys/tests propsys_test
17876 wine_fn_config_dll psapi enable_psapi implib
17877 wine_fn_config_test dlls/psapi/tests psapi_test
17878 wine_fn_config_dll pstorec enable_pstorec clean
17879 wine_fn_config_dll qcap enable_qcap
17880 wine_fn_config_test dlls/qcap/tests qcap_test
17881 wine_fn_config_dll qedit enable_qedit clean
17882 wine_fn_config_test dlls/qedit/tests qedit_test
17883 wine_fn_config_dll qmgr enable_qmgr clean
17884 wine_fn_config_test dlls/qmgr/tests qmgr_test
17885 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17886 wine_fn_config_dll quartz enable_quartz clean,implib
17887 wine_fn_config_test dlls/quartz/tests quartz_test clean
17888 wine_fn_config_dll query enable_query
17889 wine_fn_config_dll rasapi16.dll16 enable_win16
17890 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17891 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17892 wine_fn_config_dll rasdlg enable_rasdlg implib
17893 wine_fn_config_dll regapi enable_regapi
17894 wine_fn_config_dll resutils enable_resutils implib
17895 wine_fn_config_dll riched20 enable_riched20 clean,implib
17896 wine_fn_config_test dlls/riched20/tests riched20_test
17897 wine_fn_config_dll riched32 enable_riched32
17898 wine_fn_config_test dlls/riched32/tests riched32_test
17899 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17900 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17901 wine_fn_config_dll rsabase enable_rsabase
17902 wine_fn_config_dll rsaenh enable_rsaenh implib
17903 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17904 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17905 wine_fn_config_dll rtutils enable_rtutils implib
17906 wine_fn_config_dll samlib enable_samlib
17907 wine_fn_config_dll sane.ds enable_sane_ds clean
17908 wine_fn_config_dll scarddlg enable_scarddlg
17909 wine_fn_config_dll sccbase enable_sccbase
17910 wine_fn_config_dll schannel enable_schannel
17911 wine_fn_config_test dlls/schannel/tests schannel_test
17912 wine_fn_config_dll schedsvc enable_schedsvc clean
17913 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17914 wine_fn_config_dll scrrun enable_scrrun clean
17915 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17916 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17917 wine_fn_config_dll secur32 enable_secur32 implib
17918 wine_fn_config_test dlls/secur32/tests secur32_test
17919 wine_fn_config_dll security enable_security
17920 wine_fn_config_dll sensapi enable_sensapi implib
17921 wine_fn_config_dll serialui enable_serialui clean,implib
17922 wine_fn_config_test dlls/serialui/tests serialui_test
17923 wine_fn_config_dll setupapi enable_setupapi clean,implib
17924 wine_fn_config_test dlls/setupapi/tests setupapi_test
17925 wine_fn_config_dll setupx.dll16 enable_win16
17926 wine_fn_config_dll sfc enable_sfc implib
17927 wine_fn_config_dll sfc_os enable_sfc_os implib
17928 wine_fn_config_dll shdoclc enable_shdoclc clean
17929 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17930 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17931 wine_fn_config_dll shell.dll16 enable_win16
17932 wine_fn_config_dll shell32 enable_shell32 clean,implib
17933 wine_fn_config_test dlls/shell32/tests shell32_test
17934 wine_fn_config_dll shfolder enable_shfolder implib
17935 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
17936 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17937 wine_fn_config_dll slbcsp enable_slbcsp
17938 wine_fn_config_dll slc enable_slc implib
17939 wine_fn_config_test dlls/slc/tests slc_test
17940 wine_fn_config_dll snmpapi enable_snmpapi implib
17941 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17942 wine_fn_config_dll softpub enable_softpub
17943 wine_fn_config_dll sound.drv16 enable_win16
17944 wine_fn_config_dll spoolss enable_spoolss implib
17945 wine_fn_config_test dlls/spoolss/tests spoolss_test
17946 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17947 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17948 wine_fn_config_dll sti enable_sti clean,implib
17949 wine_fn_config_test dlls/sti/tests sti_test
17950 wine_fn_config_dll storage.dll16 enable_win16
17951 wine_fn_config_dll stress.dll16 enable_win16
17952 wine_fn_config_lib strmbase
17953 wine_fn_config_lib strmiids
17954 wine_fn_config_dll svrapi enable_svrapi
17955 wine_fn_config_dll sxs enable_sxs implib
17956 wine_fn_config_test dlls/sxs/tests sxs_test
17957 wine_fn_config_dll system.drv16 enable_win16
17958 wine_fn_config_dll t2embed enable_t2embed
17959 wine_fn_config_dll tapi32 enable_tapi32 implib
17960 wine_fn_config_dll taskschd enable_taskschd clean
17961 wine_fn_config_test dlls/taskschd/tests taskschd_test
17962 wine_fn_config_dll tdi.sys enable_tdi_sys
17963 wine_fn_config_dll toolhelp.dll16 enable_win16
17964 wine_fn_config_dll traffic enable_traffic
17965 wine_fn_config_dll twain.dll16 enable_win16
17966 wine_fn_config_dll twain_32 enable_twain_32
17967 wine_fn_config_test dlls/twain_32/tests twain_32_test
17968 wine_fn_config_dll typelib.dll16 enable_win16
17969 wine_fn_config_dll ucrtbase enable_ucrtbase
17970 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17971 wine_fn_config_dll unicows enable_unicows implib
17972 wine_fn_config_dll updspapi enable_updspapi
17973 wine_fn_config_dll url enable_url implib
17974 wine_fn_config_dll urlmon enable_urlmon clean,implib
17975 wine_fn_config_test dlls/urlmon/tests urlmon_test
17976 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17977 wine_fn_config_dll user.exe16 enable_win16
17978 wine_fn_config_dll user32 enable_user32 clean,implib
17979 wine_fn_config_test dlls/user32/tests user32_test
17980 wine_fn_config_dll userenv enable_userenv implib
17981 wine_fn_config_test dlls/userenv/tests userenv_test
17982 wine_fn_config_dll usp10 enable_usp10 implib
17983 wine_fn_config_test dlls/usp10/tests usp10_test
17984 wine_fn_config_lib uuid
17985 wine_fn_config_dll uxtheme enable_uxtheme implib
17986 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17987 wine_fn_config_dll vbscript enable_vbscript clean
17988 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17989 wine_fn_config_dll vcomp enable_vcomp
17990 wine_fn_config_test dlls/vcomp/tests vcomp_test
17991 wine_fn_config_dll vcomp100 enable_vcomp100
17992 wine_fn_config_dll vcomp110 enable_vcomp110
17993 wine_fn_config_dll vcomp120 enable_vcomp120
17994 wine_fn_config_dll vcomp90 enable_vcomp90
17995 wine_fn_config_dll vcruntime140 enable_vcruntime140
17996 wine_fn_config_dll vdhcp.vxd enable_win16
17997 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17998 wine_fn_config_dll ver.dll16 enable_win16
17999 wine_fn_config_dll version enable_version implib
18000 wine_fn_config_test dlls/version/tests version_test
18001 wine_fn_config_dll vmm.vxd enable_win16
18002 wine_fn_config_dll vnbt.vxd enable_win16
18003 wine_fn_config_dll vnetbios.vxd enable_win16
18004 wine_fn_config_dll vssapi enable_vssapi
18005 wine_fn_config_dll vtdapi.vxd enable_win16
18006 wine_fn_config_dll vwin32.vxd enable_win16
18007 wine_fn_config_dll w32skrnl enable_win16
18008 wine_fn_config_dll w32sys.dll16 enable_win16
18009 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18010 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18011 wine_fn_config_dll wbemprox enable_wbemprox clean
18012 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18013 wine_fn_config_dll webservices enable_webservices implib
18014 wine_fn_config_test dlls/webservices/tests webservices_test
18015 wine_fn_config_dll wer enable_wer implib
18016 wine_fn_config_test dlls/wer/tests wer_test
18017 wine_fn_config_dll wevtapi enable_wevtapi
18018 wine_fn_config_dll wiaservc enable_wiaservc clean
18019 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18020 wine_fn_config_dll wimgapi enable_wimgapi
18021 wine_fn_config_dll win32s16.dll16 enable_win16
18022 wine_fn_config_dll win87em.dll16 enable_win16
18023 wine_fn_config_dll winaspi.dll16 enable_win16
18024 wine_fn_config_dll windebug.dll16 enable_win16
18025 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18026 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18027 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18028 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18029 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18030 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18031 wine_fn_config_lib winecrt0
18032 wine_fn_config_dll wined3d enable_wined3d implib
18033 wine_fn_config_dll winegstreamer enable_winegstreamer
18034 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18035 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18036 wine_fn_config_dll winemapi enable_winemapi
18037 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18038 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18039 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18040 wine_fn_config_dll wineps16.drv16 enable_win16
18041 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18042 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18043 wine_fn_config_dll winex11.drv enable_winex11_drv
18044 wine_fn_config_dll wing.dll16 enable_win16
18045 wine_fn_config_dll wing32 enable_wing32
18046 wine_fn_config_dll winhttp enable_winhttp clean,implib
18047 wine_fn_config_test dlls/winhttp/tests winhttp_test
18048 wine_fn_config_dll wininet enable_wininet clean,implib
18049 wine_fn_config_test dlls/wininet/tests wininet_test
18050 wine_fn_config_dll winmm enable_winmm clean,implib
18051 wine_fn_config_test dlls/winmm/tests winmm_test
18052 wine_fn_config_dll winnls.dll16 enable_win16
18053 wine_fn_config_dll winnls32 enable_winnls32 implib
18054 wine_fn_config_dll winscard enable_winscard implib
18055 wine_fn_config_dll winsock.dll16 enable_win16
18056 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18057 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18058 wine_fn_config_dll winsta enable_winsta
18059 wine_fn_config_dll wintab.dll16 enable_win16
18060 wine_fn_config_dll wintab32 enable_wintab32 implib
18061 wine_fn_config_test dlls/wintab32/tests wintab32_test
18062 wine_fn_config_dll wintrust enable_wintrust implib
18063 wine_fn_config_test dlls/wintrust/tests wintrust_test
18064 wine_fn_config_dll wlanapi enable_wlanapi
18065 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18066 wine_fn_config_test dlls/wldap32/tests wldap32_test
18067 wine_fn_config_dll wmasf enable_wmasf
18068 wine_fn_config_dll wmi enable_wmi
18069 wine_fn_config_dll wmiutils enable_wmiutils clean
18070 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18071 wine_fn_config_dll wmp enable_wmp clean
18072 wine_fn_config_test dlls/wmp/tests wmp_test
18073 wine_fn_config_dll wmvcore enable_wmvcore
18074 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18075 wine_fn_config_dll wow32 enable_win16 implib
18076 wine_fn_config_dll wpcap enable_wpcap
18077 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18078 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18079 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18080 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18081 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18082 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18083 wine_fn_config_dll wsock32 enable_wsock32 implib
18084 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18085 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18086 wine_fn_config_dll wuapi enable_wuapi clean
18087 wine_fn_config_dll wuaueng enable_wuaueng
18088 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18089 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18090 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18091 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18092 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18093 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18094 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18095 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18096 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18097 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18098 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18099 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18100 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18101 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18102 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18103 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18104 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18105 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18106 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18107 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18108 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18109 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18110 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18111 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18112 wine_fn_config_dll xinput1_1 enable_xinput1_1
18113 wine_fn_config_dll xinput1_2 enable_xinput1_2
18114 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18115 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18116 wine_fn_config_dll xinput1_4 enable_xinput1_4
18117 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18118 wine_fn_config_dll xmllite enable_xmllite implib
18119 wine_fn_config_test dlls/xmllite/tests xmllite_test
18120 wine_fn_config_dll xolehlp enable_xolehlp
18121 wine_fn_config_dll xpsprint enable_xpsprint
18122 wine_fn_config_dll xpssvcs enable_xpssvcs
18123 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18124 wine_fn_config_makefile include enable_include clean,install-dev
18125 wine_fn_config_makefile libs/port enable_libs_port
18126 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18127 wine_fn_config_makefile libs/wpp enable_libs_wpp
18128 wine_fn_config_makefile loader enable_loader clean,install-lib
18129 wine_fn_config_makefile po enable_po clean
18130 wine_fn_config_program arp enable_arp install
18131 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18132 wine_fn_config_program attrib enable_attrib clean,install
18133 wine_fn_config_program cabarc enable_cabarc install
18134 wine_fn_config_program cacls enable_cacls install
18135 wine_fn_config_program clock enable_clock clean,install
18136 wine_fn_config_program cmd enable_cmd clean,install
18137 wine_fn_config_test programs/cmd/tests cmd.exe_test
18138 wine_fn_config_program conhost enable_conhost install
18139 wine_fn_config_program control enable_control install
18140 wine_fn_config_program cscript enable_cscript clean,install
18141 wine_fn_config_program dpnsvr enable_dpnsvr install
18142 wine_fn_config_program dxdiag enable_dxdiag clean,install
18143 wine_fn_config_program eject enable_eject install
18144 wine_fn_config_program expand enable_expand install
18145 wine_fn_config_program explorer enable_explorer clean,install
18146 wine_fn_config_program extrac32 enable_extrac32 install
18147 wine_fn_config_program findstr enable_findstr install
18148 wine_fn_config_program hh enable_hh install
18149 wine_fn_config_program hostname enable_hostname clean,install
18150 wine_fn_config_program icacls enable_icacls install
18151 wine_fn_config_program icinfo enable_icinfo install
18152 wine_fn_config_program iexplore enable_iexplore install
18153 wine_fn_config_program ipconfig enable_ipconfig clean,install
18154 wine_fn_config_program lodctr enable_lodctr install
18155 wine_fn_config_program mofcomp enable_mofcomp install
18156 wine_fn_config_program mshta enable_mshta install
18157 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18158 wine_fn_config_program net enable_net clean,install
18159 wine_fn_config_program netsh enable_netsh install
18160 wine_fn_config_program netstat enable_netstat clean,install
18161 wine_fn_config_program ngen enable_ngen install
18162 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18163 wine_fn_config_program oleview enable_oleview clean,install
18164 wine_fn_config_program ping enable_ping install
18165 wine_fn_config_program plugplay enable_plugplay install
18166 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18167 wine_fn_config_program progman enable_progman clean,install
18168 wine_fn_config_program reg enable_reg clean,install
18169 wine_fn_config_test programs/reg/tests reg.exe_test
18170 wine_fn_config_program regasm enable_regasm install
18171 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18172 wine_fn_config_test programs/regedit/tests regedit.exe_test
18173 wine_fn_config_program regsvcs enable_regsvcs install
18174 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18175 wine_fn_config_program rpcss enable_rpcss clean,install
18176 wine_fn_config_program rundll.exe16 enable_win16 install
18177 wine_fn_config_program rundll32 enable_rundll32 install
18178 wine_fn_config_program sc enable_sc install
18179 wine_fn_config_program schtasks enable_schtasks install
18180 wine_fn_config_program sdbinst enable_sdbinst install
18181 wine_fn_config_program secedit enable_secedit install
18182 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18183 wine_fn_config_program services enable_services clean,install
18184 wine_fn_config_test programs/services/tests services.exe_test
18185 wine_fn_config_program shutdown enable_shutdown install
18186 wine_fn_config_program spoolsv enable_spoolsv install
18187 wine_fn_config_program start enable_start clean,install
18188 wine_fn_config_program svchost enable_svchost install
18189 wine_fn_config_program systeminfo enable_systeminfo install
18190 wine_fn_config_program taskkill enable_taskkill clean,install
18191 wine_fn_config_program tasklist enable_tasklist install
18192 wine_fn_config_program taskmgr enable_taskmgr clean,install
18193 wine_fn_config_program termsv enable_termsv install
18194 wine_fn_config_program uninstaller enable_uninstaller clean,install
18195 wine_fn_config_program unlodctr enable_unlodctr install
18196 wine_fn_config_program view enable_view clean,install
18197 wine_fn_config_program wevtutil enable_wevtutil install
18198 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18199 wine_fn_config_program winebrowser enable_winebrowser install
18200 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18201 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18202 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18203 wine_fn_config_program winedevice enable_winedevice install
18204 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18205 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18206 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18207 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18208 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18209 wine_fn_config_program winetest enable_winetest clean
18210 wine_fn_config_program winevdm enable_win16 install
18211 wine_fn_config_program winhelp.exe16 enable_win16 install
18212 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18213 wine_fn_config_program winoldap.mod16 enable_win16 install
18214 wine_fn_config_program winver enable_winver install
18215 wine_fn_config_program wmic enable_wmic clean,install
18216 wine_fn_config_program wmplayer enable_wmplayer install
18217 wine_fn_config_program wordpad enable_wordpad clean,install
18218 wine_fn_config_program write enable_write clean,install
18219 wine_fn_config_program wscript enable_wscript clean,install
18220 wine_fn_config_test programs/wscript/tests wscript.exe_test
18221 wine_fn_config_program wusa enable_wusa install
18222 wine_fn_config_program xcopy enable_xcopy clean,install
18223 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18224 wine_fn_config_makefile server enable_server clean,install-lib
18225 wine_fn_config_tool tools clean
18226 wine_fn_config_tool tools/sfnt2fon clean
18227 wine_fn_config_tool tools/widl clean,install-dev
18228 wine_fn_config_tool tools/winebuild clean,install-dev
18229 wine_fn_config_tool tools/winedump clean,install-dev
18230 wine_fn_config_tool tools/winegcc clean,install-dev
18231 wine_fn_config_tool tools/winemaker clean,install-dev
18232 wine_fn_config_tool tools/wmc clean,install-dev
18233 wine_fn_config_tool tools/wrc clean,install-dev
18236 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18237 wine_fn_append_file CONFIGURE_TARGETS "tags"
18238 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18239 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18240 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18241 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18242 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18243 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18245 if test "x$enable_tools" != xno
18246 then
18247 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18248 ac_config_commands="$ac_config_commands tools/makedep"
18252 ac_config_commands="$ac_config_commands Makefile"
18255 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18259 if test "x$enable_maintainer_mode" = xyes
18260 then
18261 wine_fn_append_rule "configure: configure.ac aclocal.m4
18262 autoconf --warnings=all
18263 include/config.h.in: include/stamp-h.in
18264 include/stamp-h.in: configure.ac aclocal.m4
18265 autoheader --warnings=all
18266 @echo timestamp > \$@"
18269 if test "x$enable_tools" != xno
18270 then
18271 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18272 @./config.status tools/makedep
18273 Makefile: tools/makedep$ac_exeext"
18274 else
18275 wine_fn_append_rule "\$(MAKEDEP):
18276 @echo \"You need to run make in $TOOLSDIR first\" && false"
18279 if test -n "$with_wine64"
18280 then
18281 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18282 fonts server:
18283 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18284 $with_wine64/loader/wine:
18285 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18286 $with_wine64/loader/wine-preloader:
18287 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18288 clean::
18289 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18290 else
18291 WINELOADER_INSTALL="wine.inf"
18293 wine_fn_append_rule "install install-lib::
18294 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18295 uninstall::
18296 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18297 case $host_os in
18298 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18299 *) wine_fn_append_rule "install install-lib::
18300 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18301 uninstall::
18302 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18303 esac
18306 $as_echo " done" >&6
18307 cat >confcache <<\_ACEOF
18308 # This file is a shell script that caches the results of configure
18309 # tests run on this system so they can be shared between configure
18310 # scripts and configure runs, see configure's option --config-cache.
18311 # It is not useful on other systems. If it contains results you don't
18312 # want to keep, you may remove or edit it.
18314 # config.status only pays attention to the cache file if you give it
18315 # the --recheck option to rerun configure.
18317 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18318 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18319 # following values.
18321 _ACEOF
18323 # The following way of writing the cache mishandles newlines in values,
18324 # but we know of no workaround that is simple, portable, and efficient.
18325 # So, we kill variables containing newlines.
18326 # Ultrix sh set writes to stderr and can't be redirected directly,
18327 # and sets the high bit in the cache file unless we assign to the vars.
18329 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18330 eval ac_val=\$$ac_var
18331 case $ac_val in #(
18332 *${as_nl}*)
18333 case $ac_var in #(
18334 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18335 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18336 esac
18337 case $ac_var in #(
18338 _ | IFS | as_nl) ;; #(
18339 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18340 *) { eval $ac_var=; unset $ac_var;} ;;
18341 esac ;;
18342 esac
18343 done
18345 (set) 2>&1 |
18346 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18347 *${as_nl}ac_space=\ *)
18348 # `set' does not quote correctly, so add quotes: double-quote
18349 # substitution turns \\\\ into \\, and sed turns \\ into \.
18350 sed -n \
18351 "s/'/'\\\\''/g;
18352 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18353 ;; #(
18355 # `set' quotes correctly as required by POSIX, so do not add quotes.
18356 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18358 esac |
18359 sort
18361 sed '
18362 /^ac_cv_env_/b end
18363 t clear
18364 :clear
18365 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18366 t end
18367 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18368 :end' >>confcache
18369 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18370 if test -w "$cache_file"; then
18371 if test "x$cache_file" != "x/dev/null"; then
18372 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18373 $as_echo "$as_me: updating cache $cache_file" >&6;}
18374 if test ! -f "$cache_file" || test -h "$cache_file"; then
18375 cat confcache >"$cache_file"
18376 else
18377 case $cache_file in #(
18378 */* | ?:*)
18379 mv -f confcache "$cache_file"$$ &&
18380 mv -f "$cache_file"$$ "$cache_file" ;; #(
18382 mv -f confcache "$cache_file" ;;
18383 esac
18386 else
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18388 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18391 rm -f confcache
18393 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18394 # Let make expand exec_prefix.
18395 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18397 DEFS=-DHAVE_CONFIG_H
18399 ac_libobjs=
18400 ac_ltlibobjs=
18402 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18403 # 1. Remove the extension, and $U if already installed.
18404 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18405 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18406 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18407 # will be set to the directory where LIBOBJS objects are built.
18408 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18409 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18410 done
18411 LIBOBJS=$ac_libobjs
18413 LTLIBOBJS=$ac_ltlibobjs
18417 : "${CONFIG_STATUS=./config.status}"
18418 ac_write_fail=0
18419 ac_clean_files_save=$ac_clean_files
18420 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18422 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18423 as_write_fail=0
18424 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18425 #! $SHELL
18426 # Generated by $as_me.
18427 # Run this file to recreate the current configuration.
18428 # Compiler output produced by configure, useful for debugging
18429 # configure, is in config.log if it exists.
18431 debug=false
18432 ac_cs_recheck=false
18433 ac_cs_silent=false
18435 SHELL=\${CONFIG_SHELL-$SHELL}
18436 export SHELL
18437 _ASEOF
18438 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18439 ## -------------------- ##
18440 ## M4sh Initialization. ##
18441 ## -------------------- ##
18443 # Be more Bourne compatible
18444 DUALCASE=1; export DUALCASE # for MKS sh
18445 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18446 emulate sh
18447 NULLCMD=:
18448 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18449 # is contrary to our usage. Disable this feature.
18450 alias -g '${1+"$@"}'='"$@"'
18451 setopt NO_GLOB_SUBST
18452 else
18453 case `(set -o) 2>/dev/null` in #(
18454 *posix*) :
18455 set -o posix ;; #(
18456 *) :
18458 esac
18462 as_nl='
18464 export as_nl
18465 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18466 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18467 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18468 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18469 # Prefer a ksh shell builtin over an external printf program on Solaris,
18470 # but without wasting forks for bash or zsh.
18471 if test -z "$BASH_VERSION$ZSH_VERSION" \
18472 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18473 as_echo='print -r --'
18474 as_echo_n='print -rn --'
18475 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18476 as_echo='printf %s\n'
18477 as_echo_n='printf %s'
18478 else
18479 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18480 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18481 as_echo_n='/usr/ucb/echo -n'
18482 else
18483 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18484 as_echo_n_body='eval
18485 arg=$1;
18486 case $arg in #(
18487 *"$as_nl"*)
18488 expr "X$arg" : "X\\(.*\\)$as_nl";
18489 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18490 esac;
18491 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18493 export as_echo_n_body
18494 as_echo_n='sh -c $as_echo_n_body as_echo'
18496 export as_echo_body
18497 as_echo='sh -c $as_echo_body as_echo'
18500 # The user is always right.
18501 if test "${PATH_SEPARATOR+set}" != set; then
18502 PATH_SEPARATOR=:
18503 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18504 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18505 PATH_SEPARATOR=';'
18510 # IFS
18511 # We need space, tab and new line, in precisely that order. Quoting is
18512 # there to prevent editors from complaining about space-tab.
18513 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18514 # splitting by setting IFS to empty value.)
18515 IFS=" "" $as_nl"
18517 # Find who we are. Look in the path if we contain no directory separator.
18518 as_myself=
18519 case $0 in #((
18520 *[\\/]* ) as_myself=$0 ;;
18521 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18522 for as_dir in $PATH
18524 IFS=$as_save_IFS
18525 test -z "$as_dir" && as_dir=.
18526 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18527 done
18528 IFS=$as_save_IFS
18531 esac
18532 # We did not find ourselves, most probably we were run as `sh COMMAND'
18533 # in which case we are not to be found in the path.
18534 if test "x$as_myself" = x; then
18535 as_myself=$0
18537 if test ! -f "$as_myself"; then
18538 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18539 exit 1
18542 # Unset variables that we do not need and which cause bugs (e.g. in
18543 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18544 # suppresses any "Segmentation fault" message there. '((' could
18545 # trigger a bug in pdksh 5.2.14.
18546 for as_var in BASH_ENV ENV MAIL MAILPATH
18547 do eval test x\${$as_var+set} = xset \
18548 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18549 done
18550 PS1='$ '
18551 PS2='> '
18552 PS4='+ '
18554 # NLS nuisances.
18555 LC_ALL=C
18556 export LC_ALL
18557 LANGUAGE=C
18558 export LANGUAGE
18560 # CDPATH.
18561 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18564 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18565 # ----------------------------------------
18566 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18567 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18568 # script with STATUS, using 1 if that was 0.
18569 as_fn_error ()
18571 as_status=$1; test $as_status -eq 0 && as_status=1
18572 if test "$4"; then
18573 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18574 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18576 $as_echo "$as_me: error: $2" >&2
18577 as_fn_exit $as_status
18578 } # as_fn_error
18581 # as_fn_set_status STATUS
18582 # -----------------------
18583 # Set $? to STATUS, without forking.
18584 as_fn_set_status ()
18586 return $1
18587 } # as_fn_set_status
18589 # as_fn_exit STATUS
18590 # -----------------
18591 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18592 as_fn_exit ()
18594 set +e
18595 as_fn_set_status $1
18596 exit $1
18597 } # as_fn_exit
18599 # as_fn_unset VAR
18600 # ---------------
18601 # Portably unset VAR.
18602 as_fn_unset ()
18604 { eval $1=; unset $1;}
18606 as_unset=as_fn_unset
18607 # as_fn_append VAR VALUE
18608 # ----------------------
18609 # Append the text in VALUE to the end of the definition contained in VAR. Take
18610 # advantage of any shell optimizations that allow amortized linear growth over
18611 # repeated appends, instead of the typical quadratic growth present in naive
18612 # implementations.
18613 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18614 eval 'as_fn_append ()
18616 eval $1+=\$2
18618 else
18619 as_fn_append ()
18621 eval $1=\$$1\$2
18623 fi # as_fn_append
18625 # as_fn_arith ARG...
18626 # ------------------
18627 # Perform arithmetic evaluation on the ARGs, and store the result in the
18628 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18629 # must be portable across $(()) and expr.
18630 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18631 eval 'as_fn_arith ()
18633 as_val=$(( $* ))
18635 else
18636 as_fn_arith ()
18638 as_val=`expr "$@" || test $? -eq 1`
18640 fi # as_fn_arith
18643 if expr a : '\(a\)' >/dev/null 2>&1 &&
18644 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18645 as_expr=expr
18646 else
18647 as_expr=false
18650 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18651 as_basename=basename
18652 else
18653 as_basename=false
18656 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18657 as_dirname=dirname
18658 else
18659 as_dirname=false
18662 as_me=`$as_basename -- "$0" ||
18663 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18664 X"$0" : 'X\(//\)$' \| \
18665 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18666 $as_echo X/"$0" |
18667 sed '/^.*\/\([^/][^/]*\)\/*$/{
18668 s//\1/
18671 /^X\/\(\/\/\)$/{
18672 s//\1/
18675 /^X\/\(\/\).*/{
18676 s//\1/
18679 s/.*/./; q'`
18681 # Avoid depending upon Character Ranges.
18682 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18683 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18684 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18685 as_cr_digits='0123456789'
18686 as_cr_alnum=$as_cr_Letters$as_cr_digits
18688 ECHO_C= ECHO_N= ECHO_T=
18689 case `echo -n x` in #(((((
18690 -n*)
18691 case `echo 'xy\c'` in
18692 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18693 xy) ECHO_C='\c';;
18694 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18695 ECHO_T=' ';;
18696 esac;;
18698 ECHO_N='-n';;
18699 esac
18701 rm -f conf$$ conf$$.exe conf$$.file
18702 if test -d conf$$.dir; then
18703 rm -f conf$$.dir/conf$$.file
18704 else
18705 rm -f conf$$.dir
18706 mkdir conf$$.dir 2>/dev/null
18708 if (echo >conf$$.file) 2>/dev/null; then
18709 if ln -s conf$$.file conf$$ 2>/dev/null; then
18710 as_ln_s='ln -s'
18711 # ... but there are two gotchas:
18712 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18713 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18714 # In both cases, we have to default to `cp -pR'.
18715 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18716 as_ln_s='cp -pR'
18717 elif ln conf$$.file conf$$ 2>/dev/null; then
18718 as_ln_s=ln
18719 else
18720 as_ln_s='cp -pR'
18722 else
18723 as_ln_s='cp -pR'
18725 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18726 rmdir conf$$.dir 2>/dev/null
18729 # as_fn_mkdir_p
18730 # -------------
18731 # Create "$as_dir" as a directory, including parents if necessary.
18732 as_fn_mkdir_p ()
18735 case $as_dir in #(
18736 -*) as_dir=./$as_dir;;
18737 esac
18738 test -d "$as_dir" || eval $as_mkdir_p || {
18739 as_dirs=
18740 while :; do
18741 case $as_dir in #(
18742 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18743 *) as_qdir=$as_dir;;
18744 esac
18745 as_dirs="'$as_qdir' $as_dirs"
18746 as_dir=`$as_dirname -- "$as_dir" ||
18747 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18748 X"$as_dir" : 'X\(//\)[^/]' \| \
18749 X"$as_dir" : 'X\(//\)$' \| \
18750 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18751 $as_echo X"$as_dir" |
18752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18753 s//\1/
18756 /^X\(\/\/\)[^/].*/{
18757 s//\1/
18760 /^X\(\/\/\)$/{
18761 s//\1/
18764 /^X\(\/\).*/{
18765 s//\1/
18768 s/.*/./; q'`
18769 test -d "$as_dir" && break
18770 done
18771 test -z "$as_dirs" || eval "mkdir $as_dirs"
18772 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18775 } # as_fn_mkdir_p
18776 if mkdir -p . 2>/dev/null; then
18777 as_mkdir_p='mkdir -p "$as_dir"'
18778 else
18779 test -d ./-p && rmdir ./-p
18780 as_mkdir_p=false
18784 # as_fn_executable_p FILE
18785 # -----------------------
18786 # Test if FILE is an executable regular file.
18787 as_fn_executable_p ()
18789 test -f "$1" && test -x "$1"
18790 } # as_fn_executable_p
18791 as_test_x='test -x'
18792 as_executable_p=as_fn_executable_p
18794 # Sed expression to map a string onto a valid CPP name.
18795 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18797 # Sed expression to map a string onto a valid variable name.
18798 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18801 exec 6>&1
18802 ## ----------------------------------- ##
18803 ## Main body of $CONFIG_STATUS script. ##
18804 ## ----------------------------------- ##
18805 _ASEOF
18806 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18809 # Save the log message, to keep $0 and so on meaningful, and to
18810 # report actual input values of CONFIG_FILES etc. instead of their
18811 # values after options handling.
18812 ac_log="
18813 This file was extended by Wine $as_me 1.9.6, which was
18814 generated by GNU Autoconf 2.69. Invocation command line was
18816 CONFIG_FILES = $CONFIG_FILES
18817 CONFIG_HEADERS = $CONFIG_HEADERS
18818 CONFIG_LINKS = $CONFIG_LINKS
18819 CONFIG_COMMANDS = $CONFIG_COMMANDS
18820 $ $0 $@
18822 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18825 _ACEOF
18827 case $ac_config_files in *"
18828 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18829 esac
18831 case $ac_config_headers in *"
18832 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18833 esac
18836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18837 # Files that config.status was made for.
18838 config_files="$ac_config_files"
18839 config_headers="$ac_config_headers"
18840 config_links="$ac_config_links"
18841 config_commands="$ac_config_commands"
18843 _ACEOF
18845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18846 ac_cs_usage="\
18847 \`$as_me' instantiates files and other configuration actions
18848 from templates according to the current configuration. Unless the files
18849 and actions are specified as TAGs, all are instantiated by default.
18851 Usage: $0 [OPTION]... [TAG]...
18853 -h, --help print this help, then exit
18854 -V, --version print version number and configuration settings, then exit
18855 --config print configuration, then exit
18856 -q, --quiet, --silent
18857 do not print progress messages
18858 -d, --debug don't remove temporary files
18859 --recheck update $as_me by reconfiguring in the same conditions
18860 --file=FILE[:TEMPLATE]
18861 instantiate the configuration file FILE
18862 --header=FILE[:TEMPLATE]
18863 instantiate the configuration header FILE
18865 Configuration files:
18866 $config_files
18868 Configuration headers:
18869 $config_headers
18871 Configuration links:
18872 $config_links
18874 Configuration commands:
18875 $config_commands
18877 Report bugs to <wine-devel@winehq.org>.
18878 Wine home page: <http://www.winehq.org>."
18880 _ACEOF
18881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18882 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18883 ac_cs_version="\\
18884 Wine config.status 1.9.6
18885 configured by $0, generated by GNU Autoconf 2.69,
18886 with options \\"\$ac_cs_config\\"
18888 Copyright (C) 2012 Free Software Foundation, Inc.
18889 This config.status script is free software; the Free Software Foundation
18890 gives unlimited permission to copy, distribute and modify it."
18892 ac_pwd='$ac_pwd'
18893 srcdir='$srcdir'
18894 test -n "\$AWK" || AWK=awk
18895 _ACEOF
18897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18898 # The default lists apply if the user does not specify any file.
18899 ac_need_defaults=:
18900 while test $# != 0
18902 case $1 in
18903 --*=?*)
18904 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18905 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18906 ac_shift=:
18908 --*=)
18909 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18910 ac_optarg=
18911 ac_shift=:
18914 ac_option=$1
18915 ac_optarg=$2
18916 ac_shift=shift
18918 esac
18920 case $ac_option in
18921 # Handling of the options.
18922 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18923 ac_cs_recheck=: ;;
18924 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18925 $as_echo "$ac_cs_version"; exit ;;
18926 --config | --confi | --conf | --con | --co | --c )
18927 $as_echo "$ac_cs_config"; exit ;;
18928 --debug | --debu | --deb | --de | --d | -d )
18929 debug=: ;;
18930 --file | --fil | --fi | --f )
18931 $ac_shift
18932 case $ac_optarg in
18933 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18934 '') as_fn_error $? "missing file argument" ;;
18935 esac
18936 as_fn_append CONFIG_FILES " '$ac_optarg'"
18937 ac_need_defaults=false;;
18938 --header | --heade | --head | --hea )
18939 $ac_shift
18940 case $ac_optarg in
18941 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18942 esac
18943 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18944 ac_need_defaults=false;;
18945 --he | --h)
18946 # Conflict between --help and --header
18947 as_fn_error $? "ambiguous option: \`$1'
18948 Try \`$0 --help' for more information.";;
18949 --help | --hel | -h )
18950 $as_echo "$ac_cs_usage"; exit ;;
18951 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18952 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18953 ac_cs_silent=: ;;
18955 # This is an error.
18956 -*) as_fn_error $? "unrecognized option: \`$1'
18957 Try \`$0 --help' for more information." ;;
18959 *) as_fn_append ac_config_targets " $1"
18960 ac_need_defaults=false ;;
18962 esac
18963 shift
18964 done
18966 ac_configure_extra_args=
18968 if $ac_cs_silent; then
18969 exec 6>/dev/null
18970 ac_configure_extra_args="$ac_configure_extra_args --silent"
18973 _ACEOF
18974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18975 if \$ac_cs_recheck; then
18976 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18977 shift
18978 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18979 CONFIG_SHELL='$SHELL'
18980 export CONFIG_SHELL
18981 exec "\$@"
18984 _ACEOF
18985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18986 exec 5>>config.log
18988 echo
18989 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18990 ## Running $as_me. ##
18991 _ASBOX
18992 $as_echo "$ac_log"
18993 } >&5
18995 _ACEOF
18996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18998 # INIT-COMMANDS
19000 wine_fn_output_makedep ()
19002 as_dir=tools; as_fn_mkdir_p
19003 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19005 wine_fn_output_makefile ()
19007 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19008 `cat $wine_rules_file`
19009 _WINE_EOF
19010 as_fn_error $? "could not create Makefile" "$LINENO" 5
19013 _ACEOF
19015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19017 # Handling of arguments.
19018 for ac_config_target in $ac_config_targets
19020 case $ac_config_target in
19021 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19022 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19023 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19024 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19025 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19026 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19027 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19028 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19029 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19030 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19031 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19032 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19033 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19035 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19036 esac
19037 done
19040 # If the user did not use the arguments to specify the items to instantiate,
19041 # then the envvar interface is used. Set only those that are not.
19042 # We use the long form for the default assignment because of an extremely
19043 # bizarre bug on SunOS 4.1.3.
19044 if $ac_need_defaults; then
19045 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19046 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19047 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19048 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19051 # Have a temporary directory for convenience. Make it in the build tree
19052 # simply because there is no reason against having it here, and in addition,
19053 # creating and moving files from /tmp can sometimes cause problems.
19054 # Hook for its removal unless debugging.
19055 # Note that there is a small window in which the directory will not be cleaned:
19056 # after its creation but before its name has been assigned to `$tmp'.
19057 $debug ||
19059 tmp= ac_tmp=
19060 trap 'exit_status=$?
19061 : "${ac_tmp:=$tmp}"
19062 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19064 trap 'as_fn_exit 1' 1 2 13 15
19066 # Create a (secure) tmp directory for tmp files.
19069 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19070 test -d "$tmp"
19071 } ||
19073 tmp=./conf$$-$RANDOM
19074 (umask 077 && mkdir "$tmp")
19075 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19076 ac_tmp=$tmp
19078 # Set up the scripts for CONFIG_FILES section.
19079 # No need to generate them if there are no CONFIG_FILES.
19080 # This happens for instance with `./config.status config.h'.
19081 if test -n "$CONFIG_FILES"; then
19084 ac_cr=`echo X | tr X '\015'`
19085 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19086 # But we know of no other shell where ac_cr would be empty at this
19087 # point, so we can use a bashism as a fallback.
19088 if test "x$ac_cr" = x; then
19089 eval ac_cr=\$\'\\r\'
19091 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19092 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19093 ac_cs_awk_cr='\\r'
19094 else
19095 ac_cs_awk_cr=$ac_cr
19098 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19099 _ACEOF
19103 echo "cat >conf$$subs.awk <<_ACEOF" &&
19104 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19105 echo "_ACEOF"
19106 } >conf$$subs.sh ||
19107 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19108 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19109 ac_delim='%!_!# '
19110 for ac_last_try in false false false false false :; do
19111 . ./conf$$subs.sh ||
19112 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19114 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19115 if test $ac_delim_n = $ac_delim_num; then
19116 break
19117 elif $ac_last_try; then
19118 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19119 else
19120 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19122 done
19123 rm -f conf$$subs.sh
19125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19126 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19127 _ACEOF
19128 sed -n '
19130 s/^/S["/; s/!.*/"]=/
19133 s/^[^!]*!//
19134 :repl
19135 t repl
19136 s/'"$ac_delim"'$//
19137 t delim
19140 s/\(.\{148\}\)..*/\1/
19141 t more1
19142 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19145 b repl
19146 :more1
19147 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19150 s/.\{148\}//
19151 t nl
19152 :delim
19154 s/\(.\{148\}\)..*/\1/
19155 t more2
19156 s/["\\]/\\&/g; s/^/"/; s/$/"/
19159 :more2
19160 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19163 s/.\{148\}//
19164 t delim
19165 ' <conf$$subs.awk | sed '
19166 /^[^""]/{
19168 s/\n//
19170 ' >>$CONFIG_STATUS || ac_write_fail=1
19171 rm -f conf$$subs.awk
19172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19173 _ACAWK
19174 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19175 for (key in S) S_is_set[key] = 1
19176 FS = "\a"
19180 line = $ 0
19181 nfields = split(line, field, "@")
19182 substed = 0
19183 len = length(field[1])
19184 for (i = 2; i < nfields; i++) {
19185 key = field[i]
19186 keylen = length(key)
19187 if (S_is_set[key]) {
19188 value = S[key]
19189 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19190 len += length(value) + length(field[++i])
19191 substed = 1
19192 } else
19193 len += 1 + keylen
19196 print line
19199 _ACAWK
19200 _ACEOF
19201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19202 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19203 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19204 else
19206 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19207 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19208 _ACEOF
19210 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19211 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19212 # trailing colons and then remove the whole line if VPATH becomes empty
19213 # (actually we leave an empty line to preserve line numbers).
19214 if test "x$srcdir" = x.; then
19215 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19217 s///
19218 s/^/:/
19219 s/[ ]*$/:/
19220 s/:\$(srcdir):/:/g
19221 s/:\${srcdir}:/:/g
19222 s/:@srcdir@:/:/g
19223 s/^:*//
19224 s/:*$//
19226 s/\(=[ ]*\).*/\1/
19228 s/\n//
19229 s/^[^=]*=[ ]*$//
19233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19234 fi # test -n "$CONFIG_FILES"
19236 # Set up the scripts for CONFIG_HEADERS section.
19237 # No need to generate them if there are no CONFIG_HEADERS.
19238 # This happens for instance with `./config.status Makefile'.
19239 if test -n "$CONFIG_HEADERS"; then
19240 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19241 BEGIN {
19242 _ACEOF
19244 # Transform confdefs.h into an awk script `defines.awk', embedded as
19245 # here-document in config.status, that substitutes the proper values into
19246 # config.h.in to produce config.h.
19248 # Create a delimiter string that does not exist in confdefs.h, to ease
19249 # handling of long lines.
19250 ac_delim='%!_!# '
19251 for ac_last_try in false false :; do
19252 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19253 if test -z "$ac_tt"; then
19254 break
19255 elif $ac_last_try; then
19256 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19257 else
19258 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19260 done
19262 # For the awk script, D is an array of macro values keyed by name,
19263 # likewise P contains macro parameters if any. Preserve backslash
19264 # newline sequences.
19266 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19267 sed -n '
19268 s/.\{148\}/&'"$ac_delim"'/g
19269 t rset
19270 :rset
19271 s/^[ ]*#[ ]*define[ ][ ]*/ /
19272 t def
19274 :def
19275 s/\\$//
19276 t bsnl
19277 s/["\\]/\\&/g
19278 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19279 D["\1"]=" \3"/p
19280 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19282 :bsnl
19283 s/["\\]/\\&/g
19284 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19285 D["\1"]=" \3\\\\\\n"\\/p
19286 t cont
19287 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19288 t cont
19290 :cont
19292 s/.\{148\}/&'"$ac_delim"'/g
19293 t clear
19294 :clear
19295 s/\\$//
19296 t bsnlc
19297 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19299 :bsnlc
19300 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19301 b cont
19302 ' <confdefs.h | sed '
19303 s/'"$ac_delim"'/"\\\
19304 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19307 for (key in D) D_is_set[key] = 1
19308 FS = "\a"
19310 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19311 line = \$ 0
19312 split(line, arg, " ")
19313 if (arg[1] == "#") {
19314 defundef = arg[2]
19315 mac1 = arg[3]
19316 } else {
19317 defundef = substr(arg[1], 2)
19318 mac1 = arg[2]
19320 split(mac1, mac2, "(") #)
19321 macro = mac2[1]
19322 prefix = substr(line, 1, index(line, defundef) - 1)
19323 if (D_is_set[macro]) {
19324 # Preserve the white space surrounding the "#".
19325 print prefix "define", macro P[macro] D[macro]
19326 next
19327 } else {
19328 # Replace #undef with comments. This is necessary, for example,
19329 # in the case of _POSIX_SOURCE, which is predefined and required
19330 # on some systems where configure will not decide to define it.
19331 if (defundef == "undef") {
19332 print "/*", prefix defundef, macro, "*/"
19333 next
19337 { print }
19338 _ACAWK
19339 _ACEOF
19340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19341 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19342 fi # test -n "$CONFIG_HEADERS"
19345 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19346 shift
19347 for ac_tag
19349 case $ac_tag in
19350 :[FHLC]) ac_mode=$ac_tag; continue;;
19351 esac
19352 case $ac_mode$ac_tag in
19353 :[FHL]*:*);;
19354 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19355 :[FH]-) ac_tag=-:-;;
19356 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19357 esac
19358 ac_save_IFS=$IFS
19359 IFS=:
19360 set x $ac_tag
19361 IFS=$ac_save_IFS
19362 shift
19363 ac_file=$1
19364 shift
19366 case $ac_mode in
19367 :L) ac_source=$1;;
19368 :[FH])
19369 ac_file_inputs=
19370 for ac_f
19372 case $ac_f in
19373 -) ac_f="$ac_tmp/stdin";;
19374 *) # Look for the file first in the build tree, then in the source tree
19375 # (if the path is not absolute). The absolute path cannot be DOS-style,
19376 # because $ac_f cannot contain `:'.
19377 test -f "$ac_f" ||
19378 case $ac_f in
19379 [\\/$]*) false;;
19380 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19381 esac ||
19382 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19383 esac
19384 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19385 as_fn_append ac_file_inputs " '$ac_f'"
19386 done
19388 # Let's still pretend it is `configure' which instantiates (i.e., don't
19389 # use $as_me), people would be surprised to read:
19390 # /* config.h. Generated by config.status. */
19391 configure_input='Generated from '`
19392 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19393 `' by configure.'
19394 if test x"$ac_file" != x-; then
19395 configure_input="$ac_file. $configure_input"
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19397 $as_echo "$as_me: creating $ac_file" >&6;}
19399 # Neutralize special characters interpreted by sed in replacement strings.
19400 case $configure_input in #(
19401 *\&* | *\|* | *\\* )
19402 ac_sed_conf_input=`$as_echo "$configure_input" |
19403 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19404 *) ac_sed_conf_input=$configure_input;;
19405 esac
19407 case $ac_tag in
19408 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19409 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19410 esac
19412 esac
19414 ac_dir=`$as_dirname -- "$ac_file" ||
19415 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19416 X"$ac_file" : 'X\(//\)[^/]' \| \
19417 X"$ac_file" : 'X\(//\)$' \| \
19418 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19419 $as_echo X"$ac_file" |
19420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19421 s//\1/
19424 /^X\(\/\/\)[^/].*/{
19425 s//\1/
19428 /^X\(\/\/\)$/{
19429 s//\1/
19432 /^X\(\/\).*/{
19433 s//\1/
19436 s/.*/./; q'`
19437 as_dir="$ac_dir"; as_fn_mkdir_p
19438 ac_builddir=.
19440 case "$ac_dir" in
19441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19443 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19444 # A ".." for each directory in $ac_dir_suffix.
19445 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19446 case $ac_top_builddir_sub in
19447 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19448 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19449 esac ;;
19450 esac
19451 ac_abs_top_builddir=$ac_pwd
19452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19453 # for backward compatibility:
19454 ac_top_builddir=$ac_top_build_prefix
19456 case $srcdir in
19457 .) # We are building in place.
19458 ac_srcdir=.
19459 ac_top_srcdir=$ac_top_builddir_sub
19460 ac_abs_top_srcdir=$ac_pwd ;;
19461 [\\/]* | ?:[\\/]* ) # Absolute name.
19462 ac_srcdir=$srcdir$ac_dir_suffix;
19463 ac_top_srcdir=$srcdir
19464 ac_abs_top_srcdir=$srcdir ;;
19465 *) # Relative name.
19466 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19467 ac_top_srcdir=$ac_top_build_prefix$srcdir
19468 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19469 esac
19470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19473 case $ac_mode in
19476 # CONFIG_FILE
19479 _ACEOF
19481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19482 # If the template does not know about datarootdir, expand it.
19483 # FIXME: This hack should be removed a few years after 2.60.
19484 ac_datarootdir_hack=; ac_datarootdir_seen=
19485 ac_sed_dataroot='
19486 /datarootdir/ {
19490 /@datadir@/p
19491 /@docdir@/p
19492 /@infodir@/p
19493 /@localedir@/p
19494 /@mandir@/p'
19495 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19496 *datarootdir*) ac_datarootdir_seen=yes;;
19497 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19499 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19500 _ACEOF
19501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19502 ac_datarootdir_hack='
19503 s&@datadir@&$datadir&g
19504 s&@docdir@&$docdir&g
19505 s&@infodir@&$infodir&g
19506 s&@localedir@&$localedir&g
19507 s&@mandir@&$mandir&g
19508 s&\\\${datarootdir}&$datarootdir&g' ;;
19509 esac
19510 _ACEOF
19512 # Neutralize VPATH when `$srcdir' = `.'.
19513 # Shell code in configure.ac might set extrasub.
19514 # FIXME: do we really want to maintain this feature?
19515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19516 ac_sed_extra="$ac_vpsub
19517 $extrasub
19518 _ACEOF
19519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19521 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19522 s|@configure_input@|$ac_sed_conf_input|;t t
19523 s&@top_builddir@&$ac_top_builddir_sub&;t t
19524 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19525 s&@srcdir@&$ac_srcdir&;t t
19526 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19527 s&@top_srcdir@&$ac_top_srcdir&;t t
19528 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19529 s&@builddir@&$ac_builddir&;t t
19530 s&@abs_builddir@&$ac_abs_builddir&;t t
19531 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19532 $ac_datarootdir_hack
19534 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19535 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19537 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19538 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19539 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19540 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19542 which seems to be undefined. Please make sure it is defined" >&5
19543 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19544 which seems to be undefined. Please make sure it is defined" >&2;}
19546 rm -f "$ac_tmp/stdin"
19547 case $ac_file in
19548 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19549 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19550 esac \
19551 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19555 # CONFIG_HEADER
19557 if test x"$ac_file" != x-; then
19559 $as_echo "/* $configure_input */" \
19560 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19561 } >"$ac_tmp/config.h" \
19562 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19563 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19565 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19566 else
19567 rm -f "$ac_file"
19568 mv "$ac_tmp/config.h" "$ac_file" \
19569 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19571 else
19572 $as_echo "/* $configure_input */" \
19573 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19574 || as_fn_error $? "could not create -" "$LINENO" 5
19579 # CONFIG_LINK
19582 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19584 else
19585 # Prefer the file from the source tree if names are identical.
19586 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19587 ac_source=$srcdir/$ac_source
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19591 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19593 if test ! -r "$ac_source"; then
19594 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19596 rm -f "$ac_file"
19598 # Try a relative symlink, then a hard link, then a copy.
19599 case $ac_source in
19600 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19601 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19602 esac
19603 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19604 ln "$ac_source" "$ac_file" 2>/dev/null ||
19605 cp -p "$ac_source" "$ac_file" ||
19606 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19609 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19610 $as_echo "$as_me: executing $ac_file commands" >&6;}
19612 esac
19615 case $ac_file$ac_mode in
19616 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19617 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19618 "Makefile":C) wine_fn_output_makefile Makefile ;;
19620 esac
19621 done # for ac_tag
19624 as_fn_exit 0
19625 _ACEOF
19626 ac_clean_files=$ac_clean_files_save
19628 test $ac_write_fail = 0 ||
19629 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19632 # configure is writing to config.log, and then calls config.status.
19633 # config.status does its own redirection, appending to config.log.
19634 # Unfortunately, on DOS this fails, as config.log is still kept open
19635 # by configure, so config.status won't be able to write to it; its
19636 # output is simply discarded. So we exec the FD to /dev/null,
19637 # effectively closing config.log, so it can be properly (re)opened and
19638 # appended to by config.status. When coming back to configure, we
19639 # need to make the FD available again.
19640 if test "$no_create" != yes; then
19641 ac_cs_success=:
19642 ac_config_status_args=
19643 test "$silent" = yes &&
19644 ac_config_status_args="$ac_config_status_args --quiet"
19645 exec 5>/dev/null
19646 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19647 exec 5>>config.log
19648 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19649 # would make configure fail if this is the last instruction.
19650 $ac_cs_success || as_fn_exit 1
19652 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19654 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19658 if test "$no_create" = "yes"
19659 then
19660 exit 0
19663 ac_save_IFS="$IFS"
19664 if test "x$wine_notices" != x; then
19665 echo >&6
19666 IFS="|"
19667 for msg in $wine_notices; do
19668 IFS="$ac_save_IFS"
19669 if ${msg:+false} :; then :
19671 else
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19673 $as_echo "$as_me: $msg" >&6;}
19675 done
19677 IFS="|"
19678 for msg in $wine_warnings; do
19679 IFS="$ac_save_IFS"
19680 if ${msg:+false} :; then :
19682 else
19683 echo >&2
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19685 $as_echo "$as_me: WARNING: $msg" >&2;}
19687 done
19688 IFS="$ac_save_IFS"
19690 $as_echo "
19691 $as_me: Finished. Do '${ac_make}' to compile Wine.
19692 " >&6