gdiplus/metafile: Support playback for EmfPlusRecordTypeSetAntiAliasMode.
[wine.git] / configure
blob095aa390d486a2e85a7a744bcf09c8399a914fa4
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_LIBS
654 CUPS_CFLAGS
655 CAPI20_LIBS
656 CAPI20_CFLAGS
657 UDEV_LIBS
658 UDEV_CFLAGS
659 OSS4_CFLAGS
660 ALSA_LIBS
661 GSTREAMER_LIBS
662 GSTREAMER_CFLAGS
663 PULSE_LIBS
664 PULSE_CFLAGS
665 GETTEXTPO_LIBS
666 Z_LIBS
667 FREETYPE_LIBS
668 FREETYPE_CFLAGS
669 LCMS2_LIBS
670 LCMS2_CFLAGS
671 RESOLV_LIBS
672 GPHOTO2_PORT_LIBS
673 GPHOTO2_PORT_CFLAGS
674 GPHOTO2_LIBS
675 GPHOTO2_CFLAGS
676 SANE_LIBS
677 SANE_CFLAGS
678 GNUTLS_LIBS
679 GNUTLS_CFLAGS
680 HAL_LIBS
681 HAL_CFLAGS
682 DBUS_LIBS
683 DBUS_CFLAGS
684 XSLT_LIBS
685 XSLT_CFLAGS
686 XML2_LIBS
687 XML2_CFLAGS
688 PCAP_LIBS
689 X_EXTRA_LIBS
690 X_LIBS
691 X_PRE_LIBS
692 X_CFLAGS
693 XMKMF
694 PTHREAD_LIBS
695 CROSSCFLAGS
696 CROSSCC
697 CROSSTARGET
698 PRELINK
699 WINELOADER_DEPENDS
700 CARBON_LIBS
701 QUICKTIME_LIBS
702 OPENCL_LIBS
703 OPENAL_LIBS
704 COREAUDIO_LIBS
705 SECURITY_LIBS
706 DISKARBITRATION_LIBS
707 APPKIT_LIBS
708 CORESERVICES_LIBS
709 APPLICATIONSERVICES_LIBS
710 FORCEFEEDBACK_LIBS
711 IOKIT_LIBS
712 COREFOUNDATION_LIBS
713 LIBWINE_DEPENDS
714 LIBWINE_LDFLAGS
715 LIBWINE_INSTALL_DEV
716 LIBWINE_INSTALL_LIB
717 LIBWINE_IMPORTLIB
718 LIBWINE_SHAREDLIB
719 SOCKET_LIBS
720 DLLTOOL
721 WINELOADER_PROGRAMS
722 ALL_TEST_RESOURCES
723 CONFIGURE_TARGETS
724 DISABLED_SUBDIRS
725 SUBDIRS
726 READELF
727 OTOOL
729 WINELOADER_LDFLAGS
730 LDEXECFLAGS
731 LDRPATH_LOCAL
732 LDRPATH_INSTALL
733 DLLFLAGS
734 dlldir
736 OPENGL_LIBS
737 ICOTOOL
738 CONVERT
739 RSVG
740 FONTFORGE
741 PKG_CONFIG
742 MSGFMT
743 LDCONFIG
744 EGREP
745 GREP
746 LN_S
747 RANLIB
748 ARFLAGS
749 STRIP
750 ac_ct_AR
752 BISON
753 FLEX
754 TOOLSDIR
755 TARGETFLAGS
757 CPPBIN
758 ac_ct_CXX
759 CXXFLAGS
761 OBJEXT
762 EXEEXT
763 ac_ct_CC
764 CPPFLAGS
765 LDFLAGS
766 CFLAGS
768 SET_MAKE
769 host_os
770 host_vendor
771 host_cpu
772 host
773 build_os
774 build_vendor
775 build_cpu
776 build
777 target_alias
778 host_alias
779 build_alias
780 LIBS
781 ECHO_T
782 ECHO_N
783 ECHO_C
784 DEFS
785 mandir
786 localedir
787 libdir
788 psdir
789 pdfdir
790 dvidir
791 htmldir
792 infodir
793 docdir
794 oldincludedir
795 includedir
796 runstatedir
797 localstatedir
798 sharedstatedir
799 sysconfdir
800 datadir
801 datarootdir
802 libexecdir
803 sbindir
804 bindir
805 program_transform_name
806 prefix
807 exec_prefix
808 PACKAGE_URL
809 PACKAGE_BUGREPORT
810 PACKAGE_STRING
811 PACKAGE_VERSION
812 PACKAGE_TARNAME
813 PACKAGE_NAME
814 PATH_SEPARATOR
815 SHELL'
816 ac_subst_files=''
817 ac_user_opts='
818 enable_option_checking
819 enable_win16
820 enable_win64
821 enable_tests
822 enable_maintainer_mode
823 with_alsa
824 with_capi
825 with_cms
826 with_coreaudio
827 with_cups
828 with_curses
829 with_dbus
830 with_fontconfig
831 with_freetype
832 with_gettext
833 with_gettextpo
834 with_gphoto
835 with_glu
836 with_gnutls
837 with_gsm
838 with_gstreamer
839 with_hal
840 with_jpeg
841 with_ldap
842 with_mpg123
843 with_netapi
844 with_openal
845 with_opencl
846 with_opengl
847 with_osmesa
848 with_oss
849 with_pcap
850 with_png
851 with_pthread
852 with_pulse
853 with_sane
854 with_tiff
855 with_udev
856 with_v4l
857 with_xcomposite
858 with_xcursor
859 with_xfixes
860 with_xinerama
861 with_xinput
862 with_xinput2
863 with_xml
864 with_xrandr
865 with_xrender
866 with_xshape
867 with_xshm
868 with_xslt
869 with_xxf86vm
870 with_zlib
871 with_wine_tools
872 with_wine64
873 enable_largefile
874 with_x
875 enable_acledit
876 enable_aclui
877 enable_activeds
878 enable_actxprxy
879 enable_adsldpc
880 enable_advapi32
881 enable_advpack
882 enable_amstream
883 enable_api_ms_win_appmodel_identity_l1_1_0
884 enable_api_ms_win_appmodel_runtime_l1_1_1
885 enable_api_ms_win_appmodel_runtime_l1_1_2
886 enable_api_ms_win_core_apiquery_l1_1_0
887 enable_api_ms_win_core_appcompat_l1_1_1
888 enable_api_ms_win_core_appinit_l1_1_0
889 enable_api_ms_win_core_atoms_l1_1_0
890 enable_api_ms_win_core_bem_l1_1_0
891 enable_api_ms_win_core_com_l1_1_0
892 enable_api_ms_win_core_com_l1_1_1
893 enable_api_ms_win_core_com_private_l1_1_0
894 enable_api_ms_win_core_console_l1_1_0
895 enable_api_ms_win_core_console_l2_1_0
896 enable_api_ms_win_core_crt_l1_1_0
897 enable_api_ms_win_core_crt_l2_1_0
898 enable_api_ms_win_core_datetime_l1_1_0
899 enable_api_ms_win_core_datetime_l1_1_1
900 enable_api_ms_win_core_debug_l1_1_0
901 enable_api_ms_win_core_debug_l1_1_1
902 enable_api_ms_win_core_delayload_l1_1_0
903 enable_api_ms_win_core_delayload_l1_1_1
904 enable_api_ms_win_core_errorhandling_l1_1_0
905 enable_api_ms_win_core_errorhandling_l1_1_1
906 enable_api_ms_win_core_errorhandling_l1_1_2
907 enable_api_ms_win_core_errorhandling_l1_1_3
908 enable_api_ms_win_core_fibers_l1_1_0
909 enable_api_ms_win_core_fibers_l1_1_1
910 enable_api_ms_win_core_file_l1_1_0
911 enable_api_ms_win_core_file_l1_2_0
912 enable_api_ms_win_core_file_l1_2_1
913 enable_api_ms_win_core_file_l2_1_0
914 enable_api_ms_win_core_file_l2_1_1
915 enable_api_ms_win_core_file_l2_1_2
916 enable_api_ms_win_core_handle_l1_1_0
917 enable_api_ms_win_core_heap_l1_1_0
918 enable_api_ms_win_core_heap_l1_2_0
919 enable_api_ms_win_core_heap_l2_1_0
920 enable_api_ms_win_core_heap_obsolete_l1_1_0
921 enable_api_ms_win_core_interlocked_l1_1_0
922 enable_api_ms_win_core_interlocked_l1_2_0
923 enable_api_ms_win_core_io_l1_1_0
924 enable_api_ms_win_core_io_l1_1_1
925 enable_api_ms_win_core_job_l1_1_0
926 enable_api_ms_win_core_job_l2_1_0
927 enable_api_ms_win_core_kernel32_legacy_l1_1_0
928 enable_api_ms_win_core_kernel32_legacy_l1_1_1
929 enable_api_ms_win_core_kernel32_private_l1_1_1
930 enable_api_ms_win_core_libraryloader_l1_1_0
931 enable_api_ms_win_core_libraryloader_l1_1_1
932 enable_api_ms_win_core_libraryloader_l1_2_0
933 enable_api_ms_win_core_libraryloader_l1_2_2
934 enable_api_ms_win_core_localization_l1_1_0
935 enable_api_ms_win_core_localization_l1_2_0
936 enable_api_ms_win_core_localization_l1_2_1
937 enable_api_ms_win_core_localization_l2_1_0
938 enable_api_ms_win_core_localization_obsolete_l1_1_0
939 enable_api_ms_win_core_localization_obsolete_l1_2_0
940 enable_api_ms_win_core_localization_obsolete_l1_3_0
941 enable_api_ms_win_core_localization_private_l1_1_0
942 enable_api_ms_win_core_localregistry_l1_1_0
943 enable_api_ms_win_core_memory_l1_1_0
944 enable_api_ms_win_core_memory_l1_1_1
945 enable_api_ms_win_core_memory_l1_1_2
946 enable_api_ms_win_core_misc_l1_1_0
947 enable_api_ms_win_core_namedpipe_l1_1_0
948 enable_api_ms_win_core_namedpipe_l1_2_0
949 enable_api_ms_win_core_namespace_l1_1_0
950 enable_api_ms_win_core_normalization_l1_1_0
951 enable_api_ms_win_core_path_l1_1_0
952 enable_api_ms_win_core_privateprofile_l1_1_1
953 enable_api_ms_win_core_processenvironment_l1_1_0
954 enable_api_ms_win_core_processenvironment_l1_2_0
955 enable_api_ms_win_core_processthreads_l1_1_0
956 enable_api_ms_win_core_processthreads_l1_1_1
957 enable_api_ms_win_core_processthreads_l1_1_2
958 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
959 enable_api_ms_win_core_profile_l1_1_0
960 enable_api_ms_win_core_psapi_ansi_l1_1_0
961 enable_api_ms_win_core_psapi_l1_1_0
962 enable_api_ms_win_core_psapi_obsolete_l1_1_0
963 enable_api_ms_win_core_quirks_l1_1_0
964 enable_api_ms_win_core_realtime_l1_1_0
965 enable_api_ms_win_core_registry_l1_1_0
966 enable_api_ms_win_core_registry_l2_1_0
967 enable_api_ms_win_core_registryuserspecific_l1_1_0
968 enable_api_ms_win_core_rtlsupport_l1_1_0
969 enable_api_ms_win_core_rtlsupport_l1_2_0
970 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
971 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
972 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
973 enable_api_ms_win_core_sidebyside_l1_1_0
974 enable_api_ms_win_core_string_l1_1_0
975 enable_api_ms_win_core_string_l2_1_0
976 enable_api_ms_win_core_string_obsolete_l1_1_0
977 enable_api_ms_win_core_stringansi_l1_1_0
978 enable_api_ms_win_core_synch_l1_1_0
979 enable_api_ms_win_core_synch_l1_2_0
980 enable_api_ms_win_core_synch_l1_2_1
981 enable_api_ms_win_core_sysinfo_l1_1_0
982 enable_api_ms_win_core_sysinfo_l1_2_0
983 enable_api_ms_win_core_sysinfo_l1_2_1
984 enable_api_ms_win_core_threadpool_l1_1_0
985 enable_api_ms_win_core_threadpool_l1_2_0
986 enable_api_ms_win_core_threadpool_legacy_l1_1_0
987 enable_api_ms_win_core_threadpool_private_l1_1_0
988 enable_api_ms_win_core_timezone_l1_1_0
989 enable_api_ms_win_core_toolhelp_l1_1_0
990 enable_api_ms_win_core_url_l1_1_0
991 enable_api_ms_win_core_util_l1_1_0
992 enable_api_ms_win_core_version_l1_1_0
993 enable_api_ms_win_core_version_l1_1_1
994 enable_api_ms_win_core_version_private_l1_1_0
995 enable_api_ms_win_core_versionansi_l1_1_0
996 enable_api_ms_win_core_windowserrorreporting_l1_1_0
997 enable_api_ms_win_core_winrt_error_l1_1_0
998 enable_api_ms_win_core_winrt_error_l1_1_1
999 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1000 enable_api_ms_win_core_winrt_l1_1_0
1001 enable_api_ms_win_core_winrt_registration_l1_1_0
1002 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1003 enable_api_ms_win_core_winrt_string_l1_1_0
1004 enable_api_ms_win_core_wow64_l1_1_0
1005 enable_api_ms_win_core_wow64_l1_1_1
1006 enable_api_ms_win_core_xstate_l1_1_0
1007 enable_api_ms_win_core_xstate_l2_1_0
1008 enable_api_ms_win_crt_conio_l1_1_0
1009 enable_api_ms_win_crt_convert_l1_1_0
1010 enable_api_ms_win_crt_environment_l1_1_0
1011 enable_api_ms_win_crt_filesystem_l1_1_0
1012 enable_api_ms_win_crt_heap_l1_1_0
1013 enable_api_ms_win_crt_locale_l1_1_0
1014 enable_api_ms_win_crt_math_l1_1_0
1015 enable_api_ms_win_crt_multibyte_l1_1_0
1016 enable_api_ms_win_crt_private_l1_1_0
1017 enable_api_ms_win_crt_process_l1_1_0
1018 enable_api_ms_win_crt_runtime_l1_1_0
1019 enable_api_ms_win_crt_stdio_l1_1_0
1020 enable_api_ms_win_crt_string_l1_1_0
1021 enable_api_ms_win_crt_time_l1_1_0
1022 enable_api_ms_win_crt_utility_l1_1_0
1023 enable_api_ms_win_devices_config_l1_1_1
1024 enable_api_ms_win_devices_query_l1_1_1
1025 enable_api_ms_win_downlevel_advapi32_l1_1_0
1026 enable_api_ms_win_downlevel_advapi32_l2_1_0
1027 enable_api_ms_win_downlevel_normaliz_l1_1_0
1028 enable_api_ms_win_downlevel_ole32_l1_1_0
1029 enable_api_ms_win_downlevel_shell32_l1_1_0
1030 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1031 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1032 enable_api_ms_win_downlevel_user32_l1_1_0
1033 enable_api_ms_win_downlevel_version_l1_1_0
1034 enable_api_ms_win_dx_d3dkmt_l1_1_0
1035 enable_api_ms_win_eventing_classicprovider_l1_1_0
1036 enable_api_ms_win_eventing_consumer_l1_1_0
1037 enable_api_ms_win_eventing_controller_l1_1_0
1038 enable_api_ms_win_eventing_legacy_l1_1_0
1039 enable_api_ms_win_eventing_provider_l1_1_0
1040 enable_api_ms_win_eventlog_legacy_l1_1_0
1041 enable_api_ms_win_mm_joystick_l1_1_0
1042 enable_api_ms_win_mm_misc_l1_1_1
1043 enable_api_ms_win_mm_mme_l1_1_0
1044 enable_api_ms_win_mm_time_l1_1_0
1045 enable_api_ms_win_ntuser_dc_access_l1_1_0
1046 enable_api_ms_win_ntuser_rectangle_l1_1_0
1047 enable_api_ms_win_power_base_l1_1_0
1048 enable_api_ms_win_power_setting_l1_1_0
1049 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1050 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1051 enable_api_ms_win_security_audit_l1_1_1
1052 enable_api_ms_win_security_base_l1_1_0
1053 enable_api_ms_win_security_base_l1_2_0
1054 enable_api_ms_win_security_base_private_l1_1_1
1055 enable_api_ms_win_security_credentials_l1_1_0
1056 enable_api_ms_win_security_grouppolicy_l1_1_0
1057 enable_api_ms_win_security_lsalookup_l1_1_0
1058 enable_api_ms_win_security_lsalookup_l1_1_1
1059 enable_api_ms_win_security_lsalookup_l2_1_1
1060 enable_api_ms_win_security_lsapolicy_l1_1_0
1061 enable_api_ms_win_security_provider_l1_1_0
1062 enable_api_ms_win_security_sddl_l1_1_0
1063 enable_api_ms_win_security_systemfunctions_l1_1_0
1064 enable_api_ms_win_service_core_l1_1_0
1065 enable_api_ms_win_service_core_l1_1_1
1066 enable_api_ms_win_service_management_l1_1_0
1067 enable_api_ms_win_service_management_l2_1_0
1068 enable_api_ms_win_service_private_l1_1_1
1069 enable_api_ms_win_service_winsvc_l1_1_0
1070 enable_api_ms_win_service_winsvc_l1_2_0
1071 enable_api_ms_win_shell_shellcom_l1_1_0
1072 enable_api_ms_win_shell_shellfolders_l1_1_0
1073 enable_apphelp
1074 enable_appwiz_cpl
1075 enable_atl
1076 enable_atl100
1077 enable_atl110
1078 enable_atl80
1079 enable_atl90
1080 enable_authz
1081 enable_avicap32
1082 enable_avifil32
1083 enable_avrt
1084 enable_bcrypt
1085 enable_bluetoothapis
1086 enable_browseui
1087 enable_bthprops_cpl
1088 enable_cabinet
1089 enable_capi2032
1090 enable_cards
1091 enable_cfgmgr32
1092 enable_clusapi
1093 enable_combase
1094 enable_comcat
1095 enable_comctl32
1096 enable_comdlg32
1097 enable_compstui
1098 enable_comsvcs
1099 enable_concrt140
1100 enable_connect
1101 enable_credui
1102 enable_crtdll
1103 enable_crypt32
1104 enable_cryptdlg
1105 enable_cryptdll
1106 enable_cryptext
1107 enable_cryptnet
1108 enable_cryptui
1109 enable_ctapi32
1110 enable_ctl3d32
1111 enable_d2d1
1112 enable_d3d10
1113 enable_d3d10_1
1114 enable_d3d10core
1115 enable_d3d11
1116 enable_d3d8
1117 enable_d3d9
1118 enable_d3dcompiler_33
1119 enable_d3dcompiler_34
1120 enable_d3dcompiler_35
1121 enable_d3dcompiler_36
1122 enable_d3dcompiler_37
1123 enable_d3dcompiler_38
1124 enable_d3dcompiler_39
1125 enable_d3dcompiler_40
1126 enable_d3dcompiler_41
1127 enable_d3dcompiler_42
1128 enable_d3dcompiler_43
1129 enable_d3dcompiler_46
1130 enable_d3dcompiler_47
1131 enable_d3dim
1132 enable_d3drm
1133 enable_d3dx10_33
1134 enable_d3dx10_34
1135 enable_d3dx10_35
1136 enable_d3dx10_36
1137 enable_d3dx10_37
1138 enable_d3dx10_38
1139 enable_d3dx10_39
1140 enable_d3dx10_40
1141 enable_d3dx10_41
1142 enable_d3dx10_42
1143 enable_d3dx10_43
1144 enable_d3dx11_42
1145 enable_d3dx11_43
1146 enable_d3dx9_24
1147 enable_d3dx9_25
1148 enable_d3dx9_26
1149 enable_d3dx9_27
1150 enable_d3dx9_28
1151 enable_d3dx9_29
1152 enable_d3dx9_30
1153 enable_d3dx9_31
1154 enable_d3dx9_32
1155 enable_d3dx9_33
1156 enable_d3dx9_34
1157 enable_d3dx9_35
1158 enable_d3dx9_36
1159 enable_d3dx9_37
1160 enable_d3dx9_38
1161 enable_d3dx9_39
1162 enable_d3dx9_40
1163 enable_d3dx9_41
1164 enable_d3dx9_42
1165 enable_d3dx9_43
1166 enable_d3dxof
1167 enable_davclnt
1168 enable_dbgeng
1169 enable_dbghelp
1170 enable_dciman32
1171 enable_ddraw
1172 enable_ddrawex
1173 enable_devenum
1174 enable_dhcpcsvc
1175 enable_difxapi
1176 enable_dinput
1177 enable_dinput8
1178 enable_dispex
1179 enable_dmband
1180 enable_dmcompos
1181 enable_dmime
1182 enable_dmloader
1183 enable_dmscript
1184 enable_dmstyle
1185 enable_dmsynth
1186 enable_dmusic
1187 enable_dmusic32
1188 enable_dnsapi
1189 enable_dplay
1190 enable_dplayx
1191 enable_dpnaddr
1192 enable_dpnet
1193 enable_dpnhpast
1194 enable_dpnlobby
1195 enable_dpvoice
1196 enable_dpwsockx
1197 enable_drmclien
1198 enable_dsound
1199 enable_dsquery
1200 enable_dssenh
1201 enable_dswave
1202 enable_dwmapi
1203 enable_dwrite
1204 enable_dx8vb
1205 enable_dxdiagn
1206 enable_dxgi
1207 enable_dxva2
1208 enable_esent
1209 enable_evr
1210 enable_explorerframe
1211 enable_ext_ms_win_authz_context_l1_1_0
1212 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1213 enable_ext_ms_win_gdi_dc_create_l1_1_1
1214 enable_ext_ms_win_gdi_dc_l1_2_0
1215 enable_ext_ms_win_gdi_devcaps_l1_1_0
1216 enable_ext_ms_win_gdi_draw_l1_1_1
1217 enable_ext_ms_win_gdi_render_l1_1_0
1218 enable_ext_ms_win_kernel32_package_current_l1_1_0
1219 enable_ext_ms_win_kernel32_package_l1_1_1
1220 enable_ext_ms_win_ntuser_message_l1_1_1
1221 enable_ext_ms_win_ntuser_private_l1_1_1
1222 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1223 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1224 enable_ext_ms_win_ntuser_window_l1_1_1
1225 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1226 enable_ext_ms_win_ras_rasapi32_l1_1_0
1227 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1228 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1229 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1230 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1231 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1232 enable_ext_ms_win_security_credui_l1_1_0
1233 enable_ext_ms_win_security_cryptui_l1_1_0
1234 enable_faultrep
1235 enable_fltlib
1236 enable_fltmgr_sys
1237 enable_fntcache
1238 enable_fontsub
1239 enable_fusion
1240 enable_fwpuclnt
1241 enable_gameux
1242 enable_gdi32
1243 enable_gdiplus
1244 enable_glu32
1245 enable_gphoto2_ds
1246 enable_gpkcsp
1247 enable_hal
1248 enable_hhctrl_ocx
1249 enable_hid
1250 enable_hidclass_sys
1251 enable_hlink
1252 enable_hnetcfg
1253 enable_httpapi
1254 enable_iccvid
1255 enable_icmp
1256 enable_ieframe
1257 enable_ieproxy
1258 enable_imaadp32_acm
1259 enable_imagehlp
1260 enable_imm32
1261 enable_inetcomm
1262 enable_inetcpl_cpl
1263 enable_inetmib1
1264 enable_infosoft
1265 enable_initpki
1266 enable_inkobj
1267 enable_inseng
1268 enable_iphlpapi
1269 enable_iprop
1270 enable_irprops_cpl
1271 enable_itircl
1272 enable_itss
1273 enable_joy_cpl
1274 enable_jscript
1275 enable_jsproxy
1276 enable_kernel32
1277 enable_kernelbase
1278 enable_ksuser
1279 enable_ktmw32
1280 enable_loadperf
1281 enable_localspl
1282 enable_localui
1283 enable_lz32
1284 enable_mapi32
1285 enable_mapistub
1286 enable_mciavi32
1287 enable_mcicda
1288 enable_mciqtz32
1289 enable_mciseq
1290 enable_mciwave
1291 enable_mf
1292 enable_mf3216
1293 enable_mfplat
1294 enable_mfreadwrite
1295 enable_mgmtapi
1296 enable_midimap
1297 enable_mlang
1298 enable_mmcndmgr
1299 enable_mmdevapi
1300 enable_mountmgr_sys
1301 enable_mpr
1302 enable_mprapi
1303 enable_msacm32_drv
1304 enable_msacm32
1305 enable_msadp32_acm
1306 enable_msasn1
1307 enable_mscat32
1308 enable_mscms
1309 enable_mscoree
1310 enable_msctf
1311 enable_msctfp
1312 enable_msdaps
1313 enable_msdelta
1314 enable_msdmo
1315 enable_msdrm
1316 enable_msftedit
1317 enable_msg711_acm
1318 enable_msgsm32_acm
1319 enable_mshtml_tlb
1320 enable_mshtml
1321 enable_msi
1322 enable_msident
1323 enable_msimg32
1324 enable_msimsg
1325 enable_msimtf
1326 enable_msisip
1327 enable_msisys_ocx
1328 enable_msls31
1329 enable_msnet32
1330 enable_mspatcha
1331 enable_msports
1332 enable_msrle32
1333 enable_msscript_ocx
1334 enable_mssign32
1335 enable_mssip32
1336 enable_mstask
1337 enable_msvcirt
1338 enable_msvcm80
1339 enable_msvcm90
1340 enable_msvcp100
1341 enable_msvcp110
1342 enable_msvcp120
1343 enable_msvcp120_app
1344 enable_msvcp140
1345 enable_msvcp60
1346 enable_msvcp70
1347 enable_msvcp71
1348 enable_msvcp80
1349 enable_msvcp90
1350 enable_msvcr100
1351 enable_msvcr110
1352 enable_msvcr120
1353 enable_msvcr120_app
1354 enable_msvcr70
1355 enable_msvcr71
1356 enable_msvcr80
1357 enable_msvcr90
1358 enable_msvcrt
1359 enable_msvcrt20
1360 enable_msvcrt40
1361 enable_msvcrtd
1362 enable_msvfw32
1363 enable_msvidc32
1364 enable_mswsock
1365 enable_msxml
1366 enable_msxml2
1367 enable_msxml3
1368 enable_msxml4
1369 enable_msxml6
1370 enable_mtxdm
1371 enable_ncrypt
1372 enable_nddeapi
1373 enable_ndis_sys
1374 enable_netapi32
1375 enable_netcfgx
1376 enable_netprofm
1377 enable_newdev
1378 enable_normaliz
1379 enable_npmshtml
1380 enable_npptools
1381 enable_ntdll
1382 enable_ntdsapi
1383 enable_ntoskrnl_exe
1384 enable_ntprint
1385 enable_objsel
1386 enable_odbc32
1387 enable_odbccp32
1388 enable_odbccu32
1389 enable_ole32
1390 enable_oleacc
1391 enable_oleaut32
1392 enable_olecli32
1393 enable_oledb32
1394 enable_oledlg
1395 enable_olepro32
1396 enable_olesvr32
1397 enable_olethk32
1398 enable_openal32
1399 enable_opencl
1400 enable_opengl32
1401 enable_packager
1402 enable_pdh
1403 enable_photometadatahandler
1404 enable_pidgen
1405 enable_powrprof
1406 enable_printui
1407 enable_prntvpt
1408 enable_propsys
1409 enable_psapi
1410 enable_pstorec
1411 enable_qcap
1412 enable_qedit
1413 enable_qmgr
1414 enable_qmgrprxy
1415 enable_quartz
1416 enable_query
1417 enable_rasapi32
1418 enable_rasdlg
1419 enable_regapi
1420 enable_resutils
1421 enable_riched20
1422 enable_riched32
1423 enable_rpcrt4
1424 enable_rsabase
1425 enable_rsaenh
1426 enable_rstrtmgr
1427 enable_rtutils
1428 enable_samlib
1429 enable_sane_ds
1430 enable_sapi
1431 enable_scarddlg
1432 enable_sccbase
1433 enable_schannel
1434 enable_schedsvc
1435 enable_scrobj
1436 enable_scrrun
1437 enable_scsiport_sys
1438 enable_secur32
1439 enable_security
1440 enable_sensapi
1441 enable_serialui
1442 enable_setupapi
1443 enable_sfc
1444 enable_sfc_os
1445 enable_shdoclc
1446 enable_shdocvw
1447 enable_shell32
1448 enable_shfolder
1449 enable_shlwapi
1450 enable_slbcsp
1451 enable_slc
1452 enable_snmpapi
1453 enable_softpub
1454 enable_spoolss
1455 enable_sspicli
1456 enable_stdole2_tlb
1457 enable_stdole32_tlb
1458 enable_sti
1459 enable_svrapi
1460 enable_sxs
1461 enable_t2embed
1462 enable_tapi32
1463 enable_taskschd
1464 enable_tdh
1465 enable_tdi_sys
1466 enable_traffic
1467 enable_twain_32
1468 enable_ucrtbase
1469 enable_uiautomationcore
1470 enable_uiribbon
1471 enable_unicows
1472 enable_updspapi
1473 enable_url
1474 enable_urlmon
1475 enable_usbd_sys
1476 enable_user32
1477 enable_userenv
1478 enable_usp10
1479 enable_uxtheme
1480 enable_vbscript
1481 enable_vcomp
1482 enable_vcomp100
1483 enable_vcomp110
1484 enable_vcomp120
1485 enable_vcomp140
1486 enable_vcomp90
1487 enable_vcruntime140
1488 enable_vdmdbg
1489 enable_version
1490 enable_virtdisk
1491 enable_vssapi
1492 enable_wbemdisp
1493 enable_wbemprox
1494 enable_webservices
1495 enable_wer
1496 enable_wevtapi
1497 enable_wiaservc
1498 enable_wimgapi
1499 enable_windowscodecs
1500 enable_windowscodecsext
1501 enable_winealsa_drv
1502 enable_wineandroid_drv
1503 enable_winebus_sys
1504 enable_winecoreaudio_drv
1505 enable_wined3d
1506 enable_winegstreamer
1507 enable_winehid_sys
1508 enable_winejoystick_drv
1509 enable_winemac_drv
1510 enable_winemapi
1511 enable_winemp3_acm
1512 enable_wineoss_drv
1513 enable_wineps_drv
1514 enable_winepulse_drv
1515 enable_wineqtdecoder
1516 enable_winex11_drv
1517 enable_wing32
1518 enable_winhttp
1519 enable_wininet
1520 enable_winmm
1521 enable_winnls32
1522 enable_winscard
1523 enable_winspool_drv
1524 enable_winsta
1525 enable_wintab32
1526 enable_wintrust
1527 enable_winusb
1528 enable_wlanapi
1529 enable_wldap32
1530 enable_wmasf
1531 enable_wmi
1532 enable_wmiutils
1533 enable_wmp
1534 enable_wmphoto
1535 enable_wmvcore
1536 enable_wnaspi32
1537 enable_wpc
1538 enable_wpcap
1539 enable_ws2_32
1540 enable_wsdapi
1541 enable_wshom_ocx
1542 enable_wsnmp32
1543 enable_wsock32
1544 enable_wtsapi32
1545 enable_wuapi
1546 enable_wuaueng
1547 enable_x3daudio1_0
1548 enable_x3daudio1_1
1549 enable_x3daudio1_2
1550 enable_x3daudio1_3
1551 enable_x3daudio1_4
1552 enable_x3daudio1_5
1553 enable_x3daudio1_6
1554 enable_x3daudio1_7
1555 enable_xapofx1_1
1556 enable_xapofx1_2
1557 enable_xapofx1_3
1558 enable_xapofx1_4
1559 enable_xapofx1_5
1560 enable_xaudio2_0
1561 enable_xaudio2_1
1562 enable_xaudio2_2
1563 enable_xaudio2_3
1564 enable_xaudio2_4
1565 enable_xaudio2_5
1566 enable_xaudio2_6
1567 enable_xaudio2_7
1568 enable_xaudio2_8
1569 enable_xaudio2_9
1570 enable_xinput1_1
1571 enable_xinput1_2
1572 enable_xinput1_3
1573 enable_xinput1_4
1574 enable_xinput9_1_0
1575 enable_xmllite
1576 enable_xolehlp
1577 enable_xpsprint
1578 enable_xpssvcs
1579 enable_fonts
1580 enable_include
1581 enable_libs_port
1582 enable_libs_wine
1583 enable_libs_wpp
1584 enable_loader
1585 enable_po
1586 enable_arp
1587 enable_aspnet_regiis
1588 enable_attrib
1589 enable_cabarc
1590 enable_cacls
1591 enable_clock
1592 enable_cmd
1593 enable_conhost
1594 enable_control
1595 enable_cscript
1596 enable_dpnsvr
1597 enable_dxdiag
1598 enable_eject
1599 enable_expand
1600 enable_explorer
1601 enable_extrac32
1602 enable_findstr
1603 enable_fsutil
1604 enable_hh
1605 enable_hostname
1606 enable_icacls
1607 enable_icinfo
1608 enable_iexplore
1609 enable_ipconfig
1610 enable_lodctr
1611 enable_mofcomp
1612 enable_mshta
1613 enable_msiexec
1614 enable_msinfo32
1615 enable_net
1616 enable_netsh
1617 enable_netstat
1618 enable_ngen
1619 enable_notepad
1620 enable_oleview
1621 enable_ping
1622 enable_plugplay
1623 enable_powershell
1624 enable_presentationfontcache
1625 enable_progman
1626 enable_reg
1627 enable_regasm
1628 enable_regedit
1629 enable_regsvcs
1630 enable_regsvr32
1631 enable_rpcss
1632 enable_rundll32
1633 enable_sc
1634 enable_schtasks
1635 enable_sdbinst
1636 enable_secedit
1637 enable_servicemodelreg
1638 enable_services
1639 enable_shutdown
1640 enable_spoolsv
1641 enable_start
1642 enable_subst
1643 enable_svchost
1644 enable_systeminfo
1645 enable_taskkill
1646 enable_tasklist
1647 enable_taskmgr
1648 enable_termsv
1649 enable_uninstaller
1650 enable_unlodctr
1651 enable_view
1652 enable_wevtutil
1653 enable_wineboot
1654 enable_winebrowser
1655 enable_winecfg
1656 enable_wineconsole
1657 enable_winedbg
1658 enable_winedevice
1659 enable_winefile
1660 enable_winemenubuilder
1661 enable_winemine
1662 enable_winemsibuilder
1663 enable_winepath
1664 enable_winetest
1665 enable_winhlp32
1666 enable_winver
1667 enable_wmic
1668 enable_wmplayer
1669 enable_wordpad
1670 enable_write
1671 enable_wscript
1672 enable_wusa
1673 enable_xcopy
1674 enable_server
1675 enable_tools
1677 ac_precious_vars='build_alias
1678 host_alias
1679 target_alias
1681 CFLAGS
1682 LDFLAGS
1683 LIBS
1684 CPPFLAGS
1686 CXXFLAGS
1689 XMKMF
1690 XML2_CFLAGS
1691 XML2_LIBS
1692 XSLT_CFLAGS
1693 XSLT_LIBS
1694 DBUS_CFLAGS
1695 DBUS_LIBS
1696 HAL_CFLAGS
1697 HAL_LIBS
1698 GNUTLS_CFLAGS
1699 GNUTLS_LIBS
1700 SANE_CFLAGS
1701 SANE_LIBS
1702 GPHOTO2_CFLAGS
1703 GPHOTO2_LIBS
1704 GPHOTO2_PORT_CFLAGS
1705 GPHOTO2_PORT_LIBS
1706 LCMS2_CFLAGS
1707 LCMS2_LIBS
1708 FREETYPE_CFLAGS
1709 FREETYPE_LIBS
1710 PULSE_CFLAGS
1711 PULSE_LIBS
1712 GSTREAMER_CFLAGS
1713 GSTREAMER_LIBS
1714 UDEV_CFLAGS
1715 UDEV_LIBS
1716 CAPI20_CFLAGS
1717 CAPI20_LIBS
1718 CUPS_CFLAGS
1719 CUPS_LIBS
1720 FONTCONFIG_CFLAGS
1721 FONTCONFIG_LIBS
1722 JPEG_CFLAGS
1723 JPEG_LIBS
1724 PNG_CFLAGS
1725 PNG_LIBS
1726 TIFF_CFLAGS
1727 TIFF_LIBS
1728 MPG123_CFLAGS
1729 MPG123_LIBS
1730 NETAPI_CFLAGS
1731 NETAPI_LIBS
1732 LDAP_CFLAGS
1733 LDAP_LIBS'
1736 # Initialize some variables set by options.
1737 ac_init_help=
1738 ac_init_version=false
1739 ac_unrecognized_opts=
1740 ac_unrecognized_sep=
1741 # The variables have the same names as the options, with
1742 # dashes changed to underlines.
1743 cache_file=/dev/null
1744 exec_prefix=NONE
1745 no_create=
1746 no_recursion=
1747 prefix=NONE
1748 program_prefix=NONE
1749 program_suffix=NONE
1750 program_transform_name=s,x,x,
1751 silent=
1752 site=
1753 srcdir=
1754 verbose=
1755 x_includes=NONE
1756 x_libraries=NONE
1758 # Installation directory options.
1759 # These are left unexpanded so users can "make install exec_prefix=/foo"
1760 # and all the variables that are supposed to be based on exec_prefix
1761 # by default will actually change.
1762 # Use braces instead of parens because sh, perl, etc. also accept them.
1763 # (The list follows the same order as the GNU Coding Standards.)
1764 bindir='${exec_prefix}/bin'
1765 sbindir='${exec_prefix}/sbin'
1766 libexecdir='${exec_prefix}/libexec'
1767 datarootdir='${prefix}/share'
1768 datadir='${datarootdir}'
1769 sysconfdir='${prefix}/etc'
1770 sharedstatedir='${prefix}/com'
1771 localstatedir='${prefix}/var'
1772 runstatedir='${localstatedir}/run'
1773 includedir='${prefix}/include'
1774 oldincludedir='/usr/include'
1775 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1776 infodir='${datarootdir}/info'
1777 htmldir='${docdir}'
1778 dvidir='${docdir}'
1779 pdfdir='${docdir}'
1780 psdir='${docdir}'
1781 libdir='${exec_prefix}/lib'
1782 localedir='${datarootdir}/locale'
1783 mandir='${datarootdir}/man'
1785 ac_prev=
1786 ac_dashdash=
1787 for ac_option
1789 # If the previous option needs an argument, assign it.
1790 if test -n "$ac_prev"; then
1791 eval $ac_prev=\$ac_option
1792 ac_prev=
1793 continue
1796 case $ac_option in
1797 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1798 *=) ac_optarg= ;;
1799 *) ac_optarg=yes ;;
1800 esac
1802 # Accept the important Cygnus configure options, so we can diagnose typos.
1804 case $ac_dashdash$ac_option in
1806 ac_dashdash=yes ;;
1808 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1809 ac_prev=bindir ;;
1810 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1811 bindir=$ac_optarg ;;
1813 -build | --build | --buil | --bui | --bu)
1814 ac_prev=build_alias ;;
1815 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1816 build_alias=$ac_optarg ;;
1818 -cache-file | --cache-file | --cache-fil | --cache-fi \
1819 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1820 ac_prev=cache_file ;;
1821 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1822 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1823 cache_file=$ac_optarg ;;
1825 --config-cache | -C)
1826 cache_file=config.cache ;;
1828 -datadir | --datadir | --datadi | --datad)
1829 ac_prev=datadir ;;
1830 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1831 datadir=$ac_optarg ;;
1833 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1834 | --dataroo | --dataro | --datar)
1835 ac_prev=datarootdir ;;
1836 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1837 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1838 datarootdir=$ac_optarg ;;
1840 -disable-* | --disable-*)
1841 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1842 # Reject names that are not valid shell variable names.
1843 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1844 as_fn_error $? "invalid feature name: $ac_useropt"
1845 ac_useropt_orig=$ac_useropt
1846 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1847 case $ac_user_opts in
1849 "enable_$ac_useropt"
1850 "*) ;;
1851 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1852 ac_unrecognized_sep=', ';;
1853 esac
1854 eval enable_$ac_useropt=no ;;
1856 -docdir | --docdir | --docdi | --doc | --do)
1857 ac_prev=docdir ;;
1858 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1859 docdir=$ac_optarg ;;
1861 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1862 ac_prev=dvidir ;;
1863 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1864 dvidir=$ac_optarg ;;
1866 -enable-* | --enable-*)
1867 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1868 # Reject names that are not valid shell variable names.
1869 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1870 as_fn_error $? "invalid feature name: $ac_useropt"
1871 ac_useropt_orig=$ac_useropt
1872 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1873 case $ac_user_opts in
1875 "enable_$ac_useropt"
1876 "*) ;;
1877 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1878 ac_unrecognized_sep=', ';;
1879 esac
1880 eval enable_$ac_useropt=\$ac_optarg ;;
1882 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1883 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1884 | --exec | --exe | --ex)
1885 ac_prev=exec_prefix ;;
1886 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1887 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1888 | --exec=* | --exe=* | --ex=*)
1889 exec_prefix=$ac_optarg ;;
1891 -gas | --gas | --ga | --g)
1892 # Obsolete; use --with-gas.
1893 with_gas=yes ;;
1895 -help | --help | --hel | --he | -h)
1896 ac_init_help=long ;;
1897 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1898 ac_init_help=recursive ;;
1899 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1900 ac_init_help=short ;;
1902 -host | --host | --hos | --ho)
1903 ac_prev=host_alias ;;
1904 -host=* | --host=* | --hos=* | --ho=*)
1905 host_alias=$ac_optarg ;;
1907 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1908 ac_prev=htmldir ;;
1909 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1910 | --ht=*)
1911 htmldir=$ac_optarg ;;
1913 -includedir | --includedir | --includedi | --included | --include \
1914 | --includ | --inclu | --incl | --inc)
1915 ac_prev=includedir ;;
1916 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1917 | --includ=* | --inclu=* | --incl=* | --inc=*)
1918 includedir=$ac_optarg ;;
1920 -infodir | --infodir | --infodi | --infod | --info | --inf)
1921 ac_prev=infodir ;;
1922 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1923 infodir=$ac_optarg ;;
1925 -libdir | --libdir | --libdi | --libd)
1926 ac_prev=libdir ;;
1927 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1928 libdir=$ac_optarg ;;
1930 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1931 | --libexe | --libex | --libe)
1932 ac_prev=libexecdir ;;
1933 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1934 | --libexe=* | --libex=* | --libe=*)
1935 libexecdir=$ac_optarg ;;
1937 -localedir | --localedir | --localedi | --localed | --locale)
1938 ac_prev=localedir ;;
1939 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1940 localedir=$ac_optarg ;;
1942 -localstatedir | --localstatedir | --localstatedi | --localstated \
1943 | --localstate | --localstat | --localsta | --localst | --locals)
1944 ac_prev=localstatedir ;;
1945 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1946 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1947 localstatedir=$ac_optarg ;;
1949 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1950 ac_prev=mandir ;;
1951 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1952 mandir=$ac_optarg ;;
1954 -nfp | --nfp | --nf)
1955 # Obsolete; use --without-fp.
1956 with_fp=no ;;
1958 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1959 | --no-cr | --no-c | -n)
1960 no_create=yes ;;
1962 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1963 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1964 no_recursion=yes ;;
1966 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1967 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1968 | --oldin | --oldi | --old | --ol | --o)
1969 ac_prev=oldincludedir ;;
1970 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1971 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1972 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1973 oldincludedir=$ac_optarg ;;
1975 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1976 ac_prev=prefix ;;
1977 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1978 prefix=$ac_optarg ;;
1980 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1981 | --program-pre | --program-pr | --program-p)
1982 ac_prev=program_prefix ;;
1983 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1984 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1985 program_prefix=$ac_optarg ;;
1987 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1988 | --program-suf | --program-su | --program-s)
1989 ac_prev=program_suffix ;;
1990 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1991 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1992 program_suffix=$ac_optarg ;;
1994 -program-transform-name | --program-transform-name \
1995 | --program-transform-nam | --program-transform-na \
1996 | --program-transform-n | --program-transform- \
1997 | --program-transform | --program-transfor \
1998 | --program-transfo | --program-transf \
1999 | --program-trans | --program-tran \
2000 | --progr-tra | --program-tr | --program-t)
2001 ac_prev=program_transform_name ;;
2002 -program-transform-name=* | --program-transform-name=* \
2003 | --program-transform-nam=* | --program-transform-na=* \
2004 | --program-transform-n=* | --program-transform-=* \
2005 | --program-transform=* | --program-transfor=* \
2006 | --program-transfo=* | --program-transf=* \
2007 | --program-trans=* | --program-tran=* \
2008 | --progr-tra=* | --program-tr=* | --program-t=*)
2009 program_transform_name=$ac_optarg ;;
2011 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2012 ac_prev=pdfdir ;;
2013 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2014 pdfdir=$ac_optarg ;;
2016 -psdir | --psdir | --psdi | --psd | --ps)
2017 ac_prev=psdir ;;
2018 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2019 psdir=$ac_optarg ;;
2021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2022 | -silent | --silent | --silen | --sile | --sil)
2023 silent=yes ;;
2025 -runstatedir | --runstatedir | --runstatedi | --runstated \
2026 | --runstate | --runstat | --runsta | --runst | --runs \
2027 | --run | --ru | --r)
2028 ac_prev=runstatedir ;;
2029 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2030 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2031 | --run=* | --ru=* | --r=*)
2032 runstatedir=$ac_optarg ;;
2034 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2035 ac_prev=sbindir ;;
2036 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2037 | --sbi=* | --sb=*)
2038 sbindir=$ac_optarg ;;
2040 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2041 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2042 | --sharedst | --shareds | --shared | --share | --shar \
2043 | --sha | --sh)
2044 ac_prev=sharedstatedir ;;
2045 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2046 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2047 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2048 | --sha=* | --sh=*)
2049 sharedstatedir=$ac_optarg ;;
2051 -site | --site | --sit)
2052 ac_prev=site ;;
2053 -site=* | --site=* | --sit=*)
2054 site=$ac_optarg ;;
2056 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2057 ac_prev=srcdir ;;
2058 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2059 srcdir=$ac_optarg ;;
2061 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2062 | --syscon | --sysco | --sysc | --sys | --sy)
2063 ac_prev=sysconfdir ;;
2064 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2065 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2066 sysconfdir=$ac_optarg ;;
2068 -target | --target | --targe | --targ | --tar | --ta | --t)
2069 ac_prev=target_alias ;;
2070 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2071 target_alias=$ac_optarg ;;
2073 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2074 verbose=yes ;;
2076 -version | --version | --versio | --versi | --vers | -V)
2077 ac_init_version=: ;;
2079 -with-* | --with-*)
2080 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2081 # Reject names that are not valid shell variable names.
2082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2083 as_fn_error $? "invalid package name: $ac_useropt"
2084 ac_useropt_orig=$ac_useropt
2085 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2086 case $ac_user_opts in
2088 "with_$ac_useropt"
2089 "*) ;;
2090 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2091 ac_unrecognized_sep=', ';;
2092 esac
2093 eval with_$ac_useropt=\$ac_optarg ;;
2095 -without-* | --without-*)
2096 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2097 # Reject names that are not valid shell variable names.
2098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2099 as_fn_error $? "invalid package name: $ac_useropt"
2100 ac_useropt_orig=$ac_useropt
2101 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2102 case $ac_user_opts in
2104 "with_$ac_useropt"
2105 "*) ;;
2106 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2107 ac_unrecognized_sep=', ';;
2108 esac
2109 eval with_$ac_useropt=no ;;
2111 --x)
2112 # Obsolete; use --with-x.
2113 with_x=yes ;;
2115 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2116 | --x-incl | --x-inc | --x-in | --x-i)
2117 ac_prev=x_includes ;;
2118 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2119 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2120 x_includes=$ac_optarg ;;
2122 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2123 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2124 ac_prev=x_libraries ;;
2125 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2126 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2127 x_libraries=$ac_optarg ;;
2129 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2130 Try \`$0 --help' for more information"
2133 *=*)
2134 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2135 # Reject names that are not valid shell variable names.
2136 case $ac_envvar in #(
2137 '' | [0-9]* | *[!_$as_cr_alnum]* )
2138 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2139 esac
2140 eval $ac_envvar=\$ac_optarg
2141 export $ac_envvar ;;
2144 # FIXME: should be removed in autoconf 3.0.
2145 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2146 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2147 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2148 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2151 esac
2152 done
2154 if test -n "$ac_prev"; then
2155 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2156 as_fn_error $? "missing argument to $ac_option"
2159 if test -n "$ac_unrecognized_opts"; then
2160 case $enable_option_checking in
2161 no) ;;
2162 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2163 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2164 esac
2167 # Check all directory arguments for consistency.
2168 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2169 datadir sysconfdir sharedstatedir localstatedir includedir \
2170 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2171 libdir localedir mandir runstatedir
2173 eval ac_val=\$$ac_var
2174 # Remove trailing slashes.
2175 case $ac_val in
2176 */ )
2177 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2178 eval $ac_var=\$ac_val;;
2179 esac
2180 # Be sure to have absolute directory names.
2181 case $ac_val in
2182 [\\/$]* | ?:[\\/]* ) continue;;
2183 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2184 esac
2185 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2186 done
2188 # There might be people who depend on the old broken behavior: `$host'
2189 # used to hold the argument of --host etc.
2190 # FIXME: To remove some day.
2191 build=$build_alias
2192 host=$host_alias
2193 target=$target_alias
2195 # FIXME: To remove some day.
2196 if test "x$host_alias" != x; then
2197 if test "x$build_alias" = x; then
2198 cross_compiling=maybe
2199 elif test "x$build_alias" != "x$host_alias"; then
2200 cross_compiling=yes
2204 ac_tool_prefix=
2205 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2207 test "$silent" = yes && exec 6>/dev/null
2210 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2211 ac_ls_di=`ls -di .` &&
2212 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2213 as_fn_error $? "working directory cannot be determined"
2214 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2215 as_fn_error $? "pwd does not report name of working directory"
2218 # Find the source files, if location was not specified.
2219 if test -z "$srcdir"; then
2220 ac_srcdir_defaulted=yes
2221 # Try the directory containing this script, then the parent directory.
2222 ac_confdir=`$as_dirname -- "$as_myself" ||
2223 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2224 X"$as_myself" : 'X\(//\)[^/]' \| \
2225 X"$as_myself" : 'X\(//\)$' \| \
2226 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2227 $as_echo X"$as_myself" |
2228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2229 s//\1/
2232 /^X\(\/\/\)[^/].*/{
2233 s//\1/
2236 /^X\(\/\/\)$/{
2237 s//\1/
2240 /^X\(\/\).*/{
2241 s//\1/
2244 s/.*/./; q'`
2245 srcdir=$ac_confdir
2246 if test ! -r "$srcdir/$ac_unique_file"; then
2247 srcdir=..
2249 else
2250 ac_srcdir_defaulted=no
2252 if test ! -r "$srcdir/$ac_unique_file"; then
2253 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2254 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2256 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2257 ac_abs_confdir=`(
2258 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2259 pwd)`
2260 # When building in place, set srcdir=.
2261 if test "$ac_abs_confdir" = "$ac_pwd"; then
2262 srcdir=.
2264 # Remove unnecessary trailing slashes from srcdir.
2265 # Double slashes in file names in object file debugging info
2266 # mess up M-x gdb in Emacs.
2267 case $srcdir in
2268 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2269 esac
2270 for ac_var in $ac_precious_vars; do
2271 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2272 eval ac_env_${ac_var}_value=\$${ac_var}
2273 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2274 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2275 done
2278 # Report the --help message.
2280 if test "$ac_init_help" = "long"; then
2281 # Omit some internal or obsolete options to make the list less imposing.
2282 # This message is too long to be a string in the A/UX 3.1 sh.
2283 cat <<_ACEOF
2284 \`configure' configures Wine 2.18 to adapt to many kinds of systems.
2286 Usage: $0 [OPTION]... [VAR=VALUE]...
2288 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2289 VAR=VALUE. See below for descriptions of some of the useful variables.
2291 Defaults for the options are specified in brackets.
2293 Configuration:
2294 -h, --help display this help and exit
2295 --help=short display options specific to this package
2296 --help=recursive display the short help of all the included packages
2297 -V, --version display version information and exit
2298 -q, --quiet, --silent do not print \`checking ...' messages
2299 --cache-file=FILE cache test results in FILE [disabled]
2300 -C, --config-cache alias for \`--cache-file=config.cache'
2301 -n, --no-create do not create output files
2302 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2304 Installation directories:
2305 --prefix=PREFIX install architecture-independent files in PREFIX
2306 [$ac_default_prefix]
2307 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2308 [PREFIX]
2310 By default, \`make install' will install all the files in
2311 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2312 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2313 for instance \`--prefix=\$HOME'.
2315 For better control, use the options below.
2317 Fine tuning of the installation directories:
2318 --bindir=DIR user executables [EPREFIX/bin]
2319 --sbindir=DIR system admin executables [EPREFIX/sbin]
2320 --libexecdir=DIR program executables [EPREFIX/libexec]
2321 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2322 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2323 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2324 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2325 --libdir=DIR object code libraries [EPREFIX/lib]
2326 --includedir=DIR C header files [PREFIX/include]
2327 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2328 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2329 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2330 --infodir=DIR info documentation [DATAROOTDIR/info]
2331 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2332 --mandir=DIR man documentation [DATAROOTDIR/man]
2333 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2334 --htmldir=DIR html documentation [DOCDIR]
2335 --dvidir=DIR dvi documentation [DOCDIR]
2336 --pdfdir=DIR pdf documentation [DOCDIR]
2337 --psdir=DIR ps documentation [DOCDIR]
2338 _ACEOF
2340 cat <<\_ACEOF
2342 X features:
2343 --x-includes=DIR X include files are in DIR
2344 --x-libraries=DIR X library files are in DIR
2346 System types:
2347 --build=BUILD configure for building on BUILD [guessed]
2348 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2349 _ACEOF
2352 if test -n "$ac_init_help"; then
2353 case $ac_init_help in
2354 short | recursive ) echo "Configuration of Wine 2.18:";;
2355 esac
2356 cat <<\_ACEOF
2358 Optional Features:
2359 --disable-option-checking ignore unrecognized --enable/--with options
2360 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2361 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2362 --disable-win16 do not include Win16 support
2363 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2364 binaries)
2365 --disable-tests do not build the regression tests
2366 --enable-maintainer-mode
2367 enable maintainer-specific build rules
2368 --disable-largefile omit support for large files
2370 Optional Packages:
2371 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2372 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2373 --without-alsa do not use the Alsa sound support
2374 --without-capi do not use CAPI (ISDN support)
2375 --without-cms do not use CMS (color management support)
2376 --without-coreaudio do not use the CoreAudio sound support
2377 --without-cups do not use CUPS
2378 --without-curses do not use (n)curses
2379 --without-dbus do not use DBus (dynamic device support)
2380 --without-fontconfig do not use fontconfig
2381 --without-freetype do not use the FreeType library
2382 --without-gettext do not use gettext
2383 --with-gettextpo use the GetTextPO library to rebuild po files
2384 --without-gphoto do not use gphoto (Digital Camera support)
2385 --without-glu do not use the GLU library
2386 --without-gnutls do not use GnuTLS (schannel support)
2387 --without-gsm do not use libgsm (GSM 06.10 codec support)
2388 --without-gstreamer do not use GStreamer (codecs support)
2389 --without-hal do not use HAL (dynamic device support)
2390 --without-jpeg do not use JPEG
2391 --without-ldap do not use LDAP
2392 --without-mpg123 do not use the mpg123 library
2393 --without-netapi do not use the Samba NetAPI library
2394 --without-openal do not use OpenAL
2395 --without-opencl do not use OpenCL
2396 --without-opengl do not use OpenGL
2397 --without-osmesa do not use the OSMesa library
2398 --without-oss do not use the OSS sound support
2399 --without-pcap do not use the Packet Capture library
2400 --without-png do not use PNG
2401 --without-pthread do not use the pthread library
2402 --without-pulse do not use PulseAudio sound support
2403 --without-sane do not use SANE (scanner support)
2404 --without-tiff do not use TIFF
2405 --without-udev do not use udev (plug and play support)
2406 --without-v4l do not use v4l1 (v4l support)
2407 --without-xcomposite do not use the Xcomposite extension
2408 --without-xcursor do not use the Xcursor extension
2409 --without-xfixes do not use Xfixes for clipboard change notifications
2410 --without-xinerama do not use Xinerama (multi-monitor support)
2411 --without-xinput do not use the Xinput extension
2412 --without-xinput2 do not use the Xinput 2 extension
2413 --without-xml do not use XML
2414 --without-xrandr do not use Xrandr (resolution changes)
2415 --without-xrender do not use the Xrender extension
2416 --without-xshape do not use the Xshape extension
2417 --without-xshm do not use XShm (shared memory extension)
2418 --without-xslt do not use XSLT
2419 --without-xxf86vm do not use XFree video mode extension
2420 --without-zlib do not use Zlib (data compression)
2421 --with-wine-tools=DIR use Wine tools from directory DIR
2422 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2423 --with-x use the X Window System
2425 Some influential environment variables:
2426 CC C compiler command
2427 CFLAGS C compiler flags
2428 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2429 nonstandard directory <lib dir>
2430 LIBS libraries to pass to the linker, e.g. -l<library>
2431 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2432 you have headers in a nonstandard directory <include dir>
2433 CXX C++ compiler command
2434 CXXFLAGS C++ compiler flags
2435 CPP C preprocessor
2436 XMKMF Path to xmkmf, Makefile generator for X Window System
2437 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2438 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2439 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2440 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2441 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2442 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2443 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2444 HAL_LIBS Linker flags for hal, overriding pkg-config
2445 GNUTLS_CFLAGS
2446 C compiler flags for gnutls, overriding pkg-config
2447 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2448 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2449 SANE_LIBS Linker flags for libsane, overriding pkg-config
2450 GPHOTO2_CFLAGS
2451 C compiler flags for libgphoto2, overriding pkg-config
2452 GPHOTO2_LIBS
2453 Linker flags for libgphoto2, overriding pkg-config
2454 GPHOTO2_PORT_CFLAGS
2455 C compiler flags for libgphoto2_port, overriding pkg-config
2456 GPHOTO2_PORT_LIBS
2457 Linker flags for libgphoto2_port, overriding pkg-config
2458 LCMS2_CFLAGS
2459 C compiler flags for lcms2, overriding pkg-config
2460 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2461 FREETYPE_CFLAGS
2462 C compiler flags for freetype2, overriding pkg-config
2463 FREETYPE_LIBS
2464 Linker flags for freetype2, overriding pkg-config
2465 PULSE_CFLAGS
2466 C compiler flags for libpulse, overriding pkg-config
2467 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2468 GSTREAMER_CFLAGS
2469 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2470 gstreamer-audio-1.0, overriding pkg-config
2471 GSTREAMER_LIBS
2472 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2473 gstreamer-audio-1.0, overriding pkg-config
2474 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2475 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2476 CAPI20_CFLAGS
2477 C compiler flags for capi20, overriding pkg-config
2478 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2479 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2480 CUPS_LIBS Linker flags for cups, overriding pkg-config
2481 FONTCONFIG_CFLAGS
2482 C compiler flags for fontconfig, overriding pkg-config
2483 FONTCONFIG_LIBS
2484 Linker flags for fontconfig, overriding pkg-config
2485 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2486 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2487 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2488 PNG_LIBS Linker flags for libpng, overriding pkg-config
2489 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2490 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2491 MPG123_CFLAGS
2492 C compiler flags for libmpg123, overriding pkg-config
2493 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2494 NETAPI_CFLAGS
2495 C compiler flags for netapi, overriding pkg-config
2496 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2497 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2498 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2500 Use these variables to override the choices made by `configure' or to help
2501 it to find libraries and programs with nonstandard names/locations.
2503 Report bugs to <wine-devel@winehq.org>.
2504 Wine home page: <http://www.winehq.org>.
2505 _ACEOF
2506 ac_status=$?
2509 if test "$ac_init_help" = "recursive"; then
2510 # If there are subdirs, report their specific --help.
2511 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2512 test -d "$ac_dir" ||
2513 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2514 continue
2515 ac_builddir=.
2517 case "$ac_dir" in
2518 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2520 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2521 # A ".." for each directory in $ac_dir_suffix.
2522 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2523 case $ac_top_builddir_sub in
2524 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2525 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2526 esac ;;
2527 esac
2528 ac_abs_top_builddir=$ac_pwd
2529 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2530 # for backward compatibility:
2531 ac_top_builddir=$ac_top_build_prefix
2533 case $srcdir in
2534 .) # We are building in place.
2535 ac_srcdir=.
2536 ac_top_srcdir=$ac_top_builddir_sub
2537 ac_abs_top_srcdir=$ac_pwd ;;
2538 [\\/]* | ?:[\\/]* ) # Absolute name.
2539 ac_srcdir=$srcdir$ac_dir_suffix;
2540 ac_top_srcdir=$srcdir
2541 ac_abs_top_srcdir=$srcdir ;;
2542 *) # Relative name.
2543 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2544 ac_top_srcdir=$ac_top_build_prefix$srcdir
2545 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2546 esac
2547 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2549 cd "$ac_dir" || { ac_status=$?; continue; }
2550 # Check for guested configure.
2551 if test -f "$ac_srcdir/configure.gnu"; then
2552 echo &&
2553 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2554 elif test -f "$ac_srcdir/configure"; then
2555 echo &&
2556 $SHELL "$ac_srcdir/configure" --help=recursive
2557 else
2558 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2559 fi || ac_status=$?
2560 cd "$ac_pwd" || { ac_status=$?; break; }
2561 done
2564 test -n "$ac_init_help" && exit $ac_status
2565 if $ac_init_version; then
2566 cat <<\_ACEOF
2567 Wine configure 2.18
2568 generated by GNU Autoconf 2.69
2570 Copyright (C) 2012 Free Software Foundation, Inc.
2571 This configure script is free software; the Free Software Foundation
2572 gives unlimited permission to copy, distribute and modify it.
2573 _ACEOF
2574 exit
2577 ## ------------------------ ##
2578 ## Autoconf initialization. ##
2579 ## ------------------------ ##
2581 # ac_fn_c_try_compile LINENO
2582 # --------------------------
2583 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2584 ac_fn_c_try_compile ()
2586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2587 rm -f conftest.$ac_objext
2588 if { { ac_try="$ac_compile"
2589 case "(($ac_try" in
2590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2592 esac
2593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2594 $as_echo "$ac_try_echo"; } >&5
2595 (eval "$ac_compile") 2>conftest.err
2596 ac_status=$?
2597 if test -s conftest.err; then
2598 grep -v '^ *+' conftest.err >conftest.er1
2599 cat conftest.er1 >&5
2600 mv -f conftest.er1 conftest.err
2602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2603 test $ac_status = 0; } && {
2604 test -z "$ac_c_werror_flag" ||
2605 test ! -s conftest.err
2606 } && test -s conftest.$ac_objext; then :
2607 ac_retval=0
2608 else
2609 $as_echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2612 ac_retval=1
2614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2615 as_fn_set_status $ac_retval
2617 } # ac_fn_c_try_compile
2619 # ac_fn_cxx_try_compile LINENO
2620 # ----------------------------
2621 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2622 ac_fn_cxx_try_compile ()
2624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2625 rm -f conftest.$ac_objext
2626 if { { ac_try="$ac_compile"
2627 case "(($ac_try" in
2628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2629 *) ac_try_echo=$ac_try;;
2630 esac
2631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2632 $as_echo "$ac_try_echo"; } >&5
2633 (eval "$ac_compile") 2>conftest.err
2634 ac_status=$?
2635 if test -s conftest.err; then
2636 grep -v '^ *+' conftest.err >conftest.er1
2637 cat conftest.er1 >&5
2638 mv -f conftest.er1 conftest.err
2640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2641 test $ac_status = 0; } && {
2642 test -z "$ac_cxx_werror_flag" ||
2643 test ! -s conftest.err
2644 } && test -s conftest.$ac_objext; then :
2645 ac_retval=0
2646 else
2647 $as_echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.$ac_ext >&5
2650 ac_retval=1
2652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2653 as_fn_set_status $ac_retval
2655 } # ac_fn_cxx_try_compile
2657 # ac_fn_c_try_link LINENO
2658 # -----------------------
2659 # Try to link conftest.$ac_ext, and return whether this succeeded.
2660 ac_fn_c_try_link ()
2662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2663 rm -f conftest.$ac_objext conftest$ac_exeext
2664 if { { ac_try="$ac_link"
2665 case "(($ac_try" in
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2668 esac
2669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2670 $as_echo "$ac_try_echo"; } >&5
2671 (eval "$ac_link") 2>conftest.err
2672 ac_status=$?
2673 if test -s conftest.err; then
2674 grep -v '^ *+' conftest.err >conftest.er1
2675 cat conftest.er1 >&5
2676 mv -f conftest.er1 conftest.err
2678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2679 test $ac_status = 0; } && {
2680 test -z "$ac_c_werror_flag" ||
2681 test ! -s conftest.err
2682 } && test -s conftest$ac_exeext && {
2683 test "$cross_compiling" = yes ||
2684 test -x conftest$ac_exeext
2685 }; then :
2686 ac_retval=0
2687 else
2688 $as_echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.$ac_ext >&5
2691 ac_retval=1
2693 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2694 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2695 # interfere with the next link command; also delete a directory that is
2696 # left behind by Apple's compiler. We do this before executing the actions.
2697 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2699 as_fn_set_status $ac_retval
2701 } # ac_fn_c_try_link
2703 # ac_fn_c_try_cpp LINENO
2704 # ----------------------
2705 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2706 ac_fn_c_try_cpp ()
2708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2709 if { { ac_try="$ac_cpp conftest.$ac_ext"
2710 case "(($ac_try" in
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2713 esac
2714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2715 $as_echo "$ac_try_echo"; } >&5
2716 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2717 ac_status=$?
2718 if test -s conftest.err; then
2719 grep -v '^ *+' conftest.err >conftest.er1
2720 cat conftest.er1 >&5
2721 mv -f conftest.er1 conftest.err
2723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2724 test $ac_status = 0; } > conftest.i && {
2725 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2726 test ! -s conftest.err
2727 }; then :
2728 ac_retval=0
2729 else
2730 $as_echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2733 ac_retval=1
2735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2736 as_fn_set_status $ac_retval
2738 } # ac_fn_c_try_cpp
2740 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2741 # -------------------------------------------------------
2742 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2743 # the include files in INCLUDES and setting the cache variable VAR
2744 # accordingly.
2745 ac_fn_c_check_header_mongrel ()
2747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2748 if eval \${$3+:} false; then :
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2750 $as_echo_n "checking for $2... " >&6; }
2751 if eval \${$3+:} false; then :
2752 $as_echo_n "(cached) " >&6
2754 eval ac_res=\$$3
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2756 $as_echo "$ac_res" >&6; }
2757 else
2758 # Is the header compilable?
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2760 $as_echo_n "checking $2 usability... " >&6; }
2761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2762 /* end confdefs.h. */
2764 #include <$2>
2765 _ACEOF
2766 if ac_fn_c_try_compile "$LINENO"; then :
2767 ac_header_compiler=yes
2768 else
2769 ac_header_compiler=no
2771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2773 $as_echo "$ac_header_compiler" >&6; }
2775 # Is the header present?
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2777 $as_echo_n "checking $2 presence... " >&6; }
2778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2780 #include <$2>
2781 _ACEOF
2782 if ac_fn_c_try_cpp "$LINENO"; then :
2783 ac_header_preproc=yes
2784 else
2785 ac_header_preproc=no
2787 rm -f conftest.err conftest.i conftest.$ac_ext
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2789 $as_echo "$ac_header_preproc" >&6; }
2791 # So? What about this header?
2792 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2793 yes:no: )
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2795 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2797 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2799 no:yes:* )
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2801 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2803 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2805 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2807 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2809 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2810 ( $as_echo "## ------------------------------------ ##
2811 ## Report this to wine-devel@winehq.org ##
2812 ## ------------------------------------ ##"
2813 ) | sed "s/^/$as_me: WARNING: /" >&2
2815 esac
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2817 $as_echo_n "checking for $2... " >&6; }
2818 if eval \${$3+:} false; then :
2819 $as_echo_n "(cached) " >&6
2820 else
2821 eval "$3=\$ac_header_compiler"
2823 eval ac_res=\$$3
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2825 $as_echo "$ac_res" >&6; }
2827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2829 } # ac_fn_c_check_header_mongrel
2831 # ac_fn_c_try_run LINENO
2832 # ----------------------
2833 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2834 # that executables *can* be run.
2835 ac_fn_c_try_run ()
2837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2838 if { { ac_try="$ac_link"
2839 case "(($ac_try" in
2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2842 esac
2843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2844 $as_echo "$ac_try_echo"; } >&5
2845 (eval "$ac_link") 2>&5
2846 ac_status=$?
2847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2848 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2849 { { case "(($ac_try" in
2850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2851 *) ac_try_echo=$ac_try;;
2852 esac
2853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2854 $as_echo "$ac_try_echo"; } >&5
2855 (eval "$ac_try") 2>&5
2856 ac_status=$?
2857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2858 test $ac_status = 0; }; }; then :
2859 ac_retval=0
2860 else
2861 $as_echo "$as_me: program exited with status $ac_status" >&5
2862 $as_echo "$as_me: failed program was:" >&5
2863 sed 's/^/| /' conftest.$ac_ext >&5
2865 ac_retval=$ac_status
2867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 as_fn_set_status $ac_retval
2871 } # ac_fn_c_try_run
2873 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2874 # -------------------------------------------------------
2875 # Tests whether HEADER exists and can be compiled using the include files in
2876 # INCLUDES, setting the cache variable VAR accordingly.
2877 ac_fn_c_check_header_compile ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2881 $as_echo_n "checking for $2... " >&6; }
2882 if eval \${$3+:} false; then :
2883 $as_echo_n "(cached) " >&6
2884 else
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2888 #include <$2>
2889 _ACEOF
2890 if ac_fn_c_try_compile "$LINENO"; then :
2891 eval "$3=yes"
2892 else
2893 eval "$3=no"
2895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2897 eval ac_res=\$$3
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2899 $as_echo "$ac_res" >&6; }
2900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2902 } # ac_fn_c_check_header_compile
2904 # ac_fn_c_check_func LINENO FUNC VAR
2905 # ----------------------------------
2906 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2907 ac_fn_c_check_func ()
2909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2911 $as_echo_n "checking for $2... " >&6; }
2912 if eval \${$3+:} false; then :
2913 $as_echo_n "(cached) " >&6
2914 else
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2917 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2919 #define $2 innocuous_$2
2921 /* System header to define __stub macros and hopefully few prototypes,
2922 which can conflict with char $2 (); below.
2923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2924 <limits.h> exists even on freestanding compilers. */
2926 #ifdef __STDC__
2927 # include <limits.h>
2928 #else
2929 # include <assert.h>
2930 #endif
2932 #undef $2
2934 /* Override any GCC internal prototype to avoid an error.
2935 Use char because int might match the return type of a GCC
2936 builtin and then its argument prototype would still apply. */
2937 #ifdef __cplusplus
2938 extern "C"
2939 #endif
2940 char $2 ();
2941 /* The GNU C library defines this for functions which it implements
2942 to always fail with ENOSYS. Some functions are actually named
2943 something starting with __ and the normal name is an alias. */
2944 #if defined __stub_$2 || defined __stub___$2
2945 choke me
2946 #endif
2949 main ()
2951 return $2 ();
2953 return 0;
2955 _ACEOF
2956 if ac_fn_c_try_link "$LINENO"; then :
2957 eval "$3=yes"
2958 else
2959 eval "$3=no"
2961 rm -f core conftest.err conftest.$ac_objext \
2962 conftest$ac_exeext conftest.$ac_ext
2964 eval ac_res=\$$3
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2966 $as_echo "$ac_res" >&6; }
2967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2969 } # ac_fn_c_check_func
2971 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2972 # ----------------------------------------------------
2973 # Tries to find if the field MEMBER exists in type AGGR, after including
2974 # INCLUDES, setting cache variable VAR accordingly.
2975 ac_fn_c_check_member ()
2977 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2979 $as_echo_n "checking for $2.$3... " >&6; }
2980 if eval \${$4+:} false; then :
2981 $as_echo_n "(cached) " >&6
2982 else
2983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2984 /* end confdefs.h. */
2987 main ()
2989 static $2 ac_aggr;
2990 if (ac_aggr.$3)
2991 return 0;
2993 return 0;
2995 _ACEOF
2996 if ac_fn_c_try_compile "$LINENO"; then :
2997 eval "$4=yes"
2998 else
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3003 main ()
3005 static $2 ac_aggr;
3006 if (sizeof ac_aggr.$3)
3007 return 0;
3009 return 0;
3011 _ACEOF
3012 if ac_fn_c_try_compile "$LINENO"; then :
3013 eval "$4=yes"
3014 else
3015 eval "$4=no"
3017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3021 eval ac_res=\$$4
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3023 $as_echo "$ac_res" >&6; }
3024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3026 } # ac_fn_c_check_member
3028 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3029 # -------------------------------------------
3030 # Tests whether TYPE exists after having included INCLUDES, setting cache
3031 # variable VAR accordingly.
3032 ac_fn_c_check_type ()
3034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3036 $as_echo_n "checking for $2... " >&6; }
3037 if eval \${$3+:} false; then :
3038 $as_echo_n "(cached) " >&6
3039 else
3040 eval "$3=no"
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3045 main ()
3047 if (sizeof ($2))
3048 return 0;
3050 return 0;
3052 _ACEOF
3053 if ac_fn_c_try_compile "$LINENO"; then :
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3058 main ()
3060 if (sizeof (($2)))
3061 return 0;
3063 return 0;
3065 _ACEOF
3066 if ac_fn_c_try_compile "$LINENO"; then :
3068 else
3069 eval "$3=yes"
3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3075 eval ac_res=\$$3
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3077 $as_echo "$ac_res" >&6; }
3078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3080 } # ac_fn_c_check_type
3081 cat >config.log <<_ACEOF
3082 This file contains any messages produced by compilers while
3083 running configure, to aid debugging if configure makes a mistake.
3085 It was created by Wine $as_me 2.18, which was
3086 generated by GNU Autoconf 2.69. Invocation command line was
3088 $ $0 $@
3090 _ACEOF
3091 exec 5>>config.log
3093 cat <<_ASUNAME
3094 ## --------- ##
3095 ## Platform. ##
3096 ## --------- ##
3098 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3099 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3100 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3101 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3102 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3104 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3105 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3107 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3108 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3109 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3110 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3111 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3112 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3113 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3115 _ASUNAME
3117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3118 for as_dir in $PATH
3120 IFS=$as_save_IFS
3121 test -z "$as_dir" && as_dir=.
3122 $as_echo "PATH: $as_dir"
3123 done
3124 IFS=$as_save_IFS
3126 } >&5
3128 cat >&5 <<_ACEOF
3131 ## ----------- ##
3132 ## Core tests. ##
3133 ## ----------- ##
3135 _ACEOF
3138 # Keep a trace of the command line.
3139 # Strip out --no-create and --no-recursion so they do not pile up.
3140 # Strip out --silent because we don't want to record it for future runs.
3141 # Also quote any args containing shell meta-characters.
3142 # Make two passes to allow for proper duplicate-argument suppression.
3143 ac_configure_args=
3144 ac_configure_args0=
3145 ac_configure_args1=
3146 ac_must_keep_next=false
3147 for ac_pass in 1 2
3149 for ac_arg
3151 case $ac_arg in
3152 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3154 | -silent | --silent | --silen | --sile | --sil)
3155 continue ;;
3156 *\'*)
3157 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3158 esac
3159 case $ac_pass in
3160 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3162 as_fn_append ac_configure_args1 " '$ac_arg'"
3163 if test $ac_must_keep_next = true; then
3164 ac_must_keep_next=false # Got value, back to normal.
3165 else
3166 case $ac_arg in
3167 *=* | --config-cache | -C | -disable-* | --disable-* \
3168 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3169 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3170 | -with-* | --with-* | -without-* | --without-* | --x)
3171 case "$ac_configure_args0 " in
3172 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3173 esac
3175 -* ) ac_must_keep_next=true ;;
3176 esac
3178 as_fn_append ac_configure_args " '$ac_arg'"
3180 esac
3181 done
3182 done
3183 { ac_configure_args0=; unset ac_configure_args0;}
3184 { ac_configure_args1=; unset ac_configure_args1;}
3186 # When interrupted or exit'd, cleanup temporary files, and complete
3187 # config.log. We remove comments because anyway the quotes in there
3188 # would cause problems or look ugly.
3189 # WARNING: Use '\'' to represent an apostrophe within the trap.
3190 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3191 trap 'exit_status=$?
3192 # Save into config.log some information that might help in debugging.
3194 echo
3196 $as_echo "## ---------------- ##
3197 ## Cache variables. ##
3198 ## ---------------- ##"
3199 echo
3200 # The following way of writing the cache mishandles newlines in values,
3202 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3203 eval ac_val=\$$ac_var
3204 case $ac_val in #(
3205 *${as_nl}*)
3206 case $ac_var in #(
3207 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3208 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3209 esac
3210 case $ac_var in #(
3211 _ | IFS | as_nl) ;; #(
3212 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3213 *) { eval $ac_var=; unset $ac_var;} ;;
3214 esac ;;
3215 esac
3216 done
3217 (set) 2>&1 |
3218 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3219 *${as_nl}ac_space=\ *)
3220 sed -n \
3221 "s/'\''/'\''\\\\'\'''\''/g;
3222 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3223 ;; #(
3225 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3227 esac |
3228 sort
3230 echo
3232 $as_echo "## ----------------- ##
3233 ## Output variables. ##
3234 ## ----------------- ##"
3235 echo
3236 for ac_var in $ac_subst_vars
3238 eval ac_val=\$$ac_var
3239 case $ac_val in
3240 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3241 esac
3242 $as_echo "$ac_var='\''$ac_val'\''"
3243 done | sort
3244 echo
3246 if test -n "$ac_subst_files"; then
3247 $as_echo "## ------------------- ##
3248 ## File substitutions. ##
3249 ## ------------------- ##"
3250 echo
3251 for ac_var in $ac_subst_files
3253 eval ac_val=\$$ac_var
3254 case $ac_val in
3255 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3256 esac
3257 $as_echo "$ac_var='\''$ac_val'\''"
3258 done | sort
3259 echo
3262 if test -s confdefs.h; then
3263 $as_echo "## ----------- ##
3264 ## confdefs.h. ##
3265 ## ----------- ##"
3266 echo
3267 cat confdefs.h
3268 echo
3270 test "$ac_signal" != 0 &&
3271 $as_echo "$as_me: caught signal $ac_signal"
3272 $as_echo "$as_me: exit $exit_status"
3273 } >&5
3274 rm -f core *.core core.conftest.* &&
3275 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3276 exit $exit_status
3278 for ac_signal in 1 2 13 15; do
3279 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3280 done
3281 ac_signal=0
3283 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3284 rm -f -r conftest* confdefs.h
3286 $as_echo "/* confdefs.h */" > confdefs.h
3288 # Predefined preprocessor variables.
3290 cat >>confdefs.h <<_ACEOF
3291 #define PACKAGE_NAME "$PACKAGE_NAME"
3292 _ACEOF
3294 cat >>confdefs.h <<_ACEOF
3295 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3296 _ACEOF
3298 cat >>confdefs.h <<_ACEOF
3299 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3300 _ACEOF
3302 cat >>confdefs.h <<_ACEOF
3303 #define PACKAGE_STRING "$PACKAGE_STRING"
3304 _ACEOF
3306 cat >>confdefs.h <<_ACEOF
3307 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3308 _ACEOF
3310 cat >>confdefs.h <<_ACEOF
3311 #define PACKAGE_URL "$PACKAGE_URL"
3312 _ACEOF
3315 # Let the site file select an alternate cache file if it wants to.
3316 # Prefer an explicitly selected file to automatically selected ones.
3317 ac_site_file1=NONE
3318 ac_site_file2=NONE
3319 if test -n "$CONFIG_SITE"; then
3320 # We do not want a PATH search for config.site.
3321 case $CONFIG_SITE in #((
3322 -*) ac_site_file1=./$CONFIG_SITE;;
3323 */*) ac_site_file1=$CONFIG_SITE;;
3324 *) ac_site_file1=./$CONFIG_SITE;;
3325 esac
3326 elif test "x$prefix" != xNONE; then
3327 ac_site_file1=$prefix/share/config.site
3328 ac_site_file2=$prefix/etc/config.site
3329 else
3330 ac_site_file1=$ac_default_prefix/share/config.site
3331 ac_site_file2=$ac_default_prefix/etc/config.site
3333 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3335 test "x$ac_site_file" = xNONE && continue
3336 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3338 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3339 sed 's/^/| /' "$ac_site_file" >&5
3340 . "$ac_site_file" \
3341 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3343 as_fn_error $? "failed to load site script $ac_site_file
3344 See \`config.log' for more details" "$LINENO" 5; }
3346 done
3348 if test -r "$cache_file"; then
3349 # Some versions of bash will fail to source /dev/null (special files
3350 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3351 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3353 $as_echo "$as_me: loading cache $cache_file" >&6;}
3354 case $cache_file in
3355 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3356 *) . "./$cache_file";;
3357 esac
3359 else
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3361 $as_echo "$as_me: creating cache $cache_file" >&6;}
3362 >$cache_file
3365 # Check that the precious variables saved in the cache have kept the same
3366 # value.
3367 ac_cache_corrupted=false
3368 for ac_var in $ac_precious_vars; do
3369 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3370 eval ac_new_set=\$ac_env_${ac_var}_set
3371 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3372 eval ac_new_val=\$ac_env_${ac_var}_value
3373 case $ac_old_set,$ac_new_set in
3374 set,)
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3376 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3377 ac_cache_corrupted=: ;;
3378 ,set)
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3380 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3381 ac_cache_corrupted=: ;;
3382 ,);;
3384 if test "x$ac_old_val" != "x$ac_new_val"; then
3385 # differences in whitespace do not lead to failure.
3386 ac_old_val_w=`echo x $ac_old_val`
3387 ac_new_val_w=`echo x $ac_new_val`
3388 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3390 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3391 ac_cache_corrupted=:
3392 else
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3394 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3395 eval $ac_var=\$ac_old_val
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3398 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3400 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3401 fi;;
3402 esac
3403 # Pass precious variables to config.status.
3404 if test "$ac_new_set" = set; then
3405 case $ac_new_val in
3406 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3407 *) ac_arg=$ac_var=$ac_new_val ;;
3408 esac
3409 case " $ac_configure_args " in
3410 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3411 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3412 esac
3414 done
3415 if $ac_cache_corrupted; then
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3419 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3420 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3422 ## -------------------- ##
3423 ## Main body of script. ##
3424 ## -------------------- ##
3426 ac_ext=c
3427 ac_cpp='$CPP $CPPFLAGS'
3428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3434 ac_config_headers="$ac_config_headers include/config.h"
3436 ac_aux_dir=
3437 for ac_dir in tools "$srcdir"/tools; do
3438 if test -f "$ac_dir/install-sh"; then
3439 ac_aux_dir=$ac_dir
3440 ac_install_sh="$ac_aux_dir/install-sh -c"
3441 break
3442 elif test -f "$ac_dir/install.sh"; then
3443 ac_aux_dir=$ac_dir
3444 ac_install_sh="$ac_aux_dir/install.sh -c"
3445 break
3446 elif test -f "$ac_dir/shtool"; then
3447 ac_aux_dir=$ac_dir
3448 ac_install_sh="$ac_aux_dir/shtool install -c"
3449 break
3451 done
3452 if test -z "$ac_aux_dir"; then
3453 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3456 # These three variables are undocumented and unsupported,
3457 # and are intended to be withdrawn in a future Autoconf release.
3458 # They can cause serious problems if a builder's source tree is in a directory
3459 # whose full name contains unusual characters.
3460 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3461 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3462 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3466 libwine_version="1.0"
3470 # Check whether --enable-win16 was given.
3471 if test "${enable_win16+set}" = set; then :
3472 enableval=$enable_win16;
3475 # Check whether --enable-win64 was given.
3476 if test "${enable_win64+set}" = set; then :
3477 enableval=$enable_win64;
3480 # Check whether --enable-tests was given.
3481 if test "${enable_tests+set}" = set; then :
3482 enableval=$enable_tests;
3485 # Check whether --enable-maintainer-mode was given.
3486 if test "${enable_maintainer_mode+set}" = set; then :
3487 enableval=$enable_maintainer_mode;
3492 # Check whether --with-alsa was given.
3493 if test "${with_alsa+set}" = set; then :
3494 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3498 # Check whether --with-capi was given.
3499 if test "${with_capi+set}" = set; then :
3500 withval=$with_capi;
3504 # Check whether --with-cms was given.
3505 if test "${with_cms+set}" = set; then :
3506 withval=$with_cms;
3510 # Check whether --with-coreaudio was given.
3511 if test "${with_coreaudio+set}" = set; then :
3512 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3516 # Check whether --with-cups was given.
3517 if test "${with_cups+set}" = set; then :
3518 withval=$with_cups;
3522 # Check whether --with-curses was given.
3523 if test "${with_curses+set}" = set; then :
3524 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3528 # Check whether --with-dbus was given.
3529 if test "${with_dbus+set}" = set; then :
3530 withval=$with_dbus;
3534 # Check whether --with-fontconfig was given.
3535 if test "${with_fontconfig+set}" = set; then :
3536 withval=$with_fontconfig;
3540 # Check whether --with-freetype was given.
3541 if test "${with_freetype+set}" = set; then :
3542 withval=$with_freetype;
3546 # Check whether --with-gettext was given.
3547 if test "${with_gettext+set}" = set; then :
3548 withval=$with_gettext;
3552 # Check whether --with-gettextpo was given.
3553 if test "${with_gettextpo+set}" = set; then :
3554 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3558 # Check whether --with-gphoto was given.
3559 if test "${with_gphoto+set}" = set; then :
3560 withval=$with_gphoto;
3564 # Check whether --with-glu was given.
3565 if test "${with_glu+set}" = set; then :
3566 withval=$with_glu;
3570 # Check whether --with-gnutls was given.
3571 if test "${with_gnutls+set}" = set; then :
3572 withval=$with_gnutls;
3576 # Check whether --with-gsm was given.
3577 if test "${with_gsm+set}" = set; then :
3578 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3582 # Check whether --with-gstreamer was given.
3583 if test "${with_gstreamer+set}" = set; then :
3584 withval=$with_gstreamer;
3588 # Check whether --with-hal was given.
3589 if test "${with_hal+set}" = set; then :
3590 withval=$with_hal;
3594 # Check whether --with-jpeg was given.
3595 if test "${with_jpeg+set}" = set; then :
3596 withval=$with_jpeg;
3600 # Check whether --with-ldap was given.
3601 if test "${with_ldap+set}" = set; then :
3602 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3606 # Check whether --with-mpg123 was given.
3607 if test "${with_mpg123+set}" = set; then :
3608 withval=$with_mpg123;
3612 # Check whether --with-netapi was given.
3613 if test "${with_netapi+set}" = set; then :
3614 withval=$with_netapi;
3618 # Check whether --with-openal was given.
3619 if test "${with_openal+set}" = set; then :
3620 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3624 # Check whether --with-opencl was given.
3625 if test "${with_opencl+set}" = set; then :
3626 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3630 # Check whether --with-opengl was given.
3631 if test "${with_opengl+set}" = set; then :
3632 withval=$with_opengl;
3636 # Check whether --with-osmesa was given.
3637 if test "${with_osmesa+set}" = set; then :
3638 withval=$with_osmesa;
3642 # Check whether --with-oss was given.
3643 if test "${with_oss+set}" = set; then :
3644 withval=$with_oss;
3648 # Check whether --with-pcap was given.
3649 if test "${with_pcap+set}" = set; then :
3650 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3654 # Check whether --with-png was given.
3655 if test "${with_png+set}" = set; then :
3656 withval=$with_png;
3660 # Check whether --with-pthread was given.
3661 if test "${with_pthread+set}" = set; then :
3662 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3666 # Check whether --with-pulse was given.
3667 if test "${with_pulse+set}" = set; then :
3668 withval=$with_pulse;
3672 # Check whether --with-sane was given.
3673 if test "${with_sane+set}" = set; then :
3674 withval=$with_sane;
3678 # Check whether --with-tiff was given.
3679 if test "${with_tiff+set}" = set; then :
3680 withval=$with_tiff;
3684 # Check whether --with-udev was given.
3685 if test "${with_udev+set}" = set; then :
3686 withval=$with_udev;
3690 # Check whether --with-v4l was given.
3691 if test "${with_v4l+set}" = set; then :
3692 withval=$with_v4l;
3696 # Check whether --with-xcomposite was given.
3697 if test "${with_xcomposite+set}" = set; then :
3698 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3702 # Check whether --with-xcursor was given.
3703 if test "${with_xcursor+set}" = set; then :
3704 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3708 # Check whether --with-xfixes was given.
3709 if test "${with_xfixes+set}" = set; then :
3710 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3714 # Check whether --with-xinerama was given.
3715 if test "${with_xinerama+set}" = set; then :
3716 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3720 # Check whether --with-xinput was given.
3721 if test "${with_xinput+set}" = set; then :
3722 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3726 # Check whether --with-xinput2 was given.
3727 if test "${with_xinput2+set}" = set; then :
3728 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3732 # Check whether --with-xml was given.
3733 if test "${with_xml+set}" = set; then :
3734 withval=$with_xml;
3738 # Check whether --with-xrandr was given.
3739 if test "${with_xrandr+set}" = set; then :
3740 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3744 # Check whether --with-xrender was given.
3745 if test "${with_xrender+set}" = set; then :
3746 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3750 # Check whether --with-xshape was given.
3751 if test "${with_xshape+set}" = set; then :
3752 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3756 # Check whether --with-xshm was given.
3757 if test "${with_xshm+set}" = set; then :
3758 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3762 # Check whether --with-xslt was given.
3763 if test "${with_xslt+set}" = set; then :
3764 withval=$with_xslt;
3768 # Check whether --with-xxf86vm was given.
3769 if test "${with_xxf86vm+set}" = set; then :
3770 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
3774 # Check whether --with-zlib was given.
3775 if test "${with_zlib+set}" = set; then :
3776 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3781 # Check whether --with-wine-tools was given.
3782 if test "${with_wine_tools+set}" = set; then :
3783 withval=$with_wine_tools;
3787 # Check whether --with-wine64 was given.
3788 if test "${with_wine64+set}" = set; then :
3789 withval=$with_wine64;
3793 # Make sure we can run config.sub.
3794 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3795 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3798 $as_echo_n "checking build system type... " >&6; }
3799 if ${ac_cv_build+:} false; then :
3800 $as_echo_n "(cached) " >&6
3801 else
3802 ac_build_alias=$build_alias
3803 test "x$ac_build_alias" = x &&
3804 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3805 test "x$ac_build_alias" = x &&
3806 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3807 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3808 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3812 $as_echo "$ac_cv_build" >&6; }
3813 case $ac_cv_build in
3814 *-*-*) ;;
3815 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3816 esac
3817 build=$ac_cv_build
3818 ac_save_IFS=$IFS; IFS='-'
3819 set x $ac_cv_build
3820 shift
3821 build_cpu=$1
3822 build_vendor=$2
3823 shift; shift
3824 # Remember, the first character of IFS is used to create $*,
3825 # except with old shells:
3826 build_os=$*
3827 IFS=$ac_save_IFS
3828 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3832 $as_echo_n "checking host system type... " >&6; }
3833 if ${ac_cv_host+:} false; then :
3834 $as_echo_n "(cached) " >&6
3835 else
3836 if test "x$host_alias" = x; then
3837 ac_cv_host=$ac_cv_build
3838 else
3839 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3840 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3845 $as_echo "$ac_cv_host" >&6; }
3846 case $ac_cv_host in
3847 *-*-*) ;;
3848 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3849 esac
3850 host=$ac_cv_host
3851 ac_save_IFS=$IFS; IFS='-'
3852 set x $ac_cv_host
3853 shift
3854 host_cpu=$1
3855 host_vendor=$2
3856 shift; shift
3857 # Remember, the first character of IFS is used to create $*,
3858 # except with old shells:
3859 host_os=$*
3860 IFS=$ac_save_IFS
3861 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3865 case "$srcdir" in
3866 .) ;;
3867 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3868 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3869 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3870 fi ;;
3871 esac
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3875 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3876 set x ${MAKE-make}
3877 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3878 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3879 $as_echo_n "(cached) " >&6
3880 else
3881 cat >conftest.make <<\_ACEOF
3882 SHELL = /bin/sh
3883 all:
3884 @echo '@@@%%%=$(MAKE)=@@@%%%'
3885 _ACEOF
3886 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3887 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3888 *@@@%%%=?*=@@@%%%*)
3889 eval ac_cv_prog_make_${ac_make}_set=yes;;
3891 eval ac_cv_prog_make_${ac_make}_set=no;;
3892 esac
3893 rm -f conftest.make
3895 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3897 $as_echo "yes" >&6; }
3898 SET_MAKE=
3899 else
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 $as_echo "no" >&6; }
3902 SET_MAKE="MAKE=${MAKE-make}"
3905 ac_ext=c
3906 ac_cpp='$CPP $CPPFLAGS'
3907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3910 if test -n "$ac_tool_prefix"; then
3911 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3912 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3914 $as_echo_n "checking for $ac_word... " >&6; }
3915 if ${ac_cv_prog_CC+:} false; then :
3916 $as_echo_n "(cached) " >&6
3917 else
3918 if test -n "$CC"; then
3919 ac_cv_prog_CC="$CC" # Let the user override the test.
3920 else
3921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3922 for as_dir in $PATH
3924 IFS=$as_save_IFS
3925 test -z "$as_dir" && as_dir=.
3926 for ac_exec_ext in '' $ac_executable_extensions; do
3927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3928 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3930 break 2
3932 done
3933 done
3934 IFS=$as_save_IFS
3938 CC=$ac_cv_prog_CC
3939 if test -n "$CC"; then
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3941 $as_echo "$CC" >&6; }
3942 else
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3944 $as_echo "no" >&6; }
3949 if test -z "$ac_cv_prog_CC"; then
3950 ac_ct_CC=$CC
3951 # Extract the first word of "gcc", so it can be a program name with args.
3952 set dummy gcc; ac_word=$2
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3954 $as_echo_n "checking for $ac_word... " >&6; }
3955 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3956 $as_echo_n "(cached) " >&6
3957 else
3958 if test -n "$ac_ct_CC"; then
3959 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3960 else
3961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3962 for as_dir in $PATH
3964 IFS=$as_save_IFS
3965 test -z "$as_dir" && as_dir=.
3966 for ac_exec_ext in '' $ac_executable_extensions; do
3967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3968 ac_cv_prog_ac_ct_CC="gcc"
3969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 break 2
3972 done
3973 done
3974 IFS=$as_save_IFS
3978 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3979 if test -n "$ac_ct_CC"; then
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3981 $as_echo "$ac_ct_CC" >&6; }
3982 else
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3984 $as_echo "no" >&6; }
3987 if test "x$ac_ct_CC" = x; then
3988 CC=""
3989 else
3990 case $cross_compiling:$ac_tool_warned in
3991 yes:)
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3994 ac_tool_warned=yes ;;
3995 esac
3996 CC=$ac_ct_CC
3998 else
3999 CC="$ac_cv_prog_CC"
4002 if test -z "$CC"; then
4003 if test -n "$ac_tool_prefix"; then
4004 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4005 set dummy ${ac_tool_prefix}cc; ac_word=$2
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4007 $as_echo_n "checking for $ac_word... " >&6; }
4008 if ${ac_cv_prog_CC+:} false; then :
4009 $as_echo_n "(cached) " >&6
4010 else
4011 if test -n "$CC"; then
4012 ac_cv_prog_CC="$CC" # Let the user override the test.
4013 else
4014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4015 for as_dir in $PATH
4017 IFS=$as_save_IFS
4018 test -z "$as_dir" && as_dir=.
4019 for ac_exec_ext in '' $ac_executable_extensions; do
4020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4021 ac_cv_prog_CC="${ac_tool_prefix}cc"
4022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4023 break 2
4025 done
4026 done
4027 IFS=$as_save_IFS
4031 CC=$ac_cv_prog_CC
4032 if test -n "$CC"; then
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4034 $as_echo "$CC" >&6; }
4035 else
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4037 $as_echo "no" >&6; }
4043 if test -z "$CC"; then
4044 # Extract the first word of "cc", so it can be a program name with args.
4045 set dummy cc; ac_word=$2
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4047 $as_echo_n "checking for $ac_word... " >&6; }
4048 if ${ac_cv_prog_CC+:} false; then :
4049 $as_echo_n "(cached) " >&6
4050 else
4051 if test -n "$CC"; then
4052 ac_cv_prog_CC="$CC" # Let the user override the test.
4053 else
4054 ac_prog_rejected=no
4055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056 for as_dir in $PATH
4058 IFS=$as_save_IFS
4059 test -z "$as_dir" && as_dir=.
4060 for ac_exec_ext in '' $ac_executable_extensions; do
4061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4062 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4063 ac_prog_rejected=yes
4064 continue
4066 ac_cv_prog_CC="cc"
4067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4068 break 2
4070 done
4071 done
4072 IFS=$as_save_IFS
4074 if test $ac_prog_rejected = yes; then
4075 # We found a bogon in the path, so make sure we never use it.
4076 set dummy $ac_cv_prog_CC
4077 shift
4078 if test $# != 0; then
4079 # We chose a different compiler from the bogus one.
4080 # However, it has the same basename, so the bogon will be chosen
4081 # first if we set CC to just the basename; use the full file name.
4082 shift
4083 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4088 CC=$ac_cv_prog_CC
4089 if test -n "$CC"; then
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4091 $as_echo "$CC" >&6; }
4092 else
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4099 if test -z "$CC"; then
4100 if test -n "$ac_tool_prefix"; then
4101 for ac_prog in cl.exe
4103 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4104 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4106 $as_echo_n "checking for $ac_word... " >&6; }
4107 if ${ac_cv_prog_CC+:} false; then :
4108 $as_echo_n "(cached) " >&6
4109 else
4110 if test -n "$CC"; then
4111 ac_cv_prog_CC="$CC" # Let the user override the test.
4112 else
4113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4114 for as_dir in $PATH
4116 IFS=$as_save_IFS
4117 test -z "$as_dir" && as_dir=.
4118 for ac_exec_ext in '' $ac_executable_extensions; do
4119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4120 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4122 break 2
4124 done
4125 done
4126 IFS=$as_save_IFS
4130 CC=$ac_cv_prog_CC
4131 if test -n "$CC"; then
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4133 $as_echo "$CC" >&6; }
4134 else
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4136 $as_echo "no" >&6; }
4140 test -n "$CC" && break
4141 done
4143 if test -z "$CC"; then
4144 ac_ct_CC=$CC
4145 for ac_prog in cl.exe
4147 # Extract the first word of "$ac_prog", so it can be a program name with args.
4148 set dummy $ac_prog; ac_word=$2
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4150 $as_echo_n "checking for $ac_word... " >&6; }
4151 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4152 $as_echo_n "(cached) " >&6
4153 else
4154 if test -n "$ac_ct_CC"; then
4155 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4156 else
4157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4158 for as_dir in $PATH
4160 IFS=$as_save_IFS
4161 test -z "$as_dir" && as_dir=.
4162 for ac_exec_ext in '' $ac_executable_extensions; do
4163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4164 ac_cv_prog_ac_ct_CC="$ac_prog"
4165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4166 break 2
4168 done
4169 done
4170 IFS=$as_save_IFS
4174 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4175 if test -n "$ac_ct_CC"; then
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4177 $as_echo "$ac_ct_CC" >&6; }
4178 else
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4180 $as_echo "no" >&6; }
4184 test -n "$ac_ct_CC" && break
4185 done
4187 if test "x$ac_ct_CC" = x; then
4188 CC=""
4189 else
4190 case $cross_compiling:$ac_tool_warned in
4191 yes:)
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4194 ac_tool_warned=yes ;;
4195 esac
4196 CC=$ac_ct_CC
4203 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4205 as_fn_error $? "no acceptable C compiler found in \$PATH
4206 See \`config.log' for more details" "$LINENO" 5; }
4208 # Provide some information about the compiler.
4209 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4210 set X $ac_compile
4211 ac_compiler=$2
4212 for ac_option in --version -v -V -qversion; do
4213 { { ac_try="$ac_compiler $ac_option >&5"
4214 case "(($ac_try" in
4215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4216 *) ac_try_echo=$ac_try;;
4217 esac
4218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4219 $as_echo "$ac_try_echo"; } >&5
4220 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4221 ac_status=$?
4222 if test -s conftest.err; then
4223 sed '10a\
4224 ... rest of stderr output deleted ...
4225 10q' conftest.err >conftest.er1
4226 cat conftest.er1 >&5
4228 rm -f conftest.er1 conftest.err
4229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4230 test $ac_status = 0; }
4231 done
4233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234 /* end confdefs.h. */
4237 main ()
4241 return 0;
4243 _ACEOF
4244 ac_clean_files_save=$ac_clean_files
4245 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4246 # Try to create an executable without -o first, disregard a.out.
4247 # It will help us diagnose broken compilers, and finding out an intuition
4248 # of exeext.
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4250 $as_echo_n "checking whether the C compiler works... " >&6; }
4251 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4253 # The possible output files:
4254 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4256 ac_rmfiles=
4257 for ac_file in $ac_files
4259 case $ac_file in
4260 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4261 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4262 esac
4263 done
4264 rm -f $ac_rmfiles
4266 if { { ac_try="$ac_link_default"
4267 case "(($ac_try" in
4268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4269 *) ac_try_echo=$ac_try;;
4270 esac
4271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4272 $as_echo "$ac_try_echo"; } >&5
4273 (eval "$ac_link_default") 2>&5
4274 ac_status=$?
4275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4276 test $ac_status = 0; }; then :
4277 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4278 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4279 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4280 # so that the user can short-circuit this test for compilers unknown to
4281 # Autoconf.
4282 for ac_file in $ac_files ''
4284 test -f "$ac_file" || continue
4285 case $ac_file in
4286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4288 [ab].out )
4289 # We found the default executable, but exeext='' is most
4290 # certainly right.
4291 break;;
4292 *.* )
4293 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4294 then :; else
4295 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4297 # We set ac_cv_exeext here because the later test for it is not
4298 # safe: cross compilers may not add the suffix if given an `-o'
4299 # argument, so we may need to know it at that point already.
4300 # Even if this section looks crufty: it has the advantage of
4301 # actually working.
4302 break;;
4304 break;;
4305 esac
4306 done
4307 test "$ac_cv_exeext" = no && ac_cv_exeext=
4309 else
4310 ac_file=''
4312 if test -z "$ac_file"; then :
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4315 $as_echo "$as_me: failed program was:" >&5
4316 sed 's/^/| /' conftest.$ac_ext >&5
4318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4320 as_fn_error 77 "C compiler cannot create executables
4321 See \`config.log' for more details" "$LINENO" 5; }
4322 else
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4324 $as_echo "yes" >&6; }
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4327 $as_echo_n "checking for C compiler default output file name... " >&6; }
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4329 $as_echo "$ac_file" >&6; }
4330 ac_exeext=$ac_cv_exeext
4332 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4333 ac_clean_files=$ac_clean_files_save
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4335 $as_echo_n "checking for suffix of executables... " >&6; }
4336 if { { ac_try="$ac_link"
4337 case "(($ac_try" in
4338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4339 *) ac_try_echo=$ac_try;;
4340 esac
4341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4342 $as_echo "$ac_try_echo"; } >&5
4343 (eval "$ac_link") 2>&5
4344 ac_status=$?
4345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4346 test $ac_status = 0; }; then :
4347 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4348 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4349 # work properly (i.e., refer to `conftest.exe'), while it won't with
4350 # `rm'.
4351 for ac_file in conftest.exe conftest conftest.*; do
4352 test -f "$ac_file" || continue
4353 case $ac_file in
4354 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4355 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4356 break;;
4357 * ) break;;
4358 esac
4359 done
4360 else
4361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4363 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4364 See \`config.log' for more details" "$LINENO" 5; }
4366 rm -f conftest conftest$ac_cv_exeext
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4368 $as_echo "$ac_cv_exeext" >&6; }
4370 rm -f conftest.$ac_ext
4371 EXEEXT=$ac_cv_exeext
4372 ac_exeext=$EXEEXT
4373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4374 /* end confdefs.h. */
4375 #include <stdio.h>
4377 main ()
4379 FILE *f = fopen ("conftest.out", "w");
4380 return ferror (f) || fclose (f) != 0;
4383 return 0;
4385 _ACEOF
4386 ac_clean_files="$ac_clean_files conftest.out"
4387 # Check that the compiler produces executables we can run. If not, either
4388 # the compiler is broken, or we cross compile.
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4390 $as_echo_n "checking whether we are cross compiling... " >&6; }
4391 if test "$cross_compiling" != yes; then
4392 { { ac_try="$ac_link"
4393 case "(($ac_try" in
4394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4395 *) ac_try_echo=$ac_try;;
4396 esac
4397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4398 $as_echo "$ac_try_echo"; } >&5
4399 (eval "$ac_link") 2>&5
4400 ac_status=$?
4401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4402 test $ac_status = 0; }
4403 if { ac_try='./conftest$ac_cv_exeext'
4404 { { case "(($ac_try" in
4405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4406 *) ac_try_echo=$ac_try;;
4407 esac
4408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4409 $as_echo "$ac_try_echo"; } >&5
4410 (eval "$ac_try") 2>&5
4411 ac_status=$?
4412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4413 test $ac_status = 0; }; }; then
4414 cross_compiling=no
4415 else
4416 if test "$cross_compiling" = maybe; then
4417 cross_compiling=yes
4418 else
4419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4421 as_fn_error $? "cannot run C compiled programs.
4422 If you meant to cross compile, use \`--host'.
4423 See \`config.log' for more details" "$LINENO" 5; }
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4428 $as_echo "$cross_compiling" >&6; }
4430 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4431 ac_clean_files=$ac_clean_files_save
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4433 $as_echo_n "checking for suffix of object files... " >&6; }
4434 if ${ac_cv_objext+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4441 main ()
4445 return 0;
4447 _ACEOF
4448 rm -f conftest.o conftest.obj
4449 if { { ac_try="$ac_compile"
4450 case "(($ac_try" in
4451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4452 *) ac_try_echo=$ac_try;;
4453 esac
4454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4455 $as_echo "$ac_try_echo"; } >&5
4456 (eval "$ac_compile") 2>&5
4457 ac_status=$?
4458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4459 test $ac_status = 0; }; then :
4460 for ac_file in conftest.o conftest.obj conftest.*; do
4461 test -f "$ac_file" || continue;
4462 case $ac_file in
4463 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4464 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4465 break;;
4466 esac
4467 done
4468 else
4469 $as_echo "$as_me: failed program was:" >&5
4470 sed 's/^/| /' conftest.$ac_ext >&5
4472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4474 as_fn_error $? "cannot compute suffix of object files: cannot compile
4475 See \`config.log' for more details" "$LINENO" 5; }
4477 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4480 $as_echo "$ac_cv_objext" >&6; }
4481 OBJEXT=$ac_cv_objext
4482 ac_objext=$OBJEXT
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4484 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4485 if ${ac_cv_c_compiler_gnu+:} false; then :
4486 $as_echo_n "(cached) " >&6
4487 else
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4492 main ()
4494 #ifndef __GNUC__
4495 choke me
4496 #endif
4499 return 0;
4501 _ACEOF
4502 if ac_fn_c_try_compile "$LINENO"; then :
4503 ac_compiler_gnu=yes
4504 else
4505 ac_compiler_gnu=no
4507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4508 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4512 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4513 if test $ac_compiler_gnu = yes; then
4514 GCC=yes
4515 else
4516 GCC=
4518 ac_test_CFLAGS=${CFLAGS+set}
4519 ac_save_CFLAGS=$CFLAGS
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4521 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4522 if ${ac_cv_prog_cc_g+:} false; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 ac_save_c_werror_flag=$ac_c_werror_flag
4526 ac_c_werror_flag=yes
4527 ac_cv_prog_cc_g=no
4528 CFLAGS="-g"
4529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h. */
4533 main ()
4537 return 0;
4539 _ACEOF
4540 if ac_fn_c_try_compile "$LINENO"; then :
4541 ac_cv_prog_cc_g=yes
4542 else
4543 CFLAGS=""
4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4548 main ()
4552 return 0;
4554 _ACEOF
4555 if ac_fn_c_try_compile "$LINENO"; then :
4557 else
4558 ac_c_werror_flag=$ac_save_c_werror_flag
4559 CFLAGS="-g"
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4564 main ()
4568 return 0;
4570 _ACEOF
4571 if ac_fn_c_try_compile "$LINENO"; then :
4572 ac_cv_prog_cc_g=yes
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4579 ac_c_werror_flag=$ac_save_c_werror_flag
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4582 $as_echo "$ac_cv_prog_cc_g" >&6; }
4583 if test "$ac_test_CFLAGS" = set; then
4584 CFLAGS=$ac_save_CFLAGS
4585 elif test $ac_cv_prog_cc_g = yes; then
4586 if test "$GCC" = yes; then
4587 CFLAGS="-g -O2"
4588 else
4589 CFLAGS="-g"
4591 else
4592 if test "$GCC" = yes; then
4593 CFLAGS="-O2"
4594 else
4595 CFLAGS=
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4599 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4600 if ${ac_cv_prog_cc_c89+:} false; then :
4601 $as_echo_n "(cached) " >&6
4602 else
4603 ac_cv_prog_cc_c89=no
4604 ac_save_CC=$CC
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4607 #include <stdarg.h>
4608 #include <stdio.h>
4609 struct stat;
4610 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4611 struct buf { int x; };
4612 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4613 static char *e (p, i)
4614 char **p;
4615 int i;
4617 return p[i];
4619 static char *f (char * (*g) (char **, int), char **p, ...)
4621 char *s;
4622 va_list v;
4623 va_start (v,p);
4624 s = g (p, va_arg (v,int));
4625 va_end (v);
4626 return s;
4629 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4630 function prototypes and stuff, but not '\xHH' hex character constants.
4631 These don't provoke an error unfortunately, instead are silently treated
4632 as 'x'. The following induces an error, until -std is added to get
4633 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4634 array size at least. It's necessary to write '\x00'==0 to get something
4635 that's true only with -std. */
4636 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4638 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4639 inside strings and character constants. */
4640 #define FOO(x) 'x'
4641 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4643 int test (int i, double x);
4644 struct s1 {int (*f) (int a);};
4645 struct s2 {int (*f) (double a);};
4646 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4647 int argc;
4648 char **argv;
4650 main ()
4652 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4654 return 0;
4656 _ACEOF
4657 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4658 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4660 CC="$ac_save_CC $ac_arg"
4661 if ac_fn_c_try_compile "$LINENO"; then :
4662 ac_cv_prog_cc_c89=$ac_arg
4664 rm -f core conftest.err conftest.$ac_objext
4665 test "x$ac_cv_prog_cc_c89" != "xno" && break
4666 done
4667 rm -f conftest.$ac_ext
4668 CC=$ac_save_CC
4671 # AC_CACHE_VAL
4672 case "x$ac_cv_prog_cc_c89" in
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4675 $as_echo "none needed" >&6; } ;;
4676 xno)
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4678 $as_echo "unsupported" >&6; } ;;
4680 CC="$CC $ac_cv_prog_cc_c89"
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4682 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4683 esac
4684 if test "x$ac_cv_prog_cc_c89" != xno; then :
4688 ac_ext=c
4689 ac_cpp='$CPP $CPPFLAGS'
4690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4694 ac_ext=cpp
4695 ac_cpp='$CXXCPP $CPPFLAGS'
4696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4699 if test -z "$CXX"; then
4700 if test -n "$CCC"; then
4701 CXX=$CCC
4702 else
4703 if test -n "$ac_tool_prefix"; then
4704 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4706 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4707 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4709 $as_echo_n "checking for $ac_word... " >&6; }
4710 if ${ac_cv_prog_CXX+:} false; then :
4711 $as_echo_n "(cached) " >&6
4712 else
4713 if test -n "$CXX"; then
4714 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4715 else
4716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717 for as_dir in $PATH
4719 IFS=$as_save_IFS
4720 test -z "$as_dir" && as_dir=.
4721 for ac_exec_ext in '' $ac_executable_extensions; do
4722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4723 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4725 break 2
4727 done
4728 done
4729 IFS=$as_save_IFS
4733 CXX=$ac_cv_prog_CXX
4734 if test -n "$CXX"; then
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4736 $as_echo "$CXX" >&6; }
4737 else
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4743 test -n "$CXX" && break
4744 done
4746 if test -z "$CXX"; then
4747 ac_ct_CXX=$CXX
4748 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4750 # Extract the first word of "$ac_prog", so it can be a program name with args.
4751 set dummy $ac_prog; ac_word=$2
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4753 $as_echo_n "checking for $ac_word... " >&6; }
4754 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4755 $as_echo_n "(cached) " >&6
4756 else
4757 if test -n "$ac_ct_CXX"; then
4758 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4759 else
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH
4763 IFS=$as_save_IFS
4764 test -z "$as_dir" && as_dir=.
4765 for ac_exec_ext in '' $ac_executable_extensions; do
4766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4767 ac_cv_prog_ac_ct_CXX="$ac_prog"
4768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4769 break 2
4771 done
4772 done
4773 IFS=$as_save_IFS
4777 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4778 if test -n "$ac_ct_CXX"; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4780 $as_echo "$ac_ct_CXX" >&6; }
4781 else
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4787 test -n "$ac_ct_CXX" && break
4788 done
4790 if test "x$ac_ct_CXX" = x; then
4791 CXX="g++"
4792 else
4793 case $cross_compiling:$ac_tool_warned in
4794 yes:)
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4797 ac_tool_warned=yes ;;
4798 esac
4799 CXX=$ac_ct_CXX
4805 # Provide some information about the compiler.
4806 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4807 set X $ac_compile
4808 ac_compiler=$2
4809 for ac_option in --version -v -V -qversion; do
4810 { { ac_try="$ac_compiler $ac_option >&5"
4811 case "(($ac_try" in
4812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4813 *) ac_try_echo=$ac_try;;
4814 esac
4815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4816 $as_echo "$ac_try_echo"; } >&5
4817 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4818 ac_status=$?
4819 if test -s conftest.err; then
4820 sed '10a\
4821 ... rest of stderr output deleted ...
4822 10q' conftest.err >conftest.er1
4823 cat conftest.er1 >&5
4825 rm -f conftest.er1 conftest.err
4826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4827 test $ac_status = 0; }
4828 done
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4831 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4832 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4833 $as_echo_n "(cached) " >&6
4834 else
4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4839 main ()
4841 #ifndef __GNUC__
4842 choke me
4843 #endif
4846 return 0;
4848 _ACEOF
4849 if ac_fn_cxx_try_compile "$LINENO"; then :
4850 ac_compiler_gnu=yes
4851 else
4852 ac_compiler_gnu=no
4854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4855 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4859 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4860 if test $ac_compiler_gnu = yes; then
4861 GXX=yes
4862 else
4863 GXX=
4865 ac_test_CXXFLAGS=${CXXFLAGS+set}
4866 ac_save_CXXFLAGS=$CXXFLAGS
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4868 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4869 if ${ac_cv_prog_cxx_g+:} false; then :
4870 $as_echo_n "(cached) " >&6
4871 else
4872 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4873 ac_cxx_werror_flag=yes
4874 ac_cv_prog_cxx_g=no
4875 CXXFLAGS="-g"
4876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4877 /* end confdefs.h. */
4880 main ()
4884 return 0;
4886 _ACEOF
4887 if ac_fn_cxx_try_compile "$LINENO"; then :
4888 ac_cv_prog_cxx_g=yes
4889 else
4890 CXXFLAGS=""
4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4892 /* end confdefs.h. */
4895 main ()
4899 return 0;
4901 _ACEOF
4902 if ac_fn_cxx_try_compile "$LINENO"; then :
4904 else
4905 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4906 CXXFLAGS="-g"
4907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4908 /* end confdefs.h. */
4911 main ()
4915 return 0;
4917 _ACEOF
4918 if ac_fn_cxx_try_compile "$LINENO"; then :
4919 ac_cv_prog_cxx_g=yes
4921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4926 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4929 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4930 if test "$ac_test_CXXFLAGS" = set; then
4931 CXXFLAGS=$ac_save_CXXFLAGS
4932 elif test $ac_cv_prog_cxx_g = yes; then
4933 if test "$GXX" = yes; then
4934 CXXFLAGS="-g -O2"
4935 else
4936 CXXFLAGS="-g"
4938 else
4939 if test "$GXX" = yes; then
4940 CXXFLAGS="-O2"
4941 else
4942 CXXFLAGS=
4945 ac_ext=c
4946 ac_cpp='$CPP $CPPFLAGS'
4947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4951 if test -n "$ac_tool_prefix"; then
4952 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4953 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4955 $as_echo_n "checking for $ac_word... " >&6; }
4956 if ${ac_cv_prog_CPPBIN+:} false; then :
4957 $as_echo_n "(cached) " >&6
4958 else
4959 if test -n "$CPPBIN"; then
4960 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4961 else
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963 for as_dir in $PATH
4965 IFS=$as_save_IFS
4966 test -z "$as_dir" && as_dir=.
4967 for ac_exec_ext in '' $ac_executable_extensions; do
4968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4969 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971 break 2
4973 done
4974 done
4975 IFS=$as_save_IFS
4979 CPPBIN=$ac_cv_prog_CPPBIN
4980 if test -n "$CPPBIN"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4982 $as_echo "$CPPBIN" >&6; }
4983 else
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4990 if test -z "$ac_cv_prog_CPPBIN"; then
4991 ac_ct_CPPBIN=$CPPBIN
4992 # Extract the first word of "cpp", so it can be a program name with args.
4993 set dummy cpp; ac_word=$2
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4995 $as_echo_n "checking for $ac_word... " >&6; }
4996 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4997 $as_echo_n "(cached) " >&6
4998 else
4999 if test -n "$ac_ct_CPPBIN"; then
5000 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5001 else
5002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5003 for as_dir in $PATH
5005 IFS=$as_save_IFS
5006 test -z "$as_dir" && as_dir=.
5007 for ac_exec_ext in '' $ac_executable_extensions; do
5008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5009 ac_cv_prog_ac_ct_CPPBIN="cpp"
5010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 break 2
5013 done
5014 done
5015 IFS=$as_save_IFS
5019 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5020 if test -n "$ac_ct_CPPBIN"; then
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5022 $as_echo "$ac_ct_CPPBIN" >&6; }
5023 else
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5025 $as_echo "no" >&6; }
5028 if test "x$ac_ct_CPPBIN" = x; then
5029 CPPBIN="cpp"
5030 else
5031 case $cross_compiling:$ac_tool_warned in
5032 yes:)
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5035 ac_tool_warned=yes ;;
5036 esac
5037 CPPBIN=$ac_ct_CPPBIN
5039 else
5040 CPPBIN="$ac_cv_prog_CPPBIN"
5044 cat >>confdefs.h <<_ACEOF
5045 #define EXEEXT "$ac_exeext"
5046 _ACEOF
5048 if test -n "$ac_tool_prefix"; then
5049 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5050 set dummy ${ac_tool_prefix}ld; ac_word=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if ${ac_cv_prog_LD+:} false; then :
5054 $as_echo_n "(cached) " >&6
5055 else
5056 if test -n "$LD"; then
5057 ac_cv_prog_LD="$LD" # Let the user override the test.
5058 else
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5060 for as_dir in $PATH
5062 IFS=$as_save_IFS
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5066 ac_cv_prog_LD="${ac_tool_prefix}ld"
5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068 break 2
5070 done
5071 done
5072 IFS=$as_save_IFS
5076 LD=$ac_cv_prog_LD
5077 if test -n "$LD"; then
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5079 $as_echo "$LD" >&6; }
5080 else
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5087 if test -z "$ac_cv_prog_LD"; then
5088 ac_ct_LD=$LD
5089 # Extract the first word of "ld", so it can be a program name with args.
5090 set dummy ld; ac_word=$2
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5092 $as_echo_n "checking for $ac_word... " >&6; }
5093 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5094 $as_echo_n "(cached) " >&6
5095 else
5096 if test -n "$ac_ct_LD"; then
5097 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5098 else
5099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5100 for as_dir in $PATH
5102 IFS=$as_save_IFS
5103 test -z "$as_dir" && as_dir=.
5104 for ac_exec_ext in '' $ac_executable_extensions; do
5105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5106 ac_cv_prog_ac_ct_LD="ld"
5107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5108 break 2
5110 done
5111 done
5112 IFS=$as_save_IFS
5116 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5117 if test -n "$ac_ct_LD"; then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5119 $as_echo "$ac_ct_LD" >&6; }
5120 else
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 $as_echo "no" >&6; }
5125 if test "x$ac_ct_LD" = x; then
5126 LD=""
5127 else
5128 case $cross_compiling:$ac_tool_warned in
5129 yes:)
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5132 ac_tool_warned=yes ;;
5133 esac
5134 LD=$ac_ct_LD
5136 else
5137 LD="$ac_cv_prog_LD"
5141 case $host in
5142 *-darwin*)
5143 with_fontconfig=${with_fontconfig:-no}
5145 *-mingw32*|*-cygwin*)
5146 enable_win16=${enable_win16:-no}
5147 CFLAGS="$CFLAGS -D_WIN32"
5149 esac
5151 case $host in
5152 x86_64*|amd64*)
5153 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5154 then
5155 CC="$CC -m32"
5156 CXX="$CXX -m32"
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5158 $as_echo_n "checking whether $CC works... " >&6; }
5160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5161 /* end confdefs.h. */
5164 main ()
5168 return 0;
5170 _ACEOF
5171 if ac_fn_c_try_link "$LINENO"; then :
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5173 $as_echo "yes" >&6; }
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5177 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5179 rm -f core conftest.err conftest.$ac_objext \
5180 conftest$ac_exeext conftest.$ac_ext
5181 host_cpu="i386"
5182 notice_platform="32-bit "
5183 TARGETFLAGS="-m32"
5185 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5186 export PKG_CONFIG_PATH
5187 enable_win16=${enable_win16:-yes}
5188 else
5189 if test "x${GCC}" = "xyes"
5190 then
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5192 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5194 /* end confdefs.h. */
5195 #include <stdarg.h>
5197 main ()
5199 void func(__builtin_ms_va_list *args);
5201 return 0;
5203 _ACEOF
5204 if ac_fn_c_try_compile "$LINENO"; then :
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5206 $as_echo "yes" >&6; }
5207 else
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209 $as_echo "no" >&6; }
5210 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5214 CC="$CC -m64"
5215 CXX="$CXX -m64"
5216 host_cpu="x86_64"
5217 notice_platform="64-bit "
5218 TARGETFLAGS="-m64"
5222 arm*)
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5224 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5226 /* end confdefs.h. */
5227 int ac_test(int i) { return i; }
5229 main ()
5231 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5233 return 0;
5235 _ACEOF
5236 if ac_fn_c_try_link "$LINENO"; then :
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5238 $as_echo "yes" >&6; }
5239 else
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5242 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5244 rm -f core conftest.err conftest.$ac_objext \
5245 conftest$ac_exeext conftest.$ac_ext
5246 CFLAGS="$CFLAGS -marm"
5247 TARGETFLAGS="-marm"
5250 i[3456789]86*)
5251 enable_win16=${enable_win16:-yes}
5253 esac
5255 enable_win16=${enable_win16:-no}
5256 enable_win64=${enable_win64:-no}
5258 enable_winetest=${enable_winetest:-$enable_tests}
5260 if test -n "$with_wine64"
5261 then
5262 if test "x$enable_win64" = "xyes"
5263 then
5264 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5265 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5267 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5268 You should create a separate build directory and run configure from there." "$LINENO" 5
5269 enable_fonts=${enable_fonts:-no}
5270 enable_server=${enable_server:-no}
5271 elif test "x$enable_win64" = "xyes"
5272 then
5273 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5277 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5278 if ${wine_cv_toolsdir+:} false; then :
5279 $as_echo_n "(cached) " >&6
5280 else
5281 wine_cv_toolsdir="$with_wine_tools"
5282 if test -z "$with_wine_tools"; then
5283 if test "$cross_compiling" = "yes"; then
5284 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5285 elif test -n "$with_wine64"; then
5286 wine_cv_toolsdir="$with_wine64"
5289 if test -z "$wine_cv_toolsdir"; then
5290 wine_makedep=tools/makedep
5291 wine_cv_toolsdir="\$(top_builddir)"
5292 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5293 wine_makedep=$wine_cv_toolsdir/tools/makedep
5294 case "$wine_cv_toolsdir" in
5295 /*) ;;
5296 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5297 esac
5298 enable_tools=${enable_tools:-no}
5299 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5300 else
5301 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5305 $as_echo "$wine_cv_toolsdir" >&6; }
5306 TOOLSDIR=$wine_cv_toolsdir
5308 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5309 then
5310 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5314 for ac_prog in flex
5316 # Extract the first word of "$ac_prog", so it can be a program name with args.
5317 set dummy $ac_prog; ac_word=$2
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5319 $as_echo_n "checking for $ac_word... " >&6; }
5320 if ${ac_cv_prog_FLEX+:} false; then :
5321 $as_echo_n "(cached) " >&6
5322 else
5323 if test -n "$FLEX"; then
5324 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5325 else
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 for as_dir in $PATH
5329 IFS=$as_save_IFS
5330 test -z "$as_dir" && as_dir=.
5331 for ac_exec_ext in '' $ac_executable_extensions; do
5332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5333 ac_cv_prog_FLEX="$ac_prog"
5334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 break 2
5337 done
5338 done
5339 IFS=$as_save_IFS
5343 FLEX=$ac_cv_prog_FLEX
5344 if test -n "$FLEX"; then
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5346 $as_echo "$FLEX" >&6; }
5347 else
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5349 $as_echo "no" >&6; }
5353 test -n "$FLEX" && break
5354 done
5355 test -n "$FLEX" || FLEX="none"
5357 if test "$FLEX" = "none"
5358 then
5359 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5362 $as_echo_n "checking whether flex is recent enough... " >&6; }
5363 cat >conftest.l <<EOF
5364 %top{
5365 #include "prediluvian.h"
5369 if $FLEX -t conftest.l >/dev/null 2>&5
5370 then
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5372 $as_echo "yes" >&6; }
5373 else
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5375 $as_echo "no" >&6; }
5376 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5379 for ac_prog in bison
5381 # Extract the first word of "$ac_prog", so it can be a program name with args.
5382 set dummy $ac_prog; ac_word=$2
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5384 $as_echo_n "checking for $ac_word... " >&6; }
5385 if ${ac_cv_prog_BISON+:} false; then :
5386 $as_echo_n "(cached) " >&6
5387 else
5388 if test -n "$BISON"; then
5389 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5390 else
5391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5392 for as_dir in $PATH
5394 IFS=$as_save_IFS
5395 test -z "$as_dir" && as_dir=.
5396 for ac_exec_ext in '' $ac_executable_extensions; do
5397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5398 ac_cv_prog_BISON="$ac_prog"
5399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5400 break 2
5402 done
5403 done
5404 IFS=$as_save_IFS
5408 BISON=$ac_cv_prog_BISON
5409 if test -n "$BISON"; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5411 $as_echo "$BISON" >&6; }
5412 else
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5414 $as_echo "no" >&6; }
5418 test -n "$BISON" && break
5419 done
5420 test -n "$BISON" || BISON="none"
5422 if test "$BISON" = "none"
5423 then
5424 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5427 if test -n "$ac_tool_prefix"; then
5428 for ac_prog in ar gar
5430 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5431 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5433 $as_echo_n "checking for $ac_word... " >&6; }
5434 if ${ac_cv_prog_AR+:} false; then :
5435 $as_echo_n "(cached) " >&6
5436 else
5437 if test -n "$AR"; then
5438 ac_cv_prog_AR="$AR" # Let the user override the test.
5439 else
5440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5441 for as_dir in $PATH
5443 IFS=$as_save_IFS
5444 test -z "$as_dir" && as_dir=.
5445 for ac_exec_ext in '' $ac_executable_extensions; do
5446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5447 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 break 2
5451 done
5452 done
5453 IFS=$as_save_IFS
5457 AR=$ac_cv_prog_AR
5458 if test -n "$AR"; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5460 $as_echo "$AR" >&6; }
5461 else
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5463 $as_echo "no" >&6; }
5467 test -n "$AR" && break
5468 done
5470 if test -z "$AR"; then
5471 ac_ct_AR=$AR
5472 for ac_prog in ar gar
5474 # Extract the first word of "$ac_prog", so it can be a program name with args.
5475 set dummy $ac_prog; ac_word=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5479 $as_echo_n "(cached) " >&6
5480 else
5481 if test -n "$ac_ct_AR"; then
5482 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5483 else
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5491 ac_cv_prog_ac_ct_AR="$ac_prog"
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 break 2
5495 done
5496 done
5497 IFS=$as_save_IFS
5501 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5502 if test -n "$ac_ct_AR"; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5504 $as_echo "$ac_ct_AR" >&6; }
5505 else
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5511 test -n "$ac_ct_AR" && break
5512 done
5514 if test "x$ac_ct_AR" = x; then
5515 AR="ar"
5516 else
5517 case $cross_compiling:$ac_tool_warned in
5518 yes:)
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5521 ac_tool_warned=yes ;;
5522 esac
5523 AR=$ac_ct_AR
5527 if test -n "$ac_tool_prefix"; then
5528 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5529 set dummy ${ac_tool_prefix}strip; ac_word=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if ${ac_cv_prog_STRIP+:} false; then :
5533 $as_echo_n "(cached) " >&6
5534 else
5535 if test -n "$STRIP"; then
5536 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5541 IFS=$as_save_IFS
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5545 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 break 2
5549 done
5550 done
5551 IFS=$as_save_IFS
5555 STRIP=$ac_cv_prog_STRIP
5556 if test -n "$STRIP"; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5558 $as_echo "$STRIP" >&6; }
5559 else
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5566 if test -z "$ac_cv_prog_STRIP"; then
5567 ac_ct_STRIP=$STRIP
5568 # Extract the first word of "strip", so it can be a program name with args.
5569 set dummy strip; ac_word=$2
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5571 $as_echo_n "checking for $ac_word... " >&6; }
5572 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5573 $as_echo_n "(cached) " >&6
5574 else
5575 if test -n "$ac_ct_STRIP"; then
5576 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5577 else
5578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5579 for as_dir in $PATH
5581 IFS=$as_save_IFS
5582 test -z "$as_dir" && as_dir=.
5583 for ac_exec_ext in '' $ac_executable_extensions; do
5584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5585 ac_cv_prog_ac_ct_STRIP="strip"
5586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 break 2
5589 done
5590 done
5591 IFS=$as_save_IFS
5595 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5596 if test -n "$ac_ct_STRIP"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5598 $as_echo "$ac_ct_STRIP" >&6; }
5599 else
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601 $as_echo "no" >&6; }
5604 if test "x$ac_ct_STRIP" = x; then
5605 STRIP="strip"
5606 else
5607 case $cross_compiling:$ac_tool_warned in
5608 yes:)
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5611 ac_tool_warned=yes ;;
5612 esac
5613 STRIP=$ac_ct_STRIP
5615 else
5616 STRIP="$ac_cv_prog_STRIP"
5619 ARFLAGS=rc
5621 if test -n "$ac_tool_prefix"; then
5622 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5623 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_RANLIB+:} false; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if test -n "$RANLIB"; then
5630 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5635 IFS=$as_save_IFS
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 break 2
5643 done
5644 done
5645 IFS=$as_save_IFS
5649 RANLIB=$ac_cv_prog_RANLIB
5650 if test -n "$RANLIB"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5652 $as_echo "$RANLIB" >&6; }
5653 else
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5660 if test -z "$ac_cv_prog_RANLIB"; then
5661 ac_ct_RANLIB=$RANLIB
5662 # Extract the first word of "ranlib", so it can be a program name with args.
5663 set dummy ranlib; ac_word=$2
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5667 $as_echo_n "(cached) " >&6
5668 else
5669 if test -n "$ac_ct_RANLIB"; then
5670 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5671 else
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 for as_dir in $PATH
5675 IFS=$as_save_IFS
5676 test -z "$as_dir" && as_dir=.
5677 for ac_exec_ext in '' $ac_executable_extensions; do
5678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5679 ac_cv_prog_ac_ct_RANLIB="ranlib"
5680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5681 break 2
5683 done
5684 done
5685 IFS=$as_save_IFS
5689 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5690 if test -n "$ac_ct_RANLIB"; then
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5692 $as_echo "$ac_ct_RANLIB" >&6; }
5693 else
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695 $as_echo "no" >&6; }
5698 if test "x$ac_ct_RANLIB" = x; then
5699 RANLIB=":"
5700 else
5701 case $cross_compiling:$ac_tool_warned in
5702 yes:)
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705 ac_tool_warned=yes ;;
5706 esac
5707 RANLIB=$ac_ct_RANLIB
5709 else
5710 RANLIB="$ac_cv_prog_RANLIB"
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5714 $as_echo_n "checking whether ln -s works... " >&6; }
5715 LN_S=$as_ln_s
5716 if test "$LN_S" = "ln -s"; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5718 $as_echo "yes" >&6; }
5719 else
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5721 $as_echo "no, using $LN_S" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5725 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5726 if ${ac_cv_path_GREP+:} false; then :
5727 $as_echo_n "(cached) " >&6
5728 else
5729 if test -z "$GREP"; then
5730 ac_path_GREP_found=false
5731 # Loop through the user's path and test for each of PROGNAME-LIST
5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5735 IFS=$as_save_IFS
5736 test -z "$as_dir" && as_dir=.
5737 for ac_prog in grep ggrep; do
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5740 as_fn_executable_p "$ac_path_GREP" || continue
5741 # Check for GNU ac_path_GREP and select it if it is found.
5742 # Check for GNU $ac_path_GREP
5743 case `"$ac_path_GREP" --version 2>&1` in
5744 *GNU*)
5745 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5747 ac_count=0
5748 $as_echo_n 0123456789 >"conftest.in"
5749 while :
5751 cat "conftest.in" "conftest.in" >"conftest.tmp"
5752 mv "conftest.tmp" "conftest.in"
5753 cp "conftest.in" "conftest.nl"
5754 $as_echo 'GREP' >> "conftest.nl"
5755 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5756 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5757 as_fn_arith $ac_count + 1 && ac_count=$as_val
5758 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5759 # Best one so far, save it but keep looking for a better one
5760 ac_cv_path_GREP="$ac_path_GREP"
5761 ac_path_GREP_max=$ac_count
5763 # 10*(2^10) chars as input seems more than enough
5764 test $ac_count -gt 10 && break
5765 done
5766 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5767 esac
5769 $ac_path_GREP_found && break 3
5770 done
5771 done
5772 done
5773 IFS=$as_save_IFS
5774 if test -z "$ac_cv_path_GREP"; then
5775 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5777 else
5778 ac_cv_path_GREP=$GREP
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5783 $as_echo "$ac_cv_path_GREP" >&6; }
5784 GREP="$ac_cv_path_GREP"
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5788 $as_echo_n "checking for egrep... " >&6; }
5789 if ${ac_cv_path_EGREP+:} false; then :
5790 $as_echo_n "(cached) " >&6
5791 else
5792 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5793 then ac_cv_path_EGREP="$GREP -E"
5794 else
5795 if test -z "$EGREP"; then
5796 ac_path_EGREP_found=false
5797 # Loop through the user's path and test for each of PROGNAME-LIST
5798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5801 IFS=$as_save_IFS
5802 test -z "$as_dir" && as_dir=.
5803 for ac_prog in egrep; do
5804 for ac_exec_ext in '' $ac_executable_extensions; do
5805 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5806 as_fn_executable_p "$ac_path_EGREP" || continue
5807 # Check for GNU ac_path_EGREP and select it if it is found.
5808 # Check for GNU $ac_path_EGREP
5809 case `"$ac_path_EGREP" --version 2>&1` in
5810 *GNU*)
5811 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5813 ac_count=0
5814 $as_echo_n 0123456789 >"conftest.in"
5815 while :
5817 cat "conftest.in" "conftest.in" >"conftest.tmp"
5818 mv "conftest.tmp" "conftest.in"
5819 cp "conftest.in" "conftest.nl"
5820 $as_echo 'EGREP' >> "conftest.nl"
5821 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5822 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5823 as_fn_arith $ac_count + 1 && ac_count=$as_val
5824 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5825 # Best one so far, save it but keep looking for a better one
5826 ac_cv_path_EGREP="$ac_path_EGREP"
5827 ac_path_EGREP_max=$ac_count
5829 # 10*(2^10) chars as input seems more than enough
5830 test $ac_count -gt 10 && break
5831 done
5832 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5833 esac
5835 $ac_path_EGREP_found && break 3
5836 done
5837 done
5838 done
5839 IFS=$as_save_IFS
5840 if test -z "$ac_cv_path_EGREP"; then
5841 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5843 else
5844 ac_cv_path_EGREP=$EGREP
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5850 $as_echo "$ac_cv_path_EGREP" >&6; }
5851 EGREP="$ac_cv_path_EGREP"
5854 # Extract the first word of "ldconfig", so it can be a program name with args.
5855 set dummy ldconfig; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if ${ac_cv_path_LDCONFIG+:} false; then :
5859 $as_echo_n "(cached) " >&6
5860 else
5861 case $LDCONFIG in
5862 [\\/]* | ?:[\\/]*)
5863 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 for as_dir in /sbin /usr/sbin $PATH
5869 IFS=$as_save_IFS
5870 test -z "$as_dir" && as_dir=.
5871 for ac_exec_ext in '' $ac_executable_extensions; do
5872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5873 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 break 2
5877 done
5878 done
5879 IFS=$as_save_IFS
5881 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5883 esac
5885 LDCONFIG=$ac_cv_path_LDCONFIG
5886 if test -n "$LDCONFIG"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5888 $as_echo "$LDCONFIG" >&6; }
5889 else
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5895 for ac_prog in msgfmt
5897 # Extract the first word of "$ac_prog", so it can be a program name with args.
5898 set dummy $ac_prog; ac_word=$2
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5900 $as_echo_n "checking for $ac_word... " >&6; }
5901 if ${ac_cv_prog_MSGFMT+:} false; then :
5902 $as_echo_n "(cached) " >&6
5903 else
5904 if test -n "$MSGFMT"; then
5905 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5906 else
5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 for as_dir in $PATH
5910 IFS=$as_save_IFS
5911 test -z "$as_dir" && as_dir=.
5912 for ac_exec_ext in '' $ac_executable_extensions; do
5913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5914 ac_cv_prog_MSGFMT="$ac_prog"
5915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 break 2
5918 done
5919 done
5920 IFS=$as_save_IFS
5924 MSGFMT=$ac_cv_prog_MSGFMT
5925 if test -n "$MSGFMT"; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5927 $as_echo "$MSGFMT" >&6; }
5928 else
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5930 $as_echo "no" >&6; }
5934 test -n "$MSGFMT" && break
5935 done
5936 test -n "$MSGFMT" || MSGFMT="false"
5938 if ${ac_tool_prefix+:} false; then :
5939 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5940 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5942 $as_echo_n "checking for $ac_word... " >&6; }
5943 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5944 $as_echo_n "(cached) " >&6
5945 else
5946 if test -n "$PKG_CONFIG"; then
5947 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5948 else
5949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950 for as_dir in $PATH
5952 IFS=$as_save_IFS
5953 test -z "$as_dir" && as_dir=.
5954 for ac_exec_ext in '' $ac_executable_extensions; do
5955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5956 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 break 2
5960 done
5961 done
5962 IFS=$as_save_IFS
5966 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5967 if test -n "$PKG_CONFIG"; then
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5969 $as_echo "$PKG_CONFIG" >&6; }
5970 else
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5972 $as_echo "no" >&6; }
5977 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5978 if test "x$cross_compiling" = xyes; then :
5980 else
5981 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5982 # Extract the first word of "pkg-config", so it can be a program name with args.
5983 set dummy pkg-config; ac_word=$2
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5985 $as_echo_n "checking for $ac_word... " >&6; }
5986 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5987 $as_echo_n "(cached) " >&6
5988 else
5989 if test -n "$PKG_CONFIG"; then
5990 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5991 else
5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5993 for as_dir in $PATH
5995 IFS=$as_save_IFS
5996 test -z "$as_dir" && as_dir=.
5997 for ac_exec_ext in '' $ac_executable_extensions; do
5998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5999 ac_cv_prog_PKG_CONFIG="pkg-config"
6000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6001 break 2
6003 done
6004 done
6005 IFS=$as_save_IFS
6009 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6010 if test -n "$PKG_CONFIG"; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6012 $as_echo "$PKG_CONFIG" >&6; }
6013 else
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6015 $as_echo "no" >&6; }
6020 else
6021 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6024 if test "x$enable_maintainer_mode" != "xyes"
6025 then
6026 FONTFORGE=""
6027 RSVG=""
6028 CONVERT=""
6029 ICOTOOL=""
6030 else
6031 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6032 for ac_prog in fontforge
6034 # Extract the first word of "$ac_prog", so it can be a program name with args.
6035 set dummy $ac_prog; ac_word=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037 $as_echo_n "checking for $ac_word... " >&6; }
6038 if ${ac_cv_prog_FONTFORGE+:} false; then :
6039 $as_echo_n "(cached) " >&6
6040 else
6041 if test -n "$FONTFORGE"; then
6042 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6043 else
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 for as_dir in $PATH
6047 IFS=$as_save_IFS
6048 test -z "$as_dir" && as_dir=.
6049 for ac_exec_ext in '' $ac_executable_extensions; do
6050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6051 ac_cv_prog_FONTFORGE="$ac_prog"
6052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6053 break 2
6055 done
6056 done
6057 IFS=$as_save_IFS
6061 FONTFORGE=$ac_cv_prog_FONTFORGE
6062 if test -n "$FONTFORGE"; then
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6064 $as_echo "$FONTFORGE" >&6; }
6065 else
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067 $as_echo "no" >&6; }
6071 test -n "$FONTFORGE" && break
6072 done
6073 test -n "$FONTFORGE" || FONTFORGE="false"
6075 for ac_prog in rsvg-convert rsvg
6077 # Extract the first word of "$ac_prog", so it can be a program name with args.
6078 set dummy $ac_prog; ac_word=$2
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6080 $as_echo_n "checking for $ac_word... " >&6; }
6081 if ${ac_cv_prog_RSVG+:} false; then :
6082 $as_echo_n "(cached) " >&6
6083 else
6084 if test -n "$RSVG"; then
6085 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6086 else
6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6088 for as_dir in $PATH
6090 IFS=$as_save_IFS
6091 test -z "$as_dir" && as_dir=.
6092 for ac_exec_ext in '' $ac_executable_extensions; do
6093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6094 ac_cv_prog_RSVG="$ac_prog"
6095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6096 break 2
6098 done
6099 done
6100 IFS=$as_save_IFS
6104 RSVG=$ac_cv_prog_RSVG
6105 if test -n "$RSVG"; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6107 $as_echo "$RSVG" >&6; }
6108 else
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6110 $as_echo "no" >&6; }
6114 test -n "$RSVG" && break
6115 done
6116 test -n "$RSVG" || RSVG="false"
6118 for ac_prog in convert
6120 # Extract the first word of "$ac_prog", so it can be a program name with args.
6121 set dummy $ac_prog; ac_word=$2
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6123 $as_echo_n "checking for $ac_word... " >&6; }
6124 if ${ac_cv_prog_CONVERT+:} false; then :
6125 $as_echo_n "(cached) " >&6
6126 else
6127 if test -n "$CONVERT"; then
6128 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6129 else
6130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131 for as_dir in $PATH
6133 IFS=$as_save_IFS
6134 test -z "$as_dir" && as_dir=.
6135 for ac_exec_ext in '' $ac_executable_extensions; do
6136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6137 ac_cv_prog_CONVERT="$ac_prog"
6138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6139 break 2
6141 done
6142 done
6143 IFS=$as_save_IFS
6147 CONVERT=$ac_cv_prog_CONVERT
6148 if test -n "$CONVERT"; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6150 $as_echo "$CONVERT" >&6; }
6151 else
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 $as_echo "no" >&6; }
6157 test -n "$CONVERT" && break
6158 done
6159 test -n "$CONVERT" || CONVERT="false"
6161 for ac_prog in icotool
6163 # Extract the first word of "$ac_prog", so it can be a program name with args.
6164 set dummy $ac_prog; ac_word=$2
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 $as_echo_n "checking for $ac_word... " >&6; }
6167 if ${ac_cv_prog_ICOTOOL+:} false; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 if test -n "$ICOTOOL"; then
6171 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6172 else
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 for as_dir in $PATH
6176 IFS=$as_save_IFS
6177 test -z "$as_dir" && as_dir=.
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6180 ac_cv_prog_ICOTOOL="$ac_prog"
6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 break 2
6184 done
6185 done
6186 IFS=$as_save_IFS
6190 ICOTOOL=$ac_cv_prog_ICOTOOL
6191 if test -n "$ICOTOOL"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6193 $as_echo "$ICOTOOL" >&6; }
6194 else
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 $as_echo "no" >&6; }
6200 test -n "$ICOTOOL" && break
6201 done
6202 test -n "$ICOTOOL" || ICOTOOL="false"
6204 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6205 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6207 if test "$CONVERT" = false
6208 then
6209 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6210 else
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6212 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6213 convert_version=`convert --version | head -n1`
6214 if test "x$convert_version" != "x"
6215 then
6216 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6217 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6218 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6219 then
6220 CONVERT=false
6223 if test "$CONVERT" = false
6224 then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6226 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6227 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6228 else
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6230 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6234 if test "$ICOTOOL" = false
6235 then
6236 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6237 else
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6239 $as_echo_n "checking for recent enough icotool... " >&6; }
6240 icotool_version=`icotool --version | head -n1`
6241 if test "x$icotool_version" != "x"
6242 then
6243 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6244 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6245 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6246 then
6247 ICOTOOL=false
6248 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6251 if test "$ICOTOOL" = false
6252 then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6254 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6255 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6256 else
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6258 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6262 with_gettext=yes
6263 with_gettextpo=yes
6264 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6267 test "x$with_gettext" != xno || MSGFMT=false
6268 if test "$MSGFMT" != "false"
6269 then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6271 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6272 cat >conftest.po <<EOF
6273 # comment
6274 msgctxt "ctxt"
6275 msgid "id"
6276 msgstr "str"
6278 if $MSGFMT -o /dev/null conftest.po 2>&5
6279 then
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6281 $as_echo "yes" >&6; }
6282 else
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6284 $as_echo "no" >&6; }
6285 MSGFMT=false
6288 if test "$MSGFMT" = false; then :
6289 case "x$with_gettext" in
6290 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6291 xno) ;;
6292 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6293 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6294 esac
6295 enable_po=${enable_po:-no}
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6300 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6301 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6302 $as_echo_n "(cached) " >&6
6303 else
6304 ac_check_lib_save_LIBS=$LIBS
6305 LIBS="-li386 $LIBS"
6306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6307 /* end confdefs.h. */
6309 /* Override any GCC internal prototype to avoid an error.
6310 Use char because int might match the return type of a GCC
6311 builtin and then its argument prototype would still apply. */
6312 #ifdef __cplusplus
6313 extern "C"
6314 #endif
6315 char i386_set_ldt ();
6317 main ()
6319 return i386_set_ldt ();
6321 return 0;
6323 _ACEOF
6324 if ac_fn_c_try_link "$LINENO"; then :
6325 ac_cv_lib_i386_i386_set_ldt=yes
6326 else
6327 ac_cv_lib_i386_i386_set_ldt=no
6329 rm -f core conftest.err conftest.$ac_objext \
6330 conftest$ac_exeext conftest.$ac_ext
6331 LIBS=$ac_check_lib_save_LIBS
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6334 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6335 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6336 cat >>confdefs.h <<_ACEOF
6337 #define HAVE_LIBI386 1
6338 _ACEOF
6340 LIBS="-li386 $LIBS"
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6345 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6346 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6347 $as_echo_n "(cached) " >&6
6348 else
6349 ac_check_lib_save_LIBS=$LIBS
6350 LIBS="-lossaudio $LIBS"
6351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h. */
6354 /* Override any GCC internal prototype to avoid an error.
6355 Use char because int might match the return type of a GCC
6356 builtin and then its argument prototype would still apply. */
6357 #ifdef __cplusplus
6358 extern "C"
6359 #endif
6360 char _oss_ioctl ();
6362 main ()
6364 return _oss_ioctl ();
6366 return 0;
6368 _ACEOF
6369 if ac_fn_c_try_link "$LINENO"; then :
6370 ac_cv_lib_ossaudio__oss_ioctl=yes
6371 else
6372 ac_cv_lib_ossaudio__oss_ioctl=no
6374 rm -f core conftest.err conftest.$ac_objext \
6375 conftest$ac_exeext conftest.$ac_ext
6376 LIBS=$ac_check_lib_save_LIBS
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6379 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6380 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6381 cat >>confdefs.h <<_ACEOF
6382 #define HAVE_LIBOSSAUDIO 1
6383 _ACEOF
6385 LIBS="-lossaudio $LIBS"
6390 OPENGL_LIBS=""
6394 # Check whether --enable-largefile was given.
6395 if test "${enable_largefile+set}" = set; then :
6396 enableval=$enable_largefile;
6399 if test "$enable_largefile" != no; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6402 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6403 if ${ac_cv_sys_largefile_CC+:} false; then :
6404 $as_echo_n "(cached) " >&6
6405 else
6406 ac_cv_sys_largefile_CC=no
6407 if test "$GCC" != yes; then
6408 ac_save_CC=$CC
6409 while :; do
6410 # IRIX 6.2 and later do not support large files by default,
6411 # so use the C compiler's -n32 option if that helps.
6412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6413 /* end confdefs.h. */
6414 #include <sys/types.h>
6415 /* Check that off_t can represent 2**63 - 1 correctly.
6416 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6417 since some C++ compilers masquerading as C compilers
6418 incorrectly reject 9223372036854775807. */
6419 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6420 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6421 && LARGE_OFF_T % 2147483647 == 1)
6422 ? 1 : -1];
6424 main ()
6428 return 0;
6430 _ACEOF
6431 if ac_fn_c_try_compile "$LINENO"; then :
6432 break
6434 rm -f core conftest.err conftest.$ac_objext
6435 CC="$CC -n32"
6436 if ac_fn_c_try_compile "$LINENO"; then :
6437 ac_cv_sys_largefile_CC=' -n32'; break
6439 rm -f core conftest.err conftest.$ac_objext
6440 break
6441 done
6442 CC=$ac_save_CC
6443 rm -f conftest.$ac_ext
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6447 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6448 if test "$ac_cv_sys_largefile_CC" != no; then
6449 CC=$CC$ac_cv_sys_largefile_CC
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6453 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6454 if ${ac_cv_sys_file_offset_bits+:} false; then :
6455 $as_echo_n "(cached) " >&6
6456 else
6457 while :; do
6458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6459 /* end confdefs.h. */
6460 #include <sys/types.h>
6461 /* Check that off_t can represent 2**63 - 1 correctly.
6462 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6463 since some C++ compilers masquerading as C compilers
6464 incorrectly reject 9223372036854775807. */
6465 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6466 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6467 && LARGE_OFF_T % 2147483647 == 1)
6468 ? 1 : -1];
6470 main ()
6474 return 0;
6476 _ACEOF
6477 if ac_fn_c_try_compile "$LINENO"; then :
6478 ac_cv_sys_file_offset_bits=no; break
6480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6482 /* end confdefs.h. */
6483 #define _FILE_OFFSET_BITS 64
6484 #include <sys/types.h>
6485 /* Check that off_t can represent 2**63 - 1 correctly.
6486 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6487 since some C++ compilers masquerading as C compilers
6488 incorrectly reject 9223372036854775807. */
6489 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6490 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6491 && LARGE_OFF_T % 2147483647 == 1)
6492 ? 1 : -1];
6494 main ()
6498 return 0;
6500 _ACEOF
6501 if ac_fn_c_try_compile "$LINENO"; then :
6502 ac_cv_sys_file_offset_bits=64; break
6504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6505 ac_cv_sys_file_offset_bits=unknown
6506 break
6507 done
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6510 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6511 case $ac_cv_sys_file_offset_bits in #(
6512 no | unknown) ;;
6514 cat >>confdefs.h <<_ACEOF
6515 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6516 _ACEOF
6518 esac
6519 rm -rf conftest*
6520 if test $ac_cv_sys_file_offset_bits = unknown; then
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6522 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6523 if ${ac_cv_sys_large_files+:} false; then :
6524 $as_echo_n "(cached) " >&6
6525 else
6526 while :; do
6527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6528 /* end confdefs.h. */
6529 #include <sys/types.h>
6530 /* Check that off_t can represent 2**63 - 1 correctly.
6531 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6532 since some C++ compilers masquerading as C compilers
6533 incorrectly reject 9223372036854775807. */
6534 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6535 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6536 && LARGE_OFF_T % 2147483647 == 1)
6537 ? 1 : -1];
6539 main ()
6543 return 0;
6545 _ACEOF
6546 if ac_fn_c_try_compile "$LINENO"; then :
6547 ac_cv_sys_large_files=no; break
6549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6551 /* end confdefs.h. */
6552 #define _LARGE_FILES 1
6553 #include <sys/types.h>
6554 /* Check that off_t can represent 2**63 - 1 correctly.
6555 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6556 since some C++ compilers masquerading as C compilers
6557 incorrectly reject 9223372036854775807. */
6558 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6559 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6560 && LARGE_OFF_T % 2147483647 == 1)
6561 ? 1 : -1];
6563 main ()
6567 return 0;
6569 _ACEOF
6570 if ac_fn_c_try_compile "$LINENO"; then :
6571 ac_cv_sys_large_files=1; break
6573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6574 ac_cv_sys_large_files=unknown
6575 break
6576 done
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6579 $as_echo "$ac_cv_sys_large_files" >&6; }
6580 case $ac_cv_sys_large_files in #(
6581 no | unknown) ;;
6583 cat >>confdefs.h <<_ACEOF
6584 #define _LARGE_FILES $ac_cv_sys_large_files
6585 _ACEOF
6587 esac
6588 rm -rf conftest*
6595 ac_ext=c
6596 ac_cpp='$CPP $CPPFLAGS'
6597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6601 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6602 # On Suns, sometimes $CPP names a directory.
6603 if test -n "$CPP" && test -d "$CPP"; then
6604 CPP=
6606 if test -z "$CPP"; then
6607 if ${ac_cv_prog_CPP+:} false; then :
6608 $as_echo_n "(cached) " >&6
6609 else
6610 # Double quotes because CPP needs to be expanded
6611 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6613 ac_preproc_ok=false
6614 for ac_c_preproc_warn_flag in '' yes
6616 # Use a header file that comes with gcc, so configuring glibc
6617 # with a fresh cross-compiler works.
6618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6619 # <limits.h> exists even on freestanding compilers.
6620 # On the NeXT, cc -E runs the code through the compiler's parser,
6621 # not just through cpp. "Syntax error" is here to catch this case.
6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6624 #ifdef __STDC__
6625 # include <limits.h>
6626 #else
6627 # include <assert.h>
6628 #endif
6629 Syntax error
6630 _ACEOF
6631 if ac_fn_c_try_cpp "$LINENO"; then :
6633 else
6634 # Broken: fails on valid input.
6635 continue
6637 rm -f conftest.err conftest.i conftest.$ac_ext
6639 # OK, works on sane cases. Now check whether nonexistent headers
6640 # can be detected and how.
6641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6642 /* end confdefs.h. */
6643 #include <ac_nonexistent.h>
6644 _ACEOF
6645 if ac_fn_c_try_cpp "$LINENO"; then :
6646 # Broken: success on invalid input.
6647 continue
6648 else
6649 # Passes both tests.
6650 ac_preproc_ok=:
6651 break
6653 rm -f conftest.err conftest.i conftest.$ac_ext
6655 done
6656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6657 rm -f conftest.i conftest.err conftest.$ac_ext
6658 if $ac_preproc_ok; then :
6659 break
6662 done
6663 ac_cv_prog_CPP=$CPP
6666 CPP=$ac_cv_prog_CPP
6667 else
6668 ac_cv_prog_CPP=$CPP
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6671 $as_echo "$CPP" >&6; }
6672 ac_preproc_ok=false
6673 for ac_c_preproc_warn_flag in '' yes
6675 # Use a header file that comes with gcc, so configuring glibc
6676 # with a fresh cross-compiler works.
6677 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6678 # <limits.h> exists even on freestanding compilers.
6679 # On the NeXT, cc -E runs the code through the compiler's parser,
6680 # not just through cpp. "Syntax error" is here to catch this case.
6681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6682 /* end confdefs.h. */
6683 #ifdef __STDC__
6684 # include <limits.h>
6685 #else
6686 # include <assert.h>
6687 #endif
6688 Syntax error
6689 _ACEOF
6690 if ac_fn_c_try_cpp "$LINENO"; then :
6692 else
6693 # Broken: fails on valid input.
6694 continue
6696 rm -f conftest.err conftest.i conftest.$ac_ext
6698 # OK, works on sane cases. Now check whether nonexistent headers
6699 # can be detected and how.
6700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6701 /* end confdefs.h. */
6702 #include <ac_nonexistent.h>
6703 _ACEOF
6704 if ac_fn_c_try_cpp "$LINENO"; then :
6705 # Broken: success on invalid input.
6706 continue
6707 else
6708 # Passes both tests.
6709 ac_preproc_ok=:
6710 break
6712 rm -f conftest.err conftest.i conftest.$ac_ext
6714 done
6715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6716 rm -f conftest.i conftest.err conftest.$ac_ext
6717 if $ac_preproc_ok; then :
6719 else
6720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6722 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6723 See \`config.log' for more details" "$LINENO" 5; }
6726 ac_ext=c
6727 ac_cpp='$CPP $CPPFLAGS'
6728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6734 $as_echo_n "checking for ANSI C header files... " >&6; }
6735 if ${ac_cv_header_stdc+:} false; then :
6736 $as_echo_n "(cached) " >&6
6737 else
6738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6739 /* end confdefs.h. */
6740 #include <stdlib.h>
6741 #include <stdarg.h>
6742 #include <string.h>
6743 #include <float.h>
6746 main ()
6750 return 0;
6752 _ACEOF
6753 if ac_fn_c_try_compile "$LINENO"; then :
6754 ac_cv_header_stdc=yes
6755 else
6756 ac_cv_header_stdc=no
6758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6760 if test $ac_cv_header_stdc = yes; then
6761 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6763 /* end confdefs.h. */
6764 #include <string.h>
6766 _ACEOF
6767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6768 $EGREP "memchr" >/dev/null 2>&1; then :
6770 else
6771 ac_cv_header_stdc=no
6773 rm -f conftest*
6777 if test $ac_cv_header_stdc = yes; then
6778 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6780 /* end confdefs.h. */
6781 #include <stdlib.h>
6783 _ACEOF
6784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6785 $EGREP "free" >/dev/null 2>&1; then :
6787 else
6788 ac_cv_header_stdc=no
6790 rm -f conftest*
6794 if test $ac_cv_header_stdc = yes; then
6795 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6796 if test "$cross_compiling" = yes; then :
6798 else
6799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6800 /* end confdefs.h. */
6801 #include <ctype.h>
6802 #include <stdlib.h>
6803 #if ((' ' & 0x0FF) == 0x020)
6804 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6805 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6806 #else
6807 # define ISLOWER(c) \
6808 (('a' <= (c) && (c) <= 'i') \
6809 || ('j' <= (c) && (c) <= 'r') \
6810 || ('s' <= (c) && (c) <= 'z'))
6811 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6812 #endif
6814 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6816 main ()
6818 int i;
6819 for (i = 0; i < 256; i++)
6820 if (XOR (islower (i), ISLOWER (i))
6821 || toupper (i) != TOUPPER (i))
6822 return 2;
6823 return 0;
6825 _ACEOF
6826 if ac_fn_c_try_run "$LINENO"; then :
6828 else
6829 ac_cv_header_stdc=no
6831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6832 conftest.$ac_objext conftest.beam conftest.$ac_ext
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6838 $as_echo "$ac_cv_header_stdc" >&6; }
6839 if test $ac_cv_header_stdc = yes; then
6841 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6845 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6846 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6847 inttypes.h stdint.h unistd.h
6848 do :
6849 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6850 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6852 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6853 cat >>confdefs.h <<_ACEOF
6854 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6855 _ACEOF
6859 done
6862 for ac_header in \
6863 AL/al.h \
6864 ApplicationServices/ApplicationServices.h \
6865 AudioToolbox/AudioConverter.h \
6866 AudioUnit/AudioUnit.h \
6867 AudioUnit/AudioComponent.h \
6868 CL/cl.h \
6869 Carbon/Carbon.h \
6870 CommonCrypto/CommonDigest.h \
6871 CoreAudio/CoreAudio.h \
6872 CoreServices/CoreServices.h \
6873 DiskArbitration/DiskArbitration.h \
6874 EGL/egl.h \
6875 IOKit/IOKitLib.h \
6876 IOKit/hid/IOHIDLib.h \
6877 OpenAL/al.h \
6878 OpenCL/opencl.h \
6879 QuickTime/ImageCompression.h \
6880 Security/Security.h \
6881 alias.h \
6882 alsa/asoundlib.h \
6883 arpa/inet.h \
6884 arpa/nameser.h \
6885 asm/types.h \
6886 asm/user.h \
6887 curses.h \
6888 direct.h \
6889 dirent.h \
6890 dlfcn.h \
6891 elf.h \
6892 float.h \
6893 fnmatch.h \
6894 getopt.h \
6895 gettext-po.h \
6896 grp.h \
6897 gsm.h \
6898 gsm/gsm.h \
6899 ieeefp.h \
6900 inet/mib2.h \
6901 io.h \
6902 kstat.h \
6903 libproc.h \
6904 link.h \
6905 linux/cdrom.h \
6906 linux/compiler.h \
6907 linux/filter.h \
6908 linux/hdreg.h \
6909 linux/hidraw.h \
6910 linux/input.h \
6911 linux/ioctl.h \
6912 linux/joystick.h \
6913 linux/major.h \
6914 linux/param.h \
6915 linux/serial.h \
6916 linux/types.h \
6917 linux/ucdrom.h \
6918 lwp.h \
6919 mach-o/nlist.h \
6920 mach-o/loader.h \
6921 mach/mach.h \
6922 mach/machine.h \
6923 machine/cpu.h \
6924 machine/limits.h \
6925 machine/sysarch.h \
6926 mntent.h \
6927 ncurses.h \
6928 netdb.h \
6929 netinet/in.h \
6930 netinet/in_systm.h \
6931 netinet/tcp.h \
6932 netinet/tcp_fsm.h \
6933 pcap/pcap.h \
6934 poll.h \
6935 port.h \
6936 process.h \
6937 pthread.h \
6938 pwd.h \
6939 sched.h \
6940 scsi/scsi.h \
6941 scsi/scsi_ioctl.h \
6942 scsi/sg.h \
6943 stdbool.h \
6944 stdint.h \
6945 stropts.h \
6946 sys/asoundlib.h \
6947 sys/attr.h \
6948 sys/auxv.h \
6949 sys/cdio.h \
6950 sys/elf32.h \
6951 sys/epoll.h \
6952 sys/event.h \
6953 sys/exec_elf.h \
6954 sys/filio.h \
6955 sys/inotify.h \
6956 sys/ioctl.h \
6957 sys/ipc.h \
6958 sys/limits.h \
6959 sys/link.h \
6960 sys/mman.h \
6961 sys/modem.h \
6962 sys/msg.h \
6963 sys/mtio.h \
6964 sys/param.h \
6965 sys/poll.h \
6966 sys/prctl.h \
6967 sys/protosw.h \
6968 sys/ptrace.h \
6969 sys/queue.h \
6970 sys/resource.h \
6971 sys/scsiio.h \
6972 sys/shm.h \
6973 sys/signal.h \
6974 sys/socket.h \
6975 sys/socketvar.h \
6976 sys/sockio.h \
6977 sys/statvfs.h \
6978 sys/strtio.h \
6979 sys/syscall.h \
6980 sys/sysinfo.h \
6981 sys/tihdr.h \
6982 sys/time.h \
6983 sys/timeout.h \
6984 sys/times.h \
6985 sys/uio.h \
6986 sys/user.h \
6987 sys/utsname.h \
6988 sys/vm86.h \
6989 sys/vnode.h \
6990 sys/wait.h \
6991 syscall.h \
6992 termios.h \
6993 unistd.h \
6994 utime.h \
6995 valgrind/memcheck.h \
6996 valgrind/valgrind.h \
6997 zlib.h
6999 do :
7000 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7001 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7002 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7003 cat >>confdefs.h <<_ACEOF
7004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7005 _ACEOF
7009 done
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
7012 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
7013 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
7014 $as_echo_n "(cached) " >&6
7015 else
7016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7017 /* end confdefs.h. */
7018 #include <sys/types.h>
7020 main ()
7022 return makedev(0, 0);
7024 return 0;
7026 _ACEOF
7027 if ac_fn_c_try_link "$LINENO"; then :
7028 ac_cv_header_sys_types_h_makedev=yes
7029 else
7030 ac_cv_header_sys_types_h_makedev=no
7032 rm -f core conftest.err conftest.$ac_objext \
7033 conftest$ac_exeext conftest.$ac_ext
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7037 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7039 if test $ac_cv_header_sys_types_h_makedev = no; then
7040 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7041 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7043 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7049 if test $ac_cv_header_sys_mkdev_h = no; then
7050 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7051 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7053 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7062 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7063 if ${ac_cv_header_stat_broken+:} false; then :
7064 $as_echo_n "(cached) " >&6
7065 else
7066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7067 /* end confdefs.h. */
7068 #include <sys/types.h>
7069 #include <sys/stat.h>
7071 #if defined S_ISBLK && defined S_IFDIR
7072 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7073 #endif
7075 #if defined S_ISBLK && defined S_IFCHR
7076 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7077 #endif
7079 #if defined S_ISLNK && defined S_IFREG
7080 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7081 #endif
7083 #if defined S_ISSOCK && defined S_IFREG
7084 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7085 #endif
7087 _ACEOF
7088 if ac_fn_c_try_compile "$LINENO"; then :
7089 ac_cv_header_stat_broken=no
7090 else
7091 ac_cv_header_stat_broken=yes
7093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7096 $as_echo "$ac_cv_header_stat_broken" >&6; }
7097 if test $ac_cv_header_stat_broken = yes; then
7099 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7105 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7106 do :
7107 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7108 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7109 #ifdef HAVE_SYS_PARAM_H
7110 # include <sys/param.h>
7111 #endif
7113 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7114 cat >>confdefs.h <<_ACEOF
7115 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7116 _ACEOF
7120 done
7123 for ac_header in \
7124 netinet/ip.h \
7125 net/if.h \
7126 net/if_arp.h \
7127 net/if_dl.h \
7128 net/if_types.h \
7129 net/route.h \
7130 netinet/if_ether.h \
7131 netinet/if_inarp.h \
7132 netinet/in_pcb.h \
7133 netinet/ip_icmp.h \
7134 netinet/ip_var.h \
7135 netinet/udp.h \
7136 netipx/ipx.h \
7137 sys/un.h \
7139 do :
7140 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7141 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7142 #ifdef HAVE_SYS_SOCKET_H
7143 # include <sys/socket.h>
7144 #endif
7145 #ifdef HAVE_SYS_SOCKETVAR_H
7146 # include <sys/socketvar.h>
7147 #endif
7148 #ifdef HAVE_NET_ROUTE_H
7149 # include <net/route.h>
7150 #endif
7151 #ifdef HAVE_NETINET_IN_H
7152 # include <netinet/in.h>
7153 #endif
7154 #ifdef HAVE_NETINET_IN_SYSTM_H
7155 # include <netinet/in_systm.h>
7156 #endif
7157 #ifdef HAVE_NET_IF_H
7158 # include <net/if.h>
7159 #endif
7160 #ifdef HAVE_NETINET_IP_H
7161 # include <netinet/ip.h>
7162 #endif
7164 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7165 cat >>confdefs.h <<_ACEOF
7166 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7167 _ACEOF
7171 done
7174 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7175 do :
7176 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7177 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7178 #ifdef HAVE_ALIAS_H
7179 # include <alias.h>
7180 #endif
7181 #ifdef HAVE_SYS_SOCKET_H
7182 # include <sys/socket.h>
7183 #endif
7184 #ifdef HAVE_SYS_SOCKETVAR_H
7185 # include <sys/socketvar.h>
7186 #endif
7187 #ifdef HAVE_SYS_TIMEOUT_H
7188 # include <sys/timeout.h>
7189 #endif
7190 #ifdef HAVE_NETINET_IN_H
7191 # include <netinet/in.h>
7192 #endif
7193 #ifdef HAVE_NETINET_IN_SYSTM_H
7194 # include <netinet/in_systm.h>
7195 #endif
7196 #ifdef HAVE_NETINET_IP_H
7197 # include <netinet/ip.h>
7198 #endif
7199 #ifdef HAVE_NETINET_IP_VAR_H
7200 # include <netinet/ip_var.h>
7201 #endif
7202 #ifdef HAVE_NETINET_IP_ICMP_H
7203 # include <netinet/ip_icmp.h>
7204 #endif
7205 #ifdef HAVE_NETINET_UDP_H
7206 # include <netinet/udp.h>
7207 #endif
7208 #ifdef HAVE_NETINET_TCP_H
7209 # include <netinet/tcp.h>
7210 #endif
7211 #ifdef HAVE_NETINET_TCP_TIMER_H
7212 #include <netinet/tcp_timer.h>
7213 #endif
7215 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7216 cat >>confdefs.h <<_ACEOF
7217 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7218 _ACEOF
7222 done
7225 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7226 do :
7227 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7228 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7229 #ifdef HAVE_ASM_TYPES_H
7230 # include <asm/types.h>
7231 #endif
7232 #ifdef HAVE_SYS_SOCKET_H
7233 # include <sys/socket.h>
7234 #endif
7235 #ifdef HAVE_LINUX_TYPES_H
7236 # include <linux/types.h>
7237 #endif
7239 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7240 cat >>confdefs.h <<_ACEOF
7241 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7242 _ACEOF
7246 done
7249 for ac_header in mach-o/dyld_images.h
7250 do :
7251 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7252 # include <stdbool.h>
7253 #endif
7254 #ifdef HAVE_STDINT_H
7255 # include <stdint.h>
7256 #endif
7258 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7259 cat >>confdefs.h <<_ACEOF
7260 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7261 _ACEOF
7265 done
7268 for ac_header in resolv.h
7269 do :
7270 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7271 #ifdef HAVE_SYS_SOCKET_H
7272 # include <sys/socket.h>
7273 #endif
7274 #ifdef HAVE_NETINET_IN_H
7275 # include <netinet/in.h>
7276 #endif
7277 #ifdef HAVE_ARPA_NAMESER_H
7278 # include <arpa/nameser.h>
7279 #endif
7281 if test "x$ac_cv_header_resolv_h" = xyes; then :
7282 cat >>confdefs.h <<_ACEOF
7283 #define HAVE_RESOLV_H 1
7284 _ACEOF
7288 done
7291 for ac_header in ifaddrs.h
7292 do :
7293 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7295 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7296 cat >>confdefs.h <<_ACEOF
7297 #define HAVE_IFADDRS_H 1
7298 _ACEOF
7302 done
7305 for ac_header in sys/ucontext.h
7306 do :
7307 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7309 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7310 cat >>confdefs.h <<_ACEOF
7311 #define HAVE_SYS_UCONTEXT_H 1
7312 _ACEOF
7316 done
7319 for ac_header in sys/thr.h
7320 do :
7321 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7322 #ifdef HAVE_SYS_UCONTEXT_H
7323 #include <sys/ucontext.h>
7324 #endif
7326 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7327 cat >>confdefs.h <<_ACEOF
7328 #define HAVE_SYS_THR_H 1
7329 _ACEOF
7333 done
7336 for ac_header in pthread_np.h
7337 do :
7338 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7339 #include <pthread.h>
7340 #endif
7342 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7343 cat >>confdefs.h <<_ACEOF
7344 #define HAVE_PTHREAD_NP_H 1
7345 _ACEOF
7349 done
7352 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7353 do :
7354 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7355 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7356 #include <sys/time.h>
7357 #endif
7358 #include <sys/types.h>
7359 #ifdef HAVE_ASM_TYPES_H
7360 #include <asm/types.h>
7361 #endif
7363 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7364 cat >>confdefs.h <<_ACEOF
7365 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7366 _ACEOF
7370 done
7373 for ac_header in libprocstat.h
7374 do :
7375 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7376 #include <sys/param.h>
7377 #endif
7378 #ifdef HAVE_SYS_QUEUE_H
7379 #include <sys/queue.h>
7380 #endif
7381 #ifdef HAVE_SYS_SOCKET_H
7382 #include <sys/socket.h>
7383 #endif
7385 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7386 cat >>confdefs.h <<_ACEOF
7387 #define HAVE_LIBPROCSTAT_H 1
7388 _ACEOF
7392 done
7396 dlldir="\${libdir}/wine"
7398 DLLFLAGS="-D_REENTRANT"
7400 LDRPATH_INSTALL=""
7402 LDRPATH_LOCAL=""
7404 LDEXECFLAGS=""
7406 WINELOADER_LDFLAGS=""
7408 LIBEXT="so"
7409 DLLEXT=".so"
7410 IMPLIBEXT="def"
7411 # Extract the first word of "ldd", so it can be a program name with args.
7412 set dummy ldd; ac_word=$2
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7414 $as_echo_n "checking for $ac_word... " >&6; }
7415 if ${ac_cv_path_LDD+:} false; then :
7416 $as_echo_n "(cached) " >&6
7417 else
7418 case $LDD in
7419 [\\/]* | ?:[\\/]*)
7420 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 as_dummy="/sbin:/usr/sbin:$PATH"
7425 for as_dir in $as_dummy
7427 IFS=$as_save_IFS
7428 test -z "$as_dir" && as_dir=.
7429 for ac_exec_ext in '' $ac_executable_extensions; do
7430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7431 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7433 break 2
7435 done
7436 done
7437 IFS=$as_save_IFS
7439 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7441 esac
7443 LDD=$ac_cv_path_LDD
7444 if test -n "$LDD"; then
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7446 $as_echo "$LDD" >&6; }
7447 else
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7449 $as_echo "no" >&6; }
7453 if test -n "$ac_tool_prefix"; then
7454 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7455 set dummy ${ac_tool_prefix}otool; ac_word=$2
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7457 $as_echo_n "checking for $ac_word... " >&6; }
7458 if ${ac_cv_prog_OTOOL+:} false; then :
7459 $as_echo_n "(cached) " >&6
7460 else
7461 if test -n "$OTOOL"; then
7462 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7463 else
7464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7465 for as_dir in $PATH
7467 IFS=$as_save_IFS
7468 test -z "$as_dir" && as_dir=.
7469 for ac_exec_ext in '' $ac_executable_extensions; do
7470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7471 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7473 break 2
7475 done
7476 done
7477 IFS=$as_save_IFS
7481 OTOOL=$ac_cv_prog_OTOOL
7482 if test -n "$OTOOL"; then
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7484 $as_echo "$OTOOL" >&6; }
7485 else
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7487 $as_echo "no" >&6; }
7492 if test -z "$ac_cv_prog_OTOOL"; then
7493 ac_ct_OTOOL=$OTOOL
7494 # Extract the first word of "otool", so it can be a program name with args.
7495 set dummy otool; ac_word=$2
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7497 $as_echo_n "checking for $ac_word... " >&6; }
7498 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7499 $as_echo_n "(cached) " >&6
7500 else
7501 if test -n "$ac_ct_OTOOL"; then
7502 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7503 else
7504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7505 for as_dir in $PATH
7507 IFS=$as_save_IFS
7508 test -z "$as_dir" && as_dir=.
7509 for ac_exec_ext in '' $ac_executable_extensions; do
7510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7511 ac_cv_prog_ac_ct_OTOOL="otool"
7512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7513 break 2
7515 done
7516 done
7517 IFS=$as_save_IFS
7521 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7522 if test -n "$ac_ct_OTOOL"; then
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7524 $as_echo "$ac_ct_OTOOL" >&6; }
7525 else
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7527 $as_echo "no" >&6; }
7530 if test "x$ac_ct_OTOOL" = x; then
7531 OTOOL="otool"
7532 else
7533 case $cross_compiling:$ac_tool_warned in
7534 yes:)
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7537 ac_tool_warned=yes ;;
7538 esac
7539 OTOOL=$ac_ct_OTOOL
7541 else
7542 OTOOL="$ac_cv_prog_OTOOL"
7545 if test -n "$ac_tool_prefix"; then
7546 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7547 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7549 $as_echo_n "checking for $ac_word... " >&6; }
7550 if ${ac_cv_prog_READELF+:} false; then :
7551 $as_echo_n "(cached) " >&6
7552 else
7553 if test -n "$READELF"; then
7554 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7555 else
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7557 for as_dir in $PATH
7559 IFS=$as_save_IFS
7560 test -z "$as_dir" && as_dir=.
7561 for ac_exec_ext in '' $ac_executable_extensions; do
7562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7563 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7565 break 2
7567 done
7568 done
7569 IFS=$as_save_IFS
7573 READELF=$ac_cv_prog_READELF
7574 if test -n "$READELF"; then
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7576 $as_echo "$READELF" >&6; }
7577 else
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7579 $as_echo "no" >&6; }
7584 if test -z "$ac_cv_prog_READELF"; then
7585 ac_ct_READELF=$READELF
7586 # Extract the first word of "readelf", so it can be a program name with args.
7587 set dummy readelf; ac_word=$2
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7589 $as_echo_n "checking for $ac_word... " >&6; }
7590 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7591 $as_echo_n "(cached) " >&6
7592 else
7593 if test -n "$ac_ct_READELF"; then
7594 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7595 else
7596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7597 for as_dir in $PATH
7599 IFS=$as_save_IFS
7600 test -z "$as_dir" && as_dir=.
7601 for ac_exec_ext in '' $ac_executable_extensions; do
7602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7603 ac_cv_prog_ac_ct_READELF="readelf"
7604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7605 break 2
7607 done
7608 done
7609 IFS=$as_save_IFS
7613 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7614 if test -n "$ac_ct_READELF"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7616 $as_echo "$ac_ct_READELF" >&6; }
7617 else
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7619 $as_echo "no" >&6; }
7622 if test "x$ac_ct_READELF" = x; then
7623 READELF="true"
7624 else
7625 case $cross_compiling:$ac_tool_warned in
7626 yes:)
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7629 ac_tool_warned=yes ;;
7630 esac
7631 READELF=$ac_ct_READELF
7633 else
7634 READELF="$ac_cv_prog_READELF"
7637 wine_rules_file=conf$$rules.make
7638 rm -f $wine_rules_file
7639 SUBDIRS=""
7641 DISABLED_SUBDIRS=""
7643 CONFIGURE_TARGETS=""
7645 ALL_TEST_RESOURCES=""
7648 wine_fn_append_file ()
7650 as_fn_append $1 " \\$as_nl $2"
7653 wine_fn_append_rule ()
7655 $as_echo "$1" >>$wine_rules_file
7658 wine_fn_has_flag ()
7660 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7663 wine_fn_all_rules ()
7665 wine_fn_append_file SUBDIRS $ac_dir
7666 wine_fn_append_rule \
7667 "all: $ac_dir
7668 .PHONY: $ac_dir
7669 $ac_dir: dummy
7670 @cd $ac_dir && \$(MAKE)"
7673 wine_fn_install_rules ()
7675 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7677 wine_fn_append_rule \
7678 ".PHONY: $ac_dir/install $ac_dir/uninstall
7679 $ac_dir/install:: $ac_dir
7680 @cd $ac_dir && \$(MAKE) install
7681 $ac_dir/uninstall::
7682 @cd $ac_dir && \$(MAKE) uninstall
7683 install:: $ac_dir/install
7684 __uninstall__: $ac_dir/uninstall"
7686 if wine_fn_has_flag install-lib
7687 then
7688 wine_fn_append_rule \
7689 ".PHONY: $ac_dir/install-lib
7690 $ac_dir/install-lib:: $ac_dir
7691 @cd $ac_dir && \$(MAKE) install-lib
7692 install-lib:: $ac_dir/install-lib"
7695 if wine_fn_has_flag install-dev
7696 then
7697 wine_fn_append_rule \
7698 ".PHONY: $ac_dir/install-dev
7699 $ac_dir/install-dev:: $ac_dir
7700 @cd $ac_dir && \$(MAKE) install-dev
7701 install-dev:: $ac_dir/install-dev"
7705 wine_fn_clean_rules ()
7707 ac_clean=$@
7709 if wine_fn_has_flag clean
7710 then
7711 wine_fn_append_rule \
7712 "$ac_dir/clean: dummy
7713 @cd $ac_dir && \$(MAKE) clean"
7714 else
7715 wine_fn_append_rule \
7716 "$ac_dir/clean: dummy
7717 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7719 wine_fn_append_rule \
7720 "__clean__: $ac_dir/clean
7721 .PHONY: $ac_dir/clean"
7724 wine_fn_disabled_rules ()
7726 ac_clean=$@
7728 wine_fn_append_file SUBDIRS $ac_dir
7729 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7730 wine_fn_append_rule \
7731 "__clean__: $ac_dir/clean
7732 .PHONY: $ac_dir/clean
7733 $ac_dir/clean: dummy
7734 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7737 wine_fn_config_makefile ()
7739 ac_dir=$1
7740 ac_enable=$2
7741 ac_flags=$3
7743 case $ac_dir in
7744 fonts|server) test -z "$with_wine64" || return ;;
7745 esac
7746 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7747 wine_fn_disabled_rules; return
7749 wine_fn_all_rules
7750 wine_fn_install_rules
7751 wine_fn_clean_rules
7754 wine_fn_config_lib ()
7756 ac_name=$1
7757 ac_flags=$2
7758 ac_dir=dlls/$ac_name
7759 ac_deps="include"
7761 if test "x$enable_tools" = xno; then :
7763 else
7764 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7766 wine_fn_all_rules
7767 wine_fn_clean_rules
7769 wine_fn_append_rule \
7770 ".PHONY: $ac_dir/install $ac_dir/uninstall
7771 $ac_dir/install:: $ac_dir
7772 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7773 $ac_dir/uninstall::
7774 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7775 install install-dev:: $ac_dir/install
7776 __uninstall__: $ac_dir/uninstall
7777 __builddeps__: $ac_dir
7778 $ac_dir: $ac_deps"
7781 wine_fn_config_dll ()
7783 ac_name=$1
7784 ac_dir=dlls/$ac_name
7785 ac_enable=$2
7786 ac_flags=$3
7787 ac_implib=${4:-$ac_name}
7788 ac_file=$ac_dir/lib$ac_implib
7789 ac_dll=$ac_name
7790 ac_deps="include"
7791 ac_implibflags=""
7793 if test "x$enable_tools" = xno; then :
7795 else
7796 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7798 case $ac_name in
7799 *.*16) ac_implibflags=" -m16" ;;
7800 *.*) ;;
7801 *) ac_dll=$ac_dll.dll ;;
7802 esac
7804 ac_clean=
7805 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7806 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7808 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7809 if test "$ac_enable" != enable_win16
7810 then
7811 wine_fn_clean_rules $ac_clean
7812 wine_fn_append_file SUBDIRS $ac_dir
7813 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7814 else
7815 wine_fn_disabled_rules $ac_clean
7816 return
7818 else
7819 wine_fn_all_rules
7820 wine_fn_clean_rules $ac_clean
7821 wine_fn_append_rule \
7822 "$ac_dir: __builddeps__
7823 manpages htmlpages sgmlpages xmlpages::
7824 @cd $ac_dir && \$(MAKE) \$@
7825 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7826 install install-lib:: $ac_dir/install-lib
7827 __uninstall__: $ac_dir/uninstall"
7828 if test -n "$DLLEXT"
7829 then
7830 wine_fn_append_rule \
7831 "$ac_dir/install-lib:: $ac_dir
7832 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7833 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7834 $ac_dir/uninstall::
7835 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7836 else
7837 wine_fn_append_rule \
7838 "$ac_dir/install-lib:: $ac_dir
7839 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7840 $ac_dir/uninstall::
7841 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7845 if wine_fn_has_flag staticimplib
7846 then
7847 wine_fn_append_rule \
7848 "__builddeps__: $ac_file.a
7849 $ac_file.a $ac_file.cross.a: $ac_deps
7850 $ac_file.a: dummy
7851 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7852 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7853 $ac_dir/install-dev:: $ac_file.a
7854 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7855 $ac_dir/uninstall::
7856 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7857 install install-dev:: $ac_dir/install-dev
7858 __uninstall__: $ac_dir/uninstall"
7860 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7861 then
7862 wine_fn_append_rule \
7863 "__builddeps__: $ac_file.cross.a
7864 $ac_file.cross.a: dummy
7865 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7868 elif wine_fn_has_flag implib
7869 then
7870 wine_fn_append_rule \
7871 "__builddeps__: $ac_file.$IMPLIBEXT
7872 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7873 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7874 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7875 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7876 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7877 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7878 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7879 $ac_dir/uninstall::
7880 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7881 install install-dev:: $ac_dir/install-dev
7882 __uninstall__: $ac_dir/uninstall"
7883 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7884 then
7885 wine_fn_append_rule \
7886 "__builddeps__: $ac_file.cross.a
7887 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7888 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7893 wine_fn_config_program ()
7895 ac_name=$1
7896 ac_dir=programs/$ac_name
7897 ac_enable=$2
7898 ac_flags=$3
7899 ac_program=$ac_name
7901 case $ac_name in
7902 *.*) ;;
7903 *) ac_program=$ac_program.exe ;;
7904 esac
7906 ac_clean=
7907 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7908 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7910 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7911 wine_fn_disabled_rules $ac_clean; return
7914 wine_fn_all_rules
7915 wine_fn_clean_rules $ac_clean
7916 wine_fn_append_rule "$ac_dir: __builddeps__"
7918 wine_fn_has_flag install || return
7919 wine_fn_append_rule \
7920 ".PHONY: $ac_dir/install $ac_dir/uninstall
7921 install install-lib:: $ac_dir/install
7922 __uninstall__: $ac_dir/uninstall"
7924 if test -n "$DLLEXT"
7925 then
7926 wine_fn_append_rule \
7927 "$ac_dir/install:: $ac_dir
7928 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7929 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7930 $ac_dir/uninstall::
7931 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7933 if test -z "$with_wine64" && wine_fn_has_flag installbin
7934 then
7935 wine_fn_append_rule \
7936 "$ac_dir/install:: __tooldeps__
7937 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7938 $ac_dir/uninstall::
7939 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7941 else
7942 wine_fn_append_rule \
7943 "$ac_dir/install:: $ac_dir
7944 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7945 $ac_dir/uninstall::
7946 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7949 if test -z "$with_wine64" && wine_fn_has_flag manpage
7950 then
7951 wine_fn_append_rule \
7952 "$ac_dir/install:: $ac_dir
7953 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7954 $ac_dir/uninstall::
7955 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7959 wine_fn_config_test ()
7961 ac_dir=$1
7962 ac_name=$2
7963 ac_flags=$3
7965 ac_clean=
7966 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7967 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7969 if test "x$enable_tests" = xno; then :
7970 wine_fn_disabled_rules $ac_clean; return
7973 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7974 wine_fn_all_rules
7975 wine_fn_clean_rules $ac_clean
7977 wine_fn_append_rule \
7978 "$ac_dir: __builddeps__
7979 programs/winetest: $ac_dir
7980 check test: $ac_dir/test
7981 .PHONY: $ac_dir/test
7982 $ac_dir/test: dummy
7983 @cd $ac_dir && \$(MAKE) test
7984 testclean::
7985 \$(RM) $ac_dir/*.ok"
7987 if test -n "$CROSSTARGET"
7988 then
7989 wine_fn_append_rule \
7990 "crosstest: $ac_dir/crosstest
7991 .PHONY: $ac_dir/crosstest
7992 $ac_dir/crosstest: __builddeps__ dummy
7993 @cd $ac_dir && \$(MAKE) crosstest"
7997 wine_fn_config_tool ()
7999 ac_dir=$1
8000 ac_flags=$2
8001 if test "x$enable_tools" = xno; then :
8002 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8005 wine_fn_all_rules
8006 wine_fn_install_rules
8007 wine_fn_clean_rules
8009 wine_fn_append_rule "__tooldeps__: $ac_dir"
8010 wine_fn_append_rule "$ac_dir: libs/port"
8011 case $ac_dir in
8012 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8013 esac
8016 wine_fn_config_symlink ()
8018 ac_linkdir=
8019 if test "x$1" = "x-d"
8020 then
8021 ac_linkdir=$2
8022 shift; shift
8024 ac_links=$@
8025 wine_fn_append_rule \
8026 "$ac_links:
8027 @./config.status \$@"
8028 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8029 test -n "$ac_linkdir" || return
8030 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8033 wine_binary="wine"
8034 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8035 WINELOADER_PROGRAMS="$wine_binary"
8037 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8039 case $host_os in
8040 cygwin*|mingw32*)
8041 if test -n "$ac_tool_prefix"; then
8042 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8043 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8045 $as_echo_n "checking for $ac_word... " >&6; }
8046 if ${ac_cv_prog_DLLTOOL+:} false; then :
8047 $as_echo_n "(cached) " >&6
8048 else
8049 if test -n "$DLLTOOL"; then
8050 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8051 else
8052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8053 for as_dir in $PATH
8055 IFS=$as_save_IFS
8056 test -z "$as_dir" && as_dir=.
8057 for ac_exec_ext in '' $ac_executable_extensions; do
8058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8059 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8061 break 2
8063 done
8064 done
8065 IFS=$as_save_IFS
8069 DLLTOOL=$ac_cv_prog_DLLTOOL
8070 if test -n "$DLLTOOL"; then
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8072 $as_echo "$DLLTOOL" >&6; }
8073 else
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8075 $as_echo "no" >&6; }
8080 if test -z "$ac_cv_prog_DLLTOOL"; then
8081 ac_ct_DLLTOOL=$DLLTOOL
8082 # Extract the first word of "dlltool", so it can be a program name with args.
8083 set dummy dlltool; ac_word=$2
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8085 $as_echo_n "checking for $ac_word... " >&6; }
8086 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8087 $as_echo_n "(cached) " >&6
8088 else
8089 if test -n "$ac_ct_DLLTOOL"; then
8090 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8091 else
8092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8093 for as_dir in $PATH
8095 IFS=$as_save_IFS
8096 test -z "$as_dir" && as_dir=.
8097 for ac_exec_ext in '' $ac_executable_extensions; do
8098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8099 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8101 break 2
8103 done
8104 done
8105 IFS=$as_save_IFS
8109 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8110 if test -n "$ac_ct_DLLTOOL"; then
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8112 $as_echo "$ac_ct_DLLTOOL" >&6; }
8113 else
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8115 $as_echo "no" >&6; }
8118 if test "x$ac_ct_DLLTOOL" = x; then
8119 DLLTOOL="false"
8120 else
8121 case $cross_compiling:$ac_tool_warned in
8122 yes:)
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8125 ac_tool_warned=yes ;;
8126 esac
8127 DLLTOOL=$ac_ct_DLLTOOL
8129 else
8130 DLLTOOL="$ac_cv_prog_DLLTOOL"
8133 LIBEXT="dll"
8134 DLLEXT=""
8135 IMPLIBEXT="a"
8136 enable_iphlpapi=${enable_iphlpapi:-no}
8137 enable_kernel32=${enable_kernel32:-no}
8138 enable_msvcrt=${enable_msvcrt:-no}
8139 enable_ntdll=${enable_ntdll:-no}
8140 enable_ws2_32=${enable_ws2_32:-no}
8141 enable_loader=${enable_loader:-no}
8142 enable_server=${enable_server:-no}
8143 with_x=${with_x:-no}
8144 with_pthread=${with_pthread:-no}
8146 crtlibs=""
8147 case $host_os in
8148 mingw32*)
8149 crtlibs="-lmsvcrt"
8150 SOCKET_LIBS="-lws2_32"
8152 esac
8154 LIBWINE_SHAREDLIB="libwine.dll"
8156 LIBWINE_IMPORTLIB="libwine.a"
8158 LIBWINE_INSTALL_LIB="libwine.dll"
8160 LIBWINE_INSTALL_DEV="libwine.a"
8162 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8164 LIBWINE_DEPENDS="wine.def"
8168 darwin*|macosx*)
8169 for ac_header in libunwind.h
8170 do :
8171 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8173 cat >>confdefs.h <<_ACEOF
8174 #define HAVE_LIBUNWIND_H 1
8175 _ACEOF
8179 done
8181 LIBEXT="dylib"
8182 DLLFLAGS="$DLLFLAGS -fPIC"
8183 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8184 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8185 COREFOUNDATION_LIBS="-framework CoreFoundation"
8187 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8189 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8191 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8193 CORESERVICES_LIBS="-framework CoreServices"
8195 APPKIT_LIBS="-framework AppKit"
8197 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8199 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8200 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8201 $as_echo_n "(cached) " >&6
8202 else
8203 ac_wine_try_cflags_saved=$CFLAGS
8204 CFLAGS="$CFLAGS -Wl,-no_pie"
8205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8206 /* end confdefs.h. */
8207 int main(int argc, char **argv) { return 0; }
8208 _ACEOF
8209 if ac_fn_c_try_link "$LINENO"; then :
8210 ac_cv_cflags__Wl__no_pie=yes
8211 else
8212 ac_cv_cflags__Wl__no_pie=no
8214 rm -f core conftest.err conftest.$ac_objext \
8215 conftest$ac_exeext conftest.$ac_ext
8216 CFLAGS=$ac_wine_try_cflags_saved
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8219 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8220 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8221 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8223 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8224 then
8225 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8228 if test "$ac_cv_header_Security_Security_h" = "yes"
8229 then
8230 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8232 ac_save_LIBS="$LIBS"
8233 LIBS="$LIBS $SECURITY_LIBS"
8234 for ac_func in SSLCopyPeerCertificates
8235 do :
8236 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8237 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8238 cat >>confdefs.h <<_ACEOF
8239 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8240 _ACEOF
8243 done
8245 LIBS="$ac_save_LIBS"
8246 with_gnutls=${with_gnutls:-no}
8248 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8249 then
8250 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8251 then
8252 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8254 else
8255 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8258 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8259 ac_save_LIBS="$LIBS"
8260 LIBS="$LIBS $COREAUDIO_LIBS"
8261 for ac_func in AUGraphAddNode
8262 do :
8263 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8264 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8265 cat >>confdefs.h <<_ACEOF
8266 #define HAVE_AUGRAPHADDNODE 1
8267 _ACEOF
8270 done
8272 LIBS="$ac_save_LIBS"
8274 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8275 then
8276 OPENAL_LIBS="-framework OpenAL"
8279 cat >>confdefs.h <<_ACEOF
8280 #define HAVE_OPENAL 1
8281 _ACEOF
8283 ac_cv_lib_openal=yes
8285 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8286 then
8287 OPENCL_LIBS="-framework OpenCL"
8289 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8291 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8292 then
8293 ac_save_LIBS="$LIBS"
8294 LIBS="$LIBS $IOKIT_LIBS"
8295 for ac_func in IOHIDManagerCreate
8296 do :
8297 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8298 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8299 cat >>confdefs.h <<_ACEOF
8300 #define HAVE_IOHIDMANAGERCREATE 1
8301 _ACEOF
8304 done
8306 LIBS="$ac_save_LIBS"
8308 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8309 then
8310 ac_save_LIBS="$LIBS"
8311 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8313 $as_echo_n "checking for the QuickTime framework... " >&6; }
8314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8316 #include <QuickTime/ImageCompression.h>
8318 main ()
8320 CodecManagerVersion(NULL);
8322 return 0;
8324 _ACEOF
8325 if ac_fn_c_try_link "$LINENO"; then :
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8327 $as_echo "yes" >&6; }
8328 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8330 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8331 else
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8333 $as_echo "no" >&6; }
8334 ac_cv_header_QuickTime_ImageCompression_h=no
8336 rm -f core conftest.err conftest.$ac_objext \
8337 conftest$ac_exeext conftest.$ac_ext
8338 LIBS="$ac_save_LIBS"
8340 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8341 then
8342 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8344 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8345 then
8346 CARBON_LIBS="-framework Carbon"
8350 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8351 then
8352 ac_save_LIBS="$LIBS"
8353 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8354 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8355 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8356 enable_winemac_drv=${enable_winemac_drv:-yes}
8359 LIBS="$ac_save_LIBS"
8362 if test "x$enable_win16" = "xyes"
8363 then
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8365 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8366 if test "$cross_compiling" = yes; then :
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8368 $as_echo "cross-compiling, assuming yes" >&6; }
8369 else
8370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8372 asm(".text\n"
8373 "bad:\tnop;nop\n"
8374 "good:\tnop;nop\n\t"
8375 ".globl _testfunc\n"
8376 "_testfunc:\tcallw good");
8377 extern void testfunc();
8379 main ()
8381 unsigned short *p = (unsigned short *)testfunc;
8382 return p[0] != 0xe866 || p[1] != 0xfffa
8384 return 0;
8386 _ACEOF
8387 if ac_fn_c_try_run "$LINENO"; then :
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8389 $as_echo "yes" >&6; }
8390 else
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8392 $as_echo "no" >&6; }
8393 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
8395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8396 conftest.$ac_objext conftest.beam conftest.$ac_ext
8401 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8403 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8405 LIBWINE_INSTALL_DEV="libwine.dylib"
8407 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8409 WINELOADER_DEPENDS="wine_info.plist"
8413 linux-android*)
8414 DLLFLAGS="$DLLFLAGS -fPIC"
8415 LDEXECFLAGS="-Wl,-pie"
8416 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8418 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8419 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8420 $as_echo_n "(cached) " >&6
8421 else
8422 ac_wine_try_cflags_saved=$CFLAGS
8423 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8426 int main(int argc, char **argv) { return 0; }
8427 _ACEOF
8428 if ac_fn_c_try_link "$LINENO"; then :
8429 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8430 else
8431 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8433 rm -f core conftest.err conftest.$ac_objext \
8434 conftest$ac_exeext conftest.$ac_ext
8435 CFLAGS=$ac_wine_try_cflags_saved
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8438 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8439 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8440 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8442 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8444 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8445 if eval \${$as_ac_var+:} false; then :
8446 $as_echo_n "(cached) " >&6
8447 else
8448 ac_wine_try_cflags_saved=$CFLAGS
8449 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8451 /* end confdefs.h. */
8452 int main(int argc, char **argv) { return 0; }
8453 _ACEOF
8454 if ac_fn_c_try_link "$LINENO"; then :
8455 eval "$as_ac_var=yes"
8456 else
8457 eval "$as_ac_var=no"
8459 rm -f core conftest.err conftest.$ac_objext \
8460 conftest$ac_exeext conftest.$ac_ext
8461 CFLAGS=$ac_wine_try_cflags_saved
8463 eval ac_res=\$$as_ac_var
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8465 $as_echo "$ac_res" >&6; }
8466 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8467 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8468 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8469 else
8470 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8472 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8473 if eval \${$as_ac_var+:} false; then :
8474 $as_echo_n "(cached) " >&6
8475 else
8476 ac_wine_try_cflags_saved=$CFLAGS
8477 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480 int main(int argc, char **argv) { return 0; }
8481 _ACEOF
8482 if ac_fn_c_try_link "$LINENO"; then :
8483 eval "$as_ac_var=yes"
8484 else
8485 eval "$as_ac_var=no"
8487 rm -f core conftest.err conftest.$ac_objext \
8488 conftest$ac_exeext conftest.$ac_ext
8489 CFLAGS=$ac_wine_try_cflags_saved
8491 eval ac_res=\$$as_ac_var
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8493 $as_echo "$ac_res" >&6; }
8494 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8495 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8496 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8500 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8501 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 ac_wine_try_cflags_saved=$CFLAGS
8505 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 int main(int argc, char **argv) { return 0; }
8509 _ACEOF
8510 if ac_fn_c_try_link "$LINENO"; then :
8511 ac_cv_cflags__Wl___enable_new_dtags=yes
8512 else
8513 ac_cv_cflags__Wl___enable_new_dtags=no
8515 rm -f core conftest.err conftest.$ac_objext \
8516 conftest$ac_exeext conftest.$ac_ext
8517 CFLAGS=$ac_wine_try_cflags_saved
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8520 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8521 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8522 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8525 LIBWINE_SHAREDLIB="libwine.so"
8527 LIBWINE_INSTALL_LIB="libwine.so"
8529 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8533 $as_echo_n "checking for -lEGL... " >&6; }
8534 if ${ac_cv_lib_soname_EGL+:} false; then :
8535 $as_echo_n "(cached) " >&6
8536 else
8537 ac_check_soname_save_LIBS=$LIBS
8538 LIBS="-lEGL $LIBS"
8539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8542 /* Override any GCC internal prototype to avoid an error.
8543 Use char because int might match the return type of a GCC
8544 builtin and then its argument prototype would still apply. */
8545 #ifdef __cplusplus
8546 extern "C"
8547 #endif
8548 char eglGetProcAddress ();
8550 main ()
8552 return eglGetProcAddress ();
8554 return 0;
8556 _ACEOF
8557 if ac_fn_c_try_link "$LINENO"; then :
8558 case "$LIBEXT" in
8559 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8560 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'` ;;
8561 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8562 if ${ac_cv_lib_soname_EGL:+false} :; then :
8563 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8564 fi ;;
8565 esac
8567 rm -f core conftest.err conftest.$ac_objext \
8568 conftest$ac_exeext conftest.$ac_ext
8569 LIBS=$ac_check_soname_save_LIBS
8571 if ${ac_cv_lib_soname_EGL:+false} :; then :
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8573 $as_echo "not found" >&6; }
8575 else
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8577 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8579 cat >>confdefs.h <<_ACEOF
8580 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8581 _ACEOF
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8586 $as_echo_n "checking for -lGLESv2... " >&6; }
8587 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8588 $as_echo_n "(cached) " >&6
8589 else
8590 ac_check_soname_save_LIBS=$LIBS
8591 LIBS="-lGLESv2 $LIBS"
8592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8595 /* Override any GCC internal prototype to avoid an error.
8596 Use char because int might match the return type of a GCC
8597 builtin and then its argument prototype would still apply. */
8598 #ifdef __cplusplus
8599 extern "C"
8600 #endif
8601 char glFlush ();
8603 main ()
8605 return glFlush ();
8607 return 0;
8609 _ACEOF
8610 if ac_fn_c_try_link "$LINENO"; then :
8611 case "$LIBEXT" in
8612 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8613 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'` ;;
8614 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8615 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8616 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8617 fi ;;
8618 esac
8620 rm -f core conftest.err conftest.$ac_objext \
8621 conftest$ac_exeext conftest.$ac_ext
8622 LIBS=$ac_check_soname_save_LIBS
8624 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8626 $as_echo "not found" >&6; }
8628 else
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8630 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8632 cat >>confdefs.h <<_ACEOF
8633 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8634 _ACEOF
8639 if test "x$exec_prefix" = xNONE
8640 then
8641 case $host_cpu in
8642 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8643 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8644 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8645 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8646 esac
8651 DLLFLAGS="$DLLFLAGS -fPIC"
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8653 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8654 if ${ac_cv_c_dll_gnuelf+:} false; then :
8655 $as_echo_n "(cached) " >&6
8656 else
8657 ac_wine_try_cflags_saved=$CFLAGS
8658 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8660 /* end confdefs.h. */
8661 void myfunc() {}
8662 _ACEOF
8663 if ac_fn_c_try_link "$LINENO"; then :
8664 ac_cv_c_dll_gnuelf="yes"
8665 else
8666 ac_cv_c_dll_gnuelf="no"
8668 rm -f core conftest.err conftest.$ac_objext \
8669 conftest$ac_exeext conftest.$ac_ext
8670 CFLAGS=$ac_wine_try_cflags_saved
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8673 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8674 if test "$ac_cv_c_dll_gnuelf" = "yes"
8675 then
8676 LIBWINE_LDFLAGS="-shared"
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8678 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8679 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8680 $as_echo_n "(cached) " >&6
8681 else
8682 ac_wine_try_cflags_saved=$CFLAGS
8683 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8685 /* end confdefs.h. */
8686 int main(int argc, char **argv) { return 0; }
8687 _ACEOF
8688 if ac_fn_c_try_link "$LINENO"; then :
8689 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8690 else
8691 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8693 rm -f core conftest.err conftest.$ac_objext \
8694 conftest$ac_exeext conftest.$ac_ext
8695 CFLAGS=$ac_wine_try_cflags_saved
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8698 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8699 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8700 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8701 else
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8703 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8704 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8705 $as_echo_n "(cached) " >&6
8706 else
8707 ac_wine_try_cflags_saved=$CFLAGS
8708 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8710 /* end confdefs.h. */
8711 int main(int argc, char **argv) { return 0; }
8712 _ACEOF
8713 if ac_fn_c_try_link "$LINENO"; then :
8714 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8715 else
8716 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8718 rm -f core conftest.err conftest.$ac_objext \
8719 conftest$ac_exeext conftest.$ac_ext
8720 CFLAGS=$ac_wine_try_cflags_saved
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8723 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8724 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8725 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8729 echo '{ global: *; };' >conftest.map
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8731 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8732 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8733 $as_echo_n "(cached) " >&6
8734 else
8735 ac_wine_try_cflags_saved=$CFLAGS
8736 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8738 /* end confdefs.h. */
8739 int main(int argc, char **argv) { return 0; }
8740 _ACEOF
8741 if ac_fn_c_try_link "$LINENO"; then :
8742 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8743 else
8744 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8746 rm -f core conftest.err conftest.$ac_objext \
8747 conftest$ac_exeext conftest.$ac_ext
8748 CFLAGS=$ac_wine_try_cflags_saved
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8751 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8752 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8753 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8755 rm -f conftest.map
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8758 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8759 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8760 $as_echo_n "(cached) " >&6
8761 else
8762 ac_wine_try_cflags_saved=$CFLAGS
8763 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8765 /* end confdefs.h. */
8766 int main(int argc, char **argv) { return 0; }
8767 _ACEOF
8768 if ac_fn_c_try_link "$LINENO"; then :
8769 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8770 else
8771 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8773 rm -f core conftest.err conftest.$ac_objext \
8774 conftest$ac_exeext conftest.$ac_ext
8775 CFLAGS=$ac_wine_try_cflags_saved
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8778 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8779 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8780 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8783 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8785 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8786 if eval \${$as_ac_var+:} false; then :
8787 $as_echo_n "(cached) " >&6
8788 else
8789 ac_wine_try_cflags_saved=$CFLAGS
8790 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8792 /* end confdefs.h. */
8793 int main(int argc, char **argv) { return 0; }
8794 _ACEOF
8795 if ac_fn_c_try_link "$LINENO"; then :
8796 eval "$as_ac_var=yes"
8797 else
8798 eval "$as_ac_var=no"
8800 rm -f core conftest.err conftest.$ac_objext \
8801 conftest$ac_exeext conftest.$ac_ext
8802 CFLAGS=$ac_wine_try_cflags_saved
8804 eval ac_res=\$$as_ac_var
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8806 $as_echo "$ac_res" >&6; }
8807 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8808 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8809 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8810 else
8811 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8813 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8814 if eval \${$as_ac_var+:} false; then :
8815 $as_echo_n "(cached) " >&6
8816 else
8817 ac_wine_try_cflags_saved=$CFLAGS
8818 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8821 int main(int argc, char **argv) { return 0; }
8822 _ACEOF
8823 if ac_fn_c_try_link "$LINENO"; then :
8824 eval "$as_ac_var=yes"
8825 else
8826 eval "$as_ac_var=no"
8828 rm -f core conftest.err conftest.$ac_objext \
8829 conftest$ac_exeext conftest.$ac_ext
8830 CFLAGS=$ac_wine_try_cflags_saved
8832 eval ac_res=\$$as_ac_var
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8834 $as_echo "$ac_res" >&6; }
8835 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8836 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8837 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8842 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8843 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8844 $as_echo_n "(cached) " >&6
8845 else
8846 ac_wine_try_cflags_saved=$CFLAGS
8847 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8849 /* end confdefs.h. */
8850 int main(int argc, char **argv) { return 0; }
8851 _ACEOF
8852 if ac_fn_c_try_link "$LINENO"; then :
8853 ac_cv_cflags__Wl___enable_new_dtags=yes
8854 else
8855 ac_cv_cflags__Wl___enable_new_dtags=no
8857 rm -f core conftest.err conftest.$ac_objext \
8858 conftest$ac_exeext conftest.$ac_ext
8859 CFLAGS=$ac_wine_try_cflags_saved
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8862 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8863 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8864 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8867 case $host_cpu in
8868 *i[3456789]86* | x86_64)
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8870 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8871 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8872 $as_echo_n "(cached) " >&6
8873 else
8874 ac_wine_try_cflags_saved=$CFLAGS
8875 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8877 /* end confdefs.h. */
8878 int main(int argc, char **argv) { return 0; }
8879 _ACEOF
8880 if ac_fn_c_try_link "$LINENO"; then :
8881 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8882 else
8883 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8885 rm -f core conftest.err conftest.$ac_objext \
8886 conftest$ac_exeext conftest.$ac_ext
8887 CFLAGS=$ac_wine_try_cflags_saved
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8890 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8891 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8892 case $host_os in
8893 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8894 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8895 esac
8896 else
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8898 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8899 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8900 $as_echo_n "(cached) " >&6
8901 else
8902 ac_wine_try_cflags_saved=$CFLAGS
8903 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8905 /* end confdefs.h. */
8906 int main(int argc, char **argv) { return 0; }
8907 _ACEOF
8908 if ac_fn_c_try_link "$LINENO"; then :
8909 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8910 else
8911 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8913 rm -f core conftest.err conftest.$ac_objext \
8914 conftest$ac_exeext conftest.$ac_ext
8915 CFLAGS=$ac_wine_try_cflags_saved
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8918 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8919 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8920 case $host_os in
8921 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8922 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8923 esac
8925 # Extract the first word of "prelink", so it can be a program name with args.
8926 set dummy prelink; ac_word=$2
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8928 $as_echo_n "checking for $ac_word... " >&6; }
8929 if ${ac_cv_path_PRELINK+:} false; then :
8930 $as_echo_n "(cached) " >&6
8931 else
8932 case $PRELINK in
8933 [\\/]* | ?:[\\/]*)
8934 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8938 for as_dir in /sbin /usr/sbin $PATH
8940 IFS=$as_save_IFS
8941 test -z "$as_dir" && as_dir=.
8942 for ac_exec_ext in '' $ac_executable_extensions; do
8943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8944 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8946 break 2
8948 done
8949 done
8950 IFS=$as_save_IFS
8952 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8954 esac
8956 PRELINK=$ac_cv_path_PRELINK
8957 if test -n "$PRELINK"; then
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8959 $as_echo "$PRELINK" >&6; }
8960 else
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8962 $as_echo "no" >&6; }
8966 if test "x$PRELINK" = xfalse
8967 then
8968 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8972 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8973 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8974 $as_echo_n "(cached) " >&6
8975 else
8976 ac_wine_try_cflags_saved=$CFLAGS
8977 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8979 /* end confdefs.h. */
8980 int main(int argc, char **argv) { return 0; }
8981 _ACEOF
8982 if ac_fn_c_try_link "$LINENO"; then :
8983 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8984 else
8985 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8987 rm -f core conftest.err conftest.$ac_objext \
8988 conftest$ac_exeext conftest.$ac_ext
8989 CFLAGS=$ac_wine_try_cflags_saved
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8992 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8993 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8994 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8997 esac
8999 else
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9001 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9002 if ${ac_cv_c_dll_unixware+:} false; then :
9003 $as_echo_n "(cached) " >&6
9004 else
9005 ac_wine_try_cflags_saved=$CFLAGS
9006 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9008 /* end confdefs.h. */
9009 void myfunc() {}
9010 _ACEOF
9011 if ac_fn_c_try_link "$LINENO"; then :
9012 ac_cv_c_dll_unixware="yes"
9013 else
9014 ac_cv_c_dll_unixware="no"
9016 rm -f core conftest.err conftest.$ac_objext \
9017 conftest$ac_exeext conftest.$ac_ext
9018 CFLAGS=$ac_wine_try_cflags_saved
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9021 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9022 if test "$ac_cv_c_dll_unixware" = "yes"
9023 then
9024 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9027 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9029 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9031 LIBWINE_INSTALL_DEV="libwine.so"
9033 LIBWINE_DEPENDS="wine.map"
9036 esac
9038 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9039 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9040 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9041 enable_winemac_drv=${enable_winemac_drv:-no}
9042 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9044 CROSSTARGET=""
9046 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9047 then
9048 case "$host_cpu" in
9049 arm*)
9050 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9051 i[3456789]86*)
9052 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
9053 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9054 mingw32-gcc" ;;
9055 x86_64)
9056 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
9057 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9059 ac_prefix_list="" ;;
9060 esac
9061 for ac_prog in $ac_prefix_list
9063 # Extract the first word of "$ac_prog", so it can be a program name with args.
9064 set dummy $ac_prog; ac_word=$2
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9066 $as_echo_n "checking for $ac_word... " >&6; }
9067 if ${ac_cv_prog_CROSSCC+:} false; then :
9068 $as_echo_n "(cached) " >&6
9069 else
9070 if test -n "$CROSSCC"; then
9071 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9072 else
9073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9074 for as_dir in $PATH
9076 IFS=$as_save_IFS
9077 test -z "$as_dir" && as_dir=.
9078 for ac_exec_ext in '' $ac_executable_extensions; do
9079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9080 ac_cv_prog_CROSSCC="$ac_prog"
9081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9082 break 2
9084 done
9085 done
9086 IFS=$as_save_IFS
9090 CROSSCC=$ac_cv_prog_CROSSCC
9091 if test -n "$CROSSCC"; then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9093 $as_echo "$CROSSCC" >&6; }
9094 else
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9096 $as_echo "no" >&6; }
9100 test -n "$CROSSCC" && break
9101 done
9102 test -n "$CROSSCC" || CROSSCC="false"
9104 if test "$CROSSCC" != "false"
9105 then
9106 ac_save_CC="$CC"
9107 CC="$CROSSCC"
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9109 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9111 /* end confdefs.h. */
9114 main ()
9118 return 0;
9120 _ACEOF
9121 if ac_fn_c_try_compile "$LINENO"; then :
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9123 $as_echo "yes" >&6; }
9124 set x $CROSSCC
9125 shift
9126 while test $# -ge 1
9128 case "$1" in
9129 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9130 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9131 esac
9132 shift
9133 done
9134 else
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9136 $as_echo "no" >&6; }
9138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9139 CC="$ac_save_CC"
9140 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9146 if test "$ac_cv_header_pthread_h" = "yes"
9147 then
9148 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9149 if test "x$ac_cv_func_pthread_create" = xyes; then :
9151 else
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9153 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9154 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9155 $as_echo_n "(cached) " >&6
9156 else
9157 ac_check_lib_save_LIBS=$LIBS
9158 LIBS="-lpthread $LIBS"
9159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9160 /* end confdefs.h. */
9162 /* Override any GCC internal prototype to avoid an error.
9163 Use char because int might match the return type of a GCC
9164 builtin and then its argument prototype would still apply. */
9165 #ifdef __cplusplus
9166 extern "C"
9167 #endif
9168 char pthread_create ();
9170 main ()
9172 return pthread_create ();
9174 return 0;
9176 _ACEOF
9177 if ac_fn_c_try_link "$LINENO"; then :
9178 ac_cv_lib_pthread_pthread_create=yes
9179 else
9180 ac_cv_lib_pthread_pthread_create=no
9182 rm -f core conftest.err conftest.$ac_objext \
9183 conftest$ac_exeext conftest.$ac_ext
9184 LIBS=$ac_check_lib_save_LIBS
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9187 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9188 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9189 PTHREAD_LIBS="-lpthread"
9196 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9197 case "x$with_pthread" in
9198 xno) ;;
9199 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9200 Wine cannot support threads without libpthread.
9201 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9202 esac
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9208 $as_echo_n "checking for X... " >&6; }
9211 # Check whether --with-x was given.
9212 if test "${with_x+set}" = set; then :
9213 withval=$with_x;
9216 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9217 if test "x$with_x" = xno; then
9218 # The user explicitly disabled X.
9219 have_x=disabled
9220 else
9221 case $x_includes,$x_libraries in #(
9222 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9223 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9224 $as_echo_n "(cached) " >&6
9225 else
9226 # One or both of the vars are not set, and there is no cached value.
9227 ac_x_includes=no ac_x_libraries=no
9228 rm -f -r conftest.dir
9229 if mkdir conftest.dir; then
9230 cd conftest.dir
9231 cat >Imakefile <<'_ACEOF'
9232 incroot:
9233 @echo incroot='${INCROOT}'
9234 usrlibdir:
9235 @echo usrlibdir='${USRLIBDIR}'
9236 libdir:
9237 @echo libdir='${LIBDIR}'
9238 _ACEOF
9239 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9240 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9241 for ac_var in incroot usrlibdir libdir; do
9242 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9243 done
9244 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9245 for ac_extension in a so sl dylib la dll; do
9246 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9247 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9248 ac_im_usrlibdir=$ac_im_libdir; break
9250 done
9251 # Screen out bogus values from the imake configuration. They are
9252 # bogus both because they are the default anyway, and because
9253 # using them would break gcc on systems where it needs fixed includes.
9254 case $ac_im_incroot in
9255 /usr/include) ac_x_includes= ;;
9256 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9257 esac
9258 case $ac_im_usrlibdir in
9259 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9260 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9261 esac
9263 cd ..
9264 rm -f -r conftest.dir
9267 # Standard set of common directories for X headers.
9268 # Check X11 before X11Rn because it is often a symlink to the current release.
9269 ac_x_header_dirs='
9270 /usr/X11/include
9271 /usr/X11R7/include
9272 /usr/X11R6/include
9273 /usr/X11R5/include
9274 /usr/X11R4/include
9276 /usr/include/X11
9277 /usr/include/X11R7
9278 /usr/include/X11R6
9279 /usr/include/X11R5
9280 /usr/include/X11R4
9282 /usr/local/X11/include
9283 /usr/local/X11R7/include
9284 /usr/local/X11R6/include
9285 /usr/local/X11R5/include
9286 /usr/local/X11R4/include
9288 /usr/local/include/X11
9289 /usr/local/include/X11R7
9290 /usr/local/include/X11R6
9291 /usr/local/include/X11R5
9292 /usr/local/include/X11R4
9294 /usr/X386/include
9295 /usr/x386/include
9296 /usr/XFree86/include/X11
9298 /usr/include
9299 /usr/local/include
9300 /usr/unsupported/include
9301 /usr/athena/include
9302 /usr/local/x11r5/include
9303 /usr/lpp/Xamples/include
9305 /usr/openwin/include
9306 /usr/openwin/share/include'
9308 if test "$ac_x_includes" = no; then
9309 # Guess where to find include files, by looking for Xlib.h.
9310 # First, try using that file with no special directory specified.
9311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h. */
9313 #include <X11/Xlib.h>
9314 _ACEOF
9315 if ac_fn_c_try_cpp "$LINENO"; then :
9316 # We can compile using X headers with no special include directory.
9317 ac_x_includes=
9318 else
9319 for ac_dir in $ac_x_header_dirs; do
9320 if test -r "$ac_dir/X11/Xlib.h"; then
9321 ac_x_includes=$ac_dir
9322 break
9324 done
9326 rm -f conftest.err conftest.i conftest.$ac_ext
9327 fi # $ac_x_includes = no
9329 if test "$ac_x_libraries" = no; then
9330 # Check for the libraries.
9331 # See if we find them without any special options.
9332 # Don't add to $LIBS permanently.
9333 ac_save_LIBS=$LIBS
9334 LIBS="-lX11 $LIBS"
9335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9336 /* end confdefs.h. */
9337 #include <X11/Xlib.h>
9339 main ()
9341 XrmInitialize ()
9343 return 0;
9345 _ACEOF
9346 if ac_fn_c_try_link "$LINENO"; then :
9347 LIBS=$ac_save_LIBS
9348 # We can link X programs with no special library path.
9349 ac_x_libraries=
9350 else
9351 LIBS=$ac_save_LIBS
9352 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9354 # Don't even attempt the hair of trying to link an X program!
9355 for ac_extension in a so sl dylib la dll; do
9356 if test -r "$ac_dir/libX11.$ac_extension"; then
9357 ac_x_libraries=$ac_dir
9358 break 2
9360 done
9361 done
9363 rm -f core conftest.err conftest.$ac_objext \
9364 conftest$ac_exeext conftest.$ac_ext
9365 fi # $ac_x_libraries = no
9367 case $ac_x_includes,$ac_x_libraries in #(
9368 no,* | *,no | *\'*)
9369 # Didn't find X, or a directory has "'" in its name.
9370 ac_cv_have_x="have_x=no";; #(
9372 # Record where we found X for the cache.
9373 ac_cv_have_x="have_x=yes\
9374 ac_x_includes='$ac_x_includes'\
9375 ac_x_libraries='$ac_x_libraries'"
9376 esac
9378 ;; #(
9379 *) have_x=yes;;
9380 esac
9381 eval "$ac_cv_have_x"
9382 fi # $with_x != no
9384 if test "$have_x" != yes; then
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9386 $as_echo "$have_x" >&6; }
9387 no_x=yes
9388 else
9389 # If each of the values was on the command line, it overrides each guess.
9390 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9391 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9392 # Update the cache value to reflect the command line values.
9393 ac_cv_have_x="have_x=yes\
9394 ac_x_includes='$x_includes'\
9395 ac_x_libraries='$x_libraries'"
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9397 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9400 if test "$no_x" = yes; then
9401 # Not all programs may use this symbol, but it does not hurt to define it.
9403 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9405 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9406 else
9407 if test -n "$x_includes"; then
9408 X_CFLAGS="$X_CFLAGS -I$x_includes"
9411 # It would also be nice to do this for all -L options, not just this one.
9412 if test -n "$x_libraries"; then
9413 X_LIBS="$X_LIBS -L$x_libraries"
9414 # For Solaris; some versions of Sun CC require a space after -R and
9415 # others require no space. Words are not sufficient . . . .
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9417 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9418 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9419 ac_xsave_c_werror_flag=$ac_c_werror_flag
9420 ac_c_werror_flag=yes
9421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9422 /* end confdefs.h. */
9425 main ()
9429 return 0;
9431 _ACEOF
9432 if ac_fn_c_try_link "$LINENO"; then :
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9434 $as_echo "no" >&6; }
9435 X_LIBS="$X_LIBS -R$x_libraries"
9436 else
9437 LIBS="$ac_xsave_LIBS -R $x_libraries"
9438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9442 main ()
9446 return 0;
9448 _ACEOF
9449 if ac_fn_c_try_link "$LINENO"; then :
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9451 $as_echo "yes" >&6; }
9452 X_LIBS="$X_LIBS -R $x_libraries"
9453 else
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9455 $as_echo "neither works" >&6; }
9457 rm -f core conftest.err conftest.$ac_objext \
9458 conftest$ac_exeext conftest.$ac_ext
9460 rm -f core conftest.err conftest.$ac_objext \
9461 conftest$ac_exeext conftest.$ac_ext
9462 ac_c_werror_flag=$ac_xsave_c_werror_flag
9463 LIBS=$ac_xsave_LIBS
9466 # Check for system-dependent libraries X programs must link with.
9467 # Do this before checking for the system-independent R6 libraries
9468 # (-lICE), since we may need -lsocket or whatever for X linking.
9470 if test "$ISC" = yes; then
9471 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9472 else
9473 # Martyn Johnson says this is needed for Ultrix, if the X
9474 # libraries were built with DECnet support. And Karl Berry says
9475 # the Alpha needs dnet_stub (dnet does not exist).
9476 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9478 /* end confdefs.h. */
9480 /* Override any GCC internal prototype to avoid an error.
9481 Use char because int might match the return type of a GCC
9482 builtin and then its argument prototype would still apply. */
9483 #ifdef __cplusplus
9484 extern "C"
9485 #endif
9486 char XOpenDisplay ();
9488 main ()
9490 return XOpenDisplay ();
9492 return 0;
9494 _ACEOF
9495 if ac_fn_c_try_link "$LINENO"; then :
9497 else
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9499 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9500 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9501 $as_echo_n "(cached) " >&6
9502 else
9503 ac_check_lib_save_LIBS=$LIBS
9504 LIBS="-ldnet $LIBS"
9505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9506 /* end confdefs.h. */
9508 /* Override any GCC internal prototype to avoid an error.
9509 Use char because int might match the return type of a GCC
9510 builtin and then its argument prototype would still apply. */
9511 #ifdef __cplusplus
9512 extern "C"
9513 #endif
9514 char dnet_ntoa ();
9516 main ()
9518 return dnet_ntoa ();
9520 return 0;
9522 _ACEOF
9523 if ac_fn_c_try_link "$LINENO"; then :
9524 ac_cv_lib_dnet_dnet_ntoa=yes
9525 else
9526 ac_cv_lib_dnet_dnet_ntoa=no
9528 rm -f core conftest.err conftest.$ac_objext \
9529 conftest$ac_exeext conftest.$ac_ext
9530 LIBS=$ac_check_lib_save_LIBS
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9533 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9534 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9535 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9538 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9540 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9541 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9542 $as_echo_n "(cached) " >&6
9543 else
9544 ac_check_lib_save_LIBS=$LIBS
9545 LIBS="-ldnet_stub $LIBS"
9546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9547 /* end confdefs.h. */
9549 /* Override any GCC internal prototype to avoid an error.
9550 Use char because int might match the return type of a GCC
9551 builtin and then its argument prototype would still apply. */
9552 #ifdef __cplusplus
9553 extern "C"
9554 #endif
9555 char dnet_ntoa ();
9557 main ()
9559 return dnet_ntoa ();
9561 return 0;
9563 _ACEOF
9564 if ac_fn_c_try_link "$LINENO"; then :
9565 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9566 else
9567 ac_cv_lib_dnet_stub_dnet_ntoa=no
9569 rm -f core conftest.err conftest.$ac_objext \
9570 conftest$ac_exeext conftest.$ac_ext
9571 LIBS=$ac_check_lib_save_LIBS
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9574 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9575 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9576 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9581 rm -f core conftest.err conftest.$ac_objext \
9582 conftest$ac_exeext conftest.$ac_ext
9583 LIBS="$ac_xsave_LIBS"
9585 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9586 # to get the SysV transport functions.
9587 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9588 # needs -lnsl.
9589 # The nsl library prevents programs from opening the X display
9590 # on Irix 5.2, according to T.E. Dickey.
9591 # The functions gethostbyname, getservbyname, and inet_addr are
9592 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9593 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9594 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9598 if test $ac_cv_func_gethostbyname = no; then
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9600 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9601 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9602 $as_echo_n "(cached) " >&6
9603 else
9604 ac_check_lib_save_LIBS=$LIBS
9605 LIBS="-lnsl $LIBS"
9606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9607 /* end confdefs.h. */
9609 /* Override any GCC internal prototype to avoid an error.
9610 Use char because int might match the return type of a GCC
9611 builtin and then its argument prototype would still apply. */
9612 #ifdef __cplusplus
9613 extern "C"
9614 #endif
9615 char gethostbyname ();
9617 main ()
9619 return gethostbyname ();
9621 return 0;
9623 _ACEOF
9624 if ac_fn_c_try_link "$LINENO"; then :
9625 ac_cv_lib_nsl_gethostbyname=yes
9626 else
9627 ac_cv_lib_nsl_gethostbyname=no
9629 rm -f core conftest.err conftest.$ac_objext \
9630 conftest$ac_exeext conftest.$ac_ext
9631 LIBS=$ac_check_lib_save_LIBS
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9634 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9635 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9636 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9639 if test $ac_cv_lib_nsl_gethostbyname = no; then
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9641 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9642 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9643 $as_echo_n "(cached) " >&6
9644 else
9645 ac_check_lib_save_LIBS=$LIBS
9646 LIBS="-lbsd $LIBS"
9647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9648 /* end confdefs.h. */
9650 /* Override any GCC internal prototype to avoid an error.
9651 Use char because int might match the return type of a GCC
9652 builtin and then its argument prototype would still apply. */
9653 #ifdef __cplusplus
9654 extern "C"
9655 #endif
9656 char gethostbyname ();
9658 main ()
9660 return gethostbyname ();
9662 return 0;
9664 _ACEOF
9665 if ac_fn_c_try_link "$LINENO"; then :
9666 ac_cv_lib_bsd_gethostbyname=yes
9667 else
9668 ac_cv_lib_bsd_gethostbyname=no
9670 rm -f core conftest.err conftest.$ac_objext \
9671 conftest$ac_exeext conftest.$ac_ext
9672 LIBS=$ac_check_lib_save_LIBS
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9675 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9676 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9677 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9683 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9684 # socket/setsockopt and other routines are undefined under SCO ODT
9685 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9686 # on later versions), says Simon Leinen: it contains gethostby*
9687 # variants that don't use the name server (or something). -lsocket
9688 # must be given before -lnsl if both are needed. We assume that
9689 # if connect needs -lnsl, so does gethostbyname.
9690 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9691 if test "x$ac_cv_func_connect" = xyes; then :
9695 if test $ac_cv_func_connect = no; then
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9697 $as_echo_n "checking for connect in -lsocket... " >&6; }
9698 if ${ac_cv_lib_socket_connect+:} false; then :
9699 $as_echo_n "(cached) " >&6
9700 else
9701 ac_check_lib_save_LIBS=$LIBS
9702 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9704 /* end confdefs.h. */
9706 /* Override any GCC internal prototype to avoid an error.
9707 Use char because int might match the return type of a GCC
9708 builtin and then its argument prototype would still apply. */
9709 #ifdef __cplusplus
9710 extern "C"
9711 #endif
9712 char connect ();
9714 main ()
9716 return connect ();
9718 return 0;
9720 _ACEOF
9721 if ac_fn_c_try_link "$LINENO"; then :
9722 ac_cv_lib_socket_connect=yes
9723 else
9724 ac_cv_lib_socket_connect=no
9726 rm -f core conftest.err conftest.$ac_objext \
9727 conftest$ac_exeext conftest.$ac_ext
9728 LIBS=$ac_check_lib_save_LIBS
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9731 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9732 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9733 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9738 # Guillermo Gomez says -lposix is necessary on A/UX.
9739 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9740 if test "x$ac_cv_func_remove" = xyes; then :
9744 if test $ac_cv_func_remove = no; then
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9746 $as_echo_n "checking for remove in -lposix... " >&6; }
9747 if ${ac_cv_lib_posix_remove+:} false; then :
9748 $as_echo_n "(cached) " >&6
9749 else
9750 ac_check_lib_save_LIBS=$LIBS
9751 LIBS="-lposix $LIBS"
9752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9753 /* end confdefs.h. */
9755 /* Override any GCC internal prototype to avoid an error.
9756 Use char because int might match the return type of a GCC
9757 builtin and then its argument prototype would still apply. */
9758 #ifdef __cplusplus
9759 extern "C"
9760 #endif
9761 char remove ();
9763 main ()
9765 return remove ();
9767 return 0;
9769 _ACEOF
9770 if ac_fn_c_try_link "$LINENO"; then :
9771 ac_cv_lib_posix_remove=yes
9772 else
9773 ac_cv_lib_posix_remove=no
9775 rm -f core conftest.err conftest.$ac_objext \
9776 conftest$ac_exeext conftest.$ac_ext
9777 LIBS=$ac_check_lib_save_LIBS
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9780 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9781 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9782 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9787 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9788 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9789 if test "x$ac_cv_func_shmat" = xyes; then :
9793 if test $ac_cv_func_shmat = no; then
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9795 $as_echo_n "checking for shmat in -lipc... " >&6; }
9796 if ${ac_cv_lib_ipc_shmat+:} false; then :
9797 $as_echo_n "(cached) " >&6
9798 else
9799 ac_check_lib_save_LIBS=$LIBS
9800 LIBS="-lipc $LIBS"
9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9807 #ifdef __cplusplus
9808 extern "C"
9809 #endif
9810 char shmat ();
9812 main ()
9814 return shmat ();
9816 return 0;
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 ac_cv_lib_ipc_shmat=yes
9821 else
9822 ac_cv_lib_ipc_shmat=no
9824 rm -f core conftest.err conftest.$ac_objext \
9825 conftest$ac_exeext conftest.$ac_ext
9826 LIBS=$ac_check_lib_save_LIBS
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9829 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9830 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9831 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9837 # Check for libraries that X11R6 Xt/Xaw programs need.
9838 ac_save_LDFLAGS=$LDFLAGS
9839 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9840 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9841 # check for ICE first), but we must link in the order -lSM -lICE or
9842 # we get undefined symbols. So assume we have SM if we have ICE.
9843 # These have to be linked with before -lX11, unlike the other
9844 # libraries we check for below, so use a different variable.
9845 # John Interrante, Karl Berry
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9847 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9848 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9849 $as_echo_n "(cached) " >&6
9850 else
9851 ac_check_lib_save_LIBS=$LIBS
9852 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9856 /* Override any GCC internal prototype to avoid an error.
9857 Use char because int might match the return type of a GCC
9858 builtin and then its argument prototype would still apply. */
9859 #ifdef __cplusplus
9860 extern "C"
9861 #endif
9862 char IceConnectionNumber ();
9864 main ()
9866 return IceConnectionNumber ();
9868 return 0;
9870 _ACEOF
9871 if ac_fn_c_try_link "$LINENO"; then :
9872 ac_cv_lib_ICE_IceConnectionNumber=yes
9873 else
9874 ac_cv_lib_ICE_IceConnectionNumber=no
9876 rm -f core conftest.err conftest.$ac_objext \
9877 conftest$ac_exeext conftest.$ac_ext
9878 LIBS=$ac_check_lib_save_LIBS
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9881 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9882 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9883 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9886 LDFLAGS=$ac_save_LDFLAGS
9891 if test "$have_x" = "yes"
9892 then
9893 ac_save_CPPFLAGS="$CPPFLAGS"
9894 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9897 $as_echo_n "checking for -lX11... " >&6; }
9898 if ${ac_cv_lib_soname_X11+:} false; then :
9899 $as_echo_n "(cached) " >&6
9900 else
9901 ac_check_soname_save_LIBS=$LIBS
9902 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9906 /* Override any GCC internal prototype to avoid an error.
9907 Use char because int might match the return type of a GCC
9908 builtin and then its argument prototype would still apply. */
9909 #ifdef __cplusplus
9910 extern "C"
9911 #endif
9912 char XCreateWindow ();
9914 main ()
9916 return XCreateWindow ();
9918 return 0;
9920 _ACEOF
9921 if ac_fn_c_try_link "$LINENO"; then :
9922 case "$LIBEXT" in
9923 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9924 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'` ;;
9925 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9926 if ${ac_cv_lib_soname_X11:+false} :; then :
9927 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9928 fi ;;
9929 esac
9931 rm -f core conftest.err conftest.$ac_objext \
9932 conftest$ac_exeext conftest.$ac_ext
9933 LIBS=$ac_check_soname_save_LIBS
9935 if ${ac_cv_lib_soname_X11:+false} :; then :
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9937 $as_echo "not found" >&6; }
9939 else
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9941 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9943 cat >>confdefs.h <<_ACEOF
9944 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9945 _ACEOF
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9950 $as_echo_n "checking for -lXext... " >&6; }
9951 if ${ac_cv_lib_soname_Xext+:} false; then :
9952 $as_echo_n "(cached) " >&6
9953 else
9954 ac_check_soname_save_LIBS=$LIBS
9955 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9957 /* end confdefs.h. */
9959 /* Override any GCC internal prototype to avoid an error.
9960 Use char because int might match the return type of a GCC
9961 builtin and then its argument prototype would still apply. */
9962 #ifdef __cplusplus
9963 extern "C"
9964 #endif
9965 char XextCreateExtension ();
9967 main ()
9969 return XextCreateExtension ();
9971 return 0;
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 case "$LIBEXT" in
9976 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9977 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'` ;;
9978 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9979 if ${ac_cv_lib_soname_Xext:+false} :; then :
9980 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9981 fi ;;
9982 esac
9984 rm -f core conftest.err conftest.$ac_objext \
9985 conftest$ac_exeext conftest.$ac_ext
9986 LIBS=$ac_check_soname_save_LIBS
9988 if ${ac_cv_lib_soname_Xext:+false} :; then :
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9990 $as_echo "not found" >&6; }
9992 else
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9994 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9996 cat >>confdefs.h <<_ACEOF
9997 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9998 _ACEOF
10000 X_LIBS="$X_LIBS -lXext"
10002 X_LIBS="$X_LIBS -lX11"
10004 for ac_header in X11/Xlib.h \
10005 X11/XKBlib.h \
10006 X11/Xutil.h \
10007 X11/Xcursor/Xcursor.h \
10008 X11/extensions/shape.h \
10009 X11/extensions/XInput.h \
10010 X11/extensions/XInput2.h \
10011 X11/extensions/XShm.h \
10012 X11/extensions/Xcomposite.h \
10013 X11/extensions/Xfixes.h \
10014 X11/extensions/Xinerama.h \
10015 X11/extensions/Xrandr.h \
10016 X11/extensions/Xrender.h \
10017 X11/extensions/xf86vmode.h \
10018 X11/extensions/xf86vmproto.h
10019 do :
10020 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10021 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10022 # include <X11/Xlib.h>
10023 #endif
10024 #ifdef HAVE_X11_XUTIL_H
10025 # include <X11/Xutil.h>
10026 #endif
10028 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10029 cat >>confdefs.h <<_ACEOF
10030 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10031 _ACEOF
10035 done
10038 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10039 then
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10041 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10042 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10043 $as_echo_n "(cached) " >&6
10044 else
10045 ac_check_lib_save_LIBS=$LIBS
10046 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10048 /* end confdefs.h. */
10050 /* Override any GCC internal prototype to avoid an error.
10051 Use char because int might match the return type of a GCC
10052 builtin and then its argument prototype would still apply. */
10053 #ifdef __cplusplus
10054 extern "C"
10055 #endif
10056 char XkbQueryExtension ();
10058 main ()
10060 return XkbQueryExtension ();
10062 return 0;
10064 _ACEOF
10065 if ac_fn_c_try_link "$LINENO"; then :
10066 ac_cv_lib_X11_XkbQueryExtension=yes
10067 else
10068 ac_cv_lib_X11_XkbQueryExtension=no
10070 rm -f core conftest.err conftest.$ac_objext \
10071 conftest$ac_exeext conftest.$ac_ext
10072 LIBS=$ac_check_lib_save_LIBS
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10075 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10076 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10078 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10084 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10085 then
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10087 $as_echo_n "checking for -lXcursor... " >&6; }
10088 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10089 $as_echo_n "(cached) " >&6
10090 else
10091 ac_check_soname_save_LIBS=$LIBS
10092 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10096 /* Override any GCC internal prototype to avoid an error.
10097 Use char because int might match the return type of a GCC
10098 builtin and then its argument prototype would still apply. */
10099 #ifdef __cplusplus
10100 extern "C"
10101 #endif
10102 char XcursorImageLoadCursor ();
10104 main ()
10106 return XcursorImageLoadCursor ();
10108 return 0;
10110 _ACEOF
10111 if ac_fn_c_try_link "$LINENO"; then :
10112 case "$LIBEXT" in
10113 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10114 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'` ;;
10115 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10116 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10117 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10118 fi ;;
10119 esac
10121 rm -f core conftest.err conftest.$ac_objext \
10122 conftest$ac_exeext conftest.$ac_ext
10123 LIBS=$ac_check_soname_save_LIBS
10125 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10127 $as_echo "not found" >&6; }
10129 else
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10131 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10133 cat >>confdefs.h <<_ACEOF
10134 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10135 _ACEOF
10140 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10141 case "x$with_xcursor" in
10142 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10143 xno) ;;
10144 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10145 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10146 esac
10150 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10151 then
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10153 $as_echo_n "checking for -lXi... " >&6; }
10154 if ${ac_cv_lib_soname_Xi+:} false; then :
10155 $as_echo_n "(cached) " >&6
10156 else
10157 ac_check_soname_save_LIBS=$LIBS
10158 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10162 /* Override any GCC internal prototype to avoid an error.
10163 Use char because int might match the return type of a GCC
10164 builtin and then its argument prototype would still apply. */
10165 #ifdef __cplusplus
10166 extern "C"
10167 #endif
10168 char XOpenDevice ();
10170 main ()
10172 return XOpenDevice ();
10174 return 0;
10176 _ACEOF
10177 if ac_fn_c_try_link "$LINENO"; then :
10178 case "$LIBEXT" in
10179 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10180 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'` ;;
10181 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10182 if ${ac_cv_lib_soname_Xi:+false} :; then :
10183 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10184 fi ;;
10185 esac
10187 rm -f core conftest.err conftest.$ac_objext \
10188 conftest$ac_exeext conftest.$ac_ext
10189 LIBS=$ac_check_soname_save_LIBS
10191 if ${ac_cv_lib_soname_Xi:+false} :; then :
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10193 $as_echo "not found" >&6; }
10195 else
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10197 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10199 cat >>confdefs.h <<_ACEOF
10200 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10201 _ACEOF
10206 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10207 case "x$with_xinput" in
10208 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10209 xno) ;;
10210 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10211 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10212 esac
10216 if test "x$ac_cv_lib_soname_Xi" != x
10217 then
10218 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10219 case "x$with_xinput2" in
10220 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10221 xno) ;;
10222 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10223 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10224 esac
10229 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10230 then
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10232 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10233 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10234 $as_echo_n "(cached) " >&6
10235 else
10236 ac_check_lib_save_LIBS=$LIBS
10237 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10239 /* end confdefs.h. */
10241 /* Override any GCC internal prototype to avoid an error.
10242 Use char because int might match the return type of a GCC
10243 builtin and then its argument prototype would still apply. */
10244 #ifdef __cplusplus
10245 extern "C"
10246 #endif
10247 char XShmQueryExtension ();
10249 main ()
10251 return XShmQueryExtension ();
10253 return 0;
10255 _ACEOF
10256 if ac_fn_c_try_link "$LINENO"; then :
10257 ac_cv_lib_Xext_XShmQueryExtension=yes
10258 else
10259 ac_cv_lib_Xext_XShmQueryExtension=no
10261 rm -f core conftest.err conftest.$ac_objext \
10262 conftest$ac_exeext conftest.$ac_ext
10263 LIBS=$ac_check_lib_save_LIBS
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10266 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10267 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10269 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10274 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10275 case "x$with_xshm" in
10276 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10277 xno) ;;
10278 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10279 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10280 esac
10284 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10285 then
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10287 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10288 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10289 $as_echo_n "(cached) " >&6
10290 else
10291 ac_check_lib_save_LIBS=$LIBS
10292 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10296 /* Override any GCC internal prototype to avoid an error.
10297 Use char because int might match the return type of a GCC
10298 builtin and then its argument prototype would still apply. */
10299 #ifdef __cplusplus
10300 extern "C"
10301 #endif
10302 char XShapeQueryExtension ();
10304 main ()
10306 return XShapeQueryExtension ();
10308 return 0;
10310 _ACEOF
10311 if ac_fn_c_try_link "$LINENO"; then :
10312 ac_cv_lib_Xext_XShapeQueryExtension=yes
10313 else
10314 ac_cv_lib_Xext_XShapeQueryExtension=no
10316 rm -f core conftest.err conftest.$ac_objext \
10317 conftest$ac_exeext conftest.$ac_ext
10318 LIBS=$ac_check_lib_save_LIBS
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10321 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10322 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10324 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10329 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10330 case "x$with_xshape" in
10331 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10332 xno) ;;
10333 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10334 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10335 esac
10339 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10340 then
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10342 $as_echo_n "checking for -lXxf86vm... " >&6; }
10343 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10344 $as_echo_n "(cached) " >&6
10345 else
10346 ac_check_soname_save_LIBS=$LIBS
10347 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10349 /* end confdefs.h. */
10351 /* Override any GCC internal prototype to avoid an error.
10352 Use char because int might match the return type of a GCC
10353 builtin and then its argument prototype would still apply. */
10354 #ifdef __cplusplus
10355 extern "C"
10356 #endif
10357 char XF86VidModeQueryExtension ();
10359 main ()
10361 return XF86VidModeQueryExtension ();
10363 return 0;
10365 _ACEOF
10366 if ac_fn_c_try_link "$LINENO"; then :
10367 case "$LIBEXT" in
10368 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10369 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'` ;;
10370 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10371 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10372 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10373 fi ;;
10374 esac
10376 rm -f core conftest.err conftest.$ac_objext \
10377 conftest$ac_exeext conftest.$ac_ext
10378 LIBS=$ac_check_soname_save_LIBS
10380 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10382 $as_echo "not found" >&6; }
10384 else
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10386 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10388 cat >>confdefs.h <<_ACEOF
10389 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10390 _ACEOF
10395 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10396 case "x$with_xxf86vm" in
10397 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10398 xno) ;;
10399 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10400 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10401 esac
10405 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10406 then
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10408 $as_echo_n "checking for -lXrender... " >&6; }
10409 if ${ac_cv_lib_soname_Xrender+:} false; then :
10410 $as_echo_n "(cached) " >&6
10411 else
10412 ac_check_soname_save_LIBS=$LIBS
10413 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10415 /* end confdefs.h. */
10417 /* Override any GCC internal prototype to avoid an error.
10418 Use char because int might match the return type of a GCC
10419 builtin and then its argument prototype would still apply. */
10420 #ifdef __cplusplus
10421 extern "C"
10422 #endif
10423 char XRenderQueryExtension ();
10425 main ()
10427 return XRenderQueryExtension ();
10429 return 0;
10431 _ACEOF
10432 if ac_fn_c_try_link "$LINENO"; then :
10433 case "$LIBEXT" in
10434 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10435 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'` ;;
10436 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10437 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10438 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10439 fi ;;
10440 esac
10442 rm -f core conftest.err conftest.$ac_objext \
10443 conftest$ac_exeext conftest.$ac_ext
10444 LIBS=$ac_check_soname_save_LIBS
10446 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10448 $as_echo "not found" >&6; }
10450 else
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10452 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10454 cat >>confdefs.h <<_ACEOF
10455 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10456 _ACEOF
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10459 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10460 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10461 $as_echo_n "(cached) " >&6
10462 else
10463 ac_check_lib_save_LIBS=$LIBS
10464 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 /* end confdefs.h. */
10468 /* Override any GCC internal prototype to avoid an error.
10469 Use char because int might match the return type of a GCC
10470 builtin and then its argument prototype would still apply. */
10471 #ifdef __cplusplus
10472 extern "C"
10473 #endif
10474 char XRenderSetPictureTransform ();
10476 main ()
10478 return XRenderSetPictureTransform ();
10480 return 0;
10482 _ACEOF
10483 if ac_fn_c_try_link "$LINENO"; then :
10484 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10485 else
10486 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10488 rm -f core conftest.err conftest.$ac_objext \
10489 conftest$ac_exeext conftest.$ac_ext
10490 LIBS=$ac_check_lib_save_LIBS
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10493 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10494 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10496 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10501 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10502 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10503 $as_echo_n "(cached) " >&6
10504 else
10505 ac_check_lib_save_LIBS=$LIBS
10506 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10508 /* end confdefs.h. */
10510 /* Override any GCC internal prototype to avoid an error.
10511 Use char because int might match the return type of a GCC
10512 builtin and then its argument prototype would still apply. */
10513 #ifdef __cplusplus
10514 extern "C"
10515 #endif
10516 char XRenderCreateLinearGradient ();
10518 main ()
10520 return XRenderCreateLinearGradient ();
10522 return 0;
10524 _ACEOF
10525 if ac_fn_c_try_link "$LINENO"; then :
10526 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10527 else
10528 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10530 rm -f core conftest.err conftest.$ac_objext \
10531 conftest$ac_exeext conftest.$ac_ext
10532 LIBS=$ac_check_lib_save_LIBS
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10535 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10536 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10538 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10545 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10546 case "x$with_xrender" in
10547 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10548 xno) ;;
10549 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10550 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10551 esac
10555 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10556 then
10557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10559 #include <X11/Xlib.h>
10560 #include <X11/extensions/Xrandr.h>
10562 main ()
10564 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10566 return 0;
10568 _ACEOF
10569 if ac_fn_c_try_compile "$LINENO"; then :
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10571 $as_echo_n "checking for -lXrandr... " >&6; }
10572 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10573 $as_echo_n "(cached) " >&6
10574 else
10575 ac_check_soname_save_LIBS=$LIBS
10576 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10583 #ifdef __cplusplus
10584 extern "C"
10585 #endif
10586 char XRRQueryExtension ();
10588 main ()
10590 return XRRQueryExtension ();
10592 return 0;
10594 _ACEOF
10595 if ac_fn_c_try_link "$LINENO"; then :
10596 case "$LIBEXT" in
10597 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10598 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'` ;;
10599 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10600 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10601 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10602 fi ;;
10603 esac
10605 rm -f core conftest.err conftest.$ac_objext \
10606 conftest$ac_exeext conftest.$ac_ext
10607 LIBS=$ac_check_soname_save_LIBS
10609 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10611 $as_echo "not found" >&6; }
10613 else
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10615 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10617 cat >>confdefs.h <<_ACEOF
10618 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10619 _ACEOF
10621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10622 /* end confdefs.h. */
10623 #include <X11/Xlib.h>
10624 #include <X11/extensions/Xrandr.h>
10626 main ()
10628 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10630 return 0;
10632 _ACEOF
10633 if ac_fn_c_try_compile "$LINENO"; then :
10635 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10643 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10644 case "x$with_xrandr" in
10645 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10646 xno) ;;
10647 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10648 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10649 esac
10653 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10654 then
10655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10657 #include <X11/Xlib.h>
10658 #include <X11/extensions/Xfixes.h>
10660 main ()
10662 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10664 return 0;
10666 _ACEOF
10667 if ac_fn_c_try_compile "$LINENO"; then :
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10669 $as_echo_n "checking for -lXfixes... " >&6; }
10670 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10671 $as_echo_n "(cached) " >&6
10672 else
10673 ac_check_soname_save_LIBS=$LIBS
10674 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10676 /* end confdefs.h. */
10678 /* Override any GCC internal prototype to avoid an error.
10679 Use char because int might match the return type of a GCC
10680 builtin and then its argument prototype would still apply. */
10681 #ifdef __cplusplus
10682 extern "C"
10683 #endif
10684 char XFixesQueryVersion ();
10686 main ()
10688 return XFixesQueryVersion ();
10690 return 0;
10692 _ACEOF
10693 if ac_fn_c_try_link "$LINENO"; then :
10694 case "$LIBEXT" in
10695 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10696 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'` ;;
10697 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10698 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10699 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10700 fi ;;
10701 esac
10703 rm -f core conftest.err conftest.$ac_objext \
10704 conftest$ac_exeext conftest.$ac_ext
10705 LIBS=$ac_check_soname_save_LIBS
10707 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10709 $as_echo "not found" >&6; }
10711 else
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10713 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10715 cat >>confdefs.h <<_ACEOF
10716 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10717 _ACEOF
10722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10724 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10725 case "x$with_xfixes" in
10726 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10727 xno) ;;
10728 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10729 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10730 esac
10734 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10735 then
10736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10738 #include <X11/Xlib.h>
10739 #include <X11/extensions/Xinerama.h>
10741 main ()
10743 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10745 return 0;
10747 _ACEOF
10748 if ac_fn_c_try_compile "$LINENO"; then :
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10750 $as_echo_n "checking for -lXinerama... " >&6; }
10751 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10752 $as_echo_n "(cached) " >&6
10753 else
10754 ac_check_soname_save_LIBS=$LIBS
10755 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10759 /* Override any GCC internal prototype to avoid an error.
10760 Use char because int might match the return type of a GCC
10761 builtin and then its argument prototype would still apply. */
10762 #ifdef __cplusplus
10763 extern "C"
10764 #endif
10765 char XineramaQueryScreens ();
10767 main ()
10769 return XineramaQueryScreens ();
10771 return 0;
10773 _ACEOF
10774 if ac_fn_c_try_link "$LINENO"; then :
10775 case "$LIBEXT" in
10776 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10777 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'` ;;
10778 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10779 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10780 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10781 fi ;;
10782 esac
10784 rm -f core conftest.err conftest.$ac_objext \
10785 conftest$ac_exeext conftest.$ac_ext
10786 LIBS=$ac_check_soname_save_LIBS
10788 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10790 $as_echo "not found" >&6; }
10792 else
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10794 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10796 cat >>confdefs.h <<_ACEOF
10797 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10798 _ACEOF
10803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10805 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10806 case "x$with_xinerama" in
10807 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10808 xno) ;;
10809 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10810 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10811 esac
10815 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10816 then
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10818 $as_echo_n "checking for -lXcomposite... " >&6; }
10819 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10820 $as_echo_n "(cached) " >&6
10821 else
10822 ac_check_soname_save_LIBS=$LIBS
10823 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10827 /* Override any GCC internal prototype to avoid an error.
10828 Use char because int might match the return type of a GCC
10829 builtin and then its argument prototype would still apply. */
10830 #ifdef __cplusplus
10831 extern "C"
10832 #endif
10833 char XCompositeRedirectWindow ();
10835 main ()
10837 return XCompositeRedirectWindow ();
10839 return 0;
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 case "$LIBEXT" in
10844 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10845 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'` ;;
10846 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10847 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10848 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10849 fi ;;
10850 esac
10852 rm -f core conftest.err conftest.$ac_objext \
10853 conftest$ac_exeext conftest.$ac_ext
10854 LIBS=$ac_check_soname_save_LIBS
10856 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10858 $as_echo "not found" >&6; }
10860 else
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10862 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10864 cat >>confdefs.h <<_ACEOF
10865 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10866 _ACEOF
10871 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10872 case "x$with_xcomposite" in
10873 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10874 xno) ;;
10875 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10876 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10877 esac
10881 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10882 #include <X11/Xlib.h>
10883 #endif
10885 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10887 cat >>confdefs.h <<_ACEOF
10888 #define HAVE_XICCALLBACK_CALLBACK 1
10889 _ACEOF
10893 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10894 #include <X11/Xlib.h>
10895 #endif
10897 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10899 cat >>confdefs.h <<_ACEOF
10900 #define HAVE_XEVENT_XCOOKIE 1
10901 _ACEOF
10908 opengl_msg=""
10909 if test "x$with_opengl" != "xno"
10910 then
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10912 $as_echo_n "checking for -lGL... " >&6; }
10913 if ${ac_cv_lib_soname_GL+:} false; then :
10914 $as_echo_n "(cached) " >&6
10915 else
10916 ac_check_soname_save_LIBS=$LIBS
10917 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919 /* end confdefs.h. */
10921 /* Override any GCC internal prototype to avoid an error.
10922 Use char because int might match the return type of a GCC
10923 builtin and then its argument prototype would still apply. */
10924 #ifdef __cplusplus
10925 extern "C"
10926 #endif
10927 char glXCreateContext ();
10929 main ()
10931 return glXCreateContext ();
10933 return 0;
10935 _ACEOF
10936 if ac_fn_c_try_link "$LINENO"; then :
10937 case "$LIBEXT" in
10938 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10939 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'` ;;
10940 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10941 if ${ac_cv_lib_soname_GL:+false} :; then :
10942 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10943 fi ;;
10944 esac
10946 rm -f core conftest.err conftest.$ac_objext \
10947 conftest$ac_exeext conftest.$ac_ext
10948 LIBS=$ac_check_soname_save_LIBS
10950 if ${ac_cv_lib_soname_GL:+false} :; then :
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10952 $as_echo "not found" >&6; }
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10954 $as_echo_n "checking for -lGL... " >&6; }
10955 if ${ac_cv_lib_soname_GL+:} false; then :
10956 $as_echo_n "(cached) " >&6
10957 else
10958 ac_check_soname_save_LIBS=$LIBS
10959 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"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10963 /* Override any GCC internal prototype to avoid an error.
10964 Use char because int might match the return type of a GCC
10965 builtin and then its argument prototype would still apply. */
10966 #ifdef __cplusplus
10967 extern "C"
10968 #endif
10969 char glXCreateContext ();
10971 main ()
10973 return glXCreateContext ();
10975 return 0;
10977 _ACEOF
10978 if ac_fn_c_try_link "$LINENO"; then :
10979 case "$LIBEXT" in
10980 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10981 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'` ;;
10982 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10983 if ${ac_cv_lib_soname_GL:+false} :; then :
10984 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10985 fi ;;
10986 esac
10988 rm -f core conftest.err conftest.$ac_objext \
10989 conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_soname_save_LIBS
10992 if ${ac_cv_lib_soname_GL:+false} :; then :
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10994 $as_echo "not found" >&6; }
10995 if test -f /usr/X11R6/lib/libGL.a
10996 then
10997 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10998 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10999 else
11000 opengl_msg="No OpenGL library found on this system."
11002 else
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11004 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11006 cat >>confdefs.h <<_ACEOF
11007 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11008 _ACEOF
11010 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"
11012 else
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11014 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11016 cat >>confdefs.h <<_ACEOF
11017 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11018 _ACEOF
11020 OPENGL_LIBS="-lGL"
11022 if test "x$with_glu" != "xno"
11023 then
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11025 $as_echo_n "checking for -lGLU... " >&6; }
11026 if ${ac_cv_lib_soname_GLU+:} false; then :
11027 $as_echo_n "(cached) " >&6
11028 else
11029 ac_check_soname_save_LIBS=$LIBS
11030 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11034 /* Override any GCC internal prototype to avoid an error.
11035 Use char because int might match the return type of a GCC
11036 builtin and then its argument prototype would still apply. */
11037 #ifdef __cplusplus
11038 extern "C"
11039 #endif
11040 char gluLookAt ();
11042 main ()
11044 return gluLookAt ();
11046 return 0;
11048 _ACEOF
11049 if ac_fn_c_try_link "$LINENO"; then :
11050 case "$LIBEXT" in
11051 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11052 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'` ;;
11053 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11054 if ${ac_cv_lib_soname_GLU:+false} :; then :
11055 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11056 fi ;;
11057 esac
11059 rm -f core conftest.err conftest.$ac_objext \
11060 conftest$ac_exeext conftest.$ac_ext
11061 LIBS=$ac_check_soname_save_LIBS
11063 if ${ac_cv_lib_soname_GLU:+false} :; then :
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11065 $as_echo "not found" >&6; }
11067 else
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11069 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11071 cat >>confdefs.h <<_ACEOF
11072 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11073 _ACEOF
11077 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11078 case "x$with_glu" in
11079 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11080 xno) ;;
11081 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11082 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11083 esac
11088 if test "x$with_osmesa" != "xno"
11089 then
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11091 $as_echo_n "checking for -lOSMesa... " >&6; }
11092 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11093 $as_echo_n "(cached) " >&6
11094 else
11095 ac_check_soname_save_LIBS=$LIBS
11096 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11098 /* end confdefs.h. */
11100 /* Override any GCC internal prototype to avoid an error.
11101 Use char because int might match the return type of a GCC
11102 builtin and then its argument prototype would still apply. */
11103 #ifdef __cplusplus
11104 extern "C"
11105 #endif
11106 char OSMesaGetProcAddress ();
11108 main ()
11110 return OSMesaGetProcAddress ();
11112 return 0;
11114 _ACEOF
11115 if ac_fn_c_try_link "$LINENO"; then :
11116 case "$LIBEXT" in
11117 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11118 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'` ;;
11119 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11120 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11121 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11122 fi ;;
11123 esac
11125 rm -f core conftest.err conftest.$ac_objext \
11126 conftest$ac_exeext conftest.$ac_ext
11127 LIBS=$ac_check_soname_save_LIBS
11129 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11131 $as_echo "not found" >&6; }
11133 else
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11135 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11137 cat >>confdefs.h <<_ACEOF
11138 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11139 _ACEOF
11143 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11144 case "x$with_osmesa" in
11145 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11146 xno) ;;
11147 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11148 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11149 esac
11154 if test -n "$opengl_msg"; then :
11155 case "x$with_opengl" in
11156 x) as_fn_append wine_warnings "|$opengl_msg
11157 OpenGL and Direct3D won't be supported." ;;
11158 xno) ;;
11159 *) as_fn_error $? "$opengl_msg
11160 OpenGL and Direct3D won't be supported.
11161 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11162 esac
11166 CPPFLAGS="$ac_save_CPPFLAGS"
11167 else
11168 X_CFLAGS=""
11169 X_LIBS=""
11172 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11173 then
11174 if test "x$X_LIBS" = "x"; then :
11175 case "x$with_x" in
11176 xno) ;;
11177 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11178 without X support, which probably isn't what you want. You will need
11179 to install ${notice_platform}development packages of Xlib at the very least.
11180 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11181 esac
11182 enable_winex11_drv=${enable_winex11_drv:-no}
11184 else
11185 if test "x$X_LIBS" = "x"; then :
11186 case "x$with_x" in
11187 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11188 xno) ;;
11189 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11190 This is an error since --with-x was requested." "$LINENO" 5 ;;
11191 esac
11192 enable_winex11_drv=${enable_winex11_drv:-no}
11196 if test "$ac_cv_header_CL_cl_h" = "yes"
11197 then
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11199 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11200 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11201 $as_echo_n "(cached) " >&6
11202 else
11203 ac_check_lib_save_LIBS=$LIBS
11204 LIBS="-lOpenCL $LIBS"
11205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11206 /* end confdefs.h. */
11208 /* Override any GCC internal prototype to avoid an error.
11209 Use char because int might match the return type of a GCC
11210 builtin and then its argument prototype would still apply. */
11211 #ifdef __cplusplus
11212 extern "C"
11213 #endif
11214 char clGetPlatformInfo ();
11216 main ()
11218 return clGetPlatformInfo ();
11220 return 0;
11222 _ACEOF
11223 if ac_fn_c_try_link "$LINENO"; then :
11224 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11225 else
11226 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11228 rm -f core conftest.err conftest.$ac_objext \
11229 conftest$ac_exeext conftest.$ac_ext
11230 LIBS=$ac_check_lib_save_LIBS
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11233 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11234 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11235 OPENCL_LIBS="-lOpenCL"
11240 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11241 case "x$with_opencl" in
11242 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11243 xno) ;;
11244 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11245 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11246 esac
11247 enable_opencl=${enable_opencl:-no}
11250 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11251 then
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11253 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11254 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11255 $as_echo_n "(cached) " >&6
11256 else
11257 ac_check_lib_save_LIBS=$LIBS
11258 LIBS="-lpcap $LIBS"
11259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11262 /* Override any GCC internal prototype to avoid an error.
11263 Use char because int might match the return type of a GCC
11264 builtin and then its argument prototype would still apply. */
11265 #ifdef __cplusplus
11266 extern "C"
11267 #endif
11268 char pcap_create ();
11270 main ()
11272 return pcap_create ();
11274 return 0;
11276 _ACEOF
11277 if ac_fn_c_try_link "$LINENO"; then :
11278 ac_cv_lib_pcap_pcap_create=yes
11279 else
11280 ac_cv_lib_pcap_pcap_create=no
11282 rm -f core conftest.err conftest.$ac_objext \
11283 conftest$ac_exeext conftest.$ac_ext
11284 LIBS=$ac_check_lib_save_LIBS
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11287 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11288 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11289 PCAP_LIBS="-lpcap"
11294 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11295 case "x$with_pcap" in
11296 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11297 xno) ;;
11298 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11299 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11300 esac
11301 enable_wpcap=${enable_wpcap:-no}
11305 if test "x$with_xml" != "xno"
11306 then
11307 if ${XML2_CFLAGS:+false} :; then :
11308 if ${PKG_CONFIG+:} false; then :
11309 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11312 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11313 if ${XML2_LIBS:+false} :; then :
11314 if ${PKG_CONFIG+:} false; then :
11315 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11318 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11319 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11320 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11321 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11322 ac_save_CPPFLAGS=$CPPFLAGS
11323 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11324 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11325 do :
11326 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11327 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11328 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11329 cat >>confdefs.h <<_ACEOF
11330 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11331 _ACEOF
11335 done
11337 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"
11338 then
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11340 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11341 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11342 $as_echo_n "(cached) " >&6
11343 else
11344 ac_check_lib_save_LIBS=$LIBS
11345 LIBS="-lxml2 $XML2_LIBS $LIBS"
11346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11347 /* end confdefs.h. */
11349 /* Override any GCC internal prototype to avoid an error.
11350 Use char because int might match the return type of a GCC
11351 builtin and then its argument prototype would still apply. */
11352 #ifdef __cplusplus
11353 extern "C"
11354 #endif
11355 char xmlParseMemory ();
11357 main ()
11359 return xmlParseMemory ();
11361 return 0;
11363 _ACEOF
11364 if ac_fn_c_try_link "$LINENO"; then :
11365 ac_cv_lib_xml2_xmlParseMemory=yes
11366 else
11367 ac_cv_lib_xml2_xmlParseMemory=no
11369 rm -f core conftest.err conftest.$ac_objext \
11370 conftest$ac_exeext conftest.$ac_ext
11371 LIBS=$ac_check_lib_save_LIBS
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11374 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11375 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11377 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11379 else
11380 XML2_LIBS=""
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11384 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11385 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11386 $as_echo_n "(cached) " >&6
11387 else
11388 ac_check_lib_save_LIBS=$LIBS
11389 LIBS="-lxml2 $XML2_LIBS $LIBS"
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char xmlReadMemory ();
11401 main ()
11403 return xmlReadMemory ();
11405 return 0;
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409 ac_cv_lib_xml2_xmlReadMemory=yes
11410 else
11411 ac_cv_lib_xml2_xmlReadMemory=no
11413 rm -f core conftest.err conftest.$ac_objext \
11414 conftest$ac_exeext conftest.$ac_ext
11415 LIBS=$ac_check_lib_save_LIBS
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11418 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11419 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11421 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11426 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11427 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11428 $as_echo_n "(cached) " >&6
11429 else
11430 ac_check_lib_save_LIBS=$LIBS
11431 LIBS="-lxml2 $XML2_LIBS $LIBS"
11432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11435 /* Override any GCC internal prototype to avoid an error.
11436 Use char because int might match the return type of a GCC
11437 builtin and then its argument prototype would still apply. */
11438 #ifdef __cplusplus
11439 extern "C"
11440 #endif
11441 char xmlNewDocPI ();
11443 main ()
11445 return xmlNewDocPI ();
11447 return 0;
11449 _ACEOF
11450 if ac_fn_c_try_link "$LINENO"; then :
11451 ac_cv_lib_xml2_xmlNewDocPI=yes
11452 else
11453 ac_cv_lib_xml2_xmlNewDocPI=no
11455 rm -f core conftest.err conftest.$ac_objext \
11456 conftest$ac_exeext conftest.$ac_ext
11457 LIBS=$ac_check_lib_save_LIBS
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11460 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11461 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11463 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11468 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11469 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11470 $as_echo_n "(cached) " >&6
11471 else
11472 ac_check_lib_save_LIBS=$LIBS
11473 LIBS="-lxml2 $XML2_LIBS $LIBS"
11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h. */
11477 /* Override any GCC internal prototype to avoid an error.
11478 Use char because int might match the return type of a GCC
11479 builtin and then its argument prototype would still apply. */
11480 #ifdef __cplusplus
11481 extern "C"
11482 #endif
11483 char xmlSchemaSetParserStructuredErrors ();
11485 main ()
11487 return xmlSchemaSetParserStructuredErrors ();
11489 return 0;
11491 _ACEOF
11492 if ac_fn_c_try_link "$LINENO"; then :
11493 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11494 else
11495 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11497 rm -f core conftest.err conftest.$ac_objext \
11498 conftest$ac_exeext conftest.$ac_ext
11499 LIBS=$ac_check_lib_save_LIBS
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11502 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11503 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11505 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11510 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11511 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11512 $as_echo_n "(cached) " >&6
11513 else
11514 ac_check_lib_save_LIBS=$LIBS
11515 LIBS="-lxml2 $XML2_LIBS $LIBS"
11516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11517 /* end confdefs.h. */
11519 /* Override any GCC internal prototype to avoid an error.
11520 Use char because int might match the return type of a GCC
11521 builtin and then its argument prototype would still apply. */
11522 #ifdef __cplusplus
11523 extern "C"
11524 #endif
11525 char xmlSchemaSetValidStructuredErrors ();
11527 main ()
11529 return xmlSchemaSetValidStructuredErrors ();
11531 return 0;
11533 _ACEOF
11534 if ac_fn_c_try_link "$LINENO"; then :
11535 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11536 else
11537 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11539 rm -f core conftest.err conftest.$ac_objext \
11540 conftest$ac_exeext conftest.$ac_ext
11541 LIBS=$ac_check_lib_save_LIBS
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11544 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11545 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11547 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11552 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11553 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11554 $as_echo_n "(cached) " >&6
11555 else
11556 ac_check_lib_save_LIBS=$LIBS
11557 LIBS="-lxml2 $XML2_LIBS $LIBS"
11558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11559 /* end confdefs.h. */
11561 /* Override any GCC internal prototype to avoid an error.
11562 Use char because int might match the return type of a GCC
11563 builtin and then its argument prototype would still apply. */
11564 #ifdef __cplusplus
11565 extern "C"
11566 #endif
11567 char xmlFirstElementChild ();
11569 main ()
11571 return xmlFirstElementChild ();
11573 return 0;
11575 _ACEOF
11576 if ac_fn_c_try_link "$LINENO"; then :
11577 ac_cv_lib_xml2_xmlFirstElementChild=yes
11578 else
11579 ac_cv_lib_xml2_xmlFirstElementChild=no
11581 rm -f core conftest.err conftest.$ac_objext \
11582 conftest$ac_exeext conftest.$ac_ext
11583 LIBS=$ac_check_lib_save_LIBS
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11586 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11587 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11589 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11593 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11595 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11597 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11601 else
11602 XML2_CFLAGS=""
11603 XML2_LIBS=""
11605 CPPFLAGS=$ac_save_CPPFLAGS
11606 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11607 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11610 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11611 case "x$with_xml" in
11612 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11613 xno) ;;
11614 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11615 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11616 esac
11620 if test "x$with_xslt" != "xno"
11621 then
11622 if ${XSLT_CFLAGS:+false} :; then :
11623 if ${PKG_CONFIG+:} false; then :
11624 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11627 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11628 if ${XSLT_LIBS:+false} :; then :
11629 if ${PKG_CONFIG+:} false; then :
11630 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11633 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11634 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11635 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11636 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11637 ac_save_CPPFLAGS=$CPPFLAGS
11638 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11639 for ac_header in libxslt/pattern.h libxslt/transform.h
11640 do :
11641 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11642 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11643 # include <libxslt/pattern.h>
11644 #endif
11646 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11647 cat >>confdefs.h <<_ACEOF
11648 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11649 _ACEOF
11653 done
11655 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11656 then
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11658 $as_echo_n "checking for -lxslt... " >&6; }
11659 if ${ac_cv_lib_soname_xslt+:} false; then :
11660 $as_echo_n "(cached) " >&6
11661 else
11662 ac_check_soname_save_LIBS=$LIBS
11663 LIBS="-lxslt $XSLT_LIBS $LIBS"
11664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11665 /* end confdefs.h. */
11667 /* Override any GCC internal prototype to avoid an error.
11668 Use char because int might match the return type of a GCC
11669 builtin and then its argument prototype would still apply. */
11670 #ifdef __cplusplus
11671 extern "C"
11672 #endif
11673 char xsltCompilePattern ();
11675 main ()
11677 return xsltCompilePattern ();
11679 return 0;
11681 _ACEOF
11682 if ac_fn_c_try_link "$LINENO"; then :
11683 case "$LIBEXT" in
11684 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11685 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'` ;;
11686 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11687 if ${ac_cv_lib_soname_xslt:+false} :; then :
11688 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11689 fi ;;
11690 esac
11692 rm -f core conftest.err conftest.$ac_objext \
11693 conftest$ac_exeext conftest.$ac_ext
11694 LIBS=$ac_check_soname_save_LIBS
11696 if ${ac_cv_lib_soname_xslt:+false} :; then :
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11698 $as_echo "not found" >&6; }
11700 else
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11702 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11704 cat >>confdefs.h <<_ACEOF
11705 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11706 _ACEOF
11710 else
11711 XSLT_CFLAGS=""
11713 CPPFLAGS=$ac_save_CPPFLAGS
11714 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11715 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11718 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11719 case "x$with_xslt" in
11720 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11721 xno) ;;
11722 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11723 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11724 esac
11728 if test "x$with_dbus" != "xno"
11729 then
11730 if ${DBUS_CFLAGS:+false} :; then :
11731 if ${PKG_CONFIG+:} false; then :
11732 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11736 if ${DBUS_LIBS:+false} :; then :
11737 if ${PKG_CONFIG+:} false; then :
11738 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11743 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11744 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11745 ac_save_CPPFLAGS=$CPPFLAGS
11746 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11747 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11748 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11750 $as_echo_n "checking for -ldbus-1... " >&6; }
11751 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11752 $as_echo_n "(cached) " >&6
11753 else
11754 ac_check_soname_save_LIBS=$LIBS
11755 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11759 /* Override any GCC internal prototype to avoid an error.
11760 Use char because int might match the return type of a GCC
11761 builtin and then its argument prototype would still apply. */
11762 #ifdef __cplusplus
11763 extern "C"
11764 #endif
11765 char dbus_connection_close ();
11767 main ()
11769 return dbus_connection_close ();
11771 return 0;
11773 _ACEOF
11774 if ac_fn_c_try_link "$LINENO"; then :
11775 case "$LIBEXT" in
11776 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11777 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'` ;;
11778 *) 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'`
11779 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11780 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11781 fi ;;
11782 esac
11784 rm -f core conftest.err conftest.$ac_objext \
11785 conftest$ac_exeext conftest.$ac_ext
11786 LIBS=$ac_check_soname_save_LIBS
11788 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11790 $as_echo "not found" >&6; }
11791 DBUS_CFLAGS=""
11792 else
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11794 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11796 cat >>confdefs.h <<_ACEOF
11797 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11798 _ACEOF
11802 else
11803 DBUS_CFLAGS=""
11807 CPPFLAGS=$ac_save_CPPFLAGS
11808 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11809 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11812 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11813 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11814 case "x$with_dbus" in
11815 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11816 xno) ;;
11817 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11818 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11819 esac
11823 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11824 then
11825 if ${HAL_CFLAGS:+false} :; then :
11826 if ${PKG_CONFIG+:} false; then :
11827 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11831 if ${HAL_LIBS:+false} :; then :
11832 if ${PKG_CONFIG+:} false; then :
11833 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11837 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11838 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11839 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11840 ac_save_CPPFLAGS=$CPPFLAGS
11841 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11842 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11843 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11845 $as_echo_n "checking for -lhal... " >&6; }
11846 if ${ac_cv_lib_soname_hal+:} false; then :
11847 $as_echo_n "(cached) " >&6
11848 else
11849 ac_check_soname_save_LIBS=$LIBS
11850 LIBS="-lhal $HAL_LIBS $LIBS"
11851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11852 /* end confdefs.h. */
11854 /* Override any GCC internal prototype to avoid an error.
11855 Use char because int might match the return type of a GCC
11856 builtin and then its argument prototype would still apply. */
11857 #ifdef __cplusplus
11858 extern "C"
11859 #endif
11860 char libhal_ctx_new ();
11862 main ()
11864 return libhal_ctx_new ();
11866 return 0;
11868 _ACEOF
11869 if ac_fn_c_try_link "$LINENO"; then :
11870 case "$LIBEXT" in
11871 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11872 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'` ;;
11873 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11874 if ${ac_cv_lib_soname_hal:+false} :; then :
11875 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11876 fi ;;
11877 esac
11879 rm -f core conftest.err conftest.$ac_objext \
11880 conftest$ac_exeext conftest.$ac_ext
11881 LIBS=$ac_check_soname_save_LIBS
11883 if ${ac_cv_lib_soname_hal:+false} :; then :
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11885 $as_echo "not found" >&6; }
11886 HAL_CFLAGS=""
11887 else
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11889 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11891 cat >>confdefs.h <<_ACEOF
11892 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11893 _ACEOF
11897 else
11898 HAL_CFLAGS=""
11902 CPPFLAGS=$ac_save_CPPFLAGS
11903 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11904 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11906 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11907 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11908 case "x$with_hal" in
11909 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11910 xno) ;;
11911 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11912 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11913 esac
11918 if test "x$with_gnutls" != "xno"
11919 then
11920 if ${GNUTLS_CFLAGS:+false} :; then :
11921 if ${PKG_CONFIG+:} false; then :
11922 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11926 if ${GNUTLS_LIBS:+false} :; then :
11927 if ${PKG_CONFIG+:} false; then :
11928 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11933 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11934 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11935 ac_save_CPPFLAGS=$CPPFLAGS
11936 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11937 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11938 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11940 /* end confdefs.h. */
11941 #include <gnutls/gnutls.h>
11942 #include <gnutls/crypto.h>
11944 main ()
11946 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11948 return 0;
11950 _ACEOF
11951 if ac_fn_c_try_compile "$LINENO"; then :
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11953 $as_echo_n "checking for -lgnutls... " >&6; }
11954 if ${ac_cv_lib_soname_gnutls+:} false; then :
11955 $as_echo_n "(cached) " >&6
11956 else
11957 ac_check_soname_save_LIBS=$LIBS
11958 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11962 /* Override any GCC internal prototype to avoid an error.
11963 Use char because int might match the return type of a GCC
11964 builtin and then its argument prototype would still apply. */
11965 #ifdef __cplusplus
11966 extern "C"
11967 #endif
11968 char gnutls_global_init ();
11970 main ()
11972 return gnutls_global_init ();
11974 return 0;
11976 _ACEOF
11977 if ac_fn_c_try_link "$LINENO"; then :
11978 case "$LIBEXT" in
11979 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11980 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'` ;;
11981 *) 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'`
11982 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11983 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'`
11984 fi ;;
11985 esac
11987 rm -f core conftest.err conftest.$ac_objext \
11988 conftest$ac_exeext conftest.$ac_ext
11989 LIBS=$ac_check_soname_save_LIBS
11991 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11993 $as_echo "not found" >&6; }
11994 GNUTLS_CFLAGS=""
11995 else
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11997 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11999 cat >>confdefs.h <<_ACEOF
12000 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12001 _ACEOF
12005 ac_wine_check_funcs_save_LIBS="$LIBS"
12006 LIBS="$LIBS $GNUTLS_LIBS"
12007 for ac_func in gnutls_cipher_init
12008 do :
12009 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12010 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12011 cat >>confdefs.h <<_ACEOF
12012 #define HAVE_GNUTLS_CIPHER_INIT 1
12013 _ACEOF
12015 else
12016 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12018 done
12020 LIBS="$ac_wine_check_funcs_save_LIBS"
12022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12023 else
12024 GNUTLS_CFLAGS=""
12028 CPPFLAGS=$ac_save_CPPFLAGS
12029 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12030 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12033 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12034 case "x$with_gnutls" in
12035 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12036 xno) ;;
12037 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12038 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12039 esac
12043 CURSES_LIBS=""
12044 if test "$ac_cv_header_ncurses_h" = "yes"
12045 then
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12047 $as_echo_n "checking for -lncurses... " >&6; }
12048 if ${ac_cv_lib_soname_ncurses+:} false; then :
12049 $as_echo_n "(cached) " >&6
12050 else
12051 ac_check_soname_save_LIBS=$LIBS
12052 LIBS="-lncurses $LIBS"
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12059 #ifdef __cplusplus
12060 extern "C"
12061 #endif
12062 char waddch ();
12064 main ()
12066 return waddch ();
12068 return 0;
12070 _ACEOF
12071 if ac_fn_c_try_link "$LINENO"; then :
12072 case "$LIBEXT" in
12073 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12074 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'` ;;
12075 *) 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'`
12076 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12077 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12078 fi ;;
12079 esac
12081 rm -f core conftest.err conftest.$ac_objext \
12082 conftest$ac_exeext conftest.$ac_ext
12083 LIBS=$ac_check_soname_save_LIBS
12085 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12087 $as_echo "not found" >&6; }
12089 else
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12091 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12093 cat >>confdefs.h <<_ACEOF
12094 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12095 _ACEOF
12097 CURSES_LIBS="-lncurses"
12099 elif test "$ac_cv_header_curses_h" = "yes"
12100 then
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12102 $as_echo_n "checking for -lcurses... " >&6; }
12103 if ${ac_cv_lib_soname_curses+:} false; then :
12104 $as_echo_n "(cached) " >&6
12105 else
12106 ac_check_soname_save_LIBS=$LIBS
12107 LIBS="-lcurses $LIBS"
12108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */
12111 /* Override any GCC internal prototype to avoid an error.
12112 Use char because int might match the return type of a GCC
12113 builtin and then its argument prototype would still apply. */
12114 #ifdef __cplusplus
12115 extern "C"
12116 #endif
12117 char waddch ();
12119 main ()
12121 return waddch ();
12123 return 0;
12125 _ACEOF
12126 if ac_fn_c_try_link "$LINENO"; then :
12127 case "$LIBEXT" in
12128 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12129 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'` ;;
12130 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12131 if ${ac_cv_lib_soname_curses:+false} :; then :
12132 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12133 fi ;;
12134 esac
12136 rm -f core conftest.err conftest.$ac_objext \
12137 conftest$ac_exeext conftest.$ac_ext
12138 LIBS=$ac_check_soname_save_LIBS
12140 if ${ac_cv_lib_soname_curses:+false} :; then :
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12142 $as_echo "not found" >&6; }
12144 else
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12146 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12148 cat >>confdefs.h <<_ACEOF
12149 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12150 _ACEOF
12152 CURSES_LIBS="-lcurses"
12155 ac_save_LIBS="$LIBS"
12156 LIBS="$LIBS $CURSES_LIBS"
12157 for ac_func in mousemask
12158 do :
12159 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12160 if test "x$ac_cv_func_mousemask" = xyes; then :
12161 cat >>confdefs.h <<_ACEOF
12162 #define HAVE_MOUSEMASK 1
12163 _ACEOF
12166 done
12168 LIBS="$ac_save_LIBS"
12169 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12170 case "x$with_curses" in
12171 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12172 xno) ;;
12173 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12174 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12175 esac
12179 if test "x$with_sane" != "xno"
12180 then
12181 if ${SANE_CFLAGS:+false} :; then :
12182 if ${PKG_CONFIG+:} false; then :
12183 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12186 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12187 if ${SANE_LIBS:+false} :; then :
12188 if ${PKG_CONFIG+:} false; then :
12189 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12192 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12194 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12195 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12196 ac_save_CPPFLAGS=$CPPFLAGS
12197 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12198 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12199 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12201 $as_echo_n "checking for -lsane... " >&6; }
12202 if ${ac_cv_lib_soname_sane+:} false; then :
12203 $as_echo_n "(cached) " >&6
12204 else
12205 ac_check_soname_save_LIBS=$LIBS
12206 LIBS="-lsane $SANE_LIBS $LIBS"
12207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h. */
12210 /* Override any GCC internal prototype to avoid an error.
12211 Use char because int might match the return type of a GCC
12212 builtin and then its argument prototype would still apply. */
12213 #ifdef __cplusplus
12214 extern "C"
12215 #endif
12216 char sane_init ();
12218 main ()
12220 return sane_init ();
12222 return 0;
12224 _ACEOF
12225 if ac_fn_c_try_link "$LINENO"; then :
12226 case "$LIBEXT" in
12227 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12228 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'` ;;
12229 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12230 if ${ac_cv_lib_soname_sane:+false} :; then :
12231 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12232 fi ;;
12233 esac
12235 rm -f core conftest.err conftest.$ac_objext \
12236 conftest$ac_exeext conftest.$ac_ext
12237 LIBS=$ac_check_soname_save_LIBS
12239 if ${ac_cv_lib_soname_sane:+false} :; then :
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12241 $as_echo "not found" >&6; }
12242 SANE_CFLAGS=""
12243 else
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12245 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12247 cat >>confdefs.h <<_ACEOF
12248 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12249 _ACEOF
12253 else
12254 SANE_CFLAGS=""
12258 CPPFLAGS=$ac_save_CPPFLAGS
12259 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12260 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12263 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12264 case "x$with_sane" in
12265 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12266 xno) ;;
12267 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12268 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12269 esac
12273 if test "x$with_v4l" != "xno"
12274 then
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12276 $as_echo_n "checking for -lv4l1... " >&6; }
12277 if ${ac_cv_lib_soname_v4l1+:} false; then :
12278 $as_echo_n "(cached) " >&6
12279 else
12280 ac_check_soname_save_LIBS=$LIBS
12281 LIBS="-lv4l1 $LIBS"
12282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12285 /* Override any GCC internal prototype to avoid an error.
12286 Use char because int might match the return type of a GCC
12287 builtin and then its argument prototype would still apply. */
12288 #ifdef __cplusplus
12289 extern "C"
12290 #endif
12291 char v4l1_open ();
12293 main ()
12295 return v4l1_open ();
12297 return 0;
12299 _ACEOF
12300 if ac_fn_c_try_link "$LINENO"; then :
12301 case "$LIBEXT" in
12302 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12303 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'` ;;
12304 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12305 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12306 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12307 fi ;;
12308 esac
12310 rm -f core conftest.err conftest.$ac_objext \
12311 conftest$ac_exeext conftest.$ac_ext
12312 LIBS=$ac_check_soname_save_LIBS
12314 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12316 $as_echo "not found" >&6; }
12318 else
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12320 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12322 cat >>confdefs.h <<_ACEOF
12323 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12324 _ACEOF
12329 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12330 case "x$with_v4l" in
12331 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12332 xno) ;;
12333 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12334 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12335 esac
12339 if test "x$with_gphoto" != "xno"
12340 then
12341 if ${GPHOTO2_CFLAGS:+false} :; then :
12342 if ${PKG_CONFIG+:} false; then :
12343 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12346 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12347 if ${GPHOTO2_LIBS:+false} :; then :
12348 if ${PKG_CONFIG+:} false; then :
12349 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12352 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12353 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12354 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12355 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12356 ac_save_CPPFLAGS=$CPPFLAGS
12357 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12358 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12359 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12361 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12362 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12363 $as_echo_n "(cached) " >&6
12364 else
12365 ac_check_lib_save_LIBS=$LIBS
12366 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h. */
12370 /* Override any GCC internal prototype to avoid an error.
12371 Use char because int might match the return type of a GCC
12372 builtin and then its argument prototype would still apply. */
12373 #ifdef __cplusplus
12374 extern "C"
12375 #endif
12376 char gp_camera_new ();
12378 main ()
12380 return gp_camera_new ();
12382 return 0;
12384 _ACEOF
12385 if ac_fn_c_try_link "$LINENO"; then :
12386 ac_cv_lib_gphoto2_gp_camera_new=yes
12387 else
12388 ac_cv_lib_gphoto2_gp_camera_new=no
12390 rm -f core conftest.err conftest.$ac_objext \
12391 conftest$ac_exeext conftest.$ac_ext
12392 LIBS=$ac_check_lib_save_LIBS
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12395 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12396 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12398 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12400 else
12401 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12404 else
12405 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12409 CPPFLAGS=$ac_save_CPPFLAGS
12410 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12411 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12413 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12414 if ${PKG_CONFIG+:} false; then :
12415 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12418 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12419 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12420 if ${PKG_CONFIG+:} false; then :
12421 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12424 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12425 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12426 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12427 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12428 ac_save_CPPFLAGS=$CPPFLAGS
12429 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12430 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12431 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12433 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12434 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12435 $as_echo_n "(cached) " >&6
12436 else
12437 ac_check_lib_save_LIBS=$LIBS
12438 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12442 /* Override any GCC internal prototype to avoid an error.
12443 Use char because int might match the return type of a GCC
12444 builtin and then its argument prototype would still apply. */
12445 #ifdef __cplusplus
12446 extern "C"
12447 #endif
12448 char gp_port_info_list_new ();
12450 main ()
12452 return gp_port_info_list_new ();
12454 return 0;
12456 _ACEOF
12457 if ac_fn_c_try_link "$LINENO"; then :
12458 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12459 else
12460 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12462 rm -f core conftest.err conftest.$ac_objext \
12463 conftest$ac_exeext conftest.$ac_ext
12464 LIBS=$ac_check_lib_save_LIBS
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12467 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12468 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12470 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12472 else
12473 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12476 else
12477 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12481 CPPFLAGS=$ac_save_CPPFLAGS
12482 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12483 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12486 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12487 case "x$with_gphoto" in
12488 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12489 xno) ;;
12490 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12491 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12492 esac
12495 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12496 case "x$with_gphoto" in
12497 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12498 xno) ;;
12499 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12500 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12501 esac
12506 if test "$ac_cv_header_resolv_h" = "yes"
12507 then
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12509 $as_echo_n "checking for resolver library... " >&6; }
12510 if ${ac_cv_have_resolv+:} false; then :
12511 $as_echo_n "(cached) " >&6
12512 else
12513 ac_save_LIBS="$LIBS"
12514 for lib in '' -lresolv
12516 LIBS="$lib $ac_save_LIBS"
12517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12518 /* end confdefs.h. */
12519 #ifdef HAVE_NETINET_IN_H
12520 #include <netinet/in.h>
12521 #endif
12522 #include <resolv.h>
12524 main ()
12526 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12528 return 0;
12530 _ACEOF
12531 if ac_fn_c_try_link "$LINENO"; then :
12532 ac_cv_have_resolv=${lib:-"none required"}
12533 else
12534 ac_cv_have_resolv="not found"
12536 rm -f core conftest.err conftest.$ac_objext \
12537 conftest$ac_exeext conftest.$ac_ext
12538 test "x$ac_cv_have_resolv" = "xnot found" || break
12539 done
12540 LIBS="$ac_save_LIBS"
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12543 $as_echo "$ac_cv_have_resolv" >&6; }
12545 case "$ac_cv_have_resolv" in
12546 "not found") ;;
12547 "none required")
12549 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12552 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12554 RESOLV_LIBS=$ac_cv_have_resolv
12556 esac
12559 if test "x$with_cms" != "xno"
12560 then
12561 if ${LCMS2_CFLAGS:+false} :; then :
12562 if ${PKG_CONFIG+:} false; then :
12563 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12567 if ${LCMS2_LIBS:+false} :; then :
12568 if ${PKG_CONFIG+:} false; then :
12569 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12573 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12574 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12575 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12576 ac_save_CPPFLAGS=$CPPFLAGS
12577 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12578 for ac_header in lcms2.h
12579 do :
12580 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12581 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12582 cat >>confdefs.h <<_ACEOF
12583 #define HAVE_LCMS2_H 1
12584 _ACEOF
12588 done
12590 if test "$ac_cv_header_lcms2_h" = "yes"
12591 then
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12593 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12594 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12595 $as_echo_n "(cached) " >&6
12596 else
12597 ac_check_lib_save_LIBS=$LIBS
12598 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12602 /* Override any GCC internal prototype to avoid an error.
12603 Use char because int might match the return type of a GCC
12604 builtin and then its argument prototype would still apply. */
12605 #ifdef __cplusplus
12606 extern "C"
12607 #endif
12608 char cmsOpenProfileFromFile ();
12610 main ()
12612 return cmsOpenProfileFromFile ();
12614 return 0;
12616 _ACEOF
12617 if ac_fn_c_try_link "$LINENO"; then :
12618 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12619 else
12620 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12622 rm -f core conftest.err conftest.$ac_objext \
12623 conftest$ac_exeext conftest.$ac_ext
12624 LIBS=$ac_check_lib_save_LIBS
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12627 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12628 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12630 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12632 else
12633 LCMS2_LIBS=""
12636 else
12637 LCMS2_CFLAGS=""
12638 LCMS2_LIBS=""
12640 CPPFLAGS=$ac_save_CPPFLAGS
12641 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12642 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12645 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12646 case "x$with_cms" in
12647 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12648 xno) ;;
12649 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12650 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12651 esac
12655 if test "x$with_freetype" != "xno"
12656 then
12657 if ${FREETYPE_CFLAGS:+false} :; then :
12658 if ${PKG_CONFIG+:} false; then :
12659 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12662 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12663 if ${FREETYPE_LIBS:+false} :; then :
12664 if ${PKG_CONFIG+:} false; then :
12665 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12668 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12669 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12670 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12671 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12672 ac_save_CPPFLAGS=$CPPFLAGS
12673 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12674 for ac_header in ft2build.h
12675 do :
12676 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12677 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12678 cat >>confdefs.h <<_ACEOF
12679 #define HAVE_FT2BUILD_H 1
12680 _ACEOF
12684 done
12686 if test "$ac_cv_header_ft2build_h" = "yes"
12687 then
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12689 $as_echo_n "checking for -lfreetype... " >&6; }
12690 if ${ac_cv_lib_soname_freetype+:} false; then :
12691 $as_echo_n "(cached) " >&6
12692 else
12693 ac_check_soname_save_LIBS=$LIBS
12694 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12696 /* end confdefs.h. */
12698 /* Override any GCC internal prototype to avoid an error.
12699 Use char because int might match the return type of a GCC
12700 builtin and then its argument prototype would still apply. */
12701 #ifdef __cplusplus
12702 extern "C"
12703 #endif
12704 char FT_Init_FreeType ();
12706 main ()
12708 return FT_Init_FreeType ();
12710 return 0;
12712 _ACEOF
12713 if ac_fn_c_try_link "$LINENO"; then :
12714 case "$LIBEXT" in
12715 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12716 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'` ;;
12717 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12718 if ${ac_cv_lib_soname_freetype:+false} :; then :
12719 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12720 fi ;;
12721 esac
12723 rm -f core conftest.err conftest.$ac_objext \
12724 conftest$ac_exeext conftest.$ac_ext
12725 LIBS=$ac_check_soname_save_LIBS
12727 if ${ac_cv_lib_soname_freetype:+false} :; then :
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12729 $as_echo "not found" >&6; }
12730 FREETYPE_LIBS=""
12731 else
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12733 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12735 cat >>confdefs.h <<_ACEOF
12736 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12737 _ACEOF
12740 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12742 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12743 #include FT_MODULE_H
12745 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12747 cat >>confdefs.h <<_ACEOF
12748 #define HAVE_FT_TRUETYPEENGINETYPE 1
12749 _ACEOF
12755 else
12756 FREETYPE_CFLAGS=""
12757 FREETYPE_LIBS=""
12759 CPPFLAGS=$ac_save_CPPFLAGS
12760 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12761 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12764 if test "x$ac_cv_lib_soname_freetype" = x; then :
12765 case "x$with_freetype" in
12766 xno) ;;
12767 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12768 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12769 esac
12770 enable_fonts=${enable_fonts:-no}
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12774 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12775 if ${ac_cv_c_ppdev+:} false; then :
12776 $as_echo_n "(cached) " >&6
12777 else
12778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12779 /* end confdefs.h. */
12780 #ifdef HAVE_SYS_IOCTL_H
12781 # include <sys/ioctl.h>
12782 #endif
12783 #include <linux/ppdev.h>
12785 main ()
12787 ioctl (1,PPCLAIM,0)
12789 return 0;
12791 _ACEOF
12792 if ac_fn_c_try_compile "$LINENO"; then :
12793 ac_cv_c_ppdev="yes"
12794 else
12795 ac_cv_c_ppdev="no"
12797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12800 $as_echo "$ac_cv_c_ppdev" >&6; }
12801 if test "$ac_cv_c_ppdev" = "yes"
12802 then
12804 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12808 ac_wine_check_funcs_save_LIBS="$LIBS"
12809 LIBS="$LIBS $PTHREAD_LIBS"
12810 for ac_func in \
12811 pthread_attr_get_np \
12812 pthread_getattr_np \
12813 pthread_getthreadid_np \
12814 pthread_get_stackaddr_np \
12815 pthread_get_stacksize_np
12816 do :
12817 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12818 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12819 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12820 cat >>confdefs.h <<_ACEOF
12821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12822 _ACEOF
12825 done
12827 LIBS="$ac_wine_check_funcs_save_LIBS"
12829 if test "$ac_cv_header_zlib_h" = "yes"
12830 then
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12832 $as_echo_n "checking for inflate in -lz... " >&6; }
12833 if ${ac_cv_lib_z_inflate+:} false; then :
12834 $as_echo_n "(cached) " >&6
12835 else
12836 ac_check_lib_save_LIBS=$LIBS
12837 LIBS="-lz $LIBS"
12838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */
12841 /* Override any GCC internal prototype to avoid an error.
12842 Use char because int might match the return type of a GCC
12843 builtin and then its argument prototype would still apply. */
12844 #ifdef __cplusplus
12845 extern "C"
12846 #endif
12847 char inflate ();
12849 main ()
12851 return inflate ();
12853 return 0;
12855 _ACEOF
12856 if ac_fn_c_try_link "$LINENO"; then :
12857 ac_cv_lib_z_inflate=yes
12858 else
12859 ac_cv_lib_z_inflate=no
12861 rm -f core conftest.err conftest.$ac_objext \
12862 conftest$ac_exeext conftest.$ac_ext
12863 LIBS=$ac_check_lib_save_LIBS
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12866 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12867 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12869 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12871 Z_LIBS="-lz"
12876 if test "x$Z_LIBS" = "x"; then :
12877 case "x$with_zlib" in
12878 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12879 xno) ;;
12880 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12881 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12882 esac
12886 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12887 then
12888 if test "$ac_cv_header_gettext_po_h" = "yes"
12889 then
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12891 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12892 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12893 $as_echo_n "(cached) " >&6
12894 else
12895 ac_check_lib_save_LIBS=$LIBS
12896 LIBS="-lgettextpo $LIBS"
12897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12898 /* end confdefs.h. */
12900 /* Override any GCC internal prototype to avoid an error.
12901 Use char because int might match the return type of a GCC
12902 builtin and then its argument prototype would still apply. */
12903 #ifdef __cplusplus
12904 extern "C"
12905 #endif
12906 char po_message_msgctxt ();
12908 main ()
12910 return po_message_msgctxt ();
12912 return 0;
12914 _ACEOF
12915 if ac_fn_c_try_link "$LINENO"; then :
12916 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12917 else
12918 ac_cv_lib_gettextpo_po_message_msgctxt=no
12920 rm -f core conftest.err conftest.$ac_objext \
12921 conftest$ac_exeext conftest.$ac_ext
12922 LIBS=$ac_check_lib_save_LIBS
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12925 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12926 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12928 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12930 GETTEXTPO_LIBS="-lgettextpo"
12935 if test "x$GETTEXTPO_LIBS" = "x"; then :
12936 case "x$with_gettextpo" in
12937 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12938 xno) ;;
12939 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12940 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12941 esac
12944 if test "$srcdir" != .; then :
12945 case "x$with_gettextpo" in
12946 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12947 xno) ;;
12948 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12949 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12950 esac
12955 if test "x$with_pulse" != "xno";
12956 then
12957 if ${PULSE_CFLAGS:+false} :; then :
12958 if ${PKG_CONFIG+:} false; then :
12959 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12963 if ${PULSE_LIBS:+false} :; then :
12964 if ${PKG_CONFIG+:} false; then :
12965 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12970 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12971 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12972 ac_save_CPPFLAGS=$CPPFLAGS
12973 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12974 for ac_header in pulse/pulseaudio.h
12975 do :
12976 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12977 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12978 cat >>confdefs.h <<_ACEOF
12979 #define HAVE_PULSE_PULSEAUDIO_H 1
12980 _ACEOF
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12982 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12983 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12984 $as_echo_n "(cached) " >&6
12985 else
12986 ac_check_lib_save_LIBS=$LIBS
12987 LIBS="-lpulse $PULSE_LIBS $LIBS"
12988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12989 /* end confdefs.h. */
12991 /* Override any GCC internal prototype to avoid an error.
12992 Use char because int might match the return type of a GCC
12993 builtin and then its argument prototype would still apply. */
12994 #ifdef __cplusplus
12995 extern "C"
12996 #endif
12997 char pa_stream_is_corked ();
12999 main ()
13001 return pa_stream_is_corked ();
13003 return 0;
13005 _ACEOF
13006 if ac_fn_c_try_link "$LINENO"; then :
13007 ac_cv_lib_pulse_pa_stream_is_corked=yes
13008 else
13009 ac_cv_lib_pulse_pa_stream_is_corked=no
13011 rm -f core conftest.err conftest.$ac_objext \
13012 conftest$ac_exeext conftest.$ac_ext
13013 LIBS=$ac_check_lib_save_LIBS
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13016 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13017 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13019 else
13020 PULSE_LIBS=""
13023 else
13024 PULSE_LIBS=""
13027 done
13029 CPPFLAGS=$ac_save_CPPFLAGS
13030 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13031 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13034 if test -z "$PULSE_LIBS"; then :
13035 case "x$with_pulse" in
13036 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13037 xno) ;;
13038 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13039 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13040 esac
13041 enable_winepulse_drv=${enable_winepulse_drv:-no}
13044 if test "x$with_gstreamer" != "xno"
13045 then
13046 if ${GSTREAMER_CFLAGS:+false} :; then :
13047 if ${PKG_CONFIG+:} false; then :
13048 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13052 if ${GSTREAMER_LIBS:+false} :; then :
13053 if ${PKG_CONFIG+:} false; then :
13054 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13059 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13060 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13061 ac_save_CPPFLAGS=$CPPFLAGS
13062 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13063 ac_gst_incl=""
13064 for i in $GSTREAMER_CFLAGS
13066 case "$i" in
13067 -I*) ac_gst_incl="$ac_gst_incl $i";;
13068 esac
13069 done
13070 GSTREAMER_CFLAGS=$ac_gst_incl
13071 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13072 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13073 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13075 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13077 /* end confdefs.h. */
13078 #include <gst/gst.h>
13080 main ()
13082 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13084 return 0;
13086 _ACEOF
13087 if ac_fn_c_try_compile "$LINENO"; then :
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13089 $as_echo "yes" >&6; }
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13091 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13092 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13093 $as_echo_n "(cached) " >&6
13094 else
13095 ac_check_lib_save_LIBS=$LIBS
13096 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13098 /* end confdefs.h. */
13100 /* Override any GCC internal prototype to avoid an error.
13101 Use char because int might match the return type of a GCC
13102 builtin and then its argument prototype would still apply. */
13103 #ifdef __cplusplus
13104 extern "C"
13105 #endif
13106 char gst_pad_new ();
13108 main ()
13110 return gst_pad_new ();
13112 return 0;
13114 _ACEOF
13115 if ac_fn_c_try_link "$LINENO"; then :
13116 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13117 else
13118 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13120 rm -f core conftest.err conftest.$ac_objext \
13121 conftest$ac_exeext conftest.$ac_ext
13122 LIBS=$ac_check_lib_save_LIBS
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13125 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13126 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13130 else
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13132 $as_echo "no" >&6; }
13133 ac_glib2_broken=yes
13134 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13140 CPPFLAGS=$ac_save_CPPFLAGS
13141 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13142 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13145 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 :
13146 case "x$with_gstreamer" in
13147 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13148 xno) ;;
13149 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13150 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13151 esac
13154 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13156 ALSA_LIBS=""
13158 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13159 then
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13161 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13162 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13163 $as_echo_n "(cached) " >&6
13164 else
13165 ac_check_lib_save_LIBS=$LIBS
13166 LIBS="-lasound $LIBS"
13167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13168 /* end confdefs.h. */
13170 /* Override any GCC internal prototype to avoid an error.
13171 Use char because int might match the return type of a GCC
13172 builtin and then its argument prototype would still apply. */
13173 #ifdef __cplusplus
13174 extern "C"
13175 #endif
13176 char snd_pcm_hw_params_get_access_mask ();
13178 main ()
13180 return snd_pcm_hw_params_get_access_mask ();
13182 return 0;
13184 _ACEOF
13185 if ac_fn_c_try_link "$LINENO"; then :
13186 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13187 else
13188 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13190 rm -f core conftest.err conftest.$ac_objext \
13191 conftest$ac_exeext conftest.$ac_ext
13192 LIBS=$ac_check_lib_save_LIBS
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13195 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13196 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13198 /* end confdefs.h. */
13199 #ifdef HAVE_ALSA_ASOUNDLIB_H
13200 #include <alsa/asoundlib.h>
13201 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13202 #include <sys/asoundlib.h>
13203 #endif
13205 main ()
13207 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13209 return 0;
13211 _ACEOF
13212 if ac_fn_c_try_compile "$LINENO"; then :
13213 ALSA_LIBS="-lasound"
13215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13219 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13221 if test "x$with_oss" != xno
13222 then
13223 ac_save_CPPFLAGS="$CPPFLAGS"
13224 if test -f /etc/oss.conf
13225 then
13226 . /etc/oss.conf
13228 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13229 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13230 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13231 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13232 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13234 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13236 cat >>confdefs.h <<_ACEOF
13237 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13238 _ACEOF
13240 OSS4_CFLAGS="$ac_oss_incl"
13247 CPPFLAGS="$ac_save_CPPFLAGS"
13249 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13250 case "x$with_oss" in
13251 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13252 xno) ;;
13253 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13254 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13255 esac
13256 enable_wineoss_drv=${enable_wineoss_drv:-no}
13259 if test "x$with_udev" != "xno"
13260 then
13261 if ${UDEV_CFLAGS:+false} :; then :
13262 if ${PKG_CONFIG+:} false; then :
13263 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13267 if ${UDEV_LIBS:+false} :; then :
13268 if ${PKG_CONFIG+:} false; then :
13269 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13273 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13274 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13275 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13276 ac_save_CPPFLAGS=$CPPFLAGS
13277 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13278 for ac_header in libudev.h
13279 do :
13280 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13281 if test "x$ac_cv_header_libudev_h" = xyes; then :
13282 cat >>confdefs.h <<_ACEOF
13283 #define HAVE_LIBUDEV_H 1
13284 _ACEOF
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13286 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13287 if ${ac_cv_lib_udev_udev_new+:} false; then :
13288 $as_echo_n "(cached) " >&6
13289 else
13290 ac_check_lib_save_LIBS=$LIBS
13291 LIBS="-ludev $UDEV_LIBS $LIBS"
13292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13293 /* end confdefs.h. */
13295 /* Override any GCC internal prototype to avoid an error.
13296 Use char because int might match the return type of a GCC
13297 builtin and then its argument prototype would still apply. */
13298 #ifdef __cplusplus
13299 extern "C"
13300 #endif
13301 char udev_new ();
13303 main ()
13305 return udev_new ();
13307 return 0;
13309 _ACEOF
13310 if ac_fn_c_try_link "$LINENO"; then :
13311 ac_cv_lib_udev_udev_new=yes
13312 else
13313 ac_cv_lib_udev_udev_new=no
13315 rm -f core conftest.err conftest.$ac_objext \
13316 conftest$ac_exeext conftest.$ac_ext
13317 LIBS=$ac_check_lib_save_LIBS
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13320 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13321 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13323 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13325 else
13326 UDEV_LIBS=""
13329 else
13330 UDEV_LIBS=""
13333 done
13335 CPPFLAGS=$ac_save_CPPFLAGS
13336 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13337 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13340 if test "x$UDEV_LIBS" = "x"; then :
13341 case "x$with_udev" in
13342 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13343 xno) ;;
13344 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13345 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13346 esac
13350 if test "x$with_capi" != "xno"
13351 then
13352 if ${CAPI20_CFLAGS:+false} :; then :
13353 if ${PKG_CONFIG+:} false; then :
13354 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13358 if ${CAPI20_LIBS:+false} :; then :
13359 if ${PKG_CONFIG+:} false; then :
13360 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13365 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13366 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13367 ac_save_CPPFLAGS=$CPPFLAGS
13368 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13369 for ac_header in capi20.h linux/capi.h
13370 do :
13371 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13372 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13374 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13375 cat >>confdefs.h <<_ACEOF
13376 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13377 _ACEOF
13381 done
13383 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13384 then
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13386 $as_echo_n "checking for -lcapi20... " >&6; }
13387 if ${ac_cv_lib_soname_capi20+:} false; then :
13388 $as_echo_n "(cached) " >&6
13389 else
13390 ac_check_soname_save_LIBS=$LIBS
13391 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13393 /* end confdefs.h. */
13395 /* Override any GCC internal prototype to avoid an error.
13396 Use char because int might match the return type of a GCC
13397 builtin and then its argument prototype would still apply. */
13398 #ifdef __cplusplus
13399 extern "C"
13400 #endif
13401 char capi20_register ();
13403 main ()
13405 return capi20_register ();
13407 return 0;
13409 _ACEOF
13410 if ac_fn_c_try_link "$LINENO"; then :
13411 case "$LIBEXT" in
13412 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13413 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'` ;;
13414 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13415 if ${ac_cv_lib_soname_capi20:+false} :; then :
13416 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13417 fi ;;
13418 esac
13420 rm -f core conftest.err conftest.$ac_objext \
13421 conftest$ac_exeext conftest.$ac_ext
13422 LIBS=$ac_check_soname_save_LIBS
13424 if ${ac_cv_lib_soname_capi20:+false} :; then :
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13426 $as_echo "not found" >&6; }
13428 else
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13430 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13432 cat >>confdefs.h <<_ACEOF
13433 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13434 _ACEOF
13439 CPPFLAGS=$ac_save_CPPFLAGS
13440 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13441 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13444 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13445 case "x$with_capi" in
13446 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13447 xno) ;;
13448 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13449 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13450 esac
13454 if test "x$with_cups" != "xno"
13455 then
13456 if ${CUPS_CFLAGS:+false} :; then :
13457 if ${PKG_CONFIG+:} false; then :
13458 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13461 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13462 if ${CUPS_LIBS:+false} :; then :
13463 if ${PKG_CONFIG+:} false; then :
13464 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13467 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13468 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13469 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13470 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13471 ac_save_CPPFLAGS=$CPPFLAGS
13472 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13473 for ac_header in cups/cups.h cups/ppd.h
13474 do :
13475 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13476 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13477 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13478 cat >>confdefs.h <<_ACEOF
13479 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13480 _ACEOF
13484 done
13486 if test "$ac_cv_header_cups_cups_h" = "yes"
13487 then
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13489 $as_echo_n "checking for -lcups... " >&6; }
13490 if ${ac_cv_lib_soname_cups+:} false; then :
13491 $as_echo_n "(cached) " >&6
13492 else
13493 ac_check_soname_save_LIBS=$LIBS
13494 LIBS="-lcups $CUPS_LIBS $LIBS"
13495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13496 /* end confdefs.h. */
13498 /* Override any GCC internal prototype to avoid an error.
13499 Use char because int might match the return type of a GCC
13500 builtin and then its argument prototype would still apply. */
13501 #ifdef __cplusplus
13502 extern "C"
13503 #endif
13504 char cupsGetDefault ();
13506 main ()
13508 return cupsGetDefault ();
13510 return 0;
13512 _ACEOF
13513 if ac_fn_c_try_link "$LINENO"; then :
13514 case "$LIBEXT" in
13515 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13516 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'` ;;
13517 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13518 if ${ac_cv_lib_soname_cups:+false} :; then :
13519 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13520 fi ;;
13521 esac
13523 rm -f core conftest.err conftest.$ac_objext \
13524 conftest$ac_exeext conftest.$ac_ext
13525 LIBS=$ac_check_soname_save_LIBS
13527 if ${ac_cv_lib_soname_cups:+false} :; then :
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13529 $as_echo "not found" >&6; }
13530 CUPS_LIBS=""
13531 else
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13533 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13535 cat >>confdefs.h <<_ACEOF
13536 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13537 _ACEOF
13541 else
13542 CUPS_CFLAGS=""
13543 CUPS_LIBS=""
13545 CPPFLAGS=$ac_save_CPPFLAGS
13546 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13547 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13550 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13551 case "x$with_cups" in
13552 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13553 xno) ;;
13554 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13555 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13556 esac
13560 if test "x$with_fontconfig" != "xno"
13561 then
13562 if ${FONTCONFIG_CFLAGS:+false} :; then :
13563 if ${PKG_CONFIG+:} false; then :
13564 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13567 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13568 if ${FONTCONFIG_LIBS:+false} :; then :
13569 if ${PKG_CONFIG+:} false; then :
13570 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13573 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13575 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13576 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13577 ac_save_CPPFLAGS=$CPPFLAGS
13578 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13579 for ac_header in fontconfig/fontconfig.h
13580 do :
13581 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13582 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13583 cat >>confdefs.h <<_ACEOF
13584 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13585 _ACEOF
13589 done
13591 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13592 then
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13594 $as_echo_n "checking for -lfontconfig... " >&6; }
13595 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13596 $as_echo_n "(cached) " >&6
13597 else
13598 ac_check_soname_save_LIBS=$LIBS
13599 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13601 /* end confdefs.h. */
13603 /* Override any GCC internal prototype to avoid an error.
13604 Use char because int might match the return type of a GCC
13605 builtin and then its argument prototype would still apply. */
13606 #ifdef __cplusplus
13607 extern "C"
13608 #endif
13609 char FcInit ();
13611 main ()
13613 return FcInit ();
13615 return 0;
13617 _ACEOF
13618 if ac_fn_c_try_link "$LINENO"; then :
13619 case "$LIBEXT" in
13620 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13621 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'` ;;
13622 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13623 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13624 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13625 fi ;;
13626 esac
13628 rm -f core conftest.err conftest.$ac_objext \
13629 conftest$ac_exeext conftest.$ac_ext
13630 LIBS=$ac_check_soname_save_LIBS
13632 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13634 $as_echo "not found" >&6; }
13635 FONTCONFIG_CFLAGS=""
13636 else
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13638 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13640 cat >>confdefs.h <<_ACEOF
13641 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13642 _ACEOF
13646 else
13647 FONTCONFIG_CFLAGS=""
13649 CPPFLAGS=$ac_save_CPPFLAGS
13650 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13651 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13654 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13655 case "x$with_fontconfig" in
13656 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13657 xno) ;;
13658 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13659 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13660 esac
13664 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13665 then
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13667 $as_echo_n "checking for -lgsm... " >&6; }
13668 if ${ac_cv_lib_soname_gsm+:} false; then :
13669 $as_echo_n "(cached) " >&6
13670 else
13671 ac_check_soname_save_LIBS=$LIBS
13672 LIBS="-lgsm $LIBS"
13673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13676 /* Override any GCC internal prototype to avoid an error.
13677 Use char because int might match the return type of a GCC
13678 builtin and then its argument prototype would still apply. */
13679 #ifdef __cplusplus
13680 extern "C"
13681 #endif
13682 char gsm_create ();
13684 main ()
13686 return gsm_create ();
13688 return 0;
13690 _ACEOF
13691 if ac_fn_c_try_link "$LINENO"; then :
13692 case "$LIBEXT" in
13693 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13694 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'` ;;
13695 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13696 if ${ac_cv_lib_soname_gsm:+false} :; then :
13697 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13698 fi ;;
13699 esac
13701 rm -f core conftest.err conftest.$ac_objext \
13702 conftest$ac_exeext conftest.$ac_ext
13703 LIBS=$ac_check_soname_save_LIBS
13705 if ${ac_cv_lib_soname_gsm:+false} :; then :
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13707 $as_echo "not found" >&6; }
13709 else
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13711 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13713 cat >>confdefs.h <<_ACEOF
13714 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13715 _ACEOF
13720 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13721 case "x$with_gsm" in
13722 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13723 xno) ;;
13724 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13725 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13726 esac
13730 if test "x$with_jpeg" != "xno"
13731 then
13732 if ${JPEG_CFLAGS:+false} :; then :
13733 if ${PKG_CONFIG+:} false; then :
13734 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13738 if ${JPEG_LIBS:+false} :; then :
13739 if ${PKG_CONFIG+:} false; then :
13740 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13745 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13746 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13747 ac_save_CPPFLAGS=$CPPFLAGS
13748 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13749 for ac_header in jpeglib.h
13750 do :
13751 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13752 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13753 cat >>confdefs.h <<_ACEOF
13754 #define HAVE_JPEGLIB_H 1
13755 _ACEOF
13759 done
13761 if test "$ac_cv_header_jpeglib_h" = "yes"
13762 then
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13764 $as_echo_n "checking for -ljpeg... " >&6; }
13765 if ${ac_cv_lib_soname_jpeg+:} false; then :
13766 $as_echo_n "(cached) " >&6
13767 else
13768 ac_check_soname_save_LIBS=$LIBS
13769 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13773 /* Override any GCC internal prototype to avoid an error.
13774 Use char because int might match the return type of a GCC
13775 builtin and then its argument prototype would still apply. */
13776 #ifdef __cplusplus
13777 extern "C"
13778 #endif
13779 char jpeg_start_decompress ();
13781 main ()
13783 return jpeg_start_decompress ();
13785 return 0;
13787 _ACEOF
13788 if ac_fn_c_try_link "$LINENO"; then :
13789 case "$LIBEXT" in
13790 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13791 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'` ;;
13792 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13793 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13794 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13795 fi ;;
13796 esac
13798 rm -f core conftest.err conftest.$ac_objext \
13799 conftest$ac_exeext conftest.$ac_ext
13800 LIBS=$ac_check_soname_save_LIBS
13802 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13804 $as_echo "not found" >&6; }
13805 JPEG_CFLAGS=""
13806 else
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13808 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13810 cat >>confdefs.h <<_ACEOF
13811 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13812 _ACEOF
13816 else
13817 JPEG_CFLAGS=""
13819 CPPFLAGS=$ac_save_CPPFLAGS
13820 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13821 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13824 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13825 case "x$with_jpeg" in
13826 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13827 xno) ;;
13828 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13829 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13830 esac
13834 if test "x$with_png" != "xno"
13835 then
13836 if ${PNG_CFLAGS:+false} :; then :
13837 if ${PKG_CONFIG+:} false; then :
13838 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13841 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13842 if ${PNG_LIBS:+false} :; then :
13843 if ${PKG_CONFIG+:} false; then :
13844 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13847 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13849 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13850 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13851 ac_save_CPPFLAGS=$CPPFLAGS
13852 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13853 for ac_header in png.h
13854 do :
13855 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13856 if test "x$ac_cv_header_png_h" = xyes; then :
13857 cat >>confdefs.h <<_ACEOF
13858 #define HAVE_PNG_H 1
13859 _ACEOF
13863 done
13865 if test "$ac_cv_header_png_h" = "yes"
13866 then
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13868 $as_echo_n "checking for -lpng... " >&6; }
13869 if ${ac_cv_lib_soname_png+:} false; then :
13870 $as_echo_n "(cached) " >&6
13871 else
13872 ac_check_soname_save_LIBS=$LIBS
13873 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13877 /* Override any GCC internal prototype to avoid an error.
13878 Use char because int might match the return type of a GCC
13879 builtin and then its argument prototype would still apply. */
13880 #ifdef __cplusplus
13881 extern "C"
13882 #endif
13883 char png_create_read_struct ();
13885 main ()
13887 return png_create_read_struct ();
13889 return 0;
13891 _ACEOF
13892 if ac_fn_c_try_link "$LINENO"; then :
13893 case "$LIBEXT" in
13894 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13895 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'` ;;
13896 *) 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'`
13897 if ${ac_cv_lib_soname_png:+false} :; then :
13898 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13899 fi ;;
13900 esac
13902 rm -f core conftest.err conftest.$ac_objext \
13903 conftest$ac_exeext conftest.$ac_ext
13904 LIBS=$ac_check_soname_save_LIBS
13906 if ${ac_cv_lib_soname_png:+false} :; then :
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13908 $as_echo "not found" >&6; }
13909 PNG_CFLAGS=""
13910 else
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13912 $as_echo "$ac_cv_lib_soname_png" >&6; }
13914 cat >>confdefs.h <<_ACEOF
13915 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13916 _ACEOF
13920 else
13921 PNG_CFLAGS=""
13923 CPPFLAGS=$ac_save_CPPFLAGS
13924 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13925 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13928 if test "x$ac_cv_lib_soname_png" = "x"; then :
13929 case "x$with_png" in
13930 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13931 xno) ;;
13932 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13933 This is an error since --with-png was requested." "$LINENO" 5 ;;
13934 esac
13938 if test "x$with_tiff" != "xno"
13939 then
13940 if ${TIFF_CFLAGS:+false} :; then :
13941 if ${PKG_CONFIG+:} false; then :
13942 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13946 if ${TIFF_LIBS:+false} :; then :
13947 if ${PKG_CONFIG+:} false; then :
13948 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13953 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13954 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13955 ac_save_CPPFLAGS=$CPPFLAGS
13956 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13957 for ac_header in tiffio.h
13958 do :
13959 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13960 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13961 cat >>confdefs.h <<_ACEOF
13962 #define HAVE_TIFFIO_H 1
13963 _ACEOF
13967 done
13969 if test "$ac_cv_header_tiffio_h" = "yes"
13970 then
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13972 $as_echo_n "checking for -ltiff... " >&6; }
13973 if ${ac_cv_lib_soname_tiff+:} false; then :
13974 $as_echo_n "(cached) " >&6
13975 else
13976 ac_check_soname_save_LIBS=$LIBS
13977 LIBS="-ltiff $TIFF_LIBS $LIBS"
13978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13979 /* end confdefs.h. */
13981 /* Override any GCC internal prototype to avoid an error.
13982 Use char because int might match the return type of a GCC
13983 builtin and then its argument prototype would still apply. */
13984 #ifdef __cplusplus
13985 extern "C"
13986 #endif
13987 char TIFFClientOpen ();
13989 main ()
13991 return TIFFClientOpen ();
13993 return 0;
13995 _ACEOF
13996 if ac_fn_c_try_link "$LINENO"; then :
13997 case "$LIBEXT" in
13998 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13999 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'` ;;
14000 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14001 if ${ac_cv_lib_soname_tiff:+false} :; then :
14002 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14003 fi ;;
14004 esac
14006 rm -f core conftest.err conftest.$ac_objext \
14007 conftest$ac_exeext conftest.$ac_ext
14008 LIBS=$ac_check_soname_save_LIBS
14010 if ${ac_cv_lib_soname_tiff:+false} :; then :
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14012 $as_echo "not found" >&6; }
14014 else
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14016 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14018 cat >>confdefs.h <<_ACEOF
14019 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14020 _ACEOF
14025 CPPFLAGS=$ac_save_CPPFLAGS
14026 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14027 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14030 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14031 case "x$with_tiff" in
14032 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14033 xno) ;;
14034 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14035 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14036 esac
14040 if test "x$with_mpg123" != "xno"
14041 then
14042 if ${MPG123_CFLAGS:+false} :; then :
14043 if ${PKG_CONFIG+:} false; then :
14044 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14048 if ${MPG123_LIBS:+false} :; then :
14049 if ${PKG_CONFIG+:} false; then :
14050 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14054 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14055 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14056 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14057 ac_save_CPPFLAGS=$CPPFLAGS
14058 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14059 for ac_header in mpg123.h
14060 do :
14061 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14062 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14063 cat >>confdefs.h <<_ACEOF
14064 #define HAVE_MPG123_H 1
14065 _ACEOF
14069 done
14071 if test "$ac_cv_header_mpg123_h" = "yes"
14072 then
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14074 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14075 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14076 $as_echo_n "(cached) " >&6
14077 else
14078 ac_check_lib_save_LIBS=$LIBS
14079 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14081 /* end confdefs.h. */
14083 /* Override any GCC internal prototype to avoid an error.
14084 Use char because int might match the return type of a GCC
14085 builtin and then its argument prototype would still apply. */
14086 #ifdef __cplusplus
14087 extern "C"
14088 #endif
14089 char mpg123_feed ();
14091 main ()
14093 return mpg123_feed ();
14095 return 0;
14097 _ACEOF
14098 if ac_fn_c_try_link "$LINENO"; then :
14099 ac_cv_lib_mpg123_mpg123_feed=yes
14100 else
14101 ac_cv_lib_mpg123_mpg123_feed=no
14103 rm -f core conftest.err conftest.$ac_objext \
14104 conftest$ac_exeext conftest.$ac_ext
14105 LIBS=$ac_check_lib_save_LIBS
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14108 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14109 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14111 else
14112 MPG123_LIBS=""
14115 else
14116 MPG123_CFLAGS=""
14117 MPG123_LIBS=""
14119 CPPFLAGS=$ac_save_CPPFLAGS
14120 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14121 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14124 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14125 case "x$with_mpg123" in
14126 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14127 xno) ;;
14128 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14129 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14130 esac
14131 enable_winemp3_acm=${enable_winemp3_acm:-no}
14134 if test "$ac_cv_header_AL_al_h" = "yes"
14135 then
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14137 $as_echo_n "checking for -lopenal... " >&6; }
14138 if ${ac_cv_lib_soname_openal+:} false; then :
14139 $as_echo_n "(cached) " >&6
14140 else
14141 ac_check_soname_save_LIBS=$LIBS
14142 LIBS="-lopenal $LIBS"
14143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14146 /* Override any GCC internal prototype to avoid an error.
14147 Use char because int might match the return type of a GCC
14148 builtin and then its argument prototype would still apply. */
14149 #ifdef __cplusplus
14150 extern "C"
14151 #endif
14152 char alGetSource3i ();
14154 main ()
14156 return alGetSource3i ();
14158 return 0;
14160 _ACEOF
14161 if ac_fn_c_try_link "$LINENO"; then :
14162 case "$LIBEXT" in
14163 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14164 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'` ;;
14165 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14166 if ${ac_cv_lib_soname_openal:+false} :; then :
14167 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14168 fi ;;
14169 esac
14171 rm -f core conftest.err conftest.$ac_objext \
14172 conftest$ac_exeext conftest.$ac_ext
14173 LIBS=$ac_check_soname_save_LIBS
14175 if ${ac_cv_lib_soname_openal:+false} :; then :
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14177 $as_echo "not found" >&6; }
14179 else
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14181 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14183 cat >>confdefs.h <<_ACEOF
14184 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14185 _ACEOF
14187 OPENAL_LIBS="-lopenal"
14189 ac_cv_lib_openal=yes
14191 cat >>confdefs.h <<_ACEOF
14192 #define HAVE_OPENAL 1
14193 _ACEOF
14197 if test "x$ac_cv_lib_openal" != xyes; then :
14198 case "x$with_openal" in
14199 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14200 xno) ;;
14201 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14202 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14203 esac
14204 enable_openal32=${enable_openal32:-no}
14207 if test "x$ac_cv_lib_openal" = xyes
14208 then
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14210 $as_echo_n "checking for openal-soft... " >&6; }
14211 if ${ac_cv_have_openalsoft+:} false; then :
14212 $as_echo_n "(cached) " >&6
14213 else
14214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14215 /* end confdefs.h. */
14216 #include <AL/al.h>
14217 #include <AL/alc.h>
14218 #include <AL/alext.h>
14219 LPALCRENDERSAMPLESSOFT x;
14221 main ()
14225 return 0;
14227 _ACEOF
14228 if ac_fn_c_try_compile "$LINENO"; then :
14229 ac_cv_have_openalsoft=yes
14230 else
14231 ac_cv_have_openalsoft=no
14233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14236 $as_echo "$ac_cv_have_openalsoft" >&6; }
14238 if test "x$ac_cv_have_openalsoft" != xyes
14239 then
14240 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14241 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14242 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14243 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14244 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14245 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14246 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14247 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14248 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14249 enable_xapofx1_1=${enable_xapofx1_1:-no}
14250 enable_xapofx1_2=${enable_xapofx1_2:-no}
14251 enable_xapofx1_3=${enable_xapofx1_3:-no}
14252 enable_xapofx1_4=${enable_xapofx1_4:-no}
14253 enable_xapofx1_5=${enable_xapofx1_5:-no}
14254 enable_xaudio2_0=${enable_xaudio2_0:-no}
14255 enable_xaudio2_1=${enable_xaudio2_1:-no}
14256 enable_xaudio2_2=${enable_xaudio2_2:-no}
14257 enable_xaudio2_3=${enable_xaudio2_3:-no}
14258 enable_xaudio2_4=${enable_xaudio2_4:-no}
14259 enable_xaudio2_5=${enable_xaudio2_5:-no}
14260 enable_xaudio2_6=${enable_xaudio2_6:-no}
14261 enable_xaudio2_7=${enable_xaudio2_7:-no}
14262 enable_xaudio2_8=${enable_xaudio2_8:-no}
14263 enable_xaudio2_9=${enable_xaudio2_9:-no}
14266 if test "$ac_cv_header_kstat_h" = "yes"
14267 then
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14269 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14270 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14271 $as_echo_n "(cached) " >&6
14272 else
14273 ac_check_lib_save_LIBS=$LIBS
14274 LIBS="-lkstat $LIBS"
14275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276 /* end confdefs.h. */
14278 /* Override any GCC internal prototype to avoid an error.
14279 Use char because int might match the return type of a GCC
14280 builtin and then its argument prototype would still apply. */
14281 #ifdef __cplusplus
14282 extern "C"
14283 #endif
14284 char kstat_open ();
14286 main ()
14288 return kstat_open ();
14290 return 0;
14292 _ACEOF
14293 if ac_fn_c_try_link "$LINENO"; then :
14294 ac_cv_lib_kstat_kstat_open=yes
14295 else
14296 ac_cv_lib_kstat_kstat_open=no
14298 rm -f core conftest.err conftest.$ac_objext \
14299 conftest$ac_exeext conftest.$ac_ext
14300 LIBS=$ac_check_lib_save_LIBS
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14303 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14304 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14306 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14308 KSTAT_LIBS="-lkstat"
14314 if test "$ac_cv_header_libprocstat_h" = "yes"
14315 then
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14317 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14318 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14319 $as_echo_n "(cached) " >&6
14320 else
14321 ac_check_lib_save_LIBS=$LIBS
14322 LIBS="-lprocstat $LIBS"
14323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14326 /* Override any GCC internal prototype to avoid an error.
14327 Use char because int might match the return type of a GCC
14328 builtin and then its argument prototype would still apply. */
14329 #ifdef __cplusplus
14330 extern "C"
14331 #endif
14332 char procstat_open_sysctl ();
14334 main ()
14336 return procstat_open_sysctl ();
14338 return 0;
14340 _ACEOF
14341 if ac_fn_c_try_link "$LINENO"; then :
14342 ac_cv_lib_procstat_procstat_open_sysctl=yes
14343 else
14344 ac_cv_lib_procstat_procstat_open_sysctl=no
14346 rm -f core conftest.err conftest.$ac_objext \
14347 conftest$ac_exeext conftest.$ac_ext
14348 LIBS=$ac_check_lib_save_LIBS
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14351 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14352 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14354 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14356 PROCSTAT_LIBS="-lprocstat"
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14363 $as_echo_n "checking for -lodbc... " >&6; }
14364 if ${ac_cv_lib_soname_odbc+:} false; then :
14365 $as_echo_n "(cached) " >&6
14366 else
14367 ac_check_soname_save_LIBS=$LIBS
14368 LIBS="-lodbc $LIBS"
14369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14372 /* Override any GCC internal prototype to avoid an error.
14373 Use char because int might match the return type of a GCC
14374 builtin and then its argument prototype would still apply. */
14375 #ifdef __cplusplus
14376 extern "C"
14377 #endif
14378 char SQLConnect ();
14380 main ()
14382 return SQLConnect ();
14384 return 0;
14386 _ACEOF
14387 if ac_fn_c_try_link "$LINENO"; then :
14388 case "$LIBEXT" in
14389 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14390 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'` ;;
14391 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14392 if ${ac_cv_lib_soname_odbc:+false} :; then :
14393 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14394 fi ;;
14395 esac
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14399 LIBS=$ac_check_soname_save_LIBS
14401 if ${ac_cv_lib_soname_odbc:+false} :; then :
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14403 $as_echo "not found" >&6; }
14404 cat >>confdefs.h <<_ACEOF
14405 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14406 _ACEOF
14408 else
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14410 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14412 cat >>confdefs.h <<_ACEOF
14413 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14414 _ACEOF
14419 if test "x$with_netapi" != "xno"
14420 then
14421 if ${NETAPI_CFLAGS:+false} :; then :
14422 if ${PKG_CONFIG+:} false; then :
14423 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14427 if ${NETAPI_LIBS:+false} :; then :
14428 if ${PKG_CONFIG+:} false; then :
14429 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14434 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14435 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14436 ac_save_CPPFLAGS=$CPPFLAGS
14437 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14439 $as_echo_n "checking for -lnetapi... " >&6; }
14440 if ${ac_cv_lib_soname_netapi+:} false; then :
14441 $as_echo_n "(cached) " >&6
14442 else
14443 ac_check_soname_save_LIBS=$LIBS
14444 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14448 /* Override any GCC internal prototype to avoid an error.
14449 Use char because int might match the return type of a GCC
14450 builtin and then its argument prototype would still apply. */
14451 #ifdef __cplusplus
14452 extern "C"
14453 #endif
14454 char libnetapi_init ();
14456 main ()
14458 return libnetapi_init ();
14460 return 0;
14462 _ACEOF
14463 if ac_fn_c_try_link "$LINENO"; then :
14464 case "$LIBEXT" in
14465 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14466 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'` ;;
14467 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14468 if ${ac_cv_lib_soname_netapi:+false} :; then :
14469 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14470 fi ;;
14471 esac
14473 rm -f core conftest.err conftest.$ac_objext \
14474 conftest$ac_exeext conftest.$ac_ext
14475 LIBS=$ac_check_soname_save_LIBS
14477 if ${ac_cv_lib_soname_netapi:+false} :; then :
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14479 $as_echo "not found" >&6; }
14480 cat >>confdefs.h <<_ACEOF
14481 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14482 _ACEOF
14484 else
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14486 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14488 cat >>confdefs.h <<_ACEOF
14489 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14490 _ACEOF
14494 CPPFLAGS=$ac_save_CPPFLAGS
14495 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14496 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14500 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14501 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14502 then
14503 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14507 EXTRACFLAGS=""
14509 if test "x${GCC}" = "xyes"
14510 then
14511 EXTRACFLAGS="-Wall -pipe"
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14514 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14515 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14516 $as_echo_n "(cached) " >&6
14517 else
14518 if test "$cross_compiling" = yes; then :
14519 ac_cv_c_gcc_strength_bug="no"
14520 else
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14523 int L[4] = {0,1,2,3};
14525 main ()
14527 static int Array[3];
14528 unsigned int B = 3;
14529 int i;
14530 for(i=0; i<B; i++) Array[i] = i - 3;
14531 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14532 L[i] = 4;
14533 return (Array[1] != -2 || L[2] != 3)
14535 return 0;
14537 _ACEOF
14538 if ac_fn_c_try_run "$LINENO"; then :
14539 ac_cv_c_gcc_strength_bug="no"
14540 else
14541 ac_cv_c_gcc_strength_bug="yes"
14543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14544 conftest.$ac_objext conftest.beam conftest.$ac_ext
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14549 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14550 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14551 then
14552 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14556 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14557 if ${ac_cv_cflags__fno_builtin+:} false; then :
14558 $as_echo_n "(cached) " >&6
14559 else
14560 ac_wine_try_cflags_saved=$CFLAGS
14561 CFLAGS="$CFLAGS -fno-builtin"
14562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14563 /* end confdefs.h. */
14564 int main(int argc, char **argv) { return 0; }
14565 _ACEOF
14566 if ac_fn_c_try_link "$LINENO"; then :
14567 ac_cv_cflags__fno_builtin=yes
14568 else
14569 ac_cv_cflags__fno_builtin=no
14571 rm -f core conftest.err conftest.$ac_objext \
14572 conftest$ac_exeext conftest.$ac_ext
14573 CFLAGS=$ac_wine_try_cflags_saved
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14576 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14577 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14578 BUILTINFLAG="-fno-builtin"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14582 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14583 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 ac_wine_try_cflags_saved=$CFLAGS
14587 CFLAGS="$CFLAGS -fno-strict-aliasing"
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14590 int main(int argc, char **argv) { return 0; }
14591 _ACEOF
14592 if ac_fn_c_try_link "$LINENO"; then :
14593 ac_cv_cflags__fno_strict_aliasing=yes
14594 else
14595 ac_cv_cflags__fno_strict_aliasing=no
14597 rm -f core conftest.err conftest.$ac_objext \
14598 conftest$ac_exeext conftest.$ac_ext
14599 CFLAGS=$ac_wine_try_cflags_saved
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14602 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14603 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14604 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14607 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14608 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14609 $as_echo_n "(cached) " >&6
14610 else
14611 ac_wine_try_cflags_saved=$CFLAGS
14612 CFLAGS="$CFLAGS -fexcess-precision=standard"
14613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14614 /* end confdefs.h. */
14615 int main(int argc, char **argv) { return 0; }
14616 _ACEOF
14617 if ac_fn_c_try_link "$LINENO"; then :
14618 ac_cv_cflags__fexcess_precision_standard=yes
14619 else
14620 ac_cv_cflags__fexcess_precision_standard=no
14622 rm -f core conftest.err conftest.$ac_objext \
14623 conftest$ac_exeext conftest.$ac_ext
14624 CFLAGS=$ac_wine_try_cflags_saved
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14627 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14628 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14629 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14632 saved_CFLAGS=$CFLAGS
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14634 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14635 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14636 $as_echo_n "(cached) " >&6
14637 else
14638 ac_wine_try_cflags_saved=$CFLAGS
14639 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14642 int main(int argc, char **argv) { return 0; }
14643 _ACEOF
14644 if ac_fn_c_try_link "$LINENO"; then :
14645 ac_cv_cflags__Werror_unknown_warning_option=yes
14646 else
14647 ac_cv_cflags__Werror_unknown_warning_option=no
14649 rm -f core conftest.err conftest.$ac_objext \
14650 conftest$ac_exeext conftest.$ac_ext
14651 CFLAGS=$ac_wine_try_cflags_saved
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14654 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14655 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14656 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14659 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14660 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14661 $as_echo_n "(cached) " >&6
14662 else
14663 ac_wine_try_cflags_saved=$CFLAGS
14664 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14666 /* end confdefs.h. */
14667 int main(int argc, char **argv) { return 0; }
14668 _ACEOF
14669 if ac_fn_c_try_link "$LINENO"; then :
14670 ac_cv_cflags__Wdeclaration_after_statement=yes
14671 else
14672 ac_cv_cflags__Wdeclaration_after_statement=no
14674 rm -f core conftest.err conftest.$ac_objext \
14675 conftest$ac_exeext conftest.$ac_ext
14676 CFLAGS=$ac_wine_try_cflags_saved
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14679 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14680 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14681 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14684 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14685 if ${ac_cv_cflags__Wempty_body+:} false; then :
14686 $as_echo_n "(cached) " >&6
14687 else
14688 ac_wine_try_cflags_saved=$CFLAGS
14689 CFLAGS="$CFLAGS -Wempty-body"
14690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14691 /* end confdefs.h. */
14692 int main(int argc, char **argv) { return 0; }
14693 _ACEOF
14694 if ac_fn_c_try_link "$LINENO"; then :
14695 ac_cv_cflags__Wempty_body=yes
14696 else
14697 ac_cv_cflags__Wempty_body=no
14699 rm -f core conftest.err conftest.$ac_objext \
14700 conftest$ac_exeext conftest.$ac_ext
14701 CFLAGS=$ac_wine_try_cflags_saved
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14704 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14705 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14706 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14709 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14710 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14711 $as_echo_n "(cached) " >&6
14712 else
14713 ac_wine_try_cflags_saved=$CFLAGS
14714 CFLAGS="$CFLAGS -Wignored-qualifiers"
14715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14716 /* end confdefs.h. */
14717 int main(int argc, char **argv) { return 0; }
14718 _ACEOF
14719 if ac_fn_c_try_link "$LINENO"; then :
14720 ac_cv_cflags__Wignored_qualifiers=yes
14721 else
14722 ac_cv_cflags__Wignored_qualifiers=no
14724 rm -f core conftest.err conftest.$ac_objext \
14725 conftest$ac_exeext conftest.$ac_ext
14726 CFLAGS=$ac_wine_try_cflags_saved
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14729 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14730 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14731 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14734 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14735 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14736 $as_echo_n "(cached) " >&6
14737 else
14738 ac_wine_try_cflags_saved=$CFLAGS
14739 CFLAGS="$CFLAGS -Wshift-overflow=2"
14740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14742 int main(int argc, char **argv) { return 0; }
14743 _ACEOF
14744 if ac_fn_c_try_link "$LINENO"; then :
14745 ac_cv_cflags__Wshift_overflow_2=yes
14746 else
14747 ac_cv_cflags__Wshift_overflow_2=no
14749 rm -f core conftest.err conftest.$ac_objext \
14750 conftest$ac_exeext conftest.$ac_ext
14751 CFLAGS=$ac_wine_try_cflags_saved
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14754 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14755 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14756 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14759 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14760 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14761 $as_echo_n "(cached) " >&6
14762 else
14763 ac_wine_try_cflags_saved=$CFLAGS
14764 CFLAGS="$CFLAGS -Wstrict-prototypes"
14765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14767 int main(int argc, char **argv) { return 0; }
14768 _ACEOF
14769 if ac_fn_c_try_link "$LINENO"; then :
14770 ac_cv_cflags__Wstrict_prototypes=yes
14771 else
14772 ac_cv_cflags__Wstrict_prototypes=no
14774 rm -f core conftest.err conftest.$ac_objext \
14775 conftest$ac_exeext conftest.$ac_ext
14776 CFLAGS=$ac_wine_try_cflags_saved
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14779 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14780 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14781 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14784 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14785 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14786 $as_echo_n "(cached) " >&6
14787 else
14788 ac_wine_try_cflags_saved=$CFLAGS
14789 CFLAGS="$CFLAGS -Wtype-limits"
14790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14792 int main(int argc, char **argv) { return 0; }
14793 _ACEOF
14794 if ac_fn_c_try_link "$LINENO"; then :
14795 ac_cv_cflags__Wtype_limits=yes
14796 else
14797 ac_cv_cflags__Wtype_limits=no
14799 rm -f core conftest.err conftest.$ac_objext \
14800 conftest$ac_exeext conftest.$ac_ext
14801 CFLAGS=$ac_wine_try_cflags_saved
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14804 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14805 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14806 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14809 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14810 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14811 $as_echo_n "(cached) " >&6
14812 else
14813 ac_wine_try_cflags_saved=$CFLAGS
14814 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14817 int main(int argc, char **argv) { return 0; }
14818 _ACEOF
14819 if ac_fn_c_try_link "$LINENO"; then :
14820 ac_cv_cflags__Wunused_but_set_parameter=yes
14821 else
14822 ac_cv_cflags__Wunused_but_set_parameter=no
14824 rm -f core conftest.err conftest.$ac_objext \
14825 conftest$ac_exeext conftest.$ac_ext
14826 CFLAGS=$ac_wine_try_cflags_saved
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14829 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14830 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14831 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14834 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14835 if ${ac_cv_cflags__Wvla+:} false; then :
14836 $as_echo_n "(cached) " >&6
14837 else
14838 ac_wine_try_cflags_saved=$CFLAGS
14839 CFLAGS="$CFLAGS -Wvla"
14840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14842 int main(int argc, char **argv) { return 0; }
14843 _ACEOF
14844 if ac_fn_c_try_link "$LINENO"; then :
14845 ac_cv_cflags__Wvla=yes
14846 else
14847 ac_cv_cflags__Wvla=no
14849 rm -f core conftest.err conftest.$ac_objext \
14850 conftest$ac_exeext conftest.$ac_ext
14851 CFLAGS=$ac_wine_try_cflags_saved
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14854 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14855 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14856 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14859 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14860 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14861 $as_echo_n "(cached) " >&6
14862 else
14863 ac_wine_try_cflags_saved=$CFLAGS
14864 CFLAGS="$CFLAGS -Wwrite-strings"
14865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14866 /* end confdefs.h. */
14867 int main(int argc, char **argv) { return 0; }
14868 _ACEOF
14869 if ac_fn_c_try_link "$LINENO"; then :
14870 ac_cv_cflags__Wwrite_strings=yes
14871 else
14872 ac_cv_cflags__Wwrite_strings=no
14874 rm -f core conftest.err conftest.$ac_objext \
14875 conftest$ac_exeext conftest.$ac_ext
14876 CFLAGS=$ac_wine_try_cflags_saved
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14879 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14880 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14881 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14885 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14886 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14887 $as_echo_n "(cached) " >&6
14888 else
14889 ac_wine_try_cflags_saved=$CFLAGS
14890 CFLAGS="$CFLAGS -Wpointer-arith"
14891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14892 /* end confdefs.h. */
14893 int main(int argc, char **argv) { return 0; }
14894 _ACEOF
14895 if ac_fn_c_try_link "$LINENO"; then :
14896 ac_cv_cflags__Wpointer_arith=yes
14897 else
14898 ac_cv_cflags__Wpointer_arith=no
14900 rm -f core conftest.err conftest.$ac_objext \
14901 conftest$ac_exeext conftest.$ac_ext
14902 CFLAGS=$ac_wine_try_cflags_saved
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14905 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14906 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14907 saved_string_h_CFLAGS=$CFLAGS
14908 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14910 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14911 if ${ac_cv_c_string_h_warnings+:} false; then :
14912 $as_echo_n "(cached) " >&6
14913 else
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14916 #include <string.h>
14918 main ()
14922 return 0;
14924 _ACEOF
14925 if ac_fn_c_try_compile "$LINENO"; then :
14926 ac_cv_c_string_h_warnings=no
14927 else
14928 ac_cv_c_string_h_warnings=yes
14930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14933 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14934 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14935 CFLAGS=$saved_string_h_CFLAGS
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14939 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14940 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14941 $as_echo_n "(cached) " >&6
14942 else
14943 ac_wine_try_cflags_saved=$CFLAGS
14944 CFLAGS="$CFLAGS -Wlogical-op"
14945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14946 /* end confdefs.h. */
14947 int main(int argc, char **argv) { return 0; }
14948 _ACEOF
14949 if ac_fn_c_try_link "$LINENO"; then :
14950 ac_cv_cflags__Wlogical_op=yes
14951 else
14952 ac_cv_cflags__Wlogical_op=no
14954 rm -f core conftest.err conftest.$ac_objext \
14955 conftest$ac_exeext conftest.$ac_ext
14956 CFLAGS=$ac_wine_try_cflags_saved
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14959 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14960 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14961 saved_string_h_CFLAGS=$CFLAGS
14962 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14964 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14965 if ${ac_cv_c_logicalop_noisy+:} false; then :
14966 $as_echo_n "(cached) " >&6
14967 else
14968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14969 /* end confdefs.h. */
14970 #include <string.h>
14971 char*f(const char *h,char n) {return strchr(h,n);}
14973 main ()
14977 return 0;
14979 _ACEOF
14980 if ac_fn_c_try_compile "$LINENO"; then :
14981 ac_cv_c_logicalop_noisy=no
14982 else
14983 ac_cv_c_logicalop_noisy=yes
14985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14988 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14989 CFLAGS=$saved_string_h_CFLAGS
14990 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14993 CFLAGS=$saved_CFLAGS
14995 for ac_flag in $CFLAGS; do
14996 case $ac_flag in
14997 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14998 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14999 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15000 $as_echo_n "(cached) " >&6
15001 else
15002 ac_wine_try_cflags_saved=$CFLAGS
15003 CFLAGS="$CFLAGS -gdwarf-2"
15004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15006 int main(int argc, char **argv) { return 0; }
15007 _ACEOF
15008 if ac_fn_c_try_link "$LINENO"; then :
15009 ac_cv_cflags__gdwarf_2=yes
15010 else
15011 ac_cv_cflags__gdwarf_2=no
15013 rm -f core conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext conftest.$ac_ext
15015 CFLAGS=$ac_wine_try_cflags_saved
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15018 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15019 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15020 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15023 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15024 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15025 $as_echo_n "(cached) " >&6
15026 else
15027 ac_wine_try_cflags_saved=$CFLAGS
15028 CFLAGS="$CFLAGS -gstrict-dwarf"
15029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15031 int main(int argc, char **argv) { return 0; }
15032 _ACEOF
15033 if ac_fn_c_try_link "$LINENO"; then :
15034 ac_cv_cflags__gstrict_dwarf=yes
15035 else
15036 ac_cv_cflags__gstrict_dwarf=no
15038 rm -f core conftest.err conftest.$ac_objext \
15039 conftest$ac_exeext conftest.$ac_ext
15040 CFLAGS=$ac_wine_try_cflags_saved
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15043 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15044 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15045 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15046 fi ;;
15047 esac
15048 done
15050 case $host_cpu in
15051 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15052 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15053 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15054 $as_echo_n "(cached) " >&6
15055 else
15056 ac_wine_try_cflags_saved=$CFLAGS
15057 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15060 int main(int argc, char **argv) { return 0; }
15061 _ACEOF
15062 if ac_fn_c_try_link "$LINENO"; then :
15063 ac_cv_cflags__fno_omit_frame_pointer=yes
15064 else
15065 ac_cv_cflags__fno_omit_frame_pointer=no
15067 rm -f core conftest.err conftest.$ac_objext \
15068 conftest$ac_exeext conftest.$ac_ext
15069 CFLAGS=$ac_wine_try_cflags_saved
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15072 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15073 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15074 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15075 fi ;;
15076 esac
15078 case $host in
15079 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15080 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15081 if ${ac_cv_cflags__Wno_format+:} false; then :
15082 $as_echo_n "(cached) " >&6
15083 else
15084 ac_wine_try_cflags_saved=$CFLAGS
15085 CFLAGS="$CFLAGS -Wno-format"
15086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h. */
15088 int main(int argc, char **argv) { return 0; }
15089 _ACEOF
15090 if ac_fn_c_try_link "$LINENO"; then :
15091 ac_cv_cflags__Wno_format=yes
15092 else
15093 ac_cv_cflags__Wno_format=no
15095 rm -f core conftest.err conftest.$ac_objext \
15096 conftest$ac_exeext conftest.$ac_ext
15097 CFLAGS=$ac_wine_try_cflags_saved
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15100 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15101 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15102 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15103 fi ;;
15104 esac
15106 if test "x$enable_maintainer_mode" = "xyes"
15107 then
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15109 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15110 if ${ac_cv_cflags__Werror+:} false; then :
15111 $as_echo_n "(cached) " >&6
15112 else
15113 ac_wine_try_cflags_saved=$CFLAGS
15114 CFLAGS="$CFLAGS -Werror"
15115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15117 int main(int argc, char **argv) { return 0; }
15118 _ACEOF
15119 if ac_fn_c_try_link "$LINENO"; then :
15120 ac_cv_cflags__Werror=yes
15121 else
15122 ac_cv_cflags__Werror=no
15124 rm -f core conftest.err conftest.$ac_objext \
15125 conftest$ac_exeext conftest.$ac_ext
15126 CFLAGS=$ac_wine_try_cflags_saved
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15129 $as_echo "$ac_cv_cflags__Werror" >&6; }
15130 if test "x$ac_cv_cflags__Werror" = xyes; then :
15131 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15135 saved_CFLAGS="$CFLAGS"
15136 CFLAGS="$CFLAGS -Werror"
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15138 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15139 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15140 $as_echo_n "(cached) " >&6
15141 else
15142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15144 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15146 main ()
15150 return 0;
15152 _ACEOF
15153 if ac_fn_c_try_compile "$LINENO"; then :
15154 ac_cv_have_ms_hook_prologue="yes"
15155 else
15156 ac_cv_have_ms_hook_prologue="no"
15158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15161 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15162 CFLAGS="$saved_CFLAGS"
15163 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15164 then
15166 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15168 else
15169 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15176 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15177 if ${ac_cv_c_fortify_enabled+:} false; then :
15178 $as_echo_n "(cached) " >&6
15179 else
15180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15182 #include <string.h>
15184 main ()
15186 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15187 #error Fortify enabled
15188 #endif
15190 return 0;
15192 _ACEOF
15193 if ac_fn_c_try_compile "$LINENO"; then :
15194 ac_cv_c_fortify_enabled=no
15195 else
15196 ac_cv_c_fortify_enabled=yes
15198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15201 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15202 if test "$ac_cv_c_fortify_enabled" = yes
15203 then
15204 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15209 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15210 if ${ac_cv_c_extern_prefix+:} false; then :
15211 $as_echo_n "(cached) " >&6
15212 else
15213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15214 /* end confdefs.h. */
15215 extern int ac_test;
15217 main ()
15219 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15221 return 0;
15223 _ACEOF
15224 if ac_fn_c_try_link "$LINENO"; then :
15225 ac_cv_c_extern_prefix="yes"
15226 else
15227 ac_cv_c_extern_prefix="no"
15229 rm -f core conftest.err conftest.$ac_objext \
15230 conftest$ac_exeext conftest.$ac_ext
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15233 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15235 case $host_cpu in
15236 *i[3456789]86*)
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15238 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15239 if ${ac_cv_c_stdcall_suffix+:} false; then :
15240 $as_echo_n "(cached) " >&6
15241 else
15242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15244 #ifndef _MSC_VER
15245 #define __stdcall __attribute__((__stdcall__))
15246 #endif
15247 int __stdcall ac_test(int i) { return i; }
15249 main ()
15251 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15253 return 0;
15255 _ACEOF
15256 if ac_fn_c_try_link "$LINENO"; then :
15257 ac_cv_c_stdcall_suffix="yes"
15258 else
15259 ac_cv_c_stdcall_suffix="no"
15261 rm -f core conftest.err conftest.$ac_objext \
15262 conftest$ac_exeext conftest.$ac_ext
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15265 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15266 *) ac_cv_c_stdcall_suffix="no" ;;
15267 esac
15270 if test "$ac_cv_c_extern_prefix" = "yes"
15271 then
15272 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15274 asm_name_prefix="_"
15275 else
15276 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15278 asm_name_prefix=""
15282 if test "$ac_cv_c_stdcall_suffix" = "yes"
15283 then
15284 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15286 else
15287 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15293 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15294 if ${ac_cv_asm_func_def+:} false; then :
15295 $as_echo_n "(cached) " >&6
15296 else
15297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15298 /* end confdefs.h. */
15301 main ()
15303 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15305 return 0;
15307 _ACEOF
15308 if ac_fn_c_try_link "$LINENO"; then :
15309 ac_cv_asm_func_def=".def"
15310 else
15311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15315 main ()
15317 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15319 return 0;
15321 _ACEOF
15322 if ac_fn_c_try_link "$LINENO"; then :
15323 ac_cv_asm_func_def=".type @function"
15324 else
15325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15326 /* end confdefs.h. */
15329 main ()
15331 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15333 return 0;
15335 _ACEOF
15336 if ac_fn_c_try_link "$LINENO"; then :
15337 ac_cv_asm_func_def=".type 2"
15338 else
15339 ac_cv_asm_func_def="unknown"
15341 rm -f core conftest.err conftest.$ac_objext \
15342 conftest$ac_exeext conftest.$ac_ext
15344 rm -f core conftest.err conftest.$ac_objext \
15345 conftest$ac_exeext conftest.$ac_ext
15347 rm -f core conftest.err conftest.$ac_objext \
15348 conftest$ac_exeext conftest.$ac_ext
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15351 $as_echo "$ac_cv_asm_func_def" >&6; }
15354 case "$ac_cv_asm_func_def" in
15355 ".def")
15356 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15358 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15359 ".type @function")
15360 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15362 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15363 ".type 2")
15364 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15366 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15368 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15370 asm_func_header="" ;;
15371 esac
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15374 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15375 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15376 $as_echo_n "(cached) " >&6
15377 else
15378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15380 asm(".text\n\t.long 0");
15382 main ()
15386 return 0;
15388 _ACEOF
15389 if ac_fn_c_try_compile "$LINENO"; then :
15390 ac_cv_c_asm_outside_funcs="yes"
15391 else
15392 ac_cv_c_asm_outside_funcs="no"
15394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15397 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15400 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15401 if ${ac_cv_c_dot_previous+:} false; then :
15402 $as_echo_n "(cached) " >&6
15403 else
15404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15405 /* end confdefs.h. */
15408 main ()
15410 asm(".text\nac_test:\t.long 0\n\t.previous");
15412 return 0;
15414 _ACEOF
15415 if ac_fn_c_try_link "$LINENO"; then :
15416 ac_cv_c_dot_previous="yes"
15417 else
15418 ac_cv_c_dot_previous="no"
15420 rm -f core conftest.err conftest.$ac_objext \
15421 conftest$ac_exeext conftest.$ac_ext
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15424 $as_echo "$ac_cv_c_dot_previous" >&6; }
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15427 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15428 if ${ac_cv_c_cfi_support+:} false; then :
15429 $as_echo_n "(cached) " >&6
15430 else
15431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15432 /* end confdefs.h. */
15433 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15435 main ()
15439 return 0;
15441 _ACEOF
15442 if ac_fn_c_try_compile "$LINENO"; then :
15443 ac_cv_c_cfi_support="yes"
15444 else
15445 ac_cv_c_cfi_support="no"
15447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15450 $as_echo "$ac_cv_c_cfi_support" >&6; }
15452 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15453 asm_func_trailer=""
15454 if test "$ac_cv_c_dot_previous" = "yes"
15455 then
15456 asm_func_trailer="\\n\\t.previous"
15458 if test "$ac_cv_c_cfi_support" = "yes"
15459 then
15460 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15461 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15463 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15465 UNWINDFLAGS=-fasynchronous-unwind-tables
15467 else
15468 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15470 if test "x$enable_win64" = "xyes"
15471 then
15472 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15476 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15479 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15480 then
15481 cat >>confdefs.h <<_ACEOF
15482 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15483 _ACEOF
15485 else
15486 cat >>confdefs.h <<_ACEOF
15487 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15488 _ACEOF
15492 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15495 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15499 case $build_os in
15500 cygwin*|mingw32*) TOOLSEXT=".exe"
15502 esac
15504 case $host_os in
15505 linux*)
15506 case $host_cpu in
15507 *i[3456789]86*|x86_64*)
15508 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15509 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15511 esac
15513 esac
15516 ac_save_CFLAGS="$CFLAGS"
15517 CFLAGS="$CFLAGS $BUILTINFLAG"
15518 for ac_func in \
15519 __res_get_state \
15520 __res_getservers \
15521 _finite \
15522 _isnan \
15523 _pclose \
15524 _popen \
15525 _snprintf \
15526 _spawnvp \
15527 _strdup \
15528 _stricmp \
15529 _strnicmp \
15530 _strtoi64 \
15531 _strtoui64 \
15532 _vsnprintf \
15533 asctime_r \
15534 chsize \
15535 dlopen \
15536 epoll_create \
15537 ffs \
15538 finitef \
15539 fnmatch \
15540 fork \
15541 fpclass \
15542 fstatfs \
15543 fstatvfs \
15544 ftruncate \
15545 futimens \
15546 futimes \
15547 futimesat \
15548 getattrlist \
15549 getauxval \
15550 getifaddrs \
15551 getopt_long_only \
15552 getpwuid \
15553 gettimeofday \
15554 getuid \
15555 isnanf \
15556 kqueue \
15557 lstat \
15558 memmove \
15559 mmap \
15560 pclose \
15561 pipe2 \
15562 poll \
15563 popen \
15564 port_create \
15565 prctl \
15566 pread \
15567 proc_pidinfo \
15568 pwrite \
15569 readdir \
15570 readlink \
15571 sched_yield \
15572 select \
15573 setproctitle \
15574 setprogname \
15575 setrlimit \
15576 settimeofday \
15577 sigaltstack \
15578 sigprocmask \
15579 snprintf \
15580 statfs \
15581 statvfs \
15582 strcasecmp \
15583 strdup \
15584 strerror \
15585 strncasecmp \
15586 strtold \
15587 strtoll \
15588 strtoull \
15589 symlink \
15590 sysinfo \
15591 tcdrain \
15592 thr_kill2 \
15593 timegm \
15594 usleep \
15595 vsnprintf
15597 do :
15598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15600 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15601 cat >>confdefs.h <<_ACEOF
15602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15603 _ACEOF
15606 done
15608 CFLAGS="$ac_save_CFLAGS"
15610 if test "$ac_cv_func_dlopen" = no
15611 then
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15613 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15614 if ${ac_cv_lib_dl_dlopen+:} false; then :
15615 $as_echo_n "(cached) " >&6
15616 else
15617 ac_check_lib_save_LIBS=$LIBS
15618 LIBS="-ldl $LIBS"
15619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15620 /* end confdefs.h. */
15622 /* Override any GCC internal prototype to avoid an error.
15623 Use char because int might match the return type of a GCC
15624 builtin and then its argument prototype would still apply. */
15625 #ifdef __cplusplus
15626 extern "C"
15627 #endif
15628 char dlopen ();
15630 main ()
15632 return dlopen ();
15634 return 0;
15636 _ACEOF
15637 if ac_fn_c_try_link "$LINENO"; then :
15638 ac_cv_lib_dl_dlopen=yes
15639 else
15640 ac_cv_lib_dl_dlopen=no
15642 rm -f core conftest.err conftest.$ac_objext \
15643 conftest$ac_exeext conftest.$ac_ext
15644 LIBS=$ac_check_lib_save_LIBS
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15647 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15648 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15649 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15650 DL_LIBS="-ldl"
15655 ac_wine_check_funcs_save_LIBS="$LIBS"
15656 LIBS="$LIBS $DL_LIBS"
15657 for ac_func in dladdr
15658 do :
15659 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15660 if test "x$ac_cv_func_dladdr" = xyes; then :
15661 cat >>confdefs.h <<_ACEOF
15662 #define HAVE_DLADDR 1
15663 _ACEOF
15666 done
15668 LIBS="$ac_wine_check_funcs_save_LIBS"
15670 if test "$ac_cv_func_poll" = no
15671 then
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15673 $as_echo_n "checking for poll in -lpoll... " >&6; }
15674 if ${ac_cv_lib_poll_poll+:} false; then :
15675 $as_echo_n "(cached) " >&6
15676 else
15677 ac_check_lib_save_LIBS=$LIBS
15678 LIBS="-lpoll $LIBS"
15679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15680 /* end confdefs.h. */
15682 /* Override any GCC internal prototype to avoid an error.
15683 Use char because int might match the return type of a GCC
15684 builtin and then its argument prototype would still apply. */
15685 #ifdef __cplusplus
15686 extern "C"
15687 #endif
15688 char poll ();
15690 main ()
15692 return poll ();
15694 return 0;
15696 _ACEOF
15697 if ac_fn_c_try_link "$LINENO"; then :
15698 ac_cv_lib_poll_poll=yes
15699 else
15700 ac_cv_lib_poll_poll=no
15702 rm -f core conftest.err conftest.$ac_objext \
15703 conftest$ac_exeext conftest.$ac_ext
15704 LIBS=$ac_check_lib_save_LIBS
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15707 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15708 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15709 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15710 POLL_LIBS="-lpoll"
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15717 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15718 if ${ac_cv_search_gethostbyname+:} false; then :
15719 $as_echo_n "(cached) " >&6
15720 else
15721 ac_func_search_save_LIBS=$LIBS
15722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15723 /* end confdefs.h. */
15725 /* Override any GCC internal prototype to avoid an error.
15726 Use char because int might match the return type of a GCC
15727 builtin and then its argument prototype would still apply. */
15728 #ifdef __cplusplus
15729 extern "C"
15730 #endif
15731 char gethostbyname ();
15733 main ()
15735 return gethostbyname ();
15737 return 0;
15739 _ACEOF
15740 for ac_lib in '' nsl; do
15741 if test -z "$ac_lib"; then
15742 ac_res="none required"
15743 else
15744 ac_res=-l$ac_lib
15745 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15747 if ac_fn_c_try_link "$LINENO"; then :
15748 ac_cv_search_gethostbyname=$ac_res
15750 rm -f core conftest.err conftest.$ac_objext \
15751 conftest$ac_exeext
15752 if ${ac_cv_search_gethostbyname+:} false; then :
15753 break
15755 done
15756 if ${ac_cv_search_gethostbyname+:} false; then :
15758 else
15759 ac_cv_search_gethostbyname=no
15761 rm conftest.$ac_ext
15762 LIBS=$ac_func_search_save_LIBS
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15765 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15766 ac_res=$ac_cv_search_gethostbyname
15767 if test "$ac_res" != no; then :
15768 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15774 $as_echo_n "checking for library containing connect... " >&6; }
15775 if ${ac_cv_search_connect+:} false; then :
15776 $as_echo_n "(cached) " >&6
15777 else
15778 ac_func_search_save_LIBS=$LIBS
15779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15780 /* end confdefs.h. */
15782 /* Override any GCC internal prototype to avoid an error.
15783 Use char because int might match the return type of a GCC
15784 builtin and then its argument prototype would still apply. */
15785 #ifdef __cplusplus
15786 extern "C"
15787 #endif
15788 char connect ();
15790 main ()
15792 return connect ();
15794 return 0;
15796 _ACEOF
15797 for ac_lib in '' socket; do
15798 if test -z "$ac_lib"; then
15799 ac_res="none required"
15800 else
15801 ac_res=-l$ac_lib
15802 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15804 if ac_fn_c_try_link "$LINENO"; then :
15805 ac_cv_search_connect=$ac_res
15807 rm -f core conftest.err conftest.$ac_objext \
15808 conftest$ac_exeext
15809 if ${ac_cv_search_connect+:} false; then :
15810 break
15812 done
15813 if ${ac_cv_search_connect+:} false; then :
15815 else
15816 ac_cv_search_connect=no
15818 rm conftest.$ac_ext
15819 LIBS=$ac_func_search_save_LIBS
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15822 $as_echo "$ac_cv_search_connect" >&6; }
15823 ac_res=$ac_cv_search_connect
15824 if test "$ac_res" != no; then :
15825 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15831 $as_echo_n "checking for library containing inet_aton... " >&6; }
15832 if ${ac_cv_search_inet_aton+:} false; then :
15833 $as_echo_n "(cached) " >&6
15834 else
15835 ac_func_search_save_LIBS=$LIBS
15836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15839 /* Override any GCC internal prototype to avoid an error.
15840 Use char because int might match the return type of a GCC
15841 builtin and then its argument prototype would still apply. */
15842 #ifdef __cplusplus
15843 extern "C"
15844 #endif
15845 char inet_aton ();
15847 main ()
15849 return inet_aton ();
15851 return 0;
15853 _ACEOF
15854 for ac_lib in '' resolv; do
15855 if test -z "$ac_lib"; then
15856 ac_res="none required"
15857 else
15858 ac_res=-l$ac_lib
15859 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15861 if ac_fn_c_try_link "$LINENO"; then :
15862 ac_cv_search_inet_aton=$ac_res
15864 rm -f core conftest.err conftest.$ac_objext \
15865 conftest$ac_exeext
15866 if ${ac_cv_search_inet_aton+:} false; then :
15867 break
15869 done
15870 if ${ac_cv_search_inet_aton+:} false; then :
15872 else
15873 ac_cv_search_inet_aton=no
15875 rm conftest.$ac_ext
15876 LIBS=$ac_func_search_save_LIBS
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15879 $as_echo "$ac_cv_search_inet_aton" >&6; }
15880 ac_res=$ac_cv_search_inet_aton
15881 if test "$ac_res" != no; then :
15882 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15887 for ac_func in \
15888 getaddrinfo \
15889 getnameinfo \
15890 getnetbyname \
15891 getprotobyname \
15892 getprotobynumber \
15893 getservbyport \
15894 inet_addr \
15895 inet_network \
15896 inet_ntop \
15897 inet_pton \
15898 sendmsg \
15899 socketpair \
15901 do :
15902 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15903 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15904 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15905 cat >>confdefs.h <<_ACEOF
15906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15907 _ACEOF
15910 done
15913 ac_save_LIBS=$LIBS
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15915 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15916 if ${ac_cv_search_clock_gettime+:} false; then :
15917 $as_echo_n "(cached) " >&6
15918 else
15919 ac_func_search_save_LIBS=$LIBS
15920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15921 /* end confdefs.h. */
15923 /* Override any GCC internal prototype to avoid an error.
15924 Use char because int might match the return type of a GCC
15925 builtin and then its argument prototype would still apply. */
15926 #ifdef __cplusplus
15927 extern "C"
15928 #endif
15929 char clock_gettime ();
15931 main ()
15933 return clock_gettime ();
15935 return 0;
15937 _ACEOF
15938 for ac_lib in '' rt; do
15939 if test -z "$ac_lib"; then
15940 ac_res="none required"
15941 else
15942 ac_res=-l$ac_lib
15943 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15945 if ac_fn_c_try_link "$LINENO"; then :
15946 ac_cv_search_clock_gettime=$ac_res
15948 rm -f core conftest.err conftest.$ac_objext \
15949 conftest$ac_exeext
15950 if ${ac_cv_search_clock_gettime+:} false; then :
15951 break
15953 done
15954 if ${ac_cv_search_clock_gettime+:} false; then :
15956 else
15957 ac_cv_search_clock_gettime=no
15959 rm conftest.$ac_ext
15960 LIBS=$ac_func_search_save_LIBS
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15963 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15964 ac_res=$ac_cv_search_clock_gettime
15965 if test "$ac_res" != no; then :
15966 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15968 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15970 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15974 LIBS=$ac_save_LIBS
15976 if test "x$with_ldap" != "xno"
15977 then
15978 if ${LDAP_CFLAGS:+false} :; then :
15979 if ${PKG_CONFIG+:} false; then :
15980 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15984 if ${LDAP_LIBS:+false} :; then :
15985 if ${PKG_CONFIG+:} false; then :
15986 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
15990 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
15991 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15992 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15993 ac_save_CPPFLAGS=$CPPFLAGS
15994 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
15995 for ac_header in ldap.h lber.h
15996 do :
15997 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15998 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15999 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16000 cat >>confdefs.h <<_ACEOF
16001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16002 _ACEOF
16006 done
16008 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16009 then
16010 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16012 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16014 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16015 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16016 $as_echo_n "(cached) " >&6
16017 else
16018 ac_check_lib_save_LIBS=$LIBS
16019 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16021 /* end confdefs.h. */
16023 /* Override any GCC internal prototype to avoid an error.
16024 Use char because int might match the return type of a GCC
16025 builtin and then its argument prototype would still apply. */
16026 #ifdef __cplusplus
16027 extern "C"
16028 #endif
16029 char ldap_initialize ();
16031 main ()
16033 return ldap_initialize ();
16035 return 0;
16037 _ACEOF
16038 if ac_fn_c_try_link "$LINENO"; then :
16039 ac_cv_lib_ldap_r_ldap_initialize=yes
16040 else
16041 ac_cv_lib_ldap_r_ldap_initialize=no
16043 rm -f core conftest.err conftest.$ac_objext \
16044 conftest$ac_exeext conftest.$ac_ext
16045 LIBS=$ac_check_lib_save_LIBS
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16048 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16049 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16051 $as_echo_n "checking for ber_init in -llber... " >&6; }
16052 if ${ac_cv_lib_lber_ber_init+:} false; then :
16053 $as_echo_n "(cached) " >&6
16054 else
16055 ac_check_lib_save_LIBS=$LIBS
16056 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16058 /* end confdefs.h. */
16060 /* Override any GCC internal prototype to avoid an error.
16061 Use char because int might match the return type of a GCC
16062 builtin and then its argument prototype would still apply. */
16063 #ifdef __cplusplus
16064 extern "C"
16065 #endif
16066 char ber_init ();
16068 main ()
16070 return ber_init ();
16072 return 0;
16074 _ACEOF
16075 if ac_fn_c_try_link "$LINENO"; then :
16076 ac_cv_lib_lber_ber_init=yes
16077 else
16078 ac_cv_lib_lber_ber_init=no
16080 rm -f core conftest.err conftest.$ac_objext \
16081 conftest$ac_exeext conftest.$ac_ext
16082 LIBS=$ac_check_lib_save_LIBS
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16085 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16086 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16088 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16090 else
16091 LDAP_LIBS=""
16094 else
16095 LDAP_LIBS=""
16098 else
16099 LDAP_LIBS=""
16102 ac_wine_check_funcs_save_LIBS="$LIBS"
16103 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16104 for ac_func in \
16105 ldap_count_references \
16106 ldap_first_reference \
16107 ldap_next_reference \
16108 ldap_parse_reference \
16109 ldap_parse_sort_control \
16110 ldap_parse_sortresponse_control \
16111 ldap_parse_vlv_control \
16112 ldap_parse_vlvresponse_control
16113 do :
16114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16115 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16116 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16117 cat >>confdefs.h <<_ACEOF
16118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16119 _ACEOF
16122 done
16124 LIBS="$ac_wine_check_funcs_save_LIBS"
16125 else
16126 LDAP_LIBS=""
16128 CPPFLAGS=$ac_save_CPPFLAGS
16129 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16130 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16133 if test "x$LDAP_LIBS" = "x"; then :
16134 case "x$with_ldap" in
16135 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16136 xno) ;;
16137 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16138 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16139 esac
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16144 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16145 if ${wine_cv_one_arg_mkdir+:} false; then :
16146 $as_echo_n "(cached) " >&6
16147 else
16148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16149 /* end confdefs.h. */
16150 #include <sys/stat.h>
16152 main ()
16154 mkdir("foo");
16156 return 0;
16158 _ACEOF
16159 if ac_fn_c_try_compile "$LINENO"; then :
16160 wine_cv_one_arg_mkdir=yes
16161 else
16162 wine_cv_one_arg_mkdir=no
16164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16167 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16168 if test "$wine_cv_one_arg_mkdir" = "yes"
16169 then
16171 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16176 $as_echo_n "checking for sched_setaffinity... " >&6; }
16177 if ${wine_cv_have_sched_setaffinity+:} false; then :
16178 $as_echo_n "(cached) " >&6
16179 else
16180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16181 /* end confdefs.h. */
16182 #define _GNU_SOURCE
16183 #include <sched.h>
16185 main ()
16187 sched_setaffinity(0, 0, 0);
16189 return 0;
16191 _ACEOF
16192 if ac_fn_c_try_link "$LINENO"; then :
16193 wine_cv_have_sched_setaffinity=yes
16194 else
16195 wine_cv_have_sched_setaffinity=no
16197 rm -f core conftest.err conftest.$ac_objext \
16198 conftest$ac_exeext conftest.$ac_ext
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16201 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16202 if test "$wine_cv_have_sched_setaffinity" = "yes"
16203 then
16205 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16210 $as_echo_n "checking for fallocate... " >&6; }
16211 if ${wine_cv_have_fallocate+:} false; then :
16212 $as_echo_n "(cached) " >&6
16213 else
16214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16215 /* end confdefs.h. */
16216 #define _GNU_SOURCE
16217 #include <fcntl.h>
16219 main ()
16221 fallocate(-1, 0, 0, 0);
16223 return 0;
16225 _ACEOF
16226 if ac_fn_c_try_link "$LINENO"; then :
16227 wine_cv_have_fallocate=yes
16228 else
16229 wine_cv_have_fallocate=no
16231 rm -f core conftest.err conftest.$ac_objext \
16232 conftest$ac_exeext conftest.$ac_ext
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16235 $as_echo "$wine_cv_have_fallocate" >&6; }
16236 if test "$wine_cv_have_fallocate" = "yes"
16237 then
16239 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16245 $as_echo_n "checking for inline... " >&6; }
16246 if ${ac_cv_c_inline+:} false; then :
16247 $as_echo_n "(cached) " >&6
16248 else
16249 ac_cv_c_inline=no
16250 for ac_kw in inline __inline__ __inline; do
16251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16252 /* end confdefs.h. */
16253 #ifndef __cplusplus
16254 typedef int foo_t;
16255 static $ac_kw foo_t static_foo () {return 0; }
16256 $ac_kw foo_t foo () {return 0; }
16257 #endif
16259 _ACEOF
16260 if ac_fn_c_try_compile "$LINENO"; then :
16261 ac_cv_c_inline=$ac_kw
16263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16264 test "$ac_cv_c_inline" != no && break
16265 done
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16269 $as_echo "$ac_cv_c_inline" >&6; }
16271 case $ac_cv_c_inline in
16272 inline | yes) ;;
16274 case $ac_cv_c_inline in
16275 no) ac_val=;;
16276 *) ac_val=$ac_cv_c_inline;;
16277 esac
16278 cat >>confdefs.h <<_ACEOF
16279 #ifndef __cplusplus
16280 #define inline $ac_val
16281 #endif
16282 _ACEOF
16284 esac
16286 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16287 if test "x$ac_cv_type_mode_t" = xyes; then :
16289 cat >>confdefs.h <<_ACEOF
16290 #define HAVE_MODE_T 1
16291 _ACEOF
16295 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16296 if test "x$ac_cv_type_off_t" = xyes; then :
16298 cat >>confdefs.h <<_ACEOF
16299 #define HAVE_OFF_T 1
16300 _ACEOF
16304 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16305 if test "x$ac_cv_type_pid_t" = xyes; then :
16307 cat >>confdefs.h <<_ACEOF
16308 #define HAVE_PID_T 1
16309 _ACEOF
16313 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16314 if test "x$ac_cv_type_size_t" = xyes; then :
16316 cat >>confdefs.h <<_ACEOF
16317 #define HAVE_SIZE_T 1
16318 _ACEOF
16322 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16323 if test "x$ac_cv_type_ssize_t" = xyes; then :
16325 cat >>confdefs.h <<_ACEOF
16326 #define HAVE_SSIZE_T 1
16327 _ACEOF
16331 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16332 if test "x$ac_cv_type_long_long" = xyes; then :
16334 cat >>confdefs.h <<_ACEOF
16335 #define HAVE_LONG_LONG 1
16336 _ACEOF
16340 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16341 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16343 cat >>confdefs.h <<_ACEOF
16344 #define HAVE_FSBLKCNT_T 1
16345 _ACEOF
16349 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16350 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16352 cat >>confdefs.h <<_ACEOF
16353 #define HAVE_FSFILCNT_T 1
16354 _ACEOF
16359 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16360 #include <signal.h>
16362 if test "x$ac_cv_type_sigset_t" = xyes; then :
16364 cat >>confdefs.h <<_ACEOF
16365 #define HAVE_SIGSET_T 1
16366 _ACEOF
16371 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16373 if test "x$ac_cv_type_request_sense" = xyes; then :
16375 cat >>confdefs.h <<_ACEOF
16376 #define HAVE_REQUEST_SENSE 1
16377 _ACEOF
16383 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16384 #ifdef HAVE_SYS_SOCKET_H
16385 #include <sys/socket.h>
16386 #endif
16387 #ifdef HAVE_SYS_SOCKETVAR_H
16388 #include <sys/socketvar.h>
16389 #endif
16390 #ifdef HAVE_NET_ROUTE_H
16391 #include <net/route.h>
16392 #endif
16393 #ifdef HAVE_NETINET_IN_H
16394 #include <netinet/in.h>
16395 #endif
16396 #ifdef HAVE_NETINET_IN_SYSTM_H
16397 #include <netinet/in_systm.h>
16398 #endif
16399 #ifdef HAVE_NETINET_IP_H
16400 #include <netinet/ip.h>
16401 #endif
16402 #ifdef HAVE_NETINET_IN_PCB_H
16403 #include <netinet/in_pcb.h>
16404 #endif
16406 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16408 cat >>confdefs.h <<_ACEOF
16409 #define HAVE_STRUCT_XINPGEN 1
16410 _ACEOF
16416 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16417 #include <link.h>
16418 #endif
16419 #ifdef HAVE_SYS_LINK_H
16420 #include <sys/link.h>
16421 #endif
16423 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16425 cat >>confdefs.h <<_ACEOF
16426 #define HAVE_STRUCT_R_DEBUG 1
16427 _ACEOF
16431 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16432 #include <link.h>
16433 #endif
16434 #ifdef HAVE_SYS_LINK_H
16435 #include <sys/link.h>
16436 #endif
16438 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16440 cat >>confdefs.h <<_ACEOF
16441 #define HAVE_STRUCT_LINK_MAP 1
16442 _ACEOF
16448 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16449 #include <linux/input.h>
16450 #endif
16452 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16454 cat >>confdefs.h <<_ACEOF
16455 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16456 _ACEOF
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16463 $as_echo_n "checking for if_nameindex... " >&6; }
16464 if ${wine_cv_have_if_nameindex+:} false; then :
16465 $as_echo_n "(cached) " >&6
16466 else
16467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16468 /* end confdefs.h. */
16469 #ifdef HAVE_SYS_TYPES_H
16470 #include <sys/types.h>
16471 #endif
16472 #ifdef HAVE_SYS_SOCKET_H
16473 #include <sys/socket.h>
16474 #endif
16475 #ifdef HAVE_NET_IF_H
16476 # include <net/if.h>
16477 #endif
16479 main ()
16481 struct if_nameindex *p = if_nameindex(); return p->if_index;
16483 return 0;
16485 _ACEOF
16486 if ac_fn_c_try_link "$LINENO"; then :
16487 wine_cv_have_if_nameindex=yes
16488 else
16489 wine_cv_have_if_nameindex=no
16491 rm -f core conftest.err conftest.$ac_objext \
16492 conftest$ac_exeext conftest.$ac_ext
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16495 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16496 if test "$wine_cv_have_if_nameindex" = "yes"
16497 then
16499 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16504 $as_echo_n "checking for sigaddset... " >&6; }
16505 if ${wine_cv_have_sigaddset+:} false; then :
16506 $as_echo_n "(cached) " >&6
16507 else
16508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16509 /* end confdefs.h. */
16510 #include <signal.h>
16512 main ()
16514 sigset_t set; sigaddset(&set,SIGTERM);
16516 return 0;
16518 _ACEOF
16519 if ac_fn_c_try_link "$LINENO"; then :
16520 wine_cv_have_sigaddset=yes
16521 else
16522 wine_cv_have_sigaddset=no
16524 rm -f core conftest.err conftest.$ac_objext \
16525 conftest$ac_exeext conftest.$ac_ext
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16528 $as_echo "$wine_cv_have_sigaddset" >&6; }
16529 if test "$wine_cv_have_sigaddset" = "yes"
16530 then
16532 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16538 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16539 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16540 $as_echo_n "(cached) " >&6
16541 else
16542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16543 /* end confdefs.h. */
16544 #include <netdb.h>
16546 main ()
16549 char *name=0;
16550 struct hostent he;
16551 struct hostent *result;
16552 char *buf=0;
16553 int bufsize=0;
16554 int errnr;
16555 char *addr=0;
16556 int addrlen=0;
16557 int addrtype=0;
16558 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16559 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16562 return 0;
16564 _ACEOF
16565 if ac_fn_c_try_link "$LINENO"; then :
16566 wine_cv_linux_gethostbyname_r_6=yes
16567 else
16568 wine_cv_linux_gethostbyname_r_6=no
16571 rm -f core conftest.err conftest.$ac_objext \
16572 conftest$ac_exeext conftest.$ac_ext
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16576 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16577 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16578 then
16580 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16584 if test "$ac_cv_header_linux_joystick_h" = "yes"
16585 then
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16587 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16588 if ${wine_cv_linux_joystick_22_api+:} false; then :
16589 $as_echo_n "(cached) " >&6
16590 else
16591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16594 #include <sys/ioctl.h>
16595 #include <sys/types.h>
16596 #include <linux/joystick.h>
16598 struct js_event blub;
16599 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16600 #error "no 2.2 header"
16601 #endif
16604 main ()
16606 /*empty*/
16608 return 0;
16610 _ACEOF
16611 if ac_fn_c_try_compile "$LINENO"; then :
16612 wine_cv_linux_joystick_22_api=yes
16613 else
16614 wine_cv_linux_joystick_22_api=no
16616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16620 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16621 if test "$wine_cv_linux_joystick_22_api" = "yes"
16622 then
16624 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16630 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16631 #ifdef HAVE_SYS_PARAM_H
16632 # include <sys/param.h>
16633 #endif
16634 #ifdef HAVE_SYS_MOUNT_H
16635 # include <sys/mount.h>
16636 #endif
16637 #ifdef HAVE_SYS_VFS_H
16638 # include <sys/vfs.h>
16639 #endif
16640 #ifdef HAVE_SYS_STATFS_H
16641 # include <sys/statfs.h>
16642 #endif
16644 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16646 cat >>confdefs.h <<_ACEOF
16647 #define HAVE_STRUCT_STATFS_F_BFREE 1
16648 _ACEOF
16652 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16653 #ifdef HAVE_SYS_PARAM_H
16654 # include <sys/param.h>
16655 #endif
16656 #ifdef HAVE_SYS_MOUNT_H
16657 # include <sys/mount.h>
16658 #endif
16659 #ifdef HAVE_SYS_VFS_H
16660 # include <sys/vfs.h>
16661 #endif
16662 #ifdef HAVE_SYS_STATFS_H
16663 # include <sys/statfs.h>
16664 #endif
16666 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16668 cat >>confdefs.h <<_ACEOF
16669 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16670 _ACEOF
16674 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16675 #ifdef HAVE_SYS_PARAM_H
16676 # include <sys/param.h>
16677 #endif
16678 #ifdef HAVE_SYS_MOUNT_H
16679 # include <sys/mount.h>
16680 #endif
16681 #ifdef HAVE_SYS_VFS_H
16682 # include <sys/vfs.h>
16683 #endif
16684 #ifdef HAVE_SYS_STATFS_H
16685 # include <sys/statfs.h>
16686 #endif
16688 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16690 cat >>confdefs.h <<_ACEOF
16691 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16692 _ACEOF
16696 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16697 #ifdef HAVE_SYS_PARAM_H
16698 # include <sys/param.h>
16699 #endif
16700 #ifdef HAVE_SYS_MOUNT_H
16701 # include <sys/mount.h>
16702 #endif
16703 #ifdef HAVE_SYS_VFS_H
16704 # include <sys/vfs.h>
16705 #endif
16706 #ifdef HAVE_SYS_STATFS_H
16707 # include <sys/statfs.h>
16708 #endif
16710 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16712 cat >>confdefs.h <<_ACEOF
16713 #define HAVE_STRUCT_STATFS_F_FFREE 1
16714 _ACEOF
16718 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16719 #ifdef HAVE_SYS_PARAM_H
16720 # include <sys/param.h>
16721 #endif
16722 #ifdef HAVE_SYS_MOUNT_H
16723 # include <sys/mount.h>
16724 #endif
16725 #ifdef HAVE_SYS_VFS_H
16726 # include <sys/vfs.h>
16727 #endif
16728 #ifdef HAVE_SYS_STATFS_H
16729 # include <sys/statfs.h>
16730 #endif
16732 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16734 cat >>confdefs.h <<_ACEOF
16735 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16736 _ACEOF
16740 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16741 #ifdef HAVE_SYS_PARAM_H
16742 # include <sys/param.h>
16743 #endif
16744 #ifdef HAVE_SYS_MOUNT_H
16745 # include <sys/mount.h>
16746 #endif
16747 #ifdef HAVE_SYS_VFS_H
16748 # include <sys/vfs.h>
16749 #endif
16750 #ifdef HAVE_SYS_STATFS_H
16751 # include <sys/statfs.h>
16752 #endif
16754 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16756 cat >>confdefs.h <<_ACEOF
16757 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16758 _ACEOF
16764 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16765 #include <sys/statvfs.h>
16766 #endif
16768 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16770 cat >>confdefs.h <<_ACEOF
16771 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16772 _ACEOF
16778 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16779 #include <dirent.h>
16780 #endif
16782 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16784 cat >>confdefs.h <<_ACEOF
16785 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16786 _ACEOF
16792 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#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_msghdr_msg_accrights" = xyes; then :
16802 cat >>confdefs.h <<_ACEOF
16803 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16804 _ACEOF
16808 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_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_sa_len" = xyes; then :
16818 cat >>confdefs.h <<_ACEOF
16819 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16820 _ACEOF
16824 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16825 #ifdef HAVE_SYS_SOCKET_H
16826 # include <sys/socket.h>
16827 #endif
16828 #ifdef HAVE_SYS_UN_H
16829 # include <sys/un.h>
16830 #endif
16832 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16834 cat >>confdefs.h <<_ACEOF
16835 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16836 _ACEOF
16842 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16843 #ifdef HAVE_SCSI_SG_H
16844 #include <scsi/sg.h>
16845 #endif
16847 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16849 cat >>confdefs.h <<_ACEOF
16850 #define HAVE_SCSIREQ_T_CMD 1
16851 _ACEOF
16855 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>
16856 #ifdef HAVE_SCSI_SG_H
16857 #include <scsi/sg.h>
16858 #endif
16860 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16862 cat >>confdefs.h <<_ACEOF
16863 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16864 _ACEOF
16870 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16872 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16874 cat >>confdefs.h <<_ACEOF
16875 #define HAVE_SIGINFO_T_SI_FD 1
16876 _ACEOF
16882 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16883 #ifdef HAVE_SYS_MTIO_H
16884 #include <sys/mtio.h>
16885 #endif
16887 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16889 cat >>confdefs.h <<_ACEOF
16890 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16891 _ACEOF
16895 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16896 #ifdef HAVE_SYS_MTIO_H
16897 #include <sys/mtio.h>
16898 #endif
16900 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16902 cat >>confdefs.h <<_ACEOF
16903 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16904 _ACEOF
16908 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16909 #ifdef HAVE_SYS_MTIO_H
16910 #include <sys/mtio.h>
16911 #endif
16913 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16915 cat >>confdefs.h <<_ACEOF
16916 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16917 _ACEOF
16923 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16924 #include <getopt.h>
16925 #endif
16927 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16929 cat >>confdefs.h <<_ACEOF
16930 #define HAVE_STRUCT_OPTION_NAME 1
16931 _ACEOF
16937 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16938 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16940 cat >>confdefs.h <<_ACEOF
16941 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16942 _ACEOF
16946 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16947 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16949 cat >>confdefs.h <<_ACEOF
16950 #define HAVE_STRUCT_STAT_ST_MTIM 1
16951 _ACEOF
16955 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16956 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16958 cat >>confdefs.h <<_ACEOF
16959 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16960 _ACEOF
16964 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16965 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16967 cat >>confdefs.h <<_ACEOF
16968 #define HAVE_STRUCT_STAT_ST_CTIM 1
16969 _ACEOF
16973 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16974 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16976 cat >>confdefs.h <<_ACEOF
16977 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16978 _ACEOF
16982 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16983 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16985 cat >>confdefs.h <<_ACEOF
16986 #define HAVE_STRUCT_STAT_ST_ATIM 1
16987 _ACEOF
16991 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16992 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16994 cat >>confdefs.h <<_ACEOF
16995 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16996 _ACEOF
17000 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17001 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17003 cat >>confdefs.h <<_ACEOF
17004 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17005 _ACEOF
17009 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17010 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17012 cat >>confdefs.h <<_ACEOF
17013 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17014 _ACEOF
17018 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17019 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17021 cat >>confdefs.h <<_ACEOF
17022 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17023 _ACEOF
17027 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17028 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17030 cat >>confdefs.h <<_ACEOF
17031 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17032 _ACEOF
17036 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17037 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17039 cat >>confdefs.h <<_ACEOF
17040 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17041 _ACEOF
17047 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
17048 #include <sys/types.h>
17049 #endif
17050 #ifdef HAVE_NETINET_IN_H
17051 #include <netinet/in.h>
17052 #endif
17054 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17056 cat >>confdefs.h <<_ACEOF
17057 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17058 _ACEOF
17064 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17065 #include <sys/types.h>
17066 #endif
17067 #ifdef HAVE_NETINET_IN_H
17068 #include <netinet/in.h>
17069 #endif
17070 #ifdef HAVE_RESOLV_H
17071 #include <resolv.h>
17072 #endif
17074 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17076 cat >>confdefs.h <<_ACEOF
17077 #define HAVE_STRUCT___RES_STATE 1
17078 _ACEOF
17084 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
17085 #include <resolv.h>
17086 #endif
17088 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17090 cat >>confdefs.h <<_ACEOF
17091 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17092 _ACEOF
17098 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17099 #include <sys/types.h>
17100 #endif
17101 #ifdef HAVE_NETINET_IN_H
17102 # include <netinet/in.h>
17103 #endif
17104 #ifdef HAVE_ARPA_NAMESER_H
17105 # include <arpa/nameser.h>
17106 #endif
17108 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17110 cat >>confdefs.h <<_ACEOF
17111 #define HAVE_NS_MSG__MSG_PTR 1
17112 _ACEOF
17118 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17119 #include <sys/types.h>
17120 #endif
17121 #ifdef HAVE_NETINET_IN_H
17122 #include <netinet/in.h>
17123 #endif
17124 #ifdef HAVE_NETINET_IP_H
17125 #include <netinet/ip.h>
17126 #endif
17127 #ifdef HAVE_NETINET_IP_ICMP_H
17128 #include <netinet/ip_icmp.h>
17129 #endif
17130 #ifdef HAVE_NETINET_ICMP_VAR_H
17131 #include <netinet/icmp_var.h>
17132 #endif
17134 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17136 cat >>confdefs.h <<_ACEOF
17137 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17138 _ACEOF
17144 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17145 #include <sys/types.h>
17146 #endif
17147 #ifdef HAVE_ALIAS_H
17148 #include <alias.h>
17149 #endif
17150 #ifdef HAVE_SYS_SOCKET_H
17151 #include <sys/socket.h>
17152 #endif
17153 #ifdef HAVE_SYS_SOCKETVAR_H
17154 #include <sys/socketvar.h>
17155 #endif
17156 #ifdef HAVE_SYS_TIMEOUT_H
17157 #include <sys/timeout.h>
17158 #endif
17159 #ifdef HAVE_NETINET_IN_H
17160 #include <netinet/in.h>
17161 #endif
17162 #ifdef HAVE_NETINET_IN_SYSTM_H
17163 #include <netinet/in_systm.h>
17164 #endif
17165 #ifdef HAVE_NETINET_IP_H
17166 #include <netinet/ip.h>
17167 #endif
17168 #ifdef HAVE_NETINET_IP_VAR_H
17169 #include <netinet/ip_var.h>
17170 #endif
17171 #ifdef HAVE_NETINET_IP_ICMP_H
17172 #include <netinet/ip_icmp.h>
17173 #endif
17174 #ifdef HAVE_NETINET_ICMP_VAR_H
17175 #include <netinet/icmp_var.h>
17176 #endif
17178 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17180 cat >>confdefs.h <<_ACEOF
17181 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17182 _ACEOF
17188 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17189 #include <sys/types.h>
17190 #endif
17191 #ifdef HAVE_SYS_SOCKETVAR_H
17192 #include <sys/socketvar.h>
17193 #endif
17194 #ifdef HAVE_NETINET_IN_H
17195 #include <netinet/in.h>
17196 #endif
17197 #ifdef HAVE_NETINET_IP_VAR_H
17198 #include <netinet/ip_var.h>
17199 #endif
17201 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17203 cat >>confdefs.h <<_ACEOF
17204 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17205 _ACEOF
17211 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
17212 #include <netinet/ip_var.h>
17213 #endif
17215 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17217 cat >>confdefs.h <<_ACEOF
17218 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17219 _ACEOF
17225 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17226 #include <sys/types.h>
17227 #endif
17228 #ifdef HAVE_SYS_SOCKETVAR_H
17229 #include <sys/socketvar.h>
17230 #endif
17231 #ifdef HAVE_NETINET_IN_H
17232 #include <netinet/in.h>
17233 #endif
17234 #ifdef HAVE_NETINET_TCP_H
17235 #include <netinet/tcp.h>
17236 #endif
17237 #ifdef HAVE_NETINET_TCP_VAR_H
17238 #include <netinet/tcp_var.h>
17239 #endif
17241 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17243 cat >>confdefs.h <<_ACEOF
17244 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17245 _ACEOF
17251 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
17252 #include <netinet/tcp_var.h>
17253 #endif
17255 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17257 cat >>confdefs.h <<_ACEOF
17258 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17259 _ACEOF
17265 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17266 #include <sys/types.h>
17267 #endif
17268 #ifdef HAVE_NETINET_IN_H
17269 #include <netinet/in.h>
17270 #endif
17271 #ifdef HAVE_NETINET_IP_VAR_H
17272 #include <netinet/ip_var.h>
17273 #endif
17274 #ifdef HAVE_NETINET_UDP_H
17275 #include <netinet/udp.h>
17276 #endif
17277 #ifdef HAVE_NETINET_UDP_VAR_H
17278 #include <netinet/udp_var.h>
17279 #endif
17281 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17283 cat >>confdefs.h <<_ACEOF
17284 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17285 _ACEOF
17291 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17292 #include <sys/types.h>
17293 #endif
17294 #ifdef HAVE_NET_IF_H
17295 # include <net/if.h>
17296 #endif
17298 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17300 cat >>confdefs.h <<_ACEOF
17301 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17302 _ACEOF
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17309 $as_echo_n "checking for timezone variable... " >&6; }
17310 if ${ac_cv_have_timezone+:} false; then :
17311 $as_echo_n "(cached) " >&6
17312 else
17313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17315 #include <time.h>
17317 main ()
17319 timezone = 1
17321 return 0;
17323 _ACEOF
17324 if ac_fn_c_try_link "$LINENO"; then :
17325 ac_cv_have_timezone="yes"
17326 else
17327 ac_cv_have_timezone="no"
17329 rm -f core conftest.err conftest.$ac_objext \
17330 conftest$ac_exeext conftest.$ac_ext
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17333 $as_echo "$ac_cv_have_timezone" >&6; }
17334 if test "$ac_cv_have_timezone" = "yes"
17335 then
17337 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17341 $as_echo_n "checking for daylight variable... " >&6; }
17342 if ${ac_cv_have_daylight+:} false; then :
17343 $as_echo_n "(cached) " >&6
17344 else
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347 #include <time.h>
17349 main ()
17351 daylight = 1
17353 return 0;
17355 _ACEOF
17356 if ac_fn_c_try_link "$LINENO"; then :
17357 ac_cv_have_daylight="yes"
17358 else
17359 ac_cv_have_daylight="no"
17361 rm -f core conftest.err conftest.$ac_objext \
17362 conftest$ac_exeext conftest.$ac_ext
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17365 $as_echo "$ac_cv_have_daylight" >&6; }
17366 if test "$ac_cv_have_daylight" = "yes"
17367 then
17369 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17373 ac_save_LIBS="$LIBS"
17374 LIBS="$LIBS -lm"
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17376 $as_echo_n "checking for isfinite... " >&6; }
17377 if ${ac_cv_have_isfinite+:} false; then :
17378 $as_echo_n "(cached) " >&6
17379 else
17380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17382 #define _GNU_SOURCE
17383 #include <math.h>
17385 main ()
17387 float f = 0.0; return isfinite(f)
17389 return 0;
17391 _ACEOF
17392 if ac_fn_c_try_link "$LINENO"; then :
17393 ac_cv_have_isfinite="yes"
17394 else
17395 ac_cv_have_isfinite="no"
17397 rm -f core conftest.err conftest.$ac_objext \
17398 conftest$ac_exeext conftest.$ac_ext
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17401 $as_echo "$ac_cv_have_isfinite" >&6; }
17402 if test "$ac_cv_have_isfinite" = "yes"
17403 then
17405 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17410 $as_echo_n "checking for isinf... " >&6; }
17411 if ${ac_cv_have_isinf+:} false; then :
17412 $as_echo_n "(cached) " >&6
17413 else
17414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17416 #include <math.h>
17418 main ()
17420 float f = 0.0; return isinf(f)
17422 return 0;
17424 _ACEOF
17425 if ac_fn_c_try_link "$LINENO"; then :
17426 ac_cv_have_isinf="yes"
17427 else
17428 ac_cv_have_isinf="no"
17430 rm -f core conftest.err conftest.$ac_objext \
17431 conftest$ac_exeext conftest.$ac_ext
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17434 $as_echo "$ac_cv_have_isinf" >&6; }
17435 if test "$ac_cv_have_isinf" = "yes"
17436 then
17438 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17443 $as_echo_n "checking for isnan... " >&6; }
17444 if ${ac_cv_have_isnan+:} false; then :
17445 $as_echo_n "(cached) " >&6
17446 else
17447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17448 /* end confdefs.h. */
17449 #include <math.h>
17451 main ()
17453 float f = 0.0; return isnan(f)
17455 return 0;
17457 _ACEOF
17458 if ac_fn_c_try_link "$LINENO"; then :
17459 ac_cv_have_isnan="yes"
17460 else
17461 ac_cv_have_isnan="no"
17463 rm -f core conftest.err conftest.$ac_objext \
17464 conftest$ac_exeext conftest.$ac_ext
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17467 $as_echo "$ac_cv_have_isnan" >&6; }
17468 if test "$ac_cv_have_isnan" = "yes"
17469 then
17471 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17475 for ac_func in \
17476 acosh \
17477 acoshf \
17478 asinh \
17479 asinhf \
17480 atanh \
17481 atanhf \
17482 cbrt \
17483 cbrtf \
17484 erf \
17485 erfc \
17486 erfcf \
17487 erff \
17488 exp2 \
17489 exp2f \
17490 expm1 \
17491 expm1f \
17492 lgamma \
17493 lgammaf \
17494 llrint \
17495 llrintf \
17496 llround \
17497 llroundf \
17498 log1p \
17499 log1pf \
17500 log2 \
17501 log2f \
17502 lrint \
17503 lrintf \
17504 lround \
17505 lroundf \
17506 nearbyint \
17507 nearbyintf \
17508 powl \
17509 remainder \
17510 remainderf \
17511 rint \
17512 rintf \
17513 round \
17514 roundf \
17515 trunc \
17516 truncf
17518 do :
17519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17521 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17522 cat >>confdefs.h <<_ACEOF
17523 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17524 _ACEOF
17527 done
17529 LIBS="$ac_save_LIBS"
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17532 $as_echo_n "checking for __builtin_clz... " >&6; }
17533 if ${ac_cv_have___builtin_clz+:} false; then :
17534 $as_echo_n "(cached) " >&6
17535 else
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17540 main ()
17542 return __builtin_clz(1)
17544 return 0;
17546 _ACEOF
17547 if ac_fn_c_try_link "$LINENO"; then :
17548 ac_cv_have___builtin_clz="yes"
17549 else
17550 ac_cv_have___builtin_clz="no"
17552 rm -f core conftest.err conftest.$ac_objext \
17553 conftest$ac_exeext conftest.$ac_ext
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17556 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17557 if test "$ac_cv_have___builtin_clz" = "yes"
17558 then
17560 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17565 $as_echo_n "checking for __builtin_popcount... " >&6; }
17566 if ${ac_cv_have___builtin_popcount+:} false; then :
17567 $as_echo_n "(cached) " >&6
17568 else
17569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570 /* end confdefs.h. */
17573 main ()
17575 return __builtin_popcount(1)
17577 return 0;
17579 _ACEOF
17580 if ac_fn_c_try_link "$LINENO"; then :
17581 ac_cv_have___builtin_popcount="yes"
17582 else
17583 ac_cv_have___builtin_popcount="no"
17585 rm -f core conftest.err conftest.$ac_objext \
17586 conftest$ac_exeext conftest.$ac_ext
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17589 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17590 if test "$ac_cv_have___builtin_popcount" = "yes"
17591 then
17593 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17598 case $host_cpu in
17599 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17600 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17601 if ${ac_cv_cpp_def___i386__+:} false; then :
17602 $as_echo_n "(cached) " >&6
17603 else
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17606 #ifndef __i386__
17608 #endif
17609 _ACEOF
17610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17611 $EGREP "yes" >/dev/null 2>&1; then :
17612 ac_cv_cpp_def___i386__=yes
17613 else
17614 ac_cv_cpp_def___i386__=no
17616 rm -f conftest*
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17620 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17621 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17622 CFLAGS="$CFLAGS -D__i386__"
17623 LINTFLAGS="$LINTFLAGS -D__i386__"
17624 fi ;;
17625 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17626 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17627 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17628 $as_echo_n "(cached) " >&6
17629 else
17630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17631 /* end confdefs.h. */
17632 #ifndef __x86_64__
17634 #endif
17635 _ACEOF
17636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17637 $EGREP "yes" >/dev/null 2>&1; then :
17638 ac_cv_cpp_def___x86_64__=yes
17639 else
17640 ac_cv_cpp_def___x86_64__=no
17642 rm -f conftest*
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17646 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17647 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17648 CFLAGS="$CFLAGS -D__x86_64__"
17649 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17650 fi ;;
17651 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17652 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17653 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17654 $as_echo_n "(cached) " >&6
17655 else
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658 #ifndef __sparc64__
17660 #endif
17661 _ACEOF
17662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17663 $EGREP "yes" >/dev/null 2>&1; then :
17664 ac_cv_cpp_def___sparc64__=yes
17665 else
17666 ac_cv_cpp_def___sparc64__=no
17668 rm -f conftest*
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17672 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17673 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17674 CFLAGS="$CFLAGS -D__sparc64__"
17675 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17676 fi ;;
17677 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17678 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17679 if ${ac_cv_cpp_def___sparc__+:} false; then :
17680 $as_echo_n "(cached) " >&6
17681 else
17682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17683 /* end confdefs.h. */
17684 #ifndef __sparc__
17686 #endif
17687 _ACEOF
17688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17689 $EGREP "yes" >/dev/null 2>&1; then :
17690 ac_cv_cpp_def___sparc__=yes
17691 else
17692 ac_cv_cpp_def___sparc__=no
17694 rm -f conftest*
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17698 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17699 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17700 CFLAGS="$CFLAGS -D__sparc__"
17701 LINTFLAGS="$LINTFLAGS -D__sparc__"
17702 fi ;;
17703 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17704 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17705 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17706 $as_echo_n "(cached) " >&6
17707 else
17708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17709 /* end confdefs.h. */
17710 #ifndef __powerpc64__
17712 #endif
17713 _ACEOF
17714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17715 $EGREP "yes" >/dev/null 2>&1; then :
17716 ac_cv_cpp_def___powerpc64__=yes
17717 else
17718 ac_cv_cpp_def___powerpc64__=no
17720 rm -f conftest*
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17724 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17725 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17726 CFLAGS="$CFLAGS -D__powerpc64__"
17727 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17728 fi ;;
17729 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17730 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17731 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17732 $as_echo_n "(cached) " >&6
17733 else
17734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17735 /* end confdefs.h. */
17736 #ifndef __powerpc__
17738 #endif
17739 _ACEOF
17740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17741 $EGREP "yes" >/dev/null 2>&1; then :
17742 ac_cv_cpp_def___powerpc__=yes
17743 else
17744 ac_cv_cpp_def___powerpc__=no
17746 rm -f conftest*
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17750 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17751 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17752 CFLAGS="$CFLAGS -D__powerpc__"
17753 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17754 fi ;;
17755 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17756 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17757 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17758 $as_echo_n "(cached) " >&6
17759 else
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17762 #ifndef __aarch64__
17764 #endif
17765 _ACEOF
17766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17767 $EGREP "yes" >/dev/null 2>&1; then :
17768 ac_cv_cpp_def___aarch64__=yes
17769 else
17770 ac_cv_cpp_def___aarch64__=no
17772 rm -f conftest*
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17776 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17777 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17778 CFLAGS="$CFLAGS -D__aarch64__"
17779 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17780 fi ;;
17781 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17782 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17783 if ${ac_cv_cpp_def___arm__+:} false; then :
17784 $as_echo_n "(cached) " >&6
17785 else
17786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h. */
17788 #ifndef __arm__
17790 #endif
17791 _ACEOF
17792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17793 $EGREP "yes" >/dev/null 2>&1; then :
17794 ac_cv_cpp_def___arm__=yes
17795 else
17796 ac_cv_cpp_def___arm__=no
17798 rm -f conftest*
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17802 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17803 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17804 CFLAGS="$CFLAGS -D__arm__"
17805 LINTFLAGS="$LINTFLAGS -D__arm__"
17806 fi ;;
17807 esac
17809 case $host_vendor in
17810 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17811 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17812 if ${ac_cv_cpp_def___sun__+:} false; then :
17813 $as_echo_n "(cached) " >&6
17814 else
17815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17816 /* end confdefs.h. */
17817 #ifndef __sun__
17819 #endif
17820 _ACEOF
17821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17822 $EGREP "yes" >/dev/null 2>&1; then :
17823 ac_cv_cpp_def___sun__=yes
17824 else
17825 ac_cv_cpp_def___sun__=no
17827 rm -f conftest*
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17831 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17832 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17833 CFLAGS="$CFLAGS -D__sun__"
17834 LINTFLAGS="$LINTFLAGS -D__sun__"
17835 fi ;;
17836 esac
17842 ac_config_commands="$ac_config_commands include/stamp-h"
17844 $as_echo_n "creating Makefile rules..." >&6
17846 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17847 SOCKET_LIBS = $SOCKET_LIBS
17848 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17849 IOKIT_LIBS = $IOKIT_LIBS
17850 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17851 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17852 CORESERVICES_LIBS = $CORESERVICES_LIBS
17853 APPKIT_LIBS = $APPKIT_LIBS
17854 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17855 SECURITY_LIBS = $SECURITY_LIBS
17856 COREAUDIO_LIBS = $COREAUDIO_LIBS
17857 OPENAL_LIBS = $OPENAL_LIBS
17858 OPENCL_LIBS = $OPENCL_LIBS
17859 QUICKTIME_LIBS = $QUICKTIME_LIBS
17860 CARBON_LIBS = $CARBON_LIBS
17861 PTHREAD_LIBS = $PTHREAD_LIBS
17862 X_CFLAGS = $X_CFLAGS
17863 X_PRE_LIBS = $X_PRE_LIBS
17864 X_LIBS = $X_LIBS
17865 X_EXTRA_LIBS = $X_EXTRA_LIBS
17866 PCAP_LIBS = $PCAP_LIBS
17867 XML2_CFLAGS = $XML2_CFLAGS
17868 XML2_LIBS = $XML2_LIBS
17869 XSLT_CFLAGS = $XSLT_CFLAGS
17870 XSLT_LIBS = $XSLT_LIBS
17871 DBUS_CFLAGS = $DBUS_CFLAGS
17872 DBUS_LIBS = $DBUS_LIBS
17873 HAL_CFLAGS = $HAL_CFLAGS
17874 HAL_LIBS = $HAL_LIBS
17875 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17876 GNUTLS_LIBS = $GNUTLS_LIBS
17877 SANE_CFLAGS = $SANE_CFLAGS
17878 SANE_LIBS = $SANE_LIBS
17879 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17880 GPHOTO2_LIBS = $GPHOTO2_LIBS
17881 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17882 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17883 RESOLV_LIBS = $RESOLV_LIBS
17884 LCMS2_CFLAGS = $LCMS2_CFLAGS
17885 LCMS2_LIBS = $LCMS2_LIBS
17886 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17887 FREETYPE_LIBS = $FREETYPE_LIBS
17888 Z_LIBS = $Z_LIBS
17889 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17890 PULSE_CFLAGS = $PULSE_CFLAGS
17891 PULSE_LIBS = $PULSE_LIBS
17892 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17893 GSTREAMER_LIBS = $GSTREAMER_LIBS
17894 ALSA_LIBS = $ALSA_LIBS
17895 OSS4_CFLAGS = $OSS4_CFLAGS
17896 UDEV_CFLAGS = $UDEV_CFLAGS
17897 UDEV_LIBS = $UDEV_LIBS
17898 CAPI20_CFLAGS = $CAPI20_CFLAGS
17899 CAPI20_LIBS = $CAPI20_LIBS
17900 CUPS_CFLAGS = $CUPS_CFLAGS
17901 CUPS_LIBS = $CUPS_LIBS
17902 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17903 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17904 JPEG_CFLAGS = $JPEG_CFLAGS
17905 JPEG_LIBS = $JPEG_LIBS
17906 PNG_CFLAGS = $PNG_CFLAGS
17907 PNG_LIBS = $PNG_LIBS
17908 TIFF_CFLAGS = $TIFF_CFLAGS
17909 TIFF_LIBS = $TIFF_LIBS
17910 MPG123_CFLAGS = $MPG123_CFLAGS
17911 MPG123_LIBS = $MPG123_LIBS
17912 KSTAT_LIBS = $KSTAT_LIBS
17913 PROCSTAT_LIBS = $PROCSTAT_LIBS
17914 NETAPI_CFLAGS = $NETAPI_CFLAGS
17915 NETAPI_LIBS = $NETAPI_LIBS
17916 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17917 DL_LIBS = $DL_LIBS
17918 POLL_LIBS = $POLL_LIBS
17919 RT_LIBS = $RT_LIBS
17920 LDAP_CFLAGS = $LDAP_CFLAGS
17921 LDAP_LIBS = $LDAP_LIBS
17926 wine_fn_append_rule "
17927 # Rules automatically generated by configure
17929 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17931 .INIT: Makefile
17932 .MAKEFILEDEPS:
17933 all: Makefile
17934 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17935 @./config.status Make.tmp Makefile
17936 depend: \$(MAKEDEP) dummy
17937 \$(MAKEDEP)"
17939 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17940 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17942 if test "x$enable_fonts" != xno; then
17943 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17944 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17945 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17946 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17947 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17948 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17950 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17951 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17952 ac_config_links="$ac_config_links wine:tools/winewrapper"
17953 wine_fn_config_symlink wine
17954 if test "x$enable_win64" != xno; then
17955 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17956 wine_fn_config_symlink wine64
17959 wine_fn_config_dll acledit enable_acledit
17960 wine_fn_config_dll aclui enable_aclui implib
17961 wine_fn_config_dll activeds enable_activeds implib
17962 wine_fn_config_dll actxprxy enable_actxprxy clean
17963 wine_fn_config_lib adsiid
17964 wine_fn_config_dll adsldpc enable_adsldpc
17965 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17966 wine_fn_config_test dlls/advapi32/tests advapi32_test
17967 wine_fn_config_dll advpack enable_advpack implib
17968 wine_fn_config_test dlls/advpack/tests advpack_test
17969 wine_fn_config_dll amstream enable_amstream clean
17970 wine_fn_config_test dlls/amstream/tests amstream_test
17971 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17972 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17973 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
17974 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17975 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17976 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17977 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17978 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17979 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17980 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17981 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17982 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17983 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17984 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17985 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17986 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17987 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17988 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17990 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17991 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17992 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17993 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17994 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17995 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
17996 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17997 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17998 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17999 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18000 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18001 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18002 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18003 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18004 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18005 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18006 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18007 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18008 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18009 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18010 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18011 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18012 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18013 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18014 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18015 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18016 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18017 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18018 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18019 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18020 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18021 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18022 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18023 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18024 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18025 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18026 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18027 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18028 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18029 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18030 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18031 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18032 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18033 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18034 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18035 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18036 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18037 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18038 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18039 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18040 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18041 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18042 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18043 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18044 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18045 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18046 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18047 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18048 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18049 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18050 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18051 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18052 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18053 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18054 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18055 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18056 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18057 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18058 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18059 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18060 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18061 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18062 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18063 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18064 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18065 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18066 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18067 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18068 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18069 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18070 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18071 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18072 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18073 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18074 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18075 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18076 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18077 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18078 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18079 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18080 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18081 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18082 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18083 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18084 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18085 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18086 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18087 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18088 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18089 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18090 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18091 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18092 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18093 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18094 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18095 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18096 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18097 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18098 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18099 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18100 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18101 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18102 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18103 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18104 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18105 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18106 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18107 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18108 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18109 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18110 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18111 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18112 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18113 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18114 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18115 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18116 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18117 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18118 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18119 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18120 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18121 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18122 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18123 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18124 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18125 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18126 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18127 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18128 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18129 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18130 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18131 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18132 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18133 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18134 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18135 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18136 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18137 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18138 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18139 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18140 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18141 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18142 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18143 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18144 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18145 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18146 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18147 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18148 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18149 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18150 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18151 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18152 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18153 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18154 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18155 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18156 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18157 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18158 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18159 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18160 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18161 wine_fn_config_dll apphelp enable_apphelp
18162 wine_fn_config_test dlls/apphelp/tests apphelp_test
18163 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18164 wine_fn_config_dll atl enable_atl clean,implib
18165 wine_fn_config_test dlls/atl/tests atl_test
18166 wine_fn_config_dll atl100 enable_atl100 clean,implib
18167 wine_fn_config_test dlls/atl100/tests atl100_test
18168 wine_fn_config_dll atl110 enable_atl110 clean
18169 wine_fn_config_dll atl80 enable_atl80 clean,implib
18170 wine_fn_config_test dlls/atl80/tests atl80_test
18171 wine_fn_config_dll atl90 enable_atl90 clean
18172 wine_fn_config_dll authz enable_authz
18173 wine_fn_config_dll avicap32 enable_avicap32 implib
18174 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18175 wine_fn_config_test dlls/avifil32/tests avifil32_test
18176 wine_fn_config_dll avifile.dll16 enable_win16
18177 wine_fn_config_dll avrt enable_avrt implib
18178 wine_fn_config_dll bcrypt enable_bcrypt implib
18179 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18180 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18181 wine_fn_config_dll browseui enable_browseui clean
18182 wine_fn_config_test dlls/browseui/tests browseui_test
18183 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18184 wine_fn_config_dll cabinet enable_cabinet implib
18185 wine_fn_config_test dlls/cabinet/tests cabinet_test
18186 wine_fn_config_dll capi2032 enable_capi2032 implib
18187 wine_fn_config_dll cards enable_cards implib
18188 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18189 wine_fn_config_dll clusapi enable_clusapi implib
18190 wine_fn_config_dll combase enable_combase
18191 wine_fn_config_test dlls/combase/tests combase_test
18192 wine_fn_config_dll comcat enable_comcat
18193 wine_fn_config_test dlls/comcat/tests comcat_test
18194 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18195 wine_fn_config_test dlls/comctl32/tests comctl32_test
18196 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18197 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18198 wine_fn_config_dll comm.drv16 enable_win16
18199 wine_fn_config_dll commdlg.dll16 enable_win16
18200 wine_fn_config_dll compobj.dll16 enable_win16
18201 wine_fn_config_dll compstui enable_compstui implib
18202 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18203 wine_fn_config_dll concrt140 enable_concrt140
18204 wine_fn_config_dll connect enable_connect
18205 wine_fn_config_dll credui enable_credui clean,implib
18206 wine_fn_config_test dlls/credui/tests credui_test
18207 wine_fn_config_dll crtdll enable_crtdll
18208 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18209 wine_fn_config_test dlls/crypt32/tests crypt32_test
18210 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18211 wine_fn_config_dll cryptdll enable_cryptdll implib
18212 wine_fn_config_dll cryptext enable_cryptext
18213 wine_fn_config_dll cryptnet enable_cryptnet implib
18214 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18215 wine_fn_config_dll cryptui enable_cryptui clean,implib
18216 wine_fn_config_test dlls/cryptui/tests cryptui_test
18217 wine_fn_config_dll ctapi32 enable_ctapi32
18218 wine_fn_config_dll ctl3d.dll16 enable_win16
18219 wine_fn_config_dll ctl3d32 enable_ctl3d32
18220 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18221 wine_fn_config_dll d2d1 enable_d2d1 implib
18222 wine_fn_config_test dlls/d2d1/tests d2d1_test
18223 wine_fn_config_dll d3d10 enable_d3d10 implib
18224 wine_fn_config_test dlls/d3d10/tests d3d10_test
18225 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18226 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18227 wine_fn_config_dll d3d10core enable_d3d10core implib
18228 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18229 wine_fn_config_dll d3d11 enable_d3d11 implib
18230 wine_fn_config_test dlls/d3d11/tests d3d11_test
18231 wine_fn_config_dll d3d8 enable_d3d8 implib
18232 wine_fn_config_test dlls/d3d8/tests d3d8_test
18233 wine_fn_config_dll d3d9 enable_d3d9 implib
18234 wine_fn_config_test dlls/d3d9/tests d3d9_test
18235 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18236 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18237 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18238 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18239 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18240 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18241 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18242 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18243 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18244 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18245 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18246 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18247 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18248 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18249 wine_fn_config_dll d3dim enable_d3dim
18250 wine_fn_config_dll d3drm enable_d3drm implib
18251 wine_fn_config_test dlls/d3drm/tests d3drm_test
18252 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18253 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18254 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18255 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18256 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18257 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18258 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18259 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18260 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18261 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18262 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18263 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18264 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18265 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18266 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18267 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18268 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18269 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18270 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18271 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18272 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18273 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18274 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18275 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18276 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18277 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18278 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18279 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18280 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18281 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18282 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18283 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18284 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18285 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18286 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18287 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18288 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18289 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18290 wine_fn_config_dll davclnt enable_davclnt
18291 wine_fn_config_dll dbgeng enable_dbgeng implib
18292 wine_fn_config_dll dbghelp enable_dbghelp implib
18293 wine_fn_config_dll dciman32 enable_dciman32 implib
18294 wine_fn_config_dll ddeml.dll16 enable_win16
18295 wine_fn_config_dll ddraw enable_ddraw clean,implib
18296 wine_fn_config_test dlls/ddraw/tests ddraw_test
18297 wine_fn_config_dll ddrawex enable_ddrawex clean
18298 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18299 wine_fn_config_dll devenum enable_devenum clean
18300 wine_fn_config_test dlls/devenum/tests devenum_test
18301 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18302 wine_fn_config_dll difxapi enable_difxapi
18303 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18304 wine_fn_config_test dlls/dinput/tests dinput_test
18305 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18306 wine_fn_config_test dlls/dinput8/tests dinput8_test
18307 wine_fn_config_dll dispdib.dll16 enable_win16
18308 wine_fn_config_dll dispex enable_dispex clean
18309 wine_fn_config_test dlls/dispex/tests dispex_test
18310 wine_fn_config_dll display.drv16 enable_win16
18311 wine_fn_config_dll dmband enable_dmband clean
18312 wine_fn_config_test dlls/dmband/tests dmband_test
18313 wine_fn_config_dll dmcompos enable_dmcompos clean
18314 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18315 wine_fn_config_dll dmime enable_dmime clean
18316 wine_fn_config_test dlls/dmime/tests dmime_test
18317 wine_fn_config_dll dmloader enable_dmloader clean
18318 wine_fn_config_test dlls/dmloader/tests dmloader_test
18319 wine_fn_config_dll dmscript enable_dmscript clean
18320 wine_fn_config_test dlls/dmscript/tests dmscript_test
18321 wine_fn_config_dll dmstyle enable_dmstyle clean
18322 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18323 wine_fn_config_dll dmsynth enable_dmsynth clean
18324 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18325 wine_fn_config_dll dmusic enable_dmusic clean
18326 wine_fn_config_test dlls/dmusic/tests dmusic_test
18327 wine_fn_config_dll dmusic32 enable_dmusic32
18328 wine_fn_config_dll dnsapi enable_dnsapi implib
18329 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18330 wine_fn_config_dll dplay enable_dplay
18331 wine_fn_config_dll dplayx enable_dplayx clean,implib
18332 wine_fn_config_test dlls/dplayx/tests dplayx_test
18333 wine_fn_config_dll dpnaddr enable_dpnaddr
18334 wine_fn_config_dll dpnet enable_dpnet clean,implib
18335 wine_fn_config_test dlls/dpnet/tests dpnet_test
18336 wine_fn_config_dll dpnhpast enable_dpnhpast
18337 wine_fn_config_dll dpnlobby enable_dpnlobby
18338 wine_fn_config_dll dpvoice enable_dpvoice clean
18339 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18340 wine_fn_config_dll dpwsockx enable_dpwsockx
18341 wine_fn_config_dll drmclien enable_drmclien
18342 wine_fn_config_dll dsound enable_dsound clean,implib
18343 wine_fn_config_test dlls/dsound/tests dsound_test
18344 wine_fn_config_dll dsquery enable_dsquery clean
18345 wine_fn_config_dll dssenh enable_dssenh
18346 wine_fn_config_test dlls/dssenh/tests dssenh_test
18347 wine_fn_config_dll dswave enable_dswave clean
18348 wine_fn_config_test dlls/dswave/tests dswave_test
18349 wine_fn_config_dll dwmapi enable_dwmapi implib
18350 wine_fn_config_dll dwrite enable_dwrite implib
18351 wine_fn_config_test dlls/dwrite/tests dwrite_test
18352 wine_fn_config_dll dx8vb enable_dx8vb
18353 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18354 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18355 wine_fn_config_lib dxerr8
18356 wine_fn_config_lib dxerr9
18357 wine_fn_config_dll dxgi enable_dxgi implib
18358 wine_fn_config_test dlls/dxgi/tests dxgi_test
18359 wine_fn_config_lib dxguid
18360 wine_fn_config_dll dxva2 enable_dxva2
18361 wine_fn_config_dll esent enable_esent
18362 wine_fn_config_dll evr enable_evr clean
18363 wine_fn_config_test dlls/evr/tests evr_test
18364 wine_fn_config_dll explorerframe enable_explorerframe clean
18365 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18366 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18367 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18368 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18369 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18370 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18371 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18372 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18373 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18374 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18375 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18376 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18377 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18378 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18379 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18380 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18381 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18382 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18383 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18384 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
18385 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18386 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18387 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18388 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18389 wine_fn_config_dll faultrep enable_faultrep implib
18390 wine_fn_config_test dlls/faultrep/tests faultrep_test
18391 wine_fn_config_dll fltlib enable_fltlib
18392 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18393 wine_fn_config_dll fntcache enable_fntcache
18394 wine_fn_config_dll fontsub enable_fontsub
18395 wine_fn_config_dll fusion enable_fusion
18396 wine_fn_config_test dlls/fusion/tests fusion_test
18397 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18398 wine_fn_config_dll gameux enable_gameux clean
18399 wine_fn_config_test dlls/gameux/tests gameux_test
18400 wine_fn_config_dll gdi.exe16 enable_win16
18401 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18402 wine_fn_config_test dlls/gdi32/tests gdi32_test
18403 wine_fn_config_dll gdiplus enable_gdiplus implib
18404 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18405 wine_fn_config_dll glu32 enable_glu32 implib
18406 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18407 wine_fn_config_dll gpkcsp enable_gpkcsp
18408 wine_fn_config_dll hal enable_hal
18409 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18410 wine_fn_config_dll hid enable_hid implib
18411 wine_fn_config_test dlls/hid/tests hid_test
18412 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18413 wine_fn_config_dll hlink enable_hlink clean,implib
18414 wine_fn_config_test dlls/hlink/tests hlink_test
18415 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18416 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18417 wine_fn_config_dll httpapi enable_httpapi
18418 wine_fn_config_dll iccvid enable_iccvid clean
18419 wine_fn_config_dll icmp enable_icmp
18420 wine_fn_config_dll ieframe enable_ieframe clean,implib
18421 wine_fn_config_test dlls/ieframe/tests ieframe_test
18422 wine_fn_config_dll ieproxy enable_ieproxy clean
18423 wine_fn_config_dll ifsmgr.vxd enable_win16
18424 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18425 wine_fn_config_dll imagehlp enable_imagehlp implib
18426 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18427 wine_fn_config_dll imm.dll16 enable_win16
18428 wine_fn_config_dll imm32 enable_imm32 implib
18429 wine_fn_config_test dlls/imm32/tests imm32_test
18430 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18431 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18432 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18433 wine_fn_config_dll inetmib1 enable_inetmib1
18434 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18435 wine_fn_config_dll infosoft enable_infosoft clean
18436 wine_fn_config_test dlls/infosoft/tests infosoft_test
18437 wine_fn_config_dll initpki enable_initpki
18438 wine_fn_config_dll inkobj enable_inkobj
18439 wine_fn_config_dll inseng enable_inseng clean
18440 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18441 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18442 wine_fn_config_dll iprop enable_iprop
18443 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18444 wine_fn_config_dll itircl enable_itircl
18445 wine_fn_config_dll itss enable_itss clean
18446 wine_fn_config_test dlls/itss/tests itss_test
18447 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18448 wine_fn_config_dll jscript enable_jscript clean
18449 wine_fn_config_test dlls/jscript/tests jscript_test
18450 wine_fn_config_dll jsproxy enable_jsproxy implib
18451 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18452 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18453 wine_fn_config_test dlls/kernel32/tests kernel32_test
18454 wine_fn_config_dll kernelbase enable_kernelbase
18455 wine_fn_config_dll keyboard.drv16 enable_win16
18456 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18457 wine_fn_config_dll ksuser enable_ksuser
18458 wine_fn_config_dll ktmw32 enable_ktmw32
18459 wine_fn_config_dll loadperf enable_loadperf implib
18460 wine_fn_config_dll localspl enable_localspl clean
18461 wine_fn_config_test dlls/localspl/tests localspl_test
18462 wine_fn_config_dll localui enable_localui clean
18463 wine_fn_config_test dlls/localui/tests localui_test
18464 wine_fn_config_dll lz32 enable_lz32 implib
18465 wine_fn_config_test dlls/lz32/tests lz32_test
18466 wine_fn_config_dll lzexpand.dll16 enable_win16
18467 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18468 wine_fn_config_test dlls/mapi32/tests mapi32_test
18469 wine_fn_config_dll mapistub enable_mapistub
18470 wine_fn_config_dll mciavi32 enable_mciavi32
18471 wine_fn_config_dll mcicda enable_mcicda
18472 wine_fn_config_dll mciqtz32 enable_mciqtz32
18473 wine_fn_config_dll mciseq enable_mciseq
18474 wine_fn_config_dll mciwave enable_mciwave
18475 wine_fn_config_dll mf enable_mf implib
18476 wine_fn_config_test dlls/mf/tests mf_test
18477 wine_fn_config_dll mf3216 enable_mf3216
18478 wine_fn_config_dll mfplat enable_mfplat implib
18479 wine_fn_config_test dlls/mfplat/tests mfplat_test
18480 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18481 wine_fn_config_lib mfuuid
18482 wine_fn_config_dll mgmtapi enable_mgmtapi
18483 wine_fn_config_dll midimap enable_midimap
18484 wine_fn_config_dll mlang enable_mlang clean,implib
18485 wine_fn_config_test dlls/mlang/tests mlang_test
18486 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18487 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18488 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18489 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18490 wine_fn_config_dll mmdevldr.vxd enable_win16
18491 wine_fn_config_dll mmsystem.dll16 enable_win16
18492 wine_fn_config_dll monodebg.vxd enable_win16
18493 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18494 wine_fn_config_dll mouse.drv16 enable_win16
18495 wine_fn_config_dll mpr enable_mpr clean,implib
18496 wine_fn_config_test dlls/mpr/tests mpr_test
18497 wine_fn_config_dll mprapi enable_mprapi implib
18498 wine_fn_config_dll msacm.dll16 enable_win16
18499 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18500 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18501 wine_fn_config_test dlls/msacm32/tests msacm32_test
18502 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18503 wine_fn_config_dll msasn1 enable_msasn1 implib
18504 wine_fn_config_dll mscat32 enable_mscat32
18505 wine_fn_config_dll mscms enable_mscms implib
18506 wine_fn_config_test dlls/mscms/tests mscms_test
18507 wine_fn_config_dll mscoree enable_mscoree clean
18508 wine_fn_config_test dlls/mscoree/tests mscoree_test
18509 wine_fn_config_dll msctf enable_msctf clean
18510 wine_fn_config_test dlls/msctf/tests msctf_test
18511 wine_fn_config_dll msctfp enable_msctfp clean
18512 wine_fn_config_dll msdaps enable_msdaps clean
18513 wine_fn_config_dll msdelta enable_msdelta
18514 wine_fn_config_dll msdmo enable_msdmo implib
18515 wine_fn_config_test dlls/msdmo/tests msdmo_test
18516 wine_fn_config_dll msdrm enable_msdrm
18517 wine_fn_config_dll msftedit enable_msftedit
18518 wine_fn_config_dll msg711.acm enable_msg711_acm
18519 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18520 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18521 wine_fn_config_dll mshtml enable_mshtml clean,implib
18522 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18523 wine_fn_config_dll msi enable_msi clean,implib
18524 wine_fn_config_test dlls/msi/tests msi_test
18525 wine_fn_config_dll msident enable_msident clean
18526 wine_fn_config_dll msimg32 enable_msimg32 implib
18527 wine_fn_config_dll msimsg enable_msimsg
18528 wine_fn_config_dll msimtf enable_msimtf clean
18529 wine_fn_config_dll msisip enable_msisip
18530 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18531 wine_fn_config_dll msls31 enable_msls31
18532 wine_fn_config_dll msnet32 enable_msnet32
18533 wine_fn_config_dll mspatcha enable_mspatcha implib
18534 wine_fn_config_dll msports enable_msports
18535 wine_fn_config_dll msrle32 enable_msrle32 clean
18536 wine_fn_config_test dlls/msrle32/tests msrle32_test
18537 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18538 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18539 wine_fn_config_dll mssign32 enable_mssign32
18540 wine_fn_config_dll mssip32 enable_mssip32
18541 wine_fn_config_dll mstask enable_mstask clean
18542 wine_fn_config_test dlls/mstask/tests mstask_test
18543 wine_fn_config_dll msvcirt enable_msvcirt
18544 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18545 wine_fn_config_dll msvcm80 enable_msvcm80
18546 wine_fn_config_dll msvcm90 enable_msvcm90
18547 wine_fn_config_dll msvcp100 enable_msvcp100
18548 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18549 wine_fn_config_dll msvcp110 enable_msvcp110
18550 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18551 wine_fn_config_dll msvcp120 enable_msvcp120
18552 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18553 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18554 wine_fn_config_dll msvcp140 enable_msvcp140
18555 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18556 wine_fn_config_dll msvcp60 enable_msvcp60
18557 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18558 wine_fn_config_dll msvcp70 enable_msvcp70
18559 wine_fn_config_dll msvcp71 enable_msvcp71
18560 wine_fn_config_dll msvcp80 enable_msvcp80
18561 wine_fn_config_dll msvcp90 enable_msvcp90
18562 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18563 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18564 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18565 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18566 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18567 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18568 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18569 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18570 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18571 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18572 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18573 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18574 wine_fn_config_dll msvcrt enable_msvcrt implib
18575 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18576 wine_fn_config_dll msvcrt20 enable_msvcrt20
18577 wine_fn_config_dll msvcrt40 enable_msvcrt40
18578 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18579 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18580 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18581 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18582 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18583 wine_fn_config_dll msvideo.dll16 enable_win16
18584 wine_fn_config_dll mswsock enable_mswsock implib
18585 wine_fn_config_dll msxml enable_msxml clean
18586 wine_fn_config_dll msxml2 enable_msxml2 clean
18587 wine_fn_config_dll msxml3 enable_msxml3 clean
18588 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18589 wine_fn_config_dll msxml4 enable_msxml4 clean
18590 wine_fn_config_dll msxml6 enable_msxml6 clean
18591 wine_fn_config_dll mtxdm enable_mtxdm
18592 wine_fn_config_dll ncrypt enable_ncrypt
18593 wine_fn_config_dll nddeapi enable_nddeapi implib
18594 wine_fn_config_dll ndis.sys enable_ndis_sys
18595 wine_fn_config_dll netapi32 enable_netapi32 implib
18596 wine_fn_config_test dlls/netapi32/tests netapi32_test
18597 wine_fn_config_dll netcfgx enable_netcfgx clean
18598 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18599 wine_fn_config_dll netprofm enable_netprofm clean
18600 wine_fn_config_test dlls/netprofm/tests netprofm_test
18601 wine_fn_config_dll newdev enable_newdev implib
18602 wine_fn_config_dll normaliz enable_normaliz implib
18603 wine_fn_config_dll npmshtml enable_npmshtml
18604 wine_fn_config_dll npptools enable_npptools
18605 wine_fn_config_dll ntdll enable_ntdll implib
18606 wine_fn_config_test dlls/ntdll/tests ntdll_test
18607 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18608 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18609 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18610 wine_fn_config_dll ntprint enable_ntprint
18611 wine_fn_config_test dlls/ntprint/tests ntprint_test
18612 wine_fn_config_dll objsel enable_objsel clean
18613 wine_fn_config_dll odbc32 enable_odbc32 implib
18614 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18615 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18616 wine_fn_config_dll odbccu32 enable_odbccu32
18617 wine_fn_config_dll ole2.dll16 enable_win16
18618 wine_fn_config_dll ole2conv.dll16 enable_win16
18619 wine_fn_config_dll ole2disp.dll16 enable_win16
18620 wine_fn_config_dll ole2nls.dll16 enable_win16
18621 wine_fn_config_dll ole2prox.dll16 enable_win16
18622 wine_fn_config_dll ole2thk.dll16 enable_win16
18623 wine_fn_config_dll ole32 enable_ole32 clean,implib
18624 wine_fn_config_test dlls/ole32/tests ole32_test
18625 wine_fn_config_dll oleacc enable_oleacc clean,implib
18626 wine_fn_config_test dlls/oleacc/tests oleacc_test
18627 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18628 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18629 wine_fn_config_dll olecli.dll16 enable_win16
18630 wine_fn_config_dll olecli32 enable_olecli32 implib
18631 wine_fn_config_dll oledb32 enable_oledb32 clean
18632 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18633 wine_fn_config_dll oledlg enable_oledlg clean,implib
18634 wine_fn_config_test dlls/oledlg/tests oledlg_test
18635 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18636 wine_fn_config_dll olesvr.dll16 enable_win16
18637 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18638 wine_fn_config_dll olethk32 enable_olethk32
18639 wine_fn_config_dll openal32 enable_openal32
18640 wine_fn_config_dll opencl enable_opencl
18641 wine_fn_config_dll opengl32 enable_opengl32 implib
18642 wine_fn_config_test dlls/opengl32/tests opengl32_test
18643 wine_fn_config_dll packager enable_packager clean
18644 wine_fn_config_test dlls/packager/tests packager_test
18645 wine_fn_config_dll pdh enable_pdh implib
18646 wine_fn_config_test dlls/pdh/tests pdh_test
18647 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18648 wine_fn_config_dll pidgen enable_pidgen
18649 wine_fn_config_dll powrprof enable_powrprof implib
18650 wine_fn_config_dll printui enable_printui
18651 wine_fn_config_dll prntvpt enable_prntvpt
18652 wine_fn_config_dll propsys enable_propsys clean,implib
18653 wine_fn_config_test dlls/propsys/tests propsys_test
18654 wine_fn_config_dll psapi enable_psapi implib
18655 wine_fn_config_test dlls/psapi/tests psapi_test
18656 wine_fn_config_dll pstorec enable_pstorec clean
18657 wine_fn_config_test dlls/pstorec/tests pstorec_test
18658 wine_fn_config_dll qcap enable_qcap
18659 wine_fn_config_test dlls/qcap/tests qcap_test
18660 wine_fn_config_dll qedit enable_qedit clean
18661 wine_fn_config_test dlls/qedit/tests qedit_test
18662 wine_fn_config_dll qmgr enable_qmgr clean
18663 wine_fn_config_test dlls/qmgr/tests qmgr_test
18664 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18665 wine_fn_config_dll quartz enable_quartz clean,implib
18666 wine_fn_config_test dlls/quartz/tests quartz_test clean
18667 wine_fn_config_dll query enable_query
18668 wine_fn_config_dll rasapi16.dll16 enable_win16
18669 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18670 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18671 wine_fn_config_dll rasdlg enable_rasdlg implib
18672 wine_fn_config_dll regapi enable_regapi
18673 wine_fn_config_dll resutils enable_resutils implib
18674 wine_fn_config_dll riched20 enable_riched20 clean,implib
18675 wine_fn_config_test dlls/riched20/tests riched20_test
18676 wine_fn_config_dll riched32 enable_riched32
18677 wine_fn_config_test dlls/riched32/tests riched32_test
18678 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18679 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18680 wine_fn_config_dll rsabase enable_rsabase
18681 wine_fn_config_dll rsaenh enable_rsaenh implib
18682 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18683 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18684 wine_fn_config_dll rtutils enable_rtutils implib
18685 wine_fn_config_dll samlib enable_samlib
18686 wine_fn_config_dll sane.ds enable_sane_ds clean
18687 wine_fn_config_dll sapi enable_sapi clean
18688 wine_fn_config_test dlls/sapi/tests sapi_test
18689 wine_fn_config_dll scarddlg enable_scarddlg
18690 wine_fn_config_dll sccbase enable_sccbase
18691 wine_fn_config_dll schannel enable_schannel
18692 wine_fn_config_test dlls/schannel/tests schannel_test
18693 wine_fn_config_dll schedsvc enable_schedsvc clean
18694 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18695 wine_fn_config_dll scrobj enable_scrobj clean
18696 wine_fn_config_dll scrrun enable_scrrun clean
18697 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18698 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18699 wine_fn_config_dll secur32 enable_secur32 implib
18700 wine_fn_config_test dlls/secur32/tests secur32_test
18701 wine_fn_config_dll security enable_security
18702 wine_fn_config_dll sensapi enable_sensapi implib
18703 wine_fn_config_dll serialui enable_serialui clean
18704 wine_fn_config_test dlls/serialui/tests serialui_test
18705 wine_fn_config_dll setupapi enable_setupapi clean,implib
18706 wine_fn_config_test dlls/setupapi/tests setupapi_test
18707 wine_fn_config_dll setupx.dll16 enable_win16
18708 wine_fn_config_dll sfc enable_sfc implib
18709 wine_fn_config_dll sfc_os enable_sfc_os implib
18710 wine_fn_config_dll shdoclc enable_shdoclc clean
18711 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18712 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18713 wine_fn_config_dll shell.dll16 enable_win16
18714 wine_fn_config_dll shell32 enable_shell32 clean,implib
18715 wine_fn_config_test dlls/shell32/tests shell32_test
18716 wine_fn_config_dll shfolder enable_shfolder implib
18717 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18718 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18719 wine_fn_config_dll slbcsp enable_slbcsp
18720 wine_fn_config_dll slc enable_slc implib
18721 wine_fn_config_test dlls/slc/tests slc_test
18722 wine_fn_config_dll snmpapi enable_snmpapi implib
18723 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18724 wine_fn_config_dll softpub enable_softpub
18725 wine_fn_config_dll sound.drv16 enable_win16
18726 wine_fn_config_dll spoolss enable_spoolss implib
18727 wine_fn_config_test dlls/spoolss/tests spoolss_test
18728 wine_fn_config_dll sspicli enable_sspicli
18729 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18730 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18731 wine_fn_config_dll sti enable_sti clean,implib
18732 wine_fn_config_test dlls/sti/tests sti_test
18733 wine_fn_config_dll storage.dll16 enable_win16
18734 wine_fn_config_dll stress.dll16 enable_win16
18735 wine_fn_config_lib strmbase
18736 wine_fn_config_lib strmiids
18737 wine_fn_config_dll svrapi enable_svrapi
18738 wine_fn_config_dll sxs enable_sxs implib
18739 wine_fn_config_test dlls/sxs/tests sxs_test
18740 wine_fn_config_dll system.drv16 enable_win16
18741 wine_fn_config_dll t2embed enable_t2embed implib
18742 wine_fn_config_test dlls/t2embed/tests t2embed_test
18743 wine_fn_config_dll tapi32 enable_tapi32 implib
18744 wine_fn_config_dll taskschd enable_taskschd clean
18745 wine_fn_config_test dlls/taskschd/tests taskschd_test
18746 wine_fn_config_dll tdh enable_tdh
18747 wine_fn_config_dll tdi.sys enable_tdi_sys
18748 wine_fn_config_dll toolhelp.dll16 enable_win16
18749 wine_fn_config_dll traffic enable_traffic
18750 wine_fn_config_dll twain.dll16 enable_win16
18751 wine_fn_config_dll twain_32 enable_twain_32
18752 wine_fn_config_test dlls/twain_32/tests twain_32_test
18753 wine_fn_config_dll typelib.dll16 enable_win16
18754 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18755 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18756 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18757 wine_fn_config_dll uiribbon enable_uiribbon clean
18758 wine_fn_config_dll unicows enable_unicows implib
18759 wine_fn_config_dll updspapi enable_updspapi
18760 wine_fn_config_dll url enable_url implib
18761 wine_fn_config_dll urlmon enable_urlmon clean,implib
18762 wine_fn_config_test dlls/urlmon/tests urlmon_test
18763 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18764 wine_fn_config_dll user.exe16 enable_win16
18765 wine_fn_config_dll user32 enable_user32 clean,implib
18766 wine_fn_config_test dlls/user32/tests user32_test
18767 wine_fn_config_dll userenv enable_userenv implib
18768 wine_fn_config_test dlls/userenv/tests userenv_test
18769 wine_fn_config_dll usp10 enable_usp10 implib
18770 wine_fn_config_test dlls/usp10/tests usp10_test
18771 wine_fn_config_lib uuid
18772 wine_fn_config_dll uxtheme enable_uxtheme implib
18773 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18774 wine_fn_config_dll vbscript enable_vbscript clean
18775 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18776 wine_fn_config_dll vcomp enable_vcomp
18777 wine_fn_config_test dlls/vcomp/tests vcomp_test
18778 wine_fn_config_dll vcomp100 enable_vcomp100
18779 wine_fn_config_dll vcomp110 enable_vcomp110
18780 wine_fn_config_dll vcomp120 enable_vcomp120
18781 wine_fn_config_dll vcomp140 enable_vcomp140
18782 wine_fn_config_dll vcomp90 enable_vcomp90
18783 wine_fn_config_dll vcruntime140 enable_vcruntime140
18784 wine_fn_config_dll vdhcp.vxd enable_win16
18785 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18786 wine_fn_config_dll ver.dll16 enable_win16
18787 wine_fn_config_dll version enable_version implib
18788 wine_fn_config_test dlls/version/tests version_test
18789 wine_fn_config_dll virtdisk enable_virtdisk
18790 wine_fn_config_dll vmm.vxd enable_win16
18791 wine_fn_config_dll vnbt.vxd enable_win16
18792 wine_fn_config_dll vnetbios.vxd enable_win16
18793 wine_fn_config_dll vssapi enable_vssapi
18794 wine_fn_config_dll vtdapi.vxd enable_win16
18795 wine_fn_config_dll vwin32.vxd enable_win16
18796 wine_fn_config_dll w32skrnl enable_win16
18797 wine_fn_config_dll w32sys.dll16 enable_win16
18798 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18799 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18800 wine_fn_config_dll wbemprox enable_wbemprox clean
18801 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18802 wine_fn_config_dll webservices enable_webservices implib
18803 wine_fn_config_test dlls/webservices/tests webservices_test
18804 wine_fn_config_dll wer enable_wer implib
18805 wine_fn_config_test dlls/wer/tests wer_test
18806 wine_fn_config_dll wevtapi enable_wevtapi
18807 wine_fn_config_dll wiaservc enable_wiaservc clean
18808 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18809 wine_fn_config_dll wimgapi enable_wimgapi
18810 wine_fn_config_dll win32s16.dll16 enable_win16
18811 wine_fn_config_dll win87em.dll16 enable_win16
18812 wine_fn_config_dll winaspi.dll16 enable_win16
18813 wine_fn_config_dll windebug.dll16 enable_win16
18814 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18815 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18816 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18817 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18818 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18819 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18820 wine_fn_config_dll winebus.sys enable_winebus_sys
18821 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18822 wine_fn_config_lib winecrt0
18823 wine_fn_config_dll wined3d enable_wined3d implib
18824 wine_fn_config_dll winegstreamer enable_winegstreamer
18825 wine_fn_config_dll winehid.sys enable_winehid_sys
18826 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18827 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18828 wine_fn_config_dll winemapi enable_winemapi
18829 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18830 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18831 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18832 wine_fn_config_dll wineps16.drv16 enable_win16
18833 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18834 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18835 wine_fn_config_dll winex11.drv enable_winex11_drv
18836 wine_fn_config_dll wing.dll16 enable_win16
18837 wine_fn_config_dll wing32 enable_wing32
18838 wine_fn_config_dll winhttp enable_winhttp clean,implib
18839 wine_fn_config_test dlls/winhttp/tests winhttp_test
18840 wine_fn_config_dll wininet enable_wininet clean,implib
18841 wine_fn_config_test dlls/wininet/tests wininet_test
18842 wine_fn_config_dll winmm enable_winmm clean,implib
18843 wine_fn_config_test dlls/winmm/tests winmm_test
18844 wine_fn_config_dll winnls.dll16 enable_win16
18845 wine_fn_config_dll winnls32 enable_winnls32 implib
18846 wine_fn_config_dll winscard enable_winscard implib
18847 wine_fn_config_dll winsock.dll16 enable_win16
18848 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18849 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18850 wine_fn_config_dll winsta enable_winsta
18851 wine_fn_config_dll wintab.dll16 enable_win16
18852 wine_fn_config_dll wintab32 enable_wintab32 implib
18853 wine_fn_config_test dlls/wintab32/tests wintab32_test
18854 wine_fn_config_dll wintrust enable_wintrust implib
18855 wine_fn_config_test dlls/wintrust/tests wintrust_test
18856 wine_fn_config_dll winusb enable_winusb
18857 wine_fn_config_dll wlanapi enable_wlanapi implib
18858 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18859 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18860 wine_fn_config_test dlls/wldap32/tests wldap32_test
18861 wine_fn_config_dll wmasf enable_wmasf
18862 wine_fn_config_dll wmi enable_wmi
18863 wine_fn_config_dll wmiutils enable_wmiutils clean
18864 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18865 wine_fn_config_dll wmp enable_wmp clean
18866 wine_fn_config_test dlls/wmp/tests wmp_test
18867 wine_fn_config_dll wmphoto enable_wmphoto clean
18868 wine_fn_config_dll wmvcore enable_wmvcore implib
18869 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18870 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18871 wine_fn_config_dll wow32 enable_win16 implib
18872 wine_fn_config_dll wpc enable_wpc clean
18873 wine_fn_config_test dlls/wpc/tests wpc_test
18874 wine_fn_config_dll wpcap enable_wpcap
18875 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18876 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18877 wine_fn_config_dll wsdapi enable_wsdapi implib
18878 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18879 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18880 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18881 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18882 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18883 wine_fn_config_dll wsock32 enable_wsock32 implib
18884 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18885 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18886 wine_fn_config_dll wuapi enable_wuapi clean
18887 wine_fn_config_dll wuaueng enable_wuaueng
18888 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18889 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18890 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18891 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18892 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18893 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18894 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18895 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18896 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18897 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18898 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18899 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18900 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18901 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18902 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18903 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18904 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18905 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18906 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18907 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18908 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18909 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18910 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18911 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18912 wine_fn_config_dll xinput1_1 enable_xinput1_1
18913 wine_fn_config_dll xinput1_2 enable_xinput1_2
18914 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18915 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18916 wine_fn_config_dll xinput1_4 enable_xinput1_4
18917 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18918 wine_fn_config_dll xmllite enable_xmllite implib
18919 wine_fn_config_test dlls/xmllite/tests xmllite_test
18920 wine_fn_config_dll xolehlp enable_xolehlp
18921 wine_fn_config_dll xpsprint enable_xpsprint
18922 wine_fn_config_dll xpssvcs enable_xpssvcs
18923 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18924 wine_fn_config_makefile include enable_include clean,install-dev
18925 wine_fn_config_makefile libs/port enable_libs_port
18926 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18927 wine_fn_config_makefile libs/wpp enable_libs_wpp
18928 wine_fn_config_makefile loader enable_loader clean,install-lib
18929 wine_fn_config_makefile po enable_po clean
18930 wine_fn_config_program arp enable_arp install
18931 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18932 wine_fn_config_program attrib enable_attrib clean,install
18933 wine_fn_config_program cabarc enable_cabarc install
18934 wine_fn_config_program cacls enable_cacls install
18935 wine_fn_config_program clock enable_clock clean,install
18936 wine_fn_config_program cmd enable_cmd clean,install
18937 wine_fn_config_test programs/cmd/tests cmd.exe_test
18938 wine_fn_config_program conhost enable_conhost install
18939 wine_fn_config_program control enable_control install
18940 wine_fn_config_program cscript enable_cscript clean,install
18941 wine_fn_config_program dpnsvr enable_dpnsvr install
18942 wine_fn_config_program dxdiag enable_dxdiag clean,install
18943 wine_fn_config_program eject enable_eject install
18944 wine_fn_config_program expand enable_expand install
18945 wine_fn_config_program explorer enable_explorer clean,install
18946 wine_fn_config_program extrac32 enable_extrac32 install
18947 wine_fn_config_program findstr enable_findstr install
18948 wine_fn_config_program fsutil enable_fsutil install
18949 wine_fn_config_program hh enable_hh install
18950 wine_fn_config_program hostname enable_hostname clean,install
18951 wine_fn_config_program icacls enable_icacls install
18952 wine_fn_config_program icinfo enable_icinfo install
18953 wine_fn_config_program iexplore enable_iexplore install
18954 wine_fn_config_program ipconfig enable_ipconfig clean,install
18955 wine_fn_config_program lodctr enable_lodctr install
18956 wine_fn_config_program mofcomp enable_mofcomp install
18957 wine_fn_config_program mshta enable_mshta install
18958 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18959 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18960 wine_fn_config_program net enable_net clean,install
18961 wine_fn_config_program netsh enable_netsh install
18962 wine_fn_config_program netstat enable_netstat clean,install
18963 wine_fn_config_program ngen enable_ngen install
18964 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18965 wine_fn_config_program oleview enable_oleview clean,install
18966 wine_fn_config_program ping enable_ping install
18967 wine_fn_config_program plugplay enable_plugplay install
18968 wine_fn_config_program powershell enable_powershell install
18969 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18970 wine_fn_config_program progman enable_progman clean,install
18971 wine_fn_config_program reg enable_reg clean,install
18972 wine_fn_config_test programs/reg/tests reg.exe_test
18973 wine_fn_config_program regasm enable_regasm install
18974 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18975 wine_fn_config_test programs/regedit/tests regedit.exe_test
18976 wine_fn_config_program regsvcs enable_regsvcs install
18977 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18978 wine_fn_config_program rpcss enable_rpcss clean,install
18979 wine_fn_config_program rundll.exe16 enable_win16 install
18980 wine_fn_config_program rundll32 enable_rundll32 install
18981 wine_fn_config_program sc enable_sc install
18982 wine_fn_config_program schtasks enable_schtasks install
18983 wine_fn_config_program sdbinst enable_sdbinst install
18984 wine_fn_config_program secedit enable_secedit install
18985 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18986 wine_fn_config_program services enable_services clean,install
18987 wine_fn_config_test programs/services/tests services.exe_test
18988 wine_fn_config_program shutdown enable_shutdown install
18989 wine_fn_config_program spoolsv enable_spoolsv install
18990 wine_fn_config_program start enable_start clean,install
18991 wine_fn_config_program subst enable_subst install
18992 wine_fn_config_program svchost enable_svchost install
18993 wine_fn_config_program systeminfo enable_systeminfo install
18994 wine_fn_config_program taskkill enable_taskkill clean,install
18995 wine_fn_config_program tasklist enable_tasklist install
18996 wine_fn_config_program taskmgr enable_taskmgr clean,install
18997 wine_fn_config_program termsv enable_termsv install
18998 wine_fn_config_program uninstaller enable_uninstaller clean,install
18999 wine_fn_config_program unlodctr enable_unlodctr install
19000 wine_fn_config_program view enable_view clean,install
19001 wine_fn_config_program wevtutil enable_wevtutil install
19002 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
19003 wine_fn_config_program winebrowser enable_winebrowser install
19004 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
19005 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
19006 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
19007 wine_fn_config_program winedevice enable_winedevice install
19008 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
19009 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19010 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
19011 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19012 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19013 wine_fn_config_program winetest enable_winetest clean
19014 wine_fn_config_program winevdm enable_win16 install
19015 wine_fn_config_program winhelp.exe16 enable_win16 install
19016 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19017 wine_fn_config_program winoldap.mod16 enable_win16 install
19018 wine_fn_config_program winver enable_winver install
19019 wine_fn_config_program wmic enable_wmic clean,install
19020 wine_fn_config_program wmplayer enable_wmplayer install
19021 wine_fn_config_program wordpad enable_wordpad clean,install
19022 wine_fn_config_program write enable_write clean,install
19023 wine_fn_config_program wscript enable_wscript clean,install
19024 wine_fn_config_test programs/wscript/tests wscript.exe_test
19025 wine_fn_config_program wusa enable_wusa install
19026 wine_fn_config_program xcopy enable_xcopy clean,install
19027 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19028 wine_fn_config_makefile server enable_server clean,install-lib
19029 wine_fn_config_tool tools clean
19030 wine_fn_config_tool tools/sfnt2fon clean
19031 wine_fn_config_tool tools/widl clean,install-dev
19032 wine_fn_config_tool tools/winebuild clean,install-dev
19033 wine_fn_config_tool tools/winedump clean,install-dev
19034 wine_fn_config_tool tools/winegcc clean,install-dev
19035 wine_fn_config_tool tools/winemaker clean,install-dev
19036 wine_fn_config_tool tools/wmc clean,install-dev
19037 wine_fn_config_tool tools/wrc clean,install-dev
19040 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19041 wine_fn_append_file CONFIGURE_TARGETS "tags"
19042 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19043 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19044 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19045 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19046 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19047 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19049 if test "x$enable_tools" != xno
19050 then
19051 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19052 ac_config_commands="$ac_config_commands tools/makedep"
19056 ac_config_commands="$ac_config_commands Makefile"
19059 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19063 if test "x$enable_maintainer_mode" = xyes
19064 then
19065 wine_fn_append_rule "configure: configure.ac aclocal.m4
19066 autoconf --warnings=all
19067 include/config.h.in: include/stamp-h.in
19068 include/stamp-h.in: configure.ac aclocal.m4
19069 autoheader --warnings=all
19070 @echo timestamp > \$@"
19073 if test "x$enable_tools" != xno
19074 then
19075 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19076 @./config.status tools/makedep
19077 Makefile: tools/makedep$ac_exeext"
19078 else
19079 wine_fn_append_rule "\$(MAKEDEP):
19080 @echo \"You need to run make in $TOOLSDIR first\" && false"
19083 if test -n "$with_wine64"
19084 then
19085 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19086 fonts server:
19087 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19088 $with_wine64/loader/wine:
19089 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19090 $with_wine64/loader/wine-preloader:
19091 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19092 clean::
19093 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19094 else
19095 WINELOADER_INSTALL="wine.inf"
19097 wine_fn_append_rule "install install-lib::
19098 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19099 uninstall::
19100 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19101 case $host_os in
19102 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19103 *) wine_fn_append_rule "install install-lib::
19104 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19105 uninstall::
19106 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19107 esac
19110 $as_echo " done" >&6
19111 cat >confcache <<\_ACEOF
19112 # This file is a shell script that caches the results of configure
19113 # tests run on this system so they can be shared between configure
19114 # scripts and configure runs, see configure's option --config-cache.
19115 # It is not useful on other systems. If it contains results you don't
19116 # want to keep, you may remove or edit it.
19118 # config.status only pays attention to the cache file if you give it
19119 # the --recheck option to rerun configure.
19121 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19122 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19123 # following values.
19125 _ACEOF
19127 # The following way of writing the cache mishandles newlines in values,
19128 # but we know of no workaround that is simple, portable, and efficient.
19129 # So, we kill variables containing newlines.
19130 # Ultrix sh set writes to stderr and can't be redirected directly,
19131 # and sets the high bit in the cache file unless we assign to the vars.
19133 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19134 eval ac_val=\$$ac_var
19135 case $ac_val in #(
19136 *${as_nl}*)
19137 case $ac_var in #(
19138 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19139 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19140 esac
19141 case $ac_var in #(
19142 _ | IFS | as_nl) ;; #(
19143 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19144 *) { eval $ac_var=; unset $ac_var;} ;;
19145 esac ;;
19146 esac
19147 done
19149 (set) 2>&1 |
19150 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19151 *${as_nl}ac_space=\ *)
19152 # `set' does not quote correctly, so add quotes: double-quote
19153 # substitution turns \\\\ into \\, and sed turns \\ into \.
19154 sed -n \
19155 "s/'/'\\\\''/g;
19156 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19157 ;; #(
19159 # `set' quotes correctly as required by POSIX, so do not add quotes.
19160 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19162 esac |
19163 sort
19165 sed '
19166 /^ac_cv_env_/b end
19167 t clear
19168 :clear
19169 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19170 t end
19171 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19172 :end' >>confcache
19173 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19174 if test -w "$cache_file"; then
19175 if test "x$cache_file" != "x/dev/null"; then
19176 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19177 $as_echo "$as_me: updating cache $cache_file" >&6;}
19178 if test ! -f "$cache_file" || test -h "$cache_file"; then
19179 cat confcache >"$cache_file"
19180 else
19181 case $cache_file in #(
19182 */* | ?:*)
19183 mv -f confcache "$cache_file"$$ &&
19184 mv -f "$cache_file"$$ "$cache_file" ;; #(
19186 mv -f confcache "$cache_file" ;;
19187 esac
19190 else
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19192 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19195 rm -f confcache
19197 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19198 # Let make expand exec_prefix.
19199 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19201 DEFS=-DHAVE_CONFIG_H
19203 ac_libobjs=
19204 ac_ltlibobjs=
19206 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19207 # 1. Remove the extension, and $U if already installed.
19208 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19209 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19210 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19211 # will be set to the directory where LIBOBJS objects are built.
19212 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19213 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19214 done
19215 LIBOBJS=$ac_libobjs
19217 LTLIBOBJS=$ac_ltlibobjs
19221 : "${CONFIG_STATUS=./config.status}"
19222 ac_write_fail=0
19223 ac_clean_files_save=$ac_clean_files
19224 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19226 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19227 as_write_fail=0
19228 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19229 #! $SHELL
19230 # Generated by $as_me.
19231 # Run this file to recreate the current configuration.
19232 # Compiler output produced by configure, useful for debugging
19233 # configure, is in config.log if it exists.
19235 debug=false
19236 ac_cs_recheck=false
19237 ac_cs_silent=false
19239 SHELL=\${CONFIG_SHELL-$SHELL}
19240 export SHELL
19241 _ASEOF
19242 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19243 ## -------------------- ##
19244 ## M4sh Initialization. ##
19245 ## -------------------- ##
19247 # Be more Bourne compatible
19248 DUALCASE=1; export DUALCASE # for MKS sh
19249 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19250 emulate sh
19251 NULLCMD=:
19252 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19253 # is contrary to our usage. Disable this feature.
19254 alias -g '${1+"$@"}'='"$@"'
19255 setopt NO_GLOB_SUBST
19256 else
19257 case `(set -o) 2>/dev/null` in #(
19258 *posix*) :
19259 set -o posix ;; #(
19260 *) :
19262 esac
19266 as_nl='
19268 export as_nl
19269 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19270 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19271 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19272 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19273 # Prefer a ksh shell builtin over an external printf program on Solaris,
19274 # but without wasting forks for bash or zsh.
19275 if test -z "$BASH_VERSION$ZSH_VERSION" \
19276 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19277 as_echo='print -r --'
19278 as_echo_n='print -rn --'
19279 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19280 as_echo='printf %s\n'
19281 as_echo_n='printf %s'
19282 else
19283 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19284 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19285 as_echo_n='/usr/ucb/echo -n'
19286 else
19287 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19288 as_echo_n_body='eval
19289 arg=$1;
19290 case $arg in #(
19291 *"$as_nl"*)
19292 expr "X$arg" : "X\\(.*\\)$as_nl";
19293 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19294 esac;
19295 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19297 export as_echo_n_body
19298 as_echo_n='sh -c $as_echo_n_body as_echo'
19300 export as_echo_body
19301 as_echo='sh -c $as_echo_body as_echo'
19304 # The user is always right.
19305 if test "${PATH_SEPARATOR+set}" != set; then
19306 PATH_SEPARATOR=:
19307 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19308 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19309 PATH_SEPARATOR=';'
19314 # IFS
19315 # We need space, tab and new line, in precisely that order. Quoting is
19316 # there to prevent editors from complaining about space-tab.
19317 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19318 # splitting by setting IFS to empty value.)
19319 IFS=" "" $as_nl"
19321 # Find who we are. Look in the path if we contain no directory separator.
19322 as_myself=
19323 case $0 in #((
19324 *[\\/]* ) as_myself=$0 ;;
19325 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19326 for as_dir in $PATH
19328 IFS=$as_save_IFS
19329 test -z "$as_dir" && as_dir=.
19330 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19331 done
19332 IFS=$as_save_IFS
19335 esac
19336 # We did not find ourselves, most probably we were run as `sh COMMAND'
19337 # in which case we are not to be found in the path.
19338 if test "x$as_myself" = x; then
19339 as_myself=$0
19341 if test ! -f "$as_myself"; then
19342 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19343 exit 1
19346 # Unset variables that we do not need and which cause bugs (e.g. in
19347 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19348 # suppresses any "Segmentation fault" message there. '((' could
19349 # trigger a bug in pdksh 5.2.14.
19350 for as_var in BASH_ENV ENV MAIL MAILPATH
19351 do eval test x\${$as_var+set} = xset \
19352 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19353 done
19354 PS1='$ '
19355 PS2='> '
19356 PS4='+ '
19358 # NLS nuisances.
19359 LC_ALL=C
19360 export LC_ALL
19361 LANGUAGE=C
19362 export LANGUAGE
19364 # CDPATH.
19365 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19368 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19369 # ----------------------------------------
19370 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19371 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19372 # script with STATUS, using 1 if that was 0.
19373 as_fn_error ()
19375 as_status=$1; test $as_status -eq 0 && as_status=1
19376 if test "$4"; then
19377 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19378 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19380 $as_echo "$as_me: error: $2" >&2
19381 as_fn_exit $as_status
19382 } # as_fn_error
19385 # as_fn_set_status STATUS
19386 # -----------------------
19387 # Set $? to STATUS, without forking.
19388 as_fn_set_status ()
19390 return $1
19391 } # as_fn_set_status
19393 # as_fn_exit STATUS
19394 # -----------------
19395 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19396 as_fn_exit ()
19398 set +e
19399 as_fn_set_status $1
19400 exit $1
19401 } # as_fn_exit
19403 # as_fn_unset VAR
19404 # ---------------
19405 # Portably unset VAR.
19406 as_fn_unset ()
19408 { eval $1=; unset $1;}
19410 as_unset=as_fn_unset
19411 # as_fn_append VAR VALUE
19412 # ----------------------
19413 # Append the text in VALUE to the end of the definition contained in VAR. Take
19414 # advantage of any shell optimizations that allow amortized linear growth over
19415 # repeated appends, instead of the typical quadratic growth present in naive
19416 # implementations.
19417 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19418 eval 'as_fn_append ()
19420 eval $1+=\$2
19422 else
19423 as_fn_append ()
19425 eval $1=\$$1\$2
19427 fi # as_fn_append
19429 # as_fn_arith ARG...
19430 # ------------------
19431 # Perform arithmetic evaluation on the ARGs, and store the result in the
19432 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19433 # must be portable across $(()) and expr.
19434 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19435 eval 'as_fn_arith ()
19437 as_val=$(( $* ))
19439 else
19440 as_fn_arith ()
19442 as_val=`expr "$@" || test $? -eq 1`
19444 fi # as_fn_arith
19447 if expr a : '\(a\)' >/dev/null 2>&1 &&
19448 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19449 as_expr=expr
19450 else
19451 as_expr=false
19454 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19455 as_basename=basename
19456 else
19457 as_basename=false
19460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19461 as_dirname=dirname
19462 else
19463 as_dirname=false
19466 as_me=`$as_basename -- "$0" ||
19467 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19468 X"$0" : 'X\(//\)$' \| \
19469 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19470 $as_echo X/"$0" |
19471 sed '/^.*\/\([^/][^/]*\)\/*$/{
19472 s//\1/
19475 /^X\/\(\/\/\)$/{
19476 s//\1/
19479 /^X\/\(\/\).*/{
19480 s//\1/
19483 s/.*/./; q'`
19485 # Avoid depending upon Character Ranges.
19486 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19487 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19488 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19489 as_cr_digits='0123456789'
19490 as_cr_alnum=$as_cr_Letters$as_cr_digits
19492 ECHO_C= ECHO_N= ECHO_T=
19493 case `echo -n x` in #(((((
19494 -n*)
19495 case `echo 'xy\c'` in
19496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19497 xy) ECHO_C='\c';;
19498 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19499 ECHO_T=' ';;
19500 esac;;
19502 ECHO_N='-n';;
19503 esac
19505 rm -f conf$$ conf$$.exe conf$$.file
19506 if test -d conf$$.dir; then
19507 rm -f conf$$.dir/conf$$.file
19508 else
19509 rm -f conf$$.dir
19510 mkdir conf$$.dir 2>/dev/null
19512 if (echo >conf$$.file) 2>/dev/null; then
19513 if ln -s conf$$.file conf$$ 2>/dev/null; then
19514 as_ln_s='ln -s'
19515 # ... but there are two gotchas:
19516 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19517 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19518 # In both cases, we have to default to `cp -pR'.
19519 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19520 as_ln_s='cp -pR'
19521 elif ln conf$$.file conf$$ 2>/dev/null; then
19522 as_ln_s=ln
19523 else
19524 as_ln_s='cp -pR'
19526 else
19527 as_ln_s='cp -pR'
19529 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19530 rmdir conf$$.dir 2>/dev/null
19533 # as_fn_mkdir_p
19534 # -------------
19535 # Create "$as_dir" as a directory, including parents if necessary.
19536 as_fn_mkdir_p ()
19539 case $as_dir in #(
19540 -*) as_dir=./$as_dir;;
19541 esac
19542 test -d "$as_dir" || eval $as_mkdir_p || {
19543 as_dirs=
19544 while :; do
19545 case $as_dir in #(
19546 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19547 *) as_qdir=$as_dir;;
19548 esac
19549 as_dirs="'$as_qdir' $as_dirs"
19550 as_dir=`$as_dirname -- "$as_dir" ||
19551 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19552 X"$as_dir" : 'X\(//\)[^/]' \| \
19553 X"$as_dir" : 'X\(//\)$' \| \
19554 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19555 $as_echo X"$as_dir" |
19556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19557 s//\1/
19560 /^X\(\/\/\)[^/].*/{
19561 s//\1/
19564 /^X\(\/\/\)$/{
19565 s//\1/
19568 /^X\(\/\).*/{
19569 s//\1/
19572 s/.*/./; q'`
19573 test -d "$as_dir" && break
19574 done
19575 test -z "$as_dirs" || eval "mkdir $as_dirs"
19576 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19579 } # as_fn_mkdir_p
19580 if mkdir -p . 2>/dev/null; then
19581 as_mkdir_p='mkdir -p "$as_dir"'
19582 else
19583 test -d ./-p && rmdir ./-p
19584 as_mkdir_p=false
19588 # as_fn_executable_p FILE
19589 # -----------------------
19590 # Test if FILE is an executable regular file.
19591 as_fn_executable_p ()
19593 test -f "$1" && test -x "$1"
19594 } # as_fn_executable_p
19595 as_test_x='test -x'
19596 as_executable_p=as_fn_executable_p
19598 # Sed expression to map a string onto a valid CPP name.
19599 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19601 # Sed expression to map a string onto a valid variable name.
19602 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19605 exec 6>&1
19606 ## ----------------------------------- ##
19607 ## Main body of $CONFIG_STATUS script. ##
19608 ## ----------------------------------- ##
19609 _ASEOF
19610 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19613 # Save the log message, to keep $0 and so on meaningful, and to
19614 # report actual input values of CONFIG_FILES etc. instead of their
19615 # values after options handling.
19616 ac_log="
19617 This file was extended by Wine $as_me 2.18, which was
19618 generated by GNU Autoconf 2.69. Invocation command line was
19620 CONFIG_FILES = $CONFIG_FILES
19621 CONFIG_HEADERS = $CONFIG_HEADERS
19622 CONFIG_LINKS = $CONFIG_LINKS
19623 CONFIG_COMMANDS = $CONFIG_COMMANDS
19624 $ $0 $@
19626 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19629 _ACEOF
19631 case $ac_config_files in *"
19632 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19633 esac
19635 case $ac_config_headers in *"
19636 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19637 esac
19640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19641 # Files that config.status was made for.
19642 config_files="$ac_config_files"
19643 config_headers="$ac_config_headers"
19644 config_links="$ac_config_links"
19645 config_commands="$ac_config_commands"
19647 _ACEOF
19649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19650 ac_cs_usage="\
19651 \`$as_me' instantiates files and other configuration actions
19652 from templates according to the current configuration. Unless the files
19653 and actions are specified as TAGs, all are instantiated by default.
19655 Usage: $0 [OPTION]... [TAG]...
19657 -h, --help print this help, then exit
19658 -V, --version print version number and configuration settings, then exit
19659 --config print configuration, then exit
19660 -q, --quiet, --silent
19661 do not print progress messages
19662 -d, --debug don't remove temporary files
19663 --recheck update $as_me by reconfiguring in the same conditions
19664 --file=FILE[:TEMPLATE]
19665 instantiate the configuration file FILE
19666 --header=FILE[:TEMPLATE]
19667 instantiate the configuration header FILE
19669 Configuration files:
19670 $config_files
19672 Configuration headers:
19673 $config_headers
19675 Configuration links:
19676 $config_links
19678 Configuration commands:
19679 $config_commands
19681 Report bugs to <wine-devel@winehq.org>.
19682 Wine home page: <http://www.winehq.org>."
19684 _ACEOF
19685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19686 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19687 ac_cs_version="\\
19688 Wine config.status 2.18
19689 configured by $0, generated by GNU Autoconf 2.69,
19690 with options \\"\$ac_cs_config\\"
19692 Copyright (C) 2012 Free Software Foundation, Inc.
19693 This config.status script is free software; the Free Software Foundation
19694 gives unlimited permission to copy, distribute and modify it."
19696 ac_pwd='$ac_pwd'
19697 srcdir='$srcdir'
19698 test -n "\$AWK" || AWK=awk
19699 _ACEOF
19701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19702 # The default lists apply if the user does not specify any file.
19703 ac_need_defaults=:
19704 while test $# != 0
19706 case $1 in
19707 --*=?*)
19708 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19709 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19710 ac_shift=:
19712 --*=)
19713 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19714 ac_optarg=
19715 ac_shift=:
19718 ac_option=$1
19719 ac_optarg=$2
19720 ac_shift=shift
19722 esac
19724 case $ac_option in
19725 # Handling of the options.
19726 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19727 ac_cs_recheck=: ;;
19728 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19729 $as_echo "$ac_cs_version"; exit ;;
19730 --config | --confi | --conf | --con | --co | --c )
19731 $as_echo "$ac_cs_config"; exit ;;
19732 --debug | --debu | --deb | --de | --d | -d )
19733 debug=: ;;
19734 --file | --fil | --fi | --f )
19735 $ac_shift
19736 case $ac_optarg in
19737 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19738 '') as_fn_error $? "missing file argument" ;;
19739 esac
19740 as_fn_append CONFIG_FILES " '$ac_optarg'"
19741 ac_need_defaults=false;;
19742 --header | --heade | --head | --hea )
19743 $ac_shift
19744 case $ac_optarg in
19745 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19746 esac
19747 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19748 ac_need_defaults=false;;
19749 --he | --h)
19750 # Conflict between --help and --header
19751 as_fn_error $? "ambiguous option: \`$1'
19752 Try \`$0 --help' for more information.";;
19753 --help | --hel | -h )
19754 $as_echo "$ac_cs_usage"; exit ;;
19755 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19756 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19757 ac_cs_silent=: ;;
19759 # This is an error.
19760 -*) as_fn_error $? "unrecognized option: \`$1'
19761 Try \`$0 --help' for more information." ;;
19763 *) as_fn_append ac_config_targets " $1"
19764 ac_need_defaults=false ;;
19766 esac
19767 shift
19768 done
19770 ac_configure_extra_args=
19772 if $ac_cs_silent; then
19773 exec 6>/dev/null
19774 ac_configure_extra_args="$ac_configure_extra_args --silent"
19777 _ACEOF
19778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19779 if \$ac_cs_recheck; then
19780 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19781 shift
19782 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19783 CONFIG_SHELL='$SHELL'
19784 export CONFIG_SHELL
19785 exec "\$@"
19788 _ACEOF
19789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19790 exec 5>>config.log
19792 echo
19793 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19794 ## Running $as_me. ##
19795 _ASBOX
19796 $as_echo "$ac_log"
19797 } >&5
19799 _ACEOF
19800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19802 # INIT-COMMANDS
19804 wine_fn_output_makedep ()
19806 as_dir=tools; as_fn_mkdir_p
19807 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19809 wine_fn_output_makefile ()
19811 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19812 `cat $wine_rules_file`
19813 _WINE_EOF
19814 as_fn_error $? "could not create Makefile" "$LINENO" 5
19817 _ACEOF
19819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19821 # Handling of arguments.
19822 for ac_config_target in $ac_config_targets
19824 case $ac_config_target in
19825 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19826 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19827 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19828 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19829 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19830 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19831 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19832 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19833 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19834 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19835 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19836 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19837 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19839 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19840 esac
19841 done
19844 # If the user did not use the arguments to specify the items to instantiate,
19845 # then the envvar interface is used. Set only those that are not.
19846 # We use the long form for the default assignment because of an extremely
19847 # bizarre bug on SunOS 4.1.3.
19848 if $ac_need_defaults; then
19849 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19850 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19851 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19852 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19855 # Have a temporary directory for convenience. Make it in the build tree
19856 # simply because there is no reason against having it here, and in addition,
19857 # creating and moving files from /tmp can sometimes cause problems.
19858 # Hook for its removal unless debugging.
19859 # Note that there is a small window in which the directory will not be cleaned:
19860 # after its creation but before its name has been assigned to `$tmp'.
19861 $debug ||
19863 tmp= ac_tmp=
19864 trap 'exit_status=$?
19865 : "${ac_tmp:=$tmp}"
19866 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19868 trap 'as_fn_exit 1' 1 2 13 15
19870 # Create a (secure) tmp directory for tmp files.
19873 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19874 test -d "$tmp"
19875 } ||
19877 tmp=./conf$$-$RANDOM
19878 (umask 077 && mkdir "$tmp")
19879 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19880 ac_tmp=$tmp
19882 # Set up the scripts for CONFIG_FILES section.
19883 # No need to generate them if there are no CONFIG_FILES.
19884 # This happens for instance with `./config.status config.h'.
19885 if test -n "$CONFIG_FILES"; then
19888 ac_cr=`echo X | tr X '\015'`
19889 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19890 # But we know of no other shell where ac_cr would be empty at this
19891 # point, so we can use a bashism as a fallback.
19892 if test "x$ac_cr" = x; then
19893 eval ac_cr=\$\'\\r\'
19895 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19896 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19897 ac_cs_awk_cr='\\r'
19898 else
19899 ac_cs_awk_cr=$ac_cr
19902 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19903 _ACEOF
19907 echo "cat >conf$$subs.awk <<_ACEOF" &&
19908 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19909 echo "_ACEOF"
19910 } >conf$$subs.sh ||
19911 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19912 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19913 ac_delim='%!_!# '
19914 for ac_last_try in false false false false false :; do
19915 . ./conf$$subs.sh ||
19916 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19918 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19919 if test $ac_delim_n = $ac_delim_num; then
19920 break
19921 elif $ac_last_try; then
19922 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19923 else
19924 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19926 done
19927 rm -f conf$$subs.sh
19929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19930 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19931 _ACEOF
19932 sed -n '
19934 s/^/S["/; s/!.*/"]=/
19937 s/^[^!]*!//
19938 :repl
19939 t repl
19940 s/'"$ac_delim"'$//
19941 t delim
19944 s/\(.\{148\}\)..*/\1/
19945 t more1
19946 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19949 b repl
19950 :more1
19951 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19954 s/.\{148\}//
19955 t nl
19956 :delim
19958 s/\(.\{148\}\)..*/\1/
19959 t more2
19960 s/["\\]/\\&/g; s/^/"/; s/$/"/
19963 :more2
19964 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19967 s/.\{148\}//
19968 t delim
19969 ' <conf$$subs.awk | sed '
19970 /^[^""]/{
19972 s/\n//
19974 ' >>$CONFIG_STATUS || ac_write_fail=1
19975 rm -f conf$$subs.awk
19976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19977 _ACAWK
19978 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19979 for (key in S) S_is_set[key] = 1
19980 FS = "\a"
19984 line = $ 0
19985 nfields = split(line, field, "@")
19986 substed = 0
19987 len = length(field[1])
19988 for (i = 2; i < nfields; i++) {
19989 key = field[i]
19990 keylen = length(key)
19991 if (S_is_set[key]) {
19992 value = S[key]
19993 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19994 len += length(value) + length(field[++i])
19995 substed = 1
19996 } else
19997 len += 1 + keylen
20000 print line
20003 _ACAWK
20004 _ACEOF
20005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20006 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20007 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20008 else
20010 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20011 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20012 _ACEOF
20014 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20015 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20016 # trailing colons and then remove the whole line if VPATH becomes empty
20017 # (actually we leave an empty line to preserve line numbers).
20018 if test "x$srcdir" = x.; then
20019 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20021 s///
20022 s/^/:/
20023 s/[ ]*$/:/
20024 s/:\$(srcdir):/:/g
20025 s/:\${srcdir}:/:/g
20026 s/:@srcdir@:/:/g
20027 s/^:*//
20028 s/:*$//
20030 s/\(=[ ]*\).*/\1/
20032 s/\n//
20033 s/^[^=]*=[ ]*$//
20037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20038 fi # test -n "$CONFIG_FILES"
20040 # Set up the scripts for CONFIG_HEADERS section.
20041 # No need to generate them if there are no CONFIG_HEADERS.
20042 # This happens for instance with `./config.status Makefile'.
20043 if test -n "$CONFIG_HEADERS"; then
20044 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20045 BEGIN {
20046 _ACEOF
20048 # Transform confdefs.h into an awk script `defines.awk', embedded as
20049 # here-document in config.status, that substitutes the proper values into
20050 # config.h.in to produce config.h.
20052 # Create a delimiter string that does not exist in confdefs.h, to ease
20053 # handling of long lines.
20054 ac_delim='%!_!# '
20055 for ac_last_try in false false :; do
20056 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20057 if test -z "$ac_tt"; then
20058 break
20059 elif $ac_last_try; then
20060 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20061 else
20062 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20064 done
20066 # For the awk script, D is an array of macro values keyed by name,
20067 # likewise P contains macro parameters if any. Preserve backslash
20068 # newline sequences.
20070 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20071 sed -n '
20072 s/.\{148\}/&'"$ac_delim"'/g
20073 t rset
20074 :rset
20075 s/^[ ]*#[ ]*define[ ][ ]*/ /
20076 t def
20078 :def
20079 s/\\$//
20080 t bsnl
20081 s/["\\]/\\&/g
20082 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20083 D["\1"]=" \3"/p
20084 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20086 :bsnl
20087 s/["\\]/\\&/g
20088 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20089 D["\1"]=" \3\\\\\\n"\\/p
20090 t cont
20091 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20092 t cont
20094 :cont
20096 s/.\{148\}/&'"$ac_delim"'/g
20097 t clear
20098 :clear
20099 s/\\$//
20100 t bsnlc
20101 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20103 :bsnlc
20104 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20105 b cont
20106 ' <confdefs.h | sed '
20107 s/'"$ac_delim"'/"\\\
20108 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20111 for (key in D) D_is_set[key] = 1
20112 FS = "\a"
20114 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20115 line = \$ 0
20116 split(line, arg, " ")
20117 if (arg[1] == "#") {
20118 defundef = arg[2]
20119 mac1 = arg[3]
20120 } else {
20121 defundef = substr(arg[1], 2)
20122 mac1 = arg[2]
20124 split(mac1, mac2, "(") #)
20125 macro = mac2[1]
20126 prefix = substr(line, 1, index(line, defundef) - 1)
20127 if (D_is_set[macro]) {
20128 # Preserve the white space surrounding the "#".
20129 print prefix "define", macro P[macro] D[macro]
20130 next
20131 } else {
20132 # Replace #undef with comments. This is necessary, for example,
20133 # in the case of _POSIX_SOURCE, which is predefined and required
20134 # on some systems where configure will not decide to define it.
20135 if (defundef == "undef") {
20136 print "/*", prefix defundef, macro, "*/"
20137 next
20141 { print }
20142 _ACAWK
20143 _ACEOF
20144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20145 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20146 fi # test -n "$CONFIG_HEADERS"
20149 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20150 shift
20151 for ac_tag
20153 case $ac_tag in
20154 :[FHLC]) ac_mode=$ac_tag; continue;;
20155 esac
20156 case $ac_mode$ac_tag in
20157 :[FHL]*:*);;
20158 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20159 :[FH]-) ac_tag=-:-;;
20160 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20161 esac
20162 ac_save_IFS=$IFS
20163 IFS=:
20164 set x $ac_tag
20165 IFS=$ac_save_IFS
20166 shift
20167 ac_file=$1
20168 shift
20170 case $ac_mode in
20171 :L) ac_source=$1;;
20172 :[FH])
20173 ac_file_inputs=
20174 for ac_f
20176 case $ac_f in
20177 -) ac_f="$ac_tmp/stdin";;
20178 *) # Look for the file first in the build tree, then in the source tree
20179 # (if the path is not absolute). The absolute path cannot be DOS-style,
20180 # because $ac_f cannot contain `:'.
20181 test -f "$ac_f" ||
20182 case $ac_f in
20183 [\\/$]*) false;;
20184 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20185 esac ||
20186 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20187 esac
20188 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20189 as_fn_append ac_file_inputs " '$ac_f'"
20190 done
20192 # Let's still pretend it is `configure' which instantiates (i.e., don't
20193 # use $as_me), people would be surprised to read:
20194 # /* config.h. Generated by config.status. */
20195 configure_input='Generated from '`
20196 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20197 `' by configure.'
20198 if test x"$ac_file" != x-; then
20199 configure_input="$ac_file. $configure_input"
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20201 $as_echo "$as_me: creating $ac_file" >&6;}
20203 # Neutralize special characters interpreted by sed in replacement strings.
20204 case $configure_input in #(
20205 *\&* | *\|* | *\\* )
20206 ac_sed_conf_input=`$as_echo "$configure_input" |
20207 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20208 *) ac_sed_conf_input=$configure_input;;
20209 esac
20211 case $ac_tag in
20212 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20213 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20214 esac
20216 esac
20218 ac_dir=`$as_dirname -- "$ac_file" ||
20219 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20220 X"$ac_file" : 'X\(//\)[^/]' \| \
20221 X"$ac_file" : 'X\(//\)$' \| \
20222 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20223 $as_echo X"$ac_file" |
20224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20225 s//\1/
20228 /^X\(\/\/\)[^/].*/{
20229 s//\1/
20232 /^X\(\/\/\)$/{
20233 s//\1/
20236 /^X\(\/\).*/{
20237 s//\1/
20240 s/.*/./; q'`
20241 as_dir="$ac_dir"; as_fn_mkdir_p
20242 ac_builddir=.
20244 case "$ac_dir" in
20245 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20247 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20248 # A ".." for each directory in $ac_dir_suffix.
20249 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20250 case $ac_top_builddir_sub in
20251 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20252 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20253 esac ;;
20254 esac
20255 ac_abs_top_builddir=$ac_pwd
20256 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20257 # for backward compatibility:
20258 ac_top_builddir=$ac_top_build_prefix
20260 case $srcdir in
20261 .) # We are building in place.
20262 ac_srcdir=.
20263 ac_top_srcdir=$ac_top_builddir_sub
20264 ac_abs_top_srcdir=$ac_pwd ;;
20265 [\\/]* | ?:[\\/]* ) # Absolute name.
20266 ac_srcdir=$srcdir$ac_dir_suffix;
20267 ac_top_srcdir=$srcdir
20268 ac_abs_top_srcdir=$srcdir ;;
20269 *) # Relative name.
20270 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20271 ac_top_srcdir=$ac_top_build_prefix$srcdir
20272 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20273 esac
20274 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20277 case $ac_mode in
20280 # CONFIG_FILE
20283 _ACEOF
20285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20286 # If the template does not know about datarootdir, expand it.
20287 # FIXME: This hack should be removed a few years after 2.60.
20288 ac_datarootdir_hack=; ac_datarootdir_seen=
20289 ac_sed_dataroot='
20290 /datarootdir/ {
20294 /@datadir@/p
20295 /@docdir@/p
20296 /@infodir@/p
20297 /@localedir@/p
20298 /@mandir@/p'
20299 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20300 *datarootdir*) ac_datarootdir_seen=yes;;
20301 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20303 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20304 _ACEOF
20305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20306 ac_datarootdir_hack='
20307 s&@datadir@&$datadir&g
20308 s&@docdir@&$docdir&g
20309 s&@infodir@&$infodir&g
20310 s&@localedir@&$localedir&g
20311 s&@mandir@&$mandir&g
20312 s&\\\${datarootdir}&$datarootdir&g' ;;
20313 esac
20314 _ACEOF
20316 # Neutralize VPATH when `$srcdir' = `.'.
20317 # Shell code in configure.ac might set extrasub.
20318 # FIXME: do we really want to maintain this feature?
20319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20320 ac_sed_extra="$ac_vpsub
20321 $extrasub
20322 _ACEOF
20323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20325 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20326 s|@configure_input@|$ac_sed_conf_input|;t t
20327 s&@top_builddir@&$ac_top_builddir_sub&;t t
20328 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20329 s&@srcdir@&$ac_srcdir&;t t
20330 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20331 s&@top_srcdir@&$ac_top_srcdir&;t t
20332 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20333 s&@builddir@&$ac_builddir&;t t
20334 s&@abs_builddir@&$ac_abs_builddir&;t t
20335 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20336 $ac_datarootdir_hack
20338 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20339 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20341 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20342 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20343 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20344 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20346 which seems to be undefined. Please make sure it is defined" >&5
20347 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20348 which seems to be undefined. Please make sure it is defined" >&2;}
20350 rm -f "$ac_tmp/stdin"
20351 case $ac_file in
20352 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20353 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20354 esac \
20355 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20359 # CONFIG_HEADER
20361 if test x"$ac_file" != x-; then
20363 $as_echo "/* $configure_input */" \
20364 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20365 } >"$ac_tmp/config.h" \
20366 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20367 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20369 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20370 else
20371 rm -f "$ac_file"
20372 mv "$ac_tmp/config.h" "$ac_file" \
20373 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20375 else
20376 $as_echo "/* $configure_input */" \
20377 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20378 || as_fn_error $? "could not create -" "$LINENO" 5
20383 # CONFIG_LINK
20386 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20388 else
20389 # Prefer the file from the source tree if names are identical.
20390 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20391 ac_source=$srcdir/$ac_source
20394 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20395 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20397 if test ! -r "$ac_source"; then
20398 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20400 rm -f "$ac_file"
20402 # Try a relative symlink, then a hard link, then a copy.
20403 case $ac_source in
20404 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20405 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20406 esac
20407 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20408 ln "$ac_source" "$ac_file" 2>/dev/null ||
20409 cp -p "$ac_source" "$ac_file" ||
20410 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20413 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20414 $as_echo "$as_me: executing $ac_file commands" >&6;}
20416 esac
20419 case $ac_file$ac_mode in
20420 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20421 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20422 "Makefile":C) wine_fn_output_makefile Makefile ;;
20424 esac
20425 done # for ac_tag
20428 as_fn_exit 0
20429 _ACEOF
20430 ac_clean_files=$ac_clean_files_save
20432 test $ac_write_fail = 0 ||
20433 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20436 # configure is writing to config.log, and then calls config.status.
20437 # config.status does its own redirection, appending to config.log.
20438 # Unfortunately, on DOS this fails, as config.log is still kept open
20439 # by configure, so config.status won't be able to write to it; its
20440 # output is simply discarded. So we exec the FD to /dev/null,
20441 # effectively closing config.log, so it can be properly (re)opened and
20442 # appended to by config.status. When coming back to configure, we
20443 # need to make the FD available again.
20444 if test "$no_create" != yes; then
20445 ac_cs_success=:
20446 ac_config_status_args=
20447 test "$silent" = yes &&
20448 ac_config_status_args="$ac_config_status_args --quiet"
20449 exec 5>/dev/null
20450 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20451 exec 5>>config.log
20452 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20453 # would make configure fail if this is the last instruction.
20454 $ac_cs_success || as_fn_exit 1
20456 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20458 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20462 if test "$no_create" = "yes"
20463 then
20464 exit 0
20467 ac_save_IFS="$IFS"
20468 if test "x$wine_notices" != x; then
20469 echo >&6
20470 IFS="|"
20471 for msg in $wine_notices; do
20472 IFS="$ac_save_IFS"
20473 if ${msg:+false} :; then :
20475 else
20476 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20477 $as_echo "$as_me: $msg" >&6;}
20479 done
20481 IFS="|"
20482 for msg in $wine_warnings; do
20483 IFS="$ac_save_IFS"
20484 if ${msg:+false} :; then :
20486 else
20487 echo >&2
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20489 $as_echo "$as_me: WARNING: $msg" >&2;}
20491 done
20492 IFS="$ac_save_IFS"
20494 $as_echo "
20495 $as_me: Finished. Do '${ac_make}' to compile Wine.
20496 " >&6