crypt32: In CRYPT_CollectionAdvanceEnum remove unneeded statement (cppcheck).
[wine.git] / configure
blob74fd4d4434cbab75292f18c41f140517aa4d2e5f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.18.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='2.18'
584 PACKAGE_STRING='Wine 2.18'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 FONTCONFIG_LIBS
652 FONTCONFIG_CFLAGS
653 CUPS_CFLAGS
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 UDEV_LIBS
657 UDEV_CFLAGS
658 OSS4_CFLAGS
659 ALSA_LIBS
660 GSTREAMER_LIBS
661 GSTREAMER_CFLAGS
662 PULSE_LIBS
663 PULSE_CFLAGS
664 GETTEXTPO_LIBS
665 Z_LIBS
666 FREETYPE_LIBS
667 FREETYPE_CFLAGS
668 LCMS2_LIBS
669 LCMS2_CFLAGS
670 RESOLV_LIBS
671 GPHOTO2_PORT_LIBS
672 GPHOTO2_PORT_CFLAGS
673 GPHOTO2_LIBS
674 GPHOTO2_CFLAGS
675 SANE_LIBS
676 SANE_CFLAGS
677 GNUTLS_LIBS
678 GNUTLS_CFLAGS
679 HAL_LIBS
680 HAL_CFLAGS
681 DBUS_LIBS
682 DBUS_CFLAGS
683 XSLT_LIBS
684 XSLT_CFLAGS
685 XML2_LIBS
686 XML2_CFLAGS
687 PCAP_LIBS
688 X_EXTRA_LIBS
689 X_LIBS
690 X_PRE_LIBS
691 X_CFLAGS
692 XMKMF
693 PTHREAD_LIBS
694 CROSSCFLAGS
695 CROSSCC
696 CROSSTARGET
697 PRELINK
698 WINELOADER_DEPENDS
699 CARBON_LIBS
700 QUICKTIME_LIBS
701 OPENCL_LIBS
702 OPENAL_LIBS
703 COREAUDIO_LIBS
704 SECURITY_LIBS
705 DISKARBITRATION_LIBS
706 APPKIT_LIBS
707 CORESERVICES_LIBS
708 APPLICATIONSERVICES_LIBS
709 FORCEFEEDBACK_LIBS
710 IOKIT_LIBS
711 COREFOUNDATION_LIBS
712 LIBWINE_DEPENDS
713 LIBWINE_LDFLAGS
714 LIBWINE_INSTALL_DEV
715 LIBWINE_INSTALL_LIB
716 LIBWINE_IMPORTLIB
717 LIBWINE_SHAREDLIB
718 SOCKET_LIBS
719 DLLTOOL
720 WINELOADER_PROGRAMS
721 ALL_TEST_RESOURCES
722 CONFIGURE_TARGETS
723 DISABLED_SUBDIRS
724 SUBDIRS
725 READELF
726 OTOOL
728 WINELOADER_LDFLAGS
729 LDEXECFLAGS
730 LDRPATH_LOCAL
731 LDRPATH_INSTALL
732 DLLFLAGS
733 dlldir
735 OPENGL_LIBS
736 ICOTOOL
737 CONVERT
738 RSVG
739 FONTFORGE
740 PKG_CONFIG
741 MSGFMT
742 LDCONFIG
743 EGREP
744 GREP
745 LN_S
746 RANLIB
747 ARFLAGS
748 STRIP
749 ac_ct_AR
751 BISON
752 FLEX
753 TOOLSDIR
754 TARGETFLAGS
756 CPPBIN
757 ac_ct_CXX
758 CXXFLAGS
760 OBJEXT
761 EXEEXT
762 ac_ct_CC
763 CPPFLAGS
764 LDFLAGS
765 CFLAGS
767 SET_MAKE
768 host_os
769 host_vendor
770 host_cpu
771 host
772 build_os
773 build_vendor
774 build_cpu
775 build
776 target_alias
777 host_alias
778 build_alias
779 LIBS
780 ECHO_T
781 ECHO_N
782 ECHO_C
783 DEFS
784 mandir
785 localedir
786 libdir
787 psdir
788 pdfdir
789 dvidir
790 htmldir
791 infodir
792 docdir
793 oldincludedir
794 includedir
795 runstatedir
796 localstatedir
797 sharedstatedir
798 sysconfdir
799 datadir
800 datarootdir
801 libexecdir
802 sbindir
803 bindir
804 program_transform_name
805 prefix
806 exec_prefix
807 PACKAGE_URL
808 PACKAGE_BUGREPORT
809 PACKAGE_STRING
810 PACKAGE_VERSION
811 PACKAGE_TARNAME
812 PACKAGE_NAME
813 PATH_SEPARATOR
814 SHELL'
815 ac_subst_files=''
816 ac_user_opts='
817 enable_option_checking
818 enable_win16
819 enable_win64
820 enable_tests
821 enable_maintainer_mode
822 with_alsa
823 with_capi
824 with_cms
825 with_coreaudio
826 with_cups
827 with_curses
828 with_dbus
829 with_fontconfig
830 with_freetype
831 with_gettext
832 with_gettextpo
833 with_gphoto
834 with_glu
835 with_gnutls
836 with_gsm
837 with_gstreamer
838 with_hal
839 with_jpeg
840 with_ldap
841 with_mpg123
842 with_netapi
843 with_openal
844 with_opencl
845 with_opengl
846 with_osmesa
847 with_oss
848 with_pcap
849 with_png
850 with_pthread
851 with_pulse
852 with_sane
853 with_tiff
854 with_udev
855 with_v4l
856 with_xcomposite
857 with_xcursor
858 with_xfixes
859 with_xinerama
860 with_xinput
861 with_xinput2
862 with_xml
863 with_xrandr
864 with_xrender
865 with_xshape
866 with_xshm
867 with_xslt
868 with_xxf86vm
869 with_zlib
870 with_wine_tools
871 with_wine64
872 enable_largefile
873 with_x
874 enable_acledit
875 enable_aclui
876 enable_activeds
877 enable_actxprxy
878 enable_adsldpc
879 enable_advapi32
880 enable_advpack
881 enable_amstream
882 enable_api_ms_win_appmodel_identity_l1_1_0
883 enable_api_ms_win_appmodel_runtime_l1_1_1
884 enable_api_ms_win_appmodel_runtime_l1_1_2
885 enable_api_ms_win_core_apiquery_l1_1_0
886 enable_api_ms_win_core_appcompat_l1_1_1
887 enable_api_ms_win_core_appinit_l1_1_0
888 enable_api_ms_win_core_atoms_l1_1_0
889 enable_api_ms_win_core_bem_l1_1_0
890 enable_api_ms_win_core_com_l1_1_0
891 enable_api_ms_win_core_com_l1_1_1
892 enable_api_ms_win_core_com_private_l1_1_0
893 enable_api_ms_win_core_console_l1_1_0
894 enable_api_ms_win_core_console_l2_1_0
895 enable_api_ms_win_core_crt_l1_1_0
896 enable_api_ms_win_core_crt_l2_1_0
897 enable_api_ms_win_core_datetime_l1_1_0
898 enable_api_ms_win_core_datetime_l1_1_1
899 enable_api_ms_win_core_debug_l1_1_0
900 enable_api_ms_win_core_debug_l1_1_1
901 enable_api_ms_win_core_delayload_l1_1_0
902 enable_api_ms_win_core_delayload_l1_1_1
903 enable_api_ms_win_core_errorhandling_l1_1_0
904 enable_api_ms_win_core_errorhandling_l1_1_1
905 enable_api_ms_win_core_errorhandling_l1_1_2
906 enable_api_ms_win_core_errorhandling_l1_1_3
907 enable_api_ms_win_core_fibers_l1_1_0
908 enable_api_ms_win_core_fibers_l1_1_1
909 enable_api_ms_win_core_file_l1_1_0
910 enable_api_ms_win_core_file_l1_2_0
911 enable_api_ms_win_core_file_l1_2_1
912 enable_api_ms_win_core_file_l2_1_0
913 enable_api_ms_win_core_file_l2_1_1
914 enable_api_ms_win_core_file_l2_1_2
915 enable_api_ms_win_core_handle_l1_1_0
916 enable_api_ms_win_core_heap_l1_1_0
917 enable_api_ms_win_core_heap_l1_2_0
918 enable_api_ms_win_core_heap_l2_1_0
919 enable_api_ms_win_core_heap_obsolete_l1_1_0
920 enable_api_ms_win_core_interlocked_l1_1_0
921 enable_api_ms_win_core_interlocked_l1_2_0
922 enable_api_ms_win_core_io_l1_1_0
923 enable_api_ms_win_core_io_l1_1_1
924 enable_api_ms_win_core_job_l1_1_0
925 enable_api_ms_win_core_job_l2_1_0
926 enable_api_ms_win_core_kernel32_legacy_l1_1_0
927 enable_api_ms_win_core_kernel32_legacy_l1_1_1
928 enable_api_ms_win_core_kernel32_private_l1_1_1
929 enable_api_ms_win_core_libraryloader_l1_1_0
930 enable_api_ms_win_core_libraryloader_l1_1_1
931 enable_api_ms_win_core_libraryloader_l1_2_0
932 enable_api_ms_win_core_libraryloader_l1_2_2
933 enable_api_ms_win_core_localization_l1_1_0
934 enable_api_ms_win_core_localization_l1_2_0
935 enable_api_ms_win_core_localization_l1_2_1
936 enable_api_ms_win_core_localization_l2_1_0
937 enable_api_ms_win_core_localization_obsolete_l1_1_0
938 enable_api_ms_win_core_localization_obsolete_l1_2_0
939 enable_api_ms_win_core_localization_obsolete_l1_3_0
940 enable_api_ms_win_core_localization_private_l1_1_0
941 enable_api_ms_win_core_localregistry_l1_1_0
942 enable_api_ms_win_core_memory_l1_1_0
943 enable_api_ms_win_core_memory_l1_1_1
944 enable_api_ms_win_core_memory_l1_1_2
945 enable_api_ms_win_core_misc_l1_1_0
946 enable_api_ms_win_core_namedpipe_l1_1_0
947 enable_api_ms_win_core_namedpipe_l1_2_0
948 enable_api_ms_win_core_namespace_l1_1_0
949 enable_api_ms_win_core_normalization_l1_1_0
950 enable_api_ms_win_core_path_l1_1_0
951 enable_api_ms_win_core_privateprofile_l1_1_1
952 enable_api_ms_win_core_processenvironment_l1_1_0
953 enable_api_ms_win_core_processenvironment_l1_2_0
954 enable_api_ms_win_core_processthreads_l1_1_0
955 enable_api_ms_win_core_processthreads_l1_1_1
956 enable_api_ms_win_core_processthreads_l1_1_2
957 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
958 enable_api_ms_win_core_profile_l1_1_0
959 enable_api_ms_win_core_psapi_ansi_l1_1_0
960 enable_api_ms_win_core_psapi_l1_1_0
961 enable_api_ms_win_core_psapi_obsolete_l1_1_0
962 enable_api_ms_win_core_quirks_l1_1_0
963 enable_api_ms_win_core_realtime_l1_1_0
964 enable_api_ms_win_core_registry_l1_1_0
965 enable_api_ms_win_core_registry_l2_1_0
966 enable_api_ms_win_core_registryuserspecific_l1_1_0
967 enable_api_ms_win_core_rtlsupport_l1_1_0
968 enable_api_ms_win_core_rtlsupport_l1_2_0
969 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
970 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
971 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
972 enable_api_ms_win_core_sidebyside_l1_1_0
973 enable_api_ms_win_core_string_l1_1_0
974 enable_api_ms_win_core_string_l2_1_0
975 enable_api_ms_win_core_string_obsolete_l1_1_0
976 enable_api_ms_win_core_stringansi_l1_1_0
977 enable_api_ms_win_core_synch_l1_1_0
978 enable_api_ms_win_core_synch_l1_2_0
979 enable_api_ms_win_core_synch_l1_2_1
980 enable_api_ms_win_core_sysinfo_l1_1_0
981 enable_api_ms_win_core_sysinfo_l1_2_0
982 enable_api_ms_win_core_sysinfo_l1_2_1
983 enable_api_ms_win_core_threadpool_l1_1_0
984 enable_api_ms_win_core_threadpool_l1_2_0
985 enable_api_ms_win_core_threadpool_legacy_l1_1_0
986 enable_api_ms_win_core_threadpool_private_l1_1_0
987 enable_api_ms_win_core_timezone_l1_1_0
988 enable_api_ms_win_core_toolhelp_l1_1_0
989 enable_api_ms_win_core_url_l1_1_0
990 enable_api_ms_win_core_util_l1_1_0
991 enable_api_ms_win_core_version_l1_1_0
992 enable_api_ms_win_core_version_l1_1_1
993 enable_api_ms_win_core_version_private_l1_1_0
994 enable_api_ms_win_core_versionansi_l1_1_0
995 enable_api_ms_win_core_windowserrorreporting_l1_1_0
996 enable_api_ms_win_core_winrt_error_l1_1_0
997 enable_api_ms_win_core_winrt_error_l1_1_1
998 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
999 enable_api_ms_win_core_winrt_l1_1_0
1000 enable_api_ms_win_core_winrt_registration_l1_1_0
1001 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1002 enable_api_ms_win_core_winrt_string_l1_1_0
1003 enable_api_ms_win_core_wow64_l1_1_0
1004 enable_api_ms_win_core_wow64_l1_1_1
1005 enable_api_ms_win_core_xstate_l1_1_0
1006 enable_api_ms_win_core_xstate_l2_1_0
1007 enable_api_ms_win_crt_conio_l1_1_0
1008 enable_api_ms_win_crt_convert_l1_1_0
1009 enable_api_ms_win_crt_environment_l1_1_0
1010 enable_api_ms_win_crt_filesystem_l1_1_0
1011 enable_api_ms_win_crt_heap_l1_1_0
1012 enable_api_ms_win_crt_locale_l1_1_0
1013 enable_api_ms_win_crt_math_l1_1_0
1014 enable_api_ms_win_crt_multibyte_l1_1_0
1015 enable_api_ms_win_crt_private_l1_1_0
1016 enable_api_ms_win_crt_process_l1_1_0
1017 enable_api_ms_win_crt_runtime_l1_1_0
1018 enable_api_ms_win_crt_stdio_l1_1_0
1019 enable_api_ms_win_crt_string_l1_1_0
1020 enable_api_ms_win_crt_time_l1_1_0
1021 enable_api_ms_win_crt_utility_l1_1_0
1022 enable_api_ms_win_devices_config_l1_1_1
1023 enable_api_ms_win_devices_query_l1_1_1
1024 enable_api_ms_win_downlevel_advapi32_l1_1_0
1025 enable_api_ms_win_downlevel_advapi32_l2_1_0
1026 enable_api_ms_win_downlevel_normaliz_l1_1_0
1027 enable_api_ms_win_downlevel_ole32_l1_1_0
1028 enable_api_ms_win_downlevel_shell32_l1_1_0
1029 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1030 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1031 enable_api_ms_win_downlevel_user32_l1_1_0
1032 enable_api_ms_win_downlevel_version_l1_1_0
1033 enable_api_ms_win_dx_d3dkmt_l1_1_0
1034 enable_api_ms_win_eventing_classicprovider_l1_1_0
1035 enable_api_ms_win_eventing_consumer_l1_1_0
1036 enable_api_ms_win_eventing_controller_l1_1_0
1037 enable_api_ms_win_eventing_legacy_l1_1_0
1038 enable_api_ms_win_eventing_provider_l1_1_0
1039 enable_api_ms_win_eventlog_legacy_l1_1_0
1040 enable_api_ms_win_mm_joystick_l1_1_0
1041 enable_api_ms_win_mm_misc_l1_1_1
1042 enable_api_ms_win_mm_mme_l1_1_0
1043 enable_api_ms_win_mm_time_l1_1_0
1044 enable_api_ms_win_ntuser_dc_access_l1_1_0
1045 enable_api_ms_win_ntuser_rectangle_l1_1_0
1046 enable_api_ms_win_power_base_l1_1_0
1047 enable_api_ms_win_power_setting_l1_1_0
1048 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1049 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1050 enable_api_ms_win_security_audit_l1_1_1
1051 enable_api_ms_win_security_base_l1_1_0
1052 enable_api_ms_win_security_base_l1_2_0
1053 enable_api_ms_win_security_base_private_l1_1_1
1054 enable_api_ms_win_security_credentials_l1_1_0
1055 enable_api_ms_win_security_grouppolicy_l1_1_0
1056 enable_api_ms_win_security_lsalookup_l1_1_0
1057 enable_api_ms_win_security_lsalookup_l1_1_1
1058 enable_api_ms_win_security_lsalookup_l2_1_1
1059 enable_api_ms_win_security_lsapolicy_l1_1_0
1060 enable_api_ms_win_security_provider_l1_1_0
1061 enable_api_ms_win_security_sddl_l1_1_0
1062 enable_api_ms_win_security_systemfunctions_l1_1_0
1063 enable_api_ms_win_service_core_l1_1_0
1064 enable_api_ms_win_service_core_l1_1_1
1065 enable_api_ms_win_service_management_l1_1_0
1066 enable_api_ms_win_service_management_l2_1_0
1067 enable_api_ms_win_service_private_l1_1_1
1068 enable_api_ms_win_service_winsvc_l1_1_0
1069 enable_api_ms_win_service_winsvc_l1_2_0
1070 enable_api_ms_win_shell_shellcom_l1_1_0
1071 enable_api_ms_win_shell_shellfolders_l1_1_0
1072 enable_apphelp
1073 enable_appwiz_cpl
1074 enable_atl
1075 enable_atl100
1076 enable_atl110
1077 enable_atl80
1078 enable_atl90
1079 enable_authz
1080 enable_avicap32
1081 enable_avifil32
1082 enable_avrt
1083 enable_bcrypt
1084 enable_bluetoothapis
1085 enable_browseui
1086 enable_bthprops_cpl
1087 enable_cabinet
1088 enable_capi2032
1089 enable_cards
1090 enable_cfgmgr32
1091 enable_clusapi
1092 enable_combase
1093 enable_comcat
1094 enable_comctl32
1095 enable_comdlg32
1096 enable_compstui
1097 enable_comsvcs
1098 enable_concrt140
1099 enable_connect
1100 enable_credui
1101 enable_crtdll
1102 enable_crypt32
1103 enable_cryptdlg
1104 enable_cryptdll
1105 enable_cryptext
1106 enable_cryptnet
1107 enable_cryptui
1108 enable_ctapi32
1109 enable_ctl3d32
1110 enable_d2d1
1111 enable_d3d10
1112 enable_d3d10_1
1113 enable_d3d10core
1114 enable_d3d11
1115 enable_d3d8
1116 enable_d3d9
1117 enable_d3dcompiler_33
1118 enable_d3dcompiler_34
1119 enable_d3dcompiler_35
1120 enable_d3dcompiler_36
1121 enable_d3dcompiler_37
1122 enable_d3dcompiler_38
1123 enable_d3dcompiler_39
1124 enable_d3dcompiler_40
1125 enable_d3dcompiler_41
1126 enable_d3dcompiler_42
1127 enable_d3dcompiler_43
1128 enable_d3dcompiler_46
1129 enable_d3dcompiler_47
1130 enable_d3dim
1131 enable_d3drm
1132 enable_d3dx10_33
1133 enable_d3dx10_34
1134 enable_d3dx10_35
1135 enable_d3dx10_36
1136 enable_d3dx10_37
1137 enable_d3dx10_38
1138 enable_d3dx10_39
1139 enable_d3dx10_40
1140 enable_d3dx10_41
1141 enable_d3dx10_42
1142 enable_d3dx10_43
1143 enable_d3dx11_42
1144 enable_d3dx11_43
1145 enable_d3dx9_24
1146 enable_d3dx9_25
1147 enable_d3dx9_26
1148 enable_d3dx9_27
1149 enable_d3dx9_28
1150 enable_d3dx9_29
1151 enable_d3dx9_30
1152 enable_d3dx9_31
1153 enable_d3dx9_32
1154 enable_d3dx9_33
1155 enable_d3dx9_34
1156 enable_d3dx9_35
1157 enable_d3dx9_36
1158 enable_d3dx9_37
1159 enable_d3dx9_38
1160 enable_d3dx9_39
1161 enable_d3dx9_40
1162 enable_d3dx9_41
1163 enable_d3dx9_42
1164 enable_d3dx9_43
1165 enable_d3dxof
1166 enable_davclnt
1167 enable_dbgeng
1168 enable_dbghelp
1169 enable_dciman32
1170 enable_ddraw
1171 enable_ddrawex
1172 enable_devenum
1173 enable_dhcpcsvc
1174 enable_difxapi
1175 enable_dinput
1176 enable_dinput8
1177 enable_dispex
1178 enable_dmband
1179 enable_dmcompos
1180 enable_dmime
1181 enable_dmloader
1182 enable_dmscript
1183 enable_dmstyle
1184 enable_dmsynth
1185 enable_dmusic
1186 enable_dmusic32
1187 enable_dnsapi
1188 enable_dplay
1189 enable_dplayx
1190 enable_dpnaddr
1191 enable_dpnet
1192 enable_dpnhpast
1193 enable_dpnlobby
1194 enable_dpvoice
1195 enable_dpwsockx
1196 enable_drmclien
1197 enable_dsound
1198 enable_dsquery
1199 enable_dssenh
1200 enable_dswave
1201 enable_dwmapi
1202 enable_dwrite
1203 enable_dx8vb
1204 enable_dxdiagn
1205 enable_dxgi
1206 enable_dxva2
1207 enable_esent
1208 enable_evr
1209 enable_explorerframe
1210 enable_ext_ms_win_authz_context_l1_1_0
1211 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1212 enable_ext_ms_win_gdi_dc_create_l1_1_1
1213 enable_ext_ms_win_gdi_dc_l1_2_0
1214 enable_ext_ms_win_gdi_devcaps_l1_1_0
1215 enable_ext_ms_win_gdi_draw_l1_1_1
1216 enable_ext_ms_win_gdi_render_l1_1_0
1217 enable_ext_ms_win_kernel32_package_current_l1_1_0
1218 enable_ext_ms_win_kernel32_package_l1_1_1
1219 enable_ext_ms_win_ntuser_message_l1_1_1
1220 enable_ext_ms_win_ntuser_private_l1_1_1
1221 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1222 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1223 enable_ext_ms_win_ntuser_window_l1_1_1
1224 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1225 enable_ext_ms_win_ras_rasapi32_l1_1_0
1226 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1227 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1228 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1229 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1230 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1231 enable_ext_ms_win_security_credui_l1_1_0
1232 enable_ext_ms_win_security_cryptui_l1_1_0
1233 enable_faultrep
1234 enable_fltlib
1235 enable_fltmgr_sys
1236 enable_fntcache
1237 enable_fontsub
1238 enable_fusion
1239 enable_fwpuclnt
1240 enable_gameux
1241 enable_gdi32
1242 enable_gdiplus
1243 enable_glu32
1244 enable_gphoto2_ds
1245 enable_gpkcsp
1246 enable_hal
1247 enable_hhctrl_ocx
1248 enable_hid
1249 enable_hidclass_sys
1250 enable_hlink
1251 enable_hnetcfg
1252 enable_httpapi
1253 enable_iccvid
1254 enable_icmp
1255 enable_ieframe
1256 enable_ieproxy
1257 enable_imaadp32_acm
1258 enable_imagehlp
1259 enable_imm32
1260 enable_inetcomm
1261 enable_inetcpl_cpl
1262 enable_inetmib1
1263 enable_infosoft
1264 enable_initpki
1265 enable_inkobj
1266 enable_inseng
1267 enable_iphlpapi
1268 enable_iprop
1269 enable_irprops_cpl
1270 enable_itircl
1271 enable_itss
1272 enable_joy_cpl
1273 enable_jscript
1274 enable_jsproxy
1275 enable_kernel32
1276 enable_kernelbase
1277 enable_ksuser
1278 enable_ktmw32
1279 enable_loadperf
1280 enable_localspl
1281 enable_localui
1282 enable_lz32
1283 enable_mapi32
1284 enable_mapistub
1285 enable_mciavi32
1286 enable_mcicda
1287 enable_mciqtz32
1288 enable_mciseq
1289 enable_mciwave
1290 enable_mf
1291 enable_mf3216
1292 enable_mfplat
1293 enable_mfreadwrite
1294 enable_mgmtapi
1295 enable_midimap
1296 enable_mlang
1297 enable_mmcndmgr
1298 enable_mmdevapi
1299 enable_mountmgr_sys
1300 enable_mpr
1301 enable_mprapi
1302 enable_msacm32_drv
1303 enable_msacm32
1304 enable_msadp32_acm
1305 enable_msasn1
1306 enable_mscat32
1307 enable_mscms
1308 enable_mscoree
1309 enable_msctf
1310 enable_msctfp
1311 enable_msdaps
1312 enable_msdelta
1313 enable_msdmo
1314 enable_msdrm
1315 enable_msftedit
1316 enable_msg711_acm
1317 enable_msgsm32_acm
1318 enable_mshtml_tlb
1319 enable_mshtml
1320 enable_msi
1321 enable_msident
1322 enable_msimg32
1323 enable_msimsg
1324 enable_msimtf
1325 enable_msisip
1326 enable_msisys_ocx
1327 enable_msls31
1328 enable_msnet32
1329 enable_mspatcha
1330 enable_msports
1331 enable_msrle32
1332 enable_msscript_ocx
1333 enable_mssign32
1334 enable_mssip32
1335 enable_mstask
1336 enable_msvcirt
1337 enable_msvcm80
1338 enable_msvcm90
1339 enable_msvcp100
1340 enable_msvcp110
1341 enable_msvcp120
1342 enable_msvcp120_app
1343 enable_msvcp140
1344 enable_msvcp60
1345 enable_msvcp70
1346 enable_msvcp71
1347 enable_msvcp80
1348 enable_msvcp90
1349 enable_msvcr100
1350 enable_msvcr110
1351 enable_msvcr120
1352 enable_msvcr120_app
1353 enable_msvcr70
1354 enable_msvcr71
1355 enable_msvcr80
1356 enable_msvcr90
1357 enable_msvcrt
1358 enable_msvcrt20
1359 enable_msvcrt40
1360 enable_msvcrtd
1361 enable_msvfw32
1362 enable_msvidc32
1363 enable_mswsock
1364 enable_msxml
1365 enable_msxml2
1366 enable_msxml3
1367 enable_msxml4
1368 enable_msxml6
1369 enable_mtxdm
1370 enable_ncrypt
1371 enable_nddeapi
1372 enable_ndis_sys
1373 enable_netapi32
1374 enable_netcfgx
1375 enable_netprofm
1376 enable_newdev
1377 enable_normaliz
1378 enable_npmshtml
1379 enable_npptools
1380 enable_ntdll
1381 enable_ntdsapi
1382 enable_ntoskrnl_exe
1383 enable_ntprint
1384 enable_objsel
1385 enable_odbc32
1386 enable_odbccp32
1387 enable_odbccu32
1388 enable_ole32
1389 enable_oleacc
1390 enable_oleaut32
1391 enable_olecli32
1392 enable_oledb32
1393 enable_oledlg
1394 enable_olepro32
1395 enable_olesvr32
1396 enable_olethk32
1397 enable_openal32
1398 enable_opencl
1399 enable_opengl32
1400 enable_packager
1401 enable_pdh
1402 enable_photometadatahandler
1403 enable_pidgen
1404 enable_powrprof
1405 enable_printui
1406 enable_prntvpt
1407 enable_propsys
1408 enable_psapi
1409 enable_pstorec
1410 enable_qcap
1411 enable_qedit
1412 enable_qmgr
1413 enable_qmgrprxy
1414 enable_quartz
1415 enable_query
1416 enable_rasapi32
1417 enable_rasdlg
1418 enable_regapi
1419 enable_resutils
1420 enable_riched20
1421 enable_riched32
1422 enable_rpcrt4
1423 enable_rsabase
1424 enable_rsaenh
1425 enable_rstrtmgr
1426 enable_rtutils
1427 enable_samlib
1428 enable_sane_ds
1429 enable_sapi
1430 enable_scarddlg
1431 enable_sccbase
1432 enable_schannel
1433 enable_schedsvc
1434 enable_scrobj
1435 enable_scrrun
1436 enable_scsiport_sys
1437 enable_secur32
1438 enable_security
1439 enable_sensapi
1440 enable_serialui
1441 enable_setupapi
1442 enable_sfc
1443 enable_sfc_os
1444 enable_shdoclc
1445 enable_shdocvw
1446 enable_shell32
1447 enable_shfolder
1448 enable_shlwapi
1449 enable_slbcsp
1450 enable_slc
1451 enable_snmpapi
1452 enable_softpub
1453 enable_spoolss
1454 enable_sspicli
1455 enable_stdole2_tlb
1456 enable_stdole32_tlb
1457 enable_sti
1458 enable_svrapi
1459 enable_sxs
1460 enable_t2embed
1461 enable_tapi32
1462 enable_taskschd
1463 enable_tdh
1464 enable_tdi_sys
1465 enable_traffic
1466 enable_twain_32
1467 enable_ucrtbase
1468 enable_uiautomationcore
1469 enable_uiribbon
1470 enable_unicows
1471 enable_updspapi
1472 enable_url
1473 enable_urlmon
1474 enable_usbd_sys
1475 enable_user32
1476 enable_userenv
1477 enable_usp10
1478 enable_uxtheme
1479 enable_vbscript
1480 enable_vcomp
1481 enable_vcomp100
1482 enable_vcomp110
1483 enable_vcomp120
1484 enable_vcomp140
1485 enable_vcomp90
1486 enable_vcruntime140
1487 enable_vdmdbg
1488 enable_version
1489 enable_virtdisk
1490 enable_vssapi
1491 enable_wbemdisp
1492 enable_wbemprox
1493 enable_webservices
1494 enable_wer
1495 enable_wevtapi
1496 enable_wiaservc
1497 enable_wimgapi
1498 enable_windowscodecs
1499 enable_windowscodecsext
1500 enable_winealsa_drv
1501 enable_wineandroid_drv
1502 enable_winebus_sys
1503 enable_winecoreaudio_drv
1504 enable_wined3d
1505 enable_winegstreamer
1506 enable_winehid_sys
1507 enable_winejoystick_drv
1508 enable_winemac_drv
1509 enable_winemapi
1510 enable_winemp3_acm
1511 enable_wineoss_drv
1512 enable_wineps_drv
1513 enable_winepulse_drv
1514 enable_wineqtdecoder
1515 enable_winex11_drv
1516 enable_wing32
1517 enable_winhttp
1518 enable_wininet
1519 enable_winmm
1520 enable_winnls32
1521 enable_winscard
1522 enable_winspool_drv
1523 enable_winsta
1524 enable_wintab32
1525 enable_wintrust
1526 enable_winusb
1527 enable_wlanapi
1528 enable_wldap32
1529 enable_wmasf
1530 enable_wmi
1531 enable_wmiutils
1532 enable_wmp
1533 enable_wmphoto
1534 enable_wmvcore
1535 enable_wnaspi32
1536 enable_wpc
1537 enable_wpcap
1538 enable_ws2_32
1539 enable_wsdapi
1540 enable_wshom_ocx
1541 enable_wsnmp32
1542 enable_wsock32
1543 enable_wtsapi32
1544 enable_wuapi
1545 enable_wuaueng
1546 enable_x3daudio1_0
1547 enable_x3daudio1_1
1548 enable_x3daudio1_2
1549 enable_x3daudio1_3
1550 enable_x3daudio1_4
1551 enable_x3daudio1_5
1552 enable_x3daudio1_6
1553 enable_x3daudio1_7
1554 enable_xapofx1_1
1555 enable_xapofx1_2
1556 enable_xapofx1_3
1557 enable_xapofx1_4
1558 enable_xapofx1_5
1559 enable_xaudio2_0
1560 enable_xaudio2_1
1561 enable_xaudio2_2
1562 enable_xaudio2_3
1563 enable_xaudio2_4
1564 enable_xaudio2_5
1565 enable_xaudio2_6
1566 enable_xaudio2_7
1567 enable_xaudio2_8
1568 enable_xaudio2_9
1569 enable_xinput1_1
1570 enable_xinput1_2
1571 enable_xinput1_3
1572 enable_xinput1_4
1573 enable_xinput9_1_0
1574 enable_xmllite
1575 enable_xolehlp
1576 enable_xpsprint
1577 enable_xpssvcs
1578 enable_fonts
1579 enable_include
1580 enable_libs_port
1581 enable_libs_wine
1582 enable_libs_wpp
1583 enable_loader
1584 enable_po
1585 enable_arp
1586 enable_aspnet_regiis
1587 enable_attrib
1588 enable_cabarc
1589 enable_cacls
1590 enable_clock
1591 enable_cmd
1592 enable_conhost
1593 enable_control
1594 enable_cscript
1595 enable_dpnsvr
1596 enable_dxdiag
1597 enable_eject
1598 enable_expand
1599 enable_explorer
1600 enable_extrac32
1601 enable_findstr
1602 enable_fsutil
1603 enable_hh
1604 enable_hostname
1605 enable_icacls
1606 enable_icinfo
1607 enable_iexplore
1608 enable_ipconfig
1609 enable_lodctr
1610 enable_mofcomp
1611 enable_mshta
1612 enable_msiexec
1613 enable_msinfo32
1614 enable_net
1615 enable_netsh
1616 enable_netstat
1617 enable_ngen
1618 enable_notepad
1619 enable_oleview
1620 enable_ping
1621 enable_plugplay
1622 enable_powershell
1623 enable_presentationfontcache
1624 enable_progman
1625 enable_reg
1626 enable_regasm
1627 enable_regedit
1628 enable_regsvcs
1629 enable_regsvr32
1630 enable_rpcss
1631 enable_rundll32
1632 enable_sc
1633 enable_schtasks
1634 enable_sdbinst
1635 enable_secedit
1636 enable_servicemodelreg
1637 enable_services
1638 enable_shutdown
1639 enable_spoolsv
1640 enable_start
1641 enable_subst
1642 enable_svchost
1643 enable_systeminfo
1644 enable_taskkill
1645 enable_tasklist
1646 enable_taskmgr
1647 enable_termsv
1648 enable_uninstaller
1649 enable_unlodctr
1650 enable_view
1651 enable_wevtutil
1652 enable_wineboot
1653 enable_winebrowser
1654 enable_winecfg
1655 enable_wineconsole
1656 enable_winedbg
1657 enable_winedevice
1658 enable_winefile
1659 enable_winemenubuilder
1660 enable_winemine
1661 enable_winemsibuilder
1662 enable_winepath
1663 enable_winetest
1664 enable_winhlp32
1665 enable_winver
1666 enable_wmic
1667 enable_wmplayer
1668 enable_wordpad
1669 enable_write
1670 enable_wscript
1671 enable_wusa
1672 enable_xcopy
1673 enable_server
1674 enable_tools
1676 ac_precious_vars='build_alias
1677 host_alias
1678 target_alias
1680 CFLAGS
1681 LDFLAGS
1682 LIBS
1683 CPPFLAGS
1685 CXXFLAGS
1688 XMKMF
1689 XML2_CFLAGS
1690 XML2_LIBS
1691 XSLT_CFLAGS
1692 XSLT_LIBS
1693 DBUS_CFLAGS
1694 DBUS_LIBS
1695 HAL_CFLAGS
1696 HAL_LIBS
1697 GNUTLS_CFLAGS
1698 GNUTLS_LIBS
1699 SANE_CFLAGS
1700 SANE_LIBS
1701 GPHOTO2_CFLAGS
1702 GPHOTO2_LIBS
1703 GPHOTO2_PORT_CFLAGS
1704 GPHOTO2_PORT_LIBS
1705 LCMS2_CFLAGS
1706 LCMS2_LIBS
1707 FREETYPE_CFLAGS
1708 FREETYPE_LIBS
1709 PULSE_CFLAGS
1710 PULSE_LIBS
1711 GSTREAMER_CFLAGS
1712 GSTREAMER_LIBS
1713 UDEV_CFLAGS
1714 UDEV_LIBS
1715 CAPI20_CFLAGS
1716 CAPI20_LIBS
1717 FONTCONFIG_CFLAGS
1718 FONTCONFIG_LIBS
1719 JPEG_CFLAGS
1720 JPEG_LIBS
1721 PNG_CFLAGS
1722 PNG_LIBS
1723 TIFF_CFLAGS
1724 TIFF_LIBS
1725 MPG123_CFLAGS
1726 MPG123_LIBS
1727 NETAPI_CFLAGS
1728 NETAPI_LIBS
1729 LDAP_CFLAGS
1730 LDAP_LIBS'
1733 # Initialize some variables set by options.
1734 ac_init_help=
1735 ac_init_version=false
1736 ac_unrecognized_opts=
1737 ac_unrecognized_sep=
1738 # The variables have the same names as the options, with
1739 # dashes changed to underlines.
1740 cache_file=/dev/null
1741 exec_prefix=NONE
1742 no_create=
1743 no_recursion=
1744 prefix=NONE
1745 program_prefix=NONE
1746 program_suffix=NONE
1747 program_transform_name=s,x,x,
1748 silent=
1749 site=
1750 srcdir=
1751 verbose=
1752 x_includes=NONE
1753 x_libraries=NONE
1755 # Installation directory options.
1756 # These are left unexpanded so users can "make install exec_prefix=/foo"
1757 # and all the variables that are supposed to be based on exec_prefix
1758 # by default will actually change.
1759 # Use braces instead of parens because sh, perl, etc. also accept them.
1760 # (The list follows the same order as the GNU Coding Standards.)
1761 bindir='${exec_prefix}/bin'
1762 sbindir='${exec_prefix}/sbin'
1763 libexecdir='${exec_prefix}/libexec'
1764 datarootdir='${prefix}/share'
1765 datadir='${datarootdir}'
1766 sysconfdir='${prefix}/etc'
1767 sharedstatedir='${prefix}/com'
1768 localstatedir='${prefix}/var'
1769 runstatedir='${localstatedir}/run'
1770 includedir='${prefix}/include'
1771 oldincludedir='/usr/include'
1772 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1773 infodir='${datarootdir}/info'
1774 htmldir='${docdir}'
1775 dvidir='${docdir}'
1776 pdfdir='${docdir}'
1777 psdir='${docdir}'
1778 libdir='${exec_prefix}/lib'
1779 localedir='${datarootdir}/locale'
1780 mandir='${datarootdir}/man'
1782 ac_prev=
1783 ac_dashdash=
1784 for ac_option
1786 # If the previous option needs an argument, assign it.
1787 if test -n "$ac_prev"; then
1788 eval $ac_prev=\$ac_option
1789 ac_prev=
1790 continue
1793 case $ac_option in
1794 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1795 *=) ac_optarg= ;;
1796 *) ac_optarg=yes ;;
1797 esac
1799 # Accept the important Cygnus configure options, so we can diagnose typos.
1801 case $ac_dashdash$ac_option in
1803 ac_dashdash=yes ;;
1805 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1806 ac_prev=bindir ;;
1807 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1808 bindir=$ac_optarg ;;
1810 -build | --build | --buil | --bui | --bu)
1811 ac_prev=build_alias ;;
1812 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1813 build_alias=$ac_optarg ;;
1815 -cache-file | --cache-file | --cache-fil | --cache-fi \
1816 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1817 ac_prev=cache_file ;;
1818 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1819 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1820 cache_file=$ac_optarg ;;
1822 --config-cache | -C)
1823 cache_file=config.cache ;;
1825 -datadir | --datadir | --datadi | --datad)
1826 ac_prev=datadir ;;
1827 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1828 datadir=$ac_optarg ;;
1830 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1831 | --dataroo | --dataro | --datar)
1832 ac_prev=datarootdir ;;
1833 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1834 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1835 datarootdir=$ac_optarg ;;
1837 -disable-* | --disable-*)
1838 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1839 # Reject names that are not valid shell variable names.
1840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1841 as_fn_error $? "invalid feature name: $ac_useropt"
1842 ac_useropt_orig=$ac_useropt
1843 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1844 case $ac_user_opts in
1846 "enable_$ac_useropt"
1847 "*) ;;
1848 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1849 ac_unrecognized_sep=', ';;
1850 esac
1851 eval enable_$ac_useropt=no ;;
1853 -docdir | --docdir | --docdi | --doc | --do)
1854 ac_prev=docdir ;;
1855 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1856 docdir=$ac_optarg ;;
1858 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1859 ac_prev=dvidir ;;
1860 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1861 dvidir=$ac_optarg ;;
1863 -enable-* | --enable-*)
1864 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1865 # Reject names that are not valid shell variable names.
1866 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1867 as_fn_error $? "invalid feature name: $ac_useropt"
1868 ac_useropt_orig=$ac_useropt
1869 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1870 case $ac_user_opts in
1872 "enable_$ac_useropt"
1873 "*) ;;
1874 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1875 ac_unrecognized_sep=', ';;
1876 esac
1877 eval enable_$ac_useropt=\$ac_optarg ;;
1879 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1880 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1881 | --exec | --exe | --ex)
1882 ac_prev=exec_prefix ;;
1883 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1884 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1885 | --exec=* | --exe=* | --ex=*)
1886 exec_prefix=$ac_optarg ;;
1888 -gas | --gas | --ga | --g)
1889 # Obsolete; use --with-gas.
1890 with_gas=yes ;;
1892 -help | --help | --hel | --he | -h)
1893 ac_init_help=long ;;
1894 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1895 ac_init_help=recursive ;;
1896 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1897 ac_init_help=short ;;
1899 -host | --host | --hos | --ho)
1900 ac_prev=host_alias ;;
1901 -host=* | --host=* | --hos=* | --ho=*)
1902 host_alias=$ac_optarg ;;
1904 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1905 ac_prev=htmldir ;;
1906 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1907 | --ht=*)
1908 htmldir=$ac_optarg ;;
1910 -includedir | --includedir | --includedi | --included | --include \
1911 | --includ | --inclu | --incl | --inc)
1912 ac_prev=includedir ;;
1913 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1914 | --includ=* | --inclu=* | --incl=* | --inc=*)
1915 includedir=$ac_optarg ;;
1917 -infodir | --infodir | --infodi | --infod | --info | --inf)
1918 ac_prev=infodir ;;
1919 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1920 infodir=$ac_optarg ;;
1922 -libdir | --libdir | --libdi | --libd)
1923 ac_prev=libdir ;;
1924 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1925 libdir=$ac_optarg ;;
1927 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1928 | --libexe | --libex | --libe)
1929 ac_prev=libexecdir ;;
1930 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1931 | --libexe=* | --libex=* | --libe=*)
1932 libexecdir=$ac_optarg ;;
1934 -localedir | --localedir | --localedi | --localed | --locale)
1935 ac_prev=localedir ;;
1936 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1937 localedir=$ac_optarg ;;
1939 -localstatedir | --localstatedir | --localstatedi | --localstated \
1940 | --localstate | --localstat | --localsta | --localst | --locals)
1941 ac_prev=localstatedir ;;
1942 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1943 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1944 localstatedir=$ac_optarg ;;
1946 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1947 ac_prev=mandir ;;
1948 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1949 mandir=$ac_optarg ;;
1951 -nfp | --nfp | --nf)
1952 # Obsolete; use --without-fp.
1953 with_fp=no ;;
1955 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1956 | --no-cr | --no-c | -n)
1957 no_create=yes ;;
1959 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1960 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1961 no_recursion=yes ;;
1963 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1964 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1965 | --oldin | --oldi | --old | --ol | --o)
1966 ac_prev=oldincludedir ;;
1967 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1968 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1969 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1970 oldincludedir=$ac_optarg ;;
1972 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1973 ac_prev=prefix ;;
1974 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1975 prefix=$ac_optarg ;;
1977 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1978 | --program-pre | --program-pr | --program-p)
1979 ac_prev=program_prefix ;;
1980 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1981 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1982 program_prefix=$ac_optarg ;;
1984 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1985 | --program-suf | --program-su | --program-s)
1986 ac_prev=program_suffix ;;
1987 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1988 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1989 program_suffix=$ac_optarg ;;
1991 -program-transform-name | --program-transform-name \
1992 | --program-transform-nam | --program-transform-na \
1993 | --program-transform-n | --program-transform- \
1994 | --program-transform | --program-transfor \
1995 | --program-transfo | --program-transf \
1996 | --program-trans | --program-tran \
1997 | --progr-tra | --program-tr | --program-t)
1998 ac_prev=program_transform_name ;;
1999 -program-transform-name=* | --program-transform-name=* \
2000 | --program-transform-nam=* | --program-transform-na=* \
2001 | --program-transform-n=* | --program-transform-=* \
2002 | --program-transform=* | --program-transfor=* \
2003 | --program-transfo=* | --program-transf=* \
2004 | --program-trans=* | --program-tran=* \
2005 | --progr-tra=* | --program-tr=* | --program-t=*)
2006 program_transform_name=$ac_optarg ;;
2008 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2009 ac_prev=pdfdir ;;
2010 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2011 pdfdir=$ac_optarg ;;
2013 -psdir | --psdir | --psdi | --psd | --ps)
2014 ac_prev=psdir ;;
2015 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2016 psdir=$ac_optarg ;;
2018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2019 | -silent | --silent | --silen | --sile | --sil)
2020 silent=yes ;;
2022 -runstatedir | --runstatedir | --runstatedi | --runstated \
2023 | --runstate | --runstat | --runsta | --runst | --runs \
2024 | --run | --ru | --r)
2025 ac_prev=runstatedir ;;
2026 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2027 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2028 | --run=* | --ru=* | --r=*)
2029 runstatedir=$ac_optarg ;;
2031 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2032 ac_prev=sbindir ;;
2033 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2034 | --sbi=* | --sb=*)
2035 sbindir=$ac_optarg ;;
2037 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2038 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2039 | --sharedst | --shareds | --shared | --share | --shar \
2040 | --sha | --sh)
2041 ac_prev=sharedstatedir ;;
2042 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2043 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2044 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2045 | --sha=* | --sh=*)
2046 sharedstatedir=$ac_optarg ;;
2048 -site | --site | --sit)
2049 ac_prev=site ;;
2050 -site=* | --site=* | --sit=*)
2051 site=$ac_optarg ;;
2053 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2054 ac_prev=srcdir ;;
2055 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2056 srcdir=$ac_optarg ;;
2058 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2059 | --syscon | --sysco | --sysc | --sys | --sy)
2060 ac_prev=sysconfdir ;;
2061 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2062 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2063 sysconfdir=$ac_optarg ;;
2065 -target | --target | --targe | --targ | --tar | --ta | --t)
2066 ac_prev=target_alias ;;
2067 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2068 target_alias=$ac_optarg ;;
2070 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2071 verbose=yes ;;
2073 -version | --version | --versio | --versi | --vers | -V)
2074 ac_init_version=: ;;
2076 -with-* | --with-*)
2077 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2078 # Reject names that are not valid shell variable names.
2079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2080 as_fn_error $? "invalid package name: $ac_useropt"
2081 ac_useropt_orig=$ac_useropt
2082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2083 case $ac_user_opts in
2085 "with_$ac_useropt"
2086 "*) ;;
2087 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2088 ac_unrecognized_sep=', ';;
2089 esac
2090 eval with_$ac_useropt=\$ac_optarg ;;
2092 -without-* | --without-*)
2093 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2094 # Reject names that are not valid shell variable names.
2095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2096 as_fn_error $? "invalid package name: $ac_useropt"
2097 ac_useropt_orig=$ac_useropt
2098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2099 case $ac_user_opts in
2101 "with_$ac_useropt"
2102 "*) ;;
2103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2104 ac_unrecognized_sep=', ';;
2105 esac
2106 eval with_$ac_useropt=no ;;
2108 --x)
2109 # Obsolete; use --with-x.
2110 with_x=yes ;;
2112 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2113 | --x-incl | --x-inc | --x-in | --x-i)
2114 ac_prev=x_includes ;;
2115 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2116 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2117 x_includes=$ac_optarg ;;
2119 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2120 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2121 ac_prev=x_libraries ;;
2122 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2123 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2124 x_libraries=$ac_optarg ;;
2126 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2127 Try \`$0 --help' for more information"
2130 *=*)
2131 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2132 # Reject names that are not valid shell variable names.
2133 case $ac_envvar in #(
2134 '' | [0-9]* | *[!_$as_cr_alnum]* )
2135 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2136 esac
2137 eval $ac_envvar=\$ac_optarg
2138 export $ac_envvar ;;
2141 # FIXME: should be removed in autoconf 3.0.
2142 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2143 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2144 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2145 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2148 esac
2149 done
2151 if test -n "$ac_prev"; then
2152 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2153 as_fn_error $? "missing argument to $ac_option"
2156 if test -n "$ac_unrecognized_opts"; then
2157 case $enable_option_checking in
2158 no) ;;
2159 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2160 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2161 esac
2164 # Check all directory arguments for consistency.
2165 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2166 datadir sysconfdir sharedstatedir localstatedir includedir \
2167 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2168 libdir localedir mandir runstatedir
2170 eval ac_val=\$$ac_var
2171 # Remove trailing slashes.
2172 case $ac_val in
2173 */ )
2174 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2175 eval $ac_var=\$ac_val;;
2176 esac
2177 # Be sure to have absolute directory names.
2178 case $ac_val in
2179 [\\/$]* | ?:[\\/]* ) continue;;
2180 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2181 esac
2182 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2183 done
2185 # There might be people who depend on the old broken behavior: `$host'
2186 # used to hold the argument of --host etc.
2187 # FIXME: To remove some day.
2188 build=$build_alias
2189 host=$host_alias
2190 target=$target_alias
2192 # FIXME: To remove some day.
2193 if test "x$host_alias" != x; then
2194 if test "x$build_alias" = x; then
2195 cross_compiling=maybe
2196 elif test "x$build_alias" != "x$host_alias"; then
2197 cross_compiling=yes
2201 ac_tool_prefix=
2202 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2204 test "$silent" = yes && exec 6>/dev/null
2207 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2208 ac_ls_di=`ls -di .` &&
2209 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2210 as_fn_error $? "working directory cannot be determined"
2211 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2212 as_fn_error $? "pwd does not report name of working directory"
2215 # Find the source files, if location was not specified.
2216 if test -z "$srcdir"; then
2217 ac_srcdir_defaulted=yes
2218 # Try the directory containing this script, then the parent directory.
2219 ac_confdir=`$as_dirname -- "$as_myself" ||
2220 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2221 X"$as_myself" : 'X\(//\)[^/]' \| \
2222 X"$as_myself" : 'X\(//\)$' \| \
2223 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2224 $as_echo X"$as_myself" |
2225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2226 s//\1/
2229 /^X\(\/\/\)[^/].*/{
2230 s//\1/
2233 /^X\(\/\/\)$/{
2234 s//\1/
2237 /^X\(\/\).*/{
2238 s//\1/
2241 s/.*/./; q'`
2242 srcdir=$ac_confdir
2243 if test ! -r "$srcdir/$ac_unique_file"; then
2244 srcdir=..
2246 else
2247 ac_srcdir_defaulted=no
2249 if test ! -r "$srcdir/$ac_unique_file"; then
2250 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2251 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2253 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2254 ac_abs_confdir=`(
2255 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2256 pwd)`
2257 # When building in place, set srcdir=.
2258 if test "$ac_abs_confdir" = "$ac_pwd"; then
2259 srcdir=.
2261 # Remove unnecessary trailing slashes from srcdir.
2262 # Double slashes in file names in object file debugging info
2263 # mess up M-x gdb in Emacs.
2264 case $srcdir in
2265 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2266 esac
2267 for ac_var in $ac_precious_vars; do
2268 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2269 eval ac_env_${ac_var}_value=\$${ac_var}
2270 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2271 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2272 done
2275 # Report the --help message.
2277 if test "$ac_init_help" = "long"; then
2278 # Omit some internal or obsolete options to make the list less imposing.
2279 # This message is too long to be a string in the A/UX 3.1 sh.
2280 cat <<_ACEOF
2281 \`configure' configures Wine 2.18 to adapt to many kinds of systems.
2283 Usage: $0 [OPTION]... [VAR=VALUE]...
2285 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2286 VAR=VALUE. See below for descriptions of some of the useful variables.
2288 Defaults for the options are specified in brackets.
2290 Configuration:
2291 -h, --help display this help and exit
2292 --help=short display options specific to this package
2293 --help=recursive display the short help of all the included packages
2294 -V, --version display version information and exit
2295 -q, --quiet, --silent do not print \`checking ...' messages
2296 --cache-file=FILE cache test results in FILE [disabled]
2297 -C, --config-cache alias for \`--cache-file=config.cache'
2298 -n, --no-create do not create output files
2299 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2301 Installation directories:
2302 --prefix=PREFIX install architecture-independent files in PREFIX
2303 [$ac_default_prefix]
2304 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2305 [PREFIX]
2307 By default, \`make install' will install all the files in
2308 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2309 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2310 for instance \`--prefix=\$HOME'.
2312 For better control, use the options below.
2314 Fine tuning of the installation directories:
2315 --bindir=DIR user executables [EPREFIX/bin]
2316 --sbindir=DIR system admin executables [EPREFIX/sbin]
2317 --libexecdir=DIR program executables [EPREFIX/libexec]
2318 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2319 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2320 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2321 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2322 --libdir=DIR object code libraries [EPREFIX/lib]
2323 --includedir=DIR C header files [PREFIX/include]
2324 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2325 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2326 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2327 --infodir=DIR info documentation [DATAROOTDIR/info]
2328 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2329 --mandir=DIR man documentation [DATAROOTDIR/man]
2330 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2331 --htmldir=DIR html documentation [DOCDIR]
2332 --dvidir=DIR dvi documentation [DOCDIR]
2333 --pdfdir=DIR pdf documentation [DOCDIR]
2334 --psdir=DIR ps documentation [DOCDIR]
2335 _ACEOF
2337 cat <<\_ACEOF
2339 X features:
2340 --x-includes=DIR X include files are in DIR
2341 --x-libraries=DIR X library files are in DIR
2343 System types:
2344 --build=BUILD configure for building on BUILD [guessed]
2345 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2346 _ACEOF
2349 if test -n "$ac_init_help"; then
2350 case $ac_init_help in
2351 short | recursive ) echo "Configuration of Wine 2.18:";;
2352 esac
2353 cat <<\_ACEOF
2355 Optional Features:
2356 --disable-option-checking ignore unrecognized --enable/--with options
2357 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2358 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2359 --disable-win16 do not include Win16 support
2360 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2361 binaries)
2362 --disable-tests do not build the regression tests
2363 --enable-maintainer-mode
2364 enable maintainer-specific build rules
2365 --disable-largefile omit support for large files
2367 Optional Packages:
2368 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2369 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2370 --without-alsa do not use the Alsa sound support
2371 --without-capi do not use CAPI (ISDN support)
2372 --without-cms do not use CMS (color management support)
2373 --without-coreaudio do not use the CoreAudio sound support
2374 --without-cups do not use CUPS
2375 --without-curses do not use (n)curses
2376 --without-dbus do not use DBus (dynamic device support)
2377 --without-fontconfig do not use fontconfig
2378 --without-freetype do not use the FreeType library
2379 --without-gettext do not use gettext
2380 --with-gettextpo use the GetTextPO library to rebuild po files
2381 --without-gphoto do not use gphoto (Digital Camera support)
2382 --without-glu do not use the GLU library
2383 --without-gnutls do not use GnuTLS (schannel support)
2384 --without-gsm do not use libgsm (GSM 06.10 codec support)
2385 --without-gstreamer do not use GStreamer (codecs support)
2386 --without-hal do not use HAL (dynamic device support)
2387 --without-jpeg do not use JPEG
2388 --without-ldap do not use LDAP
2389 --without-mpg123 do not use the mpg123 library
2390 --without-netapi do not use the Samba NetAPI library
2391 --without-openal do not use OpenAL
2392 --without-opencl do not use OpenCL
2393 --without-opengl do not use OpenGL
2394 --without-osmesa do not use the OSMesa library
2395 --without-oss do not use the OSS sound support
2396 --without-pcap do not use the Packet Capture library
2397 --without-png do not use PNG
2398 --without-pthread do not use the pthread library
2399 --without-pulse do not use PulseAudio sound support
2400 --without-sane do not use SANE (scanner support)
2401 --without-tiff do not use TIFF
2402 --without-udev do not use udev (plug and play support)
2403 --without-v4l do not use v4l1 (v4l support)
2404 --without-xcomposite do not use the Xcomposite extension
2405 --without-xcursor do not use the Xcursor extension
2406 --without-xfixes do not use Xfixes for clipboard change notifications
2407 --without-xinerama do not use Xinerama (multi-monitor support)
2408 --without-xinput do not use the Xinput extension
2409 --without-xinput2 do not use the Xinput 2 extension
2410 --without-xml do not use XML
2411 --without-xrandr do not use Xrandr (resolution changes)
2412 --without-xrender do not use the Xrender extension
2413 --without-xshape do not use the Xshape extension
2414 --without-xshm do not use XShm (shared memory extension)
2415 --without-xslt do not use XSLT
2416 --without-xxf86vm do not use XFree video mode extension
2417 --without-zlib do not use Zlib (data compression)
2418 --with-wine-tools=DIR use Wine tools from directory DIR
2419 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2420 --with-x use the X Window System
2422 Some influential environment variables:
2423 CC C compiler command
2424 CFLAGS C compiler flags
2425 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2426 nonstandard directory <lib dir>
2427 LIBS libraries to pass to the linker, e.g. -l<library>
2428 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2429 you have headers in a nonstandard directory <include dir>
2430 CXX C++ compiler command
2431 CXXFLAGS C++ compiler flags
2432 CPP C preprocessor
2433 XMKMF Path to xmkmf, Makefile generator for X Window System
2434 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2435 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2436 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2437 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2438 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2439 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2440 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2441 HAL_LIBS Linker flags for hal, overriding pkg-config
2442 GNUTLS_CFLAGS
2443 C compiler flags for gnutls, overriding pkg-config
2444 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2445 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2446 SANE_LIBS Linker flags for libsane, overriding pkg-config
2447 GPHOTO2_CFLAGS
2448 C compiler flags for libgphoto2, overriding pkg-config
2449 GPHOTO2_LIBS
2450 Linker flags for libgphoto2, overriding pkg-config
2451 GPHOTO2_PORT_CFLAGS
2452 C compiler flags for libgphoto2_port, overriding pkg-config
2453 GPHOTO2_PORT_LIBS
2454 Linker flags for libgphoto2_port, overriding pkg-config
2455 LCMS2_CFLAGS
2456 C compiler flags for lcms2, overriding pkg-config
2457 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2458 FREETYPE_CFLAGS
2459 C compiler flags for freetype2, overriding pkg-config
2460 FREETYPE_LIBS
2461 Linker flags for freetype2, overriding pkg-config
2462 PULSE_CFLAGS
2463 C compiler flags for libpulse, overriding pkg-config
2464 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2465 GSTREAMER_CFLAGS
2466 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2467 gstreamer-audio-1.0, overriding pkg-config
2468 GSTREAMER_LIBS
2469 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2470 gstreamer-audio-1.0, overriding pkg-config
2471 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2472 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2473 CAPI20_CFLAGS
2474 C compiler flags for capi20, overriding pkg-config
2475 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2476 FONTCONFIG_CFLAGS
2477 C compiler flags for fontconfig, overriding pkg-config
2478 FONTCONFIG_LIBS
2479 Linker flags for fontconfig, overriding pkg-config
2480 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2481 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2482 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2483 PNG_LIBS Linker flags for libpng, overriding pkg-config
2484 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2485 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2486 MPG123_CFLAGS
2487 C compiler flags for libmpg123, overriding pkg-config
2488 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2489 NETAPI_CFLAGS
2490 C compiler flags for netapi, overriding pkg-config
2491 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2492 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2493 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2495 Use these variables to override the choices made by `configure' or to help
2496 it to find libraries and programs with nonstandard names/locations.
2498 Report bugs to <wine-devel@winehq.org>.
2499 Wine home page: <http://www.winehq.org>.
2500 _ACEOF
2501 ac_status=$?
2504 if test "$ac_init_help" = "recursive"; then
2505 # If there are subdirs, report their specific --help.
2506 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2507 test -d "$ac_dir" ||
2508 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2509 continue
2510 ac_builddir=.
2512 case "$ac_dir" in
2513 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2515 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2516 # A ".." for each directory in $ac_dir_suffix.
2517 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2518 case $ac_top_builddir_sub in
2519 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2520 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2521 esac ;;
2522 esac
2523 ac_abs_top_builddir=$ac_pwd
2524 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2525 # for backward compatibility:
2526 ac_top_builddir=$ac_top_build_prefix
2528 case $srcdir in
2529 .) # We are building in place.
2530 ac_srcdir=.
2531 ac_top_srcdir=$ac_top_builddir_sub
2532 ac_abs_top_srcdir=$ac_pwd ;;
2533 [\\/]* | ?:[\\/]* ) # Absolute name.
2534 ac_srcdir=$srcdir$ac_dir_suffix;
2535 ac_top_srcdir=$srcdir
2536 ac_abs_top_srcdir=$srcdir ;;
2537 *) # Relative name.
2538 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2539 ac_top_srcdir=$ac_top_build_prefix$srcdir
2540 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2541 esac
2542 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2544 cd "$ac_dir" || { ac_status=$?; continue; }
2545 # Check for guested configure.
2546 if test -f "$ac_srcdir/configure.gnu"; then
2547 echo &&
2548 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2549 elif test -f "$ac_srcdir/configure"; then
2550 echo &&
2551 $SHELL "$ac_srcdir/configure" --help=recursive
2552 else
2553 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2554 fi || ac_status=$?
2555 cd "$ac_pwd" || { ac_status=$?; break; }
2556 done
2559 test -n "$ac_init_help" && exit $ac_status
2560 if $ac_init_version; then
2561 cat <<\_ACEOF
2562 Wine configure 2.18
2563 generated by GNU Autoconf 2.69
2565 Copyright (C) 2012 Free Software Foundation, Inc.
2566 This configure script is free software; the Free Software Foundation
2567 gives unlimited permission to copy, distribute and modify it.
2568 _ACEOF
2569 exit
2572 ## ------------------------ ##
2573 ## Autoconf initialization. ##
2574 ## ------------------------ ##
2576 # ac_fn_c_try_compile LINENO
2577 # --------------------------
2578 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2579 ac_fn_c_try_compile ()
2581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2582 rm -f conftest.$ac_objext
2583 if { { ac_try="$ac_compile"
2584 case "(($ac_try" in
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2587 esac
2588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2589 $as_echo "$ac_try_echo"; } >&5
2590 (eval "$ac_compile") 2>conftest.err
2591 ac_status=$?
2592 if test -s conftest.err; then
2593 grep -v '^ *+' conftest.err >conftest.er1
2594 cat conftest.er1 >&5
2595 mv -f conftest.er1 conftest.err
2597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2598 test $ac_status = 0; } && {
2599 test -z "$ac_c_werror_flag" ||
2600 test ! -s conftest.err
2601 } && test -s conftest.$ac_objext; then :
2602 ac_retval=0
2603 else
2604 $as_echo "$as_me: failed program was:" >&5
2605 sed 's/^/| /' conftest.$ac_ext >&5
2607 ac_retval=1
2609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2610 as_fn_set_status $ac_retval
2612 } # ac_fn_c_try_compile
2614 # ac_fn_cxx_try_compile LINENO
2615 # ----------------------------
2616 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2617 ac_fn_cxx_try_compile ()
2619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2620 rm -f conftest.$ac_objext
2621 if { { ac_try="$ac_compile"
2622 case "(($ac_try" in
2623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2625 esac
2626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2627 $as_echo "$ac_try_echo"; } >&5
2628 (eval "$ac_compile") 2>conftest.err
2629 ac_status=$?
2630 if test -s conftest.err; then
2631 grep -v '^ *+' conftest.err >conftest.er1
2632 cat conftest.er1 >&5
2633 mv -f conftest.er1 conftest.err
2635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2636 test $ac_status = 0; } && {
2637 test -z "$ac_cxx_werror_flag" ||
2638 test ! -s conftest.err
2639 } && test -s conftest.$ac_objext; then :
2640 ac_retval=0
2641 else
2642 $as_echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.$ac_ext >&5
2645 ac_retval=1
2647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2648 as_fn_set_status $ac_retval
2650 } # ac_fn_cxx_try_compile
2652 # ac_fn_c_try_link LINENO
2653 # -----------------------
2654 # Try to link conftest.$ac_ext, and return whether this succeeded.
2655 ac_fn_c_try_link ()
2657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658 rm -f conftest.$ac_objext conftest$ac_exeext
2659 if { { ac_try="$ac_link"
2660 case "(($ac_try" in
2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2663 esac
2664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2665 $as_echo "$ac_try_echo"; } >&5
2666 (eval "$ac_link") 2>conftest.err
2667 ac_status=$?
2668 if test -s conftest.err; then
2669 grep -v '^ *+' conftest.err >conftest.er1
2670 cat conftest.er1 >&5
2671 mv -f conftest.er1 conftest.err
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; } && {
2675 test -z "$ac_c_werror_flag" ||
2676 test ! -s conftest.err
2677 } && test -s conftest$ac_exeext && {
2678 test "$cross_compiling" = yes ||
2679 test -x conftest$ac_exeext
2680 }; then :
2681 ac_retval=0
2682 else
2683 $as_echo "$as_me: failed program was:" >&5
2684 sed 's/^/| /' conftest.$ac_ext >&5
2686 ac_retval=1
2688 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2689 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2690 # interfere with the next link command; also delete a directory that is
2691 # left behind by Apple's compiler. We do this before executing the actions.
2692 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2694 as_fn_set_status $ac_retval
2696 } # ac_fn_c_try_link
2698 # ac_fn_c_try_cpp LINENO
2699 # ----------------------
2700 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2701 ac_fn_c_try_cpp ()
2703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2704 if { { ac_try="$ac_cpp conftest.$ac_ext"
2705 case "(($ac_try" in
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2708 esac
2709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2710 $as_echo "$ac_try_echo"; } >&5
2711 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2712 ac_status=$?
2713 if test -s conftest.err; then
2714 grep -v '^ *+' conftest.err >conftest.er1
2715 cat conftest.er1 >&5
2716 mv -f conftest.er1 conftest.err
2718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2719 test $ac_status = 0; } > conftest.i && {
2720 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2721 test ! -s conftest.err
2722 }; then :
2723 ac_retval=0
2724 else
2725 $as_echo "$as_me: failed program was:" >&5
2726 sed 's/^/| /' conftest.$ac_ext >&5
2728 ac_retval=1
2730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2731 as_fn_set_status $ac_retval
2733 } # ac_fn_c_try_cpp
2735 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2736 # -------------------------------------------------------
2737 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2738 # the include files in INCLUDES and setting the cache variable VAR
2739 # accordingly.
2740 ac_fn_c_check_header_mongrel ()
2742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2743 if eval \${$3+:} false; then :
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2745 $as_echo_n "checking for $2... " >&6; }
2746 if eval \${$3+:} false; then :
2747 $as_echo_n "(cached) " >&6
2749 eval ac_res=\$$3
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2751 $as_echo "$ac_res" >&6; }
2752 else
2753 # Is the header compilable?
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2755 $as_echo_n "checking $2 usability... " >&6; }
2756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2757 /* end confdefs.h. */
2759 #include <$2>
2760 _ACEOF
2761 if ac_fn_c_try_compile "$LINENO"; then :
2762 ac_header_compiler=yes
2763 else
2764 ac_header_compiler=no
2766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2768 $as_echo "$ac_header_compiler" >&6; }
2770 # Is the header present?
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2772 $as_echo_n "checking $2 presence... " >&6; }
2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2775 #include <$2>
2776 _ACEOF
2777 if ac_fn_c_try_cpp "$LINENO"; then :
2778 ac_header_preproc=yes
2779 else
2780 ac_header_preproc=no
2782 rm -f conftest.err conftest.i conftest.$ac_ext
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2784 $as_echo "$ac_header_preproc" >&6; }
2786 # So? What about this header?
2787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2788 yes:no: )
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2790 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2792 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2794 no:yes:* )
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2796 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2798 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2800 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2802 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2804 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2805 ( $as_echo "## ------------------------------------ ##
2806 ## Report this to wine-devel@winehq.org ##
2807 ## ------------------------------------ ##"
2808 ) | sed "s/^/$as_me: WARNING: /" >&2
2810 esac
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2812 $as_echo_n "checking for $2... " >&6; }
2813 if eval \${$3+:} false; then :
2814 $as_echo_n "(cached) " >&6
2815 else
2816 eval "$3=\$ac_header_compiler"
2818 eval ac_res=\$$3
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2820 $as_echo "$ac_res" >&6; }
2822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2824 } # ac_fn_c_check_header_mongrel
2826 # ac_fn_c_try_run LINENO
2827 # ----------------------
2828 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2829 # that executables *can* be run.
2830 ac_fn_c_try_run ()
2832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2833 if { { ac_try="$ac_link"
2834 case "(($ac_try" in
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2837 esac
2838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2839 $as_echo "$ac_try_echo"; } >&5
2840 (eval "$ac_link") 2>&5
2841 ac_status=$?
2842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2843 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2844 { { case "(($ac_try" in
2845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2846 *) ac_try_echo=$ac_try;;
2847 esac
2848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2849 $as_echo "$ac_try_echo"; } >&5
2850 (eval "$ac_try") 2>&5
2851 ac_status=$?
2852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2853 test $ac_status = 0; }; }; then :
2854 ac_retval=0
2855 else
2856 $as_echo "$as_me: program exited with status $ac_status" >&5
2857 $as_echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2860 ac_retval=$ac_status
2862 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2864 as_fn_set_status $ac_retval
2866 } # ac_fn_c_try_run
2868 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2869 # -------------------------------------------------------
2870 # Tests whether HEADER exists and can be compiled using the include files in
2871 # INCLUDES, setting the cache variable VAR accordingly.
2872 ac_fn_c_check_header_compile ()
2874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2876 $as_echo_n "checking for $2... " >&6; }
2877 if eval \${$3+:} false; then :
2878 $as_echo_n "(cached) " >&6
2879 else
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2883 #include <$2>
2884 _ACEOF
2885 if ac_fn_c_try_compile "$LINENO"; then :
2886 eval "$3=yes"
2887 else
2888 eval "$3=no"
2890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2892 eval ac_res=\$$3
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2894 $as_echo "$ac_res" >&6; }
2895 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2897 } # ac_fn_c_check_header_compile
2899 # ac_fn_c_check_func LINENO FUNC VAR
2900 # ----------------------------------
2901 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2902 ac_fn_c_check_func ()
2904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2906 $as_echo_n "checking for $2... " >&6; }
2907 if eval \${$3+:} false; then :
2908 $as_echo_n "(cached) " >&6
2909 else
2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911 /* end confdefs.h. */
2912 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2914 #define $2 innocuous_$2
2916 /* System header to define __stub macros and hopefully few prototypes,
2917 which can conflict with char $2 (); below.
2918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2919 <limits.h> exists even on freestanding compilers. */
2921 #ifdef __STDC__
2922 # include <limits.h>
2923 #else
2924 # include <assert.h>
2925 #endif
2927 #undef $2
2929 /* Override any GCC internal prototype to avoid an error.
2930 Use char because int might match the return type of a GCC
2931 builtin and then its argument prototype would still apply. */
2932 #ifdef __cplusplus
2933 extern "C"
2934 #endif
2935 char $2 ();
2936 /* The GNU C library defines this for functions which it implements
2937 to always fail with ENOSYS. Some functions are actually named
2938 something starting with __ and the normal name is an alias. */
2939 #if defined __stub_$2 || defined __stub___$2
2940 choke me
2941 #endif
2944 main ()
2946 return $2 ();
2948 return 0;
2950 _ACEOF
2951 if ac_fn_c_try_link "$LINENO"; then :
2952 eval "$3=yes"
2953 else
2954 eval "$3=no"
2956 rm -f core conftest.err conftest.$ac_objext \
2957 conftest$ac_exeext conftest.$ac_ext
2959 eval ac_res=\$$3
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2961 $as_echo "$ac_res" >&6; }
2962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2964 } # ac_fn_c_check_func
2966 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2967 # ----------------------------------------------------
2968 # Tries to find if the field MEMBER exists in type AGGR, after including
2969 # INCLUDES, setting cache variable VAR accordingly.
2970 ac_fn_c_check_member ()
2972 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2974 $as_echo_n "checking for $2.$3... " >&6; }
2975 if eval \${$4+:} false; then :
2976 $as_echo_n "(cached) " >&6
2977 else
2978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2979 /* end confdefs.h. */
2982 main ()
2984 static $2 ac_aggr;
2985 if (ac_aggr.$3)
2986 return 0;
2988 return 0;
2990 _ACEOF
2991 if ac_fn_c_try_compile "$LINENO"; then :
2992 eval "$4=yes"
2993 else
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
2998 main ()
3000 static $2 ac_aggr;
3001 if (sizeof ac_aggr.$3)
3002 return 0;
3004 return 0;
3006 _ACEOF
3007 if ac_fn_c_try_compile "$LINENO"; then :
3008 eval "$4=yes"
3009 else
3010 eval "$4=no"
3012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3016 eval ac_res=\$$4
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3018 $as_echo "$ac_res" >&6; }
3019 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3021 } # ac_fn_c_check_member
3023 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3024 # -------------------------------------------
3025 # Tests whether TYPE exists after having included INCLUDES, setting cache
3026 # variable VAR accordingly.
3027 ac_fn_c_check_type ()
3029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3031 $as_echo_n "checking for $2... " >&6; }
3032 if eval \${$3+:} false; then :
3033 $as_echo_n "(cached) " >&6
3034 else
3035 eval "$3=no"
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h. */
3040 main ()
3042 if (sizeof ($2))
3043 return 0;
3045 return 0;
3047 _ACEOF
3048 if ac_fn_c_try_compile "$LINENO"; then :
3049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050 /* end confdefs.h. */
3053 main ()
3055 if (sizeof (($2)))
3056 return 0;
3058 return 0;
3060 _ACEOF
3061 if ac_fn_c_try_compile "$LINENO"; then :
3063 else
3064 eval "$3=yes"
3066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3070 eval ac_res=\$$3
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3072 $as_echo "$ac_res" >&6; }
3073 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3075 } # ac_fn_c_check_type
3076 cat >config.log <<_ACEOF
3077 This file contains any messages produced by compilers while
3078 running configure, to aid debugging if configure makes a mistake.
3080 It was created by Wine $as_me 2.18, which was
3081 generated by GNU Autoconf 2.69. Invocation command line was
3083 $ $0 $@
3085 _ACEOF
3086 exec 5>>config.log
3088 cat <<_ASUNAME
3089 ## --------- ##
3090 ## Platform. ##
3091 ## --------- ##
3093 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3094 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3095 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3096 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3097 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3099 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3100 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3102 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3103 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3104 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3105 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3106 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3107 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3108 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3110 _ASUNAME
3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3113 for as_dir in $PATH
3115 IFS=$as_save_IFS
3116 test -z "$as_dir" && as_dir=.
3117 $as_echo "PATH: $as_dir"
3118 done
3119 IFS=$as_save_IFS
3121 } >&5
3123 cat >&5 <<_ACEOF
3126 ## ----------- ##
3127 ## Core tests. ##
3128 ## ----------- ##
3130 _ACEOF
3133 # Keep a trace of the command line.
3134 # Strip out --no-create and --no-recursion so they do not pile up.
3135 # Strip out --silent because we don't want to record it for future runs.
3136 # Also quote any args containing shell meta-characters.
3137 # Make two passes to allow for proper duplicate-argument suppression.
3138 ac_configure_args=
3139 ac_configure_args0=
3140 ac_configure_args1=
3141 ac_must_keep_next=false
3142 for ac_pass in 1 2
3144 for ac_arg
3146 case $ac_arg in
3147 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3148 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3149 | -silent | --silent | --silen | --sile | --sil)
3150 continue ;;
3151 *\'*)
3152 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3153 esac
3154 case $ac_pass in
3155 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3157 as_fn_append ac_configure_args1 " '$ac_arg'"
3158 if test $ac_must_keep_next = true; then
3159 ac_must_keep_next=false # Got value, back to normal.
3160 else
3161 case $ac_arg in
3162 *=* | --config-cache | -C | -disable-* | --disable-* \
3163 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3164 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3165 | -with-* | --with-* | -without-* | --without-* | --x)
3166 case "$ac_configure_args0 " in
3167 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3168 esac
3170 -* ) ac_must_keep_next=true ;;
3171 esac
3173 as_fn_append ac_configure_args " '$ac_arg'"
3175 esac
3176 done
3177 done
3178 { ac_configure_args0=; unset ac_configure_args0;}
3179 { ac_configure_args1=; unset ac_configure_args1;}
3181 # When interrupted or exit'd, cleanup temporary files, and complete
3182 # config.log. We remove comments because anyway the quotes in there
3183 # would cause problems or look ugly.
3184 # WARNING: Use '\'' to represent an apostrophe within the trap.
3185 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3186 trap 'exit_status=$?
3187 # Save into config.log some information that might help in debugging.
3189 echo
3191 $as_echo "## ---------------- ##
3192 ## Cache variables. ##
3193 ## ---------------- ##"
3194 echo
3195 # The following way of writing the cache mishandles newlines in values,
3197 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3198 eval ac_val=\$$ac_var
3199 case $ac_val in #(
3200 *${as_nl}*)
3201 case $ac_var in #(
3202 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3203 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3204 esac
3205 case $ac_var in #(
3206 _ | IFS | as_nl) ;; #(
3207 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3208 *) { eval $ac_var=; unset $ac_var;} ;;
3209 esac ;;
3210 esac
3211 done
3212 (set) 2>&1 |
3213 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3214 *${as_nl}ac_space=\ *)
3215 sed -n \
3216 "s/'\''/'\''\\\\'\'''\''/g;
3217 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3218 ;; #(
3220 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3222 esac |
3223 sort
3225 echo
3227 $as_echo "## ----------------- ##
3228 ## Output variables. ##
3229 ## ----------------- ##"
3230 echo
3231 for ac_var in $ac_subst_vars
3233 eval ac_val=\$$ac_var
3234 case $ac_val in
3235 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3236 esac
3237 $as_echo "$ac_var='\''$ac_val'\''"
3238 done | sort
3239 echo
3241 if test -n "$ac_subst_files"; then
3242 $as_echo "## ------------------- ##
3243 ## File substitutions. ##
3244 ## ------------------- ##"
3245 echo
3246 for ac_var in $ac_subst_files
3248 eval ac_val=\$$ac_var
3249 case $ac_val in
3250 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3251 esac
3252 $as_echo "$ac_var='\''$ac_val'\''"
3253 done | sort
3254 echo
3257 if test -s confdefs.h; then
3258 $as_echo "## ----------- ##
3259 ## confdefs.h. ##
3260 ## ----------- ##"
3261 echo
3262 cat confdefs.h
3263 echo
3265 test "$ac_signal" != 0 &&
3266 $as_echo "$as_me: caught signal $ac_signal"
3267 $as_echo "$as_me: exit $exit_status"
3268 } >&5
3269 rm -f core *.core core.conftest.* &&
3270 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3271 exit $exit_status
3273 for ac_signal in 1 2 13 15; do
3274 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3275 done
3276 ac_signal=0
3278 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3279 rm -f -r conftest* confdefs.h
3281 $as_echo "/* confdefs.h */" > confdefs.h
3283 # Predefined preprocessor variables.
3285 cat >>confdefs.h <<_ACEOF
3286 #define PACKAGE_NAME "$PACKAGE_NAME"
3287 _ACEOF
3289 cat >>confdefs.h <<_ACEOF
3290 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3291 _ACEOF
3293 cat >>confdefs.h <<_ACEOF
3294 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3295 _ACEOF
3297 cat >>confdefs.h <<_ACEOF
3298 #define PACKAGE_STRING "$PACKAGE_STRING"
3299 _ACEOF
3301 cat >>confdefs.h <<_ACEOF
3302 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3303 _ACEOF
3305 cat >>confdefs.h <<_ACEOF
3306 #define PACKAGE_URL "$PACKAGE_URL"
3307 _ACEOF
3310 # Let the site file select an alternate cache file if it wants to.
3311 # Prefer an explicitly selected file to automatically selected ones.
3312 ac_site_file1=NONE
3313 ac_site_file2=NONE
3314 if test -n "$CONFIG_SITE"; then
3315 # We do not want a PATH search for config.site.
3316 case $CONFIG_SITE in #((
3317 -*) ac_site_file1=./$CONFIG_SITE;;
3318 */*) ac_site_file1=$CONFIG_SITE;;
3319 *) ac_site_file1=./$CONFIG_SITE;;
3320 esac
3321 elif test "x$prefix" != xNONE; then
3322 ac_site_file1=$prefix/share/config.site
3323 ac_site_file2=$prefix/etc/config.site
3324 else
3325 ac_site_file1=$ac_default_prefix/share/config.site
3326 ac_site_file2=$ac_default_prefix/etc/config.site
3328 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3330 test "x$ac_site_file" = xNONE && continue
3331 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3333 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3334 sed 's/^/| /' "$ac_site_file" >&5
3335 . "$ac_site_file" \
3336 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3338 as_fn_error $? "failed to load site script $ac_site_file
3339 See \`config.log' for more details" "$LINENO" 5; }
3341 done
3343 if test -r "$cache_file"; then
3344 # Some versions of bash will fail to source /dev/null (special files
3345 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3346 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3348 $as_echo "$as_me: loading cache $cache_file" >&6;}
3349 case $cache_file in
3350 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3351 *) . "./$cache_file";;
3352 esac
3354 else
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3356 $as_echo "$as_me: creating cache $cache_file" >&6;}
3357 >$cache_file
3360 # Check that the precious variables saved in the cache have kept the same
3361 # value.
3362 ac_cache_corrupted=false
3363 for ac_var in $ac_precious_vars; do
3364 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3365 eval ac_new_set=\$ac_env_${ac_var}_set
3366 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3367 eval ac_new_val=\$ac_env_${ac_var}_value
3368 case $ac_old_set,$ac_new_set in
3369 set,)
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3371 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3372 ac_cache_corrupted=: ;;
3373 ,set)
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3375 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3376 ac_cache_corrupted=: ;;
3377 ,);;
3379 if test "x$ac_old_val" != "x$ac_new_val"; then
3380 # differences in whitespace do not lead to failure.
3381 ac_old_val_w=`echo x $ac_old_val`
3382 ac_new_val_w=`echo x $ac_new_val`
3383 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3385 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3386 ac_cache_corrupted=:
3387 else
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3389 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3390 eval $ac_var=\$ac_old_val
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3393 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3395 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3396 fi;;
3397 esac
3398 # Pass precious variables to config.status.
3399 if test "$ac_new_set" = set; then
3400 case $ac_new_val in
3401 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3402 *) ac_arg=$ac_var=$ac_new_val ;;
3403 esac
3404 case " $ac_configure_args " in
3405 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3406 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3407 esac
3409 done
3410 if $ac_cache_corrupted; then
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3414 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3415 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3417 ## -------------------- ##
3418 ## Main body of script. ##
3419 ## -------------------- ##
3421 ac_ext=c
3422 ac_cpp='$CPP $CPPFLAGS'
3423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3429 ac_config_headers="$ac_config_headers include/config.h"
3431 ac_aux_dir=
3432 for ac_dir in tools "$srcdir"/tools; do
3433 if test -f "$ac_dir/install-sh"; then
3434 ac_aux_dir=$ac_dir
3435 ac_install_sh="$ac_aux_dir/install-sh -c"
3436 break
3437 elif test -f "$ac_dir/install.sh"; then
3438 ac_aux_dir=$ac_dir
3439 ac_install_sh="$ac_aux_dir/install.sh -c"
3440 break
3441 elif test -f "$ac_dir/shtool"; then
3442 ac_aux_dir=$ac_dir
3443 ac_install_sh="$ac_aux_dir/shtool install -c"
3444 break
3446 done
3447 if test -z "$ac_aux_dir"; then
3448 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3451 # These three variables are undocumented and unsupported,
3452 # and are intended to be withdrawn in a future Autoconf release.
3453 # They can cause serious problems if a builder's source tree is in a directory
3454 # whose full name contains unusual characters.
3455 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3456 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3457 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3461 libwine_version="1.0"
3465 # Check whether --enable-win16 was given.
3466 if test "${enable_win16+set}" = set; then :
3467 enableval=$enable_win16;
3470 # Check whether --enable-win64 was given.
3471 if test "${enable_win64+set}" = set; then :
3472 enableval=$enable_win64;
3475 # Check whether --enable-tests was given.
3476 if test "${enable_tests+set}" = set; then :
3477 enableval=$enable_tests;
3480 # Check whether --enable-maintainer-mode was given.
3481 if test "${enable_maintainer_mode+set}" = set; then :
3482 enableval=$enable_maintainer_mode;
3487 # Check whether --with-alsa was given.
3488 if test "${with_alsa+set}" = set; then :
3489 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3493 # Check whether --with-capi was given.
3494 if test "${with_capi+set}" = set; then :
3495 withval=$with_capi;
3499 # Check whether --with-cms was given.
3500 if test "${with_cms+set}" = set; then :
3501 withval=$with_cms;
3505 # Check whether --with-coreaudio was given.
3506 if test "${with_coreaudio+set}" = set; then :
3507 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3511 # Check whether --with-cups was given.
3512 if test "${with_cups+set}" = set; then :
3513 withval=$with_cups;
3517 # Check whether --with-curses was given.
3518 if test "${with_curses+set}" = set; then :
3519 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3523 # Check whether --with-dbus was given.
3524 if test "${with_dbus+set}" = set; then :
3525 withval=$with_dbus;
3529 # Check whether --with-fontconfig was given.
3530 if test "${with_fontconfig+set}" = set; then :
3531 withval=$with_fontconfig;
3535 # Check whether --with-freetype was given.
3536 if test "${with_freetype+set}" = set; then :
3537 withval=$with_freetype;
3541 # Check whether --with-gettext was given.
3542 if test "${with_gettext+set}" = set; then :
3543 withval=$with_gettext;
3547 # Check whether --with-gettextpo was given.
3548 if test "${with_gettextpo+set}" = set; then :
3549 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3553 # Check whether --with-gphoto was given.
3554 if test "${with_gphoto+set}" = set; then :
3555 withval=$with_gphoto;
3559 # Check whether --with-glu was given.
3560 if test "${with_glu+set}" = set; then :
3561 withval=$with_glu;
3565 # Check whether --with-gnutls was given.
3566 if test "${with_gnutls+set}" = set; then :
3567 withval=$with_gnutls;
3571 # Check whether --with-gsm was given.
3572 if test "${with_gsm+set}" = set; then :
3573 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3577 # Check whether --with-gstreamer was given.
3578 if test "${with_gstreamer+set}" = set; then :
3579 withval=$with_gstreamer;
3583 # Check whether --with-hal was given.
3584 if test "${with_hal+set}" = set; then :
3585 withval=$with_hal;
3589 # Check whether --with-jpeg was given.
3590 if test "${with_jpeg+set}" = set; then :
3591 withval=$with_jpeg;
3595 # Check whether --with-ldap was given.
3596 if test "${with_ldap+set}" = set; then :
3597 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3601 # Check whether --with-mpg123 was given.
3602 if test "${with_mpg123+set}" = set; then :
3603 withval=$with_mpg123;
3607 # Check whether --with-netapi was given.
3608 if test "${with_netapi+set}" = set; then :
3609 withval=$with_netapi;
3613 # Check whether --with-openal was given.
3614 if test "${with_openal+set}" = set; then :
3615 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3619 # Check whether --with-opencl was given.
3620 if test "${with_opencl+set}" = set; then :
3621 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3625 # Check whether --with-opengl was given.
3626 if test "${with_opengl+set}" = set; then :
3627 withval=$with_opengl;
3631 # Check whether --with-osmesa was given.
3632 if test "${with_osmesa+set}" = set; then :
3633 withval=$with_osmesa;
3637 # Check whether --with-oss was given.
3638 if test "${with_oss+set}" = set; then :
3639 withval=$with_oss;
3643 # Check whether --with-pcap was given.
3644 if test "${with_pcap+set}" = set; then :
3645 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3649 # Check whether --with-png was given.
3650 if test "${with_png+set}" = set; then :
3651 withval=$with_png;
3655 # Check whether --with-pthread was given.
3656 if test "${with_pthread+set}" = set; then :
3657 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3661 # Check whether --with-pulse was given.
3662 if test "${with_pulse+set}" = set; then :
3663 withval=$with_pulse;
3667 # Check whether --with-sane was given.
3668 if test "${with_sane+set}" = set; then :
3669 withval=$with_sane;
3673 # Check whether --with-tiff was given.
3674 if test "${with_tiff+set}" = set; then :
3675 withval=$with_tiff;
3679 # Check whether --with-udev was given.
3680 if test "${with_udev+set}" = set; then :
3681 withval=$with_udev;
3685 # Check whether --with-v4l was given.
3686 if test "${with_v4l+set}" = set; then :
3687 withval=$with_v4l;
3691 # Check whether --with-xcomposite was given.
3692 if test "${with_xcomposite+set}" = set; then :
3693 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3697 # Check whether --with-xcursor was given.
3698 if test "${with_xcursor+set}" = set; then :
3699 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3703 # Check whether --with-xfixes was given.
3704 if test "${with_xfixes+set}" = set; then :
3705 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3709 # Check whether --with-xinerama was given.
3710 if test "${with_xinerama+set}" = set; then :
3711 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3715 # Check whether --with-xinput was given.
3716 if test "${with_xinput+set}" = set; then :
3717 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3721 # Check whether --with-xinput2 was given.
3722 if test "${with_xinput2+set}" = set; then :
3723 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3727 # Check whether --with-xml was given.
3728 if test "${with_xml+set}" = set; then :
3729 withval=$with_xml;
3733 # Check whether --with-xrandr was given.
3734 if test "${with_xrandr+set}" = set; then :
3735 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3739 # Check whether --with-xrender was given.
3740 if test "${with_xrender+set}" = set; then :
3741 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3745 # Check whether --with-xshape was given.
3746 if test "${with_xshape+set}" = set; then :
3747 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3751 # Check whether --with-xshm was given.
3752 if test "${with_xshm+set}" = set; then :
3753 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3757 # Check whether --with-xslt was given.
3758 if test "${with_xslt+set}" = set; then :
3759 withval=$with_xslt;
3763 # Check whether --with-xxf86vm was given.
3764 if test "${with_xxf86vm+set}" = set; then :
3765 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
3769 # Check whether --with-zlib was given.
3770 if test "${with_zlib+set}" = set; then :
3771 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3776 # Check whether --with-wine-tools was given.
3777 if test "${with_wine_tools+set}" = set; then :
3778 withval=$with_wine_tools;
3782 # Check whether --with-wine64 was given.
3783 if test "${with_wine64+set}" = set; then :
3784 withval=$with_wine64;
3788 # Make sure we can run config.sub.
3789 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3790 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3793 $as_echo_n "checking build system type... " >&6; }
3794 if ${ac_cv_build+:} false; then :
3795 $as_echo_n "(cached) " >&6
3796 else
3797 ac_build_alias=$build_alias
3798 test "x$ac_build_alias" = x &&
3799 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3800 test "x$ac_build_alias" = x &&
3801 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3802 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3803 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3807 $as_echo "$ac_cv_build" >&6; }
3808 case $ac_cv_build in
3809 *-*-*) ;;
3810 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3811 esac
3812 build=$ac_cv_build
3813 ac_save_IFS=$IFS; IFS='-'
3814 set x $ac_cv_build
3815 shift
3816 build_cpu=$1
3817 build_vendor=$2
3818 shift; shift
3819 # Remember, the first character of IFS is used to create $*,
3820 # except with old shells:
3821 build_os=$*
3822 IFS=$ac_save_IFS
3823 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3827 $as_echo_n "checking host system type... " >&6; }
3828 if ${ac_cv_host+:} false; then :
3829 $as_echo_n "(cached) " >&6
3830 else
3831 if test "x$host_alias" = x; then
3832 ac_cv_host=$ac_cv_build
3833 else
3834 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3835 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3840 $as_echo "$ac_cv_host" >&6; }
3841 case $ac_cv_host in
3842 *-*-*) ;;
3843 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3844 esac
3845 host=$ac_cv_host
3846 ac_save_IFS=$IFS; IFS='-'
3847 set x $ac_cv_host
3848 shift
3849 host_cpu=$1
3850 host_vendor=$2
3851 shift; shift
3852 # Remember, the first character of IFS is used to create $*,
3853 # except with old shells:
3854 host_os=$*
3855 IFS=$ac_save_IFS
3856 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3860 case "$srcdir" in
3861 .) ;;
3862 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3863 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3864 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3865 fi ;;
3866 esac
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3870 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3871 set x ${MAKE-make}
3872 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3873 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3874 $as_echo_n "(cached) " >&6
3875 else
3876 cat >conftest.make <<\_ACEOF
3877 SHELL = /bin/sh
3878 all:
3879 @echo '@@@%%%=$(MAKE)=@@@%%%'
3880 _ACEOF
3881 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3882 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3883 *@@@%%%=?*=@@@%%%*)
3884 eval ac_cv_prog_make_${ac_make}_set=yes;;
3886 eval ac_cv_prog_make_${ac_make}_set=no;;
3887 esac
3888 rm -f conftest.make
3890 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3892 $as_echo "yes" >&6; }
3893 SET_MAKE=
3894 else
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3896 $as_echo "no" >&6; }
3897 SET_MAKE="MAKE=${MAKE-make}"
3900 ac_ext=c
3901 ac_cpp='$CPP $CPPFLAGS'
3902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3905 if test -n "$ac_tool_prefix"; then
3906 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3907 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3909 $as_echo_n "checking for $ac_word... " >&6; }
3910 if ${ac_cv_prog_CC+:} false; then :
3911 $as_echo_n "(cached) " >&6
3912 else
3913 if test -n "$CC"; then
3914 ac_cv_prog_CC="$CC" # Let the user override the test.
3915 else
3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917 for as_dir in $PATH
3919 IFS=$as_save_IFS
3920 test -z "$as_dir" && as_dir=.
3921 for ac_exec_ext in '' $ac_executable_extensions; do
3922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3923 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3925 break 2
3927 done
3928 done
3929 IFS=$as_save_IFS
3933 CC=$ac_cv_prog_CC
3934 if test -n "$CC"; then
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3936 $as_echo "$CC" >&6; }
3937 else
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3939 $as_echo "no" >&6; }
3944 if test -z "$ac_cv_prog_CC"; then
3945 ac_ct_CC=$CC
3946 # Extract the first word of "gcc", so it can be a program name with args.
3947 set dummy gcc; ac_word=$2
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3949 $as_echo_n "checking for $ac_word... " >&6; }
3950 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3951 $as_echo_n "(cached) " >&6
3952 else
3953 if test -n "$ac_ct_CC"; then
3954 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3955 else
3956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3957 for as_dir in $PATH
3959 IFS=$as_save_IFS
3960 test -z "$as_dir" && as_dir=.
3961 for ac_exec_ext in '' $ac_executable_extensions; do
3962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3963 ac_cv_prog_ac_ct_CC="gcc"
3964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3965 break 2
3967 done
3968 done
3969 IFS=$as_save_IFS
3973 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3974 if test -n "$ac_ct_CC"; then
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3976 $as_echo "$ac_ct_CC" >&6; }
3977 else
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979 $as_echo "no" >&6; }
3982 if test "x$ac_ct_CC" = x; then
3983 CC=""
3984 else
3985 case $cross_compiling:$ac_tool_warned in
3986 yes:)
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3989 ac_tool_warned=yes ;;
3990 esac
3991 CC=$ac_ct_CC
3993 else
3994 CC="$ac_cv_prog_CC"
3997 if test -z "$CC"; then
3998 if test -n "$ac_tool_prefix"; then
3999 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4000 set dummy ${ac_tool_prefix}cc; ac_word=$2
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4002 $as_echo_n "checking for $ac_word... " >&6; }
4003 if ${ac_cv_prog_CC+:} false; then :
4004 $as_echo_n "(cached) " >&6
4005 else
4006 if test -n "$CC"; then
4007 ac_cv_prog_CC="$CC" # Let the user override the test.
4008 else
4009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4010 for as_dir in $PATH
4012 IFS=$as_save_IFS
4013 test -z "$as_dir" && as_dir=.
4014 for ac_exec_ext in '' $ac_executable_extensions; do
4015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4016 ac_cv_prog_CC="${ac_tool_prefix}cc"
4017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 break 2
4020 done
4021 done
4022 IFS=$as_save_IFS
4026 CC=$ac_cv_prog_CC
4027 if test -n "$CC"; then
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4029 $as_echo "$CC" >&6; }
4030 else
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4032 $as_echo "no" >&6; }
4038 if test -z "$CC"; then
4039 # Extract the first word of "cc", so it can be a program name with args.
4040 set dummy cc; ac_word=$2
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4042 $as_echo_n "checking for $ac_word... " >&6; }
4043 if ${ac_cv_prog_CC+:} false; then :
4044 $as_echo_n "(cached) " >&6
4045 else
4046 if test -n "$CC"; then
4047 ac_cv_prog_CC="$CC" # Let the user override the test.
4048 else
4049 ac_prog_rejected=no
4050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4051 for as_dir in $PATH
4053 IFS=$as_save_IFS
4054 test -z "$as_dir" && as_dir=.
4055 for ac_exec_ext in '' $ac_executable_extensions; do
4056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4057 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4058 ac_prog_rejected=yes
4059 continue
4061 ac_cv_prog_CC="cc"
4062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4063 break 2
4065 done
4066 done
4067 IFS=$as_save_IFS
4069 if test $ac_prog_rejected = yes; then
4070 # We found a bogon in the path, so make sure we never use it.
4071 set dummy $ac_cv_prog_CC
4072 shift
4073 if test $# != 0; then
4074 # We chose a different compiler from the bogus one.
4075 # However, it has the same basename, so the bogon will be chosen
4076 # first if we set CC to just the basename; use the full file name.
4077 shift
4078 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4083 CC=$ac_cv_prog_CC
4084 if test -n "$CC"; then
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4086 $as_echo "$CC" >&6; }
4087 else
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4089 $as_echo "no" >&6; }
4094 if test -z "$CC"; then
4095 if test -n "$ac_tool_prefix"; then
4096 for ac_prog in cl.exe
4098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4101 $as_echo_n "checking for $ac_word... " >&6; }
4102 if ${ac_cv_prog_CC+:} false; then :
4103 $as_echo_n "(cached) " >&6
4104 else
4105 if test -n "$CC"; then
4106 ac_cv_prog_CC="$CC" # Let the user override the test.
4107 else
4108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4109 for as_dir in $PATH
4111 IFS=$as_save_IFS
4112 test -z "$as_dir" && as_dir=.
4113 for ac_exec_ext in '' $ac_executable_extensions; do
4114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4115 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4117 break 2
4119 done
4120 done
4121 IFS=$as_save_IFS
4125 CC=$ac_cv_prog_CC
4126 if test -n "$CC"; then
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4128 $as_echo "$CC" >&6; }
4129 else
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4131 $as_echo "no" >&6; }
4135 test -n "$CC" && break
4136 done
4138 if test -z "$CC"; then
4139 ac_ct_CC=$CC
4140 for ac_prog in cl.exe
4142 # Extract the first word of "$ac_prog", so it can be a program name with args.
4143 set dummy $ac_prog; ac_word=$2
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4145 $as_echo_n "checking for $ac_word... " >&6; }
4146 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4147 $as_echo_n "(cached) " >&6
4148 else
4149 if test -n "$ac_ct_CC"; then
4150 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4151 else
4152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4153 for as_dir in $PATH
4155 IFS=$as_save_IFS
4156 test -z "$as_dir" && as_dir=.
4157 for ac_exec_ext in '' $ac_executable_extensions; do
4158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4159 ac_cv_prog_ac_ct_CC="$ac_prog"
4160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4161 break 2
4163 done
4164 done
4165 IFS=$as_save_IFS
4169 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4170 if test -n "$ac_ct_CC"; then
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4172 $as_echo "$ac_ct_CC" >&6; }
4173 else
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4175 $as_echo "no" >&6; }
4179 test -n "$ac_ct_CC" && break
4180 done
4182 if test "x$ac_ct_CC" = x; then
4183 CC=""
4184 else
4185 case $cross_compiling:$ac_tool_warned in
4186 yes:)
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4189 ac_tool_warned=yes ;;
4190 esac
4191 CC=$ac_ct_CC
4198 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4200 as_fn_error $? "no acceptable C compiler found in \$PATH
4201 See \`config.log' for more details" "$LINENO" 5; }
4203 # Provide some information about the compiler.
4204 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4205 set X $ac_compile
4206 ac_compiler=$2
4207 for ac_option in --version -v -V -qversion; do
4208 { { ac_try="$ac_compiler $ac_option >&5"
4209 case "(($ac_try" in
4210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4211 *) ac_try_echo=$ac_try;;
4212 esac
4213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4214 $as_echo "$ac_try_echo"; } >&5
4215 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4216 ac_status=$?
4217 if test -s conftest.err; then
4218 sed '10a\
4219 ... rest of stderr output deleted ...
4220 10q' conftest.err >conftest.er1
4221 cat conftest.er1 >&5
4223 rm -f conftest.er1 conftest.err
4224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4225 test $ac_status = 0; }
4226 done
4228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229 /* end confdefs.h. */
4232 main ()
4236 return 0;
4238 _ACEOF
4239 ac_clean_files_save=$ac_clean_files
4240 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4241 # Try to create an executable without -o first, disregard a.out.
4242 # It will help us diagnose broken compilers, and finding out an intuition
4243 # of exeext.
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4245 $as_echo_n "checking whether the C compiler works... " >&6; }
4246 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4248 # The possible output files:
4249 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4251 ac_rmfiles=
4252 for ac_file in $ac_files
4254 case $ac_file in
4255 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4256 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4257 esac
4258 done
4259 rm -f $ac_rmfiles
4261 if { { ac_try="$ac_link_default"
4262 case "(($ac_try" in
4263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4264 *) ac_try_echo=$ac_try;;
4265 esac
4266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4267 $as_echo "$ac_try_echo"; } >&5
4268 (eval "$ac_link_default") 2>&5
4269 ac_status=$?
4270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4271 test $ac_status = 0; }; then :
4272 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4273 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4274 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4275 # so that the user can short-circuit this test for compilers unknown to
4276 # Autoconf.
4277 for ac_file in $ac_files ''
4279 test -f "$ac_file" || continue
4280 case $ac_file in
4281 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4283 [ab].out )
4284 # We found the default executable, but exeext='' is most
4285 # certainly right.
4286 break;;
4287 *.* )
4288 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4289 then :; else
4290 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4292 # We set ac_cv_exeext here because the later test for it is not
4293 # safe: cross compilers may not add the suffix if given an `-o'
4294 # argument, so we may need to know it at that point already.
4295 # Even if this section looks crufty: it has the advantage of
4296 # actually working.
4297 break;;
4299 break;;
4300 esac
4301 done
4302 test "$ac_cv_exeext" = no && ac_cv_exeext=
4304 else
4305 ac_file=''
4307 if test -z "$ac_file"; then :
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4309 $as_echo "no" >&6; }
4310 $as_echo "$as_me: failed program was:" >&5
4311 sed 's/^/| /' conftest.$ac_ext >&5
4313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4315 as_fn_error 77 "C compiler cannot create executables
4316 See \`config.log' for more details" "$LINENO" 5; }
4317 else
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4319 $as_echo "yes" >&6; }
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4322 $as_echo_n "checking for C compiler default output file name... " >&6; }
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4324 $as_echo "$ac_file" >&6; }
4325 ac_exeext=$ac_cv_exeext
4327 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4328 ac_clean_files=$ac_clean_files_save
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4330 $as_echo_n "checking for suffix of executables... " >&6; }
4331 if { { ac_try="$ac_link"
4332 case "(($ac_try" in
4333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4334 *) ac_try_echo=$ac_try;;
4335 esac
4336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4337 $as_echo "$ac_try_echo"; } >&5
4338 (eval "$ac_link") 2>&5
4339 ac_status=$?
4340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4341 test $ac_status = 0; }; then :
4342 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4343 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4344 # work properly (i.e., refer to `conftest.exe'), while it won't with
4345 # `rm'.
4346 for ac_file in conftest.exe conftest conftest.*; do
4347 test -f "$ac_file" || continue
4348 case $ac_file in
4349 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4350 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4351 break;;
4352 * ) break;;
4353 esac
4354 done
4355 else
4356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4358 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4359 See \`config.log' for more details" "$LINENO" 5; }
4361 rm -f conftest conftest$ac_cv_exeext
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4363 $as_echo "$ac_cv_exeext" >&6; }
4365 rm -f conftest.$ac_ext
4366 EXEEXT=$ac_cv_exeext
4367 ac_exeext=$EXEEXT
4368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4369 /* end confdefs.h. */
4370 #include <stdio.h>
4372 main ()
4374 FILE *f = fopen ("conftest.out", "w");
4375 return ferror (f) || fclose (f) != 0;
4378 return 0;
4380 _ACEOF
4381 ac_clean_files="$ac_clean_files conftest.out"
4382 # Check that the compiler produces executables we can run. If not, either
4383 # the compiler is broken, or we cross compile.
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4385 $as_echo_n "checking whether we are cross compiling... " >&6; }
4386 if test "$cross_compiling" != yes; then
4387 { { ac_try="$ac_link"
4388 case "(($ac_try" in
4389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4390 *) ac_try_echo=$ac_try;;
4391 esac
4392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4393 $as_echo "$ac_try_echo"; } >&5
4394 (eval "$ac_link") 2>&5
4395 ac_status=$?
4396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4397 test $ac_status = 0; }
4398 if { ac_try='./conftest$ac_cv_exeext'
4399 { { case "(($ac_try" in
4400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4401 *) ac_try_echo=$ac_try;;
4402 esac
4403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4404 $as_echo "$ac_try_echo"; } >&5
4405 (eval "$ac_try") 2>&5
4406 ac_status=$?
4407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4408 test $ac_status = 0; }; }; then
4409 cross_compiling=no
4410 else
4411 if test "$cross_compiling" = maybe; then
4412 cross_compiling=yes
4413 else
4414 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4416 as_fn_error $? "cannot run C compiled programs.
4417 If you meant to cross compile, use \`--host'.
4418 See \`config.log' for more details" "$LINENO" 5; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4423 $as_echo "$cross_compiling" >&6; }
4425 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4426 ac_clean_files=$ac_clean_files_save
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4428 $as_echo_n "checking for suffix of object files... " >&6; }
4429 if ${ac_cv_objext+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h. */
4436 main ()
4440 return 0;
4442 _ACEOF
4443 rm -f conftest.o conftest.obj
4444 if { { ac_try="$ac_compile"
4445 case "(($ac_try" in
4446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4447 *) ac_try_echo=$ac_try;;
4448 esac
4449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4450 $as_echo "$ac_try_echo"; } >&5
4451 (eval "$ac_compile") 2>&5
4452 ac_status=$?
4453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4454 test $ac_status = 0; }; then :
4455 for ac_file in conftest.o conftest.obj conftest.*; do
4456 test -f "$ac_file" || continue;
4457 case $ac_file in
4458 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4459 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4460 break;;
4461 esac
4462 done
4463 else
4464 $as_echo "$as_me: failed program was:" >&5
4465 sed 's/^/| /' conftest.$ac_ext >&5
4467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4469 as_fn_error $? "cannot compute suffix of object files: cannot compile
4470 See \`config.log' for more details" "$LINENO" 5; }
4472 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4475 $as_echo "$ac_cv_objext" >&6; }
4476 OBJEXT=$ac_cv_objext
4477 ac_objext=$OBJEXT
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4479 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4480 if ${ac_cv_c_compiler_gnu+:} false; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h. */
4487 main ()
4489 #ifndef __GNUC__
4490 choke me
4491 #endif
4494 return 0;
4496 _ACEOF
4497 if ac_fn_c_try_compile "$LINENO"; then :
4498 ac_compiler_gnu=yes
4499 else
4500 ac_compiler_gnu=no
4502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4503 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4507 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4508 if test $ac_compiler_gnu = yes; then
4509 GCC=yes
4510 else
4511 GCC=
4513 ac_test_CFLAGS=${CFLAGS+set}
4514 ac_save_CFLAGS=$CFLAGS
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4516 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4517 if ${ac_cv_prog_cc_g+:} false; then :
4518 $as_echo_n "(cached) " >&6
4519 else
4520 ac_save_c_werror_flag=$ac_c_werror_flag
4521 ac_c_werror_flag=yes
4522 ac_cv_prog_cc_g=no
4523 CFLAGS="-g"
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4528 main ()
4532 return 0;
4534 _ACEOF
4535 if ac_fn_c_try_compile "$LINENO"; then :
4536 ac_cv_prog_cc_g=yes
4537 else
4538 CFLAGS=""
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4543 main ()
4547 return 0;
4549 _ACEOF
4550 if ac_fn_c_try_compile "$LINENO"; then :
4552 else
4553 ac_c_werror_flag=$ac_save_c_werror_flag
4554 CFLAGS="-g"
4555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4559 main ()
4563 return 0;
4565 _ACEOF
4566 if ac_fn_c_try_compile "$LINENO"; then :
4567 ac_cv_prog_cc_g=yes
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574 ac_c_werror_flag=$ac_save_c_werror_flag
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4577 $as_echo "$ac_cv_prog_cc_g" >&6; }
4578 if test "$ac_test_CFLAGS" = set; then
4579 CFLAGS=$ac_save_CFLAGS
4580 elif test $ac_cv_prog_cc_g = yes; then
4581 if test "$GCC" = yes; then
4582 CFLAGS="-g -O2"
4583 else
4584 CFLAGS="-g"
4586 else
4587 if test "$GCC" = yes; then
4588 CFLAGS="-O2"
4589 else
4590 CFLAGS=
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4594 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4595 if ${ac_cv_prog_cc_c89+:} false; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 ac_cv_prog_cc_c89=no
4599 ac_save_CC=$CC
4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4602 #include <stdarg.h>
4603 #include <stdio.h>
4604 struct stat;
4605 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4606 struct buf { int x; };
4607 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4608 static char *e (p, i)
4609 char **p;
4610 int i;
4612 return p[i];
4614 static char *f (char * (*g) (char **, int), char **p, ...)
4616 char *s;
4617 va_list v;
4618 va_start (v,p);
4619 s = g (p, va_arg (v,int));
4620 va_end (v);
4621 return s;
4624 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4625 function prototypes and stuff, but not '\xHH' hex character constants.
4626 These don't provoke an error unfortunately, instead are silently treated
4627 as 'x'. The following induces an error, until -std is added to get
4628 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4629 array size at least. It's necessary to write '\x00'==0 to get something
4630 that's true only with -std. */
4631 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4633 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4634 inside strings and character constants. */
4635 #define FOO(x) 'x'
4636 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4638 int test (int i, double x);
4639 struct s1 {int (*f) (int a);};
4640 struct s2 {int (*f) (double a);};
4641 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4642 int argc;
4643 char **argv;
4645 main ()
4647 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4649 return 0;
4651 _ACEOF
4652 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4653 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4655 CC="$ac_save_CC $ac_arg"
4656 if ac_fn_c_try_compile "$LINENO"; then :
4657 ac_cv_prog_cc_c89=$ac_arg
4659 rm -f core conftest.err conftest.$ac_objext
4660 test "x$ac_cv_prog_cc_c89" != "xno" && break
4661 done
4662 rm -f conftest.$ac_ext
4663 CC=$ac_save_CC
4666 # AC_CACHE_VAL
4667 case "x$ac_cv_prog_cc_c89" in
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4670 $as_echo "none needed" >&6; } ;;
4671 xno)
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4673 $as_echo "unsupported" >&6; } ;;
4675 CC="$CC $ac_cv_prog_cc_c89"
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4677 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4678 esac
4679 if test "x$ac_cv_prog_cc_c89" != xno; then :
4683 ac_ext=c
4684 ac_cpp='$CPP $CPPFLAGS'
4685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4689 ac_ext=cpp
4690 ac_cpp='$CXXCPP $CPPFLAGS'
4691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4694 if test -z "$CXX"; then
4695 if test -n "$CCC"; then
4696 CXX=$CCC
4697 else
4698 if test -n "$ac_tool_prefix"; then
4699 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4701 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4702 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4704 $as_echo_n "checking for $ac_word... " >&6; }
4705 if ${ac_cv_prog_CXX+:} false; then :
4706 $as_echo_n "(cached) " >&6
4707 else
4708 if test -n "$CXX"; then
4709 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4710 else
4711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4712 for as_dir in $PATH
4714 IFS=$as_save_IFS
4715 test -z "$as_dir" && as_dir=.
4716 for ac_exec_ext in '' $ac_executable_extensions; do
4717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4718 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4720 break 2
4722 done
4723 done
4724 IFS=$as_save_IFS
4728 CXX=$ac_cv_prog_CXX
4729 if test -n "$CXX"; then
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4731 $as_echo "$CXX" >&6; }
4732 else
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4734 $as_echo "no" >&6; }
4738 test -n "$CXX" && break
4739 done
4741 if test -z "$CXX"; then
4742 ac_ct_CXX=$CXX
4743 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4745 # Extract the first word of "$ac_prog", so it can be a program name with args.
4746 set dummy $ac_prog; ac_word=$2
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4748 $as_echo_n "checking for $ac_word... " >&6; }
4749 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4750 $as_echo_n "(cached) " >&6
4751 else
4752 if test -n "$ac_ct_CXX"; then
4753 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4754 else
4755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756 for as_dir in $PATH
4758 IFS=$as_save_IFS
4759 test -z "$as_dir" && as_dir=.
4760 for ac_exec_ext in '' $ac_executable_extensions; do
4761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4762 ac_cv_prog_ac_ct_CXX="$ac_prog"
4763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4764 break 2
4766 done
4767 done
4768 IFS=$as_save_IFS
4772 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4773 if test -n "$ac_ct_CXX"; then
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4775 $as_echo "$ac_ct_CXX" >&6; }
4776 else
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4778 $as_echo "no" >&6; }
4782 test -n "$ac_ct_CXX" && break
4783 done
4785 if test "x$ac_ct_CXX" = x; then
4786 CXX="g++"
4787 else
4788 case $cross_compiling:$ac_tool_warned in
4789 yes:)
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4792 ac_tool_warned=yes ;;
4793 esac
4794 CXX=$ac_ct_CXX
4800 # Provide some information about the compiler.
4801 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4802 set X $ac_compile
4803 ac_compiler=$2
4804 for ac_option in --version -v -V -qversion; do
4805 { { ac_try="$ac_compiler $ac_option >&5"
4806 case "(($ac_try" in
4807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4808 *) ac_try_echo=$ac_try;;
4809 esac
4810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4811 $as_echo "$ac_try_echo"; } >&5
4812 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4813 ac_status=$?
4814 if test -s conftest.err; then
4815 sed '10a\
4816 ... rest of stderr output deleted ...
4817 10q' conftest.err >conftest.er1
4818 cat conftest.er1 >&5
4820 rm -f conftest.er1 conftest.err
4821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4822 test $ac_status = 0; }
4823 done
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4826 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4827 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4828 $as_echo_n "(cached) " >&6
4829 else
4830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4831 /* end confdefs.h. */
4834 main ()
4836 #ifndef __GNUC__
4837 choke me
4838 #endif
4841 return 0;
4843 _ACEOF
4844 if ac_fn_cxx_try_compile "$LINENO"; then :
4845 ac_compiler_gnu=yes
4846 else
4847 ac_compiler_gnu=no
4849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4850 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4854 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4855 if test $ac_compiler_gnu = yes; then
4856 GXX=yes
4857 else
4858 GXX=
4860 ac_test_CXXFLAGS=${CXXFLAGS+set}
4861 ac_save_CXXFLAGS=$CXXFLAGS
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4863 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4864 if ${ac_cv_prog_cxx_g+:} false; then :
4865 $as_echo_n "(cached) " >&6
4866 else
4867 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4868 ac_cxx_werror_flag=yes
4869 ac_cv_prog_cxx_g=no
4870 CXXFLAGS="-g"
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4875 main ()
4879 return 0;
4881 _ACEOF
4882 if ac_fn_cxx_try_compile "$LINENO"; then :
4883 ac_cv_prog_cxx_g=yes
4884 else
4885 CXXFLAGS=""
4886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h. */
4890 main ()
4894 return 0;
4896 _ACEOF
4897 if ac_fn_cxx_try_compile "$LINENO"; then :
4899 else
4900 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4901 CXXFLAGS="-g"
4902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4903 /* end confdefs.h. */
4906 main ()
4910 return 0;
4912 _ACEOF
4913 if ac_fn_cxx_try_compile "$LINENO"; then :
4914 ac_cv_prog_cxx_g=yes
4916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4921 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4924 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4925 if test "$ac_test_CXXFLAGS" = set; then
4926 CXXFLAGS=$ac_save_CXXFLAGS
4927 elif test $ac_cv_prog_cxx_g = yes; then
4928 if test "$GXX" = yes; then
4929 CXXFLAGS="-g -O2"
4930 else
4931 CXXFLAGS="-g"
4933 else
4934 if test "$GXX" = yes; then
4935 CXXFLAGS="-O2"
4936 else
4937 CXXFLAGS=
4940 ac_ext=c
4941 ac_cpp='$CPP $CPPFLAGS'
4942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4946 if test -n "$ac_tool_prefix"; then
4947 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4948 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 $as_echo_n "checking for $ac_word... " >&6; }
4951 if ${ac_cv_prog_CPPBIN+:} false; then :
4952 $as_echo_n "(cached) " >&6
4953 else
4954 if test -n "$CPPBIN"; then
4955 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4956 else
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 for as_dir in $PATH
4960 IFS=$as_save_IFS
4961 test -z "$as_dir" && as_dir=.
4962 for ac_exec_ext in '' $ac_executable_extensions; do
4963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4964 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4966 break 2
4968 done
4969 done
4970 IFS=$as_save_IFS
4974 CPPBIN=$ac_cv_prog_CPPBIN
4975 if test -n "$CPPBIN"; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4977 $as_echo "$CPPBIN" >&6; }
4978 else
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4980 $as_echo "no" >&6; }
4985 if test -z "$ac_cv_prog_CPPBIN"; then
4986 ac_ct_CPPBIN=$CPPBIN
4987 # Extract the first word of "cpp", so it can be a program name with args.
4988 set dummy cpp; ac_word=$2
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4990 $as_echo_n "checking for $ac_word... " >&6; }
4991 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4992 $as_echo_n "(cached) " >&6
4993 else
4994 if test -n "$ac_ct_CPPBIN"; then
4995 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4996 else
4997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4998 for as_dir in $PATH
5000 IFS=$as_save_IFS
5001 test -z "$as_dir" && as_dir=.
5002 for ac_exec_ext in '' $ac_executable_extensions; do
5003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5004 ac_cv_prog_ac_ct_CPPBIN="cpp"
5005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5006 break 2
5008 done
5009 done
5010 IFS=$as_save_IFS
5014 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5015 if test -n "$ac_ct_CPPBIN"; then
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5017 $as_echo "$ac_ct_CPPBIN" >&6; }
5018 else
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5020 $as_echo "no" >&6; }
5023 if test "x$ac_ct_CPPBIN" = x; then
5024 CPPBIN="cpp"
5025 else
5026 case $cross_compiling:$ac_tool_warned in
5027 yes:)
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5030 ac_tool_warned=yes ;;
5031 esac
5032 CPPBIN=$ac_ct_CPPBIN
5034 else
5035 CPPBIN="$ac_cv_prog_CPPBIN"
5039 cat >>confdefs.h <<_ACEOF
5040 #define EXEEXT "$ac_exeext"
5041 _ACEOF
5043 if test -n "$ac_tool_prefix"; then
5044 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5045 set dummy ${ac_tool_prefix}ld; ac_word=$2
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5047 $as_echo_n "checking for $ac_word... " >&6; }
5048 if ${ac_cv_prog_LD+:} false; then :
5049 $as_echo_n "(cached) " >&6
5050 else
5051 if test -n "$LD"; then
5052 ac_cv_prog_LD="$LD" # Let the user override the test.
5053 else
5054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5055 for as_dir in $PATH
5057 IFS=$as_save_IFS
5058 test -z "$as_dir" && as_dir=.
5059 for ac_exec_ext in '' $ac_executable_extensions; do
5060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5061 ac_cv_prog_LD="${ac_tool_prefix}ld"
5062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5063 break 2
5065 done
5066 done
5067 IFS=$as_save_IFS
5071 LD=$ac_cv_prog_LD
5072 if test -n "$LD"; then
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5074 $as_echo "$LD" >&6; }
5075 else
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5082 if test -z "$ac_cv_prog_LD"; then
5083 ac_ct_LD=$LD
5084 # Extract the first word of "ld", so it can be a program name with args.
5085 set dummy ld; ac_word=$2
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087 $as_echo_n "checking for $ac_word... " >&6; }
5088 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5089 $as_echo_n "(cached) " >&6
5090 else
5091 if test -n "$ac_ct_LD"; then
5092 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5093 else
5094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095 for as_dir in $PATH
5097 IFS=$as_save_IFS
5098 test -z "$as_dir" && as_dir=.
5099 for ac_exec_ext in '' $ac_executable_extensions; do
5100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5101 ac_cv_prog_ac_ct_LD="ld"
5102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5103 break 2
5105 done
5106 done
5107 IFS=$as_save_IFS
5111 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5112 if test -n "$ac_ct_LD"; then
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5114 $as_echo "$ac_ct_LD" >&6; }
5115 else
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117 $as_echo "no" >&6; }
5120 if test "x$ac_ct_LD" = x; then
5121 LD=""
5122 else
5123 case $cross_compiling:$ac_tool_warned in
5124 yes:)
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5127 ac_tool_warned=yes ;;
5128 esac
5129 LD=$ac_ct_LD
5131 else
5132 LD="$ac_cv_prog_LD"
5136 case $host in
5137 *-darwin*)
5138 with_fontconfig=${with_fontconfig:-no}
5140 *-mingw32*|*-cygwin*)
5141 enable_win16=${enable_win16:-no}
5142 CFLAGS="$CFLAGS -D_WIN32"
5144 esac
5146 case $host in
5147 x86_64*|amd64*)
5148 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5149 then
5150 CC="$CC -m32"
5151 CXX="$CXX -m32"
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5153 $as_echo_n "checking whether $CC works... " >&6; }
5155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5156 /* end confdefs.h. */
5159 main ()
5163 return 0;
5165 _ACEOF
5166 if ac_fn_c_try_link "$LINENO"; then :
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5168 $as_echo "yes" >&6; }
5169 else
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 $as_echo "no" >&6; }
5172 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5174 rm -f core conftest.err conftest.$ac_objext \
5175 conftest$ac_exeext conftest.$ac_ext
5176 host_cpu="i386"
5177 notice_platform="32-bit "
5178 TARGETFLAGS="-m32"
5180 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5181 export PKG_CONFIG_PATH
5182 enable_win16=${enable_win16:-yes}
5183 else
5184 if test "x${GCC}" = "xyes"
5185 then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5187 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5189 /* end confdefs.h. */
5190 #include <stdarg.h>
5192 main ()
5194 void func(__builtin_ms_va_list *args);
5196 return 0;
5198 _ACEOF
5199 if ac_fn_c_try_compile "$LINENO"; then :
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5201 $as_echo "yes" >&6; }
5202 else
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5205 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5209 CC="$CC -m64"
5210 CXX="$CXX -m64"
5211 host_cpu="x86_64"
5212 notice_platform="64-bit "
5213 TARGETFLAGS="-m64"
5217 arm*)
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5219 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5221 /* end confdefs.h. */
5222 int ac_test(int i) { return i; }
5224 main ()
5226 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5228 return 0;
5230 _ACEOF
5231 if ac_fn_c_try_link "$LINENO"; then :
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5233 $as_echo "yes" >&6; }
5234 else
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5236 $as_echo "no" >&6; }
5237 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5239 rm -f core conftest.err conftest.$ac_objext \
5240 conftest$ac_exeext conftest.$ac_ext
5241 CFLAGS="$CFLAGS -marm"
5242 TARGETFLAGS="-marm"
5245 i[3456789]86*)
5246 enable_win16=${enable_win16:-yes}
5248 esac
5250 enable_win16=${enable_win16:-no}
5251 enable_win64=${enable_win64:-no}
5253 enable_winetest=${enable_winetest:-$enable_tests}
5255 if test -n "$with_wine64"
5256 then
5257 if test "x$enable_win64" = "xyes"
5258 then
5259 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5260 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5262 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5263 You should create a separate build directory and run configure from there." "$LINENO" 5
5264 enable_fonts=${enable_fonts:-no}
5265 enable_server=${enable_server:-no}
5266 elif test "x$enable_win64" = "xyes"
5267 then
5268 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5272 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5273 if ${wine_cv_toolsdir+:} false; then :
5274 $as_echo_n "(cached) " >&6
5275 else
5276 wine_cv_toolsdir="$with_wine_tools"
5277 if test -z "$with_wine_tools"; then
5278 if test "$cross_compiling" = "yes"; then
5279 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5280 elif test -n "$with_wine64"; then
5281 wine_cv_toolsdir="$with_wine64"
5284 if test -z "$wine_cv_toolsdir"; then
5285 wine_makedep=tools/makedep
5286 wine_cv_toolsdir="\$(top_builddir)"
5287 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5288 wine_makedep=$wine_cv_toolsdir/tools/makedep
5289 case "$wine_cv_toolsdir" in
5290 /*) ;;
5291 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5292 esac
5293 enable_tools=${enable_tools:-no}
5294 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5295 else
5296 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5300 $as_echo "$wine_cv_toolsdir" >&6; }
5301 TOOLSDIR=$wine_cv_toolsdir
5303 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5304 then
5305 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5309 for ac_prog in flex
5311 # Extract the first word of "$ac_prog", so it can be a program name with args.
5312 set dummy $ac_prog; ac_word=$2
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; }
5315 if ${ac_cv_prog_FLEX+:} false; then :
5316 $as_echo_n "(cached) " >&6
5317 else
5318 if test -n "$FLEX"; then
5319 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5320 else
5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 for as_dir in $PATH
5324 IFS=$as_save_IFS
5325 test -z "$as_dir" && as_dir=.
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5328 ac_cv_prog_FLEX="$ac_prog"
5329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5330 break 2
5332 done
5333 done
5334 IFS=$as_save_IFS
5338 FLEX=$ac_cv_prog_FLEX
5339 if test -n "$FLEX"; then
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5341 $as_echo "$FLEX" >&6; }
5342 else
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344 $as_echo "no" >&6; }
5348 test -n "$FLEX" && break
5349 done
5350 test -n "$FLEX" || FLEX="none"
5352 if test "$FLEX" = "none"
5353 then
5354 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5357 $as_echo_n "checking whether flex is recent enough... " >&6; }
5358 cat >conftest.l <<EOF
5359 %top{
5360 #include "prediluvian.h"
5364 if $FLEX -t conftest.l >/dev/null 2>&5
5365 then
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5367 $as_echo "yes" >&6; }
5368 else
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5370 $as_echo "no" >&6; }
5371 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5374 for ac_prog in bison
5376 # Extract the first word of "$ac_prog", so it can be a program name with args.
5377 set dummy $ac_prog; ac_word=$2
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5379 $as_echo_n "checking for $ac_word... " >&6; }
5380 if ${ac_cv_prog_BISON+:} false; then :
5381 $as_echo_n "(cached) " >&6
5382 else
5383 if test -n "$BISON"; then
5384 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5385 else
5386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387 for as_dir in $PATH
5389 IFS=$as_save_IFS
5390 test -z "$as_dir" && as_dir=.
5391 for ac_exec_ext in '' $ac_executable_extensions; do
5392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5393 ac_cv_prog_BISON="$ac_prog"
5394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 break 2
5397 done
5398 done
5399 IFS=$as_save_IFS
5403 BISON=$ac_cv_prog_BISON
5404 if test -n "$BISON"; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5406 $as_echo "$BISON" >&6; }
5407 else
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5409 $as_echo "no" >&6; }
5413 test -n "$BISON" && break
5414 done
5415 test -n "$BISON" || BISON="none"
5417 if test "$BISON" = "none"
5418 then
5419 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5422 if test -n "$ac_tool_prefix"; then
5423 for ac_prog in ar gar
5425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5426 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if ${ac_cv_prog_AR+:} false; then :
5430 $as_echo_n "(cached) " >&6
5431 else
5432 if test -n "$AR"; then
5433 ac_cv_prog_AR="$AR" # Let the user override the test.
5434 else
5435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436 for as_dir in $PATH
5438 IFS=$as_save_IFS
5439 test -z "$as_dir" && as_dir=.
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5442 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5444 break 2
5446 done
5447 done
5448 IFS=$as_save_IFS
5452 AR=$ac_cv_prog_AR
5453 if test -n "$AR"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5455 $as_echo "$AR" >&6; }
5456 else
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5462 test -n "$AR" && break
5463 done
5465 if test -z "$AR"; then
5466 ac_ct_AR=$AR
5467 for ac_prog in ar gar
5469 # Extract the first word of "$ac_prog", so it can be a program name with args.
5470 set dummy $ac_prog; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
5476 if test -n "$ac_ct_AR"; then
5477 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_ac_ct_AR="$ac_prog"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 break 2
5490 done
5491 done
5492 IFS=$as_save_IFS
5496 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5497 if test -n "$ac_ct_AR"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5499 $as_echo "$ac_ct_AR" >&6; }
5500 else
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5506 test -n "$ac_ct_AR" && break
5507 done
5509 if test "x$ac_ct_AR" = x; then
5510 AR="ar"
5511 else
5512 case $cross_compiling:$ac_tool_warned in
5513 yes:)
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5516 ac_tool_warned=yes ;;
5517 esac
5518 AR=$ac_ct_AR
5522 if test -n "$ac_tool_prefix"; then
5523 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5524 set dummy ${ac_tool_prefix}strip; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_STRIP+:} false; then :
5528 $as_echo_n "(cached) " >&6
5529 else
5530 if test -n "$STRIP"; then
5531 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5532 else
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 for as_dir in $PATH
5536 IFS=$as_save_IFS
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 break 2
5544 done
5545 done
5546 IFS=$as_save_IFS
5550 STRIP=$ac_cv_prog_STRIP
5551 if test -n "$STRIP"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5553 $as_echo "$STRIP" >&6; }
5554 else
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5561 if test -z "$ac_cv_prog_STRIP"; then
5562 ac_ct_STRIP=$STRIP
5563 # Extract the first word of "strip", so it can be a program name with args.
5564 set dummy strip; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5568 $as_echo_n "(cached) " >&6
5569 else
5570 if test -n "$ac_ct_STRIP"; then
5571 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5572 else
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in $PATH
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_ac_ct_STRIP="strip"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 break 2
5584 done
5585 done
5586 IFS=$as_save_IFS
5590 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5591 if test -n "$ac_ct_STRIP"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5593 $as_echo "$ac_ct_STRIP" >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5599 if test "x$ac_ct_STRIP" = x; then
5600 STRIP="strip"
5601 else
5602 case $cross_compiling:$ac_tool_warned in
5603 yes:)
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5606 ac_tool_warned=yes ;;
5607 esac
5608 STRIP=$ac_ct_STRIP
5610 else
5611 STRIP="$ac_cv_prog_STRIP"
5614 ARFLAGS=rc
5616 if test -n "$ac_tool_prefix"; then
5617 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5618 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if ${ac_cv_prog_RANLIB+:} false; then :
5622 $as_echo_n "(cached) " >&6
5623 else
5624 if test -n "$RANLIB"; then
5625 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5626 else
5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628 for as_dir in $PATH
5630 IFS=$as_save_IFS
5631 test -z "$as_dir" && as_dir=.
5632 for ac_exec_ext in '' $ac_executable_extensions; do
5633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5634 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5636 break 2
5638 done
5639 done
5640 IFS=$as_save_IFS
5644 RANLIB=$ac_cv_prog_RANLIB
5645 if test -n "$RANLIB"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5647 $as_echo "$RANLIB" >&6; }
5648 else
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5655 if test -z "$ac_cv_prog_RANLIB"; then
5656 ac_ct_RANLIB=$RANLIB
5657 # Extract the first word of "ranlib", so it can be a program name with args.
5658 set dummy ranlib; ac_word=$2
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 $as_echo_n "checking for $ac_word... " >&6; }
5661 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663 else
5664 if test -n "$ac_ct_RANLIB"; then
5665 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5666 else
5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5668 for as_dir in $PATH
5670 IFS=$as_save_IFS
5671 test -z "$as_dir" && as_dir=.
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_ac_ct_RANLIB="ranlib"
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5676 break 2
5678 done
5679 done
5680 IFS=$as_save_IFS
5684 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5685 if test -n "$ac_ct_RANLIB"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5687 $as_echo "$ac_ct_RANLIB" >&6; }
5688 else
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5693 if test "x$ac_ct_RANLIB" = x; then
5694 RANLIB=":"
5695 else
5696 case $cross_compiling:$ac_tool_warned in
5697 yes:)
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5700 ac_tool_warned=yes ;;
5701 esac
5702 RANLIB=$ac_ct_RANLIB
5704 else
5705 RANLIB="$ac_cv_prog_RANLIB"
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5709 $as_echo_n "checking whether ln -s works... " >&6; }
5710 LN_S=$as_ln_s
5711 if test "$LN_S" = "ln -s"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5713 $as_echo "yes" >&6; }
5714 else
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5716 $as_echo "no, using $LN_S" >&6; }
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5720 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5721 if ${ac_cv_path_GREP+:} false; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 if test -z "$GREP"; then
5725 ac_path_GREP_found=false
5726 # Loop through the user's path and test for each of PROGNAME-LIST
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5730 IFS=$as_save_IFS
5731 test -z "$as_dir" && as_dir=.
5732 for ac_prog in grep ggrep; do
5733 for ac_exec_ext in '' $ac_executable_extensions; do
5734 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5735 as_fn_executable_p "$ac_path_GREP" || continue
5736 # Check for GNU ac_path_GREP and select it if it is found.
5737 # Check for GNU $ac_path_GREP
5738 case `"$ac_path_GREP" --version 2>&1` in
5739 *GNU*)
5740 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5742 ac_count=0
5743 $as_echo_n 0123456789 >"conftest.in"
5744 while :
5746 cat "conftest.in" "conftest.in" >"conftest.tmp"
5747 mv "conftest.tmp" "conftest.in"
5748 cp "conftest.in" "conftest.nl"
5749 $as_echo 'GREP' >> "conftest.nl"
5750 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5751 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5752 as_fn_arith $ac_count + 1 && ac_count=$as_val
5753 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5754 # Best one so far, save it but keep looking for a better one
5755 ac_cv_path_GREP="$ac_path_GREP"
5756 ac_path_GREP_max=$ac_count
5758 # 10*(2^10) chars as input seems more than enough
5759 test $ac_count -gt 10 && break
5760 done
5761 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5762 esac
5764 $ac_path_GREP_found && break 3
5765 done
5766 done
5767 done
5768 IFS=$as_save_IFS
5769 if test -z "$ac_cv_path_GREP"; then
5770 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5772 else
5773 ac_cv_path_GREP=$GREP
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5778 $as_echo "$ac_cv_path_GREP" >&6; }
5779 GREP="$ac_cv_path_GREP"
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5783 $as_echo_n "checking for egrep... " >&6; }
5784 if ${ac_cv_path_EGREP+:} false; then :
5785 $as_echo_n "(cached) " >&6
5786 else
5787 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5788 then ac_cv_path_EGREP="$GREP -E"
5789 else
5790 if test -z "$EGREP"; then
5791 ac_path_EGREP_found=false
5792 # Loop through the user's path and test for each of PROGNAME-LIST
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5796 IFS=$as_save_IFS
5797 test -z "$as_dir" && as_dir=.
5798 for ac_prog in egrep; do
5799 for ac_exec_ext in '' $ac_executable_extensions; do
5800 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5801 as_fn_executable_p "$ac_path_EGREP" || continue
5802 # Check for GNU ac_path_EGREP and select it if it is found.
5803 # Check for GNU $ac_path_EGREP
5804 case `"$ac_path_EGREP" --version 2>&1` in
5805 *GNU*)
5806 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5808 ac_count=0
5809 $as_echo_n 0123456789 >"conftest.in"
5810 while :
5812 cat "conftest.in" "conftest.in" >"conftest.tmp"
5813 mv "conftest.tmp" "conftest.in"
5814 cp "conftest.in" "conftest.nl"
5815 $as_echo 'EGREP' >> "conftest.nl"
5816 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5817 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5818 as_fn_arith $ac_count + 1 && ac_count=$as_val
5819 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5820 # Best one so far, save it but keep looking for a better one
5821 ac_cv_path_EGREP="$ac_path_EGREP"
5822 ac_path_EGREP_max=$ac_count
5824 # 10*(2^10) chars as input seems more than enough
5825 test $ac_count -gt 10 && break
5826 done
5827 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5828 esac
5830 $ac_path_EGREP_found && break 3
5831 done
5832 done
5833 done
5834 IFS=$as_save_IFS
5835 if test -z "$ac_cv_path_EGREP"; then
5836 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5838 else
5839 ac_cv_path_EGREP=$EGREP
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5845 $as_echo "$ac_cv_path_EGREP" >&6; }
5846 EGREP="$ac_cv_path_EGREP"
5849 # Extract the first word of "ldconfig", so it can be a program name with args.
5850 set dummy ldconfig; ac_word=$2
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852 $as_echo_n "checking for $ac_word... " >&6; }
5853 if ${ac_cv_path_LDCONFIG+:} false; then :
5854 $as_echo_n "(cached) " >&6
5855 else
5856 case $LDCONFIG in
5857 [\\/]* | ?:[\\/]*)
5858 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in /sbin /usr/sbin $PATH
5864 IFS=$as_save_IFS
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5868 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 break 2
5872 done
5873 done
5874 IFS=$as_save_IFS
5876 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5878 esac
5880 LDCONFIG=$ac_cv_path_LDCONFIG
5881 if test -n "$LDCONFIG"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5883 $as_echo "$LDCONFIG" >&6; }
5884 else
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5890 for ac_prog in msgfmt
5892 # Extract the first word of "$ac_prog", so it can be a program name with args.
5893 set dummy $ac_prog; ac_word=$2
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5895 $as_echo_n "checking for $ac_word... " >&6; }
5896 if ${ac_cv_prog_MSGFMT+:} false; then :
5897 $as_echo_n "(cached) " >&6
5898 else
5899 if test -n "$MSGFMT"; then
5900 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5901 else
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 for as_dir in $PATH
5905 IFS=$as_save_IFS
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5909 ac_cv_prog_MSGFMT="$ac_prog"
5910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 break 2
5913 done
5914 done
5915 IFS=$as_save_IFS
5919 MSGFMT=$ac_cv_prog_MSGFMT
5920 if test -n "$MSGFMT"; then
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5922 $as_echo "$MSGFMT" >&6; }
5923 else
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5925 $as_echo "no" >&6; }
5929 test -n "$MSGFMT" && break
5930 done
5931 test -n "$MSGFMT" || MSGFMT="false"
5933 if ${ac_tool_prefix+:} false; then :
5934 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5935 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5939 $as_echo_n "(cached) " >&6
5940 else
5941 if test -n "$PKG_CONFIG"; then
5942 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5943 else
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5945 for as_dir in $PATH
5947 IFS=$as_save_IFS
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5951 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953 break 2
5955 done
5956 done
5957 IFS=$as_save_IFS
5961 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5962 if test -n "$PKG_CONFIG"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5964 $as_echo "$PKG_CONFIG" >&6; }
5965 else
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5972 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5973 if test "x$cross_compiling" = xyes; then :
5975 else
5976 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5977 # Extract the first word of "pkg-config", so it can be a program name with args.
5978 set dummy pkg-config; ac_word=$2
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5980 $as_echo_n "checking for $ac_word... " >&6; }
5981 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5982 $as_echo_n "(cached) " >&6
5983 else
5984 if test -n "$PKG_CONFIG"; then
5985 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5986 else
5987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5988 for as_dir in $PATH
5990 IFS=$as_save_IFS
5991 test -z "$as_dir" && as_dir=.
5992 for ac_exec_ext in '' $ac_executable_extensions; do
5993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5994 ac_cv_prog_PKG_CONFIG="pkg-config"
5995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5996 break 2
5998 done
5999 done
6000 IFS=$as_save_IFS
6004 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6005 if test -n "$PKG_CONFIG"; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6007 $as_echo "$PKG_CONFIG" >&6; }
6008 else
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010 $as_echo "no" >&6; }
6015 else
6016 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6019 if test "x$enable_maintainer_mode" != "xyes"
6020 then
6021 FONTFORGE=""
6022 RSVG=""
6023 CONVERT=""
6024 ICOTOOL=""
6025 else
6026 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6027 for ac_prog in fontforge
6029 # Extract the first word of "$ac_prog", so it can be a program name with args.
6030 set dummy $ac_prog; ac_word=$2
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032 $as_echo_n "checking for $ac_word... " >&6; }
6033 if ${ac_cv_prog_FONTFORGE+:} false; then :
6034 $as_echo_n "(cached) " >&6
6035 else
6036 if test -n "$FONTFORGE"; then
6037 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6038 else
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040 for as_dir in $PATH
6042 IFS=$as_save_IFS
6043 test -z "$as_dir" && as_dir=.
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6046 ac_cv_prog_FONTFORGE="$ac_prog"
6047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6048 break 2
6050 done
6051 done
6052 IFS=$as_save_IFS
6056 FONTFORGE=$ac_cv_prog_FONTFORGE
6057 if test -n "$FONTFORGE"; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6059 $as_echo "$FONTFORGE" >&6; }
6060 else
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 $as_echo "no" >&6; }
6066 test -n "$FONTFORGE" && break
6067 done
6068 test -n "$FONTFORGE" || FONTFORGE="false"
6070 for ac_prog in rsvg-convert rsvg
6072 # Extract the first word of "$ac_prog", so it can be a program name with args.
6073 set dummy $ac_prog; ac_word=$2
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if ${ac_cv_prog_RSVG+:} false; then :
6077 $as_echo_n "(cached) " >&6
6078 else
6079 if test -n "$RSVG"; then
6080 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6081 else
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 for as_dir in $PATH
6085 IFS=$as_save_IFS
6086 test -z "$as_dir" && as_dir=.
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_RSVG="$ac_prog"
6090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6091 break 2
6093 done
6094 done
6095 IFS=$as_save_IFS
6099 RSVG=$ac_cv_prog_RSVG
6100 if test -n "$RSVG"; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6102 $as_echo "$RSVG" >&6; }
6103 else
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 $as_echo "no" >&6; }
6109 test -n "$RSVG" && break
6110 done
6111 test -n "$RSVG" || RSVG="false"
6113 for ac_prog in convert
6115 # Extract the first word of "$ac_prog", so it can be a program name with args.
6116 set dummy $ac_prog; ac_word=$2
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6118 $as_echo_n "checking for $ac_word... " >&6; }
6119 if ${ac_cv_prog_CONVERT+:} false; then :
6120 $as_echo_n "(cached) " >&6
6121 else
6122 if test -n "$CONVERT"; then
6123 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6124 else
6125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6126 for as_dir in $PATH
6128 IFS=$as_save_IFS
6129 test -z "$as_dir" && as_dir=.
6130 for ac_exec_ext in '' $ac_executable_extensions; do
6131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6132 ac_cv_prog_CONVERT="$ac_prog"
6133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6134 break 2
6136 done
6137 done
6138 IFS=$as_save_IFS
6142 CONVERT=$ac_cv_prog_CONVERT
6143 if test -n "$CONVERT"; then
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6145 $as_echo "$CONVERT" >&6; }
6146 else
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6148 $as_echo "no" >&6; }
6152 test -n "$CONVERT" && break
6153 done
6154 test -n "$CONVERT" || CONVERT="false"
6156 for ac_prog in icotool
6158 # Extract the first word of "$ac_prog", so it can be a program name with args.
6159 set dummy $ac_prog; ac_word=$2
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6161 $as_echo_n "checking for $ac_word... " >&6; }
6162 if ${ac_cv_prog_ICOTOOL+:} false; then :
6163 $as_echo_n "(cached) " >&6
6164 else
6165 if test -n "$ICOTOOL"; then
6166 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6167 else
6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 for as_dir in $PATH
6171 IFS=$as_save_IFS
6172 test -z "$as_dir" && as_dir=.
6173 for ac_exec_ext in '' $ac_executable_extensions; do
6174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6175 ac_cv_prog_ICOTOOL="$ac_prog"
6176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6177 break 2
6179 done
6180 done
6181 IFS=$as_save_IFS
6185 ICOTOOL=$ac_cv_prog_ICOTOOL
6186 if test -n "$ICOTOOL"; then
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6188 $as_echo "$ICOTOOL" >&6; }
6189 else
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6191 $as_echo "no" >&6; }
6195 test -n "$ICOTOOL" && break
6196 done
6197 test -n "$ICOTOOL" || ICOTOOL="false"
6199 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6200 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6202 if test "$CONVERT" = false
6203 then
6204 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6205 else
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6207 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6208 convert_version=`convert --version | head -n1`
6209 if test "x$convert_version" != "x"
6210 then
6211 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6212 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6213 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6214 then
6215 CONVERT=false
6218 if test "$CONVERT" = false
6219 then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6221 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6222 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6225 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6229 if test "$ICOTOOL" = false
6230 then
6231 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6232 else
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6234 $as_echo_n "checking for recent enough icotool... " >&6; }
6235 icotool_version=`icotool --version | head -n1`
6236 if test "x$icotool_version" != "x"
6237 then
6238 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6239 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6240 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6241 then
6242 ICOTOOL=false
6243 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6246 if test "$ICOTOOL" = false
6247 then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6249 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6250 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6251 else
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6253 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6257 with_gettext=yes
6258 with_gettextpo=yes
6259 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6262 test "x$with_gettext" != xno || MSGFMT=false
6263 if test "$MSGFMT" != "false"
6264 then
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6266 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6267 cat >conftest.po <<EOF
6268 # comment
6269 msgctxt "ctxt"
6270 msgid "id"
6271 msgstr "str"
6273 if $MSGFMT -o /dev/null conftest.po 2>&5
6274 then
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6276 $as_echo "yes" >&6; }
6277 else
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279 $as_echo "no" >&6; }
6280 MSGFMT=false
6283 if test "$MSGFMT" = false; then :
6284 case "x$with_gettext" in
6285 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6286 xno) ;;
6287 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6288 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6289 esac
6290 enable_po=${enable_po:-no}
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6295 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6296 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6297 $as_echo_n "(cached) " >&6
6298 else
6299 ac_check_lib_save_LIBS=$LIBS
6300 LIBS="-li386 $LIBS"
6301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6302 /* end confdefs.h. */
6304 /* Override any GCC internal prototype to avoid an error.
6305 Use char because int might match the return type of a GCC
6306 builtin and then its argument prototype would still apply. */
6307 #ifdef __cplusplus
6308 extern "C"
6309 #endif
6310 char i386_set_ldt ();
6312 main ()
6314 return i386_set_ldt ();
6316 return 0;
6318 _ACEOF
6319 if ac_fn_c_try_link "$LINENO"; then :
6320 ac_cv_lib_i386_i386_set_ldt=yes
6321 else
6322 ac_cv_lib_i386_i386_set_ldt=no
6324 rm -f core conftest.err conftest.$ac_objext \
6325 conftest$ac_exeext conftest.$ac_ext
6326 LIBS=$ac_check_lib_save_LIBS
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6329 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6330 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6331 cat >>confdefs.h <<_ACEOF
6332 #define HAVE_LIBI386 1
6333 _ACEOF
6335 LIBS="-li386 $LIBS"
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6340 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6341 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6342 $as_echo_n "(cached) " >&6
6343 else
6344 ac_check_lib_save_LIBS=$LIBS
6345 LIBS="-lossaudio $LIBS"
6346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6347 /* end confdefs.h. */
6349 /* Override any GCC internal prototype to avoid an error.
6350 Use char because int might match the return type of a GCC
6351 builtin and then its argument prototype would still apply. */
6352 #ifdef __cplusplus
6353 extern "C"
6354 #endif
6355 char _oss_ioctl ();
6357 main ()
6359 return _oss_ioctl ();
6361 return 0;
6363 _ACEOF
6364 if ac_fn_c_try_link "$LINENO"; then :
6365 ac_cv_lib_ossaudio__oss_ioctl=yes
6366 else
6367 ac_cv_lib_ossaudio__oss_ioctl=no
6369 rm -f core conftest.err conftest.$ac_objext \
6370 conftest$ac_exeext conftest.$ac_ext
6371 LIBS=$ac_check_lib_save_LIBS
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6374 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6375 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6376 cat >>confdefs.h <<_ACEOF
6377 #define HAVE_LIBOSSAUDIO 1
6378 _ACEOF
6380 LIBS="-lossaudio $LIBS"
6385 OPENGL_LIBS=""
6389 # Check whether --enable-largefile was given.
6390 if test "${enable_largefile+set}" = set; then :
6391 enableval=$enable_largefile;
6394 if test "$enable_largefile" != no; then
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6397 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6398 if ${ac_cv_sys_largefile_CC+:} false; then :
6399 $as_echo_n "(cached) " >&6
6400 else
6401 ac_cv_sys_largefile_CC=no
6402 if test "$GCC" != yes; then
6403 ac_save_CC=$CC
6404 while :; do
6405 # IRIX 6.2 and later do not support large files by default,
6406 # so use the C compiler's -n32 option if that helps.
6407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6408 /* end confdefs.h. */
6409 #include <sys/types.h>
6410 /* Check that off_t can represent 2**63 - 1 correctly.
6411 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6412 since some C++ compilers masquerading as C compilers
6413 incorrectly reject 9223372036854775807. */
6414 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6415 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6416 && LARGE_OFF_T % 2147483647 == 1)
6417 ? 1 : -1];
6419 main ()
6423 return 0;
6425 _ACEOF
6426 if ac_fn_c_try_compile "$LINENO"; then :
6427 break
6429 rm -f core conftest.err conftest.$ac_objext
6430 CC="$CC -n32"
6431 if ac_fn_c_try_compile "$LINENO"; then :
6432 ac_cv_sys_largefile_CC=' -n32'; break
6434 rm -f core conftest.err conftest.$ac_objext
6435 break
6436 done
6437 CC=$ac_save_CC
6438 rm -f conftest.$ac_ext
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6442 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6443 if test "$ac_cv_sys_largefile_CC" != no; then
6444 CC=$CC$ac_cv_sys_largefile_CC
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6448 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6449 if ${ac_cv_sys_file_offset_bits+:} false; then :
6450 $as_echo_n "(cached) " >&6
6451 else
6452 while :; do
6453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6454 /* end confdefs.h. */
6455 #include <sys/types.h>
6456 /* Check that off_t can represent 2**63 - 1 correctly.
6457 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6458 since some C++ compilers masquerading as C compilers
6459 incorrectly reject 9223372036854775807. */
6460 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6461 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6462 && LARGE_OFF_T % 2147483647 == 1)
6463 ? 1 : -1];
6465 main ()
6469 return 0;
6471 _ACEOF
6472 if ac_fn_c_try_compile "$LINENO"; then :
6473 ac_cv_sys_file_offset_bits=no; break
6475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6477 /* end confdefs.h. */
6478 #define _FILE_OFFSET_BITS 64
6479 #include <sys/types.h>
6480 /* Check that off_t can represent 2**63 - 1 correctly.
6481 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6482 since some C++ compilers masquerading as C compilers
6483 incorrectly reject 9223372036854775807. */
6484 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6485 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6486 && LARGE_OFF_T % 2147483647 == 1)
6487 ? 1 : -1];
6489 main ()
6493 return 0;
6495 _ACEOF
6496 if ac_fn_c_try_compile "$LINENO"; then :
6497 ac_cv_sys_file_offset_bits=64; break
6499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6500 ac_cv_sys_file_offset_bits=unknown
6501 break
6502 done
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6505 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6506 case $ac_cv_sys_file_offset_bits in #(
6507 no | unknown) ;;
6509 cat >>confdefs.h <<_ACEOF
6510 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6511 _ACEOF
6513 esac
6514 rm -rf conftest*
6515 if test $ac_cv_sys_file_offset_bits = unknown; then
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6517 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6518 if ${ac_cv_sys_large_files+:} false; then :
6519 $as_echo_n "(cached) " >&6
6520 else
6521 while :; do
6522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6523 /* end confdefs.h. */
6524 #include <sys/types.h>
6525 /* Check that off_t can represent 2**63 - 1 correctly.
6526 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6527 since some C++ compilers masquerading as C compilers
6528 incorrectly reject 9223372036854775807. */
6529 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6530 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6531 && LARGE_OFF_T % 2147483647 == 1)
6532 ? 1 : -1];
6534 main ()
6538 return 0;
6540 _ACEOF
6541 if ac_fn_c_try_compile "$LINENO"; then :
6542 ac_cv_sys_large_files=no; break
6544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6546 /* end confdefs.h. */
6547 #define _LARGE_FILES 1
6548 #include <sys/types.h>
6549 /* Check that off_t can represent 2**63 - 1 correctly.
6550 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6551 since some C++ compilers masquerading as C compilers
6552 incorrectly reject 9223372036854775807. */
6553 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6554 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6555 && LARGE_OFF_T % 2147483647 == 1)
6556 ? 1 : -1];
6558 main ()
6562 return 0;
6564 _ACEOF
6565 if ac_fn_c_try_compile "$LINENO"; then :
6566 ac_cv_sys_large_files=1; break
6568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6569 ac_cv_sys_large_files=unknown
6570 break
6571 done
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6574 $as_echo "$ac_cv_sys_large_files" >&6; }
6575 case $ac_cv_sys_large_files in #(
6576 no | unknown) ;;
6578 cat >>confdefs.h <<_ACEOF
6579 #define _LARGE_FILES $ac_cv_sys_large_files
6580 _ACEOF
6582 esac
6583 rm -rf conftest*
6590 ac_ext=c
6591 ac_cpp='$CPP $CPPFLAGS'
6592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6596 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6597 # On Suns, sometimes $CPP names a directory.
6598 if test -n "$CPP" && test -d "$CPP"; then
6599 CPP=
6601 if test -z "$CPP"; then
6602 if ${ac_cv_prog_CPP+:} false; then :
6603 $as_echo_n "(cached) " >&6
6604 else
6605 # Double quotes because CPP needs to be expanded
6606 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6608 ac_preproc_ok=false
6609 for ac_c_preproc_warn_flag in '' yes
6611 # Use a header file that comes with gcc, so configuring glibc
6612 # with a fresh cross-compiler works.
6613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6614 # <limits.h> exists even on freestanding compilers.
6615 # On the NeXT, cc -E runs the code through the compiler's parser,
6616 # not just through cpp. "Syntax error" is here to catch this case.
6617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6618 /* end confdefs.h. */
6619 #ifdef __STDC__
6620 # include <limits.h>
6621 #else
6622 # include <assert.h>
6623 #endif
6624 Syntax error
6625 _ACEOF
6626 if ac_fn_c_try_cpp "$LINENO"; then :
6628 else
6629 # Broken: fails on valid input.
6630 continue
6632 rm -f conftest.err conftest.i conftest.$ac_ext
6634 # OK, works on sane cases. Now check whether nonexistent headers
6635 # can be detected and how.
6636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6637 /* end confdefs.h. */
6638 #include <ac_nonexistent.h>
6639 _ACEOF
6640 if ac_fn_c_try_cpp "$LINENO"; then :
6641 # Broken: success on invalid input.
6642 continue
6643 else
6644 # Passes both tests.
6645 ac_preproc_ok=:
6646 break
6648 rm -f conftest.err conftest.i conftest.$ac_ext
6650 done
6651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6652 rm -f conftest.i conftest.err conftest.$ac_ext
6653 if $ac_preproc_ok; then :
6654 break
6657 done
6658 ac_cv_prog_CPP=$CPP
6661 CPP=$ac_cv_prog_CPP
6662 else
6663 ac_cv_prog_CPP=$CPP
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6666 $as_echo "$CPP" >&6; }
6667 ac_preproc_ok=false
6668 for ac_c_preproc_warn_flag in '' yes
6670 # Use a header file that comes with gcc, so configuring glibc
6671 # with a fresh cross-compiler works.
6672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6673 # <limits.h> exists even on freestanding compilers.
6674 # On the NeXT, cc -E runs the code through the compiler's parser,
6675 # not just through cpp. "Syntax error" is here to catch this case.
6676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6677 /* end confdefs.h. */
6678 #ifdef __STDC__
6679 # include <limits.h>
6680 #else
6681 # include <assert.h>
6682 #endif
6683 Syntax error
6684 _ACEOF
6685 if ac_fn_c_try_cpp "$LINENO"; then :
6687 else
6688 # Broken: fails on valid input.
6689 continue
6691 rm -f conftest.err conftest.i conftest.$ac_ext
6693 # OK, works on sane cases. Now check whether nonexistent headers
6694 # can be detected and how.
6695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6697 #include <ac_nonexistent.h>
6698 _ACEOF
6699 if ac_fn_c_try_cpp "$LINENO"; then :
6700 # Broken: success on invalid input.
6701 continue
6702 else
6703 # Passes both tests.
6704 ac_preproc_ok=:
6705 break
6707 rm -f conftest.err conftest.i conftest.$ac_ext
6709 done
6710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6711 rm -f conftest.i conftest.err conftest.$ac_ext
6712 if $ac_preproc_ok; then :
6714 else
6715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6717 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6718 See \`config.log' for more details" "$LINENO" 5; }
6721 ac_ext=c
6722 ac_cpp='$CPP $CPPFLAGS'
6723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6729 $as_echo_n "checking for ANSI C header files... " >&6; }
6730 if ${ac_cv_header_stdc+:} false; then :
6731 $as_echo_n "(cached) " >&6
6732 else
6733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6734 /* end confdefs.h. */
6735 #include <stdlib.h>
6736 #include <stdarg.h>
6737 #include <string.h>
6738 #include <float.h>
6741 main ()
6745 return 0;
6747 _ACEOF
6748 if ac_fn_c_try_compile "$LINENO"; then :
6749 ac_cv_header_stdc=yes
6750 else
6751 ac_cv_header_stdc=no
6753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6755 if test $ac_cv_header_stdc = yes; then
6756 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6758 /* end confdefs.h. */
6759 #include <string.h>
6761 _ACEOF
6762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6763 $EGREP "memchr" >/dev/null 2>&1; then :
6765 else
6766 ac_cv_header_stdc=no
6768 rm -f conftest*
6772 if test $ac_cv_header_stdc = yes; then
6773 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6775 /* end confdefs.h. */
6776 #include <stdlib.h>
6778 _ACEOF
6779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6780 $EGREP "free" >/dev/null 2>&1; then :
6782 else
6783 ac_cv_header_stdc=no
6785 rm -f conftest*
6789 if test $ac_cv_header_stdc = yes; then
6790 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6791 if test "$cross_compiling" = yes; then :
6793 else
6794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6795 /* end confdefs.h. */
6796 #include <ctype.h>
6797 #include <stdlib.h>
6798 #if ((' ' & 0x0FF) == 0x020)
6799 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6800 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6801 #else
6802 # define ISLOWER(c) \
6803 (('a' <= (c) && (c) <= 'i') \
6804 || ('j' <= (c) && (c) <= 'r') \
6805 || ('s' <= (c) && (c) <= 'z'))
6806 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6807 #endif
6809 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6811 main ()
6813 int i;
6814 for (i = 0; i < 256; i++)
6815 if (XOR (islower (i), ISLOWER (i))
6816 || toupper (i) != TOUPPER (i))
6817 return 2;
6818 return 0;
6820 _ACEOF
6821 if ac_fn_c_try_run "$LINENO"; then :
6823 else
6824 ac_cv_header_stdc=no
6826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6827 conftest.$ac_objext conftest.beam conftest.$ac_ext
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6833 $as_echo "$ac_cv_header_stdc" >&6; }
6834 if test $ac_cv_header_stdc = yes; then
6836 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6840 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6841 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6842 inttypes.h stdint.h unistd.h
6843 do :
6844 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6845 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6847 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6848 cat >>confdefs.h <<_ACEOF
6849 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6850 _ACEOF
6854 done
6857 for ac_header in \
6858 AL/al.h \
6859 ApplicationServices/ApplicationServices.h \
6860 AudioToolbox/AudioConverter.h \
6861 AudioUnit/AudioUnit.h \
6862 AudioUnit/AudioComponent.h \
6863 CL/cl.h \
6864 Carbon/Carbon.h \
6865 CommonCrypto/CommonDigest.h \
6866 CoreAudio/CoreAudio.h \
6867 CoreServices/CoreServices.h \
6868 DiskArbitration/DiskArbitration.h \
6869 EGL/egl.h \
6870 IOKit/IOKitLib.h \
6871 IOKit/hid/IOHIDLib.h \
6872 OpenAL/al.h \
6873 OpenCL/opencl.h \
6874 QuickTime/ImageCompression.h \
6875 Security/Security.h \
6876 alias.h \
6877 alsa/asoundlib.h \
6878 arpa/inet.h \
6879 arpa/nameser.h \
6880 asm/types.h \
6881 asm/user.h \
6882 curses.h \
6883 direct.h \
6884 dirent.h \
6885 dlfcn.h \
6886 elf.h \
6887 float.h \
6888 fnmatch.h \
6889 getopt.h \
6890 gettext-po.h \
6891 grp.h \
6892 gsm.h \
6893 gsm/gsm.h \
6894 ieeefp.h \
6895 inet/mib2.h \
6896 io.h \
6897 kstat.h \
6898 libproc.h \
6899 link.h \
6900 linux/cdrom.h \
6901 linux/compiler.h \
6902 linux/filter.h \
6903 linux/hdreg.h \
6904 linux/hidraw.h \
6905 linux/input.h \
6906 linux/ioctl.h \
6907 linux/joystick.h \
6908 linux/major.h \
6909 linux/param.h \
6910 linux/serial.h \
6911 linux/types.h \
6912 linux/ucdrom.h \
6913 lwp.h \
6914 mach-o/nlist.h \
6915 mach-o/loader.h \
6916 mach/mach.h \
6917 mach/machine.h \
6918 machine/cpu.h \
6919 machine/limits.h \
6920 machine/sysarch.h \
6921 mntent.h \
6922 ncurses.h \
6923 netdb.h \
6924 netinet/in.h \
6925 netinet/in_systm.h \
6926 netinet/tcp.h \
6927 netinet/tcp_fsm.h \
6928 pcap/pcap.h \
6929 poll.h \
6930 port.h \
6931 process.h \
6932 pthread.h \
6933 pwd.h \
6934 sched.h \
6935 scsi/scsi.h \
6936 scsi/scsi_ioctl.h \
6937 scsi/sg.h \
6938 stdbool.h \
6939 stdint.h \
6940 stropts.h \
6941 sys/asoundlib.h \
6942 sys/attr.h \
6943 sys/auxv.h \
6944 sys/cdio.h \
6945 sys/elf32.h \
6946 sys/epoll.h \
6947 sys/event.h \
6948 sys/exec_elf.h \
6949 sys/filio.h \
6950 sys/inotify.h \
6951 sys/ioctl.h \
6952 sys/ipc.h \
6953 sys/limits.h \
6954 sys/link.h \
6955 sys/mman.h \
6956 sys/modem.h \
6957 sys/msg.h \
6958 sys/mtio.h \
6959 sys/param.h \
6960 sys/poll.h \
6961 sys/prctl.h \
6962 sys/protosw.h \
6963 sys/ptrace.h \
6964 sys/queue.h \
6965 sys/resource.h \
6966 sys/scsiio.h \
6967 sys/shm.h \
6968 sys/signal.h \
6969 sys/socket.h \
6970 sys/socketvar.h \
6971 sys/sockio.h \
6972 sys/statvfs.h \
6973 sys/strtio.h \
6974 sys/syscall.h \
6975 sys/sysinfo.h \
6976 sys/tihdr.h \
6977 sys/time.h \
6978 sys/timeout.h \
6979 sys/times.h \
6980 sys/uio.h \
6981 sys/user.h \
6982 sys/utsname.h \
6983 sys/vm86.h \
6984 sys/vnode.h \
6985 sys/wait.h \
6986 syscall.h \
6987 termios.h \
6988 unistd.h \
6989 utime.h \
6990 valgrind/memcheck.h \
6991 valgrind/valgrind.h \
6992 zlib.h
6994 do :
6995 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6996 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6997 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6998 cat >>confdefs.h <<_ACEOF
6999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7000 _ACEOF
7004 done
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
7007 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
7008 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
7009 $as_echo_n "(cached) " >&6
7010 else
7011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7012 /* end confdefs.h. */
7013 #include <sys/types.h>
7015 main ()
7017 return makedev(0, 0);
7019 return 0;
7021 _ACEOF
7022 if ac_fn_c_try_link "$LINENO"; then :
7023 ac_cv_header_sys_types_h_makedev=yes
7024 else
7025 ac_cv_header_sys_types_h_makedev=no
7027 rm -f core conftest.err conftest.$ac_objext \
7028 conftest$ac_exeext conftest.$ac_ext
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7032 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7034 if test $ac_cv_header_sys_types_h_makedev = no; then
7035 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7036 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7038 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7044 if test $ac_cv_header_sys_mkdev_h = no; then
7045 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7046 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7048 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7057 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7058 if ${ac_cv_header_stat_broken+:} false; then :
7059 $as_echo_n "(cached) " >&6
7060 else
7061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7062 /* end confdefs.h. */
7063 #include <sys/types.h>
7064 #include <sys/stat.h>
7066 #if defined S_ISBLK && defined S_IFDIR
7067 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7068 #endif
7070 #if defined S_ISBLK && defined S_IFCHR
7071 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7072 #endif
7074 #if defined S_ISLNK && defined S_IFREG
7075 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7076 #endif
7078 #if defined S_ISSOCK && defined S_IFREG
7079 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7080 #endif
7082 _ACEOF
7083 if ac_fn_c_try_compile "$LINENO"; then :
7084 ac_cv_header_stat_broken=no
7085 else
7086 ac_cv_header_stat_broken=yes
7088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7091 $as_echo "$ac_cv_header_stat_broken" >&6; }
7092 if test $ac_cv_header_stat_broken = yes; then
7094 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7100 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7101 do :
7102 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7103 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7104 #ifdef HAVE_SYS_PARAM_H
7105 # include <sys/param.h>
7106 #endif
7108 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7109 cat >>confdefs.h <<_ACEOF
7110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7111 _ACEOF
7115 done
7118 for ac_header in \
7119 netinet/ip.h \
7120 net/if.h \
7121 net/if_arp.h \
7122 net/if_dl.h \
7123 net/if_types.h \
7124 net/route.h \
7125 netinet/if_ether.h \
7126 netinet/if_inarp.h \
7127 netinet/in_pcb.h \
7128 netinet/ip_icmp.h \
7129 netinet/ip_var.h \
7130 netinet/udp.h \
7131 netipx/ipx.h \
7132 sys/un.h \
7134 do :
7135 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7136 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7137 #ifdef HAVE_SYS_SOCKET_H
7138 # include <sys/socket.h>
7139 #endif
7140 #ifdef HAVE_SYS_SOCKETVAR_H
7141 # include <sys/socketvar.h>
7142 #endif
7143 #ifdef HAVE_NET_ROUTE_H
7144 # include <net/route.h>
7145 #endif
7146 #ifdef HAVE_NETINET_IN_H
7147 # include <netinet/in.h>
7148 #endif
7149 #ifdef HAVE_NETINET_IN_SYSTM_H
7150 # include <netinet/in_systm.h>
7151 #endif
7152 #ifdef HAVE_NET_IF_H
7153 # include <net/if.h>
7154 #endif
7155 #ifdef HAVE_NETINET_IP_H
7156 # include <netinet/ip.h>
7157 #endif
7159 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7160 cat >>confdefs.h <<_ACEOF
7161 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7162 _ACEOF
7166 done
7169 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7170 do :
7171 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7172 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7173 #ifdef HAVE_ALIAS_H
7174 # include <alias.h>
7175 #endif
7176 #ifdef HAVE_SYS_SOCKET_H
7177 # include <sys/socket.h>
7178 #endif
7179 #ifdef HAVE_SYS_SOCKETVAR_H
7180 # include <sys/socketvar.h>
7181 #endif
7182 #ifdef HAVE_SYS_TIMEOUT_H
7183 # include <sys/timeout.h>
7184 #endif
7185 #ifdef HAVE_NETINET_IN_H
7186 # include <netinet/in.h>
7187 #endif
7188 #ifdef HAVE_NETINET_IN_SYSTM_H
7189 # include <netinet/in_systm.h>
7190 #endif
7191 #ifdef HAVE_NETINET_IP_H
7192 # include <netinet/ip.h>
7193 #endif
7194 #ifdef HAVE_NETINET_IP_VAR_H
7195 # include <netinet/ip_var.h>
7196 #endif
7197 #ifdef HAVE_NETINET_IP_ICMP_H
7198 # include <netinet/ip_icmp.h>
7199 #endif
7200 #ifdef HAVE_NETINET_UDP_H
7201 # include <netinet/udp.h>
7202 #endif
7203 #ifdef HAVE_NETINET_TCP_H
7204 # include <netinet/tcp.h>
7205 #endif
7206 #ifdef HAVE_NETINET_TCP_TIMER_H
7207 #include <netinet/tcp_timer.h>
7208 #endif
7210 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7211 cat >>confdefs.h <<_ACEOF
7212 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7213 _ACEOF
7217 done
7220 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7221 do :
7222 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7224 #ifdef HAVE_ASM_TYPES_H
7225 # include <asm/types.h>
7226 #endif
7227 #ifdef HAVE_SYS_SOCKET_H
7228 # include <sys/socket.h>
7229 #endif
7230 #ifdef HAVE_LINUX_TYPES_H
7231 # include <linux/types.h>
7232 #endif
7234 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7235 cat >>confdefs.h <<_ACEOF
7236 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7237 _ACEOF
7241 done
7244 for ac_header in mach-o/dyld_images.h
7245 do :
7246 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7247 # include <stdbool.h>
7248 #endif
7249 #ifdef HAVE_STDINT_H
7250 # include <stdint.h>
7251 #endif
7253 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7254 cat >>confdefs.h <<_ACEOF
7255 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7256 _ACEOF
7260 done
7263 for ac_header in resolv.h
7264 do :
7265 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7266 #ifdef HAVE_SYS_SOCKET_H
7267 # include <sys/socket.h>
7268 #endif
7269 #ifdef HAVE_NETINET_IN_H
7270 # include <netinet/in.h>
7271 #endif
7272 #ifdef HAVE_ARPA_NAMESER_H
7273 # include <arpa/nameser.h>
7274 #endif
7276 if test "x$ac_cv_header_resolv_h" = xyes; then :
7277 cat >>confdefs.h <<_ACEOF
7278 #define HAVE_RESOLV_H 1
7279 _ACEOF
7283 done
7286 for ac_header in ifaddrs.h
7287 do :
7288 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7290 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7291 cat >>confdefs.h <<_ACEOF
7292 #define HAVE_IFADDRS_H 1
7293 _ACEOF
7297 done
7300 for ac_header in sys/ucontext.h
7301 do :
7302 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7304 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7305 cat >>confdefs.h <<_ACEOF
7306 #define HAVE_SYS_UCONTEXT_H 1
7307 _ACEOF
7311 done
7314 for ac_header in sys/thr.h
7315 do :
7316 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7317 #ifdef HAVE_SYS_UCONTEXT_H
7318 #include <sys/ucontext.h>
7319 #endif
7321 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7322 cat >>confdefs.h <<_ACEOF
7323 #define HAVE_SYS_THR_H 1
7324 _ACEOF
7328 done
7331 for ac_header in pthread_np.h
7332 do :
7333 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7334 #include <pthread.h>
7335 #endif
7337 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7338 cat >>confdefs.h <<_ACEOF
7339 #define HAVE_PTHREAD_NP_H 1
7340 _ACEOF
7344 done
7347 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7348 do :
7349 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7350 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7351 #include <sys/time.h>
7352 #endif
7353 #include <sys/types.h>
7354 #ifdef HAVE_ASM_TYPES_H
7355 #include <asm/types.h>
7356 #endif
7358 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7359 cat >>confdefs.h <<_ACEOF
7360 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7361 _ACEOF
7365 done
7368 for ac_header in libprocstat.h
7369 do :
7370 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7371 #include <sys/param.h>
7372 #endif
7373 #ifdef HAVE_SYS_QUEUE_H
7374 #include <sys/queue.h>
7375 #endif
7376 #ifdef HAVE_SYS_SOCKET_H
7377 #include <sys/socket.h>
7378 #endif
7380 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7381 cat >>confdefs.h <<_ACEOF
7382 #define HAVE_LIBPROCSTAT_H 1
7383 _ACEOF
7387 done
7391 dlldir="\${libdir}/wine"
7393 DLLFLAGS="-D_REENTRANT"
7395 LDRPATH_INSTALL=""
7397 LDRPATH_LOCAL=""
7399 LDEXECFLAGS=""
7401 WINELOADER_LDFLAGS=""
7403 LIBEXT="so"
7404 DLLEXT=".so"
7405 IMPLIBEXT="def"
7406 # Extract the first word of "ldd", so it can be a program name with args.
7407 set dummy ldd; ac_word=$2
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7409 $as_echo_n "checking for $ac_word... " >&6; }
7410 if ${ac_cv_path_LDD+:} false; then :
7411 $as_echo_n "(cached) " >&6
7412 else
7413 case $LDD in
7414 [\\/]* | ?:[\\/]*)
7415 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7419 as_dummy="/sbin:/usr/sbin:$PATH"
7420 for as_dir in $as_dummy
7422 IFS=$as_save_IFS
7423 test -z "$as_dir" && as_dir=.
7424 for ac_exec_ext in '' $ac_executable_extensions; do
7425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7426 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 break 2
7430 done
7431 done
7432 IFS=$as_save_IFS
7434 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7436 esac
7438 LDD=$ac_cv_path_LDD
7439 if test -n "$LDD"; then
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7441 $as_echo "$LDD" >&6; }
7442 else
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7444 $as_echo "no" >&6; }
7448 if test -n "$ac_tool_prefix"; then
7449 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7450 set dummy ${ac_tool_prefix}otool; ac_word=$2
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7452 $as_echo_n "checking for $ac_word... " >&6; }
7453 if ${ac_cv_prog_OTOOL+:} false; then :
7454 $as_echo_n "(cached) " >&6
7455 else
7456 if test -n "$OTOOL"; then
7457 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7458 else
7459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7460 for as_dir in $PATH
7462 IFS=$as_save_IFS
7463 test -z "$as_dir" && as_dir=.
7464 for ac_exec_ext in '' $ac_executable_extensions; do
7465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7466 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7468 break 2
7470 done
7471 done
7472 IFS=$as_save_IFS
7476 OTOOL=$ac_cv_prog_OTOOL
7477 if test -n "$OTOOL"; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7479 $as_echo "$OTOOL" >&6; }
7480 else
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7482 $as_echo "no" >&6; }
7487 if test -z "$ac_cv_prog_OTOOL"; then
7488 ac_ct_OTOOL=$OTOOL
7489 # Extract the first word of "otool", so it can be a program name with args.
7490 set dummy otool; ac_word=$2
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7492 $as_echo_n "checking for $ac_word... " >&6; }
7493 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7494 $as_echo_n "(cached) " >&6
7495 else
7496 if test -n "$ac_ct_OTOOL"; then
7497 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7498 else
7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7500 for as_dir in $PATH
7502 IFS=$as_save_IFS
7503 test -z "$as_dir" && as_dir=.
7504 for ac_exec_ext in '' $ac_executable_extensions; do
7505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7506 ac_cv_prog_ac_ct_OTOOL="otool"
7507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7508 break 2
7510 done
7511 done
7512 IFS=$as_save_IFS
7516 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7517 if test -n "$ac_ct_OTOOL"; then
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7519 $as_echo "$ac_ct_OTOOL" >&6; }
7520 else
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522 $as_echo "no" >&6; }
7525 if test "x$ac_ct_OTOOL" = x; then
7526 OTOOL="otool"
7527 else
7528 case $cross_compiling:$ac_tool_warned in
7529 yes:)
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7532 ac_tool_warned=yes ;;
7533 esac
7534 OTOOL=$ac_ct_OTOOL
7536 else
7537 OTOOL="$ac_cv_prog_OTOOL"
7540 if test -n "$ac_tool_prefix"; then
7541 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7542 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7544 $as_echo_n "checking for $ac_word... " >&6; }
7545 if ${ac_cv_prog_READELF+:} false; then :
7546 $as_echo_n "(cached) " >&6
7547 else
7548 if test -n "$READELF"; then
7549 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7550 else
7551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7552 for as_dir in $PATH
7554 IFS=$as_save_IFS
7555 test -z "$as_dir" && as_dir=.
7556 for ac_exec_ext in '' $ac_executable_extensions; do
7557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7558 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7560 break 2
7562 done
7563 done
7564 IFS=$as_save_IFS
7568 READELF=$ac_cv_prog_READELF
7569 if test -n "$READELF"; then
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7571 $as_echo "$READELF" >&6; }
7572 else
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7574 $as_echo "no" >&6; }
7579 if test -z "$ac_cv_prog_READELF"; then
7580 ac_ct_READELF=$READELF
7581 # Extract the first word of "readelf", so it can be a program name with args.
7582 set dummy readelf; ac_word=$2
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7584 $as_echo_n "checking for $ac_word... " >&6; }
7585 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7586 $as_echo_n "(cached) " >&6
7587 else
7588 if test -n "$ac_ct_READELF"; then
7589 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7590 else
7591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7592 for as_dir in $PATH
7594 IFS=$as_save_IFS
7595 test -z "$as_dir" && as_dir=.
7596 for ac_exec_ext in '' $ac_executable_extensions; do
7597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7598 ac_cv_prog_ac_ct_READELF="readelf"
7599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7600 break 2
7602 done
7603 done
7604 IFS=$as_save_IFS
7608 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7609 if test -n "$ac_ct_READELF"; then
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7611 $as_echo "$ac_ct_READELF" >&6; }
7612 else
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7614 $as_echo "no" >&6; }
7617 if test "x$ac_ct_READELF" = x; then
7618 READELF="true"
7619 else
7620 case $cross_compiling:$ac_tool_warned in
7621 yes:)
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7624 ac_tool_warned=yes ;;
7625 esac
7626 READELF=$ac_ct_READELF
7628 else
7629 READELF="$ac_cv_prog_READELF"
7632 wine_rules_file=conf$$rules.make
7633 rm -f $wine_rules_file
7634 SUBDIRS=""
7636 DISABLED_SUBDIRS=""
7638 CONFIGURE_TARGETS=""
7640 ALL_TEST_RESOURCES=""
7643 wine_fn_append_file ()
7645 as_fn_append $1 " \\$as_nl $2"
7648 wine_fn_append_rule ()
7650 $as_echo "$1" >>$wine_rules_file
7653 wine_fn_has_flag ()
7655 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7658 wine_fn_all_rules ()
7660 wine_fn_append_file SUBDIRS $ac_dir
7661 wine_fn_append_rule \
7662 "all: $ac_dir
7663 .PHONY: $ac_dir
7664 $ac_dir: dummy
7665 @cd $ac_dir && \$(MAKE)"
7668 wine_fn_install_rules ()
7670 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7672 wine_fn_append_rule \
7673 ".PHONY: $ac_dir/install $ac_dir/uninstall
7674 $ac_dir/install:: $ac_dir
7675 @cd $ac_dir && \$(MAKE) install
7676 $ac_dir/uninstall::
7677 @cd $ac_dir && \$(MAKE) uninstall
7678 install:: $ac_dir/install
7679 __uninstall__: $ac_dir/uninstall"
7681 if wine_fn_has_flag install-lib
7682 then
7683 wine_fn_append_rule \
7684 ".PHONY: $ac_dir/install-lib
7685 $ac_dir/install-lib:: $ac_dir
7686 @cd $ac_dir && \$(MAKE) install-lib
7687 install-lib:: $ac_dir/install-lib"
7690 if wine_fn_has_flag install-dev
7691 then
7692 wine_fn_append_rule \
7693 ".PHONY: $ac_dir/install-dev
7694 $ac_dir/install-dev:: $ac_dir
7695 @cd $ac_dir && \$(MAKE) install-dev
7696 install-dev:: $ac_dir/install-dev"
7700 wine_fn_clean_rules ()
7702 ac_clean=$@
7704 if wine_fn_has_flag clean
7705 then
7706 wine_fn_append_rule \
7707 "$ac_dir/clean: dummy
7708 @cd $ac_dir && \$(MAKE) clean"
7709 else
7710 wine_fn_append_rule \
7711 "$ac_dir/clean: dummy
7712 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7714 wine_fn_append_rule \
7715 "__clean__: $ac_dir/clean
7716 .PHONY: $ac_dir/clean"
7719 wine_fn_disabled_rules ()
7721 ac_clean=$@
7723 wine_fn_append_file SUBDIRS $ac_dir
7724 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7725 wine_fn_append_rule \
7726 "__clean__: $ac_dir/clean
7727 .PHONY: $ac_dir/clean
7728 $ac_dir/clean: dummy
7729 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7732 wine_fn_config_makefile ()
7734 ac_dir=$1
7735 ac_enable=$2
7736 ac_flags=$3
7738 case $ac_dir in
7739 fonts|server) test -z "$with_wine64" || return ;;
7740 esac
7741 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7742 wine_fn_disabled_rules; return
7744 wine_fn_all_rules
7745 wine_fn_install_rules
7746 wine_fn_clean_rules
7749 wine_fn_config_lib ()
7751 ac_name=$1
7752 ac_flags=$2
7753 ac_dir=dlls/$ac_name
7754 ac_deps="include"
7756 if test "x$enable_tools" = xno; then :
7758 else
7759 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7761 wine_fn_all_rules
7762 wine_fn_clean_rules
7764 wine_fn_append_rule \
7765 ".PHONY: $ac_dir/install $ac_dir/uninstall
7766 $ac_dir/install:: $ac_dir
7767 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7768 $ac_dir/uninstall::
7769 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7770 install install-dev:: $ac_dir/install
7771 __uninstall__: $ac_dir/uninstall
7772 __builddeps__: $ac_dir
7773 $ac_dir: $ac_deps"
7776 wine_fn_config_dll ()
7778 ac_name=$1
7779 ac_dir=dlls/$ac_name
7780 ac_enable=$2
7781 ac_flags=$3
7782 ac_implib=${4:-$ac_name}
7783 ac_file=$ac_dir/lib$ac_implib
7784 ac_dll=$ac_name
7785 ac_deps="include"
7786 ac_implibflags=""
7788 if test "x$enable_tools" = xno; then :
7790 else
7791 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7793 case $ac_name in
7794 *.*16) ac_implibflags=" -m16" ;;
7795 *.*) ;;
7796 *) ac_dll=$ac_dll.dll ;;
7797 esac
7799 ac_clean=
7800 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7801 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7803 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7804 if test "$ac_enable" != enable_win16
7805 then
7806 wine_fn_clean_rules $ac_clean
7807 wine_fn_append_file SUBDIRS $ac_dir
7808 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7809 else
7810 wine_fn_disabled_rules $ac_clean
7811 return
7813 else
7814 wine_fn_all_rules
7815 wine_fn_clean_rules $ac_clean
7816 wine_fn_append_rule \
7817 "$ac_dir: __builddeps__
7818 manpages htmlpages sgmlpages xmlpages::
7819 @cd $ac_dir && \$(MAKE) \$@
7820 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7821 install install-lib:: $ac_dir/install-lib
7822 __uninstall__: $ac_dir/uninstall"
7823 if test -n "$DLLEXT"
7824 then
7825 wine_fn_append_rule \
7826 "$ac_dir/install-lib:: $ac_dir
7827 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7828 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7829 $ac_dir/uninstall::
7830 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7831 else
7832 wine_fn_append_rule \
7833 "$ac_dir/install-lib:: $ac_dir
7834 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7835 $ac_dir/uninstall::
7836 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7840 if wine_fn_has_flag staticimplib
7841 then
7842 wine_fn_append_rule \
7843 "__builddeps__: $ac_file.a
7844 $ac_file.a $ac_file.cross.a: $ac_deps
7845 $ac_file.a: dummy
7846 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7847 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7848 $ac_dir/install-dev:: $ac_file.a
7849 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7850 $ac_dir/uninstall::
7851 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7852 install install-dev:: $ac_dir/install-dev
7853 __uninstall__: $ac_dir/uninstall"
7855 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7856 then
7857 wine_fn_append_rule \
7858 "__builddeps__: $ac_file.cross.a
7859 $ac_file.cross.a: dummy
7860 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7863 elif wine_fn_has_flag implib
7864 then
7865 wine_fn_append_rule \
7866 "__builddeps__: $ac_file.$IMPLIBEXT
7867 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7868 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7869 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7870 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7871 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7872 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7873 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7874 $ac_dir/uninstall::
7875 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7876 install install-dev:: $ac_dir/install-dev
7877 __uninstall__: $ac_dir/uninstall"
7878 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7879 then
7880 wine_fn_append_rule \
7881 "__builddeps__: $ac_file.cross.a
7882 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7883 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7888 wine_fn_config_program ()
7890 ac_name=$1
7891 ac_dir=programs/$ac_name
7892 ac_enable=$2
7893 ac_flags=$3
7894 ac_program=$ac_name
7896 case $ac_name in
7897 *.*) ;;
7898 *) ac_program=$ac_program.exe ;;
7899 esac
7901 ac_clean=
7902 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7903 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7905 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7906 wine_fn_disabled_rules $ac_clean; return
7909 wine_fn_all_rules
7910 wine_fn_clean_rules $ac_clean
7911 wine_fn_append_rule "$ac_dir: __builddeps__"
7913 wine_fn_has_flag install || return
7914 wine_fn_append_rule \
7915 ".PHONY: $ac_dir/install $ac_dir/uninstall
7916 install install-lib:: $ac_dir/install
7917 __uninstall__: $ac_dir/uninstall"
7919 if test -n "$DLLEXT"
7920 then
7921 wine_fn_append_rule \
7922 "$ac_dir/install:: $ac_dir
7923 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7924 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7925 $ac_dir/uninstall::
7926 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7928 if test -z "$with_wine64" && wine_fn_has_flag installbin
7929 then
7930 wine_fn_append_rule \
7931 "$ac_dir/install:: __tooldeps__
7932 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7933 $ac_dir/uninstall::
7934 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7936 else
7937 wine_fn_append_rule \
7938 "$ac_dir/install:: $ac_dir
7939 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7940 $ac_dir/uninstall::
7941 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7944 if test -z "$with_wine64" && wine_fn_has_flag manpage
7945 then
7946 wine_fn_append_rule \
7947 "$ac_dir/install:: $ac_dir
7948 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7949 $ac_dir/uninstall::
7950 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7954 wine_fn_config_test ()
7956 ac_dir=$1
7957 ac_name=$2
7958 ac_flags=$3
7960 ac_clean=
7961 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7962 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7964 if test "x$enable_tests" = xno; then :
7965 wine_fn_disabled_rules $ac_clean; return
7968 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7969 wine_fn_all_rules
7970 wine_fn_clean_rules $ac_clean
7972 wine_fn_append_rule \
7973 "$ac_dir: __builddeps__
7974 programs/winetest: $ac_dir
7975 check test: $ac_dir/test
7976 .PHONY: $ac_dir/test
7977 $ac_dir/test: dummy
7978 @cd $ac_dir && \$(MAKE) test
7979 testclean::
7980 \$(RM) $ac_dir/*.ok"
7982 if test -n "$CROSSTARGET"
7983 then
7984 wine_fn_append_rule \
7985 "crosstest: $ac_dir/crosstest
7986 .PHONY: $ac_dir/crosstest
7987 $ac_dir/crosstest: __builddeps__ dummy
7988 @cd $ac_dir && \$(MAKE) crosstest"
7992 wine_fn_config_tool ()
7994 ac_dir=$1
7995 ac_flags=$2
7996 if test "x$enable_tools" = xno; then :
7997 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8000 wine_fn_all_rules
8001 wine_fn_install_rules
8002 wine_fn_clean_rules
8004 wine_fn_append_rule "__tooldeps__: $ac_dir"
8005 wine_fn_append_rule "$ac_dir: libs/port"
8006 case $ac_dir in
8007 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8008 esac
8011 wine_fn_config_symlink ()
8013 ac_linkdir=
8014 if test "x$1" = "x-d"
8015 then
8016 ac_linkdir=$2
8017 shift; shift
8019 ac_links=$@
8020 wine_fn_append_rule \
8021 "$ac_links:
8022 @./config.status \$@"
8023 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8024 test -n "$ac_linkdir" || return
8025 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8028 wine_binary="wine"
8029 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8030 WINELOADER_PROGRAMS="$wine_binary"
8032 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8034 case $host_os in
8035 cygwin*|mingw32*)
8036 if test -n "$ac_tool_prefix"; then
8037 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8038 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8040 $as_echo_n "checking for $ac_word... " >&6; }
8041 if ${ac_cv_prog_DLLTOOL+:} false; then :
8042 $as_echo_n "(cached) " >&6
8043 else
8044 if test -n "$DLLTOOL"; then
8045 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8046 else
8047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8048 for as_dir in $PATH
8050 IFS=$as_save_IFS
8051 test -z "$as_dir" && as_dir=.
8052 for ac_exec_ext in '' $ac_executable_extensions; do
8053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8054 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8056 break 2
8058 done
8059 done
8060 IFS=$as_save_IFS
8064 DLLTOOL=$ac_cv_prog_DLLTOOL
8065 if test -n "$DLLTOOL"; then
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8067 $as_echo "$DLLTOOL" >&6; }
8068 else
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8070 $as_echo "no" >&6; }
8075 if test -z "$ac_cv_prog_DLLTOOL"; then
8076 ac_ct_DLLTOOL=$DLLTOOL
8077 # Extract the first word of "dlltool", so it can be a program name with args.
8078 set dummy dlltool; ac_word=$2
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8080 $as_echo_n "checking for $ac_word... " >&6; }
8081 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8082 $as_echo_n "(cached) " >&6
8083 else
8084 if test -n "$ac_ct_DLLTOOL"; then
8085 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8086 else
8087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8088 for as_dir in $PATH
8090 IFS=$as_save_IFS
8091 test -z "$as_dir" && as_dir=.
8092 for ac_exec_ext in '' $ac_executable_extensions; do
8093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8094 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8096 break 2
8098 done
8099 done
8100 IFS=$as_save_IFS
8104 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8105 if test -n "$ac_ct_DLLTOOL"; then
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8107 $as_echo "$ac_ct_DLLTOOL" >&6; }
8108 else
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8110 $as_echo "no" >&6; }
8113 if test "x$ac_ct_DLLTOOL" = x; then
8114 DLLTOOL="false"
8115 else
8116 case $cross_compiling:$ac_tool_warned in
8117 yes:)
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8120 ac_tool_warned=yes ;;
8121 esac
8122 DLLTOOL=$ac_ct_DLLTOOL
8124 else
8125 DLLTOOL="$ac_cv_prog_DLLTOOL"
8128 LIBEXT="dll"
8129 DLLEXT=""
8130 IMPLIBEXT="a"
8131 enable_iphlpapi=${enable_iphlpapi:-no}
8132 enable_kernel32=${enable_kernel32:-no}
8133 enable_msvcrt=${enable_msvcrt:-no}
8134 enable_ntdll=${enable_ntdll:-no}
8135 enable_ws2_32=${enable_ws2_32:-no}
8136 enable_loader=${enable_loader:-no}
8137 enable_server=${enable_server:-no}
8138 with_x=${with_x:-no}
8139 with_pthread=${with_pthread:-no}
8141 crtlibs=""
8142 case $host_os in
8143 mingw32*)
8144 crtlibs="-lmsvcrt"
8145 SOCKET_LIBS="-lws2_32"
8147 esac
8149 LIBWINE_SHAREDLIB="libwine.dll"
8151 LIBWINE_IMPORTLIB="libwine.a"
8153 LIBWINE_INSTALL_LIB="libwine.dll"
8155 LIBWINE_INSTALL_DEV="libwine.a"
8157 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8159 LIBWINE_DEPENDS="wine.def"
8163 darwin*|macosx*)
8164 for ac_header in libunwind.h
8165 do :
8166 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8168 cat >>confdefs.h <<_ACEOF
8169 #define HAVE_LIBUNWIND_H 1
8170 _ACEOF
8174 done
8176 LIBEXT="dylib"
8177 DLLFLAGS="$DLLFLAGS -fPIC"
8178 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8179 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8180 COREFOUNDATION_LIBS="-framework CoreFoundation"
8182 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8184 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8186 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8188 CORESERVICES_LIBS="-framework CoreServices"
8190 APPKIT_LIBS="-framework AppKit"
8192 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8194 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8195 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8196 $as_echo_n "(cached) " >&6
8197 else
8198 ac_wine_try_cflags_saved=$CFLAGS
8199 CFLAGS="$CFLAGS -Wl,-no_pie"
8200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8201 /* end confdefs.h. */
8202 int main(int argc, char **argv) { return 0; }
8203 _ACEOF
8204 if ac_fn_c_try_link "$LINENO"; then :
8205 ac_cv_cflags__Wl__no_pie=yes
8206 else
8207 ac_cv_cflags__Wl__no_pie=no
8209 rm -f core conftest.err conftest.$ac_objext \
8210 conftest$ac_exeext conftest.$ac_ext
8211 CFLAGS=$ac_wine_try_cflags_saved
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8214 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8215 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8216 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8218 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8219 then
8220 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8223 if test "$ac_cv_header_Security_Security_h" = "yes"
8224 then
8225 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8227 ac_save_LIBS="$LIBS"
8228 LIBS="$LIBS $SECURITY_LIBS"
8229 for ac_func in SSLCopyPeerCertificates
8230 do :
8231 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8232 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8233 cat >>confdefs.h <<_ACEOF
8234 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8235 _ACEOF
8238 done
8240 LIBS="$ac_save_LIBS"
8241 with_gnutls=${with_gnutls:-no}
8243 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8244 then
8245 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8246 then
8247 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8249 else
8250 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8253 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8254 ac_save_LIBS="$LIBS"
8255 LIBS="$LIBS $COREAUDIO_LIBS"
8256 for ac_func in AUGraphAddNode
8257 do :
8258 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8259 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8260 cat >>confdefs.h <<_ACEOF
8261 #define HAVE_AUGRAPHADDNODE 1
8262 _ACEOF
8265 done
8267 LIBS="$ac_save_LIBS"
8269 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8270 then
8271 OPENAL_LIBS="-framework OpenAL"
8274 cat >>confdefs.h <<_ACEOF
8275 #define HAVE_OPENAL 1
8276 _ACEOF
8278 ac_cv_lib_openal=yes
8280 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8281 then
8282 OPENCL_LIBS="-framework OpenCL"
8284 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8286 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8287 then
8288 ac_save_LIBS="$LIBS"
8289 LIBS="$LIBS $IOKIT_LIBS"
8290 for ac_func in IOHIDManagerCreate
8291 do :
8292 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8293 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8294 cat >>confdefs.h <<_ACEOF
8295 #define HAVE_IOHIDMANAGERCREATE 1
8296 _ACEOF
8299 done
8301 LIBS="$ac_save_LIBS"
8303 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8304 then
8305 ac_save_LIBS="$LIBS"
8306 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8308 $as_echo_n "checking for the QuickTime framework... " >&6; }
8309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8311 #include <QuickTime/ImageCompression.h>
8313 main ()
8315 CodecManagerVersion(NULL);
8317 return 0;
8319 _ACEOF
8320 if ac_fn_c_try_link "$LINENO"; then :
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8322 $as_echo "yes" >&6; }
8323 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8325 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8326 else
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8328 $as_echo "no" >&6; }
8329 ac_cv_header_QuickTime_ImageCompression_h=no
8331 rm -f core conftest.err conftest.$ac_objext \
8332 conftest$ac_exeext conftest.$ac_ext
8333 LIBS="$ac_save_LIBS"
8335 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8336 then
8337 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8339 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8340 then
8341 CARBON_LIBS="-framework Carbon"
8345 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8346 then
8347 ac_save_LIBS="$LIBS"
8348 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8349 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8350 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8351 enable_winemac_drv=${enable_winemac_drv:-yes}
8354 LIBS="$ac_save_LIBS"
8357 if test "x$enable_win16" = "xyes"
8358 then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8360 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8361 if test "$cross_compiling" = yes; then :
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8363 $as_echo "cross-compiling, assuming yes" >&6; }
8364 else
8365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8367 asm(".text\n"
8368 "bad:\tnop;nop\n"
8369 "good:\tnop;nop\n\t"
8370 ".globl _testfunc\n"
8371 "_testfunc:\tcallw good");
8372 extern void testfunc();
8374 main ()
8376 unsigned short *p = (unsigned short *)testfunc;
8377 return p[0] != 0xe866 || p[1] != 0xfffa
8379 return 0;
8381 _ACEOF
8382 if ac_fn_c_try_run "$LINENO"; then :
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8384 $as_echo "yes" >&6; }
8385 else
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8387 $as_echo "no" >&6; }
8388 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
8390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8391 conftest.$ac_objext conftest.beam conftest.$ac_ext
8396 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8398 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8400 LIBWINE_INSTALL_DEV="libwine.dylib"
8402 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8404 WINELOADER_DEPENDS="wine_info.plist"
8408 linux-android*)
8409 DLLFLAGS="$DLLFLAGS -fPIC"
8410 LDEXECFLAGS="-Wl,-pie"
8411 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8413 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8414 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 ac_wine_try_cflags_saved=$CFLAGS
8418 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8420 /* end confdefs.h. */
8421 int main(int argc, char **argv) { return 0; }
8422 _ACEOF
8423 if ac_fn_c_try_link "$LINENO"; then :
8424 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8425 else
8426 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8428 rm -f core conftest.err conftest.$ac_objext \
8429 conftest$ac_exeext conftest.$ac_ext
8430 CFLAGS=$ac_wine_try_cflags_saved
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8433 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8434 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8435 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8437 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8439 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8440 if eval \${$as_ac_var+:} false; then :
8441 $as_echo_n "(cached) " >&6
8442 else
8443 ac_wine_try_cflags_saved=$CFLAGS
8444 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8447 int main(int argc, char **argv) { return 0; }
8448 _ACEOF
8449 if ac_fn_c_try_link "$LINENO"; then :
8450 eval "$as_ac_var=yes"
8451 else
8452 eval "$as_ac_var=no"
8454 rm -f core conftest.err conftest.$ac_objext \
8455 conftest$ac_exeext conftest.$ac_ext
8456 CFLAGS=$ac_wine_try_cflags_saved
8458 eval ac_res=\$$as_ac_var
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8460 $as_echo "$ac_res" >&6; }
8461 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8462 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8463 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8464 else
8465 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8467 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8468 if eval \${$as_ac_var+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 ac_wine_try_cflags_saved=$CFLAGS
8472 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474 /* end confdefs.h. */
8475 int main(int argc, char **argv) { return 0; }
8476 _ACEOF
8477 if ac_fn_c_try_link "$LINENO"; then :
8478 eval "$as_ac_var=yes"
8479 else
8480 eval "$as_ac_var=no"
8482 rm -f core conftest.err conftest.$ac_objext \
8483 conftest$ac_exeext conftest.$ac_ext
8484 CFLAGS=$ac_wine_try_cflags_saved
8486 eval ac_res=\$$as_ac_var
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8488 $as_echo "$ac_res" >&6; }
8489 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8490 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8491 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8495 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8496 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 ac_wine_try_cflags_saved=$CFLAGS
8500 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8502 /* end confdefs.h. */
8503 int main(int argc, char **argv) { return 0; }
8504 _ACEOF
8505 if ac_fn_c_try_link "$LINENO"; then :
8506 ac_cv_cflags__Wl___enable_new_dtags=yes
8507 else
8508 ac_cv_cflags__Wl___enable_new_dtags=no
8510 rm -f core conftest.err conftest.$ac_objext \
8511 conftest$ac_exeext conftest.$ac_ext
8512 CFLAGS=$ac_wine_try_cflags_saved
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8515 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8516 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8517 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8520 LIBWINE_SHAREDLIB="libwine.so"
8522 LIBWINE_INSTALL_LIB="libwine.so"
8524 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8528 $as_echo_n "checking for -lEGL... " >&6; }
8529 if ${ac_cv_lib_soname_EGL+:} false; then :
8530 $as_echo_n "(cached) " >&6
8531 else
8532 ac_check_soname_save_LIBS=$LIBS
8533 LIBS="-lEGL $LIBS"
8534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8537 /* Override any GCC internal prototype to avoid an error.
8538 Use char because int might match the return type of a GCC
8539 builtin and then its argument prototype would still apply. */
8540 #ifdef __cplusplus
8541 extern "C"
8542 #endif
8543 char eglGetProcAddress ();
8545 main ()
8547 return eglGetProcAddress ();
8549 return 0;
8551 _ACEOF
8552 if ac_fn_c_try_link "$LINENO"; then :
8553 case "$LIBEXT" in
8554 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8555 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'` ;;
8556 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8557 if ${ac_cv_lib_soname_EGL:+false} :; then :
8558 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8559 fi ;;
8560 esac
8562 rm -f core conftest.err conftest.$ac_objext \
8563 conftest$ac_exeext conftest.$ac_ext
8564 LIBS=$ac_check_soname_save_LIBS
8566 if ${ac_cv_lib_soname_EGL:+false} :; then :
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8568 $as_echo "not found" >&6; }
8570 else
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8572 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8574 cat >>confdefs.h <<_ACEOF
8575 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8576 _ACEOF
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8581 $as_echo_n "checking for -lGLESv2... " >&6; }
8582 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8583 $as_echo_n "(cached) " >&6
8584 else
8585 ac_check_soname_save_LIBS=$LIBS
8586 LIBS="-lGLESv2 $LIBS"
8587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8588 /* end confdefs.h. */
8590 /* Override any GCC internal prototype to avoid an error.
8591 Use char because int might match the return type of a GCC
8592 builtin and then its argument prototype would still apply. */
8593 #ifdef __cplusplus
8594 extern "C"
8595 #endif
8596 char glFlush ();
8598 main ()
8600 return glFlush ();
8602 return 0;
8604 _ACEOF
8605 if ac_fn_c_try_link "$LINENO"; then :
8606 case "$LIBEXT" in
8607 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8608 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'` ;;
8609 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8610 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8611 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8612 fi ;;
8613 esac
8615 rm -f core conftest.err conftest.$ac_objext \
8616 conftest$ac_exeext conftest.$ac_ext
8617 LIBS=$ac_check_soname_save_LIBS
8619 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8621 $as_echo "not found" >&6; }
8623 else
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8625 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8627 cat >>confdefs.h <<_ACEOF
8628 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8629 _ACEOF
8634 if test "x$exec_prefix" = xNONE
8635 then
8636 case $host_cpu in
8637 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8638 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8639 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8640 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8641 esac
8646 DLLFLAGS="$DLLFLAGS -fPIC"
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8648 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8649 if ${ac_cv_c_dll_gnuelf+:} false; then :
8650 $as_echo_n "(cached) " >&6
8651 else
8652 ac_wine_try_cflags_saved=$CFLAGS
8653 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8655 /* end confdefs.h. */
8656 void myfunc() {}
8657 _ACEOF
8658 if ac_fn_c_try_link "$LINENO"; then :
8659 ac_cv_c_dll_gnuelf="yes"
8660 else
8661 ac_cv_c_dll_gnuelf="no"
8663 rm -f core conftest.err conftest.$ac_objext \
8664 conftest$ac_exeext conftest.$ac_ext
8665 CFLAGS=$ac_wine_try_cflags_saved
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8668 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8669 if test "$ac_cv_c_dll_gnuelf" = "yes"
8670 then
8671 LIBWINE_LDFLAGS="-shared"
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8673 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8674 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8675 $as_echo_n "(cached) " >&6
8676 else
8677 ac_wine_try_cflags_saved=$CFLAGS
8678 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8680 /* end confdefs.h. */
8681 int main(int argc, char **argv) { return 0; }
8682 _ACEOF
8683 if ac_fn_c_try_link "$LINENO"; then :
8684 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8685 else
8686 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8688 rm -f core conftest.err conftest.$ac_objext \
8689 conftest$ac_exeext conftest.$ac_ext
8690 CFLAGS=$ac_wine_try_cflags_saved
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8693 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8694 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8695 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8696 else
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8698 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8699 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8700 $as_echo_n "(cached) " >&6
8701 else
8702 ac_wine_try_cflags_saved=$CFLAGS
8703 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8705 /* end confdefs.h. */
8706 int main(int argc, char **argv) { return 0; }
8707 _ACEOF
8708 if ac_fn_c_try_link "$LINENO"; then :
8709 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8710 else
8711 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8713 rm -f core conftest.err conftest.$ac_objext \
8714 conftest$ac_exeext conftest.$ac_ext
8715 CFLAGS=$ac_wine_try_cflags_saved
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8718 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8719 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8720 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8724 echo '{ global: *; };' >conftest.map
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8726 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8727 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8728 $as_echo_n "(cached) " >&6
8729 else
8730 ac_wine_try_cflags_saved=$CFLAGS
8731 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8733 /* end confdefs.h. */
8734 int main(int argc, char **argv) { return 0; }
8735 _ACEOF
8736 if ac_fn_c_try_link "$LINENO"; then :
8737 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8738 else
8739 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8741 rm -f core conftest.err conftest.$ac_objext \
8742 conftest$ac_exeext conftest.$ac_ext
8743 CFLAGS=$ac_wine_try_cflags_saved
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8746 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8747 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8748 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8750 rm -f conftest.map
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8753 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8754 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8755 $as_echo_n "(cached) " >&6
8756 else
8757 ac_wine_try_cflags_saved=$CFLAGS
8758 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8760 /* end confdefs.h. */
8761 int main(int argc, char **argv) { return 0; }
8762 _ACEOF
8763 if ac_fn_c_try_link "$LINENO"; then :
8764 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8765 else
8766 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8768 rm -f core conftest.err conftest.$ac_objext \
8769 conftest$ac_exeext conftest.$ac_ext
8770 CFLAGS=$ac_wine_try_cflags_saved
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8773 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8774 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8775 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8778 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8780 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8781 if eval \${$as_ac_var+:} false; then :
8782 $as_echo_n "(cached) " >&6
8783 else
8784 ac_wine_try_cflags_saved=$CFLAGS
8785 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8787 /* end confdefs.h. */
8788 int main(int argc, char **argv) { return 0; }
8789 _ACEOF
8790 if ac_fn_c_try_link "$LINENO"; then :
8791 eval "$as_ac_var=yes"
8792 else
8793 eval "$as_ac_var=no"
8795 rm -f core conftest.err conftest.$ac_objext \
8796 conftest$ac_exeext conftest.$ac_ext
8797 CFLAGS=$ac_wine_try_cflags_saved
8799 eval ac_res=\$$as_ac_var
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8801 $as_echo "$ac_res" >&6; }
8802 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8803 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8804 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8805 else
8806 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8808 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8809 if eval \${$as_ac_var+:} false; then :
8810 $as_echo_n "(cached) " >&6
8811 else
8812 ac_wine_try_cflags_saved=$CFLAGS
8813 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8815 /* end confdefs.h. */
8816 int main(int argc, char **argv) { return 0; }
8817 _ACEOF
8818 if ac_fn_c_try_link "$LINENO"; then :
8819 eval "$as_ac_var=yes"
8820 else
8821 eval "$as_ac_var=no"
8823 rm -f core conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8825 CFLAGS=$ac_wine_try_cflags_saved
8827 eval ac_res=\$$as_ac_var
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8829 $as_echo "$ac_res" >&6; }
8830 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8831 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8832 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8837 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8838 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8839 $as_echo_n "(cached) " >&6
8840 else
8841 ac_wine_try_cflags_saved=$CFLAGS
8842 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8845 int main(int argc, char **argv) { return 0; }
8846 _ACEOF
8847 if ac_fn_c_try_link "$LINENO"; then :
8848 ac_cv_cflags__Wl___enable_new_dtags=yes
8849 else
8850 ac_cv_cflags__Wl___enable_new_dtags=no
8852 rm -f core conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
8854 CFLAGS=$ac_wine_try_cflags_saved
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8857 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8858 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8859 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8862 case $host_cpu in
8863 *i[3456789]86* | x86_64)
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8865 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8866 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8867 $as_echo_n "(cached) " >&6
8868 else
8869 ac_wine_try_cflags_saved=$CFLAGS
8870 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8873 int main(int argc, char **argv) { return 0; }
8874 _ACEOF
8875 if ac_fn_c_try_link "$LINENO"; then :
8876 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8877 else
8878 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8880 rm -f core conftest.err conftest.$ac_objext \
8881 conftest$ac_exeext conftest.$ac_ext
8882 CFLAGS=$ac_wine_try_cflags_saved
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8885 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8886 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8887 case $host_os in
8888 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8889 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8890 esac
8891 else
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8893 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8894 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8895 $as_echo_n "(cached) " >&6
8896 else
8897 ac_wine_try_cflags_saved=$CFLAGS
8898 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h. */
8901 int main(int argc, char **argv) { return 0; }
8902 _ACEOF
8903 if ac_fn_c_try_link "$LINENO"; then :
8904 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8905 else
8906 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8908 rm -f core conftest.err conftest.$ac_objext \
8909 conftest$ac_exeext conftest.$ac_ext
8910 CFLAGS=$ac_wine_try_cflags_saved
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8913 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8914 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8915 case $host_os in
8916 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8917 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8918 esac
8920 # Extract the first word of "prelink", so it can be a program name with args.
8921 set dummy prelink; ac_word=$2
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8923 $as_echo_n "checking for $ac_word... " >&6; }
8924 if ${ac_cv_path_PRELINK+:} false; then :
8925 $as_echo_n "(cached) " >&6
8926 else
8927 case $PRELINK in
8928 [\\/]* | ?:[\\/]*)
8929 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8933 for as_dir in /sbin /usr/sbin $PATH
8935 IFS=$as_save_IFS
8936 test -z "$as_dir" && as_dir=.
8937 for ac_exec_ext in '' $ac_executable_extensions; do
8938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8939 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8941 break 2
8943 done
8944 done
8945 IFS=$as_save_IFS
8947 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8949 esac
8951 PRELINK=$ac_cv_path_PRELINK
8952 if test -n "$PRELINK"; then
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8954 $as_echo "$PRELINK" >&6; }
8955 else
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8957 $as_echo "no" >&6; }
8961 if test "x$PRELINK" = xfalse
8962 then
8963 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8967 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8968 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8969 $as_echo_n "(cached) " >&6
8970 else
8971 ac_wine_try_cflags_saved=$CFLAGS
8972 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8974 /* end confdefs.h. */
8975 int main(int argc, char **argv) { return 0; }
8976 _ACEOF
8977 if ac_fn_c_try_link "$LINENO"; then :
8978 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8979 else
8980 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8982 rm -f core conftest.err conftest.$ac_objext \
8983 conftest$ac_exeext conftest.$ac_ext
8984 CFLAGS=$ac_wine_try_cflags_saved
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8987 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8988 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8989 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8992 esac
8994 else
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8996 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8997 if ${ac_cv_c_dll_unixware+:} false; then :
8998 $as_echo_n "(cached) " >&6
8999 else
9000 ac_wine_try_cflags_saved=$CFLAGS
9001 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9003 /* end confdefs.h. */
9004 void myfunc() {}
9005 _ACEOF
9006 if ac_fn_c_try_link "$LINENO"; then :
9007 ac_cv_c_dll_unixware="yes"
9008 else
9009 ac_cv_c_dll_unixware="no"
9011 rm -f core conftest.err conftest.$ac_objext \
9012 conftest$ac_exeext conftest.$ac_ext
9013 CFLAGS=$ac_wine_try_cflags_saved
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9016 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9017 if test "$ac_cv_c_dll_unixware" = "yes"
9018 then
9019 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9022 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9024 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9026 LIBWINE_INSTALL_DEV="libwine.so"
9028 LIBWINE_DEPENDS="wine.map"
9031 esac
9033 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9034 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9035 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9036 enable_winemac_drv=${enable_winemac_drv:-no}
9037 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9039 CROSSTARGET=""
9041 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9042 then
9043 case "$host_cpu" in
9044 arm*)
9045 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9046 i[3456789]86*)
9047 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
9048 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9049 mingw32-gcc" ;;
9050 x86_64)
9051 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
9052 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9054 ac_prefix_list="" ;;
9055 esac
9056 for ac_prog in $ac_prefix_list
9058 # Extract the first word of "$ac_prog", so it can be a program name with args.
9059 set dummy $ac_prog; ac_word=$2
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9061 $as_echo_n "checking for $ac_word... " >&6; }
9062 if ${ac_cv_prog_CROSSCC+:} false; then :
9063 $as_echo_n "(cached) " >&6
9064 else
9065 if test -n "$CROSSCC"; then
9066 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9067 else
9068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9069 for as_dir in $PATH
9071 IFS=$as_save_IFS
9072 test -z "$as_dir" && as_dir=.
9073 for ac_exec_ext in '' $ac_executable_extensions; do
9074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9075 ac_cv_prog_CROSSCC="$ac_prog"
9076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9077 break 2
9079 done
9080 done
9081 IFS=$as_save_IFS
9085 CROSSCC=$ac_cv_prog_CROSSCC
9086 if test -n "$CROSSCC"; then
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9088 $as_echo "$CROSSCC" >&6; }
9089 else
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9091 $as_echo "no" >&6; }
9095 test -n "$CROSSCC" && break
9096 done
9097 test -n "$CROSSCC" || CROSSCC="false"
9099 if test "$CROSSCC" != "false"
9100 then
9101 ac_save_CC="$CC"
9102 CC="$CROSSCC"
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9104 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9106 /* end confdefs.h. */
9109 main ()
9113 return 0;
9115 _ACEOF
9116 if ac_fn_c_try_compile "$LINENO"; then :
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9118 $as_echo "yes" >&6; }
9119 set x $CROSSCC
9120 shift
9121 while test $# -ge 1
9123 case "$1" in
9124 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9125 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9126 esac
9127 shift
9128 done
9129 else
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9131 $as_echo "no" >&6; }
9133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9134 CC="$ac_save_CC"
9135 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9141 if test "$ac_cv_header_pthread_h" = "yes"
9142 then
9143 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9144 if test "x$ac_cv_func_pthread_create" = xyes; then :
9146 else
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9148 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9149 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9150 $as_echo_n "(cached) " >&6
9151 else
9152 ac_check_lib_save_LIBS=$LIBS
9153 LIBS="-lpthread $LIBS"
9154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9155 /* end confdefs.h. */
9157 /* Override any GCC internal prototype to avoid an error.
9158 Use char because int might match the return type of a GCC
9159 builtin and then its argument prototype would still apply. */
9160 #ifdef __cplusplus
9161 extern "C"
9162 #endif
9163 char pthread_create ();
9165 main ()
9167 return pthread_create ();
9169 return 0;
9171 _ACEOF
9172 if ac_fn_c_try_link "$LINENO"; then :
9173 ac_cv_lib_pthread_pthread_create=yes
9174 else
9175 ac_cv_lib_pthread_pthread_create=no
9177 rm -f core conftest.err conftest.$ac_objext \
9178 conftest$ac_exeext conftest.$ac_ext
9179 LIBS=$ac_check_lib_save_LIBS
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9182 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9183 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9184 PTHREAD_LIBS="-lpthread"
9191 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9192 case "x$with_pthread" in
9193 xno) ;;
9194 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9195 Wine cannot support threads without libpthread.
9196 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9197 esac
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9203 $as_echo_n "checking for X... " >&6; }
9206 # Check whether --with-x was given.
9207 if test "${with_x+set}" = set; then :
9208 withval=$with_x;
9211 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9212 if test "x$with_x" = xno; then
9213 # The user explicitly disabled X.
9214 have_x=disabled
9215 else
9216 case $x_includes,$x_libraries in #(
9217 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9218 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9219 $as_echo_n "(cached) " >&6
9220 else
9221 # One or both of the vars are not set, and there is no cached value.
9222 ac_x_includes=no ac_x_libraries=no
9223 rm -f -r conftest.dir
9224 if mkdir conftest.dir; then
9225 cd conftest.dir
9226 cat >Imakefile <<'_ACEOF'
9227 incroot:
9228 @echo incroot='${INCROOT}'
9229 usrlibdir:
9230 @echo usrlibdir='${USRLIBDIR}'
9231 libdir:
9232 @echo libdir='${LIBDIR}'
9233 _ACEOF
9234 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9235 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9236 for ac_var in incroot usrlibdir libdir; do
9237 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9238 done
9239 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9240 for ac_extension in a so sl dylib la dll; do
9241 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9242 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9243 ac_im_usrlibdir=$ac_im_libdir; break
9245 done
9246 # Screen out bogus values from the imake configuration. They are
9247 # bogus both because they are the default anyway, and because
9248 # using them would break gcc on systems where it needs fixed includes.
9249 case $ac_im_incroot in
9250 /usr/include) ac_x_includes= ;;
9251 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9252 esac
9253 case $ac_im_usrlibdir in
9254 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9255 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9256 esac
9258 cd ..
9259 rm -f -r conftest.dir
9262 # Standard set of common directories for X headers.
9263 # Check X11 before X11Rn because it is often a symlink to the current release.
9264 ac_x_header_dirs='
9265 /usr/X11/include
9266 /usr/X11R7/include
9267 /usr/X11R6/include
9268 /usr/X11R5/include
9269 /usr/X11R4/include
9271 /usr/include/X11
9272 /usr/include/X11R7
9273 /usr/include/X11R6
9274 /usr/include/X11R5
9275 /usr/include/X11R4
9277 /usr/local/X11/include
9278 /usr/local/X11R7/include
9279 /usr/local/X11R6/include
9280 /usr/local/X11R5/include
9281 /usr/local/X11R4/include
9283 /usr/local/include/X11
9284 /usr/local/include/X11R7
9285 /usr/local/include/X11R6
9286 /usr/local/include/X11R5
9287 /usr/local/include/X11R4
9289 /usr/X386/include
9290 /usr/x386/include
9291 /usr/XFree86/include/X11
9293 /usr/include
9294 /usr/local/include
9295 /usr/unsupported/include
9296 /usr/athena/include
9297 /usr/local/x11r5/include
9298 /usr/lpp/Xamples/include
9300 /usr/openwin/include
9301 /usr/openwin/share/include'
9303 if test "$ac_x_includes" = no; then
9304 # Guess where to find include files, by looking for Xlib.h.
9305 # First, try using that file with no special directory specified.
9306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9307 /* end confdefs.h. */
9308 #include <X11/Xlib.h>
9309 _ACEOF
9310 if ac_fn_c_try_cpp "$LINENO"; then :
9311 # We can compile using X headers with no special include directory.
9312 ac_x_includes=
9313 else
9314 for ac_dir in $ac_x_header_dirs; do
9315 if test -r "$ac_dir/X11/Xlib.h"; then
9316 ac_x_includes=$ac_dir
9317 break
9319 done
9321 rm -f conftest.err conftest.i conftest.$ac_ext
9322 fi # $ac_x_includes = no
9324 if test "$ac_x_libraries" = no; then
9325 # Check for the libraries.
9326 # See if we find them without any special options.
9327 # Don't add to $LIBS permanently.
9328 ac_save_LIBS=$LIBS
9329 LIBS="-lX11 $LIBS"
9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h. */
9332 #include <X11/Xlib.h>
9334 main ()
9336 XrmInitialize ()
9338 return 0;
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9342 LIBS=$ac_save_LIBS
9343 # We can link X programs with no special library path.
9344 ac_x_libraries=
9345 else
9346 LIBS=$ac_save_LIBS
9347 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9349 # Don't even attempt the hair of trying to link an X program!
9350 for ac_extension in a so sl dylib la dll; do
9351 if test -r "$ac_dir/libX11.$ac_extension"; then
9352 ac_x_libraries=$ac_dir
9353 break 2
9355 done
9356 done
9358 rm -f core conftest.err conftest.$ac_objext \
9359 conftest$ac_exeext conftest.$ac_ext
9360 fi # $ac_x_libraries = no
9362 case $ac_x_includes,$ac_x_libraries in #(
9363 no,* | *,no | *\'*)
9364 # Didn't find X, or a directory has "'" in its name.
9365 ac_cv_have_x="have_x=no";; #(
9367 # Record where we found X for the cache.
9368 ac_cv_have_x="have_x=yes\
9369 ac_x_includes='$ac_x_includes'\
9370 ac_x_libraries='$ac_x_libraries'"
9371 esac
9373 ;; #(
9374 *) have_x=yes;;
9375 esac
9376 eval "$ac_cv_have_x"
9377 fi # $with_x != no
9379 if test "$have_x" != yes; then
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9381 $as_echo "$have_x" >&6; }
9382 no_x=yes
9383 else
9384 # If each of the values was on the command line, it overrides each guess.
9385 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9386 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9387 # Update the cache value to reflect the command line values.
9388 ac_cv_have_x="have_x=yes\
9389 ac_x_includes='$x_includes'\
9390 ac_x_libraries='$x_libraries'"
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9392 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9395 if test "$no_x" = yes; then
9396 # Not all programs may use this symbol, but it does not hurt to define it.
9398 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9400 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9401 else
9402 if test -n "$x_includes"; then
9403 X_CFLAGS="$X_CFLAGS -I$x_includes"
9406 # It would also be nice to do this for all -L options, not just this one.
9407 if test -n "$x_libraries"; then
9408 X_LIBS="$X_LIBS -L$x_libraries"
9409 # For Solaris; some versions of Sun CC require a space after -R and
9410 # others require no space. Words are not sufficient . . . .
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9412 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9413 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9414 ac_xsave_c_werror_flag=$ac_c_werror_flag
9415 ac_c_werror_flag=yes
9416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9417 /* end confdefs.h. */
9420 main ()
9424 return 0;
9426 _ACEOF
9427 if ac_fn_c_try_link "$LINENO"; then :
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9429 $as_echo "no" >&6; }
9430 X_LIBS="$X_LIBS -R$x_libraries"
9431 else
9432 LIBS="$ac_xsave_LIBS -R $x_libraries"
9433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9437 main ()
9441 return 0;
9443 _ACEOF
9444 if ac_fn_c_try_link "$LINENO"; then :
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9446 $as_echo "yes" >&6; }
9447 X_LIBS="$X_LIBS -R $x_libraries"
9448 else
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9450 $as_echo "neither works" >&6; }
9452 rm -f core conftest.err conftest.$ac_objext \
9453 conftest$ac_exeext conftest.$ac_ext
9455 rm -f core conftest.err conftest.$ac_objext \
9456 conftest$ac_exeext conftest.$ac_ext
9457 ac_c_werror_flag=$ac_xsave_c_werror_flag
9458 LIBS=$ac_xsave_LIBS
9461 # Check for system-dependent libraries X programs must link with.
9462 # Do this before checking for the system-independent R6 libraries
9463 # (-lICE), since we may need -lsocket or whatever for X linking.
9465 if test "$ISC" = yes; then
9466 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9467 else
9468 # Martyn Johnson says this is needed for Ultrix, if the X
9469 # libraries were built with DECnet support. And Karl Berry says
9470 # the Alpha needs dnet_stub (dnet does not exist).
9471 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9473 /* end confdefs.h. */
9475 /* Override any GCC internal prototype to avoid an error.
9476 Use char because int might match the return type of a GCC
9477 builtin and then its argument prototype would still apply. */
9478 #ifdef __cplusplus
9479 extern "C"
9480 #endif
9481 char XOpenDisplay ();
9483 main ()
9485 return XOpenDisplay ();
9487 return 0;
9489 _ACEOF
9490 if ac_fn_c_try_link "$LINENO"; then :
9492 else
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9494 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9495 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9496 $as_echo_n "(cached) " >&6
9497 else
9498 ac_check_lib_save_LIBS=$LIBS
9499 LIBS="-ldnet $LIBS"
9500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9501 /* end confdefs.h. */
9503 /* Override any GCC internal prototype to avoid an error.
9504 Use char because int might match the return type of a GCC
9505 builtin and then its argument prototype would still apply. */
9506 #ifdef __cplusplus
9507 extern "C"
9508 #endif
9509 char dnet_ntoa ();
9511 main ()
9513 return dnet_ntoa ();
9515 return 0;
9517 _ACEOF
9518 if ac_fn_c_try_link "$LINENO"; then :
9519 ac_cv_lib_dnet_dnet_ntoa=yes
9520 else
9521 ac_cv_lib_dnet_dnet_ntoa=no
9523 rm -f core conftest.err conftest.$ac_objext \
9524 conftest$ac_exeext conftest.$ac_ext
9525 LIBS=$ac_check_lib_save_LIBS
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9528 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9529 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9530 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9533 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9535 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9536 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9537 $as_echo_n "(cached) " >&6
9538 else
9539 ac_check_lib_save_LIBS=$LIBS
9540 LIBS="-ldnet_stub $LIBS"
9541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9544 /* Override any GCC internal prototype to avoid an error.
9545 Use char because int might match the return type of a GCC
9546 builtin and then its argument prototype would still apply. */
9547 #ifdef __cplusplus
9548 extern "C"
9549 #endif
9550 char dnet_ntoa ();
9552 main ()
9554 return dnet_ntoa ();
9556 return 0;
9558 _ACEOF
9559 if ac_fn_c_try_link "$LINENO"; then :
9560 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9561 else
9562 ac_cv_lib_dnet_stub_dnet_ntoa=no
9564 rm -f core conftest.err conftest.$ac_objext \
9565 conftest$ac_exeext conftest.$ac_ext
9566 LIBS=$ac_check_lib_save_LIBS
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9569 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9570 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9571 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 LIBS="$ac_xsave_LIBS"
9580 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9581 # to get the SysV transport functions.
9582 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9583 # needs -lnsl.
9584 # The nsl library prevents programs from opening the X display
9585 # on Irix 5.2, according to T.E. Dickey.
9586 # The functions gethostbyname, getservbyname, and inet_addr are
9587 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9588 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9589 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9593 if test $ac_cv_func_gethostbyname = no; then
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9595 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9596 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9597 $as_echo_n "(cached) " >&6
9598 else
9599 ac_check_lib_save_LIBS=$LIBS
9600 LIBS="-lnsl $LIBS"
9601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9604 /* Override any GCC internal prototype to avoid an error.
9605 Use char because int might match the return type of a GCC
9606 builtin and then its argument prototype would still apply. */
9607 #ifdef __cplusplus
9608 extern "C"
9609 #endif
9610 char gethostbyname ();
9612 main ()
9614 return gethostbyname ();
9616 return 0;
9618 _ACEOF
9619 if ac_fn_c_try_link "$LINENO"; then :
9620 ac_cv_lib_nsl_gethostbyname=yes
9621 else
9622 ac_cv_lib_nsl_gethostbyname=no
9624 rm -f core conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 LIBS=$ac_check_lib_save_LIBS
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9629 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9630 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9631 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9634 if test $ac_cv_lib_nsl_gethostbyname = no; then
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9636 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9637 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9638 $as_echo_n "(cached) " >&6
9639 else
9640 ac_check_lib_save_LIBS=$LIBS
9641 LIBS="-lbsd $LIBS"
9642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9645 /* Override any GCC internal prototype to avoid an error.
9646 Use char because int might match the return type of a GCC
9647 builtin and then its argument prototype would still apply. */
9648 #ifdef __cplusplus
9649 extern "C"
9650 #endif
9651 char gethostbyname ();
9653 main ()
9655 return gethostbyname ();
9657 return 0;
9659 _ACEOF
9660 if ac_fn_c_try_link "$LINENO"; then :
9661 ac_cv_lib_bsd_gethostbyname=yes
9662 else
9663 ac_cv_lib_bsd_gethostbyname=no
9665 rm -f core conftest.err conftest.$ac_objext \
9666 conftest$ac_exeext conftest.$ac_ext
9667 LIBS=$ac_check_lib_save_LIBS
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9670 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9671 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9672 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9678 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9679 # socket/setsockopt and other routines are undefined under SCO ODT
9680 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9681 # on later versions), says Simon Leinen: it contains gethostby*
9682 # variants that don't use the name server (or something). -lsocket
9683 # must be given before -lnsl if both are needed. We assume that
9684 # if connect needs -lnsl, so does gethostbyname.
9685 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9686 if test "x$ac_cv_func_connect" = xyes; then :
9690 if test $ac_cv_func_connect = no; then
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9692 $as_echo_n "checking for connect in -lsocket... " >&6; }
9693 if ${ac_cv_lib_socket_connect+:} false; then :
9694 $as_echo_n "(cached) " >&6
9695 else
9696 ac_check_lib_save_LIBS=$LIBS
9697 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9699 /* end confdefs.h. */
9701 /* Override any GCC internal prototype to avoid an error.
9702 Use char because int might match the return type of a GCC
9703 builtin and then its argument prototype would still apply. */
9704 #ifdef __cplusplus
9705 extern "C"
9706 #endif
9707 char connect ();
9709 main ()
9711 return connect ();
9713 return 0;
9715 _ACEOF
9716 if ac_fn_c_try_link "$LINENO"; then :
9717 ac_cv_lib_socket_connect=yes
9718 else
9719 ac_cv_lib_socket_connect=no
9721 rm -f core conftest.err conftest.$ac_objext \
9722 conftest$ac_exeext conftest.$ac_ext
9723 LIBS=$ac_check_lib_save_LIBS
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9726 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9727 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9728 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9733 # Guillermo Gomez says -lposix is necessary on A/UX.
9734 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9735 if test "x$ac_cv_func_remove" = xyes; then :
9739 if test $ac_cv_func_remove = no; then
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9741 $as_echo_n "checking for remove in -lposix... " >&6; }
9742 if ${ac_cv_lib_posix_remove+:} false; then :
9743 $as_echo_n "(cached) " >&6
9744 else
9745 ac_check_lib_save_LIBS=$LIBS
9746 LIBS="-lposix $LIBS"
9747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9748 /* end confdefs.h. */
9750 /* Override any GCC internal prototype to avoid an error.
9751 Use char because int might match the return type of a GCC
9752 builtin and then its argument prototype would still apply. */
9753 #ifdef __cplusplus
9754 extern "C"
9755 #endif
9756 char remove ();
9758 main ()
9760 return remove ();
9762 return 0;
9764 _ACEOF
9765 if ac_fn_c_try_link "$LINENO"; then :
9766 ac_cv_lib_posix_remove=yes
9767 else
9768 ac_cv_lib_posix_remove=no
9770 rm -f core conftest.err conftest.$ac_objext \
9771 conftest$ac_exeext conftest.$ac_ext
9772 LIBS=$ac_check_lib_save_LIBS
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9775 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9776 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9777 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9782 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9783 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9784 if test "x$ac_cv_func_shmat" = xyes; then :
9788 if test $ac_cv_func_shmat = no; then
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9790 $as_echo_n "checking for shmat in -lipc... " >&6; }
9791 if ${ac_cv_lib_ipc_shmat+:} false; then :
9792 $as_echo_n "(cached) " >&6
9793 else
9794 ac_check_lib_save_LIBS=$LIBS
9795 LIBS="-lipc $LIBS"
9796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9797 /* end confdefs.h. */
9799 /* Override any GCC internal prototype to avoid an error.
9800 Use char because int might match the return type of a GCC
9801 builtin and then its argument prototype would still apply. */
9802 #ifdef __cplusplus
9803 extern "C"
9804 #endif
9805 char shmat ();
9807 main ()
9809 return shmat ();
9811 return 0;
9813 _ACEOF
9814 if ac_fn_c_try_link "$LINENO"; then :
9815 ac_cv_lib_ipc_shmat=yes
9816 else
9817 ac_cv_lib_ipc_shmat=no
9819 rm -f core conftest.err conftest.$ac_objext \
9820 conftest$ac_exeext conftest.$ac_ext
9821 LIBS=$ac_check_lib_save_LIBS
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9824 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9825 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9826 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9832 # Check for libraries that X11R6 Xt/Xaw programs need.
9833 ac_save_LDFLAGS=$LDFLAGS
9834 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9835 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9836 # check for ICE first), but we must link in the order -lSM -lICE or
9837 # we get undefined symbols. So assume we have SM if we have ICE.
9838 # These have to be linked with before -lX11, unlike the other
9839 # libraries we check for below, so use a different variable.
9840 # John Interrante, Karl Berry
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9842 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9843 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9844 $as_echo_n "(cached) " >&6
9845 else
9846 ac_check_lib_save_LIBS=$LIBS
9847 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9851 /* Override any GCC internal prototype to avoid an error.
9852 Use char because int might match the return type of a GCC
9853 builtin and then its argument prototype would still apply. */
9854 #ifdef __cplusplus
9855 extern "C"
9856 #endif
9857 char IceConnectionNumber ();
9859 main ()
9861 return IceConnectionNumber ();
9863 return 0;
9865 _ACEOF
9866 if ac_fn_c_try_link "$LINENO"; then :
9867 ac_cv_lib_ICE_IceConnectionNumber=yes
9868 else
9869 ac_cv_lib_ICE_IceConnectionNumber=no
9871 rm -f core conftest.err conftest.$ac_objext \
9872 conftest$ac_exeext conftest.$ac_ext
9873 LIBS=$ac_check_lib_save_LIBS
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9876 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9877 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9878 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9881 LDFLAGS=$ac_save_LDFLAGS
9886 if test "$have_x" = "yes"
9887 then
9888 ac_save_CPPFLAGS="$CPPFLAGS"
9889 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9892 $as_echo_n "checking for -lX11... " >&6; }
9893 if ${ac_cv_lib_soname_X11+:} false; then :
9894 $as_echo_n "(cached) " >&6
9895 else
9896 ac_check_soname_save_LIBS=$LIBS
9897 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9901 /* Override any GCC internal prototype to avoid an error.
9902 Use char because int might match the return type of a GCC
9903 builtin and then its argument prototype would still apply. */
9904 #ifdef __cplusplus
9905 extern "C"
9906 #endif
9907 char XCreateWindow ();
9909 main ()
9911 return XCreateWindow ();
9913 return 0;
9915 _ACEOF
9916 if ac_fn_c_try_link "$LINENO"; then :
9917 case "$LIBEXT" in
9918 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9919 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'` ;;
9920 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9921 if ${ac_cv_lib_soname_X11:+false} :; then :
9922 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9923 fi ;;
9924 esac
9926 rm -f core conftest.err conftest.$ac_objext \
9927 conftest$ac_exeext conftest.$ac_ext
9928 LIBS=$ac_check_soname_save_LIBS
9930 if ${ac_cv_lib_soname_X11:+false} :; then :
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9932 $as_echo "not found" >&6; }
9934 else
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9936 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9938 cat >>confdefs.h <<_ACEOF
9939 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9940 _ACEOF
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9945 $as_echo_n "checking for -lXext... " >&6; }
9946 if ${ac_cv_lib_soname_Xext+:} false; then :
9947 $as_echo_n "(cached) " >&6
9948 else
9949 ac_check_soname_save_LIBS=$LIBS
9950 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9952 /* end confdefs.h. */
9954 /* Override any GCC internal prototype to avoid an error.
9955 Use char because int might match the return type of a GCC
9956 builtin and then its argument prototype would still apply. */
9957 #ifdef __cplusplus
9958 extern "C"
9959 #endif
9960 char XextCreateExtension ();
9962 main ()
9964 return XextCreateExtension ();
9966 return 0;
9968 _ACEOF
9969 if ac_fn_c_try_link "$LINENO"; then :
9970 case "$LIBEXT" in
9971 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9972 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'` ;;
9973 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9974 if ${ac_cv_lib_soname_Xext:+false} :; then :
9975 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9976 fi ;;
9977 esac
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 LIBS=$ac_check_soname_save_LIBS
9983 if ${ac_cv_lib_soname_Xext:+false} :; then :
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9985 $as_echo "not found" >&6; }
9987 else
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9989 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9991 cat >>confdefs.h <<_ACEOF
9992 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9993 _ACEOF
9995 X_LIBS="$X_LIBS -lXext"
9997 X_LIBS="$X_LIBS -lX11"
9999 for ac_header in X11/Xlib.h \
10000 X11/XKBlib.h \
10001 X11/Xutil.h \
10002 X11/Xcursor/Xcursor.h \
10003 X11/extensions/shape.h \
10004 X11/extensions/XInput.h \
10005 X11/extensions/XInput2.h \
10006 X11/extensions/XShm.h \
10007 X11/extensions/Xcomposite.h \
10008 X11/extensions/Xfixes.h \
10009 X11/extensions/Xinerama.h \
10010 X11/extensions/Xrandr.h \
10011 X11/extensions/Xrender.h \
10012 X11/extensions/xf86vmode.h \
10013 X11/extensions/xf86vmproto.h
10014 do :
10015 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10016 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10017 # include <X11/Xlib.h>
10018 #endif
10019 #ifdef HAVE_X11_XUTIL_H
10020 # include <X11/Xutil.h>
10021 #endif
10023 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10024 cat >>confdefs.h <<_ACEOF
10025 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10026 _ACEOF
10030 done
10033 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10034 then
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10036 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10037 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10038 $as_echo_n "(cached) " >&6
10039 else
10040 ac_check_lib_save_LIBS=$LIBS
10041 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10045 /* Override any GCC internal prototype to avoid an error.
10046 Use char because int might match the return type of a GCC
10047 builtin and then its argument prototype would still apply. */
10048 #ifdef __cplusplus
10049 extern "C"
10050 #endif
10051 char XkbQueryExtension ();
10053 main ()
10055 return XkbQueryExtension ();
10057 return 0;
10059 _ACEOF
10060 if ac_fn_c_try_link "$LINENO"; then :
10061 ac_cv_lib_X11_XkbQueryExtension=yes
10062 else
10063 ac_cv_lib_X11_XkbQueryExtension=no
10065 rm -f core conftest.err conftest.$ac_objext \
10066 conftest$ac_exeext conftest.$ac_ext
10067 LIBS=$ac_check_lib_save_LIBS
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10070 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10071 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10073 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10079 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10080 then
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10082 $as_echo_n "checking for -lXcursor... " >&6; }
10083 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10084 $as_echo_n "(cached) " >&6
10085 else
10086 ac_check_soname_save_LIBS=$LIBS
10087 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10091 /* Override any GCC internal prototype to avoid an error.
10092 Use char because int might match the return type of a GCC
10093 builtin and then its argument prototype would still apply. */
10094 #ifdef __cplusplus
10095 extern "C"
10096 #endif
10097 char XcursorImageLoadCursor ();
10099 main ()
10101 return XcursorImageLoadCursor ();
10103 return 0;
10105 _ACEOF
10106 if ac_fn_c_try_link "$LINENO"; then :
10107 case "$LIBEXT" in
10108 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10109 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'` ;;
10110 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10111 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10112 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10113 fi ;;
10114 esac
10116 rm -f core conftest.err conftest.$ac_objext \
10117 conftest$ac_exeext conftest.$ac_ext
10118 LIBS=$ac_check_soname_save_LIBS
10120 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10122 $as_echo "not found" >&6; }
10124 else
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10126 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10128 cat >>confdefs.h <<_ACEOF
10129 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10130 _ACEOF
10135 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10136 case "x$with_xcursor" in
10137 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10138 xno) ;;
10139 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10140 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10141 esac
10145 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10146 then
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10148 $as_echo_n "checking for -lXi... " >&6; }
10149 if ${ac_cv_lib_soname_Xi+:} false; then :
10150 $as_echo_n "(cached) " >&6
10151 else
10152 ac_check_soname_save_LIBS=$LIBS
10153 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10157 /* Override any GCC internal prototype to avoid an error.
10158 Use char because int might match the return type of a GCC
10159 builtin and then its argument prototype would still apply. */
10160 #ifdef __cplusplus
10161 extern "C"
10162 #endif
10163 char XOpenDevice ();
10165 main ()
10167 return XOpenDevice ();
10169 return 0;
10171 _ACEOF
10172 if ac_fn_c_try_link "$LINENO"; then :
10173 case "$LIBEXT" in
10174 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10175 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'` ;;
10176 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10177 if ${ac_cv_lib_soname_Xi:+false} :; then :
10178 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10179 fi ;;
10180 esac
10182 rm -f core conftest.err conftest.$ac_objext \
10183 conftest$ac_exeext conftest.$ac_ext
10184 LIBS=$ac_check_soname_save_LIBS
10186 if ${ac_cv_lib_soname_Xi:+false} :; then :
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10188 $as_echo "not found" >&6; }
10190 else
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10192 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10194 cat >>confdefs.h <<_ACEOF
10195 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10196 _ACEOF
10201 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10202 case "x$with_xinput" in
10203 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10204 xno) ;;
10205 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10206 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10207 esac
10211 if test "x$ac_cv_lib_soname_Xi" != x
10212 then
10213 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10214 case "x$with_xinput2" in
10215 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10216 xno) ;;
10217 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10218 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10219 esac
10224 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10225 then
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10227 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10228 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10229 $as_echo_n "(cached) " >&6
10230 else
10231 ac_check_lib_save_LIBS=$LIBS
10232 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10236 /* Override any GCC internal prototype to avoid an error.
10237 Use char because int might match the return type of a GCC
10238 builtin and then its argument prototype would still apply. */
10239 #ifdef __cplusplus
10240 extern "C"
10241 #endif
10242 char XShmQueryExtension ();
10244 main ()
10246 return XShmQueryExtension ();
10248 return 0;
10250 _ACEOF
10251 if ac_fn_c_try_link "$LINENO"; then :
10252 ac_cv_lib_Xext_XShmQueryExtension=yes
10253 else
10254 ac_cv_lib_Xext_XShmQueryExtension=no
10256 rm -f core conftest.err conftest.$ac_objext \
10257 conftest$ac_exeext conftest.$ac_ext
10258 LIBS=$ac_check_lib_save_LIBS
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10261 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10262 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10264 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10269 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10270 case "x$with_xshm" in
10271 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10272 xno) ;;
10273 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10274 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10275 esac
10279 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10280 then
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10282 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10283 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10284 $as_echo_n "(cached) " >&6
10285 else
10286 ac_check_lib_save_LIBS=$LIBS
10287 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10291 /* Override any GCC internal prototype to avoid an error.
10292 Use char because int might match the return type of a GCC
10293 builtin and then its argument prototype would still apply. */
10294 #ifdef __cplusplus
10295 extern "C"
10296 #endif
10297 char XShapeQueryExtension ();
10299 main ()
10301 return XShapeQueryExtension ();
10303 return 0;
10305 _ACEOF
10306 if ac_fn_c_try_link "$LINENO"; then :
10307 ac_cv_lib_Xext_XShapeQueryExtension=yes
10308 else
10309 ac_cv_lib_Xext_XShapeQueryExtension=no
10311 rm -f core conftest.err conftest.$ac_objext \
10312 conftest$ac_exeext conftest.$ac_ext
10313 LIBS=$ac_check_lib_save_LIBS
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10316 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10317 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10319 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10324 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10325 case "x$with_xshape" in
10326 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10327 xno) ;;
10328 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10329 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10330 esac
10334 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10335 then
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10337 $as_echo_n "checking for -lXxf86vm... " >&6; }
10338 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10339 $as_echo_n "(cached) " >&6
10340 else
10341 ac_check_soname_save_LIBS=$LIBS
10342 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10344 /* end confdefs.h. */
10346 /* Override any GCC internal prototype to avoid an error.
10347 Use char because int might match the return type of a GCC
10348 builtin and then its argument prototype would still apply. */
10349 #ifdef __cplusplus
10350 extern "C"
10351 #endif
10352 char XF86VidModeQueryExtension ();
10354 main ()
10356 return XF86VidModeQueryExtension ();
10358 return 0;
10360 _ACEOF
10361 if ac_fn_c_try_link "$LINENO"; then :
10362 case "$LIBEXT" in
10363 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10364 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'` ;;
10365 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10366 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10367 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10368 fi ;;
10369 esac
10371 rm -f core conftest.err conftest.$ac_objext \
10372 conftest$ac_exeext conftest.$ac_ext
10373 LIBS=$ac_check_soname_save_LIBS
10375 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10377 $as_echo "not found" >&6; }
10379 else
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10381 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10383 cat >>confdefs.h <<_ACEOF
10384 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10385 _ACEOF
10390 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10391 case "x$with_xxf86vm" in
10392 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10393 xno) ;;
10394 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10395 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10396 esac
10400 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10401 then
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10403 $as_echo_n "checking for -lXrender... " >&6; }
10404 if ${ac_cv_lib_soname_Xrender+:} false; then :
10405 $as_echo_n "(cached) " >&6
10406 else
10407 ac_check_soname_save_LIBS=$LIBS
10408 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10412 /* Override any GCC internal prototype to avoid an error.
10413 Use char because int might match the return type of a GCC
10414 builtin and then its argument prototype would still apply. */
10415 #ifdef __cplusplus
10416 extern "C"
10417 #endif
10418 char XRenderQueryExtension ();
10420 main ()
10422 return XRenderQueryExtension ();
10424 return 0;
10426 _ACEOF
10427 if ac_fn_c_try_link "$LINENO"; then :
10428 case "$LIBEXT" in
10429 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10430 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'` ;;
10431 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10432 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10433 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10434 fi ;;
10435 esac
10437 rm -f core conftest.err conftest.$ac_objext \
10438 conftest$ac_exeext conftest.$ac_ext
10439 LIBS=$ac_check_soname_save_LIBS
10441 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10443 $as_echo "not found" >&6; }
10445 else
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10447 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10449 cat >>confdefs.h <<_ACEOF
10450 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10451 _ACEOF
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10454 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10455 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10456 $as_echo_n "(cached) " >&6
10457 else
10458 ac_check_lib_save_LIBS=$LIBS
10459 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10461 /* end confdefs.h. */
10463 /* Override any GCC internal prototype to avoid an error.
10464 Use char because int might match the return type of a GCC
10465 builtin and then its argument prototype would still apply. */
10466 #ifdef __cplusplus
10467 extern "C"
10468 #endif
10469 char XRenderSetPictureTransform ();
10471 main ()
10473 return XRenderSetPictureTransform ();
10475 return 0;
10477 _ACEOF
10478 if ac_fn_c_try_link "$LINENO"; then :
10479 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10480 else
10481 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10483 rm -f core conftest.err conftest.$ac_objext \
10484 conftest$ac_exeext conftest.$ac_ext
10485 LIBS=$ac_check_lib_save_LIBS
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10488 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10489 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10491 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10496 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10497 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10498 $as_echo_n "(cached) " >&6
10499 else
10500 ac_check_lib_save_LIBS=$LIBS
10501 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10503 /* end confdefs.h. */
10505 /* Override any GCC internal prototype to avoid an error.
10506 Use char because int might match the return type of a GCC
10507 builtin and then its argument prototype would still apply. */
10508 #ifdef __cplusplus
10509 extern "C"
10510 #endif
10511 char XRenderCreateLinearGradient ();
10513 main ()
10515 return XRenderCreateLinearGradient ();
10517 return 0;
10519 _ACEOF
10520 if ac_fn_c_try_link "$LINENO"; then :
10521 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10522 else
10523 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10525 rm -f core conftest.err conftest.$ac_objext \
10526 conftest$ac_exeext conftest.$ac_ext
10527 LIBS=$ac_check_lib_save_LIBS
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10530 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10531 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10533 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10540 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10541 case "x$with_xrender" in
10542 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10543 xno) ;;
10544 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10545 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10546 esac
10550 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10551 then
10552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10553 /* end confdefs.h. */
10554 #include <X11/Xlib.h>
10555 #include <X11/extensions/Xrandr.h>
10557 main ()
10559 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10561 return 0;
10563 _ACEOF
10564 if ac_fn_c_try_compile "$LINENO"; then :
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10566 $as_echo_n "checking for -lXrandr... " >&6; }
10567 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10568 $as_echo_n "(cached) " >&6
10569 else
10570 ac_check_soname_save_LIBS=$LIBS
10571 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10573 /* end confdefs.h. */
10575 /* Override any GCC internal prototype to avoid an error.
10576 Use char because int might match the return type of a GCC
10577 builtin and then its argument prototype would still apply. */
10578 #ifdef __cplusplus
10579 extern "C"
10580 #endif
10581 char XRRQueryExtension ();
10583 main ()
10585 return XRRQueryExtension ();
10587 return 0;
10589 _ACEOF
10590 if ac_fn_c_try_link "$LINENO"; then :
10591 case "$LIBEXT" in
10592 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10593 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'` ;;
10594 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10595 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10596 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10597 fi ;;
10598 esac
10600 rm -f core conftest.err conftest.$ac_objext \
10601 conftest$ac_exeext conftest.$ac_ext
10602 LIBS=$ac_check_soname_save_LIBS
10604 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10606 $as_echo "not found" >&6; }
10608 else
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10610 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10612 cat >>confdefs.h <<_ACEOF
10613 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10614 _ACEOF
10616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10617 /* end confdefs.h. */
10618 #include <X11/Xlib.h>
10619 #include <X11/extensions/Xrandr.h>
10621 main ()
10623 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10625 return 0;
10627 _ACEOF
10628 if ac_fn_c_try_compile "$LINENO"; then :
10630 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10638 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10639 case "x$with_xrandr" in
10640 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10641 xno) ;;
10642 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10643 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10644 esac
10648 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10649 then
10650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10652 #include <X11/Xlib.h>
10653 #include <X11/extensions/Xfixes.h>
10655 main ()
10657 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10659 return 0;
10661 _ACEOF
10662 if ac_fn_c_try_compile "$LINENO"; then :
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10664 $as_echo_n "checking for -lXfixes... " >&6; }
10665 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10666 $as_echo_n "(cached) " >&6
10667 else
10668 ac_check_soname_save_LIBS=$LIBS
10669 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10673 /* Override any GCC internal prototype to avoid an error.
10674 Use char because int might match the return type of a GCC
10675 builtin and then its argument prototype would still apply. */
10676 #ifdef __cplusplus
10677 extern "C"
10678 #endif
10679 char XFixesQueryVersion ();
10681 main ()
10683 return XFixesQueryVersion ();
10685 return 0;
10687 _ACEOF
10688 if ac_fn_c_try_link "$LINENO"; then :
10689 case "$LIBEXT" in
10690 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10691 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'` ;;
10692 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10693 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10694 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10695 fi ;;
10696 esac
10698 rm -f core conftest.err conftest.$ac_objext \
10699 conftest$ac_exeext conftest.$ac_ext
10700 LIBS=$ac_check_soname_save_LIBS
10702 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10704 $as_echo "not found" >&6; }
10706 else
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10708 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10710 cat >>confdefs.h <<_ACEOF
10711 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10712 _ACEOF
10717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10719 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10720 case "x$with_xfixes" in
10721 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10722 xno) ;;
10723 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10724 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10725 esac
10729 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10730 then
10731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h. */
10733 #include <X11/Xlib.h>
10734 #include <X11/extensions/Xinerama.h>
10736 main ()
10738 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10740 return 0;
10742 _ACEOF
10743 if ac_fn_c_try_compile "$LINENO"; then :
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10745 $as_echo_n "checking for -lXinerama... " >&6; }
10746 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10747 $as_echo_n "(cached) " >&6
10748 else
10749 ac_check_soname_save_LIBS=$LIBS
10750 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10757 #ifdef __cplusplus
10758 extern "C"
10759 #endif
10760 char XineramaQueryScreens ();
10762 main ()
10764 return XineramaQueryScreens ();
10766 return 0;
10768 _ACEOF
10769 if ac_fn_c_try_link "$LINENO"; then :
10770 case "$LIBEXT" in
10771 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10772 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'` ;;
10773 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10774 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10775 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10776 fi ;;
10777 esac
10779 rm -f core conftest.err conftest.$ac_objext \
10780 conftest$ac_exeext conftest.$ac_ext
10781 LIBS=$ac_check_soname_save_LIBS
10783 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10785 $as_echo "not found" >&6; }
10787 else
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10789 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10791 cat >>confdefs.h <<_ACEOF
10792 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10793 _ACEOF
10798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10800 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10801 case "x$with_xinerama" in
10802 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10803 xno) ;;
10804 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10805 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10806 esac
10810 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10811 then
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10813 $as_echo_n "checking for -lXcomposite... " >&6; }
10814 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10815 $as_echo_n "(cached) " >&6
10816 else
10817 ac_check_soname_save_LIBS=$LIBS
10818 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10822 /* Override any GCC internal prototype to avoid an error.
10823 Use char because int might match the return type of a GCC
10824 builtin and then its argument prototype would still apply. */
10825 #ifdef __cplusplus
10826 extern "C"
10827 #endif
10828 char XCompositeRedirectWindow ();
10830 main ()
10832 return XCompositeRedirectWindow ();
10834 return 0;
10836 _ACEOF
10837 if ac_fn_c_try_link "$LINENO"; then :
10838 case "$LIBEXT" in
10839 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10840 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'` ;;
10841 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10842 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10843 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10844 fi ;;
10845 esac
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LIBS=$ac_check_soname_save_LIBS
10851 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10853 $as_echo "not found" >&6; }
10855 else
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10857 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10859 cat >>confdefs.h <<_ACEOF
10860 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10861 _ACEOF
10866 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10867 case "x$with_xcomposite" in
10868 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10869 xno) ;;
10870 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10871 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10872 esac
10876 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10877 #include <X11/Xlib.h>
10878 #endif
10880 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10882 cat >>confdefs.h <<_ACEOF
10883 #define HAVE_XICCALLBACK_CALLBACK 1
10884 _ACEOF
10888 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10889 #include <X11/Xlib.h>
10890 #endif
10892 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10894 cat >>confdefs.h <<_ACEOF
10895 #define HAVE_XEVENT_XCOOKIE 1
10896 _ACEOF
10903 opengl_msg=""
10904 if test "x$with_opengl" != "xno"
10905 then
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10907 $as_echo_n "checking for -lGL... " >&6; }
10908 if ${ac_cv_lib_soname_GL+:} false; then :
10909 $as_echo_n "(cached) " >&6
10910 else
10911 ac_check_soname_save_LIBS=$LIBS
10912 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 /* end confdefs.h. */
10916 /* Override any GCC internal prototype to avoid an error.
10917 Use char because int might match the return type of a GCC
10918 builtin and then its argument prototype would still apply. */
10919 #ifdef __cplusplus
10920 extern "C"
10921 #endif
10922 char glXCreateContext ();
10924 main ()
10926 return glXCreateContext ();
10928 return 0;
10930 _ACEOF
10931 if ac_fn_c_try_link "$LINENO"; then :
10932 case "$LIBEXT" in
10933 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10934 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'` ;;
10935 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10936 if ${ac_cv_lib_soname_GL:+false} :; then :
10937 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10938 fi ;;
10939 esac
10941 rm -f core conftest.err conftest.$ac_objext \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LIBS=$ac_check_soname_save_LIBS
10945 if ${ac_cv_lib_soname_GL:+false} :; then :
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10947 $as_echo "not found" >&6; }
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10949 $as_echo_n "checking for -lGL... " >&6; }
10950 if ${ac_cv_lib_soname_GL+:} false; then :
10951 $as_echo_n "(cached) " >&6
10952 else
10953 ac_check_soname_save_LIBS=$LIBS
10954 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"
10955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10958 /* Override any GCC internal prototype to avoid an error.
10959 Use char because int might match the return type of a GCC
10960 builtin and then its argument prototype would still apply. */
10961 #ifdef __cplusplus
10962 extern "C"
10963 #endif
10964 char glXCreateContext ();
10966 main ()
10968 return glXCreateContext ();
10970 return 0;
10972 _ACEOF
10973 if ac_fn_c_try_link "$LINENO"; then :
10974 case "$LIBEXT" in
10975 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10976 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'` ;;
10977 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10978 if ${ac_cv_lib_soname_GL:+false} :; then :
10979 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10980 fi ;;
10981 esac
10983 rm -f core conftest.err conftest.$ac_objext \
10984 conftest$ac_exeext conftest.$ac_ext
10985 LIBS=$ac_check_soname_save_LIBS
10987 if ${ac_cv_lib_soname_GL:+false} :; then :
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10989 $as_echo "not found" >&6; }
10990 if test -f /usr/X11R6/lib/libGL.a
10991 then
10992 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10993 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10994 else
10995 opengl_msg="No OpenGL library found on this system."
10997 else
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10999 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11001 cat >>confdefs.h <<_ACEOF
11002 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11003 _ACEOF
11005 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"
11007 else
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11009 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11011 cat >>confdefs.h <<_ACEOF
11012 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11013 _ACEOF
11015 OPENGL_LIBS="-lGL"
11017 if test "x$with_glu" != "xno"
11018 then
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11020 $as_echo_n "checking for -lGLU... " >&6; }
11021 if ${ac_cv_lib_soname_GLU+:} false; then :
11022 $as_echo_n "(cached) " >&6
11023 else
11024 ac_check_soname_save_LIBS=$LIBS
11025 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027 /* end confdefs.h. */
11029 /* Override any GCC internal prototype to avoid an error.
11030 Use char because int might match the return type of a GCC
11031 builtin and then its argument prototype would still apply. */
11032 #ifdef __cplusplus
11033 extern "C"
11034 #endif
11035 char gluLookAt ();
11037 main ()
11039 return gluLookAt ();
11041 return 0;
11043 _ACEOF
11044 if ac_fn_c_try_link "$LINENO"; then :
11045 case "$LIBEXT" in
11046 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11047 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'` ;;
11048 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11049 if ${ac_cv_lib_soname_GLU:+false} :; then :
11050 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11051 fi ;;
11052 esac
11054 rm -f core conftest.err conftest.$ac_objext \
11055 conftest$ac_exeext conftest.$ac_ext
11056 LIBS=$ac_check_soname_save_LIBS
11058 if ${ac_cv_lib_soname_GLU:+false} :; then :
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11060 $as_echo "not found" >&6; }
11062 else
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11064 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11066 cat >>confdefs.h <<_ACEOF
11067 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11068 _ACEOF
11072 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11073 case "x$with_glu" in
11074 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11075 xno) ;;
11076 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11077 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11078 esac
11083 if test "x$with_osmesa" != "xno"
11084 then
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11086 $as_echo_n "checking for -lOSMesa... " >&6; }
11087 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11088 $as_echo_n "(cached) " >&6
11089 else
11090 ac_check_soname_save_LIBS=$LIBS
11091 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11093 /* end confdefs.h. */
11095 /* Override any GCC internal prototype to avoid an error.
11096 Use char because int might match the return type of a GCC
11097 builtin and then its argument prototype would still apply. */
11098 #ifdef __cplusplus
11099 extern "C"
11100 #endif
11101 char OSMesaGetProcAddress ();
11103 main ()
11105 return OSMesaGetProcAddress ();
11107 return 0;
11109 _ACEOF
11110 if ac_fn_c_try_link "$LINENO"; then :
11111 case "$LIBEXT" in
11112 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11113 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'` ;;
11114 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11115 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11116 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11117 fi ;;
11118 esac
11120 rm -f core conftest.err conftest.$ac_objext \
11121 conftest$ac_exeext conftest.$ac_ext
11122 LIBS=$ac_check_soname_save_LIBS
11124 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11126 $as_echo "not found" >&6; }
11128 else
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11130 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11132 cat >>confdefs.h <<_ACEOF
11133 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11134 _ACEOF
11138 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11139 case "x$with_osmesa" in
11140 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11141 xno) ;;
11142 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11143 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11144 esac
11149 if test -n "$opengl_msg"; then :
11150 case "x$with_opengl" in
11151 x) as_fn_append wine_warnings "|$opengl_msg
11152 OpenGL and Direct3D won't be supported." ;;
11153 xno) ;;
11154 *) as_fn_error $? "$opengl_msg
11155 OpenGL and Direct3D won't be supported.
11156 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11157 esac
11161 CPPFLAGS="$ac_save_CPPFLAGS"
11162 else
11163 X_CFLAGS=""
11164 X_LIBS=""
11167 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11168 then
11169 if test "x$X_LIBS" = "x"; then :
11170 case "x$with_x" in
11171 xno) ;;
11172 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11173 without X support, which probably isn't what you want. You will need
11174 to install ${notice_platform}development packages of Xlib at the very least.
11175 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11176 esac
11177 enable_winex11_drv=${enable_winex11_drv:-no}
11179 else
11180 if test "x$X_LIBS" = "x"; then :
11181 case "x$with_x" in
11182 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11183 xno) ;;
11184 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11185 This is an error since --with-x was requested." "$LINENO" 5 ;;
11186 esac
11187 enable_winex11_drv=${enable_winex11_drv:-no}
11191 if test "$ac_cv_header_CL_cl_h" = "yes"
11192 then
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11194 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11195 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11196 $as_echo_n "(cached) " >&6
11197 else
11198 ac_check_lib_save_LIBS=$LIBS
11199 LIBS="-lOpenCL $LIBS"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11206 #ifdef __cplusplus
11207 extern "C"
11208 #endif
11209 char clGetPlatformInfo ();
11211 main ()
11213 return clGetPlatformInfo ();
11215 return 0;
11217 _ACEOF
11218 if ac_fn_c_try_link "$LINENO"; then :
11219 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11220 else
11221 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11223 rm -f core conftest.err conftest.$ac_objext \
11224 conftest$ac_exeext conftest.$ac_ext
11225 LIBS=$ac_check_lib_save_LIBS
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11228 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11229 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11230 OPENCL_LIBS="-lOpenCL"
11235 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11236 case "x$with_opencl" in
11237 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11238 xno) ;;
11239 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11240 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11241 esac
11242 enable_opencl=${enable_opencl:-no}
11245 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11246 then
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11248 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11249 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11250 $as_echo_n "(cached) " >&6
11251 else
11252 ac_check_lib_save_LIBS=$LIBS
11253 LIBS="-lpcap $LIBS"
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11257 /* Override any GCC internal prototype to avoid an error.
11258 Use char because int might match the return type of a GCC
11259 builtin and then its argument prototype would still apply. */
11260 #ifdef __cplusplus
11261 extern "C"
11262 #endif
11263 char pcap_create ();
11265 main ()
11267 return pcap_create ();
11269 return 0;
11271 _ACEOF
11272 if ac_fn_c_try_link "$LINENO"; then :
11273 ac_cv_lib_pcap_pcap_create=yes
11274 else
11275 ac_cv_lib_pcap_pcap_create=no
11277 rm -f core conftest.err conftest.$ac_objext \
11278 conftest$ac_exeext conftest.$ac_ext
11279 LIBS=$ac_check_lib_save_LIBS
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11282 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11283 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11284 PCAP_LIBS="-lpcap"
11289 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11290 case "x$with_pcap" in
11291 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11292 xno) ;;
11293 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11294 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11295 esac
11296 enable_wpcap=${enable_wpcap:-no}
11300 if test "x$with_xml" != "xno"
11301 then
11302 if ${XML2_CFLAGS:+false} :; then :
11303 if ${PKG_CONFIG+:} false; then :
11304 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11307 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11308 if ${XML2_LIBS:+false} :; then :
11309 if ${PKG_CONFIG+:} false; then :
11310 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11313 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11314 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11315 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11316 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11317 ac_save_CPPFLAGS=$CPPFLAGS
11318 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11319 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11320 do :
11321 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11322 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11324 cat >>confdefs.h <<_ACEOF
11325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11326 _ACEOF
11330 done
11332 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"
11333 then
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11335 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11336 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11337 $as_echo_n "(cached) " >&6
11338 else
11339 ac_check_lib_save_LIBS=$LIBS
11340 LIBS="-lxml2 $XML2_LIBS $LIBS"
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11347 #ifdef __cplusplus
11348 extern "C"
11349 #endif
11350 char xmlParseMemory ();
11352 main ()
11354 return xmlParseMemory ();
11356 return 0;
11358 _ACEOF
11359 if ac_fn_c_try_link "$LINENO"; then :
11360 ac_cv_lib_xml2_xmlParseMemory=yes
11361 else
11362 ac_cv_lib_xml2_xmlParseMemory=no
11364 rm -f core conftest.err conftest.$ac_objext \
11365 conftest$ac_exeext conftest.$ac_ext
11366 LIBS=$ac_check_lib_save_LIBS
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11369 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11370 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11372 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11374 else
11375 XML2_LIBS=""
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11379 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11380 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11381 $as_echo_n "(cached) " >&6
11382 else
11383 ac_check_lib_save_LIBS=$LIBS
11384 LIBS="-lxml2 $XML2_LIBS $LIBS"
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11388 /* Override any GCC internal prototype to avoid an error.
11389 Use char because int might match the return type of a GCC
11390 builtin and then its argument prototype would still apply. */
11391 #ifdef __cplusplus
11392 extern "C"
11393 #endif
11394 char xmlReadMemory ();
11396 main ()
11398 return xmlReadMemory ();
11400 return 0;
11402 _ACEOF
11403 if ac_fn_c_try_link "$LINENO"; then :
11404 ac_cv_lib_xml2_xmlReadMemory=yes
11405 else
11406 ac_cv_lib_xml2_xmlReadMemory=no
11408 rm -f core conftest.err conftest.$ac_objext \
11409 conftest$ac_exeext conftest.$ac_ext
11410 LIBS=$ac_check_lib_save_LIBS
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11413 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11414 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11416 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11421 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11422 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11423 $as_echo_n "(cached) " >&6
11424 else
11425 ac_check_lib_save_LIBS=$LIBS
11426 LIBS="-lxml2 $XML2_LIBS $LIBS"
11427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11428 /* end confdefs.h. */
11430 /* Override any GCC internal prototype to avoid an error.
11431 Use char because int might match the return type of a GCC
11432 builtin and then its argument prototype would still apply. */
11433 #ifdef __cplusplus
11434 extern "C"
11435 #endif
11436 char xmlNewDocPI ();
11438 main ()
11440 return xmlNewDocPI ();
11442 return 0;
11444 _ACEOF
11445 if ac_fn_c_try_link "$LINENO"; then :
11446 ac_cv_lib_xml2_xmlNewDocPI=yes
11447 else
11448 ac_cv_lib_xml2_xmlNewDocPI=no
11450 rm -f core conftest.err conftest.$ac_objext \
11451 conftest$ac_exeext conftest.$ac_ext
11452 LIBS=$ac_check_lib_save_LIBS
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11455 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11456 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11458 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11463 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11464 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11465 $as_echo_n "(cached) " >&6
11466 else
11467 ac_check_lib_save_LIBS=$LIBS
11468 LIBS="-lxml2 $XML2_LIBS $LIBS"
11469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11472 /* Override any GCC internal prototype to avoid an error.
11473 Use char because int might match the return type of a GCC
11474 builtin and then its argument prototype would still apply. */
11475 #ifdef __cplusplus
11476 extern "C"
11477 #endif
11478 char xmlSchemaSetParserStructuredErrors ();
11480 main ()
11482 return xmlSchemaSetParserStructuredErrors ();
11484 return 0;
11486 _ACEOF
11487 if ac_fn_c_try_link "$LINENO"; then :
11488 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11489 else
11490 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11492 rm -f core conftest.err conftest.$ac_objext \
11493 conftest$ac_exeext conftest.$ac_ext
11494 LIBS=$ac_check_lib_save_LIBS
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11497 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11498 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11500 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11505 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11506 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11507 $as_echo_n "(cached) " >&6
11508 else
11509 ac_check_lib_save_LIBS=$LIBS
11510 LIBS="-lxml2 $XML2_LIBS $LIBS"
11511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11512 /* end confdefs.h. */
11514 /* Override any GCC internal prototype to avoid an error.
11515 Use char because int might match the return type of a GCC
11516 builtin and then its argument prototype would still apply. */
11517 #ifdef __cplusplus
11518 extern "C"
11519 #endif
11520 char xmlSchemaSetValidStructuredErrors ();
11522 main ()
11524 return xmlSchemaSetValidStructuredErrors ();
11526 return 0;
11528 _ACEOF
11529 if ac_fn_c_try_link "$LINENO"; then :
11530 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11531 else
11532 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11534 rm -f core conftest.err conftest.$ac_objext \
11535 conftest$ac_exeext conftest.$ac_ext
11536 LIBS=$ac_check_lib_save_LIBS
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11539 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11540 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11542 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11547 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11548 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11549 $as_echo_n "(cached) " >&6
11550 else
11551 ac_check_lib_save_LIBS=$LIBS
11552 LIBS="-lxml2 $XML2_LIBS $LIBS"
11553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11556 /* Override any GCC internal prototype to avoid an error.
11557 Use char because int might match the return type of a GCC
11558 builtin and then its argument prototype would still apply. */
11559 #ifdef __cplusplus
11560 extern "C"
11561 #endif
11562 char xmlFirstElementChild ();
11564 main ()
11566 return xmlFirstElementChild ();
11568 return 0;
11570 _ACEOF
11571 if ac_fn_c_try_link "$LINENO"; then :
11572 ac_cv_lib_xml2_xmlFirstElementChild=yes
11573 else
11574 ac_cv_lib_xml2_xmlFirstElementChild=no
11576 rm -f core conftest.err conftest.$ac_objext \
11577 conftest$ac_exeext conftest.$ac_ext
11578 LIBS=$ac_check_lib_save_LIBS
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11581 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11582 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11584 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11588 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11590 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11592 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11596 else
11597 XML2_CFLAGS=""
11598 XML2_LIBS=""
11600 CPPFLAGS=$ac_save_CPPFLAGS
11601 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11602 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11605 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11606 case "x$with_xml" in
11607 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11608 xno) ;;
11609 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11610 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11611 esac
11615 if test "x$with_xslt" != "xno"
11616 then
11617 if ${XSLT_CFLAGS:+false} :; then :
11618 if ${PKG_CONFIG+:} false; then :
11619 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11622 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11623 if ${XSLT_LIBS:+false} :; then :
11624 if ${PKG_CONFIG+:} false; then :
11625 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11628 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11629 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11630 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11631 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11632 ac_save_CPPFLAGS=$CPPFLAGS
11633 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11634 for ac_header in libxslt/pattern.h libxslt/transform.h
11635 do :
11636 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11637 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11638 # include <libxslt/pattern.h>
11639 #endif
11641 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11642 cat >>confdefs.h <<_ACEOF
11643 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11644 _ACEOF
11648 done
11650 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11651 then
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11653 $as_echo_n "checking for -lxslt... " >&6; }
11654 if ${ac_cv_lib_soname_xslt+:} false; then :
11655 $as_echo_n "(cached) " >&6
11656 else
11657 ac_check_soname_save_LIBS=$LIBS
11658 LIBS="-lxslt $XSLT_LIBS $LIBS"
11659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11662 /* Override any GCC internal prototype to avoid an error.
11663 Use char because int might match the return type of a GCC
11664 builtin and then its argument prototype would still apply. */
11665 #ifdef __cplusplus
11666 extern "C"
11667 #endif
11668 char xsltCompilePattern ();
11670 main ()
11672 return xsltCompilePattern ();
11674 return 0;
11676 _ACEOF
11677 if ac_fn_c_try_link "$LINENO"; then :
11678 case "$LIBEXT" in
11679 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11680 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'` ;;
11681 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11682 if ${ac_cv_lib_soname_xslt:+false} :; then :
11683 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11684 fi ;;
11685 esac
11687 rm -f core conftest.err conftest.$ac_objext \
11688 conftest$ac_exeext conftest.$ac_ext
11689 LIBS=$ac_check_soname_save_LIBS
11691 if ${ac_cv_lib_soname_xslt:+false} :; then :
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11693 $as_echo "not found" >&6; }
11695 else
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11697 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11699 cat >>confdefs.h <<_ACEOF
11700 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11701 _ACEOF
11705 else
11706 XSLT_CFLAGS=""
11708 CPPFLAGS=$ac_save_CPPFLAGS
11709 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11710 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11713 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11714 case "x$with_xslt" in
11715 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11716 xno) ;;
11717 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11718 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11719 esac
11723 if test "x$with_dbus" != "xno"
11724 then
11725 if ${DBUS_CFLAGS:+false} :; then :
11726 if ${PKG_CONFIG+:} false; then :
11727 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11731 if ${DBUS_LIBS:+false} :; then :
11732 if ${PKG_CONFIG+:} false; then :
11733 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11738 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11739 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11740 ac_save_CPPFLAGS=$CPPFLAGS
11741 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11742 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11743 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11745 $as_echo_n "checking for -ldbus-1... " >&6; }
11746 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11747 $as_echo_n "(cached) " >&6
11748 else
11749 ac_check_soname_save_LIBS=$LIBS
11750 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11752 /* end confdefs.h. */
11754 /* Override any GCC internal prototype to avoid an error.
11755 Use char because int might match the return type of a GCC
11756 builtin and then its argument prototype would still apply. */
11757 #ifdef __cplusplus
11758 extern "C"
11759 #endif
11760 char dbus_connection_close ();
11762 main ()
11764 return dbus_connection_close ();
11766 return 0;
11768 _ACEOF
11769 if ac_fn_c_try_link "$LINENO"; then :
11770 case "$LIBEXT" in
11771 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11772 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'` ;;
11773 *) 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'`
11774 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11775 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11776 fi ;;
11777 esac
11779 rm -f core conftest.err conftest.$ac_objext \
11780 conftest$ac_exeext conftest.$ac_ext
11781 LIBS=$ac_check_soname_save_LIBS
11783 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11785 $as_echo "not found" >&6; }
11786 DBUS_CFLAGS=""
11787 else
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11789 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11791 cat >>confdefs.h <<_ACEOF
11792 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11793 _ACEOF
11797 else
11798 DBUS_CFLAGS=""
11802 CPPFLAGS=$ac_save_CPPFLAGS
11803 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11804 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11807 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11808 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11809 case "x$with_dbus" in
11810 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11811 xno) ;;
11812 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11813 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11814 esac
11818 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11819 then
11820 if ${HAL_CFLAGS:+false} :; then :
11821 if ${PKG_CONFIG+:} false; then :
11822 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11826 if ${HAL_LIBS:+false} :; then :
11827 if ${PKG_CONFIG+:} false; then :
11828 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11832 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11833 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11834 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11835 ac_save_CPPFLAGS=$CPPFLAGS
11836 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11837 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11838 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11840 $as_echo_n "checking for -lhal... " >&6; }
11841 if ${ac_cv_lib_soname_hal+:} false; then :
11842 $as_echo_n "(cached) " >&6
11843 else
11844 ac_check_soname_save_LIBS=$LIBS
11845 LIBS="-lhal $HAL_LIBS $LIBS"
11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11849 /* Override any GCC internal prototype to avoid an error.
11850 Use char because int might match the return type of a GCC
11851 builtin and then its argument prototype would still apply. */
11852 #ifdef __cplusplus
11853 extern "C"
11854 #endif
11855 char libhal_ctx_new ();
11857 main ()
11859 return libhal_ctx_new ();
11861 return 0;
11863 _ACEOF
11864 if ac_fn_c_try_link "$LINENO"; then :
11865 case "$LIBEXT" in
11866 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11867 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'` ;;
11868 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11869 if ${ac_cv_lib_soname_hal:+false} :; then :
11870 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11871 fi ;;
11872 esac
11874 rm -f core conftest.err conftest.$ac_objext \
11875 conftest$ac_exeext conftest.$ac_ext
11876 LIBS=$ac_check_soname_save_LIBS
11878 if ${ac_cv_lib_soname_hal:+false} :; then :
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11880 $as_echo "not found" >&6; }
11881 HAL_CFLAGS=""
11882 else
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11884 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11886 cat >>confdefs.h <<_ACEOF
11887 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11888 _ACEOF
11892 else
11893 HAL_CFLAGS=""
11897 CPPFLAGS=$ac_save_CPPFLAGS
11898 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11899 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11901 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11902 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11903 case "x$with_hal" in
11904 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11905 xno) ;;
11906 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11907 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11908 esac
11913 if test "x$with_gnutls" != "xno"
11914 then
11915 if ${GNUTLS_CFLAGS:+false} :; then :
11916 if ${PKG_CONFIG+:} false; then :
11917 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11921 if ${GNUTLS_LIBS:+false} :; then :
11922 if ${PKG_CONFIG+:} false; then :
11923 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11928 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11929 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11930 ac_save_CPPFLAGS=$CPPFLAGS
11931 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11932 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11933 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11936 #include <gnutls/gnutls.h>
11937 #include <gnutls/crypto.h>
11939 main ()
11941 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11943 return 0;
11945 _ACEOF
11946 if ac_fn_c_try_compile "$LINENO"; then :
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11948 $as_echo_n "checking for -lgnutls... " >&6; }
11949 if ${ac_cv_lib_soname_gnutls+:} false; then :
11950 $as_echo_n "(cached) " >&6
11951 else
11952 ac_check_soname_save_LIBS=$LIBS
11953 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h. */
11957 /* Override any GCC internal prototype to avoid an error.
11958 Use char because int might match the return type of a GCC
11959 builtin and then its argument prototype would still apply. */
11960 #ifdef __cplusplus
11961 extern "C"
11962 #endif
11963 char gnutls_global_init ();
11965 main ()
11967 return gnutls_global_init ();
11969 return 0;
11971 _ACEOF
11972 if ac_fn_c_try_link "$LINENO"; then :
11973 case "$LIBEXT" in
11974 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11975 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'` ;;
11976 *) 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'`
11977 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11978 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'`
11979 fi ;;
11980 esac
11982 rm -f core conftest.err conftest.$ac_objext \
11983 conftest$ac_exeext conftest.$ac_ext
11984 LIBS=$ac_check_soname_save_LIBS
11986 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11988 $as_echo "not found" >&6; }
11989 GNUTLS_CFLAGS=""
11990 else
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11992 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11994 cat >>confdefs.h <<_ACEOF
11995 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11996 _ACEOF
12000 ac_wine_check_funcs_save_LIBS="$LIBS"
12001 LIBS="$LIBS $GNUTLS_LIBS"
12002 for ac_func in gnutls_cipher_init
12003 do :
12004 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12005 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12006 cat >>confdefs.h <<_ACEOF
12007 #define HAVE_GNUTLS_CIPHER_INIT 1
12008 _ACEOF
12010 else
12011 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12013 done
12015 LIBS="$ac_wine_check_funcs_save_LIBS"
12017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12018 else
12019 GNUTLS_CFLAGS=""
12023 CPPFLAGS=$ac_save_CPPFLAGS
12024 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12025 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12028 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12029 case "x$with_gnutls" in
12030 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12031 xno) ;;
12032 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12033 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12034 esac
12038 CURSES_LIBS=""
12039 if test "$ac_cv_header_ncurses_h" = "yes"
12040 then
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12042 $as_echo_n "checking for -lncurses... " >&6; }
12043 if ${ac_cv_lib_soname_ncurses+:} false; then :
12044 $as_echo_n "(cached) " >&6
12045 else
12046 ac_check_soname_save_LIBS=$LIBS
12047 LIBS="-lncurses $LIBS"
12048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12049 /* end confdefs.h. */
12051 /* Override any GCC internal prototype to avoid an error.
12052 Use char because int might match the return type of a GCC
12053 builtin and then its argument prototype would still apply. */
12054 #ifdef __cplusplus
12055 extern "C"
12056 #endif
12057 char waddch ();
12059 main ()
12061 return waddch ();
12063 return 0;
12065 _ACEOF
12066 if ac_fn_c_try_link "$LINENO"; then :
12067 case "$LIBEXT" in
12068 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12069 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'` ;;
12070 *) 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'`
12071 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12072 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12073 fi ;;
12074 esac
12076 rm -f core conftest.err conftest.$ac_objext \
12077 conftest$ac_exeext conftest.$ac_ext
12078 LIBS=$ac_check_soname_save_LIBS
12080 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12082 $as_echo "not found" >&6; }
12084 else
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12086 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12088 cat >>confdefs.h <<_ACEOF
12089 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12090 _ACEOF
12092 CURSES_LIBS="-lncurses"
12094 elif test "$ac_cv_header_curses_h" = "yes"
12095 then
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12097 $as_echo_n "checking for -lcurses... " >&6; }
12098 if ${ac_cv_lib_soname_curses+:} false; then :
12099 $as_echo_n "(cached) " >&6
12100 else
12101 ac_check_soname_save_LIBS=$LIBS
12102 LIBS="-lcurses $LIBS"
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12106 /* Override any GCC internal prototype to avoid an error.
12107 Use char because int might match the return type of a GCC
12108 builtin and then its argument prototype would still apply. */
12109 #ifdef __cplusplus
12110 extern "C"
12111 #endif
12112 char waddch ();
12114 main ()
12116 return waddch ();
12118 return 0;
12120 _ACEOF
12121 if ac_fn_c_try_link "$LINENO"; then :
12122 case "$LIBEXT" in
12123 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12124 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'` ;;
12125 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12126 if ${ac_cv_lib_soname_curses:+false} :; then :
12127 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12128 fi ;;
12129 esac
12131 rm -f core conftest.err conftest.$ac_objext \
12132 conftest$ac_exeext conftest.$ac_ext
12133 LIBS=$ac_check_soname_save_LIBS
12135 if ${ac_cv_lib_soname_curses:+false} :; then :
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12137 $as_echo "not found" >&6; }
12139 else
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12141 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12143 cat >>confdefs.h <<_ACEOF
12144 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12145 _ACEOF
12147 CURSES_LIBS="-lcurses"
12150 ac_save_LIBS="$LIBS"
12151 LIBS="$LIBS $CURSES_LIBS"
12152 for ac_func in mousemask
12153 do :
12154 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12155 if test "x$ac_cv_func_mousemask" = xyes; then :
12156 cat >>confdefs.h <<_ACEOF
12157 #define HAVE_MOUSEMASK 1
12158 _ACEOF
12161 done
12163 LIBS="$ac_save_LIBS"
12164 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12165 case "x$with_curses" in
12166 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12167 xno) ;;
12168 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12169 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12170 esac
12174 if test "x$with_sane" != "xno"
12175 then
12176 if ${SANE_CFLAGS:+false} :; then :
12177 if ${PKG_CONFIG+:} false; then :
12178 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12181 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12182 if ${SANE_LIBS:+false} :; then :
12183 if ${PKG_CONFIG+:} false; then :
12184 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12187 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12189 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12190 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12191 ac_save_CPPFLAGS=$CPPFLAGS
12192 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12193 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12194 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12196 $as_echo_n "checking for -lsane... " >&6; }
12197 if ${ac_cv_lib_soname_sane+:} false; then :
12198 $as_echo_n "(cached) " >&6
12199 else
12200 ac_check_soname_save_LIBS=$LIBS
12201 LIBS="-lsane $SANE_LIBS $LIBS"
12202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12205 /* Override any GCC internal prototype to avoid an error.
12206 Use char because int might match the return type of a GCC
12207 builtin and then its argument prototype would still apply. */
12208 #ifdef __cplusplus
12209 extern "C"
12210 #endif
12211 char sane_init ();
12213 main ()
12215 return sane_init ();
12217 return 0;
12219 _ACEOF
12220 if ac_fn_c_try_link "$LINENO"; then :
12221 case "$LIBEXT" in
12222 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12223 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'` ;;
12224 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12225 if ${ac_cv_lib_soname_sane:+false} :; then :
12226 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12227 fi ;;
12228 esac
12230 rm -f core conftest.err conftest.$ac_objext \
12231 conftest$ac_exeext conftest.$ac_ext
12232 LIBS=$ac_check_soname_save_LIBS
12234 if ${ac_cv_lib_soname_sane:+false} :; then :
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12236 $as_echo "not found" >&6; }
12237 SANE_CFLAGS=""
12238 else
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12240 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12242 cat >>confdefs.h <<_ACEOF
12243 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12244 _ACEOF
12248 else
12249 SANE_CFLAGS=""
12253 CPPFLAGS=$ac_save_CPPFLAGS
12254 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12255 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12258 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12259 case "x$with_sane" in
12260 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12261 xno) ;;
12262 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12263 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12264 esac
12268 if test "x$with_v4l" != "xno"
12269 then
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12271 $as_echo_n "checking for -lv4l1... " >&6; }
12272 if ${ac_cv_lib_soname_v4l1+:} false; then :
12273 $as_echo_n "(cached) " >&6
12274 else
12275 ac_check_soname_save_LIBS=$LIBS
12276 LIBS="-lv4l1 $LIBS"
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12280 /* Override any GCC internal prototype to avoid an error.
12281 Use char because int might match the return type of a GCC
12282 builtin and then its argument prototype would still apply. */
12283 #ifdef __cplusplus
12284 extern "C"
12285 #endif
12286 char v4l1_open ();
12288 main ()
12290 return v4l1_open ();
12292 return 0;
12294 _ACEOF
12295 if ac_fn_c_try_link "$LINENO"; then :
12296 case "$LIBEXT" in
12297 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12298 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'` ;;
12299 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12300 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12301 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12302 fi ;;
12303 esac
12305 rm -f core conftest.err conftest.$ac_objext \
12306 conftest$ac_exeext conftest.$ac_ext
12307 LIBS=$ac_check_soname_save_LIBS
12309 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12311 $as_echo "not found" >&6; }
12313 else
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12315 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12317 cat >>confdefs.h <<_ACEOF
12318 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12319 _ACEOF
12324 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12325 case "x$with_v4l" in
12326 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12327 xno) ;;
12328 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12329 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12330 esac
12334 if test "x$with_gphoto" != "xno"
12335 then
12336 if ${GPHOTO2_CFLAGS:+false} :; then :
12337 if ${PKG_CONFIG+:} false; then :
12338 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12341 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12342 if ${GPHOTO2_LIBS:+false} :; then :
12343 if ${PKG_CONFIG+:} false; then :
12344 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12347 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12348 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12349 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12350 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12351 ac_save_CPPFLAGS=$CPPFLAGS
12352 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12353 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12354 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12356 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12357 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12358 $as_echo_n "(cached) " >&6
12359 else
12360 ac_check_lib_save_LIBS=$LIBS
12361 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12365 /* Override any GCC internal prototype to avoid an error.
12366 Use char because int might match the return type of a GCC
12367 builtin and then its argument prototype would still apply. */
12368 #ifdef __cplusplus
12369 extern "C"
12370 #endif
12371 char gp_camera_new ();
12373 main ()
12375 return gp_camera_new ();
12377 return 0;
12379 _ACEOF
12380 if ac_fn_c_try_link "$LINENO"; then :
12381 ac_cv_lib_gphoto2_gp_camera_new=yes
12382 else
12383 ac_cv_lib_gphoto2_gp_camera_new=no
12385 rm -f core conftest.err conftest.$ac_objext \
12386 conftest$ac_exeext conftest.$ac_ext
12387 LIBS=$ac_check_lib_save_LIBS
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12390 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12391 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12393 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12395 else
12396 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12399 else
12400 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12404 CPPFLAGS=$ac_save_CPPFLAGS
12405 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12406 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12408 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12409 if ${PKG_CONFIG+:} false; then :
12410 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12413 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12414 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12415 if ${PKG_CONFIG+:} false; then :
12416 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12419 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12420 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12421 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12422 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12423 ac_save_CPPFLAGS=$CPPFLAGS
12424 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12425 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12426 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12428 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12429 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12430 $as_echo_n "(cached) " >&6
12431 else
12432 ac_check_lib_save_LIBS=$LIBS
12433 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12437 /* Override any GCC internal prototype to avoid an error.
12438 Use char because int might match the return type of a GCC
12439 builtin and then its argument prototype would still apply. */
12440 #ifdef __cplusplus
12441 extern "C"
12442 #endif
12443 char gp_port_info_list_new ();
12445 main ()
12447 return gp_port_info_list_new ();
12449 return 0;
12451 _ACEOF
12452 if ac_fn_c_try_link "$LINENO"; then :
12453 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12454 else
12455 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12457 rm -f core conftest.err conftest.$ac_objext \
12458 conftest$ac_exeext conftest.$ac_ext
12459 LIBS=$ac_check_lib_save_LIBS
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12462 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12463 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12465 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12467 else
12468 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12471 else
12472 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12476 CPPFLAGS=$ac_save_CPPFLAGS
12477 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12478 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12481 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12482 case "x$with_gphoto" in
12483 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12484 xno) ;;
12485 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12486 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12487 esac
12490 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12491 case "x$with_gphoto" in
12492 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12493 xno) ;;
12494 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12495 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12496 esac
12501 if test "$ac_cv_header_resolv_h" = "yes"
12502 then
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12504 $as_echo_n "checking for resolver library... " >&6; }
12505 if ${ac_cv_have_resolv+:} false; then :
12506 $as_echo_n "(cached) " >&6
12507 else
12508 ac_save_LIBS="$LIBS"
12509 for lib in '' -lresolv
12511 LIBS="$lib $ac_save_LIBS"
12512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12514 #ifdef HAVE_NETINET_IN_H
12515 #include <netinet/in.h>
12516 #endif
12517 #include <resolv.h>
12519 main ()
12521 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12523 return 0;
12525 _ACEOF
12526 if ac_fn_c_try_link "$LINENO"; then :
12527 ac_cv_have_resolv=${lib:-"none required"}
12528 else
12529 ac_cv_have_resolv="not found"
12531 rm -f core conftest.err conftest.$ac_objext \
12532 conftest$ac_exeext conftest.$ac_ext
12533 test "x$ac_cv_have_resolv" = "xnot found" || break
12534 done
12535 LIBS="$ac_save_LIBS"
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12538 $as_echo "$ac_cv_have_resolv" >&6; }
12540 case "$ac_cv_have_resolv" in
12541 "not found") ;;
12542 "none required")
12544 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12547 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12549 RESOLV_LIBS=$ac_cv_have_resolv
12551 esac
12554 if test "x$with_cms" != "xno"
12555 then
12556 if ${LCMS2_CFLAGS:+false} :; then :
12557 if ${PKG_CONFIG+:} false; then :
12558 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12562 if ${LCMS2_LIBS:+false} :; then :
12563 if ${PKG_CONFIG+:} false; then :
12564 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12568 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12569 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12570 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12571 ac_save_CPPFLAGS=$CPPFLAGS
12572 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12573 for ac_header in lcms2.h
12574 do :
12575 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12576 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12577 cat >>confdefs.h <<_ACEOF
12578 #define HAVE_LCMS2_H 1
12579 _ACEOF
12583 done
12585 if test "$ac_cv_header_lcms2_h" = "yes"
12586 then
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12588 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12589 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12590 $as_echo_n "(cached) " >&6
12591 else
12592 ac_check_lib_save_LIBS=$LIBS
12593 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 /* Override any GCC internal prototype to avoid an error.
12598 Use char because int might match the return type of a GCC
12599 builtin and then its argument prototype would still apply. */
12600 #ifdef __cplusplus
12601 extern "C"
12602 #endif
12603 char cmsOpenProfileFromFile ();
12605 main ()
12607 return cmsOpenProfileFromFile ();
12609 return 0;
12611 _ACEOF
12612 if ac_fn_c_try_link "$LINENO"; then :
12613 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12614 else
12615 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12617 rm -f core conftest.err conftest.$ac_objext \
12618 conftest$ac_exeext conftest.$ac_ext
12619 LIBS=$ac_check_lib_save_LIBS
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12622 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12623 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12625 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12627 else
12628 LCMS2_LIBS=""
12631 else
12632 LCMS2_CFLAGS=""
12633 LCMS2_LIBS=""
12635 CPPFLAGS=$ac_save_CPPFLAGS
12636 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12637 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12640 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12641 case "x$with_cms" in
12642 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12643 xno) ;;
12644 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12645 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12646 esac
12650 if test "x$with_freetype" != "xno"
12651 then
12652 if ${FREETYPE_CFLAGS:+false} :; then :
12653 if ${PKG_CONFIG+:} false; then :
12654 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12657 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12658 if ${FREETYPE_LIBS:+false} :; then :
12659 if ${PKG_CONFIG+:} false; then :
12660 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12663 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12664 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12665 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12666 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12667 ac_save_CPPFLAGS=$CPPFLAGS
12668 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12669 for ac_header in ft2build.h
12670 do :
12671 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12672 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12673 cat >>confdefs.h <<_ACEOF
12674 #define HAVE_FT2BUILD_H 1
12675 _ACEOF
12679 done
12681 if test "$ac_cv_header_ft2build_h" = "yes"
12682 then
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12684 $as_echo_n "checking for -lfreetype... " >&6; }
12685 if ${ac_cv_lib_soname_freetype+:} false; then :
12686 $as_echo_n "(cached) " >&6
12687 else
12688 ac_check_soname_save_LIBS=$LIBS
12689 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12691 /* end confdefs.h. */
12693 /* Override any GCC internal prototype to avoid an error.
12694 Use char because int might match the return type of a GCC
12695 builtin and then its argument prototype would still apply. */
12696 #ifdef __cplusplus
12697 extern "C"
12698 #endif
12699 char FT_Init_FreeType ();
12701 main ()
12703 return FT_Init_FreeType ();
12705 return 0;
12707 _ACEOF
12708 if ac_fn_c_try_link "$LINENO"; then :
12709 case "$LIBEXT" in
12710 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12711 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'` ;;
12712 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12713 if ${ac_cv_lib_soname_freetype:+false} :; then :
12714 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12715 fi ;;
12716 esac
12718 rm -f core conftest.err conftest.$ac_objext \
12719 conftest$ac_exeext conftest.$ac_ext
12720 LIBS=$ac_check_soname_save_LIBS
12722 if ${ac_cv_lib_soname_freetype:+false} :; then :
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12724 $as_echo "not found" >&6; }
12725 FREETYPE_LIBS=""
12726 else
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12728 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12730 cat >>confdefs.h <<_ACEOF
12731 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12732 _ACEOF
12735 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12737 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12738 #include FT_MODULE_H
12740 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12742 cat >>confdefs.h <<_ACEOF
12743 #define HAVE_FT_TRUETYPEENGINETYPE 1
12744 _ACEOF
12750 else
12751 FREETYPE_CFLAGS=""
12752 FREETYPE_LIBS=""
12754 CPPFLAGS=$ac_save_CPPFLAGS
12755 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12756 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12759 if test "x$ac_cv_lib_soname_freetype" = x; then :
12760 case "x$with_freetype" in
12761 xno) ;;
12762 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12763 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12764 esac
12765 enable_fonts=${enable_fonts:-no}
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12769 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12770 if ${ac_cv_c_ppdev+:} false; then :
12771 $as_echo_n "(cached) " >&6
12772 else
12773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12775 #ifdef HAVE_SYS_IOCTL_H
12776 # include <sys/ioctl.h>
12777 #endif
12778 #include <linux/ppdev.h>
12780 main ()
12782 ioctl (1,PPCLAIM,0)
12784 return 0;
12786 _ACEOF
12787 if ac_fn_c_try_compile "$LINENO"; then :
12788 ac_cv_c_ppdev="yes"
12789 else
12790 ac_cv_c_ppdev="no"
12792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12795 $as_echo "$ac_cv_c_ppdev" >&6; }
12796 if test "$ac_cv_c_ppdev" = "yes"
12797 then
12799 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12803 ac_wine_check_funcs_save_LIBS="$LIBS"
12804 LIBS="$LIBS $PTHREAD_LIBS"
12805 for ac_func in \
12806 pthread_attr_get_np \
12807 pthread_getattr_np \
12808 pthread_getthreadid_np \
12809 pthread_get_stackaddr_np \
12810 pthread_get_stacksize_np
12811 do :
12812 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12813 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12814 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12815 cat >>confdefs.h <<_ACEOF
12816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12817 _ACEOF
12820 done
12822 LIBS="$ac_wine_check_funcs_save_LIBS"
12824 if test "$ac_cv_header_zlib_h" = "yes"
12825 then
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12827 $as_echo_n "checking for inflate in -lz... " >&6; }
12828 if ${ac_cv_lib_z_inflate+:} false; then :
12829 $as_echo_n "(cached) " >&6
12830 else
12831 ac_check_lib_save_LIBS=$LIBS
12832 LIBS="-lz $LIBS"
12833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12834 /* end confdefs.h. */
12836 /* Override any GCC internal prototype to avoid an error.
12837 Use char because int might match the return type of a GCC
12838 builtin and then its argument prototype would still apply. */
12839 #ifdef __cplusplus
12840 extern "C"
12841 #endif
12842 char inflate ();
12844 main ()
12846 return inflate ();
12848 return 0;
12850 _ACEOF
12851 if ac_fn_c_try_link "$LINENO"; then :
12852 ac_cv_lib_z_inflate=yes
12853 else
12854 ac_cv_lib_z_inflate=no
12856 rm -f core conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12858 LIBS=$ac_check_lib_save_LIBS
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12861 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12862 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12864 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12866 Z_LIBS="-lz"
12871 if test "x$Z_LIBS" = "x"; then :
12872 case "x$with_zlib" in
12873 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12874 xno) ;;
12875 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12876 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12877 esac
12881 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12882 then
12883 if test "$ac_cv_header_gettext_po_h" = "yes"
12884 then
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12886 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12887 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12888 $as_echo_n "(cached) " >&6
12889 else
12890 ac_check_lib_save_LIBS=$LIBS
12891 LIBS="-lgettextpo $LIBS"
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12895 /* Override any GCC internal prototype to avoid an error.
12896 Use char because int might match the return type of a GCC
12897 builtin and then its argument prototype would still apply. */
12898 #ifdef __cplusplus
12899 extern "C"
12900 #endif
12901 char po_message_msgctxt ();
12903 main ()
12905 return po_message_msgctxt ();
12907 return 0;
12909 _ACEOF
12910 if ac_fn_c_try_link "$LINENO"; then :
12911 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12912 else
12913 ac_cv_lib_gettextpo_po_message_msgctxt=no
12915 rm -f core conftest.err conftest.$ac_objext \
12916 conftest$ac_exeext conftest.$ac_ext
12917 LIBS=$ac_check_lib_save_LIBS
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12920 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12921 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12923 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12925 GETTEXTPO_LIBS="-lgettextpo"
12930 if test "x$GETTEXTPO_LIBS" = "x"; then :
12931 case "x$with_gettextpo" in
12932 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12933 xno) ;;
12934 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12935 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12936 esac
12939 if test "$srcdir" != .; then :
12940 case "x$with_gettextpo" in
12941 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12942 xno) ;;
12943 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12944 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12945 esac
12950 if test "x$with_pulse" != "xno";
12951 then
12952 if ${PULSE_CFLAGS:+false} :; then :
12953 if ${PKG_CONFIG+:} false; then :
12954 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12958 if ${PULSE_LIBS:+false} :; then :
12959 if ${PKG_CONFIG+:} false; then :
12960 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12965 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12966 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12967 ac_save_CPPFLAGS=$CPPFLAGS
12968 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12969 for ac_header in pulse/pulseaudio.h
12970 do :
12971 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12972 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12973 cat >>confdefs.h <<_ACEOF
12974 #define HAVE_PULSE_PULSEAUDIO_H 1
12975 _ACEOF
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12977 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12978 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12979 $as_echo_n "(cached) " >&6
12980 else
12981 ac_check_lib_save_LIBS=$LIBS
12982 LIBS="-lpulse $PULSE_LIBS $LIBS"
12983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12984 /* end confdefs.h. */
12986 /* Override any GCC internal prototype to avoid an error.
12987 Use char because int might match the return type of a GCC
12988 builtin and then its argument prototype would still apply. */
12989 #ifdef __cplusplus
12990 extern "C"
12991 #endif
12992 char pa_stream_is_corked ();
12994 main ()
12996 return pa_stream_is_corked ();
12998 return 0;
13000 _ACEOF
13001 if ac_fn_c_try_link "$LINENO"; then :
13002 ac_cv_lib_pulse_pa_stream_is_corked=yes
13003 else
13004 ac_cv_lib_pulse_pa_stream_is_corked=no
13006 rm -f core conftest.err conftest.$ac_objext \
13007 conftest$ac_exeext conftest.$ac_ext
13008 LIBS=$ac_check_lib_save_LIBS
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13011 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13012 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13014 else
13015 PULSE_LIBS=""
13018 else
13019 PULSE_LIBS=""
13022 done
13024 CPPFLAGS=$ac_save_CPPFLAGS
13025 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13026 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13029 if test -z "$PULSE_LIBS"; then :
13030 case "x$with_pulse" in
13031 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13032 xno) ;;
13033 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13034 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13035 esac
13036 enable_winepulse_drv=${enable_winepulse_drv:-no}
13039 if test "x$with_gstreamer" != "xno"
13040 then
13041 if ${GSTREAMER_CFLAGS:+false} :; then :
13042 if ${PKG_CONFIG+:} false; then :
13043 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13047 if ${GSTREAMER_LIBS:+false} :; then :
13048 if ${PKG_CONFIG+:} false; then :
13049 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13054 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13055 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13056 ac_save_CPPFLAGS=$CPPFLAGS
13057 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13058 ac_gst_incl=""
13059 for i in $GSTREAMER_CFLAGS
13061 case "$i" in
13062 -I*) ac_gst_incl="$ac_gst_incl $i";;
13063 esac
13064 done
13065 GSTREAMER_CFLAGS=$ac_gst_incl
13066 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13067 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13068 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13070 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13072 /* end confdefs.h. */
13073 #include <gst/gst.h>
13075 main ()
13077 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13079 return 0;
13081 _ACEOF
13082 if ac_fn_c_try_compile "$LINENO"; then :
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13084 $as_echo "yes" >&6; }
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13086 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13087 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13088 $as_echo_n "(cached) " >&6
13089 else
13090 ac_check_lib_save_LIBS=$LIBS
13091 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13093 /* end confdefs.h. */
13095 /* Override any GCC internal prototype to avoid an error.
13096 Use char because int might match the return type of a GCC
13097 builtin and then its argument prototype would still apply. */
13098 #ifdef __cplusplus
13099 extern "C"
13100 #endif
13101 char gst_pad_new ();
13103 main ()
13105 return gst_pad_new ();
13107 return 0;
13109 _ACEOF
13110 if ac_fn_c_try_link "$LINENO"; then :
13111 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13112 else
13113 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13115 rm -f core conftest.err conftest.$ac_objext \
13116 conftest$ac_exeext conftest.$ac_ext
13117 LIBS=$ac_check_lib_save_LIBS
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13120 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13121 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13125 else
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13127 $as_echo "no" >&6; }
13128 ac_glib2_broken=yes
13129 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13135 CPPFLAGS=$ac_save_CPPFLAGS
13136 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13137 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13140 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 :
13141 case "x$with_gstreamer" in
13142 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13143 xno) ;;
13144 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13145 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13146 esac
13149 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13151 ALSA_LIBS=""
13153 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13154 then
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13156 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13157 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13158 $as_echo_n "(cached) " >&6
13159 else
13160 ac_check_lib_save_LIBS=$LIBS
13161 LIBS="-lasound $LIBS"
13162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13163 /* end confdefs.h. */
13165 /* Override any GCC internal prototype to avoid an error.
13166 Use char because int might match the return type of a GCC
13167 builtin and then its argument prototype would still apply. */
13168 #ifdef __cplusplus
13169 extern "C"
13170 #endif
13171 char snd_pcm_hw_params_get_access_mask ();
13173 main ()
13175 return snd_pcm_hw_params_get_access_mask ();
13177 return 0;
13179 _ACEOF
13180 if ac_fn_c_try_link "$LINENO"; then :
13181 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13182 else
13183 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13185 rm -f core conftest.err conftest.$ac_objext \
13186 conftest$ac_exeext conftest.$ac_ext
13187 LIBS=$ac_check_lib_save_LIBS
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13190 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13191 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13193 /* end confdefs.h. */
13194 #ifdef HAVE_ALSA_ASOUNDLIB_H
13195 #include <alsa/asoundlib.h>
13196 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13197 #include <sys/asoundlib.h>
13198 #endif
13200 main ()
13202 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13204 return 0;
13206 _ACEOF
13207 if ac_fn_c_try_compile "$LINENO"; then :
13208 ALSA_LIBS="-lasound"
13210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13214 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13216 if test "x$with_oss" != xno
13217 then
13218 ac_save_CPPFLAGS="$CPPFLAGS"
13219 if test -f /etc/oss.conf
13220 then
13221 . /etc/oss.conf
13223 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13224 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13225 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13226 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13227 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13229 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13231 cat >>confdefs.h <<_ACEOF
13232 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13233 _ACEOF
13235 OSS4_CFLAGS="$ac_oss_incl"
13242 CPPFLAGS="$ac_save_CPPFLAGS"
13244 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13245 case "x$with_oss" in
13246 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13247 xno) ;;
13248 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13249 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13250 esac
13251 enable_wineoss_drv=${enable_wineoss_drv:-no}
13254 if test "x$with_udev" != "xno"
13255 then
13256 if ${UDEV_CFLAGS:+false} :; then :
13257 if ${PKG_CONFIG+:} false; then :
13258 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13262 if ${UDEV_LIBS:+false} :; then :
13263 if ${PKG_CONFIG+:} false; then :
13264 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13268 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13269 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13270 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13271 ac_save_CPPFLAGS=$CPPFLAGS
13272 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13273 for ac_header in libudev.h
13274 do :
13275 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13276 if test "x$ac_cv_header_libudev_h" = xyes; then :
13277 cat >>confdefs.h <<_ACEOF
13278 #define HAVE_LIBUDEV_H 1
13279 _ACEOF
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13281 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13282 if ${ac_cv_lib_udev_udev_new+:} false; then :
13283 $as_echo_n "(cached) " >&6
13284 else
13285 ac_check_lib_save_LIBS=$LIBS
13286 LIBS="-ludev $UDEV_LIBS $LIBS"
13287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13288 /* end confdefs.h. */
13290 /* Override any GCC internal prototype to avoid an error.
13291 Use char because int might match the return type of a GCC
13292 builtin and then its argument prototype would still apply. */
13293 #ifdef __cplusplus
13294 extern "C"
13295 #endif
13296 char udev_new ();
13298 main ()
13300 return udev_new ();
13302 return 0;
13304 _ACEOF
13305 if ac_fn_c_try_link "$LINENO"; then :
13306 ac_cv_lib_udev_udev_new=yes
13307 else
13308 ac_cv_lib_udev_udev_new=no
13310 rm -f core conftest.err conftest.$ac_objext \
13311 conftest$ac_exeext conftest.$ac_ext
13312 LIBS=$ac_check_lib_save_LIBS
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13315 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13316 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13318 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13320 else
13321 UDEV_LIBS=""
13324 else
13325 UDEV_LIBS=""
13328 done
13330 CPPFLAGS=$ac_save_CPPFLAGS
13331 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13332 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13335 if test "x$UDEV_LIBS" = "x"; then :
13336 case "x$with_udev" in
13337 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13338 xno) ;;
13339 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13340 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13341 esac
13345 if test "x$with_capi" != "xno"
13346 then
13347 if ${CAPI20_CFLAGS:+false} :; then :
13348 if ${PKG_CONFIG+:} false; then :
13349 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13353 if ${CAPI20_LIBS:+false} :; then :
13354 if ${PKG_CONFIG+:} false; then :
13355 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13360 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13361 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13362 ac_save_CPPFLAGS=$CPPFLAGS
13363 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13364 for ac_header in capi20.h linux/capi.h
13365 do :
13366 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13367 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13369 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13370 cat >>confdefs.h <<_ACEOF
13371 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13372 _ACEOF
13376 done
13378 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13379 then
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13381 $as_echo_n "checking for -lcapi20... " >&6; }
13382 if ${ac_cv_lib_soname_capi20+:} false; then :
13383 $as_echo_n "(cached) " >&6
13384 else
13385 ac_check_soname_save_LIBS=$LIBS
13386 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13388 /* end confdefs.h. */
13390 /* Override any GCC internal prototype to avoid an error.
13391 Use char because int might match the return type of a GCC
13392 builtin and then its argument prototype would still apply. */
13393 #ifdef __cplusplus
13394 extern "C"
13395 #endif
13396 char capi20_register ();
13398 main ()
13400 return capi20_register ();
13402 return 0;
13404 _ACEOF
13405 if ac_fn_c_try_link "$LINENO"; then :
13406 case "$LIBEXT" in
13407 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13408 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'` ;;
13409 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13410 if ${ac_cv_lib_soname_capi20:+false} :; then :
13411 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13412 fi ;;
13413 esac
13415 rm -f core conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LIBS=$ac_check_soname_save_LIBS
13419 if ${ac_cv_lib_soname_capi20:+false} :; then :
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13421 $as_echo "not found" >&6; }
13423 else
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13425 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13427 cat >>confdefs.h <<_ACEOF
13428 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13429 _ACEOF
13434 CPPFLAGS=$ac_save_CPPFLAGS
13435 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13436 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13439 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13440 case "x$with_capi" in
13441 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13442 xno) ;;
13443 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13444 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13445 esac
13449 CUPS_CFLAGS=""
13451 if test "x$with_cups" != "xno"
13452 then
13453 ac_save_CPPFLAGS="$CPPFLAGS"
13454 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13455 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13456 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13457 for ac_header in cups/cups.h
13458 do :
13459 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13460 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13461 cat >>confdefs.h <<_ACEOF
13462 #define HAVE_CUPS_CUPS_H 1
13463 _ACEOF
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13465 $as_echo_n "checking for -lcups... " >&6; }
13466 if ${ac_cv_lib_soname_cups+:} false; then :
13467 $as_echo_n "(cached) " >&6
13468 else
13469 ac_check_soname_save_LIBS=$LIBS
13470 LIBS="-lcups $ac_cups_libs $LIBS"
13471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13472 /* end confdefs.h. */
13474 /* Override any GCC internal prototype to avoid an error.
13475 Use char because int might match the return type of a GCC
13476 builtin and then its argument prototype would still apply. */
13477 #ifdef __cplusplus
13478 extern "C"
13479 #endif
13480 char cupsGetDefault ();
13482 main ()
13484 return cupsGetDefault ();
13486 return 0;
13488 _ACEOF
13489 if ac_fn_c_try_link "$LINENO"; then :
13490 case "$LIBEXT" in
13491 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13492 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'` ;;
13493 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13494 if ${ac_cv_lib_soname_cups:+false} :; then :
13495 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13496 fi ;;
13497 esac
13499 rm -f core conftest.err conftest.$ac_objext \
13500 conftest$ac_exeext conftest.$ac_ext
13501 LIBS=$ac_check_soname_save_LIBS
13503 if ${ac_cv_lib_soname_cups:+false} :; then :
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13505 $as_echo "not found" >&6; }
13507 else
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13509 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13511 cat >>confdefs.h <<_ACEOF
13512 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13513 _ACEOF
13515 CUPS_CFLAGS="$ac_cups_cflags"
13517 for ac_header in cups/ppd.h
13518 do :
13519 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13520 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13521 cat >>confdefs.h <<_ACEOF
13522 #define HAVE_CUPS_PPD_H 1
13523 _ACEOF
13527 done
13531 done
13533 CPPFLAGS="$ac_save_CPPFLAGS"
13535 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13536 case "x$with_cups" in
13537 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13538 xno) ;;
13539 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13540 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13541 esac
13545 if test "x$with_fontconfig" != "xno"
13546 then
13547 if ${FONTCONFIG_CFLAGS:+false} :; then :
13548 if ${PKG_CONFIG+:} false; then :
13549 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13552 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13553 if ${FONTCONFIG_LIBS:+false} :; then :
13554 if ${PKG_CONFIG+:} false; then :
13555 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13558 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13560 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13561 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13562 ac_save_CPPFLAGS=$CPPFLAGS
13563 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13564 for ac_header in fontconfig/fontconfig.h
13565 do :
13566 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13567 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13568 cat >>confdefs.h <<_ACEOF
13569 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13570 _ACEOF
13574 done
13576 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13577 then
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13579 $as_echo_n "checking for -lfontconfig... " >&6; }
13580 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13581 $as_echo_n "(cached) " >&6
13582 else
13583 ac_check_soname_save_LIBS=$LIBS
13584 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13586 /* end confdefs.h. */
13588 /* Override any GCC internal prototype to avoid an error.
13589 Use char because int might match the return type of a GCC
13590 builtin and then its argument prototype would still apply. */
13591 #ifdef __cplusplus
13592 extern "C"
13593 #endif
13594 char FcInit ();
13596 main ()
13598 return FcInit ();
13600 return 0;
13602 _ACEOF
13603 if ac_fn_c_try_link "$LINENO"; then :
13604 case "$LIBEXT" in
13605 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13606 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'` ;;
13607 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13608 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13609 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13610 fi ;;
13611 esac
13613 rm -f core conftest.err conftest.$ac_objext \
13614 conftest$ac_exeext conftest.$ac_ext
13615 LIBS=$ac_check_soname_save_LIBS
13617 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13619 $as_echo "not found" >&6; }
13620 FONTCONFIG_CFLAGS=""
13621 else
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13623 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13625 cat >>confdefs.h <<_ACEOF
13626 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13627 _ACEOF
13631 else
13632 FONTCONFIG_CFLAGS=""
13634 CPPFLAGS=$ac_save_CPPFLAGS
13635 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13636 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13639 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13640 case "x$with_fontconfig" in
13641 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13642 xno) ;;
13643 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13644 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13645 esac
13649 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13650 then
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13652 $as_echo_n "checking for -lgsm... " >&6; }
13653 if ${ac_cv_lib_soname_gsm+:} false; then :
13654 $as_echo_n "(cached) " >&6
13655 else
13656 ac_check_soname_save_LIBS=$LIBS
13657 LIBS="-lgsm $LIBS"
13658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13659 /* end confdefs.h. */
13661 /* Override any GCC internal prototype to avoid an error.
13662 Use char because int might match the return type of a GCC
13663 builtin and then its argument prototype would still apply. */
13664 #ifdef __cplusplus
13665 extern "C"
13666 #endif
13667 char gsm_create ();
13669 main ()
13671 return gsm_create ();
13673 return 0;
13675 _ACEOF
13676 if ac_fn_c_try_link "$LINENO"; then :
13677 case "$LIBEXT" in
13678 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13679 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'` ;;
13680 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13681 if ${ac_cv_lib_soname_gsm:+false} :; then :
13682 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13683 fi ;;
13684 esac
13686 rm -f core conftest.err conftest.$ac_objext \
13687 conftest$ac_exeext conftest.$ac_ext
13688 LIBS=$ac_check_soname_save_LIBS
13690 if ${ac_cv_lib_soname_gsm:+false} :; then :
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13692 $as_echo "not found" >&6; }
13694 else
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13696 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13698 cat >>confdefs.h <<_ACEOF
13699 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13700 _ACEOF
13705 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13706 case "x$with_gsm" in
13707 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13708 xno) ;;
13709 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13710 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13711 esac
13715 if test "x$with_jpeg" != "xno"
13716 then
13717 if ${JPEG_CFLAGS:+false} :; then :
13718 if ${PKG_CONFIG+:} false; then :
13719 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13723 if ${JPEG_LIBS:+false} :; then :
13724 if ${PKG_CONFIG+:} false; then :
13725 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13730 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13731 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13732 ac_save_CPPFLAGS=$CPPFLAGS
13733 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13734 for ac_header in jpeglib.h
13735 do :
13736 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13737 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13738 cat >>confdefs.h <<_ACEOF
13739 #define HAVE_JPEGLIB_H 1
13740 _ACEOF
13744 done
13746 if test "$ac_cv_header_jpeglib_h" = "yes"
13747 then
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13749 $as_echo_n "checking for -ljpeg... " >&6; }
13750 if ${ac_cv_lib_soname_jpeg+:} false; then :
13751 $as_echo_n "(cached) " >&6
13752 else
13753 ac_check_soname_save_LIBS=$LIBS
13754 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13758 /* Override any GCC internal prototype to avoid an error.
13759 Use char because int might match the return type of a GCC
13760 builtin and then its argument prototype would still apply. */
13761 #ifdef __cplusplus
13762 extern "C"
13763 #endif
13764 char jpeg_start_decompress ();
13766 main ()
13768 return jpeg_start_decompress ();
13770 return 0;
13772 _ACEOF
13773 if ac_fn_c_try_link "$LINENO"; then :
13774 case "$LIBEXT" in
13775 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13776 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'` ;;
13777 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13778 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13779 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13780 fi ;;
13781 esac
13783 rm -f core conftest.err conftest.$ac_objext \
13784 conftest$ac_exeext conftest.$ac_ext
13785 LIBS=$ac_check_soname_save_LIBS
13787 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13789 $as_echo "not found" >&6; }
13790 JPEG_CFLAGS=""
13791 else
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13793 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13795 cat >>confdefs.h <<_ACEOF
13796 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13797 _ACEOF
13801 else
13802 JPEG_CFLAGS=""
13804 CPPFLAGS=$ac_save_CPPFLAGS
13805 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13806 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13809 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13810 case "x$with_jpeg" in
13811 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13812 xno) ;;
13813 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13814 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13815 esac
13819 if test "x$with_png" != "xno"
13820 then
13821 if ${PNG_CFLAGS:+false} :; then :
13822 if ${PKG_CONFIG+:} false; then :
13823 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13826 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13827 if ${PNG_LIBS:+false} :; then :
13828 if ${PKG_CONFIG+:} false; then :
13829 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13832 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13834 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13835 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13836 ac_save_CPPFLAGS=$CPPFLAGS
13837 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13838 for ac_header in png.h
13839 do :
13840 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13841 if test "x$ac_cv_header_png_h" = xyes; then :
13842 cat >>confdefs.h <<_ACEOF
13843 #define HAVE_PNG_H 1
13844 _ACEOF
13848 done
13850 if test "$ac_cv_header_png_h" = "yes"
13851 then
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13853 $as_echo_n "checking for -lpng... " >&6; }
13854 if ${ac_cv_lib_soname_png+:} false; then :
13855 $as_echo_n "(cached) " >&6
13856 else
13857 ac_check_soname_save_LIBS=$LIBS
13858 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13860 /* end confdefs.h. */
13862 /* Override any GCC internal prototype to avoid an error.
13863 Use char because int might match the return type of a GCC
13864 builtin and then its argument prototype would still apply. */
13865 #ifdef __cplusplus
13866 extern "C"
13867 #endif
13868 char png_create_read_struct ();
13870 main ()
13872 return png_create_read_struct ();
13874 return 0;
13876 _ACEOF
13877 if ac_fn_c_try_link "$LINENO"; then :
13878 case "$LIBEXT" in
13879 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13880 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'` ;;
13881 *) 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'`
13882 if ${ac_cv_lib_soname_png:+false} :; then :
13883 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13884 fi ;;
13885 esac
13887 rm -f core conftest.err conftest.$ac_objext \
13888 conftest$ac_exeext conftest.$ac_ext
13889 LIBS=$ac_check_soname_save_LIBS
13891 if ${ac_cv_lib_soname_png:+false} :; then :
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13893 $as_echo "not found" >&6; }
13894 PNG_CFLAGS=""
13895 else
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13897 $as_echo "$ac_cv_lib_soname_png" >&6; }
13899 cat >>confdefs.h <<_ACEOF
13900 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13901 _ACEOF
13905 else
13906 PNG_CFLAGS=""
13908 CPPFLAGS=$ac_save_CPPFLAGS
13909 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13910 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13913 if test "x$ac_cv_lib_soname_png" = "x"; then :
13914 case "x$with_png" in
13915 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13916 xno) ;;
13917 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13918 This is an error since --with-png was requested." "$LINENO" 5 ;;
13919 esac
13923 if test "x$with_tiff" != "xno"
13924 then
13925 if ${TIFF_CFLAGS:+false} :; then :
13926 if ${PKG_CONFIG+:} false; then :
13927 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13931 if ${TIFF_LIBS:+false} :; then :
13932 if ${PKG_CONFIG+:} false; then :
13933 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13938 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13939 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13940 ac_save_CPPFLAGS=$CPPFLAGS
13941 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13942 for ac_header in tiffio.h
13943 do :
13944 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13945 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13946 cat >>confdefs.h <<_ACEOF
13947 #define HAVE_TIFFIO_H 1
13948 _ACEOF
13952 done
13954 if test "$ac_cv_header_tiffio_h" = "yes"
13955 then
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13957 $as_echo_n "checking for -ltiff... " >&6; }
13958 if ${ac_cv_lib_soname_tiff+:} false; then :
13959 $as_echo_n "(cached) " >&6
13960 else
13961 ac_check_soname_save_LIBS=$LIBS
13962 LIBS="-ltiff $TIFF_LIBS $LIBS"
13963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13964 /* end confdefs.h. */
13966 /* Override any GCC internal prototype to avoid an error.
13967 Use char because int might match the return type of a GCC
13968 builtin and then its argument prototype would still apply. */
13969 #ifdef __cplusplus
13970 extern "C"
13971 #endif
13972 char TIFFClientOpen ();
13974 main ()
13976 return TIFFClientOpen ();
13978 return 0;
13980 _ACEOF
13981 if ac_fn_c_try_link "$LINENO"; then :
13982 case "$LIBEXT" in
13983 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13984 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'` ;;
13985 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13986 if ${ac_cv_lib_soname_tiff:+false} :; then :
13987 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13988 fi ;;
13989 esac
13991 rm -f core conftest.err conftest.$ac_objext \
13992 conftest$ac_exeext conftest.$ac_ext
13993 LIBS=$ac_check_soname_save_LIBS
13995 if ${ac_cv_lib_soname_tiff:+false} :; then :
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13997 $as_echo "not found" >&6; }
13999 else
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14001 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14003 cat >>confdefs.h <<_ACEOF
14004 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14005 _ACEOF
14010 CPPFLAGS=$ac_save_CPPFLAGS
14011 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14012 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14015 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14016 case "x$with_tiff" in
14017 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14018 xno) ;;
14019 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14020 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14021 esac
14025 if test "x$with_mpg123" != "xno"
14026 then
14027 if ${MPG123_CFLAGS:+false} :; then :
14028 if ${PKG_CONFIG+:} false; then :
14029 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14033 if ${MPG123_LIBS:+false} :; then :
14034 if ${PKG_CONFIG+:} false; then :
14035 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14039 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14040 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14041 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14042 ac_save_CPPFLAGS=$CPPFLAGS
14043 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14044 for ac_header in mpg123.h
14045 do :
14046 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14047 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14048 cat >>confdefs.h <<_ACEOF
14049 #define HAVE_MPG123_H 1
14050 _ACEOF
14054 done
14056 if test "$ac_cv_header_mpg123_h" = "yes"
14057 then
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14059 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14060 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14061 $as_echo_n "(cached) " >&6
14062 else
14063 ac_check_lib_save_LIBS=$LIBS
14064 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14066 /* end confdefs.h. */
14068 /* Override any GCC internal prototype to avoid an error.
14069 Use char because int might match the return type of a GCC
14070 builtin and then its argument prototype would still apply. */
14071 #ifdef __cplusplus
14072 extern "C"
14073 #endif
14074 char mpg123_feed ();
14076 main ()
14078 return mpg123_feed ();
14080 return 0;
14082 _ACEOF
14083 if ac_fn_c_try_link "$LINENO"; then :
14084 ac_cv_lib_mpg123_mpg123_feed=yes
14085 else
14086 ac_cv_lib_mpg123_mpg123_feed=no
14088 rm -f core conftest.err conftest.$ac_objext \
14089 conftest$ac_exeext conftest.$ac_ext
14090 LIBS=$ac_check_lib_save_LIBS
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14093 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14094 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14096 else
14097 MPG123_LIBS=""
14100 else
14101 MPG123_CFLAGS=""
14102 MPG123_LIBS=""
14104 CPPFLAGS=$ac_save_CPPFLAGS
14105 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14106 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14109 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14110 case "x$with_mpg123" in
14111 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14112 xno) ;;
14113 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14114 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14115 esac
14116 enable_winemp3_acm=${enable_winemp3_acm:-no}
14119 if test "$ac_cv_header_AL_al_h" = "yes"
14120 then
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14122 $as_echo_n "checking for -lopenal... " >&6; }
14123 if ${ac_cv_lib_soname_openal+:} false; then :
14124 $as_echo_n "(cached) " >&6
14125 else
14126 ac_check_soname_save_LIBS=$LIBS
14127 LIBS="-lopenal $LIBS"
14128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14131 /* Override any GCC internal prototype to avoid an error.
14132 Use char because int might match the return type of a GCC
14133 builtin and then its argument prototype would still apply. */
14134 #ifdef __cplusplus
14135 extern "C"
14136 #endif
14137 char alGetSource3i ();
14139 main ()
14141 return alGetSource3i ();
14143 return 0;
14145 _ACEOF
14146 if ac_fn_c_try_link "$LINENO"; then :
14147 case "$LIBEXT" in
14148 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14149 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'` ;;
14150 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14151 if ${ac_cv_lib_soname_openal:+false} :; then :
14152 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14153 fi ;;
14154 esac
14156 rm -f core conftest.err conftest.$ac_objext \
14157 conftest$ac_exeext conftest.$ac_ext
14158 LIBS=$ac_check_soname_save_LIBS
14160 if ${ac_cv_lib_soname_openal:+false} :; then :
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14162 $as_echo "not found" >&6; }
14164 else
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14166 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14168 cat >>confdefs.h <<_ACEOF
14169 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14170 _ACEOF
14172 OPENAL_LIBS="-lopenal"
14174 ac_cv_lib_openal=yes
14176 cat >>confdefs.h <<_ACEOF
14177 #define HAVE_OPENAL 1
14178 _ACEOF
14182 if test "x$ac_cv_lib_openal" != xyes; then :
14183 case "x$with_openal" in
14184 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14185 xno) ;;
14186 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14187 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14188 esac
14189 enable_openal32=${enable_openal32:-no}
14192 if test "x$ac_cv_lib_openal" = xyes
14193 then
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14195 $as_echo_n "checking for openal-soft... " >&6; }
14196 if ${ac_cv_have_openalsoft+:} false; then :
14197 $as_echo_n "(cached) " >&6
14198 else
14199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14200 /* end confdefs.h. */
14201 #include <AL/al.h>
14202 #include <AL/alc.h>
14203 #include <AL/alext.h>
14204 LPALCRENDERSAMPLESSOFT x;
14206 main ()
14210 return 0;
14212 _ACEOF
14213 if ac_fn_c_try_compile "$LINENO"; then :
14214 ac_cv_have_openalsoft=yes
14215 else
14216 ac_cv_have_openalsoft=no
14218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14221 $as_echo "$ac_cv_have_openalsoft" >&6; }
14223 if test "x$ac_cv_have_openalsoft" != xyes
14224 then
14225 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14226 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14227 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14228 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14229 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14230 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14231 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14232 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14233 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14234 enable_xapofx1_1=${enable_xapofx1_1:-no}
14235 enable_xapofx1_2=${enable_xapofx1_2:-no}
14236 enable_xapofx1_3=${enable_xapofx1_3:-no}
14237 enable_xapofx1_4=${enable_xapofx1_4:-no}
14238 enable_xapofx1_5=${enable_xapofx1_5:-no}
14239 enable_xaudio2_0=${enable_xaudio2_0:-no}
14240 enable_xaudio2_1=${enable_xaudio2_1:-no}
14241 enable_xaudio2_2=${enable_xaudio2_2:-no}
14242 enable_xaudio2_3=${enable_xaudio2_3:-no}
14243 enable_xaudio2_4=${enable_xaudio2_4:-no}
14244 enable_xaudio2_5=${enable_xaudio2_5:-no}
14245 enable_xaudio2_6=${enable_xaudio2_6:-no}
14246 enable_xaudio2_7=${enable_xaudio2_7:-no}
14247 enable_xaudio2_8=${enable_xaudio2_8:-no}
14248 enable_xaudio2_9=${enable_xaudio2_9:-no}
14251 if test "$ac_cv_header_kstat_h" = "yes"
14252 then
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14254 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14255 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14256 $as_echo_n "(cached) " >&6
14257 else
14258 ac_check_lib_save_LIBS=$LIBS
14259 LIBS="-lkstat $LIBS"
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14263 /* Override any GCC internal prototype to avoid an error.
14264 Use char because int might match the return type of a GCC
14265 builtin and then its argument prototype would still apply. */
14266 #ifdef __cplusplus
14267 extern "C"
14268 #endif
14269 char kstat_open ();
14271 main ()
14273 return kstat_open ();
14275 return 0;
14277 _ACEOF
14278 if ac_fn_c_try_link "$LINENO"; then :
14279 ac_cv_lib_kstat_kstat_open=yes
14280 else
14281 ac_cv_lib_kstat_kstat_open=no
14283 rm -f core conftest.err conftest.$ac_objext \
14284 conftest$ac_exeext conftest.$ac_ext
14285 LIBS=$ac_check_lib_save_LIBS
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14288 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14289 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14291 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14293 KSTAT_LIBS="-lkstat"
14299 if test "$ac_cv_header_libprocstat_h" = "yes"
14300 then
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14302 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14303 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14304 $as_echo_n "(cached) " >&6
14305 else
14306 ac_check_lib_save_LIBS=$LIBS
14307 LIBS="-lprocstat $LIBS"
14308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14311 /* Override any GCC internal prototype to avoid an error.
14312 Use char because int might match the return type of a GCC
14313 builtin and then its argument prototype would still apply. */
14314 #ifdef __cplusplus
14315 extern "C"
14316 #endif
14317 char procstat_open_sysctl ();
14319 main ()
14321 return procstat_open_sysctl ();
14323 return 0;
14325 _ACEOF
14326 if ac_fn_c_try_link "$LINENO"; then :
14327 ac_cv_lib_procstat_procstat_open_sysctl=yes
14328 else
14329 ac_cv_lib_procstat_procstat_open_sysctl=no
14331 rm -f core conftest.err conftest.$ac_objext \
14332 conftest$ac_exeext conftest.$ac_ext
14333 LIBS=$ac_check_lib_save_LIBS
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14336 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14337 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14339 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14341 PROCSTAT_LIBS="-lprocstat"
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14348 $as_echo_n "checking for -lodbc... " >&6; }
14349 if ${ac_cv_lib_soname_odbc+:} false; then :
14350 $as_echo_n "(cached) " >&6
14351 else
14352 ac_check_soname_save_LIBS=$LIBS
14353 LIBS="-lodbc $LIBS"
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14357 /* Override any GCC internal prototype to avoid an error.
14358 Use char because int might match the return type of a GCC
14359 builtin and then its argument prototype would still apply. */
14360 #ifdef __cplusplus
14361 extern "C"
14362 #endif
14363 char SQLConnect ();
14365 main ()
14367 return SQLConnect ();
14369 return 0;
14371 _ACEOF
14372 if ac_fn_c_try_link "$LINENO"; then :
14373 case "$LIBEXT" in
14374 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14375 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'` ;;
14376 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14377 if ${ac_cv_lib_soname_odbc:+false} :; then :
14378 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14379 fi ;;
14380 esac
14382 rm -f core conftest.err conftest.$ac_objext \
14383 conftest$ac_exeext conftest.$ac_ext
14384 LIBS=$ac_check_soname_save_LIBS
14386 if ${ac_cv_lib_soname_odbc:+false} :; then :
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14388 $as_echo "not found" >&6; }
14389 cat >>confdefs.h <<_ACEOF
14390 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14391 _ACEOF
14393 else
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14395 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14397 cat >>confdefs.h <<_ACEOF
14398 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14399 _ACEOF
14404 if test "x$with_netapi" != "xno"
14405 then
14406 if ${NETAPI_CFLAGS:+false} :; then :
14407 if ${PKG_CONFIG+:} false; then :
14408 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14412 if ${NETAPI_LIBS:+false} :; then :
14413 if ${PKG_CONFIG+:} false; then :
14414 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14419 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14420 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14421 ac_save_CPPFLAGS=$CPPFLAGS
14422 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14424 $as_echo_n "checking for -lnetapi... " >&6; }
14425 if ${ac_cv_lib_soname_netapi+:} false; then :
14426 $as_echo_n "(cached) " >&6
14427 else
14428 ac_check_soname_save_LIBS=$LIBS
14429 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14431 /* end confdefs.h. */
14433 /* Override any GCC internal prototype to avoid an error.
14434 Use char because int might match the return type of a GCC
14435 builtin and then its argument prototype would still apply. */
14436 #ifdef __cplusplus
14437 extern "C"
14438 #endif
14439 char libnetapi_init ();
14441 main ()
14443 return libnetapi_init ();
14445 return 0;
14447 _ACEOF
14448 if ac_fn_c_try_link "$LINENO"; then :
14449 case "$LIBEXT" in
14450 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14451 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'` ;;
14452 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14453 if ${ac_cv_lib_soname_netapi:+false} :; then :
14454 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14455 fi ;;
14456 esac
14458 rm -f core conftest.err conftest.$ac_objext \
14459 conftest$ac_exeext conftest.$ac_ext
14460 LIBS=$ac_check_soname_save_LIBS
14462 if ${ac_cv_lib_soname_netapi:+false} :; then :
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14464 $as_echo "not found" >&6; }
14465 cat >>confdefs.h <<_ACEOF
14466 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14467 _ACEOF
14469 else
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14471 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14473 cat >>confdefs.h <<_ACEOF
14474 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14475 _ACEOF
14479 CPPFLAGS=$ac_save_CPPFLAGS
14480 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14481 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14485 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14486 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14487 then
14488 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14492 EXTRACFLAGS=""
14494 if test "x${GCC}" = "xyes"
14495 then
14496 EXTRACFLAGS="-Wall -pipe"
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14499 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14500 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14501 $as_echo_n "(cached) " >&6
14502 else
14503 if test "$cross_compiling" = yes; then :
14504 ac_cv_c_gcc_strength_bug="no"
14505 else
14506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14507 /* end confdefs.h. */
14508 int L[4] = {0,1,2,3};
14510 main ()
14512 static int Array[3];
14513 unsigned int B = 3;
14514 int i;
14515 for(i=0; i<B; i++) Array[i] = i - 3;
14516 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14517 L[i] = 4;
14518 return (Array[1] != -2 || L[2] != 3)
14520 return 0;
14522 _ACEOF
14523 if ac_fn_c_try_run "$LINENO"; then :
14524 ac_cv_c_gcc_strength_bug="no"
14525 else
14526 ac_cv_c_gcc_strength_bug="yes"
14528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14529 conftest.$ac_objext conftest.beam conftest.$ac_ext
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14534 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14535 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14536 then
14537 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14541 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14542 if ${ac_cv_cflags__fno_builtin+:} false; then :
14543 $as_echo_n "(cached) " >&6
14544 else
14545 ac_wine_try_cflags_saved=$CFLAGS
14546 CFLAGS="$CFLAGS -fno-builtin"
14547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14548 /* end confdefs.h. */
14549 int main(int argc, char **argv) { return 0; }
14550 _ACEOF
14551 if ac_fn_c_try_link "$LINENO"; then :
14552 ac_cv_cflags__fno_builtin=yes
14553 else
14554 ac_cv_cflags__fno_builtin=no
14556 rm -f core conftest.err conftest.$ac_objext \
14557 conftest$ac_exeext conftest.$ac_ext
14558 CFLAGS=$ac_wine_try_cflags_saved
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14561 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14562 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14563 BUILTINFLAG="-fno-builtin"
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14567 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14568 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14569 $as_echo_n "(cached) " >&6
14570 else
14571 ac_wine_try_cflags_saved=$CFLAGS
14572 CFLAGS="$CFLAGS -fno-strict-aliasing"
14573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14575 int main(int argc, char **argv) { return 0; }
14576 _ACEOF
14577 if ac_fn_c_try_link "$LINENO"; then :
14578 ac_cv_cflags__fno_strict_aliasing=yes
14579 else
14580 ac_cv_cflags__fno_strict_aliasing=no
14582 rm -f core conftest.err conftest.$ac_objext \
14583 conftest$ac_exeext conftest.$ac_ext
14584 CFLAGS=$ac_wine_try_cflags_saved
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14587 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14588 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14589 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14592 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14593 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14594 $as_echo_n "(cached) " >&6
14595 else
14596 ac_wine_try_cflags_saved=$CFLAGS
14597 CFLAGS="$CFLAGS -fexcess-precision=standard"
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14600 int main(int argc, char **argv) { return 0; }
14601 _ACEOF
14602 if ac_fn_c_try_link "$LINENO"; then :
14603 ac_cv_cflags__fexcess_precision_standard=yes
14604 else
14605 ac_cv_cflags__fexcess_precision_standard=no
14607 rm -f core conftest.err conftest.$ac_objext \
14608 conftest$ac_exeext conftest.$ac_ext
14609 CFLAGS=$ac_wine_try_cflags_saved
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14612 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14613 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14614 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14617 saved_CFLAGS=$CFLAGS
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14619 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14620 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14621 $as_echo_n "(cached) " >&6
14622 else
14623 ac_wine_try_cflags_saved=$CFLAGS
14624 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14627 int main(int argc, char **argv) { return 0; }
14628 _ACEOF
14629 if ac_fn_c_try_link "$LINENO"; then :
14630 ac_cv_cflags__Werror_unknown_warning_option=yes
14631 else
14632 ac_cv_cflags__Werror_unknown_warning_option=no
14634 rm -f core conftest.err conftest.$ac_objext \
14635 conftest$ac_exeext conftest.$ac_ext
14636 CFLAGS=$ac_wine_try_cflags_saved
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14639 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14640 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14641 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14644 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14645 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14646 $as_echo_n "(cached) " >&6
14647 else
14648 ac_wine_try_cflags_saved=$CFLAGS
14649 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14651 /* end confdefs.h. */
14652 int main(int argc, char **argv) { return 0; }
14653 _ACEOF
14654 if ac_fn_c_try_link "$LINENO"; then :
14655 ac_cv_cflags__Wdeclaration_after_statement=yes
14656 else
14657 ac_cv_cflags__Wdeclaration_after_statement=no
14659 rm -f core conftest.err conftest.$ac_objext \
14660 conftest$ac_exeext conftest.$ac_ext
14661 CFLAGS=$ac_wine_try_cflags_saved
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14664 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14665 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14666 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14669 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14670 if ${ac_cv_cflags__Wempty_body+:} false; then :
14671 $as_echo_n "(cached) " >&6
14672 else
14673 ac_wine_try_cflags_saved=$CFLAGS
14674 CFLAGS="$CFLAGS -Wempty-body"
14675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14676 /* end confdefs.h. */
14677 int main(int argc, char **argv) { return 0; }
14678 _ACEOF
14679 if ac_fn_c_try_link "$LINENO"; then :
14680 ac_cv_cflags__Wempty_body=yes
14681 else
14682 ac_cv_cflags__Wempty_body=no
14684 rm -f core conftest.err conftest.$ac_objext \
14685 conftest$ac_exeext conftest.$ac_ext
14686 CFLAGS=$ac_wine_try_cflags_saved
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14689 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14690 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14691 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14694 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14695 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14696 $as_echo_n "(cached) " >&6
14697 else
14698 ac_wine_try_cflags_saved=$CFLAGS
14699 CFLAGS="$CFLAGS -Wignored-qualifiers"
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14702 int main(int argc, char **argv) { return 0; }
14703 _ACEOF
14704 if ac_fn_c_try_link "$LINENO"; then :
14705 ac_cv_cflags__Wignored_qualifiers=yes
14706 else
14707 ac_cv_cflags__Wignored_qualifiers=no
14709 rm -f core conftest.err conftest.$ac_objext \
14710 conftest$ac_exeext conftest.$ac_ext
14711 CFLAGS=$ac_wine_try_cflags_saved
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14714 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14715 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14716 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14719 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14720 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14721 $as_echo_n "(cached) " >&6
14722 else
14723 ac_wine_try_cflags_saved=$CFLAGS
14724 CFLAGS="$CFLAGS -Wshift-overflow=2"
14725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14726 /* end confdefs.h. */
14727 int main(int argc, char **argv) { return 0; }
14728 _ACEOF
14729 if ac_fn_c_try_link "$LINENO"; then :
14730 ac_cv_cflags__Wshift_overflow_2=yes
14731 else
14732 ac_cv_cflags__Wshift_overflow_2=no
14734 rm -f core conftest.err conftest.$ac_objext \
14735 conftest$ac_exeext conftest.$ac_ext
14736 CFLAGS=$ac_wine_try_cflags_saved
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14739 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14740 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14741 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14744 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14745 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14746 $as_echo_n "(cached) " >&6
14747 else
14748 ac_wine_try_cflags_saved=$CFLAGS
14749 CFLAGS="$CFLAGS -Wstrict-prototypes"
14750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14752 int main(int argc, char **argv) { return 0; }
14753 _ACEOF
14754 if ac_fn_c_try_link "$LINENO"; then :
14755 ac_cv_cflags__Wstrict_prototypes=yes
14756 else
14757 ac_cv_cflags__Wstrict_prototypes=no
14759 rm -f core conftest.err conftest.$ac_objext \
14760 conftest$ac_exeext conftest.$ac_ext
14761 CFLAGS=$ac_wine_try_cflags_saved
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14764 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14765 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14766 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14769 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14770 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14771 $as_echo_n "(cached) " >&6
14772 else
14773 ac_wine_try_cflags_saved=$CFLAGS
14774 CFLAGS="$CFLAGS -Wtype-limits"
14775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14776 /* end confdefs.h. */
14777 int main(int argc, char **argv) { return 0; }
14778 _ACEOF
14779 if ac_fn_c_try_link "$LINENO"; then :
14780 ac_cv_cflags__Wtype_limits=yes
14781 else
14782 ac_cv_cflags__Wtype_limits=no
14784 rm -f core conftest.err conftest.$ac_objext \
14785 conftest$ac_exeext conftest.$ac_ext
14786 CFLAGS=$ac_wine_try_cflags_saved
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14789 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14790 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14791 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14794 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14795 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14796 $as_echo_n "(cached) " >&6
14797 else
14798 ac_wine_try_cflags_saved=$CFLAGS
14799 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h. */
14802 int main(int argc, char **argv) { return 0; }
14803 _ACEOF
14804 if ac_fn_c_try_link "$LINENO"; then :
14805 ac_cv_cflags__Wunused_but_set_parameter=yes
14806 else
14807 ac_cv_cflags__Wunused_but_set_parameter=no
14809 rm -f core conftest.err conftest.$ac_objext \
14810 conftest$ac_exeext conftest.$ac_ext
14811 CFLAGS=$ac_wine_try_cflags_saved
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14814 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14815 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14816 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14819 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14820 if ${ac_cv_cflags__Wvla+:} false; then :
14821 $as_echo_n "(cached) " >&6
14822 else
14823 ac_wine_try_cflags_saved=$CFLAGS
14824 CFLAGS="$CFLAGS -Wvla"
14825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14827 int main(int argc, char **argv) { return 0; }
14828 _ACEOF
14829 if ac_fn_c_try_link "$LINENO"; then :
14830 ac_cv_cflags__Wvla=yes
14831 else
14832 ac_cv_cflags__Wvla=no
14834 rm -f core conftest.err conftest.$ac_objext \
14835 conftest$ac_exeext conftest.$ac_ext
14836 CFLAGS=$ac_wine_try_cflags_saved
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14839 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14840 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14841 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14844 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14845 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14846 $as_echo_n "(cached) " >&6
14847 else
14848 ac_wine_try_cflags_saved=$CFLAGS
14849 CFLAGS="$CFLAGS -Wwrite-strings"
14850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14851 /* end confdefs.h. */
14852 int main(int argc, char **argv) { return 0; }
14853 _ACEOF
14854 if ac_fn_c_try_link "$LINENO"; then :
14855 ac_cv_cflags__Wwrite_strings=yes
14856 else
14857 ac_cv_cflags__Wwrite_strings=no
14859 rm -f core conftest.err conftest.$ac_objext \
14860 conftest$ac_exeext conftest.$ac_ext
14861 CFLAGS=$ac_wine_try_cflags_saved
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14864 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14865 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14866 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14870 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14871 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14872 $as_echo_n "(cached) " >&6
14873 else
14874 ac_wine_try_cflags_saved=$CFLAGS
14875 CFLAGS="$CFLAGS -Wpointer-arith"
14876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14878 int main(int argc, char **argv) { return 0; }
14879 _ACEOF
14880 if ac_fn_c_try_link "$LINENO"; then :
14881 ac_cv_cflags__Wpointer_arith=yes
14882 else
14883 ac_cv_cflags__Wpointer_arith=no
14885 rm -f core conftest.err conftest.$ac_objext \
14886 conftest$ac_exeext conftest.$ac_ext
14887 CFLAGS=$ac_wine_try_cflags_saved
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14890 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14891 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14892 saved_string_h_CFLAGS=$CFLAGS
14893 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14895 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14896 if ${ac_cv_c_string_h_warnings+:} false; then :
14897 $as_echo_n "(cached) " >&6
14898 else
14899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14901 #include <string.h>
14903 main ()
14907 return 0;
14909 _ACEOF
14910 if ac_fn_c_try_compile "$LINENO"; then :
14911 ac_cv_c_string_h_warnings=no
14912 else
14913 ac_cv_c_string_h_warnings=yes
14915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14918 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14919 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14920 CFLAGS=$saved_string_h_CFLAGS
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14924 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14925 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14926 $as_echo_n "(cached) " >&6
14927 else
14928 ac_wine_try_cflags_saved=$CFLAGS
14929 CFLAGS="$CFLAGS -Wlogical-op"
14930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14932 int main(int argc, char **argv) { return 0; }
14933 _ACEOF
14934 if ac_fn_c_try_link "$LINENO"; then :
14935 ac_cv_cflags__Wlogical_op=yes
14936 else
14937 ac_cv_cflags__Wlogical_op=no
14939 rm -f core conftest.err conftest.$ac_objext \
14940 conftest$ac_exeext conftest.$ac_ext
14941 CFLAGS=$ac_wine_try_cflags_saved
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14944 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14945 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14946 saved_string_h_CFLAGS=$CFLAGS
14947 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14949 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14950 if ${ac_cv_c_logicalop_noisy+:} false; then :
14951 $as_echo_n "(cached) " >&6
14952 else
14953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14955 #include <string.h>
14956 char*f(const char *h,char n) {return strchr(h,n);}
14958 main ()
14962 return 0;
14964 _ACEOF
14965 if ac_fn_c_try_compile "$LINENO"; then :
14966 ac_cv_c_logicalop_noisy=no
14967 else
14968 ac_cv_c_logicalop_noisy=yes
14970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14973 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14974 CFLAGS=$saved_string_h_CFLAGS
14975 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14978 CFLAGS=$saved_CFLAGS
14980 for ac_flag in $CFLAGS; do
14981 case $ac_flag in
14982 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14983 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14984 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14985 $as_echo_n "(cached) " >&6
14986 else
14987 ac_wine_try_cflags_saved=$CFLAGS
14988 CFLAGS="$CFLAGS -gdwarf-2"
14989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14990 /* end confdefs.h. */
14991 int main(int argc, char **argv) { return 0; }
14992 _ACEOF
14993 if ac_fn_c_try_link "$LINENO"; then :
14994 ac_cv_cflags__gdwarf_2=yes
14995 else
14996 ac_cv_cflags__gdwarf_2=no
14998 rm -f core conftest.err conftest.$ac_objext \
14999 conftest$ac_exeext conftest.$ac_ext
15000 CFLAGS=$ac_wine_try_cflags_saved
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15003 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15004 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15005 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15008 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15009 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15010 $as_echo_n "(cached) " >&6
15011 else
15012 ac_wine_try_cflags_saved=$CFLAGS
15013 CFLAGS="$CFLAGS -gstrict-dwarf"
15014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15016 int main(int argc, char **argv) { return 0; }
15017 _ACEOF
15018 if ac_fn_c_try_link "$LINENO"; then :
15019 ac_cv_cflags__gstrict_dwarf=yes
15020 else
15021 ac_cv_cflags__gstrict_dwarf=no
15023 rm -f core conftest.err conftest.$ac_objext \
15024 conftest$ac_exeext conftest.$ac_ext
15025 CFLAGS=$ac_wine_try_cflags_saved
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15028 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15029 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15030 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15031 fi ;;
15032 esac
15033 done
15035 case $host_cpu in
15036 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15037 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15038 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15039 $as_echo_n "(cached) " >&6
15040 else
15041 ac_wine_try_cflags_saved=$CFLAGS
15042 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15044 /* end confdefs.h. */
15045 int main(int argc, char **argv) { return 0; }
15046 _ACEOF
15047 if ac_fn_c_try_link "$LINENO"; then :
15048 ac_cv_cflags__fno_omit_frame_pointer=yes
15049 else
15050 ac_cv_cflags__fno_omit_frame_pointer=no
15052 rm -f core conftest.err conftest.$ac_objext \
15053 conftest$ac_exeext conftest.$ac_ext
15054 CFLAGS=$ac_wine_try_cflags_saved
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15057 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15058 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15059 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15060 fi ;;
15061 esac
15063 case $host in
15064 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15065 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15066 if ${ac_cv_cflags__Wno_format+:} false; then :
15067 $as_echo_n "(cached) " >&6
15068 else
15069 ac_wine_try_cflags_saved=$CFLAGS
15070 CFLAGS="$CFLAGS -Wno-format"
15071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15073 int main(int argc, char **argv) { return 0; }
15074 _ACEOF
15075 if ac_fn_c_try_link "$LINENO"; then :
15076 ac_cv_cflags__Wno_format=yes
15077 else
15078 ac_cv_cflags__Wno_format=no
15080 rm -f core conftest.err conftest.$ac_objext \
15081 conftest$ac_exeext conftest.$ac_ext
15082 CFLAGS=$ac_wine_try_cflags_saved
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15085 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15086 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15087 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15088 fi ;;
15089 esac
15091 if test "x$enable_maintainer_mode" = "xyes"
15092 then
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15094 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15095 if ${ac_cv_cflags__Werror+:} false; then :
15096 $as_echo_n "(cached) " >&6
15097 else
15098 ac_wine_try_cflags_saved=$CFLAGS
15099 CFLAGS="$CFLAGS -Werror"
15100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15101 /* end confdefs.h. */
15102 int main(int argc, char **argv) { return 0; }
15103 _ACEOF
15104 if ac_fn_c_try_link "$LINENO"; then :
15105 ac_cv_cflags__Werror=yes
15106 else
15107 ac_cv_cflags__Werror=no
15109 rm -f core conftest.err conftest.$ac_objext \
15110 conftest$ac_exeext conftest.$ac_ext
15111 CFLAGS=$ac_wine_try_cflags_saved
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15114 $as_echo "$ac_cv_cflags__Werror" >&6; }
15115 if test "x$ac_cv_cflags__Werror" = xyes; then :
15116 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15120 saved_CFLAGS="$CFLAGS"
15121 CFLAGS="$CFLAGS -Werror"
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15123 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15124 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15125 $as_echo_n "(cached) " >&6
15126 else
15127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15129 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15131 main ()
15135 return 0;
15137 _ACEOF
15138 if ac_fn_c_try_compile "$LINENO"; then :
15139 ac_cv_have_ms_hook_prologue="yes"
15140 else
15141 ac_cv_have_ms_hook_prologue="no"
15143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15146 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15147 CFLAGS="$saved_CFLAGS"
15148 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15149 then
15151 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15153 else
15154 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15161 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15162 if ${ac_cv_c_fortify_enabled+:} false; then :
15163 $as_echo_n "(cached) " >&6
15164 else
15165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15167 #include <string.h>
15169 main ()
15171 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15172 #error Fortify enabled
15173 #endif
15175 return 0;
15177 _ACEOF
15178 if ac_fn_c_try_compile "$LINENO"; then :
15179 ac_cv_c_fortify_enabled=no
15180 else
15181 ac_cv_c_fortify_enabled=yes
15183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15186 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15187 if test "$ac_cv_c_fortify_enabled" = yes
15188 then
15189 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15194 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15195 if ${ac_cv_c_extern_prefix+:} false; then :
15196 $as_echo_n "(cached) " >&6
15197 else
15198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15200 extern int ac_test;
15202 main ()
15204 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15206 return 0;
15208 _ACEOF
15209 if ac_fn_c_try_link "$LINENO"; then :
15210 ac_cv_c_extern_prefix="yes"
15211 else
15212 ac_cv_c_extern_prefix="no"
15214 rm -f core conftest.err conftest.$ac_objext \
15215 conftest$ac_exeext conftest.$ac_ext
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15218 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15220 case $host_cpu in
15221 *i[3456789]86*)
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15223 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15224 if ${ac_cv_c_stdcall_suffix+:} false; then :
15225 $as_echo_n "(cached) " >&6
15226 else
15227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h. */
15229 #ifndef _MSC_VER
15230 #define __stdcall __attribute__((__stdcall__))
15231 #endif
15232 int __stdcall ac_test(int i) { return i; }
15234 main ()
15236 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15238 return 0;
15240 _ACEOF
15241 if ac_fn_c_try_link "$LINENO"; then :
15242 ac_cv_c_stdcall_suffix="yes"
15243 else
15244 ac_cv_c_stdcall_suffix="no"
15246 rm -f core conftest.err conftest.$ac_objext \
15247 conftest$ac_exeext conftest.$ac_ext
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15250 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15251 *) ac_cv_c_stdcall_suffix="no" ;;
15252 esac
15255 if test "$ac_cv_c_extern_prefix" = "yes"
15256 then
15257 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15259 asm_name_prefix="_"
15260 else
15261 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15263 asm_name_prefix=""
15267 if test "$ac_cv_c_stdcall_suffix" = "yes"
15268 then
15269 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15271 else
15272 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15278 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15279 if ${ac_cv_asm_func_def+:} false; then :
15280 $as_echo_n "(cached) " >&6
15281 else
15282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15286 main ()
15288 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15290 return 0;
15292 _ACEOF
15293 if ac_fn_c_try_link "$LINENO"; then :
15294 ac_cv_asm_func_def=".def"
15295 else
15296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15297 /* end confdefs.h. */
15300 main ()
15302 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15304 return 0;
15306 _ACEOF
15307 if ac_fn_c_try_link "$LINENO"; then :
15308 ac_cv_asm_func_def=".type @function"
15309 else
15310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15314 main ()
15316 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15318 return 0;
15320 _ACEOF
15321 if ac_fn_c_try_link "$LINENO"; then :
15322 ac_cv_asm_func_def=".type 2"
15323 else
15324 ac_cv_asm_func_def="unknown"
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15332 rm -f core conftest.err conftest.$ac_objext \
15333 conftest$ac_exeext conftest.$ac_ext
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15336 $as_echo "$ac_cv_asm_func_def" >&6; }
15339 case "$ac_cv_asm_func_def" in
15340 ".def")
15341 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15343 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15344 ".type @function")
15345 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15347 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15348 ".type 2")
15349 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15351 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15353 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15355 asm_func_header="" ;;
15356 esac
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15359 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15360 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15361 $as_echo_n "(cached) " >&6
15362 else
15363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15364 /* end confdefs.h. */
15365 asm(".text\n\t.long 0");
15367 main ()
15371 return 0;
15373 _ACEOF
15374 if ac_fn_c_try_compile "$LINENO"; then :
15375 ac_cv_c_asm_outside_funcs="yes"
15376 else
15377 ac_cv_c_asm_outside_funcs="no"
15379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15382 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15385 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15386 if ${ac_cv_c_dot_previous+:} false; then :
15387 $as_echo_n "(cached) " >&6
15388 else
15389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h. */
15393 main ()
15395 asm(".text\nac_test:\t.long 0\n\t.previous");
15397 return 0;
15399 _ACEOF
15400 if ac_fn_c_try_link "$LINENO"; then :
15401 ac_cv_c_dot_previous="yes"
15402 else
15403 ac_cv_c_dot_previous="no"
15405 rm -f core conftest.err conftest.$ac_objext \
15406 conftest$ac_exeext conftest.$ac_ext
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15409 $as_echo "$ac_cv_c_dot_previous" >&6; }
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15412 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15413 if ${ac_cv_c_cfi_support+:} false; then :
15414 $as_echo_n "(cached) " >&6
15415 else
15416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15417 /* end confdefs.h. */
15418 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15420 main ()
15424 return 0;
15426 _ACEOF
15427 if ac_fn_c_try_compile "$LINENO"; then :
15428 ac_cv_c_cfi_support="yes"
15429 else
15430 ac_cv_c_cfi_support="no"
15432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15435 $as_echo "$ac_cv_c_cfi_support" >&6; }
15437 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15438 asm_func_trailer=""
15439 if test "$ac_cv_c_dot_previous" = "yes"
15440 then
15441 asm_func_trailer="\\n\\t.previous"
15443 if test "$ac_cv_c_cfi_support" = "yes"
15444 then
15445 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15446 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15448 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15450 UNWINDFLAGS=-fasynchronous-unwind-tables
15452 else
15453 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15455 if test "x$enable_win64" = "xyes"
15456 then
15457 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15461 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15464 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15465 then
15466 cat >>confdefs.h <<_ACEOF
15467 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15468 _ACEOF
15470 else
15471 cat >>confdefs.h <<_ACEOF
15472 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15473 _ACEOF
15477 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15480 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15484 case $build_os in
15485 cygwin*|mingw32*) TOOLSEXT=".exe"
15487 esac
15489 case $host_os in
15490 linux*)
15491 case $host_cpu in
15492 *i[3456789]86*|x86_64*)
15493 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15494 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15496 esac
15498 esac
15501 ac_save_CFLAGS="$CFLAGS"
15502 CFLAGS="$CFLAGS $BUILTINFLAG"
15503 for ac_func in \
15504 __res_get_state \
15505 __res_getservers \
15506 _finite \
15507 _isnan \
15508 _pclose \
15509 _popen \
15510 _snprintf \
15511 _spawnvp \
15512 _strdup \
15513 _stricmp \
15514 _strnicmp \
15515 _strtoi64 \
15516 _strtoui64 \
15517 _vsnprintf \
15518 asctime_r \
15519 chsize \
15520 dlopen \
15521 epoll_create \
15522 ffs \
15523 finitef \
15524 fnmatch \
15525 fork \
15526 fpclass \
15527 fstatfs \
15528 fstatvfs \
15529 ftruncate \
15530 futimens \
15531 futimes \
15532 futimesat \
15533 getattrlist \
15534 getauxval \
15535 getifaddrs \
15536 getopt_long_only \
15537 getpwuid \
15538 gettimeofday \
15539 getuid \
15540 isnanf \
15541 kqueue \
15542 lstat \
15543 memmove \
15544 mmap \
15545 pclose \
15546 pipe2 \
15547 poll \
15548 popen \
15549 port_create \
15550 prctl \
15551 pread \
15552 proc_pidinfo \
15553 pwrite \
15554 readdir \
15555 readlink \
15556 sched_yield \
15557 select \
15558 setproctitle \
15559 setprogname \
15560 setrlimit \
15561 settimeofday \
15562 sigaltstack \
15563 sigprocmask \
15564 snprintf \
15565 statfs \
15566 statvfs \
15567 strcasecmp \
15568 strdup \
15569 strerror \
15570 strncasecmp \
15571 strtold \
15572 strtoll \
15573 strtoull \
15574 symlink \
15575 sysinfo \
15576 tcdrain \
15577 thr_kill2 \
15578 timegm \
15579 usleep \
15580 vsnprintf
15582 do :
15583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15585 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15586 cat >>confdefs.h <<_ACEOF
15587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15588 _ACEOF
15591 done
15593 CFLAGS="$ac_save_CFLAGS"
15595 if test "$ac_cv_func_dlopen" = no
15596 then
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15598 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15599 if ${ac_cv_lib_dl_dlopen+:} false; then :
15600 $as_echo_n "(cached) " >&6
15601 else
15602 ac_check_lib_save_LIBS=$LIBS
15603 LIBS="-ldl $LIBS"
15604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15605 /* end confdefs.h. */
15607 /* Override any GCC internal prototype to avoid an error.
15608 Use char because int might match the return type of a GCC
15609 builtin and then its argument prototype would still apply. */
15610 #ifdef __cplusplus
15611 extern "C"
15612 #endif
15613 char dlopen ();
15615 main ()
15617 return dlopen ();
15619 return 0;
15621 _ACEOF
15622 if ac_fn_c_try_link "$LINENO"; then :
15623 ac_cv_lib_dl_dlopen=yes
15624 else
15625 ac_cv_lib_dl_dlopen=no
15627 rm -f core conftest.err conftest.$ac_objext \
15628 conftest$ac_exeext conftest.$ac_ext
15629 LIBS=$ac_check_lib_save_LIBS
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15632 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15633 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15634 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15635 DL_LIBS="-ldl"
15640 ac_wine_check_funcs_save_LIBS="$LIBS"
15641 LIBS="$LIBS $DL_LIBS"
15642 for ac_func in dladdr
15643 do :
15644 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15645 if test "x$ac_cv_func_dladdr" = xyes; then :
15646 cat >>confdefs.h <<_ACEOF
15647 #define HAVE_DLADDR 1
15648 _ACEOF
15651 done
15653 LIBS="$ac_wine_check_funcs_save_LIBS"
15655 if test "$ac_cv_func_poll" = no
15656 then
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15658 $as_echo_n "checking for poll in -lpoll... " >&6; }
15659 if ${ac_cv_lib_poll_poll+:} false; then :
15660 $as_echo_n "(cached) " >&6
15661 else
15662 ac_check_lib_save_LIBS=$LIBS
15663 LIBS="-lpoll $LIBS"
15664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15665 /* end confdefs.h. */
15667 /* Override any GCC internal prototype to avoid an error.
15668 Use char because int might match the return type of a GCC
15669 builtin and then its argument prototype would still apply. */
15670 #ifdef __cplusplus
15671 extern "C"
15672 #endif
15673 char poll ();
15675 main ()
15677 return poll ();
15679 return 0;
15681 _ACEOF
15682 if ac_fn_c_try_link "$LINENO"; then :
15683 ac_cv_lib_poll_poll=yes
15684 else
15685 ac_cv_lib_poll_poll=no
15687 rm -f core conftest.err conftest.$ac_objext \
15688 conftest$ac_exeext conftest.$ac_ext
15689 LIBS=$ac_check_lib_save_LIBS
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15692 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15693 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15694 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15695 POLL_LIBS="-lpoll"
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15702 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15703 if ${ac_cv_search_gethostbyname+:} false; then :
15704 $as_echo_n "(cached) " >&6
15705 else
15706 ac_func_search_save_LIBS=$LIBS
15707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15708 /* end confdefs.h. */
15710 /* Override any GCC internal prototype to avoid an error.
15711 Use char because int might match the return type of a GCC
15712 builtin and then its argument prototype would still apply. */
15713 #ifdef __cplusplus
15714 extern "C"
15715 #endif
15716 char gethostbyname ();
15718 main ()
15720 return gethostbyname ();
15722 return 0;
15724 _ACEOF
15725 for ac_lib in '' nsl; do
15726 if test -z "$ac_lib"; then
15727 ac_res="none required"
15728 else
15729 ac_res=-l$ac_lib
15730 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15732 if ac_fn_c_try_link "$LINENO"; then :
15733 ac_cv_search_gethostbyname=$ac_res
15735 rm -f core conftest.err conftest.$ac_objext \
15736 conftest$ac_exeext
15737 if ${ac_cv_search_gethostbyname+:} false; then :
15738 break
15740 done
15741 if ${ac_cv_search_gethostbyname+:} false; then :
15743 else
15744 ac_cv_search_gethostbyname=no
15746 rm conftest.$ac_ext
15747 LIBS=$ac_func_search_save_LIBS
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15750 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15751 ac_res=$ac_cv_search_gethostbyname
15752 if test "$ac_res" != no; then :
15753 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15759 $as_echo_n "checking for library containing connect... " >&6; }
15760 if ${ac_cv_search_connect+:} false; then :
15761 $as_echo_n "(cached) " >&6
15762 else
15763 ac_func_search_save_LIBS=$LIBS
15764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15765 /* end confdefs.h. */
15767 /* Override any GCC internal prototype to avoid an error.
15768 Use char because int might match the return type of a GCC
15769 builtin and then its argument prototype would still apply. */
15770 #ifdef __cplusplus
15771 extern "C"
15772 #endif
15773 char connect ();
15775 main ()
15777 return connect ();
15779 return 0;
15781 _ACEOF
15782 for ac_lib in '' socket; do
15783 if test -z "$ac_lib"; then
15784 ac_res="none required"
15785 else
15786 ac_res=-l$ac_lib
15787 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15789 if ac_fn_c_try_link "$LINENO"; then :
15790 ac_cv_search_connect=$ac_res
15792 rm -f core conftest.err conftest.$ac_objext \
15793 conftest$ac_exeext
15794 if ${ac_cv_search_connect+:} false; then :
15795 break
15797 done
15798 if ${ac_cv_search_connect+:} false; then :
15800 else
15801 ac_cv_search_connect=no
15803 rm conftest.$ac_ext
15804 LIBS=$ac_func_search_save_LIBS
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15807 $as_echo "$ac_cv_search_connect" >&6; }
15808 ac_res=$ac_cv_search_connect
15809 if test "$ac_res" != no; then :
15810 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15816 $as_echo_n "checking for library containing inet_aton... " >&6; }
15817 if ${ac_cv_search_inet_aton+:} false; then :
15818 $as_echo_n "(cached) " >&6
15819 else
15820 ac_func_search_save_LIBS=$LIBS
15821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15822 /* end confdefs.h. */
15824 /* Override any GCC internal prototype to avoid an error.
15825 Use char because int might match the return type of a GCC
15826 builtin and then its argument prototype would still apply. */
15827 #ifdef __cplusplus
15828 extern "C"
15829 #endif
15830 char inet_aton ();
15832 main ()
15834 return inet_aton ();
15836 return 0;
15838 _ACEOF
15839 for ac_lib in '' resolv; do
15840 if test -z "$ac_lib"; then
15841 ac_res="none required"
15842 else
15843 ac_res=-l$ac_lib
15844 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15846 if ac_fn_c_try_link "$LINENO"; then :
15847 ac_cv_search_inet_aton=$ac_res
15849 rm -f core conftest.err conftest.$ac_objext \
15850 conftest$ac_exeext
15851 if ${ac_cv_search_inet_aton+:} false; then :
15852 break
15854 done
15855 if ${ac_cv_search_inet_aton+:} false; then :
15857 else
15858 ac_cv_search_inet_aton=no
15860 rm conftest.$ac_ext
15861 LIBS=$ac_func_search_save_LIBS
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15864 $as_echo "$ac_cv_search_inet_aton" >&6; }
15865 ac_res=$ac_cv_search_inet_aton
15866 if test "$ac_res" != no; then :
15867 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15872 for ac_func in \
15873 getaddrinfo \
15874 getnameinfo \
15875 getnetbyname \
15876 getprotobyname \
15877 getprotobynumber \
15878 getservbyport \
15879 inet_addr \
15880 inet_network \
15881 inet_ntop \
15882 inet_pton \
15883 sendmsg \
15884 socketpair \
15886 do :
15887 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15888 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15889 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15890 cat >>confdefs.h <<_ACEOF
15891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15892 _ACEOF
15895 done
15898 ac_save_LIBS=$LIBS
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15900 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15901 if ${ac_cv_search_clock_gettime+:} false; then :
15902 $as_echo_n "(cached) " >&6
15903 else
15904 ac_func_search_save_LIBS=$LIBS
15905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15908 /* Override any GCC internal prototype to avoid an error.
15909 Use char because int might match the return type of a GCC
15910 builtin and then its argument prototype would still apply. */
15911 #ifdef __cplusplus
15912 extern "C"
15913 #endif
15914 char clock_gettime ();
15916 main ()
15918 return clock_gettime ();
15920 return 0;
15922 _ACEOF
15923 for ac_lib in '' rt; do
15924 if test -z "$ac_lib"; then
15925 ac_res="none required"
15926 else
15927 ac_res=-l$ac_lib
15928 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15930 if ac_fn_c_try_link "$LINENO"; then :
15931 ac_cv_search_clock_gettime=$ac_res
15933 rm -f core conftest.err conftest.$ac_objext \
15934 conftest$ac_exeext
15935 if ${ac_cv_search_clock_gettime+:} false; then :
15936 break
15938 done
15939 if ${ac_cv_search_clock_gettime+:} false; then :
15941 else
15942 ac_cv_search_clock_gettime=no
15944 rm conftest.$ac_ext
15945 LIBS=$ac_func_search_save_LIBS
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15948 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15949 ac_res=$ac_cv_search_clock_gettime
15950 if test "$ac_res" != no; then :
15951 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15953 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15955 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15959 LIBS=$ac_save_LIBS
15961 if test "x$with_ldap" != "xno"
15962 then
15963 if ${LDAP_CFLAGS:+false} :; then :
15964 if ${PKG_CONFIG+:} false; then :
15965 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15969 if ${LDAP_LIBS:+false} :; then :
15970 if ${PKG_CONFIG+:} false; then :
15971 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
15975 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
15976 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15977 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15978 ac_save_CPPFLAGS=$CPPFLAGS
15979 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
15980 for ac_header in ldap.h lber.h
15981 do :
15982 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15983 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15984 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15985 cat >>confdefs.h <<_ACEOF
15986 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15987 _ACEOF
15991 done
15993 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15994 then
15995 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15997 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15999 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16000 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16001 $as_echo_n "(cached) " >&6
16002 else
16003 ac_check_lib_save_LIBS=$LIBS
16004 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16008 /* Override any GCC internal prototype to avoid an error.
16009 Use char because int might match the return type of a GCC
16010 builtin and then its argument prototype would still apply. */
16011 #ifdef __cplusplus
16012 extern "C"
16013 #endif
16014 char ldap_initialize ();
16016 main ()
16018 return ldap_initialize ();
16020 return 0;
16022 _ACEOF
16023 if ac_fn_c_try_link "$LINENO"; then :
16024 ac_cv_lib_ldap_r_ldap_initialize=yes
16025 else
16026 ac_cv_lib_ldap_r_ldap_initialize=no
16028 rm -f core conftest.err conftest.$ac_objext \
16029 conftest$ac_exeext conftest.$ac_ext
16030 LIBS=$ac_check_lib_save_LIBS
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16033 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16034 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16036 $as_echo_n "checking for ber_init in -llber... " >&6; }
16037 if ${ac_cv_lib_lber_ber_init+:} false; then :
16038 $as_echo_n "(cached) " >&6
16039 else
16040 ac_check_lib_save_LIBS=$LIBS
16041 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16043 /* end confdefs.h. */
16045 /* Override any GCC internal prototype to avoid an error.
16046 Use char because int might match the return type of a GCC
16047 builtin and then its argument prototype would still apply. */
16048 #ifdef __cplusplus
16049 extern "C"
16050 #endif
16051 char ber_init ();
16053 main ()
16055 return ber_init ();
16057 return 0;
16059 _ACEOF
16060 if ac_fn_c_try_link "$LINENO"; then :
16061 ac_cv_lib_lber_ber_init=yes
16062 else
16063 ac_cv_lib_lber_ber_init=no
16065 rm -f core conftest.err conftest.$ac_objext \
16066 conftest$ac_exeext conftest.$ac_ext
16067 LIBS=$ac_check_lib_save_LIBS
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16070 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16071 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16073 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16075 else
16076 LDAP_LIBS=""
16079 else
16080 LDAP_LIBS=""
16083 else
16084 LDAP_LIBS=""
16087 ac_wine_check_funcs_save_LIBS="$LIBS"
16088 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16089 for ac_func in \
16090 ldap_count_references \
16091 ldap_first_reference \
16092 ldap_next_reference \
16093 ldap_parse_reference \
16094 ldap_parse_sort_control \
16095 ldap_parse_sortresponse_control \
16096 ldap_parse_vlv_control \
16097 ldap_parse_vlvresponse_control
16098 do :
16099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16101 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16102 cat >>confdefs.h <<_ACEOF
16103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16104 _ACEOF
16107 done
16109 LIBS="$ac_wine_check_funcs_save_LIBS"
16110 else
16111 LDAP_LIBS=""
16113 CPPFLAGS=$ac_save_CPPFLAGS
16114 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16115 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16118 if test "x$LDAP_LIBS" = "x"; then :
16119 case "x$with_ldap" in
16120 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16121 xno) ;;
16122 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16123 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16124 esac
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16129 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16130 if ${wine_cv_one_arg_mkdir+:} false; then :
16131 $as_echo_n "(cached) " >&6
16132 else
16133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16134 /* end confdefs.h. */
16135 #include <sys/stat.h>
16137 main ()
16139 mkdir("foo");
16141 return 0;
16143 _ACEOF
16144 if ac_fn_c_try_compile "$LINENO"; then :
16145 wine_cv_one_arg_mkdir=yes
16146 else
16147 wine_cv_one_arg_mkdir=no
16149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16152 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16153 if test "$wine_cv_one_arg_mkdir" = "yes"
16154 then
16156 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16161 $as_echo_n "checking for sched_setaffinity... " >&6; }
16162 if ${wine_cv_have_sched_setaffinity+:} false; then :
16163 $as_echo_n "(cached) " >&6
16164 else
16165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16166 /* end confdefs.h. */
16167 #define _GNU_SOURCE
16168 #include <sched.h>
16170 main ()
16172 sched_setaffinity(0, 0, 0);
16174 return 0;
16176 _ACEOF
16177 if ac_fn_c_try_link "$LINENO"; then :
16178 wine_cv_have_sched_setaffinity=yes
16179 else
16180 wine_cv_have_sched_setaffinity=no
16182 rm -f core conftest.err conftest.$ac_objext \
16183 conftest$ac_exeext conftest.$ac_ext
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16186 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16187 if test "$wine_cv_have_sched_setaffinity" = "yes"
16188 then
16190 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16195 $as_echo_n "checking for fallocate... " >&6; }
16196 if ${wine_cv_have_fallocate+:} false; then :
16197 $as_echo_n "(cached) " >&6
16198 else
16199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16200 /* end confdefs.h. */
16201 #define _GNU_SOURCE
16202 #include <fcntl.h>
16204 main ()
16206 fallocate(-1, 0, 0, 0);
16208 return 0;
16210 _ACEOF
16211 if ac_fn_c_try_link "$LINENO"; then :
16212 wine_cv_have_fallocate=yes
16213 else
16214 wine_cv_have_fallocate=no
16216 rm -f core conftest.err conftest.$ac_objext \
16217 conftest$ac_exeext conftest.$ac_ext
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16220 $as_echo "$wine_cv_have_fallocate" >&6; }
16221 if test "$wine_cv_have_fallocate" = "yes"
16222 then
16224 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16230 $as_echo_n "checking for inline... " >&6; }
16231 if ${ac_cv_c_inline+:} false; then :
16232 $as_echo_n "(cached) " >&6
16233 else
16234 ac_cv_c_inline=no
16235 for ac_kw in inline __inline__ __inline; do
16236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16237 /* end confdefs.h. */
16238 #ifndef __cplusplus
16239 typedef int foo_t;
16240 static $ac_kw foo_t static_foo () {return 0; }
16241 $ac_kw foo_t foo () {return 0; }
16242 #endif
16244 _ACEOF
16245 if ac_fn_c_try_compile "$LINENO"; then :
16246 ac_cv_c_inline=$ac_kw
16248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16249 test "$ac_cv_c_inline" != no && break
16250 done
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16254 $as_echo "$ac_cv_c_inline" >&6; }
16256 case $ac_cv_c_inline in
16257 inline | yes) ;;
16259 case $ac_cv_c_inline in
16260 no) ac_val=;;
16261 *) ac_val=$ac_cv_c_inline;;
16262 esac
16263 cat >>confdefs.h <<_ACEOF
16264 #ifndef __cplusplus
16265 #define inline $ac_val
16266 #endif
16267 _ACEOF
16269 esac
16271 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16272 if test "x$ac_cv_type_mode_t" = xyes; then :
16274 cat >>confdefs.h <<_ACEOF
16275 #define HAVE_MODE_T 1
16276 _ACEOF
16280 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16281 if test "x$ac_cv_type_off_t" = xyes; then :
16283 cat >>confdefs.h <<_ACEOF
16284 #define HAVE_OFF_T 1
16285 _ACEOF
16289 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16290 if test "x$ac_cv_type_pid_t" = xyes; then :
16292 cat >>confdefs.h <<_ACEOF
16293 #define HAVE_PID_T 1
16294 _ACEOF
16298 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16299 if test "x$ac_cv_type_size_t" = xyes; then :
16301 cat >>confdefs.h <<_ACEOF
16302 #define HAVE_SIZE_T 1
16303 _ACEOF
16307 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16308 if test "x$ac_cv_type_ssize_t" = xyes; then :
16310 cat >>confdefs.h <<_ACEOF
16311 #define HAVE_SSIZE_T 1
16312 _ACEOF
16316 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16317 if test "x$ac_cv_type_long_long" = xyes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_LONG_LONG 1
16321 _ACEOF
16325 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16326 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16328 cat >>confdefs.h <<_ACEOF
16329 #define HAVE_FSBLKCNT_T 1
16330 _ACEOF
16334 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16335 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16337 cat >>confdefs.h <<_ACEOF
16338 #define HAVE_FSFILCNT_T 1
16339 _ACEOF
16344 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16345 #include <signal.h>
16347 if test "x$ac_cv_type_sigset_t" = xyes; then :
16349 cat >>confdefs.h <<_ACEOF
16350 #define HAVE_SIGSET_T 1
16351 _ACEOF
16356 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16358 if test "x$ac_cv_type_request_sense" = xyes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_REQUEST_SENSE 1
16362 _ACEOF
16368 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16369 #ifdef HAVE_SYS_SOCKET_H
16370 #include <sys/socket.h>
16371 #endif
16372 #ifdef HAVE_SYS_SOCKETVAR_H
16373 #include <sys/socketvar.h>
16374 #endif
16375 #ifdef HAVE_NET_ROUTE_H
16376 #include <net/route.h>
16377 #endif
16378 #ifdef HAVE_NETINET_IN_H
16379 #include <netinet/in.h>
16380 #endif
16381 #ifdef HAVE_NETINET_IN_SYSTM_H
16382 #include <netinet/in_systm.h>
16383 #endif
16384 #ifdef HAVE_NETINET_IP_H
16385 #include <netinet/ip.h>
16386 #endif
16387 #ifdef HAVE_NETINET_IN_PCB_H
16388 #include <netinet/in_pcb.h>
16389 #endif
16391 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16393 cat >>confdefs.h <<_ACEOF
16394 #define HAVE_STRUCT_XINPGEN 1
16395 _ACEOF
16401 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16402 #include <link.h>
16403 #endif
16404 #ifdef HAVE_SYS_LINK_H
16405 #include <sys/link.h>
16406 #endif
16408 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16410 cat >>confdefs.h <<_ACEOF
16411 #define HAVE_STRUCT_R_DEBUG 1
16412 _ACEOF
16416 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#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_link_map" = xyes; then :
16425 cat >>confdefs.h <<_ACEOF
16426 #define HAVE_STRUCT_LINK_MAP 1
16427 _ACEOF
16433 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16434 #include <linux/input.h>
16435 #endif
16437 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16439 cat >>confdefs.h <<_ACEOF
16440 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16441 _ACEOF
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16448 $as_echo_n "checking for if_nameindex... " >&6; }
16449 if ${wine_cv_have_if_nameindex+:} false; then :
16450 $as_echo_n "(cached) " >&6
16451 else
16452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16454 #ifdef HAVE_SYS_TYPES_H
16455 #include <sys/types.h>
16456 #endif
16457 #ifdef HAVE_SYS_SOCKET_H
16458 #include <sys/socket.h>
16459 #endif
16460 #ifdef HAVE_NET_IF_H
16461 # include <net/if.h>
16462 #endif
16464 main ()
16466 struct if_nameindex *p = if_nameindex(); return p->if_index;
16468 return 0;
16470 _ACEOF
16471 if ac_fn_c_try_link "$LINENO"; then :
16472 wine_cv_have_if_nameindex=yes
16473 else
16474 wine_cv_have_if_nameindex=no
16476 rm -f core conftest.err conftest.$ac_objext \
16477 conftest$ac_exeext conftest.$ac_ext
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16480 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16481 if test "$wine_cv_have_if_nameindex" = "yes"
16482 then
16484 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16489 $as_echo_n "checking for sigaddset... " >&6; }
16490 if ${wine_cv_have_sigaddset+:} false; then :
16491 $as_echo_n "(cached) " >&6
16492 else
16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16495 #include <signal.h>
16497 main ()
16499 sigset_t set; sigaddset(&set,SIGTERM);
16501 return 0;
16503 _ACEOF
16504 if ac_fn_c_try_link "$LINENO"; then :
16505 wine_cv_have_sigaddset=yes
16506 else
16507 wine_cv_have_sigaddset=no
16509 rm -f core conftest.err conftest.$ac_objext \
16510 conftest$ac_exeext conftest.$ac_ext
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16513 $as_echo "$wine_cv_have_sigaddset" >&6; }
16514 if test "$wine_cv_have_sigaddset" = "yes"
16515 then
16517 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16523 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16524 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16525 $as_echo_n "(cached) " >&6
16526 else
16527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16529 #include <netdb.h>
16531 main ()
16534 char *name=0;
16535 struct hostent he;
16536 struct hostent *result;
16537 char *buf=0;
16538 int bufsize=0;
16539 int errnr;
16540 char *addr=0;
16541 int addrlen=0;
16542 int addrtype=0;
16543 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16544 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16547 return 0;
16549 _ACEOF
16550 if ac_fn_c_try_link "$LINENO"; then :
16551 wine_cv_linux_gethostbyname_r_6=yes
16552 else
16553 wine_cv_linux_gethostbyname_r_6=no
16556 rm -f core conftest.err conftest.$ac_objext \
16557 conftest$ac_exeext conftest.$ac_ext
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16561 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16562 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16563 then
16565 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16569 if test "$ac_cv_header_linux_joystick_h" = "yes"
16570 then
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16572 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16573 if ${wine_cv_linux_joystick_22_api+:} false; then :
16574 $as_echo_n "(cached) " >&6
16575 else
16576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16577 /* end confdefs.h. */
16579 #include <sys/ioctl.h>
16580 #include <sys/types.h>
16581 #include <linux/joystick.h>
16583 struct js_event blub;
16584 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16585 #error "no 2.2 header"
16586 #endif
16589 main ()
16591 /*empty*/
16593 return 0;
16595 _ACEOF
16596 if ac_fn_c_try_compile "$LINENO"; then :
16597 wine_cv_linux_joystick_22_api=yes
16598 else
16599 wine_cv_linux_joystick_22_api=no
16601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16605 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16606 if test "$wine_cv_linux_joystick_22_api" = "yes"
16607 then
16609 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16615 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16616 #ifdef HAVE_SYS_PARAM_H
16617 # include <sys/param.h>
16618 #endif
16619 #ifdef HAVE_SYS_MOUNT_H
16620 # include <sys/mount.h>
16621 #endif
16622 #ifdef HAVE_SYS_VFS_H
16623 # include <sys/vfs.h>
16624 #endif
16625 #ifdef HAVE_SYS_STATFS_H
16626 # include <sys/statfs.h>
16627 #endif
16629 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16631 cat >>confdefs.h <<_ACEOF
16632 #define HAVE_STRUCT_STATFS_F_BFREE 1
16633 _ACEOF
16637 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16638 #ifdef HAVE_SYS_PARAM_H
16639 # include <sys/param.h>
16640 #endif
16641 #ifdef HAVE_SYS_MOUNT_H
16642 # include <sys/mount.h>
16643 #endif
16644 #ifdef HAVE_SYS_VFS_H
16645 # include <sys/vfs.h>
16646 #endif
16647 #ifdef HAVE_SYS_STATFS_H
16648 # include <sys/statfs.h>
16649 #endif
16651 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16653 cat >>confdefs.h <<_ACEOF
16654 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16655 _ACEOF
16659 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16660 #ifdef HAVE_SYS_PARAM_H
16661 # include <sys/param.h>
16662 #endif
16663 #ifdef HAVE_SYS_MOUNT_H
16664 # include <sys/mount.h>
16665 #endif
16666 #ifdef HAVE_SYS_VFS_H
16667 # include <sys/vfs.h>
16668 #endif
16669 #ifdef HAVE_SYS_STATFS_H
16670 # include <sys/statfs.h>
16671 #endif
16673 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16675 cat >>confdefs.h <<_ACEOF
16676 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16677 _ACEOF
16681 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16682 #ifdef HAVE_SYS_PARAM_H
16683 # include <sys/param.h>
16684 #endif
16685 #ifdef HAVE_SYS_MOUNT_H
16686 # include <sys/mount.h>
16687 #endif
16688 #ifdef HAVE_SYS_VFS_H
16689 # include <sys/vfs.h>
16690 #endif
16691 #ifdef HAVE_SYS_STATFS_H
16692 # include <sys/statfs.h>
16693 #endif
16695 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16697 cat >>confdefs.h <<_ACEOF
16698 #define HAVE_STRUCT_STATFS_F_FFREE 1
16699 _ACEOF
16703 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16704 #ifdef HAVE_SYS_PARAM_H
16705 # include <sys/param.h>
16706 #endif
16707 #ifdef HAVE_SYS_MOUNT_H
16708 # include <sys/mount.h>
16709 #endif
16710 #ifdef HAVE_SYS_VFS_H
16711 # include <sys/vfs.h>
16712 #endif
16713 #ifdef HAVE_SYS_STATFS_H
16714 # include <sys/statfs.h>
16715 #endif
16717 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16719 cat >>confdefs.h <<_ACEOF
16720 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16721 _ACEOF
16725 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16726 #ifdef HAVE_SYS_PARAM_H
16727 # include <sys/param.h>
16728 #endif
16729 #ifdef HAVE_SYS_MOUNT_H
16730 # include <sys/mount.h>
16731 #endif
16732 #ifdef HAVE_SYS_VFS_H
16733 # include <sys/vfs.h>
16734 #endif
16735 #ifdef HAVE_SYS_STATFS_H
16736 # include <sys/statfs.h>
16737 #endif
16739 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16741 cat >>confdefs.h <<_ACEOF
16742 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16743 _ACEOF
16749 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16750 #include <sys/statvfs.h>
16751 #endif
16753 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16755 cat >>confdefs.h <<_ACEOF
16756 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16757 _ACEOF
16763 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16764 #include <dirent.h>
16765 #endif
16767 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16769 cat >>confdefs.h <<_ACEOF
16770 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16771 _ACEOF
16777 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16778 #ifdef HAVE_SYS_SOCKET_H
16779 # include <sys/socket.h>
16780 #endif
16781 #ifdef HAVE_SYS_UN_H
16782 # include <sys/un.h>
16783 #endif
16785 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16787 cat >>confdefs.h <<_ACEOF
16788 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16789 _ACEOF
16793 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16794 #ifdef HAVE_SYS_SOCKET_H
16795 # include <sys/socket.h>
16796 #endif
16797 #ifdef HAVE_SYS_UN_H
16798 # include <sys/un.h>
16799 #endif
16801 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16803 cat >>confdefs.h <<_ACEOF
16804 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16805 _ACEOF
16809 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16810 #ifdef HAVE_SYS_SOCKET_H
16811 # include <sys/socket.h>
16812 #endif
16813 #ifdef HAVE_SYS_UN_H
16814 # include <sys/un.h>
16815 #endif
16817 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16819 cat >>confdefs.h <<_ACEOF
16820 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16821 _ACEOF
16827 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16828 #ifdef HAVE_SCSI_SG_H
16829 #include <scsi/sg.h>
16830 #endif
16832 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16834 cat >>confdefs.h <<_ACEOF
16835 #define HAVE_SCSIREQ_T_CMD 1
16836 _ACEOF
16840 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>
16841 #ifdef HAVE_SCSI_SG_H
16842 #include <scsi/sg.h>
16843 #endif
16845 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16847 cat >>confdefs.h <<_ACEOF
16848 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16849 _ACEOF
16855 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16857 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16859 cat >>confdefs.h <<_ACEOF
16860 #define HAVE_SIGINFO_T_SI_FD 1
16861 _ACEOF
16867 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16868 #ifdef HAVE_SYS_MTIO_H
16869 #include <sys/mtio.h>
16870 #endif
16872 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16874 cat >>confdefs.h <<_ACEOF
16875 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16876 _ACEOF
16880 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16881 #ifdef HAVE_SYS_MTIO_H
16882 #include <sys/mtio.h>
16883 #endif
16885 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16887 cat >>confdefs.h <<_ACEOF
16888 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16889 _ACEOF
16893 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16894 #ifdef HAVE_SYS_MTIO_H
16895 #include <sys/mtio.h>
16896 #endif
16898 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16900 cat >>confdefs.h <<_ACEOF
16901 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16902 _ACEOF
16908 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16909 #include <getopt.h>
16910 #endif
16912 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16914 cat >>confdefs.h <<_ACEOF
16915 #define HAVE_STRUCT_OPTION_NAME 1
16916 _ACEOF
16922 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16923 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16925 cat >>confdefs.h <<_ACEOF
16926 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16927 _ACEOF
16931 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16932 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16934 cat >>confdefs.h <<_ACEOF
16935 #define HAVE_STRUCT_STAT_ST_MTIM 1
16936 _ACEOF
16940 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16941 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16943 cat >>confdefs.h <<_ACEOF
16944 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16945 _ACEOF
16949 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16950 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16952 cat >>confdefs.h <<_ACEOF
16953 #define HAVE_STRUCT_STAT_ST_CTIM 1
16954 _ACEOF
16958 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16959 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16961 cat >>confdefs.h <<_ACEOF
16962 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16963 _ACEOF
16967 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16968 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16970 cat >>confdefs.h <<_ACEOF
16971 #define HAVE_STRUCT_STAT_ST_ATIM 1
16972 _ACEOF
16976 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16977 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16979 cat >>confdefs.h <<_ACEOF
16980 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16981 _ACEOF
16985 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16986 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16988 cat >>confdefs.h <<_ACEOF
16989 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16990 _ACEOF
16994 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16995 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16997 cat >>confdefs.h <<_ACEOF
16998 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16999 _ACEOF
17003 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17004 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17006 cat >>confdefs.h <<_ACEOF
17007 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17008 _ACEOF
17012 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17013 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17015 cat >>confdefs.h <<_ACEOF
17016 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17017 _ACEOF
17021 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17022 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17024 cat >>confdefs.h <<_ACEOF
17025 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17026 _ACEOF
17032 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
17033 #include <sys/types.h>
17034 #endif
17035 #ifdef HAVE_NETINET_IN_H
17036 #include <netinet/in.h>
17037 #endif
17039 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17041 cat >>confdefs.h <<_ACEOF
17042 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17043 _ACEOF
17049 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17050 #include <sys/types.h>
17051 #endif
17052 #ifdef HAVE_NETINET_IN_H
17053 #include <netinet/in.h>
17054 #endif
17055 #ifdef HAVE_RESOLV_H
17056 #include <resolv.h>
17057 #endif
17059 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17061 cat >>confdefs.h <<_ACEOF
17062 #define HAVE_STRUCT___RES_STATE 1
17063 _ACEOF
17069 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
17070 #include <resolv.h>
17071 #endif
17073 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17075 cat >>confdefs.h <<_ACEOF
17076 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17077 _ACEOF
17083 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17084 #include <sys/types.h>
17085 #endif
17086 #ifdef HAVE_NETINET_IN_H
17087 # include <netinet/in.h>
17088 #endif
17089 #ifdef HAVE_ARPA_NAMESER_H
17090 # include <arpa/nameser.h>
17091 #endif
17093 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17095 cat >>confdefs.h <<_ACEOF
17096 #define HAVE_NS_MSG__MSG_PTR 1
17097 _ACEOF
17103 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17104 #include <sys/types.h>
17105 #endif
17106 #ifdef HAVE_NETINET_IN_H
17107 #include <netinet/in.h>
17108 #endif
17109 #ifdef HAVE_NETINET_IP_H
17110 #include <netinet/ip.h>
17111 #endif
17112 #ifdef HAVE_NETINET_IP_ICMP_H
17113 #include <netinet/ip_icmp.h>
17114 #endif
17115 #ifdef HAVE_NETINET_ICMP_VAR_H
17116 #include <netinet/icmp_var.h>
17117 #endif
17119 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17121 cat >>confdefs.h <<_ACEOF
17122 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17123 _ACEOF
17129 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17130 #include <sys/types.h>
17131 #endif
17132 #ifdef HAVE_ALIAS_H
17133 #include <alias.h>
17134 #endif
17135 #ifdef HAVE_SYS_SOCKET_H
17136 #include <sys/socket.h>
17137 #endif
17138 #ifdef HAVE_SYS_SOCKETVAR_H
17139 #include <sys/socketvar.h>
17140 #endif
17141 #ifdef HAVE_SYS_TIMEOUT_H
17142 #include <sys/timeout.h>
17143 #endif
17144 #ifdef HAVE_NETINET_IN_H
17145 #include <netinet/in.h>
17146 #endif
17147 #ifdef HAVE_NETINET_IN_SYSTM_H
17148 #include <netinet/in_systm.h>
17149 #endif
17150 #ifdef HAVE_NETINET_IP_H
17151 #include <netinet/ip.h>
17152 #endif
17153 #ifdef HAVE_NETINET_IP_VAR_H
17154 #include <netinet/ip_var.h>
17155 #endif
17156 #ifdef HAVE_NETINET_IP_ICMP_H
17157 #include <netinet/ip_icmp.h>
17158 #endif
17159 #ifdef HAVE_NETINET_ICMP_VAR_H
17160 #include <netinet/icmp_var.h>
17161 #endif
17163 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17165 cat >>confdefs.h <<_ACEOF
17166 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17167 _ACEOF
17173 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17174 #include <sys/types.h>
17175 #endif
17176 #ifdef HAVE_SYS_SOCKETVAR_H
17177 #include <sys/socketvar.h>
17178 #endif
17179 #ifdef HAVE_NETINET_IN_H
17180 #include <netinet/in.h>
17181 #endif
17182 #ifdef HAVE_NETINET_IP_VAR_H
17183 #include <netinet/ip_var.h>
17184 #endif
17186 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17188 cat >>confdefs.h <<_ACEOF
17189 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17190 _ACEOF
17196 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
17197 #include <netinet/ip_var.h>
17198 #endif
17200 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17202 cat >>confdefs.h <<_ACEOF
17203 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17204 _ACEOF
17210 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17211 #include <sys/types.h>
17212 #endif
17213 #ifdef HAVE_SYS_SOCKETVAR_H
17214 #include <sys/socketvar.h>
17215 #endif
17216 #ifdef HAVE_NETINET_IN_H
17217 #include <netinet/in.h>
17218 #endif
17219 #ifdef HAVE_NETINET_TCP_H
17220 #include <netinet/tcp.h>
17221 #endif
17222 #ifdef HAVE_NETINET_TCP_VAR_H
17223 #include <netinet/tcp_var.h>
17224 #endif
17226 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17228 cat >>confdefs.h <<_ACEOF
17229 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17230 _ACEOF
17236 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
17237 #include <netinet/tcp_var.h>
17238 #endif
17240 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17242 cat >>confdefs.h <<_ACEOF
17243 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17244 _ACEOF
17250 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17251 #include <sys/types.h>
17252 #endif
17253 #ifdef HAVE_NETINET_IN_H
17254 #include <netinet/in.h>
17255 #endif
17256 #ifdef HAVE_NETINET_IP_VAR_H
17257 #include <netinet/ip_var.h>
17258 #endif
17259 #ifdef HAVE_NETINET_UDP_H
17260 #include <netinet/udp.h>
17261 #endif
17262 #ifdef HAVE_NETINET_UDP_VAR_H
17263 #include <netinet/udp_var.h>
17264 #endif
17266 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17268 cat >>confdefs.h <<_ACEOF
17269 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17270 _ACEOF
17276 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17277 #include <sys/types.h>
17278 #endif
17279 #ifdef HAVE_NET_IF_H
17280 # include <net/if.h>
17281 #endif
17283 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17285 cat >>confdefs.h <<_ACEOF
17286 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17287 _ACEOF
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17294 $as_echo_n "checking for timezone variable... " >&6; }
17295 if ${ac_cv_have_timezone+:} false; then :
17296 $as_echo_n "(cached) " >&6
17297 else
17298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17299 /* end confdefs.h. */
17300 #include <time.h>
17302 main ()
17304 timezone = 1
17306 return 0;
17308 _ACEOF
17309 if ac_fn_c_try_link "$LINENO"; then :
17310 ac_cv_have_timezone="yes"
17311 else
17312 ac_cv_have_timezone="no"
17314 rm -f core conftest.err conftest.$ac_objext \
17315 conftest$ac_exeext conftest.$ac_ext
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17318 $as_echo "$ac_cv_have_timezone" >&6; }
17319 if test "$ac_cv_have_timezone" = "yes"
17320 then
17322 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17326 $as_echo_n "checking for daylight variable... " >&6; }
17327 if ${ac_cv_have_daylight+:} false; then :
17328 $as_echo_n "(cached) " >&6
17329 else
17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17332 #include <time.h>
17334 main ()
17336 daylight = 1
17338 return 0;
17340 _ACEOF
17341 if ac_fn_c_try_link "$LINENO"; then :
17342 ac_cv_have_daylight="yes"
17343 else
17344 ac_cv_have_daylight="no"
17346 rm -f core conftest.err conftest.$ac_objext \
17347 conftest$ac_exeext conftest.$ac_ext
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17350 $as_echo "$ac_cv_have_daylight" >&6; }
17351 if test "$ac_cv_have_daylight" = "yes"
17352 then
17354 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17358 ac_save_LIBS="$LIBS"
17359 LIBS="$LIBS -lm"
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17361 $as_echo_n "checking for isfinite... " >&6; }
17362 if ${ac_cv_have_isfinite+:} false; then :
17363 $as_echo_n "(cached) " >&6
17364 else
17365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17366 /* end confdefs.h. */
17367 #define _GNU_SOURCE
17368 #include <math.h>
17370 main ()
17372 float f = 0.0; return isfinite(f)
17374 return 0;
17376 _ACEOF
17377 if ac_fn_c_try_link "$LINENO"; then :
17378 ac_cv_have_isfinite="yes"
17379 else
17380 ac_cv_have_isfinite="no"
17382 rm -f core conftest.err conftest.$ac_objext \
17383 conftest$ac_exeext conftest.$ac_ext
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17386 $as_echo "$ac_cv_have_isfinite" >&6; }
17387 if test "$ac_cv_have_isfinite" = "yes"
17388 then
17390 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17395 $as_echo_n "checking for isinf... " >&6; }
17396 if ${ac_cv_have_isinf+:} false; then :
17397 $as_echo_n "(cached) " >&6
17398 else
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17401 #include <math.h>
17403 main ()
17405 float f = 0.0; return isinf(f)
17407 return 0;
17409 _ACEOF
17410 if ac_fn_c_try_link "$LINENO"; then :
17411 ac_cv_have_isinf="yes"
17412 else
17413 ac_cv_have_isinf="no"
17415 rm -f core conftest.err conftest.$ac_objext \
17416 conftest$ac_exeext conftest.$ac_ext
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17419 $as_echo "$ac_cv_have_isinf" >&6; }
17420 if test "$ac_cv_have_isinf" = "yes"
17421 then
17423 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17428 $as_echo_n "checking for isnan... " >&6; }
17429 if ${ac_cv_have_isnan+:} false; then :
17430 $as_echo_n "(cached) " >&6
17431 else
17432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17434 #include <math.h>
17436 main ()
17438 float f = 0.0; return isnan(f)
17440 return 0;
17442 _ACEOF
17443 if ac_fn_c_try_link "$LINENO"; then :
17444 ac_cv_have_isnan="yes"
17445 else
17446 ac_cv_have_isnan="no"
17448 rm -f core conftest.err conftest.$ac_objext \
17449 conftest$ac_exeext conftest.$ac_ext
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17452 $as_echo "$ac_cv_have_isnan" >&6; }
17453 if test "$ac_cv_have_isnan" = "yes"
17454 then
17456 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17460 for ac_func in \
17461 acosh \
17462 acoshf \
17463 asinh \
17464 asinhf \
17465 atanh \
17466 atanhf \
17467 cbrt \
17468 cbrtf \
17469 erf \
17470 erfc \
17471 erfcf \
17472 erff \
17473 exp2 \
17474 exp2f \
17475 expm1 \
17476 expm1f \
17477 lgamma \
17478 lgammaf \
17479 llrint \
17480 llrintf \
17481 llround \
17482 llroundf \
17483 log1p \
17484 log1pf \
17485 log2 \
17486 log2f \
17487 lrint \
17488 lrintf \
17489 lround \
17490 lroundf \
17491 nearbyint \
17492 nearbyintf \
17493 powl \
17494 remainder \
17495 remainderf \
17496 rint \
17497 rintf \
17498 round \
17499 roundf \
17500 trunc \
17501 truncf
17503 do :
17504 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17505 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17506 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17507 cat >>confdefs.h <<_ACEOF
17508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17509 _ACEOF
17512 done
17514 LIBS="$ac_save_LIBS"
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17517 $as_echo_n "checking for __builtin_clz... " >&6; }
17518 if ${ac_cv_have___builtin_clz+:} false; then :
17519 $as_echo_n "(cached) " >&6
17520 else
17521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17522 /* end confdefs.h. */
17525 main ()
17527 return __builtin_clz(1)
17529 return 0;
17531 _ACEOF
17532 if ac_fn_c_try_link "$LINENO"; then :
17533 ac_cv_have___builtin_clz="yes"
17534 else
17535 ac_cv_have___builtin_clz="no"
17537 rm -f core conftest.err conftest.$ac_objext \
17538 conftest$ac_exeext conftest.$ac_ext
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17541 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17542 if test "$ac_cv_have___builtin_clz" = "yes"
17543 then
17545 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17550 $as_echo_n "checking for __builtin_popcount... " >&6; }
17551 if ${ac_cv_have___builtin_popcount+:} false; then :
17552 $as_echo_n "(cached) " >&6
17553 else
17554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17558 main ()
17560 return __builtin_popcount(1)
17562 return 0;
17564 _ACEOF
17565 if ac_fn_c_try_link "$LINENO"; then :
17566 ac_cv_have___builtin_popcount="yes"
17567 else
17568 ac_cv_have___builtin_popcount="no"
17570 rm -f core conftest.err conftest.$ac_objext \
17571 conftest$ac_exeext conftest.$ac_ext
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17574 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17575 if test "$ac_cv_have___builtin_popcount" = "yes"
17576 then
17578 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17583 case $host_cpu in
17584 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17585 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17586 if ${ac_cv_cpp_def___i386__+:} false; then :
17587 $as_echo_n "(cached) " >&6
17588 else
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17591 #ifndef __i386__
17593 #endif
17594 _ACEOF
17595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17596 $EGREP "yes" >/dev/null 2>&1; then :
17597 ac_cv_cpp_def___i386__=yes
17598 else
17599 ac_cv_cpp_def___i386__=no
17601 rm -f conftest*
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17605 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17606 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17607 CFLAGS="$CFLAGS -D__i386__"
17608 LINTFLAGS="$LINTFLAGS -D__i386__"
17609 fi ;;
17610 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17611 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17612 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17613 $as_echo_n "(cached) " >&6
17614 else
17615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17616 /* end confdefs.h. */
17617 #ifndef __x86_64__
17619 #endif
17620 _ACEOF
17621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17622 $EGREP "yes" >/dev/null 2>&1; then :
17623 ac_cv_cpp_def___x86_64__=yes
17624 else
17625 ac_cv_cpp_def___x86_64__=no
17627 rm -f conftest*
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17631 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17632 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17633 CFLAGS="$CFLAGS -D__x86_64__"
17634 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17635 fi ;;
17636 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17637 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17638 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17639 $as_echo_n "(cached) " >&6
17640 else
17641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h. */
17643 #ifndef __sparc64__
17645 #endif
17646 _ACEOF
17647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17648 $EGREP "yes" >/dev/null 2>&1; then :
17649 ac_cv_cpp_def___sparc64__=yes
17650 else
17651 ac_cv_cpp_def___sparc64__=no
17653 rm -f conftest*
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17657 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17658 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17659 CFLAGS="$CFLAGS -D__sparc64__"
17660 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17661 fi ;;
17662 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17663 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17664 if ${ac_cv_cpp_def___sparc__+:} false; then :
17665 $as_echo_n "(cached) " >&6
17666 else
17667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17668 /* end confdefs.h. */
17669 #ifndef __sparc__
17671 #endif
17672 _ACEOF
17673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17674 $EGREP "yes" >/dev/null 2>&1; then :
17675 ac_cv_cpp_def___sparc__=yes
17676 else
17677 ac_cv_cpp_def___sparc__=no
17679 rm -f conftest*
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17683 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17684 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17685 CFLAGS="$CFLAGS -D__sparc__"
17686 LINTFLAGS="$LINTFLAGS -D__sparc__"
17687 fi ;;
17688 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17689 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17690 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17691 $as_echo_n "(cached) " >&6
17692 else
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17695 #ifndef __powerpc64__
17697 #endif
17698 _ACEOF
17699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17700 $EGREP "yes" >/dev/null 2>&1; then :
17701 ac_cv_cpp_def___powerpc64__=yes
17702 else
17703 ac_cv_cpp_def___powerpc64__=no
17705 rm -f conftest*
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17709 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17710 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17711 CFLAGS="$CFLAGS -D__powerpc64__"
17712 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17713 fi ;;
17714 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17715 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17716 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17717 $as_echo_n "(cached) " >&6
17718 else
17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17721 #ifndef __powerpc__
17723 #endif
17724 _ACEOF
17725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17726 $EGREP "yes" >/dev/null 2>&1; then :
17727 ac_cv_cpp_def___powerpc__=yes
17728 else
17729 ac_cv_cpp_def___powerpc__=no
17731 rm -f conftest*
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17735 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17736 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17737 CFLAGS="$CFLAGS -D__powerpc__"
17738 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17739 fi ;;
17740 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17741 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17742 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17743 $as_echo_n "(cached) " >&6
17744 else
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17747 #ifndef __aarch64__
17749 #endif
17750 _ACEOF
17751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17752 $EGREP "yes" >/dev/null 2>&1; then :
17753 ac_cv_cpp_def___aarch64__=yes
17754 else
17755 ac_cv_cpp_def___aarch64__=no
17757 rm -f conftest*
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17761 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17762 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17763 CFLAGS="$CFLAGS -D__aarch64__"
17764 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17765 fi ;;
17766 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17767 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17768 if ${ac_cv_cpp_def___arm__+:} false; then :
17769 $as_echo_n "(cached) " >&6
17770 else
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17773 #ifndef __arm__
17775 #endif
17776 _ACEOF
17777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17778 $EGREP "yes" >/dev/null 2>&1; then :
17779 ac_cv_cpp_def___arm__=yes
17780 else
17781 ac_cv_cpp_def___arm__=no
17783 rm -f conftest*
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17787 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17788 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17789 CFLAGS="$CFLAGS -D__arm__"
17790 LINTFLAGS="$LINTFLAGS -D__arm__"
17791 fi ;;
17792 esac
17794 case $host_vendor in
17795 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17796 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17797 if ${ac_cv_cpp_def___sun__+:} false; then :
17798 $as_echo_n "(cached) " >&6
17799 else
17800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17802 #ifndef __sun__
17804 #endif
17805 _ACEOF
17806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17807 $EGREP "yes" >/dev/null 2>&1; then :
17808 ac_cv_cpp_def___sun__=yes
17809 else
17810 ac_cv_cpp_def___sun__=no
17812 rm -f conftest*
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17816 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17817 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17818 CFLAGS="$CFLAGS -D__sun__"
17819 LINTFLAGS="$LINTFLAGS -D__sun__"
17820 fi ;;
17821 esac
17827 ac_config_commands="$ac_config_commands include/stamp-h"
17829 $as_echo_n "creating Makefile rules..." >&6
17831 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17832 SOCKET_LIBS = $SOCKET_LIBS
17833 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17834 IOKIT_LIBS = $IOKIT_LIBS
17835 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17836 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17837 CORESERVICES_LIBS = $CORESERVICES_LIBS
17838 APPKIT_LIBS = $APPKIT_LIBS
17839 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17840 SECURITY_LIBS = $SECURITY_LIBS
17841 COREAUDIO_LIBS = $COREAUDIO_LIBS
17842 OPENAL_LIBS = $OPENAL_LIBS
17843 OPENCL_LIBS = $OPENCL_LIBS
17844 QUICKTIME_LIBS = $QUICKTIME_LIBS
17845 CARBON_LIBS = $CARBON_LIBS
17846 PTHREAD_LIBS = $PTHREAD_LIBS
17847 X_CFLAGS = $X_CFLAGS
17848 X_PRE_LIBS = $X_PRE_LIBS
17849 X_LIBS = $X_LIBS
17850 X_EXTRA_LIBS = $X_EXTRA_LIBS
17851 PCAP_LIBS = $PCAP_LIBS
17852 XML2_CFLAGS = $XML2_CFLAGS
17853 XML2_LIBS = $XML2_LIBS
17854 XSLT_CFLAGS = $XSLT_CFLAGS
17855 XSLT_LIBS = $XSLT_LIBS
17856 DBUS_CFLAGS = $DBUS_CFLAGS
17857 DBUS_LIBS = $DBUS_LIBS
17858 HAL_CFLAGS = $HAL_CFLAGS
17859 HAL_LIBS = $HAL_LIBS
17860 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17861 GNUTLS_LIBS = $GNUTLS_LIBS
17862 SANE_CFLAGS = $SANE_CFLAGS
17863 SANE_LIBS = $SANE_LIBS
17864 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17865 GPHOTO2_LIBS = $GPHOTO2_LIBS
17866 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17867 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17868 RESOLV_LIBS = $RESOLV_LIBS
17869 LCMS2_CFLAGS = $LCMS2_CFLAGS
17870 LCMS2_LIBS = $LCMS2_LIBS
17871 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17872 FREETYPE_LIBS = $FREETYPE_LIBS
17873 Z_LIBS = $Z_LIBS
17874 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17875 PULSE_CFLAGS = $PULSE_CFLAGS
17876 PULSE_LIBS = $PULSE_LIBS
17877 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17878 GSTREAMER_LIBS = $GSTREAMER_LIBS
17879 ALSA_LIBS = $ALSA_LIBS
17880 OSS4_CFLAGS = $OSS4_CFLAGS
17881 UDEV_CFLAGS = $UDEV_CFLAGS
17882 UDEV_LIBS = $UDEV_LIBS
17883 CAPI20_CFLAGS = $CAPI20_CFLAGS
17884 CAPI20_LIBS = $CAPI20_LIBS
17885 CUPS_CFLAGS = $CUPS_CFLAGS
17886 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17887 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17888 JPEG_CFLAGS = $JPEG_CFLAGS
17889 JPEG_LIBS = $JPEG_LIBS
17890 PNG_CFLAGS = $PNG_CFLAGS
17891 PNG_LIBS = $PNG_LIBS
17892 TIFF_CFLAGS = $TIFF_CFLAGS
17893 TIFF_LIBS = $TIFF_LIBS
17894 MPG123_CFLAGS = $MPG123_CFLAGS
17895 MPG123_LIBS = $MPG123_LIBS
17896 KSTAT_LIBS = $KSTAT_LIBS
17897 PROCSTAT_LIBS = $PROCSTAT_LIBS
17898 NETAPI_CFLAGS = $NETAPI_CFLAGS
17899 NETAPI_LIBS = $NETAPI_LIBS
17900 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17901 DL_LIBS = $DL_LIBS
17902 POLL_LIBS = $POLL_LIBS
17903 RT_LIBS = $RT_LIBS
17904 LDAP_CFLAGS = $LDAP_CFLAGS
17905 LDAP_LIBS = $LDAP_LIBS
17910 wine_fn_append_rule "
17911 # Rules automatically generated by configure
17913 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17915 .INIT: Makefile
17916 .MAKEFILEDEPS:
17917 all: Makefile
17918 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17919 @./config.status Make.tmp Makefile
17920 depend: \$(MAKEDEP) dummy
17921 \$(MAKEDEP)"
17923 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17924 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17926 if test "x$enable_fonts" != xno; then
17927 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17928 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17929 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17930 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17931 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17932 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17934 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17935 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17936 ac_config_links="$ac_config_links wine:tools/winewrapper"
17937 wine_fn_config_symlink wine
17938 if test "x$enable_win64" != xno; then
17939 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17940 wine_fn_config_symlink wine64
17943 wine_fn_config_dll acledit enable_acledit
17944 wine_fn_config_dll aclui enable_aclui implib
17945 wine_fn_config_dll activeds enable_activeds implib
17946 wine_fn_config_dll actxprxy enable_actxprxy clean
17947 wine_fn_config_lib adsiid
17948 wine_fn_config_dll adsldpc enable_adsldpc
17949 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17950 wine_fn_config_test dlls/advapi32/tests advapi32_test
17951 wine_fn_config_dll advpack enable_advpack implib
17952 wine_fn_config_test dlls/advpack/tests advpack_test
17953 wine_fn_config_dll amstream enable_amstream clean
17954 wine_fn_config_test dlls/amstream/tests amstream_test
17955 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17956 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17957 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
17958 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17959 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17960 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17961 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17965 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17966 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17968 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17969 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17970 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17971 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17972 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17973 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17974 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17975 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17976 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17977 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17978 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17979 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
17980 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17981 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17982 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17983 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17984 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17985 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17986 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17987 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
17988 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17991 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
17992 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17993 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17994 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17995 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17996 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17997 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17998 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17999 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18000 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18001 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18002 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18003 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18004 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18005 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18006 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18007 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18008 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18009 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18010 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18011 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18012 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18013 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18014 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18015 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18016 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18017 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18018 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18019 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18020 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18021 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18022 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18023 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18024 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18025 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18026 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18027 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18028 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18029 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18030 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18031 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18032 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18033 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18034 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18035 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18036 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18037 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18038 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18039 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18040 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18041 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18042 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18043 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18044 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18045 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18046 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18047 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18048 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18049 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18050 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18051 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18052 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18053 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18054 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18055 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18056 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18057 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18058 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18059 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18060 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18061 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18062 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18063 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18064 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18065 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18066 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18067 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18068 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18069 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18070 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18071 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18072 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18073 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18074 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18075 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18076 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18077 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18078 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18079 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18080 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18081 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18082 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18083 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18084 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18085 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18086 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18087 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18088 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18089 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18090 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18091 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18092 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18093 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18094 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18095 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18096 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18097 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18098 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18099 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18100 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18101 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18102 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18103 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18104 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18105 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18106 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18107 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18108 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18109 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18110 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18111 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18112 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18113 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18114 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18115 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18116 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18117 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18118 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18119 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18120 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18121 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18122 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18123 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18124 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18125 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18126 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18127 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18128 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18129 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18130 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18131 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18132 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18133 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18134 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18135 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18136 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18137 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18138 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18139 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18140 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18141 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18142 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18143 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18144 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18145 wine_fn_config_dll apphelp enable_apphelp
18146 wine_fn_config_test dlls/apphelp/tests apphelp_test
18147 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18148 wine_fn_config_dll atl enable_atl clean,implib
18149 wine_fn_config_test dlls/atl/tests atl_test
18150 wine_fn_config_dll atl100 enable_atl100 clean,implib
18151 wine_fn_config_test dlls/atl100/tests atl100_test
18152 wine_fn_config_dll atl110 enable_atl110 clean
18153 wine_fn_config_dll atl80 enable_atl80 clean,implib
18154 wine_fn_config_test dlls/atl80/tests atl80_test
18155 wine_fn_config_dll atl90 enable_atl90 clean
18156 wine_fn_config_dll authz enable_authz
18157 wine_fn_config_dll avicap32 enable_avicap32 implib
18158 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18159 wine_fn_config_test dlls/avifil32/tests avifil32_test
18160 wine_fn_config_dll avifile.dll16 enable_win16
18161 wine_fn_config_dll avrt enable_avrt implib
18162 wine_fn_config_dll bcrypt enable_bcrypt implib
18163 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18164 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18165 wine_fn_config_dll browseui enable_browseui clean
18166 wine_fn_config_test dlls/browseui/tests browseui_test
18167 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18168 wine_fn_config_dll cabinet enable_cabinet implib
18169 wine_fn_config_test dlls/cabinet/tests cabinet_test
18170 wine_fn_config_dll capi2032 enable_capi2032 implib
18171 wine_fn_config_dll cards enable_cards implib
18172 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18173 wine_fn_config_dll clusapi enable_clusapi implib
18174 wine_fn_config_dll combase enable_combase
18175 wine_fn_config_test dlls/combase/tests combase_test
18176 wine_fn_config_dll comcat enable_comcat
18177 wine_fn_config_test dlls/comcat/tests comcat_test
18178 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18179 wine_fn_config_test dlls/comctl32/tests comctl32_test
18180 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18181 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18182 wine_fn_config_dll comm.drv16 enable_win16
18183 wine_fn_config_dll commdlg.dll16 enable_win16
18184 wine_fn_config_dll compobj.dll16 enable_win16
18185 wine_fn_config_dll compstui enable_compstui implib
18186 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18187 wine_fn_config_dll concrt140 enable_concrt140
18188 wine_fn_config_dll connect enable_connect
18189 wine_fn_config_dll credui enable_credui clean,implib
18190 wine_fn_config_test dlls/credui/tests credui_test
18191 wine_fn_config_dll crtdll enable_crtdll
18192 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18193 wine_fn_config_test dlls/crypt32/tests crypt32_test
18194 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18195 wine_fn_config_dll cryptdll enable_cryptdll implib
18196 wine_fn_config_dll cryptext enable_cryptext
18197 wine_fn_config_dll cryptnet enable_cryptnet implib
18198 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18199 wine_fn_config_dll cryptui enable_cryptui clean,implib
18200 wine_fn_config_test dlls/cryptui/tests cryptui_test
18201 wine_fn_config_dll ctapi32 enable_ctapi32
18202 wine_fn_config_dll ctl3d.dll16 enable_win16
18203 wine_fn_config_dll ctl3d32 enable_ctl3d32
18204 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18205 wine_fn_config_dll d2d1 enable_d2d1 implib
18206 wine_fn_config_test dlls/d2d1/tests d2d1_test
18207 wine_fn_config_dll d3d10 enable_d3d10 implib
18208 wine_fn_config_test dlls/d3d10/tests d3d10_test
18209 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18210 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18211 wine_fn_config_dll d3d10core enable_d3d10core implib
18212 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18213 wine_fn_config_dll d3d11 enable_d3d11 implib
18214 wine_fn_config_test dlls/d3d11/tests d3d11_test
18215 wine_fn_config_dll d3d8 enable_d3d8 implib
18216 wine_fn_config_test dlls/d3d8/tests d3d8_test
18217 wine_fn_config_dll d3d9 enable_d3d9 implib
18218 wine_fn_config_test dlls/d3d9/tests d3d9_test
18219 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18220 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18221 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18222 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18223 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18224 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18225 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18226 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18227 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18228 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18229 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18230 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18231 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18232 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18233 wine_fn_config_dll d3dim enable_d3dim
18234 wine_fn_config_dll d3drm enable_d3drm implib
18235 wine_fn_config_test dlls/d3drm/tests d3drm_test
18236 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18237 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18238 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18239 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18240 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18241 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18242 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18243 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18244 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18245 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18246 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18247 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18248 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18249 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18250 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18251 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18252 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18253 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18254 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18255 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18256 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18257 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18258 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18259 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18260 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18261 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18262 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18263 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18264 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18265 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18266 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18267 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18268 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18269 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18270 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18271 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18272 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18273 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18274 wine_fn_config_dll davclnt enable_davclnt
18275 wine_fn_config_dll dbgeng enable_dbgeng implib
18276 wine_fn_config_dll dbghelp enable_dbghelp implib
18277 wine_fn_config_dll dciman32 enable_dciman32 implib
18278 wine_fn_config_dll ddeml.dll16 enable_win16
18279 wine_fn_config_dll ddraw enable_ddraw clean,implib
18280 wine_fn_config_test dlls/ddraw/tests ddraw_test
18281 wine_fn_config_dll ddrawex enable_ddrawex clean
18282 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18283 wine_fn_config_dll devenum enable_devenum clean
18284 wine_fn_config_test dlls/devenum/tests devenum_test
18285 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18286 wine_fn_config_dll difxapi enable_difxapi
18287 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18288 wine_fn_config_test dlls/dinput/tests dinput_test
18289 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18290 wine_fn_config_test dlls/dinput8/tests dinput8_test
18291 wine_fn_config_dll dispdib.dll16 enable_win16
18292 wine_fn_config_dll dispex enable_dispex clean
18293 wine_fn_config_test dlls/dispex/tests dispex_test
18294 wine_fn_config_dll display.drv16 enable_win16
18295 wine_fn_config_dll dmband enable_dmband clean
18296 wine_fn_config_test dlls/dmband/tests dmband_test
18297 wine_fn_config_dll dmcompos enable_dmcompos clean
18298 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18299 wine_fn_config_dll dmime enable_dmime clean
18300 wine_fn_config_test dlls/dmime/tests dmime_test
18301 wine_fn_config_dll dmloader enable_dmloader clean
18302 wine_fn_config_test dlls/dmloader/tests dmloader_test
18303 wine_fn_config_dll dmscript enable_dmscript clean
18304 wine_fn_config_test dlls/dmscript/tests dmscript_test
18305 wine_fn_config_dll dmstyle enable_dmstyle clean
18306 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18307 wine_fn_config_dll dmsynth enable_dmsynth clean
18308 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18309 wine_fn_config_dll dmusic enable_dmusic clean
18310 wine_fn_config_test dlls/dmusic/tests dmusic_test
18311 wine_fn_config_dll dmusic32 enable_dmusic32
18312 wine_fn_config_dll dnsapi enable_dnsapi implib
18313 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18314 wine_fn_config_dll dplay enable_dplay
18315 wine_fn_config_dll dplayx enable_dplayx clean,implib
18316 wine_fn_config_test dlls/dplayx/tests dplayx_test
18317 wine_fn_config_dll dpnaddr enable_dpnaddr
18318 wine_fn_config_dll dpnet enable_dpnet clean,implib
18319 wine_fn_config_test dlls/dpnet/tests dpnet_test
18320 wine_fn_config_dll dpnhpast enable_dpnhpast
18321 wine_fn_config_dll dpnlobby enable_dpnlobby
18322 wine_fn_config_dll dpvoice enable_dpvoice clean
18323 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18324 wine_fn_config_dll dpwsockx enable_dpwsockx
18325 wine_fn_config_dll drmclien enable_drmclien
18326 wine_fn_config_dll dsound enable_dsound clean,implib
18327 wine_fn_config_test dlls/dsound/tests dsound_test
18328 wine_fn_config_dll dsquery enable_dsquery clean
18329 wine_fn_config_dll dssenh enable_dssenh
18330 wine_fn_config_test dlls/dssenh/tests dssenh_test
18331 wine_fn_config_dll dswave enable_dswave clean
18332 wine_fn_config_test dlls/dswave/tests dswave_test
18333 wine_fn_config_dll dwmapi enable_dwmapi implib
18334 wine_fn_config_dll dwrite enable_dwrite implib
18335 wine_fn_config_test dlls/dwrite/tests dwrite_test
18336 wine_fn_config_dll dx8vb enable_dx8vb
18337 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18338 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18339 wine_fn_config_lib dxerr8
18340 wine_fn_config_lib dxerr9
18341 wine_fn_config_dll dxgi enable_dxgi implib
18342 wine_fn_config_test dlls/dxgi/tests dxgi_test
18343 wine_fn_config_lib dxguid
18344 wine_fn_config_dll dxva2 enable_dxva2
18345 wine_fn_config_dll esent enable_esent
18346 wine_fn_config_dll evr enable_evr clean
18347 wine_fn_config_test dlls/evr/tests evr_test
18348 wine_fn_config_dll explorerframe enable_explorerframe clean
18349 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18350 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18351 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18352 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18353 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18354 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18355 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18356 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18357 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18358 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18359 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18360 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18361 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18362 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18363 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18364 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18365 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18366 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18367 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18368 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
18369 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18370 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18371 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18372 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18373 wine_fn_config_dll faultrep enable_faultrep implib
18374 wine_fn_config_test dlls/faultrep/tests faultrep_test
18375 wine_fn_config_dll fltlib enable_fltlib
18376 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18377 wine_fn_config_dll fntcache enable_fntcache
18378 wine_fn_config_dll fontsub enable_fontsub
18379 wine_fn_config_dll fusion enable_fusion
18380 wine_fn_config_test dlls/fusion/tests fusion_test
18381 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18382 wine_fn_config_dll gameux enable_gameux clean
18383 wine_fn_config_test dlls/gameux/tests gameux_test
18384 wine_fn_config_dll gdi.exe16 enable_win16
18385 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18386 wine_fn_config_test dlls/gdi32/tests gdi32_test
18387 wine_fn_config_dll gdiplus enable_gdiplus implib
18388 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18389 wine_fn_config_dll glu32 enable_glu32 implib
18390 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18391 wine_fn_config_dll gpkcsp enable_gpkcsp
18392 wine_fn_config_dll hal enable_hal
18393 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18394 wine_fn_config_dll hid enable_hid implib
18395 wine_fn_config_test dlls/hid/tests hid_test
18396 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18397 wine_fn_config_dll hlink enable_hlink clean,implib
18398 wine_fn_config_test dlls/hlink/tests hlink_test
18399 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18400 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18401 wine_fn_config_dll httpapi enable_httpapi
18402 wine_fn_config_dll iccvid enable_iccvid clean
18403 wine_fn_config_dll icmp enable_icmp
18404 wine_fn_config_dll ieframe enable_ieframe clean,implib
18405 wine_fn_config_test dlls/ieframe/tests ieframe_test
18406 wine_fn_config_dll ieproxy enable_ieproxy clean
18407 wine_fn_config_dll ifsmgr.vxd enable_win16
18408 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18409 wine_fn_config_dll imagehlp enable_imagehlp implib
18410 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18411 wine_fn_config_dll imm.dll16 enable_win16
18412 wine_fn_config_dll imm32 enable_imm32 implib
18413 wine_fn_config_test dlls/imm32/tests imm32_test
18414 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18415 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18416 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18417 wine_fn_config_dll inetmib1 enable_inetmib1
18418 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18419 wine_fn_config_dll infosoft enable_infosoft clean
18420 wine_fn_config_test dlls/infosoft/tests infosoft_test
18421 wine_fn_config_dll initpki enable_initpki
18422 wine_fn_config_dll inkobj enable_inkobj
18423 wine_fn_config_dll inseng enable_inseng clean
18424 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18425 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18426 wine_fn_config_dll iprop enable_iprop
18427 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18428 wine_fn_config_dll itircl enable_itircl
18429 wine_fn_config_dll itss enable_itss clean
18430 wine_fn_config_test dlls/itss/tests itss_test
18431 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18432 wine_fn_config_dll jscript enable_jscript clean
18433 wine_fn_config_test dlls/jscript/tests jscript_test
18434 wine_fn_config_dll jsproxy enable_jsproxy implib
18435 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18436 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18437 wine_fn_config_test dlls/kernel32/tests kernel32_test
18438 wine_fn_config_dll kernelbase enable_kernelbase
18439 wine_fn_config_dll keyboard.drv16 enable_win16
18440 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18441 wine_fn_config_dll ksuser enable_ksuser
18442 wine_fn_config_dll ktmw32 enable_ktmw32
18443 wine_fn_config_dll loadperf enable_loadperf implib
18444 wine_fn_config_dll localspl enable_localspl clean
18445 wine_fn_config_test dlls/localspl/tests localspl_test
18446 wine_fn_config_dll localui enable_localui clean
18447 wine_fn_config_test dlls/localui/tests localui_test
18448 wine_fn_config_dll lz32 enable_lz32 implib
18449 wine_fn_config_test dlls/lz32/tests lz32_test
18450 wine_fn_config_dll lzexpand.dll16 enable_win16
18451 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18452 wine_fn_config_test dlls/mapi32/tests mapi32_test
18453 wine_fn_config_dll mapistub enable_mapistub
18454 wine_fn_config_dll mciavi32 enable_mciavi32
18455 wine_fn_config_dll mcicda enable_mcicda
18456 wine_fn_config_dll mciqtz32 enable_mciqtz32
18457 wine_fn_config_dll mciseq enable_mciseq
18458 wine_fn_config_dll mciwave enable_mciwave
18459 wine_fn_config_dll mf enable_mf implib
18460 wine_fn_config_test dlls/mf/tests mf_test
18461 wine_fn_config_dll mf3216 enable_mf3216
18462 wine_fn_config_dll mfplat enable_mfplat implib
18463 wine_fn_config_test dlls/mfplat/tests mfplat_test
18464 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18465 wine_fn_config_lib mfuuid
18466 wine_fn_config_dll mgmtapi enable_mgmtapi
18467 wine_fn_config_dll midimap enable_midimap
18468 wine_fn_config_dll mlang enable_mlang clean,implib
18469 wine_fn_config_test dlls/mlang/tests mlang_test
18470 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18471 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18472 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18473 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18474 wine_fn_config_dll mmdevldr.vxd enable_win16
18475 wine_fn_config_dll mmsystem.dll16 enable_win16
18476 wine_fn_config_dll monodebg.vxd enable_win16
18477 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18478 wine_fn_config_dll mouse.drv16 enable_win16
18479 wine_fn_config_dll mpr enable_mpr clean,implib
18480 wine_fn_config_test dlls/mpr/tests mpr_test
18481 wine_fn_config_dll mprapi enable_mprapi implib
18482 wine_fn_config_dll msacm.dll16 enable_win16
18483 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18484 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18485 wine_fn_config_test dlls/msacm32/tests msacm32_test
18486 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18487 wine_fn_config_dll msasn1 enable_msasn1 implib
18488 wine_fn_config_dll mscat32 enable_mscat32
18489 wine_fn_config_dll mscms enable_mscms implib
18490 wine_fn_config_test dlls/mscms/tests mscms_test
18491 wine_fn_config_dll mscoree enable_mscoree clean
18492 wine_fn_config_test dlls/mscoree/tests mscoree_test
18493 wine_fn_config_dll msctf enable_msctf clean
18494 wine_fn_config_test dlls/msctf/tests msctf_test
18495 wine_fn_config_dll msctfp enable_msctfp clean
18496 wine_fn_config_dll msdaps enable_msdaps clean
18497 wine_fn_config_dll msdelta enable_msdelta
18498 wine_fn_config_dll msdmo enable_msdmo implib
18499 wine_fn_config_test dlls/msdmo/tests msdmo_test
18500 wine_fn_config_dll msdrm enable_msdrm
18501 wine_fn_config_dll msftedit enable_msftedit
18502 wine_fn_config_dll msg711.acm enable_msg711_acm
18503 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18504 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18505 wine_fn_config_dll mshtml enable_mshtml clean,implib
18506 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18507 wine_fn_config_dll msi enable_msi clean,implib
18508 wine_fn_config_test dlls/msi/tests msi_test
18509 wine_fn_config_dll msident enable_msident clean
18510 wine_fn_config_dll msimg32 enable_msimg32 implib
18511 wine_fn_config_dll msimsg enable_msimsg
18512 wine_fn_config_dll msimtf enable_msimtf clean
18513 wine_fn_config_dll msisip enable_msisip
18514 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18515 wine_fn_config_dll msls31 enable_msls31
18516 wine_fn_config_dll msnet32 enable_msnet32
18517 wine_fn_config_dll mspatcha enable_mspatcha implib
18518 wine_fn_config_dll msports enable_msports
18519 wine_fn_config_dll msrle32 enable_msrle32 clean
18520 wine_fn_config_test dlls/msrle32/tests msrle32_test
18521 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18522 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18523 wine_fn_config_dll mssign32 enable_mssign32
18524 wine_fn_config_dll mssip32 enable_mssip32
18525 wine_fn_config_dll mstask enable_mstask clean
18526 wine_fn_config_test dlls/mstask/tests mstask_test
18527 wine_fn_config_dll msvcirt enable_msvcirt
18528 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18529 wine_fn_config_dll msvcm80 enable_msvcm80
18530 wine_fn_config_dll msvcm90 enable_msvcm90
18531 wine_fn_config_dll msvcp100 enable_msvcp100
18532 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18533 wine_fn_config_dll msvcp110 enable_msvcp110
18534 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18535 wine_fn_config_dll msvcp120 enable_msvcp120
18536 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18537 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18538 wine_fn_config_dll msvcp140 enable_msvcp140
18539 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18540 wine_fn_config_dll msvcp60 enable_msvcp60
18541 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18542 wine_fn_config_dll msvcp70 enable_msvcp70
18543 wine_fn_config_dll msvcp71 enable_msvcp71
18544 wine_fn_config_dll msvcp80 enable_msvcp80
18545 wine_fn_config_dll msvcp90 enable_msvcp90
18546 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18547 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18548 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18549 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18550 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18551 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18552 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18553 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18554 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18555 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18556 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18557 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18558 wine_fn_config_dll msvcrt enable_msvcrt implib
18559 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18560 wine_fn_config_dll msvcrt20 enable_msvcrt20
18561 wine_fn_config_dll msvcrt40 enable_msvcrt40
18562 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18563 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18564 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18565 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18566 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18567 wine_fn_config_dll msvideo.dll16 enable_win16
18568 wine_fn_config_dll mswsock enable_mswsock implib
18569 wine_fn_config_dll msxml enable_msxml clean
18570 wine_fn_config_dll msxml2 enable_msxml2 clean
18571 wine_fn_config_dll msxml3 enable_msxml3 clean
18572 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18573 wine_fn_config_dll msxml4 enable_msxml4 clean
18574 wine_fn_config_dll msxml6 enable_msxml6 clean
18575 wine_fn_config_dll mtxdm enable_mtxdm
18576 wine_fn_config_dll ncrypt enable_ncrypt
18577 wine_fn_config_dll nddeapi enable_nddeapi implib
18578 wine_fn_config_dll ndis.sys enable_ndis_sys
18579 wine_fn_config_dll netapi32 enable_netapi32 implib
18580 wine_fn_config_test dlls/netapi32/tests netapi32_test
18581 wine_fn_config_dll netcfgx enable_netcfgx clean
18582 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18583 wine_fn_config_dll netprofm enable_netprofm clean
18584 wine_fn_config_test dlls/netprofm/tests netprofm_test
18585 wine_fn_config_dll newdev enable_newdev implib
18586 wine_fn_config_dll normaliz enable_normaliz implib
18587 wine_fn_config_dll npmshtml enable_npmshtml
18588 wine_fn_config_dll npptools enable_npptools
18589 wine_fn_config_dll ntdll enable_ntdll implib
18590 wine_fn_config_test dlls/ntdll/tests ntdll_test
18591 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18592 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18593 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18594 wine_fn_config_dll ntprint enable_ntprint
18595 wine_fn_config_test dlls/ntprint/tests ntprint_test
18596 wine_fn_config_dll objsel enable_objsel clean
18597 wine_fn_config_dll odbc32 enable_odbc32 implib
18598 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18599 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18600 wine_fn_config_dll odbccu32 enable_odbccu32
18601 wine_fn_config_dll ole2.dll16 enable_win16
18602 wine_fn_config_dll ole2conv.dll16 enable_win16
18603 wine_fn_config_dll ole2disp.dll16 enable_win16
18604 wine_fn_config_dll ole2nls.dll16 enable_win16
18605 wine_fn_config_dll ole2prox.dll16 enable_win16
18606 wine_fn_config_dll ole2thk.dll16 enable_win16
18607 wine_fn_config_dll ole32 enable_ole32 clean,implib
18608 wine_fn_config_test dlls/ole32/tests ole32_test
18609 wine_fn_config_dll oleacc enable_oleacc clean,implib
18610 wine_fn_config_test dlls/oleacc/tests oleacc_test
18611 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18612 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18613 wine_fn_config_dll olecli.dll16 enable_win16
18614 wine_fn_config_dll olecli32 enable_olecli32 implib
18615 wine_fn_config_dll oledb32 enable_oledb32 clean
18616 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18617 wine_fn_config_dll oledlg enable_oledlg clean,implib
18618 wine_fn_config_test dlls/oledlg/tests oledlg_test
18619 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18620 wine_fn_config_dll olesvr.dll16 enable_win16
18621 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18622 wine_fn_config_dll olethk32 enable_olethk32
18623 wine_fn_config_dll openal32 enable_openal32
18624 wine_fn_config_dll opencl enable_opencl
18625 wine_fn_config_dll opengl32 enable_opengl32 implib
18626 wine_fn_config_test dlls/opengl32/tests opengl32_test
18627 wine_fn_config_dll packager enable_packager clean
18628 wine_fn_config_test dlls/packager/tests packager_test
18629 wine_fn_config_dll pdh enable_pdh implib
18630 wine_fn_config_test dlls/pdh/tests pdh_test
18631 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18632 wine_fn_config_dll pidgen enable_pidgen
18633 wine_fn_config_dll powrprof enable_powrprof implib
18634 wine_fn_config_dll printui enable_printui
18635 wine_fn_config_dll prntvpt enable_prntvpt
18636 wine_fn_config_dll propsys enable_propsys clean,implib
18637 wine_fn_config_test dlls/propsys/tests propsys_test
18638 wine_fn_config_dll psapi enable_psapi implib
18639 wine_fn_config_test dlls/psapi/tests psapi_test
18640 wine_fn_config_dll pstorec enable_pstorec clean
18641 wine_fn_config_test dlls/pstorec/tests pstorec_test
18642 wine_fn_config_dll qcap enable_qcap
18643 wine_fn_config_test dlls/qcap/tests qcap_test
18644 wine_fn_config_dll qedit enable_qedit clean
18645 wine_fn_config_test dlls/qedit/tests qedit_test
18646 wine_fn_config_dll qmgr enable_qmgr clean
18647 wine_fn_config_test dlls/qmgr/tests qmgr_test
18648 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18649 wine_fn_config_dll quartz enable_quartz clean,implib
18650 wine_fn_config_test dlls/quartz/tests quartz_test clean
18651 wine_fn_config_dll query enable_query
18652 wine_fn_config_dll rasapi16.dll16 enable_win16
18653 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18654 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18655 wine_fn_config_dll rasdlg enable_rasdlg implib
18656 wine_fn_config_dll regapi enable_regapi
18657 wine_fn_config_dll resutils enable_resutils implib
18658 wine_fn_config_dll riched20 enable_riched20 clean,implib
18659 wine_fn_config_test dlls/riched20/tests riched20_test
18660 wine_fn_config_dll riched32 enable_riched32
18661 wine_fn_config_test dlls/riched32/tests riched32_test
18662 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18663 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18664 wine_fn_config_dll rsabase enable_rsabase
18665 wine_fn_config_dll rsaenh enable_rsaenh implib
18666 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18667 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18668 wine_fn_config_dll rtutils enable_rtutils implib
18669 wine_fn_config_dll samlib enable_samlib
18670 wine_fn_config_dll sane.ds enable_sane_ds clean
18671 wine_fn_config_dll sapi enable_sapi clean
18672 wine_fn_config_test dlls/sapi/tests sapi_test
18673 wine_fn_config_dll scarddlg enable_scarddlg
18674 wine_fn_config_dll sccbase enable_sccbase
18675 wine_fn_config_dll schannel enable_schannel
18676 wine_fn_config_test dlls/schannel/tests schannel_test
18677 wine_fn_config_dll schedsvc enable_schedsvc clean
18678 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18679 wine_fn_config_dll scrobj enable_scrobj clean
18680 wine_fn_config_dll scrrun enable_scrrun clean
18681 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18682 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18683 wine_fn_config_dll secur32 enable_secur32 implib
18684 wine_fn_config_test dlls/secur32/tests secur32_test
18685 wine_fn_config_dll security enable_security
18686 wine_fn_config_dll sensapi enable_sensapi implib
18687 wine_fn_config_dll serialui enable_serialui clean
18688 wine_fn_config_test dlls/serialui/tests serialui_test
18689 wine_fn_config_dll setupapi enable_setupapi clean,implib
18690 wine_fn_config_test dlls/setupapi/tests setupapi_test
18691 wine_fn_config_dll setupx.dll16 enable_win16
18692 wine_fn_config_dll sfc enable_sfc implib
18693 wine_fn_config_dll sfc_os enable_sfc_os implib
18694 wine_fn_config_dll shdoclc enable_shdoclc clean
18695 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18696 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18697 wine_fn_config_dll shell.dll16 enable_win16
18698 wine_fn_config_dll shell32 enable_shell32 clean,implib
18699 wine_fn_config_test dlls/shell32/tests shell32_test
18700 wine_fn_config_dll shfolder enable_shfolder implib
18701 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18702 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18703 wine_fn_config_dll slbcsp enable_slbcsp
18704 wine_fn_config_dll slc enable_slc implib
18705 wine_fn_config_test dlls/slc/tests slc_test
18706 wine_fn_config_dll snmpapi enable_snmpapi implib
18707 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18708 wine_fn_config_dll softpub enable_softpub
18709 wine_fn_config_dll sound.drv16 enable_win16
18710 wine_fn_config_dll spoolss enable_spoolss implib
18711 wine_fn_config_test dlls/spoolss/tests spoolss_test
18712 wine_fn_config_dll sspicli enable_sspicli
18713 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18714 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18715 wine_fn_config_dll sti enable_sti clean,implib
18716 wine_fn_config_test dlls/sti/tests sti_test
18717 wine_fn_config_dll storage.dll16 enable_win16
18718 wine_fn_config_dll stress.dll16 enable_win16
18719 wine_fn_config_lib strmbase
18720 wine_fn_config_lib strmiids
18721 wine_fn_config_dll svrapi enable_svrapi
18722 wine_fn_config_dll sxs enable_sxs implib
18723 wine_fn_config_test dlls/sxs/tests sxs_test
18724 wine_fn_config_dll system.drv16 enable_win16
18725 wine_fn_config_dll t2embed enable_t2embed implib
18726 wine_fn_config_test dlls/t2embed/tests t2embed_test
18727 wine_fn_config_dll tapi32 enable_tapi32 implib
18728 wine_fn_config_dll taskschd enable_taskschd clean
18729 wine_fn_config_test dlls/taskschd/tests taskschd_test
18730 wine_fn_config_dll tdh enable_tdh
18731 wine_fn_config_dll tdi.sys enable_tdi_sys
18732 wine_fn_config_dll toolhelp.dll16 enable_win16
18733 wine_fn_config_dll traffic enable_traffic
18734 wine_fn_config_dll twain.dll16 enable_win16
18735 wine_fn_config_dll twain_32 enable_twain_32
18736 wine_fn_config_test dlls/twain_32/tests twain_32_test
18737 wine_fn_config_dll typelib.dll16 enable_win16
18738 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18739 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18740 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18741 wine_fn_config_dll uiribbon enable_uiribbon clean
18742 wine_fn_config_dll unicows enable_unicows implib
18743 wine_fn_config_dll updspapi enable_updspapi
18744 wine_fn_config_dll url enable_url implib
18745 wine_fn_config_dll urlmon enable_urlmon clean,implib
18746 wine_fn_config_test dlls/urlmon/tests urlmon_test
18747 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18748 wine_fn_config_dll user.exe16 enable_win16
18749 wine_fn_config_dll user32 enable_user32 clean,implib
18750 wine_fn_config_test dlls/user32/tests user32_test
18751 wine_fn_config_dll userenv enable_userenv implib
18752 wine_fn_config_test dlls/userenv/tests userenv_test
18753 wine_fn_config_dll usp10 enable_usp10 implib
18754 wine_fn_config_test dlls/usp10/tests usp10_test
18755 wine_fn_config_lib uuid
18756 wine_fn_config_dll uxtheme enable_uxtheme implib
18757 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18758 wine_fn_config_dll vbscript enable_vbscript clean
18759 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18760 wine_fn_config_dll vcomp enable_vcomp
18761 wine_fn_config_test dlls/vcomp/tests vcomp_test
18762 wine_fn_config_dll vcomp100 enable_vcomp100
18763 wine_fn_config_dll vcomp110 enable_vcomp110
18764 wine_fn_config_dll vcomp120 enable_vcomp120
18765 wine_fn_config_dll vcomp140 enable_vcomp140
18766 wine_fn_config_dll vcomp90 enable_vcomp90
18767 wine_fn_config_dll vcruntime140 enable_vcruntime140
18768 wine_fn_config_dll vdhcp.vxd enable_win16
18769 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18770 wine_fn_config_dll ver.dll16 enable_win16
18771 wine_fn_config_dll version enable_version implib
18772 wine_fn_config_test dlls/version/tests version_test
18773 wine_fn_config_dll virtdisk enable_virtdisk
18774 wine_fn_config_dll vmm.vxd enable_win16
18775 wine_fn_config_dll vnbt.vxd enable_win16
18776 wine_fn_config_dll vnetbios.vxd enable_win16
18777 wine_fn_config_dll vssapi enable_vssapi
18778 wine_fn_config_dll vtdapi.vxd enable_win16
18779 wine_fn_config_dll vwin32.vxd enable_win16
18780 wine_fn_config_dll w32skrnl enable_win16
18781 wine_fn_config_dll w32sys.dll16 enable_win16
18782 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18783 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18784 wine_fn_config_dll wbemprox enable_wbemprox clean
18785 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18786 wine_fn_config_dll webservices enable_webservices implib
18787 wine_fn_config_test dlls/webservices/tests webservices_test
18788 wine_fn_config_dll wer enable_wer implib
18789 wine_fn_config_test dlls/wer/tests wer_test
18790 wine_fn_config_dll wevtapi enable_wevtapi
18791 wine_fn_config_dll wiaservc enable_wiaservc clean
18792 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18793 wine_fn_config_dll wimgapi enable_wimgapi
18794 wine_fn_config_dll win32s16.dll16 enable_win16
18795 wine_fn_config_dll win87em.dll16 enable_win16
18796 wine_fn_config_dll winaspi.dll16 enable_win16
18797 wine_fn_config_dll windebug.dll16 enable_win16
18798 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18799 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18800 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18801 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18802 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18803 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18804 wine_fn_config_dll winebus.sys enable_winebus_sys
18805 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18806 wine_fn_config_lib winecrt0
18807 wine_fn_config_dll wined3d enable_wined3d implib
18808 wine_fn_config_dll winegstreamer enable_winegstreamer
18809 wine_fn_config_dll winehid.sys enable_winehid_sys
18810 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18811 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18812 wine_fn_config_dll winemapi enable_winemapi
18813 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18814 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18815 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18816 wine_fn_config_dll wineps16.drv16 enable_win16
18817 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18818 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18819 wine_fn_config_dll winex11.drv enable_winex11_drv
18820 wine_fn_config_dll wing.dll16 enable_win16
18821 wine_fn_config_dll wing32 enable_wing32
18822 wine_fn_config_dll winhttp enable_winhttp clean,implib
18823 wine_fn_config_test dlls/winhttp/tests winhttp_test
18824 wine_fn_config_dll wininet enable_wininet clean,implib
18825 wine_fn_config_test dlls/wininet/tests wininet_test
18826 wine_fn_config_dll winmm enable_winmm clean,implib
18827 wine_fn_config_test dlls/winmm/tests winmm_test
18828 wine_fn_config_dll winnls.dll16 enable_win16
18829 wine_fn_config_dll winnls32 enable_winnls32 implib
18830 wine_fn_config_dll winscard enable_winscard implib
18831 wine_fn_config_dll winsock.dll16 enable_win16
18832 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18833 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18834 wine_fn_config_dll winsta enable_winsta
18835 wine_fn_config_dll wintab.dll16 enable_win16
18836 wine_fn_config_dll wintab32 enable_wintab32 implib
18837 wine_fn_config_test dlls/wintab32/tests wintab32_test
18838 wine_fn_config_dll wintrust enable_wintrust implib
18839 wine_fn_config_test dlls/wintrust/tests wintrust_test
18840 wine_fn_config_dll winusb enable_winusb
18841 wine_fn_config_dll wlanapi enable_wlanapi implib
18842 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18843 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18844 wine_fn_config_test dlls/wldap32/tests wldap32_test
18845 wine_fn_config_dll wmasf enable_wmasf
18846 wine_fn_config_dll wmi enable_wmi
18847 wine_fn_config_dll wmiutils enable_wmiutils clean
18848 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18849 wine_fn_config_dll wmp enable_wmp clean
18850 wine_fn_config_test dlls/wmp/tests wmp_test
18851 wine_fn_config_dll wmphoto enable_wmphoto clean
18852 wine_fn_config_dll wmvcore enable_wmvcore implib
18853 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18854 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18855 wine_fn_config_dll wow32 enable_win16 implib
18856 wine_fn_config_dll wpc enable_wpc clean
18857 wine_fn_config_test dlls/wpc/tests wpc_test
18858 wine_fn_config_dll wpcap enable_wpcap
18859 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18860 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18861 wine_fn_config_dll wsdapi enable_wsdapi implib
18862 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18863 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18864 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18865 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18866 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18867 wine_fn_config_dll wsock32 enable_wsock32 implib
18868 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18869 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18870 wine_fn_config_dll wuapi enable_wuapi clean
18871 wine_fn_config_dll wuaueng enable_wuaueng
18872 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18873 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18874 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18875 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18876 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18877 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18878 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18879 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18880 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18881 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18882 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18883 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18884 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18885 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18886 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18887 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18888 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18889 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18890 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18891 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18892 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18893 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18894 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18895 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18896 wine_fn_config_dll xinput1_1 enable_xinput1_1
18897 wine_fn_config_dll xinput1_2 enable_xinput1_2
18898 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18899 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18900 wine_fn_config_dll xinput1_4 enable_xinput1_4
18901 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18902 wine_fn_config_dll xmllite enable_xmllite implib
18903 wine_fn_config_test dlls/xmllite/tests xmllite_test
18904 wine_fn_config_dll xolehlp enable_xolehlp
18905 wine_fn_config_dll xpsprint enable_xpsprint
18906 wine_fn_config_dll xpssvcs enable_xpssvcs
18907 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18908 wine_fn_config_makefile include enable_include clean,install-dev
18909 wine_fn_config_makefile libs/port enable_libs_port
18910 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18911 wine_fn_config_makefile libs/wpp enable_libs_wpp
18912 wine_fn_config_makefile loader enable_loader clean,install-lib
18913 wine_fn_config_makefile po enable_po clean
18914 wine_fn_config_program arp enable_arp install
18915 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18916 wine_fn_config_program attrib enable_attrib clean,install
18917 wine_fn_config_program cabarc enable_cabarc install
18918 wine_fn_config_program cacls enable_cacls install
18919 wine_fn_config_program clock enable_clock clean,install
18920 wine_fn_config_program cmd enable_cmd clean,install
18921 wine_fn_config_test programs/cmd/tests cmd.exe_test
18922 wine_fn_config_program conhost enable_conhost install
18923 wine_fn_config_program control enable_control install
18924 wine_fn_config_program cscript enable_cscript clean,install
18925 wine_fn_config_program dpnsvr enable_dpnsvr install
18926 wine_fn_config_program dxdiag enable_dxdiag clean,install
18927 wine_fn_config_program eject enable_eject install
18928 wine_fn_config_program expand enable_expand install
18929 wine_fn_config_program explorer enable_explorer clean,install
18930 wine_fn_config_program extrac32 enable_extrac32 install
18931 wine_fn_config_program findstr enable_findstr install
18932 wine_fn_config_program fsutil enable_fsutil install
18933 wine_fn_config_program hh enable_hh install
18934 wine_fn_config_program hostname enable_hostname clean,install
18935 wine_fn_config_program icacls enable_icacls install
18936 wine_fn_config_program icinfo enable_icinfo install
18937 wine_fn_config_program iexplore enable_iexplore install
18938 wine_fn_config_program ipconfig enable_ipconfig clean,install
18939 wine_fn_config_program lodctr enable_lodctr install
18940 wine_fn_config_program mofcomp enable_mofcomp install
18941 wine_fn_config_program mshta enable_mshta install
18942 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18943 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18944 wine_fn_config_program net enable_net clean,install
18945 wine_fn_config_program netsh enable_netsh install
18946 wine_fn_config_program netstat enable_netstat clean,install
18947 wine_fn_config_program ngen enable_ngen install
18948 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18949 wine_fn_config_program oleview enable_oleview clean,install
18950 wine_fn_config_program ping enable_ping install
18951 wine_fn_config_program plugplay enable_plugplay install
18952 wine_fn_config_program powershell enable_powershell install
18953 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18954 wine_fn_config_program progman enable_progman clean,install
18955 wine_fn_config_program reg enable_reg clean,install
18956 wine_fn_config_test programs/reg/tests reg.exe_test
18957 wine_fn_config_program regasm enable_regasm install
18958 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18959 wine_fn_config_test programs/regedit/tests regedit.exe_test
18960 wine_fn_config_program regsvcs enable_regsvcs install
18961 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18962 wine_fn_config_program rpcss enable_rpcss clean,install
18963 wine_fn_config_program rundll.exe16 enable_win16 install
18964 wine_fn_config_program rundll32 enable_rundll32 install
18965 wine_fn_config_program sc enable_sc install
18966 wine_fn_config_program schtasks enable_schtasks install
18967 wine_fn_config_program sdbinst enable_sdbinst install
18968 wine_fn_config_program secedit enable_secedit install
18969 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18970 wine_fn_config_program services enable_services clean,install
18971 wine_fn_config_test programs/services/tests services.exe_test
18972 wine_fn_config_program shutdown enable_shutdown install
18973 wine_fn_config_program spoolsv enable_spoolsv install
18974 wine_fn_config_program start enable_start clean,install
18975 wine_fn_config_program subst enable_subst install
18976 wine_fn_config_program svchost enable_svchost install
18977 wine_fn_config_program systeminfo enable_systeminfo install
18978 wine_fn_config_program taskkill enable_taskkill clean,install
18979 wine_fn_config_program tasklist enable_tasklist install
18980 wine_fn_config_program taskmgr enable_taskmgr clean,install
18981 wine_fn_config_program termsv enable_termsv install
18982 wine_fn_config_program uninstaller enable_uninstaller clean,install
18983 wine_fn_config_program unlodctr enable_unlodctr install
18984 wine_fn_config_program view enable_view clean,install
18985 wine_fn_config_program wevtutil enable_wevtutil install
18986 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18987 wine_fn_config_program winebrowser enable_winebrowser install
18988 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18989 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18990 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18991 wine_fn_config_program winedevice enable_winedevice install
18992 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18993 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18994 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18995 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18996 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18997 wine_fn_config_program winetest enable_winetest clean
18998 wine_fn_config_program winevdm enable_win16 install
18999 wine_fn_config_program winhelp.exe16 enable_win16 install
19000 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19001 wine_fn_config_program winoldap.mod16 enable_win16 install
19002 wine_fn_config_program winver enable_winver install
19003 wine_fn_config_program wmic enable_wmic clean,install
19004 wine_fn_config_program wmplayer enable_wmplayer install
19005 wine_fn_config_program wordpad enable_wordpad clean,install
19006 wine_fn_config_program write enable_write clean,install
19007 wine_fn_config_program wscript enable_wscript clean,install
19008 wine_fn_config_test programs/wscript/tests wscript.exe_test
19009 wine_fn_config_program wusa enable_wusa install
19010 wine_fn_config_program xcopy enable_xcopy clean,install
19011 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19012 wine_fn_config_makefile server enable_server clean,install-lib
19013 wine_fn_config_tool tools clean
19014 wine_fn_config_tool tools/sfnt2fon clean
19015 wine_fn_config_tool tools/widl clean,install-dev
19016 wine_fn_config_tool tools/winebuild clean,install-dev
19017 wine_fn_config_tool tools/winedump clean,install-dev
19018 wine_fn_config_tool tools/winegcc clean,install-dev
19019 wine_fn_config_tool tools/winemaker clean,install-dev
19020 wine_fn_config_tool tools/wmc clean,install-dev
19021 wine_fn_config_tool tools/wrc clean,install-dev
19024 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19025 wine_fn_append_file CONFIGURE_TARGETS "tags"
19026 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19027 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19028 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19029 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19030 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19031 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19033 if test "x$enable_tools" != xno
19034 then
19035 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19036 ac_config_commands="$ac_config_commands tools/makedep"
19040 ac_config_commands="$ac_config_commands Makefile"
19043 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19047 if test "x$enable_maintainer_mode" = xyes
19048 then
19049 wine_fn_append_rule "configure: configure.ac aclocal.m4
19050 autoconf --warnings=all
19051 include/config.h.in: include/stamp-h.in
19052 include/stamp-h.in: configure.ac aclocal.m4
19053 autoheader --warnings=all
19054 @echo timestamp > \$@"
19057 if test "x$enable_tools" != xno
19058 then
19059 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19060 @./config.status tools/makedep
19061 Makefile: tools/makedep$ac_exeext"
19062 else
19063 wine_fn_append_rule "\$(MAKEDEP):
19064 @echo \"You need to run make in $TOOLSDIR first\" && false"
19067 if test -n "$with_wine64"
19068 then
19069 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19070 fonts server:
19071 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19072 $with_wine64/loader/wine:
19073 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19074 $with_wine64/loader/wine-preloader:
19075 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19076 clean::
19077 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19078 else
19079 WINELOADER_INSTALL="wine.inf"
19081 wine_fn_append_rule "install install-lib::
19082 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19083 uninstall::
19084 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19085 case $host_os in
19086 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19087 *) wine_fn_append_rule "install install-lib::
19088 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19089 uninstall::
19090 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19091 esac
19094 $as_echo " done" >&6
19095 cat >confcache <<\_ACEOF
19096 # This file is a shell script that caches the results of configure
19097 # tests run on this system so they can be shared between configure
19098 # scripts and configure runs, see configure's option --config-cache.
19099 # It is not useful on other systems. If it contains results you don't
19100 # want to keep, you may remove or edit it.
19102 # config.status only pays attention to the cache file if you give it
19103 # the --recheck option to rerun configure.
19105 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19106 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19107 # following values.
19109 _ACEOF
19111 # The following way of writing the cache mishandles newlines in values,
19112 # but we know of no workaround that is simple, portable, and efficient.
19113 # So, we kill variables containing newlines.
19114 # Ultrix sh set writes to stderr and can't be redirected directly,
19115 # and sets the high bit in the cache file unless we assign to the vars.
19117 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19118 eval ac_val=\$$ac_var
19119 case $ac_val in #(
19120 *${as_nl}*)
19121 case $ac_var in #(
19122 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19123 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19124 esac
19125 case $ac_var in #(
19126 _ | IFS | as_nl) ;; #(
19127 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19128 *) { eval $ac_var=; unset $ac_var;} ;;
19129 esac ;;
19130 esac
19131 done
19133 (set) 2>&1 |
19134 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19135 *${as_nl}ac_space=\ *)
19136 # `set' does not quote correctly, so add quotes: double-quote
19137 # substitution turns \\\\ into \\, and sed turns \\ into \.
19138 sed -n \
19139 "s/'/'\\\\''/g;
19140 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19141 ;; #(
19143 # `set' quotes correctly as required by POSIX, so do not add quotes.
19144 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19146 esac |
19147 sort
19149 sed '
19150 /^ac_cv_env_/b end
19151 t clear
19152 :clear
19153 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19154 t end
19155 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19156 :end' >>confcache
19157 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19158 if test -w "$cache_file"; then
19159 if test "x$cache_file" != "x/dev/null"; then
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19161 $as_echo "$as_me: updating cache $cache_file" >&6;}
19162 if test ! -f "$cache_file" || test -h "$cache_file"; then
19163 cat confcache >"$cache_file"
19164 else
19165 case $cache_file in #(
19166 */* | ?:*)
19167 mv -f confcache "$cache_file"$$ &&
19168 mv -f "$cache_file"$$ "$cache_file" ;; #(
19170 mv -f confcache "$cache_file" ;;
19171 esac
19174 else
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19176 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19179 rm -f confcache
19181 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19182 # Let make expand exec_prefix.
19183 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19185 DEFS=-DHAVE_CONFIG_H
19187 ac_libobjs=
19188 ac_ltlibobjs=
19190 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19191 # 1. Remove the extension, and $U if already installed.
19192 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19193 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19194 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19195 # will be set to the directory where LIBOBJS objects are built.
19196 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19197 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19198 done
19199 LIBOBJS=$ac_libobjs
19201 LTLIBOBJS=$ac_ltlibobjs
19205 : "${CONFIG_STATUS=./config.status}"
19206 ac_write_fail=0
19207 ac_clean_files_save=$ac_clean_files
19208 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19210 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19211 as_write_fail=0
19212 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19213 #! $SHELL
19214 # Generated by $as_me.
19215 # Run this file to recreate the current configuration.
19216 # Compiler output produced by configure, useful for debugging
19217 # configure, is in config.log if it exists.
19219 debug=false
19220 ac_cs_recheck=false
19221 ac_cs_silent=false
19223 SHELL=\${CONFIG_SHELL-$SHELL}
19224 export SHELL
19225 _ASEOF
19226 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19227 ## -------------------- ##
19228 ## M4sh Initialization. ##
19229 ## -------------------- ##
19231 # Be more Bourne compatible
19232 DUALCASE=1; export DUALCASE # for MKS sh
19233 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19234 emulate sh
19235 NULLCMD=:
19236 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19237 # is contrary to our usage. Disable this feature.
19238 alias -g '${1+"$@"}'='"$@"'
19239 setopt NO_GLOB_SUBST
19240 else
19241 case `(set -o) 2>/dev/null` in #(
19242 *posix*) :
19243 set -o posix ;; #(
19244 *) :
19246 esac
19250 as_nl='
19252 export as_nl
19253 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19254 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19255 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19256 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19257 # Prefer a ksh shell builtin over an external printf program on Solaris,
19258 # but without wasting forks for bash or zsh.
19259 if test -z "$BASH_VERSION$ZSH_VERSION" \
19260 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19261 as_echo='print -r --'
19262 as_echo_n='print -rn --'
19263 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19264 as_echo='printf %s\n'
19265 as_echo_n='printf %s'
19266 else
19267 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19268 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19269 as_echo_n='/usr/ucb/echo -n'
19270 else
19271 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19272 as_echo_n_body='eval
19273 arg=$1;
19274 case $arg in #(
19275 *"$as_nl"*)
19276 expr "X$arg" : "X\\(.*\\)$as_nl";
19277 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19278 esac;
19279 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19281 export as_echo_n_body
19282 as_echo_n='sh -c $as_echo_n_body as_echo'
19284 export as_echo_body
19285 as_echo='sh -c $as_echo_body as_echo'
19288 # The user is always right.
19289 if test "${PATH_SEPARATOR+set}" != set; then
19290 PATH_SEPARATOR=:
19291 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19292 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19293 PATH_SEPARATOR=';'
19298 # IFS
19299 # We need space, tab and new line, in precisely that order. Quoting is
19300 # there to prevent editors from complaining about space-tab.
19301 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19302 # splitting by setting IFS to empty value.)
19303 IFS=" "" $as_nl"
19305 # Find who we are. Look in the path if we contain no directory separator.
19306 as_myself=
19307 case $0 in #((
19308 *[\\/]* ) as_myself=$0 ;;
19309 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19310 for as_dir in $PATH
19312 IFS=$as_save_IFS
19313 test -z "$as_dir" && as_dir=.
19314 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19315 done
19316 IFS=$as_save_IFS
19319 esac
19320 # We did not find ourselves, most probably we were run as `sh COMMAND'
19321 # in which case we are not to be found in the path.
19322 if test "x$as_myself" = x; then
19323 as_myself=$0
19325 if test ! -f "$as_myself"; then
19326 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19327 exit 1
19330 # Unset variables that we do not need and which cause bugs (e.g. in
19331 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19332 # suppresses any "Segmentation fault" message there. '((' could
19333 # trigger a bug in pdksh 5.2.14.
19334 for as_var in BASH_ENV ENV MAIL MAILPATH
19335 do eval test x\${$as_var+set} = xset \
19336 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19337 done
19338 PS1='$ '
19339 PS2='> '
19340 PS4='+ '
19342 # NLS nuisances.
19343 LC_ALL=C
19344 export LC_ALL
19345 LANGUAGE=C
19346 export LANGUAGE
19348 # CDPATH.
19349 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19352 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19353 # ----------------------------------------
19354 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19355 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19356 # script with STATUS, using 1 if that was 0.
19357 as_fn_error ()
19359 as_status=$1; test $as_status -eq 0 && as_status=1
19360 if test "$4"; then
19361 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19362 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19364 $as_echo "$as_me: error: $2" >&2
19365 as_fn_exit $as_status
19366 } # as_fn_error
19369 # as_fn_set_status STATUS
19370 # -----------------------
19371 # Set $? to STATUS, without forking.
19372 as_fn_set_status ()
19374 return $1
19375 } # as_fn_set_status
19377 # as_fn_exit STATUS
19378 # -----------------
19379 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19380 as_fn_exit ()
19382 set +e
19383 as_fn_set_status $1
19384 exit $1
19385 } # as_fn_exit
19387 # as_fn_unset VAR
19388 # ---------------
19389 # Portably unset VAR.
19390 as_fn_unset ()
19392 { eval $1=; unset $1;}
19394 as_unset=as_fn_unset
19395 # as_fn_append VAR VALUE
19396 # ----------------------
19397 # Append the text in VALUE to the end of the definition contained in VAR. Take
19398 # advantage of any shell optimizations that allow amortized linear growth over
19399 # repeated appends, instead of the typical quadratic growth present in naive
19400 # implementations.
19401 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19402 eval 'as_fn_append ()
19404 eval $1+=\$2
19406 else
19407 as_fn_append ()
19409 eval $1=\$$1\$2
19411 fi # as_fn_append
19413 # as_fn_arith ARG...
19414 # ------------------
19415 # Perform arithmetic evaluation on the ARGs, and store the result in the
19416 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19417 # must be portable across $(()) and expr.
19418 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19419 eval 'as_fn_arith ()
19421 as_val=$(( $* ))
19423 else
19424 as_fn_arith ()
19426 as_val=`expr "$@" || test $? -eq 1`
19428 fi # as_fn_arith
19431 if expr a : '\(a\)' >/dev/null 2>&1 &&
19432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19433 as_expr=expr
19434 else
19435 as_expr=false
19438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19439 as_basename=basename
19440 else
19441 as_basename=false
19444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19445 as_dirname=dirname
19446 else
19447 as_dirname=false
19450 as_me=`$as_basename -- "$0" ||
19451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19452 X"$0" : 'X\(//\)$' \| \
19453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19454 $as_echo X/"$0" |
19455 sed '/^.*\/\([^/][^/]*\)\/*$/{
19456 s//\1/
19459 /^X\/\(\/\/\)$/{
19460 s//\1/
19463 /^X\/\(\/\).*/{
19464 s//\1/
19467 s/.*/./; q'`
19469 # Avoid depending upon Character Ranges.
19470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19473 as_cr_digits='0123456789'
19474 as_cr_alnum=$as_cr_Letters$as_cr_digits
19476 ECHO_C= ECHO_N= ECHO_T=
19477 case `echo -n x` in #(((((
19478 -n*)
19479 case `echo 'xy\c'` in
19480 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19481 xy) ECHO_C='\c';;
19482 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19483 ECHO_T=' ';;
19484 esac;;
19486 ECHO_N='-n';;
19487 esac
19489 rm -f conf$$ conf$$.exe conf$$.file
19490 if test -d conf$$.dir; then
19491 rm -f conf$$.dir/conf$$.file
19492 else
19493 rm -f conf$$.dir
19494 mkdir conf$$.dir 2>/dev/null
19496 if (echo >conf$$.file) 2>/dev/null; then
19497 if ln -s conf$$.file conf$$ 2>/dev/null; then
19498 as_ln_s='ln -s'
19499 # ... but there are two gotchas:
19500 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19501 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19502 # In both cases, we have to default to `cp -pR'.
19503 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19504 as_ln_s='cp -pR'
19505 elif ln conf$$.file conf$$ 2>/dev/null; then
19506 as_ln_s=ln
19507 else
19508 as_ln_s='cp -pR'
19510 else
19511 as_ln_s='cp -pR'
19513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19514 rmdir conf$$.dir 2>/dev/null
19517 # as_fn_mkdir_p
19518 # -------------
19519 # Create "$as_dir" as a directory, including parents if necessary.
19520 as_fn_mkdir_p ()
19523 case $as_dir in #(
19524 -*) as_dir=./$as_dir;;
19525 esac
19526 test -d "$as_dir" || eval $as_mkdir_p || {
19527 as_dirs=
19528 while :; do
19529 case $as_dir in #(
19530 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19531 *) as_qdir=$as_dir;;
19532 esac
19533 as_dirs="'$as_qdir' $as_dirs"
19534 as_dir=`$as_dirname -- "$as_dir" ||
19535 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19536 X"$as_dir" : 'X\(//\)[^/]' \| \
19537 X"$as_dir" : 'X\(//\)$' \| \
19538 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19539 $as_echo X"$as_dir" |
19540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19541 s//\1/
19544 /^X\(\/\/\)[^/].*/{
19545 s//\1/
19548 /^X\(\/\/\)$/{
19549 s//\1/
19552 /^X\(\/\).*/{
19553 s//\1/
19556 s/.*/./; q'`
19557 test -d "$as_dir" && break
19558 done
19559 test -z "$as_dirs" || eval "mkdir $as_dirs"
19560 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19563 } # as_fn_mkdir_p
19564 if mkdir -p . 2>/dev/null; then
19565 as_mkdir_p='mkdir -p "$as_dir"'
19566 else
19567 test -d ./-p && rmdir ./-p
19568 as_mkdir_p=false
19572 # as_fn_executable_p FILE
19573 # -----------------------
19574 # Test if FILE is an executable regular file.
19575 as_fn_executable_p ()
19577 test -f "$1" && test -x "$1"
19578 } # as_fn_executable_p
19579 as_test_x='test -x'
19580 as_executable_p=as_fn_executable_p
19582 # Sed expression to map a string onto a valid CPP name.
19583 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19585 # Sed expression to map a string onto a valid variable name.
19586 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19589 exec 6>&1
19590 ## ----------------------------------- ##
19591 ## Main body of $CONFIG_STATUS script. ##
19592 ## ----------------------------------- ##
19593 _ASEOF
19594 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19597 # Save the log message, to keep $0 and so on meaningful, and to
19598 # report actual input values of CONFIG_FILES etc. instead of their
19599 # values after options handling.
19600 ac_log="
19601 This file was extended by Wine $as_me 2.18, which was
19602 generated by GNU Autoconf 2.69. Invocation command line was
19604 CONFIG_FILES = $CONFIG_FILES
19605 CONFIG_HEADERS = $CONFIG_HEADERS
19606 CONFIG_LINKS = $CONFIG_LINKS
19607 CONFIG_COMMANDS = $CONFIG_COMMANDS
19608 $ $0 $@
19610 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19613 _ACEOF
19615 case $ac_config_files in *"
19616 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19617 esac
19619 case $ac_config_headers in *"
19620 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19621 esac
19624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19625 # Files that config.status was made for.
19626 config_files="$ac_config_files"
19627 config_headers="$ac_config_headers"
19628 config_links="$ac_config_links"
19629 config_commands="$ac_config_commands"
19631 _ACEOF
19633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19634 ac_cs_usage="\
19635 \`$as_me' instantiates files and other configuration actions
19636 from templates according to the current configuration. Unless the files
19637 and actions are specified as TAGs, all are instantiated by default.
19639 Usage: $0 [OPTION]... [TAG]...
19641 -h, --help print this help, then exit
19642 -V, --version print version number and configuration settings, then exit
19643 --config print configuration, then exit
19644 -q, --quiet, --silent
19645 do not print progress messages
19646 -d, --debug don't remove temporary files
19647 --recheck update $as_me by reconfiguring in the same conditions
19648 --file=FILE[:TEMPLATE]
19649 instantiate the configuration file FILE
19650 --header=FILE[:TEMPLATE]
19651 instantiate the configuration header FILE
19653 Configuration files:
19654 $config_files
19656 Configuration headers:
19657 $config_headers
19659 Configuration links:
19660 $config_links
19662 Configuration commands:
19663 $config_commands
19665 Report bugs to <wine-devel@winehq.org>.
19666 Wine home page: <http://www.winehq.org>."
19668 _ACEOF
19669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19670 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19671 ac_cs_version="\\
19672 Wine config.status 2.18
19673 configured by $0, generated by GNU Autoconf 2.69,
19674 with options \\"\$ac_cs_config\\"
19676 Copyright (C) 2012 Free Software Foundation, Inc.
19677 This config.status script is free software; the Free Software Foundation
19678 gives unlimited permission to copy, distribute and modify it."
19680 ac_pwd='$ac_pwd'
19681 srcdir='$srcdir'
19682 test -n "\$AWK" || AWK=awk
19683 _ACEOF
19685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19686 # The default lists apply if the user does not specify any file.
19687 ac_need_defaults=:
19688 while test $# != 0
19690 case $1 in
19691 --*=?*)
19692 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19693 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19694 ac_shift=:
19696 --*=)
19697 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19698 ac_optarg=
19699 ac_shift=:
19702 ac_option=$1
19703 ac_optarg=$2
19704 ac_shift=shift
19706 esac
19708 case $ac_option in
19709 # Handling of the options.
19710 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19711 ac_cs_recheck=: ;;
19712 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19713 $as_echo "$ac_cs_version"; exit ;;
19714 --config | --confi | --conf | --con | --co | --c )
19715 $as_echo "$ac_cs_config"; exit ;;
19716 --debug | --debu | --deb | --de | --d | -d )
19717 debug=: ;;
19718 --file | --fil | --fi | --f )
19719 $ac_shift
19720 case $ac_optarg in
19721 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19722 '') as_fn_error $? "missing file argument" ;;
19723 esac
19724 as_fn_append CONFIG_FILES " '$ac_optarg'"
19725 ac_need_defaults=false;;
19726 --header | --heade | --head | --hea )
19727 $ac_shift
19728 case $ac_optarg in
19729 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19730 esac
19731 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19732 ac_need_defaults=false;;
19733 --he | --h)
19734 # Conflict between --help and --header
19735 as_fn_error $? "ambiguous option: \`$1'
19736 Try \`$0 --help' for more information.";;
19737 --help | --hel | -h )
19738 $as_echo "$ac_cs_usage"; exit ;;
19739 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19740 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19741 ac_cs_silent=: ;;
19743 # This is an error.
19744 -*) as_fn_error $? "unrecognized option: \`$1'
19745 Try \`$0 --help' for more information." ;;
19747 *) as_fn_append ac_config_targets " $1"
19748 ac_need_defaults=false ;;
19750 esac
19751 shift
19752 done
19754 ac_configure_extra_args=
19756 if $ac_cs_silent; then
19757 exec 6>/dev/null
19758 ac_configure_extra_args="$ac_configure_extra_args --silent"
19761 _ACEOF
19762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19763 if \$ac_cs_recheck; then
19764 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19765 shift
19766 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19767 CONFIG_SHELL='$SHELL'
19768 export CONFIG_SHELL
19769 exec "\$@"
19772 _ACEOF
19773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19774 exec 5>>config.log
19776 echo
19777 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19778 ## Running $as_me. ##
19779 _ASBOX
19780 $as_echo "$ac_log"
19781 } >&5
19783 _ACEOF
19784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19786 # INIT-COMMANDS
19788 wine_fn_output_makedep ()
19790 as_dir=tools; as_fn_mkdir_p
19791 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19793 wine_fn_output_makefile ()
19795 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19796 `cat $wine_rules_file`
19797 _WINE_EOF
19798 as_fn_error $? "could not create Makefile" "$LINENO" 5
19801 _ACEOF
19803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19805 # Handling of arguments.
19806 for ac_config_target in $ac_config_targets
19808 case $ac_config_target in
19809 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19810 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19811 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19812 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19813 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19814 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19815 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19816 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19817 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19818 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19819 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19820 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19821 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19823 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19824 esac
19825 done
19828 # If the user did not use the arguments to specify the items to instantiate,
19829 # then the envvar interface is used. Set only those that are not.
19830 # We use the long form for the default assignment because of an extremely
19831 # bizarre bug on SunOS 4.1.3.
19832 if $ac_need_defaults; then
19833 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19834 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19835 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19836 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19839 # Have a temporary directory for convenience. Make it in the build tree
19840 # simply because there is no reason against having it here, and in addition,
19841 # creating and moving files from /tmp can sometimes cause problems.
19842 # Hook for its removal unless debugging.
19843 # Note that there is a small window in which the directory will not be cleaned:
19844 # after its creation but before its name has been assigned to `$tmp'.
19845 $debug ||
19847 tmp= ac_tmp=
19848 trap 'exit_status=$?
19849 : "${ac_tmp:=$tmp}"
19850 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19852 trap 'as_fn_exit 1' 1 2 13 15
19854 # Create a (secure) tmp directory for tmp files.
19857 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19858 test -d "$tmp"
19859 } ||
19861 tmp=./conf$$-$RANDOM
19862 (umask 077 && mkdir "$tmp")
19863 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19864 ac_tmp=$tmp
19866 # Set up the scripts for CONFIG_FILES section.
19867 # No need to generate them if there are no CONFIG_FILES.
19868 # This happens for instance with `./config.status config.h'.
19869 if test -n "$CONFIG_FILES"; then
19872 ac_cr=`echo X | tr X '\015'`
19873 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19874 # But we know of no other shell where ac_cr would be empty at this
19875 # point, so we can use a bashism as a fallback.
19876 if test "x$ac_cr" = x; then
19877 eval ac_cr=\$\'\\r\'
19879 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19880 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19881 ac_cs_awk_cr='\\r'
19882 else
19883 ac_cs_awk_cr=$ac_cr
19886 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19887 _ACEOF
19891 echo "cat >conf$$subs.awk <<_ACEOF" &&
19892 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19893 echo "_ACEOF"
19894 } >conf$$subs.sh ||
19895 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19896 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19897 ac_delim='%!_!# '
19898 for ac_last_try in false false false false false :; do
19899 . ./conf$$subs.sh ||
19900 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19902 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19903 if test $ac_delim_n = $ac_delim_num; then
19904 break
19905 elif $ac_last_try; then
19906 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19907 else
19908 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19910 done
19911 rm -f conf$$subs.sh
19913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19914 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19915 _ACEOF
19916 sed -n '
19918 s/^/S["/; s/!.*/"]=/
19921 s/^[^!]*!//
19922 :repl
19923 t repl
19924 s/'"$ac_delim"'$//
19925 t delim
19928 s/\(.\{148\}\)..*/\1/
19929 t more1
19930 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19933 b repl
19934 :more1
19935 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19938 s/.\{148\}//
19939 t nl
19940 :delim
19942 s/\(.\{148\}\)..*/\1/
19943 t more2
19944 s/["\\]/\\&/g; s/^/"/; s/$/"/
19947 :more2
19948 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19951 s/.\{148\}//
19952 t delim
19953 ' <conf$$subs.awk | sed '
19954 /^[^""]/{
19956 s/\n//
19958 ' >>$CONFIG_STATUS || ac_write_fail=1
19959 rm -f conf$$subs.awk
19960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19961 _ACAWK
19962 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19963 for (key in S) S_is_set[key] = 1
19964 FS = "\a"
19968 line = $ 0
19969 nfields = split(line, field, "@")
19970 substed = 0
19971 len = length(field[1])
19972 for (i = 2; i < nfields; i++) {
19973 key = field[i]
19974 keylen = length(key)
19975 if (S_is_set[key]) {
19976 value = S[key]
19977 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19978 len += length(value) + length(field[++i])
19979 substed = 1
19980 } else
19981 len += 1 + keylen
19984 print line
19987 _ACAWK
19988 _ACEOF
19989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19990 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19991 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19992 else
19994 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19995 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19996 _ACEOF
19998 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19999 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20000 # trailing colons and then remove the whole line if VPATH becomes empty
20001 # (actually we leave an empty line to preserve line numbers).
20002 if test "x$srcdir" = x.; then
20003 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20005 s///
20006 s/^/:/
20007 s/[ ]*$/:/
20008 s/:\$(srcdir):/:/g
20009 s/:\${srcdir}:/:/g
20010 s/:@srcdir@:/:/g
20011 s/^:*//
20012 s/:*$//
20014 s/\(=[ ]*\).*/\1/
20016 s/\n//
20017 s/^[^=]*=[ ]*$//
20021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20022 fi # test -n "$CONFIG_FILES"
20024 # Set up the scripts for CONFIG_HEADERS section.
20025 # No need to generate them if there are no CONFIG_HEADERS.
20026 # This happens for instance with `./config.status Makefile'.
20027 if test -n "$CONFIG_HEADERS"; then
20028 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20029 BEGIN {
20030 _ACEOF
20032 # Transform confdefs.h into an awk script `defines.awk', embedded as
20033 # here-document in config.status, that substitutes the proper values into
20034 # config.h.in to produce config.h.
20036 # Create a delimiter string that does not exist in confdefs.h, to ease
20037 # handling of long lines.
20038 ac_delim='%!_!# '
20039 for ac_last_try in false false :; do
20040 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20041 if test -z "$ac_tt"; then
20042 break
20043 elif $ac_last_try; then
20044 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20045 else
20046 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20048 done
20050 # For the awk script, D is an array of macro values keyed by name,
20051 # likewise P contains macro parameters if any. Preserve backslash
20052 # newline sequences.
20054 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20055 sed -n '
20056 s/.\{148\}/&'"$ac_delim"'/g
20057 t rset
20058 :rset
20059 s/^[ ]*#[ ]*define[ ][ ]*/ /
20060 t def
20062 :def
20063 s/\\$//
20064 t bsnl
20065 s/["\\]/\\&/g
20066 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20067 D["\1"]=" \3"/p
20068 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20070 :bsnl
20071 s/["\\]/\\&/g
20072 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20073 D["\1"]=" \3\\\\\\n"\\/p
20074 t cont
20075 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20076 t cont
20078 :cont
20080 s/.\{148\}/&'"$ac_delim"'/g
20081 t clear
20082 :clear
20083 s/\\$//
20084 t bsnlc
20085 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20087 :bsnlc
20088 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20089 b cont
20090 ' <confdefs.h | sed '
20091 s/'"$ac_delim"'/"\\\
20092 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20095 for (key in D) D_is_set[key] = 1
20096 FS = "\a"
20098 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20099 line = \$ 0
20100 split(line, arg, " ")
20101 if (arg[1] == "#") {
20102 defundef = arg[2]
20103 mac1 = arg[3]
20104 } else {
20105 defundef = substr(arg[1], 2)
20106 mac1 = arg[2]
20108 split(mac1, mac2, "(") #)
20109 macro = mac2[1]
20110 prefix = substr(line, 1, index(line, defundef) - 1)
20111 if (D_is_set[macro]) {
20112 # Preserve the white space surrounding the "#".
20113 print prefix "define", macro P[macro] D[macro]
20114 next
20115 } else {
20116 # Replace #undef with comments. This is necessary, for example,
20117 # in the case of _POSIX_SOURCE, which is predefined and required
20118 # on some systems where configure will not decide to define it.
20119 if (defundef == "undef") {
20120 print "/*", prefix defundef, macro, "*/"
20121 next
20125 { print }
20126 _ACAWK
20127 _ACEOF
20128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20129 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20130 fi # test -n "$CONFIG_HEADERS"
20133 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20134 shift
20135 for ac_tag
20137 case $ac_tag in
20138 :[FHLC]) ac_mode=$ac_tag; continue;;
20139 esac
20140 case $ac_mode$ac_tag in
20141 :[FHL]*:*);;
20142 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20143 :[FH]-) ac_tag=-:-;;
20144 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20145 esac
20146 ac_save_IFS=$IFS
20147 IFS=:
20148 set x $ac_tag
20149 IFS=$ac_save_IFS
20150 shift
20151 ac_file=$1
20152 shift
20154 case $ac_mode in
20155 :L) ac_source=$1;;
20156 :[FH])
20157 ac_file_inputs=
20158 for ac_f
20160 case $ac_f in
20161 -) ac_f="$ac_tmp/stdin";;
20162 *) # Look for the file first in the build tree, then in the source tree
20163 # (if the path is not absolute). The absolute path cannot be DOS-style,
20164 # because $ac_f cannot contain `:'.
20165 test -f "$ac_f" ||
20166 case $ac_f in
20167 [\\/$]*) false;;
20168 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20169 esac ||
20170 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20171 esac
20172 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20173 as_fn_append ac_file_inputs " '$ac_f'"
20174 done
20176 # Let's still pretend it is `configure' which instantiates (i.e., don't
20177 # use $as_me), people would be surprised to read:
20178 # /* config.h. Generated by config.status. */
20179 configure_input='Generated from '`
20180 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20181 `' by configure.'
20182 if test x"$ac_file" != x-; then
20183 configure_input="$ac_file. $configure_input"
20184 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20185 $as_echo "$as_me: creating $ac_file" >&6;}
20187 # Neutralize special characters interpreted by sed in replacement strings.
20188 case $configure_input in #(
20189 *\&* | *\|* | *\\* )
20190 ac_sed_conf_input=`$as_echo "$configure_input" |
20191 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20192 *) ac_sed_conf_input=$configure_input;;
20193 esac
20195 case $ac_tag in
20196 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20197 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20198 esac
20200 esac
20202 ac_dir=`$as_dirname -- "$ac_file" ||
20203 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20204 X"$ac_file" : 'X\(//\)[^/]' \| \
20205 X"$ac_file" : 'X\(//\)$' \| \
20206 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20207 $as_echo X"$ac_file" |
20208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20209 s//\1/
20212 /^X\(\/\/\)[^/].*/{
20213 s//\1/
20216 /^X\(\/\/\)$/{
20217 s//\1/
20220 /^X\(\/\).*/{
20221 s//\1/
20224 s/.*/./; q'`
20225 as_dir="$ac_dir"; as_fn_mkdir_p
20226 ac_builddir=.
20228 case "$ac_dir" in
20229 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20231 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20232 # A ".." for each directory in $ac_dir_suffix.
20233 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20234 case $ac_top_builddir_sub in
20235 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20236 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20237 esac ;;
20238 esac
20239 ac_abs_top_builddir=$ac_pwd
20240 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20241 # for backward compatibility:
20242 ac_top_builddir=$ac_top_build_prefix
20244 case $srcdir in
20245 .) # We are building in place.
20246 ac_srcdir=.
20247 ac_top_srcdir=$ac_top_builddir_sub
20248 ac_abs_top_srcdir=$ac_pwd ;;
20249 [\\/]* | ?:[\\/]* ) # Absolute name.
20250 ac_srcdir=$srcdir$ac_dir_suffix;
20251 ac_top_srcdir=$srcdir
20252 ac_abs_top_srcdir=$srcdir ;;
20253 *) # Relative name.
20254 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20255 ac_top_srcdir=$ac_top_build_prefix$srcdir
20256 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20257 esac
20258 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20261 case $ac_mode in
20264 # CONFIG_FILE
20267 _ACEOF
20269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20270 # If the template does not know about datarootdir, expand it.
20271 # FIXME: This hack should be removed a few years after 2.60.
20272 ac_datarootdir_hack=; ac_datarootdir_seen=
20273 ac_sed_dataroot='
20274 /datarootdir/ {
20278 /@datadir@/p
20279 /@docdir@/p
20280 /@infodir@/p
20281 /@localedir@/p
20282 /@mandir@/p'
20283 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20284 *datarootdir*) ac_datarootdir_seen=yes;;
20285 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20287 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20288 _ACEOF
20289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20290 ac_datarootdir_hack='
20291 s&@datadir@&$datadir&g
20292 s&@docdir@&$docdir&g
20293 s&@infodir@&$infodir&g
20294 s&@localedir@&$localedir&g
20295 s&@mandir@&$mandir&g
20296 s&\\\${datarootdir}&$datarootdir&g' ;;
20297 esac
20298 _ACEOF
20300 # Neutralize VPATH when `$srcdir' = `.'.
20301 # Shell code in configure.ac might set extrasub.
20302 # FIXME: do we really want to maintain this feature?
20303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20304 ac_sed_extra="$ac_vpsub
20305 $extrasub
20306 _ACEOF
20307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20309 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20310 s|@configure_input@|$ac_sed_conf_input|;t t
20311 s&@top_builddir@&$ac_top_builddir_sub&;t t
20312 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20313 s&@srcdir@&$ac_srcdir&;t t
20314 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20315 s&@top_srcdir@&$ac_top_srcdir&;t t
20316 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20317 s&@builddir@&$ac_builddir&;t t
20318 s&@abs_builddir@&$ac_abs_builddir&;t t
20319 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20320 $ac_datarootdir_hack
20322 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20323 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20325 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20326 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20327 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20328 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20330 which seems to be undefined. Please make sure it is defined" >&5
20331 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20332 which seems to be undefined. Please make sure it is defined" >&2;}
20334 rm -f "$ac_tmp/stdin"
20335 case $ac_file in
20336 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20337 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20338 esac \
20339 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20343 # CONFIG_HEADER
20345 if test x"$ac_file" != x-; then
20347 $as_echo "/* $configure_input */" \
20348 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20349 } >"$ac_tmp/config.h" \
20350 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20351 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20353 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20354 else
20355 rm -f "$ac_file"
20356 mv "$ac_tmp/config.h" "$ac_file" \
20357 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20359 else
20360 $as_echo "/* $configure_input */" \
20361 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20362 || as_fn_error $? "could not create -" "$LINENO" 5
20367 # CONFIG_LINK
20370 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20372 else
20373 # Prefer the file from the source tree if names are identical.
20374 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20375 ac_source=$srcdir/$ac_source
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20379 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20381 if test ! -r "$ac_source"; then
20382 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20384 rm -f "$ac_file"
20386 # Try a relative symlink, then a hard link, then a copy.
20387 case $ac_source in
20388 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20389 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20390 esac
20391 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20392 ln "$ac_source" "$ac_file" 2>/dev/null ||
20393 cp -p "$ac_source" "$ac_file" ||
20394 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20397 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20398 $as_echo "$as_me: executing $ac_file commands" >&6;}
20400 esac
20403 case $ac_file$ac_mode in
20404 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20405 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20406 "Makefile":C) wine_fn_output_makefile Makefile ;;
20408 esac
20409 done # for ac_tag
20412 as_fn_exit 0
20413 _ACEOF
20414 ac_clean_files=$ac_clean_files_save
20416 test $ac_write_fail = 0 ||
20417 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20420 # configure is writing to config.log, and then calls config.status.
20421 # config.status does its own redirection, appending to config.log.
20422 # Unfortunately, on DOS this fails, as config.log is still kept open
20423 # by configure, so config.status won't be able to write to it; its
20424 # output is simply discarded. So we exec the FD to /dev/null,
20425 # effectively closing config.log, so it can be properly (re)opened and
20426 # appended to by config.status. When coming back to configure, we
20427 # need to make the FD available again.
20428 if test "$no_create" != yes; then
20429 ac_cs_success=:
20430 ac_config_status_args=
20431 test "$silent" = yes &&
20432 ac_config_status_args="$ac_config_status_args --quiet"
20433 exec 5>/dev/null
20434 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20435 exec 5>>config.log
20436 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20437 # would make configure fail if this is the last instruction.
20438 $ac_cs_success || as_fn_exit 1
20440 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20442 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20446 if test "$no_create" = "yes"
20447 then
20448 exit 0
20451 ac_save_IFS="$IFS"
20452 if test "x$wine_notices" != x; then
20453 echo >&6
20454 IFS="|"
20455 for msg in $wine_notices; do
20456 IFS="$ac_save_IFS"
20457 if ${msg:+false} :; then :
20459 else
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20461 $as_echo "$as_me: $msg" >&6;}
20463 done
20465 IFS="|"
20466 for msg in $wine_warnings; do
20467 IFS="$ac_save_IFS"
20468 if ${msg:+false} :; then :
20470 else
20471 echo >&2
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20473 $as_echo "$as_me: WARNING: $msg" >&2;}
20475 done
20476 IFS="$ac_save_IFS"
20478 $as_echo "
20479 $as_me: Finished. Do '${ac_make}' to compile Wine.
20480 " >&6