dwrite: Consider inline objects overhang metrics for overall layout overhang metrics.
[wine.git] / configure
blobcc49fa47246c402eb306167a49154f7b83577eff
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.18.
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='2.18'
584 PACKAGE_STRING='Wine 2.18'
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 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 FONTCONFIG_LIBS
652 FONTCONFIG_CFLAGS
653 CUPS_CFLAGS
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 UDEV_LIBS
657 UDEV_CFLAGS
658 OSS4_CFLAGS
659 ALSA_LIBS
660 GSTREAMER_LIBS
661 GSTREAMER_CFLAGS
662 PULSE_LIBS
663 PULSE_CFLAGS
664 GETTEXTPO_LIBS
665 Z_LIBS
666 FREETYPE_LIBS
667 FREETYPE_CFLAGS
668 LCMS2_LIBS
669 LCMS2_CFLAGS
670 RESOLV_LIBS
671 GPHOTO2_PORT_LIBS
672 GPHOTO2_PORT_CFLAGS
673 GPHOTO2_LIBS
674 GPHOTO2_CFLAGS
675 SANE_LIBS
676 SANE_CFLAGS
677 GNUTLS_LIBS
678 GNUTLS_CFLAGS
679 HAL_LIBS
680 HAL_CFLAGS
681 DBUS_LIBS
682 DBUS_CFLAGS
683 XSLT_LIBS
684 XSLT_CFLAGS
685 XML2_LIBS
686 XML2_CFLAGS
687 PCAP_LIBS
688 X_EXTRA_LIBS
689 X_LIBS
690 X_PRE_LIBS
691 X_CFLAGS
692 XMKMF
693 PTHREAD_LIBS
694 CROSSCFLAGS
695 CROSSCC
696 CROSSTARGET
697 PRELINK
698 WINELOADER_DEPENDS
699 CARBON_LIBS
700 QUICKTIME_LIBS
701 OPENCL_LIBS
702 OPENAL_LIBS
703 COREAUDIO_LIBS
704 SECURITY_LIBS
705 DISKARBITRATION_LIBS
706 APPKIT_LIBS
707 CORESERVICES_LIBS
708 APPLICATIONSERVICES_LIBS
709 FORCEFEEDBACK_LIBS
710 IOKIT_LIBS
711 COREFOUNDATION_LIBS
712 LIBWINE_DEPENDS
713 LIBWINE_LDFLAGS
714 LIBWINE_INSTALL_DEV
715 LIBWINE_INSTALL_LIB
716 LIBWINE_IMPORTLIB
717 LIBWINE_SHAREDLIB
718 SOCKET_LIBS
719 DLLTOOL
720 WINELOADER_PROGRAMS
721 ALL_TEST_RESOURCES
722 CONFIGURE_TARGETS
723 DISABLED_SUBDIRS
724 SUBDIRS
725 READELF
726 OTOOL
728 WINELOADER_LDFLAGS
729 LDEXECFLAGS
730 LDRPATH_LOCAL
731 LDRPATH_INSTALL
732 DLLFLAGS
733 dlldir
735 OPENGL_LIBS
736 ICOTOOL
737 CONVERT
738 RSVG
739 FONTFORGE
740 PKG_CONFIG
741 MSGFMT
742 LDCONFIG
743 EGREP
744 GREP
745 LN_S
746 RANLIB
747 ARFLAGS
748 STRIP
749 ac_ct_AR
751 BISON
752 FLEX
753 TOOLSDIR
754 TARGETFLAGS
756 CPPBIN
757 ac_ct_CXX
758 CXXFLAGS
760 OBJEXT
761 EXEEXT
762 ac_ct_CC
763 CPPFLAGS
764 LDFLAGS
765 CFLAGS
767 SET_MAKE
768 host_os
769 host_vendor
770 host_cpu
771 host
772 build_os
773 build_vendor
774 build_cpu
775 build
776 target_alias
777 host_alias
778 build_alias
779 LIBS
780 ECHO_T
781 ECHO_N
782 ECHO_C
783 DEFS
784 mandir
785 localedir
786 libdir
787 psdir
788 pdfdir
789 dvidir
790 htmldir
791 infodir
792 docdir
793 oldincludedir
794 includedir
795 runstatedir
796 localstatedir
797 sharedstatedir
798 sysconfdir
799 datadir
800 datarootdir
801 libexecdir
802 sbindir
803 bindir
804 program_transform_name
805 prefix
806 exec_prefix
807 PACKAGE_URL
808 PACKAGE_BUGREPORT
809 PACKAGE_STRING
810 PACKAGE_VERSION
811 PACKAGE_TARNAME
812 PACKAGE_NAME
813 PATH_SEPARATOR
814 SHELL'
815 ac_subst_files=''
816 ac_user_opts='
817 enable_option_checking
818 enable_win16
819 enable_win64
820 enable_tests
821 enable_maintainer_mode
822 with_alsa
823 with_capi
824 with_cms
825 with_coreaudio
826 with_cups
827 with_curses
828 with_dbus
829 with_fontconfig
830 with_freetype
831 with_gettext
832 with_gettextpo
833 with_gphoto
834 with_glu
835 with_gnutls
836 with_gsm
837 with_gstreamer
838 with_hal
839 with_jpeg
840 with_ldap
841 with_mpg123
842 with_netapi
843 with_openal
844 with_opencl
845 with_opengl
846 with_osmesa
847 with_oss
848 with_pcap
849 with_png
850 with_pthread
851 with_pulse
852 with_sane
853 with_tiff
854 with_udev
855 with_v4l
856 with_xcomposite
857 with_xcursor
858 with_xfixes
859 with_xinerama
860 with_xinput
861 with_xinput2
862 with_xml
863 with_xrandr
864 with_xrender
865 with_xshape
866 with_xshm
867 with_xslt
868 with_xxf86vm
869 with_zlib
870 with_wine_tools
871 with_wine64
872 enable_largefile
873 with_x
874 enable_acledit
875 enable_aclui
876 enable_activeds
877 enable_actxprxy
878 enable_adsldpc
879 enable_advapi32
880 enable_advpack
881 enable_amstream
882 enable_api_ms_win_appmodel_identity_l1_1_0
883 enable_api_ms_win_appmodel_runtime_l1_1_1
884 enable_api_ms_win_core_apiquery_l1_1_0
885 enable_api_ms_win_core_appcompat_l1_1_1
886 enable_api_ms_win_core_appinit_l1_1_0
887 enable_api_ms_win_core_atoms_l1_1_0
888 enable_api_ms_win_core_bem_l1_1_0
889 enable_api_ms_win_core_com_l1_1_0
890 enable_api_ms_win_core_com_l1_1_1
891 enable_api_ms_win_core_com_private_l1_1_0
892 enable_api_ms_win_core_console_l1_1_0
893 enable_api_ms_win_core_console_l2_1_0
894 enable_api_ms_win_core_crt_l1_1_0
895 enable_api_ms_win_core_crt_l2_1_0
896 enable_api_ms_win_core_datetime_l1_1_0
897 enable_api_ms_win_core_datetime_l1_1_1
898 enable_api_ms_win_core_debug_l1_1_0
899 enable_api_ms_win_core_debug_l1_1_1
900 enable_api_ms_win_core_delayload_l1_1_0
901 enable_api_ms_win_core_delayload_l1_1_1
902 enable_api_ms_win_core_errorhandling_l1_1_0
903 enable_api_ms_win_core_errorhandling_l1_1_1
904 enable_api_ms_win_core_errorhandling_l1_1_2
905 enable_api_ms_win_core_errorhandling_l1_1_3
906 enable_api_ms_win_core_fibers_l1_1_0
907 enable_api_ms_win_core_fibers_l1_1_1
908 enable_api_ms_win_core_file_l1_1_0
909 enable_api_ms_win_core_file_l1_2_0
910 enable_api_ms_win_core_file_l1_2_1
911 enable_api_ms_win_core_file_l2_1_0
912 enable_api_ms_win_core_file_l2_1_1
913 enable_api_ms_win_core_file_l2_1_2
914 enable_api_ms_win_core_handle_l1_1_0
915 enable_api_ms_win_core_heap_l1_1_0
916 enable_api_ms_win_core_heap_l1_2_0
917 enable_api_ms_win_core_heap_l2_1_0
918 enable_api_ms_win_core_heap_obsolete_l1_1_0
919 enable_api_ms_win_core_interlocked_l1_1_0
920 enable_api_ms_win_core_interlocked_l1_2_0
921 enable_api_ms_win_core_io_l1_1_0
922 enable_api_ms_win_core_io_l1_1_1
923 enable_api_ms_win_core_job_l1_1_0
924 enable_api_ms_win_core_job_l2_1_0
925 enable_api_ms_win_core_kernel32_legacy_l1_1_0
926 enable_api_ms_win_core_kernel32_legacy_l1_1_1
927 enable_api_ms_win_core_kernel32_private_l1_1_1
928 enable_api_ms_win_core_libraryloader_l1_1_0
929 enable_api_ms_win_core_libraryloader_l1_1_1
930 enable_api_ms_win_core_libraryloader_l1_2_0
931 enable_api_ms_win_core_libraryloader_l1_2_2
932 enable_api_ms_win_core_localization_l1_1_0
933 enable_api_ms_win_core_localization_l1_2_0
934 enable_api_ms_win_core_localization_l1_2_1
935 enable_api_ms_win_core_localization_l2_1_0
936 enable_api_ms_win_core_localization_obsolete_l1_1_0
937 enable_api_ms_win_core_localization_obsolete_l1_2_0
938 enable_api_ms_win_core_localization_obsolete_l1_3_0
939 enable_api_ms_win_core_localization_private_l1_1_0
940 enable_api_ms_win_core_localregistry_l1_1_0
941 enable_api_ms_win_core_memory_l1_1_0
942 enable_api_ms_win_core_memory_l1_1_1
943 enable_api_ms_win_core_memory_l1_1_2
944 enable_api_ms_win_core_misc_l1_1_0
945 enable_api_ms_win_core_namedpipe_l1_1_0
946 enable_api_ms_win_core_namedpipe_l1_2_0
947 enable_api_ms_win_core_namespace_l1_1_0
948 enable_api_ms_win_core_normalization_l1_1_0
949 enable_api_ms_win_core_path_l1_1_0
950 enable_api_ms_win_core_privateprofile_l1_1_1
951 enable_api_ms_win_core_processenvironment_l1_1_0
952 enable_api_ms_win_core_processenvironment_l1_2_0
953 enable_api_ms_win_core_processthreads_l1_1_0
954 enable_api_ms_win_core_processthreads_l1_1_1
955 enable_api_ms_win_core_processthreads_l1_1_2
956 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
957 enable_api_ms_win_core_profile_l1_1_0
958 enable_api_ms_win_core_psapi_ansi_l1_1_0
959 enable_api_ms_win_core_psapi_l1_1_0
960 enable_api_ms_win_core_psapi_obsolete_l1_1_0
961 enable_api_ms_win_core_quirks_l1_1_0
962 enable_api_ms_win_core_realtime_l1_1_0
963 enable_api_ms_win_core_registry_l1_1_0
964 enable_api_ms_win_core_registry_l2_1_0
965 enable_api_ms_win_core_registryuserspecific_l1_1_0
966 enable_api_ms_win_core_rtlsupport_l1_1_0
967 enable_api_ms_win_core_rtlsupport_l1_2_0
968 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
969 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
970 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
971 enable_api_ms_win_core_sidebyside_l1_1_0
972 enable_api_ms_win_core_string_l1_1_0
973 enable_api_ms_win_core_string_l2_1_0
974 enable_api_ms_win_core_string_obsolete_l1_1_0
975 enable_api_ms_win_core_stringansi_l1_1_0
976 enable_api_ms_win_core_synch_l1_1_0
977 enable_api_ms_win_core_synch_l1_2_0
978 enable_api_ms_win_core_synch_l1_2_1
979 enable_api_ms_win_core_sysinfo_l1_1_0
980 enable_api_ms_win_core_sysinfo_l1_2_0
981 enable_api_ms_win_core_sysinfo_l1_2_1
982 enable_api_ms_win_core_threadpool_l1_1_0
983 enable_api_ms_win_core_threadpool_l1_2_0
984 enable_api_ms_win_core_threadpool_legacy_l1_1_0
985 enable_api_ms_win_core_threadpool_private_l1_1_0
986 enable_api_ms_win_core_timezone_l1_1_0
987 enable_api_ms_win_core_toolhelp_l1_1_0
988 enable_api_ms_win_core_url_l1_1_0
989 enable_api_ms_win_core_util_l1_1_0
990 enable_api_ms_win_core_version_l1_1_0
991 enable_api_ms_win_core_version_l1_1_1
992 enable_api_ms_win_core_version_private_l1_1_0
993 enable_api_ms_win_core_versionansi_l1_1_0
994 enable_api_ms_win_core_windowserrorreporting_l1_1_0
995 enable_api_ms_win_core_winrt_error_l1_1_0
996 enable_api_ms_win_core_winrt_error_l1_1_1
997 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
998 enable_api_ms_win_core_winrt_l1_1_0
999 enable_api_ms_win_core_winrt_registration_l1_1_0
1000 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1001 enable_api_ms_win_core_winrt_string_l1_1_0
1002 enable_api_ms_win_core_wow64_l1_1_0
1003 enable_api_ms_win_core_wow64_l1_1_1
1004 enable_api_ms_win_core_xstate_l1_1_0
1005 enable_api_ms_win_core_xstate_l2_1_0
1006 enable_api_ms_win_crt_conio_l1_1_0
1007 enable_api_ms_win_crt_convert_l1_1_0
1008 enable_api_ms_win_crt_environment_l1_1_0
1009 enable_api_ms_win_crt_filesystem_l1_1_0
1010 enable_api_ms_win_crt_heap_l1_1_0
1011 enable_api_ms_win_crt_locale_l1_1_0
1012 enable_api_ms_win_crt_math_l1_1_0
1013 enable_api_ms_win_crt_multibyte_l1_1_0
1014 enable_api_ms_win_crt_private_l1_1_0
1015 enable_api_ms_win_crt_process_l1_1_0
1016 enable_api_ms_win_crt_runtime_l1_1_0
1017 enable_api_ms_win_crt_stdio_l1_1_0
1018 enable_api_ms_win_crt_string_l1_1_0
1019 enable_api_ms_win_crt_time_l1_1_0
1020 enable_api_ms_win_crt_utility_l1_1_0
1021 enable_api_ms_win_devices_config_l1_1_1
1022 enable_api_ms_win_devices_query_l1_1_1
1023 enable_api_ms_win_downlevel_advapi32_l1_1_0
1024 enable_api_ms_win_downlevel_advapi32_l2_1_0
1025 enable_api_ms_win_downlevel_normaliz_l1_1_0
1026 enable_api_ms_win_downlevel_ole32_l1_1_0
1027 enable_api_ms_win_downlevel_shell32_l1_1_0
1028 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1029 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1030 enable_api_ms_win_downlevel_user32_l1_1_0
1031 enable_api_ms_win_downlevel_version_l1_1_0
1032 enable_api_ms_win_dx_d3dkmt_l1_1_0
1033 enable_api_ms_win_eventing_classicprovider_l1_1_0
1034 enable_api_ms_win_eventing_consumer_l1_1_0
1035 enable_api_ms_win_eventing_controller_l1_1_0
1036 enable_api_ms_win_eventing_legacy_l1_1_0
1037 enable_api_ms_win_eventing_provider_l1_1_0
1038 enable_api_ms_win_eventlog_legacy_l1_1_0
1039 enable_api_ms_win_mm_joystick_l1_1_0
1040 enable_api_ms_win_mm_misc_l1_1_1
1041 enable_api_ms_win_mm_mme_l1_1_0
1042 enable_api_ms_win_mm_time_l1_1_0
1043 enable_api_ms_win_ntuser_dc_access_l1_1_0
1044 enable_api_ms_win_ntuser_rectangle_l1_1_0
1045 enable_api_ms_win_power_base_l1_1_0
1046 enable_api_ms_win_power_setting_l1_1_0
1047 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1048 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1049 enable_api_ms_win_security_audit_l1_1_1
1050 enable_api_ms_win_security_base_l1_1_0
1051 enable_api_ms_win_security_base_l1_2_0
1052 enable_api_ms_win_security_base_private_l1_1_1
1053 enable_api_ms_win_security_credentials_l1_1_0
1054 enable_api_ms_win_security_grouppolicy_l1_1_0
1055 enable_api_ms_win_security_lsalookup_l1_1_0
1056 enable_api_ms_win_security_lsalookup_l1_1_1
1057 enable_api_ms_win_security_lsalookup_l2_1_1
1058 enable_api_ms_win_security_lsapolicy_l1_1_0
1059 enable_api_ms_win_security_provider_l1_1_0
1060 enable_api_ms_win_security_sddl_l1_1_0
1061 enable_api_ms_win_security_systemfunctions_l1_1_0
1062 enable_api_ms_win_service_core_l1_1_0
1063 enable_api_ms_win_service_core_l1_1_1
1064 enable_api_ms_win_service_management_l1_1_0
1065 enable_api_ms_win_service_management_l2_1_0
1066 enable_api_ms_win_service_private_l1_1_1
1067 enable_api_ms_win_service_winsvc_l1_1_0
1068 enable_api_ms_win_service_winsvc_l1_2_0
1069 enable_api_ms_win_shell_shellcom_l1_1_0
1070 enable_api_ms_win_shell_shellfolders_l1_1_0
1071 enable_apphelp
1072 enable_appwiz_cpl
1073 enable_atl
1074 enable_atl100
1075 enable_atl110
1076 enable_atl80
1077 enable_atl90
1078 enable_authz
1079 enable_avicap32
1080 enable_avifil32
1081 enable_avrt
1082 enable_bcrypt
1083 enable_bluetoothapis
1084 enable_browseui
1085 enable_bthprops_cpl
1086 enable_cabinet
1087 enable_capi2032
1088 enable_cards
1089 enable_cfgmgr32
1090 enable_clusapi
1091 enable_combase
1092 enable_comcat
1093 enable_comctl32
1094 enable_comdlg32
1095 enable_compstui
1096 enable_comsvcs
1097 enable_concrt140
1098 enable_connect
1099 enable_credui
1100 enable_crtdll
1101 enable_crypt32
1102 enable_cryptdlg
1103 enable_cryptdll
1104 enable_cryptext
1105 enable_cryptnet
1106 enable_cryptui
1107 enable_ctapi32
1108 enable_ctl3d32
1109 enable_d2d1
1110 enable_d3d10
1111 enable_d3d10_1
1112 enable_d3d10core
1113 enable_d3d11
1114 enable_d3d8
1115 enable_d3d9
1116 enable_d3dcompiler_33
1117 enable_d3dcompiler_34
1118 enable_d3dcompiler_35
1119 enable_d3dcompiler_36
1120 enable_d3dcompiler_37
1121 enable_d3dcompiler_38
1122 enable_d3dcompiler_39
1123 enable_d3dcompiler_40
1124 enable_d3dcompiler_41
1125 enable_d3dcompiler_42
1126 enable_d3dcompiler_43
1127 enable_d3dcompiler_46
1128 enable_d3dcompiler_47
1129 enable_d3dim
1130 enable_d3drm
1131 enable_d3dx10_33
1132 enable_d3dx10_34
1133 enable_d3dx10_35
1134 enable_d3dx10_36
1135 enable_d3dx10_37
1136 enable_d3dx10_38
1137 enable_d3dx10_39
1138 enable_d3dx10_40
1139 enable_d3dx10_41
1140 enable_d3dx10_42
1141 enable_d3dx10_43
1142 enable_d3dx11_42
1143 enable_d3dx11_43
1144 enable_d3dx9_24
1145 enable_d3dx9_25
1146 enable_d3dx9_26
1147 enable_d3dx9_27
1148 enable_d3dx9_28
1149 enable_d3dx9_29
1150 enable_d3dx9_30
1151 enable_d3dx9_31
1152 enable_d3dx9_32
1153 enable_d3dx9_33
1154 enable_d3dx9_34
1155 enable_d3dx9_35
1156 enable_d3dx9_36
1157 enable_d3dx9_37
1158 enable_d3dx9_38
1159 enable_d3dx9_39
1160 enable_d3dx9_40
1161 enable_d3dx9_41
1162 enable_d3dx9_42
1163 enable_d3dx9_43
1164 enable_d3dxof
1165 enable_davclnt
1166 enable_dbgeng
1167 enable_dbghelp
1168 enable_dciman32
1169 enable_ddraw
1170 enable_ddrawex
1171 enable_devenum
1172 enable_dhcpcsvc
1173 enable_difxapi
1174 enable_dinput
1175 enable_dinput8
1176 enable_dispex
1177 enable_dmband
1178 enable_dmcompos
1179 enable_dmime
1180 enable_dmloader
1181 enable_dmscript
1182 enable_dmstyle
1183 enable_dmsynth
1184 enable_dmusic
1185 enable_dmusic32
1186 enable_dnsapi
1187 enable_dplay
1188 enable_dplayx
1189 enable_dpnaddr
1190 enable_dpnet
1191 enable_dpnhpast
1192 enable_dpnlobby
1193 enable_dpvoice
1194 enable_dpwsockx
1195 enable_drmclien
1196 enable_dsound
1197 enable_dsquery
1198 enable_dssenh
1199 enable_dswave
1200 enable_dwmapi
1201 enable_dwrite
1202 enable_dx8vb
1203 enable_dxdiagn
1204 enable_dxgi
1205 enable_dxva2
1206 enable_esent
1207 enable_evr
1208 enable_explorerframe
1209 enable_ext_ms_win_authz_context_l1_1_0
1210 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1211 enable_ext_ms_win_gdi_dc_create_l1_1_1
1212 enable_ext_ms_win_gdi_dc_l1_2_0
1213 enable_ext_ms_win_gdi_devcaps_l1_1_0
1214 enable_ext_ms_win_gdi_draw_l1_1_1
1215 enable_ext_ms_win_gdi_render_l1_1_0
1216 enable_ext_ms_win_kernel32_package_current_l1_1_0
1217 enable_ext_ms_win_kernel32_package_l1_1_1
1218 enable_ext_ms_win_ntuser_message_l1_1_1
1219 enable_ext_ms_win_ntuser_private_l1_1_1
1220 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1221 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1222 enable_ext_ms_win_ntuser_window_l1_1_1
1223 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1224 enable_ext_ms_win_ras_rasapi32_l1_1_0
1225 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1226 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1227 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1228 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1229 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1230 enable_ext_ms_win_security_credui_l1_1_0
1231 enable_ext_ms_win_security_cryptui_l1_1_0
1232 enable_faultrep
1233 enable_fltlib
1234 enable_fltmgr_sys
1235 enable_fntcache
1236 enable_fontsub
1237 enable_fusion
1238 enable_fwpuclnt
1239 enable_gameux
1240 enable_gdi32
1241 enable_gdiplus
1242 enable_glu32
1243 enable_gphoto2_ds
1244 enable_gpkcsp
1245 enable_hal
1246 enable_hhctrl_ocx
1247 enable_hid
1248 enable_hidclass_sys
1249 enable_hlink
1250 enable_hnetcfg
1251 enable_httpapi
1252 enable_iccvid
1253 enable_icmp
1254 enable_ieframe
1255 enable_ieproxy
1256 enable_imaadp32_acm
1257 enable_imagehlp
1258 enable_imm32
1259 enable_inetcomm
1260 enable_inetcpl_cpl
1261 enable_inetmib1
1262 enable_infosoft
1263 enable_initpki
1264 enable_inkobj
1265 enable_inseng
1266 enable_iphlpapi
1267 enable_iprop
1268 enable_irprops_cpl
1269 enable_itircl
1270 enable_itss
1271 enable_joy_cpl
1272 enable_jscript
1273 enable_jsproxy
1274 enable_kernel32
1275 enable_kernelbase
1276 enable_ksuser
1277 enable_ktmw32
1278 enable_loadperf
1279 enable_localspl
1280 enable_localui
1281 enable_lz32
1282 enable_mapi32
1283 enable_mapistub
1284 enable_mciavi32
1285 enable_mcicda
1286 enable_mciqtz32
1287 enable_mciseq
1288 enable_mciwave
1289 enable_mf
1290 enable_mf3216
1291 enable_mfplat
1292 enable_mfreadwrite
1293 enable_mgmtapi
1294 enable_midimap
1295 enable_mlang
1296 enable_mmcndmgr
1297 enable_mmdevapi
1298 enable_mountmgr_sys
1299 enable_mpr
1300 enable_mprapi
1301 enable_msacm32_drv
1302 enable_msacm32
1303 enable_msadp32_acm
1304 enable_msasn1
1305 enable_mscat32
1306 enable_mscms
1307 enable_mscoree
1308 enable_msctf
1309 enable_msctfp
1310 enable_msdaps
1311 enable_msdelta
1312 enable_msdmo
1313 enable_msdrm
1314 enable_msftedit
1315 enable_msg711_acm
1316 enable_msgsm32_acm
1317 enable_mshtml_tlb
1318 enable_mshtml
1319 enable_msi
1320 enable_msident
1321 enable_msimg32
1322 enable_msimsg
1323 enable_msimtf
1324 enable_msisip
1325 enable_msisys_ocx
1326 enable_msls31
1327 enable_msnet32
1328 enable_mspatcha
1329 enable_msports
1330 enable_msrle32
1331 enable_msscript_ocx
1332 enable_mssign32
1333 enable_mssip32
1334 enable_mstask
1335 enable_msvcirt
1336 enable_msvcm80
1337 enable_msvcm90
1338 enable_msvcp100
1339 enable_msvcp110
1340 enable_msvcp120
1341 enable_msvcp120_app
1342 enable_msvcp140
1343 enable_msvcp60
1344 enable_msvcp70
1345 enable_msvcp71
1346 enable_msvcp80
1347 enable_msvcp90
1348 enable_msvcr100
1349 enable_msvcr110
1350 enable_msvcr120
1351 enable_msvcr120_app
1352 enable_msvcr70
1353 enable_msvcr71
1354 enable_msvcr80
1355 enable_msvcr90
1356 enable_msvcrt
1357 enable_msvcrt20
1358 enable_msvcrt40
1359 enable_msvcrtd
1360 enable_msvfw32
1361 enable_msvidc32
1362 enable_mswsock
1363 enable_msxml
1364 enable_msxml2
1365 enable_msxml3
1366 enable_msxml4
1367 enable_msxml6
1368 enable_mtxdm
1369 enable_ncrypt
1370 enable_nddeapi
1371 enable_ndis_sys
1372 enable_netapi32
1373 enable_netcfgx
1374 enable_netprofm
1375 enable_newdev
1376 enable_normaliz
1377 enable_npmshtml
1378 enable_npptools
1379 enable_ntdll
1380 enable_ntdsapi
1381 enable_ntoskrnl_exe
1382 enable_ntprint
1383 enable_objsel
1384 enable_odbc32
1385 enable_odbccp32
1386 enable_odbccu32
1387 enable_ole32
1388 enable_oleacc
1389 enable_oleaut32
1390 enable_olecli32
1391 enable_oledb32
1392 enable_oledlg
1393 enable_olepro32
1394 enable_olesvr32
1395 enable_olethk32
1396 enable_openal32
1397 enable_opencl
1398 enable_opengl32
1399 enable_packager
1400 enable_pdh
1401 enable_photometadatahandler
1402 enable_pidgen
1403 enable_powrprof
1404 enable_printui
1405 enable_prntvpt
1406 enable_propsys
1407 enable_psapi
1408 enable_pstorec
1409 enable_qcap
1410 enable_qedit
1411 enable_qmgr
1412 enable_qmgrprxy
1413 enable_quartz
1414 enable_query
1415 enable_rasapi32
1416 enable_rasdlg
1417 enable_regapi
1418 enable_resutils
1419 enable_riched20
1420 enable_riched32
1421 enable_rpcrt4
1422 enable_rsabase
1423 enable_rsaenh
1424 enable_rstrtmgr
1425 enable_rtutils
1426 enable_samlib
1427 enable_sane_ds
1428 enable_sapi
1429 enable_scarddlg
1430 enable_sccbase
1431 enable_schannel
1432 enable_schedsvc
1433 enable_scrobj
1434 enable_scrrun
1435 enable_scsiport_sys
1436 enable_secur32
1437 enable_security
1438 enable_sensapi
1439 enable_serialui
1440 enable_setupapi
1441 enable_sfc
1442 enable_sfc_os
1443 enable_shdoclc
1444 enable_shdocvw
1445 enable_shell32
1446 enable_shfolder
1447 enable_shlwapi
1448 enable_slbcsp
1449 enable_slc
1450 enable_snmpapi
1451 enable_softpub
1452 enable_spoolss
1453 enable_sspicli
1454 enable_stdole2_tlb
1455 enable_stdole32_tlb
1456 enable_sti
1457 enable_svrapi
1458 enable_sxs
1459 enable_t2embed
1460 enable_tapi32
1461 enable_taskschd
1462 enable_tdh
1463 enable_tdi_sys
1464 enable_traffic
1465 enable_twain_32
1466 enable_ucrtbase
1467 enable_uiautomationcore
1468 enable_uiribbon
1469 enable_unicows
1470 enable_updspapi
1471 enable_url
1472 enable_urlmon
1473 enable_usbd_sys
1474 enable_user32
1475 enable_userenv
1476 enable_usp10
1477 enable_uxtheme
1478 enable_vbscript
1479 enable_vcomp
1480 enable_vcomp100
1481 enable_vcomp110
1482 enable_vcomp120
1483 enable_vcomp140
1484 enable_vcomp90
1485 enable_vcruntime140
1486 enable_vdmdbg
1487 enable_version
1488 enable_virtdisk
1489 enable_vssapi
1490 enable_wbemdisp
1491 enable_wbemprox
1492 enable_webservices
1493 enable_wer
1494 enable_wevtapi
1495 enable_wiaservc
1496 enable_wimgapi
1497 enable_windowscodecs
1498 enable_windowscodecsext
1499 enable_winealsa_drv
1500 enable_wineandroid_drv
1501 enable_winebus_sys
1502 enable_winecoreaudio_drv
1503 enable_wined3d
1504 enable_winegstreamer
1505 enable_winehid_sys
1506 enable_winejoystick_drv
1507 enable_winemac_drv
1508 enable_winemapi
1509 enable_winemp3_acm
1510 enable_wineoss_drv
1511 enable_wineps_drv
1512 enable_winepulse_drv
1513 enable_wineqtdecoder
1514 enable_winex11_drv
1515 enable_wing32
1516 enable_winhttp
1517 enable_wininet
1518 enable_winmm
1519 enable_winnls32
1520 enable_winscard
1521 enable_winspool_drv
1522 enable_winsta
1523 enable_wintab32
1524 enable_wintrust
1525 enable_winusb
1526 enable_wlanapi
1527 enable_wldap32
1528 enable_wmasf
1529 enable_wmi
1530 enable_wmiutils
1531 enable_wmp
1532 enable_wmphoto
1533 enable_wmvcore
1534 enable_wnaspi32
1535 enable_wpc
1536 enable_wpcap
1537 enable_ws2_32
1538 enable_wsdapi
1539 enable_wshom_ocx
1540 enable_wsnmp32
1541 enable_wsock32
1542 enable_wtsapi32
1543 enable_wuapi
1544 enable_wuaueng
1545 enable_x3daudio1_0
1546 enable_x3daudio1_1
1547 enable_x3daudio1_2
1548 enable_x3daudio1_3
1549 enable_x3daudio1_4
1550 enable_x3daudio1_5
1551 enable_x3daudio1_6
1552 enable_x3daudio1_7
1553 enable_xapofx1_1
1554 enable_xapofx1_2
1555 enable_xapofx1_3
1556 enable_xapofx1_4
1557 enable_xapofx1_5
1558 enable_xaudio2_0
1559 enable_xaudio2_1
1560 enable_xaudio2_2
1561 enable_xaudio2_3
1562 enable_xaudio2_4
1563 enable_xaudio2_5
1564 enable_xaudio2_6
1565 enable_xaudio2_7
1566 enable_xaudio2_8
1567 enable_xaudio2_9
1568 enable_xinput1_1
1569 enable_xinput1_2
1570 enable_xinput1_3
1571 enable_xinput1_4
1572 enable_xinput9_1_0
1573 enable_xmllite
1574 enable_xolehlp
1575 enable_xpsprint
1576 enable_xpssvcs
1577 enable_fonts
1578 enable_include
1579 enable_libs_port
1580 enable_libs_wine
1581 enable_libs_wpp
1582 enable_loader
1583 enable_po
1584 enable_arp
1585 enable_aspnet_regiis
1586 enable_attrib
1587 enable_cabarc
1588 enable_cacls
1589 enable_clock
1590 enable_cmd
1591 enable_conhost
1592 enable_control
1593 enable_cscript
1594 enable_dpnsvr
1595 enable_dxdiag
1596 enable_eject
1597 enable_expand
1598 enable_explorer
1599 enable_extrac32
1600 enable_findstr
1601 enable_fsutil
1602 enable_hh
1603 enable_hostname
1604 enable_icacls
1605 enable_icinfo
1606 enable_iexplore
1607 enable_ipconfig
1608 enable_lodctr
1609 enable_mofcomp
1610 enable_mshta
1611 enable_msiexec
1612 enable_msinfo32
1613 enable_net
1614 enable_netsh
1615 enable_netstat
1616 enable_ngen
1617 enable_notepad
1618 enable_oleview
1619 enable_ping
1620 enable_plugplay
1621 enable_powershell
1622 enable_presentationfontcache
1623 enable_progman
1624 enable_reg
1625 enable_regasm
1626 enable_regedit
1627 enable_regsvcs
1628 enable_regsvr32
1629 enable_rpcss
1630 enable_rundll32
1631 enable_sc
1632 enable_schtasks
1633 enable_sdbinst
1634 enable_secedit
1635 enable_servicemodelreg
1636 enable_services
1637 enable_shutdown
1638 enable_spoolsv
1639 enable_start
1640 enable_subst
1641 enable_svchost
1642 enable_systeminfo
1643 enable_taskkill
1644 enable_tasklist
1645 enable_taskmgr
1646 enable_termsv
1647 enable_uninstaller
1648 enable_unlodctr
1649 enable_view
1650 enable_wevtutil
1651 enable_wineboot
1652 enable_winebrowser
1653 enable_winecfg
1654 enable_wineconsole
1655 enable_winedbg
1656 enable_winedevice
1657 enable_winefile
1658 enable_winemenubuilder
1659 enable_winemine
1660 enable_winemsibuilder
1661 enable_winepath
1662 enable_winetest
1663 enable_winhlp32
1664 enable_winver
1665 enable_wmic
1666 enable_wmplayer
1667 enable_wordpad
1668 enable_write
1669 enable_wscript
1670 enable_wusa
1671 enable_xcopy
1672 enable_server
1673 enable_tools
1675 ac_precious_vars='build_alias
1676 host_alias
1677 target_alias
1679 CFLAGS
1680 LDFLAGS
1681 LIBS
1682 CPPFLAGS
1684 CXXFLAGS
1687 XMKMF
1688 XML2_CFLAGS
1689 XML2_LIBS
1690 XSLT_CFLAGS
1691 XSLT_LIBS
1692 DBUS_CFLAGS
1693 DBUS_LIBS
1694 HAL_CFLAGS
1695 HAL_LIBS
1696 GNUTLS_CFLAGS
1697 GNUTLS_LIBS
1698 SANE_CFLAGS
1699 SANE_LIBS
1700 GPHOTO2_CFLAGS
1701 GPHOTO2_LIBS
1702 GPHOTO2_PORT_CFLAGS
1703 GPHOTO2_PORT_LIBS
1704 LCMS2_CFLAGS
1705 LCMS2_LIBS
1706 FREETYPE_CFLAGS
1707 FREETYPE_LIBS
1708 PULSE_CFLAGS
1709 PULSE_LIBS
1710 GSTREAMER_CFLAGS
1711 GSTREAMER_LIBS
1712 UDEV_CFLAGS
1713 UDEV_LIBS
1714 CAPI20_CFLAGS
1715 CAPI20_LIBS
1716 FONTCONFIG_CFLAGS
1717 FONTCONFIG_LIBS
1718 JPEG_CFLAGS
1719 JPEG_LIBS
1720 PNG_CFLAGS
1721 PNG_LIBS
1722 TIFF_CFLAGS
1723 TIFF_LIBS
1724 MPG123_CFLAGS
1725 MPG123_LIBS
1726 NETAPI_CFLAGS
1727 NETAPI_LIBS
1728 LDAP_CFLAGS
1729 LDAP_LIBS'
1732 # Initialize some variables set by options.
1733 ac_init_help=
1734 ac_init_version=false
1735 ac_unrecognized_opts=
1736 ac_unrecognized_sep=
1737 # The variables have the same names as the options, with
1738 # dashes changed to underlines.
1739 cache_file=/dev/null
1740 exec_prefix=NONE
1741 no_create=
1742 no_recursion=
1743 prefix=NONE
1744 program_prefix=NONE
1745 program_suffix=NONE
1746 program_transform_name=s,x,x,
1747 silent=
1748 site=
1749 srcdir=
1750 verbose=
1751 x_includes=NONE
1752 x_libraries=NONE
1754 # Installation directory options.
1755 # These are left unexpanded so users can "make install exec_prefix=/foo"
1756 # and all the variables that are supposed to be based on exec_prefix
1757 # by default will actually change.
1758 # Use braces instead of parens because sh, perl, etc. also accept them.
1759 # (The list follows the same order as the GNU Coding Standards.)
1760 bindir='${exec_prefix}/bin'
1761 sbindir='${exec_prefix}/sbin'
1762 libexecdir='${exec_prefix}/libexec'
1763 datarootdir='${prefix}/share'
1764 datadir='${datarootdir}'
1765 sysconfdir='${prefix}/etc'
1766 sharedstatedir='${prefix}/com'
1767 localstatedir='${prefix}/var'
1768 runstatedir='${localstatedir}/run'
1769 includedir='${prefix}/include'
1770 oldincludedir='/usr/include'
1771 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1772 infodir='${datarootdir}/info'
1773 htmldir='${docdir}'
1774 dvidir='${docdir}'
1775 pdfdir='${docdir}'
1776 psdir='${docdir}'
1777 libdir='${exec_prefix}/lib'
1778 localedir='${datarootdir}/locale'
1779 mandir='${datarootdir}/man'
1781 ac_prev=
1782 ac_dashdash=
1783 for ac_option
1785 # If the previous option needs an argument, assign it.
1786 if test -n "$ac_prev"; then
1787 eval $ac_prev=\$ac_option
1788 ac_prev=
1789 continue
1792 case $ac_option in
1793 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1794 *=) ac_optarg= ;;
1795 *) ac_optarg=yes ;;
1796 esac
1798 # Accept the important Cygnus configure options, so we can diagnose typos.
1800 case $ac_dashdash$ac_option in
1802 ac_dashdash=yes ;;
1804 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1805 ac_prev=bindir ;;
1806 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1807 bindir=$ac_optarg ;;
1809 -build | --build | --buil | --bui | --bu)
1810 ac_prev=build_alias ;;
1811 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1812 build_alias=$ac_optarg ;;
1814 -cache-file | --cache-file | --cache-fil | --cache-fi \
1815 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1816 ac_prev=cache_file ;;
1817 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1818 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1819 cache_file=$ac_optarg ;;
1821 --config-cache | -C)
1822 cache_file=config.cache ;;
1824 -datadir | --datadir | --datadi | --datad)
1825 ac_prev=datadir ;;
1826 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1827 datadir=$ac_optarg ;;
1829 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1830 | --dataroo | --dataro | --datar)
1831 ac_prev=datarootdir ;;
1832 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1833 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1834 datarootdir=$ac_optarg ;;
1836 -disable-* | --disable-*)
1837 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1838 # Reject names that are not valid shell variable names.
1839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1840 as_fn_error $? "invalid feature name: $ac_useropt"
1841 ac_useropt_orig=$ac_useropt
1842 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1843 case $ac_user_opts in
1845 "enable_$ac_useropt"
1846 "*) ;;
1847 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1848 ac_unrecognized_sep=', ';;
1849 esac
1850 eval enable_$ac_useropt=no ;;
1852 -docdir | --docdir | --docdi | --doc | --do)
1853 ac_prev=docdir ;;
1854 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1855 docdir=$ac_optarg ;;
1857 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1858 ac_prev=dvidir ;;
1859 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1860 dvidir=$ac_optarg ;;
1862 -enable-* | --enable-*)
1863 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1864 # Reject names that are not valid shell variable names.
1865 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1866 as_fn_error $? "invalid feature name: $ac_useropt"
1867 ac_useropt_orig=$ac_useropt
1868 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1869 case $ac_user_opts in
1871 "enable_$ac_useropt"
1872 "*) ;;
1873 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1874 ac_unrecognized_sep=', ';;
1875 esac
1876 eval enable_$ac_useropt=\$ac_optarg ;;
1878 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1879 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1880 | --exec | --exe | --ex)
1881 ac_prev=exec_prefix ;;
1882 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1883 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1884 | --exec=* | --exe=* | --ex=*)
1885 exec_prefix=$ac_optarg ;;
1887 -gas | --gas | --ga | --g)
1888 # Obsolete; use --with-gas.
1889 with_gas=yes ;;
1891 -help | --help | --hel | --he | -h)
1892 ac_init_help=long ;;
1893 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1894 ac_init_help=recursive ;;
1895 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1896 ac_init_help=short ;;
1898 -host | --host | --hos | --ho)
1899 ac_prev=host_alias ;;
1900 -host=* | --host=* | --hos=* | --ho=*)
1901 host_alias=$ac_optarg ;;
1903 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1904 ac_prev=htmldir ;;
1905 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1906 | --ht=*)
1907 htmldir=$ac_optarg ;;
1909 -includedir | --includedir | --includedi | --included | --include \
1910 | --includ | --inclu | --incl | --inc)
1911 ac_prev=includedir ;;
1912 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1913 | --includ=* | --inclu=* | --incl=* | --inc=*)
1914 includedir=$ac_optarg ;;
1916 -infodir | --infodir | --infodi | --infod | --info | --inf)
1917 ac_prev=infodir ;;
1918 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1919 infodir=$ac_optarg ;;
1921 -libdir | --libdir | --libdi | --libd)
1922 ac_prev=libdir ;;
1923 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1924 libdir=$ac_optarg ;;
1926 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1927 | --libexe | --libex | --libe)
1928 ac_prev=libexecdir ;;
1929 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1930 | --libexe=* | --libex=* | --libe=*)
1931 libexecdir=$ac_optarg ;;
1933 -localedir | --localedir | --localedi | --localed | --locale)
1934 ac_prev=localedir ;;
1935 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1936 localedir=$ac_optarg ;;
1938 -localstatedir | --localstatedir | --localstatedi | --localstated \
1939 | --localstate | --localstat | --localsta | --localst | --locals)
1940 ac_prev=localstatedir ;;
1941 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1942 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1943 localstatedir=$ac_optarg ;;
1945 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1946 ac_prev=mandir ;;
1947 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1948 mandir=$ac_optarg ;;
1950 -nfp | --nfp | --nf)
1951 # Obsolete; use --without-fp.
1952 with_fp=no ;;
1954 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1955 | --no-cr | --no-c | -n)
1956 no_create=yes ;;
1958 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1959 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1960 no_recursion=yes ;;
1962 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1963 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1964 | --oldin | --oldi | --old | --ol | --o)
1965 ac_prev=oldincludedir ;;
1966 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1967 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1968 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1969 oldincludedir=$ac_optarg ;;
1971 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1972 ac_prev=prefix ;;
1973 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1974 prefix=$ac_optarg ;;
1976 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1977 | --program-pre | --program-pr | --program-p)
1978 ac_prev=program_prefix ;;
1979 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1980 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1981 program_prefix=$ac_optarg ;;
1983 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1984 | --program-suf | --program-su | --program-s)
1985 ac_prev=program_suffix ;;
1986 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1987 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1988 program_suffix=$ac_optarg ;;
1990 -program-transform-name | --program-transform-name \
1991 | --program-transform-nam | --program-transform-na \
1992 | --program-transform-n | --program-transform- \
1993 | --program-transform | --program-transfor \
1994 | --program-transfo | --program-transf \
1995 | --program-trans | --program-tran \
1996 | --progr-tra | --program-tr | --program-t)
1997 ac_prev=program_transform_name ;;
1998 -program-transform-name=* | --program-transform-name=* \
1999 | --program-transform-nam=* | --program-transform-na=* \
2000 | --program-transform-n=* | --program-transform-=* \
2001 | --program-transform=* | --program-transfor=* \
2002 | --program-transfo=* | --program-transf=* \
2003 | --program-trans=* | --program-tran=* \
2004 | --progr-tra=* | --program-tr=* | --program-t=*)
2005 program_transform_name=$ac_optarg ;;
2007 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2008 ac_prev=pdfdir ;;
2009 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2010 pdfdir=$ac_optarg ;;
2012 -psdir | --psdir | --psdi | --psd | --ps)
2013 ac_prev=psdir ;;
2014 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2015 psdir=$ac_optarg ;;
2017 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2018 | -silent | --silent | --silen | --sile | --sil)
2019 silent=yes ;;
2021 -runstatedir | --runstatedir | --runstatedi | --runstated \
2022 | --runstate | --runstat | --runsta | --runst | --runs \
2023 | --run | --ru | --r)
2024 ac_prev=runstatedir ;;
2025 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2026 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2027 | --run=* | --ru=* | --r=*)
2028 runstatedir=$ac_optarg ;;
2030 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2031 ac_prev=sbindir ;;
2032 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2033 | --sbi=* | --sb=*)
2034 sbindir=$ac_optarg ;;
2036 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2037 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2038 | --sharedst | --shareds | --shared | --share | --shar \
2039 | --sha | --sh)
2040 ac_prev=sharedstatedir ;;
2041 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2042 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2043 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2044 | --sha=* | --sh=*)
2045 sharedstatedir=$ac_optarg ;;
2047 -site | --site | --sit)
2048 ac_prev=site ;;
2049 -site=* | --site=* | --sit=*)
2050 site=$ac_optarg ;;
2052 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2053 ac_prev=srcdir ;;
2054 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2055 srcdir=$ac_optarg ;;
2057 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2058 | --syscon | --sysco | --sysc | --sys | --sy)
2059 ac_prev=sysconfdir ;;
2060 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2061 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2062 sysconfdir=$ac_optarg ;;
2064 -target | --target | --targe | --targ | --tar | --ta | --t)
2065 ac_prev=target_alias ;;
2066 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2067 target_alias=$ac_optarg ;;
2069 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2070 verbose=yes ;;
2072 -version | --version | --versio | --versi | --vers | -V)
2073 ac_init_version=: ;;
2075 -with-* | --with-*)
2076 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2077 # Reject names that are not valid shell variable names.
2078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2079 as_fn_error $? "invalid package name: $ac_useropt"
2080 ac_useropt_orig=$ac_useropt
2081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2082 case $ac_user_opts in
2084 "with_$ac_useropt"
2085 "*) ;;
2086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2087 ac_unrecognized_sep=', ';;
2088 esac
2089 eval with_$ac_useropt=\$ac_optarg ;;
2091 -without-* | --without-*)
2092 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2093 # Reject names that are not valid shell variable names.
2094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2095 as_fn_error $? "invalid package name: $ac_useropt"
2096 ac_useropt_orig=$ac_useropt
2097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2098 case $ac_user_opts in
2100 "with_$ac_useropt"
2101 "*) ;;
2102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2103 ac_unrecognized_sep=', ';;
2104 esac
2105 eval with_$ac_useropt=no ;;
2107 --x)
2108 # Obsolete; use --with-x.
2109 with_x=yes ;;
2111 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2112 | --x-incl | --x-inc | --x-in | --x-i)
2113 ac_prev=x_includes ;;
2114 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2115 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2116 x_includes=$ac_optarg ;;
2118 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2119 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2120 ac_prev=x_libraries ;;
2121 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2122 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2123 x_libraries=$ac_optarg ;;
2125 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2126 Try \`$0 --help' for more information"
2129 *=*)
2130 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2131 # Reject names that are not valid shell variable names.
2132 case $ac_envvar in #(
2133 '' | [0-9]* | *[!_$as_cr_alnum]* )
2134 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2135 esac
2136 eval $ac_envvar=\$ac_optarg
2137 export $ac_envvar ;;
2140 # FIXME: should be removed in autoconf 3.0.
2141 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2142 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2143 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2144 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2147 esac
2148 done
2150 if test -n "$ac_prev"; then
2151 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2152 as_fn_error $? "missing argument to $ac_option"
2155 if test -n "$ac_unrecognized_opts"; then
2156 case $enable_option_checking in
2157 no) ;;
2158 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2159 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2160 esac
2163 # Check all directory arguments for consistency.
2164 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2165 datadir sysconfdir sharedstatedir localstatedir includedir \
2166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2167 libdir localedir mandir runstatedir
2169 eval ac_val=\$$ac_var
2170 # Remove trailing slashes.
2171 case $ac_val in
2172 */ )
2173 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2174 eval $ac_var=\$ac_val;;
2175 esac
2176 # Be sure to have absolute directory names.
2177 case $ac_val in
2178 [\\/$]* | ?:[\\/]* ) continue;;
2179 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2180 esac
2181 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2182 done
2184 # There might be people who depend on the old broken behavior: `$host'
2185 # used to hold the argument of --host etc.
2186 # FIXME: To remove some day.
2187 build=$build_alias
2188 host=$host_alias
2189 target=$target_alias
2191 # FIXME: To remove some day.
2192 if test "x$host_alias" != x; then
2193 if test "x$build_alias" = x; then
2194 cross_compiling=maybe
2195 elif test "x$build_alias" != "x$host_alias"; then
2196 cross_compiling=yes
2200 ac_tool_prefix=
2201 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2203 test "$silent" = yes && exec 6>/dev/null
2206 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2207 ac_ls_di=`ls -di .` &&
2208 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2209 as_fn_error $? "working directory cannot be determined"
2210 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2211 as_fn_error $? "pwd does not report name of working directory"
2214 # Find the source files, if location was not specified.
2215 if test -z "$srcdir"; then
2216 ac_srcdir_defaulted=yes
2217 # Try the directory containing this script, then the parent directory.
2218 ac_confdir=`$as_dirname -- "$as_myself" ||
2219 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2220 X"$as_myself" : 'X\(//\)[^/]' \| \
2221 X"$as_myself" : 'X\(//\)$' \| \
2222 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2223 $as_echo X"$as_myself" |
2224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2225 s//\1/
2228 /^X\(\/\/\)[^/].*/{
2229 s//\1/
2232 /^X\(\/\/\)$/{
2233 s//\1/
2236 /^X\(\/\).*/{
2237 s//\1/
2240 s/.*/./; q'`
2241 srcdir=$ac_confdir
2242 if test ! -r "$srcdir/$ac_unique_file"; then
2243 srcdir=..
2245 else
2246 ac_srcdir_defaulted=no
2248 if test ! -r "$srcdir/$ac_unique_file"; then
2249 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2250 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2252 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2253 ac_abs_confdir=`(
2254 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2255 pwd)`
2256 # When building in place, set srcdir=.
2257 if test "$ac_abs_confdir" = "$ac_pwd"; then
2258 srcdir=.
2260 # Remove unnecessary trailing slashes from srcdir.
2261 # Double slashes in file names in object file debugging info
2262 # mess up M-x gdb in Emacs.
2263 case $srcdir in
2264 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2265 esac
2266 for ac_var in $ac_precious_vars; do
2267 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2268 eval ac_env_${ac_var}_value=\$${ac_var}
2269 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2270 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2271 done
2274 # Report the --help message.
2276 if test "$ac_init_help" = "long"; then
2277 # Omit some internal or obsolete options to make the list less imposing.
2278 # This message is too long to be a string in the A/UX 3.1 sh.
2279 cat <<_ACEOF
2280 \`configure' configures Wine 2.18 to adapt to many kinds of systems.
2282 Usage: $0 [OPTION]... [VAR=VALUE]...
2284 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2285 VAR=VALUE. See below for descriptions of some of the useful variables.
2287 Defaults for the options are specified in brackets.
2289 Configuration:
2290 -h, --help display this help and exit
2291 --help=short display options specific to this package
2292 --help=recursive display the short help of all the included packages
2293 -V, --version display version information and exit
2294 -q, --quiet, --silent do not print \`checking ...' messages
2295 --cache-file=FILE cache test results in FILE [disabled]
2296 -C, --config-cache alias for \`--cache-file=config.cache'
2297 -n, --no-create do not create output files
2298 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2300 Installation directories:
2301 --prefix=PREFIX install architecture-independent files in PREFIX
2302 [$ac_default_prefix]
2303 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2304 [PREFIX]
2306 By default, \`make install' will install all the files in
2307 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2308 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2309 for instance \`--prefix=\$HOME'.
2311 For better control, use the options below.
2313 Fine tuning of the installation directories:
2314 --bindir=DIR user executables [EPREFIX/bin]
2315 --sbindir=DIR system admin executables [EPREFIX/sbin]
2316 --libexecdir=DIR program executables [EPREFIX/libexec]
2317 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2318 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2319 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2320 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2321 --libdir=DIR object code libraries [EPREFIX/lib]
2322 --includedir=DIR C header files [PREFIX/include]
2323 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2324 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2325 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2326 --infodir=DIR info documentation [DATAROOTDIR/info]
2327 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2328 --mandir=DIR man documentation [DATAROOTDIR/man]
2329 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2330 --htmldir=DIR html documentation [DOCDIR]
2331 --dvidir=DIR dvi documentation [DOCDIR]
2332 --pdfdir=DIR pdf documentation [DOCDIR]
2333 --psdir=DIR ps documentation [DOCDIR]
2334 _ACEOF
2336 cat <<\_ACEOF
2338 X features:
2339 --x-includes=DIR X include files are in DIR
2340 --x-libraries=DIR X library files are in DIR
2342 System types:
2343 --build=BUILD configure for building on BUILD [guessed]
2344 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2345 _ACEOF
2348 if test -n "$ac_init_help"; then
2349 case $ac_init_help in
2350 short | recursive ) echo "Configuration of Wine 2.18:";;
2351 esac
2352 cat <<\_ACEOF
2354 Optional Features:
2355 --disable-option-checking ignore unrecognized --enable/--with options
2356 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2357 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2358 --disable-win16 do not include Win16 support
2359 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2360 binaries)
2361 --disable-tests do not build the regression tests
2362 --enable-maintainer-mode
2363 enable maintainer-specific build rules
2364 --disable-largefile omit support for large files
2366 Optional Packages:
2367 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2368 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2369 --without-alsa do not use the Alsa sound support
2370 --without-capi do not use CAPI (ISDN support)
2371 --without-cms do not use CMS (color management support)
2372 --without-coreaudio do not use the CoreAudio sound support
2373 --without-cups do not use CUPS
2374 --without-curses do not use (n)curses
2375 --without-dbus do not use DBus (dynamic device support)
2376 --without-fontconfig do not use fontconfig
2377 --without-freetype do not use the FreeType library
2378 --without-gettext do not use gettext
2379 --with-gettextpo use the GetTextPO library to rebuild po files
2380 --without-gphoto do not use gphoto (Digital Camera support)
2381 --without-glu do not use the GLU library
2382 --without-gnutls do not use GnuTLS (schannel support)
2383 --without-gsm do not use libgsm (GSM 06.10 codec support)
2384 --without-gstreamer do not use GStreamer (codecs support)
2385 --without-hal do not use HAL (dynamic device support)
2386 --without-jpeg do not use JPEG
2387 --without-ldap do not use LDAP
2388 --without-mpg123 do not use the mpg123 library
2389 --without-netapi do not use the Samba NetAPI library
2390 --without-openal do not use OpenAL
2391 --without-opencl do not use OpenCL
2392 --without-opengl do not use OpenGL
2393 --without-osmesa do not use the OSMesa library
2394 --without-oss do not use the OSS sound support
2395 --without-pcap do not use the Packet Capture library
2396 --without-png do not use PNG
2397 --without-pthread do not use the pthread library
2398 --without-pulse do not use PulseAudio sound support
2399 --without-sane do not use SANE (scanner support)
2400 --without-tiff do not use TIFF
2401 --without-udev do not use udev (plug and play support)
2402 --without-v4l do not use v4l1 (v4l support)
2403 --without-xcomposite do not use the Xcomposite extension
2404 --without-xcursor do not use the Xcursor extension
2405 --without-xfixes do not use Xfixes for clipboard change notifications
2406 --without-xinerama do not use Xinerama (multi-monitor support)
2407 --without-xinput do not use the Xinput extension
2408 --without-xinput2 do not use the Xinput 2 extension
2409 --without-xml do not use XML
2410 --without-xrandr do not use Xrandr (resolution changes)
2411 --without-xrender do not use the Xrender extension
2412 --without-xshape do not use the Xshape extension
2413 --without-xshm do not use XShm (shared memory extension)
2414 --without-xslt do not use XSLT
2415 --without-xxf86vm do not use XFree video mode extension
2416 --without-zlib do not use Zlib (data compression)
2417 --with-wine-tools=DIR use Wine tools from directory DIR
2418 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2419 --with-x use the X Window System
2421 Some influential environment variables:
2422 CC C compiler command
2423 CFLAGS C compiler flags
2424 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2425 nonstandard directory <lib dir>
2426 LIBS libraries to pass to the linker, e.g. -l<library>
2427 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2428 you have headers in a nonstandard directory <include dir>
2429 CXX C++ compiler command
2430 CXXFLAGS C++ compiler flags
2431 CPP C preprocessor
2432 XMKMF Path to xmkmf, Makefile generator for X Window System
2433 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2434 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2435 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2436 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2437 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2438 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2439 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2440 HAL_LIBS Linker flags for hal, overriding pkg-config
2441 GNUTLS_CFLAGS
2442 C compiler flags for gnutls, overriding pkg-config
2443 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2444 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2445 SANE_LIBS Linker flags for libsane, overriding pkg-config
2446 GPHOTO2_CFLAGS
2447 C compiler flags for libgphoto2, overriding pkg-config
2448 GPHOTO2_LIBS
2449 Linker flags for libgphoto2, overriding pkg-config
2450 GPHOTO2_PORT_CFLAGS
2451 C compiler flags for libgphoto2_port, overriding pkg-config
2452 GPHOTO2_PORT_LIBS
2453 Linker flags for libgphoto2_port, overriding pkg-config
2454 LCMS2_CFLAGS
2455 C compiler flags for lcms2, overriding pkg-config
2456 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2457 FREETYPE_CFLAGS
2458 C compiler flags for freetype2, overriding pkg-config
2459 FREETYPE_LIBS
2460 Linker flags for freetype2, overriding pkg-config
2461 PULSE_CFLAGS
2462 C compiler flags for libpulse, overriding pkg-config
2463 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2464 GSTREAMER_CFLAGS
2465 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2466 gstreamer-audio-1.0, overriding pkg-config
2467 GSTREAMER_LIBS
2468 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2469 gstreamer-audio-1.0, overriding pkg-config
2470 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2471 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2472 CAPI20_CFLAGS
2473 C compiler flags for capi20, overriding pkg-config
2474 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2475 FONTCONFIG_CFLAGS
2476 C compiler flags for fontconfig, overriding pkg-config
2477 FONTCONFIG_LIBS
2478 Linker flags for fontconfig, overriding pkg-config
2479 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2480 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2481 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2482 PNG_LIBS Linker flags for libpng, overriding pkg-config
2483 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2484 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2485 MPG123_CFLAGS
2486 C compiler flags for libmpg123, overriding pkg-config
2487 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2488 NETAPI_CFLAGS
2489 C compiler flags for netapi, overriding pkg-config
2490 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2491 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2492 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2494 Use these variables to override the choices made by `configure' or to help
2495 it to find libraries and programs with nonstandard names/locations.
2497 Report bugs to <wine-devel@winehq.org>.
2498 Wine home page: <http://www.winehq.org>.
2499 _ACEOF
2500 ac_status=$?
2503 if test "$ac_init_help" = "recursive"; then
2504 # If there are subdirs, report their specific --help.
2505 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2506 test -d "$ac_dir" ||
2507 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2508 continue
2509 ac_builddir=.
2511 case "$ac_dir" in
2512 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2514 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2515 # A ".." for each directory in $ac_dir_suffix.
2516 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2517 case $ac_top_builddir_sub in
2518 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2519 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2520 esac ;;
2521 esac
2522 ac_abs_top_builddir=$ac_pwd
2523 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2524 # for backward compatibility:
2525 ac_top_builddir=$ac_top_build_prefix
2527 case $srcdir in
2528 .) # We are building in place.
2529 ac_srcdir=.
2530 ac_top_srcdir=$ac_top_builddir_sub
2531 ac_abs_top_srcdir=$ac_pwd ;;
2532 [\\/]* | ?:[\\/]* ) # Absolute name.
2533 ac_srcdir=$srcdir$ac_dir_suffix;
2534 ac_top_srcdir=$srcdir
2535 ac_abs_top_srcdir=$srcdir ;;
2536 *) # Relative name.
2537 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2538 ac_top_srcdir=$ac_top_build_prefix$srcdir
2539 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2540 esac
2541 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2543 cd "$ac_dir" || { ac_status=$?; continue; }
2544 # Check for guested configure.
2545 if test -f "$ac_srcdir/configure.gnu"; then
2546 echo &&
2547 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2548 elif test -f "$ac_srcdir/configure"; then
2549 echo &&
2550 $SHELL "$ac_srcdir/configure" --help=recursive
2551 else
2552 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2553 fi || ac_status=$?
2554 cd "$ac_pwd" || { ac_status=$?; break; }
2555 done
2558 test -n "$ac_init_help" && exit $ac_status
2559 if $ac_init_version; then
2560 cat <<\_ACEOF
2561 Wine configure 2.18
2562 generated by GNU Autoconf 2.69
2564 Copyright (C) 2012 Free Software Foundation, Inc.
2565 This configure script is free software; the Free Software Foundation
2566 gives unlimited permission to copy, distribute and modify it.
2567 _ACEOF
2568 exit
2571 ## ------------------------ ##
2572 ## Autoconf initialization. ##
2573 ## ------------------------ ##
2575 # ac_fn_c_try_compile LINENO
2576 # --------------------------
2577 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2578 ac_fn_c_try_compile ()
2580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2581 rm -f conftest.$ac_objext
2582 if { { ac_try="$ac_compile"
2583 case "(($ac_try" in
2584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2585 *) ac_try_echo=$ac_try;;
2586 esac
2587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2588 $as_echo "$ac_try_echo"; } >&5
2589 (eval "$ac_compile") 2>conftest.err
2590 ac_status=$?
2591 if test -s conftest.err; then
2592 grep -v '^ *+' conftest.err >conftest.er1
2593 cat conftest.er1 >&5
2594 mv -f conftest.er1 conftest.err
2596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2597 test $ac_status = 0; } && {
2598 test -z "$ac_c_werror_flag" ||
2599 test ! -s conftest.err
2600 } && test -s conftest.$ac_objext; then :
2601 ac_retval=0
2602 else
2603 $as_echo "$as_me: failed program was:" >&5
2604 sed 's/^/| /' conftest.$ac_ext >&5
2606 ac_retval=1
2608 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2609 as_fn_set_status $ac_retval
2611 } # ac_fn_c_try_compile
2613 # ac_fn_cxx_try_compile LINENO
2614 # ----------------------------
2615 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2616 ac_fn_cxx_try_compile ()
2618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2619 rm -f conftest.$ac_objext
2620 if { { ac_try="$ac_compile"
2621 case "(($ac_try" in
2622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2624 esac
2625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2626 $as_echo "$ac_try_echo"; } >&5
2627 (eval "$ac_compile") 2>conftest.err
2628 ac_status=$?
2629 if test -s conftest.err; then
2630 grep -v '^ *+' conftest.err >conftest.er1
2631 cat conftest.er1 >&5
2632 mv -f conftest.er1 conftest.err
2634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2635 test $ac_status = 0; } && {
2636 test -z "$ac_cxx_werror_flag" ||
2637 test ! -s conftest.err
2638 } && test -s conftest.$ac_objext; then :
2639 ac_retval=0
2640 else
2641 $as_echo "$as_me: failed program was:" >&5
2642 sed 's/^/| /' conftest.$ac_ext >&5
2644 ac_retval=1
2646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2647 as_fn_set_status $ac_retval
2649 } # ac_fn_cxx_try_compile
2651 # ac_fn_c_try_link LINENO
2652 # -----------------------
2653 # Try to link conftest.$ac_ext, and return whether this succeeded.
2654 ac_fn_c_try_link ()
2656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2657 rm -f conftest.$ac_objext conftest$ac_exeext
2658 if { { ac_try="$ac_link"
2659 case "(($ac_try" in
2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2662 esac
2663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2664 $as_echo "$ac_try_echo"; } >&5
2665 (eval "$ac_link") 2>conftest.err
2666 ac_status=$?
2667 if test -s conftest.err; then
2668 grep -v '^ *+' conftest.err >conftest.er1
2669 cat conftest.er1 >&5
2670 mv -f conftest.er1 conftest.err
2672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2673 test $ac_status = 0; } && {
2674 test -z "$ac_c_werror_flag" ||
2675 test ! -s conftest.err
2676 } && test -s conftest$ac_exeext && {
2677 test "$cross_compiling" = yes ||
2678 test -x conftest$ac_exeext
2679 }; then :
2680 ac_retval=0
2681 else
2682 $as_echo "$as_me: failed program was:" >&5
2683 sed 's/^/| /' conftest.$ac_ext >&5
2685 ac_retval=1
2687 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2688 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2689 # interfere with the next link command; also delete a directory that is
2690 # left behind by Apple's compiler. We do this before executing the actions.
2691 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2693 as_fn_set_status $ac_retval
2695 } # ac_fn_c_try_link
2697 # ac_fn_c_try_cpp LINENO
2698 # ----------------------
2699 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2700 ac_fn_c_try_cpp ()
2702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2703 if { { ac_try="$ac_cpp conftest.$ac_ext"
2704 case "(($ac_try" in
2705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2706 *) ac_try_echo=$ac_try;;
2707 esac
2708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2709 $as_echo "$ac_try_echo"; } >&5
2710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2711 ac_status=$?
2712 if test -s conftest.err; then
2713 grep -v '^ *+' conftest.err >conftest.er1
2714 cat conftest.er1 >&5
2715 mv -f conftest.er1 conftest.err
2717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2718 test $ac_status = 0; } > conftest.i && {
2719 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2720 test ! -s conftest.err
2721 }; then :
2722 ac_retval=0
2723 else
2724 $as_echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2727 ac_retval=1
2729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2730 as_fn_set_status $ac_retval
2732 } # ac_fn_c_try_cpp
2734 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2735 # -------------------------------------------------------
2736 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2737 # the include files in INCLUDES and setting the cache variable VAR
2738 # accordingly.
2739 ac_fn_c_check_header_mongrel ()
2741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2742 if eval \${$3+:} false; then :
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2744 $as_echo_n "checking for $2... " >&6; }
2745 if eval \${$3+:} false; then :
2746 $as_echo_n "(cached) " >&6
2748 eval ac_res=\$$3
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2750 $as_echo "$ac_res" >&6; }
2751 else
2752 # Is the header compilable?
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2754 $as_echo_n "checking $2 usability... " >&6; }
2755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2756 /* end confdefs.h. */
2758 #include <$2>
2759 _ACEOF
2760 if ac_fn_c_try_compile "$LINENO"; then :
2761 ac_header_compiler=yes
2762 else
2763 ac_header_compiler=no
2765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2767 $as_echo "$ac_header_compiler" >&6; }
2769 # Is the header present?
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2771 $as_echo_n "checking $2 presence... " >&6; }
2772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2773 /* end confdefs.h. */
2774 #include <$2>
2775 _ACEOF
2776 if ac_fn_c_try_cpp "$LINENO"; then :
2777 ac_header_preproc=yes
2778 else
2779 ac_header_preproc=no
2781 rm -f conftest.err conftest.i conftest.$ac_ext
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2783 $as_echo "$ac_header_preproc" >&6; }
2785 # So? What about this header?
2786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2787 yes:no: )
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2789 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2791 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2793 no:yes:* )
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2795 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2797 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2799 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2801 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2803 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2804 ( $as_echo "## ------------------------------------ ##
2805 ## Report this to wine-devel@winehq.org ##
2806 ## ------------------------------------ ##"
2807 ) | sed "s/^/$as_me: WARNING: /" >&2
2809 esac
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2811 $as_echo_n "checking for $2... " >&6; }
2812 if eval \${$3+:} false; then :
2813 $as_echo_n "(cached) " >&6
2814 else
2815 eval "$3=\$ac_header_compiler"
2817 eval ac_res=\$$3
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2819 $as_echo "$ac_res" >&6; }
2821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2823 } # ac_fn_c_check_header_mongrel
2825 # ac_fn_c_try_run LINENO
2826 # ----------------------
2827 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2828 # that executables *can* be run.
2829 ac_fn_c_try_run ()
2831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2832 if { { ac_try="$ac_link"
2833 case "(($ac_try" in
2834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2835 *) ac_try_echo=$ac_try;;
2836 esac
2837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2838 $as_echo "$ac_try_echo"; } >&5
2839 (eval "$ac_link") 2>&5
2840 ac_status=$?
2841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2842 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2843 { { case "(($ac_try" in
2844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2845 *) ac_try_echo=$ac_try;;
2846 esac
2847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2848 $as_echo "$ac_try_echo"; } >&5
2849 (eval "$ac_try") 2>&5
2850 ac_status=$?
2851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852 test $ac_status = 0; }; }; then :
2853 ac_retval=0
2854 else
2855 $as_echo "$as_me: program exited with status $ac_status" >&5
2856 $as_echo "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.$ac_ext >&5
2859 ac_retval=$ac_status
2861 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2863 as_fn_set_status $ac_retval
2865 } # ac_fn_c_try_run
2867 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2868 # -------------------------------------------------------
2869 # Tests whether HEADER exists and can be compiled using the include files in
2870 # INCLUDES, setting the cache variable VAR accordingly.
2871 ac_fn_c_check_header_compile ()
2873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2875 $as_echo_n "checking for $2... " >&6; }
2876 if eval \${$3+:} false; then :
2877 $as_echo_n "(cached) " >&6
2878 else
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2882 #include <$2>
2883 _ACEOF
2884 if ac_fn_c_try_compile "$LINENO"; then :
2885 eval "$3=yes"
2886 else
2887 eval "$3=no"
2889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2891 eval ac_res=\$$3
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2893 $as_echo "$ac_res" >&6; }
2894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2896 } # ac_fn_c_check_header_compile
2898 # ac_fn_c_check_func LINENO FUNC VAR
2899 # ----------------------------------
2900 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2901 ac_fn_c_check_func ()
2903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2905 $as_echo_n "checking for $2... " >&6; }
2906 if eval \${$3+:} false; then :
2907 $as_echo_n "(cached) " >&6
2908 else
2909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2910 /* end confdefs.h. */
2911 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2913 #define $2 innocuous_$2
2915 /* System header to define __stub macros and hopefully few prototypes,
2916 which can conflict with char $2 (); below.
2917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2918 <limits.h> exists even on freestanding compilers. */
2920 #ifdef __STDC__
2921 # include <limits.h>
2922 #else
2923 # include <assert.h>
2924 #endif
2926 #undef $2
2928 /* Override any GCC internal prototype to avoid an error.
2929 Use char because int might match the return type of a GCC
2930 builtin and then its argument prototype would still apply. */
2931 #ifdef __cplusplus
2932 extern "C"
2933 #endif
2934 char $2 ();
2935 /* The GNU C library defines this for functions which it implements
2936 to always fail with ENOSYS. Some functions are actually named
2937 something starting with __ and the normal name is an alias. */
2938 #if defined __stub_$2 || defined __stub___$2
2939 choke me
2940 #endif
2943 main ()
2945 return $2 ();
2947 return 0;
2949 _ACEOF
2950 if ac_fn_c_try_link "$LINENO"; then :
2951 eval "$3=yes"
2952 else
2953 eval "$3=no"
2955 rm -f core conftest.err conftest.$ac_objext \
2956 conftest$ac_exeext conftest.$ac_ext
2958 eval ac_res=\$$3
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2960 $as_echo "$ac_res" >&6; }
2961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2963 } # ac_fn_c_check_func
2965 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2966 # ----------------------------------------------------
2967 # Tries to find if the field MEMBER exists in type AGGR, after including
2968 # INCLUDES, setting cache variable VAR accordingly.
2969 ac_fn_c_check_member ()
2971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2973 $as_echo_n "checking for $2.$3... " >&6; }
2974 if eval \${$4+:} false; then :
2975 $as_echo_n "(cached) " >&6
2976 else
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2981 main ()
2983 static $2 ac_aggr;
2984 if (ac_aggr.$3)
2985 return 0;
2987 return 0;
2989 _ACEOF
2990 if ac_fn_c_try_compile "$LINENO"; then :
2991 eval "$4=yes"
2992 else
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
2997 main ()
2999 static $2 ac_aggr;
3000 if (sizeof ac_aggr.$3)
3001 return 0;
3003 return 0;
3005 _ACEOF
3006 if ac_fn_c_try_compile "$LINENO"; then :
3007 eval "$4=yes"
3008 else
3009 eval "$4=no"
3011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3015 eval ac_res=\$$4
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3017 $as_echo "$ac_res" >&6; }
3018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3020 } # ac_fn_c_check_member
3022 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3023 # -------------------------------------------
3024 # Tests whether TYPE exists after having included INCLUDES, setting cache
3025 # variable VAR accordingly.
3026 ac_fn_c_check_type ()
3028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3030 $as_echo_n "checking for $2... " >&6; }
3031 if eval \${$3+:} false; then :
3032 $as_echo_n "(cached) " >&6
3033 else
3034 eval "$3=no"
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3039 main ()
3041 if (sizeof ($2))
3042 return 0;
3044 return 0;
3046 _ACEOF
3047 if ac_fn_c_try_compile "$LINENO"; then :
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3052 main ()
3054 if (sizeof (($2)))
3055 return 0;
3057 return 0;
3059 _ACEOF
3060 if ac_fn_c_try_compile "$LINENO"; then :
3062 else
3063 eval "$3=yes"
3065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3069 eval ac_res=\$$3
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3071 $as_echo "$ac_res" >&6; }
3072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3074 } # ac_fn_c_check_type
3075 cat >config.log <<_ACEOF
3076 This file contains any messages produced by compilers while
3077 running configure, to aid debugging if configure makes a mistake.
3079 It was created by Wine $as_me 2.18, which was
3080 generated by GNU Autoconf 2.69. Invocation command line was
3082 $ $0 $@
3084 _ACEOF
3085 exec 5>>config.log
3087 cat <<_ASUNAME
3088 ## --------- ##
3089 ## Platform. ##
3090 ## --------- ##
3092 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3093 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3094 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3095 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3096 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3098 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3099 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3101 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3102 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3103 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3104 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3105 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3106 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3107 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3109 _ASUNAME
3111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3112 for as_dir in $PATH
3114 IFS=$as_save_IFS
3115 test -z "$as_dir" && as_dir=.
3116 $as_echo "PATH: $as_dir"
3117 done
3118 IFS=$as_save_IFS
3120 } >&5
3122 cat >&5 <<_ACEOF
3125 ## ----------- ##
3126 ## Core tests. ##
3127 ## ----------- ##
3129 _ACEOF
3132 # Keep a trace of the command line.
3133 # Strip out --no-create and --no-recursion so they do not pile up.
3134 # Strip out --silent because we don't want to record it for future runs.
3135 # Also quote any args containing shell meta-characters.
3136 # Make two passes to allow for proper duplicate-argument suppression.
3137 ac_configure_args=
3138 ac_configure_args0=
3139 ac_configure_args1=
3140 ac_must_keep_next=false
3141 for ac_pass in 1 2
3143 for ac_arg
3145 case $ac_arg in
3146 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3148 | -silent | --silent | --silen | --sile | --sil)
3149 continue ;;
3150 *\'*)
3151 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3152 esac
3153 case $ac_pass in
3154 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3156 as_fn_append ac_configure_args1 " '$ac_arg'"
3157 if test $ac_must_keep_next = true; then
3158 ac_must_keep_next=false # Got value, back to normal.
3159 else
3160 case $ac_arg in
3161 *=* | --config-cache | -C | -disable-* | --disable-* \
3162 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3163 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3164 | -with-* | --with-* | -without-* | --without-* | --x)
3165 case "$ac_configure_args0 " in
3166 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3167 esac
3169 -* ) ac_must_keep_next=true ;;
3170 esac
3172 as_fn_append ac_configure_args " '$ac_arg'"
3174 esac
3175 done
3176 done
3177 { ac_configure_args0=; unset ac_configure_args0;}
3178 { ac_configure_args1=; unset ac_configure_args1;}
3180 # When interrupted or exit'd, cleanup temporary files, and complete
3181 # config.log. We remove comments because anyway the quotes in there
3182 # would cause problems or look ugly.
3183 # WARNING: Use '\'' to represent an apostrophe within the trap.
3184 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3185 trap 'exit_status=$?
3186 # Save into config.log some information that might help in debugging.
3188 echo
3190 $as_echo "## ---------------- ##
3191 ## Cache variables. ##
3192 ## ---------------- ##"
3193 echo
3194 # The following way of writing the cache mishandles newlines in values,
3196 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3197 eval ac_val=\$$ac_var
3198 case $ac_val in #(
3199 *${as_nl}*)
3200 case $ac_var in #(
3201 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3202 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3203 esac
3204 case $ac_var in #(
3205 _ | IFS | as_nl) ;; #(
3206 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3207 *) { eval $ac_var=; unset $ac_var;} ;;
3208 esac ;;
3209 esac
3210 done
3211 (set) 2>&1 |
3212 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3213 *${as_nl}ac_space=\ *)
3214 sed -n \
3215 "s/'\''/'\''\\\\'\'''\''/g;
3216 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3217 ;; #(
3219 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3221 esac |
3222 sort
3224 echo
3226 $as_echo "## ----------------- ##
3227 ## Output variables. ##
3228 ## ----------------- ##"
3229 echo
3230 for ac_var in $ac_subst_vars
3232 eval ac_val=\$$ac_var
3233 case $ac_val in
3234 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3235 esac
3236 $as_echo "$ac_var='\''$ac_val'\''"
3237 done | sort
3238 echo
3240 if test -n "$ac_subst_files"; then
3241 $as_echo "## ------------------- ##
3242 ## File substitutions. ##
3243 ## ------------------- ##"
3244 echo
3245 for ac_var in $ac_subst_files
3247 eval ac_val=\$$ac_var
3248 case $ac_val in
3249 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3250 esac
3251 $as_echo "$ac_var='\''$ac_val'\''"
3252 done | sort
3253 echo
3256 if test -s confdefs.h; then
3257 $as_echo "## ----------- ##
3258 ## confdefs.h. ##
3259 ## ----------- ##"
3260 echo
3261 cat confdefs.h
3262 echo
3264 test "$ac_signal" != 0 &&
3265 $as_echo "$as_me: caught signal $ac_signal"
3266 $as_echo "$as_me: exit $exit_status"
3267 } >&5
3268 rm -f core *.core core.conftest.* &&
3269 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3270 exit $exit_status
3272 for ac_signal in 1 2 13 15; do
3273 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3274 done
3275 ac_signal=0
3277 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3278 rm -f -r conftest* confdefs.h
3280 $as_echo "/* confdefs.h */" > confdefs.h
3282 # Predefined preprocessor variables.
3284 cat >>confdefs.h <<_ACEOF
3285 #define PACKAGE_NAME "$PACKAGE_NAME"
3286 _ACEOF
3288 cat >>confdefs.h <<_ACEOF
3289 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3290 _ACEOF
3292 cat >>confdefs.h <<_ACEOF
3293 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3294 _ACEOF
3296 cat >>confdefs.h <<_ACEOF
3297 #define PACKAGE_STRING "$PACKAGE_STRING"
3298 _ACEOF
3300 cat >>confdefs.h <<_ACEOF
3301 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3302 _ACEOF
3304 cat >>confdefs.h <<_ACEOF
3305 #define PACKAGE_URL "$PACKAGE_URL"
3306 _ACEOF
3309 # Let the site file select an alternate cache file if it wants to.
3310 # Prefer an explicitly selected file to automatically selected ones.
3311 ac_site_file1=NONE
3312 ac_site_file2=NONE
3313 if test -n "$CONFIG_SITE"; then
3314 # We do not want a PATH search for config.site.
3315 case $CONFIG_SITE in #((
3316 -*) ac_site_file1=./$CONFIG_SITE;;
3317 */*) ac_site_file1=$CONFIG_SITE;;
3318 *) ac_site_file1=./$CONFIG_SITE;;
3319 esac
3320 elif test "x$prefix" != xNONE; then
3321 ac_site_file1=$prefix/share/config.site
3322 ac_site_file2=$prefix/etc/config.site
3323 else
3324 ac_site_file1=$ac_default_prefix/share/config.site
3325 ac_site_file2=$ac_default_prefix/etc/config.site
3327 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3329 test "x$ac_site_file" = xNONE && continue
3330 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3332 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3333 sed 's/^/| /' "$ac_site_file" >&5
3334 . "$ac_site_file" \
3335 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3337 as_fn_error $? "failed to load site script $ac_site_file
3338 See \`config.log' for more details" "$LINENO" 5; }
3340 done
3342 if test -r "$cache_file"; then
3343 # Some versions of bash will fail to source /dev/null (special files
3344 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3345 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3347 $as_echo "$as_me: loading cache $cache_file" >&6;}
3348 case $cache_file in
3349 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3350 *) . "./$cache_file";;
3351 esac
3353 else
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3355 $as_echo "$as_me: creating cache $cache_file" >&6;}
3356 >$cache_file
3359 # Check that the precious variables saved in the cache have kept the same
3360 # value.
3361 ac_cache_corrupted=false
3362 for ac_var in $ac_precious_vars; do
3363 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3364 eval ac_new_set=\$ac_env_${ac_var}_set
3365 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3366 eval ac_new_val=\$ac_env_${ac_var}_value
3367 case $ac_old_set,$ac_new_set in
3368 set,)
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3370 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3371 ac_cache_corrupted=: ;;
3372 ,set)
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3374 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3375 ac_cache_corrupted=: ;;
3376 ,);;
3378 if test "x$ac_old_val" != "x$ac_new_val"; then
3379 # differences in whitespace do not lead to failure.
3380 ac_old_val_w=`echo x $ac_old_val`
3381 ac_new_val_w=`echo x $ac_new_val`
3382 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3384 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3385 ac_cache_corrupted=:
3386 else
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3388 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3389 eval $ac_var=\$ac_old_val
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3392 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3394 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3395 fi;;
3396 esac
3397 # Pass precious variables to config.status.
3398 if test "$ac_new_set" = set; then
3399 case $ac_new_val in
3400 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3401 *) ac_arg=$ac_var=$ac_new_val ;;
3402 esac
3403 case " $ac_configure_args " in
3404 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3405 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3406 esac
3408 done
3409 if $ac_cache_corrupted; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3413 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3414 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3416 ## -------------------- ##
3417 ## Main body of script. ##
3418 ## -------------------- ##
3420 ac_ext=c
3421 ac_cpp='$CPP $CPPFLAGS'
3422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3428 ac_config_headers="$ac_config_headers include/config.h"
3430 ac_aux_dir=
3431 for ac_dir in tools "$srcdir"/tools; do
3432 if test -f "$ac_dir/install-sh"; then
3433 ac_aux_dir=$ac_dir
3434 ac_install_sh="$ac_aux_dir/install-sh -c"
3435 break
3436 elif test -f "$ac_dir/install.sh"; then
3437 ac_aux_dir=$ac_dir
3438 ac_install_sh="$ac_aux_dir/install.sh -c"
3439 break
3440 elif test -f "$ac_dir/shtool"; then
3441 ac_aux_dir=$ac_dir
3442 ac_install_sh="$ac_aux_dir/shtool install -c"
3443 break
3445 done
3446 if test -z "$ac_aux_dir"; then
3447 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3450 # These three variables are undocumented and unsupported,
3451 # and are intended to be withdrawn in a future Autoconf release.
3452 # They can cause serious problems if a builder's source tree is in a directory
3453 # whose full name contains unusual characters.
3454 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3455 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3456 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3460 libwine_version="1.0"
3464 # Check whether --enable-win16 was given.
3465 if test "${enable_win16+set}" = set; then :
3466 enableval=$enable_win16;
3469 # Check whether --enable-win64 was given.
3470 if test "${enable_win64+set}" = set; then :
3471 enableval=$enable_win64;
3474 # Check whether --enable-tests was given.
3475 if test "${enable_tests+set}" = set; then :
3476 enableval=$enable_tests;
3479 # Check whether --enable-maintainer-mode was given.
3480 if test "${enable_maintainer_mode+set}" = set; then :
3481 enableval=$enable_maintainer_mode;
3486 # Check whether --with-alsa was given.
3487 if test "${with_alsa+set}" = set; then :
3488 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3492 # Check whether --with-capi was given.
3493 if test "${with_capi+set}" = set; then :
3494 withval=$with_capi;
3498 # Check whether --with-cms was given.
3499 if test "${with_cms+set}" = set; then :
3500 withval=$with_cms;
3504 # Check whether --with-coreaudio was given.
3505 if test "${with_coreaudio+set}" = set; then :
3506 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3510 # Check whether --with-cups was given.
3511 if test "${with_cups+set}" = set; then :
3512 withval=$with_cups;
3516 # Check whether --with-curses was given.
3517 if test "${with_curses+set}" = set; then :
3518 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3522 # Check whether --with-dbus was given.
3523 if test "${with_dbus+set}" = set; then :
3524 withval=$with_dbus;
3528 # Check whether --with-fontconfig was given.
3529 if test "${with_fontconfig+set}" = set; then :
3530 withval=$with_fontconfig;
3534 # Check whether --with-freetype was given.
3535 if test "${with_freetype+set}" = set; then :
3536 withval=$with_freetype;
3540 # Check whether --with-gettext was given.
3541 if test "${with_gettext+set}" = set; then :
3542 withval=$with_gettext;
3546 # Check whether --with-gettextpo was given.
3547 if test "${with_gettextpo+set}" = set; then :
3548 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3552 # Check whether --with-gphoto was given.
3553 if test "${with_gphoto+set}" = set; then :
3554 withval=$with_gphoto;
3558 # Check whether --with-glu was given.
3559 if test "${with_glu+set}" = set; then :
3560 withval=$with_glu;
3564 # Check whether --with-gnutls was given.
3565 if test "${with_gnutls+set}" = set; then :
3566 withval=$with_gnutls;
3570 # Check whether --with-gsm was given.
3571 if test "${with_gsm+set}" = set; then :
3572 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3576 # Check whether --with-gstreamer was given.
3577 if test "${with_gstreamer+set}" = set; then :
3578 withval=$with_gstreamer;
3582 # Check whether --with-hal was given.
3583 if test "${with_hal+set}" = set; then :
3584 withval=$with_hal;
3588 # Check whether --with-jpeg was given.
3589 if test "${with_jpeg+set}" = set; then :
3590 withval=$with_jpeg;
3594 # Check whether --with-ldap was given.
3595 if test "${with_ldap+set}" = set; then :
3596 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3600 # Check whether --with-mpg123 was given.
3601 if test "${with_mpg123+set}" = set; then :
3602 withval=$with_mpg123;
3606 # Check whether --with-netapi was given.
3607 if test "${with_netapi+set}" = set; then :
3608 withval=$with_netapi;
3612 # Check whether --with-openal was given.
3613 if test "${with_openal+set}" = set; then :
3614 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3618 # Check whether --with-opencl was given.
3619 if test "${with_opencl+set}" = set; then :
3620 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3624 # Check whether --with-opengl was given.
3625 if test "${with_opengl+set}" = set; then :
3626 withval=$with_opengl;
3630 # Check whether --with-osmesa was given.
3631 if test "${with_osmesa+set}" = set; then :
3632 withval=$with_osmesa;
3636 # Check whether --with-oss was given.
3637 if test "${with_oss+set}" = set; then :
3638 withval=$with_oss;
3642 # Check whether --with-pcap was given.
3643 if test "${with_pcap+set}" = set; then :
3644 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3648 # Check whether --with-png was given.
3649 if test "${with_png+set}" = set; then :
3650 withval=$with_png;
3654 # Check whether --with-pthread was given.
3655 if test "${with_pthread+set}" = set; then :
3656 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3660 # Check whether --with-pulse was given.
3661 if test "${with_pulse+set}" = set; then :
3662 withval=$with_pulse;
3666 # Check whether --with-sane was given.
3667 if test "${with_sane+set}" = set; then :
3668 withval=$with_sane;
3672 # Check whether --with-tiff was given.
3673 if test "${with_tiff+set}" = set; then :
3674 withval=$with_tiff;
3678 # Check whether --with-udev was given.
3679 if test "${with_udev+set}" = set; then :
3680 withval=$with_udev;
3684 # Check whether --with-v4l was given.
3685 if test "${with_v4l+set}" = set; then :
3686 withval=$with_v4l;
3690 # Check whether --with-xcomposite was given.
3691 if test "${with_xcomposite+set}" = set; then :
3692 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3696 # Check whether --with-xcursor was given.
3697 if test "${with_xcursor+set}" = set; then :
3698 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3702 # Check whether --with-xfixes was given.
3703 if test "${with_xfixes+set}" = set; then :
3704 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3708 # Check whether --with-xinerama was given.
3709 if test "${with_xinerama+set}" = set; then :
3710 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3714 # Check whether --with-xinput was given.
3715 if test "${with_xinput+set}" = set; then :
3716 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3720 # Check whether --with-xinput2 was given.
3721 if test "${with_xinput2+set}" = set; then :
3722 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3726 # Check whether --with-xml was given.
3727 if test "${with_xml+set}" = set; then :
3728 withval=$with_xml;
3732 # Check whether --with-xrandr was given.
3733 if test "${with_xrandr+set}" = set; then :
3734 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3738 # Check whether --with-xrender was given.
3739 if test "${with_xrender+set}" = set; then :
3740 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3744 # Check whether --with-xshape was given.
3745 if test "${with_xshape+set}" = set; then :
3746 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3750 # Check whether --with-xshm was given.
3751 if test "${with_xshm+set}" = set; then :
3752 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3756 # Check whether --with-xslt was given.
3757 if test "${with_xslt+set}" = set; then :
3758 withval=$with_xslt;
3762 # Check whether --with-xxf86vm was given.
3763 if test "${with_xxf86vm+set}" = set; then :
3764 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
3768 # Check whether --with-zlib was given.
3769 if test "${with_zlib+set}" = set; then :
3770 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3775 # Check whether --with-wine-tools was given.
3776 if test "${with_wine_tools+set}" = set; then :
3777 withval=$with_wine_tools;
3781 # Check whether --with-wine64 was given.
3782 if test "${with_wine64+set}" = set; then :
3783 withval=$with_wine64;
3787 # Make sure we can run config.sub.
3788 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3789 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3792 $as_echo_n "checking build system type... " >&6; }
3793 if ${ac_cv_build+:} false; then :
3794 $as_echo_n "(cached) " >&6
3795 else
3796 ac_build_alias=$build_alias
3797 test "x$ac_build_alias" = x &&
3798 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3799 test "x$ac_build_alias" = x &&
3800 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3801 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3802 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3806 $as_echo "$ac_cv_build" >&6; }
3807 case $ac_cv_build in
3808 *-*-*) ;;
3809 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3810 esac
3811 build=$ac_cv_build
3812 ac_save_IFS=$IFS; IFS='-'
3813 set x $ac_cv_build
3814 shift
3815 build_cpu=$1
3816 build_vendor=$2
3817 shift; shift
3818 # Remember, the first character of IFS is used to create $*,
3819 # except with old shells:
3820 build_os=$*
3821 IFS=$ac_save_IFS
3822 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3826 $as_echo_n "checking host system type... " >&6; }
3827 if ${ac_cv_host+:} false; then :
3828 $as_echo_n "(cached) " >&6
3829 else
3830 if test "x$host_alias" = x; then
3831 ac_cv_host=$ac_cv_build
3832 else
3833 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3834 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3839 $as_echo "$ac_cv_host" >&6; }
3840 case $ac_cv_host in
3841 *-*-*) ;;
3842 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3843 esac
3844 host=$ac_cv_host
3845 ac_save_IFS=$IFS; IFS='-'
3846 set x $ac_cv_host
3847 shift
3848 host_cpu=$1
3849 host_vendor=$2
3850 shift; shift
3851 # Remember, the first character of IFS is used to create $*,
3852 # except with old shells:
3853 host_os=$*
3854 IFS=$ac_save_IFS
3855 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3859 case "$srcdir" in
3860 .) ;;
3861 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3862 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3863 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3864 fi ;;
3865 esac
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3869 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3870 set x ${MAKE-make}
3871 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3872 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3873 $as_echo_n "(cached) " >&6
3874 else
3875 cat >conftest.make <<\_ACEOF
3876 SHELL = /bin/sh
3877 all:
3878 @echo '@@@%%%=$(MAKE)=@@@%%%'
3879 _ACEOF
3880 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3881 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3882 *@@@%%%=?*=@@@%%%*)
3883 eval ac_cv_prog_make_${ac_make}_set=yes;;
3885 eval ac_cv_prog_make_${ac_make}_set=no;;
3886 esac
3887 rm -f conftest.make
3889 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3891 $as_echo "yes" >&6; }
3892 SET_MAKE=
3893 else
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3895 $as_echo "no" >&6; }
3896 SET_MAKE="MAKE=${MAKE-make}"
3899 ac_ext=c
3900 ac_cpp='$CPP $CPPFLAGS'
3901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3904 if test -n "$ac_tool_prefix"; then
3905 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3906 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3908 $as_echo_n "checking for $ac_word... " >&6; }
3909 if ${ac_cv_prog_CC+:} false; then :
3910 $as_echo_n "(cached) " >&6
3911 else
3912 if test -n "$CC"; then
3913 ac_cv_prog_CC="$CC" # Let the user override the test.
3914 else
3915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3916 for as_dir in $PATH
3918 IFS=$as_save_IFS
3919 test -z "$as_dir" && as_dir=.
3920 for ac_exec_ext in '' $ac_executable_extensions; do
3921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3922 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3924 break 2
3926 done
3927 done
3928 IFS=$as_save_IFS
3932 CC=$ac_cv_prog_CC
3933 if test -n "$CC"; then
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3935 $as_echo "$CC" >&6; }
3936 else
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3938 $as_echo "no" >&6; }
3943 if test -z "$ac_cv_prog_CC"; then
3944 ac_ct_CC=$CC
3945 # Extract the first word of "gcc", so it can be a program name with args.
3946 set dummy gcc; ac_word=$2
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3950 $as_echo_n "(cached) " >&6
3951 else
3952 if test -n "$ac_ct_CC"; then
3953 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3954 else
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in $PATH
3958 IFS=$as_save_IFS
3959 test -z "$as_dir" && as_dir=.
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3962 ac_cv_prog_ac_ct_CC="gcc"
3963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 break 2
3966 done
3967 done
3968 IFS=$as_save_IFS
3972 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3973 if test -n "$ac_ct_CC"; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3975 $as_echo "$ac_ct_CC" >&6; }
3976 else
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3981 if test "x$ac_ct_CC" = x; then
3982 CC=""
3983 else
3984 case $cross_compiling:$ac_tool_warned in
3985 yes:)
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3988 ac_tool_warned=yes ;;
3989 esac
3990 CC=$ac_ct_CC
3992 else
3993 CC="$ac_cv_prog_CC"
3996 if test -z "$CC"; then
3997 if test -n "$ac_tool_prefix"; then
3998 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3999 set dummy ${ac_tool_prefix}cc; ac_word=$2
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4001 $as_echo_n "checking for $ac_word... " >&6; }
4002 if ${ac_cv_prog_CC+:} false; then :
4003 $as_echo_n "(cached) " >&6
4004 else
4005 if test -n "$CC"; then
4006 ac_cv_prog_CC="$CC" # Let the user override the test.
4007 else
4008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4009 for as_dir in $PATH
4011 IFS=$as_save_IFS
4012 test -z "$as_dir" && as_dir=.
4013 for ac_exec_ext in '' $ac_executable_extensions; do
4014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4015 ac_cv_prog_CC="${ac_tool_prefix}cc"
4016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4017 break 2
4019 done
4020 done
4021 IFS=$as_save_IFS
4025 CC=$ac_cv_prog_CC
4026 if test -n "$CC"; then
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4028 $as_echo "$CC" >&6; }
4029 else
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4031 $as_echo "no" >&6; }
4037 if test -z "$CC"; then
4038 # Extract the first word of "cc", so it can be a program name with args.
4039 set dummy cc; ac_word=$2
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4041 $as_echo_n "checking for $ac_word... " >&6; }
4042 if ${ac_cv_prog_CC+:} false; then :
4043 $as_echo_n "(cached) " >&6
4044 else
4045 if test -n "$CC"; then
4046 ac_cv_prog_CC="$CC" # Let the user override the test.
4047 else
4048 ac_prog_rejected=no
4049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4050 for as_dir in $PATH
4052 IFS=$as_save_IFS
4053 test -z "$as_dir" && as_dir=.
4054 for ac_exec_ext in '' $ac_executable_extensions; do
4055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4056 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4057 ac_prog_rejected=yes
4058 continue
4060 ac_cv_prog_CC="cc"
4061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 break 2
4064 done
4065 done
4066 IFS=$as_save_IFS
4068 if test $ac_prog_rejected = yes; then
4069 # We found a bogon in the path, so make sure we never use it.
4070 set dummy $ac_cv_prog_CC
4071 shift
4072 if test $# != 0; then
4073 # We chose a different compiler from the bogus one.
4074 # However, it has the same basename, so the bogon will be chosen
4075 # first if we set CC to just the basename; use the full file name.
4076 shift
4077 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4082 CC=$ac_cv_prog_CC
4083 if test -n "$CC"; then
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4085 $as_echo "$CC" >&6; }
4086 else
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4088 $as_echo "no" >&6; }
4093 if test -z "$CC"; then
4094 if test -n "$ac_tool_prefix"; then
4095 for ac_prog in cl.exe
4097 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4098 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4100 $as_echo_n "checking for $ac_word... " >&6; }
4101 if ${ac_cv_prog_CC+:} false; then :
4102 $as_echo_n "(cached) " >&6
4103 else
4104 if test -n "$CC"; then
4105 ac_cv_prog_CC="$CC" # Let the user override the test.
4106 else
4107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4108 for as_dir in $PATH
4110 IFS=$as_save_IFS
4111 test -z "$as_dir" && as_dir=.
4112 for ac_exec_ext in '' $ac_executable_extensions; do
4113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4114 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4116 break 2
4118 done
4119 done
4120 IFS=$as_save_IFS
4124 CC=$ac_cv_prog_CC
4125 if test -n "$CC"; then
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4127 $as_echo "$CC" >&6; }
4128 else
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4130 $as_echo "no" >&6; }
4134 test -n "$CC" && break
4135 done
4137 if test -z "$CC"; then
4138 ac_ct_CC=$CC
4139 for ac_prog in cl.exe
4141 # Extract the first word of "$ac_prog", so it can be a program name with args.
4142 set dummy $ac_prog; ac_word=$2
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4144 $as_echo_n "checking for $ac_word... " >&6; }
4145 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4146 $as_echo_n "(cached) " >&6
4147 else
4148 if test -n "$ac_ct_CC"; then
4149 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4150 else
4151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4152 for as_dir in $PATH
4154 IFS=$as_save_IFS
4155 test -z "$as_dir" && as_dir=.
4156 for ac_exec_ext in '' $ac_executable_extensions; do
4157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4158 ac_cv_prog_ac_ct_CC="$ac_prog"
4159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4160 break 2
4162 done
4163 done
4164 IFS=$as_save_IFS
4168 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4169 if test -n "$ac_ct_CC"; then
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4171 $as_echo "$ac_ct_CC" >&6; }
4172 else
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4174 $as_echo "no" >&6; }
4178 test -n "$ac_ct_CC" && break
4179 done
4181 if test "x$ac_ct_CC" = x; then
4182 CC=""
4183 else
4184 case $cross_compiling:$ac_tool_warned in
4185 yes:)
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4188 ac_tool_warned=yes ;;
4189 esac
4190 CC=$ac_ct_CC
4197 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4199 as_fn_error $? "no acceptable C compiler found in \$PATH
4200 See \`config.log' for more details" "$LINENO" 5; }
4202 # Provide some information about the compiler.
4203 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4204 set X $ac_compile
4205 ac_compiler=$2
4206 for ac_option in --version -v -V -qversion; do
4207 { { ac_try="$ac_compiler $ac_option >&5"
4208 case "(($ac_try" in
4209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4210 *) ac_try_echo=$ac_try;;
4211 esac
4212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4213 $as_echo "$ac_try_echo"; } >&5
4214 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4215 ac_status=$?
4216 if test -s conftest.err; then
4217 sed '10a\
4218 ... rest of stderr output deleted ...
4219 10q' conftest.err >conftest.er1
4220 cat conftest.er1 >&5
4222 rm -f conftest.er1 conftest.err
4223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4224 test $ac_status = 0; }
4225 done
4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228 /* end confdefs.h. */
4231 main ()
4235 return 0;
4237 _ACEOF
4238 ac_clean_files_save=$ac_clean_files
4239 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4240 # Try to create an executable without -o first, disregard a.out.
4241 # It will help us diagnose broken compilers, and finding out an intuition
4242 # of exeext.
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4244 $as_echo_n "checking whether the C compiler works... " >&6; }
4245 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4247 # The possible output files:
4248 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4250 ac_rmfiles=
4251 for ac_file in $ac_files
4253 case $ac_file in
4254 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4255 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4256 esac
4257 done
4258 rm -f $ac_rmfiles
4260 if { { ac_try="$ac_link_default"
4261 case "(($ac_try" in
4262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4263 *) ac_try_echo=$ac_try;;
4264 esac
4265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4266 $as_echo "$ac_try_echo"; } >&5
4267 (eval "$ac_link_default") 2>&5
4268 ac_status=$?
4269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4270 test $ac_status = 0; }; then :
4271 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4272 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4273 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4274 # so that the user can short-circuit this test for compilers unknown to
4275 # Autoconf.
4276 for ac_file in $ac_files ''
4278 test -f "$ac_file" || continue
4279 case $ac_file in
4280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4282 [ab].out )
4283 # We found the default executable, but exeext='' is most
4284 # certainly right.
4285 break;;
4286 *.* )
4287 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4288 then :; else
4289 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4291 # We set ac_cv_exeext here because the later test for it is not
4292 # safe: cross compilers may not add the suffix if given an `-o'
4293 # argument, so we may need to know it at that point already.
4294 # Even if this section looks crufty: it has the advantage of
4295 # actually working.
4296 break;;
4298 break;;
4299 esac
4300 done
4301 test "$ac_cv_exeext" = no && ac_cv_exeext=
4303 else
4304 ac_file=''
4306 if test -z "$ac_file"; then :
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4308 $as_echo "no" >&6; }
4309 $as_echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.$ac_ext >&5
4312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4314 as_fn_error 77 "C compiler cannot create executables
4315 See \`config.log' for more details" "$LINENO" 5; }
4316 else
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4318 $as_echo "yes" >&6; }
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4321 $as_echo_n "checking for C compiler default output file name... " >&6; }
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4323 $as_echo "$ac_file" >&6; }
4324 ac_exeext=$ac_cv_exeext
4326 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4327 ac_clean_files=$ac_clean_files_save
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4329 $as_echo_n "checking for suffix of executables... " >&6; }
4330 if { { ac_try="$ac_link"
4331 case "(($ac_try" in
4332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4334 esac
4335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4336 $as_echo "$ac_try_echo"; } >&5
4337 (eval "$ac_link") 2>&5
4338 ac_status=$?
4339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4340 test $ac_status = 0; }; then :
4341 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4342 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4343 # work properly (i.e., refer to `conftest.exe'), while it won't with
4344 # `rm'.
4345 for ac_file in conftest.exe conftest conftest.*; do
4346 test -f "$ac_file" || continue
4347 case $ac_file in
4348 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4349 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4350 break;;
4351 * ) break;;
4352 esac
4353 done
4354 else
4355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4357 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4358 See \`config.log' for more details" "$LINENO" 5; }
4360 rm -f conftest conftest$ac_cv_exeext
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4362 $as_echo "$ac_cv_exeext" >&6; }
4364 rm -f conftest.$ac_ext
4365 EXEEXT=$ac_cv_exeext
4366 ac_exeext=$EXEEXT
4367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4369 #include <stdio.h>
4371 main ()
4373 FILE *f = fopen ("conftest.out", "w");
4374 return ferror (f) || fclose (f) != 0;
4377 return 0;
4379 _ACEOF
4380 ac_clean_files="$ac_clean_files conftest.out"
4381 # Check that the compiler produces executables we can run. If not, either
4382 # the compiler is broken, or we cross compile.
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4384 $as_echo_n "checking whether we are cross compiling... " >&6; }
4385 if test "$cross_compiling" != yes; then
4386 { { ac_try="$ac_link"
4387 case "(($ac_try" in
4388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4389 *) ac_try_echo=$ac_try;;
4390 esac
4391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4392 $as_echo "$ac_try_echo"; } >&5
4393 (eval "$ac_link") 2>&5
4394 ac_status=$?
4395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4396 test $ac_status = 0; }
4397 if { ac_try='./conftest$ac_cv_exeext'
4398 { { case "(($ac_try" in
4399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4400 *) ac_try_echo=$ac_try;;
4401 esac
4402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4403 $as_echo "$ac_try_echo"; } >&5
4404 (eval "$ac_try") 2>&5
4405 ac_status=$?
4406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4407 test $ac_status = 0; }; }; then
4408 cross_compiling=no
4409 else
4410 if test "$cross_compiling" = maybe; then
4411 cross_compiling=yes
4412 else
4413 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4415 as_fn_error $? "cannot run C compiled programs.
4416 If you meant to cross compile, use \`--host'.
4417 See \`config.log' for more details" "$LINENO" 5; }
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4422 $as_echo "$cross_compiling" >&6; }
4424 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4425 ac_clean_files=$ac_clean_files_save
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4427 $as_echo_n "checking for suffix of object files... " >&6; }
4428 if ${ac_cv_objext+:} false; then :
4429 $as_echo_n "(cached) " >&6
4430 else
4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4432 /* end confdefs.h. */
4435 main ()
4439 return 0;
4441 _ACEOF
4442 rm -f conftest.o conftest.obj
4443 if { { ac_try="$ac_compile"
4444 case "(($ac_try" in
4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4447 esac
4448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4449 $as_echo "$ac_try_echo"; } >&5
4450 (eval "$ac_compile") 2>&5
4451 ac_status=$?
4452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4453 test $ac_status = 0; }; then :
4454 for ac_file in conftest.o conftest.obj conftest.*; do
4455 test -f "$ac_file" || continue;
4456 case $ac_file in
4457 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4458 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4459 break;;
4460 esac
4461 done
4462 else
4463 $as_echo "$as_me: failed program was:" >&5
4464 sed 's/^/| /' conftest.$ac_ext >&5
4466 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4468 as_fn_error $? "cannot compute suffix of object files: cannot compile
4469 See \`config.log' for more details" "$LINENO" 5; }
4471 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4474 $as_echo "$ac_cv_objext" >&6; }
4475 OBJEXT=$ac_cv_objext
4476 ac_objext=$OBJEXT
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4478 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4479 if ${ac_cv_c_compiler_gnu+:} false; then :
4480 $as_echo_n "(cached) " >&6
4481 else
4482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4483 /* end confdefs.h. */
4486 main ()
4488 #ifndef __GNUC__
4489 choke me
4490 #endif
4493 return 0;
4495 _ACEOF
4496 if ac_fn_c_try_compile "$LINENO"; then :
4497 ac_compiler_gnu=yes
4498 else
4499 ac_compiler_gnu=no
4501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4502 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4506 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4507 if test $ac_compiler_gnu = yes; then
4508 GCC=yes
4509 else
4510 GCC=
4512 ac_test_CFLAGS=${CFLAGS+set}
4513 ac_save_CFLAGS=$CFLAGS
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4515 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4516 if ${ac_cv_prog_cc_g+:} false; then :
4517 $as_echo_n "(cached) " >&6
4518 else
4519 ac_save_c_werror_flag=$ac_c_werror_flag
4520 ac_c_werror_flag=yes
4521 ac_cv_prog_cc_g=no
4522 CFLAGS="-g"
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4527 main ()
4531 return 0;
4533 _ACEOF
4534 if ac_fn_c_try_compile "$LINENO"; then :
4535 ac_cv_prog_cc_g=yes
4536 else
4537 CFLAGS=""
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4542 main ()
4546 return 0;
4548 _ACEOF
4549 if ac_fn_c_try_compile "$LINENO"; then :
4551 else
4552 ac_c_werror_flag=$ac_save_c_werror_flag
4553 CFLAGS="-g"
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4558 main ()
4562 return 0;
4564 _ACEOF
4565 if ac_fn_c_try_compile "$LINENO"; then :
4566 ac_cv_prog_cc_g=yes
4568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 ac_c_werror_flag=$ac_save_c_werror_flag
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4576 $as_echo "$ac_cv_prog_cc_g" >&6; }
4577 if test "$ac_test_CFLAGS" = set; then
4578 CFLAGS=$ac_save_CFLAGS
4579 elif test $ac_cv_prog_cc_g = yes; then
4580 if test "$GCC" = yes; then
4581 CFLAGS="-g -O2"
4582 else
4583 CFLAGS="-g"
4585 else
4586 if test "$GCC" = yes; then
4587 CFLAGS="-O2"
4588 else
4589 CFLAGS=
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4593 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4594 if ${ac_cv_prog_cc_c89+:} false; then :
4595 $as_echo_n "(cached) " >&6
4596 else
4597 ac_cv_prog_cc_c89=no
4598 ac_save_CC=$CC
4599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4601 #include <stdarg.h>
4602 #include <stdio.h>
4603 struct stat;
4604 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4605 struct buf { int x; };
4606 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4607 static char *e (p, i)
4608 char **p;
4609 int i;
4611 return p[i];
4613 static char *f (char * (*g) (char **, int), char **p, ...)
4615 char *s;
4616 va_list v;
4617 va_start (v,p);
4618 s = g (p, va_arg (v,int));
4619 va_end (v);
4620 return s;
4623 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4624 function prototypes and stuff, but not '\xHH' hex character constants.
4625 These don't provoke an error unfortunately, instead are silently treated
4626 as 'x'. The following induces an error, until -std is added to get
4627 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4628 array size at least. It's necessary to write '\x00'==0 to get something
4629 that's true only with -std. */
4630 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4632 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4633 inside strings and character constants. */
4634 #define FOO(x) 'x'
4635 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4637 int test (int i, double x);
4638 struct s1 {int (*f) (int a);};
4639 struct s2 {int (*f) (double a);};
4640 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4641 int argc;
4642 char **argv;
4644 main ()
4646 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4648 return 0;
4650 _ACEOF
4651 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4652 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4654 CC="$ac_save_CC $ac_arg"
4655 if ac_fn_c_try_compile "$LINENO"; then :
4656 ac_cv_prog_cc_c89=$ac_arg
4658 rm -f core conftest.err conftest.$ac_objext
4659 test "x$ac_cv_prog_cc_c89" != "xno" && break
4660 done
4661 rm -f conftest.$ac_ext
4662 CC=$ac_save_CC
4665 # AC_CACHE_VAL
4666 case "x$ac_cv_prog_cc_c89" in
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4669 $as_echo "none needed" >&6; } ;;
4670 xno)
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4672 $as_echo "unsupported" >&6; } ;;
4674 CC="$CC $ac_cv_prog_cc_c89"
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4676 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4677 esac
4678 if test "x$ac_cv_prog_cc_c89" != xno; then :
4682 ac_ext=c
4683 ac_cpp='$CPP $CPPFLAGS'
4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4688 ac_ext=cpp
4689 ac_cpp='$CXXCPP $CPPFLAGS'
4690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4693 if test -z "$CXX"; then
4694 if test -n "$CCC"; then
4695 CXX=$CCC
4696 else
4697 if test -n "$ac_tool_prefix"; then
4698 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4700 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4701 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703 $as_echo_n "checking for $ac_word... " >&6; }
4704 if ${ac_cv_prog_CXX+:} false; then :
4705 $as_echo_n "(cached) " >&6
4706 else
4707 if test -n "$CXX"; then
4708 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4709 else
4710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4711 for as_dir in $PATH
4713 IFS=$as_save_IFS
4714 test -z "$as_dir" && as_dir=.
4715 for ac_exec_ext in '' $ac_executable_extensions; do
4716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4717 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4719 break 2
4721 done
4722 done
4723 IFS=$as_save_IFS
4727 CXX=$ac_cv_prog_CXX
4728 if test -n "$CXX"; then
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4730 $as_echo "$CXX" >&6; }
4731 else
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733 $as_echo "no" >&6; }
4737 test -n "$CXX" && break
4738 done
4740 if test -z "$CXX"; then
4741 ac_ct_CXX=$CXX
4742 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4744 # Extract the first word of "$ac_prog", so it can be a program name with args.
4745 set dummy $ac_prog; ac_word=$2
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4747 $as_echo_n "checking for $ac_word... " >&6; }
4748 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4749 $as_echo_n "(cached) " >&6
4750 else
4751 if test -n "$ac_ct_CXX"; then
4752 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4753 else
4754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4755 for as_dir in $PATH
4757 IFS=$as_save_IFS
4758 test -z "$as_dir" && as_dir=.
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4761 ac_cv_prog_ac_ct_CXX="$ac_prog"
4762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 break 2
4765 done
4766 done
4767 IFS=$as_save_IFS
4771 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4772 if test -n "$ac_ct_CXX"; then
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4774 $as_echo "$ac_ct_CXX" >&6; }
4775 else
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4777 $as_echo "no" >&6; }
4781 test -n "$ac_ct_CXX" && break
4782 done
4784 if test "x$ac_ct_CXX" = x; then
4785 CXX="g++"
4786 else
4787 case $cross_compiling:$ac_tool_warned in
4788 yes:)
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4791 ac_tool_warned=yes ;;
4792 esac
4793 CXX=$ac_ct_CXX
4799 # Provide some information about the compiler.
4800 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4801 set X $ac_compile
4802 ac_compiler=$2
4803 for ac_option in --version -v -V -qversion; do
4804 { { ac_try="$ac_compiler $ac_option >&5"
4805 case "(($ac_try" in
4806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4807 *) ac_try_echo=$ac_try;;
4808 esac
4809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4810 $as_echo "$ac_try_echo"; } >&5
4811 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4812 ac_status=$?
4813 if test -s conftest.err; then
4814 sed '10a\
4815 ... rest of stderr output deleted ...
4816 10q' conftest.err >conftest.er1
4817 cat conftest.er1 >&5
4819 rm -f conftest.er1 conftest.err
4820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4821 test $ac_status = 0; }
4822 done
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4825 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4826 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4827 $as_echo_n "(cached) " >&6
4828 else
4829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830 /* end confdefs.h. */
4833 main ()
4835 #ifndef __GNUC__
4836 choke me
4837 #endif
4840 return 0;
4842 _ACEOF
4843 if ac_fn_cxx_try_compile "$LINENO"; then :
4844 ac_compiler_gnu=yes
4845 else
4846 ac_compiler_gnu=no
4848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4849 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4853 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4854 if test $ac_compiler_gnu = yes; then
4855 GXX=yes
4856 else
4857 GXX=
4859 ac_test_CXXFLAGS=${CXXFLAGS+set}
4860 ac_save_CXXFLAGS=$CXXFLAGS
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4862 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4863 if ${ac_cv_prog_cxx_g+:} false; then :
4864 $as_echo_n "(cached) " >&6
4865 else
4866 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4867 ac_cxx_werror_flag=yes
4868 ac_cv_prog_cxx_g=no
4869 CXXFLAGS="-g"
4870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4871 /* end confdefs.h. */
4874 main ()
4878 return 0;
4880 _ACEOF
4881 if ac_fn_cxx_try_compile "$LINENO"; then :
4882 ac_cv_prog_cxx_g=yes
4883 else
4884 CXXFLAGS=""
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4889 main ()
4893 return 0;
4895 _ACEOF
4896 if ac_fn_cxx_try_compile "$LINENO"; then :
4898 else
4899 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4900 CXXFLAGS="-g"
4901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4902 /* end confdefs.h. */
4905 main ()
4909 return 0;
4911 _ACEOF
4912 if ac_fn_cxx_try_compile "$LINENO"; then :
4913 ac_cv_prog_cxx_g=yes
4915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4920 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4923 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4924 if test "$ac_test_CXXFLAGS" = set; then
4925 CXXFLAGS=$ac_save_CXXFLAGS
4926 elif test $ac_cv_prog_cxx_g = yes; then
4927 if test "$GXX" = yes; then
4928 CXXFLAGS="-g -O2"
4929 else
4930 CXXFLAGS="-g"
4932 else
4933 if test "$GXX" = yes; then
4934 CXXFLAGS="-O2"
4935 else
4936 CXXFLAGS=
4939 ac_ext=c
4940 ac_cpp='$CPP $CPPFLAGS'
4941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4945 if test -n "$ac_tool_prefix"; then
4946 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4947 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 $as_echo_n "checking for $ac_word... " >&6; }
4950 if ${ac_cv_prog_CPPBIN+:} false; then :
4951 $as_echo_n "(cached) " >&6
4952 else
4953 if test -n "$CPPBIN"; then
4954 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4955 else
4956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957 for as_dir in $PATH
4959 IFS=$as_save_IFS
4960 test -z "$as_dir" && as_dir=.
4961 for ac_exec_ext in '' $ac_executable_extensions; do
4962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4963 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4965 break 2
4967 done
4968 done
4969 IFS=$as_save_IFS
4973 CPPBIN=$ac_cv_prog_CPPBIN
4974 if test -n "$CPPBIN"; then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4976 $as_echo "$CPPBIN" >&6; }
4977 else
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979 $as_echo "no" >&6; }
4984 if test -z "$ac_cv_prog_CPPBIN"; then
4985 ac_ct_CPPBIN=$CPPBIN
4986 # Extract the first word of "cpp", so it can be a program name with args.
4987 set dummy cpp; ac_word=$2
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 $as_echo_n "checking for $ac_word... " >&6; }
4990 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4991 $as_echo_n "(cached) " >&6
4992 else
4993 if test -n "$ac_ct_CPPBIN"; then
4994 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4995 else
4996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 for as_dir in $PATH
4999 IFS=$as_save_IFS
5000 test -z "$as_dir" && as_dir=.
5001 for ac_exec_ext in '' $ac_executable_extensions; do
5002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5003 ac_cv_prog_ac_ct_CPPBIN="cpp"
5004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5005 break 2
5007 done
5008 done
5009 IFS=$as_save_IFS
5013 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5014 if test -n "$ac_ct_CPPBIN"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5016 $as_echo "$ac_ct_CPPBIN" >&6; }
5017 else
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 $as_echo "no" >&6; }
5022 if test "x$ac_ct_CPPBIN" = x; then
5023 CPPBIN="cpp"
5024 else
5025 case $cross_compiling:$ac_tool_warned in
5026 yes:)
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5029 ac_tool_warned=yes ;;
5030 esac
5031 CPPBIN=$ac_ct_CPPBIN
5033 else
5034 CPPBIN="$ac_cv_prog_CPPBIN"
5038 cat >>confdefs.h <<_ACEOF
5039 #define EXEEXT "$ac_exeext"
5040 _ACEOF
5042 if test -n "$ac_tool_prefix"; then
5043 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5044 set dummy ${ac_tool_prefix}ld; ac_word=$2
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5046 $as_echo_n "checking for $ac_word... " >&6; }
5047 if ${ac_cv_prog_LD+:} false; then :
5048 $as_echo_n "(cached) " >&6
5049 else
5050 if test -n "$LD"; then
5051 ac_cv_prog_LD="$LD" # Let the user override the test.
5052 else
5053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5054 for as_dir in $PATH
5056 IFS=$as_save_IFS
5057 test -z "$as_dir" && as_dir=.
5058 for ac_exec_ext in '' $ac_executable_extensions; do
5059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5060 ac_cv_prog_LD="${ac_tool_prefix}ld"
5061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5062 break 2
5064 done
5065 done
5066 IFS=$as_save_IFS
5070 LD=$ac_cv_prog_LD
5071 if test -n "$LD"; then
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5073 $as_echo "$LD" >&6; }
5074 else
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076 $as_echo "no" >&6; }
5081 if test -z "$ac_cv_prog_LD"; then
5082 ac_ct_LD=$LD
5083 # Extract the first word of "ld", so it can be a program name with args.
5084 set dummy ld; ac_word=$2
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5088 $as_echo_n "(cached) " >&6
5089 else
5090 if test -n "$ac_ct_LD"; then
5091 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5092 else
5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094 for as_dir in $PATH
5096 IFS=$as_save_IFS
5097 test -z "$as_dir" && as_dir=.
5098 for ac_exec_ext in '' $ac_executable_extensions; do
5099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5100 ac_cv_prog_ac_ct_LD="ld"
5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102 break 2
5104 done
5105 done
5106 IFS=$as_save_IFS
5110 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5111 if test -n "$ac_ct_LD"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5113 $as_echo "$ac_ct_LD" >&6; }
5114 else
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5119 if test "x$ac_ct_LD" = x; then
5120 LD=""
5121 else
5122 case $cross_compiling:$ac_tool_warned in
5123 yes:)
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5126 ac_tool_warned=yes ;;
5127 esac
5128 LD=$ac_ct_LD
5130 else
5131 LD="$ac_cv_prog_LD"
5135 case $host in
5136 *-darwin*)
5137 with_fontconfig=${with_fontconfig:-no}
5139 *-mingw32*|*-cygwin*)
5140 enable_win16=${enable_win16:-no}
5141 CFLAGS="$CFLAGS -D_WIN32"
5143 esac
5145 case $host in
5146 x86_64*|amd64*)
5147 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5148 then
5149 CC="$CC -m32"
5150 CXX="$CXX -m32"
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5152 $as_echo_n "checking whether $CC works... " >&6; }
5154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5155 /* end confdefs.h. */
5158 main ()
5162 return 0;
5164 _ACEOF
5165 if ac_fn_c_try_link "$LINENO"; then :
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5167 $as_echo "yes" >&6; }
5168 else
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5170 $as_echo "no" >&6; }
5171 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5173 rm -f core conftest.err conftest.$ac_objext \
5174 conftest$ac_exeext conftest.$ac_ext
5175 host_cpu="i386"
5176 notice_platform="32-bit "
5177 TARGETFLAGS="-m32"
5179 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5180 export PKG_CONFIG_PATH
5181 enable_win16=${enable_win16:-yes}
5182 else
5183 if test "x${GCC}" = "xyes"
5184 then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5186 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5188 /* end confdefs.h. */
5189 #include <stdarg.h>
5191 main ()
5193 void func(__builtin_ms_va_list *args);
5195 return 0;
5197 _ACEOF
5198 if ac_fn_c_try_compile "$LINENO"; then :
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5200 $as_echo "yes" >&6; }
5201 else
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5204 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5208 CC="$CC -m64"
5209 CXX="$CXX -m64"
5210 host_cpu="x86_64"
5211 notice_platform="64-bit "
5212 TARGETFLAGS="-m64"
5216 arm*)
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5218 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5220 /* end confdefs.h. */
5221 int ac_test(int i) { return i; }
5223 main ()
5225 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5227 return 0;
5229 _ACEOF
5230 if ac_fn_c_try_link "$LINENO"; then :
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5232 $as_echo "yes" >&6; }
5233 else
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5236 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5238 rm -f core conftest.err conftest.$ac_objext \
5239 conftest$ac_exeext conftest.$ac_ext
5240 CFLAGS="$CFLAGS -marm"
5241 TARGETFLAGS="-marm"
5244 i[3456789]86*)
5245 enable_win16=${enable_win16:-yes}
5247 esac
5249 enable_win16=${enable_win16:-no}
5250 enable_win64=${enable_win64:-no}
5252 enable_winetest=${enable_winetest:-$enable_tests}
5254 if test -n "$with_wine64"
5255 then
5256 if test "x$enable_win64" = "xyes"
5257 then
5258 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5259 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5261 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5262 You should create a separate build directory and run configure from there." "$LINENO" 5
5263 enable_fonts=${enable_fonts:-no}
5264 enable_server=${enable_server:-no}
5265 elif test "x$enable_win64" = "xyes"
5266 then
5267 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5271 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5272 if ${wine_cv_toolsdir+:} false; then :
5273 $as_echo_n "(cached) " >&6
5274 else
5275 wine_cv_toolsdir="$with_wine_tools"
5276 if test -z "$with_wine_tools"; then
5277 if test "$cross_compiling" = "yes"; then
5278 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5279 elif test -n "$with_wine64"; then
5280 wine_cv_toolsdir="$with_wine64"
5283 if test -z "$wine_cv_toolsdir"; then
5284 wine_makedep=tools/makedep
5285 wine_cv_toolsdir="\$(top_builddir)"
5286 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5287 wine_makedep=$wine_cv_toolsdir/tools/makedep
5288 case "$wine_cv_toolsdir" in
5289 /*) ;;
5290 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5291 esac
5292 enable_tools=${enable_tools:-no}
5293 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5294 else
5295 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5299 $as_echo "$wine_cv_toolsdir" >&6; }
5300 TOOLSDIR=$wine_cv_toolsdir
5302 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5303 then
5304 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5308 for ac_prog in flex
5310 # Extract the first word of "$ac_prog", so it can be a program name with args.
5311 set dummy $ac_prog; ac_word=$2
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5313 $as_echo_n "checking for $ac_word... " >&6; }
5314 if ${ac_cv_prog_FLEX+:} false; then :
5315 $as_echo_n "(cached) " >&6
5316 else
5317 if test -n "$FLEX"; then
5318 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5319 else
5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5321 for as_dir in $PATH
5323 IFS=$as_save_IFS
5324 test -z "$as_dir" && as_dir=.
5325 for ac_exec_ext in '' $ac_executable_extensions; do
5326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5327 ac_cv_prog_FLEX="$ac_prog"
5328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 break 2
5331 done
5332 done
5333 IFS=$as_save_IFS
5337 FLEX=$ac_cv_prog_FLEX
5338 if test -n "$FLEX"; then
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5340 $as_echo "$FLEX" >&6; }
5341 else
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5343 $as_echo "no" >&6; }
5347 test -n "$FLEX" && break
5348 done
5349 test -n "$FLEX" || FLEX="none"
5351 if test "$FLEX" = "none"
5352 then
5353 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5356 $as_echo_n "checking whether flex is recent enough... " >&6; }
5357 cat >conftest.l <<EOF
5358 %top{
5359 #include "prediluvian.h"
5363 if $FLEX -t conftest.l >/dev/null 2>&5
5364 then
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5366 $as_echo "yes" >&6; }
5367 else
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5369 $as_echo "no" >&6; }
5370 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5373 for ac_prog in bison
5375 # Extract the first word of "$ac_prog", so it can be a program name with args.
5376 set dummy $ac_prog; ac_word=$2
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5378 $as_echo_n "checking for $ac_word... " >&6; }
5379 if ${ac_cv_prog_BISON+:} false; then :
5380 $as_echo_n "(cached) " >&6
5381 else
5382 if test -n "$BISON"; then
5383 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5384 else
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 for as_dir in $PATH
5388 IFS=$as_save_IFS
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5392 ac_cv_prog_BISON="$ac_prog"
5393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 break 2
5396 done
5397 done
5398 IFS=$as_save_IFS
5402 BISON=$ac_cv_prog_BISON
5403 if test -n "$BISON"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5405 $as_echo "$BISON" >&6; }
5406 else
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5412 test -n "$BISON" && break
5413 done
5414 test -n "$BISON" || BISON="none"
5416 if test "$BISON" = "none"
5417 then
5418 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5421 if test -n "$ac_tool_prefix"; then
5422 for ac_prog in ar gar
5424 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5425 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5427 $as_echo_n "checking for $ac_word... " >&6; }
5428 if ${ac_cv_prog_AR+:} false; then :
5429 $as_echo_n "(cached) " >&6
5430 else
5431 if test -n "$AR"; then
5432 ac_cv_prog_AR="$AR" # Let the user override the test.
5433 else
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 for as_dir in $PATH
5437 IFS=$as_save_IFS
5438 test -z "$as_dir" && as_dir=.
5439 for ac_exec_ext in '' $ac_executable_extensions; do
5440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5441 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5443 break 2
5445 done
5446 done
5447 IFS=$as_save_IFS
5451 AR=$ac_cv_prog_AR
5452 if test -n "$AR"; then
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5454 $as_echo "$AR" >&6; }
5455 else
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5457 $as_echo "no" >&6; }
5461 test -n "$AR" && break
5462 done
5464 if test -z "$AR"; then
5465 ac_ct_AR=$AR
5466 for ac_prog in ar gar
5468 # Extract the first word of "$ac_prog", so it can be a program name with args.
5469 set dummy $ac_prog; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5473 $as_echo_n "(cached) " >&6
5474 else
5475 if test -n "$ac_ct_AR"; then
5476 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5477 else
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 for as_dir in $PATH
5481 IFS=$as_save_IFS
5482 test -z "$as_dir" && as_dir=.
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_prog_ac_ct_AR="$ac_prog"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 break 2
5489 done
5490 done
5491 IFS=$as_save_IFS
5495 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5496 if test -n "$ac_ct_AR"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5498 $as_echo "$ac_ct_AR" >&6; }
5499 else
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5505 test -n "$ac_ct_AR" && break
5506 done
5508 if test "x$ac_ct_AR" = x; then
5509 AR="ar"
5510 else
5511 case $cross_compiling:$ac_tool_warned in
5512 yes:)
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5515 ac_tool_warned=yes ;;
5516 esac
5517 AR=$ac_ct_AR
5521 if test -n "$ac_tool_prefix"; then
5522 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5523 set dummy ${ac_tool_prefix}strip; ac_word=$2
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5525 $as_echo_n "checking for $ac_word... " >&6; }
5526 if ${ac_cv_prog_STRIP+:} false; then :
5527 $as_echo_n "(cached) " >&6
5528 else
5529 if test -n "$STRIP"; then
5530 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5531 else
5532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 for as_dir in $PATH
5535 IFS=$as_save_IFS
5536 test -z "$as_dir" && as_dir=.
5537 for ac_exec_ext in '' $ac_executable_extensions; do
5538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5539 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 break 2
5543 done
5544 done
5545 IFS=$as_save_IFS
5549 STRIP=$ac_cv_prog_STRIP
5550 if test -n "$STRIP"; then
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5552 $as_echo "$STRIP" >&6; }
5553 else
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5555 $as_echo "no" >&6; }
5560 if test -z "$ac_cv_prog_STRIP"; then
5561 ac_ct_STRIP=$STRIP
5562 # Extract the first word of "strip", so it can be a program name with args.
5563 set dummy strip; ac_word=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5565 $as_echo_n "checking for $ac_word... " >&6; }
5566 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5567 $as_echo_n "(cached) " >&6
5568 else
5569 if test -n "$ac_ct_STRIP"; then
5570 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5571 else
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5579 ac_cv_prog_ac_ct_STRIP="strip"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 break 2
5583 done
5584 done
5585 IFS=$as_save_IFS
5589 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5590 if test -n "$ac_ct_STRIP"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5592 $as_echo "$ac_ct_STRIP" >&6; }
5593 else
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5598 if test "x$ac_ct_STRIP" = x; then
5599 STRIP="strip"
5600 else
5601 case $cross_compiling:$ac_tool_warned in
5602 yes:)
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5605 ac_tool_warned=yes ;;
5606 esac
5607 STRIP=$ac_ct_STRIP
5609 else
5610 STRIP="$ac_cv_prog_STRIP"
5613 ARFLAGS=rc
5615 if test -n "$ac_tool_prefix"; then
5616 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5617 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5619 $as_echo_n "checking for $ac_word... " >&6; }
5620 if ${ac_cv_prog_RANLIB+:} false; then :
5621 $as_echo_n "(cached) " >&6
5622 else
5623 if test -n "$RANLIB"; then
5624 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5625 else
5626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 for as_dir in $PATH
5629 IFS=$as_save_IFS
5630 test -z "$as_dir" && as_dir=.
5631 for ac_exec_ext in '' $ac_executable_extensions; do
5632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5633 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5635 break 2
5637 done
5638 done
5639 IFS=$as_save_IFS
5643 RANLIB=$ac_cv_prog_RANLIB
5644 if test -n "$RANLIB"; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5646 $as_echo "$RANLIB" >&6; }
5647 else
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }
5654 if test -z "$ac_cv_prog_RANLIB"; then
5655 ac_ct_RANLIB=$RANLIB
5656 # Extract the first word of "ranlib", so it can be a program name with args.
5657 set dummy ranlib; ac_word=$2
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5659 $as_echo_n "checking for $ac_word... " >&6; }
5660 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5661 $as_echo_n "(cached) " >&6
5662 else
5663 if test -n "$ac_ct_RANLIB"; then
5664 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5665 else
5666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667 for as_dir in $PATH
5669 IFS=$as_save_IFS
5670 test -z "$as_dir" && as_dir=.
5671 for ac_exec_ext in '' $ac_executable_extensions; do
5672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5673 ac_cv_prog_ac_ct_RANLIB="ranlib"
5674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5675 break 2
5677 done
5678 done
5679 IFS=$as_save_IFS
5683 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5684 if test -n "$ac_ct_RANLIB"; then
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5686 $as_echo "$ac_ct_RANLIB" >&6; }
5687 else
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 $as_echo "no" >&6; }
5692 if test "x$ac_ct_RANLIB" = x; then
5693 RANLIB=":"
5694 else
5695 case $cross_compiling:$ac_tool_warned in
5696 yes:)
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5699 ac_tool_warned=yes ;;
5700 esac
5701 RANLIB=$ac_ct_RANLIB
5703 else
5704 RANLIB="$ac_cv_prog_RANLIB"
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5708 $as_echo_n "checking whether ln -s works... " >&6; }
5709 LN_S=$as_ln_s
5710 if test "$LN_S" = "ln -s"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5712 $as_echo "yes" >&6; }
5713 else
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5715 $as_echo "no, using $LN_S" >&6; }
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5719 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5720 if ${ac_cv_path_GREP+:} false; then :
5721 $as_echo_n "(cached) " >&6
5722 else
5723 if test -z "$GREP"; then
5724 ac_path_GREP_found=false
5725 # Loop through the user's path and test for each of PROGNAME-LIST
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5729 IFS=$as_save_IFS
5730 test -z "$as_dir" && as_dir=.
5731 for ac_prog in grep ggrep; do
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5734 as_fn_executable_p "$ac_path_GREP" || continue
5735 # Check for GNU ac_path_GREP and select it if it is found.
5736 # Check for GNU $ac_path_GREP
5737 case `"$ac_path_GREP" --version 2>&1` in
5738 *GNU*)
5739 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5741 ac_count=0
5742 $as_echo_n 0123456789 >"conftest.in"
5743 while :
5745 cat "conftest.in" "conftest.in" >"conftest.tmp"
5746 mv "conftest.tmp" "conftest.in"
5747 cp "conftest.in" "conftest.nl"
5748 $as_echo 'GREP' >> "conftest.nl"
5749 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5750 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5751 as_fn_arith $ac_count + 1 && ac_count=$as_val
5752 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5753 # Best one so far, save it but keep looking for a better one
5754 ac_cv_path_GREP="$ac_path_GREP"
5755 ac_path_GREP_max=$ac_count
5757 # 10*(2^10) chars as input seems more than enough
5758 test $ac_count -gt 10 && break
5759 done
5760 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5761 esac
5763 $ac_path_GREP_found && break 3
5764 done
5765 done
5766 done
5767 IFS=$as_save_IFS
5768 if test -z "$ac_cv_path_GREP"; then
5769 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5771 else
5772 ac_cv_path_GREP=$GREP
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5777 $as_echo "$ac_cv_path_GREP" >&6; }
5778 GREP="$ac_cv_path_GREP"
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5782 $as_echo_n "checking for egrep... " >&6; }
5783 if ${ac_cv_path_EGREP+:} false; then :
5784 $as_echo_n "(cached) " >&6
5785 else
5786 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5787 then ac_cv_path_EGREP="$GREP -E"
5788 else
5789 if test -z "$EGREP"; then
5790 ac_path_EGREP_found=false
5791 # Loop through the user's path and test for each of PROGNAME-LIST
5792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5793 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5795 IFS=$as_save_IFS
5796 test -z "$as_dir" && as_dir=.
5797 for ac_prog in egrep; do
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5800 as_fn_executable_p "$ac_path_EGREP" || continue
5801 # Check for GNU ac_path_EGREP and select it if it is found.
5802 # Check for GNU $ac_path_EGREP
5803 case `"$ac_path_EGREP" --version 2>&1` in
5804 *GNU*)
5805 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5807 ac_count=0
5808 $as_echo_n 0123456789 >"conftest.in"
5809 while :
5811 cat "conftest.in" "conftest.in" >"conftest.tmp"
5812 mv "conftest.tmp" "conftest.in"
5813 cp "conftest.in" "conftest.nl"
5814 $as_echo 'EGREP' >> "conftest.nl"
5815 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5816 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5817 as_fn_arith $ac_count + 1 && ac_count=$as_val
5818 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5819 # Best one so far, save it but keep looking for a better one
5820 ac_cv_path_EGREP="$ac_path_EGREP"
5821 ac_path_EGREP_max=$ac_count
5823 # 10*(2^10) chars as input seems more than enough
5824 test $ac_count -gt 10 && break
5825 done
5826 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5827 esac
5829 $ac_path_EGREP_found && break 3
5830 done
5831 done
5832 done
5833 IFS=$as_save_IFS
5834 if test -z "$ac_cv_path_EGREP"; then
5835 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5837 else
5838 ac_cv_path_EGREP=$EGREP
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5844 $as_echo "$ac_cv_path_EGREP" >&6; }
5845 EGREP="$ac_cv_path_EGREP"
5848 # Extract the first word of "ldconfig", so it can be a program name with args.
5849 set dummy ldconfig; ac_word=$2
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5851 $as_echo_n "checking for $ac_word... " >&6; }
5852 if ${ac_cv_path_LDCONFIG+:} false; then :
5853 $as_echo_n "(cached) " >&6
5854 else
5855 case $LDCONFIG in
5856 [\\/]* | ?:[\\/]*)
5857 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 for as_dir in /sbin /usr/sbin $PATH
5863 IFS=$as_save_IFS
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5867 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 break 2
5871 done
5872 done
5873 IFS=$as_save_IFS
5875 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5877 esac
5879 LDCONFIG=$ac_cv_path_LDCONFIG
5880 if test -n "$LDCONFIG"; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5882 $as_echo "$LDCONFIG" >&6; }
5883 else
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5889 for ac_prog in msgfmt
5891 # Extract the first word of "$ac_prog", so it can be a program name with args.
5892 set dummy $ac_prog; ac_word=$2
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894 $as_echo_n "checking for $ac_word... " >&6; }
5895 if ${ac_cv_prog_MSGFMT+:} false; then :
5896 $as_echo_n "(cached) " >&6
5897 else
5898 if test -n "$MSGFMT"; then
5899 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5900 else
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 for as_dir in $PATH
5904 IFS=$as_save_IFS
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_MSGFMT="$ac_prog"
5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 break 2
5912 done
5913 done
5914 IFS=$as_save_IFS
5918 MSGFMT=$ac_cv_prog_MSGFMT
5919 if test -n "$MSGFMT"; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5921 $as_echo "$MSGFMT" >&6; }
5922 else
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924 $as_echo "no" >&6; }
5928 test -n "$MSGFMT" && break
5929 done
5930 test -n "$MSGFMT" || MSGFMT="false"
5932 if ${ac_tool_prefix+:} false; then :
5933 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5934 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5938 $as_echo_n "(cached) " >&6
5939 else
5940 if test -n "$PKG_CONFIG"; then
5941 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5942 else
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 for as_dir in $PATH
5946 IFS=$as_save_IFS
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 break 2
5954 done
5955 done
5956 IFS=$as_save_IFS
5960 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5961 if test -n "$PKG_CONFIG"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5963 $as_echo "$PKG_CONFIG" >&6; }
5964 else
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5971 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5972 if test "x$cross_compiling" = xyes; then :
5974 else
5975 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5976 # Extract the first word of "pkg-config", so it can be a program name with args.
5977 set dummy pkg-config; ac_word=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 $as_echo_n "checking for $ac_word... " >&6; }
5980 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5981 $as_echo_n "(cached) " >&6
5982 else
5983 if test -n "$PKG_CONFIG"; then
5984 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5985 else
5986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 for as_dir in $PATH
5989 IFS=$as_save_IFS
5990 test -z "$as_dir" && as_dir=.
5991 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5993 ac_cv_prog_PKG_CONFIG="pkg-config"
5994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 break 2
5997 done
5998 done
5999 IFS=$as_save_IFS
6003 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6004 if test -n "$PKG_CONFIG"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6006 $as_echo "$PKG_CONFIG" >&6; }
6007 else
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 $as_echo "no" >&6; }
6014 else
6015 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6018 if test "x$enable_maintainer_mode" != "xyes"
6019 then
6020 FONTFORGE=""
6021 RSVG=""
6022 CONVERT=""
6023 ICOTOOL=""
6024 else
6025 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6026 for ac_prog in fontforge
6028 # Extract the first word of "$ac_prog", so it can be a program name with args.
6029 set dummy $ac_prog; ac_word=$2
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6031 $as_echo_n "checking for $ac_word... " >&6; }
6032 if ${ac_cv_prog_FONTFORGE+:} false; then :
6033 $as_echo_n "(cached) " >&6
6034 else
6035 if test -n "$FONTFORGE"; then
6036 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6037 else
6038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 for as_dir in $PATH
6041 IFS=$as_save_IFS
6042 test -z "$as_dir" && as_dir=.
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6045 ac_cv_prog_FONTFORGE="$ac_prog"
6046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6047 break 2
6049 done
6050 done
6051 IFS=$as_save_IFS
6055 FONTFORGE=$ac_cv_prog_FONTFORGE
6056 if test -n "$FONTFORGE"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6058 $as_echo "$FONTFORGE" >&6; }
6059 else
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 $as_echo "no" >&6; }
6065 test -n "$FONTFORGE" && break
6066 done
6067 test -n "$FONTFORGE" || FONTFORGE="false"
6069 for ac_prog in rsvg-convert rsvg
6071 # Extract the first word of "$ac_prog", so it can be a program name with args.
6072 set dummy $ac_prog; ac_word=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if ${ac_cv_prog_RSVG+:} false; then :
6076 $as_echo_n "(cached) " >&6
6077 else
6078 if test -n "$RSVG"; then
6079 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6080 else
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 for as_dir in $PATH
6084 IFS=$as_save_IFS
6085 test -z "$as_dir" && as_dir=.
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_RSVG="$ac_prog"
6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 break 2
6092 done
6093 done
6094 IFS=$as_save_IFS
6098 RSVG=$ac_cv_prog_RSVG
6099 if test -n "$RSVG"; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6101 $as_echo "$RSVG" >&6; }
6102 else
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6108 test -n "$RSVG" && break
6109 done
6110 test -n "$RSVG" || RSVG="false"
6112 for ac_prog in convert
6114 # Extract the first word of "$ac_prog", so it can be a program name with args.
6115 set dummy $ac_prog; ac_word=$2
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117 $as_echo_n "checking for $ac_word... " >&6; }
6118 if ${ac_cv_prog_CONVERT+:} false; then :
6119 $as_echo_n "(cached) " >&6
6120 else
6121 if test -n "$CONVERT"; then
6122 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6123 else
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 for as_dir in $PATH
6127 IFS=$as_save_IFS
6128 test -z "$as_dir" && as_dir=.
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6131 ac_cv_prog_CONVERT="$ac_prog"
6132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6133 break 2
6135 done
6136 done
6137 IFS=$as_save_IFS
6141 CONVERT=$ac_cv_prog_CONVERT
6142 if test -n "$CONVERT"; then
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6144 $as_echo "$CONVERT" >&6; }
6145 else
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 $as_echo "no" >&6; }
6151 test -n "$CONVERT" && break
6152 done
6153 test -n "$CONVERT" || CONVERT="false"
6155 for ac_prog in icotool
6157 # Extract the first word of "$ac_prog", so it can be a program name with args.
6158 set dummy $ac_prog; ac_word=$2
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160 $as_echo_n "checking for $ac_word... " >&6; }
6161 if ${ac_cv_prog_ICOTOOL+:} false; then :
6162 $as_echo_n "(cached) " >&6
6163 else
6164 if test -n "$ICOTOOL"; then
6165 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6166 else
6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168 for as_dir in $PATH
6170 IFS=$as_save_IFS
6171 test -z "$as_dir" && as_dir=.
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6174 ac_cv_prog_ICOTOOL="$ac_prog"
6175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6176 break 2
6178 done
6179 done
6180 IFS=$as_save_IFS
6184 ICOTOOL=$ac_cv_prog_ICOTOOL
6185 if test -n "$ICOTOOL"; then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6187 $as_echo "$ICOTOOL" >&6; }
6188 else
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190 $as_echo "no" >&6; }
6194 test -n "$ICOTOOL" && break
6195 done
6196 test -n "$ICOTOOL" || ICOTOOL="false"
6198 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6199 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6201 if test "$CONVERT" = false
6202 then
6203 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6204 else
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6206 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6207 convert_version=`convert --version | head -n1`
6208 if test "x$convert_version" != "x"
6209 then
6210 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6211 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6212 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6213 then
6214 CONVERT=false
6217 if test "$CONVERT" = false
6218 then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6220 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6221 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6222 else
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6224 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6228 if test "$ICOTOOL" = false
6229 then
6230 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6231 else
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6233 $as_echo_n "checking for recent enough icotool... " >&6; }
6234 icotool_version=`icotool --version | head -n1`
6235 if test "x$icotool_version" != "x"
6236 then
6237 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6238 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6239 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6240 then
6241 ICOTOOL=false
6242 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6245 if test "$ICOTOOL" = false
6246 then
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6248 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6249 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6250 else
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6252 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6256 with_gettext=yes
6257 with_gettextpo=yes
6258 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6261 test "x$with_gettext" != xno || MSGFMT=false
6262 if test "$MSGFMT" != "false"
6263 then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6265 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6266 cat >conftest.po <<EOF
6267 # comment
6268 msgctxt "ctxt"
6269 msgid "id"
6270 msgstr "str"
6272 if $MSGFMT -o /dev/null conftest.po 2>&5
6273 then
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6275 $as_echo "yes" >&6; }
6276 else
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6278 $as_echo "no" >&6; }
6279 MSGFMT=false
6282 if test "$MSGFMT" = false; then :
6283 case "x$with_gettext" in
6284 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6285 xno) ;;
6286 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6287 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6288 esac
6289 enable_po=${enable_po:-no}
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6294 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6295 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6296 $as_echo_n "(cached) " >&6
6297 else
6298 ac_check_lib_save_LIBS=$LIBS
6299 LIBS="-li386 $LIBS"
6300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6301 /* end confdefs.h. */
6303 /* Override any GCC internal prototype to avoid an error.
6304 Use char because int might match the return type of a GCC
6305 builtin and then its argument prototype would still apply. */
6306 #ifdef __cplusplus
6307 extern "C"
6308 #endif
6309 char i386_set_ldt ();
6311 main ()
6313 return i386_set_ldt ();
6315 return 0;
6317 _ACEOF
6318 if ac_fn_c_try_link "$LINENO"; then :
6319 ac_cv_lib_i386_i386_set_ldt=yes
6320 else
6321 ac_cv_lib_i386_i386_set_ldt=no
6323 rm -f core conftest.err conftest.$ac_objext \
6324 conftest$ac_exeext conftest.$ac_ext
6325 LIBS=$ac_check_lib_save_LIBS
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6328 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6329 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6330 cat >>confdefs.h <<_ACEOF
6331 #define HAVE_LIBI386 1
6332 _ACEOF
6334 LIBS="-li386 $LIBS"
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6339 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6340 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6341 $as_echo_n "(cached) " >&6
6342 else
6343 ac_check_lib_save_LIBS=$LIBS
6344 LIBS="-lossaudio $LIBS"
6345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6346 /* end confdefs.h. */
6348 /* Override any GCC internal prototype to avoid an error.
6349 Use char because int might match the return type of a GCC
6350 builtin and then its argument prototype would still apply. */
6351 #ifdef __cplusplus
6352 extern "C"
6353 #endif
6354 char _oss_ioctl ();
6356 main ()
6358 return _oss_ioctl ();
6360 return 0;
6362 _ACEOF
6363 if ac_fn_c_try_link "$LINENO"; then :
6364 ac_cv_lib_ossaudio__oss_ioctl=yes
6365 else
6366 ac_cv_lib_ossaudio__oss_ioctl=no
6368 rm -f core conftest.err conftest.$ac_objext \
6369 conftest$ac_exeext conftest.$ac_ext
6370 LIBS=$ac_check_lib_save_LIBS
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6373 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6374 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6375 cat >>confdefs.h <<_ACEOF
6376 #define HAVE_LIBOSSAUDIO 1
6377 _ACEOF
6379 LIBS="-lossaudio $LIBS"
6384 OPENGL_LIBS=""
6388 # Check whether --enable-largefile was given.
6389 if test "${enable_largefile+set}" = set; then :
6390 enableval=$enable_largefile;
6393 if test "$enable_largefile" != no; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6396 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6397 if ${ac_cv_sys_largefile_CC+:} false; then :
6398 $as_echo_n "(cached) " >&6
6399 else
6400 ac_cv_sys_largefile_CC=no
6401 if test "$GCC" != yes; then
6402 ac_save_CC=$CC
6403 while :; do
6404 # IRIX 6.2 and later do not support large files by default,
6405 # so use the C compiler's -n32 option if that helps.
6406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6407 /* end confdefs.h. */
6408 #include <sys/types.h>
6409 /* Check that off_t can represent 2**63 - 1 correctly.
6410 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6411 since some C++ compilers masquerading as C compilers
6412 incorrectly reject 9223372036854775807. */
6413 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6414 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6415 && LARGE_OFF_T % 2147483647 == 1)
6416 ? 1 : -1];
6418 main ()
6422 return 0;
6424 _ACEOF
6425 if ac_fn_c_try_compile "$LINENO"; then :
6426 break
6428 rm -f core conftest.err conftest.$ac_objext
6429 CC="$CC -n32"
6430 if ac_fn_c_try_compile "$LINENO"; then :
6431 ac_cv_sys_largefile_CC=' -n32'; break
6433 rm -f core conftest.err conftest.$ac_objext
6434 break
6435 done
6436 CC=$ac_save_CC
6437 rm -f conftest.$ac_ext
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6441 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6442 if test "$ac_cv_sys_largefile_CC" != no; then
6443 CC=$CC$ac_cv_sys_largefile_CC
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6447 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6448 if ${ac_cv_sys_file_offset_bits+:} false; then :
6449 $as_echo_n "(cached) " >&6
6450 else
6451 while :; do
6452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6453 /* end confdefs.h. */
6454 #include <sys/types.h>
6455 /* Check that off_t can represent 2**63 - 1 correctly.
6456 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6457 since some C++ compilers masquerading as C compilers
6458 incorrectly reject 9223372036854775807. */
6459 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6460 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6461 && LARGE_OFF_T % 2147483647 == 1)
6462 ? 1 : -1];
6464 main ()
6468 return 0;
6470 _ACEOF
6471 if ac_fn_c_try_compile "$LINENO"; then :
6472 ac_cv_sys_file_offset_bits=no; break
6474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6476 /* end confdefs.h. */
6477 #define _FILE_OFFSET_BITS 64
6478 #include <sys/types.h>
6479 /* Check that off_t can represent 2**63 - 1 correctly.
6480 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6481 since some C++ compilers masquerading as C compilers
6482 incorrectly reject 9223372036854775807. */
6483 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6484 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6485 && LARGE_OFF_T % 2147483647 == 1)
6486 ? 1 : -1];
6488 main ()
6492 return 0;
6494 _ACEOF
6495 if ac_fn_c_try_compile "$LINENO"; then :
6496 ac_cv_sys_file_offset_bits=64; break
6498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6499 ac_cv_sys_file_offset_bits=unknown
6500 break
6501 done
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6504 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6505 case $ac_cv_sys_file_offset_bits in #(
6506 no | unknown) ;;
6508 cat >>confdefs.h <<_ACEOF
6509 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6510 _ACEOF
6512 esac
6513 rm -rf conftest*
6514 if test $ac_cv_sys_file_offset_bits = unknown; then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6516 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6517 if ${ac_cv_sys_large_files+:} false; then :
6518 $as_echo_n "(cached) " >&6
6519 else
6520 while :; do
6521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6522 /* end confdefs.h. */
6523 #include <sys/types.h>
6524 /* Check that off_t can represent 2**63 - 1 correctly.
6525 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6526 since some C++ compilers masquerading as C compilers
6527 incorrectly reject 9223372036854775807. */
6528 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6529 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6530 && LARGE_OFF_T % 2147483647 == 1)
6531 ? 1 : -1];
6533 main ()
6537 return 0;
6539 _ACEOF
6540 if ac_fn_c_try_compile "$LINENO"; then :
6541 ac_cv_sys_large_files=no; break
6543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6545 /* end confdefs.h. */
6546 #define _LARGE_FILES 1
6547 #include <sys/types.h>
6548 /* Check that off_t can represent 2**63 - 1 correctly.
6549 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6550 since some C++ compilers masquerading as C compilers
6551 incorrectly reject 9223372036854775807. */
6552 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6553 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6554 && LARGE_OFF_T % 2147483647 == 1)
6555 ? 1 : -1];
6557 main ()
6561 return 0;
6563 _ACEOF
6564 if ac_fn_c_try_compile "$LINENO"; then :
6565 ac_cv_sys_large_files=1; break
6567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6568 ac_cv_sys_large_files=unknown
6569 break
6570 done
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6573 $as_echo "$ac_cv_sys_large_files" >&6; }
6574 case $ac_cv_sys_large_files in #(
6575 no | unknown) ;;
6577 cat >>confdefs.h <<_ACEOF
6578 #define _LARGE_FILES $ac_cv_sys_large_files
6579 _ACEOF
6581 esac
6582 rm -rf conftest*
6589 ac_ext=c
6590 ac_cpp='$CPP $CPPFLAGS'
6591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6595 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6596 # On Suns, sometimes $CPP names a directory.
6597 if test -n "$CPP" && test -d "$CPP"; then
6598 CPP=
6600 if test -z "$CPP"; then
6601 if ${ac_cv_prog_CPP+:} false; then :
6602 $as_echo_n "(cached) " >&6
6603 else
6604 # Double quotes because CPP needs to be expanded
6605 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6607 ac_preproc_ok=false
6608 for ac_c_preproc_warn_flag in '' yes
6610 # Use a header file that comes with gcc, so configuring glibc
6611 # with a fresh cross-compiler works.
6612 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6613 # <limits.h> exists even on freestanding compilers.
6614 # On the NeXT, cc -E runs the code through the compiler's parser,
6615 # not just through cpp. "Syntax error" is here to catch this case.
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6618 #ifdef __STDC__
6619 # include <limits.h>
6620 #else
6621 # include <assert.h>
6622 #endif
6623 Syntax error
6624 _ACEOF
6625 if ac_fn_c_try_cpp "$LINENO"; then :
6627 else
6628 # Broken: fails on valid input.
6629 continue
6631 rm -f conftest.err conftest.i conftest.$ac_ext
6633 # OK, works on sane cases. Now check whether nonexistent headers
6634 # can be detected and how.
6635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6636 /* end confdefs.h. */
6637 #include <ac_nonexistent.h>
6638 _ACEOF
6639 if ac_fn_c_try_cpp "$LINENO"; then :
6640 # Broken: success on invalid input.
6641 continue
6642 else
6643 # Passes both tests.
6644 ac_preproc_ok=:
6645 break
6647 rm -f conftest.err conftest.i conftest.$ac_ext
6649 done
6650 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6651 rm -f conftest.i conftest.err conftest.$ac_ext
6652 if $ac_preproc_ok; then :
6653 break
6656 done
6657 ac_cv_prog_CPP=$CPP
6660 CPP=$ac_cv_prog_CPP
6661 else
6662 ac_cv_prog_CPP=$CPP
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6665 $as_echo "$CPP" >&6; }
6666 ac_preproc_ok=false
6667 for ac_c_preproc_warn_flag in '' yes
6669 # Use a header file that comes with gcc, so configuring glibc
6670 # with a fresh cross-compiler works.
6671 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6672 # <limits.h> exists even on freestanding compilers.
6673 # On the NeXT, cc -E runs the code through the compiler's parser,
6674 # not just through cpp. "Syntax error" is here to catch this case.
6675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6676 /* end confdefs.h. */
6677 #ifdef __STDC__
6678 # include <limits.h>
6679 #else
6680 # include <assert.h>
6681 #endif
6682 Syntax error
6683 _ACEOF
6684 if ac_fn_c_try_cpp "$LINENO"; then :
6686 else
6687 # Broken: fails on valid input.
6688 continue
6690 rm -f conftest.err conftest.i conftest.$ac_ext
6692 # OK, works on sane cases. Now check whether nonexistent headers
6693 # can be detected and how.
6694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6695 /* end confdefs.h. */
6696 #include <ac_nonexistent.h>
6697 _ACEOF
6698 if ac_fn_c_try_cpp "$LINENO"; then :
6699 # Broken: success on invalid input.
6700 continue
6701 else
6702 # Passes both tests.
6703 ac_preproc_ok=:
6704 break
6706 rm -f conftest.err conftest.i conftest.$ac_ext
6708 done
6709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6710 rm -f conftest.i conftest.err conftest.$ac_ext
6711 if $ac_preproc_ok; then :
6713 else
6714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6716 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6717 See \`config.log' for more details" "$LINENO" 5; }
6720 ac_ext=c
6721 ac_cpp='$CPP $CPPFLAGS'
6722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6728 $as_echo_n "checking for ANSI C header files... " >&6; }
6729 if ${ac_cv_header_stdc+:} false; then :
6730 $as_echo_n "(cached) " >&6
6731 else
6732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6733 /* end confdefs.h. */
6734 #include <stdlib.h>
6735 #include <stdarg.h>
6736 #include <string.h>
6737 #include <float.h>
6740 main ()
6744 return 0;
6746 _ACEOF
6747 if ac_fn_c_try_compile "$LINENO"; then :
6748 ac_cv_header_stdc=yes
6749 else
6750 ac_cv_header_stdc=no
6752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6754 if test $ac_cv_header_stdc = yes; then
6755 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6757 /* end confdefs.h. */
6758 #include <string.h>
6760 _ACEOF
6761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6762 $EGREP "memchr" >/dev/null 2>&1; then :
6764 else
6765 ac_cv_header_stdc=no
6767 rm -f conftest*
6771 if test $ac_cv_header_stdc = yes; then
6772 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6774 /* end confdefs.h. */
6775 #include <stdlib.h>
6777 _ACEOF
6778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6779 $EGREP "free" >/dev/null 2>&1; then :
6781 else
6782 ac_cv_header_stdc=no
6784 rm -f conftest*
6788 if test $ac_cv_header_stdc = yes; then
6789 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6790 if test "$cross_compiling" = yes; then :
6792 else
6793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6794 /* end confdefs.h. */
6795 #include <ctype.h>
6796 #include <stdlib.h>
6797 #if ((' ' & 0x0FF) == 0x020)
6798 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6799 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6800 #else
6801 # define ISLOWER(c) \
6802 (('a' <= (c) && (c) <= 'i') \
6803 || ('j' <= (c) && (c) <= 'r') \
6804 || ('s' <= (c) && (c) <= 'z'))
6805 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6806 #endif
6808 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6810 main ()
6812 int i;
6813 for (i = 0; i < 256; i++)
6814 if (XOR (islower (i), ISLOWER (i))
6815 || toupper (i) != TOUPPER (i))
6816 return 2;
6817 return 0;
6819 _ACEOF
6820 if ac_fn_c_try_run "$LINENO"; then :
6822 else
6823 ac_cv_header_stdc=no
6825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6826 conftest.$ac_objext conftest.beam conftest.$ac_ext
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6832 $as_echo "$ac_cv_header_stdc" >&6; }
6833 if test $ac_cv_header_stdc = yes; then
6835 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6839 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6840 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6841 inttypes.h stdint.h unistd.h
6842 do :
6843 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6844 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6846 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6847 cat >>confdefs.h <<_ACEOF
6848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6849 _ACEOF
6853 done
6856 for ac_header in \
6857 AL/al.h \
6858 ApplicationServices/ApplicationServices.h \
6859 AudioToolbox/AudioConverter.h \
6860 AudioUnit/AudioUnit.h \
6861 AudioUnit/AudioComponent.h \
6862 CL/cl.h \
6863 Carbon/Carbon.h \
6864 CommonCrypto/CommonDigest.h \
6865 CoreAudio/CoreAudio.h \
6866 CoreServices/CoreServices.h \
6867 DiskArbitration/DiskArbitration.h \
6868 EGL/egl.h \
6869 IOKit/IOKitLib.h \
6870 IOKit/hid/IOHIDLib.h \
6871 OpenAL/al.h \
6872 OpenCL/opencl.h \
6873 QuickTime/ImageCompression.h \
6874 Security/Security.h \
6875 alias.h \
6876 alsa/asoundlib.h \
6877 arpa/inet.h \
6878 arpa/nameser.h \
6879 asm/types.h \
6880 asm/user.h \
6881 curses.h \
6882 direct.h \
6883 dirent.h \
6884 dlfcn.h \
6885 elf.h \
6886 float.h \
6887 fnmatch.h \
6888 getopt.h \
6889 gettext-po.h \
6890 grp.h \
6891 gsm.h \
6892 gsm/gsm.h \
6893 ieeefp.h \
6894 inet/mib2.h \
6895 io.h \
6896 kstat.h \
6897 libproc.h \
6898 link.h \
6899 linux/cdrom.h \
6900 linux/compiler.h \
6901 linux/filter.h \
6902 linux/hdreg.h \
6903 linux/hidraw.h \
6904 linux/input.h \
6905 linux/ioctl.h \
6906 linux/joystick.h \
6907 linux/major.h \
6908 linux/param.h \
6909 linux/serial.h \
6910 linux/types.h \
6911 linux/ucdrom.h \
6912 lwp.h \
6913 mach-o/nlist.h \
6914 mach-o/loader.h \
6915 mach/mach.h \
6916 mach/machine.h \
6917 machine/cpu.h \
6918 machine/limits.h \
6919 machine/sysarch.h \
6920 mntent.h \
6921 ncurses.h \
6922 netdb.h \
6923 netinet/in.h \
6924 netinet/in_systm.h \
6925 netinet/tcp.h \
6926 netinet/tcp_fsm.h \
6927 pcap/pcap.h \
6928 poll.h \
6929 port.h \
6930 process.h \
6931 pthread.h \
6932 pwd.h \
6933 sched.h \
6934 scsi/scsi.h \
6935 scsi/scsi_ioctl.h \
6936 scsi/sg.h \
6937 stdbool.h \
6938 stdint.h \
6939 stropts.h \
6940 sys/asoundlib.h \
6941 sys/attr.h \
6942 sys/auxv.h \
6943 sys/cdio.h \
6944 sys/elf32.h \
6945 sys/epoll.h \
6946 sys/event.h \
6947 sys/exec_elf.h \
6948 sys/filio.h \
6949 sys/inotify.h \
6950 sys/ioctl.h \
6951 sys/ipc.h \
6952 sys/limits.h \
6953 sys/link.h \
6954 sys/mman.h \
6955 sys/modem.h \
6956 sys/msg.h \
6957 sys/mtio.h \
6958 sys/param.h \
6959 sys/poll.h \
6960 sys/prctl.h \
6961 sys/protosw.h \
6962 sys/ptrace.h \
6963 sys/queue.h \
6964 sys/resource.h \
6965 sys/scsiio.h \
6966 sys/shm.h \
6967 sys/signal.h \
6968 sys/socket.h \
6969 sys/socketvar.h \
6970 sys/sockio.h \
6971 sys/statvfs.h \
6972 sys/strtio.h \
6973 sys/syscall.h \
6974 sys/sysinfo.h \
6975 sys/tihdr.h \
6976 sys/time.h \
6977 sys/timeout.h \
6978 sys/times.h \
6979 sys/uio.h \
6980 sys/user.h \
6981 sys/utsname.h \
6982 sys/vm86.h \
6983 sys/vnode.h \
6984 sys/wait.h \
6985 syscall.h \
6986 termios.h \
6987 unistd.h \
6988 utime.h \
6989 valgrind/memcheck.h \
6990 valgrind/valgrind.h \
6991 zlib.h
6993 do :
6994 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6995 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6996 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6997 cat >>confdefs.h <<_ACEOF
6998 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6999 _ACEOF
7003 done
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
7006 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
7007 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
7008 $as_echo_n "(cached) " >&6
7009 else
7010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7011 /* end confdefs.h. */
7012 #include <sys/types.h>
7014 main ()
7016 return makedev(0, 0);
7018 return 0;
7020 _ACEOF
7021 if ac_fn_c_try_link "$LINENO"; then :
7022 ac_cv_header_sys_types_h_makedev=yes
7023 else
7024 ac_cv_header_sys_types_h_makedev=no
7026 rm -f core conftest.err conftest.$ac_objext \
7027 conftest$ac_exeext conftest.$ac_ext
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7031 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7033 if test $ac_cv_header_sys_types_h_makedev = no; then
7034 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7035 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7037 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7043 if test $ac_cv_header_sys_mkdev_h = no; then
7044 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7045 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7047 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7056 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7057 if ${ac_cv_header_stat_broken+:} false; then :
7058 $as_echo_n "(cached) " >&6
7059 else
7060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7061 /* end confdefs.h. */
7062 #include <sys/types.h>
7063 #include <sys/stat.h>
7065 #if defined S_ISBLK && defined S_IFDIR
7066 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7067 #endif
7069 #if defined S_ISBLK && defined S_IFCHR
7070 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7071 #endif
7073 #if defined S_ISLNK && defined S_IFREG
7074 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7075 #endif
7077 #if defined S_ISSOCK && defined S_IFREG
7078 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7079 #endif
7081 _ACEOF
7082 if ac_fn_c_try_compile "$LINENO"; then :
7083 ac_cv_header_stat_broken=no
7084 else
7085 ac_cv_header_stat_broken=yes
7087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7090 $as_echo "$ac_cv_header_stat_broken" >&6; }
7091 if test $ac_cv_header_stat_broken = yes; then
7093 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7099 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7100 do :
7101 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7102 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7103 #ifdef HAVE_SYS_PARAM_H
7104 # include <sys/param.h>
7105 #endif
7107 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7108 cat >>confdefs.h <<_ACEOF
7109 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7110 _ACEOF
7114 done
7117 for ac_header in \
7118 netinet/ip.h \
7119 net/if.h \
7120 net/if_arp.h \
7121 net/if_dl.h \
7122 net/if_types.h \
7123 net/route.h \
7124 netinet/if_ether.h \
7125 netinet/if_inarp.h \
7126 netinet/in_pcb.h \
7127 netinet/ip_icmp.h \
7128 netinet/ip_var.h \
7129 netinet/udp.h \
7130 netipx/ipx.h \
7131 sys/un.h \
7133 do :
7134 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7135 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7136 #ifdef HAVE_SYS_SOCKET_H
7137 # include <sys/socket.h>
7138 #endif
7139 #ifdef HAVE_SYS_SOCKETVAR_H
7140 # include <sys/socketvar.h>
7141 #endif
7142 #ifdef HAVE_NET_ROUTE_H
7143 # include <net/route.h>
7144 #endif
7145 #ifdef HAVE_NETINET_IN_H
7146 # include <netinet/in.h>
7147 #endif
7148 #ifdef HAVE_NETINET_IN_SYSTM_H
7149 # include <netinet/in_systm.h>
7150 #endif
7151 #ifdef HAVE_NET_IF_H
7152 # include <net/if.h>
7153 #endif
7154 #ifdef HAVE_NETINET_IP_H
7155 # include <netinet/ip.h>
7156 #endif
7158 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7159 cat >>confdefs.h <<_ACEOF
7160 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7161 _ACEOF
7165 done
7168 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7169 do :
7170 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7171 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7172 #ifdef HAVE_ALIAS_H
7173 # include <alias.h>
7174 #endif
7175 #ifdef HAVE_SYS_SOCKET_H
7176 # include <sys/socket.h>
7177 #endif
7178 #ifdef HAVE_SYS_SOCKETVAR_H
7179 # include <sys/socketvar.h>
7180 #endif
7181 #ifdef HAVE_SYS_TIMEOUT_H
7182 # include <sys/timeout.h>
7183 #endif
7184 #ifdef HAVE_NETINET_IN_H
7185 # include <netinet/in.h>
7186 #endif
7187 #ifdef HAVE_NETINET_IN_SYSTM_H
7188 # include <netinet/in_systm.h>
7189 #endif
7190 #ifdef HAVE_NETINET_IP_H
7191 # include <netinet/ip.h>
7192 #endif
7193 #ifdef HAVE_NETINET_IP_VAR_H
7194 # include <netinet/ip_var.h>
7195 #endif
7196 #ifdef HAVE_NETINET_IP_ICMP_H
7197 # include <netinet/ip_icmp.h>
7198 #endif
7199 #ifdef HAVE_NETINET_UDP_H
7200 # include <netinet/udp.h>
7201 #endif
7202 #ifdef HAVE_NETINET_TCP_H
7203 # include <netinet/tcp.h>
7204 #endif
7205 #ifdef HAVE_NETINET_TCP_TIMER_H
7206 #include <netinet/tcp_timer.h>
7207 #endif
7209 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7210 cat >>confdefs.h <<_ACEOF
7211 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7212 _ACEOF
7216 done
7219 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7220 do :
7221 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7222 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7223 #ifdef HAVE_ASM_TYPES_H
7224 # include <asm/types.h>
7225 #endif
7226 #ifdef HAVE_SYS_SOCKET_H
7227 # include <sys/socket.h>
7228 #endif
7229 #ifdef HAVE_LINUX_TYPES_H
7230 # include <linux/types.h>
7231 #endif
7233 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7234 cat >>confdefs.h <<_ACEOF
7235 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7236 _ACEOF
7240 done
7243 for ac_header in mach-o/dyld_images.h
7244 do :
7245 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7246 # include <stdbool.h>
7247 #endif
7248 #ifdef HAVE_STDINT_H
7249 # include <stdint.h>
7250 #endif
7252 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7253 cat >>confdefs.h <<_ACEOF
7254 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7255 _ACEOF
7259 done
7262 for ac_header in resolv.h
7263 do :
7264 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7265 #ifdef HAVE_SYS_SOCKET_H
7266 # include <sys/socket.h>
7267 #endif
7268 #ifdef HAVE_NETINET_IN_H
7269 # include <netinet/in.h>
7270 #endif
7271 #ifdef HAVE_ARPA_NAMESER_H
7272 # include <arpa/nameser.h>
7273 #endif
7275 if test "x$ac_cv_header_resolv_h" = xyes; then :
7276 cat >>confdefs.h <<_ACEOF
7277 #define HAVE_RESOLV_H 1
7278 _ACEOF
7282 done
7285 for ac_header in ifaddrs.h
7286 do :
7287 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7289 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7290 cat >>confdefs.h <<_ACEOF
7291 #define HAVE_IFADDRS_H 1
7292 _ACEOF
7296 done
7299 for ac_header in sys/ucontext.h
7300 do :
7301 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7303 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7304 cat >>confdefs.h <<_ACEOF
7305 #define HAVE_SYS_UCONTEXT_H 1
7306 _ACEOF
7310 done
7313 for ac_header in sys/thr.h
7314 do :
7315 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7316 #ifdef HAVE_SYS_UCONTEXT_H
7317 #include <sys/ucontext.h>
7318 #endif
7320 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7321 cat >>confdefs.h <<_ACEOF
7322 #define HAVE_SYS_THR_H 1
7323 _ACEOF
7327 done
7330 for ac_header in pthread_np.h
7331 do :
7332 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7333 #include <pthread.h>
7334 #endif
7336 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7337 cat >>confdefs.h <<_ACEOF
7338 #define HAVE_PTHREAD_NP_H 1
7339 _ACEOF
7343 done
7346 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7347 do :
7348 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7349 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7350 #include <sys/time.h>
7351 #endif
7352 #include <sys/types.h>
7353 #ifdef HAVE_ASM_TYPES_H
7354 #include <asm/types.h>
7355 #endif
7357 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7358 cat >>confdefs.h <<_ACEOF
7359 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7360 _ACEOF
7364 done
7367 for ac_header in libprocstat.h
7368 do :
7369 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7370 #include <sys/param.h>
7371 #endif
7372 #ifdef HAVE_SYS_QUEUE_H
7373 #include <sys/queue.h>
7374 #endif
7375 #ifdef HAVE_SYS_SOCKET_H
7376 #include <sys/socket.h>
7377 #endif
7379 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7380 cat >>confdefs.h <<_ACEOF
7381 #define HAVE_LIBPROCSTAT_H 1
7382 _ACEOF
7386 done
7390 dlldir="\${libdir}/wine"
7392 DLLFLAGS="-D_REENTRANT"
7394 LDRPATH_INSTALL=""
7396 LDRPATH_LOCAL=""
7398 LDEXECFLAGS=""
7400 WINELOADER_LDFLAGS=""
7402 LIBEXT="so"
7403 DLLEXT=".so"
7404 IMPLIBEXT="def"
7405 # Extract the first word of "ldd", so it can be a program name with args.
7406 set dummy ldd; ac_word=$2
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7408 $as_echo_n "checking for $ac_word... " >&6; }
7409 if ${ac_cv_path_LDD+:} false; then :
7410 $as_echo_n "(cached) " >&6
7411 else
7412 case $LDD in
7413 [\\/]* | ?:[\\/]*)
7414 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7418 as_dummy="/sbin:/usr/sbin:$PATH"
7419 for as_dir in $as_dummy
7421 IFS=$as_save_IFS
7422 test -z "$as_dir" && as_dir=.
7423 for ac_exec_ext in '' $ac_executable_extensions; do
7424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7425 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7427 break 2
7429 done
7430 done
7431 IFS=$as_save_IFS
7433 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7435 esac
7437 LDD=$ac_cv_path_LDD
7438 if test -n "$LDD"; then
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7440 $as_echo "$LDD" >&6; }
7441 else
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7443 $as_echo "no" >&6; }
7447 if test -n "$ac_tool_prefix"; then
7448 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7449 set dummy ${ac_tool_prefix}otool; ac_word=$2
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7451 $as_echo_n "checking for $ac_word... " >&6; }
7452 if ${ac_cv_prog_OTOOL+:} false; then :
7453 $as_echo_n "(cached) " >&6
7454 else
7455 if test -n "$OTOOL"; then
7456 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7457 else
7458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7459 for as_dir in $PATH
7461 IFS=$as_save_IFS
7462 test -z "$as_dir" && as_dir=.
7463 for ac_exec_ext in '' $ac_executable_extensions; do
7464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7465 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7467 break 2
7469 done
7470 done
7471 IFS=$as_save_IFS
7475 OTOOL=$ac_cv_prog_OTOOL
7476 if test -n "$OTOOL"; then
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7478 $as_echo "$OTOOL" >&6; }
7479 else
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7481 $as_echo "no" >&6; }
7486 if test -z "$ac_cv_prog_OTOOL"; then
7487 ac_ct_OTOOL=$OTOOL
7488 # Extract the first word of "otool", so it can be a program name with args.
7489 set dummy otool; ac_word=$2
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7491 $as_echo_n "checking for $ac_word... " >&6; }
7492 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7493 $as_echo_n "(cached) " >&6
7494 else
7495 if test -n "$ac_ct_OTOOL"; then
7496 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7497 else
7498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7499 for as_dir in $PATH
7501 IFS=$as_save_IFS
7502 test -z "$as_dir" && as_dir=.
7503 for ac_exec_ext in '' $ac_executable_extensions; do
7504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7505 ac_cv_prog_ac_ct_OTOOL="otool"
7506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7507 break 2
7509 done
7510 done
7511 IFS=$as_save_IFS
7515 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7516 if test -n "$ac_ct_OTOOL"; then
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7518 $as_echo "$ac_ct_OTOOL" >&6; }
7519 else
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7521 $as_echo "no" >&6; }
7524 if test "x$ac_ct_OTOOL" = x; then
7525 OTOOL="otool"
7526 else
7527 case $cross_compiling:$ac_tool_warned in
7528 yes:)
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7531 ac_tool_warned=yes ;;
7532 esac
7533 OTOOL=$ac_ct_OTOOL
7535 else
7536 OTOOL="$ac_cv_prog_OTOOL"
7539 if test -n "$ac_tool_prefix"; then
7540 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7541 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7543 $as_echo_n "checking for $ac_word... " >&6; }
7544 if ${ac_cv_prog_READELF+:} false; then :
7545 $as_echo_n "(cached) " >&6
7546 else
7547 if test -n "$READELF"; then
7548 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7549 else
7550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7551 for as_dir in $PATH
7553 IFS=$as_save_IFS
7554 test -z "$as_dir" && as_dir=.
7555 for ac_exec_ext in '' $ac_executable_extensions; do
7556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7557 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7559 break 2
7561 done
7562 done
7563 IFS=$as_save_IFS
7567 READELF=$ac_cv_prog_READELF
7568 if test -n "$READELF"; then
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7570 $as_echo "$READELF" >&6; }
7571 else
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7573 $as_echo "no" >&6; }
7578 if test -z "$ac_cv_prog_READELF"; then
7579 ac_ct_READELF=$READELF
7580 # Extract the first word of "readelf", so it can be a program name with args.
7581 set dummy readelf; ac_word=$2
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7583 $as_echo_n "checking for $ac_word... " >&6; }
7584 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7585 $as_echo_n "(cached) " >&6
7586 else
7587 if test -n "$ac_ct_READELF"; then
7588 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7589 else
7590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7591 for as_dir in $PATH
7593 IFS=$as_save_IFS
7594 test -z "$as_dir" && as_dir=.
7595 for ac_exec_ext in '' $ac_executable_extensions; do
7596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7597 ac_cv_prog_ac_ct_READELF="readelf"
7598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7599 break 2
7601 done
7602 done
7603 IFS=$as_save_IFS
7607 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7608 if test -n "$ac_ct_READELF"; then
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7610 $as_echo "$ac_ct_READELF" >&6; }
7611 else
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7613 $as_echo "no" >&6; }
7616 if test "x$ac_ct_READELF" = x; then
7617 READELF="true"
7618 else
7619 case $cross_compiling:$ac_tool_warned in
7620 yes:)
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7623 ac_tool_warned=yes ;;
7624 esac
7625 READELF=$ac_ct_READELF
7627 else
7628 READELF="$ac_cv_prog_READELF"
7631 wine_rules_file=conf$$rules.make
7632 rm -f $wine_rules_file
7633 SUBDIRS=""
7635 DISABLED_SUBDIRS=""
7637 CONFIGURE_TARGETS=""
7639 ALL_TEST_RESOURCES=""
7642 wine_fn_append_file ()
7644 as_fn_append $1 " \\$as_nl $2"
7647 wine_fn_append_rule ()
7649 $as_echo "$1" >>$wine_rules_file
7652 wine_fn_has_flag ()
7654 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7657 wine_fn_all_rules ()
7659 wine_fn_append_file SUBDIRS $ac_dir
7660 wine_fn_append_rule \
7661 "all: $ac_dir
7662 .PHONY: $ac_dir
7663 $ac_dir: dummy
7664 @cd $ac_dir && \$(MAKE)"
7667 wine_fn_install_rules ()
7669 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7671 wine_fn_append_rule \
7672 ".PHONY: $ac_dir/install $ac_dir/uninstall
7673 $ac_dir/install:: $ac_dir
7674 @cd $ac_dir && \$(MAKE) install
7675 $ac_dir/uninstall::
7676 @cd $ac_dir && \$(MAKE) uninstall
7677 install:: $ac_dir/install
7678 __uninstall__: $ac_dir/uninstall"
7680 if wine_fn_has_flag install-lib
7681 then
7682 wine_fn_append_rule \
7683 ".PHONY: $ac_dir/install-lib
7684 $ac_dir/install-lib:: $ac_dir
7685 @cd $ac_dir && \$(MAKE) install-lib
7686 install-lib:: $ac_dir/install-lib"
7689 if wine_fn_has_flag install-dev
7690 then
7691 wine_fn_append_rule \
7692 ".PHONY: $ac_dir/install-dev
7693 $ac_dir/install-dev:: $ac_dir
7694 @cd $ac_dir && \$(MAKE) install-dev
7695 install-dev:: $ac_dir/install-dev"
7699 wine_fn_clean_rules ()
7701 ac_clean=$@
7703 if wine_fn_has_flag clean
7704 then
7705 wine_fn_append_rule \
7706 "$ac_dir/clean: dummy
7707 @cd $ac_dir && \$(MAKE) clean"
7708 else
7709 wine_fn_append_rule \
7710 "$ac_dir/clean: dummy
7711 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7713 wine_fn_append_rule \
7714 "__clean__: $ac_dir/clean
7715 .PHONY: $ac_dir/clean"
7718 wine_fn_disabled_rules ()
7720 ac_clean=$@
7722 wine_fn_append_file SUBDIRS $ac_dir
7723 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7724 wine_fn_append_rule \
7725 "__clean__: $ac_dir/clean
7726 .PHONY: $ac_dir/clean
7727 $ac_dir/clean: dummy
7728 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7731 wine_fn_config_makefile ()
7733 ac_dir=$1
7734 ac_enable=$2
7735 ac_flags=$3
7737 case $ac_dir in
7738 fonts|server) test -z "$with_wine64" || return ;;
7739 esac
7740 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7741 wine_fn_disabled_rules; return
7743 wine_fn_all_rules
7744 wine_fn_install_rules
7745 wine_fn_clean_rules
7748 wine_fn_config_lib ()
7750 ac_name=$1
7751 ac_flags=$2
7752 ac_dir=dlls/$ac_name
7753 ac_deps="include"
7755 if test "x$enable_tools" = xno; then :
7757 else
7758 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7760 wine_fn_all_rules
7761 wine_fn_clean_rules
7763 wine_fn_append_rule \
7764 ".PHONY: $ac_dir/install $ac_dir/uninstall
7765 $ac_dir/install:: $ac_dir
7766 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7767 $ac_dir/uninstall::
7768 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7769 install install-dev:: $ac_dir/install
7770 __uninstall__: $ac_dir/uninstall
7771 __builddeps__: $ac_dir
7772 $ac_dir: $ac_deps"
7775 wine_fn_config_dll ()
7777 ac_name=$1
7778 ac_dir=dlls/$ac_name
7779 ac_enable=$2
7780 ac_flags=$3
7781 ac_implib=${4:-$ac_name}
7782 ac_file=$ac_dir/lib$ac_implib
7783 ac_dll=$ac_name
7784 ac_deps="include"
7785 ac_implibflags=""
7787 if test "x$enable_tools" = xno; then :
7789 else
7790 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7792 case $ac_name in
7793 *.*16) ac_implibflags=" -m16" ;;
7794 *.*) ;;
7795 *) ac_dll=$ac_dll.dll ;;
7796 esac
7798 ac_clean=
7799 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7800 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7802 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7803 if test "$ac_enable" != enable_win16
7804 then
7805 wine_fn_clean_rules $ac_clean
7806 wine_fn_append_file SUBDIRS $ac_dir
7807 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7808 else
7809 wine_fn_disabled_rules $ac_clean
7810 return
7812 else
7813 wine_fn_all_rules
7814 wine_fn_clean_rules $ac_clean
7815 wine_fn_append_rule \
7816 "$ac_dir: __builddeps__
7817 manpages htmlpages sgmlpages xmlpages::
7818 @cd $ac_dir && \$(MAKE) \$@
7819 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7820 install install-lib:: $ac_dir/install-lib
7821 __uninstall__: $ac_dir/uninstall"
7822 if test -n "$DLLEXT"
7823 then
7824 wine_fn_append_rule \
7825 "$ac_dir/install-lib:: $ac_dir
7826 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7827 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7828 $ac_dir/uninstall::
7829 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7830 else
7831 wine_fn_append_rule \
7832 "$ac_dir/install-lib:: $ac_dir
7833 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7834 $ac_dir/uninstall::
7835 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7839 if wine_fn_has_flag staticimplib
7840 then
7841 wine_fn_append_rule \
7842 "__builddeps__: $ac_file.a
7843 $ac_file.a $ac_file.cross.a: $ac_deps
7844 $ac_file.a: dummy
7845 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7846 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7847 $ac_dir/install-dev:: $ac_file.a
7848 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7849 $ac_dir/uninstall::
7850 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7851 install install-dev:: $ac_dir/install-dev
7852 __uninstall__: $ac_dir/uninstall"
7854 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7855 then
7856 wine_fn_append_rule \
7857 "__builddeps__: $ac_file.cross.a
7858 $ac_file.cross.a: dummy
7859 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7862 elif wine_fn_has_flag implib
7863 then
7864 wine_fn_append_rule \
7865 "__builddeps__: $ac_file.$IMPLIBEXT
7866 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7867 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7868 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7869 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7870 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7871 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7872 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7873 $ac_dir/uninstall::
7874 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7875 install install-dev:: $ac_dir/install-dev
7876 __uninstall__: $ac_dir/uninstall"
7877 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7878 then
7879 wine_fn_append_rule \
7880 "__builddeps__: $ac_file.cross.a
7881 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7882 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7887 wine_fn_config_program ()
7889 ac_name=$1
7890 ac_dir=programs/$ac_name
7891 ac_enable=$2
7892 ac_flags=$3
7893 ac_program=$ac_name
7895 case $ac_name in
7896 *.*) ;;
7897 *) ac_program=$ac_program.exe ;;
7898 esac
7900 ac_clean=
7901 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7902 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7904 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7905 wine_fn_disabled_rules $ac_clean; return
7908 wine_fn_all_rules
7909 wine_fn_clean_rules $ac_clean
7910 wine_fn_append_rule "$ac_dir: __builddeps__"
7912 wine_fn_has_flag install || return
7913 wine_fn_append_rule \
7914 ".PHONY: $ac_dir/install $ac_dir/uninstall
7915 install install-lib:: $ac_dir/install
7916 __uninstall__: $ac_dir/uninstall"
7918 if test -n "$DLLEXT"
7919 then
7920 wine_fn_append_rule \
7921 "$ac_dir/install:: $ac_dir
7922 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7923 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7924 $ac_dir/uninstall::
7925 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7927 if test -z "$with_wine64" && wine_fn_has_flag installbin
7928 then
7929 wine_fn_append_rule \
7930 "$ac_dir/install:: __tooldeps__
7931 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7932 $ac_dir/uninstall::
7933 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7935 else
7936 wine_fn_append_rule \
7937 "$ac_dir/install:: $ac_dir
7938 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7939 $ac_dir/uninstall::
7940 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7943 if test -z "$with_wine64" && wine_fn_has_flag manpage
7944 then
7945 wine_fn_append_rule \
7946 "$ac_dir/install:: $ac_dir
7947 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7948 $ac_dir/uninstall::
7949 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7953 wine_fn_config_test ()
7955 ac_dir=$1
7956 ac_name=$2
7957 ac_flags=$3
7959 ac_clean=
7960 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7961 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7963 if test "x$enable_tests" = xno; then :
7964 wine_fn_disabled_rules $ac_clean; return
7967 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7968 wine_fn_all_rules
7969 wine_fn_clean_rules $ac_clean
7971 wine_fn_append_rule \
7972 "$ac_dir: __builddeps__
7973 programs/winetest: $ac_dir
7974 check test: $ac_dir/test
7975 .PHONY: $ac_dir/test
7976 $ac_dir/test: dummy
7977 @cd $ac_dir && \$(MAKE) test
7978 testclean::
7979 \$(RM) $ac_dir/*.ok"
7981 if test -n "$CROSSTARGET"
7982 then
7983 wine_fn_append_rule \
7984 "crosstest: $ac_dir/crosstest
7985 .PHONY: $ac_dir/crosstest
7986 $ac_dir/crosstest: __builddeps__ dummy
7987 @cd $ac_dir && \$(MAKE) crosstest"
7991 wine_fn_config_tool ()
7993 ac_dir=$1
7994 ac_flags=$2
7995 if test "x$enable_tools" = xno; then :
7996 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7999 wine_fn_all_rules
8000 wine_fn_install_rules
8001 wine_fn_clean_rules
8003 wine_fn_append_rule "__tooldeps__: $ac_dir"
8004 wine_fn_append_rule "$ac_dir: libs/port"
8005 case $ac_dir in
8006 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8007 esac
8010 wine_fn_config_symlink ()
8012 ac_linkdir=
8013 if test "x$1" = "x-d"
8014 then
8015 ac_linkdir=$2
8016 shift; shift
8018 ac_links=$@
8019 wine_fn_append_rule \
8020 "$ac_links:
8021 @./config.status \$@"
8022 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8023 test -n "$ac_linkdir" || return
8024 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8027 wine_binary="wine"
8028 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8029 WINELOADER_PROGRAMS="$wine_binary"
8031 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8033 case $host_os in
8034 cygwin*|mingw32*)
8035 if test -n "$ac_tool_prefix"; then
8036 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8037 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8039 $as_echo_n "checking for $ac_word... " >&6; }
8040 if ${ac_cv_prog_DLLTOOL+:} false; then :
8041 $as_echo_n "(cached) " >&6
8042 else
8043 if test -n "$DLLTOOL"; then
8044 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8045 else
8046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 for as_dir in $PATH
8049 IFS=$as_save_IFS
8050 test -z "$as_dir" && as_dir=.
8051 for ac_exec_ext in '' $ac_executable_extensions; do
8052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8053 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8055 break 2
8057 done
8058 done
8059 IFS=$as_save_IFS
8063 DLLTOOL=$ac_cv_prog_DLLTOOL
8064 if test -n "$DLLTOOL"; then
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8066 $as_echo "$DLLTOOL" >&6; }
8067 else
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8069 $as_echo "no" >&6; }
8074 if test -z "$ac_cv_prog_DLLTOOL"; then
8075 ac_ct_DLLTOOL=$DLLTOOL
8076 # Extract the first word of "dlltool", so it can be a program name with args.
8077 set dummy dlltool; ac_word=$2
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8079 $as_echo_n "checking for $ac_word... " >&6; }
8080 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8081 $as_echo_n "(cached) " >&6
8082 else
8083 if test -n "$ac_ct_DLLTOOL"; then
8084 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8085 else
8086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8087 for as_dir in $PATH
8089 IFS=$as_save_IFS
8090 test -z "$as_dir" && as_dir=.
8091 for ac_exec_ext in '' $ac_executable_extensions; do
8092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8093 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8095 break 2
8097 done
8098 done
8099 IFS=$as_save_IFS
8103 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8104 if test -n "$ac_ct_DLLTOOL"; then
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8106 $as_echo "$ac_ct_DLLTOOL" >&6; }
8107 else
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8109 $as_echo "no" >&6; }
8112 if test "x$ac_ct_DLLTOOL" = x; then
8113 DLLTOOL="false"
8114 else
8115 case $cross_compiling:$ac_tool_warned in
8116 yes:)
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8119 ac_tool_warned=yes ;;
8120 esac
8121 DLLTOOL=$ac_ct_DLLTOOL
8123 else
8124 DLLTOOL="$ac_cv_prog_DLLTOOL"
8127 LIBEXT="dll"
8128 DLLEXT=""
8129 IMPLIBEXT="a"
8130 enable_iphlpapi=${enable_iphlpapi:-no}
8131 enable_kernel32=${enable_kernel32:-no}
8132 enable_msvcrt=${enable_msvcrt:-no}
8133 enable_ntdll=${enable_ntdll:-no}
8134 enable_ws2_32=${enable_ws2_32:-no}
8135 enable_loader=${enable_loader:-no}
8136 enable_server=${enable_server:-no}
8137 with_x=${with_x:-no}
8138 with_pthread=${with_pthread:-no}
8140 crtlibs=""
8141 case $host_os in
8142 mingw32*)
8143 crtlibs="-lmsvcrt"
8144 SOCKET_LIBS="-lws2_32"
8146 esac
8148 LIBWINE_SHAREDLIB="libwine.dll"
8150 LIBWINE_IMPORTLIB="libwine.a"
8152 LIBWINE_INSTALL_LIB="libwine.dll"
8154 LIBWINE_INSTALL_DEV="libwine.a"
8156 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8158 LIBWINE_DEPENDS="wine.def"
8162 darwin*|macosx*)
8163 for ac_header in libunwind.h
8164 do :
8165 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8167 cat >>confdefs.h <<_ACEOF
8168 #define HAVE_LIBUNWIND_H 1
8169 _ACEOF
8173 done
8175 LIBEXT="dylib"
8176 DLLFLAGS="$DLLFLAGS -fPIC"
8177 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8178 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8179 COREFOUNDATION_LIBS="-framework CoreFoundation"
8181 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8183 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8185 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8187 CORESERVICES_LIBS="-framework CoreServices"
8189 APPKIT_LIBS="-framework AppKit"
8191 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8193 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8194 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8195 $as_echo_n "(cached) " >&6
8196 else
8197 ac_wine_try_cflags_saved=$CFLAGS
8198 CFLAGS="$CFLAGS -Wl,-no_pie"
8199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8200 /* end confdefs.h. */
8201 int main(int argc, char **argv) { return 0; }
8202 _ACEOF
8203 if ac_fn_c_try_link "$LINENO"; then :
8204 ac_cv_cflags__Wl__no_pie=yes
8205 else
8206 ac_cv_cflags__Wl__no_pie=no
8208 rm -f core conftest.err conftest.$ac_objext \
8209 conftest$ac_exeext conftest.$ac_ext
8210 CFLAGS=$ac_wine_try_cflags_saved
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8213 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8214 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8215 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8217 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8218 then
8219 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8222 if test "$ac_cv_header_Security_Security_h" = "yes"
8223 then
8224 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8226 ac_save_LIBS="$LIBS"
8227 LIBS="$LIBS $SECURITY_LIBS"
8228 for ac_func in SSLCopyPeerCertificates
8229 do :
8230 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8231 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8232 cat >>confdefs.h <<_ACEOF
8233 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8234 _ACEOF
8237 done
8239 LIBS="$ac_save_LIBS"
8240 with_gnutls=${with_gnutls:-no}
8242 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8243 then
8244 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8245 then
8246 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8248 else
8249 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8252 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8253 ac_save_LIBS="$LIBS"
8254 LIBS="$LIBS $COREAUDIO_LIBS"
8255 for ac_func in AUGraphAddNode
8256 do :
8257 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8258 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8259 cat >>confdefs.h <<_ACEOF
8260 #define HAVE_AUGRAPHADDNODE 1
8261 _ACEOF
8264 done
8266 LIBS="$ac_save_LIBS"
8268 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8269 then
8270 OPENAL_LIBS="-framework OpenAL"
8273 cat >>confdefs.h <<_ACEOF
8274 #define HAVE_OPENAL 1
8275 _ACEOF
8277 ac_cv_lib_openal=yes
8279 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8280 then
8281 OPENCL_LIBS="-framework OpenCL"
8283 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8285 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8286 then
8287 ac_save_LIBS="$LIBS"
8288 LIBS="$LIBS $IOKIT_LIBS"
8289 for ac_func in IOHIDManagerCreate
8290 do :
8291 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8292 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8293 cat >>confdefs.h <<_ACEOF
8294 #define HAVE_IOHIDMANAGERCREATE 1
8295 _ACEOF
8298 done
8300 LIBS="$ac_save_LIBS"
8302 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8303 then
8304 ac_save_LIBS="$LIBS"
8305 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8307 $as_echo_n "checking for the QuickTime framework... " >&6; }
8308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8309 /* end confdefs.h. */
8310 #include <QuickTime/ImageCompression.h>
8312 main ()
8314 CodecManagerVersion(NULL);
8316 return 0;
8318 _ACEOF
8319 if ac_fn_c_try_link "$LINENO"; then :
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8321 $as_echo "yes" >&6; }
8322 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8324 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8325 else
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8327 $as_echo "no" >&6; }
8328 ac_cv_header_QuickTime_ImageCompression_h=no
8330 rm -f core conftest.err conftest.$ac_objext \
8331 conftest$ac_exeext conftest.$ac_ext
8332 LIBS="$ac_save_LIBS"
8334 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8335 then
8336 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8338 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8339 then
8340 CARBON_LIBS="-framework Carbon"
8344 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8345 then
8346 ac_save_LIBS="$LIBS"
8347 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8348 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8349 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8350 enable_winemac_drv=${enable_winemac_drv:-yes}
8353 LIBS="$ac_save_LIBS"
8356 if test "x$enable_win16" = "xyes"
8357 then
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8359 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8360 if test "$cross_compiling" = yes; then :
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8362 $as_echo "cross-compiling, assuming yes" >&6; }
8363 else
8364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8365 /* end confdefs.h. */
8366 asm(".text\n"
8367 "bad:\tnop;nop\n"
8368 "good:\tnop;nop\n\t"
8369 ".globl _testfunc\n"
8370 "_testfunc:\tcallw good");
8371 extern void testfunc();
8373 main ()
8375 unsigned short *p = (unsigned short *)testfunc;
8376 return p[0] != 0xe866 || p[1] != 0xfffa
8378 return 0;
8380 _ACEOF
8381 if ac_fn_c_try_run "$LINENO"; then :
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8383 $as_echo "yes" >&6; }
8384 else
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8386 $as_echo "no" >&6; }
8387 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
8389 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8390 conftest.$ac_objext conftest.beam conftest.$ac_ext
8395 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8397 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8399 LIBWINE_INSTALL_DEV="libwine.dylib"
8401 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8403 WINELOADER_DEPENDS="wine_info.plist"
8407 linux-android*)
8408 DLLFLAGS="$DLLFLAGS -fPIC"
8409 LDEXECFLAGS="-Wl,-pie"
8410 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8412 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8413 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8414 $as_echo_n "(cached) " >&6
8415 else
8416 ac_wine_try_cflags_saved=$CFLAGS
8417 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8419 /* end confdefs.h. */
8420 int main(int argc, char **argv) { return 0; }
8421 _ACEOF
8422 if ac_fn_c_try_link "$LINENO"; then :
8423 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8424 else
8425 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8427 rm -f core conftest.err conftest.$ac_objext \
8428 conftest$ac_exeext conftest.$ac_ext
8429 CFLAGS=$ac_wine_try_cflags_saved
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8432 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8433 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8434 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8436 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8438 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8439 if eval \${$as_ac_var+:} false; then :
8440 $as_echo_n "(cached) " >&6
8441 else
8442 ac_wine_try_cflags_saved=$CFLAGS
8443 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8446 int main(int argc, char **argv) { return 0; }
8447 _ACEOF
8448 if ac_fn_c_try_link "$LINENO"; then :
8449 eval "$as_ac_var=yes"
8450 else
8451 eval "$as_ac_var=no"
8453 rm -f core conftest.err conftest.$ac_objext \
8454 conftest$ac_exeext conftest.$ac_ext
8455 CFLAGS=$ac_wine_try_cflags_saved
8457 eval ac_res=\$$as_ac_var
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8459 $as_echo "$ac_res" >&6; }
8460 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8461 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8462 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8463 else
8464 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8466 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8467 if eval \${$as_ac_var+:} false; then :
8468 $as_echo_n "(cached) " >&6
8469 else
8470 ac_wine_try_cflags_saved=$CFLAGS
8471 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8473 /* end confdefs.h. */
8474 int main(int argc, char **argv) { return 0; }
8475 _ACEOF
8476 if ac_fn_c_try_link "$LINENO"; then :
8477 eval "$as_ac_var=yes"
8478 else
8479 eval "$as_ac_var=no"
8481 rm -f core conftest.err conftest.$ac_objext \
8482 conftest$ac_exeext conftest.$ac_ext
8483 CFLAGS=$ac_wine_try_cflags_saved
8485 eval ac_res=\$$as_ac_var
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8487 $as_echo "$ac_res" >&6; }
8488 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8489 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8490 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8494 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8495 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 ac_wine_try_cflags_saved=$CFLAGS
8499 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8502 int main(int argc, char **argv) { return 0; }
8503 _ACEOF
8504 if ac_fn_c_try_link "$LINENO"; then :
8505 ac_cv_cflags__Wl___enable_new_dtags=yes
8506 else
8507 ac_cv_cflags__Wl___enable_new_dtags=no
8509 rm -f core conftest.err conftest.$ac_objext \
8510 conftest$ac_exeext conftest.$ac_ext
8511 CFLAGS=$ac_wine_try_cflags_saved
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8514 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8515 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8516 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8519 LIBWINE_SHAREDLIB="libwine.so"
8521 LIBWINE_INSTALL_LIB="libwine.so"
8523 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8527 $as_echo_n "checking for -lEGL... " >&6; }
8528 if ${ac_cv_lib_soname_EGL+:} false; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 ac_check_soname_save_LIBS=$LIBS
8532 LIBS="-lEGL $LIBS"
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8536 /* Override any GCC internal prototype to avoid an error.
8537 Use char because int might match the return type of a GCC
8538 builtin and then its argument prototype would still apply. */
8539 #ifdef __cplusplus
8540 extern "C"
8541 #endif
8542 char eglGetProcAddress ();
8544 main ()
8546 return eglGetProcAddress ();
8548 return 0;
8550 _ACEOF
8551 if ac_fn_c_try_link "$LINENO"; then :
8552 case "$LIBEXT" in
8553 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8554 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8555 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8556 if ${ac_cv_lib_soname_EGL:+false} :; then :
8557 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8558 fi ;;
8559 esac
8561 rm -f core conftest.err conftest.$ac_objext \
8562 conftest$ac_exeext conftest.$ac_ext
8563 LIBS=$ac_check_soname_save_LIBS
8565 if ${ac_cv_lib_soname_EGL:+false} :; then :
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8567 $as_echo "not found" >&6; }
8569 else
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8571 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8573 cat >>confdefs.h <<_ACEOF
8574 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8575 _ACEOF
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8580 $as_echo_n "checking for -lGLESv2... " >&6; }
8581 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8582 $as_echo_n "(cached) " >&6
8583 else
8584 ac_check_soname_save_LIBS=$LIBS
8585 LIBS="-lGLESv2 $LIBS"
8586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8587 /* end confdefs.h. */
8589 /* Override any GCC internal prototype to avoid an error.
8590 Use char because int might match the return type of a GCC
8591 builtin and then its argument prototype would still apply. */
8592 #ifdef __cplusplus
8593 extern "C"
8594 #endif
8595 char glFlush ();
8597 main ()
8599 return glFlush ();
8601 return 0;
8603 _ACEOF
8604 if ac_fn_c_try_link "$LINENO"; then :
8605 case "$LIBEXT" in
8606 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8607 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8608 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8609 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8610 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8611 fi ;;
8612 esac
8614 rm -f core conftest.err conftest.$ac_objext \
8615 conftest$ac_exeext conftest.$ac_ext
8616 LIBS=$ac_check_soname_save_LIBS
8618 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8620 $as_echo "not found" >&6; }
8622 else
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8624 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8626 cat >>confdefs.h <<_ACEOF
8627 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8628 _ACEOF
8633 if test "x$exec_prefix" = xNONE
8634 then
8635 case $host_cpu in
8636 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8637 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8638 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8639 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8640 esac
8645 DLLFLAGS="$DLLFLAGS -fPIC"
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8647 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8648 if ${ac_cv_c_dll_gnuelf+:} false; then :
8649 $as_echo_n "(cached) " >&6
8650 else
8651 ac_wine_try_cflags_saved=$CFLAGS
8652 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8655 void myfunc() {}
8656 _ACEOF
8657 if ac_fn_c_try_link "$LINENO"; then :
8658 ac_cv_c_dll_gnuelf="yes"
8659 else
8660 ac_cv_c_dll_gnuelf="no"
8662 rm -f core conftest.err conftest.$ac_objext \
8663 conftest$ac_exeext conftest.$ac_ext
8664 CFLAGS=$ac_wine_try_cflags_saved
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8667 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8668 if test "$ac_cv_c_dll_gnuelf" = "yes"
8669 then
8670 LIBWINE_LDFLAGS="-shared"
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8672 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8673 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8674 $as_echo_n "(cached) " >&6
8675 else
8676 ac_wine_try_cflags_saved=$CFLAGS
8677 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8679 /* end confdefs.h. */
8680 int main(int argc, char **argv) { return 0; }
8681 _ACEOF
8682 if ac_fn_c_try_link "$LINENO"; then :
8683 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8684 else
8685 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8687 rm -f core conftest.err conftest.$ac_objext \
8688 conftest$ac_exeext conftest.$ac_ext
8689 CFLAGS=$ac_wine_try_cflags_saved
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8692 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8693 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8694 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8695 else
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8697 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8698 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8699 $as_echo_n "(cached) " >&6
8700 else
8701 ac_wine_try_cflags_saved=$CFLAGS
8702 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8704 /* end confdefs.h. */
8705 int main(int argc, char **argv) { return 0; }
8706 _ACEOF
8707 if ac_fn_c_try_link "$LINENO"; then :
8708 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8709 else
8710 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8712 rm -f core conftest.err conftest.$ac_objext \
8713 conftest$ac_exeext conftest.$ac_ext
8714 CFLAGS=$ac_wine_try_cflags_saved
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8717 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8718 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8719 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8723 echo '{ global: *; };' >conftest.map
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8725 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8726 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8727 $as_echo_n "(cached) " >&6
8728 else
8729 ac_wine_try_cflags_saved=$CFLAGS
8730 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8733 int main(int argc, char **argv) { return 0; }
8734 _ACEOF
8735 if ac_fn_c_try_link "$LINENO"; then :
8736 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8737 else
8738 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8740 rm -f core conftest.err conftest.$ac_objext \
8741 conftest$ac_exeext conftest.$ac_ext
8742 CFLAGS=$ac_wine_try_cflags_saved
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8745 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8746 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8747 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8749 rm -f conftest.map
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8752 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8753 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8754 $as_echo_n "(cached) " >&6
8755 else
8756 ac_wine_try_cflags_saved=$CFLAGS
8757 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8759 /* end confdefs.h. */
8760 int main(int argc, char **argv) { return 0; }
8761 _ACEOF
8762 if ac_fn_c_try_link "$LINENO"; then :
8763 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8764 else
8765 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8767 rm -f core conftest.err conftest.$ac_objext \
8768 conftest$ac_exeext conftest.$ac_ext
8769 CFLAGS=$ac_wine_try_cflags_saved
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8772 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8773 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8774 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8777 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8779 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8780 if eval \${$as_ac_var+:} false; then :
8781 $as_echo_n "(cached) " >&6
8782 else
8783 ac_wine_try_cflags_saved=$CFLAGS
8784 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8786 /* end confdefs.h. */
8787 int main(int argc, char **argv) { return 0; }
8788 _ACEOF
8789 if ac_fn_c_try_link "$LINENO"; then :
8790 eval "$as_ac_var=yes"
8791 else
8792 eval "$as_ac_var=no"
8794 rm -f core conftest.err conftest.$ac_objext \
8795 conftest$ac_exeext conftest.$ac_ext
8796 CFLAGS=$ac_wine_try_cflags_saved
8798 eval ac_res=\$$as_ac_var
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8800 $as_echo "$ac_res" >&6; }
8801 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8802 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8803 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8804 else
8805 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8807 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8808 if eval \${$as_ac_var+:} false; then :
8809 $as_echo_n "(cached) " >&6
8810 else
8811 ac_wine_try_cflags_saved=$CFLAGS
8812 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8814 /* end confdefs.h. */
8815 int main(int argc, char **argv) { return 0; }
8816 _ACEOF
8817 if ac_fn_c_try_link "$LINENO"; then :
8818 eval "$as_ac_var=yes"
8819 else
8820 eval "$as_ac_var=no"
8822 rm -f core conftest.err conftest.$ac_objext \
8823 conftest$ac_exeext conftest.$ac_ext
8824 CFLAGS=$ac_wine_try_cflags_saved
8826 eval ac_res=\$$as_ac_var
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8828 $as_echo "$ac_res" >&6; }
8829 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8830 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8831 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8836 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8837 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8838 $as_echo_n "(cached) " >&6
8839 else
8840 ac_wine_try_cflags_saved=$CFLAGS
8841 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 /* end confdefs.h. */
8844 int main(int argc, char **argv) { return 0; }
8845 _ACEOF
8846 if ac_fn_c_try_link "$LINENO"; then :
8847 ac_cv_cflags__Wl___enable_new_dtags=yes
8848 else
8849 ac_cv_cflags__Wl___enable_new_dtags=no
8851 rm -f core conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8853 CFLAGS=$ac_wine_try_cflags_saved
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8856 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8857 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8858 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8861 case $host_cpu in
8862 *i[3456789]86* | x86_64)
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8864 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8865 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8866 $as_echo_n "(cached) " >&6
8867 else
8868 ac_wine_try_cflags_saved=$CFLAGS
8869 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8872 int main(int argc, char **argv) { return 0; }
8873 _ACEOF
8874 if ac_fn_c_try_link "$LINENO"; then :
8875 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8876 else
8877 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8879 rm -f core conftest.err conftest.$ac_objext \
8880 conftest$ac_exeext conftest.$ac_ext
8881 CFLAGS=$ac_wine_try_cflags_saved
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8884 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8885 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8886 case $host_os in
8887 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8888 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8889 esac
8890 else
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8892 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8893 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8894 $as_echo_n "(cached) " >&6
8895 else
8896 ac_wine_try_cflags_saved=$CFLAGS
8897 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8899 /* end confdefs.h. */
8900 int main(int argc, char **argv) { return 0; }
8901 _ACEOF
8902 if ac_fn_c_try_link "$LINENO"; then :
8903 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8904 else
8905 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8907 rm -f core conftest.err conftest.$ac_objext \
8908 conftest$ac_exeext conftest.$ac_ext
8909 CFLAGS=$ac_wine_try_cflags_saved
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8912 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8913 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8914 case $host_os in
8915 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8916 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8917 esac
8919 # Extract the first word of "prelink", so it can be a program name with args.
8920 set dummy prelink; ac_word=$2
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8922 $as_echo_n "checking for $ac_word... " >&6; }
8923 if ${ac_cv_path_PRELINK+:} false; then :
8924 $as_echo_n "(cached) " >&6
8925 else
8926 case $PRELINK in
8927 [\\/]* | ?:[\\/]*)
8928 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8932 for as_dir in /sbin /usr/sbin $PATH
8934 IFS=$as_save_IFS
8935 test -z "$as_dir" && as_dir=.
8936 for ac_exec_ext in '' $ac_executable_extensions; do
8937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8938 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8940 break 2
8942 done
8943 done
8944 IFS=$as_save_IFS
8946 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8948 esac
8950 PRELINK=$ac_cv_path_PRELINK
8951 if test -n "$PRELINK"; then
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8953 $as_echo "$PRELINK" >&6; }
8954 else
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8956 $as_echo "no" >&6; }
8960 if test "x$PRELINK" = xfalse
8961 then
8962 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8966 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8967 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8968 $as_echo_n "(cached) " >&6
8969 else
8970 ac_wine_try_cflags_saved=$CFLAGS
8971 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8973 /* end confdefs.h. */
8974 int main(int argc, char **argv) { return 0; }
8975 _ACEOF
8976 if ac_fn_c_try_link "$LINENO"; then :
8977 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8978 else
8979 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8981 rm -f core conftest.err conftest.$ac_objext \
8982 conftest$ac_exeext conftest.$ac_ext
8983 CFLAGS=$ac_wine_try_cflags_saved
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8986 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8987 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8988 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8991 esac
8993 else
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8995 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8996 if ${ac_cv_c_dll_unixware+:} false; then :
8997 $as_echo_n "(cached) " >&6
8998 else
8999 ac_wine_try_cflags_saved=$CFLAGS
9000 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9002 /* end confdefs.h. */
9003 void myfunc() {}
9004 _ACEOF
9005 if ac_fn_c_try_link "$LINENO"; then :
9006 ac_cv_c_dll_unixware="yes"
9007 else
9008 ac_cv_c_dll_unixware="no"
9010 rm -f core conftest.err conftest.$ac_objext \
9011 conftest$ac_exeext conftest.$ac_ext
9012 CFLAGS=$ac_wine_try_cflags_saved
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9015 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9016 if test "$ac_cv_c_dll_unixware" = "yes"
9017 then
9018 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9021 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9023 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9025 LIBWINE_INSTALL_DEV="libwine.so"
9027 LIBWINE_DEPENDS="wine.map"
9030 esac
9032 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9033 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9034 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9035 enable_winemac_drv=${enable_winemac_drv:-no}
9036 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9038 CROSSTARGET=""
9040 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9041 then
9042 case "$host_cpu" in
9043 arm*)
9044 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9045 i[3456789]86*)
9046 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
9047 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9048 mingw32-gcc" ;;
9049 x86_64)
9050 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
9051 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9053 ac_prefix_list="" ;;
9054 esac
9055 for ac_prog in $ac_prefix_list
9057 # Extract the first word of "$ac_prog", so it can be a program name with args.
9058 set dummy $ac_prog; ac_word=$2
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9060 $as_echo_n "checking for $ac_word... " >&6; }
9061 if ${ac_cv_prog_CROSSCC+:} false; then :
9062 $as_echo_n "(cached) " >&6
9063 else
9064 if test -n "$CROSSCC"; then
9065 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9066 else
9067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9068 for as_dir in $PATH
9070 IFS=$as_save_IFS
9071 test -z "$as_dir" && as_dir=.
9072 for ac_exec_ext in '' $ac_executable_extensions; do
9073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9074 ac_cv_prog_CROSSCC="$ac_prog"
9075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9076 break 2
9078 done
9079 done
9080 IFS=$as_save_IFS
9084 CROSSCC=$ac_cv_prog_CROSSCC
9085 if test -n "$CROSSCC"; then
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9087 $as_echo "$CROSSCC" >&6; }
9088 else
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9090 $as_echo "no" >&6; }
9094 test -n "$CROSSCC" && break
9095 done
9096 test -n "$CROSSCC" || CROSSCC="false"
9098 if test "$CROSSCC" != "false"
9099 then
9100 ac_save_CC="$CC"
9101 CC="$CROSSCC"
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9103 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9105 /* end confdefs.h. */
9108 main ()
9112 return 0;
9114 _ACEOF
9115 if ac_fn_c_try_compile "$LINENO"; then :
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9117 $as_echo "yes" >&6; }
9118 set x $CROSSCC
9119 shift
9120 while test $# -ge 1
9122 case "$1" in
9123 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9124 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9125 esac
9126 shift
9127 done
9128 else
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9130 $as_echo "no" >&6; }
9132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9133 CC="$ac_save_CC"
9134 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9140 if test "$ac_cv_header_pthread_h" = "yes"
9141 then
9142 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9143 if test "x$ac_cv_func_pthread_create" = xyes; then :
9145 else
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9147 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9148 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9149 $as_echo_n "(cached) " >&6
9150 else
9151 ac_check_lib_save_LIBS=$LIBS
9152 LIBS="-lpthread $LIBS"
9153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9154 /* end confdefs.h. */
9156 /* Override any GCC internal prototype to avoid an error.
9157 Use char because int might match the return type of a GCC
9158 builtin and then its argument prototype would still apply. */
9159 #ifdef __cplusplus
9160 extern "C"
9161 #endif
9162 char pthread_create ();
9164 main ()
9166 return pthread_create ();
9168 return 0;
9170 _ACEOF
9171 if ac_fn_c_try_link "$LINENO"; then :
9172 ac_cv_lib_pthread_pthread_create=yes
9173 else
9174 ac_cv_lib_pthread_pthread_create=no
9176 rm -f core conftest.err conftest.$ac_objext \
9177 conftest$ac_exeext conftest.$ac_ext
9178 LIBS=$ac_check_lib_save_LIBS
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9181 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9182 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9183 PTHREAD_LIBS="-lpthread"
9190 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9191 case "x$with_pthread" in
9192 xno) ;;
9193 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9194 Wine cannot support threads without libpthread.
9195 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9196 esac
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9202 $as_echo_n "checking for X... " >&6; }
9205 # Check whether --with-x was given.
9206 if test "${with_x+set}" = set; then :
9207 withval=$with_x;
9210 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9211 if test "x$with_x" = xno; then
9212 # The user explicitly disabled X.
9213 have_x=disabled
9214 else
9215 case $x_includes,$x_libraries in #(
9216 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9217 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9218 $as_echo_n "(cached) " >&6
9219 else
9220 # One or both of the vars are not set, and there is no cached value.
9221 ac_x_includes=no ac_x_libraries=no
9222 rm -f -r conftest.dir
9223 if mkdir conftest.dir; then
9224 cd conftest.dir
9225 cat >Imakefile <<'_ACEOF'
9226 incroot:
9227 @echo incroot='${INCROOT}'
9228 usrlibdir:
9229 @echo usrlibdir='${USRLIBDIR}'
9230 libdir:
9231 @echo libdir='${LIBDIR}'
9232 _ACEOF
9233 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9234 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9235 for ac_var in incroot usrlibdir libdir; do
9236 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9237 done
9238 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9239 for ac_extension in a so sl dylib la dll; do
9240 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9241 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9242 ac_im_usrlibdir=$ac_im_libdir; break
9244 done
9245 # Screen out bogus values from the imake configuration. They are
9246 # bogus both because they are the default anyway, and because
9247 # using them would break gcc on systems where it needs fixed includes.
9248 case $ac_im_incroot in
9249 /usr/include) ac_x_includes= ;;
9250 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9251 esac
9252 case $ac_im_usrlibdir in
9253 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9254 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9255 esac
9257 cd ..
9258 rm -f -r conftest.dir
9261 # Standard set of common directories for X headers.
9262 # Check X11 before X11Rn because it is often a symlink to the current release.
9263 ac_x_header_dirs='
9264 /usr/X11/include
9265 /usr/X11R7/include
9266 /usr/X11R6/include
9267 /usr/X11R5/include
9268 /usr/X11R4/include
9270 /usr/include/X11
9271 /usr/include/X11R7
9272 /usr/include/X11R6
9273 /usr/include/X11R5
9274 /usr/include/X11R4
9276 /usr/local/X11/include
9277 /usr/local/X11R7/include
9278 /usr/local/X11R6/include
9279 /usr/local/X11R5/include
9280 /usr/local/X11R4/include
9282 /usr/local/include/X11
9283 /usr/local/include/X11R7
9284 /usr/local/include/X11R6
9285 /usr/local/include/X11R5
9286 /usr/local/include/X11R4
9288 /usr/X386/include
9289 /usr/x386/include
9290 /usr/XFree86/include/X11
9292 /usr/include
9293 /usr/local/include
9294 /usr/unsupported/include
9295 /usr/athena/include
9296 /usr/local/x11r5/include
9297 /usr/lpp/Xamples/include
9299 /usr/openwin/include
9300 /usr/openwin/share/include'
9302 if test "$ac_x_includes" = no; then
9303 # Guess where to find include files, by looking for Xlib.h.
9304 # First, try using that file with no special directory specified.
9305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9306 /* end confdefs.h. */
9307 #include <X11/Xlib.h>
9308 _ACEOF
9309 if ac_fn_c_try_cpp "$LINENO"; then :
9310 # We can compile using X headers with no special include directory.
9311 ac_x_includes=
9312 else
9313 for ac_dir in $ac_x_header_dirs; do
9314 if test -r "$ac_dir/X11/Xlib.h"; then
9315 ac_x_includes=$ac_dir
9316 break
9318 done
9320 rm -f conftest.err conftest.i conftest.$ac_ext
9321 fi # $ac_x_includes = no
9323 if test "$ac_x_libraries" = no; then
9324 # Check for the libraries.
9325 # See if we find them without any special options.
9326 # Don't add to $LIBS permanently.
9327 ac_save_LIBS=$LIBS
9328 LIBS="-lX11 $LIBS"
9329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9331 #include <X11/Xlib.h>
9333 main ()
9335 XrmInitialize ()
9337 return 0;
9339 _ACEOF
9340 if ac_fn_c_try_link "$LINENO"; then :
9341 LIBS=$ac_save_LIBS
9342 # We can link X programs with no special library path.
9343 ac_x_libraries=
9344 else
9345 LIBS=$ac_save_LIBS
9346 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9348 # Don't even attempt the hair of trying to link an X program!
9349 for ac_extension in a so sl dylib la dll; do
9350 if test -r "$ac_dir/libX11.$ac_extension"; then
9351 ac_x_libraries=$ac_dir
9352 break 2
9354 done
9355 done
9357 rm -f core conftest.err conftest.$ac_objext \
9358 conftest$ac_exeext conftest.$ac_ext
9359 fi # $ac_x_libraries = no
9361 case $ac_x_includes,$ac_x_libraries in #(
9362 no,* | *,no | *\'*)
9363 # Didn't find X, or a directory has "'" in its name.
9364 ac_cv_have_x="have_x=no";; #(
9366 # Record where we found X for the cache.
9367 ac_cv_have_x="have_x=yes\
9368 ac_x_includes='$ac_x_includes'\
9369 ac_x_libraries='$ac_x_libraries'"
9370 esac
9372 ;; #(
9373 *) have_x=yes;;
9374 esac
9375 eval "$ac_cv_have_x"
9376 fi # $with_x != no
9378 if test "$have_x" != yes; then
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9380 $as_echo "$have_x" >&6; }
9381 no_x=yes
9382 else
9383 # If each of the values was on the command line, it overrides each guess.
9384 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9385 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9386 # Update the cache value to reflect the command line values.
9387 ac_cv_have_x="have_x=yes\
9388 ac_x_includes='$x_includes'\
9389 ac_x_libraries='$x_libraries'"
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9391 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9394 if test "$no_x" = yes; then
9395 # Not all programs may use this symbol, but it does not hurt to define it.
9397 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9399 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9400 else
9401 if test -n "$x_includes"; then
9402 X_CFLAGS="$X_CFLAGS -I$x_includes"
9405 # It would also be nice to do this for all -L options, not just this one.
9406 if test -n "$x_libraries"; then
9407 X_LIBS="$X_LIBS -L$x_libraries"
9408 # For Solaris; some versions of Sun CC require a space after -R and
9409 # others require no space. Words are not sufficient . . . .
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9411 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9412 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9413 ac_xsave_c_werror_flag=$ac_c_werror_flag
9414 ac_c_werror_flag=yes
9415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9419 main ()
9423 return 0;
9425 _ACEOF
9426 if ac_fn_c_try_link "$LINENO"; then :
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9428 $as_echo "no" >&6; }
9429 X_LIBS="$X_LIBS -R$x_libraries"
9430 else
9431 LIBS="$ac_xsave_LIBS -R $x_libraries"
9432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9433 /* end confdefs.h. */
9436 main ()
9440 return 0;
9442 _ACEOF
9443 if ac_fn_c_try_link "$LINENO"; then :
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9445 $as_echo "yes" >&6; }
9446 X_LIBS="$X_LIBS -R $x_libraries"
9447 else
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9449 $as_echo "neither works" >&6; }
9451 rm -f core conftest.err conftest.$ac_objext \
9452 conftest$ac_exeext conftest.$ac_ext
9454 rm -f core conftest.err conftest.$ac_objext \
9455 conftest$ac_exeext conftest.$ac_ext
9456 ac_c_werror_flag=$ac_xsave_c_werror_flag
9457 LIBS=$ac_xsave_LIBS
9460 # Check for system-dependent libraries X programs must link with.
9461 # Do this before checking for the system-independent R6 libraries
9462 # (-lICE), since we may need -lsocket or whatever for X linking.
9464 if test "$ISC" = yes; then
9465 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9466 else
9467 # Martyn Johnson says this is needed for Ultrix, if the X
9468 # libraries were built with DECnet support. And Karl Berry says
9469 # the Alpha needs dnet_stub (dnet does not exist).
9470 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9474 /* Override any GCC internal prototype to avoid an error.
9475 Use char because int might match the return type of a GCC
9476 builtin and then its argument prototype would still apply. */
9477 #ifdef __cplusplus
9478 extern "C"
9479 #endif
9480 char XOpenDisplay ();
9482 main ()
9484 return XOpenDisplay ();
9486 return 0;
9488 _ACEOF
9489 if ac_fn_c_try_link "$LINENO"; then :
9491 else
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9493 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9494 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9495 $as_echo_n "(cached) " >&6
9496 else
9497 ac_check_lib_save_LIBS=$LIBS
9498 LIBS="-ldnet $LIBS"
9499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9500 /* end confdefs.h. */
9502 /* Override any GCC internal prototype to avoid an error.
9503 Use char because int might match the return type of a GCC
9504 builtin and then its argument prototype would still apply. */
9505 #ifdef __cplusplus
9506 extern "C"
9507 #endif
9508 char dnet_ntoa ();
9510 main ()
9512 return dnet_ntoa ();
9514 return 0;
9516 _ACEOF
9517 if ac_fn_c_try_link "$LINENO"; then :
9518 ac_cv_lib_dnet_dnet_ntoa=yes
9519 else
9520 ac_cv_lib_dnet_dnet_ntoa=no
9522 rm -f core conftest.err conftest.$ac_objext \
9523 conftest$ac_exeext conftest.$ac_ext
9524 LIBS=$ac_check_lib_save_LIBS
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9527 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9528 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9529 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9532 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9534 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9535 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9536 $as_echo_n "(cached) " >&6
9537 else
9538 ac_check_lib_save_LIBS=$LIBS
9539 LIBS="-ldnet_stub $LIBS"
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9543 /* Override any GCC internal prototype to avoid an error.
9544 Use char because int might match the return type of a GCC
9545 builtin and then its argument prototype would still apply. */
9546 #ifdef __cplusplus
9547 extern "C"
9548 #endif
9549 char dnet_ntoa ();
9551 main ()
9553 return dnet_ntoa ();
9555 return 0;
9557 _ACEOF
9558 if ac_fn_c_try_link "$LINENO"; then :
9559 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9560 else
9561 ac_cv_lib_dnet_stub_dnet_ntoa=no
9563 rm -f core conftest.err conftest.$ac_objext \
9564 conftest$ac_exeext conftest.$ac_ext
9565 LIBS=$ac_check_lib_save_LIBS
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9568 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9569 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9570 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 LIBS="$ac_xsave_LIBS"
9579 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9580 # to get the SysV transport functions.
9581 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9582 # needs -lnsl.
9583 # The nsl library prevents programs from opening the X display
9584 # on Irix 5.2, according to T.E. Dickey.
9585 # The functions gethostbyname, getservbyname, and inet_addr are
9586 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9587 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9588 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9592 if test $ac_cv_func_gethostbyname = no; then
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9594 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9595 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9596 $as_echo_n "(cached) " >&6
9597 else
9598 ac_check_lib_save_LIBS=$LIBS
9599 LIBS="-lnsl $LIBS"
9600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9603 /* Override any GCC internal prototype to avoid an error.
9604 Use char because int might match the return type of a GCC
9605 builtin and then its argument prototype would still apply. */
9606 #ifdef __cplusplus
9607 extern "C"
9608 #endif
9609 char gethostbyname ();
9611 main ()
9613 return gethostbyname ();
9615 return 0;
9617 _ACEOF
9618 if ac_fn_c_try_link "$LINENO"; then :
9619 ac_cv_lib_nsl_gethostbyname=yes
9620 else
9621 ac_cv_lib_nsl_gethostbyname=no
9623 rm -f core conftest.err conftest.$ac_objext \
9624 conftest$ac_exeext conftest.$ac_ext
9625 LIBS=$ac_check_lib_save_LIBS
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9628 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9629 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9630 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9633 if test $ac_cv_lib_nsl_gethostbyname = no; then
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9635 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9636 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9637 $as_echo_n "(cached) " >&6
9638 else
9639 ac_check_lib_save_LIBS=$LIBS
9640 LIBS="-lbsd $LIBS"
9641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9642 /* end confdefs.h. */
9644 /* Override any GCC internal prototype to avoid an error.
9645 Use char because int might match the return type of a GCC
9646 builtin and then its argument prototype would still apply. */
9647 #ifdef __cplusplus
9648 extern "C"
9649 #endif
9650 char gethostbyname ();
9652 main ()
9654 return gethostbyname ();
9656 return 0;
9658 _ACEOF
9659 if ac_fn_c_try_link "$LINENO"; then :
9660 ac_cv_lib_bsd_gethostbyname=yes
9661 else
9662 ac_cv_lib_bsd_gethostbyname=no
9664 rm -f core conftest.err conftest.$ac_objext \
9665 conftest$ac_exeext conftest.$ac_ext
9666 LIBS=$ac_check_lib_save_LIBS
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9669 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9670 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9671 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9677 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9678 # socket/setsockopt and other routines are undefined under SCO ODT
9679 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9680 # on later versions), says Simon Leinen: it contains gethostby*
9681 # variants that don't use the name server (or something). -lsocket
9682 # must be given before -lnsl if both are needed. We assume that
9683 # if connect needs -lnsl, so does gethostbyname.
9684 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9685 if test "x$ac_cv_func_connect" = xyes; then :
9689 if test $ac_cv_func_connect = no; then
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9691 $as_echo_n "checking for connect in -lsocket... " >&6; }
9692 if ${ac_cv_lib_socket_connect+:} false; then :
9693 $as_echo_n "(cached) " >&6
9694 else
9695 ac_check_lib_save_LIBS=$LIBS
9696 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9698 /* end confdefs.h. */
9700 /* Override any GCC internal prototype to avoid an error.
9701 Use char because int might match the return type of a GCC
9702 builtin and then its argument prototype would still apply. */
9703 #ifdef __cplusplus
9704 extern "C"
9705 #endif
9706 char connect ();
9708 main ()
9710 return connect ();
9712 return 0;
9714 _ACEOF
9715 if ac_fn_c_try_link "$LINENO"; then :
9716 ac_cv_lib_socket_connect=yes
9717 else
9718 ac_cv_lib_socket_connect=no
9720 rm -f core conftest.err conftest.$ac_objext \
9721 conftest$ac_exeext conftest.$ac_ext
9722 LIBS=$ac_check_lib_save_LIBS
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9725 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9726 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9727 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9732 # Guillermo Gomez says -lposix is necessary on A/UX.
9733 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9734 if test "x$ac_cv_func_remove" = xyes; then :
9738 if test $ac_cv_func_remove = no; then
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9740 $as_echo_n "checking for remove in -lposix... " >&6; }
9741 if ${ac_cv_lib_posix_remove+:} false; then :
9742 $as_echo_n "(cached) " >&6
9743 else
9744 ac_check_lib_save_LIBS=$LIBS
9745 LIBS="-lposix $LIBS"
9746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9747 /* end confdefs.h. */
9749 /* Override any GCC internal prototype to avoid an error.
9750 Use char because int might match the return type of a GCC
9751 builtin and then its argument prototype would still apply. */
9752 #ifdef __cplusplus
9753 extern "C"
9754 #endif
9755 char remove ();
9757 main ()
9759 return remove ();
9761 return 0;
9763 _ACEOF
9764 if ac_fn_c_try_link "$LINENO"; then :
9765 ac_cv_lib_posix_remove=yes
9766 else
9767 ac_cv_lib_posix_remove=no
9769 rm -f core conftest.err conftest.$ac_objext \
9770 conftest$ac_exeext conftest.$ac_ext
9771 LIBS=$ac_check_lib_save_LIBS
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9774 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9775 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9776 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9781 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9782 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9783 if test "x$ac_cv_func_shmat" = xyes; then :
9787 if test $ac_cv_func_shmat = no; then
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9789 $as_echo_n "checking for shmat in -lipc... " >&6; }
9790 if ${ac_cv_lib_ipc_shmat+:} false; then :
9791 $as_echo_n "(cached) " >&6
9792 else
9793 ac_check_lib_save_LIBS=$LIBS
9794 LIBS="-lipc $LIBS"
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9798 /* Override any GCC internal prototype to avoid an error.
9799 Use char because int might match the return type of a GCC
9800 builtin and then its argument prototype would still apply. */
9801 #ifdef __cplusplus
9802 extern "C"
9803 #endif
9804 char shmat ();
9806 main ()
9808 return shmat ();
9810 return 0;
9812 _ACEOF
9813 if ac_fn_c_try_link "$LINENO"; then :
9814 ac_cv_lib_ipc_shmat=yes
9815 else
9816 ac_cv_lib_ipc_shmat=no
9818 rm -f core conftest.err conftest.$ac_objext \
9819 conftest$ac_exeext conftest.$ac_ext
9820 LIBS=$ac_check_lib_save_LIBS
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9823 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9824 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9825 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9831 # Check for libraries that X11R6 Xt/Xaw programs need.
9832 ac_save_LDFLAGS=$LDFLAGS
9833 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9834 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9835 # check for ICE first), but we must link in the order -lSM -lICE or
9836 # we get undefined symbols. So assume we have SM if we have ICE.
9837 # These have to be linked with before -lX11, unlike the other
9838 # libraries we check for below, so use a different variable.
9839 # John Interrante, Karl Berry
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9841 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9842 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9843 $as_echo_n "(cached) " >&6
9844 else
9845 ac_check_lib_save_LIBS=$LIBS
9846 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9850 /* Override any GCC internal prototype to avoid an error.
9851 Use char because int might match the return type of a GCC
9852 builtin and then its argument prototype would still apply. */
9853 #ifdef __cplusplus
9854 extern "C"
9855 #endif
9856 char IceConnectionNumber ();
9858 main ()
9860 return IceConnectionNumber ();
9862 return 0;
9864 _ACEOF
9865 if ac_fn_c_try_link "$LINENO"; then :
9866 ac_cv_lib_ICE_IceConnectionNumber=yes
9867 else
9868 ac_cv_lib_ICE_IceConnectionNumber=no
9870 rm -f core conftest.err conftest.$ac_objext \
9871 conftest$ac_exeext conftest.$ac_ext
9872 LIBS=$ac_check_lib_save_LIBS
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9875 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9876 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9877 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9880 LDFLAGS=$ac_save_LDFLAGS
9885 if test "$have_x" = "yes"
9886 then
9887 ac_save_CPPFLAGS="$CPPFLAGS"
9888 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9891 $as_echo_n "checking for -lX11... " >&6; }
9892 if ${ac_cv_lib_soname_X11+:} false; then :
9893 $as_echo_n "(cached) " >&6
9894 else
9895 ac_check_soname_save_LIBS=$LIBS
9896 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9900 /* Override any GCC internal prototype to avoid an error.
9901 Use char because int might match the return type of a GCC
9902 builtin and then its argument prototype would still apply. */
9903 #ifdef __cplusplus
9904 extern "C"
9905 #endif
9906 char XCreateWindow ();
9908 main ()
9910 return XCreateWindow ();
9912 return 0;
9914 _ACEOF
9915 if ac_fn_c_try_link "$LINENO"; then :
9916 case "$LIBEXT" in
9917 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9918 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'` ;;
9919 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9920 if ${ac_cv_lib_soname_X11:+false} :; then :
9921 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9922 fi ;;
9923 esac
9925 rm -f core conftest.err conftest.$ac_objext \
9926 conftest$ac_exeext conftest.$ac_ext
9927 LIBS=$ac_check_soname_save_LIBS
9929 if ${ac_cv_lib_soname_X11:+false} :; then :
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9931 $as_echo "not found" >&6; }
9933 else
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9935 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9937 cat >>confdefs.h <<_ACEOF
9938 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9939 _ACEOF
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9944 $as_echo_n "checking for -lXext... " >&6; }
9945 if ${ac_cv_lib_soname_Xext+:} false; then :
9946 $as_echo_n "(cached) " >&6
9947 else
9948 ac_check_soname_save_LIBS=$LIBS
9949 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9951 /* end confdefs.h. */
9953 /* Override any GCC internal prototype to avoid an error.
9954 Use char because int might match the return type of a GCC
9955 builtin and then its argument prototype would still apply. */
9956 #ifdef __cplusplus
9957 extern "C"
9958 #endif
9959 char XextCreateExtension ();
9961 main ()
9963 return XextCreateExtension ();
9965 return 0;
9967 _ACEOF
9968 if ac_fn_c_try_link "$LINENO"; then :
9969 case "$LIBEXT" in
9970 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9971 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'` ;;
9972 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9973 if ${ac_cv_lib_soname_Xext:+false} :; then :
9974 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9975 fi ;;
9976 esac
9978 rm -f core conftest.err conftest.$ac_objext \
9979 conftest$ac_exeext conftest.$ac_ext
9980 LIBS=$ac_check_soname_save_LIBS
9982 if ${ac_cv_lib_soname_Xext:+false} :; then :
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9984 $as_echo "not found" >&6; }
9986 else
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9988 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9990 cat >>confdefs.h <<_ACEOF
9991 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9992 _ACEOF
9994 X_LIBS="$X_LIBS -lXext"
9996 X_LIBS="$X_LIBS -lX11"
9998 for ac_header in X11/Xlib.h \
9999 X11/XKBlib.h \
10000 X11/Xutil.h \
10001 X11/Xcursor/Xcursor.h \
10002 X11/extensions/shape.h \
10003 X11/extensions/XInput.h \
10004 X11/extensions/XInput2.h \
10005 X11/extensions/XShm.h \
10006 X11/extensions/Xcomposite.h \
10007 X11/extensions/Xfixes.h \
10008 X11/extensions/Xinerama.h \
10009 X11/extensions/Xrandr.h \
10010 X11/extensions/Xrender.h \
10011 X11/extensions/xf86vmode.h \
10012 X11/extensions/xf86vmproto.h
10013 do :
10014 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10015 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10016 # include <X11/Xlib.h>
10017 #endif
10018 #ifdef HAVE_X11_XUTIL_H
10019 # include <X11/Xutil.h>
10020 #endif
10022 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10023 cat >>confdefs.h <<_ACEOF
10024 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10025 _ACEOF
10029 done
10032 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10033 then
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10035 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10036 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10037 $as_echo_n "(cached) " >&6
10038 else
10039 ac_check_lib_save_LIBS=$LIBS
10040 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10044 /* Override any GCC internal prototype to avoid an error.
10045 Use char because int might match the return type of a GCC
10046 builtin and then its argument prototype would still apply. */
10047 #ifdef __cplusplus
10048 extern "C"
10049 #endif
10050 char XkbQueryExtension ();
10052 main ()
10054 return XkbQueryExtension ();
10056 return 0;
10058 _ACEOF
10059 if ac_fn_c_try_link "$LINENO"; then :
10060 ac_cv_lib_X11_XkbQueryExtension=yes
10061 else
10062 ac_cv_lib_X11_XkbQueryExtension=no
10064 rm -f core conftest.err conftest.$ac_objext \
10065 conftest$ac_exeext conftest.$ac_ext
10066 LIBS=$ac_check_lib_save_LIBS
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10069 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10070 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10072 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10078 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10079 then
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10081 $as_echo_n "checking for -lXcursor... " >&6; }
10082 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10083 $as_echo_n "(cached) " >&6
10084 else
10085 ac_check_soname_save_LIBS=$LIBS
10086 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10088 /* end confdefs.h. */
10090 /* Override any GCC internal prototype to avoid an error.
10091 Use char because int might match the return type of a GCC
10092 builtin and then its argument prototype would still apply. */
10093 #ifdef __cplusplus
10094 extern "C"
10095 #endif
10096 char XcursorImageLoadCursor ();
10098 main ()
10100 return XcursorImageLoadCursor ();
10102 return 0;
10104 _ACEOF
10105 if ac_fn_c_try_link "$LINENO"; then :
10106 case "$LIBEXT" in
10107 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10108 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'` ;;
10109 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10110 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10111 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10112 fi ;;
10113 esac
10115 rm -f core conftest.err conftest.$ac_objext \
10116 conftest$ac_exeext conftest.$ac_ext
10117 LIBS=$ac_check_soname_save_LIBS
10119 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10121 $as_echo "not found" >&6; }
10123 else
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10125 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10127 cat >>confdefs.h <<_ACEOF
10128 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10129 _ACEOF
10134 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10135 case "x$with_xcursor" in
10136 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10137 xno) ;;
10138 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10139 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10140 esac
10144 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10145 then
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10147 $as_echo_n "checking for -lXi... " >&6; }
10148 if ${ac_cv_lib_soname_Xi+:} false; then :
10149 $as_echo_n "(cached) " >&6
10150 else
10151 ac_check_soname_save_LIBS=$LIBS
10152 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10156 /* Override any GCC internal prototype to avoid an error.
10157 Use char because int might match the return type of a GCC
10158 builtin and then its argument prototype would still apply. */
10159 #ifdef __cplusplus
10160 extern "C"
10161 #endif
10162 char XOpenDevice ();
10164 main ()
10166 return XOpenDevice ();
10168 return 0;
10170 _ACEOF
10171 if ac_fn_c_try_link "$LINENO"; then :
10172 case "$LIBEXT" in
10173 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10174 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'` ;;
10175 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10176 if ${ac_cv_lib_soname_Xi:+false} :; then :
10177 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10178 fi ;;
10179 esac
10181 rm -f core conftest.err conftest.$ac_objext \
10182 conftest$ac_exeext conftest.$ac_ext
10183 LIBS=$ac_check_soname_save_LIBS
10185 if ${ac_cv_lib_soname_Xi:+false} :; then :
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10187 $as_echo "not found" >&6; }
10189 else
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10191 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10193 cat >>confdefs.h <<_ACEOF
10194 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10195 _ACEOF
10200 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10201 case "x$with_xinput" in
10202 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10203 xno) ;;
10204 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10205 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10206 esac
10210 if test "x$ac_cv_lib_soname_Xi" != x
10211 then
10212 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10213 case "x$with_xinput2" in
10214 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10215 xno) ;;
10216 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10217 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10218 esac
10223 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10224 then
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10226 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10227 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10228 $as_echo_n "(cached) " >&6
10229 else
10230 ac_check_lib_save_LIBS=$LIBS
10231 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10235 /* Override any GCC internal prototype to avoid an error.
10236 Use char because int might match the return type of a GCC
10237 builtin and then its argument prototype would still apply. */
10238 #ifdef __cplusplus
10239 extern "C"
10240 #endif
10241 char XShmQueryExtension ();
10243 main ()
10245 return XShmQueryExtension ();
10247 return 0;
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"; then :
10251 ac_cv_lib_Xext_XShmQueryExtension=yes
10252 else
10253 ac_cv_lib_Xext_XShmQueryExtension=no
10255 rm -f core conftest.err conftest.$ac_objext \
10256 conftest$ac_exeext conftest.$ac_ext
10257 LIBS=$ac_check_lib_save_LIBS
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10260 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10261 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10263 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10268 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10269 case "x$with_xshm" in
10270 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10271 xno) ;;
10272 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10273 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10274 esac
10278 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10279 then
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10281 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10282 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10283 $as_echo_n "(cached) " >&6
10284 else
10285 ac_check_lib_save_LIBS=$LIBS
10286 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10290 /* Override any GCC internal prototype to avoid an error.
10291 Use char because int might match the return type of a GCC
10292 builtin and then its argument prototype would still apply. */
10293 #ifdef __cplusplus
10294 extern "C"
10295 #endif
10296 char XShapeQueryExtension ();
10298 main ()
10300 return XShapeQueryExtension ();
10302 return 0;
10304 _ACEOF
10305 if ac_fn_c_try_link "$LINENO"; then :
10306 ac_cv_lib_Xext_XShapeQueryExtension=yes
10307 else
10308 ac_cv_lib_Xext_XShapeQueryExtension=no
10310 rm -f core conftest.err conftest.$ac_objext \
10311 conftest$ac_exeext conftest.$ac_ext
10312 LIBS=$ac_check_lib_save_LIBS
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10315 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10316 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10318 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10323 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10324 case "x$with_xshape" in
10325 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10326 xno) ;;
10327 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10328 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10329 esac
10333 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10334 then
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10336 $as_echo_n "checking for -lXxf86vm... " >&6; }
10337 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10338 $as_echo_n "(cached) " >&6
10339 else
10340 ac_check_soname_save_LIBS=$LIBS
10341 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10343 /* end confdefs.h. */
10345 /* Override any GCC internal prototype to avoid an error.
10346 Use char because int might match the return type of a GCC
10347 builtin and then its argument prototype would still apply. */
10348 #ifdef __cplusplus
10349 extern "C"
10350 #endif
10351 char XF86VidModeQueryExtension ();
10353 main ()
10355 return XF86VidModeQueryExtension ();
10357 return 0;
10359 _ACEOF
10360 if ac_fn_c_try_link "$LINENO"; then :
10361 case "$LIBEXT" in
10362 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10363 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'` ;;
10364 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10365 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10366 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10367 fi ;;
10368 esac
10370 rm -f core conftest.err conftest.$ac_objext \
10371 conftest$ac_exeext conftest.$ac_ext
10372 LIBS=$ac_check_soname_save_LIBS
10374 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10376 $as_echo "not found" >&6; }
10378 else
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10380 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10382 cat >>confdefs.h <<_ACEOF
10383 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10384 _ACEOF
10389 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10390 case "x$with_xxf86vm" in
10391 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10392 xno) ;;
10393 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10394 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10395 esac
10399 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10400 then
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10402 $as_echo_n "checking for -lXrender... " >&6; }
10403 if ${ac_cv_lib_soname_Xrender+:} false; then :
10404 $as_echo_n "(cached) " >&6
10405 else
10406 ac_check_soname_save_LIBS=$LIBS
10407 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10411 /* Override any GCC internal prototype to avoid an error.
10412 Use char because int might match the return type of a GCC
10413 builtin and then its argument prototype would still apply. */
10414 #ifdef __cplusplus
10415 extern "C"
10416 #endif
10417 char XRenderQueryExtension ();
10419 main ()
10421 return XRenderQueryExtension ();
10423 return 0;
10425 _ACEOF
10426 if ac_fn_c_try_link "$LINENO"; then :
10427 case "$LIBEXT" in
10428 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10429 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'` ;;
10430 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10431 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10432 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10433 fi ;;
10434 esac
10436 rm -f core conftest.err conftest.$ac_objext \
10437 conftest$ac_exeext conftest.$ac_ext
10438 LIBS=$ac_check_soname_save_LIBS
10440 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10442 $as_echo "not found" >&6; }
10444 else
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10446 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10448 cat >>confdefs.h <<_ACEOF
10449 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10450 _ACEOF
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10453 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10454 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10455 $as_echo_n "(cached) " >&6
10456 else
10457 ac_check_lib_save_LIBS=$LIBS
10458 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10460 /* end confdefs.h. */
10462 /* Override any GCC internal prototype to avoid an error.
10463 Use char because int might match the return type of a GCC
10464 builtin and then its argument prototype would still apply. */
10465 #ifdef __cplusplus
10466 extern "C"
10467 #endif
10468 char XRenderSetPictureTransform ();
10470 main ()
10472 return XRenderSetPictureTransform ();
10474 return 0;
10476 _ACEOF
10477 if ac_fn_c_try_link "$LINENO"; then :
10478 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10479 else
10480 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10482 rm -f core conftest.err conftest.$ac_objext \
10483 conftest$ac_exeext conftest.$ac_ext
10484 LIBS=$ac_check_lib_save_LIBS
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10487 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10488 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10490 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10495 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10496 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10497 $as_echo_n "(cached) " >&6
10498 else
10499 ac_check_lib_save_LIBS=$LIBS
10500 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10502 /* end confdefs.h. */
10504 /* Override any GCC internal prototype to avoid an error.
10505 Use char because int might match the return type of a GCC
10506 builtin and then its argument prototype would still apply. */
10507 #ifdef __cplusplus
10508 extern "C"
10509 #endif
10510 char XRenderCreateLinearGradient ();
10512 main ()
10514 return XRenderCreateLinearGradient ();
10516 return 0;
10518 _ACEOF
10519 if ac_fn_c_try_link "$LINENO"; then :
10520 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10521 else
10522 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10524 rm -f core conftest.err conftest.$ac_objext \
10525 conftest$ac_exeext conftest.$ac_ext
10526 LIBS=$ac_check_lib_save_LIBS
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10529 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10530 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10532 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10539 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10540 case "x$with_xrender" in
10541 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10542 xno) ;;
10543 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10544 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10545 esac
10549 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10550 then
10551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10552 /* end confdefs.h. */
10553 #include <X11/Xlib.h>
10554 #include <X11/extensions/Xrandr.h>
10556 main ()
10558 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10560 return 0;
10562 _ACEOF
10563 if ac_fn_c_try_compile "$LINENO"; then :
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10565 $as_echo_n "checking for -lXrandr... " >&6; }
10566 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10567 $as_echo_n "(cached) " >&6
10568 else
10569 ac_check_soname_save_LIBS=$LIBS
10570 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10572 /* end confdefs.h. */
10574 /* Override any GCC internal prototype to avoid an error.
10575 Use char because int might match the return type of a GCC
10576 builtin and then its argument prototype would still apply. */
10577 #ifdef __cplusplus
10578 extern "C"
10579 #endif
10580 char XRRQueryExtension ();
10582 main ()
10584 return XRRQueryExtension ();
10586 return 0;
10588 _ACEOF
10589 if ac_fn_c_try_link "$LINENO"; then :
10590 case "$LIBEXT" in
10591 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10592 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'` ;;
10593 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10594 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10595 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10596 fi ;;
10597 esac
10599 rm -f core conftest.err conftest.$ac_objext \
10600 conftest$ac_exeext conftest.$ac_ext
10601 LIBS=$ac_check_soname_save_LIBS
10603 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10605 $as_echo "not found" >&6; }
10607 else
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10609 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10611 cat >>confdefs.h <<_ACEOF
10612 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10613 _ACEOF
10615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10616 /* end confdefs.h. */
10617 #include <X11/Xlib.h>
10618 #include <X11/extensions/Xrandr.h>
10620 main ()
10622 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10624 return 0;
10626 _ACEOF
10627 if ac_fn_c_try_compile "$LINENO"; then :
10629 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10637 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10638 case "x$with_xrandr" in
10639 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10640 xno) ;;
10641 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10642 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10643 esac
10647 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10648 then
10649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10650 /* end confdefs.h. */
10651 #include <X11/Xlib.h>
10652 #include <X11/extensions/Xfixes.h>
10654 main ()
10656 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10658 return 0;
10660 _ACEOF
10661 if ac_fn_c_try_compile "$LINENO"; then :
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10663 $as_echo_n "checking for -lXfixes... " >&6; }
10664 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10665 $as_echo_n "(cached) " >&6
10666 else
10667 ac_check_soname_save_LIBS=$LIBS
10668 LIBS="-lXfixes $X_LIBS $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 XFixesQueryVersion ();
10680 main ()
10682 return XFixesQueryVersion ();
10684 return 0;
10686 _ACEOF
10687 if ac_fn_c_try_link "$LINENO"; then :
10688 case "$LIBEXT" in
10689 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10690 dylib) ac_cv_lib_soname_Xfixes=`$OTOOL -L conftest$ac_exeext | grep "libXfixes\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXfixes\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10691 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10692 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10693 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$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_Xfixes:+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_Xfixes" >&5
10707 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10709 cat >>confdefs.h <<_ACEOF
10710 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10711 _ACEOF
10716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10718 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10719 case "x$with_xfixes" in
10720 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10721 xno) ;;
10722 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10723 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10724 esac
10728 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10729 then
10730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10731 /* end confdefs.h. */
10732 #include <X11/Xlib.h>
10733 #include <X11/extensions/Xinerama.h>
10735 main ()
10737 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10739 return 0;
10741 _ACEOF
10742 if ac_fn_c_try_compile "$LINENO"; then :
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10744 $as_echo_n "checking for -lXinerama... " >&6; }
10745 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10746 $as_echo_n "(cached) " >&6
10747 else
10748 ac_check_soname_save_LIBS=$LIBS
10749 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10756 #ifdef __cplusplus
10757 extern "C"
10758 #endif
10759 char XineramaQueryScreens ();
10761 main ()
10763 return XineramaQueryScreens ();
10765 return 0;
10767 _ACEOF
10768 if ac_fn_c_try_link "$LINENO"; then :
10769 case "$LIBEXT" in
10770 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10771 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'` ;;
10772 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10773 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10774 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10775 fi ;;
10776 esac
10778 rm -f core conftest.err conftest.$ac_objext \
10779 conftest$ac_exeext conftest.$ac_ext
10780 LIBS=$ac_check_soname_save_LIBS
10782 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10784 $as_echo "not found" >&6; }
10786 else
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10788 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10790 cat >>confdefs.h <<_ACEOF
10791 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10792 _ACEOF
10797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10799 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10800 case "x$with_xinerama" in
10801 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10802 xno) ;;
10803 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10804 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10805 esac
10809 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10810 then
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10812 $as_echo_n "checking for -lXcomposite... " >&6; }
10813 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10814 $as_echo_n "(cached) " >&6
10815 else
10816 ac_check_soname_save_LIBS=$LIBS
10817 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10821 /* Override any GCC internal prototype to avoid an error.
10822 Use char because int might match the return type of a GCC
10823 builtin and then its argument prototype would still apply. */
10824 #ifdef __cplusplus
10825 extern "C"
10826 #endif
10827 char XCompositeRedirectWindow ();
10829 main ()
10831 return XCompositeRedirectWindow ();
10833 return 0;
10835 _ACEOF
10836 if ac_fn_c_try_link "$LINENO"; then :
10837 case "$LIBEXT" in
10838 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10839 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'` ;;
10840 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10841 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10842 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10843 fi ;;
10844 esac
10846 rm -f core conftest.err conftest.$ac_objext \
10847 conftest$ac_exeext conftest.$ac_ext
10848 LIBS=$ac_check_soname_save_LIBS
10850 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10852 $as_echo "not found" >&6; }
10854 else
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10856 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10858 cat >>confdefs.h <<_ACEOF
10859 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10860 _ACEOF
10865 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10866 case "x$with_xcomposite" in
10867 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10868 xno) ;;
10869 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10870 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10871 esac
10875 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10876 #include <X11/Xlib.h>
10877 #endif
10879 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10881 cat >>confdefs.h <<_ACEOF
10882 #define HAVE_XICCALLBACK_CALLBACK 1
10883 _ACEOF
10887 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10888 #include <X11/Xlib.h>
10889 #endif
10891 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10893 cat >>confdefs.h <<_ACEOF
10894 #define HAVE_XEVENT_XCOOKIE 1
10895 _ACEOF
10902 opengl_msg=""
10903 if test "x$with_opengl" != "xno"
10904 then
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10906 $as_echo_n "checking for -lGL... " >&6; }
10907 if ${ac_cv_lib_soname_GL+:} false; then :
10908 $as_echo_n "(cached) " >&6
10909 else
10910 ac_check_soname_save_LIBS=$LIBS
10911 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10915 /* Override any GCC internal prototype to avoid an error.
10916 Use char because int might match the return type of a GCC
10917 builtin and then its argument prototype would still apply. */
10918 #ifdef __cplusplus
10919 extern "C"
10920 #endif
10921 char glXCreateContext ();
10923 main ()
10925 return glXCreateContext ();
10927 return 0;
10929 _ACEOF
10930 if ac_fn_c_try_link "$LINENO"; then :
10931 case "$LIBEXT" in
10932 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10933 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'` ;;
10934 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10935 if ${ac_cv_lib_soname_GL:+false} :; then :
10936 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10937 fi ;;
10938 esac
10940 rm -f core conftest.err conftest.$ac_objext \
10941 conftest$ac_exeext conftest.$ac_ext
10942 LIBS=$ac_check_soname_save_LIBS
10944 if ${ac_cv_lib_soname_GL:+false} :; then :
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10946 $as_echo "not found" >&6; }
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10948 $as_echo_n "checking for -lGL... " >&6; }
10949 if ${ac_cv_lib_soname_GL+:} false; then :
10950 $as_echo_n "(cached) " >&6
10951 else
10952 ac_check_soname_save_LIBS=$LIBS
10953 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"
10954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10957 /* Override any GCC internal prototype to avoid an error.
10958 Use char because int might match the return type of a GCC
10959 builtin and then its argument prototype would still apply. */
10960 #ifdef __cplusplus
10961 extern "C"
10962 #endif
10963 char glXCreateContext ();
10965 main ()
10967 return glXCreateContext ();
10969 return 0;
10971 _ACEOF
10972 if ac_fn_c_try_link "$LINENO"; then :
10973 case "$LIBEXT" in
10974 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10975 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'` ;;
10976 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10977 if ${ac_cv_lib_soname_GL:+false} :; then :
10978 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10979 fi ;;
10980 esac
10982 rm -f core conftest.err conftest.$ac_objext \
10983 conftest$ac_exeext conftest.$ac_ext
10984 LIBS=$ac_check_soname_save_LIBS
10986 if ${ac_cv_lib_soname_GL:+false} :; then :
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10988 $as_echo "not found" >&6; }
10989 if test -f /usr/X11R6/lib/libGL.a
10990 then
10991 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10992 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10993 else
10994 opengl_msg="No OpenGL library found on this system."
10996 else
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10998 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11000 cat >>confdefs.h <<_ACEOF
11001 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11002 _ACEOF
11004 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"
11006 else
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11008 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11010 cat >>confdefs.h <<_ACEOF
11011 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11012 _ACEOF
11014 OPENGL_LIBS="-lGL"
11016 if test "x$with_glu" != "xno"
11017 then
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11019 $as_echo_n "checking for -lGLU... " >&6; }
11020 if ${ac_cv_lib_soname_GLU+:} false; then :
11021 $as_echo_n "(cached) " >&6
11022 else
11023 ac_check_soname_save_LIBS=$LIBS
11024 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11026 /* end confdefs.h. */
11028 /* Override any GCC internal prototype to avoid an error.
11029 Use char because int might match the return type of a GCC
11030 builtin and then its argument prototype would still apply. */
11031 #ifdef __cplusplus
11032 extern "C"
11033 #endif
11034 char gluLookAt ();
11036 main ()
11038 return gluLookAt ();
11040 return 0;
11042 _ACEOF
11043 if ac_fn_c_try_link "$LINENO"; then :
11044 case "$LIBEXT" in
11045 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11046 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11047 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11048 if ${ac_cv_lib_soname_GLU:+false} :; then :
11049 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11050 fi ;;
11051 esac
11053 rm -f core conftest.err conftest.$ac_objext \
11054 conftest$ac_exeext conftest.$ac_ext
11055 LIBS=$ac_check_soname_save_LIBS
11057 if ${ac_cv_lib_soname_GLU:+false} :; then :
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11059 $as_echo "not found" >&6; }
11061 else
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11063 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11065 cat >>confdefs.h <<_ACEOF
11066 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11067 _ACEOF
11071 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11072 case "x$with_glu" in
11073 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11074 xno) ;;
11075 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11076 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11077 esac
11082 if test "x$with_osmesa" != "xno"
11083 then
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11085 $as_echo_n "checking for -lOSMesa... " >&6; }
11086 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11087 $as_echo_n "(cached) " >&6
11088 else
11089 ac_check_soname_save_LIBS=$LIBS
11090 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11092 /* end confdefs.h. */
11094 /* Override any GCC internal prototype to avoid an error.
11095 Use char because int might match the return type of a GCC
11096 builtin and then its argument prototype would still apply. */
11097 #ifdef __cplusplus
11098 extern "C"
11099 #endif
11100 char OSMesaGetProcAddress ();
11102 main ()
11104 return OSMesaGetProcAddress ();
11106 return 0;
11108 _ACEOF
11109 if ac_fn_c_try_link "$LINENO"; then :
11110 case "$LIBEXT" in
11111 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11112 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'` ;;
11113 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11114 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11115 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11116 fi ;;
11117 esac
11119 rm -f core conftest.err conftest.$ac_objext \
11120 conftest$ac_exeext conftest.$ac_ext
11121 LIBS=$ac_check_soname_save_LIBS
11123 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11125 $as_echo "not found" >&6; }
11127 else
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11129 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11131 cat >>confdefs.h <<_ACEOF
11132 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11133 _ACEOF
11137 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11138 case "x$with_osmesa" in
11139 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11140 xno) ;;
11141 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11142 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11143 esac
11148 if test -n "$opengl_msg"; then :
11149 case "x$with_opengl" in
11150 x) as_fn_append wine_warnings "|$opengl_msg
11151 OpenGL and Direct3D won't be supported." ;;
11152 xno) ;;
11153 *) as_fn_error $? "$opengl_msg
11154 OpenGL and Direct3D won't be supported.
11155 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11156 esac
11160 CPPFLAGS="$ac_save_CPPFLAGS"
11161 else
11162 X_CFLAGS=""
11163 X_LIBS=""
11166 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11167 then
11168 if test "x$X_LIBS" = "x"; then :
11169 case "x$with_x" in
11170 xno) ;;
11171 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11172 without X support, which probably isn't what you want. You will need
11173 to install ${notice_platform}development packages of Xlib at the very least.
11174 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11175 esac
11176 enable_winex11_drv=${enable_winex11_drv:-no}
11178 else
11179 if test "x$X_LIBS" = "x"; then :
11180 case "x$with_x" in
11181 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11182 xno) ;;
11183 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11184 This is an error since --with-x was requested." "$LINENO" 5 ;;
11185 esac
11186 enable_winex11_drv=${enable_winex11_drv:-no}
11190 if test "$ac_cv_header_CL_cl_h" = "yes"
11191 then
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11193 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11194 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11195 $as_echo_n "(cached) " >&6
11196 else
11197 ac_check_lib_save_LIBS=$LIBS
11198 LIBS="-lOpenCL $LIBS"
11199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11200 /* end confdefs.h. */
11202 /* Override any GCC internal prototype to avoid an error.
11203 Use char because int might match the return type of a GCC
11204 builtin and then its argument prototype would still apply. */
11205 #ifdef __cplusplus
11206 extern "C"
11207 #endif
11208 char clGetPlatformInfo ();
11210 main ()
11212 return clGetPlatformInfo ();
11214 return 0;
11216 _ACEOF
11217 if ac_fn_c_try_link "$LINENO"; then :
11218 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11219 else
11220 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11222 rm -f core conftest.err conftest.$ac_objext \
11223 conftest$ac_exeext conftest.$ac_ext
11224 LIBS=$ac_check_lib_save_LIBS
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11227 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11228 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11229 OPENCL_LIBS="-lOpenCL"
11234 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11235 case "x$with_opencl" in
11236 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11237 xno) ;;
11238 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11239 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11240 esac
11241 enable_opencl=${enable_opencl:-no}
11244 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11245 then
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11247 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11248 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11249 $as_echo_n "(cached) " >&6
11250 else
11251 ac_check_lib_save_LIBS=$LIBS
11252 LIBS="-lpcap $LIBS"
11253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11256 /* Override any GCC internal prototype to avoid an error.
11257 Use char because int might match the return type of a GCC
11258 builtin and then its argument prototype would still apply. */
11259 #ifdef __cplusplus
11260 extern "C"
11261 #endif
11262 char pcap_create ();
11264 main ()
11266 return pcap_create ();
11268 return 0;
11270 _ACEOF
11271 if ac_fn_c_try_link "$LINENO"; then :
11272 ac_cv_lib_pcap_pcap_create=yes
11273 else
11274 ac_cv_lib_pcap_pcap_create=no
11276 rm -f core conftest.err conftest.$ac_objext \
11277 conftest$ac_exeext conftest.$ac_ext
11278 LIBS=$ac_check_lib_save_LIBS
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11281 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11282 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11283 PCAP_LIBS="-lpcap"
11288 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11289 case "x$with_pcap" in
11290 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11291 xno) ;;
11292 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11293 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11294 esac
11295 enable_wpcap=${enable_wpcap:-no}
11299 if test "x$with_xml" != "xno"
11300 then
11301 if ${XML2_CFLAGS:+false} :; then :
11302 if ${PKG_CONFIG+:} false; then :
11303 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11306 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11307 if ${XML2_LIBS:+false} :; then :
11308 if ${PKG_CONFIG+:} false; then :
11309 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11312 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11313 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11314 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11315 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11316 ac_save_CPPFLAGS=$CPPFLAGS
11317 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11318 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11319 do :
11320 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11321 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11322 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11323 cat >>confdefs.h <<_ACEOF
11324 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11325 _ACEOF
11329 done
11331 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"
11332 then
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11334 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11335 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11336 $as_echo_n "(cached) " >&6
11337 else
11338 ac_check_lib_save_LIBS=$LIBS
11339 LIBS="-lxml2 $XML2_LIBS $LIBS"
11340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11341 /* end confdefs.h. */
11343 /* Override any GCC internal prototype to avoid an error.
11344 Use char because int might match the return type of a GCC
11345 builtin and then its argument prototype would still apply. */
11346 #ifdef __cplusplus
11347 extern "C"
11348 #endif
11349 char xmlParseMemory ();
11351 main ()
11353 return xmlParseMemory ();
11355 return 0;
11357 _ACEOF
11358 if ac_fn_c_try_link "$LINENO"; then :
11359 ac_cv_lib_xml2_xmlParseMemory=yes
11360 else
11361 ac_cv_lib_xml2_xmlParseMemory=no
11363 rm -f core conftest.err conftest.$ac_objext \
11364 conftest$ac_exeext conftest.$ac_ext
11365 LIBS=$ac_check_lib_save_LIBS
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11368 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11369 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11371 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11373 else
11374 XML2_LIBS=""
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11378 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11379 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11380 $as_echo_n "(cached) " >&6
11381 else
11382 ac_check_lib_save_LIBS=$LIBS
11383 LIBS="-lxml2 $XML2_LIBS $LIBS"
11384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11387 /* Override any GCC internal prototype to avoid an error.
11388 Use char because int might match the return type of a GCC
11389 builtin and then its argument prototype would still apply. */
11390 #ifdef __cplusplus
11391 extern "C"
11392 #endif
11393 char xmlReadMemory ();
11395 main ()
11397 return xmlReadMemory ();
11399 return 0;
11401 _ACEOF
11402 if ac_fn_c_try_link "$LINENO"; then :
11403 ac_cv_lib_xml2_xmlReadMemory=yes
11404 else
11405 ac_cv_lib_xml2_xmlReadMemory=no
11407 rm -f core conftest.err conftest.$ac_objext \
11408 conftest$ac_exeext conftest.$ac_ext
11409 LIBS=$ac_check_lib_save_LIBS
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11412 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11413 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11415 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11420 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11421 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11422 $as_echo_n "(cached) " >&6
11423 else
11424 ac_check_lib_save_LIBS=$LIBS
11425 LIBS="-lxml2 $XML2_LIBS $LIBS"
11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */
11429 /* Override any GCC internal prototype to avoid an error.
11430 Use char because int might match the return type of a GCC
11431 builtin and then its argument prototype would still apply. */
11432 #ifdef __cplusplus
11433 extern "C"
11434 #endif
11435 char xmlNewDocPI ();
11437 main ()
11439 return xmlNewDocPI ();
11441 return 0;
11443 _ACEOF
11444 if ac_fn_c_try_link "$LINENO"; then :
11445 ac_cv_lib_xml2_xmlNewDocPI=yes
11446 else
11447 ac_cv_lib_xml2_xmlNewDocPI=no
11449 rm -f core conftest.err conftest.$ac_objext \
11450 conftest$ac_exeext conftest.$ac_ext
11451 LIBS=$ac_check_lib_save_LIBS
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11454 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11455 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11457 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11462 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11463 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11464 $as_echo_n "(cached) " >&6
11465 else
11466 ac_check_lib_save_LIBS=$LIBS
11467 LIBS="-lxml2 $XML2_LIBS $LIBS"
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11471 /* Override any GCC internal prototype to avoid an error.
11472 Use char because int might match the return type of a GCC
11473 builtin and then its argument prototype would still apply. */
11474 #ifdef __cplusplus
11475 extern "C"
11476 #endif
11477 char xmlSchemaSetParserStructuredErrors ();
11479 main ()
11481 return xmlSchemaSetParserStructuredErrors ();
11483 return 0;
11485 _ACEOF
11486 if ac_fn_c_try_link "$LINENO"; then :
11487 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11488 else
11489 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11491 rm -f core conftest.err conftest.$ac_objext \
11492 conftest$ac_exeext conftest.$ac_ext
11493 LIBS=$ac_check_lib_save_LIBS
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11496 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11497 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11499 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11504 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11505 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11506 $as_echo_n "(cached) " >&6
11507 else
11508 ac_check_lib_save_LIBS=$LIBS
11509 LIBS="-lxml2 $XML2_LIBS $LIBS"
11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11513 /* Override any GCC internal prototype to avoid an error.
11514 Use char because int might match the return type of a GCC
11515 builtin and then its argument prototype would still apply. */
11516 #ifdef __cplusplus
11517 extern "C"
11518 #endif
11519 char xmlSchemaSetValidStructuredErrors ();
11521 main ()
11523 return xmlSchemaSetValidStructuredErrors ();
11525 return 0;
11527 _ACEOF
11528 if ac_fn_c_try_link "$LINENO"; then :
11529 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11530 else
11531 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11533 rm -f core conftest.err conftest.$ac_objext \
11534 conftest$ac_exeext conftest.$ac_ext
11535 LIBS=$ac_check_lib_save_LIBS
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11538 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11539 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11541 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11546 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11547 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11548 $as_echo_n "(cached) " >&6
11549 else
11550 ac_check_lib_save_LIBS=$LIBS
11551 LIBS="-lxml2 $XML2_LIBS $LIBS"
11552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11553 /* end confdefs.h. */
11555 /* Override any GCC internal prototype to avoid an error.
11556 Use char because int might match the return type of a GCC
11557 builtin and then its argument prototype would still apply. */
11558 #ifdef __cplusplus
11559 extern "C"
11560 #endif
11561 char xmlFirstElementChild ();
11563 main ()
11565 return xmlFirstElementChild ();
11567 return 0;
11569 _ACEOF
11570 if ac_fn_c_try_link "$LINENO"; then :
11571 ac_cv_lib_xml2_xmlFirstElementChild=yes
11572 else
11573 ac_cv_lib_xml2_xmlFirstElementChild=no
11575 rm -f core conftest.err conftest.$ac_objext \
11576 conftest$ac_exeext conftest.$ac_ext
11577 LIBS=$ac_check_lib_save_LIBS
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11580 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11581 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11583 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11587 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11589 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11591 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11595 else
11596 XML2_CFLAGS=""
11597 XML2_LIBS=""
11599 CPPFLAGS=$ac_save_CPPFLAGS
11600 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11601 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11604 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11605 case "x$with_xml" in
11606 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11607 xno) ;;
11608 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11609 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11610 esac
11614 if test "x$with_xslt" != "xno"
11615 then
11616 if ${XSLT_CFLAGS:+false} :; then :
11617 if ${PKG_CONFIG+:} false; then :
11618 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11621 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11622 if ${XSLT_LIBS:+false} :; then :
11623 if ${PKG_CONFIG+:} false; then :
11624 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11627 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11628 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11629 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11630 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11631 ac_save_CPPFLAGS=$CPPFLAGS
11632 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11633 for ac_header in libxslt/pattern.h libxslt/transform.h
11634 do :
11635 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11636 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11637 # include <libxslt/pattern.h>
11638 #endif
11640 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11641 cat >>confdefs.h <<_ACEOF
11642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11643 _ACEOF
11647 done
11649 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11650 then
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11652 $as_echo_n "checking for -lxslt... " >&6; }
11653 if ${ac_cv_lib_soname_xslt+:} false; then :
11654 $as_echo_n "(cached) " >&6
11655 else
11656 ac_check_soname_save_LIBS=$LIBS
11657 LIBS="-lxslt $XSLT_LIBS $LIBS"
11658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11661 /* Override any GCC internal prototype to avoid an error.
11662 Use char because int might match the return type of a GCC
11663 builtin and then its argument prototype would still apply. */
11664 #ifdef __cplusplus
11665 extern "C"
11666 #endif
11667 char xsltCompilePattern ();
11669 main ()
11671 return xsltCompilePattern ();
11673 return 0;
11675 _ACEOF
11676 if ac_fn_c_try_link "$LINENO"; then :
11677 case "$LIBEXT" in
11678 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11679 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'` ;;
11680 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11681 if ${ac_cv_lib_soname_xslt:+false} :; then :
11682 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11683 fi ;;
11684 esac
11686 rm -f core conftest.err conftest.$ac_objext \
11687 conftest$ac_exeext conftest.$ac_ext
11688 LIBS=$ac_check_soname_save_LIBS
11690 if ${ac_cv_lib_soname_xslt:+false} :; then :
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11692 $as_echo "not found" >&6; }
11694 else
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11696 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11698 cat >>confdefs.h <<_ACEOF
11699 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11700 _ACEOF
11704 else
11705 XSLT_CFLAGS=""
11707 CPPFLAGS=$ac_save_CPPFLAGS
11708 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11709 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11712 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11713 case "x$with_xslt" in
11714 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11715 xno) ;;
11716 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11717 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11718 esac
11722 if test "x$with_dbus" != "xno"
11723 then
11724 if ${DBUS_CFLAGS:+false} :; then :
11725 if ${PKG_CONFIG+:} false; then :
11726 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11730 if ${DBUS_LIBS:+false} :; then :
11731 if ${PKG_CONFIG+:} false; then :
11732 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11737 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11738 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11739 ac_save_CPPFLAGS=$CPPFLAGS
11740 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11741 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11742 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11744 $as_echo_n "checking for -ldbus-1... " >&6; }
11745 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11746 $as_echo_n "(cached) " >&6
11747 else
11748 ac_check_soname_save_LIBS=$LIBS
11749 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11753 /* Override any GCC internal prototype to avoid an error.
11754 Use char because int might match the return type of a GCC
11755 builtin and then its argument prototype would still apply. */
11756 #ifdef __cplusplus
11757 extern "C"
11758 #endif
11759 char dbus_connection_close ();
11761 main ()
11763 return dbus_connection_close ();
11765 return 0;
11767 _ACEOF
11768 if ac_fn_c_try_link "$LINENO"; then :
11769 case "$LIBEXT" in
11770 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11771 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'` ;;
11772 *) 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'`
11773 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11774 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11775 fi ;;
11776 esac
11778 rm -f core conftest.err conftest.$ac_objext \
11779 conftest$ac_exeext conftest.$ac_ext
11780 LIBS=$ac_check_soname_save_LIBS
11782 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11784 $as_echo "not found" >&6; }
11785 DBUS_CFLAGS=""
11786 else
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11788 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11790 cat >>confdefs.h <<_ACEOF
11791 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11792 _ACEOF
11796 else
11797 DBUS_CFLAGS=""
11801 CPPFLAGS=$ac_save_CPPFLAGS
11802 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11803 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11806 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11807 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11808 case "x$with_dbus" in
11809 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11810 xno) ;;
11811 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11812 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11813 esac
11817 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11818 then
11819 if ${HAL_CFLAGS:+false} :; then :
11820 if ${PKG_CONFIG+:} false; then :
11821 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11825 if ${HAL_LIBS:+false} :; then :
11826 if ${PKG_CONFIG+:} false; then :
11827 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11831 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11832 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11833 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11834 ac_save_CPPFLAGS=$CPPFLAGS
11835 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11836 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11837 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11839 $as_echo_n "checking for -lhal... " >&6; }
11840 if ${ac_cv_lib_soname_hal+:} false; then :
11841 $as_echo_n "(cached) " >&6
11842 else
11843 ac_check_soname_save_LIBS=$LIBS
11844 LIBS="-lhal $HAL_LIBS $LIBS"
11845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846 /* end confdefs.h. */
11848 /* Override any GCC internal prototype to avoid an error.
11849 Use char because int might match the return type of a GCC
11850 builtin and then its argument prototype would still apply. */
11851 #ifdef __cplusplus
11852 extern "C"
11853 #endif
11854 char libhal_ctx_new ();
11856 main ()
11858 return libhal_ctx_new ();
11860 return 0;
11862 _ACEOF
11863 if ac_fn_c_try_link "$LINENO"; then :
11864 case "$LIBEXT" in
11865 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11866 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'` ;;
11867 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11868 if ${ac_cv_lib_soname_hal:+false} :; then :
11869 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11870 fi ;;
11871 esac
11873 rm -f core conftest.err conftest.$ac_objext \
11874 conftest$ac_exeext conftest.$ac_ext
11875 LIBS=$ac_check_soname_save_LIBS
11877 if ${ac_cv_lib_soname_hal:+false} :; then :
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11879 $as_echo "not found" >&6; }
11880 HAL_CFLAGS=""
11881 else
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11883 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11885 cat >>confdefs.h <<_ACEOF
11886 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11887 _ACEOF
11891 else
11892 HAL_CFLAGS=""
11896 CPPFLAGS=$ac_save_CPPFLAGS
11897 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11898 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11900 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11901 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11902 case "x$with_hal" in
11903 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11904 xno) ;;
11905 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11906 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11907 esac
11912 if test "x$with_gnutls" != "xno"
11913 then
11914 if ${GNUTLS_CFLAGS:+false} :; then :
11915 if ${PKG_CONFIG+:} false; then :
11916 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11920 if ${GNUTLS_LIBS:+false} :; then :
11921 if ${PKG_CONFIG+:} false; then :
11922 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11927 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11928 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11929 ac_save_CPPFLAGS=$CPPFLAGS
11930 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11931 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11932 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11934 /* end confdefs.h. */
11935 #include <gnutls/gnutls.h>
11936 #include <gnutls/crypto.h>
11938 main ()
11940 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11942 return 0;
11944 _ACEOF
11945 if ac_fn_c_try_compile "$LINENO"; then :
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11947 $as_echo_n "checking for -lgnutls... " >&6; }
11948 if ${ac_cv_lib_soname_gnutls+:} false; then :
11949 $as_echo_n "(cached) " >&6
11950 else
11951 ac_check_soname_save_LIBS=$LIBS
11952 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11954 /* end confdefs.h. */
11956 /* Override any GCC internal prototype to avoid an error.
11957 Use char because int might match the return type of a GCC
11958 builtin and then its argument prototype would still apply. */
11959 #ifdef __cplusplus
11960 extern "C"
11961 #endif
11962 char gnutls_global_init ();
11964 main ()
11966 return gnutls_global_init ();
11968 return 0;
11970 _ACEOF
11971 if ac_fn_c_try_link "$LINENO"; then :
11972 case "$LIBEXT" in
11973 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11974 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'` ;;
11975 *) 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'`
11976 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11977 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'`
11978 fi ;;
11979 esac
11981 rm -f core conftest.err conftest.$ac_objext \
11982 conftest$ac_exeext conftest.$ac_ext
11983 LIBS=$ac_check_soname_save_LIBS
11985 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11987 $as_echo "not found" >&6; }
11988 GNUTLS_CFLAGS=""
11989 else
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11991 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11993 cat >>confdefs.h <<_ACEOF
11994 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11995 _ACEOF
11999 ac_wine_check_funcs_save_LIBS="$LIBS"
12000 LIBS="$LIBS $GNUTLS_LIBS"
12001 for ac_func in gnutls_cipher_init
12002 do :
12003 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12004 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12005 cat >>confdefs.h <<_ACEOF
12006 #define HAVE_GNUTLS_CIPHER_INIT 1
12007 _ACEOF
12009 else
12010 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12012 done
12014 LIBS="$ac_wine_check_funcs_save_LIBS"
12016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12017 else
12018 GNUTLS_CFLAGS=""
12022 CPPFLAGS=$ac_save_CPPFLAGS
12023 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12024 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12027 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12028 case "x$with_gnutls" in
12029 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12030 xno) ;;
12031 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12032 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12033 esac
12037 CURSES_LIBS=""
12038 if test "$ac_cv_header_ncurses_h" = "yes"
12039 then
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12041 $as_echo_n "checking for -lncurses... " >&6; }
12042 if ${ac_cv_lib_soname_ncurses+:} false; then :
12043 $as_echo_n "(cached) " >&6
12044 else
12045 ac_check_soname_save_LIBS=$LIBS
12046 LIBS="-lncurses $LIBS"
12047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12048 /* end confdefs.h. */
12050 /* Override any GCC internal prototype to avoid an error.
12051 Use char because int might match the return type of a GCC
12052 builtin and then its argument prototype would still apply. */
12053 #ifdef __cplusplus
12054 extern "C"
12055 #endif
12056 char waddch ();
12058 main ()
12060 return waddch ();
12062 return 0;
12064 _ACEOF
12065 if ac_fn_c_try_link "$LINENO"; then :
12066 case "$LIBEXT" in
12067 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12068 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'` ;;
12069 *) 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'`
12070 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12071 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12072 fi ;;
12073 esac
12075 rm -f core conftest.err conftest.$ac_objext \
12076 conftest$ac_exeext conftest.$ac_ext
12077 LIBS=$ac_check_soname_save_LIBS
12079 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12081 $as_echo "not found" >&6; }
12083 else
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12085 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12087 cat >>confdefs.h <<_ACEOF
12088 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12089 _ACEOF
12091 CURSES_LIBS="-lncurses"
12093 elif test "$ac_cv_header_curses_h" = "yes"
12094 then
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12096 $as_echo_n "checking for -lcurses... " >&6; }
12097 if ${ac_cv_lib_soname_curses+:} false; then :
12098 $as_echo_n "(cached) " >&6
12099 else
12100 ac_check_soname_save_LIBS=$LIBS
12101 LIBS="-lcurses $LIBS"
12102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12103 /* end confdefs.h. */
12105 /* Override any GCC internal prototype to avoid an error.
12106 Use char because int might match the return type of a GCC
12107 builtin and then its argument prototype would still apply. */
12108 #ifdef __cplusplus
12109 extern "C"
12110 #endif
12111 char waddch ();
12113 main ()
12115 return waddch ();
12117 return 0;
12119 _ACEOF
12120 if ac_fn_c_try_link "$LINENO"; then :
12121 case "$LIBEXT" in
12122 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12123 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'` ;;
12124 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12125 if ${ac_cv_lib_soname_curses:+false} :; then :
12126 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12127 fi ;;
12128 esac
12130 rm -f core conftest.err conftest.$ac_objext \
12131 conftest$ac_exeext conftest.$ac_ext
12132 LIBS=$ac_check_soname_save_LIBS
12134 if ${ac_cv_lib_soname_curses:+false} :; then :
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12136 $as_echo "not found" >&6; }
12138 else
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12140 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12142 cat >>confdefs.h <<_ACEOF
12143 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12144 _ACEOF
12146 CURSES_LIBS="-lcurses"
12149 ac_save_LIBS="$LIBS"
12150 LIBS="$LIBS $CURSES_LIBS"
12151 for ac_func in mousemask
12152 do :
12153 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12154 if test "x$ac_cv_func_mousemask" = xyes; then :
12155 cat >>confdefs.h <<_ACEOF
12156 #define HAVE_MOUSEMASK 1
12157 _ACEOF
12160 done
12162 LIBS="$ac_save_LIBS"
12163 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12164 case "x$with_curses" in
12165 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12166 xno) ;;
12167 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12168 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12169 esac
12173 if test "x$with_sane" != "xno"
12174 then
12175 if ${SANE_CFLAGS:+false} :; then :
12176 if ${PKG_CONFIG+:} false; then :
12177 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12180 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12181 if ${SANE_LIBS:+false} :; then :
12182 if ${PKG_CONFIG+:} false; then :
12183 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12186 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12188 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12189 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12190 ac_save_CPPFLAGS=$CPPFLAGS
12191 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12192 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12193 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12195 $as_echo_n "checking for -lsane... " >&6; }
12196 if ${ac_cv_lib_soname_sane+:} false; then :
12197 $as_echo_n "(cached) " >&6
12198 else
12199 ac_check_soname_save_LIBS=$LIBS
12200 LIBS="-lsane $SANE_LIBS $LIBS"
12201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12202 /* end confdefs.h. */
12204 /* Override any GCC internal prototype to avoid an error.
12205 Use char because int might match the return type of a GCC
12206 builtin and then its argument prototype would still apply. */
12207 #ifdef __cplusplus
12208 extern "C"
12209 #endif
12210 char sane_init ();
12212 main ()
12214 return sane_init ();
12216 return 0;
12218 _ACEOF
12219 if ac_fn_c_try_link "$LINENO"; then :
12220 case "$LIBEXT" in
12221 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12222 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'` ;;
12223 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12224 if ${ac_cv_lib_soname_sane:+false} :; then :
12225 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12226 fi ;;
12227 esac
12229 rm -f core conftest.err conftest.$ac_objext \
12230 conftest$ac_exeext conftest.$ac_ext
12231 LIBS=$ac_check_soname_save_LIBS
12233 if ${ac_cv_lib_soname_sane:+false} :; then :
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12235 $as_echo "not found" >&6; }
12236 SANE_CFLAGS=""
12237 else
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12239 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12241 cat >>confdefs.h <<_ACEOF
12242 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12243 _ACEOF
12247 else
12248 SANE_CFLAGS=""
12252 CPPFLAGS=$ac_save_CPPFLAGS
12253 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12254 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12257 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12258 case "x$with_sane" in
12259 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12260 xno) ;;
12261 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12262 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12263 esac
12267 if test "x$with_v4l" != "xno"
12268 then
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12270 $as_echo_n "checking for -lv4l1... " >&6; }
12271 if ${ac_cv_lib_soname_v4l1+:} false; then :
12272 $as_echo_n "(cached) " >&6
12273 else
12274 ac_check_soname_save_LIBS=$LIBS
12275 LIBS="-lv4l1 $LIBS"
12276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12279 /* Override any GCC internal prototype to avoid an error.
12280 Use char because int might match the return type of a GCC
12281 builtin and then its argument prototype would still apply. */
12282 #ifdef __cplusplus
12283 extern "C"
12284 #endif
12285 char v4l1_open ();
12287 main ()
12289 return v4l1_open ();
12291 return 0;
12293 _ACEOF
12294 if ac_fn_c_try_link "$LINENO"; then :
12295 case "$LIBEXT" in
12296 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12297 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'` ;;
12298 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12299 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12300 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12301 fi ;;
12302 esac
12304 rm -f core conftest.err conftest.$ac_objext \
12305 conftest$ac_exeext conftest.$ac_ext
12306 LIBS=$ac_check_soname_save_LIBS
12308 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12310 $as_echo "not found" >&6; }
12312 else
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12314 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12316 cat >>confdefs.h <<_ACEOF
12317 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12318 _ACEOF
12323 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12324 case "x$with_v4l" in
12325 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12326 xno) ;;
12327 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12328 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12329 esac
12333 if test "x$with_gphoto" != "xno"
12334 then
12335 if ${GPHOTO2_CFLAGS:+false} :; then :
12336 if ${PKG_CONFIG+:} false; then :
12337 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12340 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12341 if ${GPHOTO2_LIBS:+false} :; then :
12342 if ${PKG_CONFIG+:} false; then :
12343 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12346 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12347 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12348 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12349 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12350 ac_save_CPPFLAGS=$CPPFLAGS
12351 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12352 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12353 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12355 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12356 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12357 $as_echo_n "(cached) " >&6
12358 else
12359 ac_check_lib_save_LIBS=$LIBS
12360 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12364 /* Override any GCC internal prototype to avoid an error.
12365 Use char because int might match the return type of a GCC
12366 builtin and then its argument prototype would still apply. */
12367 #ifdef __cplusplus
12368 extern "C"
12369 #endif
12370 char gp_camera_new ();
12372 main ()
12374 return gp_camera_new ();
12376 return 0;
12378 _ACEOF
12379 if ac_fn_c_try_link "$LINENO"; then :
12380 ac_cv_lib_gphoto2_gp_camera_new=yes
12381 else
12382 ac_cv_lib_gphoto2_gp_camera_new=no
12384 rm -f core conftest.err conftest.$ac_objext \
12385 conftest$ac_exeext conftest.$ac_ext
12386 LIBS=$ac_check_lib_save_LIBS
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12389 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12390 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12392 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12394 else
12395 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12398 else
12399 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12403 CPPFLAGS=$ac_save_CPPFLAGS
12404 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12405 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12407 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12408 if ${PKG_CONFIG+:} false; then :
12409 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12412 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12413 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12414 if ${PKG_CONFIG+:} false; then :
12415 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12418 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12419 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12420 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12421 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12422 ac_save_CPPFLAGS=$CPPFLAGS
12423 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12424 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12425 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12427 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12428 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12429 $as_echo_n "(cached) " >&6
12430 else
12431 ac_check_lib_save_LIBS=$LIBS
12432 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h. */
12436 /* Override any GCC internal prototype to avoid an error.
12437 Use char because int might match the return type of a GCC
12438 builtin and then its argument prototype would still apply. */
12439 #ifdef __cplusplus
12440 extern "C"
12441 #endif
12442 char gp_port_info_list_new ();
12444 main ()
12446 return gp_port_info_list_new ();
12448 return 0;
12450 _ACEOF
12451 if ac_fn_c_try_link "$LINENO"; then :
12452 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12453 else
12454 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12456 rm -f core conftest.err conftest.$ac_objext \
12457 conftest$ac_exeext conftest.$ac_ext
12458 LIBS=$ac_check_lib_save_LIBS
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12461 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12462 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12464 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12466 else
12467 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12470 else
12471 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12475 CPPFLAGS=$ac_save_CPPFLAGS
12476 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12477 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12480 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12481 case "x$with_gphoto" in
12482 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12483 xno) ;;
12484 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12485 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12486 esac
12489 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12490 case "x$with_gphoto" in
12491 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12492 xno) ;;
12493 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12494 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12495 esac
12500 if test "$ac_cv_header_resolv_h" = "yes"
12501 then
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12503 $as_echo_n "checking for resolver library... " >&6; }
12504 if ${ac_cv_have_resolv+:} false; then :
12505 $as_echo_n "(cached) " >&6
12506 else
12507 ac_save_LIBS="$LIBS"
12508 for lib in '' -lresolv
12510 LIBS="$lib $ac_save_LIBS"
12511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12512 /* end confdefs.h. */
12513 #ifdef HAVE_NETINET_IN_H
12514 #include <netinet/in.h>
12515 #endif
12516 #include <resolv.h>
12518 main ()
12520 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12522 return 0;
12524 _ACEOF
12525 if ac_fn_c_try_link "$LINENO"; then :
12526 ac_cv_have_resolv=${lib:-"none required"}
12527 else
12528 ac_cv_have_resolv="not found"
12530 rm -f core conftest.err conftest.$ac_objext \
12531 conftest$ac_exeext conftest.$ac_ext
12532 test "x$ac_cv_have_resolv" = "xnot found" || break
12533 done
12534 LIBS="$ac_save_LIBS"
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12537 $as_echo "$ac_cv_have_resolv" >&6; }
12539 case "$ac_cv_have_resolv" in
12540 "not found") ;;
12541 "none required")
12543 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12546 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12548 RESOLV_LIBS=$ac_cv_have_resolv
12550 esac
12553 if test "x$with_cms" != "xno"
12554 then
12555 if ${LCMS2_CFLAGS:+false} :; then :
12556 if ${PKG_CONFIG+:} false; then :
12557 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12561 if ${LCMS2_LIBS:+false} :; then :
12562 if ${PKG_CONFIG+:} false; then :
12563 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12567 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12568 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12569 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12570 ac_save_CPPFLAGS=$CPPFLAGS
12571 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12572 for ac_header in lcms2.h
12573 do :
12574 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12575 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12576 cat >>confdefs.h <<_ACEOF
12577 #define HAVE_LCMS2_H 1
12578 _ACEOF
12582 done
12584 if test "$ac_cv_header_lcms2_h" = "yes"
12585 then
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12587 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12588 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12589 $as_echo_n "(cached) " >&6
12590 else
12591 ac_check_lib_save_LIBS=$LIBS
12592 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12594 /* end confdefs.h. */
12596 /* Override any GCC internal prototype to avoid an error.
12597 Use char because int might match the return type of a GCC
12598 builtin and then its argument prototype would still apply. */
12599 #ifdef __cplusplus
12600 extern "C"
12601 #endif
12602 char cmsOpenProfileFromFile ();
12604 main ()
12606 return cmsOpenProfileFromFile ();
12608 return 0;
12610 _ACEOF
12611 if ac_fn_c_try_link "$LINENO"; then :
12612 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12613 else
12614 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12616 rm -f core conftest.err conftest.$ac_objext \
12617 conftest$ac_exeext conftest.$ac_ext
12618 LIBS=$ac_check_lib_save_LIBS
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12621 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12622 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12624 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12626 else
12627 LCMS2_LIBS=""
12630 else
12631 LCMS2_CFLAGS=""
12632 LCMS2_LIBS=""
12634 CPPFLAGS=$ac_save_CPPFLAGS
12635 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12636 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12639 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12640 case "x$with_cms" in
12641 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12642 xno) ;;
12643 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12644 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12645 esac
12649 if test "x$with_freetype" != "xno"
12650 then
12651 if ${FREETYPE_CFLAGS:+false} :; then :
12652 if ${PKG_CONFIG+:} false; then :
12653 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12656 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12657 if ${FREETYPE_LIBS:+false} :; then :
12658 if ${PKG_CONFIG+:} false; then :
12659 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12662 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12663 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12664 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12665 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12666 ac_save_CPPFLAGS=$CPPFLAGS
12667 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12668 for ac_header in ft2build.h
12669 do :
12670 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12671 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12672 cat >>confdefs.h <<_ACEOF
12673 #define HAVE_FT2BUILD_H 1
12674 _ACEOF
12678 done
12680 if test "$ac_cv_header_ft2build_h" = "yes"
12681 then
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12683 $as_echo_n "checking for -lfreetype... " >&6; }
12684 if ${ac_cv_lib_soname_freetype+:} false; then :
12685 $as_echo_n "(cached) " >&6
12686 else
12687 ac_check_soname_save_LIBS=$LIBS
12688 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12692 /* Override any GCC internal prototype to avoid an error.
12693 Use char because int might match the return type of a GCC
12694 builtin and then its argument prototype would still apply. */
12695 #ifdef __cplusplus
12696 extern "C"
12697 #endif
12698 char FT_Init_FreeType ();
12700 main ()
12702 return FT_Init_FreeType ();
12704 return 0;
12706 _ACEOF
12707 if ac_fn_c_try_link "$LINENO"; then :
12708 case "$LIBEXT" in
12709 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12710 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'` ;;
12711 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12712 if ${ac_cv_lib_soname_freetype:+false} :; then :
12713 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12714 fi ;;
12715 esac
12717 rm -f core conftest.err conftest.$ac_objext \
12718 conftest$ac_exeext conftest.$ac_ext
12719 LIBS=$ac_check_soname_save_LIBS
12721 if ${ac_cv_lib_soname_freetype:+false} :; then :
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12723 $as_echo "not found" >&6; }
12724 FREETYPE_LIBS=""
12725 else
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12727 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12729 cat >>confdefs.h <<_ACEOF
12730 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12731 _ACEOF
12734 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12736 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12737 #include FT_MODULE_H
12739 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12741 cat >>confdefs.h <<_ACEOF
12742 #define HAVE_FT_TRUETYPEENGINETYPE 1
12743 _ACEOF
12749 else
12750 FREETYPE_CFLAGS=""
12751 FREETYPE_LIBS=""
12753 CPPFLAGS=$ac_save_CPPFLAGS
12754 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12755 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12758 if test "x$ac_cv_lib_soname_freetype" = x; then :
12759 case "x$with_freetype" in
12760 xno) ;;
12761 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12762 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12763 esac
12764 enable_fonts=${enable_fonts:-no}
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12768 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12769 if ${ac_cv_c_ppdev+:} false; then :
12770 $as_echo_n "(cached) " >&6
12771 else
12772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12774 #ifdef HAVE_SYS_IOCTL_H
12775 # include <sys/ioctl.h>
12776 #endif
12777 #include <linux/ppdev.h>
12779 main ()
12781 ioctl (1,PPCLAIM,0)
12783 return 0;
12785 _ACEOF
12786 if ac_fn_c_try_compile "$LINENO"; then :
12787 ac_cv_c_ppdev="yes"
12788 else
12789 ac_cv_c_ppdev="no"
12791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12794 $as_echo "$ac_cv_c_ppdev" >&6; }
12795 if test "$ac_cv_c_ppdev" = "yes"
12796 then
12798 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12802 ac_wine_check_funcs_save_LIBS="$LIBS"
12803 LIBS="$LIBS $PTHREAD_LIBS"
12804 for ac_func in \
12805 pthread_attr_get_np \
12806 pthread_getattr_np \
12807 pthread_getthreadid_np \
12808 pthread_get_stackaddr_np \
12809 pthread_get_stacksize_np
12810 do :
12811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12813 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12814 cat >>confdefs.h <<_ACEOF
12815 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12816 _ACEOF
12819 done
12821 LIBS="$ac_wine_check_funcs_save_LIBS"
12823 if test "$ac_cv_header_zlib_h" = "yes"
12824 then
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12826 $as_echo_n "checking for inflate in -lz... " >&6; }
12827 if ${ac_cv_lib_z_inflate+:} false; then :
12828 $as_echo_n "(cached) " >&6
12829 else
12830 ac_check_lib_save_LIBS=$LIBS
12831 LIBS="-lz $LIBS"
12832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12833 /* end confdefs.h. */
12835 /* Override any GCC internal prototype to avoid an error.
12836 Use char because int might match the return type of a GCC
12837 builtin and then its argument prototype would still apply. */
12838 #ifdef __cplusplus
12839 extern "C"
12840 #endif
12841 char inflate ();
12843 main ()
12845 return inflate ();
12847 return 0;
12849 _ACEOF
12850 if ac_fn_c_try_link "$LINENO"; then :
12851 ac_cv_lib_z_inflate=yes
12852 else
12853 ac_cv_lib_z_inflate=no
12855 rm -f core conftest.err conftest.$ac_objext \
12856 conftest$ac_exeext conftest.$ac_ext
12857 LIBS=$ac_check_lib_save_LIBS
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12860 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12861 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12863 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12865 Z_LIBS="-lz"
12870 if test "x$Z_LIBS" = "x"; then :
12871 case "x$with_zlib" in
12872 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12873 xno) ;;
12874 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12875 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12876 esac
12880 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12881 then
12882 if test "$ac_cv_header_gettext_po_h" = "yes"
12883 then
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12885 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12886 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12887 $as_echo_n "(cached) " >&6
12888 else
12889 ac_check_lib_save_LIBS=$LIBS
12890 LIBS="-lgettextpo $LIBS"
12891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12892 /* end confdefs.h. */
12894 /* Override any GCC internal prototype to avoid an error.
12895 Use char because int might match the return type of a GCC
12896 builtin and then its argument prototype would still apply. */
12897 #ifdef __cplusplus
12898 extern "C"
12899 #endif
12900 char po_message_msgctxt ();
12902 main ()
12904 return po_message_msgctxt ();
12906 return 0;
12908 _ACEOF
12909 if ac_fn_c_try_link "$LINENO"; then :
12910 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12911 else
12912 ac_cv_lib_gettextpo_po_message_msgctxt=no
12914 rm -f core conftest.err conftest.$ac_objext \
12915 conftest$ac_exeext conftest.$ac_ext
12916 LIBS=$ac_check_lib_save_LIBS
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12919 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12920 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12922 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12924 GETTEXTPO_LIBS="-lgettextpo"
12929 if test "x$GETTEXTPO_LIBS" = "x"; then :
12930 case "x$with_gettextpo" in
12931 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12932 xno) ;;
12933 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12934 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12935 esac
12938 if test "$srcdir" != .; then :
12939 case "x$with_gettextpo" in
12940 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12941 xno) ;;
12942 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12943 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12944 esac
12949 if test "x$with_pulse" != "xno";
12950 then
12951 if ${PULSE_CFLAGS:+false} :; then :
12952 if ${PKG_CONFIG+:} false; then :
12953 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12957 if ${PULSE_LIBS:+false} :; then :
12958 if ${PKG_CONFIG+:} false; then :
12959 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12964 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12965 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12966 ac_save_CPPFLAGS=$CPPFLAGS
12967 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12968 for ac_header in pulse/pulseaudio.h
12969 do :
12970 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12971 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12972 cat >>confdefs.h <<_ACEOF
12973 #define HAVE_PULSE_PULSEAUDIO_H 1
12974 _ACEOF
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12976 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12977 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12978 $as_echo_n "(cached) " >&6
12979 else
12980 ac_check_lib_save_LIBS=$LIBS
12981 LIBS="-lpulse $PULSE_LIBS $LIBS"
12982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12983 /* end confdefs.h. */
12985 /* Override any GCC internal prototype to avoid an error.
12986 Use char because int might match the return type of a GCC
12987 builtin and then its argument prototype would still apply. */
12988 #ifdef __cplusplus
12989 extern "C"
12990 #endif
12991 char pa_stream_is_corked ();
12993 main ()
12995 return pa_stream_is_corked ();
12997 return 0;
12999 _ACEOF
13000 if ac_fn_c_try_link "$LINENO"; then :
13001 ac_cv_lib_pulse_pa_stream_is_corked=yes
13002 else
13003 ac_cv_lib_pulse_pa_stream_is_corked=no
13005 rm -f core conftest.err conftest.$ac_objext \
13006 conftest$ac_exeext conftest.$ac_ext
13007 LIBS=$ac_check_lib_save_LIBS
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13010 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13011 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13013 else
13014 PULSE_LIBS=""
13017 else
13018 PULSE_LIBS=""
13021 done
13023 CPPFLAGS=$ac_save_CPPFLAGS
13024 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13025 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13028 if test -z "$PULSE_LIBS"; then :
13029 case "x$with_pulse" in
13030 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13031 xno) ;;
13032 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13033 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13034 esac
13035 enable_winepulse_drv=${enable_winepulse_drv:-no}
13038 if test "x$with_gstreamer" != "xno"
13039 then
13040 if ${GSTREAMER_CFLAGS:+false} :; then :
13041 if ${PKG_CONFIG+:} false; then :
13042 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13046 if ${GSTREAMER_LIBS:+false} :; then :
13047 if ${PKG_CONFIG+:} false; then :
13048 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13053 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13054 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13055 ac_save_CPPFLAGS=$CPPFLAGS
13056 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13057 ac_gst_incl=""
13058 for i in $GSTREAMER_CFLAGS
13060 case "$i" in
13061 -I*) ac_gst_incl="$ac_gst_incl $i";;
13062 esac
13063 done
13064 GSTREAMER_CFLAGS=$ac_gst_incl
13065 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13066 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13067 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13069 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13072 #include <gst/gst.h>
13074 main ()
13076 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13078 return 0;
13080 _ACEOF
13081 if ac_fn_c_try_compile "$LINENO"; then :
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13083 $as_echo "yes" >&6; }
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13085 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13086 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13087 $as_echo_n "(cached) " >&6
13088 else
13089 ac_check_lib_save_LIBS=$LIBS
13090 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13092 /* end confdefs.h. */
13094 /* Override any GCC internal prototype to avoid an error.
13095 Use char because int might match the return type of a GCC
13096 builtin and then its argument prototype would still apply. */
13097 #ifdef __cplusplus
13098 extern "C"
13099 #endif
13100 char gst_pad_new ();
13102 main ()
13104 return gst_pad_new ();
13106 return 0;
13108 _ACEOF
13109 if ac_fn_c_try_link "$LINENO"; then :
13110 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13111 else
13112 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13114 rm -f core conftest.err conftest.$ac_objext \
13115 conftest$ac_exeext conftest.$ac_ext
13116 LIBS=$ac_check_lib_save_LIBS
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13119 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13120 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13124 else
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13126 $as_echo "no" >&6; }
13127 ac_glib2_broken=yes
13128 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13134 CPPFLAGS=$ac_save_CPPFLAGS
13135 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13136 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13139 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 :
13140 case "x$with_gstreamer" in
13141 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13142 xno) ;;
13143 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13144 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13145 esac
13148 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13150 ALSA_LIBS=""
13152 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13153 then
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13155 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13156 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13157 $as_echo_n "(cached) " >&6
13158 else
13159 ac_check_lib_save_LIBS=$LIBS
13160 LIBS="-lasound $LIBS"
13161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h. */
13164 /* Override any GCC internal prototype to avoid an error.
13165 Use char because int might match the return type of a GCC
13166 builtin and then its argument prototype would still apply. */
13167 #ifdef __cplusplus
13168 extern "C"
13169 #endif
13170 char snd_pcm_hw_params_get_access_mask ();
13172 main ()
13174 return snd_pcm_hw_params_get_access_mask ();
13176 return 0;
13178 _ACEOF
13179 if ac_fn_c_try_link "$LINENO"; then :
13180 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13181 else
13182 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13184 rm -f core conftest.err conftest.$ac_objext \
13185 conftest$ac_exeext conftest.$ac_ext
13186 LIBS=$ac_check_lib_save_LIBS
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13189 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13190 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h. */
13193 #ifdef HAVE_ALSA_ASOUNDLIB_H
13194 #include <alsa/asoundlib.h>
13195 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13196 #include <sys/asoundlib.h>
13197 #endif
13199 main ()
13201 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13203 return 0;
13205 _ACEOF
13206 if ac_fn_c_try_compile "$LINENO"; then :
13207 ALSA_LIBS="-lasound"
13209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13213 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13215 if test "x$with_oss" != xno
13216 then
13217 ac_save_CPPFLAGS="$CPPFLAGS"
13218 if test -f /etc/oss.conf
13219 then
13220 . /etc/oss.conf
13222 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13223 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13224 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13225 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13226 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13228 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13230 cat >>confdefs.h <<_ACEOF
13231 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13232 _ACEOF
13234 OSS4_CFLAGS="$ac_oss_incl"
13241 CPPFLAGS="$ac_save_CPPFLAGS"
13243 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13244 case "x$with_oss" in
13245 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13246 xno) ;;
13247 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13248 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13249 esac
13250 enable_wineoss_drv=${enable_wineoss_drv:-no}
13253 if test "x$with_udev" != "xno"
13254 then
13255 if ${UDEV_CFLAGS:+false} :; then :
13256 if ${PKG_CONFIG+:} false; then :
13257 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13261 if ${UDEV_LIBS:+false} :; then :
13262 if ${PKG_CONFIG+:} false; then :
13263 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13267 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13268 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13269 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13270 ac_save_CPPFLAGS=$CPPFLAGS
13271 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13272 for ac_header in libudev.h
13273 do :
13274 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13275 if test "x$ac_cv_header_libudev_h" = xyes; then :
13276 cat >>confdefs.h <<_ACEOF
13277 #define HAVE_LIBUDEV_H 1
13278 _ACEOF
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13280 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13281 if ${ac_cv_lib_udev_udev_new+:} false; then :
13282 $as_echo_n "(cached) " >&6
13283 else
13284 ac_check_lib_save_LIBS=$LIBS
13285 LIBS="-ludev $UDEV_LIBS $LIBS"
13286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13287 /* end confdefs.h. */
13289 /* Override any GCC internal prototype to avoid an error.
13290 Use char because int might match the return type of a GCC
13291 builtin and then its argument prototype would still apply. */
13292 #ifdef __cplusplus
13293 extern "C"
13294 #endif
13295 char udev_new ();
13297 main ()
13299 return udev_new ();
13301 return 0;
13303 _ACEOF
13304 if ac_fn_c_try_link "$LINENO"; then :
13305 ac_cv_lib_udev_udev_new=yes
13306 else
13307 ac_cv_lib_udev_udev_new=no
13309 rm -f core conftest.err conftest.$ac_objext \
13310 conftest$ac_exeext conftest.$ac_ext
13311 LIBS=$ac_check_lib_save_LIBS
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13314 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13315 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13317 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13319 else
13320 UDEV_LIBS=""
13323 else
13324 UDEV_LIBS=""
13327 done
13329 CPPFLAGS=$ac_save_CPPFLAGS
13330 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13331 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13334 if test "x$UDEV_LIBS" = "x"; then :
13335 case "x$with_udev" in
13336 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13337 xno) ;;
13338 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13339 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13340 esac
13344 if test "x$with_capi" != "xno"
13345 then
13346 if ${CAPI20_CFLAGS:+false} :; then :
13347 if ${PKG_CONFIG+:} false; then :
13348 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13352 if ${CAPI20_LIBS:+false} :; then :
13353 if ${PKG_CONFIG+:} false; then :
13354 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13359 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13360 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13361 ac_save_CPPFLAGS=$CPPFLAGS
13362 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13363 for ac_header in capi20.h linux/capi.h
13364 do :
13365 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13366 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13368 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13369 cat >>confdefs.h <<_ACEOF
13370 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13371 _ACEOF
13375 done
13377 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13378 then
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13380 $as_echo_n "checking for -lcapi20... " >&6; }
13381 if ${ac_cv_lib_soname_capi20+:} false; then :
13382 $as_echo_n "(cached) " >&6
13383 else
13384 ac_check_soname_save_LIBS=$LIBS
13385 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13387 /* end confdefs.h. */
13389 /* Override any GCC internal prototype to avoid an error.
13390 Use char because int might match the return type of a GCC
13391 builtin and then its argument prototype would still apply. */
13392 #ifdef __cplusplus
13393 extern "C"
13394 #endif
13395 char capi20_register ();
13397 main ()
13399 return capi20_register ();
13401 return 0;
13403 _ACEOF
13404 if ac_fn_c_try_link "$LINENO"; then :
13405 case "$LIBEXT" in
13406 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13407 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'` ;;
13408 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13409 if ${ac_cv_lib_soname_capi20:+false} :; then :
13410 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13411 fi ;;
13412 esac
13414 rm -f core conftest.err conftest.$ac_objext \
13415 conftest$ac_exeext conftest.$ac_ext
13416 LIBS=$ac_check_soname_save_LIBS
13418 if ${ac_cv_lib_soname_capi20:+false} :; then :
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13420 $as_echo "not found" >&6; }
13422 else
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13424 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13426 cat >>confdefs.h <<_ACEOF
13427 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13428 _ACEOF
13433 CPPFLAGS=$ac_save_CPPFLAGS
13434 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13435 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13438 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13439 case "x$with_capi" in
13440 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13441 xno) ;;
13442 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13443 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13444 esac
13448 CUPS_CFLAGS=""
13450 if test "x$with_cups" != "xno"
13451 then
13452 ac_save_CPPFLAGS="$CPPFLAGS"
13453 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13454 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13455 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13456 for ac_header in cups/cups.h
13457 do :
13458 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13459 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13460 cat >>confdefs.h <<_ACEOF
13461 #define HAVE_CUPS_CUPS_H 1
13462 _ACEOF
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13464 $as_echo_n "checking for -lcups... " >&6; }
13465 if ${ac_cv_lib_soname_cups+:} false; then :
13466 $as_echo_n "(cached) " >&6
13467 else
13468 ac_check_soname_save_LIBS=$LIBS
13469 LIBS="-lcups $ac_cups_libs $LIBS"
13470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13471 /* end confdefs.h. */
13473 /* Override any GCC internal prototype to avoid an error.
13474 Use char because int might match the return type of a GCC
13475 builtin and then its argument prototype would still apply. */
13476 #ifdef __cplusplus
13477 extern "C"
13478 #endif
13479 char cupsGetDefault ();
13481 main ()
13483 return cupsGetDefault ();
13485 return 0;
13487 _ACEOF
13488 if ac_fn_c_try_link "$LINENO"; then :
13489 case "$LIBEXT" in
13490 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13491 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'` ;;
13492 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13493 if ${ac_cv_lib_soname_cups:+false} :; then :
13494 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13495 fi ;;
13496 esac
13498 rm -f core conftest.err conftest.$ac_objext \
13499 conftest$ac_exeext conftest.$ac_ext
13500 LIBS=$ac_check_soname_save_LIBS
13502 if ${ac_cv_lib_soname_cups:+false} :; then :
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13504 $as_echo "not found" >&6; }
13506 else
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13508 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13510 cat >>confdefs.h <<_ACEOF
13511 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13512 _ACEOF
13514 CUPS_CFLAGS="$ac_cups_cflags"
13516 for ac_header in cups/ppd.h
13517 do :
13518 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13519 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13520 cat >>confdefs.h <<_ACEOF
13521 #define HAVE_CUPS_PPD_H 1
13522 _ACEOF
13526 done
13530 done
13532 CPPFLAGS="$ac_save_CPPFLAGS"
13534 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13535 case "x$with_cups" in
13536 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13537 xno) ;;
13538 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13539 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13540 esac
13544 if test "x$with_fontconfig" != "xno"
13545 then
13546 if ${FONTCONFIG_CFLAGS:+false} :; then :
13547 if ${PKG_CONFIG+:} false; then :
13548 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13551 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13552 if ${FONTCONFIG_LIBS:+false} :; then :
13553 if ${PKG_CONFIG+:} false; then :
13554 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13557 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13559 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13560 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13561 ac_save_CPPFLAGS=$CPPFLAGS
13562 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13563 for ac_header in fontconfig/fontconfig.h
13564 do :
13565 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13566 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13567 cat >>confdefs.h <<_ACEOF
13568 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13569 _ACEOF
13573 done
13575 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13576 then
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13578 $as_echo_n "checking for -lfontconfig... " >&6; }
13579 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13580 $as_echo_n "(cached) " >&6
13581 else
13582 ac_check_soname_save_LIBS=$LIBS
13583 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13585 /* end confdefs.h. */
13587 /* Override any GCC internal prototype to avoid an error.
13588 Use char because int might match the return type of a GCC
13589 builtin and then its argument prototype would still apply. */
13590 #ifdef __cplusplus
13591 extern "C"
13592 #endif
13593 char FcInit ();
13595 main ()
13597 return FcInit ();
13599 return 0;
13601 _ACEOF
13602 if ac_fn_c_try_link "$LINENO"; then :
13603 case "$LIBEXT" in
13604 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13605 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'` ;;
13606 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13607 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13608 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13609 fi ;;
13610 esac
13612 rm -f core conftest.err conftest.$ac_objext \
13613 conftest$ac_exeext conftest.$ac_ext
13614 LIBS=$ac_check_soname_save_LIBS
13616 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13618 $as_echo "not found" >&6; }
13619 FONTCONFIG_CFLAGS=""
13620 else
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13622 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13624 cat >>confdefs.h <<_ACEOF
13625 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13626 _ACEOF
13630 else
13631 FONTCONFIG_CFLAGS=""
13633 CPPFLAGS=$ac_save_CPPFLAGS
13634 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13635 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13638 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13639 case "x$with_fontconfig" in
13640 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13641 xno) ;;
13642 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13643 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13644 esac
13648 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13649 then
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13651 $as_echo_n "checking for -lgsm... " >&6; }
13652 if ${ac_cv_lib_soname_gsm+:} false; then :
13653 $as_echo_n "(cached) " >&6
13654 else
13655 ac_check_soname_save_LIBS=$LIBS
13656 LIBS="-lgsm $LIBS"
13657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13660 /* Override any GCC internal prototype to avoid an error.
13661 Use char because int might match the return type of a GCC
13662 builtin and then its argument prototype would still apply. */
13663 #ifdef __cplusplus
13664 extern "C"
13665 #endif
13666 char gsm_create ();
13668 main ()
13670 return gsm_create ();
13672 return 0;
13674 _ACEOF
13675 if ac_fn_c_try_link "$LINENO"; then :
13676 case "$LIBEXT" in
13677 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13678 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'` ;;
13679 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13680 if ${ac_cv_lib_soname_gsm:+false} :; then :
13681 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13682 fi ;;
13683 esac
13685 rm -f core conftest.err conftest.$ac_objext \
13686 conftest$ac_exeext conftest.$ac_ext
13687 LIBS=$ac_check_soname_save_LIBS
13689 if ${ac_cv_lib_soname_gsm:+false} :; then :
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13691 $as_echo "not found" >&6; }
13693 else
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13695 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13697 cat >>confdefs.h <<_ACEOF
13698 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13699 _ACEOF
13704 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13705 case "x$with_gsm" in
13706 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13707 xno) ;;
13708 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13709 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13710 esac
13714 if test "x$with_jpeg" != "xno"
13715 then
13716 if ${JPEG_CFLAGS:+false} :; then :
13717 if ${PKG_CONFIG+:} false; then :
13718 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13722 if ${JPEG_LIBS:+false} :; then :
13723 if ${PKG_CONFIG+:} false; then :
13724 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13729 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13730 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13731 ac_save_CPPFLAGS=$CPPFLAGS
13732 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13733 for ac_header in jpeglib.h
13734 do :
13735 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13736 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13737 cat >>confdefs.h <<_ACEOF
13738 #define HAVE_JPEGLIB_H 1
13739 _ACEOF
13743 done
13745 if test "$ac_cv_header_jpeglib_h" = "yes"
13746 then
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13748 $as_echo_n "checking for -ljpeg... " >&6; }
13749 if ${ac_cv_lib_soname_jpeg+:} false; then :
13750 $as_echo_n "(cached) " >&6
13751 else
13752 ac_check_soname_save_LIBS=$LIBS
13753 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13757 /* Override any GCC internal prototype to avoid an error.
13758 Use char because int might match the return type of a GCC
13759 builtin and then its argument prototype would still apply. */
13760 #ifdef __cplusplus
13761 extern "C"
13762 #endif
13763 char jpeg_start_decompress ();
13765 main ()
13767 return jpeg_start_decompress ();
13769 return 0;
13771 _ACEOF
13772 if ac_fn_c_try_link "$LINENO"; then :
13773 case "$LIBEXT" in
13774 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13775 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'` ;;
13776 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13777 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13778 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13779 fi ;;
13780 esac
13782 rm -f core conftest.err conftest.$ac_objext \
13783 conftest$ac_exeext conftest.$ac_ext
13784 LIBS=$ac_check_soname_save_LIBS
13786 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13788 $as_echo "not found" >&6; }
13789 JPEG_CFLAGS=""
13790 else
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13792 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13794 cat >>confdefs.h <<_ACEOF
13795 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13796 _ACEOF
13800 else
13801 JPEG_CFLAGS=""
13803 CPPFLAGS=$ac_save_CPPFLAGS
13804 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13805 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13808 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13809 case "x$with_jpeg" in
13810 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13811 xno) ;;
13812 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13813 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13814 esac
13818 if test "x$with_png" != "xno"
13819 then
13820 if ${PNG_CFLAGS:+false} :; then :
13821 if ${PKG_CONFIG+:} false; then :
13822 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13825 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13826 if ${PNG_LIBS:+false} :; then :
13827 if ${PKG_CONFIG+:} false; then :
13828 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13831 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13833 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13834 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13835 ac_save_CPPFLAGS=$CPPFLAGS
13836 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13837 for ac_header in png.h
13838 do :
13839 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13840 if test "x$ac_cv_header_png_h" = xyes; then :
13841 cat >>confdefs.h <<_ACEOF
13842 #define HAVE_PNG_H 1
13843 _ACEOF
13847 done
13849 if test "$ac_cv_header_png_h" = "yes"
13850 then
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13852 $as_echo_n "checking for -lpng... " >&6; }
13853 if ${ac_cv_lib_soname_png+:} false; then :
13854 $as_echo_n "(cached) " >&6
13855 else
13856 ac_check_soname_save_LIBS=$LIBS
13857 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13859 /* end confdefs.h. */
13861 /* Override any GCC internal prototype to avoid an error.
13862 Use char because int might match the return type of a GCC
13863 builtin and then its argument prototype would still apply. */
13864 #ifdef __cplusplus
13865 extern "C"
13866 #endif
13867 char png_create_read_struct ();
13869 main ()
13871 return png_create_read_struct ();
13873 return 0;
13875 _ACEOF
13876 if ac_fn_c_try_link "$LINENO"; then :
13877 case "$LIBEXT" in
13878 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13879 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'` ;;
13880 *) 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'`
13881 if ${ac_cv_lib_soname_png:+false} :; then :
13882 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13883 fi ;;
13884 esac
13886 rm -f core conftest.err conftest.$ac_objext \
13887 conftest$ac_exeext conftest.$ac_ext
13888 LIBS=$ac_check_soname_save_LIBS
13890 if ${ac_cv_lib_soname_png:+false} :; then :
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13892 $as_echo "not found" >&6; }
13893 PNG_CFLAGS=""
13894 else
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13896 $as_echo "$ac_cv_lib_soname_png" >&6; }
13898 cat >>confdefs.h <<_ACEOF
13899 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13900 _ACEOF
13904 else
13905 PNG_CFLAGS=""
13907 CPPFLAGS=$ac_save_CPPFLAGS
13908 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13909 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13912 if test "x$ac_cv_lib_soname_png" = "x"; then :
13913 case "x$with_png" in
13914 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13915 xno) ;;
13916 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13917 This is an error since --with-png was requested." "$LINENO" 5 ;;
13918 esac
13922 if test "x$with_tiff" != "xno"
13923 then
13924 if ${TIFF_CFLAGS:+false} :; then :
13925 if ${PKG_CONFIG+:} false; then :
13926 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13930 if ${TIFF_LIBS:+false} :; then :
13931 if ${PKG_CONFIG+:} false; then :
13932 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13937 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13938 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13939 ac_save_CPPFLAGS=$CPPFLAGS
13940 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13941 for ac_header in tiffio.h
13942 do :
13943 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13944 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13945 cat >>confdefs.h <<_ACEOF
13946 #define HAVE_TIFFIO_H 1
13947 _ACEOF
13951 done
13953 if test "$ac_cv_header_tiffio_h" = "yes"
13954 then
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13956 $as_echo_n "checking for -ltiff... " >&6; }
13957 if ${ac_cv_lib_soname_tiff+:} false; then :
13958 $as_echo_n "(cached) " >&6
13959 else
13960 ac_check_soname_save_LIBS=$LIBS
13961 LIBS="-ltiff $TIFF_LIBS $LIBS"
13962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13965 /* Override any GCC internal prototype to avoid an error.
13966 Use char because int might match the return type of a GCC
13967 builtin and then its argument prototype would still apply. */
13968 #ifdef __cplusplus
13969 extern "C"
13970 #endif
13971 char TIFFClientOpen ();
13973 main ()
13975 return TIFFClientOpen ();
13977 return 0;
13979 _ACEOF
13980 if ac_fn_c_try_link "$LINENO"; then :
13981 case "$LIBEXT" in
13982 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13983 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'` ;;
13984 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13985 if ${ac_cv_lib_soname_tiff:+false} :; then :
13986 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13987 fi ;;
13988 esac
13990 rm -f core conftest.err conftest.$ac_objext \
13991 conftest$ac_exeext conftest.$ac_ext
13992 LIBS=$ac_check_soname_save_LIBS
13994 if ${ac_cv_lib_soname_tiff:+false} :; then :
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13996 $as_echo "not found" >&6; }
13998 else
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14000 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14002 cat >>confdefs.h <<_ACEOF
14003 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14004 _ACEOF
14009 CPPFLAGS=$ac_save_CPPFLAGS
14010 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14011 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14014 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14015 case "x$with_tiff" in
14016 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14017 xno) ;;
14018 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14019 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14020 esac
14024 if test "x$with_mpg123" != "xno"
14025 then
14026 if ${MPG123_CFLAGS:+false} :; then :
14027 if ${PKG_CONFIG+:} false; then :
14028 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14032 if ${MPG123_LIBS:+false} :; then :
14033 if ${PKG_CONFIG+:} false; then :
14034 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14038 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14039 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14040 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14041 ac_save_CPPFLAGS=$CPPFLAGS
14042 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14043 for ac_header in mpg123.h
14044 do :
14045 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14046 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14047 cat >>confdefs.h <<_ACEOF
14048 #define HAVE_MPG123_H 1
14049 _ACEOF
14053 done
14055 if test "$ac_cv_header_mpg123_h" = "yes"
14056 then
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14058 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14059 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14060 $as_echo_n "(cached) " >&6
14061 else
14062 ac_check_lib_save_LIBS=$LIBS
14063 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14065 /* end confdefs.h. */
14067 /* Override any GCC internal prototype to avoid an error.
14068 Use char because int might match the return type of a GCC
14069 builtin and then its argument prototype would still apply. */
14070 #ifdef __cplusplus
14071 extern "C"
14072 #endif
14073 char mpg123_feed ();
14075 main ()
14077 return mpg123_feed ();
14079 return 0;
14081 _ACEOF
14082 if ac_fn_c_try_link "$LINENO"; then :
14083 ac_cv_lib_mpg123_mpg123_feed=yes
14084 else
14085 ac_cv_lib_mpg123_mpg123_feed=no
14087 rm -f core conftest.err conftest.$ac_objext \
14088 conftest$ac_exeext conftest.$ac_ext
14089 LIBS=$ac_check_lib_save_LIBS
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14092 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14093 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14095 else
14096 MPG123_LIBS=""
14099 else
14100 MPG123_CFLAGS=""
14101 MPG123_LIBS=""
14103 CPPFLAGS=$ac_save_CPPFLAGS
14104 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14105 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14108 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14109 case "x$with_mpg123" in
14110 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14111 xno) ;;
14112 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14113 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14114 esac
14115 enable_winemp3_acm=${enable_winemp3_acm:-no}
14118 if test "$ac_cv_header_AL_al_h" = "yes"
14119 then
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14121 $as_echo_n "checking for -lopenal... " >&6; }
14122 if ${ac_cv_lib_soname_openal+:} false; then :
14123 $as_echo_n "(cached) " >&6
14124 else
14125 ac_check_soname_save_LIBS=$LIBS
14126 LIBS="-lopenal $LIBS"
14127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14128 /* end confdefs.h. */
14130 /* Override any GCC internal prototype to avoid an error.
14131 Use char because int might match the return type of a GCC
14132 builtin and then its argument prototype would still apply. */
14133 #ifdef __cplusplus
14134 extern "C"
14135 #endif
14136 char alGetSource3i ();
14138 main ()
14140 return alGetSource3i ();
14142 return 0;
14144 _ACEOF
14145 if ac_fn_c_try_link "$LINENO"; then :
14146 case "$LIBEXT" in
14147 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14148 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'` ;;
14149 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14150 if ${ac_cv_lib_soname_openal:+false} :; then :
14151 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14152 fi ;;
14153 esac
14155 rm -f core conftest.err conftest.$ac_objext \
14156 conftest$ac_exeext conftest.$ac_ext
14157 LIBS=$ac_check_soname_save_LIBS
14159 if ${ac_cv_lib_soname_openal:+false} :; then :
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14161 $as_echo "not found" >&6; }
14163 else
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14165 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14167 cat >>confdefs.h <<_ACEOF
14168 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14169 _ACEOF
14171 OPENAL_LIBS="-lopenal"
14173 ac_cv_lib_openal=yes
14175 cat >>confdefs.h <<_ACEOF
14176 #define HAVE_OPENAL 1
14177 _ACEOF
14181 if test "x$ac_cv_lib_openal" != xyes; then :
14182 case "x$with_openal" in
14183 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14184 xno) ;;
14185 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14186 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14187 esac
14188 enable_openal32=${enable_openal32:-no}
14191 if test "x$ac_cv_lib_openal" = xyes
14192 then
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14194 $as_echo_n "checking for openal-soft... " >&6; }
14195 if ${ac_cv_have_openalsoft+:} false; then :
14196 $as_echo_n "(cached) " >&6
14197 else
14198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14200 #include <AL/al.h>
14201 #include <AL/alc.h>
14202 #include <AL/alext.h>
14203 LPALCRENDERSAMPLESSOFT x;
14205 main ()
14209 return 0;
14211 _ACEOF
14212 if ac_fn_c_try_compile "$LINENO"; then :
14213 ac_cv_have_openalsoft=yes
14214 else
14215 ac_cv_have_openalsoft=no
14217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14220 $as_echo "$ac_cv_have_openalsoft" >&6; }
14222 if test "x$ac_cv_have_openalsoft" != xyes
14223 then
14224 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14225 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14226 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14227 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14228 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14229 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14230 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14231 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14232 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14233 enable_xapofx1_1=${enable_xapofx1_1:-no}
14234 enable_xapofx1_2=${enable_xapofx1_2:-no}
14235 enable_xapofx1_3=${enable_xapofx1_3:-no}
14236 enable_xapofx1_4=${enable_xapofx1_4:-no}
14237 enable_xapofx1_5=${enable_xapofx1_5:-no}
14238 enable_xaudio2_0=${enable_xaudio2_0:-no}
14239 enable_xaudio2_1=${enable_xaudio2_1:-no}
14240 enable_xaudio2_2=${enable_xaudio2_2:-no}
14241 enable_xaudio2_3=${enable_xaudio2_3:-no}
14242 enable_xaudio2_4=${enable_xaudio2_4:-no}
14243 enable_xaudio2_5=${enable_xaudio2_5:-no}
14244 enable_xaudio2_6=${enable_xaudio2_6:-no}
14245 enable_xaudio2_7=${enable_xaudio2_7:-no}
14246 enable_xaudio2_8=${enable_xaudio2_8:-no}
14247 enable_xaudio2_9=${enable_xaudio2_9:-no}
14250 if test "$ac_cv_header_kstat_h" = "yes"
14251 then
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14253 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14254 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14255 $as_echo_n "(cached) " >&6
14256 else
14257 ac_check_lib_save_LIBS=$LIBS
14258 LIBS="-lkstat $LIBS"
14259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14262 /* Override any GCC internal prototype to avoid an error.
14263 Use char because int might match the return type of a GCC
14264 builtin and then its argument prototype would still apply. */
14265 #ifdef __cplusplus
14266 extern "C"
14267 #endif
14268 char kstat_open ();
14270 main ()
14272 return kstat_open ();
14274 return 0;
14276 _ACEOF
14277 if ac_fn_c_try_link "$LINENO"; then :
14278 ac_cv_lib_kstat_kstat_open=yes
14279 else
14280 ac_cv_lib_kstat_kstat_open=no
14282 rm -f core conftest.err conftest.$ac_objext \
14283 conftest$ac_exeext conftest.$ac_ext
14284 LIBS=$ac_check_lib_save_LIBS
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14287 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14288 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14290 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14292 KSTAT_LIBS="-lkstat"
14298 if test "$ac_cv_header_libprocstat_h" = "yes"
14299 then
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14301 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14302 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14303 $as_echo_n "(cached) " >&6
14304 else
14305 ac_check_lib_save_LIBS=$LIBS
14306 LIBS="-lprocstat $LIBS"
14307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14310 /* Override any GCC internal prototype to avoid an error.
14311 Use char because int might match the return type of a GCC
14312 builtin and then its argument prototype would still apply. */
14313 #ifdef __cplusplus
14314 extern "C"
14315 #endif
14316 char procstat_open_sysctl ();
14318 main ()
14320 return procstat_open_sysctl ();
14322 return 0;
14324 _ACEOF
14325 if ac_fn_c_try_link "$LINENO"; then :
14326 ac_cv_lib_procstat_procstat_open_sysctl=yes
14327 else
14328 ac_cv_lib_procstat_procstat_open_sysctl=no
14330 rm -f core conftest.err conftest.$ac_objext \
14331 conftest$ac_exeext conftest.$ac_ext
14332 LIBS=$ac_check_lib_save_LIBS
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14335 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14336 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14338 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14340 PROCSTAT_LIBS="-lprocstat"
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14347 $as_echo_n "checking for -lodbc... " >&6; }
14348 if ${ac_cv_lib_soname_odbc+:} false; then :
14349 $as_echo_n "(cached) " >&6
14350 else
14351 ac_check_soname_save_LIBS=$LIBS
14352 LIBS="-lodbc $LIBS"
14353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14356 /* Override any GCC internal prototype to avoid an error.
14357 Use char because int might match the return type of a GCC
14358 builtin and then its argument prototype would still apply. */
14359 #ifdef __cplusplus
14360 extern "C"
14361 #endif
14362 char SQLConnect ();
14364 main ()
14366 return SQLConnect ();
14368 return 0;
14370 _ACEOF
14371 if ac_fn_c_try_link "$LINENO"; then :
14372 case "$LIBEXT" in
14373 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14374 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'` ;;
14375 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14376 if ${ac_cv_lib_soname_odbc:+false} :; then :
14377 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14378 fi ;;
14379 esac
14381 rm -f core conftest.err conftest.$ac_objext \
14382 conftest$ac_exeext conftest.$ac_ext
14383 LIBS=$ac_check_soname_save_LIBS
14385 if ${ac_cv_lib_soname_odbc:+false} :; then :
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14387 $as_echo "not found" >&6; }
14388 cat >>confdefs.h <<_ACEOF
14389 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14390 _ACEOF
14392 else
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14394 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14396 cat >>confdefs.h <<_ACEOF
14397 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14398 _ACEOF
14403 if test "x$with_netapi" != "xno"
14404 then
14405 if ${NETAPI_CFLAGS:+false} :; then :
14406 if ${PKG_CONFIG+:} false; then :
14407 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14411 if ${NETAPI_LIBS:+false} :; then :
14412 if ${PKG_CONFIG+:} false; then :
14413 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14418 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14419 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14420 ac_save_CPPFLAGS=$CPPFLAGS
14421 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14423 $as_echo_n "checking for -lnetapi... " >&6; }
14424 if ${ac_cv_lib_soname_netapi+:} false; then :
14425 $as_echo_n "(cached) " >&6
14426 else
14427 ac_check_soname_save_LIBS=$LIBS
14428 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14430 /* end confdefs.h. */
14432 /* Override any GCC internal prototype to avoid an error.
14433 Use char because int might match the return type of a GCC
14434 builtin and then its argument prototype would still apply. */
14435 #ifdef __cplusplus
14436 extern "C"
14437 #endif
14438 char libnetapi_init ();
14440 main ()
14442 return libnetapi_init ();
14444 return 0;
14446 _ACEOF
14447 if ac_fn_c_try_link "$LINENO"; then :
14448 case "$LIBEXT" in
14449 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14450 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'` ;;
14451 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14452 if ${ac_cv_lib_soname_netapi:+false} :; then :
14453 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14454 fi ;;
14455 esac
14457 rm -f core conftest.err conftest.$ac_objext \
14458 conftest$ac_exeext conftest.$ac_ext
14459 LIBS=$ac_check_soname_save_LIBS
14461 if ${ac_cv_lib_soname_netapi:+false} :; then :
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14463 $as_echo "not found" >&6; }
14464 cat >>confdefs.h <<_ACEOF
14465 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14466 _ACEOF
14468 else
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14470 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14472 cat >>confdefs.h <<_ACEOF
14473 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14474 _ACEOF
14478 CPPFLAGS=$ac_save_CPPFLAGS
14479 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14480 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14484 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14485 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14486 then
14487 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14491 EXTRACFLAGS=""
14493 if test "x${GCC}" = "xyes"
14494 then
14495 EXTRACFLAGS="-Wall -pipe"
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14498 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14499 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14500 $as_echo_n "(cached) " >&6
14501 else
14502 if test "$cross_compiling" = yes; then :
14503 ac_cv_c_gcc_strength_bug="no"
14504 else
14505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14506 /* end confdefs.h. */
14507 int L[4] = {0,1,2,3};
14509 main ()
14511 static int Array[3];
14512 unsigned int B = 3;
14513 int i;
14514 for(i=0; i<B; i++) Array[i] = i - 3;
14515 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14516 L[i] = 4;
14517 return (Array[1] != -2 || L[2] != 3)
14519 return 0;
14521 _ACEOF
14522 if ac_fn_c_try_run "$LINENO"; then :
14523 ac_cv_c_gcc_strength_bug="no"
14524 else
14525 ac_cv_c_gcc_strength_bug="yes"
14527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14528 conftest.$ac_objext conftest.beam conftest.$ac_ext
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14533 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14534 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14535 then
14536 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14540 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14541 if ${ac_cv_cflags__fno_builtin+:} false; then :
14542 $as_echo_n "(cached) " >&6
14543 else
14544 ac_wine_try_cflags_saved=$CFLAGS
14545 CFLAGS="$CFLAGS -fno-builtin"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14548 int main(int argc, char **argv) { return 0; }
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"; then :
14551 ac_cv_cflags__fno_builtin=yes
14552 else
14553 ac_cv_cflags__fno_builtin=no
14555 rm -f core conftest.err conftest.$ac_objext \
14556 conftest$ac_exeext conftest.$ac_ext
14557 CFLAGS=$ac_wine_try_cflags_saved
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14560 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14561 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14562 BUILTINFLAG="-fno-builtin"
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14566 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14567 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14568 $as_echo_n "(cached) " >&6
14569 else
14570 ac_wine_try_cflags_saved=$CFLAGS
14571 CFLAGS="$CFLAGS -fno-strict-aliasing"
14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14574 int main(int argc, char **argv) { return 0; }
14575 _ACEOF
14576 if ac_fn_c_try_link "$LINENO"; then :
14577 ac_cv_cflags__fno_strict_aliasing=yes
14578 else
14579 ac_cv_cflags__fno_strict_aliasing=no
14581 rm -f core conftest.err conftest.$ac_objext \
14582 conftest$ac_exeext conftest.$ac_ext
14583 CFLAGS=$ac_wine_try_cflags_saved
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14586 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14587 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14588 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14591 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14592 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14593 $as_echo_n "(cached) " >&6
14594 else
14595 ac_wine_try_cflags_saved=$CFLAGS
14596 CFLAGS="$CFLAGS -fexcess-precision=standard"
14597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14598 /* end confdefs.h. */
14599 int main(int argc, char **argv) { return 0; }
14600 _ACEOF
14601 if ac_fn_c_try_link "$LINENO"; then :
14602 ac_cv_cflags__fexcess_precision_standard=yes
14603 else
14604 ac_cv_cflags__fexcess_precision_standard=no
14606 rm -f core conftest.err conftest.$ac_objext \
14607 conftest$ac_exeext conftest.$ac_ext
14608 CFLAGS=$ac_wine_try_cflags_saved
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14611 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14612 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14613 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14616 saved_CFLAGS=$CFLAGS
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14618 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14619 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14620 $as_echo_n "(cached) " >&6
14621 else
14622 ac_wine_try_cflags_saved=$CFLAGS
14623 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14625 /* end confdefs.h. */
14626 int main(int argc, char **argv) { return 0; }
14627 _ACEOF
14628 if ac_fn_c_try_link "$LINENO"; then :
14629 ac_cv_cflags__Werror_unknown_warning_option=yes
14630 else
14631 ac_cv_cflags__Werror_unknown_warning_option=no
14633 rm -f core conftest.err conftest.$ac_objext \
14634 conftest$ac_exeext conftest.$ac_ext
14635 CFLAGS=$ac_wine_try_cflags_saved
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14638 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14639 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14640 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14643 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14644 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14645 $as_echo_n "(cached) " >&6
14646 else
14647 ac_wine_try_cflags_saved=$CFLAGS
14648 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14650 /* end confdefs.h. */
14651 int main(int argc, char **argv) { return 0; }
14652 _ACEOF
14653 if ac_fn_c_try_link "$LINENO"; then :
14654 ac_cv_cflags__Wdeclaration_after_statement=yes
14655 else
14656 ac_cv_cflags__Wdeclaration_after_statement=no
14658 rm -f core conftest.err conftest.$ac_objext \
14659 conftest$ac_exeext conftest.$ac_ext
14660 CFLAGS=$ac_wine_try_cflags_saved
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14663 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14664 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14665 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14668 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14669 if ${ac_cv_cflags__Wempty_body+:} false; then :
14670 $as_echo_n "(cached) " >&6
14671 else
14672 ac_wine_try_cflags_saved=$CFLAGS
14673 CFLAGS="$CFLAGS -Wempty-body"
14674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14676 int main(int argc, char **argv) { return 0; }
14677 _ACEOF
14678 if ac_fn_c_try_link "$LINENO"; then :
14679 ac_cv_cflags__Wempty_body=yes
14680 else
14681 ac_cv_cflags__Wempty_body=no
14683 rm -f core conftest.err conftest.$ac_objext \
14684 conftest$ac_exeext conftest.$ac_ext
14685 CFLAGS=$ac_wine_try_cflags_saved
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14688 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14689 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14690 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14693 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14694 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14695 $as_echo_n "(cached) " >&6
14696 else
14697 ac_wine_try_cflags_saved=$CFLAGS
14698 CFLAGS="$CFLAGS -Wignored-qualifiers"
14699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14701 int main(int argc, char **argv) { return 0; }
14702 _ACEOF
14703 if ac_fn_c_try_link "$LINENO"; then :
14704 ac_cv_cflags__Wignored_qualifiers=yes
14705 else
14706 ac_cv_cflags__Wignored_qualifiers=no
14708 rm -f core conftest.err conftest.$ac_objext \
14709 conftest$ac_exeext conftest.$ac_ext
14710 CFLAGS=$ac_wine_try_cflags_saved
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14713 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14714 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14715 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14718 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14719 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14720 $as_echo_n "(cached) " >&6
14721 else
14722 ac_wine_try_cflags_saved=$CFLAGS
14723 CFLAGS="$CFLAGS -Wshift-overflow=2"
14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14726 int main(int argc, char **argv) { return 0; }
14727 _ACEOF
14728 if ac_fn_c_try_link "$LINENO"; then :
14729 ac_cv_cflags__Wshift_overflow_2=yes
14730 else
14731 ac_cv_cflags__Wshift_overflow_2=no
14733 rm -f core conftest.err conftest.$ac_objext \
14734 conftest$ac_exeext conftest.$ac_ext
14735 CFLAGS=$ac_wine_try_cflags_saved
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14738 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14739 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14740 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14743 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14744 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14745 $as_echo_n "(cached) " >&6
14746 else
14747 ac_wine_try_cflags_saved=$CFLAGS
14748 CFLAGS="$CFLAGS -Wstrict-prototypes"
14749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h. */
14751 int main(int argc, char **argv) { return 0; }
14752 _ACEOF
14753 if ac_fn_c_try_link "$LINENO"; then :
14754 ac_cv_cflags__Wstrict_prototypes=yes
14755 else
14756 ac_cv_cflags__Wstrict_prototypes=no
14758 rm -f core conftest.err conftest.$ac_objext \
14759 conftest$ac_exeext conftest.$ac_ext
14760 CFLAGS=$ac_wine_try_cflags_saved
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14763 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14764 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14765 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14768 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14769 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14770 $as_echo_n "(cached) " >&6
14771 else
14772 ac_wine_try_cflags_saved=$CFLAGS
14773 CFLAGS="$CFLAGS -Wtype-limits"
14774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14775 /* end confdefs.h. */
14776 int main(int argc, char **argv) { return 0; }
14777 _ACEOF
14778 if ac_fn_c_try_link "$LINENO"; then :
14779 ac_cv_cflags__Wtype_limits=yes
14780 else
14781 ac_cv_cflags__Wtype_limits=no
14783 rm -f core conftest.err conftest.$ac_objext \
14784 conftest$ac_exeext conftest.$ac_ext
14785 CFLAGS=$ac_wine_try_cflags_saved
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14788 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14789 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14790 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14793 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14794 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14795 $as_echo_n "(cached) " >&6
14796 else
14797 ac_wine_try_cflags_saved=$CFLAGS
14798 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14801 int main(int argc, char **argv) { return 0; }
14802 _ACEOF
14803 if ac_fn_c_try_link "$LINENO"; then :
14804 ac_cv_cflags__Wunused_but_set_parameter=yes
14805 else
14806 ac_cv_cflags__Wunused_but_set_parameter=no
14808 rm -f core conftest.err conftest.$ac_objext \
14809 conftest$ac_exeext conftest.$ac_ext
14810 CFLAGS=$ac_wine_try_cflags_saved
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14813 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14814 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14815 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14818 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14819 if ${ac_cv_cflags__Wvla+:} false; then :
14820 $as_echo_n "(cached) " >&6
14821 else
14822 ac_wine_try_cflags_saved=$CFLAGS
14823 CFLAGS="$CFLAGS -Wvla"
14824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14825 /* end confdefs.h. */
14826 int main(int argc, char **argv) { return 0; }
14827 _ACEOF
14828 if ac_fn_c_try_link "$LINENO"; then :
14829 ac_cv_cflags__Wvla=yes
14830 else
14831 ac_cv_cflags__Wvla=no
14833 rm -f core conftest.err conftest.$ac_objext \
14834 conftest$ac_exeext conftest.$ac_ext
14835 CFLAGS=$ac_wine_try_cflags_saved
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14838 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14839 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14840 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14843 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14844 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14845 $as_echo_n "(cached) " >&6
14846 else
14847 ac_wine_try_cflags_saved=$CFLAGS
14848 CFLAGS="$CFLAGS -Wwrite-strings"
14849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14850 /* end confdefs.h. */
14851 int main(int argc, char **argv) { return 0; }
14852 _ACEOF
14853 if ac_fn_c_try_link "$LINENO"; then :
14854 ac_cv_cflags__Wwrite_strings=yes
14855 else
14856 ac_cv_cflags__Wwrite_strings=no
14858 rm -f core conftest.err conftest.$ac_objext \
14859 conftest$ac_exeext conftest.$ac_ext
14860 CFLAGS=$ac_wine_try_cflags_saved
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14863 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14864 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14865 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14869 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14870 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14871 $as_echo_n "(cached) " >&6
14872 else
14873 ac_wine_try_cflags_saved=$CFLAGS
14874 CFLAGS="$CFLAGS -Wpointer-arith"
14875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14876 /* end confdefs.h. */
14877 int main(int argc, char **argv) { return 0; }
14878 _ACEOF
14879 if ac_fn_c_try_link "$LINENO"; then :
14880 ac_cv_cflags__Wpointer_arith=yes
14881 else
14882 ac_cv_cflags__Wpointer_arith=no
14884 rm -f core conftest.err conftest.$ac_objext \
14885 conftest$ac_exeext conftest.$ac_ext
14886 CFLAGS=$ac_wine_try_cflags_saved
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14889 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14890 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14891 saved_string_h_CFLAGS=$CFLAGS
14892 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14894 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14895 if ${ac_cv_c_string_h_warnings+:} false; then :
14896 $as_echo_n "(cached) " >&6
14897 else
14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14900 #include <string.h>
14902 main ()
14906 return 0;
14908 _ACEOF
14909 if ac_fn_c_try_compile "$LINENO"; then :
14910 ac_cv_c_string_h_warnings=no
14911 else
14912 ac_cv_c_string_h_warnings=yes
14914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14917 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14918 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14919 CFLAGS=$saved_string_h_CFLAGS
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14923 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14924 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14925 $as_echo_n "(cached) " >&6
14926 else
14927 ac_wine_try_cflags_saved=$CFLAGS
14928 CFLAGS="$CFLAGS -Wlogical-op"
14929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14931 int main(int argc, char **argv) { return 0; }
14932 _ACEOF
14933 if ac_fn_c_try_link "$LINENO"; then :
14934 ac_cv_cflags__Wlogical_op=yes
14935 else
14936 ac_cv_cflags__Wlogical_op=no
14938 rm -f core conftest.err conftest.$ac_objext \
14939 conftest$ac_exeext conftest.$ac_ext
14940 CFLAGS=$ac_wine_try_cflags_saved
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14943 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14944 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14945 saved_string_h_CFLAGS=$CFLAGS
14946 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14948 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14949 if ${ac_cv_c_logicalop_noisy+:} false; then :
14950 $as_echo_n "(cached) " >&6
14951 else
14952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14954 #include <string.h>
14955 char*f(const char *h,char n) {return strchr(h,n);}
14957 main ()
14961 return 0;
14963 _ACEOF
14964 if ac_fn_c_try_compile "$LINENO"; then :
14965 ac_cv_c_logicalop_noisy=no
14966 else
14967 ac_cv_c_logicalop_noisy=yes
14969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14972 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14973 CFLAGS=$saved_string_h_CFLAGS
14974 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14977 CFLAGS=$saved_CFLAGS
14979 for ac_flag in $CFLAGS; do
14980 case $ac_flag in
14981 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14982 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14983 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14984 $as_echo_n "(cached) " >&6
14985 else
14986 ac_wine_try_cflags_saved=$CFLAGS
14987 CFLAGS="$CFLAGS -gdwarf-2"
14988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14989 /* end confdefs.h. */
14990 int main(int argc, char **argv) { return 0; }
14991 _ACEOF
14992 if ac_fn_c_try_link "$LINENO"; then :
14993 ac_cv_cflags__gdwarf_2=yes
14994 else
14995 ac_cv_cflags__gdwarf_2=no
14997 rm -f core conftest.err conftest.$ac_objext \
14998 conftest$ac_exeext conftest.$ac_ext
14999 CFLAGS=$ac_wine_try_cflags_saved
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15002 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15003 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15004 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15007 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15008 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15009 $as_echo_n "(cached) " >&6
15010 else
15011 ac_wine_try_cflags_saved=$CFLAGS
15012 CFLAGS="$CFLAGS -gstrict-dwarf"
15013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15014 /* end confdefs.h. */
15015 int main(int argc, char **argv) { return 0; }
15016 _ACEOF
15017 if ac_fn_c_try_link "$LINENO"; then :
15018 ac_cv_cflags__gstrict_dwarf=yes
15019 else
15020 ac_cv_cflags__gstrict_dwarf=no
15022 rm -f core conftest.err conftest.$ac_objext \
15023 conftest$ac_exeext conftest.$ac_ext
15024 CFLAGS=$ac_wine_try_cflags_saved
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15027 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15028 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15029 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15030 fi ;;
15031 esac
15032 done
15034 case $host_cpu in
15035 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15036 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15037 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15038 $as_echo_n "(cached) " >&6
15039 else
15040 ac_wine_try_cflags_saved=$CFLAGS
15041 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15044 int main(int argc, char **argv) { return 0; }
15045 _ACEOF
15046 if ac_fn_c_try_link "$LINENO"; then :
15047 ac_cv_cflags__fno_omit_frame_pointer=yes
15048 else
15049 ac_cv_cflags__fno_omit_frame_pointer=no
15051 rm -f core conftest.err conftest.$ac_objext \
15052 conftest$ac_exeext conftest.$ac_ext
15053 CFLAGS=$ac_wine_try_cflags_saved
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15056 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15057 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15058 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15059 fi ;;
15060 esac
15062 case $host in
15063 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15064 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15065 if ${ac_cv_cflags__Wno_format+:} false; then :
15066 $as_echo_n "(cached) " >&6
15067 else
15068 ac_wine_try_cflags_saved=$CFLAGS
15069 CFLAGS="$CFLAGS -Wno-format"
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15072 int main(int argc, char **argv) { return 0; }
15073 _ACEOF
15074 if ac_fn_c_try_link "$LINENO"; then :
15075 ac_cv_cflags__Wno_format=yes
15076 else
15077 ac_cv_cflags__Wno_format=no
15079 rm -f core conftest.err conftest.$ac_objext \
15080 conftest$ac_exeext conftest.$ac_ext
15081 CFLAGS=$ac_wine_try_cflags_saved
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15084 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15085 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15086 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15087 fi ;;
15088 esac
15090 if test "x$enable_maintainer_mode" = "xyes"
15091 then
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15093 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15094 if ${ac_cv_cflags__Werror+:} false; then :
15095 $as_echo_n "(cached) " >&6
15096 else
15097 ac_wine_try_cflags_saved=$CFLAGS
15098 CFLAGS="$CFLAGS -Werror"
15099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15100 /* end confdefs.h. */
15101 int main(int argc, char **argv) { return 0; }
15102 _ACEOF
15103 if ac_fn_c_try_link "$LINENO"; then :
15104 ac_cv_cflags__Werror=yes
15105 else
15106 ac_cv_cflags__Werror=no
15108 rm -f core conftest.err conftest.$ac_objext \
15109 conftest$ac_exeext conftest.$ac_ext
15110 CFLAGS=$ac_wine_try_cflags_saved
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15113 $as_echo "$ac_cv_cflags__Werror" >&6; }
15114 if test "x$ac_cv_cflags__Werror" = xyes; then :
15115 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15119 saved_CFLAGS="$CFLAGS"
15120 CFLAGS="$CFLAGS -Werror"
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15122 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15123 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15128 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15130 main ()
15134 return 0;
15136 _ACEOF
15137 if ac_fn_c_try_compile "$LINENO"; then :
15138 ac_cv_have_ms_hook_prologue="yes"
15139 else
15140 ac_cv_have_ms_hook_prologue="no"
15142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15145 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15146 CFLAGS="$saved_CFLAGS"
15147 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15148 then
15150 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15152 else
15153 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15160 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15161 if ${ac_cv_c_fortify_enabled+:} false; then :
15162 $as_echo_n "(cached) " >&6
15163 else
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15166 #include <string.h>
15168 main ()
15170 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15171 #error Fortify enabled
15172 #endif
15174 return 0;
15176 _ACEOF
15177 if ac_fn_c_try_compile "$LINENO"; then :
15178 ac_cv_c_fortify_enabled=no
15179 else
15180 ac_cv_c_fortify_enabled=yes
15182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15185 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15186 if test "$ac_cv_c_fortify_enabled" = yes
15187 then
15188 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15193 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15194 if ${ac_cv_c_extern_prefix+:} false; then :
15195 $as_echo_n "(cached) " >&6
15196 else
15197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15198 /* end confdefs.h. */
15199 extern int ac_test;
15201 main ()
15203 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15205 return 0;
15207 _ACEOF
15208 if ac_fn_c_try_link "$LINENO"; then :
15209 ac_cv_c_extern_prefix="yes"
15210 else
15211 ac_cv_c_extern_prefix="no"
15213 rm -f core conftest.err conftest.$ac_objext \
15214 conftest$ac_exeext conftest.$ac_ext
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15217 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15219 case $host_cpu in
15220 *i[3456789]86*)
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15222 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15223 if ${ac_cv_c_stdcall_suffix+:} false; then :
15224 $as_echo_n "(cached) " >&6
15225 else
15226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15227 /* end confdefs.h. */
15228 #ifndef _MSC_VER
15229 #define __stdcall __attribute__((__stdcall__))
15230 #endif
15231 int __stdcall ac_test(int i) { return i; }
15233 main ()
15235 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15237 return 0;
15239 _ACEOF
15240 if ac_fn_c_try_link "$LINENO"; then :
15241 ac_cv_c_stdcall_suffix="yes"
15242 else
15243 ac_cv_c_stdcall_suffix="no"
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext conftest.$ac_ext
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15249 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15250 *) ac_cv_c_stdcall_suffix="no" ;;
15251 esac
15254 if test "$ac_cv_c_extern_prefix" = "yes"
15255 then
15256 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15258 asm_name_prefix="_"
15259 else
15260 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15262 asm_name_prefix=""
15266 if test "$ac_cv_c_stdcall_suffix" = "yes"
15267 then
15268 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15270 else
15271 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15277 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15278 if ${ac_cv_asm_func_def+:} false; then :
15279 $as_echo_n "(cached) " >&6
15280 else
15281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15282 /* end confdefs.h. */
15285 main ()
15287 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15289 return 0;
15291 _ACEOF
15292 if ac_fn_c_try_link "$LINENO"; then :
15293 ac_cv_asm_func_def=".def"
15294 else
15295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15296 /* end confdefs.h. */
15299 main ()
15301 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15303 return 0;
15305 _ACEOF
15306 if ac_fn_c_try_link "$LINENO"; then :
15307 ac_cv_asm_func_def=".type @function"
15308 else
15309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15310 /* end confdefs.h. */
15313 main ()
15315 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15317 return 0;
15319 _ACEOF
15320 if ac_fn_c_try_link "$LINENO"; then :
15321 ac_cv_asm_func_def=".type 2"
15322 else
15323 ac_cv_asm_func_def="unknown"
15325 rm -f core conftest.err conftest.$ac_objext \
15326 conftest$ac_exeext conftest.$ac_ext
15328 rm -f core conftest.err conftest.$ac_objext \
15329 conftest$ac_exeext conftest.$ac_ext
15331 rm -f core conftest.err conftest.$ac_objext \
15332 conftest$ac_exeext conftest.$ac_ext
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15335 $as_echo "$ac_cv_asm_func_def" >&6; }
15338 case "$ac_cv_asm_func_def" in
15339 ".def")
15340 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15342 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15343 ".type @function")
15344 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15346 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15347 ".type 2")
15348 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15350 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15352 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15354 asm_func_header="" ;;
15355 esac
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15358 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15359 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15360 $as_echo_n "(cached) " >&6
15361 else
15362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15363 /* end confdefs.h. */
15364 asm(".text\n\t.long 0");
15366 main ()
15370 return 0;
15372 _ACEOF
15373 if ac_fn_c_try_compile "$LINENO"; then :
15374 ac_cv_c_asm_outside_funcs="yes"
15375 else
15376 ac_cv_c_asm_outside_funcs="no"
15378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15381 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15384 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15385 if ${ac_cv_c_dot_previous+:} false; then :
15386 $as_echo_n "(cached) " >&6
15387 else
15388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15389 /* end confdefs.h. */
15392 main ()
15394 asm(".text\nac_test:\t.long 0\n\t.previous");
15396 return 0;
15398 _ACEOF
15399 if ac_fn_c_try_link "$LINENO"; then :
15400 ac_cv_c_dot_previous="yes"
15401 else
15402 ac_cv_c_dot_previous="no"
15404 rm -f core conftest.err conftest.$ac_objext \
15405 conftest$ac_exeext conftest.$ac_ext
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15408 $as_echo "$ac_cv_c_dot_previous" >&6; }
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15411 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15412 if ${ac_cv_c_cfi_support+:} false; then :
15413 $as_echo_n "(cached) " >&6
15414 else
15415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15416 /* end confdefs.h. */
15417 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15419 main ()
15423 return 0;
15425 _ACEOF
15426 if ac_fn_c_try_compile "$LINENO"; then :
15427 ac_cv_c_cfi_support="yes"
15428 else
15429 ac_cv_c_cfi_support="no"
15431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15434 $as_echo "$ac_cv_c_cfi_support" >&6; }
15436 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15437 asm_func_trailer=""
15438 if test "$ac_cv_c_dot_previous" = "yes"
15439 then
15440 asm_func_trailer="\\n\\t.previous"
15442 if test "$ac_cv_c_cfi_support" = "yes"
15443 then
15444 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15445 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15447 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15449 UNWINDFLAGS=-fasynchronous-unwind-tables
15451 else
15452 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15454 if test "x$enable_win64" = "xyes"
15455 then
15456 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15460 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15463 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15464 then
15465 cat >>confdefs.h <<_ACEOF
15466 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15467 _ACEOF
15469 else
15470 cat >>confdefs.h <<_ACEOF
15471 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15472 _ACEOF
15476 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15479 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15483 case $build_os in
15484 cygwin*|mingw32*) TOOLSEXT=".exe"
15486 esac
15488 case $host_os in
15489 linux*)
15490 case $host_cpu in
15491 *i[3456789]86*|x86_64*)
15492 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15493 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15495 esac
15497 esac
15500 ac_save_CFLAGS="$CFLAGS"
15501 CFLAGS="$CFLAGS $BUILTINFLAG"
15502 for ac_func in \
15503 __res_get_state \
15504 __res_getservers \
15505 _finite \
15506 _isnan \
15507 _pclose \
15508 _popen \
15509 _snprintf \
15510 _spawnvp \
15511 _strdup \
15512 _stricmp \
15513 _strnicmp \
15514 _strtoi64 \
15515 _strtoui64 \
15516 _vsnprintf \
15517 asctime_r \
15518 chsize \
15519 dlopen \
15520 epoll_create \
15521 ffs \
15522 finitef \
15523 fnmatch \
15524 fork \
15525 fpclass \
15526 fstatfs \
15527 fstatvfs \
15528 ftruncate \
15529 futimens \
15530 futimes \
15531 futimesat \
15532 getattrlist \
15533 getauxval \
15534 getifaddrs \
15535 getopt_long_only \
15536 getpwuid \
15537 gettimeofday \
15538 getuid \
15539 isnanf \
15540 kqueue \
15541 lstat \
15542 memmove \
15543 mmap \
15544 pclose \
15545 pipe2 \
15546 poll \
15547 popen \
15548 port_create \
15549 prctl \
15550 pread \
15551 proc_pidinfo \
15552 pwrite \
15553 readdir \
15554 readlink \
15555 sched_yield \
15556 select \
15557 setproctitle \
15558 setprogname \
15559 setrlimit \
15560 settimeofday \
15561 sigaltstack \
15562 sigprocmask \
15563 snprintf \
15564 statfs \
15565 statvfs \
15566 strcasecmp \
15567 strdup \
15568 strerror \
15569 strncasecmp \
15570 strtold \
15571 strtoll \
15572 strtoull \
15573 symlink \
15574 sysinfo \
15575 tcdrain \
15576 thr_kill2 \
15577 timegm \
15578 usleep \
15579 vsnprintf
15581 do :
15582 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15584 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15585 cat >>confdefs.h <<_ACEOF
15586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15587 _ACEOF
15590 done
15592 CFLAGS="$ac_save_CFLAGS"
15594 if test "$ac_cv_func_dlopen" = no
15595 then
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15597 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15598 if ${ac_cv_lib_dl_dlopen+:} false; then :
15599 $as_echo_n "(cached) " >&6
15600 else
15601 ac_check_lib_save_LIBS=$LIBS
15602 LIBS="-ldl $LIBS"
15603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15604 /* end confdefs.h. */
15606 /* Override any GCC internal prototype to avoid an error.
15607 Use char because int might match the return type of a GCC
15608 builtin and then its argument prototype would still apply. */
15609 #ifdef __cplusplus
15610 extern "C"
15611 #endif
15612 char dlopen ();
15614 main ()
15616 return dlopen ();
15618 return 0;
15620 _ACEOF
15621 if ac_fn_c_try_link "$LINENO"; then :
15622 ac_cv_lib_dl_dlopen=yes
15623 else
15624 ac_cv_lib_dl_dlopen=no
15626 rm -f core conftest.err conftest.$ac_objext \
15627 conftest$ac_exeext conftest.$ac_ext
15628 LIBS=$ac_check_lib_save_LIBS
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15631 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15632 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15633 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15634 DL_LIBS="-ldl"
15639 ac_wine_check_funcs_save_LIBS="$LIBS"
15640 LIBS="$LIBS $DL_LIBS"
15641 for ac_func in dladdr
15642 do :
15643 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15644 if test "x$ac_cv_func_dladdr" = xyes; then :
15645 cat >>confdefs.h <<_ACEOF
15646 #define HAVE_DLADDR 1
15647 _ACEOF
15650 done
15652 LIBS="$ac_wine_check_funcs_save_LIBS"
15654 if test "$ac_cv_func_poll" = no
15655 then
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15657 $as_echo_n "checking for poll in -lpoll... " >&6; }
15658 if ${ac_cv_lib_poll_poll+:} false; then :
15659 $as_echo_n "(cached) " >&6
15660 else
15661 ac_check_lib_save_LIBS=$LIBS
15662 LIBS="-lpoll $LIBS"
15663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15664 /* end confdefs.h. */
15666 /* Override any GCC internal prototype to avoid an error.
15667 Use char because int might match the return type of a GCC
15668 builtin and then its argument prototype would still apply. */
15669 #ifdef __cplusplus
15670 extern "C"
15671 #endif
15672 char poll ();
15674 main ()
15676 return poll ();
15678 return 0;
15680 _ACEOF
15681 if ac_fn_c_try_link "$LINENO"; then :
15682 ac_cv_lib_poll_poll=yes
15683 else
15684 ac_cv_lib_poll_poll=no
15686 rm -f core conftest.err conftest.$ac_objext \
15687 conftest$ac_exeext conftest.$ac_ext
15688 LIBS=$ac_check_lib_save_LIBS
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15691 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15692 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15693 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15694 POLL_LIBS="-lpoll"
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15701 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15702 if ${ac_cv_search_gethostbyname+:} false; then :
15703 $as_echo_n "(cached) " >&6
15704 else
15705 ac_func_search_save_LIBS=$LIBS
15706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15707 /* end confdefs.h. */
15709 /* Override any GCC internal prototype to avoid an error.
15710 Use char because int might match the return type of a GCC
15711 builtin and then its argument prototype would still apply. */
15712 #ifdef __cplusplus
15713 extern "C"
15714 #endif
15715 char gethostbyname ();
15717 main ()
15719 return gethostbyname ();
15721 return 0;
15723 _ACEOF
15724 for ac_lib in '' nsl; do
15725 if test -z "$ac_lib"; then
15726 ac_res="none required"
15727 else
15728 ac_res=-l$ac_lib
15729 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15731 if ac_fn_c_try_link "$LINENO"; then :
15732 ac_cv_search_gethostbyname=$ac_res
15734 rm -f core conftest.err conftest.$ac_objext \
15735 conftest$ac_exeext
15736 if ${ac_cv_search_gethostbyname+:} false; then :
15737 break
15739 done
15740 if ${ac_cv_search_gethostbyname+:} false; then :
15742 else
15743 ac_cv_search_gethostbyname=no
15745 rm conftest.$ac_ext
15746 LIBS=$ac_func_search_save_LIBS
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15749 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15750 ac_res=$ac_cv_search_gethostbyname
15751 if test "$ac_res" != no; then :
15752 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15758 $as_echo_n "checking for library containing connect... " >&6; }
15759 if ${ac_cv_search_connect+:} false; then :
15760 $as_echo_n "(cached) " >&6
15761 else
15762 ac_func_search_save_LIBS=$LIBS
15763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15764 /* end confdefs.h. */
15766 /* Override any GCC internal prototype to avoid an error.
15767 Use char because int might match the return type of a GCC
15768 builtin and then its argument prototype would still apply. */
15769 #ifdef __cplusplus
15770 extern "C"
15771 #endif
15772 char connect ();
15774 main ()
15776 return connect ();
15778 return 0;
15780 _ACEOF
15781 for ac_lib in '' socket; do
15782 if test -z "$ac_lib"; then
15783 ac_res="none required"
15784 else
15785 ac_res=-l$ac_lib
15786 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15788 if ac_fn_c_try_link "$LINENO"; then :
15789 ac_cv_search_connect=$ac_res
15791 rm -f core conftest.err conftest.$ac_objext \
15792 conftest$ac_exeext
15793 if ${ac_cv_search_connect+:} false; then :
15794 break
15796 done
15797 if ${ac_cv_search_connect+:} false; then :
15799 else
15800 ac_cv_search_connect=no
15802 rm conftest.$ac_ext
15803 LIBS=$ac_func_search_save_LIBS
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15806 $as_echo "$ac_cv_search_connect" >&6; }
15807 ac_res=$ac_cv_search_connect
15808 if test "$ac_res" != no; then :
15809 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15815 $as_echo_n "checking for library containing inet_aton... " >&6; }
15816 if ${ac_cv_search_inet_aton+:} false; then :
15817 $as_echo_n "(cached) " >&6
15818 else
15819 ac_func_search_save_LIBS=$LIBS
15820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15821 /* end confdefs.h. */
15823 /* Override any GCC internal prototype to avoid an error.
15824 Use char because int might match the return type of a GCC
15825 builtin and then its argument prototype would still apply. */
15826 #ifdef __cplusplus
15827 extern "C"
15828 #endif
15829 char inet_aton ();
15831 main ()
15833 return inet_aton ();
15835 return 0;
15837 _ACEOF
15838 for ac_lib in '' resolv; do
15839 if test -z "$ac_lib"; then
15840 ac_res="none required"
15841 else
15842 ac_res=-l$ac_lib
15843 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15845 if ac_fn_c_try_link "$LINENO"; then :
15846 ac_cv_search_inet_aton=$ac_res
15848 rm -f core conftest.err conftest.$ac_objext \
15849 conftest$ac_exeext
15850 if ${ac_cv_search_inet_aton+:} false; then :
15851 break
15853 done
15854 if ${ac_cv_search_inet_aton+:} false; then :
15856 else
15857 ac_cv_search_inet_aton=no
15859 rm conftest.$ac_ext
15860 LIBS=$ac_func_search_save_LIBS
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15863 $as_echo "$ac_cv_search_inet_aton" >&6; }
15864 ac_res=$ac_cv_search_inet_aton
15865 if test "$ac_res" != no; then :
15866 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15871 for ac_func in \
15872 getaddrinfo \
15873 getnameinfo \
15874 getnetbyname \
15875 getprotobyname \
15876 getprotobynumber \
15877 getservbyport \
15878 inet_addr \
15879 inet_network \
15880 inet_ntop \
15881 inet_pton \
15882 sendmsg \
15883 socketpair \
15885 do :
15886 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15888 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15889 cat >>confdefs.h <<_ACEOF
15890 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15891 _ACEOF
15894 done
15897 ac_save_LIBS=$LIBS
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15899 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15900 if ${ac_cv_search_clock_gettime+:} false; then :
15901 $as_echo_n "(cached) " >&6
15902 else
15903 ac_func_search_save_LIBS=$LIBS
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15907 /* Override any GCC internal prototype to avoid an error.
15908 Use char because int might match the return type of a GCC
15909 builtin and then its argument prototype would still apply. */
15910 #ifdef __cplusplus
15911 extern "C"
15912 #endif
15913 char clock_gettime ();
15915 main ()
15917 return clock_gettime ();
15919 return 0;
15921 _ACEOF
15922 for ac_lib in '' rt; do
15923 if test -z "$ac_lib"; then
15924 ac_res="none required"
15925 else
15926 ac_res=-l$ac_lib
15927 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15929 if ac_fn_c_try_link "$LINENO"; then :
15930 ac_cv_search_clock_gettime=$ac_res
15932 rm -f core conftest.err conftest.$ac_objext \
15933 conftest$ac_exeext
15934 if ${ac_cv_search_clock_gettime+:} false; then :
15935 break
15937 done
15938 if ${ac_cv_search_clock_gettime+:} false; then :
15940 else
15941 ac_cv_search_clock_gettime=no
15943 rm conftest.$ac_ext
15944 LIBS=$ac_func_search_save_LIBS
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15947 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15948 ac_res=$ac_cv_search_clock_gettime
15949 if test "$ac_res" != no; then :
15950 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15952 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15954 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15958 LIBS=$ac_save_LIBS
15960 if test "x$with_ldap" != "xno"
15961 then
15962 if ${LDAP_CFLAGS:+false} :; then :
15963 if ${PKG_CONFIG+:} false; then :
15964 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15968 if ${LDAP_LIBS:+false} :; then :
15969 if ${PKG_CONFIG+:} false; then :
15970 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
15974 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
15975 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15976 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15977 ac_save_CPPFLAGS=$CPPFLAGS
15978 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
15979 for ac_header in ldap.h lber.h
15980 do :
15981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15982 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15983 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15984 cat >>confdefs.h <<_ACEOF
15985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15986 _ACEOF
15990 done
15992 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15993 then
15994 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15996 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15998 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15999 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16000 $as_echo_n "(cached) " >&6
16001 else
16002 ac_check_lib_save_LIBS=$LIBS
16003 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16007 /* Override any GCC internal prototype to avoid an error.
16008 Use char because int might match the return type of a GCC
16009 builtin and then its argument prototype would still apply. */
16010 #ifdef __cplusplus
16011 extern "C"
16012 #endif
16013 char ldap_initialize ();
16015 main ()
16017 return ldap_initialize ();
16019 return 0;
16021 _ACEOF
16022 if ac_fn_c_try_link "$LINENO"; then :
16023 ac_cv_lib_ldap_r_ldap_initialize=yes
16024 else
16025 ac_cv_lib_ldap_r_ldap_initialize=no
16027 rm -f core conftest.err conftest.$ac_objext \
16028 conftest$ac_exeext conftest.$ac_ext
16029 LIBS=$ac_check_lib_save_LIBS
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16032 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16033 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16035 $as_echo_n "checking for ber_init in -llber... " >&6; }
16036 if ${ac_cv_lib_lber_ber_init+:} false; then :
16037 $as_echo_n "(cached) " >&6
16038 else
16039 ac_check_lib_save_LIBS=$LIBS
16040 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16042 /* end confdefs.h. */
16044 /* Override any GCC internal prototype to avoid an error.
16045 Use char because int might match the return type of a GCC
16046 builtin and then its argument prototype would still apply. */
16047 #ifdef __cplusplus
16048 extern "C"
16049 #endif
16050 char ber_init ();
16052 main ()
16054 return ber_init ();
16056 return 0;
16058 _ACEOF
16059 if ac_fn_c_try_link "$LINENO"; then :
16060 ac_cv_lib_lber_ber_init=yes
16061 else
16062 ac_cv_lib_lber_ber_init=no
16064 rm -f core conftest.err conftest.$ac_objext \
16065 conftest$ac_exeext conftest.$ac_ext
16066 LIBS=$ac_check_lib_save_LIBS
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16069 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16070 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16072 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16074 else
16075 LDAP_LIBS=""
16078 else
16079 LDAP_LIBS=""
16082 else
16083 LDAP_LIBS=""
16086 ac_wine_check_funcs_save_LIBS="$LIBS"
16087 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16088 for ac_func in \
16089 ldap_count_references \
16090 ldap_first_reference \
16091 ldap_next_reference \
16092 ldap_parse_reference \
16093 ldap_parse_sort_control \
16094 ldap_parse_sortresponse_control \
16095 ldap_parse_vlv_control \
16096 ldap_parse_vlvresponse_control
16097 do :
16098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16103 _ACEOF
16106 done
16108 LIBS="$ac_wine_check_funcs_save_LIBS"
16109 else
16110 LDAP_LIBS=""
16112 CPPFLAGS=$ac_save_CPPFLAGS
16113 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16114 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16117 if test "x$LDAP_LIBS" = "x"; then :
16118 case "x$with_ldap" in
16119 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16120 xno) ;;
16121 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16122 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16123 esac
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16128 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16129 if ${wine_cv_one_arg_mkdir+:} false; then :
16130 $as_echo_n "(cached) " >&6
16131 else
16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16134 #include <sys/stat.h>
16136 main ()
16138 mkdir("foo");
16140 return 0;
16142 _ACEOF
16143 if ac_fn_c_try_compile "$LINENO"; then :
16144 wine_cv_one_arg_mkdir=yes
16145 else
16146 wine_cv_one_arg_mkdir=no
16148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16151 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16152 if test "$wine_cv_one_arg_mkdir" = "yes"
16153 then
16155 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16160 $as_echo_n "checking for sched_setaffinity... " >&6; }
16161 if ${wine_cv_have_sched_setaffinity+:} false; then :
16162 $as_echo_n "(cached) " >&6
16163 else
16164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16165 /* end confdefs.h. */
16166 #define _GNU_SOURCE
16167 #include <sched.h>
16169 main ()
16171 sched_setaffinity(0, 0, 0);
16173 return 0;
16175 _ACEOF
16176 if ac_fn_c_try_link "$LINENO"; then :
16177 wine_cv_have_sched_setaffinity=yes
16178 else
16179 wine_cv_have_sched_setaffinity=no
16181 rm -f core conftest.err conftest.$ac_objext \
16182 conftest$ac_exeext conftest.$ac_ext
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16185 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16186 if test "$wine_cv_have_sched_setaffinity" = "yes"
16187 then
16189 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16194 $as_echo_n "checking for fallocate... " >&6; }
16195 if ${wine_cv_have_fallocate+:} false; then :
16196 $as_echo_n "(cached) " >&6
16197 else
16198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16199 /* end confdefs.h. */
16200 #define _GNU_SOURCE
16201 #include <fcntl.h>
16203 main ()
16205 fallocate(-1, 0, 0, 0);
16207 return 0;
16209 _ACEOF
16210 if ac_fn_c_try_link "$LINENO"; then :
16211 wine_cv_have_fallocate=yes
16212 else
16213 wine_cv_have_fallocate=no
16215 rm -f core conftest.err conftest.$ac_objext \
16216 conftest$ac_exeext conftest.$ac_ext
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16219 $as_echo "$wine_cv_have_fallocate" >&6; }
16220 if test "$wine_cv_have_fallocate" = "yes"
16221 then
16223 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16229 $as_echo_n "checking for inline... " >&6; }
16230 if ${ac_cv_c_inline+:} false; then :
16231 $as_echo_n "(cached) " >&6
16232 else
16233 ac_cv_c_inline=no
16234 for ac_kw in inline __inline__ __inline; do
16235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16236 /* end confdefs.h. */
16237 #ifndef __cplusplus
16238 typedef int foo_t;
16239 static $ac_kw foo_t static_foo () {return 0; }
16240 $ac_kw foo_t foo () {return 0; }
16241 #endif
16243 _ACEOF
16244 if ac_fn_c_try_compile "$LINENO"; then :
16245 ac_cv_c_inline=$ac_kw
16247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16248 test "$ac_cv_c_inline" != no && break
16249 done
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16253 $as_echo "$ac_cv_c_inline" >&6; }
16255 case $ac_cv_c_inline in
16256 inline | yes) ;;
16258 case $ac_cv_c_inline in
16259 no) ac_val=;;
16260 *) ac_val=$ac_cv_c_inline;;
16261 esac
16262 cat >>confdefs.h <<_ACEOF
16263 #ifndef __cplusplus
16264 #define inline $ac_val
16265 #endif
16266 _ACEOF
16268 esac
16270 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16271 if test "x$ac_cv_type_mode_t" = xyes; then :
16273 cat >>confdefs.h <<_ACEOF
16274 #define HAVE_MODE_T 1
16275 _ACEOF
16279 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16280 if test "x$ac_cv_type_off_t" = xyes; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define HAVE_OFF_T 1
16284 _ACEOF
16288 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16289 if test "x$ac_cv_type_pid_t" = xyes; then :
16291 cat >>confdefs.h <<_ACEOF
16292 #define HAVE_PID_T 1
16293 _ACEOF
16297 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16298 if test "x$ac_cv_type_size_t" = xyes; then :
16300 cat >>confdefs.h <<_ACEOF
16301 #define HAVE_SIZE_T 1
16302 _ACEOF
16306 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16307 if test "x$ac_cv_type_ssize_t" = xyes; then :
16309 cat >>confdefs.h <<_ACEOF
16310 #define HAVE_SSIZE_T 1
16311 _ACEOF
16315 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16316 if test "x$ac_cv_type_long_long" = xyes; then :
16318 cat >>confdefs.h <<_ACEOF
16319 #define HAVE_LONG_LONG 1
16320 _ACEOF
16324 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16325 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16327 cat >>confdefs.h <<_ACEOF
16328 #define HAVE_FSBLKCNT_T 1
16329 _ACEOF
16333 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16334 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16336 cat >>confdefs.h <<_ACEOF
16337 #define HAVE_FSFILCNT_T 1
16338 _ACEOF
16343 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16344 #include <signal.h>
16346 if test "x$ac_cv_type_sigset_t" = xyes; then :
16348 cat >>confdefs.h <<_ACEOF
16349 #define HAVE_SIGSET_T 1
16350 _ACEOF
16355 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16357 if test "x$ac_cv_type_request_sense" = xyes; then :
16359 cat >>confdefs.h <<_ACEOF
16360 #define HAVE_REQUEST_SENSE 1
16361 _ACEOF
16367 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16368 #ifdef HAVE_SYS_SOCKET_H
16369 #include <sys/socket.h>
16370 #endif
16371 #ifdef HAVE_SYS_SOCKETVAR_H
16372 #include <sys/socketvar.h>
16373 #endif
16374 #ifdef HAVE_NET_ROUTE_H
16375 #include <net/route.h>
16376 #endif
16377 #ifdef HAVE_NETINET_IN_H
16378 #include <netinet/in.h>
16379 #endif
16380 #ifdef HAVE_NETINET_IN_SYSTM_H
16381 #include <netinet/in_systm.h>
16382 #endif
16383 #ifdef HAVE_NETINET_IP_H
16384 #include <netinet/ip.h>
16385 #endif
16386 #ifdef HAVE_NETINET_IN_PCB_H
16387 #include <netinet/in_pcb.h>
16388 #endif
16390 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16392 cat >>confdefs.h <<_ACEOF
16393 #define HAVE_STRUCT_XINPGEN 1
16394 _ACEOF
16400 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16401 #include <link.h>
16402 #endif
16403 #ifdef HAVE_SYS_LINK_H
16404 #include <sys/link.h>
16405 #endif
16407 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16409 cat >>confdefs.h <<_ACEOF
16410 #define HAVE_STRUCT_R_DEBUG 1
16411 _ACEOF
16415 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16416 #include <link.h>
16417 #endif
16418 #ifdef HAVE_SYS_LINK_H
16419 #include <sys/link.h>
16420 #endif
16422 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16424 cat >>confdefs.h <<_ACEOF
16425 #define HAVE_STRUCT_LINK_MAP 1
16426 _ACEOF
16432 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16433 #include <linux/input.h>
16434 #endif
16436 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16438 cat >>confdefs.h <<_ACEOF
16439 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16440 _ACEOF
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16447 $as_echo_n "checking for if_nameindex... " >&6; }
16448 if ${wine_cv_have_if_nameindex+:} false; then :
16449 $as_echo_n "(cached) " >&6
16450 else
16451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16452 /* end confdefs.h. */
16453 #ifdef HAVE_SYS_TYPES_H
16454 #include <sys/types.h>
16455 #endif
16456 #ifdef HAVE_SYS_SOCKET_H
16457 #include <sys/socket.h>
16458 #endif
16459 #ifdef HAVE_NET_IF_H
16460 # include <net/if.h>
16461 #endif
16463 main ()
16465 struct if_nameindex *p = if_nameindex(); return p->if_index;
16467 return 0;
16469 _ACEOF
16470 if ac_fn_c_try_link "$LINENO"; then :
16471 wine_cv_have_if_nameindex=yes
16472 else
16473 wine_cv_have_if_nameindex=no
16475 rm -f core conftest.err conftest.$ac_objext \
16476 conftest$ac_exeext conftest.$ac_ext
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16479 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16480 if test "$wine_cv_have_if_nameindex" = "yes"
16481 then
16483 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16488 $as_echo_n "checking for sigaddset... " >&6; }
16489 if ${wine_cv_have_sigaddset+:} false; then :
16490 $as_echo_n "(cached) " >&6
16491 else
16492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16494 #include <signal.h>
16496 main ()
16498 sigset_t set; sigaddset(&set,SIGTERM);
16500 return 0;
16502 _ACEOF
16503 if ac_fn_c_try_link "$LINENO"; then :
16504 wine_cv_have_sigaddset=yes
16505 else
16506 wine_cv_have_sigaddset=no
16508 rm -f core conftest.err conftest.$ac_objext \
16509 conftest$ac_exeext conftest.$ac_ext
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16512 $as_echo "$wine_cv_have_sigaddset" >&6; }
16513 if test "$wine_cv_have_sigaddset" = "yes"
16514 then
16516 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16522 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16523 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16524 $as_echo_n "(cached) " >&6
16525 else
16526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16527 /* end confdefs.h. */
16528 #include <netdb.h>
16530 main ()
16533 char *name=0;
16534 struct hostent he;
16535 struct hostent *result;
16536 char *buf=0;
16537 int bufsize=0;
16538 int errnr;
16539 char *addr=0;
16540 int addrlen=0;
16541 int addrtype=0;
16542 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16543 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16546 return 0;
16548 _ACEOF
16549 if ac_fn_c_try_link "$LINENO"; then :
16550 wine_cv_linux_gethostbyname_r_6=yes
16551 else
16552 wine_cv_linux_gethostbyname_r_6=no
16555 rm -f core conftest.err conftest.$ac_objext \
16556 conftest$ac_exeext conftest.$ac_ext
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16560 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16561 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16562 then
16564 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16568 if test "$ac_cv_header_linux_joystick_h" = "yes"
16569 then
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16571 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16572 if ${wine_cv_linux_joystick_22_api+:} false; then :
16573 $as_echo_n "(cached) " >&6
16574 else
16575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16576 /* end confdefs.h. */
16578 #include <sys/ioctl.h>
16579 #include <sys/types.h>
16580 #include <linux/joystick.h>
16582 struct js_event blub;
16583 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16584 #error "no 2.2 header"
16585 #endif
16588 main ()
16590 /*empty*/
16592 return 0;
16594 _ACEOF
16595 if ac_fn_c_try_compile "$LINENO"; then :
16596 wine_cv_linux_joystick_22_api=yes
16597 else
16598 wine_cv_linux_joystick_22_api=no
16600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16604 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16605 if test "$wine_cv_linux_joystick_22_api" = "yes"
16606 then
16608 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16614 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16615 #ifdef HAVE_SYS_PARAM_H
16616 # include <sys/param.h>
16617 #endif
16618 #ifdef HAVE_SYS_MOUNT_H
16619 # include <sys/mount.h>
16620 #endif
16621 #ifdef HAVE_SYS_VFS_H
16622 # include <sys/vfs.h>
16623 #endif
16624 #ifdef HAVE_SYS_STATFS_H
16625 # include <sys/statfs.h>
16626 #endif
16628 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16630 cat >>confdefs.h <<_ACEOF
16631 #define HAVE_STRUCT_STATFS_F_BFREE 1
16632 _ACEOF
16636 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16637 #ifdef HAVE_SYS_PARAM_H
16638 # include <sys/param.h>
16639 #endif
16640 #ifdef HAVE_SYS_MOUNT_H
16641 # include <sys/mount.h>
16642 #endif
16643 #ifdef HAVE_SYS_VFS_H
16644 # include <sys/vfs.h>
16645 #endif
16646 #ifdef HAVE_SYS_STATFS_H
16647 # include <sys/statfs.h>
16648 #endif
16650 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16652 cat >>confdefs.h <<_ACEOF
16653 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16654 _ACEOF
16658 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16659 #ifdef HAVE_SYS_PARAM_H
16660 # include <sys/param.h>
16661 #endif
16662 #ifdef HAVE_SYS_MOUNT_H
16663 # include <sys/mount.h>
16664 #endif
16665 #ifdef HAVE_SYS_VFS_H
16666 # include <sys/vfs.h>
16667 #endif
16668 #ifdef HAVE_SYS_STATFS_H
16669 # include <sys/statfs.h>
16670 #endif
16672 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16674 cat >>confdefs.h <<_ACEOF
16675 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16676 _ACEOF
16680 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16681 #ifdef HAVE_SYS_PARAM_H
16682 # include <sys/param.h>
16683 #endif
16684 #ifdef HAVE_SYS_MOUNT_H
16685 # include <sys/mount.h>
16686 #endif
16687 #ifdef HAVE_SYS_VFS_H
16688 # include <sys/vfs.h>
16689 #endif
16690 #ifdef HAVE_SYS_STATFS_H
16691 # include <sys/statfs.h>
16692 #endif
16694 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16696 cat >>confdefs.h <<_ACEOF
16697 #define HAVE_STRUCT_STATFS_F_FFREE 1
16698 _ACEOF
16702 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16703 #ifdef HAVE_SYS_PARAM_H
16704 # include <sys/param.h>
16705 #endif
16706 #ifdef HAVE_SYS_MOUNT_H
16707 # include <sys/mount.h>
16708 #endif
16709 #ifdef HAVE_SYS_VFS_H
16710 # include <sys/vfs.h>
16711 #endif
16712 #ifdef HAVE_SYS_STATFS_H
16713 # include <sys/statfs.h>
16714 #endif
16716 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16718 cat >>confdefs.h <<_ACEOF
16719 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16720 _ACEOF
16724 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16725 #ifdef HAVE_SYS_PARAM_H
16726 # include <sys/param.h>
16727 #endif
16728 #ifdef HAVE_SYS_MOUNT_H
16729 # include <sys/mount.h>
16730 #endif
16731 #ifdef HAVE_SYS_VFS_H
16732 # include <sys/vfs.h>
16733 #endif
16734 #ifdef HAVE_SYS_STATFS_H
16735 # include <sys/statfs.h>
16736 #endif
16738 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16740 cat >>confdefs.h <<_ACEOF
16741 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16742 _ACEOF
16748 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16749 #include <sys/statvfs.h>
16750 #endif
16752 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16754 cat >>confdefs.h <<_ACEOF
16755 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16756 _ACEOF
16762 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16763 #include <dirent.h>
16764 #endif
16766 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16768 cat >>confdefs.h <<_ACEOF
16769 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16770 _ACEOF
16776 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16777 #ifdef HAVE_SYS_SOCKET_H
16778 # include <sys/socket.h>
16779 #endif
16780 #ifdef HAVE_SYS_UN_H
16781 # include <sys/un.h>
16782 #endif
16784 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16786 cat >>confdefs.h <<_ACEOF
16787 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16788 _ACEOF
16792 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16793 #ifdef HAVE_SYS_SOCKET_H
16794 # include <sys/socket.h>
16795 #endif
16796 #ifdef HAVE_SYS_UN_H
16797 # include <sys/un.h>
16798 #endif
16800 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16802 cat >>confdefs.h <<_ACEOF
16803 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16804 _ACEOF
16808 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16809 #ifdef HAVE_SYS_SOCKET_H
16810 # include <sys/socket.h>
16811 #endif
16812 #ifdef HAVE_SYS_UN_H
16813 # include <sys/un.h>
16814 #endif
16816 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16818 cat >>confdefs.h <<_ACEOF
16819 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16820 _ACEOF
16826 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16827 #ifdef HAVE_SCSI_SG_H
16828 #include <scsi/sg.h>
16829 #endif
16831 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16833 cat >>confdefs.h <<_ACEOF
16834 #define HAVE_SCSIREQ_T_CMD 1
16835 _ACEOF
16839 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>
16840 #ifdef HAVE_SCSI_SG_H
16841 #include <scsi/sg.h>
16842 #endif
16844 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16846 cat >>confdefs.h <<_ACEOF
16847 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16848 _ACEOF
16854 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16856 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16858 cat >>confdefs.h <<_ACEOF
16859 #define HAVE_SIGINFO_T_SI_FD 1
16860 _ACEOF
16866 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16867 #ifdef HAVE_SYS_MTIO_H
16868 #include <sys/mtio.h>
16869 #endif
16871 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16873 cat >>confdefs.h <<_ACEOF
16874 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16875 _ACEOF
16879 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16880 #ifdef HAVE_SYS_MTIO_H
16881 #include <sys/mtio.h>
16882 #endif
16884 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16886 cat >>confdefs.h <<_ACEOF
16887 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16888 _ACEOF
16892 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16893 #ifdef HAVE_SYS_MTIO_H
16894 #include <sys/mtio.h>
16895 #endif
16897 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16899 cat >>confdefs.h <<_ACEOF
16900 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16901 _ACEOF
16907 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16908 #include <getopt.h>
16909 #endif
16911 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16913 cat >>confdefs.h <<_ACEOF
16914 #define HAVE_STRUCT_OPTION_NAME 1
16915 _ACEOF
16921 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16922 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16924 cat >>confdefs.h <<_ACEOF
16925 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16926 _ACEOF
16930 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16931 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16933 cat >>confdefs.h <<_ACEOF
16934 #define HAVE_STRUCT_STAT_ST_MTIM 1
16935 _ACEOF
16939 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16940 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16942 cat >>confdefs.h <<_ACEOF
16943 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16944 _ACEOF
16948 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16949 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16951 cat >>confdefs.h <<_ACEOF
16952 #define HAVE_STRUCT_STAT_ST_CTIM 1
16953 _ACEOF
16957 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16958 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16960 cat >>confdefs.h <<_ACEOF
16961 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16962 _ACEOF
16966 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16967 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16969 cat >>confdefs.h <<_ACEOF
16970 #define HAVE_STRUCT_STAT_ST_ATIM 1
16971 _ACEOF
16975 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16976 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16978 cat >>confdefs.h <<_ACEOF
16979 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16980 _ACEOF
16984 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16985 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16987 cat >>confdefs.h <<_ACEOF
16988 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16989 _ACEOF
16993 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16994 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16996 cat >>confdefs.h <<_ACEOF
16997 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16998 _ACEOF
17002 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17003 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17005 cat >>confdefs.h <<_ACEOF
17006 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17007 _ACEOF
17011 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17012 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17014 cat >>confdefs.h <<_ACEOF
17015 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17016 _ACEOF
17020 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17021 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17023 cat >>confdefs.h <<_ACEOF
17024 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17025 _ACEOF
17031 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
17032 #include <sys/types.h>
17033 #endif
17034 #ifdef HAVE_NETINET_IN_H
17035 #include <netinet/in.h>
17036 #endif
17038 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17040 cat >>confdefs.h <<_ACEOF
17041 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17042 _ACEOF
17048 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17049 #include <sys/types.h>
17050 #endif
17051 #ifdef HAVE_NETINET_IN_H
17052 #include <netinet/in.h>
17053 #endif
17054 #ifdef HAVE_RESOLV_H
17055 #include <resolv.h>
17056 #endif
17058 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17060 cat >>confdefs.h <<_ACEOF
17061 #define HAVE_STRUCT___RES_STATE 1
17062 _ACEOF
17068 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
17069 #include <resolv.h>
17070 #endif
17072 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17074 cat >>confdefs.h <<_ACEOF
17075 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17076 _ACEOF
17082 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17083 #include <sys/types.h>
17084 #endif
17085 #ifdef HAVE_NETINET_IN_H
17086 # include <netinet/in.h>
17087 #endif
17088 #ifdef HAVE_ARPA_NAMESER_H
17089 # include <arpa/nameser.h>
17090 #endif
17092 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17094 cat >>confdefs.h <<_ACEOF
17095 #define HAVE_NS_MSG__MSG_PTR 1
17096 _ACEOF
17102 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17103 #include <sys/types.h>
17104 #endif
17105 #ifdef HAVE_NETINET_IN_H
17106 #include <netinet/in.h>
17107 #endif
17108 #ifdef HAVE_NETINET_IP_H
17109 #include <netinet/ip.h>
17110 #endif
17111 #ifdef HAVE_NETINET_IP_ICMP_H
17112 #include <netinet/ip_icmp.h>
17113 #endif
17114 #ifdef HAVE_NETINET_ICMP_VAR_H
17115 #include <netinet/icmp_var.h>
17116 #endif
17118 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17120 cat >>confdefs.h <<_ACEOF
17121 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17122 _ACEOF
17128 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17129 #include <sys/types.h>
17130 #endif
17131 #ifdef HAVE_ALIAS_H
17132 #include <alias.h>
17133 #endif
17134 #ifdef HAVE_SYS_SOCKET_H
17135 #include <sys/socket.h>
17136 #endif
17137 #ifdef HAVE_SYS_SOCKETVAR_H
17138 #include <sys/socketvar.h>
17139 #endif
17140 #ifdef HAVE_SYS_TIMEOUT_H
17141 #include <sys/timeout.h>
17142 #endif
17143 #ifdef HAVE_NETINET_IN_H
17144 #include <netinet/in.h>
17145 #endif
17146 #ifdef HAVE_NETINET_IN_SYSTM_H
17147 #include <netinet/in_systm.h>
17148 #endif
17149 #ifdef HAVE_NETINET_IP_H
17150 #include <netinet/ip.h>
17151 #endif
17152 #ifdef HAVE_NETINET_IP_VAR_H
17153 #include <netinet/ip_var.h>
17154 #endif
17155 #ifdef HAVE_NETINET_IP_ICMP_H
17156 #include <netinet/ip_icmp.h>
17157 #endif
17158 #ifdef HAVE_NETINET_ICMP_VAR_H
17159 #include <netinet/icmp_var.h>
17160 #endif
17162 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17164 cat >>confdefs.h <<_ACEOF
17165 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17166 _ACEOF
17172 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17173 #include <sys/types.h>
17174 #endif
17175 #ifdef HAVE_SYS_SOCKETVAR_H
17176 #include <sys/socketvar.h>
17177 #endif
17178 #ifdef HAVE_NETINET_IN_H
17179 #include <netinet/in.h>
17180 #endif
17181 #ifdef HAVE_NETINET_IP_VAR_H
17182 #include <netinet/ip_var.h>
17183 #endif
17185 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17187 cat >>confdefs.h <<_ACEOF
17188 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17189 _ACEOF
17195 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
17196 #include <netinet/ip_var.h>
17197 #endif
17199 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17201 cat >>confdefs.h <<_ACEOF
17202 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17203 _ACEOF
17209 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17210 #include <sys/types.h>
17211 #endif
17212 #ifdef HAVE_SYS_SOCKETVAR_H
17213 #include <sys/socketvar.h>
17214 #endif
17215 #ifdef HAVE_NETINET_IN_H
17216 #include <netinet/in.h>
17217 #endif
17218 #ifdef HAVE_NETINET_TCP_H
17219 #include <netinet/tcp.h>
17220 #endif
17221 #ifdef HAVE_NETINET_TCP_VAR_H
17222 #include <netinet/tcp_var.h>
17223 #endif
17225 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17227 cat >>confdefs.h <<_ACEOF
17228 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17229 _ACEOF
17235 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
17236 #include <netinet/tcp_var.h>
17237 #endif
17239 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17241 cat >>confdefs.h <<_ACEOF
17242 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17243 _ACEOF
17249 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17250 #include <sys/types.h>
17251 #endif
17252 #ifdef HAVE_NETINET_IN_H
17253 #include <netinet/in.h>
17254 #endif
17255 #ifdef HAVE_NETINET_IP_VAR_H
17256 #include <netinet/ip_var.h>
17257 #endif
17258 #ifdef HAVE_NETINET_UDP_H
17259 #include <netinet/udp.h>
17260 #endif
17261 #ifdef HAVE_NETINET_UDP_VAR_H
17262 #include <netinet/udp_var.h>
17263 #endif
17265 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17267 cat >>confdefs.h <<_ACEOF
17268 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17269 _ACEOF
17275 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17276 #include <sys/types.h>
17277 #endif
17278 #ifdef HAVE_NET_IF_H
17279 # include <net/if.h>
17280 #endif
17282 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17284 cat >>confdefs.h <<_ACEOF
17285 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17286 _ACEOF
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17293 $as_echo_n "checking for timezone variable... " >&6; }
17294 if ${ac_cv_have_timezone+:} false; then :
17295 $as_echo_n "(cached) " >&6
17296 else
17297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17298 /* end confdefs.h. */
17299 #include <time.h>
17301 main ()
17303 timezone = 1
17305 return 0;
17307 _ACEOF
17308 if ac_fn_c_try_link "$LINENO"; then :
17309 ac_cv_have_timezone="yes"
17310 else
17311 ac_cv_have_timezone="no"
17313 rm -f core conftest.err conftest.$ac_objext \
17314 conftest$ac_exeext conftest.$ac_ext
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17317 $as_echo "$ac_cv_have_timezone" >&6; }
17318 if test "$ac_cv_have_timezone" = "yes"
17319 then
17321 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17325 $as_echo_n "checking for daylight variable... " >&6; }
17326 if ${ac_cv_have_daylight+:} false; then :
17327 $as_echo_n "(cached) " >&6
17328 else
17329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 #include <time.h>
17333 main ()
17335 daylight = 1
17337 return 0;
17339 _ACEOF
17340 if ac_fn_c_try_link "$LINENO"; then :
17341 ac_cv_have_daylight="yes"
17342 else
17343 ac_cv_have_daylight="no"
17345 rm -f core conftest.err conftest.$ac_objext \
17346 conftest$ac_exeext conftest.$ac_ext
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17349 $as_echo "$ac_cv_have_daylight" >&6; }
17350 if test "$ac_cv_have_daylight" = "yes"
17351 then
17353 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17357 ac_save_LIBS="$LIBS"
17358 LIBS="$LIBS -lm"
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17360 $as_echo_n "checking for isfinite... " >&6; }
17361 if ${ac_cv_have_isfinite+:} false; then :
17362 $as_echo_n "(cached) " >&6
17363 else
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 #define _GNU_SOURCE
17367 #include <math.h>
17369 main ()
17371 float f = 0.0; return isfinite(f)
17373 return 0;
17375 _ACEOF
17376 if ac_fn_c_try_link "$LINENO"; then :
17377 ac_cv_have_isfinite="yes"
17378 else
17379 ac_cv_have_isfinite="no"
17381 rm -f core conftest.err conftest.$ac_objext \
17382 conftest$ac_exeext conftest.$ac_ext
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17385 $as_echo "$ac_cv_have_isfinite" >&6; }
17386 if test "$ac_cv_have_isfinite" = "yes"
17387 then
17389 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17394 $as_echo_n "checking for isinf... " >&6; }
17395 if ${ac_cv_have_isinf+:} false; then :
17396 $as_echo_n "(cached) " >&6
17397 else
17398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17399 /* end confdefs.h. */
17400 #include <math.h>
17402 main ()
17404 float f = 0.0; return isinf(f)
17406 return 0;
17408 _ACEOF
17409 if ac_fn_c_try_link "$LINENO"; then :
17410 ac_cv_have_isinf="yes"
17411 else
17412 ac_cv_have_isinf="no"
17414 rm -f core conftest.err conftest.$ac_objext \
17415 conftest$ac_exeext conftest.$ac_ext
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17418 $as_echo "$ac_cv_have_isinf" >&6; }
17419 if test "$ac_cv_have_isinf" = "yes"
17420 then
17422 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17427 $as_echo_n "checking for isnan... " >&6; }
17428 if ${ac_cv_have_isnan+:} false; then :
17429 $as_echo_n "(cached) " >&6
17430 else
17431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17433 #include <math.h>
17435 main ()
17437 float f = 0.0; return isnan(f)
17439 return 0;
17441 _ACEOF
17442 if ac_fn_c_try_link "$LINENO"; then :
17443 ac_cv_have_isnan="yes"
17444 else
17445 ac_cv_have_isnan="no"
17447 rm -f core conftest.err conftest.$ac_objext \
17448 conftest$ac_exeext conftest.$ac_ext
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17451 $as_echo "$ac_cv_have_isnan" >&6; }
17452 if test "$ac_cv_have_isnan" = "yes"
17453 then
17455 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17459 for ac_func in \
17460 acosh \
17461 acoshf \
17462 asinh \
17463 asinhf \
17464 atanh \
17465 atanhf \
17466 cbrt \
17467 cbrtf \
17468 erf \
17469 erfc \
17470 erfcf \
17471 erff \
17472 exp2 \
17473 exp2f \
17474 expm1 \
17475 expm1f \
17476 lgamma \
17477 lgammaf \
17478 llrint \
17479 llrintf \
17480 llround \
17481 llroundf \
17482 log1p \
17483 log1pf \
17484 log2 \
17485 log2f \
17486 lrint \
17487 lrintf \
17488 lround \
17489 lroundf \
17490 nearbyint \
17491 nearbyintf \
17492 powl \
17493 remainder \
17494 remainderf \
17495 rint \
17496 rintf \
17497 round \
17498 roundf \
17499 trunc \
17500 truncf
17502 do :
17503 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17504 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17505 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17506 cat >>confdefs.h <<_ACEOF
17507 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17508 _ACEOF
17511 done
17513 LIBS="$ac_save_LIBS"
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17516 $as_echo_n "checking for __builtin_clz... " >&6; }
17517 if ${ac_cv_have___builtin_clz+:} false; then :
17518 $as_echo_n "(cached) " >&6
17519 else
17520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17521 /* end confdefs.h. */
17524 main ()
17526 return __builtin_clz(1)
17528 return 0;
17530 _ACEOF
17531 if ac_fn_c_try_link "$LINENO"; then :
17532 ac_cv_have___builtin_clz="yes"
17533 else
17534 ac_cv_have___builtin_clz="no"
17536 rm -f core conftest.err conftest.$ac_objext \
17537 conftest$ac_exeext conftest.$ac_ext
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17540 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17541 if test "$ac_cv_have___builtin_clz" = "yes"
17542 then
17544 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17549 $as_echo_n "checking for __builtin_popcount... " >&6; }
17550 if ${ac_cv_have___builtin_popcount+:} false; then :
17551 $as_echo_n "(cached) " >&6
17552 else
17553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17554 /* end confdefs.h. */
17557 main ()
17559 return __builtin_popcount(1)
17561 return 0;
17563 _ACEOF
17564 if ac_fn_c_try_link "$LINENO"; then :
17565 ac_cv_have___builtin_popcount="yes"
17566 else
17567 ac_cv_have___builtin_popcount="no"
17569 rm -f core conftest.err conftest.$ac_objext \
17570 conftest$ac_exeext conftest.$ac_ext
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17573 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17574 if test "$ac_cv_have___builtin_popcount" = "yes"
17575 then
17577 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17582 case $host_cpu in
17583 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17584 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17585 if ${ac_cv_cpp_def___i386__+:} false; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h. */
17590 #ifndef __i386__
17592 #endif
17593 _ACEOF
17594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17595 $EGREP "yes" >/dev/null 2>&1; then :
17596 ac_cv_cpp_def___i386__=yes
17597 else
17598 ac_cv_cpp_def___i386__=no
17600 rm -f conftest*
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17604 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17605 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17606 CFLAGS="$CFLAGS -D__i386__"
17607 LINTFLAGS="$LINTFLAGS -D__i386__"
17608 fi ;;
17609 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17610 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17611 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17612 $as_echo_n "(cached) " >&6
17613 else
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616 #ifndef __x86_64__
17618 #endif
17619 _ACEOF
17620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17621 $EGREP "yes" >/dev/null 2>&1; then :
17622 ac_cv_cpp_def___x86_64__=yes
17623 else
17624 ac_cv_cpp_def___x86_64__=no
17626 rm -f conftest*
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17630 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17631 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17632 CFLAGS="$CFLAGS -D__x86_64__"
17633 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17634 fi ;;
17635 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17636 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17637 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17638 $as_echo_n "(cached) " >&6
17639 else
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17642 #ifndef __sparc64__
17644 #endif
17645 _ACEOF
17646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17647 $EGREP "yes" >/dev/null 2>&1; then :
17648 ac_cv_cpp_def___sparc64__=yes
17649 else
17650 ac_cv_cpp_def___sparc64__=no
17652 rm -f conftest*
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17656 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17657 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17658 CFLAGS="$CFLAGS -D__sparc64__"
17659 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17660 fi ;;
17661 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17662 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17663 if ${ac_cv_cpp_def___sparc__+:} false; then :
17664 $as_echo_n "(cached) " >&6
17665 else
17666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h. */
17668 #ifndef __sparc__
17670 #endif
17671 _ACEOF
17672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17673 $EGREP "yes" >/dev/null 2>&1; then :
17674 ac_cv_cpp_def___sparc__=yes
17675 else
17676 ac_cv_cpp_def___sparc__=no
17678 rm -f conftest*
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17682 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17683 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17684 CFLAGS="$CFLAGS -D__sparc__"
17685 LINTFLAGS="$LINTFLAGS -D__sparc__"
17686 fi ;;
17687 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17688 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17689 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17690 $as_echo_n "(cached) " >&6
17691 else
17692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h. */
17694 #ifndef __powerpc64__
17696 #endif
17697 _ACEOF
17698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17699 $EGREP "yes" >/dev/null 2>&1; then :
17700 ac_cv_cpp_def___powerpc64__=yes
17701 else
17702 ac_cv_cpp_def___powerpc64__=no
17704 rm -f conftest*
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17708 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17709 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17710 CFLAGS="$CFLAGS -D__powerpc64__"
17711 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17712 fi ;;
17713 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17714 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17715 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17719 /* end confdefs.h. */
17720 #ifndef __powerpc__
17722 #endif
17723 _ACEOF
17724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17725 $EGREP "yes" >/dev/null 2>&1; then :
17726 ac_cv_cpp_def___powerpc__=yes
17727 else
17728 ac_cv_cpp_def___powerpc__=no
17730 rm -f conftest*
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17734 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17735 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17736 CFLAGS="$CFLAGS -D__powerpc__"
17737 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17738 fi ;;
17739 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17740 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17741 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17742 $as_echo_n "(cached) " >&6
17743 else
17744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17745 /* end confdefs.h. */
17746 #ifndef __aarch64__
17748 #endif
17749 _ACEOF
17750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17751 $EGREP "yes" >/dev/null 2>&1; then :
17752 ac_cv_cpp_def___aarch64__=yes
17753 else
17754 ac_cv_cpp_def___aarch64__=no
17756 rm -f conftest*
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17760 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17761 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17762 CFLAGS="$CFLAGS -D__aarch64__"
17763 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17764 fi ;;
17765 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17766 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17767 if ${ac_cv_cpp_def___arm__+:} false; then :
17768 $as_echo_n "(cached) " >&6
17769 else
17770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17771 /* end confdefs.h. */
17772 #ifndef __arm__
17774 #endif
17775 _ACEOF
17776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17777 $EGREP "yes" >/dev/null 2>&1; then :
17778 ac_cv_cpp_def___arm__=yes
17779 else
17780 ac_cv_cpp_def___arm__=no
17782 rm -f conftest*
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17786 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17787 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17788 CFLAGS="$CFLAGS -D__arm__"
17789 LINTFLAGS="$LINTFLAGS -D__arm__"
17790 fi ;;
17791 esac
17793 case $host_vendor in
17794 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17795 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17796 if ${ac_cv_cpp_def___sun__+:} false; then :
17797 $as_echo_n "(cached) " >&6
17798 else
17799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17800 /* end confdefs.h. */
17801 #ifndef __sun__
17803 #endif
17804 _ACEOF
17805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17806 $EGREP "yes" >/dev/null 2>&1; then :
17807 ac_cv_cpp_def___sun__=yes
17808 else
17809 ac_cv_cpp_def___sun__=no
17811 rm -f conftest*
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17815 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17816 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17817 CFLAGS="$CFLAGS -D__sun__"
17818 LINTFLAGS="$LINTFLAGS -D__sun__"
17819 fi ;;
17820 esac
17826 ac_config_commands="$ac_config_commands include/stamp-h"
17828 $as_echo_n "creating Makefile rules..." >&6
17830 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17831 SOCKET_LIBS = $SOCKET_LIBS
17832 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17833 IOKIT_LIBS = $IOKIT_LIBS
17834 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17835 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17836 CORESERVICES_LIBS = $CORESERVICES_LIBS
17837 APPKIT_LIBS = $APPKIT_LIBS
17838 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17839 SECURITY_LIBS = $SECURITY_LIBS
17840 COREAUDIO_LIBS = $COREAUDIO_LIBS
17841 OPENAL_LIBS = $OPENAL_LIBS
17842 OPENCL_LIBS = $OPENCL_LIBS
17843 QUICKTIME_LIBS = $QUICKTIME_LIBS
17844 CARBON_LIBS = $CARBON_LIBS
17845 PTHREAD_LIBS = $PTHREAD_LIBS
17846 X_CFLAGS = $X_CFLAGS
17847 X_PRE_LIBS = $X_PRE_LIBS
17848 X_LIBS = $X_LIBS
17849 X_EXTRA_LIBS = $X_EXTRA_LIBS
17850 PCAP_LIBS = $PCAP_LIBS
17851 XML2_CFLAGS = $XML2_CFLAGS
17852 XML2_LIBS = $XML2_LIBS
17853 XSLT_CFLAGS = $XSLT_CFLAGS
17854 XSLT_LIBS = $XSLT_LIBS
17855 DBUS_CFLAGS = $DBUS_CFLAGS
17856 DBUS_LIBS = $DBUS_LIBS
17857 HAL_CFLAGS = $HAL_CFLAGS
17858 HAL_LIBS = $HAL_LIBS
17859 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17860 GNUTLS_LIBS = $GNUTLS_LIBS
17861 SANE_CFLAGS = $SANE_CFLAGS
17862 SANE_LIBS = $SANE_LIBS
17863 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17864 GPHOTO2_LIBS = $GPHOTO2_LIBS
17865 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17866 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17867 RESOLV_LIBS = $RESOLV_LIBS
17868 LCMS2_CFLAGS = $LCMS2_CFLAGS
17869 LCMS2_LIBS = $LCMS2_LIBS
17870 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17871 FREETYPE_LIBS = $FREETYPE_LIBS
17872 Z_LIBS = $Z_LIBS
17873 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17874 PULSE_CFLAGS = $PULSE_CFLAGS
17875 PULSE_LIBS = $PULSE_LIBS
17876 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17877 GSTREAMER_LIBS = $GSTREAMER_LIBS
17878 ALSA_LIBS = $ALSA_LIBS
17879 OSS4_CFLAGS = $OSS4_CFLAGS
17880 UDEV_CFLAGS = $UDEV_CFLAGS
17881 UDEV_LIBS = $UDEV_LIBS
17882 CAPI20_CFLAGS = $CAPI20_CFLAGS
17883 CAPI20_LIBS = $CAPI20_LIBS
17884 CUPS_CFLAGS = $CUPS_CFLAGS
17885 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17886 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17887 JPEG_CFLAGS = $JPEG_CFLAGS
17888 JPEG_LIBS = $JPEG_LIBS
17889 PNG_CFLAGS = $PNG_CFLAGS
17890 PNG_LIBS = $PNG_LIBS
17891 TIFF_CFLAGS = $TIFF_CFLAGS
17892 TIFF_LIBS = $TIFF_LIBS
17893 MPG123_CFLAGS = $MPG123_CFLAGS
17894 MPG123_LIBS = $MPG123_LIBS
17895 KSTAT_LIBS = $KSTAT_LIBS
17896 PROCSTAT_LIBS = $PROCSTAT_LIBS
17897 NETAPI_CFLAGS = $NETAPI_CFLAGS
17898 NETAPI_LIBS = $NETAPI_LIBS
17899 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17900 DL_LIBS = $DL_LIBS
17901 POLL_LIBS = $POLL_LIBS
17902 RT_LIBS = $RT_LIBS
17903 LDAP_CFLAGS = $LDAP_CFLAGS
17904 LDAP_LIBS = $LDAP_LIBS
17909 wine_fn_append_rule "
17910 # Rules automatically generated by configure
17912 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17914 .INIT: Makefile
17915 .MAKEFILEDEPS:
17916 all: Makefile
17917 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17918 @./config.status Make.tmp Makefile
17919 depend: \$(MAKEDEP) dummy
17920 \$(MAKEDEP)"
17922 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17923 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17925 if test "x$enable_fonts" != xno; then
17926 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17927 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17928 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17929 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17930 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17931 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17933 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17934 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17935 ac_config_links="$ac_config_links wine:tools/winewrapper"
17936 wine_fn_config_symlink wine
17937 if test "x$enable_win64" != xno; then
17938 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17939 wine_fn_config_symlink wine64
17942 wine_fn_config_dll acledit enable_acledit
17943 wine_fn_config_dll aclui enable_aclui implib
17944 wine_fn_config_dll activeds enable_activeds implib
17945 wine_fn_config_dll actxprxy enable_actxprxy clean
17946 wine_fn_config_lib adsiid
17947 wine_fn_config_dll adsldpc enable_adsldpc
17948 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17949 wine_fn_config_test dlls/advapi32/tests advapi32_test
17950 wine_fn_config_dll advpack enable_advpack implib
17951 wine_fn_config_test dlls/advpack/tests advpack_test
17952 wine_fn_config_dll amstream enable_amstream clean
17953 wine_fn_config_test dlls/amstream/tests amstream_test
17954 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17955 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17956 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17957 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17958 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17959 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17961 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17963 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17966 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17968 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17969 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17970 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17971 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17972 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17973 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17974 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17975 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17976 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17977 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
17978 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17979 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17980 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17981 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17982 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17983 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17984 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17985 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
17986 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17987 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17988 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17989 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
17990 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17991 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17992 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17993 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17994 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17995 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17996 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17997 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17998 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17999 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18000 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18001 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18002 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18003 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18004 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18005 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18006 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18007 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18008 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18009 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18010 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18011 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18012 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18013 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18014 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18015 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18016 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18017 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18018 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18019 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18020 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18021 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18022 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18023 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18024 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18025 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18026 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18027 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18028 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18029 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18030 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18031 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18032 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18033 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18034 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18035 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18036 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18037 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18038 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18039 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18040 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18041 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18042 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18043 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18044 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18045 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18046 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18047 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18048 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18049 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18050 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18051 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18052 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18053 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18054 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18055 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18056 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18057 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18058 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18059 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18060 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18061 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18062 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18063 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18064 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18065 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18066 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18067 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18068 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18069 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18070 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18071 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18072 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18073 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18074 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18075 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18076 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18077 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18078 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18079 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18080 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18081 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18082 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18083 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18084 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18085 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18086 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18087 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18088 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18089 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18090 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18091 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18092 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18093 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18094 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18095 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18096 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18097 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18098 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18099 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18100 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18101 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18102 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18103 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18104 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18105 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18106 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18107 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18108 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18109 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18110 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18111 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18112 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18113 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18114 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18115 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18116 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18117 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18118 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18119 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18120 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18121 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18122 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18123 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18124 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18125 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18126 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18127 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18128 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18129 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18130 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18131 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18132 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18133 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18134 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18135 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18136 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18137 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18138 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18139 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18140 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18141 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18142 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18143 wine_fn_config_dll apphelp enable_apphelp
18144 wine_fn_config_test dlls/apphelp/tests apphelp_test
18145 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18146 wine_fn_config_dll atl enable_atl clean,implib
18147 wine_fn_config_test dlls/atl/tests atl_test
18148 wine_fn_config_dll atl100 enable_atl100 clean,implib
18149 wine_fn_config_test dlls/atl100/tests atl100_test
18150 wine_fn_config_dll atl110 enable_atl110 clean
18151 wine_fn_config_dll atl80 enable_atl80 clean,implib
18152 wine_fn_config_test dlls/atl80/tests atl80_test
18153 wine_fn_config_dll atl90 enable_atl90 clean
18154 wine_fn_config_dll authz enable_authz
18155 wine_fn_config_dll avicap32 enable_avicap32 implib
18156 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18157 wine_fn_config_test dlls/avifil32/tests avifil32_test
18158 wine_fn_config_dll avifile.dll16 enable_win16
18159 wine_fn_config_dll avrt enable_avrt implib
18160 wine_fn_config_dll bcrypt enable_bcrypt implib
18161 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18162 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18163 wine_fn_config_dll browseui enable_browseui clean
18164 wine_fn_config_test dlls/browseui/tests browseui_test
18165 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18166 wine_fn_config_dll cabinet enable_cabinet implib
18167 wine_fn_config_test dlls/cabinet/tests cabinet_test
18168 wine_fn_config_dll capi2032 enable_capi2032 implib
18169 wine_fn_config_dll cards enable_cards implib
18170 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18171 wine_fn_config_dll clusapi enable_clusapi implib
18172 wine_fn_config_dll combase enable_combase
18173 wine_fn_config_test dlls/combase/tests combase_test
18174 wine_fn_config_dll comcat enable_comcat
18175 wine_fn_config_test dlls/comcat/tests comcat_test
18176 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18177 wine_fn_config_test dlls/comctl32/tests comctl32_test
18178 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18179 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18180 wine_fn_config_dll comm.drv16 enable_win16
18181 wine_fn_config_dll commdlg.dll16 enable_win16
18182 wine_fn_config_dll compobj.dll16 enable_win16
18183 wine_fn_config_dll compstui enable_compstui implib
18184 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18185 wine_fn_config_dll concrt140 enable_concrt140
18186 wine_fn_config_dll connect enable_connect
18187 wine_fn_config_dll credui enable_credui clean,implib
18188 wine_fn_config_test dlls/credui/tests credui_test
18189 wine_fn_config_dll crtdll enable_crtdll
18190 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18191 wine_fn_config_test dlls/crypt32/tests crypt32_test
18192 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18193 wine_fn_config_dll cryptdll enable_cryptdll implib
18194 wine_fn_config_dll cryptext enable_cryptext
18195 wine_fn_config_dll cryptnet enable_cryptnet implib
18196 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18197 wine_fn_config_dll cryptui enable_cryptui clean,implib
18198 wine_fn_config_test dlls/cryptui/tests cryptui_test
18199 wine_fn_config_dll ctapi32 enable_ctapi32
18200 wine_fn_config_dll ctl3d.dll16 enable_win16
18201 wine_fn_config_dll ctl3d32 enable_ctl3d32
18202 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18203 wine_fn_config_dll d2d1 enable_d2d1 implib
18204 wine_fn_config_test dlls/d2d1/tests d2d1_test
18205 wine_fn_config_dll d3d10 enable_d3d10 implib
18206 wine_fn_config_test dlls/d3d10/tests d3d10_test
18207 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18208 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18209 wine_fn_config_dll d3d10core enable_d3d10core implib
18210 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18211 wine_fn_config_dll d3d11 enable_d3d11 implib
18212 wine_fn_config_test dlls/d3d11/tests d3d11_test
18213 wine_fn_config_dll d3d8 enable_d3d8 implib
18214 wine_fn_config_test dlls/d3d8/tests d3d8_test
18215 wine_fn_config_dll d3d9 enable_d3d9 implib
18216 wine_fn_config_test dlls/d3d9/tests d3d9_test
18217 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18218 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18219 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18220 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18221 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18222 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18223 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18224 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18225 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18226 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18227 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18228 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18229 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18230 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18231 wine_fn_config_dll d3dim enable_d3dim
18232 wine_fn_config_dll d3drm enable_d3drm implib
18233 wine_fn_config_test dlls/d3drm/tests d3drm_test
18234 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18235 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18236 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18237 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18238 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18239 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18240 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18241 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18242 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18243 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18244 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18245 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18246 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18247 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18248 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18249 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18250 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18251 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18252 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18253 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18254 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18255 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18256 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18257 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18258 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18259 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18260 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18261 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18262 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18263 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18264 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18265 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18266 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18267 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18268 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18269 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18270 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18271 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18272 wine_fn_config_dll davclnt enable_davclnt
18273 wine_fn_config_dll dbgeng enable_dbgeng implib
18274 wine_fn_config_dll dbghelp enable_dbghelp implib
18275 wine_fn_config_dll dciman32 enable_dciman32 implib
18276 wine_fn_config_dll ddeml.dll16 enable_win16
18277 wine_fn_config_dll ddraw enable_ddraw clean,implib
18278 wine_fn_config_test dlls/ddraw/tests ddraw_test
18279 wine_fn_config_dll ddrawex enable_ddrawex clean
18280 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18281 wine_fn_config_dll devenum enable_devenum clean
18282 wine_fn_config_test dlls/devenum/tests devenum_test
18283 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18284 wine_fn_config_dll difxapi enable_difxapi
18285 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18286 wine_fn_config_test dlls/dinput/tests dinput_test
18287 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18288 wine_fn_config_test dlls/dinput8/tests dinput8_test
18289 wine_fn_config_dll dispdib.dll16 enable_win16
18290 wine_fn_config_dll dispex enable_dispex clean
18291 wine_fn_config_test dlls/dispex/tests dispex_test
18292 wine_fn_config_dll display.drv16 enable_win16
18293 wine_fn_config_dll dmband enable_dmband clean
18294 wine_fn_config_test dlls/dmband/tests dmband_test
18295 wine_fn_config_dll dmcompos enable_dmcompos clean
18296 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18297 wine_fn_config_dll dmime enable_dmime clean
18298 wine_fn_config_test dlls/dmime/tests dmime_test
18299 wine_fn_config_dll dmloader enable_dmloader clean
18300 wine_fn_config_test dlls/dmloader/tests dmloader_test
18301 wine_fn_config_dll dmscript enable_dmscript clean
18302 wine_fn_config_test dlls/dmscript/tests dmscript_test
18303 wine_fn_config_dll dmstyle enable_dmstyle clean
18304 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18305 wine_fn_config_dll dmsynth enable_dmsynth clean
18306 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18307 wine_fn_config_dll dmusic enable_dmusic clean
18308 wine_fn_config_test dlls/dmusic/tests dmusic_test
18309 wine_fn_config_dll dmusic32 enable_dmusic32
18310 wine_fn_config_dll dnsapi enable_dnsapi implib
18311 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18312 wine_fn_config_dll dplay enable_dplay
18313 wine_fn_config_dll dplayx enable_dplayx clean,implib
18314 wine_fn_config_test dlls/dplayx/tests dplayx_test
18315 wine_fn_config_dll dpnaddr enable_dpnaddr
18316 wine_fn_config_dll dpnet enable_dpnet clean,implib
18317 wine_fn_config_test dlls/dpnet/tests dpnet_test
18318 wine_fn_config_dll dpnhpast enable_dpnhpast
18319 wine_fn_config_dll dpnlobby enable_dpnlobby
18320 wine_fn_config_dll dpvoice enable_dpvoice clean
18321 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18322 wine_fn_config_dll dpwsockx enable_dpwsockx
18323 wine_fn_config_dll drmclien enable_drmclien
18324 wine_fn_config_dll dsound enable_dsound clean,implib
18325 wine_fn_config_test dlls/dsound/tests dsound_test
18326 wine_fn_config_dll dsquery enable_dsquery clean
18327 wine_fn_config_dll dssenh enable_dssenh
18328 wine_fn_config_test dlls/dssenh/tests dssenh_test
18329 wine_fn_config_dll dswave enable_dswave clean
18330 wine_fn_config_test dlls/dswave/tests dswave_test
18331 wine_fn_config_dll dwmapi enable_dwmapi implib
18332 wine_fn_config_dll dwrite enable_dwrite implib
18333 wine_fn_config_test dlls/dwrite/tests dwrite_test
18334 wine_fn_config_dll dx8vb enable_dx8vb
18335 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18336 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18337 wine_fn_config_lib dxerr8
18338 wine_fn_config_lib dxerr9
18339 wine_fn_config_dll dxgi enable_dxgi implib
18340 wine_fn_config_test dlls/dxgi/tests dxgi_test
18341 wine_fn_config_lib dxguid
18342 wine_fn_config_dll dxva2 enable_dxva2
18343 wine_fn_config_dll esent enable_esent
18344 wine_fn_config_dll evr enable_evr clean
18345 wine_fn_config_test dlls/evr/tests evr_test
18346 wine_fn_config_dll explorerframe enable_explorerframe clean
18347 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18348 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18349 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18350 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18351 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18352 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18353 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18354 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18355 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18356 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18357 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18358 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18359 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18360 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18361 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18362 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18363 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18364 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18365 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18366 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
18367 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18368 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18369 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18370 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18371 wine_fn_config_dll faultrep enable_faultrep implib
18372 wine_fn_config_test dlls/faultrep/tests faultrep_test
18373 wine_fn_config_dll fltlib enable_fltlib
18374 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18375 wine_fn_config_dll fntcache enable_fntcache
18376 wine_fn_config_dll fontsub enable_fontsub
18377 wine_fn_config_dll fusion enable_fusion
18378 wine_fn_config_test dlls/fusion/tests fusion_test
18379 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18380 wine_fn_config_dll gameux enable_gameux clean
18381 wine_fn_config_test dlls/gameux/tests gameux_test
18382 wine_fn_config_dll gdi.exe16 enable_win16
18383 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18384 wine_fn_config_test dlls/gdi32/tests gdi32_test
18385 wine_fn_config_dll gdiplus enable_gdiplus implib
18386 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18387 wine_fn_config_dll glu32 enable_glu32 implib
18388 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18389 wine_fn_config_dll gpkcsp enable_gpkcsp
18390 wine_fn_config_dll hal enable_hal
18391 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18392 wine_fn_config_dll hid enable_hid implib
18393 wine_fn_config_test dlls/hid/tests hid_test
18394 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18395 wine_fn_config_dll hlink enable_hlink clean,implib
18396 wine_fn_config_test dlls/hlink/tests hlink_test
18397 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18398 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18399 wine_fn_config_dll httpapi enable_httpapi
18400 wine_fn_config_dll iccvid enable_iccvid clean
18401 wine_fn_config_dll icmp enable_icmp
18402 wine_fn_config_dll ieframe enable_ieframe clean,implib
18403 wine_fn_config_test dlls/ieframe/tests ieframe_test
18404 wine_fn_config_dll ieproxy enable_ieproxy clean
18405 wine_fn_config_dll ifsmgr.vxd enable_win16
18406 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18407 wine_fn_config_dll imagehlp enable_imagehlp implib
18408 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18409 wine_fn_config_dll imm.dll16 enable_win16
18410 wine_fn_config_dll imm32 enable_imm32 implib
18411 wine_fn_config_test dlls/imm32/tests imm32_test
18412 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18413 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18414 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18415 wine_fn_config_dll inetmib1 enable_inetmib1
18416 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18417 wine_fn_config_dll infosoft enable_infosoft clean
18418 wine_fn_config_test dlls/infosoft/tests infosoft_test
18419 wine_fn_config_dll initpki enable_initpki
18420 wine_fn_config_dll inkobj enable_inkobj
18421 wine_fn_config_dll inseng enable_inseng clean
18422 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18423 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18424 wine_fn_config_dll iprop enable_iprop
18425 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18426 wine_fn_config_dll itircl enable_itircl
18427 wine_fn_config_dll itss enable_itss clean
18428 wine_fn_config_test dlls/itss/tests itss_test
18429 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18430 wine_fn_config_dll jscript enable_jscript clean
18431 wine_fn_config_test dlls/jscript/tests jscript_test
18432 wine_fn_config_dll jsproxy enable_jsproxy implib
18433 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18434 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18435 wine_fn_config_test dlls/kernel32/tests kernel32_test
18436 wine_fn_config_dll kernelbase enable_kernelbase
18437 wine_fn_config_dll keyboard.drv16 enable_win16
18438 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18439 wine_fn_config_dll ksuser enable_ksuser
18440 wine_fn_config_dll ktmw32 enable_ktmw32
18441 wine_fn_config_dll loadperf enable_loadperf implib
18442 wine_fn_config_dll localspl enable_localspl clean
18443 wine_fn_config_test dlls/localspl/tests localspl_test
18444 wine_fn_config_dll localui enable_localui clean
18445 wine_fn_config_test dlls/localui/tests localui_test
18446 wine_fn_config_dll lz32 enable_lz32 implib
18447 wine_fn_config_test dlls/lz32/tests lz32_test
18448 wine_fn_config_dll lzexpand.dll16 enable_win16
18449 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18450 wine_fn_config_test dlls/mapi32/tests mapi32_test
18451 wine_fn_config_dll mapistub enable_mapistub
18452 wine_fn_config_dll mciavi32 enable_mciavi32
18453 wine_fn_config_dll mcicda enable_mcicda
18454 wine_fn_config_dll mciqtz32 enable_mciqtz32
18455 wine_fn_config_dll mciseq enable_mciseq
18456 wine_fn_config_dll mciwave enable_mciwave
18457 wine_fn_config_dll mf enable_mf implib
18458 wine_fn_config_test dlls/mf/tests mf_test
18459 wine_fn_config_dll mf3216 enable_mf3216
18460 wine_fn_config_dll mfplat enable_mfplat implib
18461 wine_fn_config_test dlls/mfplat/tests mfplat_test
18462 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18463 wine_fn_config_lib mfuuid
18464 wine_fn_config_dll mgmtapi enable_mgmtapi
18465 wine_fn_config_dll midimap enable_midimap
18466 wine_fn_config_dll mlang enable_mlang clean,implib
18467 wine_fn_config_test dlls/mlang/tests mlang_test
18468 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18469 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18470 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18471 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18472 wine_fn_config_dll mmdevldr.vxd enable_win16
18473 wine_fn_config_dll mmsystem.dll16 enable_win16
18474 wine_fn_config_dll monodebg.vxd enable_win16
18475 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18476 wine_fn_config_dll mouse.drv16 enable_win16
18477 wine_fn_config_dll mpr enable_mpr clean,implib
18478 wine_fn_config_test dlls/mpr/tests mpr_test
18479 wine_fn_config_dll mprapi enable_mprapi implib
18480 wine_fn_config_dll msacm.dll16 enable_win16
18481 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18482 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18483 wine_fn_config_test dlls/msacm32/tests msacm32_test
18484 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18485 wine_fn_config_dll msasn1 enable_msasn1 implib
18486 wine_fn_config_dll mscat32 enable_mscat32
18487 wine_fn_config_dll mscms enable_mscms implib
18488 wine_fn_config_test dlls/mscms/tests mscms_test
18489 wine_fn_config_dll mscoree enable_mscoree clean
18490 wine_fn_config_test dlls/mscoree/tests mscoree_test
18491 wine_fn_config_dll msctf enable_msctf clean
18492 wine_fn_config_test dlls/msctf/tests msctf_test
18493 wine_fn_config_dll msctfp enable_msctfp clean
18494 wine_fn_config_dll msdaps enable_msdaps clean
18495 wine_fn_config_dll msdelta enable_msdelta
18496 wine_fn_config_dll msdmo enable_msdmo implib
18497 wine_fn_config_test dlls/msdmo/tests msdmo_test
18498 wine_fn_config_dll msdrm enable_msdrm
18499 wine_fn_config_dll msftedit enable_msftedit
18500 wine_fn_config_dll msg711.acm enable_msg711_acm
18501 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18502 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18503 wine_fn_config_dll mshtml enable_mshtml clean,implib
18504 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18505 wine_fn_config_dll msi enable_msi clean,implib
18506 wine_fn_config_test dlls/msi/tests msi_test
18507 wine_fn_config_dll msident enable_msident clean
18508 wine_fn_config_dll msimg32 enable_msimg32 implib
18509 wine_fn_config_dll msimsg enable_msimsg
18510 wine_fn_config_dll msimtf enable_msimtf clean
18511 wine_fn_config_dll msisip enable_msisip
18512 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18513 wine_fn_config_dll msls31 enable_msls31
18514 wine_fn_config_dll msnet32 enable_msnet32
18515 wine_fn_config_dll mspatcha enable_mspatcha implib
18516 wine_fn_config_dll msports enable_msports
18517 wine_fn_config_dll msrle32 enable_msrle32 clean
18518 wine_fn_config_test dlls/msrle32/tests msrle32_test
18519 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18520 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18521 wine_fn_config_dll mssign32 enable_mssign32
18522 wine_fn_config_dll mssip32 enable_mssip32
18523 wine_fn_config_dll mstask enable_mstask clean
18524 wine_fn_config_test dlls/mstask/tests mstask_test
18525 wine_fn_config_dll msvcirt enable_msvcirt
18526 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18527 wine_fn_config_dll msvcm80 enable_msvcm80
18528 wine_fn_config_dll msvcm90 enable_msvcm90
18529 wine_fn_config_dll msvcp100 enable_msvcp100
18530 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18531 wine_fn_config_dll msvcp110 enable_msvcp110
18532 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18533 wine_fn_config_dll msvcp120 enable_msvcp120
18534 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18535 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18536 wine_fn_config_dll msvcp140 enable_msvcp140
18537 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18538 wine_fn_config_dll msvcp60 enable_msvcp60
18539 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18540 wine_fn_config_dll msvcp70 enable_msvcp70
18541 wine_fn_config_dll msvcp71 enable_msvcp71
18542 wine_fn_config_dll msvcp80 enable_msvcp80
18543 wine_fn_config_dll msvcp90 enable_msvcp90
18544 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18545 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18546 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18547 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18548 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18549 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18550 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18551 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18552 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18553 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18554 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18555 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18556 wine_fn_config_dll msvcrt enable_msvcrt implib
18557 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18558 wine_fn_config_dll msvcrt20 enable_msvcrt20
18559 wine_fn_config_dll msvcrt40 enable_msvcrt40
18560 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18561 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18562 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18563 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18564 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18565 wine_fn_config_dll msvideo.dll16 enable_win16
18566 wine_fn_config_dll mswsock enable_mswsock implib
18567 wine_fn_config_dll msxml enable_msxml clean
18568 wine_fn_config_dll msxml2 enable_msxml2 clean
18569 wine_fn_config_dll msxml3 enable_msxml3 clean
18570 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18571 wine_fn_config_dll msxml4 enable_msxml4 clean
18572 wine_fn_config_dll msxml6 enable_msxml6 clean
18573 wine_fn_config_dll mtxdm enable_mtxdm
18574 wine_fn_config_dll ncrypt enable_ncrypt
18575 wine_fn_config_dll nddeapi enable_nddeapi implib
18576 wine_fn_config_dll ndis.sys enable_ndis_sys
18577 wine_fn_config_dll netapi32 enable_netapi32 implib
18578 wine_fn_config_test dlls/netapi32/tests netapi32_test
18579 wine_fn_config_dll netcfgx enable_netcfgx clean
18580 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18581 wine_fn_config_dll netprofm enable_netprofm clean
18582 wine_fn_config_test dlls/netprofm/tests netprofm_test
18583 wine_fn_config_dll newdev enable_newdev implib
18584 wine_fn_config_dll normaliz enable_normaliz implib
18585 wine_fn_config_dll npmshtml enable_npmshtml
18586 wine_fn_config_dll npptools enable_npptools
18587 wine_fn_config_dll ntdll enable_ntdll implib
18588 wine_fn_config_test dlls/ntdll/tests ntdll_test
18589 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18590 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18591 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18592 wine_fn_config_dll ntprint enable_ntprint
18593 wine_fn_config_test dlls/ntprint/tests ntprint_test
18594 wine_fn_config_dll objsel enable_objsel clean
18595 wine_fn_config_dll odbc32 enable_odbc32 implib
18596 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18597 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18598 wine_fn_config_dll odbccu32 enable_odbccu32
18599 wine_fn_config_dll ole2.dll16 enable_win16
18600 wine_fn_config_dll ole2conv.dll16 enable_win16
18601 wine_fn_config_dll ole2disp.dll16 enable_win16
18602 wine_fn_config_dll ole2nls.dll16 enable_win16
18603 wine_fn_config_dll ole2prox.dll16 enable_win16
18604 wine_fn_config_dll ole2thk.dll16 enable_win16
18605 wine_fn_config_dll ole32 enable_ole32 clean,implib
18606 wine_fn_config_test dlls/ole32/tests ole32_test
18607 wine_fn_config_dll oleacc enable_oleacc clean,implib
18608 wine_fn_config_test dlls/oleacc/tests oleacc_test
18609 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18610 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18611 wine_fn_config_dll olecli.dll16 enable_win16
18612 wine_fn_config_dll olecli32 enable_olecli32 implib
18613 wine_fn_config_dll oledb32 enable_oledb32 clean
18614 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18615 wine_fn_config_dll oledlg enable_oledlg clean,implib
18616 wine_fn_config_test dlls/oledlg/tests oledlg_test
18617 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18618 wine_fn_config_dll olesvr.dll16 enable_win16
18619 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18620 wine_fn_config_dll olethk32 enable_olethk32
18621 wine_fn_config_dll openal32 enable_openal32
18622 wine_fn_config_dll opencl enable_opencl
18623 wine_fn_config_dll opengl32 enable_opengl32 implib
18624 wine_fn_config_test dlls/opengl32/tests opengl32_test
18625 wine_fn_config_dll packager enable_packager clean
18626 wine_fn_config_test dlls/packager/tests packager_test
18627 wine_fn_config_dll pdh enable_pdh implib
18628 wine_fn_config_test dlls/pdh/tests pdh_test
18629 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18630 wine_fn_config_dll pidgen enable_pidgen
18631 wine_fn_config_dll powrprof enable_powrprof implib
18632 wine_fn_config_dll printui enable_printui
18633 wine_fn_config_dll prntvpt enable_prntvpt
18634 wine_fn_config_dll propsys enable_propsys clean,implib
18635 wine_fn_config_test dlls/propsys/tests propsys_test
18636 wine_fn_config_dll psapi enable_psapi implib
18637 wine_fn_config_test dlls/psapi/tests psapi_test
18638 wine_fn_config_dll pstorec enable_pstorec clean
18639 wine_fn_config_test dlls/pstorec/tests pstorec_test
18640 wine_fn_config_dll qcap enable_qcap
18641 wine_fn_config_test dlls/qcap/tests qcap_test
18642 wine_fn_config_dll qedit enable_qedit clean
18643 wine_fn_config_test dlls/qedit/tests qedit_test
18644 wine_fn_config_dll qmgr enable_qmgr clean
18645 wine_fn_config_test dlls/qmgr/tests qmgr_test
18646 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18647 wine_fn_config_dll quartz enable_quartz clean,implib
18648 wine_fn_config_test dlls/quartz/tests quartz_test clean
18649 wine_fn_config_dll query enable_query
18650 wine_fn_config_dll rasapi16.dll16 enable_win16
18651 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18652 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18653 wine_fn_config_dll rasdlg enable_rasdlg implib
18654 wine_fn_config_dll regapi enable_regapi
18655 wine_fn_config_dll resutils enable_resutils implib
18656 wine_fn_config_dll riched20 enable_riched20 clean,implib
18657 wine_fn_config_test dlls/riched20/tests riched20_test
18658 wine_fn_config_dll riched32 enable_riched32
18659 wine_fn_config_test dlls/riched32/tests riched32_test
18660 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18661 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18662 wine_fn_config_dll rsabase enable_rsabase
18663 wine_fn_config_dll rsaenh enable_rsaenh implib
18664 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18665 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18666 wine_fn_config_dll rtutils enable_rtutils implib
18667 wine_fn_config_dll samlib enable_samlib
18668 wine_fn_config_dll sane.ds enable_sane_ds clean
18669 wine_fn_config_dll sapi enable_sapi clean
18670 wine_fn_config_test dlls/sapi/tests sapi_test
18671 wine_fn_config_dll scarddlg enable_scarddlg
18672 wine_fn_config_dll sccbase enable_sccbase
18673 wine_fn_config_dll schannel enable_schannel
18674 wine_fn_config_test dlls/schannel/tests schannel_test
18675 wine_fn_config_dll schedsvc enable_schedsvc clean
18676 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18677 wine_fn_config_dll scrobj enable_scrobj clean
18678 wine_fn_config_dll scrrun enable_scrrun clean
18679 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18680 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18681 wine_fn_config_dll secur32 enable_secur32 implib
18682 wine_fn_config_test dlls/secur32/tests secur32_test
18683 wine_fn_config_dll security enable_security
18684 wine_fn_config_dll sensapi enable_sensapi implib
18685 wine_fn_config_dll serialui enable_serialui clean
18686 wine_fn_config_test dlls/serialui/tests serialui_test
18687 wine_fn_config_dll setupapi enable_setupapi clean,implib
18688 wine_fn_config_test dlls/setupapi/tests setupapi_test
18689 wine_fn_config_dll setupx.dll16 enable_win16
18690 wine_fn_config_dll sfc enable_sfc implib
18691 wine_fn_config_dll sfc_os enable_sfc_os implib
18692 wine_fn_config_dll shdoclc enable_shdoclc clean
18693 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18694 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18695 wine_fn_config_dll shell.dll16 enable_win16
18696 wine_fn_config_dll shell32 enable_shell32 clean,implib
18697 wine_fn_config_test dlls/shell32/tests shell32_test
18698 wine_fn_config_dll shfolder enable_shfolder implib
18699 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18700 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18701 wine_fn_config_dll slbcsp enable_slbcsp
18702 wine_fn_config_dll slc enable_slc implib
18703 wine_fn_config_test dlls/slc/tests slc_test
18704 wine_fn_config_dll snmpapi enable_snmpapi implib
18705 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18706 wine_fn_config_dll softpub enable_softpub
18707 wine_fn_config_dll sound.drv16 enable_win16
18708 wine_fn_config_dll spoolss enable_spoolss implib
18709 wine_fn_config_test dlls/spoolss/tests spoolss_test
18710 wine_fn_config_dll sspicli enable_sspicli
18711 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18712 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18713 wine_fn_config_dll sti enable_sti clean,implib
18714 wine_fn_config_test dlls/sti/tests sti_test
18715 wine_fn_config_dll storage.dll16 enable_win16
18716 wine_fn_config_dll stress.dll16 enable_win16
18717 wine_fn_config_lib strmbase
18718 wine_fn_config_lib strmiids
18719 wine_fn_config_dll svrapi enable_svrapi
18720 wine_fn_config_dll sxs enable_sxs implib
18721 wine_fn_config_test dlls/sxs/tests sxs_test
18722 wine_fn_config_dll system.drv16 enable_win16
18723 wine_fn_config_dll t2embed enable_t2embed implib
18724 wine_fn_config_test dlls/t2embed/tests t2embed_test
18725 wine_fn_config_dll tapi32 enable_tapi32 implib
18726 wine_fn_config_dll taskschd enable_taskschd clean
18727 wine_fn_config_test dlls/taskschd/tests taskschd_test
18728 wine_fn_config_dll tdh enable_tdh
18729 wine_fn_config_dll tdi.sys enable_tdi_sys
18730 wine_fn_config_dll toolhelp.dll16 enable_win16
18731 wine_fn_config_dll traffic enable_traffic
18732 wine_fn_config_dll twain.dll16 enable_win16
18733 wine_fn_config_dll twain_32 enable_twain_32
18734 wine_fn_config_test dlls/twain_32/tests twain_32_test
18735 wine_fn_config_dll typelib.dll16 enable_win16
18736 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18737 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18738 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18739 wine_fn_config_dll uiribbon enable_uiribbon clean
18740 wine_fn_config_dll unicows enable_unicows implib
18741 wine_fn_config_dll updspapi enable_updspapi
18742 wine_fn_config_dll url enable_url implib
18743 wine_fn_config_dll urlmon enable_urlmon clean,implib
18744 wine_fn_config_test dlls/urlmon/tests urlmon_test
18745 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18746 wine_fn_config_dll user.exe16 enable_win16
18747 wine_fn_config_dll user32 enable_user32 clean,implib
18748 wine_fn_config_test dlls/user32/tests user32_test
18749 wine_fn_config_dll userenv enable_userenv implib
18750 wine_fn_config_test dlls/userenv/tests userenv_test
18751 wine_fn_config_dll usp10 enable_usp10 implib
18752 wine_fn_config_test dlls/usp10/tests usp10_test
18753 wine_fn_config_lib uuid
18754 wine_fn_config_dll uxtheme enable_uxtheme implib
18755 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18756 wine_fn_config_dll vbscript enable_vbscript clean
18757 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18758 wine_fn_config_dll vcomp enable_vcomp
18759 wine_fn_config_test dlls/vcomp/tests vcomp_test
18760 wine_fn_config_dll vcomp100 enable_vcomp100
18761 wine_fn_config_dll vcomp110 enable_vcomp110
18762 wine_fn_config_dll vcomp120 enable_vcomp120
18763 wine_fn_config_dll vcomp140 enable_vcomp140
18764 wine_fn_config_dll vcomp90 enable_vcomp90
18765 wine_fn_config_dll vcruntime140 enable_vcruntime140
18766 wine_fn_config_dll vdhcp.vxd enable_win16
18767 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18768 wine_fn_config_dll ver.dll16 enable_win16
18769 wine_fn_config_dll version enable_version implib
18770 wine_fn_config_test dlls/version/tests version_test
18771 wine_fn_config_dll virtdisk enable_virtdisk
18772 wine_fn_config_dll vmm.vxd enable_win16
18773 wine_fn_config_dll vnbt.vxd enable_win16
18774 wine_fn_config_dll vnetbios.vxd enable_win16
18775 wine_fn_config_dll vssapi enable_vssapi
18776 wine_fn_config_dll vtdapi.vxd enable_win16
18777 wine_fn_config_dll vwin32.vxd enable_win16
18778 wine_fn_config_dll w32skrnl enable_win16
18779 wine_fn_config_dll w32sys.dll16 enable_win16
18780 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18781 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18782 wine_fn_config_dll wbemprox enable_wbemprox clean
18783 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18784 wine_fn_config_dll webservices enable_webservices implib
18785 wine_fn_config_test dlls/webservices/tests webservices_test
18786 wine_fn_config_dll wer enable_wer implib
18787 wine_fn_config_test dlls/wer/tests wer_test
18788 wine_fn_config_dll wevtapi enable_wevtapi
18789 wine_fn_config_dll wiaservc enable_wiaservc clean
18790 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18791 wine_fn_config_dll wimgapi enable_wimgapi
18792 wine_fn_config_dll win32s16.dll16 enable_win16
18793 wine_fn_config_dll win87em.dll16 enable_win16
18794 wine_fn_config_dll winaspi.dll16 enable_win16
18795 wine_fn_config_dll windebug.dll16 enable_win16
18796 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18797 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18798 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18799 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18800 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18801 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18802 wine_fn_config_dll winebus.sys enable_winebus_sys
18803 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18804 wine_fn_config_lib winecrt0
18805 wine_fn_config_dll wined3d enable_wined3d implib
18806 wine_fn_config_dll winegstreamer enable_winegstreamer
18807 wine_fn_config_dll winehid.sys enable_winehid_sys
18808 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18809 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18810 wine_fn_config_dll winemapi enable_winemapi
18811 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18812 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18813 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18814 wine_fn_config_dll wineps16.drv16 enable_win16
18815 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18816 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18817 wine_fn_config_dll winex11.drv enable_winex11_drv
18818 wine_fn_config_dll wing.dll16 enable_win16
18819 wine_fn_config_dll wing32 enable_wing32
18820 wine_fn_config_dll winhttp enable_winhttp clean,implib
18821 wine_fn_config_test dlls/winhttp/tests winhttp_test
18822 wine_fn_config_dll wininet enable_wininet clean,implib
18823 wine_fn_config_test dlls/wininet/tests wininet_test
18824 wine_fn_config_dll winmm enable_winmm clean,implib
18825 wine_fn_config_test dlls/winmm/tests winmm_test
18826 wine_fn_config_dll winnls.dll16 enable_win16
18827 wine_fn_config_dll winnls32 enable_winnls32 implib
18828 wine_fn_config_dll winscard enable_winscard implib
18829 wine_fn_config_dll winsock.dll16 enable_win16
18830 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18831 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18832 wine_fn_config_dll winsta enable_winsta
18833 wine_fn_config_dll wintab.dll16 enable_win16
18834 wine_fn_config_dll wintab32 enable_wintab32 implib
18835 wine_fn_config_test dlls/wintab32/tests wintab32_test
18836 wine_fn_config_dll wintrust enable_wintrust implib
18837 wine_fn_config_test dlls/wintrust/tests wintrust_test
18838 wine_fn_config_dll winusb enable_winusb
18839 wine_fn_config_dll wlanapi enable_wlanapi implib
18840 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18841 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18842 wine_fn_config_test dlls/wldap32/tests wldap32_test
18843 wine_fn_config_dll wmasf enable_wmasf
18844 wine_fn_config_dll wmi enable_wmi
18845 wine_fn_config_dll wmiutils enable_wmiutils clean
18846 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18847 wine_fn_config_dll wmp enable_wmp clean
18848 wine_fn_config_test dlls/wmp/tests wmp_test
18849 wine_fn_config_dll wmphoto enable_wmphoto clean
18850 wine_fn_config_dll wmvcore enable_wmvcore implib
18851 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18852 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18853 wine_fn_config_dll wow32 enable_win16 implib
18854 wine_fn_config_dll wpc enable_wpc clean
18855 wine_fn_config_test dlls/wpc/tests wpc_test
18856 wine_fn_config_dll wpcap enable_wpcap
18857 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18858 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18859 wine_fn_config_dll wsdapi enable_wsdapi implib
18860 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18861 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18862 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18863 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18864 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18865 wine_fn_config_dll wsock32 enable_wsock32 implib
18866 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18867 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18868 wine_fn_config_dll wuapi enable_wuapi clean
18869 wine_fn_config_dll wuaueng enable_wuaueng
18870 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18871 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18872 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18873 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18874 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18875 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18876 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18877 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18878 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18879 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18880 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18881 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18882 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18883 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18884 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18885 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18886 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18887 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18888 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18889 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18890 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18891 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18892 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18893 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18894 wine_fn_config_dll xinput1_1 enable_xinput1_1
18895 wine_fn_config_dll xinput1_2 enable_xinput1_2
18896 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18897 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18898 wine_fn_config_dll xinput1_4 enable_xinput1_4
18899 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18900 wine_fn_config_dll xmllite enable_xmllite implib
18901 wine_fn_config_test dlls/xmllite/tests xmllite_test
18902 wine_fn_config_dll xolehlp enable_xolehlp
18903 wine_fn_config_dll xpsprint enable_xpsprint
18904 wine_fn_config_dll xpssvcs enable_xpssvcs
18905 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18906 wine_fn_config_makefile include enable_include clean,install-dev
18907 wine_fn_config_makefile libs/port enable_libs_port
18908 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18909 wine_fn_config_makefile libs/wpp enable_libs_wpp
18910 wine_fn_config_makefile loader enable_loader clean,install-lib
18911 wine_fn_config_makefile po enable_po clean
18912 wine_fn_config_program arp enable_arp install
18913 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18914 wine_fn_config_program attrib enable_attrib clean,install
18915 wine_fn_config_program cabarc enable_cabarc install
18916 wine_fn_config_program cacls enable_cacls install
18917 wine_fn_config_program clock enable_clock clean,install
18918 wine_fn_config_program cmd enable_cmd clean,install
18919 wine_fn_config_test programs/cmd/tests cmd.exe_test
18920 wine_fn_config_program conhost enable_conhost install
18921 wine_fn_config_program control enable_control install
18922 wine_fn_config_program cscript enable_cscript clean,install
18923 wine_fn_config_program dpnsvr enable_dpnsvr install
18924 wine_fn_config_program dxdiag enable_dxdiag clean,install
18925 wine_fn_config_program eject enable_eject install
18926 wine_fn_config_program expand enable_expand install
18927 wine_fn_config_program explorer enable_explorer clean,install
18928 wine_fn_config_program extrac32 enable_extrac32 install
18929 wine_fn_config_program findstr enable_findstr install
18930 wine_fn_config_program fsutil enable_fsutil install
18931 wine_fn_config_program hh enable_hh install
18932 wine_fn_config_program hostname enable_hostname clean,install
18933 wine_fn_config_program icacls enable_icacls install
18934 wine_fn_config_program icinfo enable_icinfo install
18935 wine_fn_config_program iexplore enable_iexplore install
18936 wine_fn_config_program ipconfig enable_ipconfig clean,install
18937 wine_fn_config_program lodctr enable_lodctr install
18938 wine_fn_config_program mofcomp enable_mofcomp install
18939 wine_fn_config_program mshta enable_mshta install
18940 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18941 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18942 wine_fn_config_program net enable_net clean,install
18943 wine_fn_config_program netsh enable_netsh install
18944 wine_fn_config_program netstat enable_netstat clean,install
18945 wine_fn_config_program ngen enable_ngen install
18946 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18947 wine_fn_config_program oleview enable_oleview clean,install
18948 wine_fn_config_program ping enable_ping install
18949 wine_fn_config_program plugplay enable_plugplay install
18950 wine_fn_config_program powershell enable_powershell install
18951 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18952 wine_fn_config_program progman enable_progman clean,install
18953 wine_fn_config_program reg enable_reg clean,install
18954 wine_fn_config_test programs/reg/tests reg.exe_test
18955 wine_fn_config_program regasm enable_regasm install
18956 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18957 wine_fn_config_test programs/regedit/tests regedit.exe_test
18958 wine_fn_config_program regsvcs enable_regsvcs install
18959 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18960 wine_fn_config_program rpcss enable_rpcss clean,install
18961 wine_fn_config_program rundll.exe16 enable_win16 install
18962 wine_fn_config_program rundll32 enable_rundll32 install
18963 wine_fn_config_program sc enable_sc install
18964 wine_fn_config_program schtasks enable_schtasks install
18965 wine_fn_config_program sdbinst enable_sdbinst install
18966 wine_fn_config_program secedit enable_secedit install
18967 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18968 wine_fn_config_program services enable_services clean,install
18969 wine_fn_config_test programs/services/tests services.exe_test
18970 wine_fn_config_program shutdown enable_shutdown install
18971 wine_fn_config_program spoolsv enable_spoolsv install
18972 wine_fn_config_program start enable_start clean,install
18973 wine_fn_config_program subst enable_subst install
18974 wine_fn_config_program svchost enable_svchost install
18975 wine_fn_config_program systeminfo enable_systeminfo install
18976 wine_fn_config_program taskkill enable_taskkill clean,install
18977 wine_fn_config_program tasklist enable_tasklist install
18978 wine_fn_config_program taskmgr enable_taskmgr clean,install
18979 wine_fn_config_program termsv enable_termsv install
18980 wine_fn_config_program uninstaller enable_uninstaller clean,install
18981 wine_fn_config_program unlodctr enable_unlodctr install
18982 wine_fn_config_program view enable_view clean,install
18983 wine_fn_config_program wevtutil enable_wevtutil install
18984 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18985 wine_fn_config_program winebrowser enable_winebrowser install
18986 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18987 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18988 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18989 wine_fn_config_program winedevice enable_winedevice install
18990 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18991 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18992 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18993 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18994 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18995 wine_fn_config_program winetest enable_winetest clean
18996 wine_fn_config_program winevdm enable_win16 install
18997 wine_fn_config_program winhelp.exe16 enable_win16 install
18998 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18999 wine_fn_config_program winoldap.mod16 enable_win16 install
19000 wine_fn_config_program winver enable_winver install
19001 wine_fn_config_program wmic enable_wmic clean,install
19002 wine_fn_config_program wmplayer enable_wmplayer install
19003 wine_fn_config_program wordpad enable_wordpad clean,install
19004 wine_fn_config_program write enable_write clean,install
19005 wine_fn_config_program wscript enable_wscript clean,install
19006 wine_fn_config_test programs/wscript/tests wscript.exe_test
19007 wine_fn_config_program wusa enable_wusa install
19008 wine_fn_config_program xcopy enable_xcopy clean,install
19009 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19010 wine_fn_config_makefile server enable_server clean,install-lib
19011 wine_fn_config_tool tools clean
19012 wine_fn_config_tool tools/sfnt2fon clean
19013 wine_fn_config_tool tools/widl clean,install-dev
19014 wine_fn_config_tool tools/winebuild clean,install-dev
19015 wine_fn_config_tool tools/winedump clean,install-dev
19016 wine_fn_config_tool tools/winegcc clean,install-dev
19017 wine_fn_config_tool tools/winemaker clean,install-dev
19018 wine_fn_config_tool tools/wmc clean,install-dev
19019 wine_fn_config_tool tools/wrc clean,install-dev
19022 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19023 wine_fn_append_file CONFIGURE_TARGETS "tags"
19024 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19025 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19026 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19027 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19028 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19029 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19031 if test "x$enable_tools" != xno
19032 then
19033 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19034 ac_config_commands="$ac_config_commands tools/makedep"
19038 ac_config_commands="$ac_config_commands Makefile"
19041 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19045 if test "x$enable_maintainer_mode" = xyes
19046 then
19047 wine_fn_append_rule "configure: configure.ac aclocal.m4
19048 autoconf --warnings=all
19049 include/config.h.in: include/stamp-h.in
19050 include/stamp-h.in: configure.ac aclocal.m4
19051 autoheader --warnings=all
19052 @echo timestamp > \$@"
19055 if test "x$enable_tools" != xno
19056 then
19057 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19058 @./config.status tools/makedep
19059 Makefile: tools/makedep$ac_exeext"
19060 else
19061 wine_fn_append_rule "\$(MAKEDEP):
19062 @echo \"You need to run make in $TOOLSDIR first\" && false"
19065 if test -n "$with_wine64"
19066 then
19067 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19068 fonts server:
19069 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19070 $with_wine64/loader/wine:
19071 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19072 $with_wine64/loader/wine-preloader:
19073 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19074 clean::
19075 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19076 else
19077 WINELOADER_INSTALL="wine.inf"
19079 wine_fn_append_rule "install install-lib::
19080 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19081 uninstall::
19082 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19083 case $host_os in
19084 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19085 *) wine_fn_append_rule "install install-lib::
19086 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19087 uninstall::
19088 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19089 esac
19092 $as_echo " done" >&6
19093 cat >confcache <<\_ACEOF
19094 # This file is a shell script that caches the results of configure
19095 # tests run on this system so they can be shared between configure
19096 # scripts and configure runs, see configure's option --config-cache.
19097 # It is not useful on other systems. If it contains results you don't
19098 # want to keep, you may remove or edit it.
19100 # config.status only pays attention to the cache file if you give it
19101 # the --recheck option to rerun configure.
19103 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19104 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19105 # following values.
19107 _ACEOF
19109 # The following way of writing the cache mishandles newlines in values,
19110 # but we know of no workaround that is simple, portable, and efficient.
19111 # So, we kill variables containing newlines.
19112 # Ultrix sh set writes to stderr and can't be redirected directly,
19113 # and sets the high bit in the cache file unless we assign to the vars.
19115 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19116 eval ac_val=\$$ac_var
19117 case $ac_val in #(
19118 *${as_nl}*)
19119 case $ac_var in #(
19120 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19121 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19122 esac
19123 case $ac_var in #(
19124 _ | IFS | as_nl) ;; #(
19125 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19126 *) { eval $ac_var=; unset $ac_var;} ;;
19127 esac ;;
19128 esac
19129 done
19131 (set) 2>&1 |
19132 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19133 *${as_nl}ac_space=\ *)
19134 # `set' does not quote correctly, so add quotes: double-quote
19135 # substitution turns \\\\ into \\, and sed turns \\ into \.
19136 sed -n \
19137 "s/'/'\\\\''/g;
19138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19139 ;; #(
19141 # `set' quotes correctly as required by POSIX, so do not add quotes.
19142 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19144 esac |
19145 sort
19147 sed '
19148 /^ac_cv_env_/b end
19149 t clear
19150 :clear
19151 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19152 t end
19153 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19154 :end' >>confcache
19155 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19156 if test -w "$cache_file"; then
19157 if test "x$cache_file" != "x/dev/null"; then
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19159 $as_echo "$as_me: updating cache $cache_file" >&6;}
19160 if test ! -f "$cache_file" || test -h "$cache_file"; then
19161 cat confcache >"$cache_file"
19162 else
19163 case $cache_file in #(
19164 */* | ?:*)
19165 mv -f confcache "$cache_file"$$ &&
19166 mv -f "$cache_file"$$ "$cache_file" ;; #(
19168 mv -f confcache "$cache_file" ;;
19169 esac
19172 else
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19174 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19177 rm -f confcache
19179 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19180 # Let make expand exec_prefix.
19181 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19183 DEFS=-DHAVE_CONFIG_H
19185 ac_libobjs=
19186 ac_ltlibobjs=
19188 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19189 # 1. Remove the extension, and $U if already installed.
19190 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19191 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19192 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19193 # will be set to the directory where LIBOBJS objects are built.
19194 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19195 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19196 done
19197 LIBOBJS=$ac_libobjs
19199 LTLIBOBJS=$ac_ltlibobjs
19203 : "${CONFIG_STATUS=./config.status}"
19204 ac_write_fail=0
19205 ac_clean_files_save=$ac_clean_files
19206 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19207 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19208 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19209 as_write_fail=0
19210 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19211 #! $SHELL
19212 # Generated by $as_me.
19213 # Run this file to recreate the current configuration.
19214 # Compiler output produced by configure, useful for debugging
19215 # configure, is in config.log if it exists.
19217 debug=false
19218 ac_cs_recheck=false
19219 ac_cs_silent=false
19221 SHELL=\${CONFIG_SHELL-$SHELL}
19222 export SHELL
19223 _ASEOF
19224 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19225 ## -------------------- ##
19226 ## M4sh Initialization. ##
19227 ## -------------------- ##
19229 # Be more Bourne compatible
19230 DUALCASE=1; export DUALCASE # for MKS sh
19231 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19232 emulate sh
19233 NULLCMD=:
19234 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19235 # is contrary to our usage. Disable this feature.
19236 alias -g '${1+"$@"}'='"$@"'
19237 setopt NO_GLOB_SUBST
19238 else
19239 case `(set -o) 2>/dev/null` in #(
19240 *posix*) :
19241 set -o posix ;; #(
19242 *) :
19244 esac
19248 as_nl='
19250 export as_nl
19251 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19252 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19253 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19254 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19255 # Prefer a ksh shell builtin over an external printf program on Solaris,
19256 # but without wasting forks for bash or zsh.
19257 if test -z "$BASH_VERSION$ZSH_VERSION" \
19258 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19259 as_echo='print -r --'
19260 as_echo_n='print -rn --'
19261 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19262 as_echo='printf %s\n'
19263 as_echo_n='printf %s'
19264 else
19265 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19266 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19267 as_echo_n='/usr/ucb/echo -n'
19268 else
19269 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19270 as_echo_n_body='eval
19271 arg=$1;
19272 case $arg in #(
19273 *"$as_nl"*)
19274 expr "X$arg" : "X\\(.*\\)$as_nl";
19275 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19276 esac;
19277 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19279 export as_echo_n_body
19280 as_echo_n='sh -c $as_echo_n_body as_echo'
19282 export as_echo_body
19283 as_echo='sh -c $as_echo_body as_echo'
19286 # The user is always right.
19287 if test "${PATH_SEPARATOR+set}" != set; then
19288 PATH_SEPARATOR=:
19289 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19290 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19291 PATH_SEPARATOR=';'
19296 # IFS
19297 # We need space, tab and new line, in precisely that order. Quoting is
19298 # there to prevent editors from complaining about space-tab.
19299 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19300 # splitting by setting IFS to empty value.)
19301 IFS=" "" $as_nl"
19303 # Find who we are. Look in the path if we contain no directory separator.
19304 as_myself=
19305 case $0 in #((
19306 *[\\/]* ) as_myself=$0 ;;
19307 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19308 for as_dir in $PATH
19310 IFS=$as_save_IFS
19311 test -z "$as_dir" && as_dir=.
19312 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19313 done
19314 IFS=$as_save_IFS
19317 esac
19318 # We did not find ourselves, most probably we were run as `sh COMMAND'
19319 # in which case we are not to be found in the path.
19320 if test "x$as_myself" = x; then
19321 as_myself=$0
19323 if test ! -f "$as_myself"; then
19324 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19325 exit 1
19328 # Unset variables that we do not need and which cause bugs (e.g. in
19329 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19330 # suppresses any "Segmentation fault" message there. '((' could
19331 # trigger a bug in pdksh 5.2.14.
19332 for as_var in BASH_ENV ENV MAIL MAILPATH
19333 do eval test x\${$as_var+set} = xset \
19334 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19335 done
19336 PS1='$ '
19337 PS2='> '
19338 PS4='+ '
19340 # NLS nuisances.
19341 LC_ALL=C
19342 export LC_ALL
19343 LANGUAGE=C
19344 export LANGUAGE
19346 # CDPATH.
19347 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19350 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19351 # ----------------------------------------
19352 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19353 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19354 # script with STATUS, using 1 if that was 0.
19355 as_fn_error ()
19357 as_status=$1; test $as_status -eq 0 && as_status=1
19358 if test "$4"; then
19359 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19360 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19362 $as_echo "$as_me: error: $2" >&2
19363 as_fn_exit $as_status
19364 } # as_fn_error
19367 # as_fn_set_status STATUS
19368 # -----------------------
19369 # Set $? to STATUS, without forking.
19370 as_fn_set_status ()
19372 return $1
19373 } # as_fn_set_status
19375 # as_fn_exit STATUS
19376 # -----------------
19377 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19378 as_fn_exit ()
19380 set +e
19381 as_fn_set_status $1
19382 exit $1
19383 } # as_fn_exit
19385 # as_fn_unset VAR
19386 # ---------------
19387 # Portably unset VAR.
19388 as_fn_unset ()
19390 { eval $1=; unset $1;}
19392 as_unset=as_fn_unset
19393 # as_fn_append VAR VALUE
19394 # ----------------------
19395 # Append the text in VALUE to the end of the definition contained in VAR. Take
19396 # advantage of any shell optimizations that allow amortized linear growth over
19397 # repeated appends, instead of the typical quadratic growth present in naive
19398 # implementations.
19399 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19400 eval 'as_fn_append ()
19402 eval $1+=\$2
19404 else
19405 as_fn_append ()
19407 eval $1=\$$1\$2
19409 fi # as_fn_append
19411 # as_fn_arith ARG...
19412 # ------------------
19413 # Perform arithmetic evaluation on the ARGs, and store the result in the
19414 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19415 # must be portable across $(()) and expr.
19416 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19417 eval 'as_fn_arith ()
19419 as_val=$(( $* ))
19421 else
19422 as_fn_arith ()
19424 as_val=`expr "$@" || test $? -eq 1`
19426 fi # as_fn_arith
19429 if expr a : '\(a\)' >/dev/null 2>&1 &&
19430 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19431 as_expr=expr
19432 else
19433 as_expr=false
19436 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19437 as_basename=basename
19438 else
19439 as_basename=false
19442 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19443 as_dirname=dirname
19444 else
19445 as_dirname=false
19448 as_me=`$as_basename -- "$0" ||
19449 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19450 X"$0" : 'X\(//\)$' \| \
19451 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19452 $as_echo X/"$0" |
19453 sed '/^.*\/\([^/][^/]*\)\/*$/{
19454 s//\1/
19457 /^X\/\(\/\/\)$/{
19458 s//\1/
19461 /^X\/\(\/\).*/{
19462 s//\1/
19465 s/.*/./; q'`
19467 # Avoid depending upon Character Ranges.
19468 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19469 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19470 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19471 as_cr_digits='0123456789'
19472 as_cr_alnum=$as_cr_Letters$as_cr_digits
19474 ECHO_C= ECHO_N= ECHO_T=
19475 case `echo -n x` in #(((((
19476 -n*)
19477 case `echo 'xy\c'` in
19478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19479 xy) ECHO_C='\c';;
19480 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19481 ECHO_T=' ';;
19482 esac;;
19484 ECHO_N='-n';;
19485 esac
19487 rm -f conf$$ conf$$.exe conf$$.file
19488 if test -d conf$$.dir; then
19489 rm -f conf$$.dir/conf$$.file
19490 else
19491 rm -f conf$$.dir
19492 mkdir conf$$.dir 2>/dev/null
19494 if (echo >conf$$.file) 2>/dev/null; then
19495 if ln -s conf$$.file conf$$ 2>/dev/null; then
19496 as_ln_s='ln -s'
19497 # ... but there are two gotchas:
19498 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19499 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19500 # In both cases, we have to default to `cp -pR'.
19501 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19502 as_ln_s='cp -pR'
19503 elif ln conf$$.file conf$$ 2>/dev/null; then
19504 as_ln_s=ln
19505 else
19506 as_ln_s='cp -pR'
19508 else
19509 as_ln_s='cp -pR'
19511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19512 rmdir conf$$.dir 2>/dev/null
19515 # as_fn_mkdir_p
19516 # -------------
19517 # Create "$as_dir" as a directory, including parents if necessary.
19518 as_fn_mkdir_p ()
19521 case $as_dir in #(
19522 -*) as_dir=./$as_dir;;
19523 esac
19524 test -d "$as_dir" || eval $as_mkdir_p || {
19525 as_dirs=
19526 while :; do
19527 case $as_dir in #(
19528 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19529 *) as_qdir=$as_dir;;
19530 esac
19531 as_dirs="'$as_qdir' $as_dirs"
19532 as_dir=`$as_dirname -- "$as_dir" ||
19533 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19534 X"$as_dir" : 'X\(//\)[^/]' \| \
19535 X"$as_dir" : 'X\(//\)$' \| \
19536 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19537 $as_echo X"$as_dir" |
19538 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19539 s//\1/
19542 /^X\(\/\/\)[^/].*/{
19543 s//\1/
19546 /^X\(\/\/\)$/{
19547 s//\1/
19550 /^X\(\/\).*/{
19551 s//\1/
19554 s/.*/./; q'`
19555 test -d "$as_dir" && break
19556 done
19557 test -z "$as_dirs" || eval "mkdir $as_dirs"
19558 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19561 } # as_fn_mkdir_p
19562 if mkdir -p . 2>/dev/null; then
19563 as_mkdir_p='mkdir -p "$as_dir"'
19564 else
19565 test -d ./-p && rmdir ./-p
19566 as_mkdir_p=false
19570 # as_fn_executable_p FILE
19571 # -----------------------
19572 # Test if FILE is an executable regular file.
19573 as_fn_executable_p ()
19575 test -f "$1" && test -x "$1"
19576 } # as_fn_executable_p
19577 as_test_x='test -x'
19578 as_executable_p=as_fn_executable_p
19580 # Sed expression to map a string onto a valid CPP name.
19581 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19583 # Sed expression to map a string onto a valid variable name.
19584 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19587 exec 6>&1
19588 ## ----------------------------------- ##
19589 ## Main body of $CONFIG_STATUS script. ##
19590 ## ----------------------------------- ##
19591 _ASEOF
19592 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19595 # Save the log message, to keep $0 and so on meaningful, and to
19596 # report actual input values of CONFIG_FILES etc. instead of their
19597 # values after options handling.
19598 ac_log="
19599 This file was extended by Wine $as_me 2.18, which was
19600 generated by GNU Autoconf 2.69. Invocation command line was
19602 CONFIG_FILES = $CONFIG_FILES
19603 CONFIG_HEADERS = $CONFIG_HEADERS
19604 CONFIG_LINKS = $CONFIG_LINKS
19605 CONFIG_COMMANDS = $CONFIG_COMMANDS
19606 $ $0 $@
19608 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19611 _ACEOF
19613 case $ac_config_files in *"
19614 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19615 esac
19617 case $ac_config_headers in *"
19618 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19619 esac
19622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19623 # Files that config.status was made for.
19624 config_files="$ac_config_files"
19625 config_headers="$ac_config_headers"
19626 config_links="$ac_config_links"
19627 config_commands="$ac_config_commands"
19629 _ACEOF
19631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19632 ac_cs_usage="\
19633 \`$as_me' instantiates files and other configuration actions
19634 from templates according to the current configuration. Unless the files
19635 and actions are specified as TAGs, all are instantiated by default.
19637 Usage: $0 [OPTION]... [TAG]...
19639 -h, --help print this help, then exit
19640 -V, --version print version number and configuration settings, then exit
19641 --config print configuration, then exit
19642 -q, --quiet, --silent
19643 do not print progress messages
19644 -d, --debug don't remove temporary files
19645 --recheck update $as_me by reconfiguring in the same conditions
19646 --file=FILE[:TEMPLATE]
19647 instantiate the configuration file FILE
19648 --header=FILE[:TEMPLATE]
19649 instantiate the configuration header FILE
19651 Configuration files:
19652 $config_files
19654 Configuration headers:
19655 $config_headers
19657 Configuration links:
19658 $config_links
19660 Configuration commands:
19661 $config_commands
19663 Report bugs to <wine-devel@winehq.org>.
19664 Wine home page: <http://www.winehq.org>."
19666 _ACEOF
19667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19668 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19669 ac_cs_version="\\
19670 Wine config.status 2.18
19671 configured by $0, generated by GNU Autoconf 2.69,
19672 with options \\"\$ac_cs_config\\"
19674 Copyright (C) 2012 Free Software Foundation, Inc.
19675 This config.status script is free software; the Free Software Foundation
19676 gives unlimited permission to copy, distribute and modify it."
19678 ac_pwd='$ac_pwd'
19679 srcdir='$srcdir'
19680 test -n "\$AWK" || AWK=awk
19681 _ACEOF
19683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19684 # The default lists apply if the user does not specify any file.
19685 ac_need_defaults=:
19686 while test $# != 0
19688 case $1 in
19689 --*=?*)
19690 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19691 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19692 ac_shift=:
19694 --*=)
19695 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19696 ac_optarg=
19697 ac_shift=:
19700 ac_option=$1
19701 ac_optarg=$2
19702 ac_shift=shift
19704 esac
19706 case $ac_option in
19707 # Handling of the options.
19708 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19709 ac_cs_recheck=: ;;
19710 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19711 $as_echo "$ac_cs_version"; exit ;;
19712 --config | --confi | --conf | --con | --co | --c )
19713 $as_echo "$ac_cs_config"; exit ;;
19714 --debug | --debu | --deb | --de | --d | -d )
19715 debug=: ;;
19716 --file | --fil | --fi | --f )
19717 $ac_shift
19718 case $ac_optarg in
19719 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19720 '') as_fn_error $? "missing file argument" ;;
19721 esac
19722 as_fn_append CONFIG_FILES " '$ac_optarg'"
19723 ac_need_defaults=false;;
19724 --header | --heade | --head | --hea )
19725 $ac_shift
19726 case $ac_optarg in
19727 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19728 esac
19729 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19730 ac_need_defaults=false;;
19731 --he | --h)
19732 # Conflict between --help and --header
19733 as_fn_error $? "ambiguous option: \`$1'
19734 Try \`$0 --help' for more information.";;
19735 --help | --hel | -h )
19736 $as_echo "$ac_cs_usage"; exit ;;
19737 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19738 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19739 ac_cs_silent=: ;;
19741 # This is an error.
19742 -*) as_fn_error $? "unrecognized option: \`$1'
19743 Try \`$0 --help' for more information." ;;
19745 *) as_fn_append ac_config_targets " $1"
19746 ac_need_defaults=false ;;
19748 esac
19749 shift
19750 done
19752 ac_configure_extra_args=
19754 if $ac_cs_silent; then
19755 exec 6>/dev/null
19756 ac_configure_extra_args="$ac_configure_extra_args --silent"
19759 _ACEOF
19760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19761 if \$ac_cs_recheck; then
19762 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19763 shift
19764 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19765 CONFIG_SHELL='$SHELL'
19766 export CONFIG_SHELL
19767 exec "\$@"
19770 _ACEOF
19771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19772 exec 5>>config.log
19774 echo
19775 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19776 ## Running $as_me. ##
19777 _ASBOX
19778 $as_echo "$ac_log"
19779 } >&5
19781 _ACEOF
19782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19784 # INIT-COMMANDS
19786 wine_fn_output_makedep ()
19788 as_dir=tools; as_fn_mkdir_p
19789 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19791 wine_fn_output_makefile ()
19793 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19794 `cat $wine_rules_file`
19795 _WINE_EOF
19796 as_fn_error $? "could not create Makefile" "$LINENO" 5
19799 _ACEOF
19801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19803 # Handling of arguments.
19804 for ac_config_target in $ac_config_targets
19806 case $ac_config_target in
19807 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19808 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19809 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19810 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19811 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19812 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19813 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19814 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19815 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19816 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19817 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19818 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19819 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19821 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19822 esac
19823 done
19826 # If the user did not use the arguments to specify the items to instantiate,
19827 # then the envvar interface is used. Set only those that are not.
19828 # We use the long form for the default assignment because of an extremely
19829 # bizarre bug on SunOS 4.1.3.
19830 if $ac_need_defaults; then
19831 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19832 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19833 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19834 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19837 # Have a temporary directory for convenience. Make it in the build tree
19838 # simply because there is no reason against having it here, and in addition,
19839 # creating and moving files from /tmp can sometimes cause problems.
19840 # Hook for its removal unless debugging.
19841 # Note that there is a small window in which the directory will not be cleaned:
19842 # after its creation but before its name has been assigned to `$tmp'.
19843 $debug ||
19845 tmp= ac_tmp=
19846 trap 'exit_status=$?
19847 : "${ac_tmp:=$tmp}"
19848 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19850 trap 'as_fn_exit 1' 1 2 13 15
19852 # Create a (secure) tmp directory for tmp files.
19855 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19856 test -d "$tmp"
19857 } ||
19859 tmp=./conf$$-$RANDOM
19860 (umask 077 && mkdir "$tmp")
19861 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19862 ac_tmp=$tmp
19864 # Set up the scripts for CONFIG_FILES section.
19865 # No need to generate them if there are no CONFIG_FILES.
19866 # This happens for instance with `./config.status config.h'.
19867 if test -n "$CONFIG_FILES"; then
19870 ac_cr=`echo X | tr X '\015'`
19871 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19872 # But we know of no other shell where ac_cr would be empty at this
19873 # point, so we can use a bashism as a fallback.
19874 if test "x$ac_cr" = x; then
19875 eval ac_cr=\$\'\\r\'
19877 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19878 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19879 ac_cs_awk_cr='\\r'
19880 else
19881 ac_cs_awk_cr=$ac_cr
19884 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19885 _ACEOF
19889 echo "cat >conf$$subs.awk <<_ACEOF" &&
19890 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19891 echo "_ACEOF"
19892 } >conf$$subs.sh ||
19893 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19894 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19895 ac_delim='%!_!# '
19896 for ac_last_try in false false false false false :; do
19897 . ./conf$$subs.sh ||
19898 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19900 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19901 if test $ac_delim_n = $ac_delim_num; then
19902 break
19903 elif $ac_last_try; then
19904 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19905 else
19906 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19908 done
19909 rm -f conf$$subs.sh
19911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19912 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19913 _ACEOF
19914 sed -n '
19916 s/^/S["/; s/!.*/"]=/
19919 s/^[^!]*!//
19920 :repl
19921 t repl
19922 s/'"$ac_delim"'$//
19923 t delim
19926 s/\(.\{148\}\)..*/\1/
19927 t more1
19928 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19931 b repl
19932 :more1
19933 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19936 s/.\{148\}//
19937 t nl
19938 :delim
19940 s/\(.\{148\}\)..*/\1/
19941 t more2
19942 s/["\\]/\\&/g; s/^/"/; s/$/"/
19945 :more2
19946 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19949 s/.\{148\}//
19950 t delim
19951 ' <conf$$subs.awk | sed '
19952 /^[^""]/{
19954 s/\n//
19956 ' >>$CONFIG_STATUS || ac_write_fail=1
19957 rm -f conf$$subs.awk
19958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19959 _ACAWK
19960 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19961 for (key in S) S_is_set[key] = 1
19962 FS = "\a"
19966 line = $ 0
19967 nfields = split(line, field, "@")
19968 substed = 0
19969 len = length(field[1])
19970 for (i = 2; i < nfields; i++) {
19971 key = field[i]
19972 keylen = length(key)
19973 if (S_is_set[key]) {
19974 value = S[key]
19975 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19976 len += length(value) + length(field[++i])
19977 substed = 1
19978 } else
19979 len += 1 + keylen
19982 print line
19985 _ACAWK
19986 _ACEOF
19987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19988 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19989 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19990 else
19992 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19993 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19994 _ACEOF
19996 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19997 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19998 # trailing colons and then remove the whole line if VPATH becomes empty
19999 # (actually we leave an empty line to preserve line numbers).
20000 if test "x$srcdir" = x.; then
20001 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20003 s///
20004 s/^/:/
20005 s/[ ]*$/:/
20006 s/:\$(srcdir):/:/g
20007 s/:\${srcdir}:/:/g
20008 s/:@srcdir@:/:/g
20009 s/^:*//
20010 s/:*$//
20012 s/\(=[ ]*\).*/\1/
20014 s/\n//
20015 s/^[^=]*=[ ]*$//
20019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20020 fi # test -n "$CONFIG_FILES"
20022 # Set up the scripts for CONFIG_HEADERS section.
20023 # No need to generate them if there are no CONFIG_HEADERS.
20024 # This happens for instance with `./config.status Makefile'.
20025 if test -n "$CONFIG_HEADERS"; then
20026 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20027 BEGIN {
20028 _ACEOF
20030 # Transform confdefs.h into an awk script `defines.awk', embedded as
20031 # here-document in config.status, that substitutes the proper values into
20032 # config.h.in to produce config.h.
20034 # Create a delimiter string that does not exist in confdefs.h, to ease
20035 # handling of long lines.
20036 ac_delim='%!_!# '
20037 for ac_last_try in false false :; do
20038 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20039 if test -z "$ac_tt"; then
20040 break
20041 elif $ac_last_try; then
20042 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20043 else
20044 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20046 done
20048 # For the awk script, D is an array of macro values keyed by name,
20049 # likewise P contains macro parameters if any. Preserve backslash
20050 # newline sequences.
20052 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20053 sed -n '
20054 s/.\{148\}/&'"$ac_delim"'/g
20055 t rset
20056 :rset
20057 s/^[ ]*#[ ]*define[ ][ ]*/ /
20058 t def
20060 :def
20061 s/\\$//
20062 t bsnl
20063 s/["\\]/\\&/g
20064 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20065 D["\1"]=" \3"/p
20066 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20068 :bsnl
20069 s/["\\]/\\&/g
20070 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20071 D["\1"]=" \3\\\\\\n"\\/p
20072 t cont
20073 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20074 t cont
20076 :cont
20078 s/.\{148\}/&'"$ac_delim"'/g
20079 t clear
20080 :clear
20081 s/\\$//
20082 t bsnlc
20083 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20085 :bsnlc
20086 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20087 b cont
20088 ' <confdefs.h | sed '
20089 s/'"$ac_delim"'/"\\\
20090 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20093 for (key in D) D_is_set[key] = 1
20094 FS = "\a"
20096 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20097 line = \$ 0
20098 split(line, arg, " ")
20099 if (arg[1] == "#") {
20100 defundef = arg[2]
20101 mac1 = arg[3]
20102 } else {
20103 defundef = substr(arg[1], 2)
20104 mac1 = arg[2]
20106 split(mac1, mac2, "(") #)
20107 macro = mac2[1]
20108 prefix = substr(line, 1, index(line, defundef) - 1)
20109 if (D_is_set[macro]) {
20110 # Preserve the white space surrounding the "#".
20111 print prefix "define", macro P[macro] D[macro]
20112 next
20113 } else {
20114 # Replace #undef with comments. This is necessary, for example,
20115 # in the case of _POSIX_SOURCE, which is predefined and required
20116 # on some systems where configure will not decide to define it.
20117 if (defundef == "undef") {
20118 print "/*", prefix defundef, macro, "*/"
20119 next
20123 { print }
20124 _ACAWK
20125 _ACEOF
20126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20127 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20128 fi # test -n "$CONFIG_HEADERS"
20131 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20132 shift
20133 for ac_tag
20135 case $ac_tag in
20136 :[FHLC]) ac_mode=$ac_tag; continue;;
20137 esac
20138 case $ac_mode$ac_tag in
20139 :[FHL]*:*);;
20140 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20141 :[FH]-) ac_tag=-:-;;
20142 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20143 esac
20144 ac_save_IFS=$IFS
20145 IFS=:
20146 set x $ac_tag
20147 IFS=$ac_save_IFS
20148 shift
20149 ac_file=$1
20150 shift
20152 case $ac_mode in
20153 :L) ac_source=$1;;
20154 :[FH])
20155 ac_file_inputs=
20156 for ac_f
20158 case $ac_f in
20159 -) ac_f="$ac_tmp/stdin";;
20160 *) # Look for the file first in the build tree, then in the source tree
20161 # (if the path is not absolute). The absolute path cannot be DOS-style,
20162 # because $ac_f cannot contain `:'.
20163 test -f "$ac_f" ||
20164 case $ac_f in
20165 [\\/$]*) false;;
20166 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20167 esac ||
20168 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20169 esac
20170 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20171 as_fn_append ac_file_inputs " '$ac_f'"
20172 done
20174 # Let's still pretend it is `configure' which instantiates (i.e., don't
20175 # use $as_me), people would be surprised to read:
20176 # /* config.h. Generated by config.status. */
20177 configure_input='Generated from '`
20178 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20179 `' by configure.'
20180 if test x"$ac_file" != x-; then
20181 configure_input="$ac_file. $configure_input"
20182 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20183 $as_echo "$as_me: creating $ac_file" >&6;}
20185 # Neutralize special characters interpreted by sed in replacement strings.
20186 case $configure_input in #(
20187 *\&* | *\|* | *\\* )
20188 ac_sed_conf_input=`$as_echo "$configure_input" |
20189 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20190 *) ac_sed_conf_input=$configure_input;;
20191 esac
20193 case $ac_tag in
20194 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20195 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20196 esac
20198 esac
20200 ac_dir=`$as_dirname -- "$ac_file" ||
20201 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20202 X"$ac_file" : 'X\(//\)[^/]' \| \
20203 X"$ac_file" : 'X\(//\)$' \| \
20204 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20205 $as_echo X"$ac_file" |
20206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20207 s//\1/
20210 /^X\(\/\/\)[^/].*/{
20211 s//\1/
20214 /^X\(\/\/\)$/{
20215 s//\1/
20218 /^X\(\/\).*/{
20219 s//\1/
20222 s/.*/./; q'`
20223 as_dir="$ac_dir"; as_fn_mkdir_p
20224 ac_builddir=.
20226 case "$ac_dir" in
20227 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20229 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20230 # A ".." for each directory in $ac_dir_suffix.
20231 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20232 case $ac_top_builddir_sub in
20233 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20234 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20235 esac ;;
20236 esac
20237 ac_abs_top_builddir=$ac_pwd
20238 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20239 # for backward compatibility:
20240 ac_top_builddir=$ac_top_build_prefix
20242 case $srcdir in
20243 .) # We are building in place.
20244 ac_srcdir=.
20245 ac_top_srcdir=$ac_top_builddir_sub
20246 ac_abs_top_srcdir=$ac_pwd ;;
20247 [\\/]* | ?:[\\/]* ) # Absolute name.
20248 ac_srcdir=$srcdir$ac_dir_suffix;
20249 ac_top_srcdir=$srcdir
20250 ac_abs_top_srcdir=$srcdir ;;
20251 *) # Relative name.
20252 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20253 ac_top_srcdir=$ac_top_build_prefix$srcdir
20254 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20255 esac
20256 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20259 case $ac_mode in
20262 # CONFIG_FILE
20265 _ACEOF
20267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20268 # If the template does not know about datarootdir, expand it.
20269 # FIXME: This hack should be removed a few years after 2.60.
20270 ac_datarootdir_hack=; ac_datarootdir_seen=
20271 ac_sed_dataroot='
20272 /datarootdir/ {
20276 /@datadir@/p
20277 /@docdir@/p
20278 /@infodir@/p
20279 /@localedir@/p
20280 /@mandir@/p'
20281 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20282 *datarootdir*) ac_datarootdir_seen=yes;;
20283 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20285 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20286 _ACEOF
20287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20288 ac_datarootdir_hack='
20289 s&@datadir@&$datadir&g
20290 s&@docdir@&$docdir&g
20291 s&@infodir@&$infodir&g
20292 s&@localedir@&$localedir&g
20293 s&@mandir@&$mandir&g
20294 s&\\\${datarootdir}&$datarootdir&g' ;;
20295 esac
20296 _ACEOF
20298 # Neutralize VPATH when `$srcdir' = `.'.
20299 # Shell code in configure.ac might set extrasub.
20300 # FIXME: do we really want to maintain this feature?
20301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20302 ac_sed_extra="$ac_vpsub
20303 $extrasub
20304 _ACEOF
20305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20307 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20308 s|@configure_input@|$ac_sed_conf_input|;t t
20309 s&@top_builddir@&$ac_top_builddir_sub&;t t
20310 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20311 s&@srcdir@&$ac_srcdir&;t t
20312 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20313 s&@top_srcdir@&$ac_top_srcdir&;t t
20314 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20315 s&@builddir@&$ac_builddir&;t t
20316 s&@abs_builddir@&$ac_abs_builddir&;t t
20317 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20318 $ac_datarootdir_hack
20320 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20321 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20323 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20324 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20325 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20326 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20328 which seems to be undefined. Please make sure it is defined" >&5
20329 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20330 which seems to be undefined. Please make sure it is defined" >&2;}
20332 rm -f "$ac_tmp/stdin"
20333 case $ac_file in
20334 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20335 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20336 esac \
20337 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20341 # CONFIG_HEADER
20343 if test x"$ac_file" != x-; then
20345 $as_echo "/* $configure_input */" \
20346 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20347 } >"$ac_tmp/config.h" \
20348 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20349 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20351 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20352 else
20353 rm -f "$ac_file"
20354 mv "$ac_tmp/config.h" "$ac_file" \
20355 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20357 else
20358 $as_echo "/* $configure_input */" \
20359 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20360 || as_fn_error $? "could not create -" "$LINENO" 5
20365 # CONFIG_LINK
20368 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20370 else
20371 # Prefer the file from the source tree if names are identical.
20372 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20373 ac_source=$srcdir/$ac_source
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20377 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20379 if test ! -r "$ac_source"; then
20380 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20382 rm -f "$ac_file"
20384 # Try a relative symlink, then a hard link, then a copy.
20385 case $ac_source in
20386 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20387 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20388 esac
20389 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20390 ln "$ac_source" "$ac_file" 2>/dev/null ||
20391 cp -p "$ac_source" "$ac_file" ||
20392 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20395 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20396 $as_echo "$as_me: executing $ac_file commands" >&6;}
20398 esac
20401 case $ac_file$ac_mode in
20402 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20403 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20404 "Makefile":C) wine_fn_output_makefile Makefile ;;
20406 esac
20407 done # for ac_tag
20410 as_fn_exit 0
20411 _ACEOF
20412 ac_clean_files=$ac_clean_files_save
20414 test $ac_write_fail = 0 ||
20415 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20418 # configure is writing to config.log, and then calls config.status.
20419 # config.status does its own redirection, appending to config.log.
20420 # Unfortunately, on DOS this fails, as config.log is still kept open
20421 # by configure, so config.status won't be able to write to it; its
20422 # output is simply discarded. So we exec the FD to /dev/null,
20423 # effectively closing config.log, so it can be properly (re)opened and
20424 # appended to by config.status. When coming back to configure, we
20425 # need to make the FD available again.
20426 if test "$no_create" != yes; then
20427 ac_cs_success=:
20428 ac_config_status_args=
20429 test "$silent" = yes &&
20430 ac_config_status_args="$ac_config_status_args --quiet"
20431 exec 5>/dev/null
20432 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20433 exec 5>>config.log
20434 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20435 # would make configure fail if this is the last instruction.
20436 $ac_cs_success || as_fn_exit 1
20438 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20440 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20444 if test "$no_create" = "yes"
20445 then
20446 exit 0
20449 ac_save_IFS="$IFS"
20450 if test "x$wine_notices" != x; then
20451 echo >&6
20452 IFS="|"
20453 for msg in $wine_notices; do
20454 IFS="$ac_save_IFS"
20455 if ${msg:+false} :; then :
20457 else
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20459 $as_echo "$as_me: $msg" >&6;}
20461 done
20463 IFS="|"
20464 for msg in $wine_warnings; do
20465 IFS="$ac_save_IFS"
20466 if ${msg:+false} :; then :
20468 else
20469 echo >&2
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20471 $as_echo "$as_me: WARNING: $msg" >&2;}
20473 done
20474 IFS="$ac_save_IFS"
20476 $as_echo "
20477 $as_me: Finished. Do '${ac_make}' to compile Wine.
20478 " >&6