Release 1.9.5.
[wine.git] / configure
blob14b40825a0edba316d0936ceec806c2a168c95b7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.5.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.9.5'
584 PACKAGE_STRING='Wine 1.9.5'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 OSS4_CFLAGS
656 ALSA_LIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 PULSE_LIBS
660 PULSE_CFLAGS
661 GETTEXTPO_LIBS
662 Z_LIBS
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLV_LIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 PCAP_LIBS
685 X_EXTRA_LIBS
686 X_LIBS
687 X_PRE_LIBS
688 X_CFLAGS
689 XMKMF
690 PTHREAD_LIBS
691 CROSSCC
692 CROSSTARGET
693 PRELINK
694 WINELOADER_DEPENDS
695 CARBON_LIBS
696 QUICKTIME_LIBS
697 OPENCL_LIBS
698 OPENAL_LIBS
699 COREAUDIO_LIBS
700 SECURITY_LIBS
701 DISKARBITRATION_LIBS
702 APPKIT_LIBS
703 CORESERVICES_LIBS
704 APPLICATIONSERVICES_LIBS
705 FORCEFEEDBACK_LIBS
706 IOKIT_LIBS
707 COREFOUNDATION_LIBS
708 LIBWINE_DEPENDS
709 LIBWINE_LDFLAGS
710 LIBWINE_INSTALL_DEV
711 LIBWINE_INSTALL_LIB
712 LIBWINE_IMPORTLIB
713 LIBWINE_SHAREDLIB
714 SOCKET_LIBS
715 DLLTOOL
716 WINELOADER_PROGRAMS
717 ALL_TEST_RESOURCES
718 CONFIGURE_TARGETS
719 DISABLED_SUBDIRS
720 SUBDIRS
721 READELF
722 OTOOL
724 LDEXECFLAGS
725 LDRPATH_LOCAL
726 LDRPATH_INSTALL
727 DLLFLAGS
728 dlldir
730 OPENGL_LIBS
731 ICOTOOL
732 CONVERT
733 RSVG
734 FONTFORGE
735 PKG_CONFIG
736 MSGFMT
737 LDCONFIG
738 EGREP
739 GREP
740 LN_S
741 RANLIB
742 ARFLAGS
743 STRIP
744 ac_ct_AR
746 BISON
747 FLEX
748 TOOLSDIR
749 TARGETFLAGS
751 CPPBIN
752 ac_ct_CXX
753 CXXFLAGS
755 OBJEXT
756 EXEEXT
757 ac_ct_CC
758 CPPFLAGS
759 LDFLAGS
760 CFLAGS
762 SET_MAKE
763 host_os
764 host_vendor
765 host_cpu
766 host
767 build_os
768 build_vendor
769 build_cpu
770 build
771 target_alias
772 host_alias
773 build_alias
774 LIBS
775 ECHO_T
776 ECHO_N
777 ECHO_C
778 DEFS
779 mandir
780 localedir
781 libdir
782 psdir
783 pdfdir
784 dvidir
785 htmldir
786 infodir
787 docdir
788 oldincludedir
789 includedir
790 runstatedir
791 localstatedir
792 sharedstatedir
793 sysconfdir
794 datadir
795 datarootdir
796 libexecdir
797 sbindir
798 bindir
799 program_transform_name
800 prefix
801 exec_prefix
802 PACKAGE_URL
803 PACKAGE_BUGREPORT
804 PACKAGE_STRING
805 PACKAGE_VERSION
806 PACKAGE_TARNAME
807 PACKAGE_NAME
808 PATH_SEPARATOR
809 SHELL'
810 ac_subst_files=''
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_netapi
838 with_openal
839 with_opencl
840 with_opengl
841 with_osmesa
842 with_oss
843 with_pcap
844 with_png
845 with_pthread
846 with_pulse
847 with_sane
848 with_tiff
849 with_v4l
850 with_xcomposite
851 with_xcursor
852 with_xinerama
853 with_xinput
854 with_xinput2
855 with_xml
856 with_xrandr
857 with_xrender
858 with_xshape
859 with_xshm
860 with_xslt
861 with_xxf86vm
862 with_zlib
863 with_wine_tools
864 with_wine64
865 enable_largefile
866 with_x
867 enable_acledit
868 enable_aclui
869 enable_activeds
870 enable_actxprxy
871 enable_advapi32
872 enable_advpack
873 enable_amstream
874 enable_api_ms_win_core_com_l1_1_0
875 enable_api_ms_win_core_com_l1_1_1
876 enable_api_ms_win_core_console_l1_1_0
877 enable_api_ms_win_core_datetime_l1_1_0
878 enable_api_ms_win_core_datetime_l1_1_1
879 enable_api_ms_win_core_debug_l1_1_0
880 enable_api_ms_win_core_debug_l1_1_1
881 enable_api_ms_win_core_delayload_l1_1_1
882 enable_api_ms_win_core_errorhandling_l1_1_0
883 enable_api_ms_win_core_errorhandling_l1_1_1
884 enable_api_ms_win_core_errorhandling_l1_1_2
885 enable_api_ms_win_core_fibers_l1_1_0
886 enable_api_ms_win_core_fibers_l1_1_1
887 enable_api_ms_win_core_file_l1_1_0
888 enable_api_ms_win_core_file_l1_2_0
889 enable_api_ms_win_core_file_l2_1_0
890 enable_api_ms_win_core_file_l2_1_1
891 enable_api_ms_win_core_handle_l1_1_0
892 enable_api_ms_win_core_heap_l1_1_0
893 enable_api_ms_win_core_heap_l1_2_0
894 enable_api_ms_win_core_heap_obsolete_l1_1_0
895 enable_api_ms_win_core_interlocked_l1_1_0
896 enable_api_ms_win_core_interlocked_l1_2_0
897 enable_api_ms_win_core_io_l1_1_1
898 enable_api_ms_win_core_kernel32_legacy_l1_1_0
899 enable_api_ms_win_core_kernel32_legacy_l1_1_1
900 enable_api_ms_win_core_libraryloader_l1_1_0
901 enable_api_ms_win_core_libraryloader_l1_1_1
902 enable_api_ms_win_core_libraryloader_l1_2_0
903 enable_api_ms_win_core_localization_l1_1_0
904 enable_api_ms_win_core_localization_l1_2_0
905 enable_api_ms_win_core_localization_l1_2_1
906 enable_api_ms_win_core_localization_obsolete_l1_1_0
907 enable_api_ms_win_core_localregistry_l1_1_0
908 enable_api_ms_win_core_memory_l1_1_0
909 enable_api_ms_win_core_memory_l1_1_1
910 enable_api_ms_win_core_misc_l1_1_0
911 enable_api_ms_win_core_namedpipe_l1_1_0
912 enable_api_ms_win_core_namedpipe_l1_2_0
913 enable_api_ms_win_core_path_l1_1_0
914 enable_api_ms_win_core_processenvironment_l1_1_0
915 enable_api_ms_win_core_processenvironment_l1_2_0
916 enable_api_ms_win_core_processthreads_l1_1_0
917 enable_api_ms_win_core_processthreads_l1_1_1
918 enable_api_ms_win_core_processthreads_l1_1_2
919 enable_api_ms_win_core_profile_l1_1_0
920 enable_api_ms_win_core_psapi_l1_1_0
921 enable_api_ms_win_core_registry_l1_1_0
922 enable_api_ms_win_core_rtlsupport_l1_1_0
923 enable_api_ms_win_core_rtlsupport_l1_2_0
924 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
925 enable_api_ms_win_core_string_l1_1_0
926 enable_api_ms_win_core_synch_l1_1_0
927 enable_api_ms_win_core_synch_l1_2_0
928 enable_api_ms_win_core_sysinfo_l1_1_0
929 enable_api_ms_win_core_sysinfo_l1_2_0
930 enable_api_ms_win_core_sysinfo_l1_2_1
931 enable_api_ms_win_core_threadpool_l1_2_0
932 enable_api_ms_win_core_threadpool_legacy_l1_1_0
933 enable_api_ms_win_core_timezone_l1_1_0
934 enable_api_ms_win_core_url_l1_1_0
935 enable_api_ms_win_core_util_l1_1_0
936 enable_api_ms_win_core_winrt_error_l1_1_0
937 enable_api_ms_win_core_winrt_error_l1_1_1
938 enable_api_ms_win_core_winrt_l1_1_0
939 enable_api_ms_win_core_winrt_registration_l1_1_0
940 enable_api_ms_win_core_winrt_string_l1_1_0
941 enable_api_ms_win_core_wow64_l1_1_0
942 enable_api_ms_win_core_xstate_l2_1_0
943 enable_api_ms_win_crt_conio_l1_1_0
944 enable_api_ms_win_crt_convert_l1_1_0
945 enable_api_ms_win_crt_environment_l1_1_0
946 enable_api_ms_win_crt_filesystem_l1_1_0
947 enable_api_ms_win_crt_heap_l1_1_0
948 enable_api_ms_win_crt_locale_l1_1_0
949 enable_api_ms_win_crt_math_l1_1_0
950 enable_api_ms_win_crt_multibyte_l1_1_0
951 enable_api_ms_win_crt_private_l1_1_0
952 enable_api_ms_win_crt_process_l1_1_0
953 enable_api_ms_win_crt_runtime_l1_1_0
954 enable_api_ms_win_crt_stdio_l1_1_0
955 enable_api_ms_win_crt_string_l1_1_0
956 enable_api_ms_win_crt_time_l1_1_0
957 enable_api_ms_win_crt_utility_l1_1_0
958 enable_api_ms_win_downlevel_advapi32_l1_1_0
959 enable_api_ms_win_downlevel_advapi32_l2_1_0
960 enable_api_ms_win_downlevel_normaliz_l1_1_0
961 enable_api_ms_win_downlevel_ole32_l1_1_0
962 enable_api_ms_win_downlevel_shell32_l1_1_0
963 enable_api_ms_win_downlevel_shlwapi_l1_1_0
964 enable_api_ms_win_downlevel_shlwapi_l2_1_0
965 enable_api_ms_win_downlevel_user32_l1_1_0
966 enable_api_ms_win_downlevel_version_l1_1_0
967 enable_api_ms_win_eventing_classicprovider_l1_1_0
968 enable_api_ms_win_eventing_provider_l1_1_0
969 enable_api_ms_win_ntuser_dc_access_l1_1_0
970 enable_api_ms_win_security_base_l1_1_0
971 enable_api_ms_win_security_base_l1_2_0
972 enable_api_ms_win_security_lsalookup_l1_1_0
973 enable_api_ms_win_security_lsalookup_l1_1_1
974 enable_api_ms_win_security_sddl_l1_1_0
975 enable_api_ms_win_service_core_l1_1_1
976 enable_api_ms_win_service_management_l1_1_0
977 enable_api_ms_win_service_winsvc_l1_2_0
978 enable_apphelp
979 enable_appwiz_cpl
980 enable_atl
981 enable_atl100
982 enable_atl110
983 enable_atl80
984 enable_atl90
985 enable_authz
986 enable_avicap32
987 enable_avifil32
988 enable_avrt
989 enable_bcrypt
990 enable_bluetoothapis
991 enable_browseui
992 enable_bthprops_cpl
993 enable_cabinet
994 enable_capi2032
995 enable_cards
996 enable_cfgmgr32
997 enable_clusapi
998 enable_combase
999 enable_comcat
1000 enable_comctl32
1001 enable_comdlg32
1002 enable_compstui
1003 enable_comsvcs
1004 enable_connect
1005 enable_credui
1006 enable_crtdll
1007 enable_crypt32
1008 enable_cryptdlg
1009 enable_cryptdll
1010 enable_cryptext
1011 enable_cryptnet
1012 enable_cryptui
1013 enable_ctapi32
1014 enable_ctl3d32
1015 enable_d2d1
1016 enable_d3d10
1017 enable_d3d10_1
1018 enable_d3d10core
1019 enable_d3d11
1020 enable_d3d8
1021 enable_d3d9
1022 enable_d3dcompiler_33
1023 enable_d3dcompiler_34
1024 enable_d3dcompiler_35
1025 enable_d3dcompiler_36
1026 enable_d3dcompiler_37
1027 enable_d3dcompiler_38
1028 enable_d3dcompiler_39
1029 enable_d3dcompiler_40
1030 enable_d3dcompiler_41
1031 enable_d3dcompiler_42
1032 enable_d3dcompiler_43
1033 enable_d3dcompiler_46
1034 enable_d3dcompiler_47
1035 enable_d3dim
1036 enable_d3drm
1037 enable_d3dx10_33
1038 enable_d3dx10_34
1039 enable_d3dx10_35
1040 enable_d3dx10_36
1041 enable_d3dx10_37
1042 enable_d3dx10_38
1043 enable_d3dx10_39
1044 enable_d3dx10_40
1045 enable_d3dx10_41
1046 enable_d3dx10_42
1047 enable_d3dx10_43
1048 enable_d3dx11_42
1049 enable_d3dx11_43
1050 enable_d3dx9_24
1051 enable_d3dx9_25
1052 enable_d3dx9_26
1053 enable_d3dx9_27
1054 enable_d3dx9_28
1055 enable_d3dx9_29
1056 enable_d3dx9_30
1057 enable_d3dx9_31
1058 enable_d3dx9_32
1059 enable_d3dx9_33
1060 enable_d3dx9_34
1061 enable_d3dx9_35
1062 enable_d3dx9_36
1063 enable_d3dx9_37
1064 enable_d3dx9_38
1065 enable_d3dx9_39
1066 enable_d3dx9_40
1067 enable_d3dx9_41
1068 enable_d3dx9_42
1069 enable_d3dx9_43
1070 enable_d3dxof
1071 enable_davclnt
1072 enable_dbgeng
1073 enable_dbghelp
1074 enable_dciman32
1075 enable_ddraw
1076 enable_ddrawex
1077 enable_devenum
1078 enable_dhcpcsvc
1079 enable_difxapi
1080 enable_dinput
1081 enable_dinput8
1082 enable_dispex
1083 enable_dmband
1084 enable_dmcompos
1085 enable_dmime
1086 enable_dmloader
1087 enable_dmscript
1088 enable_dmstyle
1089 enable_dmsynth
1090 enable_dmusic
1091 enable_dmusic32
1092 enable_dnsapi
1093 enable_dplay
1094 enable_dplayx
1095 enable_dpnaddr
1096 enable_dpnet
1097 enable_dpnhpast
1098 enable_dpnlobby
1099 enable_dpvoice
1100 enable_dpwsockx
1101 enable_drmclien
1102 enable_dsound
1103 enable_dssenh
1104 enable_dswave
1105 enable_dwmapi
1106 enable_dwrite
1107 enable_dxdiagn
1108 enable_dxgi
1109 enable_dxva2
1110 enable_esent
1111 enable_evr
1112 enable_explorerframe
1113 enable_ext_ms_win_gdi_devcaps_l1_1_0
1114 enable_faultrep
1115 enable_fltlib
1116 enable_fltmgr_sys
1117 enable_fntcache
1118 enable_fontsub
1119 enable_fusion
1120 enable_fwpuclnt
1121 enable_gameux
1122 enable_gdi32
1123 enable_gdiplus
1124 enable_glu32
1125 enable_gphoto2_ds
1126 enable_gpkcsp
1127 enable_hal
1128 enable_hhctrl_ocx
1129 enable_hid
1130 enable_hidclass_sys
1131 enable_hlink
1132 enable_hnetcfg
1133 enable_httpapi
1134 enable_iccvid
1135 enable_icmp
1136 enable_ieframe
1137 enable_imaadp32_acm
1138 enable_imagehlp
1139 enable_imm32
1140 enable_inetcomm
1141 enable_inetcpl_cpl
1142 enable_inetmib1
1143 enable_infosoft
1144 enable_initpki
1145 enable_inkobj
1146 enable_inseng
1147 enable_iphlpapi
1148 enable_irprops_cpl
1149 enable_itircl
1150 enable_itss
1151 enable_joy_cpl
1152 enable_jscript
1153 enable_jsproxy
1154 enable_kernel32
1155 enable_ksuser
1156 enable_ktmw32
1157 enable_loadperf
1158 enable_localspl
1159 enable_localui
1160 enable_lz32
1161 enable_mapi32
1162 enable_mapistub
1163 enable_mciavi32
1164 enable_mcicda
1165 enable_mciqtz32
1166 enable_mciseq
1167 enable_mciwave
1168 enable_mf
1169 enable_mfplat
1170 enable_mfreadwrite
1171 enable_mgmtapi
1172 enable_midimap
1173 enable_mlang
1174 enable_mmcndmgr
1175 enable_mmdevapi
1176 enable_mountmgr_sys
1177 enable_mpr
1178 enable_mprapi
1179 enable_msacm32_drv
1180 enable_msacm32
1181 enable_msadp32_acm
1182 enable_msasn1
1183 enable_mscat32
1184 enable_mscms
1185 enable_mscoree
1186 enable_msctf
1187 enable_msctfp
1188 enable_msdaps
1189 enable_msdelta
1190 enable_msdmo
1191 enable_msdrm
1192 enable_msftedit
1193 enable_msg711_acm
1194 enable_msgsm32_acm
1195 enable_mshtml_tlb
1196 enable_mshtml
1197 enable_msi
1198 enable_msident
1199 enable_msimg32
1200 enable_msimsg
1201 enable_msimtf
1202 enable_msisip
1203 enable_msisys_ocx
1204 enable_msls31
1205 enable_msnet32
1206 enable_mspatcha
1207 enable_msrle32
1208 enable_msscript_ocx
1209 enable_mssign32
1210 enable_mssip32
1211 enable_mstask
1212 enable_msvcirt
1213 enable_msvcm80
1214 enable_msvcm90
1215 enable_msvcp100
1216 enable_msvcp110
1217 enable_msvcp120
1218 enable_msvcp120_app
1219 enable_msvcp60
1220 enable_msvcp70
1221 enable_msvcp71
1222 enable_msvcp80
1223 enable_msvcp90
1224 enable_msvcr100
1225 enable_msvcr110
1226 enable_msvcr120
1227 enable_msvcr120_app
1228 enable_msvcr70
1229 enable_msvcr71
1230 enable_msvcr80
1231 enable_msvcr90
1232 enable_msvcrt
1233 enable_msvcrt20
1234 enable_msvcrt40
1235 enable_msvcrtd
1236 enable_msvfw32
1237 enable_msvidc32
1238 enable_mswsock
1239 enable_msxml
1240 enable_msxml2
1241 enable_msxml3
1242 enable_msxml4
1243 enable_msxml6
1244 enable_nddeapi
1245 enable_ndis_sys
1246 enable_netapi32
1247 enable_netcfgx
1248 enable_netprofm
1249 enable_newdev
1250 enable_normaliz
1251 enable_npmshtml
1252 enable_npptools
1253 enable_ntdll
1254 enable_ntdsapi
1255 enable_ntoskrnl_exe
1256 enable_ntprint
1257 enable_objsel
1258 enable_odbc32
1259 enable_odbccp32
1260 enable_odbccu32
1261 enable_ole32
1262 enable_oleacc
1263 enable_oleaut32
1264 enable_olecli32
1265 enable_oledb32
1266 enable_oledlg
1267 enable_olepro32
1268 enable_olesvr32
1269 enable_olethk32
1270 enable_openal32
1271 enable_opencl
1272 enable_opengl32
1273 enable_packager
1274 enable_pdh
1275 enable_photometadatahandler
1276 enable_pidgen
1277 enable_powrprof
1278 enable_printui
1279 enable_prntvpt
1280 enable_propsys
1281 enable_psapi
1282 enable_pstorec
1283 enable_qcap
1284 enable_qedit
1285 enable_qmgr
1286 enable_qmgrprxy
1287 enable_quartz
1288 enable_query
1289 enable_rasapi32
1290 enable_rasdlg
1291 enable_regapi
1292 enable_resutils
1293 enable_riched20
1294 enable_riched32
1295 enable_rpcrt4
1296 enable_rsabase
1297 enable_rsaenh
1298 enable_rstrtmgr
1299 enable_rtutils
1300 enable_samlib
1301 enable_sane_ds
1302 enable_scarddlg
1303 enable_sccbase
1304 enable_schannel
1305 enable_schedsvc
1306 enable_scrrun
1307 enable_scsiport_sys
1308 enable_secur32
1309 enable_security
1310 enable_sensapi
1311 enable_serialui
1312 enable_setupapi
1313 enable_sfc
1314 enable_sfc_os
1315 enable_shdoclc
1316 enable_shdocvw
1317 enable_shell32
1318 enable_shfolder
1319 enable_shlwapi
1320 enable_slbcsp
1321 enable_slc
1322 enable_snmpapi
1323 enable_softpub
1324 enable_spoolss
1325 enable_stdole2_tlb
1326 enable_stdole32_tlb
1327 enable_sti
1328 enable_svrapi
1329 enable_sxs
1330 enable_t2embed
1331 enable_tapi32
1332 enable_taskschd
1333 enable_tdi_sys
1334 enable_traffic
1335 enable_twain_32
1336 enable_ucrtbase
1337 enable_unicows
1338 enable_updspapi
1339 enable_url
1340 enable_urlmon
1341 enable_usbd_sys
1342 enable_user32
1343 enable_userenv
1344 enable_usp10
1345 enable_uxtheme
1346 enable_vbscript
1347 enable_vcomp
1348 enable_vcomp100
1349 enable_vcomp110
1350 enable_vcomp120
1351 enable_vcomp90
1352 enable_vcruntime140
1353 enable_vdmdbg
1354 enable_version
1355 enable_vssapi
1356 enable_wbemdisp
1357 enable_wbemprox
1358 enable_webservices
1359 enable_wer
1360 enable_wevtapi
1361 enable_wiaservc
1362 enable_wimgapi
1363 enable_windowscodecs
1364 enable_windowscodecsext
1365 enable_winealsa_drv
1366 enable_winecoreaudio_drv
1367 enable_wined3d
1368 enable_winegstreamer
1369 enable_winejoystick_drv
1370 enable_winemac_drv
1371 enable_winemapi
1372 enable_winemp3_acm
1373 enable_wineoss_drv
1374 enable_wineps_drv
1375 enable_winepulse_drv
1376 enable_wineqtdecoder
1377 enable_winex11_drv
1378 enable_wing32
1379 enable_winhttp
1380 enable_wininet
1381 enable_winmm
1382 enable_winnls32
1383 enable_winscard
1384 enable_winspool_drv
1385 enable_winsta
1386 enable_wintab32
1387 enable_wintrust
1388 enable_wlanapi
1389 enable_wldap32
1390 enable_wmi
1391 enable_wmiutils
1392 enable_wmp
1393 enable_wmvcore
1394 enable_wnaspi32
1395 enable_wpcap
1396 enable_ws2_32
1397 enable_wshom_ocx
1398 enable_wsnmp32
1399 enable_wsock32
1400 enable_wtsapi32
1401 enable_wuapi
1402 enable_wuaueng
1403 enable_x3daudio1_0
1404 enable_x3daudio1_1
1405 enable_x3daudio1_2
1406 enable_x3daudio1_3
1407 enable_x3daudio1_4
1408 enable_x3daudio1_5
1409 enable_x3daudio1_6
1410 enable_x3daudio1_7
1411 enable_xapofx1_1
1412 enable_xapofx1_2
1413 enable_xapofx1_3
1414 enable_xapofx1_4
1415 enable_xapofx1_5
1416 enable_xaudio2_0
1417 enable_xaudio2_1
1418 enable_xaudio2_2
1419 enable_xaudio2_3
1420 enable_xaudio2_4
1421 enable_xaudio2_5
1422 enable_xaudio2_6
1423 enable_xaudio2_7
1424 enable_xaudio2_8
1425 enable_xaudio2_9
1426 enable_xinput1_1
1427 enable_xinput1_2
1428 enable_xinput1_3
1429 enable_xinput1_4
1430 enable_xinput9_1_0
1431 enable_xmllite
1432 enable_xolehlp
1433 enable_xpsprint
1434 enable_xpssvcs
1435 enable_fonts
1436 enable_include
1437 enable_libs_port
1438 enable_libs_wine
1439 enable_libs_wpp
1440 enable_loader
1441 enable_po
1442 enable_arp
1443 enable_aspnet_regiis
1444 enable_attrib
1445 enable_cabarc
1446 enable_cacls
1447 enable_clock
1448 enable_cmd
1449 enable_conhost
1450 enable_control
1451 enable_cscript
1452 enable_dpnsvr
1453 enable_dxdiag
1454 enable_eject
1455 enable_expand
1456 enable_explorer
1457 enable_extrac32
1458 enable_findstr
1459 enable_hh
1460 enable_hostname
1461 enable_icacls
1462 enable_icinfo
1463 enable_iexplore
1464 enable_ipconfig
1465 enable_lodctr
1466 enable_mofcomp
1467 enable_mshta
1468 enable_msiexec
1469 enable_net
1470 enable_netsh
1471 enable_netstat
1472 enable_ngen
1473 enable_notepad
1474 enable_oleview
1475 enable_ping
1476 enable_plugplay
1477 enable_presentationfontcache
1478 enable_progman
1479 enable_reg
1480 enable_regasm
1481 enable_regedit
1482 enable_regsvcs
1483 enable_regsvr32
1484 enable_rpcss
1485 enable_rundll32
1486 enable_sc
1487 enable_schtasks
1488 enable_sdbinst
1489 enable_secedit
1490 enable_servicemodelreg
1491 enable_services
1492 enable_shutdown
1493 enable_spoolsv
1494 enable_start
1495 enable_svchost
1496 enable_systeminfo
1497 enable_taskkill
1498 enable_tasklist
1499 enable_taskmgr
1500 enable_termsv
1501 enable_uninstaller
1502 enable_unlodctr
1503 enable_view
1504 enable_wevtutil
1505 enable_wineboot
1506 enable_winebrowser
1507 enable_winecfg
1508 enable_wineconsole
1509 enable_winedbg
1510 enable_winedevice
1511 enable_winefile
1512 enable_winemenubuilder
1513 enable_winemine
1514 enable_winemsibuilder
1515 enable_winepath
1516 enable_winetest
1517 enable_winhlp32
1518 enable_winver
1519 enable_wmic
1520 enable_wmplayer
1521 enable_wordpad
1522 enable_write
1523 enable_wscript
1524 enable_wusa
1525 enable_xcopy
1526 enable_server
1527 enable_tools
1529 ac_precious_vars='build_alias
1530 host_alias
1531 target_alias
1533 CFLAGS
1534 LDFLAGS
1535 LIBS
1536 CPPFLAGS
1538 CXXFLAGS
1541 XMKMF
1542 XML2_CFLAGS
1543 XML2_LIBS
1544 XSLT_CFLAGS
1545 XSLT_LIBS
1546 DBUS_CFLAGS
1547 DBUS_LIBS
1548 HAL_CFLAGS
1549 HAL_LIBS
1550 GNUTLS_CFLAGS
1551 GNUTLS_LIBS
1552 SANE_CFLAGS
1553 SANE_LIBS
1554 GPHOTO2_CFLAGS
1555 GPHOTO2_LIBS
1556 GPHOTO2_PORT_CFLAGS
1557 GPHOTO2_PORT_LIBS
1558 LCMS2_CFLAGS
1559 LCMS2_LIBS
1560 FREETYPE_CFLAGS
1561 FREETYPE_LIBS
1562 PULSE_CFLAGS
1563 PULSE_LIBS
1564 GSTREAMER_CFLAGS
1565 GSTREAMER_LIBS
1566 CAPI20_CFLAGS
1567 CAPI20_LIBS
1568 FONTCONFIG_CFLAGS
1569 FONTCONFIG_LIBS
1570 JPEG_CFLAGS
1571 JPEG_LIBS
1572 PNG_CFLAGS
1573 PNG_LIBS
1574 TIFF_CFLAGS
1575 TIFF_LIBS
1576 MPG123_CFLAGS
1577 MPG123_LIBS
1578 NETAPI_CFLAGS
1579 NETAPI_LIBS'
1582 # Initialize some variables set by options.
1583 ac_init_help=
1584 ac_init_version=false
1585 ac_unrecognized_opts=
1586 ac_unrecognized_sep=
1587 # The variables have the same names as the options, with
1588 # dashes changed to underlines.
1589 cache_file=/dev/null
1590 exec_prefix=NONE
1591 no_create=
1592 no_recursion=
1593 prefix=NONE
1594 program_prefix=NONE
1595 program_suffix=NONE
1596 program_transform_name=s,x,x,
1597 silent=
1598 site=
1599 srcdir=
1600 verbose=
1601 x_includes=NONE
1602 x_libraries=NONE
1604 # Installation directory options.
1605 # These are left unexpanded so users can "make install exec_prefix=/foo"
1606 # and all the variables that are supposed to be based on exec_prefix
1607 # by default will actually change.
1608 # Use braces instead of parens because sh, perl, etc. also accept them.
1609 # (The list follows the same order as the GNU Coding Standards.)
1610 bindir='${exec_prefix}/bin'
1611 sbindir='${exec_prefix}/sbin'
1612 libexecdir='${exec_prefix}/libexec'
1613 datarootdir='${prefix}/share'
1614 datadir='${datarootdir}'
1615 sysconfdir='${prefix}/etc'
1616 sharedstatedir='${prefix}/com'
1617 localstatedir='${prefix}/var'
1618 runstatedir='${localstatedir}/run'
1619 includedir='${prefix}/include'
1620 oldincludedir='/usr/include'
1621 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1622 infodir='${datarootdir}/info'
1623 htmldir='${docdir}'
1624 dvidir='${docdir}'
1625 pdfdir='${docdir}'
1626 psdir='${docdir}'
1627 libdir='${exec_prefix}/lib'
1628 localedir='${datarootdir}/locale'
1629 mandir='${datarootdir}/man'
1631 ac_prev=
1632 ac_dashdash=
1633 for ac_option
1635 # If the previous option needs an argument, assign it.
1636 if test -n "$ac_prev"; then
1637 eval $ac_prev=\$ac_option
1638 ac_prev=
1639 continue
1642 case $ac_option in
1643 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1644 *=) ac_optarg= ;;
1645 *) ac_optarg=yes ;;
1646 esac
1648 # Accept the important Cygnus configure options, so we can diagnose typos.
1650 case $ac_dashdash$ac_option in
1652 ac_dashdash=yes ;;
1654 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1655 ac_prev=bindir ;;
1656 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1657 bindir=$ac_optarg ;;
1659 -build | --build | --buil | --bui | --bu)
1660 ac_prev=build_alias ;;
1661 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1662 build_alias=$ac_optarg ;;
1664 -cache-file | --cache-file | --cache-fil | --cache-fi \
1665 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1666 ac_prev=cache_file ;;
1667 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1668 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1669 cache_file=$ac_optarg ;;
1671 --config-cache | -C)
1672 cache_file=config.cache ;;
1674 -datadir | --datadir | --datadi | --datad)
1675 ac_prev=datadir ;;
1676 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1677 datadir=$ac_optarg ;;
1679 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1680 | --dataroo | --dataro | --datar)
1681 ac_prev=datarootdir ;;
1682 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1683 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1684 datarootdir=$ac_optarg ;;
1686 -disable-* | --disable-*)
1687 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1688 # Reject names that are not valid shell variable names.
1689 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1690 as_fn_error $? "invalid feature name: $ac_useropt"
1691 ac_useropt_orig=$ac_useropt
1692 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1693 case $ac_user_opts in
1695 "enable_$ac_useropt"
1696 "*) ;;
1697 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1698 ac_unrecognized_sep=', ';;
1699 esac
1700 eval enable_$ac_useropt=no ;;
1702 -docdir | --docdir | --docdi | --doc | --do)
1703 ac_prev=docdir ;;
1704 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1705 docdir=$ac_optarg ;;
1707 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1708 ac_prev=dvidir ;;
1709 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1710 dvidir=$ac_optarg ;;
1712 -enable-* | --enable-*)
1713 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1714 # Reject names that are not valid shell variable names.
1715 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1716 as_fn_error $? "invalid feature name: $ac_useropt"
1717 ac_useropt_orig=$ac_useropt
1718 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1719 case $ac_user_opts in
1721 "enable_$ac_useropt"
1722 "*) ;;
1723 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1724 ac_unrecognized_sep=', ';;
1725 esac
1726 eval enable_$ac_useropt=\$ac_optarg ;;
1728 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1729 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1730 | --exec | --exe | --ex)
1731 ac_prev=exec_prefix ;;
1732 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1733 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1734 | --exec=* | --exe=* | --ex=*)
1735 exec_prefix=$ac_optarg ;;
1737 -gas | --gas | --ga | --g)
1738 # Obsolete; use --with-gas.
1739 with_gas=yes ;;
1741 -help | --help | --hel | --he | -h)
1742 ac_init_help=long ;;
1743 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1744 ac_init_help=recursive ;;
1745 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1746 ac_init_help=short ;;
1748 -host | --host | --hos | --ho)
1749 ac_prev=host_alias ;;
1750 -host=* | --host=* | --hos=* | --ho=*)
1751 host_alias=$ac_optarg ;;
1753 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1754 ac_prev=htmldir ;;
1755 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1756 | --ht=*)
1757 htmldir=$ac_optarg ;;
1759 -includedir | --includedir | --includedi | --included | --include \
1760 | --includ | --inclu | --incl | --inc)
1761 ac_prev=includedir ;;
1762 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1763 | --includ=* | --inclu=* | --incl=* | --inc=*)
1764 includedir=$ac_optarg ;;
1766 -infodir | --infodir | --infodi | --infod | --info | --inf)
1767 ac_prev=infodir ;;
1768 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1769 infodir=$ac_optarg ;;
1771 -libdir | --libdir | --libdi | --libd)
1772 ac_prev=libdir ;;
1773 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1774 libdir=$ac_optarg ;;
1776 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1777 | --libexe | --libex | --libe)
1778 ac_prev=libexecdir ;;
1779 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1780 | --libexe=* | --libex=* | --libe=*)
1781 libexecdir=$ac_optarg ;;
1783 -localedir | --localedir | --localedi | --localed | --locale)
1784 ac_prev=localedir ;;
1785 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1786 localedir=$ac_optarg ;;
1788 -localstatedir | --localstatedir | --localstatedi | --localstated \
1789 | --localstate | --localstat | --localsta | --localst | --locals)
1790 ac_prev=localstatedir ;;
1791 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1792 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1793 localstatedir=$ac_optarg ;;
1795 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1796 ac_prev=mandir ;;
1797 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1798 mandir=$ac_optarg ;;
1800 -nfp | --nfp | --nf)
1801 # Obsolete; use --without-fp.
1802 with_fp=no ;;
1804 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1805 | --no-cr | --no-c | -n)
1806 no_create=yes ;;
1808 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1809 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1810 no_recursion=yes ;;
1812 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1813 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1814 | --oldin | --oldi | --old | --ol | --o)
1815 ac_prev=oldincludedir ;;
1816 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1817 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1818 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1819 oldincludedir=$ac_optarg ;;
1821 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1822 ac_prev=prefix ;;
1823 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1824 prefix=$ac_optarg ;;
1826 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1827 | --program-pre | --program-pr | --program-p)
1828 ac_prev=program_prefix ;;
1829 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1830 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1831 program_prefix=$ac_optarg ;;
1833 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1834 | --program-suf | --program-su | --program-s)
1835 ac_prev=program_suffix ;;
1836 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1837 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1838 program_suffix=$ac_optarg ;;
1840 -program-transform-name | --program-transform-name \
1841 | --program-transform-nam | --program-transform-na \
1842 | --program-transform-n | --program-transform- \
1843 | --program-transform | --program-transfor \
1844 | --program-transfo | --program-transf \
1845 | --program-trans | --program-tran \
1846 | --progr-tra | --program-tr | --program-t)
1847 ac_prev=program_transform_name ;;
1848 -program-transform-name=* | --program-transform-name=* \
1849 | --program-transform-nam=* | --program-transform-na=* \
1850 | --program-transform-n=* | --program-transform-=* \
1851 | --program-transform=* | --program-transfor=* \
1852 | --program-transfo=* | --program-transf=* \
1853 | --program-trans=* | --program-tran=* \
1854 | --progr-tra=* | --program-tr=* | --program-t=*)
1855 program_transform_name=$ac_optarg ;;
1857 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1858 ac_prev=pdfdir ;;
1859 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1860 pdfdir=$ac_optarg ;;
1862 -psdir | --psdir | --psdi | --psd | --ps)
1863 ac_prev=psdir ;;
1864 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1865 psdir=$ac_optarg ;;
1867 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1868 | -silent | --silent | --silen | --sile | --sil)
1869 silent=yes ;;
1871 -runstatedir | --runstatedir | --runstatedi | --runstated \
1872 | --runstate | --runstat | --runsta | --runst | --runs \
1873 | --run | --ru | --r)
1874 ac_prev=runstatedir ;;
1875 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1876 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1877 | --run=* | --ru=* | --r=*)
1878 runstatedir=$ac_optarg ;;
1880 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1881 ac_prev=sbindir ;;
1882 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1883 | --sbi=* | --sb=*)
1884 sbindir=$ac_optarg ;;
1886 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1887 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1888 | --sharedst | --shareds | --shared | --share | --shar \
1889 | --sha | --sh)
1890 ac_prev=sharedstatedir ;;
1891 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1892 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1893 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1894 | --sha=* | --sh=*)
1895 sharedstatedir=$ac_optarg ;;
1897 -site | --site | --sit)
1898 ac_prev=site ;;
1899 -site=* | --site=* | --sit=*)
1900 site=$ac_optarg ;;
1902 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1903 ac_prev=srcdir ;;
1904 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1905 srcdir=$ac_optarg ;;
1907 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1908 | --syscon | --sysco | --sysc | --sys | --sy)
1909 ac_prev=sysconfdir ;;
1910 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1911 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1912 sysconfdir=$ac_optarg ;;
1914 -target | --target | --targe | --targ | --tar | --ta | --t)
1915 ac_prev=target_alias ;;
1916 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1917 target_alias=$ac_optarg ;;
1919 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1920 verbose=yes ;;
1922 -version | --version | --versio | --versi | --vers | -V)
1923 ac_init_version=: ;;
1925 -with-* | --with-*)
1926 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1927 # Reject names that are not valid shell variable names.
1928 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1929 as_fn_error $? "invalid package name: $ac_useropt"
1930 ac_useropt_orig=$ac_useropt
1931 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1932 case $ac_user_opts in
1934 "with_$ac_useropt"
1935 "*) ;;
1936 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1937 ac_unrecognized_sep=', ';;
1938 esac
1939 eval with_$ac_useropt=\$ac_optarg ;;
1941 -without-* | --without-*)
1942 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1943 # Reject names that are not valid shell variable names.
1944 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1945 as_fn_error $? "invalid package name: $ac_useropt"
1946 ac_useropt_orig=$ac_useropt
1947 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1948 case $ac_user_opts in
1950 "with_$ac_useropt"
1951 "*) ;;
1952 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1953 ac_unrecognized_sep=', ';;
1954 esac
1955 eval with_$ac_useropt=no ;;
1957 --x)
1958 # Obsolete; use --with-x.
1959 with_x=yes ;;
1961 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1962 | --x-incl | --x-inc | --x-in | --x-i)
1963 ac_prev=x_includes ;;
1964 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1965 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1966 x_includes=$ac_optarg ;;
1968 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1969 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1970 ac_prev=x_libraries ;;
1971 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1972 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1973 x_libraries=$ac_optarg ;;
1975 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1976 Try \`$0 --help' for more information"
1979 *=*)
1980 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1981 # Reject names that are not valid shell variable names.
1982 case $ac_envvar in #(
1983 '' | [0-9]* | *[!_$as_cr_alnum]* )
1984 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1985 esac
1986 eval $ac_envvar=\$ac_optarg
1987 export $ac_envvar ;;
1990 # FIXME: should be removed in autoconf 3.0.
1991 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1992 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1993 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1994 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1997 esac
1998 done
2000 if test -n "$ac_prev"; then
2001 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2002 as_fn_error $? "missing argument to $ac_option"
2005 if test -n "$ac_unrecognized_opts"; then
2006 case $enable_option_checking in
2007 no) ;;
2008 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2009 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2010 esac
2013 # Check all directory arguments for consistency.
2014 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2015 datadir sysconfdir sharedstatedir localstatedir includedir \
2016 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2017 libdir localedir mandir runstatedir
2019 eval ac_val=\$$ac_var
2020 # Remove trailing slashes.
2021 case $ac_val in
2022 */ )
2023 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2024 eval $ac_var=\$ac_val;;
2025 esac
2026 # Be sure to have absolute directory names.
2027 case $ac_val in
2028 [\\/$]* | ?:[\\/]* ) continue;;
2029 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2030 esac
2031 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2032 done
2034 # There might be people who depend on the old broken behavior: `$host'
2035 # used to hold the argument of --host etc.
2036 # FIXME: To remove some day.
2037 build=$build_alias
2038 host=$host_alias
2039 target=$target_alias
2041 # FIXME: To remove some day.
2042 if test "x$host_alias" != x; then
2043 if test "x$build_alias" = x; then
2044 cross_compiling=maybe
2045 elif test "x$build_alias" != "x$host_alias"; then
2046 cross_compiling=yes
2050 ac_tool_prefix=
2051 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2053 test "$silent" = yes && exec 6>/dev/null
2056 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2057 ac_ls_di=`ls -di .` &&
2058 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2059 as_fn_error $? "working directory cannot be determined"
2060 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2061 as_fn_error $? "pwd does not report name of working directory"
2064 # Find the source files, if location was not specified.
2065 if test -z "$srcdir"; then
2066 ac_srcdir_defaulted=yes
2067 # Try the directory containing this script, then the parent directory.
2068 ac_confdir=`$as_dirname -- "$as_myself" ||
2069 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2070 X"$as_myself" : 'X\(//\)[^/]' \| \
2071 X"$as_myself" : 'X\(//\)$' \| \
2072 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2073 $as_echo X"$as_myself" |
2074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2075 s//\1/
2078 /^X\(\/\/\)[^/].*/{
2079 s//\1/
2082 /^X\(\/\/\)$/{
2083 s//\1/
2086 /^X\(\/\).*/{
2087 s//\1/
2090 s/.*/./; q'`
2091 srcdir=$ac_confdir
2092 if test ! -r "$srcdir/$ac_unique_file"; then
2093 srcdir=..
2095 else
2096 ac_srcdir_defaulted=no
2098 if test ! -r "$srcdir/$ac_unique_file"; then
2099 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2100 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2102 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2103 ac_abs_confdir=`(
2104 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2105 pwd)`
2106 # When building in place, set srcdir=.
2107 if test "$ac_abs_confdir" = "$ac_pwd"; then
2108 srcdir=.
2110 # Remove unnecessary trailing slashes from srcdir.
2111 # Double slashes in file names in object file debugging info
2112 # mess up M-x gdb in Emacs.
2113 case $srcdir in
2114 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2115 esac
2116 for ac_var in $ac_precious_vars; do
2117 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2118 eval ac_env_${ac_var}_value=\$${ac_var}
2119 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2120 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2121 done
2124 # Report the --help message.
2126 if test "$ac_init_help" = "long"; then
2127 # Omit some internal or obsolete options to make the list less imposing.
2128 # This message is too long to be a string in the A/UX 3.1 sh.
2129 cat <<_ACEOF
2130 \`configure' configures Wine 1.9.5 to adapt to many kinds of systems.
2132 Usage: $0 [OPTION]... [VAR=VALUE]...
2134 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2135 VAR=VALUE. See below for descriptions of some of the useful variables.
2137 Defaults for the options are specified in brackets.
2139 Configuration:
2140 -h, --help display this help and exit
2141 --help=short display options specific to this package
2142 --help=recursive display the short help of all the included packages
2143 -V, --version display version information and exit
2144 -q, --quiet, --silent do not print \`checking ...' messages
2145 --cache-file=FILE cache test results in FILE [disabled]
2146 -C, --config-cache alias for \`--cache-file=config.cache'
2147 -n, --no-create do not create output files
2148 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2150 Installation directories:
2151 --prefix=PREFIX install architecture-independent files in PREFIX
2152 [$ac_default_prefix]
2153 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2154 [PREFIX]
2156 By default, \`make install' will install all the files in
2157 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2158 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2159 for instance \`--prefix=\$HOME'.
2161 For better control, use the options below.
2163 Fine tuning of the installation directories:
2164 --bindir=DIR user executables [EPREFIX/bin]
2165 --sbindir=DIR system admin executables [EPREFIX/sbin]
2166 --libexecdir=DIR program executables [EPREFIX/libexec]
2167 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2168 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2169 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2170 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2171 --libdir=DIR object code libraries [EPREFIX/lib]
2172 --includedir=DIR C header files [PREFIX/include]
2173 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2174 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2175 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2176 --infodir=DIR info documentation [DATAROOTDIR/info]
2177 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2178 --mandir=DIR man documentation [DATAROOTDIR/man]
2179 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2180 --htmldir=DIR html documentation [DOCDIR]
2181 --dvidir=DIR dvi documentation [DOCDIR]
2182 --pdfdir=DIR pdf documentation [DOCDIR]
2183 --psdir=DIR ps documentation [DOCDIR]
2184 _ACEOF
2186 cat <<\_ACEOF
2188 X features:
2189 --x-includes=DIR X include files are in DIR
2190 --x-libraries=DIR X library files are in DIR
2192 System types:
2193 --build=BUILD configure for building on BUILD [guessed]
2194 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2195 _ACEOF
2198 if test -n "$ac_init_help"; then
2199 case $ac_init_help in
2200 short | recursive ) echo "Configuration of Wine 1.9.5:";;
2201 esac
2202 cat <<\_ACEOF
2204 Optional Features:
2205 --disable-option-checking ignore unrecognized --enable/--with options
2206 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2207 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2208 --disable-win16 do not include Win16 support
2209 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2210 binaries)
2211 --disable-tests do not build the regression tests
2212 --enable-maintainer-mode
2213 enable maintainer-specific build rules
2214 --disable-largefile omit support for large files
2216 Optional Packages:
2217 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2218 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2219 --without-alsa do not use the Alsa sound support
2220 --without-capi do not use CAPI (ISDN support)
2221 --without-cms do not use CMS (color management support)
2222 --without-coreaudio do not use the CoreAudio sound support
2223 --without-cups do not use CUPS
2224 --without-curses do not use (n)curses
2225 --without-dbus do not use DBus (dynamic device support)
2226 --without-fontconfig do not use fontconfig
2227 --without-freetype do not use the FreeType library
2228 --without-gettext do not use gettext
2229 --with-gettextpo use the GetTextPO library to rebuild po files
2230 --without-gphoto do not use gphoto (Digital Camera support)
2231 --without-glu do not use the GLU library
2232 --without-gnutls do not use GnuTLS (schannel support)
2233 --without-gsm do not use libgsm (GSM 06.10 codec support)
2234 --without-gstreamer do not use GStreamer (codecs support)
2235 --without-hal do not use HAL (dynamic device support)
2236 --without-jpeg do not use JPEG
2237 --without-ldap do not use LDAP
2238 --without-mpg123 do not use the mpg123 library
2239 --without-netapi do not use the Samba NetAPI library
2240 --without-openal do not use OpenAL
2241 --without-opencl do not use OpenCL
2242 --without-opengl do not use OpenGL
2243 --without-osmesa do not use the OSMesa library
2244 --without-oss do not use the OSS sound support
2245 --without-pcap do not use the Packet Capture library
2246 --without-png do not use PNG
2247 --without-pthread do not use the pthread library
2248 --without-pulse do not use PulseAudio sound support
2249 --without-sane do not use SANE (scanner support)
2250 --without-tiff do not use TIFF
2251 --without-v4l do not use v4l1 (v4l support)
2252 --without-xcomposite do not use the Xcomposite extension
2253 --without-xcursor do not use the Xcursor extension
2254 --without-xinerama do not use Xinerama (multi-monitor support)
2255 --without-xinput do not use the Xinput extension
2256 --without-xinput2 do not use the Xinput 2 extension
2257 --without-xml do not use XML
2258 --without-xrandr do not use Xrandr (resolution changes)
2259 --without-xrender do not use the Xrender extension
2260 --without-xshape do not use the Xshape extension
2261 --without-xshm do not use XShm (shared memory extension)
2262 --without-xslt do not use XSLT
2263 --without-xxf86vm do not use XFree video mode extension
2264 --without-zlib do not use Zlib (data compression)
2265 --with-wine-tools=DIR use Wine tools from directory DIR
2266 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2267 --with-x use the X Window System
2269 Some influential environment variables:
2270 CC C compiler command
2271 CFLAGS C compiler flags
2272 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2273 nonstandard directory <lib dir>
2274 LIBS libraries to pass to the linker, e.g. -l<library>
2275 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2276 you have headers in a nonstandard directory <include dir>
2277 CXX C++ compiler command
2278 CXXFLAGS C++ compiler flags
2279 CPP C preprocessor
2280 XMKMF Path to xmkmf, Makefile generator for X Window System
2281 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2282 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2283 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2284 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2285 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2286 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2287 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2288 HAL_LIBS Linker flags for hal, overriding pkg-config
2289 GNUTLS_CFLAGS
2290 C compiler flags for gnutls, overriding pkg-config
2291 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2292 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2293 SANE_LIBS Linker flags for libsane, overriding pkg-config
2294 GPHOTO2_CFLAGS
2295 C compiler flags for libgphoto2, overriding pkg-config
2296 GPHOTO2_LIBS
2297 Linker flags for libgphoto2, overriding pkg-config
2298 GPHOTO2_PORT_CFLAGS
2299 C compiler flags for libgphoto2_port, overriding pkg-config
2300 GPHOTO2_PORT_LIBS
2301 Linker flags for libgphoto2_port, overriding pkg-config
2302 LCMS2_CFLAGS
2303 C compiler flags for lcms2, overriding pkg-config
2304 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2305 FREETYPE_CFLAGS
2306 C compiler flags for freetype2, overriding pkg-config
2307 FREETYPE_LIBS
2308 Linker flags for freetype2, overriding pkg-config
2309 PULSE_CFLAGS
2310 C compiler flags for libpulse, overriding pkg-config
2311 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2312 GSTREAMER_CFLAGS
2313 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2314 gstreamer-audio-1.0, overriding pkg-config
2315 GSTREAMER_LIBS
2316 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2317 gstreamer-audio-1.0, overriding pkg-config
2318 CAPI20_CFLAGS
2319 C compiler flags for capi20, overriding pkg-config
2320 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2321 FONTCONFIG_CFLAGS
2322 C compiler flags for fontconfig, overriding pkg-config
2323 FONTCONFIG_LIBS
2324 Linker flags for fontconfig, overriding pkg-config
2325 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2326 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2327 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2328 PNG_LIBS Linker flags for libpng, overriding pkg-config
2329 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2330 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2331 MPG123_CFLAGS
2332 C compiler flags for libmpg123, overriding pkg-config
2333 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2334 NETAPI_CFLAGS
2335 C compiler flags for netapi, overriding pkg-config
2336 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2338 Use these variables to override the choices made by `configure' or to help
2339 it to find libraries and programs with nonstandard names/locations.
2341 Report bugs to <wine-devel@winehq.org>.
2342 Wine home page: <http://www.winehq.org>.
2343 _ACEOF
2344 ac_status=$?
2347 if test "$ac_init_help" = "recursive"; then
2348 # If there are subdirs, report their specific --help.
2349 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2350 test -d "$ac_dir" ||
2351 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2352 continue
2353 ac_builddir=.
2355 case "$ac_dir" in
2356 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2358 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2359 # A ".." for each directory in $ac_dir_suffix.
2360 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2361 case $ac_top_builddir_sub in
2362 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2363 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2364 esac ;;
2365 esac
2366 ac_abs_top_builddir=$ac_pwd
2367 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2368 # for backward compatibility:
2369 ac_top_builddir=$ac_top_build_prefix
2371 case $srcdir in
2372 .) # We are building in place.
2373 ac_srcdir=.
2374 ac_top_srcdir=$ac_top_builddir_sub
2375 ac_abs_top_srcdir=$ac_pwd ;;
2376 [\\/]* | ?:[\\/]* ) # Absolute name.
2377 ac_srcdir=$srcdir$ac_dir_suffix;
2378 ac_top_srcdir=$srcdir
2379 ac_abs_top_srcdir=$srcdir ;;
2380 *) # Relative name.
2381 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2382 ac_top_srcdir=$ac_top_build_prefix$srcdir
2383 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2384 esac
2385 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2387 cd "$ac_dir" || { ac_status=$?; continue; }
2388 # Check for guested configure.
2389 if test -f "$ac_srcdir/configure.gnu"; then
2390 echo &&
2391 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2392 elif test -f "$ac_srcdir/configure"; then
2393 echo &&
2394 $SHELL "$ac_srcdir/configure" --help=recursive
2395 else
2396 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2397 fi || ac_status=$?
2398 cd "$ac_pwd" || { ac_status=$?; break; }
2399 done
2402 test -n "$ac_init_help" && exit $ac_status
2403 if $ac_init_version; then
2404 cat <<\_ACEOF
2405 Wine configure 1.9.5
2406 generated by GNU Autoconf 2.69
2408 Copyright (C) 2012 Free Software Foundation, Inc.
2409 This configure script is free software; the Free Software Foundation
2410 gives unlimited permission to copy, distribute and modify it.
2411 _ACEOF
2412 exit
2415 ## ------------------------ ##
2416 ## Autoconf initialization. ##
2417 ## ------------------------ ##
2419 # ac_fn_c_try_compile LINENO
2420 # --------------------------
2421 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2422 ac_fn_c_try_compile ()
2424 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2425 rm -f conftest.$ac_objext
2426 if { { ac_try="$ac_compile"
2427 case "(($ac_try" in
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429 *) ac_try_echo=$ac_try;;
2430 esac
2431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2432 $as_echo "$ac_try_echo"; } >&5
2433 (eval "$ac_compile") 2>conftest.err
2434 ac_status=$?
2435 if test -s conftest.err; then
2436 grep -v '^ *+' conftest.err >conftest.er1
2437 cat conftest.er1 >&5
2438 mv -f conftest.er1 conftest.err
2440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2441 test $ac_status = 0; } && {
2442 test -z "$ac_c_werror_flag" ||
2443 test ! -s conftest.err
2444 } && test -s conftest.$ac_objext; then :
2445 ac_retval=0
2446 else
2447 $as_echo "$as_me: failed program was:" >&5
2448 sed 's/^/| /' conftest.$ac_ext >&5
2450 ac_retval=1
2452 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2453 as_fn_set_status $ac_retval
2455 } # ac_fn_c_try_compile
2457 # ac_fn_cxx_try_compile LINENO
2458 # ----------------------------
2459 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2460 ac_fn_cxx_try_compile ()
2462 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2463 rm -f conftest.$ac_objext
2464 if { { ac_try="$ac_compile"
2465 case "(($ac_try" in
2466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2467 *) ac_try_echo=$ac_try;;
2468 esac
2469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2470 $as_echo "$ac_try_echo"; } >&5
2471 (eval "$ac_compile") 2>conftest.err
2472 ac_status=$?
2473 if test -s conftest.err; then
2474 grep -v '^ *+' conftest.err >conftest.er1
2475 cat conftest.er1 >&5
2476 mv -f conftest.er1 conftest.err
2478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2479 test $ac_status = 0; } && {
2480 test -z "$ac_cxx_werror_flag" ||
2481 test ! -s conftest.err
2482 } && test -s conftest.$ac_objext; then :
2483 ac_retval=0
2484 else
2485 $as_echo "$as_me: failed program was:" >&5
2486 sed 's/^/| /' conftest.$ac_ext >&5
2488 ac_retval=1
2490 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2491 as_fn_set_status $ac_retval
2493 } # ac_fn_cxx_try_compile
2495 # ac_fn_c_try_link LINENO
2496 # -----------------------
2497 # Try to link conftest.$ac_ext, and return whether this succeeded.
2498 ac_fn_c_try_link ()
2500 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2501 rm -f conftest.$ac_objext conftest$ac_exeext
2502 if { { ac_try="$ac_link"
2503 case "(($ac_try" in
2504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2505 *) ac_try_echo=$ac_try;;
2506 esac
2507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2508 $as_echo "$ac_try_echo"; } >&5
2509 (eval "$ac_link") 2>conftest.err
2510 ac_status=$?
2511 if test -s conftest.err; then
2512 grep -v '^ *+' conftest.err >conftest.er1
2513 cat conftest.er1 >&5
2514 mv -f conftest.er1 conftest.err
2516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2517 test $ac_status = 0; } && {
2518 test -z "$ac_c_werror_flag" ||
2519 test ! -s conftest.err
2520 } && test -s conftest$ac_exeext && {
2521 test "$cross_compiling" = yes ||
2522 test -x conftest$ac_exeext
2523 }; then :
2524 ac_retval=0
2525 else
2526 $as_echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.$ac_ext >&5
2529 ac_retval=1
2531 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2532 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2533 # interfere with the next link command; also delete a directory that is
2534 # left behind by Apple's compiler. We do this before executing the actions.
2535 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2536 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2537 as_fn_set_status $ac_retval
2539 } # ac_fn_c_try_link
2541 # ac_fn_c_try_cpp LINENO
2542 # ----------------------
2543 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2544 ac_fn_c_try_cpp ()
2546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2547 if { { ac_try="$ac_cpp conftest.$ac_ext"
2548 case "(($ac_try" in
2549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2550 *) ac_try_echo=$ac_try;;
2551 esac
2552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2553 $as_echo "$ac_try_echo"; } >&5
2554 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2555 ac_status=$?
2556 if test -s conftest.err; then
2557 grep -v '^ *+' conftest.err >conftest.er1
2558 cat conftest.er1 >&5
2559 mv -f conftest.er1 conftest.err
2561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2562 test $ac_status = 0; } > conftest.i && {
2563 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2564 test ! -s conftest.err
2565 }; then :
2566 ac_retval=0
2567 else
2568 $as_echo "$as_me: failed program was:" >&5
2569 sed 's/^/| /' conftest.$ac_ext >&5
2571 ac_retval=1
2573 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2574 as_fn_set_status $ac_retval
2576 } # ac_fn_c_try_cpp
2578 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2579 # -------------------------------------------------------
2580 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2581 # the include files in INCLUDES and setting the cache variable VAR
2582 # accordingly.
2583 ac_fn_c_check_header_mongrel ()
2585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2586 if eval \${$3+:} false; then :
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2588 $as_echo_n "checking for $2... " >&6; }
2589 if eval \${$3+:} false; then :
2590 $as_echo_n "(cached) " >&6
2592 eval ac_res=\$$3
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2594 $as_echo "$ac_res" >&6; }
2595 else
2596 # Is the header compilable?
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2598 $as_echo_n "checking $2 usability... " >&6; }
2599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2600 /* end confdefs.h. */
2602 #include <$2>
2603 _ACEOF
2604 if ac_fn_c_try_compile "$LINENO"; then :
2605 ac_header_compiler=yes
2606 else
2607 ac_header_compiler=no
2609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2611 $as_echo "$ac_header_compiler" >&6; }
2613 # Is the header present?
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2615 $as_echo_n "checking $2 presence... " >&6; }
2616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2617 /* end confdefs.h. */
2618 #include <$2>
2619 _ACEOF
2620 if ac_fn_c_try_cpp "$LINENO"; then :
2621 ac_header_preproc=yes
2622 else
2623 ac_header_preproc=no
2625 rm -f conftest.err conftest.i conftest.$ac_ext
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2627 $as_echo "$ac_header_preproc" >&6; }
2629 # So? What about this header?
2630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2631 yes:no: )
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2633 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2635 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2637 no:yes:* )
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2639 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2641 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2643 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2645 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2647 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2648 ( $as_echo "## ------------------------------------ ##
2649 ## Report this to wine-devel@winehq.org ##
2650 ## ------------------------------------ ##"
2651 ) | sed "s/^/$as_me: WARNING: /" >&2
2653 esac
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2655 $as_echo_n "checking for $2... " >&6; }
2656 if eval \${$3+:} false; then :
2657 $as_echo_n "(cached) " >&6
2658 else
2659 eval "$3=\$ac_header_compiler"
2661 eval ac_res=\$$3
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2663 $as_echo "$ac_res" >&6; }
2665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2667 } # ac_fn_c_check_header_mongrel
2669 # ac_fn_c_try_run LINENO
2670 # ----------------------
2671 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2672 # that executables *can* be run.
2673 ac_fn_c_try_run ()
2675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2676 if { { ac_try="$ac_link"
2677 case "(($ac_try" in
2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679 *) ac_try_echo=$ac_try;;
2680 esac
2681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2682 $as_echo "$ac_try_echo"; } >&5
2683 (eval "$ac_link") 2>&5
2684 ac_status=$?
2685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2686 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2687 { { case "(($ac_try" in
2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2689 *) ac_try_echo=$ac_try;;
2690 esac
2691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2692 $as_echo "$ac_try_echo"; } >&5
2693 (eval "$ac_try") 2>&5
2694 ac_status=$?
2695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2696 test $ac_status = 0; }; }; then :
2697 ac_retval=0
2698 else
2699 $as_echo "$as_me: program exited with status $ac_status" >&5
2700 $as_echo "$as_me: failed program was:" >&5
2701 sed 's/^/| /' conftest.$ac_ext >&5
2703 ac_retval=$ac_status
2705 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2707 as_fn_set_status $ac_retval
2709 } # ac_fn_c_try_run
2711 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2712 # -------------------------------------------------------
2713 # Tests whether HEADER exists and can be compiled using the include files in
2714 # INCLUDES, setting the cache variable VAR accordingly.
2715 ac_fn_c_check_header_compile ()
2717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2719 $as_echo_n "checking for $2... " >&6; }
2720 if eval \${$3+:} false; then :
2721 $as_echo_n "(cached) " >&6
2722 else
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2726 #include <$2>
2727 _ACEOF
2728 if ac_fn_c_try_compile "$LINENO"; then :
2729 eval "$3=yes"
2730 else
2731 eval "$3=no"
2733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735 eval ac_res=\$$3
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2737 $as_echo "$ac_res" >&6; }
2738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2740 } # ac_fn_c_check_header_compile
2742 # ac_fn_c_check_func LINENO FUNC VAR
2743 # ----------------------------------
2744 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2745 ac_fn_c_check_func ()
2747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2749 $as_echo_n "checking for $2... " >&6; }
2750 if eval \${$3+:} false; then :
2751 $as_echo_n "(cached) " >&6
2752 else
2753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h. */
2755 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2757 #define $2 innocuous_$2
2759 /* System header to define __stub macros and hopefully few prototypes,
2760 which can conflict with char $2 (); below.
2761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2762 <limits.h> exists even on freestanding compilers. */
2764 #ifdef __STDC__
2765 # include <limits.h>
2766 #else
2767 # include <assert.h>
2768 #endif
2770 #undef $2
2772 /* Override any GCC internal prototype to avoid an error.
2773 Use char because int might match the return type of a GCC
2774 builtin and then its argument prototype would still apply. */
2775 #ifdef __cplusplus
2776 extern "C"
2777 #endif
2778 char $2 ();
2779 /* The GNU C library defines this for functions which it implements
2780 to always fail with ENOSYS. Some functions are actually named
2781 something starting with __ and the normal name is an alias. */
2782 #if defined __stub_$2 || defined __stub___$2
2783 choke me
2784 #endif
2787 main ()
2789 return $2 ();
2791 return 0;
2793 _ACEOF
2794 if ac_fn_c_try_link "$LINENO"; then :
2795 eval "$3=yes"
2796 else
2797 eval "$3=no"
2799 rm -f core conftest.err conftest.$ac_objext \
2800 conftest$ac_exeext conftest.$ac_ext
2802 eval ac_res=\$$3
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2804 $as_echo "$ac_res" >&6; }
2805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2807 } # ac_fn_c_check_func
2809 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2810 # ----------------------------------------------------
2811 # Tries to find if the field MEMBER exists in type AGGR, after including
2812 # INCLUDES, setting cache variable VAR accordingly.
2813 ac_fn_c_check_member ()
2815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2817 $as_echo_n "checking for $2.$3... " >&6; }
2818 if eval \${$4+:} false; then :
2819 $as_echo_n "(cached) " >&6
2820 else
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2825 main ()
2827 static $2 ac_aggr;
2828 if (ac_aggr.$3)
2829 return 0;
2831 return 0;
2833 _ACEOF
2834 if ac_fn_c_try_compile "$LINENO"; then :
2835 eval "$4=yes"
2836 else
2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h. */
2841 main ()
2843 static $2 ac_aggr;
2844 if (sizeof ac_aggr.$3)
2845 return 0;
2847 return 0;
2849 _ACEOF
2850 if ac_fn_c_try_compile "$LINENO"; then :
2851 eval "$4=yes"
2852 else
2853 eval "$4=no"
2855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2859 eval ac_res=\$$4
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2861 $as_echo "$ac_res" >&6; }
2862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2864 } # ac_fn_c_check_member
2866 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2867 # -------------------------------------------
2868 # Tests whether TYPE exists after having included INCLUDES, setting cache
2869 # variable VAR accordingly.
2870 ac_fn_c_check_type ()
2872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2874 $as_echo_n "checking for $2... " >&6; }
2875 if eval \${$3+:} false; then :
2876 $as_echo_n "(cached) " >&6
2877 else
2878 eval "$3=no"
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2883 main ()
2885 if (sizeof ($2))
2886 return 0;
2888 return 0;
2890 _ACEOF
2891 if ac_fn_c_try_compile "$LINENO"; then :
2892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2896 main ()
2898 if (sizeof (($2)))
2899 return 0;
2901 return 0;
2903 _ACEOF
2904 if ac_fn_c_try_compile "$LINENO"; then :
2906 else
2907 eval "$3=yes"
2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2913 eval ac_res=\$$3
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2915 $as_echo "$ac_res" >&6; }
2916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2918 } # ac_fn_c_check_type
2919 cat >config.log <<_ACEOF
2920 This file contains any messages produced by compilers while
2921 running configure, to aid debugging if configure makes a mistake.
2923 It was created by Wine $as_me 1.9.5, which was
2924 generated by GNU Autoconf 2.69. Invocation command line was
2926 $ $0 $@
2928 _ACEOF
2929 exec 5>>config.log
2931 cat <<_ASUNAME
2932 ## --------- ##
2933 ## Platform. ##
2934 ## --------- ##
2936 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2937 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2938 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2939 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2940 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2942 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2943 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2945 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2946 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2947 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2948 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2949 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2950 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2951 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2953 _ASUNAME
2955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2956 for as_dir in $PATH
2958 IFS=$as_save_IFS
2959 test -z "$as_dir" && as_dir=.
2960 $as_echo "PATH: $as_dir"
2961 done
2962 IFS=$as_save_IFS
2964 } >&5
2966 cat >&5 <<_ACEOF
2969 ## ----------- ##
2970 ## Core tests. ##
2971 ## ----------- ##
2973 _ACEOF
2976 # Keep a trace of the command line.
2977 # Strip out --no-create and --no-recursion so they do not pile up.
2978 # Strip out --silent because we don't want to record it for future runs.
2979 # Also quote any args containing shell meta-characters.
2980 # Make two passes to allow for proper duplicate-argument suppression.
2981 ac_configure_args=
2982 ac_configure_args0=
2983 ac_configure_args1=
2984 ac_must_keep_next=false
2985 for ac_pass in 1 2
2987 for ac_arg
2989 case $ac_arg in
2990 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2991 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2992 | -silent | --silent | --silen | --sile | --sil)
2993 continue ;;
2994 *\'*)
2995 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2996 esac
2997 case $ac_pass in
2998 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3000 as_fn_append ac_configure_args1 " '$ac_arg'"
3001 if test $ac_must_keep_next = true; then
3002 ac_must_keep_next=false # Got value, back to normal.
3003 else
3004 case $ac_arg in
3005 *=* | --config-cache | -C | -disable-* | --disable-* \
3006 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3007 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3008 | -with-* | --with-* | -without-* | --without-* | --x)
3009 case "$ac_configure_args0 " in
3010 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3011 esac
3013 -* ) ac_must_keep_next=true ;;
3014 esac
3016 as_fn_append ac_configure_args " '$ac_arg'"
3018 esac
3019 done
3020 done
3021 { ac_configure_args0=; unset ac_configure_args0;}
3022 { ac_configure_args1=; unset ac_configure_args1;}
3024 # When interrupted or exit'd, cleanup temporary files, and complete
3025 # config.log. We remove comments because anyway the quotes in there
3026 # would cause problems or look ugly.
3027 # WARNING: Use '\'' to represent an apostrophe within the trap.
3028 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3029 trap 'exit_status=$?
3030 # Save into config.log some information that might help in debugging.
3032 echo
3034 $as_echo "## ---------------- ##
3035 ## Cache variables. ##
3036 ## ---------------- ##"
3037 echo
3038 # The following way of writing the cache mishandles newlines in values,
3040 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3041 eval ac_val=\$$ac_var
3042 case $ac_val in #(
3043 *${as_nl}*)
3044 case $ac_var in #(
3045 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3046 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3047 esac
3048 case $ac_var in #(
3049 _ | IFS | as_nl) ;; #(
3050 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3051 *) { eval $ac_var=; unset $ac_var;} ;;
3052 esac ;;
3053 esac
3054 done
3055 (set) 2>&1 |
3056 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3057 *${as_nl}ac_space=\ *)
3058 sed -n \
3059 "s/'\''/'\''\\\\'\'''\''/g;
3060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3061 ;; #(
3063 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3065 esac |
3066 sort
3068 echo
3070 $as_echo "## ----------------- ##
3071 ## Output variables. ##
3072 ## ----------------- ##"
3073 echo
3074 for ac_var in $ac_subst_vars
3076 eval ac_val=\$$ac_var
3077 case $ac_val in
3078 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3079 esac
3080 $as_echo "$ac_var='\''$ac_val'\''"
3081 done | sort
3082 echo
3084 if test -n "$ac_subst_files"; then
3085 $as_echo "## ------------------- ##
3086 ## File substitutions. ##
3087 ## ------------------- ##"
3088 echo
3089 for ac_var in $ac_subst_files
3091 eval ac_val=\$$ac_var
3092 case $ac_val in
3093 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3094 esac
3095 $as_echo "$ac_var='\''$ac_val'\''"
3096 done | sort
3097 echo
3100 if test -s confdefs.h; then
3101 $as_echo "## ----------- ##
3102 ## confdefs.h. ##
3103 ## ----------- ##"
3104 echo
3105 cat confdefs.h
3106 echo
3108 test "$ac_signal" != 0 &&
3109 $as_echo "$as_me: caught signal $ac_signal"
3110 $as_echo "$as_me: exit $exit_status"
3111 } >&5
3112 rm -f core *.core core.conftest.* &&
3113 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3114 exit $exit_status
3116 for ac_signal in 1 2 13 15; do
3117 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3118 done
3119 ac_signal=0
3121 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3122 rm -f -r conftest* confdefs.h
3124 $as_echo "/* confdefs.h */" > confdefs.h
3126 # Predefined preprocessor variables.
3128 cat >>confdefs.h <<_ACEOF
3129 #define PACKAGE_NAME "$PACKAGE_NAME"
3130 _ACEOF
3132 cat >>confdefs.h <<_ACEOF
3133 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3134 _ACEOF
3136 cat >>confdefs.h <<_ACEOF
3137 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3138 _ACEOF
3140 cat >>confdefs.h <<_ACEOF
3141 #define PACKAGE_STRING "$PACKAGE_STRING"
3142 _ACEOF
3144 cat >>confdefs.h <<_ACEOF
3145 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3146 _ACEOF
3148 cat >>confdefs.h <<_ACEOF
3149 #define PACKAGE_URL "$PACKAGE_URL"
3150 _ACEOF
3153 # Let the site file select an alternate cache file if it wants to.
3154 # Prefer an explicitly selected file to automatically selected ones.
3155 ac_site_file1=NONE
3156 ac_site_file2=NONE
3157 if test -n "$CONFIG_SITE"; then
3158 # We do not want a PATH search for config.site.
3159 case $CONFIG_SITE in #((
3160 -*) ac_site_file1=./$CONFIG_SITE;;
3161 */*) ac_site_file1=$CONFIG_SITE;;
3162 *) ac_site_file1=./$CONFIG_SITE;;
3163 esac
3164 elif test "x$prefix" != xNONE; then
3165 ac_site_file1=$prefix/share/config.site
3166 ac_site_file2=$prefix/etc/config.site
3167 else
3168 ac_site_file1=$ac_default_prefix/share/config.site
3169 ac_site_file2=$ac_default_prefix/etc/config.site
3171 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3173 test "x$ac_site_file" = xNONE && continue
3174 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3176 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3177 sed 's/^/| /' "$ac_site_file" >&5
3178 . "$ac_site_file" \
3179 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3181 as_fn_error $? "failed to load site script $ac_site_file
3182 See \`config.log' for more details" "$LINENO" 5; }
3184 done
3186 if test -r "$cache_file"; then
3187 # Some versions of bash will fail to source /dev/null (special files
3188 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3189 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3191 $as_echo "$as_me: loading cache $cache_file" >&6;}
3192 case $cache_file in
3193 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3194 *) . "./$cache_file";;
3195 esac
3197 else
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3199 $as_echo "$as_me: creating cache $cache_file" >&6;}
3200 >$cache_file
3203 # Check that the precious variables saved in the cache have kept the same
3204 # value.
3205 ac_cache_corrupted=false
3206 for ac_var in $ac_precious_vars; do
3207 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3208 eval ac_new_set=\$ac_env_${ac_var}_set
3209 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3210 eval ac_new_val=\$ac_env_${ac_var}_value
3211 case $ac_old_set,$ac_new_set in
3212 set,)
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3214 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3215 ac_cache_corrupted=: ;;
3216 ,set)
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3218 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3219 ac_cache_corrupted=: ;;
3220 ,);;
3222 if test "x$ac_old_val" != "x$ac_new_val"; then
3223 # differences in whitespace do not lead to failure.
3224 ac_old_val_w=`echo x $ac_old_val`
3225 ac_new_val_w=`echo x $ac_new_val`
3226 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3228 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3229 ac_cache_corrupted=:
3230 else
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3232 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3233 eval $ac_var=\$ac_old_val
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3236 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3238 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3239 fi;;
3240 esac
3241 # Pass precious variables to config.status.
3242 if test "$ac_new_set" = set; then
3243 case $ac_new_val in
3244 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3245 *) ac_arg=$ac_var=$ac_new_val ;;
3246 esac
3247 case " $ac_configure_args " in
3248 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3249 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3250 esac
3252 done
3253 if $ac_cache_corrupted; then
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3257 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3258 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3260 ## -------------------- ##
3261 ## Main body of script. ##
3262 ## -------------------- ##
3264 ac_ext=c
3265 ac_cpp='$CPP $CPPFLAGS'
3266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3272 ac_config_headers="$ac_config_headers include/config.h"
3274 ac_aux_dir=
3275 for ac_dir in tools "$srcdir"/tools; do
3276 if test -f "$ac_dir/install-sh"; then
3277 ac_aux_dir=$ac_dir
3278 ac_install_sh="$ac_aux_dir/install-sh -c"
3279 break
3280 elif test -f "$ac_dir/install.sh"; then
3281 ac_aux_dir=$ac_dir
3282 ac_install_sh="$ac_aux_dir/install.sh -c"
3283 break
3284 elif test -f "$ac_dir/shtool"; then
3285 ac_aux_dir=$ac_dir
3286 ac_install_sh="$ac_aux_dir/shtool install -c"
3287 break
3289 done
3290 if test -z "$ac_aux_dir"; then
3291 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3294 # These three variables are undocumented and unsupported,
3295 # and are intended to be withdrawn in a future Autoconf release.
3296 # They can cause serious problems if a builder's source tree is in a directory
3297 # whose full name contains unusual characters.
3298 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3299 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3300 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3304 libwine_version="1.0"
3308 # Check whether --enable-win16 was given.
3309 if test "${enable_win16+set}" = set; then :
3310 enableval=$enable_win16;
3313 # Check whether --enable-win64 was given.
3314 if test "${enable_win64+set}" = set; then :
3315 enableval=$enable_win64;
3318 # Check whether --enable-tests was given.
3319 if test "${enable_tests+set}" = set; then :
3320 enableval=$enable_tests;
3323 # Check whether --enable-maintainer-mode was given.
3324 if test "${enable_maintainer_mode+set}" = set; then :
3325 enableval=$enable_maintainer_mode;
3330 # Check whether --with-alsa was given.
3331 if test "${with_alsa+set}" = set; then :
3332 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3336 # Check whether --with-capi was given.
3337 if test "${with_capi+set}" = set; then :
3338 withval=$with_capi;
3342 # Check whether --with-cms was given.
3343 if test "${with_cms+set}" = set; then :
3344 withval=$with_cms;
3348 # Check whether --with-coreaudio was given.
3349 if test "${with_coreaudio+set}" = set; then :
3350 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3354 # Check whether --with-cups was given.
3355 if test "${with_cups+set}" = set; then :
3356 withval=$with_cups;
3360 # Check whether --with-curses was given.
3361 if test "${with_curses+set}" = set; then :
3362 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3366 # Check whether --with-dbus was given.
3367 if test "${with_dbus+set}" = set; then :
3368 withval=$with_dbus;
3372 # Check whether --with-fontconfig was given.
3373 if test "${with_fontconfig+set}" = set; then :
3374 withval=$with_fontconfig;
3378 # Check whether --with-freetype was given.
3379 if test "${with_freetype+set}" = set; then :
3380 withval=$with_freetype;
3384 # Check whether --with-gettext was given.
3385 if test "${with_gettext+set}" = set; then :
3386 withval=$with_gettext;
3390 # Check whether --with-gettextpo was given.
3391 if test "${with_gettextpo+set}" = set; then :
3392 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3396 # Check whether --with-gphoto was given.
3397 if test "${with_gphoto+set}" = set; then :
3398 withval=$with_gphoto;
3402 # Check whether --with-glu was given.
3403 if test "${with_glu+set}" = set; then :
3404 withval=$with_glu;
3408 # Check whether --with-gnutls was given.
3409 if test "${with_gnutls+set}" = set; then :
3410 withval=$with_gnutls;
3414 # Check whether --with-gsm was given.
3415 if test "${with_gsm+set}" = set; then :
3416 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3420 # Check whether --with-gstreamer was given.
3421 if test "${with_gstreamer+set}" = set; then :
3422 withval=$with_gstreamer;
3426 # Check whether --with-hal was given.
3427 if test "${with_hal+set}" = set; then :
3428 withval=$with_hal;
3432 # Check whether --with-jpeg was given.
3433 if test "${with_jpeg+set}" = set; then :
3434 withval=$with_jpeg;
3438 # Check whether --with-ldap was given.
3439 if test "${with_ldap+set}" = set; then :
3440 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3444 # Check whether --with-mpg123 was given.
3445 if test "${with_mpg123+set}" = set; then :
3446 withval=$with_mpg123;
3450 # Check whether --with-netapi was given.
3451 if test "${with_netapi+set}" = set; then :
3452 withval=$with_netapi;
3456 # Check whether --with-openal was given.
3457 if test "${with_openal+set}" = set; then :
3458 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3462 # Check whether --with-opencl was given.
3463 if test "${with_opencl+set}" = set; then :
3464 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3468 # Check whether --with-opengl was given.
3469 if test "${with_opengl+set}" = set; then :
3470 withval=$with_opengl;
3474 # Check whether --with-osmesa was given.
3475 if test "${with_osmesa+set}" = set; then :
3476 withval=$with_osmesa;
3480 # Check whether --with-oss was given.
3481 if test "${with_oss+set}" = set; then :
3482 withval=$with_oss;
3486 # Check whether --with-pcap was given.
3487 if test "${with_pcap+set}" = set; then :
3488 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3492 # Check whether --with-png was given.
3493 if test "${with_png+set}" = set; then :
3494 withval=$with_png;
3498 # Check whether --with-pthread was given.
3499 if test "${with_pthread+set}" = set; then :
3500 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3504 # Check whether --with-pulse was given.
3505 if test "${with_pulse+set}" = set; then :
3506 withval=$with_pulse;
3510 # Check whether --with-sane was given.
3511 if test "${with_sane+set}" = set; then :
3512 withval=$with_sane;
3516 # Check whether --with-tiff was given.
3517 if test "${with_tiff+set}" = set; then :
3518 withval=$with_tiff;
3522 # Check whether --with-v4l was given.
3523 if test "${with_v4l+set}" = set; then :
3524 withval=$with_v4l;
3528 # Check whether --with-xcomposite was given.
3529 if test "${with_xcomposite+set}" = set; then :
3530 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3534 # Check whether --with-xcursor was given.
3535 if test "${with_xcursor+set}" = set; then :
3536 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3540 # Check whether --with-xinerama was given.
3541 if test "${with_xinerama+set}" = set; then :
3542 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3546 # Check whether --with-xinput was given.
3547 if test "${with_xinput+set}" = set; then :
3548 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3552 # Check whether --with-xinput2 was given.
3553 if test "${with_xinput2+set}" = set; then :
3554 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3558 # Check whether --with-xml was given.
3559 if test "${with_xml+set}" = set; then :
3560 withval=$with_xml;
3564 # Check whether --with-xrandr was given.
3565 if test "${with_xrandr+set}" = set; then :
3566 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3570 # Check whether --with-xrender was given.
3571 if test "${with_xrender+set}" = set; then :
3572 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3576 # Check whether --with-xshape was given.
3577 if test "${with_xshape+set}" = set; then :
3578 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3582 # Check whether --with-xshm was given.
3583 if test "${with_xshm+set}" = set; then :
3584 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3588 # Check whether --with-xslt was given.
3589 if test "${with_xslt+set}" = set; then :
3590 withval=$with_xslt;
3594 # Check whether --with-xxf86vm was given.
3595 if test "${with_xxf86vm+set}" = set; then :
3596 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
3600 # Check whether --with-zlib was given.
3601 if test "${with_zlib+set}" = set; then :
3602 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3607 # Check whether --with-wine-tools was given.
3608 if test "${with_wine_tools+set}" = set; then :
3609 withval=$with_wine_tools;
3613 # Check whether --with-wine64 was given.
3614 if test "${with_wine64+set}" = set; then :
3615 withval=$with_wine64;
3619 # Make sure we can run config.sub.
3620 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3621 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3624 $as_echo_n "checking build system type... " >&6; }
3625 if ${ac_cv_build+:} false; then :
3626 $as_echo_n "(cached) " >&6
3627 else
3628 ac_build_alias=$build_alias
3629 test "x$ac_build_alias" = x &&
3630 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3631 test "x$ac_build_alias" = x &&
3632 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3633 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3634 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3638 $as_echo "$ac_cv_build" >&6; }
3639 case $ac_cv_build in
3640 *-*-*) ;;
3641 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3642 esac
3643 build=$ac_cv_build
3644 ac_save_IFS=$IFS; IFS='-'
3645 set x $ac_cv_build
3646 shift
3647 build_cpu=$1
3648 build_vendor=$2
3649 shift; shift
3650 # Remember, the first character of IFS is used to create $*,
3651 # except with old shells:
3652 build_os=$*
3653 IFS=$ac_save_IFS
3654 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3658 $as_echo_n "checking host system type... " >&6; }
3659 if ${ac_cv_host+:} false; then :
3660 $as_echo_n "(cached) " >&6
3661 else
3662 if test "x$host_alias" = x; then
3663 ac_cv_host=$ac_cv_build
3664 else
3665 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3666 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3671 $as_echo "$ac_cv_host" >&6; }
3672 case $ac_cv_host in
3673 *-*-*) ;;
3674 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3675 esac
3676 host=$ac_cv_host
3677 ac_save_IFS=$IFS; IFS='-'
3678 set x $ac_cv_host
3679 shift
3680 host_cpu=$1
3681 host_vendor=$2
3682 shift; shift
3683 # Remember, the first character of IFS is used to create $*,
3684 # except with old shells:
3685 host_os=$*
3686 IFS=$ac_save_IFS
3687 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3691 case "$srcdir" in
3692 .) ;;
3693 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3694 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3695 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3696 fi ;;
3697 esac
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3701 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3702 set x ${MAKE-make}
3703 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3704 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3705 $as_echo_n "(cached) " >&6
3706 else
3707 cat >conftest.make <<\_ACEOF
3708 SHELL = /bin/sh
3709 all:
3710 @echo '@@@%%%=$(MAKE)=@@@%%%'
3711 _ACEOF
3712 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3713 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3714 *@@@%%%=?*=@@@%%%*)
3715 eval ac_cv_prog_make_${ac_make}_set=yes;;
3717 eval ac_cv_prog_make_${ac_make}_set=no;;
3718 esac
3719 rm -f conftest.make
3721 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3723 $as_echo "yes" >&6; }
3724 SET_MAKE=
3725 else
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3728 SET_MAKE="MAKE=${MAKE-make}"
3731 ac_ext=c
3732 ac_cpp='$CPP $CPPFLAGS'
3733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3736 if test -n "$ac_tool_prefix"; then
3737 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3738 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if ${ac_cv_prog_CC+:} false; then :
3742 $as_echo_n "(cached) " >&6
3743 else
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC="$CC" # Let the user override the test.
3746 else
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3748 for as_dir in $PATH
3750 IFS=$as_save_IFS
3751 test -z "$as_dir" && as_dir=.
3752 for ac_exec_ext in '' $ac_executable_extensions; do
3753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3754 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3756 break 2
3758 done
3759 done
3760 IFS=$as_save_IFS
3764 CC=$ac_cv_prog_CC
3765 if test -n "$CC"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3768 else
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3775 if test -z "$ac_cv_prog_CC"; then
3776 ac_ct_CC=$CC
3777 # Extract the first word of "gcc", so it can be a program name with args.
3778 set dummy gcc; ac_word=$2
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3780 $as_echo_n "checking for $ac_word... " >&6; }
3781 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3782 $as_echo_n "(cached) " >&6
3783 else
3784 if test -n "$ac_ct_CC"; then
3785 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3786 else
3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788 for as_dir in $PATH
3790 IFS=$as_save_IFS
3791 test -z "$as_dir" && as_dir=.
3792 for ac_exec_ext in '' $ac_executable_extensions; do
3793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3794 ac_cv_prog_ac_ct_CC="gcc"
3795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 break 2
3798 done
3799 done
3800 IFS=$as_save_IFS
3804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3805 if test -n "$ac_ct_CC"; then
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3807 $as_echo "$ac_ct_CC" >&6; }
3808 else
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3810 $as_echo "no" >&6; }
3813 if test "x$ac_ct_CC" = x; then
3814 CC=""
3815 else
3816 case $cross_compiling:$ac_tool_warned in
3817 yes:)
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3820 ac_tool_warned=yes ;;
3821 esac
3822 CC=$ac_ct_CC
3824 else
3825 CC="$ac_cv_prog_CC"
3828 if test -z "$CC"; then
3829 if test -n "$ac_tool_prefix"; then
3830 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3831 set dummy ${ac_tool_prefix}cc; ac_word=$2
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 $as_echo_n "checking for $ac_word... " >&6; }
3834 if ${ac_cv_prog_CC+:} false; then :
3835 $as_echo_n "(cached) " >&6
3836 else
3837 if test -n "$CC"; then
3838 ac_cv_prog_CC="$CC" # Let the user override the test.
3839 else
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3841 for as_dir in $PATH
3843 IFS=$as_save_IFS
3844 test -z "$as_dir" && as_dir=.
3845 for ac_exec_ext in '' $ac_executable_extensions; do
3846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3847 ac_cv_prog_CC="${ac_tool_prefix}cc"
3848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3849 break 2
3851 done
3852 done
3853 IFS=$as_save_IFS
3857 CC=$ac_cv_prog_CC
3858 if test -n "$CC"; then
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3860 $as_echo "$CC" >&6; }
3861 else
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3869 if test -z "$CC"; then
3870 # Extract the first word of "cc", so it can be a program name with args.
3871 set dummy cc; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if ${ac_cv_prog_CC+:} false; then :
3875 $as_echo_n "(cached) " >&6
3876 else
3877 if test -n "$CC"; then
3878 ac_cv_prog_CC="$CC" # Let the user override the test.
3879 else
3880 ac_prog_rejected=no
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 for as_dir in $PATH
3884 IFS=$as_save_IFS
3885 test -z "$as_dir" && as_dir=.
3886 for ac_exec_ext in '' $ac_executable_extensions; do
3887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3888 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3889 ac_prog_rejected=yes
3890 continue
3892 ac_cv_prog_CC="cc"
3893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3894 break 2
3896 done
3897 done
3898 IFS=$as_save_IFS
3900 if test $ac_prog_rejected = yes; then
3901 # We found a bogon in the path, so make sure we never use it.
3902 set dummy $ac_cv_prog_CC
3903 shift
3904 if test $# != 0; then
3905 # We chose a different compiler from the bogus one.
3906 # However, it has the same basename, so the bogon will be chosen
3907 # first if we set CC to just the basename; use the full file name.
3908 shift
3909 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3914 CC=$ac_cv_prog_CC
3915 if test -n "$CC"; then
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3917 $as_echo "$CC" >&6; }
3918 else
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3925 if test -z "$CC"; then
3926 if test -n "$ac_tool_prefix"; then
3927 for ac_prog in cl.exe
3929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if ${ac_cv_prog_CC+:} false; then :
3934 $as_echo_n "(cached) " >&6
3935 else
3936 if test -n "$CC"; then
3937 ac_cv_prog_CC="$CC" # Let the user override the test.
3938 else
3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940 for as_dir in $PATH
3942 IFS=$as_save_IFS
3943 test -z "$as_dir" && as_dir=.
3944 for ac_exec_ext in '' $ac_executable_extensions; do
3945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3946 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 break 2
3950 done
3951 done
3952 IFS=$as_save_IFS
3956 CC=$ac_cv_prog_CC
3957 if test -n "$CC"; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3959 $as_echo "$CC" >&6; }
3960 else
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3966 test -n "$CC" && break
3967 done
3969 if test -z "$CC"; then
3970 ac_ct_CC=$CC
3971 for ac_prog in cl.exe
3973 # Extract the first word of "$ac_prog", so it can be a program name with args.
3974 set dummy $ac_prog; ac_word=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3978 $as_echo_n "(cached) " >&6
3979 else
3980 if test -n "$ac_ct_CC"; then
3981 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3982 else
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 for as_dir in $PATH
3986 IFS=$as_save_IFS
3987 test -z "$as_dir" && as_dir=.
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3990 ac_cv_prog_ac_ct_CC="$ac_prog"
3991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 break 2
3994 done
3995 done
3996 IFS=$as_save_IFS
4000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4001 if test -n "$ac_ct_CC"; then
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4003 $as_echo "$ac_ct_CC" >&6; }
4004 else
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4010 test -n "$ac_ct_CC" && break
4011 done
4013 if test "x$ac_ct_CC" = x; then
4014 CC=""
4015 else
4016 case $cross_compiling:$ac_tool_warned in
4017 yes:)
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4020 ac_tool_warned=yes ;;
4021 esac
4022 CC=$ac_ct_CC
4029 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error $? "no acceptable C compiler found in \$PATH
4032 See \`config.log' for more details" "$LINENO" 5; }
4034 # Provide some information about the compiler.
4035 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4036 set X $ac_compile
4037 ac_compiler=$2
4038 for ac_option in --version -v -V -qversion; do
4039 { { ac_try="$ac_compiler $ac_option >&5"
4040 case "(($ac_try" in
4041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042 *) ac_try_echo=$ac_try;;
4043 esac
4044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4045 $as_echo "$ac_try_echo"; } >&5
4046 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4047 ac_status=$?
4048 if test -s conftest.err; then
4049 sed '10a\
4050 ... rest of stderr output deleted ...
4051 10q' conftest.err >conftest.er1
4052 cat conftest.er1 >&5
4054 rm -f conftest.er1 conftest.err
4055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056 test $ac_status = 0; }
4057 done
4059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4060 /* end confdefs.h. */
4063 main ()
4067 return 0;
4069 _ACEOF
4070 ac_clean_files_save=$ac_clean_files
4071 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4072 # Try to create an executable without -o first, disregard a.out.
4073 # It will help us diagnose broken compilers, and finding out an intuition
4074 # of exeext.
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4076 $as_echo_n "checking whether the C compiler works... " >&6; }
4077 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4079 # The possible output files:
4080 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4082 ac_rmfiles=
4083 for ac_file in $ac_files
4085 case $ac_file in
4086 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4087 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4088 esac
4089 done
4090 rm -f $ac_rmfiles
4092 if { { ac_try="$ac_link_default"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_link_default") 2>&5
4100 ac_status=$?
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; then :
4103 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4104 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4105 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4106 # so that the user can short-circuit this test for compilers unknown to
4107 # Autoconf.
4108 for ac_file in $ac_files ''
4110 test -f "$ac_file" || continue
4111 case $ac_file in
4112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4114 [ab].out )
4115 # We found the default executable, but exeext='' is most
4116 # certainly right.
4117 break;;
4118 *.* )
4119 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4120 then :; else
4121 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4123 # We set ac_cv_exeext here because the later test for it is not
4124 # safe: cross compilers may not add the suffix if given an `-o'
4125 # argument, so we may need to know it at that point already.
4126 # Even if this section looks crufty: it has the advantage of
4127 # actually working.
4128 break;;
4130 break;;
4131 esac
4132 done
4133 test "$ac_cv_exeext" = no && ac_cv_exeext=
4135 else
4136 ac_file=''
4138 if test -z "$ac_file"; then :
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4140 $as_echo "no" >&6; }
4141 $as_echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error 77 "C compiler cannot create executables
4147 See \`config.log' for more details" "$LINENO" 5; }
4148 else
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4150 $as_echo "yes" >&6; }
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4153 $as_echo_n "checking for C compiler default output file name... " >&6; }
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4155 $as_echo "$ac_file" >&6; }
4156 ac_exeext=$ac_cv_exeext
4158 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4159 ac_clean_files=$ac_clean_files_save
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4161 $as_echo_n "checking for suffix of executables... " >&6; }
4162 if { { ac_try="$ac_link"
4163 case "(($ac_try" in
4164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4165 *) ac_try_echo=$ac_try;;
4166 esac
4167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4168 $as_echo "$ac_try_echo"; } >&5
4169 (eval "$ac_link") 2>&5
4170 ac_status=$?
4171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4172 test $ac_status = 0; }; then :
4173 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4174 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4175 # work properly (i.e., refer to `conftest.exe'), while it won't with
4176 # `rm'.
4177 for ac_file in conftest.exe conftest conftest.*; do
4178 test -f "$ac_file" || continue
4179 case $ac_file in
4180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4181 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4182 break;;
4183 * ) break;;
4184 esac
4185 done
4186 else
4187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4189 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4190 See \`config.log' for more details" "$LINENO" 5; }
4192 rm -f conftest conftest$ac_cv_exeext
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4194 $as_echo "$ac_cv_exeext" >&6; }
4196 rm -f conftest.$ac_ext
4197 EXEEXT=$ac_cv_exeext
4198 ac_exeext=$EXEEXT
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4201 #include <stdio.h>
4203 main ()
4205 FILE *f = fopen ("conftest.out", "w");
4206 return ferror (f) || fclose (f) != 0;
4209 return 0;
4211 _ACEOF
4212 ac_clean_files="$ac_clean_files conftest.out"
4213 # Check that the compiler produces executables we can run. If not, either
4214 # the compiler is broken, or we cross compile.
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4216 $as_echo_n "checking whether we are cross compiling... " >&6; }
4217 if test "$cross_compiling" != yes; then
4218 { { ac_try="$ac_link"
4219 case "(($ac_try" in
4220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4221 *) ac_try_echo=$ac_try;;
4222 esac
4223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4224 $as_echo "$ac_try_echo"; } >&5
4225 (eval "$ac_link") 2>&5
4226 ac_status=$?
4227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4228 test $ac_status = 0; }
4229 if { ac_try='./conftest$ac_cv_exeext'
4230 { { case "(($ac_try" in
4231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4232 *) ac_try_echo=$ac_try;;
4233 esac
4234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4235 $as_echo "$ac_try_echo"; } >&5
4236 (eval "$ac_try") 2>&5
4237 ac_status=$?
4238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4239 test $ac_status = 0; }; }; then
4240 cross_compiling=no
4241 else
4242 if test "$cross_compiling" = maybe; then
4243 cross_compiling=yes
4244 else
4245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4247 as_fn_error $? "cannot run C compiled programs.
4248 If you meant to cross compile, use \`--host'.
4249 See \`config.log' for more details" "$LINENO" 5; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4254 $as_echo "$cross_compiling" >&6; }
4256 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4257 ac_clean_files=$ac_clean_files_save
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4259 $as_echo_n "checking for suffix of object files... " >&6; }
4260 if ${ac_cv_objext+:} false; then :
4261 $as_echo_n "(cached) " >&6
4262 else
4263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4264 /* end confdefs.h. */
4267 main ()
4271 return 0;
4273 _ACEOF
4274 rm -f conftest.o conftest.obj
4275 if { { ac_try="$ac_compile"
4276 case "(($ac_try" in
4277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4278 *) ac_try_echo=$ac_try;;
4279 esac
4280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4281 $as_echo "$ac_try_echo"; } >&5
4282 (eval "$ac_compile") 2>&5
4283 ac_status=$?
4284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4285 test $ac_status = 0; }; then :
4286 for ac_file in conftest.o conftest.obj conftest.*; do
4287 test -f "$ac_file" || continue;
4288 case $ac_file in
4289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4290 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4291 break;;
4292 esac
4293 done
4294 else
4295 $as_echo "$as_me: failed program was:" >&5
4296 sed 's/^/| /' conftest.$ac_ext >&5
4298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4300 as_fn_error $? "cannot compute suffix of object files: cannot compile
4301 See \`config.log' for more details" "$LINENO" 5; }
4303 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4306 $as_echo "$ac_cv_objext" >&6; }
4307 OBJEXT=$ac_cv_objext
4308 ac_objext=$OBJEXT
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4310 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4311 if ${ac_cv_c_compiler_gnu+:} false; then :
4312 $as_echo_n "(cached) " >&6
4313 else
4314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4315 /* end confdefs.h. */
4318 main ()
4320 #ifndef __GNUC__
4321 choke me
4322 #endif
4325 return 0;
4327 _ACEOF
4328 if ac_fn_c_try_compile "$LINENO"; then :
4329 ac_compiler_gnu=yes
4330 else
4331 ac_compiler_gnu=no
4333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4334 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4338 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4339 if test $ac_compiler_gnu = yes; then
4340 GCC=yes
4341 else
4342 GCC=
4344 ac_test_CFLAGS=${CFLAGS+set}
4345 ac_save_CFLAGS=$CFLAGS
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4347 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4348 if ${ac_cv_prog_cc_g+:} false; then :
4349 $as_echo_n "(cached) " >&6
4350 else
4351 ac_save_c_werror_flag=$ac_c_werror_flag
4352 ac_c_werror_flag=yes
4353 ac_cv_prog_cc_g=no
4354 CFLAGS="-g"
4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4359 main ()
4363 return 0;
4365 _ACEOF
4366 if ac_fn_c_try_compile "$LINENO"; then :
4367 ac_cv_prog_cc_g=yes
4368 else
4369 CFLAGS=""
4370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4371 /* end confdefs.h. */
4374 main ()
4378 return 0;
4380 _ACEOF
4381 if ac_fn_c_try_compile "$LINENO"; then :
4383 else
4384 ac_c_werror_flag=$ac_save_c_werror_flag
4385 CFLAGS="-g"
4386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h. */
4390 main ()
4394 return 0;
4396 _ACEOF
4397 if ac_fn_c_try_compile "$LINENO"; then :
4398 ac_cv_prog_cc_g=yes
4400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4405 ac_c_werror_flag=$ac_save_c_werror_flag
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4408 $as_echo "$ac_cv_prog_cc_g" >&6; }
4409 if test "$ac_test_CFLAGS" = set; then
4410 CFLAGS=$ac_save_CFLAGS
4411 elif test $ac_cv_prog_cc_g = yes; then
4412 if test "$GCC" = yes; then
4413 CFLAGS="-g -O2"
4414 else
4415 CFLAGS="-g"
4417 else
4418 if test "$GCC" = yes; then
4419 CFLAGS="-O2"
4420 else
4421 CFLAGS=
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4425 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4426 if ${ac_cv_prog_cc_c89+:} false; then :
4427 $as_echo_n "(cached) " >&6
4428 else
4429 ac_cv_prog_cc_c89=no
4430 ac_save_CC=$CC
4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4432 /* end confdefs.h. */
4433 #include <stdarg.h>
4434 #include <stdio.h>
4435 struct stat;
4436 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4437 struct buf { int x; };
4438 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4439 static char *e (p, i)
4440 char **p;
4441 int i;
4443 return p[i];
4445 static char *f (char * (*g) (char **, int), char **p, ...)
4447 char *s;
4448 va_list v;
4449 va_start (v,p);
4450 s = g (p, va_arg (v,int));
4451 va_end (v);
4452 return s;
4455 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4456 function prototypes and stuff, but not '\xHH' hex character constants.
4457 These don't provoke an error unfortunately, instead are silently treated
4458 as 'x'. The following induces an error, until -std is added to get
4459 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4460 array size at least. It's necessary to write '\x00'==0 to get something
4461 that's true only with -std. */
4462 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4464 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4465 inside strings and character constants. */
4466 #define FOO(x) 'x'
4467 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4469 int test (int i, double x);
4470 struct s1 {int (*f) (int a);};
4471 struct s2 {int (*f) (double a);};
4472 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4473 int argc;
4474 char **argv;
4476 main ()
4478 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4480 return 0;
4482 _ACEOF
4483 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4484 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4486 CC="$ac_save_CC $ac_arg"
4487 if ac_fn_c_try_compile "$LINENO"; then :
4488 ac_cv_prog_cc_c89=$ac_arg
4490 rm -f core conftest.err conftest.$ac_objext
4491 test "x$ac_cv_prog_cc_c89" != "xno" && break
4492 done
4493 rm -f conftest.$ac_ext
4494 CC=$ac_save_CC
4497 # AC_CACHE_VAL
4498 case "x$ac_cv_prog_cc_c89" in
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4501 $as_echo "none needed" >&6; } ;;
4502 xno)
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4504 $as_echo "unsupported" >&6; } ;;
4506 CC="$CC $ac_cv_prog_cc_c89"
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4508 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4509 esac
4510 if test "x$ac_cv_prog_cc_c89" != xno; then :
4514 ac_ext=c
4515 ac_cpp='$CPP $CPPFLAGS'
4516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4520 ac_ext=cpp
4521 ac_cpp='$CXXCPP $CPPFLAGS'
4522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4525 if test -z "$CXX"; then
4526 if test -n "$CCC"; then
4527 CXX=$CCC
4528 else
4529 if test -n "$ac_tool_prefix"; then
4530 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4532 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4533 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4535 $as_echo_n "checking for $ac_word... " >&6; }
4536 if ${ac_cv_prog_CXX+:} false; then :
4537 $as_echo_n "(cached) " >&6
4538 else
4539 if test -n "$CXX"; then
4540 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4541 else
4542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4543 for as_dir in $PATH
4545 IFS=$as_save_IFS
4546 test -z "$as_dir" && as_dir=.
4547 for ac_exec_ext in '' $ac_executable_extensions; do
4548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4549 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4551 break 2
4553 done
4554 done
4555 IFS=$as_save_IFS
4559 CXX=$ac_cv_prog_CXX
4560 if test -n "$CXX"; then
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4562 $as_echo "$CXX" >&6; }
4563 else
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4565 $as_echo "no" >&6; }
4569 test -n "$CXX" && break
4570 done
4572 if test -z "$CXX"; then
4573 ac_ct_CXX=$CXX
4574 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4576 # Extract the first word of "$ac_prog", so it can be a program name with args.
4577 set dummy $ac_prog; ac_word=$2
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4579 $as_echo_n "checking for $ac_word... " >&6; }
4580 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4581 $as_echo_n "(cached) " >&6
4582 else
4583 if test -n "$ac_ct_CXX"; then
4584 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4585 else
4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4587 for as_dir in $PATH
4589 IFS=$as_save_IFS
4590 test -z "$as_dir" && as_dir=.
4591 for ac_exec_ext in '' $ac_executable_extensions; do
4592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4593 ac_cv_prog_ac_ct_CXX="$ac_prog"
4594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 break 2
4597 done
4598 done
4599 IFS=$as_save_IFS
4603 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4604 if test -n "$ac_ct_CXX"; then
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4606 $as_echo "$ac_ct_CXX" >&6; }
4607 else
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609 $as_echo "no" >&6; }
4613 test -n "$ac_ct_CXX" && break
4614 done
4616 if test "x$ac_ct_CXX" = x; then
4617 CXX="g++"
4618 else
4619 case $cross_compiling:$ac_tool_warned in
4620 yes:)
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4623 ac_tool_warned=yes ;;
4624 esac
4625 CXX=$ac_ct_CXX
4631 # Provide some information about the compiler.
4632 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4633 set X $ac_compile
4634 ac_compiler=$2
4635 for ac_option in --version -v -V -qversion; do
4636 { { ac_try="$ac_compiler $ac_option >&5"
4637 case "(($ac_try" in
4638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639 *) ac_try_echo=$ac_try;;
4640 esac
4641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4642 $as_echo "$ac_try_echo"; } >&5
4643 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4644 ac_status=$?
4645 if test -s conftest.err; then
4646 sed '10a\
4647 ... rest of stderr output deleted ...
4648 10q' conftest.err >conftest.er1
4649 cat conftest.er1 >&5
4651 rm -f conftest.er1 conftest.err
4652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4653 test $ac_status = 0; }
4654 done
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4657 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4658 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4659 $as_echo_n "(cached) " >&6
4660 else
4661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4662 /* end confdefs.h. */
4665 main ()
4667 #ifndef __GNUC__
4668 choke me
4669 #endif
4672 return 0;
4674 _ACEOF
4675 if ac_fn_cxx_try_compile "$LINENO"; then :
4676 ac_compiler_gnu=yes
4677 else
4678 ac_compiler_gnu=no
4680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4681 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4685 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4686 if test $ac_compiler_gnu = yes; then
4687 GXX=yes
4688 else
4689 GXX=
4691 ac_test_CXXFLAGS=${CXXFLAGS+set}
4692 ac_save_CXXFLAGS=$CXXFLAGS
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4694 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4695 if ${ac_cv_prog_cxx_g+:} false; then :
4696 $as_echo_n "(cached) " >&6
4697 else
4698 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4699 ac_cxx_werror_flag=yes
4700 ac_cv_prog_cxx_g=no
4701 CXXFLAGS="-g"
4702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4703 /* end confdefs.h. */
4706 main ()
4710 return 0;
4712 _ACEOF
4713 if ac_fn_cxx_try_compile "$LINENO"; then :
4714 ac_cv_prog_cxx_g=yes
4715 else
4716 CXXFLAGS=""
4717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4718 /* end confdefs.h. */
4721 main ()
4725 return 0;
4727 _ACEOF
4728 if ac_fn_cxx_try_compile "$LINENO"; then :
4730 else
4731 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4732 CXXFLAGS="-g"
4733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734 /* end confdefs.h. */
4737 main ()
4741 return 0;
4743 _ACEOF
4744 if ac_fn_cxx_try_compile "$LINENO"; then :
4745 ac_cv_prog_cxx_g=yes
4747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4752 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4755 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4756 if test "$ac_test_CXXFLAGS" = set; then
4757 CXXFLAGS=$ac_save_CXXFLAGS
4758 elif test $ac_cv_prog_cxx_g = yes; then
4759 if test "$GXX" = yes; then
4760 CXXFLAGS="-g -O2"
4761 else
4762 CXXFLAGS="-g"
4764 else
4765 if test "$GXX" = yes; then
4766 CXXFLAGS="-O2"
4767 else
4768 CXXFLAGS=
4771 ac_ext=c
4772 ac_cpp='$CPP $CPPFLAGS'
4773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4777 if test -n "$ac_tool_prefix"; then
4778 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4779 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 $as_echo_n "checking for $ac_word... " >&6; }
4782 if ${ac_cv_prog_CPPBIN+:} false; then :
4783 $as_echo_n "(cached) " >&6
4784 else
4785 if test -n "$CPPBIN"; then
4786 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4787 else
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4789 for as_dir in $PATH
4791 IFS=$as_save_IFS
4792 test -z "$as_dir" && as_dir=.
4793 for ac_exec_ext in '' $ac_executable_extensions; do
4794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4795 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 break 2
4799 done
4800 done
4801 IFS=$as_save_IFS
4805 CPPBIN=$ac_cv_prog_CPPBIN
4806 if test -n "$CPPBIN"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4808 $as_echo "$CPPBIN" >&6; }
4809 else
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4816 if test -z "$ac_cv_prog_CPPBIN"; then
4817 ac_ct_CPPBIN=$CPPBIN
4818 # Extract the first word of "cpp", so it can be a program name with args.
4819 set dummy cpp; ac_word=$2
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 $as_echo_n "checking for $ac_word... " >&6; }
4822 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if test -n "$ac_ct_CPPBIN"; then
4826 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4827 else
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH
4831 IFS=$as_save_IFS
4832 test -z "$as_dir" && as_dir=.
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4835 ac_cv_prog_ac_ct_CPPBIN="cpp"
4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4837 break 2
4839 done
4840 done
4841 IFS=$as_save_IFS
4845 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4846 if test -n "$ac_ct_CPPBIN"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4848 $as_echo "$ac_ct_CPPBIN" >&6; }
4849 else
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 $as_echo "no" >&6; }
4854 if test "x$ac_ct_CPPBIN" = x; then
4855 CPPBIN="cpp"
4856 else
4857 case $cross_compiling:$ac_tool_warned in
4858 yes:)
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4861 ac_tool_warned=yes ;;
4862 esac
4863 CPPBIN=$ac_ct_CPPBIN
4865 else
4866 CPPBIN="$ac_cv_prog_CPPBIN"
4870 cat >>confdefs.h <<_ACEOF
4871 #define EXEEXT "$ac_exeext"
4872 _ACEOF
4874 if test -n "$ac_tool_prefix"; then
4875 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4876 set dummy ${ac_tool_prefix}ld; ac_word=$2
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878 $as_echo_n "checking for $ac_word... " >&6; }
4879 if ${ac_cv_prog_LD+:} false; then :
4880 $as_echo_n "(cached) " >&6
4881 else
4882 if test -n "$LD"; then
4883 ac_cv_prog_LD="$LD" # Let the user override the test.
4884 else
4885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886 for as_dir in $PATH
4888 IFS=$as_save_IFS
4889 test -z "$as_dir" && as_dir=.
4890 for ac_exec_ext in '' $ac_executable_extensions; do
4891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4892 ac_cv_prog_LD="${ac_tool_prefix}ld"
4893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894 break 2
4896 done
4897 done
4898 IFS=$as_save_IFS
4902 LD=$ac_cv_prog_LD
4903 if test -n "$LD"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4905 $as_echo "$LD" >&6; }
4906 else
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4913 if test -z "$ac_cv_prog_LD"; then
4914 ac_ct_LD=$LD
4915 # Extract the first word of "ld", so it can be a program name with args.
4916 set dummy ld; ac_word=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 $as_echo_n "checking for $ac_word... " >&6; }
4919 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4920 $as_echo_n "(cached) " >&6
4921 else
4922 if test -n "$ac_ct_LD"; then
4923 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4924 else
4925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926 for as_dir in $PATH
4928 IFS=$as_save_IFS
4929 test -z "$as_dir" && as_dir=.
4930 for ac_exec_ext in '' $ac_executable_extensions; do
4931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4932 ac_cv_prog_ac_ct_LD="ld"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4934 break 2
4936 done
4937 done
4938 IFS=$as_save_IFS
4942 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4943 if test -n "$ac_ct_LD"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4945 $as_echo "$ac_ct_LD" >&6; }
4946 else
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4951 if test "x$ac_ct_LD" = x; then
4952 LD=""
4953 else
4954 case $cross_compiling:$ac_tool_warned in
4955 yes:)
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4958 ac_tool_warned=yes ;;
4959 esac
4960 LD=$ac_ct_LD
4962 else
4963 LD="$ac_cv_prog_LD"
4967 case $host in
4968 *-darwin*)
4969 with_fontconfig=${with_fontconfig:-no}
4971 *-mingw32*|*-cygwin*)
4972 enable_win16=${enable_win16:-no}
4973 CFLAGS="$CFLAGS -D_WIN32"
4975 esac
4977 case $host in
4978 x86_64*|amd64*)
4979 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4980 then
4981 CC="$CC -m32"
4982 CXX="$CXX -m32"
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4984 $as_echo_n "checking whether $CC works... " >&6; }
4986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4987 /* end confdefs.h. */
4990 main ()
4994 return 0;
4996 _ACEOF
4997 if ac_fn_c_try_link "$LINENO"; then :
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4999 $as_echo "yes" >&6; }
5000 else
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5003 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5005 rm -f core conftest.err conftest.$ac_objext \
5006 conftest$ac_exeext conftest.$ac_ext
5007 host_cpu="i386"
5008 notice_platform="32-bit "
5009 TARGETFLAGS="-m32"
5011 enable_win16=${enable_win16:-yes}
5012 else
5013 if test "x${GCC}" = "xyes"
5014 then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5016 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5018 /* end confdefs.h. */
5019 #include <stdarg.h>
5021 main ()
5023 void func(__builtin_ms_va_list *args);
5025 return 0;
5027 _ACEOF
5028 if ac_fn_c_try_compile "$LINENO"; then :
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5030 $as_echo "yes" >&6; }
5031 else
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5034 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5038 CC="$CC -m64"
5039 CXX="$CXX -m64"
5040 host_cpu="x86_64"
5041 notice_platform="64-bit "
5042 TARGETFLAGS="-m64"
5046 arm*)
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5048 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5050 /* end confdefs.h. */
5051 int ac_test(int i) { return i; }
5053 main ()
5055 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5057 return 0;
5059 _ACEOF
5060 if ac_fn_c_try_link "$LINENO"; then :
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5062 $as_echo "yes" >&6; }
5063 else
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5065 $as_echo "no" >&6; }
5066 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5068 rm -f core conftest.err conftest.$ac_objext \
5069 conftest$ac_exeext conftest.$ac_ext
5070 CFLAGS="$CFLAGS -marm"
5071 TARGETFLAGS="-marm"
5074 i[3456789]86*)
5075 enable_win16=${enable_win16:-yes}
5077 esac
5079 enable_win16=${enable_win16:-no}
5080 enable_win64=${enable_win64:-no}
5082 enable_winetest=${enable_winetest:-$enable_tests}
5084 if test -n "$with_wine64"
5085 then
5086 if test "x$enable_win64" = "xyes"
5087 then
5088 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5089 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5091 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5092 You should create a separate build directory and run configure from there." "$LINENO" 5
5093 enable_fonts=${enable_fonts:-no}
5094 enable_server=${enable_server:-no}
5095 elif test "x$enable_win64" = "xyes"
5096 then
5097 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5101 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5102 if ${wine_cv_toolsdir+:} false; then :
5103 $as_echo_n "(cached) " >&6
5104 else
5105 wine_cv_toolsdir="$with_wine_tools"
5106 if test -z "$with_wine_tools"; then
5107 if test "$cross_compiling" = "yes"; then
5108 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5109 elif test -n "$with_wine64"; then
5110 wine_cv_toolsdir="$with_wine64"
5113 if test -z "$wine_cv_toolsdir"; then
5114 wine_makedep=tools/makedep
5115 wine_cv_toolsdir="\$(top_builddir)"
5116 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5117 wine_makedep=$wine_cv_toolsdir/tools/makedep
5118 case "$wine_cv_toolsdir" in
5119 /*) ;;
5120 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5121 esac
5122 enable_tools=${enable_tools:-no}
5123 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5124 else
5125 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5129 $as_echo "$wine_cv_toolsdir" >&6; }
5130 TOOLSDIR=$wine_cv_toolsdir
5132 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5133 then
5134 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5138 for ac_prog in flex
5140 # Extract the first word of "$ac_prog", so it can be a program name with args.
5141 set dummy $ac_prog; ac_word=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if ${ac_cv_prog_FLEX+:} false; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 if test -n "$FLEX"; then
5148 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5149 else
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH
5153 IFS=$as_save_IFS
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_FLEX="$ac_prog"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 break 2
5161 done
5162 done
5163 IFS=$as_save_IFS
5167 FLEX=$ac_cv_prog_FLEX
5168 if test -n "$FLEX"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5170 $as_echo "$FLEX" >&6; }
5171 else
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5177 test -n "$FLEX" && break
5178 done
5179 test -n "$FLEX" || FLEX="none"
5181 if test "$FLEX" = "none"
5182 then
5183 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5186 $as_echo_n "checking whether flex is recent enough... " >&6; }
5187 cat >conftest.l <<EOF
5188 %top{
5189 #include "prediluvian.h"
5193 if $FLEX -t conftest.l >/dev/null 2>&5
5194 then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5196 $as_echo "yes" >&6; }
5197 else
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 $as_echo "no" >&6; }
5200 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5203 for ac_prog in bison
5205 # Extract the first word of "$ac_prog", so it can be a program name with args.
5206 set dummy $ac_prog; ac_word=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_BISON+:} false; then :
5210 $as_echo_n "(cached) " >&6
5211 else
5212 if test -n "$BISON"; then
5213 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5214 else
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 for as_dir in $PATH
5218 IFS=$as_save_IFS
5219 test -z "$as_dir" && as_dir=.
5220 for ac_exec_ext in '' $ac_executable_extensions; do
5221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_BISON="$ac_prog"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 break 2
5226 done
5227 done
5228 IFS=$as_save_IFS
5232 BISON=$ac_cv_prog_BISON
5233 if test -n "$BISON"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5235 $as_echo "$BISON" >&6; }
5236 else
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5242 test -n "$BISON" && break
5243 done
5244 test -n "$BISON" || BISON="none"
5246 if test "$BISON" = "none"
5247 then
5248 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5251 if test -n "$ac_tool_prefix"; then
5252 for ac_prog in ar gar
5254 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5255 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5257 $as_echo_n "checking for $ac_word... " >&6; }
5258 if ${ac_cv_prog_AR+:} false; then :
5259 $as_echo_n "(cached) " >&6
5260 else
5261 if test -n "$AR"; then
5262 ac_cv_prog_AR="$AR" # Let the user override the test.
5263 else
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5265 for as_dir in $PATH
5267 IFS=$as_save_IFS
5268 test -z "$as_dir" && as_dir=.
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5271 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 break 2
5275 done
5276 done
5277 IFS=$as_save_IFS
5281 AR=$ac_cv_prog_AR
5282 if test -n "$AR"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5284 $as_echo "$AR" >&6; }
5285 else
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5291 test -n "$AR" && break
5292 done
5294 if test -z "$AR"; then
5295 ac_ct_AR=$AR
5296 for ac_prog in ar gar
5298 # Extract the first word of "$ac_prog", so it can be a program name with args.
5299 set dummy $ac_prog; ac_word=$2
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5301 $as_echo_n "checking for $ac_word... " >&6; }
5302 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5303 $as_echo_n "(cached) " >&6
5304 else
5305 if test -n "$ac_ct_AR"; then
5306 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5307 else
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 for as_dir in $PATH
5311 IFS=$as_save_IFS
5312 test -z "$as_dir" && as_dir=.
5313 for ac_exec_ext in '' $ac_executable_extensions; do
5314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5315 ac_cv_prog_ac_ct_AR="$ac_prog"
5316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5317 break 2
5319 done
5320 done
5321 IFS=$as_save_IFS
5325 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5326 if test -n "$ac_ct_AR"; then
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5328 $as_echo "$ac_ct_AR" >&6; }
5329 else
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5331 $as_echo "no" >&6; }
5335 test -n "$ac_ct_AR" && break
5336 done
5338 if test "x$ac_ct_AR" = x; then
5339 AR="ar"
5340 else
5341 case $cross_compiling:$ac_tool_warned in
5342 yes:)
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5345 ac_tool_warned=yes ;;
5346 esac
5347 AR=$ac_ct_AR
5351 if test -n "$ac_tool_prefix"; then
5352 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5353 set dummy ${ac_tool_prefix}strip; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if ${ac_cv_prog_STRIP+:} false; then :
5357 $as_echo_n "(cached) " >&6
5358 else
5359 if test -n "$STRIP"; then
5360 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5361 else
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5365 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5369 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 break 2
5373 done
5374 done
5375 IFS=$as_save_IFS
5379 STRIP=$ac_cv_prog_STRIP
5380 if test -n "$STRIP"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5382 $as_echo "$STRIP" >&6; }
5383 else
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5390 if test -z "$ac_cv_prog_STRIP"; then
5391 ac_ct_STRIP=$STRIP
5392 # Extract the first word of "strip", so it can be a program name with args.
5393 set dummy strip; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5397 $as_echo_n "(cached) " >&6
5398 else
5399 if test -n "$ac_ct_STRIP"; then
5400 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5405 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5409 ac_cv_prog_ac_ct_STRIP="strip"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 break 2
5413 done
5414 done
5415 IFS=$as_save_IFS
5419 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5420 if test -n "$ac_ct_STRIP"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5422 $as_echo "$ac_ct_STRIP" >&6; }
5423 else
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5428 if test "x$ac_ct_STRIP" = x; then
5429 STRIP="strip"
5430 else
5431 case $cross_compiling:$ac_tool_warned in
5432 yes:)
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5435 ac_tool_warned=yes ;;
5436 esac
5437 STRIP=$ac_ct_STRIP
5439 else
5440 STRIP="$ac_cv_prog_STRIP"
5443 ARFLAGS=rc
5445 if test -n "$ac_tool_prefix"; then
5446 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5447 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5449 $as_echo_n "checking for $ac_word... " >&6; }
5450 if ${ac_cv_prog_RANLIB+:} false; then :
5451 $as_echo_n "(cached) " >&6
5452 else
5453 if test -n "$RANLIB"; then
5454 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5455 else
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 for as_dir in $PATH
5459 IFS=$as_save_IFS
5460 test -z "$as_dir" && as_dir=.
5461 for ac_exec_ext in '' $ac_executable_extensions; do
5462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5463 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5465 break 2
5467 done
5468 done
5469 IFS=$as_save_IFS
5473 RANLIB=$ac_cv_prog_RANLIB
5474 if test -n "$RANLIB"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5476 $as_echo "$RANLIB" >&6; }
5477 else
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5484 if test -z "$ac_cv_prog_RANLIB"; then
5485 ac_ct_RANLIB=$RANLIB
5486 # Extract the first word of "ranlib", so it can be a program name with args.
5487 set dummy ranlib; ac_word=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5491 $as_echo_n "(cached) " >&6
5492 else
5493 if test -n "$ac_ct_RANLIB"; then
5494 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5495 else
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH
5499 IFS=$as_save_IFS
5500 test -z "$as_dir" && as_dir=.
5501 for ac_exec_ext in '' $ac_executable_extensions; do
5502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5503 ac_cv_prog_ac_ct_RANLIB="ranlib"
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5505 break 2
5507 done
5508 done
5509 IFS=$as_save_IFS
5513 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5514 if test -n "$ac_ct_RANLIB"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5516 $as_echo "$ac_ct_RANLIB" >&6; }
5517 else
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5522 if test "x$ac_ct_RANLIB" = x; then
5523 RANLIB=":"
5524 else
5525 case $cross_compiling:$ac_tool_warned in
5526 yes:)
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5529 ac_tool_warned=yes ;;
5530 esac
5531 RANLIB=$ac_ct_RANLIB
5533 else
5534 RANLIB="$ac_cv_prog_RANLIB"
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5538 $as_echo_n "checking whether ln -s works... " >&6; }
5539 LN_S=$as_ln_s
5540 if test "$LN_S" = "ln -s"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5542 $as_echo "yes" >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5545 $as_echo "no, using $LN_S" >&6; }
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5549 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5550 if ${ac_cv_path_GREP+:} false; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 if test -z "$GREP"; then
5554 ac_path_GREP_found=false
5555 # Loop through the user's path and test for each of PROGNAME-LIST
5556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5559 IFS=$as_save_IFS
5560 test -z "$as_dir" && as_dir=.
5561 for ac_prog in grep ggrep; do
5562 for ac_exec_ext in '' $ac_executable_extensions; do
5563 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5564 as_fn_executable_p "$ac_path_GREP" || continue
5565 # Check for GNU ac_path_GREP and select it if it is found.
5566 # Check for GNU $ac_path_GREP
5567 case `"$ac_path_GREP" --version 2>&1` in
5568 *GNU*)
5569 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5571 ac_count=0
5572 $as_echo_n 0123456789 >"conftest.in"
5573 while :
5575 cat "conftest.in" "conftest.in" >"conftest.tmp"
5576 mv "conftest.tmp" "conftest.in"
5577 cp "conftest.in" "conftest.nl"
5578 $as_echo 'GREP' >> "conftest.nl"
5579 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5580 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5581 as_fn_arith $ac_count + 1 && ac_count=$as_val
5582 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5583 # Best one so far, save it but keep looking for a better one
5584 ac_cv_path_GREP="$ac_path_GREP"
5585 ac_path_GREP_max=$ac_count
5587 # 10*(2^10) chars as input seems more than enough
5588 test $ac_count -gt 10 && break
5589 done
5590 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5591 esac
5593 $ac_path_GREP_found && break 3
5594 done
5595 done
5596 done
5597 IFS=$as_save_IFS
5598 if test -z "$ac_cv_path_GREP"; then
5599 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5601 else
5602 ac_cv_path_GREP=$GREP
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5607 $as_echo "$ac_cv_path_GREP" >&6; }
5608 GREP="$ac_cv_path_GREP"
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5612 $as_echo_n "checking for egrep... " >&6; }
5613 if ${ac_cv_path_EGREP+:} false; then :
5614 $as_echo_n "(cached) " >&6
5615 else
5616 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5617 then ac_cv_path_EGREP="$GREP -E"
5618 else
5619 if test -z "$EGREP"; then
5620 ac_path_EGREP_found=false
5621 # Loop through the user's path and test for each of PROGNAME-LIST
5622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5623 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5625 IFS=$as_save_IFS
5626 test -z "$as_dir" && as_dir=.
5627 for ac_prog in egrep; do
5628 for ac_exec_ext in '' $ac_executable_extensions; do
5629 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5630 as_fn_executable_p "$ac_path_EGREP" || continue
5631 # Check for GNU ac_path_EGREP and select it if it is found.
5632 # Check for GNU $ac_path_EGREP
5633 case `"$ac_path_EGREP" --version 2>&1` in
5634 *GNU*)
5635 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5637 ac_count=0
5638 $as_echo_n 0123456789 >"conftest.in"
5639 while :
5641 cat "conftest.in" "conftest.in" >"conftest.tmp"
5642 mv "conftest.tmp" "conftest.in"
5643 cp "conftest.in" "conftest.nl"
5644 $as_echo 'EGREP' >> "conftest.nl"
5645 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5646 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5647 as_fn_arith $ac_count + 1 && ac_count=$as_val
5648 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5649 # Best one so far, save it but keep looking for a better one
5650 ac_cv_path_EGREP="$ac_path_EGREP"
5651 ac_path_EGREP_max=$ac_count
5653 # 10*(2^10) chars as input seems more than enough
5654 test $ac_count -gt 10 && break
5655 done
5656 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5657 esac
5659 $ac_path_EGREP_found && break 3
5660 done
5661 done
5662 done
5663 IFS=$as_save_IFS
5664 if test -z "$ac_cv_path_EGREP"; then
5665 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5667 else
5668 ac_cv_path_EGREP=$EGREP
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5674 $as_echo "$ac_cv_path_EGREP" >&6; }
5675 EGREP="$ac_cv_path_EGREP"
5678 # Extract the first word of "ldconfig", so it can be a program name with args.
5679 set dummy ldconfig; ac_word=$2
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5681 $as_echo_n "checking for $ac_word... " >&6; }
5682 if ${ac_cv_path_LDCONFIG+:} false; then :
5683 $as_echo_n "(cached) " >&6
5684 else
5685 case $LDCONFIG in
5686 [\\/]* | ?:[\\/]*)
5687 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 for as_dir in /sbin /usr/sbin $PATH
5693 IFS=$as_save_IFS
5694 test -z "$as_dir" && as_dir=.
5695 for ac_exec_ext in '' $ac_executable_extensions; do
5696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5697 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 break 2
5701 done
5702 done
5703 IFS=$as_save_IFS
5705 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5707 esac
5709 LDCONFIG=$ac_cv_path_LDCONFIG
5710 if test -n "$LDCONFIG"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5712 $as_echo "$LDCONFIG" >&6; }
5713 else
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5719 for ac_prog in msgfmt
5721 # Extract the first word of "$ac_prog", so it can be a program name with args.
5722 set dummy $ac_prog; ac_word=$2
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5724 $as_echo_n "checking for $ac_word... " >&6; }
5725 if ${ac_cv_prog_MSGFMT+:} false; then :
5726 $as_echo_n "(cached) " >&6
5727 else
5728 if test -n "$MSGFMT"; then
5729 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5730 else
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732 for as_dir in $PATH
5734 IFS=$as_save_IFS
5735 test -z "$as_dir" && as_dir=.
5736 for ac_exec_ext in '' $ac_executable_extensions; do
5737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5738 ac_cv_prog_MSGFMT="$ac_prog"
5739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5740 break 2
5742 done
5743 done
5744 IFS=$as_save_IFS
5748 MSGFMT=$ac_cv_prog_MSGFMT
5749 if test -n "$MSGFMT"; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5751 $as_echo "$MSGFMT" >&6; }
5752 else
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5754 $as_echo "no" >&6; }
5758 test -n "$MSGFMT" && break
5759 done
5760 test -n "$MSGFMT" || MSGFMT="false"
5762 if ${ac_tool_prefix+:} false; then :
5763 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5764 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5768 $as_echo_n "(cached) " >&6
5769 else
5770 if test -n "$PKG_CONFIG"; then
5771 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5772 else
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 for as_dir in $PATH
5776 IFS=$as_save_IFS
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 break 2
5784 done
5785 done
5786 IFS=$as_save_IFS
5790 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5791 if test -n "$PKG_CONFIG"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5793 $as_echo "$PKG_CONFIG" >&6; }
5794 else
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5801 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5802 if test "x$cross_compiling" = xyes; then :
5804 else
5805 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5806 # Extract the first word of "pkg-config", so it can be a program name with args.
5807 set dummy pkg-config; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 if test -n "$PKG_CONFIG"; then
5814 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_PKG_CONFIG="pkg-config"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 break 2
5827 done
5828 done
5829 IFS=$as_save_IFS
5833 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5834 if test -n "$PKG_CONFIG"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5836 $as_echo "$PKG_CONFIG" >&6; }
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5844 else
5845 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5848 if test "x$enable_maintainer_mode" != "xyes"
5849 then
5850 FONTFORGE=""
5851 RSVG=""
5852 CONVERT=""
5853 ICOTOOL=""
5854 else
5855 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5856 for ac_prog in fontforge
5858 # Extract the first word of "$ac_prog", so it can be a program name with args.
5859 set dummy $ac_prog; ac_word=$2
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5861 $as_echo_n "checking for $ac_word... " >&6; }
5862 if ${ac_cv_prog_FONTFORGE+:} false; then :
5863 $as_echo_n "(cached) " >&6
5864 else
5865 if test -n "$FONTFORGE"; then
5866 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5867 else
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 for as_dir in $PATH
5871 IFS=$as_save_IFS
5872 test -z "$as_dir" && as_dir=.
5873 for ac_exec_ext in '' $ac_executable_extensions; do
5874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5875 ac_cv_prog_FONTFORGE="$ac_prog"
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 break 2
5879 done
5880 done
5881 IFS=$as_save_IFS
5885 FONTFORGE=$ac_cv_prog_FONTFORGE
5886 if test -n "$FONTFORGE"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5888 $as_echo "$FONTFORGE" >&6; }
5889 else
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5895 test -n "$FONTFORGE" && break
5896 done
5897 test -n "$FONTFORGE" || FONTFORGE="false"
5899 for ac_prog in rsvg-convert rsvg
5901 # Extract the first word of "$ac_prog", so it can be a program name with args.
5902 set dummy $ac_prog; ac_word=$2
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5904 $as_echo_n "checking for $ac_word... " >&6; }
5905 if ${ac_cv_prog_RSVG+:} false; then :
5906 $as_echo_n "(cached) " >&6
5907 else
5908 if test -n "$RSVG"; then
5909 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5910 else
5911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912 for as_dir in $PATH
5914 IFS=$as_save_IFS
5915 test -z "$as_dir" && as_dir=.
5916 for ac_exec_ext in '' $ac_executable_extensions; do
5917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5918 ac_cv_prog_RSVG="$ac_prog"
5919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5920 break 2
5922 done
5923 done
5924 IFS=$as_save_IFS
5928 RSVG=$ac_cv_prog_RSVG
5929 if test -n "$RSVG"; then
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5931 $as_echo "$RSVG" >&6; }
5932 else
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5934 $as_echo "no" >&6; }
5938 test -n "$RSVG" && break
5939 done
5940 test -n "$RSVG" || RSVG="false"
5942 for ac_prog in convert
5944 # Extract the first word of "$ac_prog", so it can be a program name with args.
5945 set dummy $ac_prog; ac_word=$2
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947 $as_echo_n "checking for $ac_word... " >&6; }
5948 if ${ac_cv_prog_CONVERT+:} false; then :
5949 $as_echo_n "(cached) " >&6
5950 else
5951 if test -n "$CONVERT"; then
5952 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5953 else
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 for as_dir in $PATH
5957 IFS=$as_save_IFS
5958 test -z "$as_dir" && as_dir=.
5959 for ac_exec_ext in '' $ac_executable_extensions; do
5960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5961 ac_cv_prog_CONVERT="$ac_prog"
5962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5963 break 2
5965 done
5966 done
5967 IFS=$as_save_IFS
5971 CONVERT=$ac_cv_prog_CONVERT
5972 if test -n "$CONVERT"; then
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5974 $as_echo "$CONVERT" >&6; }
5975 else
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5977 $as_echo "no" >&6; }
5981 test -n "$CONVERT" && break
5982 done
5983 test -n "$CONVERT" || CONVERT="false"
5985 for ac_prog in icotool
5987 # Extract the first word of "$ac_prog", so it can be a program name with args.
5988 set dummy $ac_prog; ac_word=$2
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5990 $as_echo_n "checking for $ac_word... " >&6; }
5991 if ${ac_cv_prog_ICOTOOL+:} false; then :
5992 $as_echo_n "(cached) " >&6
5993 else
5994 if test -n "$ICOTOOL"; then
5995 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5996 else
5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5998 for as_dir in $PATH
6000 IFS=$as_save_IFS
6001 test -z "$as_dir" && as_dir=.
6002 for ac_exec_ext in '' $ac_executable_extensions; do
6003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6004 ac_cv_prog_ICOTOOL="$ac_prog"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006 break 2
6008 done
6009 done
6010 IFS=$as_save_IFS
6014 ICOTOOL=$ac_cv_prog_ICOTOOL
6015 if test -n "$ICOTOOL"; then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6017 $as_echo "$ICOTOOL" >&6; }
6018 else
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6020 $as_echo "no" >&6; }
6024 test -n "$ICOTOOL" && break
6025 done
6026 test -n "$ICOTOOL" || ICOTOOL="false"
6028 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6029 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6031 if test "$CONVERT" = false
6032 then
6033 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6034 else
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6036 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6037 convert_version=`convert --version | head -n1`
6038 if test "x$convert_version" != "x"
6039 then
6040 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6041 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6042 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6043 then
6044 CONVERT=false
6047 if test "$CONVERT" = false
6048 then
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6050 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6051 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6052 else
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6054 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6058 if test "$ICOTOOL" = false
6059 then
6060 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6061 else
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6063 $as_echo_n "checking for recent enough icotool... " >&6; }
6064 icotool_version=`icotool --version | head -n1`
6065 if test "x$icotool_version" != "x"
6066 then
6067 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6068 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6069 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6070 then
6071 ICOTOOL=false
6072 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6075 if test "$ICOTOOL" = false
6076 then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6078 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6079 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6080 else
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6082 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6086 with_gettext=yes
6087 with_gettextpo=yes
6088 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6091 test "x$with_gettext" != xno || MSGFMT=false
6092 if test "$MSGFMT" != "false"
6093 then
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6095 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6096 cat >conftest.po <<EOF
6097 # comment
6098 msgctxt "ctxt"
6099 msgid "id"
6100 msgstr "str"
6102 if $MSGFMT -o /dev/null conftest.po 2>&5
6103 then
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6105 $as_echo "yes" >&6; }
6106 else
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6108 $as_echo "no" >&6; }
6109 MSGFMT=false
6112 if test "$MSGFMT" = false; then :
6113 case "x$with_gettext" in
6114 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6115 xno) ;;
6116 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6117 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6118 esac
6119 enable_po=${enable_po:-no}
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6124 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6125 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6126 $as_echo_n "(cached) " >&6
6127 else
6128 ac_check_lib_save_LIBS=$LIBS
6129 LIBS="-li386 $LIBS"
6130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6131 /* end confdefs.h. */
6133 /* Override any GCC internal prototype to avoid an error.
6134 Use char because int might match the return type of a GCC
6135 builtin and then its argument prototype would still apply. */
6136 #ifdef __cplusplus
6137 extern "C"
6138 #endif
6139 char i386_set_ldt ();
6141 main ()
6143 return i386_set_ldt ();
6145 return 0;
6147 _ACEOF
6148 if ac_fn_c_try_link "$LINENO"; then :
6149 ac_cv_lib_i386_i386_set_ldt=yes
6150 else
6151 ac_cv_lib_i386_i386_set_ldt=no
6153 rm -f core conftest.err conftest.$ac_objext \
6154 conftest$ac_exeext conftest.$ac_ext
6155 LIBS=$ac_check_lib_save_LIBS
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6158 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6159 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6160 cat >>confdefs.h <<_ACEOF
6161 #define HAVE_LIBI386 1
6162 _ACEOF
6164 LIBS="-li386 $LIBS"
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6169 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6170 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6171 $as_echo_n "(cached) " >&6
6172 else
6173 ac_check_lib_save_LIBS=$LIBS
6174 LIBS="-lossaudio $LIBS"
6175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6176 /* end confdefs.h. */
6178 /* Override any GCC internal prototype to avoid an error.
6179 Use char because int might match the return type of a GCC
6180 builtin and then its argument prototype would still apply. */
6181 #ifdef __cplusplus
6182 extern "C"
6183 #endif
6184 char _oss_ioctl ();
6186 main ()
6188 return _oss_ioctl ();
6190 return 0;
6192 _ACEOF
6193 if ac_fn_c_try_link "$LINENO"; then :
6194 ac_cv_lib_ossaudio__oss_ioctl=yes
6195 else
6196 ac_cv_lib_ossaudio__oss_ioctl=no
6198 rm -f core conftest.err conftest.$ac_objext \
6199 conftest$ac_exeext conftest.$ac_ext
6200 LIBS=$ac_check_lib_save_LIBS
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6203 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6204 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6205 cat >>confdefs.h <<_ACEOF
6206 #define HAVE_LIBOSSAUDIO 1
6207 _ACEOF
6209 LIBS="-lossaudio $LIBS"
6214 OPENGL_LIBS=""
6218 # Check whether --enable-largefile was given.
6219 if test "${enable_largefile+set}" = set; then :
6220 enableval=$enable_largefile;
6223 if test "$enable_largefile" != no; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6226 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6227 if ${ac_cv_sys_largefile_CC+:} false; then :
6228 $as_echo_n "(cached) " >&6
6229 else
6230 ac_cv_sys_largefile_CC=no
6231 if test "$GCC" != yes; then
6232 ac_save_CC=$CC
6233 while :; do
6234 # IRIX 6.2 and later do not support large files by default,
6235 # so use the C compiler's -n32 option if that helps.
6236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6237 /* end confdefs.h. */
6238 #include <sys/types.h>
6239 /* Check that off_t can represent 2**63 - 1 correctly.
6240 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6241 since some C++ compilers masquerading as C compilers
6242 incorrectly reject 9223372036854775807. */
6243 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6244 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6245 && LARGE_OFF_T % 2147483647 == 1)
6246 ? 1 : -1];
6248 main ()
6252 return 0;
6254 _ACEOF
6255 if ac_fn_c_try_compile "$LINENO"; then :
6256 break
6258 rm -f core conftest.err conftest.$ac_objext
6259 CC="$CC -n32"
6260 if ac_fn_c_try_compile "$LINENO"; then :
6261 ac_cv_sys_largefile_CC=' -n32'; break
6263 rm -f core conftest.err conftest.$ac_objext
6264 break
6265 done
6266 CC=$ac_save_CC
6267 rm -f conftest.$ac_ext
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6271 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6272 if test "$ac_cv_sys_largefile_CC" != no; then
6273 CC=$CC$ac_cv_sys_largefile_CC
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6277 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6278 if ${ac_cv_sys_file_offset_bits+:} false; then :
6279 $as_echo_n "(cached) " >&6
6280 else
6281 while :; do
6282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6284 #include <sys/types.h>
6285 /* Check that off_t can represent 2**63 - 1 correctly.
6286 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6287 since some C++ compilers masquerading as C compilers
6288 incorrectly reject 9223372036854775807. */
6289 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6290 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6291 && LARGE_OFF_T % 2147483647 == 1)
6292 ? 1 : -1];
6294 main ()
6298 return 0;
6300 _ACEOF
6301 if ac_fn_c_try_compile "$LINENO"; then :
6302 ac_cv_sys_file_offset_bits=no; break
6304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6306 /* end confdefs.h. */
6307 #define _FILE_OFFSET_BITS 64
6308 #include <sys/types.h>
6309 /* Check that off_t can represent 2**63 - 1 correctly.
6310 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6311 since some C++ compilers masquerading as C compilers
6312 incorrectly reject 9223372036854775807. */
6313 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6314 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6315 && LARGE_OFF_T % 2147483647 == 1)
6316 ? 1 : -1];
6318 main ()
6322 return 0;
6324 _ACEOF
6325 if ac_fn_c_try_compile "$LINENO"; then :
6326 ac_cv_sys_file_offset_bits=64; break
6328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6329 ac_cv_sys_file_offset_bits=unknown
6330 break
6331 done
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6334 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6335 case $ac_cv_sys_file_offset_bits in #(
6336 no | unknown) ;;
6338 cat >>confdefs.h <<_ACEOF
6339 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6340 _ACEOF
6342 esac
6343 rm -rf conftest*
6344 if test $ac_cv_sys_file_offset_bits = unknown; then
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6346 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6347 if ${ac_cv_sys_large_files+:} false; then :
6348 $as_echo_n "(cached) " >&6
6349 else
6350 while :; do
6351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h. */
6353 #include <sys/types.h>
6354 /* Check that off_t can represent 2**63 - 1 correctly.
6355 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6356 since some C++ compilers masquerading as C compilers
6357 incorrectly reject 9223372036854775807. */
6358 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6359 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6360 && LARGE_OFF_T % 2147483647 == 1)
6361 ? 1 : -1];
6363 main ()
6367 return 0;
6369 _ACEOF
6370 if ac_fn_c_try_compile "$LINENO"; then :
6371 ac_cv_sys_large_files=no; break
6373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6376 #define _LARGE_FILES 1
6377 #include <sys/types.h>
6378 /* Check that off_t can represent 2**63 - 1 correctly.
6379 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6380 since some C++ compilers masquerading as C compilers
6381 incorrectly reject 9223372036854775807. */
6382 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6383 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6384 && LARGE_OFF_T % 2147483647 == 1)
6385 ? 1 : -1];
6387 main ()
6391 return 0;
6393 _ACEOF
6394 if ac_fn_c_try_compile "$LINENO"; then :
6395 ac_cv_sys_large_files=1; break
6397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6398 ac_cv_sys_large_files=unknown
6399 break
6400 done
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6403 $as_echo "$ac_cv_sys_large_files" >&6; }
6404 case $ac_cv_sys_large_files in #(
6405 no | unknown) ;;
6407 cat >>confdefs.h <<_ACEOF
6408 #define _LARGE_FILES $ac_cv_sys_large_files
6409 _ACEOF
6411 esac
6412 rm -rf conftest*
6419 ac_ext=c
6420 ac_cpp='$CPP $CPPFLAGS'
6421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6425 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6426 # On Suns, sometimes $CPP names a directory.
6427 if test -n "$CPP" && test -d "$CPP"; then
6428 CPP=
6430 if test -z "$CPP"; then
6431 if ${ac_cv_prog_CPP+:} false; then :
6432 $as_echo_n "(cached) " >&6
6433 else
6434 # Double quotes because CPP needs to be expanded
6435 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6437 ac_preproc_ok=false
6438 for ac_c_preproc_warn_flag in '' yes
6440 # Use a header file that comes with gcc, so configuring glibc
6441 # with a fresh cross-compiler works.
6442 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6443 # <limits.h> exists even on freestanding compilers.
6444 # On the NeXT, cc -E runs the code through the compiler's parser,
6445 # not just through cpp. "Syntax error" is here to catch this case.
6446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6447 /* end confdefs.h. */
6448 #ifdef __STDC__
6449 # include <limits.h>
6450 #else
6451 # include <assert.h>
6452 #endif
6453 Syntax error
6454 _ACEOF
6455 if ac_fn_c_try_cpp "$LINENO"; then :
6457 else
6458 # Broken: fails on valid input.
6459 continue
6461 rm -f conftest.err conftest.i conftest.$ac_ext
6463 # OK, works on sane cases. Now check whether nonexistent headers
6464 # can be detected and how.
6465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6466 /* end confdefs.h. */
6467 #include <ac_nonexistent.h>
6468 _ACEOF
6469 if ac_fn_c_try_cpp "$LINENO"; then :
6470 # Broken: success on invalid input.
6471 continue
6472 else
6473 # Passes both tests.
6474 ac_preproc_ok=:
6475 break
6477 rm -f conftest.err conftest.i conftest.$ac_ext
6479 done
6480 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6481 rm -f conftest.i conftest.err conftest.$ac_ext
6482 if $ac_preproc_ok; then :
6483 break
6486 done
6487 ac_cv_prog_CPP=$CPP
6490 CPP=$ac_cv_prog_CPP
6491 else
6492 ac_cv_prog_CPP=$CPP
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6495 $as_echo "$CPP" >&6; }
6496 ac_preproc_ok=false
6497 for ac_c_preproc_warn_flag in '' yes
6499 # Use a header file that comes with gcc, so configuring glibc
6500 # with a fresh cross-compiler works.
6501 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6502 # <limits.h> exists even on freestanding compilers.
6503 # On the NeXT, cc -E runs the code through the compiler's parser,
6504 # not just through cpp. "Syntax error" is here to catch this case.
6505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6506 /* end confdefs.h. */
6507 #ifdef __STDC__
6508 # include <limits.h>
6509 #else
6510 # include <assert.h>
6511 #endif
6512 Syntax error
6513 _ACEOF
6514 if ac_fn_c_try_cpp "$LINENO"; then :
6516 else
6517 # Broken: fails on valid input.
6518 continue
6520 rm -f conftest.err conftest.i conftest.$ac_ext
6522 # OK, works on sane cases. Now check whether nonexistent headers
6523 # can be detected and how.
6524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6525 /* end confdefs.h. */
6526 #include <ac_nonexistent.h>
6527 _ACEOF
6528 if ac_fn_c_try_cpp "$LINENO"; then :
6529 # Broken: success on invalid input.
6530 continue
6531 else
6532 # Passes both tests.
6533 ac_preproc_ok=:
6534 break
6536 rm -f conftest.err conftest.i conftest.$ac_ext
6538 done
6539 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6540 rm -f conftest.i conftest.err conftest.$ac_ext
6541 if $ac_preproc_ok; then :
6543 else
6544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6546 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6547 See \`config.log' for more details" "$LINENO" 5; }
6550 ac_ext=c
6551 ac_cpp='$CPP $CPPFLAGS'
6552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6558 $as_echo_n "checking for ANSI C header files... " >&6; }
6559 if ${ac_cv_header_stdc+:} false; then :
6560 $as_echo_n "(cached) " >&6
6561 else
6562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6563 /* end confdefs.h. */
6564 #include <stdlib.h>
6565 #include <stdarg.h>
6566 #include <string.h>
6567 #include <float.h>
6570 main ()
6574 return 0;
6576 _ACEOF
6577 if ac_fn_c_try_compile "$LINENO"; then :
6578 ac_cv_header_stdc=yes
6579 else
6580 ac_cv_header_stdc=no
6582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6584 if test $ac_cv_header_stdc = yes; then
6585 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6587 /* end confdefs.h. */
6588 #include <string.h>
6590 _ACEOF
6591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6592 $EGREP "memchr" >/dev/null 2>&1; then :
6594 else
6595 ac_cv_header_stdc=no
6597 rm -f conftest*
6601 if test $ac_cv_header_stdc = yes; then
6602 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6604 /* end confdefs.h. */
6605 #include <stdlib.h>
6607 _ACEOF
6608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6609 $EGREP "free" >/dev/null 2>&1; then :
6611 else
6612 ac_cv_header_stdc=no
6614 rm -f conftest*
6618 if test $ac_cv_header_stdc = yes; then
6619 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6620 if test "$cross_compiling" = yes; then :
6622 else
6623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6624 /* end confdefs.h. */
6625 #include <ctype.h>
6626 #include <stdlib.h>
6627 #if ((' ' & 0x0FF) == 0x020)
6628 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6629 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6630 #else
6631 # define ISLOWER(c) \
6632 (('a' <= (c) && (c) <= 'i') \
6633 || ('j' <= (c) && (c) <= 'r') \
6634 || ('s' <= (c) && (c) <= 'z'))
6635 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6636 #endif
6638 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6640 main ()
6642 int i;
6643 for (i = 0; i < 256; i++)
6644 if (XOR (islower (i), ISLOWER (i))
6645 || toupper (i) != TOUPPER (i))
6646 return 2;
6647 return 0;
6649 _ACEOF
6650 if ac_fn_c_try_run "$LINENO"; then :
6652 else
6653 ac_cv_header_stdc=no
6655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6656 conftest.$ac_objext conftest.beam conftest.$ac_ext
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6662 $as_echo "$ac_cv_header_stdc" >&6; }
6663 if test $ac_cv_header_stdc = yes; then
6665 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6669 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6670 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6671 inttypes.h stdint.h unistd.h
6672 do :
6673 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6674 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6676 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6677 cat >>confdefs.h <<_ACEOF
6678 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6679 _ACEOF
6683 done
6686 for ac_header in \
6687 AL/al.h \
6688 ApplicationServices/ApplicationServices.h \
6689 AudioToolbox/AudioConverter.h \
6690 AudioUnit/AudioUnit.h \
6691 AudioUnit/AudioComponent.h \
6692 CL/cl.h \
6693 Carbon/Carbon.h \
6694 CommonCrypto/CommonDigest.h \
6695 CoreAudio/CoreAudio.h \
6696 CoreServices/CoreServices.h \
6697 DiskArbitration/DiskArbitration.h \
6698 IOKit/IOKitLib.h \
6699 IOKit/hid/IOHIDLib.h \
6700 OpenAL/al.h \
6701 OpenCL/opencl.h \
6702 QuickTime/ImageCompression.h \
6703 Security/Security.h \
6704 alias.h \
6705 alsa/asoundlib.h \
6706 arpa/inet.h \
6707 arpa/nameser.h \
6708 asm/types.h \
6709 asm/user.h \
6710 curses.h \
6711 direct.h \
6712 dirent.h \
6713 dlfcn.h \
6714 elf.h \
6715 float.h \
6716 fnmatch.h \
6717 getopt.h \
6718 gettext-po.h \
6719 grp.h \
6720 gsm.h \
6721 gsm/gsm.h \
6722 ieeefp.h \
6723 inet/mib2.h \
6724 io.h \
6725 kstat.h \
6726 lber.h \
6727 ldap.h \
6728 libproc.h \
6729 link.h \
6730 linux/cdrom.h \
6731 linux/compiler.h \
6732 linux/filter.h \
6733 linux/hdreg.h \
6734 linux/input.h \
6735 linux/ioctl.h \
6736 linux/joystick.h \
6737 linux/major.h \
6738 linux/param.h \
6739 linux/serial.h \
6740 linux/types.h \
6741 linux/ucdrom.h \
6742 lwp.h \
6743 mach-o/nlist.h \
6744 mach-o/loader.h \
6745 mach/mach.h \
6746 mach/machine.h \
6747 machine/cpu.h \
6748 machine/limits.h \
6749 machine/sysarch.h \
6750 mntent.h \
6751 ncurses.h \
6752 netdb.h \
6753 netinet/in.h \
6754 netinet/in_systm.h \
6755 netinet/tcp.h \
6756 netinet/tcp_fsm.h \
6757 pcap/pcap.h \
6758 poll.h \
6759 port.h \
6760 process.h \
6761 pthread.h \
6762 pwd.h \
6763 sched.h \
6764 scsi/scsi.h \
6765 scsi/scsi_ioctl.h \
6766 scsi/sg.h \
6767 stdbool.h \
6768 stdint.h \
6769 stropts.h \
6770 sys/asoundlib.h \
6771 sys/attr.h \
6772 sys/cdio.h \
6773 sys/elf32.h \
6774 sys/epoll.h \
6775 sys/event.h \
6776 sys/exec_elf.h \
6777 sys/filio.h \
6778 sys/inotify.h \
6779 sys/ioctl.h \
6780 sys/ipc.h \
6781 sys/limits.h \
6782 sys/link.h \
6783 sys/mman.h \
6784 sys/modem.h \
6785 sys/msg.h \
6786 sys/mtio.h \
6787 sys/param.h \
6788 sys/poll.h \
6789 sys/prctl.h \
6790 sys/protosw.h \
6791 sys/ptrace.h \
6792 sys/queue.h \
6793 sys/resource.h \
6794 sys/scsiio.h \
6795 sys/shm.h \
6796 sys/signal.h \
6797 sys/socket.h \
6798 sys/socketvar.h \
6799 sys/sockio.h \
6800 sys/statvfs.h \
6801 sys/strtio.h \
6802 sys/syscall.h \
6803 sys/tihdr.h \
6804 sys/time.h \
6805 sys/timeout.h \
6806 sys/times.h \
6807 sys/uio.h \
6808 sys/user.h \
6809 sys/utsname.h \
6810 sys/vm86.h \
6811 sys/vnode.h \
6812 sys/wait.h \
6813 syscall.h \
6814 termios.h \
6815 unistd.h \
6816 utime.h \
6817 valgrind/memcheck.h \
6818 valgrind/valgrind.h \
6819 zlib.h
6821 do :
6822 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6823 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6824 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6825 cat >>confdefs.h <<_ACEOF
6826 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6827 _ACEOF
6831 done
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6834 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6835 if ${ac_cv_header_stat_broken+:} false; then :
6836 $as_echo_n "(cached) " >&6
6837 else
6838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839 /* end confdefs.h. */
6840 #include <sys/types.h>
6841 #include <sys/stat.h>
6843 #if defined S_ISBLK && defined S_IFDIR
6844 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6845 #endif
6847 #if defined S_ISBLK && defined S_IFCHR
6848 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6849 #endif
6851 #if defined S_ISLNK && defined S_IFREG
6852 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6853 #endif
6855 #if defined S_ISSOCK && defined S_IFREG
6856 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6857 #endif
6859 _ACEOF
6860 if ac_fn_c_try_compile "$LINENO"; then :
6861 ac_cv_header_stat_broken=no
6862 else
6863 ac_cv_header_stat_broken=yes
6865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6868 $as_echo "$ac_cv_header_stat_broken" >&6; }
6869 if test $ac_cv_header_stat_broken = yes; then
6871 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6877 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6878 do :
6879 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6880 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6881 #ifdef HAVE_SYS_PARAM_H
6882 # include <sys/param.h>
6883 #endif
6885 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6886 cat >>confdefs.h <<_ACEOF
6887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6888 _ACEOF
6892 done
6895 for ac_header in \
6896 netinet/ip.h \
6897 net/if.h \
6898 net/if_arp.h \
6899 net/if_dl.h \
6900 net/if_types.h \
6901 net/route.h \
6902 netinet/if_ether.h \
6903 netinet/if_inarp.h \
6904 netinet/in_pcb.h \
6905 netinet/ip_icmp.h \
6906 netinet/ip_var.h \
6907 netinet/udp.h \
6908 netipx/ipx.h \
6909 sys/un.h \
6911 do :
6912 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6913 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6914 #ifdef HAVE_SYS_SOCKET_H
6915 # include <sys/socket.h>
6916 #endif
6917 #ifdef HAVE_SYS_SOCKETVAR_H
6918 # include <sys/socketvar.h>
6919 #endif
6920 #ifdef HAVE_NET_ROUTE_H
6921 # include <net/route.h>
6922 #endif
6923 #ifdef HAVE_NETINET_IN_H
6924 # include <netinet/in.h>
6925 #endif
6926 #ifdef HAVE_NETINET_IN_SYSTM_H
6927 # include <netinet/in_systm.h>
6928 #endif
6929 #ifdef HAVE_NET_IF_H
6930 # include <net/if.h>
6931 #endif
6932 #ifdef HAVE_NETINET_IP_H
6933 # include <netinet/ip.h>
6934 #endif
6936 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6937 cat >>confdefs.h <<_ACEOF
6938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6939 _ACEOF
6943 done
6946 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6947 do :
6948 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6949 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6950 #ifdef HAVE_ALIAS_H
6951 # include <alias.h>
6952 #endif
6953 #ifdef HAVE_SYS_SOCKET_H
6954 # include <sys/socket.h>
6955 #endif
6956 #ifdef HAVE_SYS_SOCKETVAR_H
6957 # include <sys/socketvar.h>
6958 #endif
6959 #ifdef HAVE_SYS_TIMEOUT_H
6960 # include <sys/timeout.h>
6961 #endif
6962 #ifdef HAVE_NETINET_IN_H
6963 # include <netinet/in.h>
6964 #endif
6965 #ifdef HAVE_NETINET_IN_SYSTM_H
6966 # include <netinet/in_systm.h>
6967 #endif
6968 #ifdef HAVE_NETINET_IP_H
6969 # include <netinet/ip.h>
6970 #endif
6971 #ifdef HAVE_NETINET_IP_VAR_H
6972 # include <netinet/ip_var.h>
6973 #endif
6974 #ifdef HAVE_NETINET_IP_ICMP_H
6975 # include <netinet/ip_icmp.h>
6976 #endif
6977 #ifdef HAVE_NETINET_UDP_H
6978 # include <netinet/udp.h>
6979 #endif
6980 #ifdef HAVE_NETINET_TCP_H
6981 # include <netinet/tcp.h>
6982 #endif
6983 #ifdef HAVE_NETINET_TCP_TIMER_H
6984 #include <netinet/tcp_timer.h>
6985 #endif
6987 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6988 cat >>confdefs.h <<_ACEOF
6989 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6990 _ACEOF
6994 done
6997 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6998 do :
6999 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7000 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7001 #ifdef HAVE_ASM_TYPES_H
7002 # include <asm/types.h>
7003 #endif
7004 #ifdef HAVE_SYS_SOCKET_H
7005 # include <sys/socket.h>
7006 #endif
7007 #ifdef HAVE_LINUX_TYPES_H
7008 # include <linux/types.h>
7009 #endif
7011 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7012 cat >>confdefs.h <<_ACEOF
7013 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7014 _ACEOF
7018 done
7021 for ac_header in mach-o/dyld_images.h
7022 do :
7023 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7024 # include <stdbool.h>
7025 #endif
7026 #ifdef HAVE_STDINT_H
7027 # include <stdint.h>
7028 #endif
7030 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7031 cat >>confdefs.h <<_ACEOF
7032 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7033 _ACEOF
7037 done
7040 for ac_header in resolv.h
7041 do :
7042 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7043 #ifdef HAVE_SYS_SOCKET_H
7044 # include <sys/socket.h>
7045 #endif
7046 #ifdef HAVE_NETINET_IN_H
7047 # include <netinet/in.h>
7048 #endif
7049 #ifdef HAVE_ARPA_NAMESER_H
7050 # include <arpa/nameser.h>
7051 #endif
7053 if test "x$ac_cv_header_resolv_h" = xyes; then :
7054 cat >>confdefs.h <<_ACEOF
7055 #define HAVE_RESOLV_H 1
7056 _ACEOF
7060 done
7063 for ac_header in ifaddrs.h
7064 do :
7065 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7067 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7068 cat >>confdefs.h <<_ACEOF
7069 #define HAVE_IFADDRS_H 1
7070 _ACEOF
7074 done
7077 for ac_header in sys/ucontext.h
7078 do :
7079 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7081 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7082 cat >>confdefs.h <<_ACEOF
7083 #define HAVE_SYS_UCONTEXT_H 1
7084 _ACEOF
7088 done
7091 for ac_header in sys/thr.h
7092 do :
7093 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7094 #ifdef HAVE_SYS_UCONTEXT_H
7095 #include <sys/ucontext.h>
7096 #endif
7098 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7099 cat >>confdefs.h <<_ACEOF
7100 #define HAVE_SYS_THR_H 1
7101 _ACEOF
7105 done
7108 for ac_header in pthread_np.h
7109 do :
7110 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7111 #include <pthread.h>
7112 #endif
7114 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7115 cat >>confdefs.h <<_ACEOF
7116 #define HAVE_PTHREAD_NP_H 1
7117 _ACEOF
7121 done
7124 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7125 do :
7126 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7127 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7128 #include <sys/time.h>
7129 #endif
7130 #include <sys/types.h>
7131 #ifdef HAVE_ASM_TYPES_H
7132 #include <asm/types.h>
7133 #endif
7135 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7136 cat >>confdefs.h <<_ACEOF
7137 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7138 _ACEOF
7142 done
7145 for ac_header in libprocstat.h
7146 do :
7147 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7148 #include <sys/param.h>
7149 #endif
7150 #ifdef HAVE_SYS_QUEUE_H
7151 #include <sys/queue.h>
7152 #endif
7153 #ifdef HAVE_SYS_SOCKET_H
7154 #include <sys/socket.h>
7155 #endif
7157 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7158 cat >>confdefs.h <<_ACEOF
7159 #define HAVE_LIBPROCSTAT_H 1
7160 _ACEOF
7164 done
7168 dlldir="\${libdir}/wine"
7170 DLLFLAGS="-D_REENTRANT"
7172 LDRPATH_INSTALL=""
7174 LDRPATH_LOCAL=""
7176 LDEXECFLAGS=""
7178 LIBEXT="so"
7179 DLLEXT=".so"
7180 IMPLIBEXT="def"
7181 STATIC_IMPLIBEXT="def.a"
7182 # Extract the first word of "ldd", so it can be a program name with args.
7183 set dummy ldd; ac_word=$2
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7185 $as_echo_n "checking for $ac_word... " >&6; }
7186 if ${ac_cv_path_LDD+:} false; then :
7187 $as_echo_n "(cached) " >&6
7188 else
7189 case $LDD in
7190 [\\/]* | ?:[\\/]*)
7191 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 as_dummy="/sbin:/usr/sbin:$PATH"
7196 for as_dir in $as_dummy
7198 IFS=$as_save_IFS
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204 break 2
7206 done
7207 done
7208 IFS=$as_save_IFS
7210 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7212 esac
7214 LDD=$ac_cv_path_LDD
7215 if test -n "$LDD"; then
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7217 $as_echo "$LDD" >&6; }
7218 else
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7220 $as_echo "no" >&6; }
7224 if test -n "$ac_tool_prefix"; then
7225 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7226 set dummy ${ac_tool_prefix}otool; ac_word=$2
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7228 $as_echo_n "checking for $ac_word... " >&6; }
7229 if ${ac_cv_prog_OTOOL+:} false; then :
7230 $as_echo_n "(cached) " >&6
7231 else
7232 if test -n "$OTOOL"; then
7233 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7234 else
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7236 for as_dir in $PATH
7238 IFS=$as_save_IFS
7239 test -z "$as_dir" && as_dir=.
7240 for ac_exec_ext in '' $ac_executable_extensions; do
7241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7242 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7244 break 2
7246 done
7247 done
7248 IFS=$as_save_IFS
7252 OTOOL=$ac_cv_prog_OTOOL
7253 if test -n "$OTOOL"; then
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7255 $as_echo "$OTOOL" >&6; }
7256 else
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7258 $as_echo "no" >&6; }
7263 if test -z "$ac_cv_prog_OTOOL"; then
7264 ac_ct_OTOOL=$OTOOL
7265 # Extract the first word of "otool", so it can be a program name with args.
7266 set dummy otool; ac_word=$2
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268 $as_echo_n "checking for $ac_word... " >&6; }
7269 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7270 $as_echo_n "(cached) " >&6
7271 else
7272 if test -n "$ac_ct_OTOOL"; then
7273 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7274 else
7275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7276 for as_dir in $PATH
7278 IFS=$as_save_IFS
7279 test -z "$as_dir" && as_dir=.
7280 for ac_exec_ext in '' $ac_executable_extensions; do
7281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7282 ac_cv_prog_ac_ct_OTOOL="otool"
7283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7284 break 2
7286 done
7287 done
7288 IFS=$as_save_IFS
7292 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7293 if test -n "$ac_ct_OTOOL"; then
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7295 $as_echo "$ac_ct_OTOOL" >&6; }
7296 else
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298 $as_echo "no" >&6; }
7301 if test "x$ac_ct_OTOOL" = x; then
7302 OTOOL="otool"
7303 else
7304 case $cross_compiling:$ac_tool_warned in
7305 yes:)
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7308 ac_tool_warned=yes ;;
7309 esac
7310 OTOOL=$ac_ct_OTOOL
7312 else
7313 OTOOL="$ac_cv_prog_OTOOL"
7316 if test -n "$ac_tool_prefix"; then
7317 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7318 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 $as_echo_n "checking for $ac_word... " >&6; }
7321 if ${ac_cv_prog_READELF+:} false; then :
7322 $as_echo_n "(cached) " >&6
7323 else
7324 if test -n "$READELF"; then
7325 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7326 else
7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328 for as_dir in $PATH
7330 IFS=$as_save_IFS
7331 test -z "$as_dir" && as_dir=.
7332 for ac_exec_ext in '' $ac_executable_extensions; do
7333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7334 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 break 2
7338 done
7339 done
7340 IFS=$as_save_IFS
7344 READELF=$ac_cv_prog_READELF
7345 if test -n "$READELF"; then
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7347 $as_echo "$READELF" >&6; }
7348 else
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7350 $as_echo "no" >&6; }
7355 if test -z "$ac_cv_prog_READELF"; then
7356 ac_ct_READELF=$READELF
7357 # Extract the first word of "readelf", so it can be a program name with args.
7358 set dummy readelf; ac_word=$2
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360 $as_echo_n "checking for $ac_word... " >&6; }
7361 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7362 $as_echo_n "(cached) " >&6
7363 else
7364 if test -n "$ac_ct_READELF"; then
7365 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7366 else
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368 for as_dir in $PATH
7370 IFS=$as_save_IFS
7371 test -z "$as_dir" && as_dir=.
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7374 ac_cv_prog_ac_ct_READELF="readelf"
7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7376 break 2
7378 done
7379 done
7380 IFS=$as_save_IFS
7384 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7385 if test -n "$ac_ct_READELF"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7387 $as_echo "$ac_ct_READELF" >&6; }
7388 else
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7393 if test "x$ac_ct_READELF" = x; then
7394 READELF="true"
7395 else
7396 case $cross_compiling:$ac_tool_warned in
7397 yes:)
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7400 ac_tool_warned=yes ;;
7401 esac
7402 READELF=$ac_ct_READELF
7404 else
7405 READELF="$ac_cv_prog_READELF"
7408 wine_rules_file=conf$$rules.make
7409 rm -f $wine_rules_file
7410 SUBDIRS=""
7412 DISABLED_SUBDIRS=""
7414 CONFIGURE_TARGETS=""
7416 ALL_TEST_RESOURCES=""
7419 wine_fn_append_file ()
7421 as_fn_append $1 " \\$as_nl $2"
7424 wine_fn_append_rule ()
7426 $as_echo "$1" >>$wine_rules_file
7429 wine_fn_has_flag ()
7431 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7434 wine_fn_all_rules ()
7436 wine_fn_append_file SUBDIRS $ac_dir
7437 wine_fn_append_rule \
7438 "all: $ac_dir
7439 .PHONY: $ac_dir
7440 $ac_dir: dummy
7441 @cd $ac_dir && \$(MAKE)"
7444 wine_fn_install_rules ()
7446 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7448 wine_fn_append_rule \
7449 ".PHONY: $ac_dir/install $ac_dir/uninstall
7450 $ac_dir/install:: $ac_dir
7451 @cd $ac_dir && \$(MAKE) install
7452 $ac_dir/uninstall::
7453 @cd $ac_dir && \$(MAKE) uninstall
7454 install:: $ac_dir/install
7455 __uninstall__: $ac_dir/uninstall"
7457 if wine_fn_has_flag install-lib
7458 then
7459 wine_fn_append_rule \
7460 ".PHONY: $ac_dir/install-lib
7461 $ac_dir/install-lib:: $ac_dir
7462 @cd $ac_dir && \$(MAKE) install-lib
7463 install-lib:: $ac_dir/install-lib"
7466 if wine_fn_has_flag install-dev
7467 then
7468 wine_fn_append_rule \
7469 ".PHONY: $ac_dir/install-dev
7470 $ac_dir/install-dev:: $ac_dir
7471 @cd $ac_dir && \$(MAKE) install-dev
7472 install-dev:: $ac_dir/install-dev"
7476 wine_fn_clean_rules ()
7478 ac_clean=$@
7480 if wine_fn_has_flag clean
7481 then
7482 wine_fn_append_rule \
7483 "$ac_dir/clean: dummy
7484 @cd $ac_dir && \$(MAKE) clean"
7485 else
7486 wine_fn_append_rule \
7487 "$ac_dir/clean: dummy
7488 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7490 wine_fn_append_rule \
7491 "__clean__: $ac_dir/clean
7492 .PHONY: $ac_dir/clean"
7495 wine_fn_disabled_rules ()
7497 ac_clean=$@
7499 wine_fn_append_file SUBDIRS $ac_dir
7500 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7501 wine_fn_append_rule \
7502 "__clean__: $ac_dir/clean
7503 .PHONY: $ac_dir/clean
7504 $ac_dir/clean: dummy
7505 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7508 wine_fn_config_makefile ()
7510 ac_dir=$1
7511 ac_enable=$2
7512 ac_flags=$3
7514 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7515 wine_fn_disabled_rules; return
7517 wine_fn_all_rules
7518 wine_fn_install_rules
7519 wine_fn_clean_rules
7522 wine_fn_config_lib ()
7524 ac_name=$1
7525 ac_flags=$2
7526 ac_dir=dlls/$ac_name
7527 ac_deps="include"
7529 if test "x$enable_tools" = xno; then :
7531 else
7532 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7534 wine_fn_all_rules
7535 wine_fn_clean_rules
7537 wine_fn_append_rule \
7538 ".PHONY: $ac_dir/install $ac_dir/uninstall
7539 $ac_dir/install:: $ac_dir
7540 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7541 $ac_dir/uninstall::
7542 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7543 install install-dev:: $ac_dir/install
7544 __uninstall__: $ac_dir/uninstall
7545 __builddeps__: $ac_dir
7546 $ac_dir: $ac_deps"
7549 wine_fn_config_dll ()
7551 ac_name=$1
7552 ac_dir=dlls/$ac_name
7553 ac_enable=$2
7554 ac_flags=$3
7555 ac_implib=${4:-$ac_name}
7556 ac_file=$ac_dir/lib$ac_implib
7557 ac_dll=$ac_name
7558 ac_deps="include"
7559 ac_implibflags=""
7561 if test "x$enable_tools" = xno; then :
7563 else
7564 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7566 case $ac_name in
7567 *16) ac_implibflags=" -m16" ;;
7568 *.*) ;;
7569 *) ac_dll=$ac_dll.dll ;;
7570 esac
7572 ac_clean=
7573 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7574 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7576 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7577 if test "$ac_enable" != enable_win16
7578 then
7579 wine_fn_clean_rules $ac_clean
7580 wine_fn_append_file SUBDIRS $ac_dir
7581 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7582 else
7583 wine_fn_disabled_rules $ac_clean
7584 return
7586 else
7587 wine_fn_all_rules
7588 wine_fn_clean_rules $ac_clean
7589 wine_fn_append_rule \
7590 "$ac_dir: __builddeps__
7591 manpages htmlpages sgmlpages xmlpages::
7592 @cd $ac_dir && \$(MAKE) \$@
7593 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7594 install install-lib:: $ac_dir/install-lib
7595 __uninstall__: $ac_dir/uninstall"
7596 if test -n "$DLLEXT"
7597 then
7598 wine_fn_append_rule \
7599 "$ac_dir/install-lib:: $ac_dir
7600 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7601 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7602 $ac_dir/uninstall::
7603 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7604 else
7605 wine_fn_append_rule \
7606 "$ac_dir/install-lib:: $ac_dir
7607 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7608 $ac_dir/uninstall::
7609 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7613 if wine_fn_has_flag staticimplib
7614 then
7615 wine_fn_append_rule \
7616 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7617 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7618 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7619 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7620 $ac_file.$STATIC_IMPLIBEXT: dummy
7621 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7622 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7623 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7624 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7625 $ac_dir/uninstall::
7626 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7627 install install-dev:: $ac_dir/install-dev
7628 __uninstall__: $ac_dir/uninstall"
7630 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7631 then
7632 wine_fn_append_rule \
7633 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7634 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7635 $ac_dir/uninstall::
7636 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7639 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7640 then
7641 wine_fn_append_rule \
7642 "__builddeps__: $ac_file.cross.a
7643 $ac_file.cross.a: dummy
7644 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7647 elif wine_fn_has_flag implib
7648 then
7649 wine_fn_append_rule \
7650 "__builddeps__: $ac_file.$IMPLIBEXT
7651 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7652 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7653 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7654 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7655 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7656 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7657 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7658 $ac_dir/uninstall::
7659 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7660 install install-dev:: $ac_dir/install-dev
7661 __uninstall__: $ac_dir/uninstall"
7662 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7663 then
7664 wine_fn_append_rule \
7665 "__builddeps__: $ac_file.cross.a
7666 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7667 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7672 wine_fn_config_program ()
7674 ac_name=$1
7675 ac_dir=programs/$ac_name
7676 ac_enable=$2
7677 ac_flags=$3
7678 ac_program=$ac_name
7680 case $ac_name in
7681 *.*) ;;
7682 *) ac_program=$ac_program.exe ;;
7683 esac
7685 ac_clean=
7686 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7687 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7689 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7690 wine_fn_disabled_rules $ac_clean; return
7693 wine_fn_all_rules
7694 wine_fn_clean_rules $ac_clean
7695 wine_fn_append_rule "$ac_dir: __builddeps__"
7697 wine_fn_has_flag install || return
7698 wine_fn_append_rule \
7699 ".PHONY: $ac_dir/install $ac_dir/uninstall
7700 install install-lib:: $ac_dir/install
7701 __uninstall__: $ac_dir/uninstall"
7703 if test -n "$DLLEXT"
7704 then
7705 wine_fn_append_rule \
7706 "$ac_dir/install:: $ac_dir
7707 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7708 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7709 $ac_dir/uninstall::
7710 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7712 if test -z "$with_wine64" && wine_fn_has_flag installbin
7713 then
7714 wine_fn_append_rule \
7715 "$ac_dir/install:: __tooldeps__
7716 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7717 $ac_dir/uninstall::
7718 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7720 else
7721 wine_fn_append_rule \
7722 "$ac_dir/install:: $ac_dir
7723 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7724 $ac_dir/uninstall::
7725 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7728 if test -z "$with_wine64" && wine_fn_has_flag manpage
7729 then
7730 wine_fn_append_rule \
7731 "$ac_dir/install:: $ac_dir
7732 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7733 $ac_dir/uninstall::
7734 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7738 wine_fn_config_test ()
7740 ac_dir=$1
7741 ac_name=$2
7742 ac_flags=$3
7744 ac_clean=
7745 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7746 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7748 if test "x$enable_tests" = xno; then :
7749 wine_fn_disabled_rules $ac_clean; return
7752 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7753 wine_fn_all_rules
7754 wine_fn_clean_rules $ac_clean
7756 wine_fn_append_rule \
7757 "$ac_dir: __builddeps__
7758 programs/winetest: $ac_dir
7759 check test: $ac_dir/test
7760 .PHONY: $ac_dir/test
7761 $ac_dir/test: dummy
7762 @cd $ac_dir && \$(MAKE) test
7763 testclean::
7764 \$(RM) $ac_dir/*.ok"
7766 if test -n "$CROSSTARGET"
7767 then
7768 wine_fn_append_rule \
7769 "crosstest: $ac_dir/crosstest
7770 .PHONY: $ac_dir/crosstest
7771 $ac_dir/crosstest: __builddeps__ dummy
7772 @cd $ac_dir && \$(MAKE) crosstest"
7776 wine_fn_config_tool ()
7778 ac_dir=$1
7779 ac_flags=$2
7780 if test "x$enable_tools" = xno; then :
7781 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7784 wine_fn_all_rules
7785 wine_fn_install_rules
7786 wine_fn_clean_rules
7788 wine_fn_append_rule "__tooldeps__: $ac_dir"
7789 wine_fn_append_rule "$ac_dir: libs/port"
7790 case $ac_dir in
7791 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7792 esac
7795 wine_fn_config_symlink ()
7797 ac_linkdir=
7798 if test "x$1" = "x-d"
7799 then
7800 ac_linkdir=$2
7801 shift; shift
7803 ac_links=$@
7804 wine_fn_append_rule \
7805 "$ac_links:
7806 @./config.status \$@"
7807 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7808 test -n "$ac_linkdir" || return
7809 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7812 wine_binary="wine"
7813 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7814 WINELOADER_PROGRAMS="$wine_binary"
7816 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7818 case $host_os in
7819 cygwin*|mingw32*)
7820 if test -n "$ac_tool_prefix"; then
7821 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7822 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7824 $as_echo_n "checking for $ac_word... " >&6; }
7825 if ${ac_cv_prog_DLLTOOL+:} false; then :
7826 $as_echo_n "(cached) " >&6
7827 else
7828 if test -n "$DLLTOOL"; then
7829 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7830 else
7831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7832 for as_dir in $PATH
7834 IFS=$as_save_IFS
7835 test -z "$as_dir" && as_dir=.
7836 for ac_exec_ext in '' $ac_executable_extensions; do
7837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7838 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7840 break 2
7842 done
7843 done
7844 IFS=$as_save_IFS
7848 DLLTOOL=$ac_cv_prog_DLLTOOL
7849 if test -n "$DLLTOOL"; then
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7851 $as_echo "$DLLTOOL" >&6; }
7852 else
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7854 $as_echo "no" >&6; }
7859 if test -z "$ac_cv_prog_DLLTOOL"; then
7860 ac_ct_DLLTOOL=$DLLTOOL
7861 # Extract the first word of "dlltool", so it can be a program name with args.
7862 set dummy dlltool; ac_word=$2
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7864 $as_echo_n "checking for $ac_word... " >&6; }
7865 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7866 $as_echo_n "(cached) " >&6
7867 else
7868 if test -n "$ac_ct_DLLTOOL"; then
7869 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7870 else
7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7872 for as_dir in $PATH
7874 IFS=$as_save_IFS
7875 test -z "$as_dir" && as_dir=.
7876 for ac_exec_ext in '' $ac_executable_extensions; do
7877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7878 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7880 break 2
7882 done
7883 done
7884 IFS=$as_save_IFS
7888 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7889 if test -n "$ac_ct_DLLTOOL"; then
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7891 $as_echo "$ac_ct_DLLTOOL" >&6; }
7892 else
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7894 $as_echo "no" >&6; }
7897 if test "x$ac_ct_DLLTOOL" = x; then
7898 DLLTOOL="false"
7899 else
7900 case $cross_compiling:$ac_tool_warned in
7901 yes:)
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7904 ac_tool_warned=yes ;;
7905 esac
7906 DLLTOOL=$ac_ct_DLLTOOL
7908 else
7909 DLLTOOL="$ac_cv_prog_DLLTOOL"
7912 LIBEXT="dll"
7913 DLLEXT=""
7914 IMPLIBEXT="a"
7915 STATIC_IMPLIBEXT="a"
7916 enable_iphlpapi=${enable_iphlpapi:-no}
7917 enable_kernel32=${enable_kernel32:-no}
7918 enable_msvcrt=${enable_msvcrt:-no}
7919 enable_ntdll=${enable_ntdll:-no}
7920 enable_ws2_32=${enable_ws2_32:-no}
7921 enable_loader=${enable_loader:-no}
7922 enable_server=${enable_server:-no}
7923 with_x=${with_x:-no}
7924 with_pthread=${with_pthread:-no}
7926 crtlibs=""
7927 case $host_os in
7928 mingw32*)
7929 crtlibs="-lmsvcrt"
7930 SOCKET_LIBS="-lws2_32"
7932 esac
7934 LIBWINE_SHAREDLIB="libwine.dll"
7936 LIBWINE_IMPORTLIB="libwine.a"
7938 LIBWINE_INSTALL_LIB="libwine.dll"
7940 LIBWINE_INSTALL_DEV="libwine.a"
7942 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7944 LIBWINE_DEPENDS="wine.def"
7948 darwin*|macosx*)
7949 for ac_header in libunwind.h
7950 do :
7951 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7953 cat >>confdefs.h <<_ACEOF
7954 #define HAVE_LIBUNWIND_H 1
7955 _ACEOF
7959 done
7961 LIBEXT="dylib"
7962 DLLFLAGS="$DLLFLAGS -fPIC"
7963 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7964 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7965 COREFOUNDATION_LIBS="-framework CoreFoundation"
7967 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7969 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7971 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7973 CORESERVICES_LIBS="-framework CoreServices"
7975 APPKIT_LIBS="-framework AppKit"
7977 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7979 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7980 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7981 $as_echo_n "(cached) " >&6
7982 else
7983 ac_wine_try_cflags_saved=$CFLAGS
7984 CFLAGS="$CFLAGS -Wl,-no_pie"
7985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7986 /* end confdefs.h. */
7987 int main(int argc, char **argv) { return 0; }
7988 _ACEOF
7989 if ac_fn_c_try_link "$LINENO"; then :
7990 ac_cv_cflags__Wl__no_pie=yes
7991 else
7992 ac_cv_cflags__Wl__no_pie=no
7994 rm -f core conftest.err conftest.$ac_objext \
7995 conftest$ac_exeext conftest.$ac_ext
7996 CFLAGS=$ac_wine_try_cflags_saved
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7999 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8000 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8001 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8003 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8004 then
8005 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8008 if test "$ac_cv_header_Security_Security_h" = "yes"
8009 then
8010 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8012 ac_save_LIBS="$LIBS"
8013 LIBS="$LIBS $SECURITY_LIBS"
8014 for ac_func in SSLCopyPeerCertificates
8015 do :
8016 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8017 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8018 cat >>confdefs.h <<_ACEOF
8019 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8020 _ACEOF
8023 done
8025 LIBS="$ac_save_LIBS"
8026 with_gnutls=${with_gnutls:-no}
8028 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8029 then
8030 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8031 then
8032 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8034 else
8035 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8038 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8039 ac_save_LIBS="$LIBS"
8040 LIBS="$LIBS $COREAUDIO_LIBS"
8041 for ac_func in AUGraphAddNode
8042 do :
8043 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8044 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8045 cat >>confdefs.h <<_ACEOF
8046 #define HAVE_AUGRAPHADDNODE 1
8047 _ACEOF
8050 done
8052 LIBS="$ac_save_LIBS"
8054 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8055 then
8056 OPENAL_LIBS="-framework OpenAL"
8059 cat >>confdefs.h <<_ACEOF
8060 #define HAVE_OPENAL 1
8061 _ACEOF
8063 ac_cv_lib_openal=yes
8065 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8066 then
8067 OPENCL_LIBS="-framework OpenCL"
8069 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8071 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8072 then
8073 ac_save_LIBS="$LIBS"
8074 LIBS="$LIBS $IOKIT_LIBS"
8075 for ac_func in IOHIDManagerCreate
8076 do :
8077 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8078 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8079 cat >>confdefs.h <<_ACEOF
8080 #define HAVE_IOHIDMANAGERCREATE 1
8081 _ACEOF
8084 done
8086 LIBS="$ac_save_LIBS"
8088 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8089 then
8090 ac_save_LIBS="$LIBS"
8091 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8093 $as_echo_n "checking for the QuickTime framework... " >&6; }
8094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8095 /* end confdefs.h. */
8096 #include <QuickTime/ImageCompression.h>
8098 main ()
8100 CodecManagerVersion(NULL);
8102 return 0;
8104 _ACEOF
8105 if ac_fn_c_try_link "$LINENO"; then :
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8107 $as_echo "yes" >&6; }
8108 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8110 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8111 else
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8113 $as_echo "no" >&6; }
8114 ac_cv_header_QuickTime_ImageCompression_h=no
8116 rm -f core conftest.err conftest.$ac_objext \
8117 conftest$ac_exeext conftest.$ac_ext
8118 LIBS="$ac_save_LIBS"
8120 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8121 then
8122 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8124 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8125 then
8126 CARBON_LIBS="-framework Carbon"
8130 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8131 then
8132 ac_save_LIBS="$LIBS"
8133 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8134 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8135 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8136 enable_winemac_drv=${enable_winemac_drv:-yes}
8139 LIBS="$ac_save_LIBS"
8142 if test "x$enable_win16" = "xyes"
8143 then
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8145 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8146 if test "$cross_compiling" = yes; then :
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8148 $as_echo "cross-compiling, assuming yes" >&6; }
8149 else
8150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8151 /* end confdefs.h. */
8152 asm(".text\n"
8153 "bad:\tnop;nop\n"
8154 "good:\tnop;nop\n\t"
8155 ".globl _testfunc\n"
8156 "_testfunc:\tcallw good");
8157 extern void testfunc();
8159 main ()
8161 unsigned short *p = (unsigned short *)testfunc;
8162 return p[0] != 0xe866 || p[1] != 0xfffa
8164 return 0;
8166 _ACEOF
8167 if ac_fn_c_try_run "$LINENO"; then :
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8169 $as_echo "yes" >&6; }
8170 else
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8172 $as_echo "no" >&6; }
8173 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
8175 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8176 conftest.$ac_objext conftest.beam conftest.$ac_ext
8181 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8183 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8185 LIBWINE_INSTALL_DEV="libwine.dylib"
8187 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8189 WINELOADER_DEPENDS="wine_info.plist"
8193 linux-android*)
8194 DLLFLAGS="$DLLFLAGS -fPIC"
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8196 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8197 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8198 $as_echo_n "(cached) " >&6
8199 else
8200 ac_wine_try_cflags_saved=$CFLAGS
8201 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8203 /* end confdefs.h. */
8204 int main(int argc, char **argv) { return 0; }
8205 _ACEOF
8206 if ac_fn_c_try_link "$LINENO"; then :
8207 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8208 else
8209 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8211 rm -f core conftest.err conftest.$ac_objext \
8212 conftest$ac_exeext conftest.$ac_ext
8213 CFLAGS=$ac_wine_try_cflags_saved
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8216 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8217 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8218 LDEXECFLAGS="-Wl,--export-dynamic"
8220 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8222 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8223 if eval \${$as_ac_var+:} false; then :
8224 $as_echo_n "(cached) " >&6
8225 else
8226 ac_wine_try_cflags_saved=$CFLAGS
8227 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8229 /* end confdefs.h. */
8230 int main(int argc, char **argv) { return 0; }
8231 _ACEOF
8232 if ac_fn_c_try_link "$LINENO"; then :
8233 eval "$as_ac_var=yes"
8234 else
8235 eval "$as_ac_var=no"
8237 rm -f core conftest.err conftest.$ac_objext \
8238 conftest$ac_exeext conftest.$ac_ext
8239 CFLAGS=$ac_wine_try_cflags_saved
8241 eval ac_res=\$$as_ac_var
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8243 $as_echo "$ac_res" >&6; }
8244 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8245 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8246 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8247 else
8248 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8250 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8251 if eval \${$as_ac_var+:} false; then :
8252 $as_echo_n "(cached) " >&6
8253 else
8254 ac_wine_try_cflags_saved=$CFLAGS
8255 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8257 /* end confdefs.h. */
8258 int main(int argc, char **argv) { return 0; }
8259 _ACEOF
8260 if ac_fn_c_try_link "$LINENO"; then :
8261 eval "$as_ac_var=yes"
8262 else
8263 eval "$as_ac_var=no"
8265 rm -f core conftest.err conftest.$ac_objext \
8266 conftest$ac_exeext conftest.$ac_ext
8267 CFLAGS=$ac_wine_try_cflags_saved
8269 eval ac_res=\$$as_ac_var
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8271 $as_echo "$ac_res" >&6; }
8272 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8273 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8274 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8279 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8280 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 ac_wine_try_cflags_saved=$CFLAGS
8284 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h. */
8287 int main(int argc, char **argv) { return 0; }
8288 _ACEOF
8289 if ac_fn_c_try_link "$LINENO"; then :
8290 ac_cv_cflags__Wl___enable_new_dtags=yes
8291 else
8292 ac_cv_cflags__Wl___enable_new_dtags=no
8294 rm -f core conftest.err conftest.$ac_objext \
8295 conftest$ac_exeext conftest.$ac_ext
8296 CFLAGS=$ac_wine_try_cflags_saved
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8299 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8300 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8301 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8304 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8305 if ${ac_cv_cflags__Wl__pie+:} false; then :
8306 $as_echo_n "(cached) " >&6
8307 else
8308 ac_wine_try_cflags_saved=$CFLAGS
8309 CFLAGS="$CFLAGS -Wl,-pie"
8310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8312 int main(int argc, char **argv) { return 0; }
8313 _ACEOF
8314 if ac_fn_c_try_link "$LINENO"; then :
8315 ac_cv_cflags__Wl__pie=yes
8316 else
8317 ac_cv_cflags__Wl__pie=no
8319 rm -f core conftest.err conftest.$ac_objext \
8320 conftest$ac_exeext conftest.$ac_ext
8321 CFLAGS=$ac_wine_try_cflags_saved
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8324 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8325 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8326 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8329 LIBWINE_SHAREDLIB="libwine.so"
8331 LIBWINE_INSTALL_LIB="libwine.so"
8333 LIBWINE_LDFLAGS="-shared"
8338 DLLFLAGS="$DLLFLAGS -fPIC"
8339 LDEXECFLAGS=""
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8341 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8342 if ${ac_cv_c_dll_gnuelf+:} false; then :
8343 $as_echo_n "(cached) " >&6
8344 else
8345 ac_wine_try_cflags_saved=$CFLAGS
8346 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8348 /* end confdefs.h. */
8349 void myfunc() {}
8350 _ACEOF
8351 if ac_fn_c_try_link "$LINENO"; then :
8352 ac_cv_c_dll_gnuelf="yes"
8353 else
8354 ac_cv_c_dll_gnuelf="no"
8356 rm -f core conftest.err conftest.$ac_objext \
8357 conftest$ac_exeext conftest.$ac_ext
8358 CFLAGS=$ac_wine_try_cflags_saved
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8361 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8362 if test "$ac_cv_c_dll_gnuelf" = "yes"
8363 then
8364 LIBWINE_LDFLAGS="-shared"
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8366 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8367 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8368 $as_echo_n "(cached) " >&6
8369 else
8370 ac_wine_try_cflags_saved=$CFLAGS
8371 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8373 /* end confdefs.h. */
8374 int main(int argc, char **argv) { return 0; }
8375 _ACEOF
8376 if ac_fn_c_try_link "$LINENO"; then :
8377 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8378 else
8379 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8381 rm -f core conftest.err conftest.$ac_objext \
8382 conftest$ac_exeext conftest.$ac_ext
8383 CFLAGS=$ac_wine_try_cflags_saved
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8386 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8387 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8388 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8389 else
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8391 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8392 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8393 $as_echo_n "(cached) " >&6
8394 else
8395 ac_wine_try_cflags_saved=$CFLAGS
8396 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8399 int main(int argc, char **argv) { return 0; }
8400 _ACEOF
8401 if ac_fn_c_try_link "$LINENO"; then :
8402 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8403 else
8404 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8406 rm -f core conftest.err conftest.$ac_objext \
8407 conftest$ac_exeext conftest.$ac_ext
8408 CFLAGS=$ac_wine_try_cflags_saved
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8411 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8412 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8413 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8417 echo '{ global: *; };' >conftest.map
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8419 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8420 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8421 $as_echo_n "(cached) " >&6
8422 else
8423 ac_wine_try_cflags_saved=$CFLAGS
8424 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426 /* end confdefs.h. */
8427 int main(int argc, char **argv) { return 0; }
8428 _ACEOF
8429 if ac_fn_c_try_link "$LINENO"; then :
8430 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8431 else
8432 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8434 rm -f core conftest.err conftest.$ac_objext \
8435 conftest$ac_exeext conftest.$ac_ext
8436 CFLAGS=$ac_wine_try_cflags_saved
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8439 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8440 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8441 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8443 rm -f conftest.map
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8446 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8447 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8448 $as_echo_n "(cached) " >&6
8449 else
8450 ac_wine_try_cflags_saved=$CFLAGS
8451 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8453 /* end confdefs.h. */
8454 int main(int argc, char **argv) { return 0; }
8455 _ACEOF
8456 if ac_fn_c_try_link "$LINENO"; then :
8457 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8458 else
8459 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8461 rm -f core conftest.err conftest.$ac_objext \
8462 conftest$ac_exeext conftest.$ac_ext
8463 CFLAGS=$ac_wine_try_cflags_saved
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8466 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8467 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8468 LDEXECFLAGS="-Wl,--export-dynamic"
8471 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8473 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8474 if eval \${$as_ac_var+:} false; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 ac_wine_try_cflags_saved=$CFLAGS
8478 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8481 int main(int argc, char **argv) { return 0; }
8482 _ACEOF
8483 if ac_fn_c_try_link "$LINENO"; then :
8484 eval "$as_ac_var=yes"
8485 else
8486 eval "$as_ac_var=no"
8488 rm -f core conftest.err conftest.$ac_objext \
8489 conftest$ac_exeext conftest.$ac_ext
8490 CFLAGS=$ac_wine_try_cflags_saved
8492 eval ac_res=\$$as_ac_var
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8494 $as_echo "$ac_res" >&6; }
8495 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8496 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8497 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8498 else
8499 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8501 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8502 if eval \${$as_ac_var+:} false; then :
8503 $as_echo_n "(cached) " >&6
8504 else
8505 ac_wine_try_cflags_saved=$CFLAGS
8506 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8509 int main(int argc, char **argv) { return 0; }
8510 _ACEOF
8511 if ac_fn_c_try_link "$LINENO"; then :
8512 eval "$as_ac_var=yes"
8513 else
8514 eval "$as_ac_var=no"
8516 rm -f core conftest.err conftest.$ac_objext \
8517 conftest$ac_exeext conftest.$ac_ext
8518 CFLAGS=$ac_wine_try_cflags_saved
8520 eval ac_res=\$$as_ac_var
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8522 $as_echo "$ac_res" >&6; }
8523 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8524 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8525 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8530 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8531 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8532 $as_echo_n "(cached) " >&6
8533 else
8534 ac_wine_try_cflags_saved=$CFLAGS
8535 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8538 int main(int argc, char **argv) { return 0; }
8539 _ACEOF
8540 if ac_fn_c_try_link "$LINENO"; then :
8541 ac_cv_cflags__Wl___enable_new_dtags=yes
8542 else
8543 ac_cv_cflags__Wl___enable_new_dtags=no
8545 rm -f core conftest.err conftest.$ac_objext \
8546 conftest$ac_exeext conftest.$ac_ext
8547 CFLAGS=$ac_wine_try_cflags_saved
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8550 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8551 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8552 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8555 case $host_cpu in
8556 *i[3456789]86* | x86_64)
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8558 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8559 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8560 $as_echo_n "(cached) " >&6
8561 else
8562 ac_wine_try_cflags_saved=$CFLAGS
8563 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8566 int main(int argc, char **argv) { return 0; }
8567 _ACEOF
8568 if ac_fn_c_try_link "$LINENO"; then :
8569 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8570 else
8571 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8573 rm -f core conftest.err conftest.$ac_objext \
8574 conftest$ac_exeext conftest.$ac_ext
8575 CFLAGS=$ac_wine_try_cflags_saved
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8578 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8579 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8580 case $host_os in
8581 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8582 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8583 esac
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8587 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8588 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8589 $as_echo_n "(cached) " >&6
8590 else
8591 ac_wine_try_cflags_saved=$CFLAGS
8592 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8594 /* end confdefs.h. */
8595 int main(int argc, char **argv) { return 0; }
8596 _ACEOF
8597 if ac_fn_c_try_link "$LINENO"; then :
8598 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8599 else
8600 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8602 rm -f core conftest.err conftest.$ac_objext \
8603 conftest$ac_exeext conftest.$ac_ext
8604 CFLAGS=$ac_wine_try_cflags_saved
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8607 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8608 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8610 else
8611 # Extract the first word of "prelink", so it can be a program name with args.
8612 set dummy prelink; ac_word=$2
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8614 $as_echo_n "checking for $ac_word... " >&6; }
8615 if ${ac_cv_path_PRELINK+:} false; then :
8616 $as_echo_n "(cached) " >&6
8617 else
8618 case $PRELINK in
8619 [\\/]* | ?:[\\/]*)
8620 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8624 for as_dir in /sbin /usr/sbin $PATH
8626 IFS=$as_save_IFS
8627 test -z "$as_dir" && as_dir=.
8628 for ac_exec_ext in '' $ac_executable_extensions; do
8629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8630 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8632 break 2
8634 done
8635 done
8636 IFS=$as_save_IFS
8638 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8640 esac
8642 PRELINK=$ac_cv_path_PRELINK
8643 if test -n "$PRELINK"; then
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8645 $as_echo "$PRELINK" >&6; }
8646 else
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8648 $as_echo "no" >&6; }
8652 if test "x$PRELINK" = xfalse
8653 then
8654 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8658 esac
8660 else
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8662 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8663 if ${ac_cv_c_dll_unixware+:} false; then :
8664 $as_echo_n "(cached) " >&6
8665 else
8666 ac_wine_try_cflags_saved=$CFLAGS
8667 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8670 void myfunc() {}
8671 _ACEOF
8672 if ac_fn_c_try_link "$LINENO"; then :
8673 ac_cv_c_dll_unixware="yes"
8674 else
8675 ac_cv_c_dll_unixware="no"
8677 rm -f core conftest.err conftest.$ac_objext \
8678 conftest$ac_exeext conftest.$ac_ext
8679 CFLAGS=$ac_wine_try_cflags_saved
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8682 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8683 if test "$ac_cv_c_dll_unixware" = "yes"
8684 then
8685 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8688 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8690 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8692 LIBWINE_INSTALL_DEV="libwine.so"
8694 LIBWINE_DEPENDS="wine.map"
8697 esac
8699 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8700 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8701 enable_winemac_drv=${enable_winemac_drv:-no}
8702 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8704 CROSSTARGET=""
8706 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8707 then
8708 case "$host_cpu" in
8709 arm*)
8710 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8711 i[3456789]86*)
8712 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
8713 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8714 mingw32-gcc" ;;
8715 x86_64)
8716 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
8717 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8719 ac_prefix_list="" ;;
8720 esac
8721 for ac_prog in $ac_prefix_list
8723 # Extract the first word of "$ac_prog", so it can be a program name with args.
8724 set dummy $ac_prog; ac_word=$2
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8726 $as_echo_n "checking for $ac_word... " >&6; }
8727 if ${ac_cv_prog_CROSSCC+:} false; then :
8728 $as_echo_n "(cached) " >&6
8729 else
8730 if test -n "$CROSSCC"; then
8731 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8732 else
8733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8734 for as_dir in $PATH
8736 IFS=$as_save_IFS
8737 test -z "$as_dir" && as_dir=.
8738 for ac_exec_ext in '' $ac_executable_extensions; do
8739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8740 ac_cv_prog_CROSSCC="$ac_prog"
8741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8742 break 2
8744 done
8745 done
8746 IFS=$as_save_IFS
8750 CROSSCC=$ac_cv_prog_CROSSCC
8751 if test -n "$CROSSCC"; then
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8753 $as_echo "$CROSSCC" >&6; }
8754 else
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8756 $as_echo "no" >&6; }
8760 test -n "$CROSSCC" && break
8761 done
8762 test -n "$CROSSCC" || CROSSCC="false"
8764 if test "$CROSSCC" != "false"
8765 then
8766 ac_save_CC="$CC"
8767 CC="$CROSSCC"
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8769 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8771 /* end confdefs.h. */
8774 main ()
8778 return 0;
8780 _ACEOF
8781 if ac_fn_c_try_compile "$LINENO"; then :
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8783 $as_echo "yes" >&6; }
8784 set x $CROSSCC
8785 shift
8786 while test $# -ge 1
8788 case "$1" in
8789 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8790 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8791 esac
8792 shift
8793 done
8794 else
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8796 $as_echo "no" >&6; }
8798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8799 CC="$ac_save_CC"
8804 if test "$ac_cv_header_pthread_h" = "yes"
8805 then
8806 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8807 if test "x$ac_cv_func_pthread_create" = xyes; then :
8809 else
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8811 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8812 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8813 $as_echo_n "(cached) " >&6
8814 else
8815 ac_check_lib_save_LIBS=$LIBS
8816 LIBS="-lpthread $LIBS"
8817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8820 /* Override any GCC internal prototype to avoid an error.
8821 Use char because int might match the return type of a GCC
8822 builtin and then its argument prototype would still apply. */
8823 #ifdef __cplusplus
8824 extern "C"
8825 #endif
8826 char pthread_create ();
8828 main ()
8830 return pthread_create ();
8832 return 0;
8834 _ACEOF
8835 if ac_fn_c_try_link "$LINENO"; then :
8836 ac_cv_lib_pthread_pthread_create=yes
8837 else
8838 ac_cv_lib_pthread_pthread_create=no
8840 rm -f core conftest.err conftest.$ac_objext \
8841 conftest$ac_exeext conftest.$ac_ext
8842 LIBS=$ac_check_lib_save_LIBS
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8845 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8846 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8847 PTHREAD_LIBS="-lpthread"
8854 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8855 case "x$with_pthread" in
8856 xno) ;;
8857 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8858 Wine cannot support threads without libpthread.
8859 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8860 esac
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8866 $as_echo_n "checking for X... " >&6; }
8869 # Check whether --with-x was given.
8870 if test "${with_x+set}" = set; then :
8871 withval=$with_x;
8874 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8875 if test "x$with_x" = xno; then
8876 # The user explicitly disabled X.
8877 have_x=disabled
8878 else
8879 case $x_includes,$x_libraries in #(
8880 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8881 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8882 $as_echo_n "(cached) " >&6
8883 else
8884 # One or both of the vars are not set, and there is no cached value.
8885 ac_x_includes=no ac_x_libraries=no
8886 rm -f -r conftest.dir
8887 if mkdir conftest.dir; then
8888 cd conftest.dir
8889 cat >Imakefile <<'_ACEOF'
8890 incroot:
8891 @echo incroot='${INCROOT}'
8892 usrlibdir:
8893 @echo usrlibdir='${USRLIBDIR}'
8894 libdir:
8895 @echo libdir='${LIBDIR}'
8896 _ACEOF
8897 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8898 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8899 for ac_var in incroot usrlibdir libdir; do
8900 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8901 done
8902 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8903 for ac_extension in a so sl dylib la dll; do
8904 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8905 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8906 ac_im_usrlibdir=$ac_im_libdir; break
8908 done
8909 # Screen out bogus values from the imake configuration. They are
8910 # bogus both because they are the default anyway, and because
8911 # using them would break gcc on systems where it needs fixed includes.
8912 case $ac_im_incroot in
8913 /usr/include) ac_x_includes= ;;
8914 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8915 esac
8916 case $ac_im_usrlibdir in
8917 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8918 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8919 esac
8921 cd ..
8922 rm -f -r conftest.dir
8925 # Standard set of common directories for X headers.
8926 # Check X11 before X11Rn because it is often a symlink to the current release.
8927 ac_x_header_dirs='
8928 /usr/X11/include
8929 /usr/X11R7/include
8930 /usr/X11R6/include
8931 /usr/X11R5/include
8932 /usr/X11R4/include
8934 /usr/include/X11
8935 /usr/include/X11R7
8936 /usr/include/X11R6
8937 /usr/include/X11R5
8938 /usr/include/X11R4
8940 /usr/local/X11/include
8941 /usr/local/X11R7/include
8942 /usr/local/X11R6/include
8943 /usr/local/X11R5/include
8944 /usr/local/X11R4/include
8946 /usr/local/include/X11
8947 /usr/local/include/X11R7
8948 /usr/local/include/X11R6
8949 /usr/local/include/X11R5
8950 /usr/local/include/X11R4
8952 /usr/X386/include
8953 /usr/x386/include
8954 /usr/XFree86/include/X11
8956 /usr/include
8957 /usr/local/include
8958 /usr/unsupported/include
8959 /usr/athena/include
8960 /usr/local/x11r5/include
8961 /usr/lpp/Xamples/include
8963 /usr/openwin/include
8964 /usr/openwin/share/include'
8966 if test "$ac_x_includes" = no; then
8967 # Guess where to find include files, by looking for Xlib.h.
8968 # First, try using that file with no special directory specified.
8969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8970 /* end confdefs.h. */
8971 #include <X11/Xlib.h>
8972 _ACEOF
8973 if ac_fn_c_try_cpp "$LINENO"; then :
8974 # We can compile using X headers with no special include directory.
8975 ac_x_includes=
8976 else
8977 for ac_dir in $ac_x_header_dirs; do
8978 if test -r "$ac_dir/X11/Xlib.h"; then
8979 ac_x_includes=$ac_dir
8980 break
8982 done
8984 rm -f conftest.err conftest.i conftest.$ac_ext
8985 fi # $ac_x_includes = no
8987 if test "$ac_x_libraries" = no; then
8988 # Check for the libraries.
8989 # See if we find them without any special options.
8990 # Don't add to $LIBS permanently.
8991 ac_save_LIBS=$LIBS
8992 LIBS="-lX11 $LIBS"
8993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8994 /* end confdefs.h. */
8995 #include <X11/Xlib.h>
8997 main ()
8999 XrmInitialize ()
9001 return 0;
9003 _ACEOF
9004 if ac_fn_c_try_link "$LINENO"; then :
9005 LIBS=$ac_save_LIBS
9006 # We can link X programs with no special library path.
9007 ac_x_libraries=
9008 else
9009 LIBS=$ac_save_LIBS
9010 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9012 # Don't even attempt the hair of trying to link an X program!
9013 for ac_extension in a so sl dylib la dll; do
9014 if test -r "$ac_dir/libX11.$ac_extension"; then
9015 ac_x_libraries=$ac_dir
9016 break 2
9018 done
9019 done
9021 rm -f core conftest.err conftest.$ac_objext \
9022 conftest$ac_exeext conftest.$ac_ext
9023 fi # $ac_x_libraries = no
9025 case $ac_x_includes,$ac_x_libraries in #(
9026 no,* | *,no | *\'*)
9027 # Didn't find X, or a directory has "'" in its name.
9028 ac_cv_have_x="have_x=no";; #(
9030 # Record where we found X for the cache.
9031 ac_cv_have_x="have_x=yes\
9032 ac_x_includes='$ac_x_includes'\
9033 ac_x_libraries='$ac_x_libraries'"
9034 esac
9036 ;; #(
9037 *) have_x=yes;;
9038 esac
9039 eval "$ac_cv_have_x"
9040 fi # $with_x != no
9042 if test "$have_x" != yes; then
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9044 $as_echo "$have_x" >&6; }
9045 no_x=yes
9046 else
9047 # If each of the values was on the command line, it overrides each guess.
9048 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9049 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9050 # Update the cache value to reflect the command line values.
9051 ac_cv_have_x="have_x=yes\
9052 ac_x_includes='$x_includes'\
9053 ac_x_libraries='$x_libraries'"
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9055 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9058 if test "$no_x" = yes; then
9059 # Not all programs may use this symbol, but it does not hurt to define it.
9061 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9063 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9064 else
9065 if test -n "$x_includes"; then
9066 X_CFLAGS="$X_CFLAGS -I$x_includes"
9069 # It would also be nice to do this for all -L options, not just this one.
9070 if test -n "$x_libraries"; then
9071 X_LIBS="$X_LIBS -L$x_libraries"
9072 # For Solaris; some versions of Sun CC require a space after -R and
9073 # others require no space. Words are not sufficient . . . .
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9075 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9076 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9077 ac_xsave_c_werror_flag=$ac_c_werror_flag
9078 ac_c_werror_flag=yes
9079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9083 main ()
9087 return 0;
9089 _ACEOF
9090 if ac_fn_c_try_link "$LINENO"; then :
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9092 $as_echo "no" >&6; }
9093 X_LIBS="$X_LIBS -R$x_libraries"
9094 else
9095 LIBS="$ac_xsave_LIBS -R $x_libraries"
9096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9097 /* end confdefs.h. */
9100 main ()
9104 return 0;
9106 _ACEOF
9107 if ac_fn_c_try_link "$LINENO"; then :
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9109 $as_echo "yes" >&6; }
9110 X_LIBS="$X_LIBS -R $x_libraries"
9111 else
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9113 $as_echo "neither works" >&6; }
9115 rm -f core conftest.err conftest.$ac_objext \
9116 conftest$ac_exeext conftest.$ac_ext
9118 rm -f core conftest.err conftest.$ac_objext \
9119 conftest$ac_exeext conftest.$ac_ext
9120 ac_c_werror_flag=$ac_xsave_c_werror_flag
9121 LIBS=$ac_xsave_LIBS
9124 # Check for system-dependent libraries X programs must link with.
9125 # Do this before checking for the system-independent R6 libraries
9126 # (-lICE), since we may need -lsocket or whatever for X linking.
9128 if test "$ISC" = yes; then
9129 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9130 else
9131 # Martyn Johnson says this is needed for Ultrix, if the X
9132 # libraries were built with DECnet support. And Karl Berry says
9133 # the Alpha needs dnet_stub (dnet does not exist).
9134 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9136 /* end confdefs.h. */
9138 /* Override any GCC internal prototype to avoid an error.
9139 Use char because int might match the return type of a GCC
9140 builtin and then its argument prototype would still apply. */
9141 #ifdef __cplusplus
9142 extern "C"
9143 #endif
9144 char XOpenDisplay ();
9146 main ()
9148 return XOpenDisplay ();
9150 return 0;
9152 _ACEOF
9153 if ac_fn_c_try_link "$LINENO"; then :
9155 else
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9157 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9158 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9159 $as_echo_n "(cached) " >&6
9160 else
9161 ac_check_lib_save_LIBS=$LIBS
9162 LIBS="-ldnet $LIBS"
9163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9164 /* end confdefs.h. */
9166 /* Override any GCC internal prototype to avoid an error.
9167 Use char because int might match the return type of a GCC
9168 builtin and then its argument prototype would still apply. */
9169 #ifdef __cplusplus
9170 extern "C"
9171 #endif
9172 char dnet_ntoa ();
9174 main ()
9176 return dnet_ntoa ();
9178 return 0;
9180 _ACEOF
9181 if ac_fn_c_try_link "$LINENO"; then :
9182 ac_cv_lib_dnet_dnet_ntoa=yes
9183 else
9184 ac_cv_lib_dnet_dnet_ntoa=no
9186 rm -f core conftest.err conftest.$ac_objext \
9187 conftest$ac_exeext conftest.$ac_ext
9188 LIBS=$ac_check_lib_save_LIBS
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9191 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9192 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9193 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9196 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9198 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9199 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9200 $as_echo_n "(cached) " >&6
9201 else
9202 ac_check_lib_save_LIBS=$LIBS
9203 LIBS="-ldnet_stub $LIBS"
9204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9205 /* end confdefs.h. */
9207 /* Override any GCC internal prototype to avoid an error.
9208 Use char because int might match the return type of a GCC
9209 builtin and then its argument prototype would still apply. */
9210 #ifdef __cplusplus
9211 extern "C"
9212 #endif
9213 char dnet_ntoa ();
9215 main ()
9217 return dnet_ntoa ();
9219 return 0;
9221 _ACEOF
9222 if ac_fn_c_try_link "$LINENO"; then :
9223 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9224 else
9225 ac_cv_lib_dnet_stub_dnet_ntoa=no
9227 rm -f core conftest.err conftest.$ac_objext \
9228 conftest$ac_exeext conftest.$ac_ext
9229 LIBS=$ac_check_lib_save_LIBS
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9232 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9233 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9234 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9239 rm -f core conftest.err conftest.$ac_objext \
9240 conftest$ac_exeext conftest.$ac_ext
9241 LIBS="$ac_xsave_LIBS"
9243 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9244 # to get the SysV transport functions.
9245 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9246 # needs -lnsl.
9247 # The nsl library prevents programs from opening the X display
9248 # on Irix 5.2, according to T.E. Dickey.
9249 # The functions gethostbyname, getservbyname, and inet_addr are
9250 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9251 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9252 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9256 if test $ac_cv_func_gethostbyname = no; then
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9258 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9259 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9260 $as_echo_n "(cached) " >&6
9261 else
9262 ac_check_lib_save_LIBS=$LIBS
9263 LIBS="-lnsl $LIBS"
9264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9265 /* end confdefs.h. */
9267 /* Override any GCC internal prototype to avoid an error.
9268 Use char because int might match the return type of a GCC
9269 builtin and then its argument prototype would still apply. */
9270 #ifdef __cplusplus
9271 extern "C"
9272 #endif
9273 char gethostbyname ();
9275 main ()
9277 return gethostbyname ();
9279 return 0;
9281 _ACEOF
9282 if ac_fn_c_try_link "$LINENO"; then :
9283 ac_cv_lib_nsl_gethostbyname=yes
9284 else
9285 ac_cv_lib_nsl_gethostbyname=no
9287 rm -f core conftest.err conftest.$ac_objext \
9288 conftest$ac_exeext conftest.$ac_ext
9289 LIBS=$ac_check_lib_save_LIBS
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9292 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9293 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9294 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9297 if test $ac_cv_lib_nsl_gethostbyname = no; then
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9299 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9300 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9301 $as_echo_n "(cached) " >&6
9302 else
9303 ac_check_lib_save_LIBS=$LIBS
9304 LIBS="-lbsd $LIBS"
9305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9306 /* end confdefs.h. */
9308 /* Override any GCC internal prototype to avoid an error.
9309 Use char because int might match the return type of a GCC
9310 builtin and then its argument prototype would still apply. */
9311 #ifdef __cplusplus
9312 extern "C"
9313 #endif
9314 char gethostbyname ();
9316 main ()
9318 return gethostbyname ();
9320 return 0;
9322 _ACEOF
9323 if ac_fn_c_try_link "$LINENO"; then :
9324 ac_cv_lib_bsd_gethostbyname=yes
9325 else
9326 ac_cv_lib_bsd_gethostbyname=no
9328 rm -f core conftest.err conftest.$ac_objext \
9329 conftest$ac_exeext conftest.$ac_ext
9330 LIBS=$ac_check_lib_save_LIBS
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9333 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9334 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9335 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9341 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9342 # socket/setsockopt and other routines are undefined under SCO ODT
9343 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9344 # on later versions), says Simon Leinen: it contains gethostby*
9345 # variants that don't use the name server (or something). -lsocket
9346 # must be given before -lnsl if both are needed. We assume that
9347 # if connect needs -lnsl, so does gethostbyname.
9348 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9349 if test "x$ac_cv_func_connect" = xyes; then :
9353 if test $ac_cv_func_connect = no; then
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9355 $as_echo_n "checking for connect in -lsocket... " >&6; }
9356 if ${ac_cv_lib_socket_connect+:} false; then :
9357 $as_echo_n "(cached) " >&6
9358 else
9359 ac_check_lib_save_LIBS=$LIBS
9360 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9362 /* end confdefs.h. */
9364 /* Override any GCC internal prototype to avoid an error.
9365 Use char because int might match the return type of a GCC
9366 builtin and then its argument prototype would still apply. */
9367 #ifdef __cplusplus
9368 extern "C"
9369 #endif
9370 char connect ();
9372 main ()
9374 return connect ();
9376 return 0;
9378 _ACEOF
9379 if ac_fn_c_try_link "$LINENO"; then :
9380 ac_cv_lib_socket_connect=yes
9381 else
9382 ac_cv_lib_socket_connect=no
9384 rm -f core conftest.err conftest.$ac_objext \
9385 conftest$ac_exeext conftest.$ac_ext
9386 LIBS=$ac_check_lib_save_LIBS
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9389 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9390 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9391 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9396 # Guillermo Gomez says -lposix is necessary on A/UX.
9397 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9398 if test "x$ac_cv_func_remove" = xyes; then :
9402 if test $ac_cv_func_remove = no; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9404 $as_echo_n "checking for remove in -lposix... " >&6; }
9405 if ${ac_cv_lib_posix_remove+:} false; then :
9406 $as_echo_n "(cached) " >&6
9407 else
9408 ac_check_lib_save_LIBS=$LIBS
9409 LIBS="-lposix $LIBS"
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9413 /* Override any GCC internal prototype to avoid an error.
9414 Use char because int might match the return type of a GCC
9415 builtin and then its argument prototype would still apply. */
9416 #ifdef __cplusplus
9417 extern "C"
9418 #endif
9419 char remove ();
9421 main ()
9423 return remove ();
9425 return 0;
9427 _ACEOF
9428 if ac_fn_c_try_link "$LINENO"; then :
9429 ac_cv_lib_posix_remove=yes
9430 else
9431 ac_cv_lib_posix_remove=no
9433 rm -f core conftest.err conftest.$ac_objext \
9434 conftest$ac_exeext conftest.$ac_ext
9435 LIBS=$ac_check_lib_save_LIBS
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9438 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9439 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9440 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9445 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9446 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9447 if test "x$ac_cv_func_shmat" = xyes; then :
9451 if test $ac_cv_func_shmat = no; then
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9453 $as_echo_n "checking for shmat in -lipc... " >&6; }
9454 if ${ac_cv_lib_ipc_shmat+:} false; then :
9455 $as_echo_n "(cached) " >&6
9456 else
9457 ac_check_lib_save_LIBS=$LIBS
9458 LIBS="-lipc $LIBS"
9459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9460 /* end confdefs.h. */
9462 /* Override any GCC internal prototype to avoid an error.
9463 Use char because int might match the return type of a GCC
9464 builtin and then its argument prototype would still apply. */
9465 #ifdef __cplusplus
9466 extern "C"
9467 #endif
9468 char shmat ();
9470 main ()
9472 return shmat ();
9474 return 0;
9476 _ACEOF
9477 if ac_fn_c_try_link "$LINENO"; then :
9478 ac_cv_lib_ipc_shmat=yes
9479 else
9480 ac_cv_lib_ipc_shmat=no
9482 rm -f core conftest.err conftest.$ac_objext \
9483 conftest$ac_exeext conftest.$ac_ext
9484 LIBS=$ac_check_lib_save_LIBS
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9487 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9488 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9489 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9495 # Check for libraries that X11R6 Xt/Xaw programs need.
9496 ac_save_LDFLAGS=$LDFLAGS
9497 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9498 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9499 # check for ICE first), but we must link in the order -lSM -lICE or
9500 # we get undefined symbols. So assume we have SM if we have ICE.
9501 # These have to be linked with before -lX11, unlike the other
9502 # libraries we check for below, so use a different variable.
9503 # John Interrante, Karl Berry
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9505 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9506 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9507 $as_echo_n "(cached) " >&6
9508 else
9509 ac_check_lib_save_LIBS=$LIBS
9510 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9514 /* Override any GCC internal prototype to avoid an error.
9515 Use char because int might match the return type of a GCC
9516 builtin and then its argument prototype would still apply. */
9517 #ifdef __cplusplus
9518 extern "C"
9519 #endif
9520 char IceConnectionNumber ();
9522 main ()
9524 return IceConnectionNumber ();
9526 return 0;
9528 _ACEOF
9529 if ac_fn_c_try_link "$LINENO"; then :
9530 ac_cv_lib_ICE_IceConnectionNumber=yes
9531 else
9532 ac_cv_lib_ICE_IceConnectionNumber=no
9534 rm -f core conftest.err conftest.$ac_objext \
9535 conftest$ac_exeext conftest.$ac_ext
9536 LIBS=$ac_check_lib_save_LIBS
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9539 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9540 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9541 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9544 LDFLAGS=$ac_save_LDFLAGS
9549 if test "$have_x" = "yes"
9550 then
9551 ac_save_CPPFLAGS="$CPPFLAGS"
9552 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9555 $as_echo_n "checking for -lX11... " >&6; }
9556 if ${ac_cv_lib_soname_X11+:} false; then :
9557 $as_echo_n "(cached) " >&6
9558 else
9559 ac_check_soname_save_LIBS=$LIBS
9560 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9562 /* end confdefs.h. */
9564 /* Override any GCC internal prototype to avoid an error.
9565 Use char because int might match the return type of a GCC
9566 builtin and then its argument prototype would still apply. */
9567 #ifdef __cplusplus
9568 extern "C"
9569 #endif
9570 char XCreateWindow ();
9572 main ()
9574 return XCreateWindow ();
9576 return 0;
9578 _ACEOF
9579 if ac_fn_c_try_link "$LINENO"; then :
9580 case "$LIBEXT" in
9581 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9582 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'` ;;
9583 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9584 if ${ac_cv_lib_soname_X11:+false} :; then :
9585 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9586 fi ;;
9587 esac
9589 rm -f core conftest.err conftest.$ac_objext \
9590 conftest$ac_exeext conftest.$ac_ext
9591 LIBS=$ac_check_soname_save_LIBS
9593 if ${ac_cv_lib_soname_X11:+false} :; then :
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9595 $as_echo "not found" >&6; }
9597 else
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9599 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9601 cat >>confdefs.h <<_ACEOF
9602 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9603 _ACEOF
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9608 $as_echo_n "checking for -lXext... " >&6; }
9609 if ${ac_cv_lib_soname_Xext+:} false; then :
9610 $as_echo_n "(cached) " >&6
9611 else
9612 ac_check_soname_save_LIBS=$LIBS
9613 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9615 /* end confdefs.h. */
9617 /* Override any GCC internal prototype to avoid an error.
9618 Use char because int might match the return type of a GCC
9619 builtin and then its argument prototype would still apply. */
9620 #ifdef __cplusplus
9621 extern "C"
9622 #endif
9623 char XextCreateExtension ();
9625 main ()
9627 return XextCreateExtension ();
9629 return 0;
9631 _ACEOF
9632 if ac_fn_c_try_link "$LINENO"; then :
9633 case "$LIBEXT" in
9634 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9635 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'` ;;
9636 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9637 if ${ac_cv_lib_soname_Xext:+false} :; then :
9638 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9639 fi ;;
9640 esac
9642 rm -f core conftest.err conftest.$ac_objext \
9643 conftest$ac_exeext conftest.$ac_ext
9644 LIBS=$ac_check_soname_save_LIBS
9646 if ${ac_cv_lib_soname_Xext:+false} :; then :
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9648 $as_echo "not found" >&6; }
9650 else
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9652 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9654 cat >>confdefs.h <<_ACEOF
9655 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9656 _ACEOF
9658 X_LIBS="$X_LIBS -lXext"
9660 X_LIBS="$X_LIBS -lX11"
9662 for ac_header in X11/Xlib.h \
9663 X11/XKBlib.h \
9664 X11/Xutil.h \
9665 X11/Xcursor/Xcursor.h \
9666 X11/extensions/shape.h \
9667 X11/extensions/XInput.h \
9668 X11/extensions/XInput2.h \
9669 X11/extensions/XShm.h \
9670 X11/extensions/Xcomposite.h \
9671 X11/extensions/Xinerama.h \
9672 X11/extensions/Xrandr.h \
9673 X11/extensions/Xrender.h \
9674 X11/extensions/xf86vmode.h \
9675 X11/extensions/xf86vmproto.h
9676 do :
9677 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9678 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9679 # include <X11/Xlib.h>
9680 #endif
9681 #ifdef HAVE_X11_XUTIL_H
9682 # include <X11/Xutil.h>
9683 #endif
9685 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9686 cat >>confdefs.h <<_ACEOF
9687 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9688 _ACEOF
9692 done
9695 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9696 then
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9698 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9699 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9700 $as_echo_n "(cached) " >&6
9701 else
9702 ac_check_lib_save_LIBS=$LIBS
9703 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9705 /* end confdefs.h. */
9707 /* Override any GCC internal prototype to avoid an error.
9708 Use char because int might match the return type of a GCC
9709 builtin and then its argument prototype would still apply. */
9710 #ifdef __cplusplus
9711 extern "C"
9712 #endif
9713 char XkbQueryExtension ();
9715 main ()
9717 return XkbQueryExtension ();
9719 return 0;
9721 _ACEOF
9722 if ac_fn_c_try_link "$LINENO"; then :
9723 ac_cv_lib_X11_XkbQueryExtension=yes
9724 else
9725 ac_cv_lib_X11_XkbQueryExtension=no
9727 rm -f core conftest.err conftest.$ac_objext \
9728 conftest$ac_exeext conftest.$ac_ext
9729 LIBS=$ac_check_lib_save_LIBS
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9732 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9733 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9735 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9741 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9742 then
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9744 $as_echo_n "checking for -lXcursor... " >&6; }
9745 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9746 $as_echo_n "(cached) " >&6
9747 else
9748 ac_check_soname_save_LIBS=$LIBS
9749 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9751 /* end confdefs.h. */
9753 /* Override any GCC internal prototype to avoid an error.
9754 Use char because int might match the return type of a GCC
9755 builtin and then its argument prototype would still apply. */
9756 #ifdef __cplusplus
9757 extern "C"
9758 #endif
9759 char XcursorImageLoadCursor ();
9761 main ()
9763 return XcursorImageLoadCursor ();
9765 return 0;
9767 _ACEOF
9768 if ac_fn_c_try_link "$LINENO"; then :
9769 case "$LIBEXT" in
9770 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9771 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'` ;;
9772 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9773 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9774 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9775 fi ;;
9776 esac
9778 rm -f core conftest.err conftest.$ac_objext \
9779 conftest$ac_exeext conftest.$ac_ext
9780 LIBS=$ac_check_soname_save_LIBS
9782 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9784 $as_echo "not found" >&6; }
9786 else
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9788 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9790 cat >>confdefs.h <<_ACEOF
9791 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9792 _ACEOF
9797 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9798 case "x$with_xcursor" in
9799 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9800 xno) ;;
9801 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9802 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9803 esac
9807 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9808 then
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9810 $as_echo_n "checking for -lXi... " >&6; }
9811 if ${ac_cv_lib_soname_Xi+:} false; then :
9812 $as_echo_n "(cached) " >&6
9813 else
9814 ac_check_soname_save_LIBS=$LIBS
9815 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9817 /* end confdefs.h. */
9819 /* Override any GCC internal prototype to avoid an error.
9820 Use char because int might match the return type of a GCC
9821 builtin and then its argument prototype would still apply. */
9822 #ifdef __cplusplus
9823 extern "C"
9824 #endif
9825 char XOpenDevice ();
9827 main ()
9829 return XOpenDevice ();
9831 return 0;
9833 _ACEOF
9834 if ac_fn_c_try_link "$LINENO"; then :
9835 case "$LIBEXT" in
9836 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9837 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'` ;;
9838 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9839 if ${ac_cv_lib_soname_Xi:+false} :; then :
9840 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9841 fi ;;
9842 esac
9844 rm -f core conftest.err conftest.$ac_objext \
9845 conftest$ac_exeext conftest.$ac_ext
9846 LIBS=$ac_check_soname_save_LIBS
9848 if ${ac_cv_lib_soname_Xi:+false} :; then :
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9850 $as_echo "not found" >&6; }
9852 else
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9854 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9856 cat >>confdefs.h <<_ACEOF
9857 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9858 _ACEOF
9863 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9864 case "x$with_xinput" in
9865 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9866 xno) ;;
9867 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9868 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9869 esac
9873 if test "x$ac_cv_lib_soname_Xi" != x
9874 then
9875 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9876 case "x$with_xinput2" in
9877 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9878 xno) ;;
9879 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9880 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9881 esac
9886 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9887 then
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9889 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9890 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9891 $as_echo_n "(cached) " >&6
9892 else
9893 ac_check_lib_save_LIBS=$LIBS
9894 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9896 /* end confdefs.h. */
9898 /* Override any GCC internal prototype to avoid an error.
9899 Use char because int might match the return type of a GCC
9900 builtin and then its argument prototype would still apply. */
9901 #ifdef __cplusplus
9902 extern "C"
9903 #endif
9904 char XShmQueryExtension ();
9906 main ()
9908 return XShmQueryExtension ();
9910 return 0;
9912 _ACEOF
9913 if ac_fn_c_try_link "$LINENO"; then :
9914 ac_cv_lib_Xext_XShmQueryExtension=yes
9915 else
9916 ac_cv_lib_Xext_XShmQueryExtension=no
9918 rm -f core conftest.err conftest.$ac_objext \
9919 conftest$ac_exeext conftest.$ac_ext
9920 LIBS=$ac_check_lib_save_LIBS
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9923 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9924 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9926 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9931 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9932 case "x$with_xshm" in
9933 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9934 xno) ;;
9935 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9936 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9937 esac
9941 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9942 then
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9944 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9945 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9946 $as_echo_n "(cached) " >&6
9947 else
9948 ac_check_lib_save_LIBS=$LIBS
9949 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9951 /* end confdefs.h. */
9953 /* Override any GCC internal prototype to avoid an error.
9954 Use char because int might match the return type of a GCC
9955 builtin and then its argument prototype would still apply. */
9956 #ifdef __cplusplus
9957 extern "C"
9958 #endif
9959 char XShapeQueryExtension ();
9961 main ()
9963 return XShapeQueryExtension ();
9965 return 0;
9967 _ACEOF
9968 if ac_fn_c_try_link "$LINENO"; then :
9969 ac_cv_lib_Xext_XShapeQueryExtension=yes
9970 else
9971 ac_cv_lib_Xext_XShapeQueryExtension=no
9973 rm -f core conftest.err conftest.$ac_objext \
9974 conftest$ac_exeext conftest.$ac_ext
9975 LIBS=$ac_check_lib_save_LIBS
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9978 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9979 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9981 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9986 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9987 case "x$with_xshape" in
9988 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9989 xno) ;;
9990 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9991 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9992 esac
9996 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9997 then
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9999 $as_echo_n "checking for -lXxf86vm... " >&6; }
10000 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10001 $as_echo_n "(cached) " >&6
10002 else
10003 ac_check_soname_save_LIBS=$LIBS
10004 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10008 /* Override any GCC internal prototype to avoid an error.
10009 Use char because int might match the return type of a GCC
10010 builtin and then its argument prototype would still apply. */
10011 #ifdef __cplusplus
10012 extern "C"
10013 #endif
10014 char XF86VidModeQueryExtension ();
10016 main ()
10018 return XF86VidModeQueryExtension ();
10020 return 0;
10022 _ACEOF
10023 if ac_fn_c_try_link "$LINENO"; then :
10024 case "$LIBEXT" in
10025 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10026 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'` ;;
10027 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10028 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10029 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10030 fi ;;
10031 esac
10033 rm -f core conftest.err conftest.$ac_objext \
10034 conftest$ac_exeext conftest.$ac_ext
10035 LIBS=$ac_check_soname_save_LIBS
10037 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10039 $as_echo "not found" >&6; }
10041 else
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10043 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10045 cat >>confdefs.h <<_ACEOF
10046 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10047 _ACEOF
10052 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10053 case "x$with_xxf86vm" in
10054 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10055 xno) ;;
10056 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10057 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10058 esac
10062 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10063 then
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10065 $as_echo_n "checking for -lXrender... " >&6; }
10066 if ${ac_cv_lib_soname_Xrender+:} false; then :
10067 $as_echo_n "(cached) " >&6
10068 else
10069 ac_check_soname_save_LIBS=$LIBS
10070 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10074 /* Override any GCC internal prototype to avoid an error.
10075 Use char because int might match the return type of a GCC
10076 builtin and then its argument prototype would still apply. */
10077 #ifdef __cplusplus
10078 extern "C"
10079 #endif
10080 char XRenderQueryExtension ();
10082 main ()
10084 return XRenderQueryExtension ();
10086 return 0;
10088 _ACEOF
10089 if ac_fn_c_try_link "$LINENO"; then :
10090 case "$LIBEXT" in
10091 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10092 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'` ;;
10093 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10094 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10095 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10096 fi ;;
10097 esac
10099 rm -f core conftest.err conftest.$ac_objext \
10100 conftest$ac_exeext conftest.$ac_ext
10101 LIBS=$ac_check_soname_save_LIBS
10103 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10105 $as_echo "not found" >&6; }
10107 else
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10109 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10111 cat >>confdefs.h <<_ACEOF
10112 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10113 _ACEOF
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10116 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10117 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10118 $as_echo_n "(cached) " >&6
10119 else
10120 ac_check_lib_save_LIBS=$LIBS
10121 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10125 /* Override any GCC internal prototype to avoid an error.
10126 Use char because int might match the return type of a GCC
10127 builtin and then its argument prototype would still apply. */
10128 #ifdef __cplusplus
10129 extern "C"
10130 #endif
10131 char XRenderSetPictureTransform ();
10133 main ()
10135 return XRenderSetPictureTransform ();
10137 return 0;
10139 _ACEOF
10140 if ac_fn_c_try_link "$LINENO"; then :
10141 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10142 else
10143 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10145 rm -f core conftest.err conftest.$ac_objext \
10146 conftest$ac_exeext conftest.$ac_ext
10147 LIBS=$ac_check_lib_save_LIBS
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10150 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10151 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10153 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10158 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10159 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10160 $as_echo_n "(cached) " >&6
10161 else
10162 ac_check_lib_save_LIBS=$LIBS
10163 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10165 /* end confdefs.h. */
10167 /* Override any GCC internal prototype to avoid an error.
10168 Use char because int might match the return type of a GCC
10169 builtin and then its argument prototype would still apply. */
10170 #ifdef __cplusplus
10171 extern "C"
10172 #endif
10173 char XRenderCreateLinearGradient ();
10175 main ()
10177 return XRenderCreateLinearGradient ();
10179 return 0;
10181 _ACEOF
10182 if ac_fn_c_try_link "$LINENO"; then :
10183 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10184 else
10185 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10187 rm -f core conftest.err conftest.$ac_objext \
10188 conftest$ac_exeext conftest.$ac_ext
10189 LIBS=$ac_check_lib_save_LIBS
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10192 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10193 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10195 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10202 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10203 case "x$with_xrender" in
10204 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10205 xno) ;;
10206 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10207 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10208 esac
10212 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10213 then
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216 #include <X11/Xlib.h>
10217 #include <X11/extensions/Xrandr.h>
10219 main ()
10221 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10223 return 0;
10225 _ACEOF
10226 if ac_fn_c_try_compile "$LINENO"; then :
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10228 $as_echo_n "checking for -lXrandr... " >&6; }
10229 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10230 $as_echo_n "(cached) " >&6
10231 else
10232 ac_check_soname_save_LIBS=$LIBS
10233 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10237 /* Override any GCC internal prototype to avoid an error.
10238 Use char because int might match the return type of a GCC
10239 builtin and then its argument prototype would still apply. */
10240 #ifdef __cplusplus
10241 extern "C"
10242 #endif
10243 char XRRQueryExtension ();
10245 main ()
10247 return XRRQueryExtension ();
10249 return 0;
10251 _ACEOF
10252 if ac_fn_c_try_link "$LINENO"; then :
10253 case "$LIBEXT" in
10254 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10255 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'` ;;
10256 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10257 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10258 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10259 fi ;;
10260 esac
10262 rm -f core conftest.err conftest.$ac_objext \
10263 conftest$ac_exeext conftest.$ac_ext
10264 LIBS=$ac_check_soname_save_LIBS
10266 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10268 $as_echo "not found" >&6; }
10270 else
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10272 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10274 cat >>confdefs.h <<_ACEOF
10275 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10276 _ACEOF
10278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10279 /* end confdefs.h. */
10280 #include <X11/Xlib.h>
10281 #include <X11/extensions/Xrandr.h>
10283 main ()
10285 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10287 return 0;
10289 _ACEOF
10290 if ac_fn_c_try_compile "$LINENO"; then :
10292 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10300 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10301 case "x$with_xrandr" in
10302 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10303 xno) ;;
10304 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10305 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10306 esac
10310 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10311 then
10312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10314 #include <X11/Xlib.h>
10315 #include <X11/extensions/Xinerama.h>
10317 main ()
10319 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10321 return 0;
10323 _ACEOF
10324 if ac_fn_c_try_compile "$LINENO"; then :
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10326 $as_echo_n "checking for -lXinerama... " >&6; }
10327 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10328 $as_echo_n "(cached) " >&6
10329 else
10330 ac_check_soname_save_LIBS=$LIBS
10331 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10333 /* end confdefs.h. */
10335 /* Override any GCC internal prototype to avoid an error.
10336 Use char because int might match the return type of a GCC
10337 builtin and then its argument prototype would still apply. */
10338 #ifdef __cplusplus
10339 extern "C"
10340 #endif
10341 char XineramaQueryScreens ();
10343 main ()
10345 return XineramaQueryScreens ();
10347 return 0;
10349 _ACEOF
10350 if ac_fn_c_try_link "$LINENO"; then :
10351 case "$LIBEXT" in
10352 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10353 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'` ;;
10354 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10355 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10356 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10357 fi ;;
10358 esac
10360 rm -f core conftest.err conftest.$ac_objext \
10361 conftest$ac_exeext conftest.$ac_ext
10362 LIBS=$ac_check_soname_save_LIBS
10364 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10366 $as_echo "not found" >&6; }
10368 else
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10370 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10372 cat >>confdefs.h <<_ACEOF
10373 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10374 _ACEOF
10379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10381 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10382 case "x$with_xinerama" in
10383 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10384 xno) ;;
10385 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10386 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10387 esac
10391 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10392 then
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10394 $as_echo_n "checking for -lXcomposite... " >&6; }
10395 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10396 $as_echo_n "(cached) " >&6
10397 else
10398 ac_check_soname_save_LIBS=$LIBS
10399 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10403 /* Override any GCC internal prototype to avoid an error.
10404 Use char because int might match the return type of a GCC
10405 builtin and then its argument prototype would still apply. */
10406 #ifdef __cplusplus
10407 extern "C"
10408 #endif
10409 char XCompositeRedirectWindow ();
10411 main ()
10413 return XCompositeRedirectWindow ();
10415 return 0;
10417 _ACEOF
10418 if ac_fn_c_try_link "$LINENO"; then :
10419 case "$LIBEXT" in
10420 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10421 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'` ;;
10422 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10423 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10424 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10425 fi ;;
10426 esac
10428 rm -f core conftest.err conftest.$ac_objext \
10429 conftest$ac_exeext conftest.$ac_ext
10430 LIBS=$ac_check_soname_save_LIBS
10432 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10434 $as_echo "not found" >&6; }
10436 else
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10438 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10440 cat >>confdefs.h <<_ACEOF
10441 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10442 _ACEOF
10447 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10448 case "x$with_xcomposite" in
10449 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10450 xno) ;;
10451 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10452 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10453 esac
10457 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10458 #include <X11/Xlib.h>
10459 #endif
10461 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10463 cat >>confdefs.h <<_ACEOF
10464 #define HAVE_XICCALLBACK_CALLBACK 1
10465 _ACEOF
10469 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10470 #include <X11/Xlib.h>
10471 #endif
10473 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10475 cat >>confdefs.h <<_ACEOF
10476 #define HAVE_XEVENT_XCOOKIE 1
10477 _ACEOF
10484 opengl_msg=""
10485 if test "x$with_opengl" != "xno"
10486 then
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10488 $as_echo_n "checking for -lGL... " >&6; }
10489 if ${ac_cv_lib_soname_GL+:} false; then :
10490 $as_echo_n "(cached) " >&6
10491 else
10492 ac_check_soname_save_LIBS=$LIBS
10493 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10495 /* end confdefs.h. */
10497 /* Override any GCC internal prototype to avoid an error.
10498 Use char because int might match the return type of a GCC
10499 builtin and then its argument prototype would still apply. */
10500 #ifdef __cplusplus
10501 extern "C"
10502 #endif
10503 char glXCreateContext ();
10505 main ()
10507 return glXCreateContext ();
10509 return 0;
10511 _ACEOF
10512 if ac_fn_c_try_link "$LINENO"; then :
10513 case "$LIBEXT" in
10514 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10515 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'` ;;
10516 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10517 if ${ac_cv_lib_soname_GL:+false} :; then :
10518 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10519 fi ;;
10520 esac
10522 rm -f core conftest.err conftest.$ac_objext \
10523 conftest$ac_exeext conftest.$ac_ext
10524 LIBS=$ac_check_soname_save_LIBS
10526 if ${ac_cv_lib_soname_GL:+false} :; then :
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10528 $as_echo "not found" >&6; }
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10530 $as_echo_n "checking for -lGL... " >&6; }
10531 if ${ac_cv_lib_soname_GL+:} false; then :
10532 $as_echo_n "(cached) " >&6
10533 else
10534 ac_check_soname_save_LIBS=$LIBS
10535 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"
10536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10537 /* end confdefs.h. */
10539 /* Override any GCC internal prototype to avoid an error.
10540 Use char because int might match the return type of a GCC
10541 builtin and then its argument prototype would still apply. */
10542 #ifdef __cplusplus
10543 extern "C"
10544 #endif
10545 char glXCreateContext ();
10547 main ()
10549 return glXCreateContext ();
10551 return 0;
10553 _ACEOF
10554 if ac_fn_c_try_link "$LINENO"; then :
10555 case "$LIBEXT" in
10556 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10557 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'` ;;
10558 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10559 if ${ac_cv_lib_soname_GL:+false} :; then :
10560 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10561 fi ;;
10562 esac
10564 rm -f core conftest.err conftest.$ac_objext \
10565 conftest$ac_exeext conftest.$ac_ext
10566 LIBS=$ac_check_soname_save_LIBS
10568 if ${ac_cv_lib_soname_GL:+false} :; then :
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10570 $as_echo "not found" >&6; }
10571 if test -f /usr/X11R6/lib/libGL.a
10572 then
10573 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10574 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10575 else
10576 opengl_msg="No OpenGL library found on this system."
10578 else
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10580 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10582 cat >>confdefs.h <<_ACEOF
10583 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10584 _ACEOF
10586 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"
10588 else
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10590 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10592 cat >>confdefs.h <<_ACEOF
10593 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10594 _ACEOF
10596 OPENGL_LIBS="-lGL"
10598 if test "x$with_glu" != "xno"
10599 then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10601 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10602 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10603 $as_echo_n "(cached) " >&6
10604 else
10605 ac_check_lib_save_LIBS=$LIBS
10606 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10610 /* Override any GCC internal prototype to avoid an error.
10611 Use char because int might match the return type of a GCC
10612 builtin and then its argument prototype would still apply. */
10613 #ifdef __cplusplus
10614 extern "C"
10615 #endif
10616 char gluLookAt ();
10618 main ()
10620 return gluLookAt ();
10622 return 0;
10624 _ACEOF
10625 if ac_fn_c_try_link "$LINENO"; then :
10626 ac_cv_lib_GLU_gluLookAt=yes
10627 else
10628 ac_cv_lib_GLU_gluLookAt=no
10630 rm -f core conftest.err conftest.$ac_objext \
10631 conftest$ac_exeext conftest.$ac_ext
10632 LIBS=$ac_check_lib_save_LIBS
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10635 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10636 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10640 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10641 case "x$with_glu" in
10642 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10643 xno) ;;
10644 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10645 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10646 esac
10651 if test "x$with_osmesa" != "xno"
10652 then
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10654 $as_echo_n "checking for -lOSMesa... " >&6; }
10655 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10656 $as_echo_n "(cached) " >&6
10657 else
10658 ac_check_soname_save_LIBS=$LIBS
10659 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10666 #ifdef __cplusplus
10667 extern "C"
10668 #endif
10669 char glAccum ();
10671 main ()
10673 return glAccum ();
10675 return 0;
10677 _ACEOF
10678 if ac_fn_c_try_link "$LINENO"; then :
10679 case "$LIBEXT" in
10680 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10681 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'` ;;
10682 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10683 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10684 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10685 fi ;;
10686 esac
10688 rm -f core conftest.err conftest.$ac_objext \
10689 conftest$ac_exeext conftest.$ac_ext
10690 LIBS=$ac_check_soname_save_LIBS
10692 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10694 $as_echo "not found" >&6; }
10696 else
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10698 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10700 cat >>confdefs.h <<_ACEOF
10701 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10702 _ACEOF
10706 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10707 case "x$with_osmesa" in
10708 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10709 xno) ;;
10710 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10711 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10712 esac
10717 if test -n "$opengl_msg"; then :
10718 case "x$with_opengl" in
10719 x) as_fn_append wine_warnings "|$opengl_msg
10720 OpenGL and Direct3D won't be supported." ;;
10721 xno) ;;
10722 *) as_fn_error $? "$opengl_msg
10723 OpenGL and Direct3D won't be supported.
10724 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10725 esac
10729 CPPFLAGS="$ac_save_CPPFLAGS"
10730 else
10731 X_CFLAGS=""
10732 X_LIBS=""
10734 if test "x$X_LIBS" = "x"; then :
10735 case "x$with_x" in
10736 xno) ;;
10737 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10738 without X support, which probably isn't what you want. You will need
10739 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10740 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10741 esac
10742 enable_winex11_drv=${enable_winex11_drv:-no}
10745 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10747 if test "$ac_cv_header_CL_cl_h" = "yes"
10748 then
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10750 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10751 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10752 $as_echo_n "(cached) " >&6
10753 else
10754 ac_check_lib_save_LIBS=$LIBS
10755 LIBS="-lOpenCL $LIBS"
10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10759 /* Override any GCC internal prototype to avoid an error.
10760 Use char because int might match the return type of a GCC
10761 builtin and then its argument prototype would still apply. */
10762 #ifdef __cplusplus
10763 extern "C"
10764 #endif
10765 char clGetPlatformInfo ();
10767 main ()
10769 return clGetPlatformInfo ();
10771 return 0;
10773 _ACEOF
10774 if ac_fn_c_try_link "$LINENO"; then :
10775 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10776 else
10777 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10779 rm -f core conftest.err conftest.$ac_objext \
10780 conftest$ac_exeext conftest.$ac_ext
10781 LIBS=$ac_check_lib_save_LIBS
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10784 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10785 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10786 OPENCL_LIBS="-lOpenCL"
10791 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10792 case "x$with_opencl" in
10793 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10794 xno) ;;
10795 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10796 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10797 esac
10798 enable_opencl=${enable_opencl:-no}
10801 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10802 then
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10804 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10805 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10806 $as_echo_n "(cached) " >&6
10807 else
10808 ac_check_lib_save_LIBS=$LIBS
10809 LIBS="-lpcap $LIBS"
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h. */
10813 /* Override any GCC internal prototype to avoid an error.
10814 Use char because int might match the return type of a GCC
10815 builtin and then its argument prototype would still apply. */
10816 #ifdef __cplusplus
10817 extern "C"
10818 #endif
10819 char pcap_create ();
10821 main ()
10823 return pcap_create ();
10825 return 0;
10827 _ACEOF
10828 if ac_fn_c_try_link "$LINENO"; then :
10829 ac_cv_lib_pcap_pcap_create=yes
10830 else
10831 ac_cv_lib_pcap_pcap_create=no
10833 rm -f core conftest.err conftest.$ac_objext \
10834 conftest$ac_exeext conftest.$ac_ext
10835 LIBS=$ac_check_lib_save_LIBS
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10838 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10839 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10840 PCAP_LIBS="-lpcap"
10845 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10846 case "x$with_pcap" in
10847 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10848 xno) ;;
10849 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10850 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10851 esac
10852 enable_wpcap=${enable_wpcap:-no}
10856 if test "x$with_xml" != "xno"
10857 then
10858 if ${XML2_CFLAGS:+false} :; then :
10859 if ${PKG_CONFIG+:} false; then :
10860 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10863 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10864 if ${XML2_LIBS:+false} :; then :
10865 if ${PKG_CONFIG+:} false; then :
10866 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10869 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10870 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10871 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10872 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10873 ac_save_CPPFLAGS=$CPPFLAGS
10874 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10875 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10876 do :
10877 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10878 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10879 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10880 cat >>confdefs.h <<_ACEOF
10881 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10882 _ACEOF
10886 done
10888 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"
10889 then
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10891 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10892 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10893 $as_echo_n "(cached) " >&6
10894 else
10895 ac_check_lib_save_LIBS=$LIBS
10896 LIBS="-lxml2 $XML2_LIBS $LIBS"
10897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10898 /* end confdefs.h. */
10900 /* Override any GCC internal prototype to avoid an error.
10901 Use char because int might match the return type of a GCC
10902 builtin and then its argument prototype would still apply. */
10903 #ifdef __cplusplus
10904 extern "C"
10905 #endif
10906 char xmlParseMemory ();
10908 main ()
10910 return xmlParseMemory ();
10912 return 0;
10914 _ACEOF
10915 if ac_fn_c_try_link "$LINENO"; then :
10916 ac_cv_lib_xml2_xmlParseMemory=yes
10917 else
10918 ac_cv_lib_xml2_xmlParseMemory=no
10920 rm -f core conftest.err conftest.$ac_objext \
10921 conftest$ac_exeext conftest.$ac_ext
10922 LIBS=$ac_check_lib_save_LIBS
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10925 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10926 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10928 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10930 else
10931 XML2_LIBS=""
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10935 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10936 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10937 $as_echo_n "(cached) " >&6
10938 else
10939 ac_check_lib_save_LIBS=$LIBS
10940 LIBS="-lxml2 $XML2_LIBS $LIBS"
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10944 /* Override any GCC internal prototype to avoid an error.
10945 Use char because int might match the return type of a GCC
10946 builtin and then its argument prototype would still apply. */
10947 #ifdef __cplusplus
10948 extern "C"
10949 #endif
10950 char xmlReadMemory ();
10952 main ()
10954 return xmlReadMemory ();
10956 return 0;
10958 _ACEOF
10959 if ac_fn_c_try_link "$LINENO"; then :
10960 ac_cv_lib_xml2_xmlReadMemory=yes
10961 else
10962 ac_cv_lib_xml2_xmlReadMemory=no
10964 rm -f core conftest.err conftest.$ac_objext \
10965 conftest$ac_exeext conftest.$ac_ext
10966 LIBS=$ac_check_lib_save_LIBS
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10969 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10970 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10972 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10977 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10978 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10979 $as_echo_n "(cached) " >&6
10980 else
10981 ac_check_lib_save_LIBS=$LIBS
10982 LIBS="-lxml2 $XML2_LIBS $LIBS"
10983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10984 /* end confdefs.h. */
10986 /* Override any GCC internal prototype to avoid an error.
10987 Use char because int might match the return type of a GCC
10988 builtin and then its argument prototype would still apply. */
10989 #ifdef __cplusplus
10990 extern "C"
10991 #endif
10992 char xmlNewDocPI ();
10994 main ()
10996 return xmlNewDocPI ();
10998 return 0;
11000 _ACEOF
11001 if ac_fn_c_try_link "$LINENO"; then :
11002 ac_cv_lib_xml2_xmlNewDocPI=yes
11003 else
11004 ac_cv_lib_xml2_xmlNewDocPI=no
11006 rm -f core conftest.err conftest.$ac_objext \
11007 conftest$ac_exeext conftest.$ac_ext
11008 LIBS=$ac_check_lib_save_LIBS
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11011 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11012 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11014 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11019 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11020 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11021 $as_echo_n "(cached) " >&6
11022 else
11023 ac_check_lib_save_LIBS=$LIBS
11024 LIBS="-lxml2 $XML2_LIBS $LIBS"
11025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11026 /* end confdefs.h. */
11028 /* Override any GCC internal prototype to avoid an error.
11029 Use char because int might match the return type of a GCC
11030 builtin and then its argument prototype would still apply. */
11031 #ifdef __cplusplus
11032 extern "C"
11033 #endif
11034 char xmlSchemaSetParserStructuredErrors ();
11036 main ()
11038 return xmlSchemaSetParserStructuredErrors ();
11040 return 0;
11042 _ACEOF
11043 if ac_fn_c_try_link "$LINENO"; then :
11044 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11045 else
11046 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11048 rm -f core conftest.err conftest.$ac_objext \
11049 conftest$ac_exeext conftest.$ac_ext
11050 LIBS=$ac_check_lib_save_LIBS
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11053 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11054 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11056 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11061 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11062 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11063 $as_echo_n "(cached) " >&6
11064 else
11065 ac_check_lib_save_LIBS=$LIBS
11066 LIBS="-lxml2 $XML2_LIBS $LIBS"
11067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11068 /* end confdefs.h. */
11070 /* Override any GCC internal prototype to avoid an error.
11071 Use char because int might match the return type of a GCC
11072 builtin and then its argument prototype would still apply. */
11073 #ifdef __cplusplus
11074 extern "C"
11075 #endif
11076 char xmlSchemaSetValidStructuredErrors ();
11078 main ()
11080 return xmlSchemaSetValidStructuredErrors ();
11082 return 0;
11084 _ACEOF
11085 if ac_fn_c_try_link "$LINENO"; then :
11086 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11087 else
11088 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11090 rm -f core conftest.err conftest.$ac_objext \
11091 conftest$ac_exeext conftest.$ac_ext
11092 LIBS=$ac_check_lib_save_LIBS
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11095 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11096 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11098 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11103 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11104 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11105 $as_echo_n "(cached) " >&6
11106 else
11107 ac_check_lib_save_LIBS=$LIBS
11108 LIBS="-lxml2 $XML2_LIBS $LIBS"
11109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h. */
11112 /* Override any GCC internal prototype to avoid an error.
11113 Use char because int might match the return type of a GCC
11114 builtin and then its argument prototype would still apply. */
11115 #ifdef __cplusplus
11116 extern "C"
11117 #endif
11118 char xmlFirstElementChild ();
11120 main ()
11122 return xmlFirstElementChild ();
11124 return 0;
11126 _ACEOF
11127 if ac_fn_c_try_link "$LINENO"; then :
11128 ac_cv_lib_xml2_xmlFirstElementChild=yes
11129 else
11130 ac_cv_lib_xml2_xmlFirstElementChild=no
11132 rm -f core conftest.err conftest.$ac_objext \
11133 conftest$ac_exeext conftest.$ac_ext
11134 LIBS=$ac_check_lib_save_LIBS
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11137 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11138 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11140 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11144 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11146 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11148 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11152 else
11153 XML2_CFLAGS=""
11154 XML2_LIBS=""
11156 CPPFLAGS=$ac_save_CPPFLAGS
11157 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11158 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11161 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11162 case "x$with_xml" in
11163 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11164 xno) ;;
11165 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11166 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11167 esac
11171 if test "x$with_xslt" != "xno"
11172 then
11173 if ${XSLT_CFLAGS:+false} :; then :
11174 if ${PKG_CONFIG+:} false; then :
11175 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11178 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11179 if ${XSLT_LIBS:+false} :; then :
11180 if ${PKG_CONFIG+:} false; then :
11181 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11184 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11185 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11186 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11187 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11188 ac_save_CPPFLAGS=$CPPFLAGS
11189 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11190 for ac_header in libxslt/pattern.h libxslt/transform.h
11191 do :
11192 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11193 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11194 # include <libxslt/pattern.h>
11195 #endif
11197 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11198 cat >>confdefs.h <<_ACEOF
11199 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11200 _ACEOF
11204 done
11206 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11207 then
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11209 $as_echo_n "checking for -lxslt... " >&6; }
11210 if ${ac_cv_lib_soname_xslt+:} false; then :
11211 $as_echo_n "(cached) " >&6
11212 else
11213 ac_check_soname_save_LIBS=$LIBS
11214 LIBS="-lxslt $XSLT_LIBS $LIBS"
11215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11216 /* end confdefs.h. */
11218 /* Override any GCC internal prototype to avoid an error.
11219 Use char because int might match the return type of a GCC
11220 builtin and then its argument prototype would still apply. */
11221 #ifdef __cplusplus
11222 extern "C"
11223 #endif
11224 char xsltCompilePattern ();
11226 main ()
11228 return xsltCompilePattern ();
11230 return 0;
11232 _ACEOF
11233 if ac_fn_c_try_link "$LINENO"; then :
11234 case "$LIBEXT" in
11235 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11236 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'` ;;
11237 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11238 if ${ac_cv_lib_soname_xslt:+false} :; then :
11239 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11240 fi ;;
11241 esac
11243 rm -f core conftest.err conftest.$ac_objext \
11244 conftest$ac_exeext conftest.$ac_ext
11245 LIBS=$ac_check_soname_save_LIBS
11247 if ${ac_cv_lib_soname_xslt:+false} :; then :
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11249 $as_echo "not found" >&6; }
11251 else
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11253 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11255 cat >>confdefs.h <<_ACEOF
11256 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11257 _ACEOF
11261 else
11262 XSLT_CFLAGS=""
11264 CPPFLAGS=$ac_save_CPPFLAGS
11265 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11266 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11269 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11270 case "x$with_xslt" in
11271 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11272 xno) ;;
11273 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11274 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11275 esac
11279 if test "x$with_dbus" != "xno"
11280 then
11281 if ${DBUS_CFLAGS:+false} :; then :
11282 if ${PKG_CONFIG+:} false; then :
11283 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11287 if ${DBUS_LIBS:+false} :; then :
11288 if ${PKG_CONFIG+:} false; then :
11289 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11294 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11295 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11296 ac_save_CPPFLAGS=$CPPFLAGS
11297 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11298 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11299 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11301 $as_echo_n "checking for -ldbus-1... " >&6; }
11302 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11303 $as_echo_n "(cached) " >&6
11304 else
11305 ac_check_soname_save_LIBS=$LIBS
11306 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char dbus_connection_close ();
11318 main ()
11320 return dbus_connection_close ();
11322 return 0;
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 case "$LIBEXT" in
11327 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11328 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'` ;;
11329 *) 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'`
11330 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11331 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11332 fi ;;
11333 esac
11335 rm -f core conftest.err conftest.$ac_objext \
11336 conftest$ac_exeext conftest.$ac_ext
11337 LIBS=$ac_check_soname_save_LIBS
11339 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11341 $as_echo "not found" >&6; }
11342 DBUS_CFLAGS=""
11343 else
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11345 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11347 cat >>confdefs.h <<_ACEOF
11348 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11349 _ACEOF
11353 else
11354 DBUS_CFLAGS=""
11358 CPPFLAGS=$ac_save_CPPFLAGS
11359 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11360 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11363 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11364 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11365 case "x$with_dbus" in
11366 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11367 xno) ;;
11368 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11369 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11370 esac
11374 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11375 then
11376 if ${HAL_CFLAGS:+false} :; then :
11377 if ${PKG_CONFIG+:} false; then :
11378 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11382 if ${HAL_LIBS:+false} :; then :
11383 if ${PKG_CONFIG+:} false; then :
11384 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11388 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11389 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11390 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11391 ac_save_CPPFLAGS=$CPPFLAGS
11392 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11393 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11394 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11396 $as_echo_n "checking for -lhal... " >&6; }
11397 if ${ac_cv_lib_soname_hal+:} false; then :
11398 $as_echo_n "(cached) " >&6
11399 else
11400 ac_check_soname_save_LIBS=$LIBS
11401 LIBS="-lhal $HAL_LIBS $LIBS"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11408 #ifdef __cplusplus
11409 extern "C"
11410 #endif
11411 char libhal_ctx_new ();
11413 main ()
11415 return libhal_ctx_new ();
11417 return 0;
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"; then :
11421 case "$LIBEXT" in
11422 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11423 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'` ;;
11424 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11425 if ${ac_cv_lib_soname_hal:+false} :; then :
11426 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11427 fi ;;
11428 esac
11430 rm -f core conftest.err conftest.$ac_objext \
11431 conftest$ac_exeext conftest.$ac_ext
11432 LIBS=$ac_check_soname_save_LIBS
11434 if ${ac_cv_lib_soname_hal:+false} :; then :
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11436 $as_echo "not found" >&6; }
11437 HAL_CFLAGS=""
11438 else
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11440 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11442 cat >>confdefs.h <<_ACEOF
11443 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11444 _ACEOF
11448 else
11449 HAL_CFLAGS=""
11453 CPPFLAGS=$ac_save_CPPFLAGS
11454 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11455 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11457 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11458 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11459 case "x$with_hal" in
11460 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11461 xno) ;;
11462 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11463 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11464 esac
11469 if test "x$with_gnutls" != "xno"
11470 then
11471 if ${GNUTLS_CFLAGS:+false} :; then :
11472 if ${PKG_CONFIG+:} false; then :
11473 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11477 if ${GNUTLS_LIBS:+false} :; then :
11478 if ${PKG_CONFIG+:} false; then :
11479 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11484 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11485 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11486 ac_save_CPPFLAGS=$CPPFLAGS
11487 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11488 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11489 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11491 /* end confdefs.h. */
11492 #include <gnutls/gnutls.h>
11493 #include <gnutls/crypto.h>
11495 main ()
11497 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11499 return 0;
11501 _ACEOF
11502 if ac_fn_c_try_compile "$LINENO"; then :
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11504 $as_echo_n "checking for -lgnutls... " >&6; }
11505 if ${ac_cv_lib_soname_gnutls+:} false; then :
11506 $as_echo_n "(cached) " >&6
11507 else
11508 ac_check_soname_save_LIBS=$LIBS
11509 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11513 /* Override any GCC internal prototype to avoid an error.
11514 Use char because int might match the return type of a GCC
11515 builtin and then its argument prototype would still apply. */
11516 #ifdef __cplusplus
11517 extern "C"
11518 #endif
11519 char gnutls_global_init ();
11521 main ()
11523 return gnutls_global_init ();
11525 return 0;
11527 _ACEOF
11528 if ac_fn_c_try_link "$LINENO"; then :
11529 case "$LIBEXT" in
11530 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11531 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'` ;;
11532 *) 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'`
11533 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11534 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'`
11535 fi ;;
11536 esac
11538 rm -f core conftest.err conftest.$ac_objext \
11539 conftest$ac_exeext conftest.$ac_ext
11540 LIBS=$ac_check_soname_save_LIBS
11542 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11544 $as_echo "not found" >&6; }
11545 GNUTLS_CFLAGS=""
11546 else
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11548 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11550 cat >>confdefs.h <<_ACEOF
11551 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11552 _ACEOF
11556 ac_wine_check_funcs_save_LIBS="$LIBS"
11557 LIBS="$LIBS $GNUTLS_LIBS"
11558 for ac_func in gnutls_hash
11559 do :
11560 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11561 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11562 cat >>confdefs.h <<_ACEOF
11563 #define HAVE_GNUTLS_HASH 1
11564 _ACEOF
11566 else
11567 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11569 done
11571 LIBS="$ac_wine_check_funcs_save_LIBS"
11573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11574 else
11575 GNUTLS_CFLAGS=""
11579 CPPFLAGS=$ac_save_CPPFLAGS
11580 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11581 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11584 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11585 case "x$with_gnutls" in
11586 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11587 xno) ;;
11588 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11589 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11590 esac
11594 CURSES_LIBS=""
11595 if test "$ac_cv_header_ncurses_h" = "yes"
11596 then
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11598 $as_echo_n "checking for -lncurses... " >&6; }
11599 if ${ac_cv_lib_soname_ncurses+:} false; then :
11600 $as_echo_n "(cached) " >&6
11601 else
11602 ac_check_soname_save_LIBS=$LIBS
11603 LIBS="-lncurses $LIBS"
11604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11607 /* Override any GCC internal prototype to avoid an error.
11608 Use char because int might match the return type of a GCC
11609 builtin and then its argument prototype would still apply. */
11610 #ifdef __cplusplus
11611 extern "C"
11612 #endif
11613 char waddch ();
11615 main ()
11617 return waddch ();
11619 return 0;
11621 _ACEOF
11622 if ac_fn_c_try_link "$LINENO"; then :
11623 case "$LIBEXT" in
11624 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11625 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'` ;;
11626 *) 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'`
11627 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11628 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11629 fi ;;
11630 esac
11632 rm -f core conftest.err conftest.$ac_objext \
11633 conftest$ac_exeext conftest.$ac_ext
11634 LIBS=$ac_check_soname_save_LIBS
11636 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11638 $as_echo "not found" >&6; }
11640 else
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11642 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11644 cat >>confdefs.h <<_ACEOF
11645 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11646 _ACEOF
11648 CURSES_LIBS="-lncurses"
11650 elif test "$ac_cv_header_curses_h" = "yes"
11651 then
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11653 $as_echo_n "checking for -lcurses... " >&6; }
11654 if ${ac_cv_lib_soname_curses+:} false; then :
11655 $as_echo_n "(cached) " >&6
11656 else
11657 ac_check_soname_save_LIBS=$LIBS
11658 LIBS="-lcurses $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 waddch ();
11670 main ()
11672 return waddch ();
11674 return 0;
11676 _ACEOF
11677 if ac_fn_c_try_link "$LINENO"; then :
11678 case "$LIBEXT" in
11679 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11680 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'` ;;
11681 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11682 if ${ac_cv_lib_soname_curses:+false} :; then :
11683 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$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_curses:+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_curses" >&5
11697 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11699 cat >>confdefs.h <<_ACEOF
11700 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11701 _ACEOF
11703 CURSES_LIBS="-lcurses"
11706 ac_save_LIBS="$LIBS"
11707 LIBS="$LIBS $CURSES_LIBS"
11708 for ac_func in mousemask
11709 do :
11710 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11711 if test "x$ac_cv_func_mousemask" = xyes; then :
11712 cat >>confdefs.h <<_ACEOF
11713 #define HAVE_MOUSEMASK 1
11714 _ACEOF
11717 done
11719 LIBS="$ac_save_LIBS"
11720 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11721 case "x$with_curses" in
11722 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11723 xno) ;;
11724 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11725 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11726 esac
11730 if test "x$with_sane" != "xno"
11731 then
11732 if ${SANE_CFLAGS:+false} :; then :
11733 if ${PKG_CONFIG+:} false; then :
11734 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11737 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11738 if ${SANE_LIBS:+false} :; then :
11739 if ${PKG_CONFIG+:} false; then :
11740 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11743 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11745 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11746 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11747 ac_save_CPPFLAGS=$CPPFLAGS
11748 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11749 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11750 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11752 $as_echo_n "checking for -lsane... " >&6; }
11753 if ${ac_cv_lib_soname_sane+:} false; then :
11754 $as_echo_n "(cached) " >&6
11755 else
11756 ac_check_soname_save_LIBS=$LIBS
11757 LIBS="-lsane $SANE_LIBS $LIBS"
11758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11759 /* end confdefs.h. */
11761 /* Override any GCC internal prototype to avoid an error.
11762 Use char because int might match the return type of a GCC
11763 builtin and then its argument prototype would still apply. */
11764 #ifdef __cplusplus
11765 extern "C"
11766 #endif
11767 char sane_init ();
11769 main ()
11771 return sane_init ();
11773 return 0;
11775 _ACEOF
11776 if ac_fn_c_try_link "$LINENO"; then :
11777 case "$LIBEXT" in
11778 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11779 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'` ;;
11780 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11781 if ${ac_cv_lib_soname_sane:+false} :; then :
11782 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11783 fi ;;
11784 esac
11786 rm -f core conftest.err conftest.$ac_objext \
11787 conftest$ac_exeext conftest.$ac_ext
11788 LIBS=$ac_check_soname_save_LIBS
11790 if ${ac_cv_lib_soname_sane:+false} :; then :
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11792 $as_echo "not found" >&6; }
11793 SANE_CFLAGS=""
11794 else
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11796 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11798 cat >>confdefs.h <<_ACEOF
11799 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11800 _ACEOF
11804 else
11805 SANE_CFLAGS=""
11809 CPPFLAGS=$ac_save_CPPFLAGS
11810 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11811 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11814 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11815 case "x$with_sane" in
11816 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11817 xno) ;;
11818 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11819 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11820 esac
11824 if test "x$with_v4l" != "xno"
11825 then
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11827 $as_echo_n "checking for -lv4l1... " >&6; }
11828 if ${ac_cv_lib_soname_v4l1+:} false; then :
11829 $as_echo_n "(cached) " >&6
11830 else
11831 ac_check_soname_save_LIBS=$LIBS
11832 LIBS="-lv4l1 $LIBS"
11833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11836 /* Override any GCC internal prototype to avoid an error.
11837 Use char because int might match the return type of a GCC
11838 builtin and then its argument prototype would still apply. */
11839 #ifdef __cplusplus
11840 extern "C"
11841 #endif
11842 char v4l1_open ();
11844 main ()
11846 return v4l1_open ();
11848 return 0;
11850 _ACEOF
11851 if ac_fn_c_try_link "$LINENO"; then :
11852 case "$LIBEXT" in
11853 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11854 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'` ;;
11855 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11856 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11857 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11858 fi ;;
11859 esac
11861 rm -f core conftest.err conftest.$ac_objext \
11862 conftest$ac_exeext conftest.$ac_ext
11863 LIBS=$ac_check_soname_save_LIBS
11865 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11867 $as_echo "not found" >&6; }
11869 else
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11871 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11873 cat >>confdefs.h <<_ACEOF
11874 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11875 _ACEOF
11880 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11881 case "x$with_v4l" in
11882 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11883 xno) ;;
11884 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11885 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11886 esac
11890 if test "x$with_gphoto" != "xno"
11891 then
11892 if ${GPHOTO2_CFLAGS:+false} :; then :
11893 if ${PKG_CONFIG+:} false; then :
11894 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11897 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11898 if ${GPHOTO2_LIBS:+false} :; then :
11899 if ${PKG_CONFIG+:} false; then :
11900 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11903 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11904 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11905 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11906 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11907 ac_save_CPPFLAGS=$CPPFLAGS
11908 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11909 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11910 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11912 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11913 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11914 $as_echo_n "(cached) " >&6
11915 else
11916 ac_check_lib_save_LIBS=$LIBS
11917 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11921 /* Override any GCC internal prototype to avoid an error.
11922 Use char because int might match the return type of a GCC
11923 builtin and then its argument prototype would still apply. */
11924 #ifdef __cplusplus
11925 extern "C"
11926 #endif
11927 char gp_camera_new ();
11929 main ()
11931 return gp_camera_new ();
11933 return 0;
11935 _ACEOF
11936 if ac_fn_c_try_link "$LINENO"; then :
11937 ac_cv_lib_gphoto2_gp_camera_new=yes
11938 else
11939 ac_cv_lib_gphoto2_gp_camera_new=no
11941 rm -f core conftest.err conftest.$ac_objext \
11942 conftest$ac_exeext conftest.$ac_ext
11943 LIBS=$ac_check_lib_save_LIBS
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11946 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11947 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11949 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11951 else
11952 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11955 else
11956 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11960 CPPFLAGS=$ac_save_CPPFLAGS
11961 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11962 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11964 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11965 if ${PKG_CONFIG+:} false; then :
11966 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11969 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11970 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11971 if ${PKG_CONFIG+:} false; then :
11972 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11975 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
11976 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11977 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11978 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11979 ac_save_CPPFLAGS=$CPPFLAGS
11980 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11981 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11982 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11984 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11985 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11986 $as_echo_n "(cached) " >&6
11987 else
11988 ac_check_lib_save_LIBS=$LIBS
11989 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11991 /* end confdefs.h. */
11993 /* Override any GCC internal prototype to avoid an error.
11994 Use char because int might match the return type of a GCC
11995 builtin and then its argument prototype would still apply. */
11996 #ifdef __cplusplus
11997 extern "C"
11998 #endif
11999 char gp_port_info_list_new ();
12001 main ()
12003 return gp_port_info_list_new ();
12005 return 0;
12007 _ACEOF
12008 if ac_fn_c_try_link "$LINENO"; then :
12009 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12010 else
12011 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12013 rm -f core conftest.err conftest.$ac_objext \
12014 conftest$ac_exeext conftest.$ac_ext
12015 LIBS=$ac_check_lib_save_LIBS
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12018 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12019 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12021 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12023 else
12024 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12027 else
12028 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12032 CPPFLAGS=$ac_save_CPPFLAGS
12033 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12034 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12037 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12038 case "x$with_gphoto" in
12039 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12040 xno) ;;
12041 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12042 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12043 esac
12046 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12047 case "x$with_gphoto" in
12048 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12049 xno) ;;
12050 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12051 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12052 esac
12057 if test "$ac_cv_header_resolv_h" = "yes"
12058 then
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12060 $as_echo_n "checking for resolver library... " >&6; }
12061 if ${ac_cv_have_resolv+:} false; then :
12062 $as_echo_n "(cached) " >&6
12063 else
12064 ac_save_LIBS="$LIBS"
12065 for lib in '' -lresolv
12067 LIBS="$lib $ac_save_LIBS"
12068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12070 #ifdef HAVE_NETINET_IN_H
12071 #include <netinet/in.h>
12072 #endif
12073 #include <resolv.h>
12075 main ()
12077 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12079 return 0;
12081 _ACEOF
12082 if ac_fn_c_try_link "$LINENO"; then :
12083 ac_cv_have_resolv=${lib:-"none required"}
12084 else
12085 ac_cv_have_resolv="not found"
12087 rm -f core conftest.err conftest.$ac_objext \
12088 conftest$ac_exeext conftest.$ac_ext
12089 test "x$ac_cv_have_resolv" = "xnot found" || break
12090 done
12091 LIBS="$ac_save_LIBS"
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12094 $as_echo "$ac_cv_have_resolv" >&6; }
12096 case "$ac_cv_have_resolv" in
12097 "not found") ;;
12098 "none required")
12100 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12103 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12105 RESOLV_LIBS=$ac_cv_have_resolv
12107 esac
12110 if test "x$with_cms" != "xno"
12111 then
12112 if ${LCMS2_CFLAGS:+false} :; then :
12113 if ${PKG_CONFIG+:} false; then :
12114 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12118 if ${LCMS2_LIBS:+false} :; then :
12119 if ${PKG_CONFIG+:} false; then :
12120 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12124 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12125 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12126 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12127 ac_save_CPPFLAGS=$CPPFLAGS
12128 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12129 for ac_header in lcms2.h
12130 do :
12131 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12132 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12133 cat >>confdefs.h <<_ACEOF
12134 #define HAVE_LCMS2_H 1
12135 _ACEOF
12139 done
12141 if test "$ac_cv_header_lcms2_h" = "yes"
12142 then
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12144 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12145 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12146 $as_echo_n "(cached) " >&6
12147 else
12148 ac_check_lib_save_LIBS=$LIBS
12149 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12153 /* Override any GCC internal prototype to avoid an error.
12154 Use char because int might match the return type of a GCC
12155 builtin and then its argument prototype would still apply. */
12156 #ifdef __cplusplus
12157 extern "C"
12158 #endif
12159 char cmsOpenProfileFromFile ();
12161 main ()
12163 return cmsOpenProfileFromFile ();
12165 return 0;
12167 _ACEOF
12168 if ac_fn_c_try_link "$LINENO"; then :
12169 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12170 else
12171 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12173 rm -f core conftest.err conftest.$ac_objext \
12174 conftest$ac_exeext conftest.$ac_ext
12175 LIBS=$ac_check_lib_save_LIBS
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12178 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12179 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12181 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12183 else
12184 LCMS2_LIBS=""
12187 else
12188 LCMS2_CFLAGS=""
12189 LCMS2_LIBS=""
12191 CPPFLAGS=$ac_save_CPPFLAGS
12192 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12193 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12196 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12197 case "x$with_cms" in
12198 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12199 xno) ;;
12200 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12201 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12202 esac
12206 if test "x$with_freetype" != "xno"
12207 then
12208 if ${FREETYPE_CFLAGS:+false} :; then :
12209 if ${PKG_CONFIG+:} false; then :
12210 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12213 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12214 if ${FREETYPE_LIBS:+false} :; then :
12215 if ${PKG_CONFIG+:} false; then :
12216 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12219 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12220 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12221 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12222 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12223 ac_save_CPPFLAGS=$CPPFLAGS
12224 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12225 for ac_header in ft2build.h
12226 do :
12227 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12228 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12229 cat >>confdefs.h <<_ACEOF
12230 #define HAVE_FT2BUILD_H 1
12231 _ACEOF
12235 done
12237 if test "$ac_cv_header_ft2build_h" = "yes"
12238 then
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12240 $as_echo_n "checking for -lfreetype... " >&6; }
12241 if ${ac_cv_lib_soname_freetype+:} false; then :
12242 $as_echo_n "(cached) " >&6
12243 else
12244 ac_check_soname_save_LIBS=$LIBS
12245 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12247 /* end confdefs.h. */
12249 /* Override any GCC internal prototype to avoid an error.
12250 Use char because int might match the return type of a GCC
12251 builtin and then its argument prototype would still apply. */
12252 #ifdef __cplusplus
12253 extern "C"
12254 #endif
12255 char FT_Init_FreeType ();
12257 main ()
12259 return FT_Init_FreeType ();
12261 return 0;
12263 _ACEOF
12264 if ac_fn_c_try_link "$LINENO"; then :
12265 case "$LIBEXT" in
12266 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12267 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'` ;;
12268 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12269 if ${ac_cv_lib_soname_freetype:+false} :; then :
12270 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12271 fi ;;
12272 esac
12274 rm -f core conftest.err conftest.$ac_objext \
12275 conftest$ac_exeext conftest.$ac_ext
12276 LIBS=$ac_check_soname_save_LIBS
12278 if ${ac_cv_lib_soname_freetype:+false} :; then :
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12280 $as_echo "not found" >&6; }
12281 FREETYPE_LIBS=""
12282 else
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12284 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12286 cat >>confdefs.h <<_ACEOF
12287 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12288 _ACEOF
12291 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12293 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12294 #include FT_MODULE_H
12296 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12298 cat >>confdefs.h <<_ACEOF
12299 #define HAVE_FT_TRUETYPEENGINETYPE 1
12300 _ACEOF
12306 else
12307 FREETYPE_CFLAGS=""
12308 FREETYPE_LIBS=""
12310 CPPFLAGS=$ac_save_CPPFLAGS
12311 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12312 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12315 if test "x$ac_cv_lib_soname_freetype" = x; then :
12316 case "x$with_freetype" in
12317 xno) ;;
12318 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12319 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12320 esac
12321 enable_fonts=${enable_fonts:-no}
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12325 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12326 if ${ac_cv_c_ppdev+:} false; then :
12327 $as_echo_n "(cached) " >&6
12328 else
12329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h. */
12331 #ifdef HAVE_SYS_IOCTL_H
12332 # include <sys/ioctl.h>
12333 #endif
12334 #include <linux/ppdev.h>
12336 main ()
12338 ioctl (1,PPCLAIM,0)
12340 return 0;
12342 _ACEOF
12343 if ac_fn_c_try_compile "$LINENO"; then :
12344 ac_cv_c_ppdev="yes"
12345 else
12346 ac_cv_c_ppdev="no"
12348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12351 $as_echo "$ac_cv_c_ppdev" >&6; }
12352 if test "$ac_cv_c_ppdev" = "yes"
12353 then
12355 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12359 ac_wine_check_funcs_save_LIBS="$LIBS"
12360 LIBS="$LIBS $PTHREAD_LIBS"
12361 for ac_func in \
12362 pthread_attr_get_np \
12363 pthread_getattr_np \
12364 pthread_getthreadid_np \
12365 pthread_get_stackaddr_np \
12366 pthread_get_stacksize_np
12367 do :
12368 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12369 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12370 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12371 cat >>confdefs.h <<_ACEOF
12372 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12373 _ACEOF
12376 done
12378 LIBS="$ac_wine_check_funcs_save_LIBS"
12380 if test "$ac_cv_header_zlib_h" = "yes"
12381 then
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12383 $as_echo_n "checking for inflate in -lz... " >&6; }
12384 if ${ac_cv_lib_z_inflate+:} false; then :
12385 $as_echo_n "(cached) " >&6
12386 else
12387 ac_check_lib_save_LIBS=$LIBS
12388 LIBS="-lz $LIBS"
12389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */
12392 /* Override any GCC internal prototype to avoid an error.
12393 Use char because int might match the return type of a GCC
12394 builtin and then its argument prototype would still apply. */
12395 #ifdef __cplusplus
12396 extern "C"
12397 #endif
12398 char inflate ();
12400 main ()
12402 return inflate ();
12404 return 0;
12406 _ACEOF
12407 if ac_fn_c_try_link "$LINENO"; then :
12408 ac_cv_lib_z_inflate=yes
12409 else
12410 ac_cv_lib_z_inflate=no
12412 rm -f core conftest.err conftest.$ac_objext \
12413 conftest$ac_exeext conftest.$ac_ext
12414 LIBS=$ac_check_lib_save_LIBS
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12417 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12418 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12420 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12422 Z_LIBS="-lz"
12427 if test "x$Z_LIBS" = "x"; then :
12428 case "x$with_zlib" in
12429 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12430 xno) ;;
12431 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12432 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12433 esac
12437 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12438 then
12439 if test "$ac_cv_header_gettext_po_h" = "yes"
12440 then
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12442 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12443 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12444 $as_echo_n "(cached) " >&6
12445 else
12446 ac_check_lib_save_LIBS=$LIBS
12447 LIBS="-lgettextpo $LIBS"
12448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12449 /* end confdefs.h. */
12451 /* Override any GCC internal prototype to avoid an error.
12452 Use char because int might match the return type of a GCC
12453 builtin and then its argument prototype would still apply. */
12454 #ifdef __cplusplus
12455 extern "C"
12456 #endif
12457 char po_message_msgctxt ();
12459 main ()
12461 return po_message_msgctxt ();
12463 return 0;
12465 _ACEOF
12466 if ac_fn_c_try_link "$LINENO"; then :
12467 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12468 else
12469 ac_cv_lib_gettextpo_po_message_msgctxt=no
12471 rm -f core conftest.err conftest.$ac_objext \
12472 conftest$ac_exeext conftest.$ac_ext
12473 LIBS=$ac_check_lib_save_LIBS
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12476 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12477 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12479 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12481 GETTEXTPO_LIBS="-lgettextpo"
12486 if test "x$GETTEXTPO_LIBS" = "x"; then :
12487 case "x$with_gettextpo" in
12488 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12489 xno) ;;
12490 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12491 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12492 esac
12495 if test "$srcdir" != .; then :
12496 case "x$with_gettextpo" in
12497 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12498 xno) ;;
12499 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12500 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12501 esac
12506 if test "x$with_pulse" != "xno";
12507 then
12508 if ${PULSE_CFLAGS:+false} :; then :
12509 if ${PKG_CONFIG+:} false; then :
12510 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12514 if ${PULSE_LIBS:+false} :; then :
12515 if ${PKG_CONFIG+:} false; then :
12516 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12521 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12522 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12523 ac_save_CPPFLAGS=$CPPFLAGS
12524 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12525 for ac_header in pulse/pulseaudio.h
12526 do :
12527 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12528 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12529 cat >>confdefs.h <<_ACEOF
12530 #define HAVE_PULSE_PULSEAUDIO_H 1
12531 _ACEOF
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12533 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12534 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12535 $as_echo_n "(cached) " >&6
12536 else
12537 ac_check_lib_save_LIBS=$LIBS
12538 LIBS="-lpulse $PULSE_LIBS $LIBS"
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12542 /* Override any GCC internal prototype to avoid an error.
12543 Use char because int might match the return type of a GCC
12544 builtin and then its argument prototype would still apply. */
12545 #ifdef __cplusplus
12546 extern "C"
12547 #endif
12548 char pa_stream_is_corked ();
12550 main ()
12552 return pa_stream_is_corked ();
12554 return 0;
12556 _ACEOF
12557 if ac_fn_c_try_link "$LINENO"; then :
12558 ac_cv_lib_pulse_pa_stream_is_corked=yes
12559 else
12560 ac_cv_lib_pulse_pa_stream_is_corked=no
12562 rm -f core conftest.err conftest.$ac_objext \
12563 conftest$ac_exeext conftest.$ac_ext
12564 LIBS=$ac_check_lib_save_LIBS
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12567 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12568 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12570 else
12571 PULSE_LIBS=""
12574 else
12575 PULSE_LIBS=""
12578 done
12580 CPPFLAGS=$ac_save_CPPFLAGS
12581 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12582 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12585 if test -z "$PULSE_LIBS"; then :
12586 case "x$with_pulse" in
12587 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12588 xno) ;;
12589 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12590 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12591 esac
12592 enable_winepulse_drv=${enable_winepulse_drv:-no}
12595 if test "x$with_gstreamer" != "xno"
12596 then
12597 if ${GSTREAMER_CFLAGS:+false} :; then :
12598 if ${PKG_CONFIG+:} false; then :
12599 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12603 if ${GSTREAMER_LIBS:+false} :; then :
12604 if ${PKG_CONFIG+:} false; then :
12605 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12610 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12611 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12612 ac_save_CPPFLAGS=$CPPFLAGS
12613 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12614 ac_gst_incl=""
12615 for i in $GSTREAMER_CFLAGS
12617 case "$i" in
12618 -I*) ac_gst_incl="$ac_gst_incl $i";;
12619 esac
12620 done
12621 GSTREAMER_CFLAGS=$ac_gst_incl
12622 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12623 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12624 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12626 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12628 /* end confdefs.h. */
12629 #include <gst/gst.h>
12631 main ()
12633 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12635 return 0;
12637 _ACEOF
12638 if ac_fn_c_try_compile "$LINENO"; then :
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12640 $as_echo "yes" >&6; }
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12642 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12643 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12644 $as_echo_n "(cached) " >&6
12645 else
12646 ac_check_lib_save_LIBS=$LIBS
12647 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12649 /* end confdefs.h. */
12651 /* Override any GCC internal prototype to avoid an error.
12652 Use char because int might match the return type of a GCC
12653 builtin and then its argument prototype would still apply. */
12654 #ifdef __cplusplus
12655 extern "C"
12656 #endif
12657 char gst_pad_new ();
12659 main ()
12661 return gst_pad_new ();
12663 return 0;
12665 _ACEOF
12666 if ac_fn_c_try_link "$LINENO"; then :
12667 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12668 else
12669 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12671 rm -f core conftest.err conftest.$ac_objext \
12672 conftest$ac_exeext conftest.$ac_ext
12673 LIBS=$ac_check_lib_save_LIBS
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12676 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12677 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12681 else
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12683 $as_echo "no" >&6; }
12684 ac_glib2_broken=yes
12685 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12691 CPPFLAGS=$ac_save_CPPFLAGS
12692 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12693 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12696 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 :
12697 case "x$with_gstreamer" in
12698 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12699 xno) ;;
12700 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12701 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12702 esac
12705 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12707 ALSA_LIBS=""
12709 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12710 then
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12712 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12713 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12714 $as_echo_n "(cached) " >&6
12715 else
12716 ac_check_lib_save_LIBS=$LIBS
12717 LIBS="-lasound $LIBS"
12718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12721 /* Override any GCC internal prototype to avoid an error.
12722 Use char because int might match the return type of a GCC
12723 builtin and then its argument prototype would still apply. */
12724 #ifdef __cplusplus
12725 extern "C"
12726 #endif
12727 char snd_pcm_hw_params_get_access_mask ();
12729 main ()
12731 return snd_pcm_hw_params_get_access_mask ();
12733 return 0;
12735 _ACEOF
12736 if ac_fn_c_try_link "$LINENO"; then :
12737 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12738 else
12739 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12741 rm -f core conftest.err conftest.$ac_objext \
12742 conftest$ac_exeext conftest.$ac_ext
12743 LIBS=$ac_check_lib_save_LIBS
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12746 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12747 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12750 #ifdef HAVE_ALSA_ASOUNDLIB_H
12751 #include <alsa/asoundlib.h>
12752 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12753 #include <sys/asoundlib.h>
12754 #endif
12756 main ()
12758 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12760 return 0;
12762 _ACEOF
12763 if ac_fn_c_try_compile "$LINENO"; then :
12764 ALSA_LIBS="-lasound"
12766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12770 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12772 if test "x$with_oss" != xno
12773 then
12774 ac_save_CPPFLAGS="$CPPFLAGS"
12775 if test -f /etc/oss.conf
12776 then
12777 . /etc/oss.conf
12779 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12780 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12781 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12782 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12783 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12785 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12787 cat >>confdefs.h <<_ACEOF
12788 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12789 _ACEOF
12791 OSS4_CFLAGS="$ac_oss_incl"
12798 CPPFLAGS="$ac_save_CPPFLAGS"
12800 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12801 case "x$with_oss" in
12802 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12803 xno) ;;
12804 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12805 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12806 esac
12807 enable_wineoss_drv=${enable_wineoss_drv:-no}
12810 if test "x$with_capi" != "xno"
12811 then
12812 if ${CAPI20_CFLAGS:+false} :; then :
12813 if ${PKG_CONFIG+:} false; then :
12814 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12818 if ${CAPI20_LIBS:+false} :; then :
12819 if ${PKG_CONFIG+:} false; then :
12820 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12825 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12826 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12827 ac_save_CPPFLAGS=$CPPFLAGS
12828 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12829 for ac_header in capi20.h linux/capi.h
12830 do :
12831 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12832 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12834 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12835 cat >>confdefs.h <<_ACEOF
12836 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12837 _ACEOF
12841 done
12843 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12844 then
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12846 $as_echo_n "checking for -lcapi20... " >&6; }
12847 if ${ac_cv_lib_soname_capi20+:} false; then :
12848 $as_echo_n "(cached) " >&6
12849 else
12850 ac_check_soname_save_LIBS=$LIBS
12851 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h. */
12855 /* Override any GCC internal prototype to avoid an error.
12856 Use char because int might match the return type of a GCC
12857 builtin and then its argument prototype would still apply. */
12858 #ifdef __cplusplus
12859 extern "C"
12860 #endif
12861 char capi20_register ();
12863 main ()
12865 return capi20_register ();
12867 return 0;
12869 _ACEOF
12870 if ac_fn_c_try_link "$LINENO"; then :
12871 case "$LIBEXT" in
12872 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12873 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'` ;;
12874 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12875 if ${ac_cv_lib_soname_capi20:+false} :; then :
12876 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12877 fi ;;
12878 esac
12880 rm -f core conftest.err conftest.$ac_objext \
12881 conftest$ac_exeext conftest.$ac_ext
12882 LIBS=$ac_check_soname_save_LIBS
12884 if ${ac_cv_lib_soname_capi20:+false} :; then :
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12886 $as_echo "not found" >&6; }
12888 else
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12890 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12892 cat >>confdefs.h <<_ACEOF
12893 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12894 _ACEOF
12899 CPPFLAGS=$ac_save_CPPFLAGS
12900 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12901 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12904 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12905 case "x$with_capi" in
12906 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12907 xno) ;;
12908 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12909 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12910 esac
12914 CUPS_CFLAGS=""
12916 if test "x$with_cups" != "xno"
12917 then
12918 ac_save_CPPFLAGS="$CPPFLAGS"
12919 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12920 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12921 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12922 for ac_header in cups/cups.h
12923 do :
12924 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12925 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12926 cat >>confdefs.h <<_ACEOF
12927 #define HAVE_CUPS_CUPS_H 1
12928 _ACEOF
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12930 $as_echo_n "checking for -lcups... " >&6; }
12931 if ${ac_cv_lib_soname_cups+:} false; then :
12932 $as_echo_n "(cached) " >&6
12933 else
12934 ac_check_soname_save_LIBS=$LIBS
12935 LIBS="-lcups $ac_cups_libs $LIBS"
12936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12937 /* end confdefs.h. */
12939 /* Override any GCC internal prototype to avoid an error.
12940 Use char because int might match the return type of a GCC
12941 builtin and then its argument prototype would still apply. */
12942 #ifdef __cplusplus
12943 extern "C"
12944 #endif
12945 char cupsGetDefault ();
12947 main ()
12949 return cupsGetDefault ();
12951 return 0;
12953 _ACEOF
12954 if ac_fn_c_try_link "$LINENO"; then :
12955 case "$LIBEXT" in
12956 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12957 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'` ;;
12958 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12959 if ${ac_cv_lib_soname_cups:+false} :; then :
12960 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12961 fi ;;
12962 esac
12964 rm -f core conftest.err conftest.$ac_objext \
12965 conftest$ac_exeext conftest.$ac_ext
12966 LIBS=$ac_check_soname_save_LIBS
12968 if ${ac_cv_lib_soname_cups:+false} :; then :
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12970 $as_echo "not found" >&6; }
12972 else
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12974 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12976 cat >>confdefs.h <<_ACEOF
12977 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12978 _ACEOF
12980 CUPS_CFLAGS="$ac_cups_cflags"
12984 done
12986 CPPFLAGS="$ac_save_CPPFLAGS"
12988 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12989 case "x$with_cups" in
12990 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12991 xno) ;;
12992 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12993 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12994 esac
12998 if test "x$with_fontconfig" != "xno"
12999 then
13000 if ${FONTCONFIG_CFLAGS:+false} :; then :
13001 if ${PKG_CONFIG+:} false; then :
13002 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13005 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13006 if ${FONTCONFIG_LIBS:+false} :; then :
13007 if ${PKG_CONFIG+:} false; then :
13008 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13011 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13013 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13014 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13015 ac_save_CPPFLAGS=$CPPFLAGS
13016 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13017 for ac_header in fontconfig/fontconfig.h
13018 do :
13019 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13020 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13021 cat >>confdefs.h <<_ACEOF
13022 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13023 _ACEOF
13027 done
13029 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13030 then
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13032 $as_echo_n "checking for -lfontconfig... " >&6; }
13033 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13034 $as_echo_n "(cached) " >&6
13035 else
13036 ac_check_soname_save_LIBS=$LIBS
13037 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13039 /* end confdefs.h. */
13041 /* Override any GCC internal prototype to avoid an error.
13042 Use char because int might match the return type of a GCC
13043 builtin and then its argument prototype would still apply. */
13044 #ifdef __cplusplus
13045 extern "C"
13046 #endif
13047 char FcInit ();
13049 main ()
13051 return FcInit ();
13053 return 0;
13055 _ACEOF
13056 if ac_fn_c_try_link "$LINENO"; then :
13057 case "$LIBEXT" in
13058 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13059 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'` ;;
13060 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13061 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13062 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13063 fi ;;
13064 esac
13066 rm -f core conftest.err conftest.$ac_objext \
13067 conftest$ac_exeext conftest.$ac_ext
13068 LIBS=$ac_check_soname_save_LIBS
13070 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13072 $as_echo "not found" >&6; }
13073 FONTCONFIG_CFLAGS=""
13074 else
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13076 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13078 cat >>confdefs.h <<_ACEOF
13079 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13080 _ACEOF
13084 else
13085 FONTCONFIG_CFLAGS=""
13087 CPPFLAGS=$ac_save_CPPFLAGS
13088 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13089 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13092 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13093 case "x$with_fontconfig" in
13094 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13095 xno) ;;
13096 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13097 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13098 esac
13102 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13103 then
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13105 $as_echo_n "checking for -lgsm... " >&6; }
13106 if ${ac_cv_lib_soname_gsm+:} false; then :
13107 $as_echo_n "(cached) " >&6
13108 else
13109 ac_check_soname_save_LIBS=$LIBS
13110 LIBS="-lgsm $LIBS"
13111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h. */
13114 /* Override any GCC internal prototype to avoid an error.
13115 Use char because int might match the return type of a GCC
13116 builtin and then its argument prototype would still apply. */
13117 #ifdef __cplusplus
13118 extern "C"
13119 #endif
13120 char gsm_create ();
13122 main ()
13124 return gsm_create ();
13126 return 0;
13128 _ACEOF
13129 if ac_fn_c_try_link "$LINENO"; then :
13130 case "$LIBEXT" in
13131 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13132 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'` ;;
13133 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13134 if ${ac_cv_lib_soname_gsm:+false} :; then :
13135 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13136 fi ;;
13137 esac
13139 rm -f core conftest.err conftest.$ac_objext \
13140 conftest$ac_exeext conftest.$ac_ext
13141 LIBS=$ac_check_soname_save_LIBS
13143 if ${ac_cv_lib_soname_gsm:+false} :; then :
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13145 $as_echo "not found" >&6; }
13147 else
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13149 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13151 cat >>confdefs.h <<_ACEOF
13152 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13153 _ACEOF
13158 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13159 case "x$with_gsm" in
13160 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13161 xno) ;;
13162 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13163 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13164 esac
13168 if test "x$with_jpeg" != "xno"
13169 then
13170 if ${JPEG_CFLAGS:+false} :; then :
13171 if ${PKG_CONFIG+:} false; then :
13172 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13176 if ${JPEG_LIBS:+false} :; then :
13177 if ${PKG_CONFIG+:} false; then :
13178 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13183 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13184 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13185 ac_save_CPPFLAGS=$CPPFLAGS
13186 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13187 for ac_header in jpeglib.h
13188 do :
13189 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13190 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13191 cat >>confdefs.h <<_ACEOF
13192 #define HAVE_JPEGLIB_H 1
13193 _ACEOF
13197 done
13199 if test "$ac_cv_header_jpeglib_h" = "yes"
13200 then
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13202 $as_echo_n "checking for -ljpeg... " >&6; }
13203 if ${ac_cv_lib_soname_jpeg+:} false; then :
13204 $as_echo_n "(cached) " >&6
13205 else
13206 ac_check_soname_save_LIBS=$LIBS
13207 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h. */
13211 /* Override any GCC internal prototype to avoid an error.
13212 Use char because int might match the return type of a GCC
13213 builtin and then its argument prototype would still apply. */
13214 #ifdef __cplusplus
13215 extern "C"
13216 #endif
13217 char jpeg_start_decompress ();
13219 main ()
13221 return jpeg_start_decompress ();
13223 return 0;
13225 _ACEOF
13226 if ac_fn_c_try_link "$LINENO"; then :
13227 case "$LIBEXT" in
13228 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13229 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'` ;;
13230 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13231 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13232 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13233 fi ;;
13234 esac
13236 rm -f core conftest.err conftest.$ac_objext \
13237 conftest$ac_exeext conftest.$ac_ext
13238 LIBS=$ac_check_soname_save_LIBS
13240 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13242 $as_echo "not found" >&6; }
13243 JPEG_CFLAGS=""
13244 else
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13246 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13248 cat >>confdefs.h <<_ACEOF
13249 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13250 _ACEOF
13254 else
13255 JPEG_CFLAGS=""
13257 CPPFLAGS=$ac_save_CPPFLAGS
13258 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13259 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13262 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13263 case "x$with_jpeg" in
13264 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13265 xno) ;;
13266 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13267 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13268 esac
13272 if test "x$with_png" != "xno"
13273 then
13274 if ${PNG_CFLAGS:+false} :; then :
13275 if ${PKG_CONFIG+:} false; then :
13276 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13279 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13280 if ${PNG_LIBS:+false} :; then :
13281 if ${PKG_CONFIG+:} false; then :
13282 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13285 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13287 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13288 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13289 ac_save_CPPFLAGS=$CPPFLAGS
13290 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13291 for ac_header in png.h
13292 do :
13293 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13294 if test "x$ac_cv_header_png_h" = xyes; then :
13295 cat >>confdefs.h <<_ACEOF
13296 #define HAVE_PNG_H 1
13297 _ACEOF
13301 done
13303 if test "$ac_cv_header_png_h" = "yes"
13304 then
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13306 $as_echo_n "checking for -lpng... " >&6; }
13307 if ${ac_cv_lib_soname_png+:} false; then :
13308 $as_echo_n "(cached) " >&6
13309 else
13310 ac_check_soname_save_LIBS=$LIBS
13311 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13313 /* end confdefs.h. */
13315 /* Override any GCC internal prototype to avoid an error.
13316 Use char because int might match the return type of a GCC
13317 builtin and then its argument prototype would still apply. */
13318 #ifdef __cplusplus
13319 extern "C"
13320 #endif
13321 char png_create_read_struct ();
13323 main ()
13325 return png_create_read_struct ();
13327 return 0;
13329 _ACEOF
13330 if ac_fn_c_try_link "$LINENO"; then :
13331 case "$LIBEXT" in
13332 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13333 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'` ;;
13334 *) 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'`
13335 if ${ac_cv_lib_soname_png:+false} :; then :
13336 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13337 fi ;;
13338 esac
13340 rm -f core conftest.err conftest.$ac_objext \
13341 conftest$ac_exeext conftest.$ac_ext
13342 LIBS=$ac_check_soname_save_LIBS
13344 if ${ac_cv_lib_soname_png:+false} :; then :
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13346 $as_echo "not found" >&6; }
13347 PNG_CFLAGS=""
13348 else
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13350 $as_echo "$ac_cv_lib_soname_png" >&6; }
13352 cat >>confdefs.h <<_ACEOF
13353 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13354 _ACEOF
13356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13358 #include <png.h>
13360 main ()
13362 typeof(png_set_expand_gray_1_2_4_to_8) *p
13364 return 0;
13366 _ACEOF
13367 if ac_fn_c_try_compile "$LINENO"; then :
13369 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13374 else
13375 PNG_CFLAGS=""
13377 CPPFLAGS=$ac_save_CPPFLAGS
13378 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13379 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13382 if test "x$ac_cv_lib_soname_png" = "x"; then :
13383 case "x$with_png" in
13384 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13385 xno) ;;
13386 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13387 This is an error since --with-png was requested." "$LINENO" 5 ;;
13388 esac
13392 if test "x$with_tiff" != "xno"
13393 then
13394 if ${TIFF_CFLAGS:+false} :; then :
13395 if ${PKG_CONFIG+:} false; then :
13396 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13400 if ${TIFF_LIBS:+false} :; then :
13401 if ${PKG_CONFIG+:} false; then :
13402 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13407 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13408 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13409 ac_save_CPPFLAGS=$CPPFLAGS
13410 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13411 for ac_header in tiffio.h
13412 do :
13413 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13414 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13415 cat >>confdefs.h <<_ACEOF
13416 #define HAVE_TIFFIO_H 1
13417 _ACEOF
13421 done
13423 if test "$ac_cv_header_tiffio_h" = "yes"
13424 then
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13426 $as_echo_n "checking for -ltiff... " >&6; }
13427 if ${ac_cv_lib_soname_tiff+:} false; then :
13428 $as_echo_n "(cached) " >&6
13429 else
13430 ac_check_soname_save_LIBS=$LIBS
13431 LIBS="-ltiff $TIFF_LIBS $LIBS"
13432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13433 /* end confdefs.h. */
13435 /* Override any GCC internal prototype to avoid an error.
13436 Use char because int might match the return type of a GCC
13437 builtin and then its argument prototype would still apply. */
13438 #ifdef __cplusplus
13439 extern "C"
13440 #endif
13441 char TIFFClientOpen ();
13443 main ()
13445 return TIFFClientOpen ();
13447 return 0;
13449 _ACEOF
13450 if ac_fn_c_try_link "$LINENO"; then :
13451 case "$LIBEXT" in
13452 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13453 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'` ;;
13454 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13455 if ${ac_cv_lib_soname_tiff:+false} :; then :
13456 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13457 fi ;;
13458 esac
13460 rm -f core conftest.err conftest.$ac_objext \
13461 conftest$ac_exeext conftest.$ac_ext
13462 LIBS=$ac_check_soname_save_LIBS
13464 if ${ac_cv_lib_soname_tiff:+false} :; then :
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13466 $as_echo "not found" >&6; }
13468 else
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13470 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13472 cat >>confdefs.h <<_ACEOF
13473 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13474 _ACEOF
13479 CPPFLAGS=$ac_save_CPPFLAGS
13480 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13481 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13484 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13485 case "x$with_tiff" in
13486 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13487 xno) ;;
13488 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13489 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13490 esac
13494 if test "x$with_mpg123" != "xno"
13495 then
13496 if ${MPG123_CFLAGS:+false} :; then :
13497 if ${PKG_CONFIG+:} false; then :
13498 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13502 if ${MPG123_LIBS:+false} :; then :
13503 if ${PKG_CONFIG+:} false; then :
13504 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13508 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13509 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13510 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13511 ac_save_CPPFLAGS=$CPPFLAGS
13512 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13513 for ac_header in mpg123.h
13514 do :
13515 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13516 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13517 cat >>confdefs.h <<_ACEOF
13518 #define HAVE_MPG123_H 1
13519 _ACEOF
13523 done
13525 if test "$ac_cv_header_mpg123_h" = "yes"
13526 then
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13528 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13529 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13530 $as_echo_n "(cached) " >&6
13531 else
13532 ac_check_lib_save_LIBS=$LIBS
13533 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13537 /* Override any GCC internal prototype to avoid an error.
13538 Use char because int might match the return type of a GCC
13539 builtin and then its argument prototype would still apply. */
13540 #ifdef __cplusplus
13541 extern "C"
13542 #endif
13543 char mpg123_feed ();
13545 main ()
13547 return mpg123_feed ();
13549 return 0;
13551 _ACEOF
13552 if ac_fn_c_try_link "$LINENO"; then :
13553 ac_cv_lib_mpg123_mpg123_feed=yes
13554 else
13555 ac_cv_lib_mpg123_mpg123_feed=no
13557 rm -f core conftest.err conftest.$ac_objext \
13558 conftest$ac_exeext conftest.$ac_ext
13559 LIBS=$ac_check_lib_save_LIBS
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13562 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13563 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13565 else
13566 MPG123_LIBS=""
13569 else
13570 MPG123_CFLAGS=""
13571 MPG123_LIBS=""
13573 CPPFLAGS=$ac_save_CPPFLAGS
13574 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13575 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13578 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13579 case "x$with_mpg123" in
13580 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13581 xno) ;;
13582 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13583 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13584 esac
13585 enable_winemp3_acm=${enable_winemp3_acm:-no}
13588 if test "$ac_cv_header_AL_al_h" = "yes"
13589 then
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13591 $as_echo_n "checking for -lopenal... " >&6; }
13592 if ${ac_cv_lib_soname_openal+:} false; then :
13593 $as_echo_n "(cached) " >&6
13594 else
13595 ac_check_soname_save_LIBS=$LIBS
13596 LIBS="-lopenal $LIBS"
13597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13598 /* end confdefs.h. */
13600 /* Override any GCC internal prototype to avoid an error.
13601 Use char because int might match the return type of a GCC
13602 builtin and then its argument prototype would still apply. */
13603 #ifdef __cplusplus
13604 extern "C"
13605 #endif
13606 char alGetSource3i ();
13608 main ()
13610 return alGetSource3i ();
13612 return 0;
13614 _ACEOF
13615 if ac_fn_c_try_link "$LINENO"; then :
13616 case "$LIBEXT" in
13617 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13618 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'` ;;
13619 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13620 if ${ac_cv_lib_soname_openal:+false} :; then :
13621 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13622 fi ;;
13623 esac
13625 rm -f core conftest.err conftest.$ac_objext \
13626 conftest$ac_exeext conftest.$ac_ext
13627 LIBS=$ac_check_soname_save_LIBS
13629 if ${ac_cv_lib_soname_openal:+false} :; then :
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13631 $as_echo "not found" >&6; }
13633 else
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13635 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13637 cat >>confdefs.h <<_ACEOF
13638 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13639 _ACEOF
13641 OPENAL_LIBS="-lopenal"
13643 ac_cv_lib_openal=yes
13645 cat >>confdefs.h <<_ACEOF
13646 #define HAVE_OPENAL 1
13647 _ACEOF
13651 if test "x$ac_cv_lib_openal" != xyes; then :
13652 case "x$with_openal" in
13653 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13654 xno) ;;
13655 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13656 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13657 esac
13658 enable_openal32=${enable_openal32:-no}
13661 if test "x$ac_cv_lib_openal" = xyes
13662 then
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13664 $as_echo_n "checking for openal-soft... " >&6; }
13665 if ${ac_cv_have_openalsoft+:} false; then :
13666 $as_echo_n "(cached) " >&6
13667 else
13668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13669 /* end confdefs.h. */
13670 #include <AL/al.h>
13671 #include <AL/alc.h>
13672 #include <AL/alext.h>
13673 LPALCRENDERSAMPLESSOFT x;
13675 main ()
13679 return 0;
13681 _ACEOF
13682 if ac_fn_c_try_compile "$LINENO"; then :
13683 ac_cv_have_openalsoft=yes
13684 else
13685 ac_cv_have_openalsoft=no
13687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13690 $as_echo "$ac_cv_have_openalsoft" >&6; }
13692 if test "x$ac_cv_have_openalsoft" != xyes
13693 then
13694 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13695 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13696 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13697 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13698 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13699 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13700 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13701 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13702 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13703 enable_xapofx1_1=${enable_xapofx1_1:-no}
13704 enable_xapofx1_2=${enable_xapofx1_2:-no}
13705 enable_xapofx1_3=${enable_xapofx1_3:-no}
13706 enable_xapofx1_4=${enable_xapofx1_4:-no}
13707 enable_xapofx1_5=${enable_xapofx1_5:-no}
13708 enable_xaudio2_0=${enable_xaudio2_0:-no}
13709 enable_xaudio2_1=${enable_xaudio2_1:-no}
13710 enable_xaudio2_2=${enable_xaudio2_2:-no}
13711 enable_xaudio2_3=${enable_xaudio2_3:-no}
13712 enable_xaudio2_4=${enable_xaudio2_4:-no}
13713 enable_xaudio2_5=${enable_xaudio2_5:-no}
13714 enable_xaudio2_6=${enable_xaudio2_6:-no}
13715 enable_xaudio2_7=${enable_xaudio2_7:-no}
13716 enable_xaudio2_8=${enable_xaudio2_8:-no}
13717 enable_xaudio2_9=${enable_xaudio2_9:-no}
13720 if test "$ac_cv_header_kstat_h" = "yes"
13721 then
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13723 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13724 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13725 $as_echo_n "(cached) " >&6
13726 else
13727 ac_check_lib_save_LIBS=$LIBS
13728 LIBS="-lkstat $LIBS"
13729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13732 /* Override any GCC internal prototype to avoid an error.
13733 Use char because int might match the return type of a GCC
13734 builtin and then its argument prototype would still apply. */
13735 #ifdef __cplusplus
13736 extern "C"
13737 #endif
13738 char kstat_open ();
13740 main ()
13742 return kstat_open ();
13744 return 0;
13746 _ACEOF
13747 if ac_fn_c_try_link "$LINENO"; then :
13748 ac_cv_lib_kstat_kstat_open=yes
13749 else
13750 ac_cv_lib_kstat_kstat_open=no
13752 rm -f core conftest.err conftest.$ac_objext \
13753 conftest$ac_exeext conftest.$ac_ext
13754 LIBS=$ac_check_lib_save_LIBS
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13757 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13758 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13760 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13762 KSTAT_LIBS="-lkstat"
13768 if test "$ac_cv_header_libprocstat_h" = "yes"
13769 then
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13771 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13772 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13773 $as_echo_n "(cached) " >&6
13774 else
13775 ac_check_lib_save_LIBS=$LIBS
13776 LIBS="-lprocstat $LIBS"
13777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13780 /* Override any GCC internal prototype to avoid an error.
13781 Use char because int might match the return type of a GCC
13782 builtin and then its argument prototype would still apply. */
13783 #ifdef __cplusplus
13784 extern "C"
13785 #endif
13786 char procstat_open_sysctl ();
13788 main ()
13790 return procstat_open_sysctl ();
13792 return 0;
13794 _ACEOF
13795 if ac_fn_c_try_link "$LINENO"; then :
13796 ac_cv_lib_procstat_procstat_open_sysctl=yes
13797 else
13798 ac_cv_lib_procstat_procstat_open_sysctl=no
13800 rm -f core conftest.err conftest.$ac_objext \
13801 conftest$ac_exeext conftest.$ac_ext
13802 LIBS=$ac_check_lib_save_LIBS
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13805 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13806 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13808 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13810 PROCSTAT_LIBS="-lprocstat"
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13817 $as_echo_n "checking for -lodbc... " >&6; }
13818 if ${ac_cv_lib_soname_odbc+:} false; then :
13819 $as_echo_n "(cached) " >&6
13820 else
13821 ac_check_soname_save_LIBS=$LIBS
13822 LIBS="-lodbc $LIBS"
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13826 /* Override any GCC internal prototype to avoid an error.
13827 Use char because int might match the return type of a GCC
13828 builtin and then its argument prototype would still apply. */
13829 #ifdef __cplusplus
13830 extern "C"
13831 #endif
13832 char SQLConnect ();
13834 main ()
13836 return SQLConnect ();
13838 return 0;
13840 _ACEOF
13841 if ac_fn_c_try_link "$LINENO"; then :
13842 case "$LIBEXT" in
13843 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13844 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'` ;;
13845 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13846 if ${ac_cv_lib_soname_odbc:+false} :; then :
13847 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13848 fi ;;
13849 esac
13851 rm -f core conftest.err conftest.$ac_objext \
13852 conftest$ac_exeext conftest.$ac_ext
13853 LIBS=$ac_check_soname_save_LIBS
13855 if ${ac_cv_lib_soname_odbc:+false} :; then :
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13857 $as_echo "not found" >&6; }
13858 cat >>confdefs.h <<_ACEOF
13859 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13860 _ACEOF
13862 else
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13864 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13866 cat >>confdefs.h <<_ACEOF
13867 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13868 _ACEOF
13873 if test "x$with_netapi" != "xno"
13874 then
13875 if ${NETAPI_CFLAGS:+false} :; then :
13876 if ${PKG_CONFIG+:} false; then :
13877 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13881 if ${NETAPI_LIBS:+false} :; then :
13882 if ${PKG_CONFIG+:} false; then :
13883 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13888 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13889 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13890 ac_save_CPPFLAGS=$CPPFLAGS
13891 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13893 $as_echo_n "checking for -lnetapi... " >&6; }
13894 if ${ac_cv_lib_soname_netapi+:} false; then :
13895 $as_echo_n "(cached) " >&6
13896 else
13897 ac_check_soname_save_LIBS=$LIBS
13898 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13902 /* Override any GCC internal prototype to avoid an error.
13903 Use char because int might match the return type of a GCC
13904 builtin and then its argument prototype would still apply. */
13905 #ifdef __cplusplus
13906 extern "C"
13907 #endif
13908 char libnetapi_init ();
13910 main ()
13912 return libnetapi_init ();
13914 return 0;
13916 _ACEOF
13917 if ac_fn_c_try_link "$LINENO"; then :
13918 case "$LIBEXT" in
13919 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13920 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'` ;;
13921 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13922 if ${ac_cv_lib_soname_netapi:+false} :; then :
13923 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13924 fi ;;
13925 esac
13927 rm -f core conftest.err conftest.$ac_objext \
13928 conftest$ac_exeext conftest.$ac_ext
13929 LIBS=$ac_check_soname_save_LIBS
13931 if ${ac_cv_lib_soname_netapi:+false} :; then :
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13933 $as_echo "not found" >&6; }
13934 cat >>confdefs.h <<_ACEOF
13935 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13936 _ACEOF
13938 else
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13940 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13942 cat >>confdefs.h <<_ACEOF
13943 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13944 _ACEOF
13948 CPPFLAGS=$ac_save_CPPFLAGS
13949 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13950 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13954 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13955 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13956 then
13957 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13961 EXTRACFLAGS=""
13963 if test "x${GCC}" = "xyes"
13964 then
13965 EXTRACFLAGS="-Wall -pipe"
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13968 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13969 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13970 $as_echo_n "(cached) " >&6
13971 else
13972 if test "$cross_compiling" = yes; then :
13973 ac_cv_c_gcc_strength_bug="no"
13974 else
13975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13976 /* end confdefs.h. */
13977 int L[4] = {0,1,2,3};
13979 main ()
13981 static int Array[3];
13982 unsigned int B = 3;
13983 int i;
13984 for(i=0; i<B; i++) Array[i] = i - 3;
13985 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13986 L[i] = 4;
13987 return (Array[1] != -2 || L[2] != 3)
13989 return 0;
13991 _ACEOF
13992 if ac_fn_c_try_run "$LINENO"; then :
13993 ac_cv_c_gcc_strength_bug="no"
13994 else
13995 ac_cv_c_gcc_strength_bug="yes"
13997 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13998 conftest.$ac_objext conftest.beam conftest.$ac_ext
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14003 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14004 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14005 then
14006 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14010 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14011 if ${ac_cv_cflags__fno_builtin+:} false; then :
14012 $as_echo_n "(cached) " >&6
14013 else
14014 ac_wine_try_cflags_saved=$CFLAGS
14015 CFLAGS="$CFLAGS -fno-builtin"
14016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14017 /* end confdefs.h. */
14018 int main(int argc, char **argv) { return 0; }
14019 _ACEOF
14020 if ac_fn_c_try_link "$LINENO"; then :
14021 ac_cv_cflags__fno_builtin=yes
14022 else
14023 ac_cv_cflags__fno_builtin=no
14025 rm -f core conftest.err conftest.$ac_objext \
14026 conftest$ac_exeext conftest.$ac_ext
14027 CFLAGS=$ac_wine_try_cflags_saved
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14030 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14031 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14032 BUILTINFLAG="-fno-builtin"
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14036 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14037 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14038 $as_echo_n "(cached) " >&6
14039 else
14040 ac_wine_try_cflags_saved=$CFLAGS
14041 CFLAGS="$CFLAGS -fno-strict-aliasing"
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14044 int main(int argc, char **argv) { return 0; }
14045 _ACEOF
14046 if ac_fn_c_try_link "$LINENO"; then :
14047 ac_cv_cflags__fno_strict_aliasing=yes
14048 else
14049 ac_cv_cflags__fno_strict_aliasing=no
14051 rm -f core conftest.err conftest.$ac_objext \
14052 conftest$ac_exeext conftest.$ac_ext
14053 CFLAGS=$ac_wine_try_cflags_saved
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14056 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14057 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14058 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14061 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14062 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14063 $as_echo_n "(cached) " >&6
14064 else
14065 ac_wine_try_cflags_saved=$CFLAGS
14066 CFLAGS="$CFLAGS -fexcess-precision=standard"
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14069 int main(int argc, char **argv) { return 0; }
14070 _ACEOF
14071 if ac_fn_c_try_link "$LINENO"; then :
14072 ac_cv_cflags__fexcess_precision_standard=yes
14073 else
14074 ac_cv_cflags__fexcess_precision_standard=no
14076 rm -f core conftest.err conftest.$ac_objext \
14077 conftest$ac_exeext conftest.$ac_ext
14078 CFLAGS=$ac_wine_try_cflags_saved
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14081 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14082 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14083 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14086 saved_CFLAGS=$CFLAGS
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14088 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14089 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14090 $as_echo_n "(cached) " >&6
14091 else
14092 ac_wine_try_cflags_saved=$CFLAGS
14093 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h. */
14096 int main(int argc, char **argv) { return 0; }
14097 _ACEOF
14098 if ac_fn_c_try_link "$LINENO"; then :
14099 ac_cv_cflags__Werror_unknown_warning_option=yes
14100 else
14101 ac_cv_cflags__Werror_unknown_warning_option=no
14103 rm -f core conftest.err conftest.$ac_objext \
14104 conftest$ac_exeext conftest.$ac_ext
14105 CFLAGS=$ac_wine_try_cflags_saved
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14108 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14109 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14110 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14113 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14114 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14115 $as_echo_n "(cached) " >&6
14116 else
14117 ac_wine_try_cflags_saved=$CFLAGS
14118 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14120 /* end confdefs.h. */
14121 int main(int argc, char **argv) { return 0; }
14122 _ACEOF
14123 if ac_fn_c_try_link "$LINENO"; then :
14124 ac_cv_cflags__Wdeclaration_after_statement=yes
14125 else
14126 ac_cv_cflags__Wdeclaration_after_statement=no
14128 rm -f core conftest.err conftest.$ac_objext \
14129 conftest$ac_exeext conftest.$ac_ext
14130 CFLAGS=$ac_wine_try_cflags_saved
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14133 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14134 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14135 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14138 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14139 if ${ac_cv_cflags__Wempty_body+:} false; then :
14140 $as_echo_n "(cached) " >&6
14141 else
14142 ac_wine_try_cflags_saved=$CFLAGS
14143 CFLAGS="$CFLAGS -Wempty-body"
14144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14146 int main(int argc, char **argv) { return 0; }
14147 _ACEOF
14148 if ac_fn_c_try_link "$LINENO"; then :
14149 ac_cv_cflags__Wempty_body=yes
14150 else
14151 ac_cv_cflags__Wempty_body=no
14153 rm -f core conftest.err conftest.$ac_objext \
14154 conftest$ac_exeext conftest.$ac_ext
14155 CFLAGS=$ac_wine_try_cflags_saved
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14158 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14159 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14160 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14163 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14164 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14165 $as_echo_n "(cached) " >&6
14166 else
14167 ac_wine_try_cflags_saved=$CFLAGS
14168 CFLAGS="$CFLAGS -Wignored-qualifiers"
14169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14171 int main(int argc, char **argv) { return 0; }
14172 _ACEOF
14173 if ac_fn_c_try_link "$LINENO"; then :
14174 ac_cv_cflags__Wignored_qualifiers=yes
14175 else
14176 ac_cv_cflags__Wignored_qualifiers=no
14178 rm -f core conftest.err conftest.$ac_objext \
14179 conftest$ac_exeext conftest.$ac_ext
14180 CFLAGS=$ac_wine_try_cflags_saved
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14183 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14184 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14185 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14188 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14189 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14190 $as_echo_n "(cached) " >&6
14191 else
14192 ac_wine_try_cflags_saved=$CFLAGS
14193 CFLAGS="$CFLAGS -Wshift-overflow=2"
14194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14196 int main(int argc, char **argv) { return 0; }
14197 _ACEOF
14198 if ac_fn_c_try_link "$LINENO"; then :
14199 ac_cv_cflags__Wshift_overflow_2=yes
14200 else
14201 ac_cv_cflags__Wshift_overflow_2=no
14203 rm -f core conftest.err conftest.$ac_objext \
14204 conftest$ac_exeext conftest.$ac_ext
14205 CFLAGS=$ac_wine_try_cflags_saved
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14208 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14209 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14210 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14213 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14214 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14215 $as_echo_n "(cached) " >&6
14216 else
14217 ac_wine_try_cflags_saved=$CFLAGS
14218 CFLAGS="$CFLAGS -Wstrict-prototypes"
14219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14221 int main(int argc, char **argv) { return 0; }
14222 _ACEOF
14223 if ac_fn_c_try_link "$LINENO"; then :
14224 ac_cv_cflags__Wstrict_prototypes=yes
14225 else
14226 ac_cv_cflags__Wstrict_prototypes=no
14228 rm -f core conftest.err conftest.$ac_objext \
14229 conftest$ac_exeext conftest.$ac_ext
14230 CFLAGS=$ac_wine_try_cflags_saved
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14233 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14234 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14235 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14238 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14239 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14240 $as_echo_n "(cached) " >&6
14241 else
14242 ac_wine_try_cflags_saved=$CFLAGS
14243 CFLAGS="$CFLAGS -Wtype-limits"
14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14246 int main(int argc, char **argv) { return 0; }
14247 _ACEOF
14248 if ac_fn_c_try_link "$LINENO"; then :
14249 ac_cv_cflags__Wtype_limits=yes
14250 else
14251 ac_cv_cflags__Wtype_limits=no
14253 rm -f core conftest.err conftest.$ac_objext \
14254 conftest$ac_exeext conftest.$ac_ext
14255 CFLAGS=$ac_wine_try_cflags_saved
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14258 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14259 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14260 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14263 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14264 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14265 $as_echo_n "(cached) " >&6
14266 else
14267 ac_wine_try_cflags_saved=$CFLAGS
14268 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14271 int main(int argc, char **argv) { return 0; }
14272 _ACEOF
14273 if ac_fn_c_try_link "$LINENO"; then :
14274 ac_cv_cflags__Wunused_but_set_parameter=yes
14275 else
14276 ac_cv_cflags__Wunused_but_set_parameter=no
14278 rm -f core conftest.err conftest.$ac_objext \
14279 conftest$ac_exeext conftest.$ac_ext
14280 CFLAGS=$ac_wine_try_cflags_saved
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14283 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14284 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14285 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14288 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14289 if ${ac_cv_cflags__Wvla+:} false; then :
14290 $as_echo_n "(cached) " >&6
14291 else
14292 ac_wine_try_cflags_saved=$CFLAGS
14293 CFLAGS="$CFLAGS -Wvla"
14294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14296 int main(int argc, char **argv) { return 0; }
14297 _ACEOF
14298 if ac_fn_c_try_link "$LINENO"; then :
14299 ac_cv_cflags__Wvla=yes
14300 else
14301 ac_cv_cflags__Wvla=no
14303 rm -f core conftest.err conftest.$ac_objext \
14304 conftest$ac_exeext conftest.$ac_ext
14305 CFLAGS=$ac_wine_try_cflags_saved
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14308 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14309 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14310 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14313 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14314 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14315 $as_echo_n "(cached) " >&6
14316 else
14317 ac_wine_try_cflags_saved=$CFLAGS
14318 CFLAGS="$CFLAGS -Wwrite-strings"
14319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14320 /* end confdefs.h. */
14321 int main(int argc, char **argv) { return 0; }
14322 _ACEOF
14323 if ac_fn_c_try_link "$LINENO"; then :
14324 ac_cv_cflags__Wwrite_strings=yes
14325 else
14326 ac_cv_cflags__Wwrite_strings=no
14328 rm -f core conftest.err conftest.$ac_objext \
14329 conftest$ac_exeext conftest.$ac_ext
14330 CFLAGS=$ac_wine_try_cflags_saved
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14333 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14334 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14335 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14339 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14340 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14341 $as_echo_n "(cached) " >&6
14342 else
14343 ac_wine_try_cflags_saved=$CFLAGS
14344 CFLAGS="$CFLAGS -Wpointer-arith"
14345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14346 /* end confdefs.h. */
14347 int main(int argc, char **argv) { return 0; }
14348 _ACEOF
14349 if ac_fn_c_try_link "$LINENO"; then :
14350 ac_cv_cflags__Wpointer_arith=yes
14351 else
14352 ac_cv_cflags__Wpointer_arith=no
14354 rm -f core conftest.err conftest.$ac_objext \
14355 conftest$ac_exeext conftest.$ac_ext
14356 CFLAGS=$ac_wine_try_cflags_saved
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14359 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14360 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14361 saved_string_h_CFLAGS=$CFLAGS
14362 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14364 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14365 if ${ac_cv_c_string_h_warnings+:} false; then :
14366 $as_echo_n "(cached) " >&6
14367 else
14368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14370 #include <string.h>
14372 main ()
14376 return 0;
14378 _ACEOF
14379 if ac_fn_c_try_compile "$LINENO"; then :
14380 ac_cv_c_string_h_warnings=no
14381 else
14382 ac_cv_c_string_h_warnings=yes
14384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14387 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14388 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14389 CFLAGS=$saved_string_h_CFLAGS
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14393 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14394 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14395 $as_echo_n "(cached) " >&6
14396 else
14397 ac_wine_try_cflags_saved=$CFLAGS
14398 CFLAGS="$CFLAGS -Wlogical-op"
14399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14401 int main(int argc, char **argv) { return 0; }
14402 _ACEOF
14403 if ac_fn_c_try_link "$LINENO"; then :
14404 ac_cv_cflags__Wlogical_op=yes
14405 else
14406 ac_cv_cflags__Wlogical_op=no
14408 rm -f core conftest.err conftest.$ac_objext \
14409 conftest$ac_exeext conftest.$ac_ext
14410 CFLAGS=$ac_wine_try_cflags_saved
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14413 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14414 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14415 saved_string_h_CFLAGS=$CFLAGS
14416 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14418 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14419 if ${ac_cv_c_logicalop_noisy+:} false; then :
14420 $as_echo_n "(cached) " >&6
14421 else
14422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14423 /* end confdefs.h. */
14424 #include <string.h>
14425 char*f(const char *h,char n) {return strchr(h,n);}
14427 main ()
14431 return 0;
14433 _ACEOF
14434 if ac_fn_c_try_compile "$LINENO"; then :
14435 ac_cv_c_logicalop_noisy=no
14436 else
14437 ac_cv_c_logicalop_noisy=yes
14439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14442 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14443 CFLAGS=$saved_string_h_CFLAGS
14444 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14447 CFLAGS=$saved_CFLAGS
14449 for ac_flag in $CFLAGS; do
14450 case $ac_flag in
14451 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14452 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14453 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14454 $as_echo_n "(cached) " >&6
14455 else
14456 ac_wine_try_cflags_saved=$CFLAGS
14457 CFLAGS="$CFLAGS -gdwarf-2"
14458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14459 /* end confdefs.h. */
14460 int main(int argc, char **argv) { return 0; }
14461 _ACEOF
14462 if ac_fn_c_try_link "$LINENO"; then :
14463 ac_cv_cflags__gdwarf_2=yes
14464 else
14465 ac_cv_cflags__gdwarf_2=no
14467 rm -f core conftest.err conftest.$ac_objext \
14468 conftest$ac_exeext conftest.$ac_ext
14469 CFLAGS=$ac_wine_try_cflags_saved
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14472 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14473 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14474 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14477 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14478 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14479 $as_echo_n "(cached) " >&6
14480 else
14481 ac_wine_try_cflags_saved=$CFLAGS
14482 CFLAGS="$CFLAGS -gstrict-dwarf"
14483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14484 /* end confdefs.h. */
14485 int main(int argc, char **argv) { return 0; }
14486 _ACEOF
14487 if ac_fn_c_try_link "$LINENO"; then :
14488 ac_cv_cflags__gstrict_dwarf=yes
14489 else
14490 ac_cv_cflags__gstrict_dwarf=no
14492 rm -f core conftest.err conftest.$ac_objext \
14493 conftest$ac_exeext conftest.$ac_ext
14494 CFLAGS=$ac_wine_try_cflags_saved
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14497 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14498 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14499 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14500 fi ;;
14501 esac
14502 done
14504 case $host_cpu in
14505 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14506 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14507 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14508 $as_echo_n "(cached) " >&6
14509 else
14510 ac_wine_try_cflags_saved=$CFLAGS
14511 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14513 /* end confdefs.h. */
14514 int main(int argc, char **argv) { return 0; }
14515 _ACEOF
14516 if ac_fn_c_try_link "$LINENO"; then :
14517 ac_cv_cflags__fno_omit_frame_pointer=yes
14518 else
14519 ac_cv_cflags__fno_omit_frame_pointer=no
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14523 CFLAGS=$ac_wine_try_cflags_saved
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14526 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14527 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14528 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14529 fi ;;
14530 esac
14532 case $host in
14533 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14534 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14535 if ${ac_cv_cflags__Wno_format+:} false; then :
14536 $as_echo_n "(cached) " >&6
14537 else
14538 ac_wine_try_cflags_saved=$CFLAGS
14539 CFLAGS="$CFLAGS -Wno-format"
14540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14542 int main(int argc, char **argv) { return 0; }
14543 _ACEOF
14544 if ac_fn_c_try_link "$LINENO"; then :
14545 ac_cv_cflags__Wno_format=yes
14546 else
14547 ac_cv_cflags__Wno_format=no
14549 rm -f core conftest.err conftest.$ac_objext \
14550 conftest$ac_exeext conftest.$ac_ext
14551 CFLAGS=$ac_wine_try_cflags_saved
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14554 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14555 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14556 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14557 fi ;;
14558 esac
14560 if test "x$enable_maintainer_mode" = "xyes"
14561 then
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14563 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14564 if ${ac_cv_cflags__Werror+:} false; then :
14565 $as_echo_n "(cached) " >&6
14566 else
14567 ac_wine_try_cflags_saved=$CFLAGS
14568 CFLAGS="$CFLAGS -Werror"
14569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14570 /* end confdefs.h. */
14571 int main(int argc, char **argv) { return 0; }
14572 _ACEOF
14573 if ac_fn_c_try_link "$LINENO"; then :
14574 ac_cv_cflags__Werror=yes
14575 else
14576 ac_cv_cflags__Werror=no
14578 rm -f core conftest.err conftest.$ac_objext \
14579 conftest$ac_exeext conftest.$ac_ext
14580 CFLAGS=$ac_wine_try_cflags_saved
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14583 $as_echo "$ac_cv_cflags__Werror" >&6; }
14584 if test "x$ac_cv_cflags__Werror" = xyes; then :
14585 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14589 saved_CFLAGS="$CFLAGS"
14590 CFLAGS="$CFLAGS -Werror"
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14592 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14593 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14594 $as_echo_n "(cached) " >&6
14595 else
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14598 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14600 main ()
14604 return 0;
14606 _ACEOF
14607 if ac_fn_c_try_compile "$LINENO"; then :
14608 ac_cv_have_ms_hook_prologue="yes"
14609 else
14610 ac_cv_have_ms_hook_prologue="no"
14612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14615 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14616 CFLAGS="$saved_CFLAGS"
14617 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14618 then
14620 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14622 else
14623 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14630 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14631 if ${ac_cv_c_fortify_enabled+:} false; then :
14632 $as_echo_n "(cached) " >&6
14633 else
14634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14636 #include <string.h>
14638 main ()
14640 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14641 #error Fortify enabled
14642 #endif
14644 return 0;
14646 _ACEOF
14647 if ac_fn_c_try_compile "$LINENO"; then :
14648 ac_cv_c_fortify_enabled=no
14649 else
14650 ac_cv_c_fortify_enabled=yes
14652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14655 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14656 if test "$ac_cv_c_fortify_enabled" = yes
14657 then
14658 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14663 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14664 if ${ac_cv_c_extern_prefix+:} false; then :
14665 $as_echo_n "(cached) " >&6
14666 else
14667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h. */
14669 extern int ac_test;
14671 main ()
14673 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14675 return 0;
14677 _ACEOF
14678 if ac_fn_c_try_link "$LINENO"; then :
14679 ac_cv_c_extern_prefix="yes"
14680 else
14681 ac_cv_c_extern_prefix="no"
14683 rm -f core conftest.err conftest.$ac_objext \
14684 conftest$ac_exeext conftest.$ac_ext
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14687 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14689 case $host_cpu in
14690 *i[3456789]86*)
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14692 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14693 if ${ac_cv_c_stdcall_suffix+:} false; then :
14694 $as_echo_n "(cached) " >&6
14695 else
14696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14698 #ifndef _MSC_VER
14699 #define __stdcall __attribute__((__stdcall__))
14700 #endif
14701 int __stdcall ac_test(int i) { return i; }
14703 main ()
14705 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14707 return 0;
14709 _ACEOF
14710 if ac_fn_c_try_link "$LINENO"; then :
14711 ac_cv_c_stdcall_suffix="yes"
14712 else
14713 ac_cv_c_stdcall_suffix="no"
14715 rm -f core conftest.err conftest.$ac_objext \
14716 conftest$ac_exeext conftest.$ac_ext
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14719 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14720 *) ac_cv_c_stdcall_suffix="no" ;;
14721 esac
14724 if test "$ac_cv_c_extern_prefix" = "yes"
14725 then
14726 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14728 asm_name_prefix="_"
14729 else
14730 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14732 asm_name_prefix=""
14736 if test "$ac_cv_c_stdcall_suffix" = "yes"
14737 then
14738 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14740 else
14741 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14747 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14748 if ${ac_cv_asm_func_def+:} false; then :
14749 $as_echo_n "(cached) " >&6
14750 else
14751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14755 main ()
14757 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14759 return 0;
14761 _ACEOF
14762 if ac_fn_c_try_link "$LINENO"; then :
14763 ac_cv_asm_func_def=".def"
14764 else
14765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14769 main ()
14771 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14773 return 0;
14775 _ACEOF
14776 if ac_fn_c_try_link "$LINENO"; then :
14777 ac_cv_asm_func_def=".type @function"
14778 else
14779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14780 /* end confdefs.h. */
14783 main ()
14785 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14787 return 0;
14789 _ACEOF
14790 if ac_fn_c_try_link "$LINENO"; then :
14791 ac_cv_asm_func_def=".type 2"
14792 else
14793 ac_cv_asm_func_def="unknown"
14795 rm -f core conftest.err conftest.$ac_objext \
14796 conftest$ac_exeext conftest.$ac_ext
14798 rm -f core conftest.err conftest.$ac_objext \
14799 conftest$ac_exeext conftest.$ac_ext
14801 rm -f core conftest.err conftest.$ac_objext \
14802 conftest$ac_exeext conftest.$ac_ext
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14805 $as_echo "$ac_cv_asm_func_def" >&6; }
14808 case "$ac_cv_asm_func_def" in
14809 ".def")
14810 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14812 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14813 ".type @function")
14814 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14816 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14817 ".type 2")
14818 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14820 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14822 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14824 asm_func_header="" ;;
14825 esac
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14828 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14829 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14830 $as_echo_n "(cached) " >&6
14831 else
14832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14833 /* end confdefs.h. */
14834 asm(".text\n\t.long 0");
14836 main ()
14840 return 0;
14842 _ACEOF
14843 if ac_fn_c_try_compile "$LINENO"; then :
14844 ac_cv_c_asm_outside_funcs="yes"
14845 else
14846 ac_cv_c_asm_outside_funcs="no"
14848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14851 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14854 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14855 if ${ac_cv_c_dot_previous+:} false; then :
14856 $as_echo_n "(cached) " >&6
14857 else
14858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14862 main ()
14864 asm(".text\nac_test:\t.long 0\n\t.previous");
14866 return 0;
14868 _ACEOF
14869 if ac_fn_c_try_link "$LINENO"; then :
14870 ac_cv_c_dot_previous="yes"
14871 else
14872 ac_cv_c_dot_previous="no"
14874 rm -f core conftest.err conftest.$ac_objext \
14875 conftest$ac_exeext conftest.$ac_ext
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14878 $as_echo "$ac_cv_c_dot_previous" >&6; }
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14881 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14882 if ${ac_cv_c_cfi_support+:} false; then :
14883 $as_echo_n "(cached) " >&6
14884 else
14885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14887 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14889 main ()
14893 return 0;
14895 _ACEOF
14896 if ac_fn_c_try_compile "$LINENO"; then :
14897 ac_cv_c_cfi_support="yes"
14898 else
14899 ac_cv_c_cfi_support="no"
14901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14904 $as_echo "$ac_cv_c_cfi_support" >&6; }
14906 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14907 asm_func_trailer=""
14908 if test "$ac_cv_c_dot_previous" = "yes"
14909 then
14910 asm_func_trailer="\\n\\t.previous"
14912 if test "$ac_cv_c_cfi_support" = "yes"
14913 then
14914 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14915 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14917 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14919 UNWINDFLAGS=-fasynchronous-unwind-tables
14921 else
14922 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14924 if test "x$enable_win64" = "xyes"
14925 then
14926 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14930 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14933 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14934 then
14935 cat >>confdefs.h <<_ACEOF
14936 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14937 _ACEOF
14939 else
14940 cat >>confdefs.h <<_ACEOF
14941 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14942 _ACEOF
14946 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14949 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14953 case $build_os in
14954 cygwin*|mingw32*) TOOLSEXT=".exe"
14956 esac
14958 case $host_os in
14959 linux-android*) ;;
14960 linux*)
14961 case $host_cpu in
14962 *i[3456789]86*|x86_64*)
14963 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
14964 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14966 esac
14968 esac
14971 ac_save_CFLAGS="$CFLAGS"
14972 CFLAGS="$CFLAGS $BUILTINFLAG"
14973 for ac_func in \
14974 __res_get_state \
14975 __res_getservers \
14976 _finite \
14977 _isnan \
14978 _pclose \
14979 _popen \
14980 _snprintf \
14981 _spawnvp \
14982 _strdup \
14983 _stricmp \
14984 _strnicmp \
14985 _strtoi64 \
14986 _strtoui64 \
14987 _vsnprintf \
14988 asctime_r \
14989 chsize \
14990 dlopen \
14991 epoll_create \
14992 ffs \
14993 finitef \
14994 fnmatch \
14995 fork \
14996 fpclass \
14997 fstatfs \
14998 fstatvfs \
14999 ftruncate \
15000 futimens \
15001 futimes \
15002 futimesat \
15003 getattrlist \
15004 getdirentries \
15005 getopt_long_only \
15006 getpwuid \
15007 gettimeofday \
15008 getuid \
15009 if_nameindex \
15010 isnanf \
15011 kqueue \
15012 lstat \
15013 memmove \
15014 mmap \
15015 pclose \
15016 pipe2 \
15017 poll \
15018 popen \
15019 port_create \
15020 prctl \
15021 pread \
15022 proc_pidinfo \
15023 pwrite \
15024 readdir \
15025 readlink \
15026 sched_yield \
15027 select \
15028 setproctitle \
15029 setprogname \
15030 setrlimit \
15031 settimeofday \
15032 sigaltstack \
15033 sigprocmask \
15034 snprintf \
15035 statfs \
15036 statvfs \
15037 strcasecmp \
15038 strdup \
15039 strerror \
15040 strncasecmp \
15041 strtold \
15042 strtoll \
15043 strtoull \
15044 symlink \
15045 tcdrain \
15046 thr_kill2 \
15047 timegm \
15048 usleep \
15049 vsnprintf
15051 do :
15052 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15053 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15054 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15055 cat >>confdefs.h <<_ACEOF
15056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15057 _ACEOF
15060 done
15062 CFLAGS="$ac_save_CFLAGS"
15064 if test "$ac_cv_func_dlopen" = no
15065 then
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15067 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15068 if ${ac_cv_lib_dl_dlopen+:} false; then :
15069 $as_echo_n "(cached) " >&6
15070 else
15071 ac_check_lib_save_LIBS=$LIBS
15072 LIBS="-ldl $LIBS"
15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15076 /* Override any GCC internal prototype to avoid an error.
15077 Use char because int might match the return type of a GCC
15078 builtin and then its argument prototype would still apply. */
15079 #ifdef __cplusplus
15080 extern "C"
15081 #endif
15082 char dlopen ();
15084 main ()
15086 return dlopen ();
15088 return 0;
15090 _ACEOF
15091 if ac_fn_c_try_link "$LINENO"; then :
15092 ac_cv_lib_dl_dlopen=yes
15093 else
15094 ac_cv_lib_dl_dlopen=no
15096 rm -f core conftest.err conftest.$ac_objext \
15097 conftest$ac_exeext conftest.$ac_ext
15098 LIBS=$ac_check_lib_save_LIBS
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15101 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15102 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15103 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15104 DL_LIBS="-ldl"
15109 ac_wine_check_funcs_save_LIBS="$LIBS"
15110 LIBS="$LIBS $DL_LIBS"
15111 for ac_func in dladdr
15112 do :
15113 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15114 if test "x$ac_cv_func_dladdr" = xyes; then :
15115 cat >>confdefs.h <<_ACEOF
15116 #define HAVE_DLADDR 1
15117 _ACEOF
15120 done
15122 LIBS="$ac_wine_check_funcs_save_LIBS"
15124 if test "$ac_cv_func_poll" = no
15125 then
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15127 $as_echo_n "checking for poll in -lpoll... " >&6; }
15128 if ${ac_cv_lib_poll_poll+:} false; then :
15129 $as_echo_n "(cached) " >&6
15130 else
15131 ac_check_lib_save_LIBS=$LIBS
15132 LIBS="-lpoll $LIBS"
15133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15134 /* end confdefs.h. */
15136 /* Override any GCC internal prototype to avoid an error.
15137 Use char because int might match the return type of a GCC
15138 builtin and then its argument prototype would still apply. */
15139 #ifdef __cplusplus
15140 extern "C"
15141 #endif
15142 char poll ();
15144 main ()
15146 return poll ();
15148 return 0;
15150 _ACEOF
15151 if ac_fn_c_try_link "$LINENO"; then :
15152 ac_cv_lib_poll_poll=yes
15153 else
15154 ac_cv_lib_poll_poll=no
15156 rm -f core conftest.err conftest.$ac_objext \
15157 conftest$ac_exeext conftest.$ac_ext
15158 LIBS=$ac_check_lib_save_LIBS
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15161 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15162 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15163 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15164 POLL_LIBS="-lpoll"
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15171 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15172 if ${ac_cv_search_gethostbyname+:} false; then :
15173 $as_echo_n "(cached) " >&6
15174 else
15175 ac_func_search_save_LIBS=$LIBS
15176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15177 /* end confdefs.h. */
15179 /* Override any GCC internal prototype to avoid an error.
15180 Use char because int might match the return type of a GCC
15181 builtin and then its argument prototype would still apply. */
15182 #ifdef __cplusplus
15183 extern "C"
15184 #endif
15185 char gethostbyname ();
15187 main ()
15189 return gethostbyname ();
15191 return 0;
15193 _ACEOF
15194 for ac_lib in '' nsl; do
15195 if test -z "$ac_lib"; then
15196 ac_res="none required"
15197 else
15198 ac_res=-l$ac_lib
15199 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15201 if ac_fn_c_try_link "$LINENO"; then :
15202 ac_cv_search_gethostbyname=$ac_res
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext
15206 if ${ac_cv_search_gethostbyname+:} false; then :
15207 break
15209 done
15210 if ${ac_cv_search_gethostbyname+:} false; then :
15212 else
15213 ac_cv_search_gethostbyname=no
15215 rm conftest.$ac_ext
15216 LIBS=$ac_func_search_save_LIBS
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15219 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15220 ac_res=$ac_cv_search_gethostbyname
15221 if test "$ac_res" != no; then :
15222 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15228 $as_echo_n "checking for library containing connect... " >&6; }
15229 if ${ac_cv_search_connect+:} false; then :
15230 $as_echo_n "(cached) " >&6
15231 else
15232 ac_func_search_save_LIBS=$LIBS
15233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15236 /* Override any GCC internal prototype to avoid an error.
15237 Use char because int might match the return type of a GCC
15238 builtin and then its argument prototype would still apply. */
15239 #ifdef __cplusplus
15240 extern "C"
15241 #endif
15242 char connect ();
15244 main ()
15246 return connect ();
15248 return 0;
15250 _ACEOF
15251 for ac_lib in '' socket; do
15252 if test -z "$ac_lib"; then
15253 ac_res="none required"
15254 else
15255 ac_res=-l$ac_lib
15256 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15258 if ac_fn_c_try_link "$LINENO"; then :
15259 ac_cv_search_connect=$ac_res
15261 rm -f core conftest.err conftest.$ac_objext \
15262 conftest$ac_exeext
15263 if ${ac_cv_search_connect+:} false; then :
15264 break
15266 done
15267 if ${ac_cv_search_connect+:} false; then :
15269 else
15270 ac_cv_search_connect=no
15272 rm conftest.$ac_ext
15273 LIBS=$ac_func_search_save_LIBS
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15276 $as_echo "$ac_cv_search_connect" >&6; }
15277 ac_res=$ac_cv_search_connect
15278 if test "$ac_res" != no; then :
15279 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15285 $as_echo_n "checking for library containing inet_aton... " >&6; }
15286 if ${ac_cv_search_inet_aton+:} false; then :
15287 $as_echo_n "(cached) " >&6
15288 else
15289 ac_func_search_save_LIBS=$LIBS
15290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15291 /* end confdefs.h. */
15293 /* Override any GCC internal prototype to avoid an error.
15294 Use char because int might match the return type of a GCC
15295 builtin and then its argument prototype would still apply. */
15296 #ifdef __cplusplus
15297 extern "C"
15298 #endif
15299 char inet_aton ();
15301 main ()
15303 return inet_aton ();
15305 return 0;
15307 _ACEOF
15308 for ac_lib in '' resolv; do
15309 if test -z "$ac_lib"; then
15310 ac_res="none required"
15311 else
15312 ac_res=-l$ac_lib
15313 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15315 if ac_fn_c_try_link "$LINENO"; then :
15316 ac_cv_search_inet_aton=$ac_res
15318 rm -f core conftest.err conftest.$ac_objext \
15319 conftest$ac_exeext
15320 if ${ac_cv_search_inet_aton+:} false; then :
15321 break
15323 done
15324 if ${ac_cv_search_inet_aton+:} false; then :
15326 else
15327 ac_cv_search_inet_aton=no
15329 rm conftest.$ac_ext
15330 LIBS=$ac_func_search_save_LIBS
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15333 $as_echo "$ac_cv_search_inet_aton" >&6; }
15334 ac_res=$ac_cv_search_inet_aton
15335 if test "$ac_res" != no; then :
15336 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15341 for ac_func in \
15342 getaddrinfo \
15343 getnameinfo \
15344 getnetbyname \
15345 getprotobyname \
15346 getprotobynumber \
15347 getservbyport \
15348 inet_addr \
15349 inet_network \
15350 inet_ntop \
15351 inet_pton \
15352 sendmsg \
15353 socketpair \
15355 do :
15356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15358 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15359 cat >>confdefs.h <<_ACEOF
15360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15361 _ACEOF
15364 done
15367 ac_save_LIBS=$LIBS
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15369 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15370 if ${ac_cv_search_clock_gettime+:} false; then :
15371 $as_echo_n "(cached) " >&6
15372 else
15373 ac_func_search_save_LIBS=$LIBS
15374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15375 /* end confdefs.h. */
15377 /* Override any GCC internal prototype to avoid an error.
15378 Use char because int might match the return type of a GCC
15379 builtin and then its argument prototype would still apply. */
15380 #ifdef __cplusplus
15381 extern "C"
15382 #endif
15383 char clock_gettime ();
15385 main ()
15387 return clock_gettime ();
15389 return 0;
15391 _ACEOF
15392 for ac_lib in '' rt; do
15393 if test -z "$ac_lib"; then
15394 ac_res="none required"
15395 else
15396 ac_res=-l$ac_lib
15397 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15399 if ac_fn_c_try_link "$LINENO"; then :
15400 ac_cv_search_clock_gettime=$ac_res
15402 rm -f core conftest.err conftest.$ac_objext \
15403 conftest$ac_exeext
15404 if ${ac_cv_search_clock_gettime+:} false; then :
15405 break
15407 done
15408 if ${ac_cv_search_clock_gettime+:} false; then :
15410 else
15411 ac_cv_search_clock_gettime=no
15413 rm conftest.$ac_ext
15414 LIBS=$ac_func_search_save_LIBS
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15417 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15418 ac_res=$ac_cv_search_clock_gettime
15419 if test "$ac_res" != no; then :
15420 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15422 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15424 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15428 LIBS=$ac_save_LIBS
15430 LDAP_LIBS=""
15432 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15433 then
15434 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15436 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15438 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15439 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15440 $as_echo_n "(cached) " >&6
15441 else
15442 ac_check_lib_save_LIBS=$LIBS
15443 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15445 /* end confdefs.h. */
15447 /* Override any GCC internal prototype to avoid an error.
15448 Use char because int might match the return type of a GCC
15449 builtin and then its argument prototype would still apply. */
15450 #ifdef __cplusplus
15451 extern "C"
15452 #endif
15453 char ldap_initialize ();
15455 main ()
15457 return ldap_initialize ();
15459 return 0;
15461 _ACEOF
15462 if ac_fn_c_try_link "$LINENO"; then :
15463 ac_cv_lib_ldap_r_ldap_initialize=yes
15464 else
15465 ac_cv_lib_ldap_r_ldap_initialize=no
15467 rm -f core conftest.err conftest.$ac_objext \
15468 conftest$ac_exeext conftest.$ac_ext
15469 LIBS=$ac_check_lib_save_LIBS
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15472 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15473 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15475 $as_echo_n "checking for ber_init in -llber... " >&6; }
15476 if ${ac_cv_lib_lber_ber_init+:} false; then :
15477 $as_echo_n "(cached) " >&6
15478 else
15479 ac_check_lib_save_LIBS=$LIBS
15480 LIBS="-llber $PTHREAD_LIBS $LIBS"
15481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15482 /* end confdefs.h. */
15484 /* Override any GCC internal prototype to avoid an error.
15485 Use char because int might match the return type of a GCC
15486 builtin and then its argument prototype would still apply. */
15487 #ifdef __cplusplus
15488 extern "C"
15489 #endif
15490 char ber_init ();
15492 main ()
15494 return ber_init ();
15496 return 0;
15498 _ACEOF
15499 if ac_fn_c_try_link "$LINENO"; then :
15500 ac_cv_lib_lber_ber_init=yes
15501 else
15502 ac_cv_lib_lber_ber_init=no
15504 rm -f core conftest.err conftest.$ac_objext \
15505 conftest$ac_exeext conftest.$ac_ext
15506 LIBS=$ac_check_lib_save_LIBS
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15509 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15510 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15512 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15514 LDAP_LIBS="-lldap_r -llber"
15521 ac_wine_check_funcs_save_LIBS="$LIBS"
15522 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15523 for ac_func in \
15524 ldap_count_references \
15525 ldap_first_reference \
15526 ldap_next_reference \
15527 ldap_parse_reference \
15528 ldap_parse_sort_control \
15529 ldap_parse_sortresponse_control \
15530 ldap_parse_vlv_control \
15531 ldap_parse_vlvresponse_control
15532 do :
15533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15535 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15536 cat >>confdefs.h <<_ACEOF
15537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15538 _ACEOF
15541 done
15543 LIBS="$ac_wine_check_funcs_save_LIBS"
15545 if test "x$LDAP_LIBS" = "x"; then :
15546 case "x$with_ldap" in
15547 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15548 xno) ;;
15549 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15550 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15551 esac
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15556 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15557 if ${wine_cv_one_arg_mkdir+:} false; then :
15558 $as_echo_n "(cached) " >&6
15559 else
15560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15561 /* end confdefs.h. */
15562 #include <sys/stat.h>
15564 main ()
15566 mkdir("foo");
15568 return 0;
15570 _ACEOF
15571 if ac_fn_c_try_compile "$LINENO"; then :
15572 wine_cv_one_arg_mkdir=yes
15573 else
15574 wine_cv_one_arg_mkdir=no
15576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15579 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15580 if test "$wine_cv_one_arg_mkdir" = "yes"
15581 then
15583 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15588 $as_echo_n "checking for sched_setaffinity... " >&6; }
15589 if ${wine_cv_have_sched_setaffinity+:} false; then :
15590 $as_echo_n "(cached) " >&6
15591 else
15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15594 #define _GNU_SOURCE
15595 #include <sched.h>
15597 main ()
15599 sched_setaffinity(0, 0, 0);
15601 return 0;
15603 _ACEOF
15604 if ac_fn_c_try_link "$LINENO"; then :
15605 wine_cv_have_sched_setaffinity=yes
15606 else
15607 wine_cv_have_sched_setaffinity=no
15609 rm -f core conftest.err conftest.$ac_objext \
15610 conftest$ac_exeext conftest.$ac_ext
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15613 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15614 if test "$wine_cv_have_sched_setaffinity" = "yes"
15615 then
15617 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15622 $as_echo_n "checking for fallocate... " >&6; }
15623 if ${wine_cv_have_fallocate+:} false; then :
15624 $as_echo_n "(cached) " >&6
15625 else
15626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15627 /* end confdefs.h. */
15628 #define _GNU_SOURCE
15629 #include <fcntl.h>
15631 main ()
15633 fallocate(-1, 0, 0, 0);
15635 return 0;
15637 _ACEOF
15638 if ac_fn_c_try_link "$LINENO"; then :
15639 wine_cv_have_fallocate=yes
15640 else
15641 wine_cv_have_fallocate=no
15643 rm -f core conftest.err conftest.$ac_objext \
15644 conftest$ac_exeext conftest.$ac_ext
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15647 $as_echo "$wine_cv_have_fallocate" >&6; }
15648 if test "$wine_cv_have_fallocate" = "yes"
15649 then
15651 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15657 $as_echo_n "checking for inline... " >&6; }
15658 if ${ac_cv_c_inline+:} false; then :
15659 $as_echo_n "(cached) " >&6
15660 else
15661 ac_cv_c_inline=no
15662 for ac_kw in inline __inline__ __inline; do
15663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15664 /* end confdefs.h. */
15665 #ifndef __cplusplus
15666 typedef int foo_t;
15667 static $ac_kw foo_t static_foo () {return 0; }
15668 $ac_kw foo_t foo () {return 0; }
15669 #endif
15671 _ACEOF
15672 if ac_fn_c_try_compile "$LINENO"; then :
15673 ac_cv_c_inline=$ac_kw
15675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15676 test "$ac_cv_c_inline" != no && break
15677 done
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15681 $as_echo "$ac_cv_c_inline" >&6; }
15683 case $ac_cv_c_inline in
15684 inline | yes) ;;
15686 case $ac_cv_c_inline in
15687 no) ac_val=;;
15688 *) ac_val=$ac_cv_c_inline;;
15689 esac
15690 cat >>confdefs.h <<_ACEOF
15691 #ifndef __cplusplus
15692 #define inline $ac_val
15693 #endif
15694 _ACEOF
15696 esac
15698 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15699 if test "x$ac_cv_type_mode_t" = xyes; then :
15701 cat >>confdefs.h <<_ACEOF
15702 #define HAVE_MODE_T 1
15703 _ACEOF
15707 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15708 if test "x$ac_cv_type_off_t" = xyes; then :
15710 cat >>confdefs.h <<_ACEOF
15711 #define HAVE_OFF_T 1
15712 _ACEOF
15716 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15717 if test "x$ac_cv_type_pid_t" = xyes; then :
15719 cat >>confdefs.h <<_ACEOF
15720 #define HAVE_PID_T 1
15721 _ACEOF
15725 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15726 if test "x$ac_cv_type_size_t" = xyes; then :
15728 cat >>confdefs.h <<_ACEOF
15729 #define HAVE_SIZE_T 1
15730 _ACEOF
15734 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15735 if test "x$ac_cv_type_ssize_t" = xyes; then :
15737 cat >>confdefs.h <<_ACEOF
15738 #define HAVE_SSIZE_T 1
15739 _ACEOF
15743 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15744 if test "x$ac_cv_type_long_long" = xyes; then :
15746 cat >>confdefs.h <<_ACEOF
15747 #define HAVE_LONG_LONG 1
15748 _ACEOF
15752 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15753 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15755 cat >>confdefs.h <<_ACEOF
15756 #define HAVE_FSBLKCNT_T 1
15757 _ACEOF
15761 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15762 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15764 cat >>confdefs.h <<_ACEOF
15765 #define HAVE_FSFILCNT_T 1
15766 _ACEOF
15771 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15772 #include <signal.h>
15774 if test "x$ac_cv_type_sigset_t" = xyes; then :
15776 cat >>confdefs.h <<_ACEOF
15777 #define HAVE_SIGSET_T 1
15778 _ACEOF
15783 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15785 if test "x$ac_cv_type_request_sense" = xyes; then :
15787 cat >>confdefs.h <<_ACEOF
15788 #define HAVE_REQUEST_SENSE 1
15789 _ACEOF
15795 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15796 #ifdef HAVE_SYS_SOCKET_H
15797 #include <sys/socket.h>
15798 #endif
15799 #ifdef HAVE_SYS_SOCKETVAR_H
15800 #include <sys/socketvar.h>
15801 #endif
15802 #ifdef HAVE_NET_ROUTE_H
15803 #include <net/route.h>
15804 #endif
15805 #ifdef HAVE_NETINET_IN_H
15806 #include <netinet/in.h>
15807 #endif
15808 #ifdef HAVE_NETINET_IN_SYSTM_H
15809 #include <netinet/in_systm.h>
15810 #endif
15811 #ifdef HAVE_NETINET_IP_H
15812 #include <netinet/ip.h>
15813 #endif
15814 #ifdef HAVE_NETINET_IN_PCB_H
15815 #include <netinet/in_pcb.h>
15816 #endif
15818 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15820 cat >>confdefs.h <<_ACEOF
15821 #define HAVE_STRUCT_XINPGEN 1
15822 _ACEOF
15828 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15829 #include <link.h>
15830 #endif
15831 #ifdef HAVE_SYS_LINK_H
15832 #include <sys/link.h>
15833 #endif
15835 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15837 cat >>confdefs.h <<_ACEOF
15838 #define HAVE_STRUCT_R_DEBUG 1
15839 _ACEOF
15843 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15844 #include <link.h>
15845 #endif
15846 #ifdef HAVE_SYS_LINK_H
15847 #include <sys/link.h>
15848 #endif
15850 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15852 cat >>confdefs.h <<_ACEOF
15853 #define HAVE_STRUCT_LINK_MAP 1
15854 _ACEOF
15860 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15861 #include <linux/input.h>
15862 #endif
15864 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15866 cat >>confdefs.h <<_ACEOF
15867 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15868 _ACEOF
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15875 $as_echo_n "checking for sigaddset... " >&6; }
15876 if ${wine_cv_have_sigaddset+:} false; then :
15877 $as_echo_n "(cached) " >&6
15878 else
15879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15880 /* end confdefs.h. */
15881 #include <signal.h>
15883 main ()
15885 sigset_t set; sigaddset(&set,SIGTERM);
15887 return 0;
15889 _ACEOF
15890 if ac_fn_c_try_link "$LINENO"; then :
15891 wine_cv_have_sigaddset=yes
15892 else
15893 wine_cv_have_sigaddset=no
15895 rm -f core conftest.err conftest.$ac_objext \
15896 conftest$ac_exeext conftest.$ac_ext
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15899 $as_echo "$wine_cv_have_sigaddset" >&6; }
15900 if test "$wine_cv_have_sigaddset" = "yes"
15901 then
15903 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15909 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15910 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15911 $as_echo_n "(cached) " >&6
15912 else
15913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15914 /* end confdefs.h. */
15915 #include <netdb.h>
15917 main ()
15920 char *name=0;
15921 struct hostent he;
15922 struct hostent *result;
15923 char *buf=0;
15924 int bufsize=0;
15925 int errnr;
15926 char *addr=0;
15927 int addrlen=0;
15928 int addrtype=0;
15929 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15930 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15933 return 0;
15935 _ACEOF
15936 if ac_fn_c_try_link "$LINENO"; then :
15937 wine_cv_linux_gethostbyname_r_6=yes
15938 else
15939 wine_cv_linux_gethostbyname_r_6=no
15942 rm -f core conftest.err conftest.$ac_objext \
15943 conftest$ac_exeext conftest.$ac_ext
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15947 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15948 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15949 then
15951 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15955 if test "$ac_cv_header_linux_joystick_h" = "yes"
15956 then
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15958 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15959 if ${wine_cv_linux_joystick_22_api+:} false; then :
15960 $as_echo_n "(cached) " >&6
15961 else
15962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15963 /* end confdefs.h. */
15965 #include <sys/ioctl.h>
15966 #include <sys/types.h>
15967 #include <linux/joystick.h>
15969 struct js_event blub;
15970 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15971 #error "no 2.2 header"
15972 #endif
15975 main ()
15977 /*empty*/
15979 return 0;
15981 _ACEOF
15982 if ac_fn_c_try_compile "$LINENO"; then :
15983 wine_cv_linux_joystick_22_api=yes
15984 else
15985 wine_cv_linux_joystick_22_api=no
15987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15991 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15992 if test "$wine_cv_linux_joystick_22_api" = "yes"
15993 then
15995 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16001 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16002 #ifdef HAVE_SYS_PARAM_H
16003 # include <sys/param.h>
16004 #endif
16005 #ifdef HAVE_SYS_MOUNT_H
16006 # include <sys/mount.h>
16007 #endif
16008 #ifdef HAVE_SYS_VFS_H
16009 # include <sys/vfs.h>
16010 #endif
16011 #ifdef HAVE_SYS_STATFS_H
16012 # include <sys/statfs.h>
16013 #endif
16015 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16017 cat >>confdefs.h <<_ACEOF
16018 #define HAVE_STRUCT_STATFS_F_BFREE 1
16019 _ACEOF
16023 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16024 #ifdef HAVE_SYS_PARAM_H
16025 # include <sys/param.h>
16026 #endif
16027 #ifdef HAVE_SYS_MOUNT_H
16028 # include <sys/mount.h>
16029 #endif
16030 #ifdef HAVE_SYS_VFS_H
16031 # include <sys/vfs.h>
16032 #endif
16033 #ifdef HAVE_SYS_STATFS_H
16034 # include <sys/statfs.h>
16035 #endif
16037 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16039 cat >>confdefs.h <<_ACEOF
16040 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16041 _ACEOF
16045 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16046 #ifdef HAVE_SYS_PARAM_H
16047 # include <sys/param.h>
16048 #endif
16049 #ifdef HAVE_SYS_MOUNT_H
16050 # include <sys/mount.h>
16051 #endif
16052 #ifdef HAVE_SYS_VFS_H
16053 # include <sys/vfs.h>
16054 #endif
16055 #ifdef HAVE_SYS_STATFS_H
16056 # include <sys/statfs.h>
16057 #endif
16059 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16061 cat >>confdefs.h <<_ACEOF
16062 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16063 _ACEOF
16067 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16068 #ifdef HAVE_SYS_PARAM_H
16069 # include <sys/param.h>
16070 #endif
16071 #ifdef HAVE_SYS_MOUNT_H
16072 # include <sys/mount.h>
16073 #endif
16074 #ifdef HAVE_SYS_VFS_H
16075 # include <sys/vfs.h>
16076 #endif
16077 #ifdef HAVE_SYS_STATFS_H
16078 # include <sys/statfs.h>
16079 #endif
16081 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16083 cat >>confdefs.h <<_ACEOF
16084 #define HAVE_STRUCT_STATFS_F_FFREE 1
16085 _ACEOF
16089 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16090 #ifdef HAVE_SYS_PARAM_H
16091 # include <sys/param.h>
16092 #endif
16093 #ifdef HAVE_SYS_MOUNT_H
16094 # include <sys/mount.h>
16095 #endif
16096 #ifdef HAVE_SYS_VFS_H
16097 # include <sys/vfs.h>
16098 #endif
16099 #ifdef HAVE_SYS_STATFS_H
16100 # include <sys/statfs.h>
16101 #endif
16103 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16105 cat >>confdefs.h <<_ACEOF
16106 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16107 _ACEOF
16111 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16112 #ifdef HAVE_SYS_PARAM_H
16113 # include <sys/param.h>
16114 #endif
16115 #ifdef HAVE_SYS_MOUNT_H
16116 # include <sys/mount.h>
16117 #endif
16118 #ifdef HAVE_SYS_VFS_H
16119 # include <sys/vfs.h>
16120 #endif
16121 #ifdef HAVE_SYS_STATFS_H
16122 # include <sys/statfs.h>
16123 #endif
16125 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16129 _ACEOF
16135 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16136 #include <sys/statvfs.h>
16137 #endif
16139 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16141 cat >>confdefs.h <<_ACEOF
16142 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16143 _ACEOF
16149 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16150 #include <dirent.h>
16151 #endif
16153 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16155 cat >>confdefs.h <<_ACEOF
16156 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16157 _ACEOF
16163 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16164 #ifdef HAVE_SYS_SOCKET_H
16165 # include <sys/socket.h>
16166 #endif
16167 #ifdef HAVE_SYS_UN_H
16168 # include <sys/un.h>
16169 #endif
16171 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16173 cat >>confdefs.h <<_ACEOF
16174 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16175 _ACEOF
16179 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16180 #ifdef HAVE_SYS_SOCKET_H
16181 # include <sys/socket.h>
16182 #endif
16183 #ifdef HAVE_SYS_UN_H
16184 # include <sys/un.h>
16185 #endif
16187 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16189 cat >>confdefs.h <<_ACEOF
16190 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16191 _ACEOF
16195 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16196 #ifdef HAVE_SYS_SOCKET_H
16197 # include <sys/socket.h>
16198 #endif
16199 #ifdef HAVE_SYS_UN_H
16200 # include <sys/un.h>
16201 #endif
16203 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16205 cat >>confdefs.h <<_ACEOF
16206 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16207 _ACEOF
16213 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16214 #ifdef HAVE_SCSI_SG_H
16215 #include <scsi/sg.h>
16216 #endif
16218 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16220 cat >>confdefs.h <<_ACEOF
16221 #define HAVE_SCSIREQ_T_CMD 1
16222 _ACEOF
16226 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>
16227 #ifdef HAVE_SCSI_SG_H
16228 #include <scsi/sg.h>
16229 #endif
16231 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16233 cat >>confdefs.h <<_ACEOF
16234 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16235 _ACEOF
16241 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16243 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16245 cat >>confdefs.h <<_ACEOF
16246 #define HAVE_SIGINFO_T_SI_FD 1
16247 _ACEOF
16253 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16254 #ifdef HAVE_SYS_MTIO_H
16255 #include <sys/mtio.h>
16256 #endif
16258 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16260 cat >>confdefs.h <<_ACEOF
16261 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16262 _ACEOF
16266 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16267 #ifdef HAVE_SYS_MTIO_H
16268 #include <sys/mtio.h>
16269 #endif
16271 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16273 cat >>confdefs.h <<_ACEOF
16274 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16275 _ACEOF
16279 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16280 #ifdef HAVE_SYS_MTIO_H
16281 #include <sys/mtio.h>
16282 #endif
16284 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16286 cat >>confdefs.h <<_ACEOF
16287 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16288 _ACEOF
16294 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16295 #include <getopt.h>
16296 #endif
16298 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16300 cat >>confdefs.h <<_ACEOF
16301 #define HAVE_STRUCT_OPTION_NAME 1
16302 _ACEOF
16308 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16309 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16311 cat >>confdefs.h <<_ACEOF
16312 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16313 _ACEOF
16317 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16318 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16320 cat >>confdefs.h <<_ACEOF
16321 #define HAVE_STRUCT_STAT_ST_MTIM 1
16322 _ACEOF
16326 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16327 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16329 cat >>confdefs.h <<_ACEOF
16330 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16331 _ACEOF
16335 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16336 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16338 cat >>confdefs.h <<_ACEOF
16339 #define HAVE_STRUCT_STAT_ST_CTIM 1
16340 _ACEOF
16344 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16345 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16347 cat >>confdefs.h <<_ACEOF
16348 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16349 _ACEOF
16353 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16354 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16356 cat >>confdefs.h <<_ACEOF
16357 #define HAVE_STRUCT_STAT_ST_ATIM 1
16358 _ACEOF
16362 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16363 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16365 cat >>confdefs.h <<_ACEOF
16366 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16367 _ACEOF
16371 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16372 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16374 cat >>confdefs.h <<_ACEOF
16375 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16376 _ACEOF
16380 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16381 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16383 cat >>confdefs.h <<_ACEOF
16384 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16385 _ACEOF
16389 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16390 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16392 cat >>confdefs.h <<_ACEOF
16393 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16394 _ACEOF
16398 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16399 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16401 cat >>confdefs.h <<_ACEOF
16402 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16403 _ACEOF
16407 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16408 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16410 cat >>confdefs.h <<_ACEOF
16411 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16412 _ACEOF
16418 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
16419 #include <sys/types.h>
16420 #endif
16421 #ifdef HAVE_NETINET_IN_H
16422 #include <netinet/in.h>
16423 #endif
16425 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16427 cat >>confdefs.h <<_ACEOF
16428 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16429 _ACEOF
16435 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16436 #include <resolv.h>
16437 #endif
16439 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16441 cat >>confdefs.h <<_ACEOF
16442 #define HAVE_STRUCT___RES_STATE 1
16443 _ACEOF
16449 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
16450 #include <resolv.h>
16451 #endif
16453 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16455 cat >>confdefs.h <<_ACEOF
16456 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16457 _ACEOF
16463 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16464 #include <sys/types.h>
16465 #endif
16466 #ifdef HAVE_NETINET_IN_H
16467 # include <netinet/in.h>
16468 #endif
16469 #ifdef HAVE_ARPA_NAMESER_H
16470 # include <arpa/nameser.h>
16471 #endif
16473 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16475 cat >>confdefs.h <<_ACEOF
16476 #define HAVE_NS_MSG__MSG_PTR 1
16477 _ACEOF
16483 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16484 #include <sys/types.h>
16485 #endif
16486 #ifdef HAVE_NETINET_IP_H
16487 #include <netinet/ip.h>
16488 #endif
16489 #ifdef HAVE_NETINET_IP_ICMP_H
16490 #include <netinet/ip_icmp.h>
16491 #endif
16492 #ifdef HAVE_NETINET_ICMP_VAR_H
16493 #include <netinet/icmp_var.h>
16494 #endif
16496 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16498 cat >>confdefs.h <<_ACEOF
16499 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16500 _ACEOF
16506 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16507 #include <sys/types.h>
16508 #endif
16509 #ifdef HAVE_ALIAS_H
16510 #include <alias.h>
16511 #endif
16512 #ifdef HAVE_SYS_SOCKET_H
16513 #include <sys/socket.h>
16514 #endif
16515 #ifdef HAVE_SYS_SOCKETVAR_H
16516 #include <sys/socketvar.h>
16517 #endif
16518 #ifdef HAVE_SYS_TIMEOUT_H
16519 #include <sys/timeout.h>
16520 #endif
16521 #ifdef HAVE_NETINET_IN_H
16522 #include <netinet/in.h>
16523 #endif
16524 #ifdef HAVE_NETINET_IN_SYSTM_H
16525 #include <netinet/in_systm.h>
16526 #endif
16527 #ifdef HAVE_NETINET_IP_H
16528 #include <netinet/ip.h>
16529 #endif
16530 #ifdef HAVE_NETINET_IP_VAR_H
16531 #include <netinet/ip_var.h>
16532 #endif
16533 #ifdef HAVE_NETINET_IP_ICMP_H
16534 #include <netinet/ip_icmp.h>
16535 #endif
16536 #ifdef HAVE_NETINET_ICMP_VAR_H
16537 #include <netinet/icmp_var.h>
16538 #endif
16540 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16542 cat >>confdefs.h <<_ACEOF
16543 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16544 _ACEOF
16550 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16551 #include <sys/types.h>
16552 #endif
16553 #ifdef HAVE_SYS_SOCKETVAR_H
16554 #include <sys/socketvar.h>
16555 #endif
16556 #ifdef HAVE_NETINET_IN_H
16557 #include <netinet/in.h>
16558 #endif
16559 #ifdef HAVE_NETINET_IP_VAR_H
16560 #include <netinet/ip_var.h>
16561 #endif
16563 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16565 cat >>confdefs.h <<_ACEOF
16566 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16567 _ACEOF
16573 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
16574 #include <netinet/ip_var.h>
16575 #endif
16577 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16579 cat >>confdefs.h <<_ACEOF
16580 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16581 _ACEOF
16587 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16588 #include <sys/types.h>
16589 #endif
16590 #ifdef HAVE_SYS_SOCKETVAR_H
16591 #include <sys/socketvar.h>
16592 #endif
16593 #ifdef HAVE_NETINET_IN_H
16594 #include <netinet/in.h>
16595 #endif
16596 #ifdef HAVE_NETINET_TCP_H
16597 #include <netinet/tcp.h>
16598 #endif
16599 #ifdef HAVE_NETINET_TCP_VAR_H
16600 #include <netinet/tcp_var.h>
16601 #endif
16603 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16605 cat >>confdefs.h <<_ACEOF
16606 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16607 _ACEOF
16613 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
16614 #include <netinet/tcp_var.h>
16615 #endif
16617 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16619 cat >>confdefs.h <<_ACEOF
16620 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16621 _ACEOF
16627 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16628 #include <sys/types.h>
16629 #endif
16630 #ifdef HAVE_NETINET_IN_H
16631 #include <netinet/in.h>
16632 #endif
16633 #ifdef HAVE_NETINET_IP_VAR_H
16634 #include <netinet/ip_var.h>
16635 #endif
16636 #ifdef HAVE_NETINET_UDP_H
16637 #include <netinet/udp.h>
16638 #endif
16639 #ifdef HAVE_NETINET_UDP_VAR_H
16640 #include <netinet/udp_var.h>
16641 #endif
16643 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16647 _ACEOF
16653 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16654 #include <sys/types.h>
16655 #endif
16656 #ifdef HAVE_NET_IF_H
16657 # include <net/if.h>
16658 #endif
16660 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16662 cat >>confdefs.h <<_ACEOF
16663 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16664 _ACEOF
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16671 $as_echo_n "checking for timezone variable... " >&6; }
16672 if ${ac_cv_have_timezone+:} false; then :
16673 $as_echo_n "(cached) " >&6
16674 else
16675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16676 /* end confdefs.h. */
16677 #include <time.h>
16679 main ()
16681 timezone = 1
16683 return 0;
16685 _ACEOF
16686 if ac_fn_c_try_link "$LINENO"; then :
16687 ac_cv_have_timezone="yes"
16688 else
16689 ac_cv_have_timezone="no"
16691 rm -f core conftest.err conftest.$ac_objext \
16692 conftest$ac_exeext conftest.$ac_ext
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16695 $as_echo "$ac_cv_have_timezone" >&6; }
16696 if test "$ac_cv_have_timezone" = "yes"
16697 then
16699 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16703 $as_echo_n "checking for daylight variable... " >&6; }
16704 if ${ac_cv_have_daylight+:} false; then :
16705 $as_echo_n "(cached) " >&6
16706 else
16707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16708 /* end confdefs.h. */
16709 #include <time.h>
16711 main ()
16713 daylight = 1
16715 return 0;
16717 _ACEOF
16718 if ac_fn_c_try_link "$LINENO"; then :
16719 ac_cv_have_daylight="yes"
16720 else
16721 ac_cv_have_daylight="no"
16723 rm -f core conftest.err conftest.$ac_objext \
16724 conftest$ac_exeext conftest.$ac_ext
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16727 $as_echo "$ac_cv_have_daylight" >&6; }
16728 if test "$ac_cv_have_daylight" = "yes"
16729 then
16731 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16735 ac_save_LIBS="$LIBS"
16736 LIBS="$LIBS -lm"
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16738 $as_echo_n "checking for isfinite... " >&6; }
16739 if ${ac_cv_have_isfinite+:} false; then :
16740 $as_echo_n "(cached) " >&6
16741 else
16742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16743 /* end confdefs.h. */
16744 #define _GNU_SOURCE
16745 #include <math.h>
16747 main ()
16749 float f = 0.0; return isfinite(f)
16751 return 0;
16753 _ACEOF
16754 if ac_fn_c_try_link "$LINENO"; then :
16755 ac_cv_have_isfinite="yes"
16756 else
16757 ac_cv_have_isfinite="no"
16759 rm -f core conftest.err conftest.$ac_objext \
16760 conftest$ac_exeext conftest.$ac_ext
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16763 $as_echo "$ac_cv_have_isfinite" >&6; }
16764 if test "$ac_cv_have_isfinite" = "yes"
16765 then
16767 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16772 $as_echo_n "checking for isinf... " >&6; }
16773 if ${ac_cv_have_isinf+:} false; then :
16774 $as_echo_n "(cached) " >&6
16775 else
16776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16777 /* end confdefs.h. */
16778 #include <math.h>
16780 main ()
16782 float f = 0.0; return isinf(f)
16784 return 0;
16786 _ACEOF
16787 if ac_fn_c_try_link "$LINENO"; then :
16788 ac_cv_have_isinf="yes"
16789 else
16790 ac_cv_have_isinf="no"
16792 rm -f core conftest.err conftest.$ac_objext \
16793 conftest$ac_exeext conftest.$ac_ext
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16796 $as_echo "$ac_cv_have_isinf" >&6; }
16797 if test "$ac_cv_have_isinf" = "yes"
16798 then
16800 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16805 $as_echo_n "checking for isnan... " >&6; }
16806 if ${ac_cv_have_isnan+:} false; then :
16807 $as_echo_n "(cached) " >&6
16808 else
16809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16810 /* end confdefs.h. */
16811 #include <math.h>
16813 main ()
16815 float f = 0.0; return isnan(f)
16817 return 0;
16819 _ACEOF
16820 if ac_fn_c_try_link "$LINENO"; then :
16821 ac_cv_have_isnan="yes"
16822 else
16823 ac_cv_have_isnan="no"
16825 rm -f core conftest.err conftest.$ac_objext \
16826 conftest$ac_exeext conftest.$ac_ext
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16829 $as_echo "$ac_cv_have_isnan" >&6; }
16830 if test "$ac_cv_have_isnan" = "yes"
16831 then
16833 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16837 for ac_func in \
16838 cbrt \
16839 cbrtf \
16840 erf \
16841 erff \
16842 exp2 \
16843 exp2f \
16844 llrint \
16845 llrintf \
16846 llround \
16847 llroundf \
16848 log2 \
16849 log2f \
16850 lrint \
16851 lrintf \
16852 lround \
16853 lroundf \
16854 rint \
16855 rintf \
16856 round \
16857 roundf \
16858 trunc \
16859 truncf
16861 do :
16862 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16863 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16864 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16865 cat >>confdefs.h <<_ACEOF
16866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16867 _ACEOF
16870 done
16872 LIBS="$ac_save_LIBS"
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16875 $as_echo_n "checking for __builtin_clz... " >&6; }
16876 if ${ac_cv_have___builtin_clz+:} false; then :
16877 $as_echo_n "(cached) " >&6
16878 else
16879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16880 /* end confdefs.h. */
16883 main ()
16885 return __builtin_clz(1)
16887 return 0;
16889 _ACEOF
16890 if ac_fn_c_try_link "$LINENO"; then :
16891 ac_cv_have___builtin_clz="yes"
16892 else
16893 ac_cv_have___builtin_clz="no"
16895 rm -f core conftest.err conftest.$ac_objext \
16896 conftest$ac_exeext conftest.$ac_ext
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16899 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16900 if test "$ac_cv_have___builtin_clz" = "yes"
16901 then
16903 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16908 $as_echo_n "checking for __builtin_popcount... " >&6; }
16909 if ${ac_cv_have___builtin_popcount+:} false; then :
16910 $as_echo_n "(cached) " >&6
16911 else
16912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16913 /* end confdefs.h. */
16916 main ()
16918 return __builtin_popcount(1)
16920 return 0;
16922 _ACEOF
16923 if ac_fn_c_try_link "$LINENO"; then :
16924 ac_cv_have___builtin_popcount="yes"
16925 else
16926 ac_cv_have___builtin_popcount="no"
16928 rm -f core conftest.err conftest.$ac_objext \
16929 conftest$ac_exeext conftest.$ac_ext
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
16932 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16933 if test "$ac_cv_have___builtin_popcount" = "yes"
16934 then
16936 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16941 case $host_cpu in
16942 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16943 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16944 if ${ac_cv_cpp_def___i386__+:} false; then :
16945 $as_echo_n "(cached) " >&6
16946 else
16947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16948 /* end confdefs.h. */
16949 #ifndef __i386__
16951 #endif
16952 _ACEOF
16953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16954 $EGREP "yes" >/dev/null 2>&1; then :
16955 ac_cv_cpp_def___i386__=yes
16956 else
16957 ac_cv_cpp_def___i386__=no
16959 rm -f conftest*
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16963 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16964 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16965 CFLAGS="$CFLAGS -D__i386__"
16966 LINTFLAGS="$LINTFLAGS -D__i386__"
16967 fi ;;
16968 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16969 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16970 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16971 $as_echo_n "(cached) " >&6
16972 else
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16975 #ifndef __x86_64__
16977 #endif
16978 _ACEOF
16979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16980 $EGREP "yes" >/dev/null 2>&1; then :
16981 ac_cv_cpp_def___x86_64__=yes
16982 else
16983 ac_cv_cpp_def___x86_64__=no
16985 rm -f conftest*
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16989 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16990 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16991 CFLAGS="$CFLAGS -D__x86_64__"
16992 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16993 fi ;;
16994 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16995 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16996 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16997 $as_echo_n "(cached) " >&6
16998 else
16999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17000 /* end confdefs.h. */
17001 #ifndef __sparc64__
17003 #endif
17004 _ACEOF
17005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17006 $EGREP "yes" >/dev/null 2>&1; then :
17007 ac_cv_cpp_def___sparc64__=yes
17008 else
17009 ac_cv_cpp_def___sparc64__=no
17011 rm -f conftest*
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17015 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17016 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17017 CFLAGS="$CFLAGS -D__sparc64__"
17018 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17019 fi ;;
17020 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17021 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17022 if ${ac_cv_cpp_def___sparc__+:} false; then :
17023 $as_echo_n "(cached) " >&6
17024 else
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 #ifndef __sparc__
17029 #endif
17030 _ACEOF
17031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17032 $EGREP "yes" >/dev/null 2>&1; then :
17033 ac_cv_cpp_def___sparc__=yes
17034 else
17035 ac_cv_cpp_def___sparc__=no
17037 rm -f conftest*
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17041 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17042 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17043 CFLAGS="$CFLAGS -D__sparc__"
17044 LINTFLAGS="$LINTFLAGS -D__sparc__"
17045 fi ;;
17046 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17047 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17048 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17049 $as_echo_n "(cached) " >&6
17050 else
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 #ifndef __powerpc64__
17055 #endif
17056 _ACEOF
17057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17058 $EGREP "yes" >/dev/null 2>&1; then :
17059 ac_cv_cpp_def___powerpc64__=yes
17060 else
17061 ac_cv_cpp_def___powerpc64__=no
17063 rm -f conftest*
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17067 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17068 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17069 CFLAGS="$CFLAGS -D__powerpc64__"
17070 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17071 fi ;;
17072 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17073 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17074 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17075 $as_echo_n "(cached) " >&6
17076 else
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 #ifndef __powerpc__
17081 #endif
17082 _ACEOF
17083 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17084 $EGREP "yes" >/dev/null 2>&1; then :
17085 ac_cv_cpp_def___powerpc__=yes
17086 else
17087 ac_cv_cpp_def___powerpc__=no
17089 rm -f conftest*
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17093 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17094 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17095 CFLAGS="$CFLAGS -D__powerpc__"
17096 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17097 fi ;;
17098 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17099 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17100 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17101 $as_echo_n "(cached) " >&6
17102 else
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 #ifndef __aarch64__
17107 #endif
17108 _ACEOF
17109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17110 $EGREP "yes" >/dev/null 2>&1; then :
17111 ac_cv_cpp_def___aarch64__=yes
17112 else
17113 ac_cv_cpp_def___aarch64__=no
17115 rm -f conftest*
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17119 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17120 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17121 CFLAGS="$CFLAGS -D__aarch64__"
17122 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17123 fi ;;
17124 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17125 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17126 if ${ac_cv_cpp_def___arm__+:} false; then :
17127 $as_echo_n "(cached) " >&6
17128 else
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h. */
17131 #ifndef __arm__
17133 #endif
17134 _ACEOF
17135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17136 $EGREP "yes" >/dev/null 2>&1; then :
17137 ac_cv_cpp_def___arm__=yes
17138 else
17139 ac_cv_cpp_def___arm__=no
17141 rm -f conftest*
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17145 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17146 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17147 CFLAGS="$CFLAGS -D__arm__"
17148 LINTFLAGS="$LINTFLAGS -D__arm__"
17149 fi ;;
17150 esac
17152 case $host_vendor in
17153 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17154 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17155 if ${ac_cv_cpp_def___sun__+:} false; then :
17156 $as_echo_n "(cached) " >&6
17157 else
17158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17159 /* end confdefs.h. */
17160 #ifndef __sun__
17162 #endif
17163 _ACEOF
17164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17165 $EGREP "yes" >/dev/null 2>&1; then :
17166 ac_cv_cpp_def___sun__=yes
17167 else
17168 ac_cv_cpp_def___sun__=no
17170 rm -f conftest*
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17174 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17175 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17176 CFLAGS="$CFLAGS -D__sun__"
17177 LINTFLAGS="$LINTFLAGS -D__sun__"
17178 fi ;;
17179 esac
17185 ac_config_commands="$ac_config_commands include/stamp-h"
17187 $as_echo_n "creating Makefile rules..." >&6
17189 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17190 SOCKET_LIBS = $SOCKET_LIBS
17191 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17192 IOKIT_LIBS = $IOKIT_LIBS
17193 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17194 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17195 CORESERVICES_LIBS = $CORESERVICES_LIBS
17196 APPKIT_LIBS = $APPKIT_LIBS
17197 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17198 SECURITY_LIBS = $SECURITY_LIBS
17199 COREAUDIO_LIBS = $COREAUDIO_LIBS
17200 OPENAL_LIBS = $OPENAL_LIBS
17201 OPENCL_LIBS = $OPENCL_LIBS
17202 QUICKTIME_LIBS = $QUICKTIME_LIBS
17203 CARBON_LIBS = $CARBON_LIBS
17204 PTHREAD_LIBS = $PTHREAD_LIBS
17205 X_CFLAGS = $X_CFLAGS
17206 X_PRE_LIBS = $X_PRE_LIBS
17207 X_LIBS = $X_LIBS
17208 X_EXTRA_LIBS = $X_EXTRA_LIBS
17209 PCAP_LIBS = $PCAP_LIBS
17210 XML2_CFLAGS = $XML2_CFLAGS
17211 XML2_LIBS = $XML2_LIBS
17212 XSLT_CFLAGS = $XSLT_CFLAGS
17213 XSLT_LIBS = $XSLT_LIBS
17214 DBUS_CFLAGS = $DBUS_CFLAGS
17215 DBUS_LIBS = $DBUS_LIBS
17216 HAL_CFLAGS = $HAL_CFLAGS
17217 HAL_LIBS = $HAL_LIBS
17218 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17219 GNUTLS_LIBS = $GNUTLS_LIBS
17220 SANE_CFLAGS = $SANE_CFLAGS
17221 SANE_LIBS = $SANE_LIBS
17222 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17223 GPHOTO2_LIBS = $GPHOTO2_LIBS
17224 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17225 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17226 RESOLV_LIBS = $RESOLV_LIBS
17227 LCMS2_CFLAGS = $LCMS2_CFLAGS
17228 LCMS2_LIBS = $LCMS2_LIBS
17229 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17230 FREETYPE_LIBS = $FREETYPE_LIBS
17231 Z_LIBS = $Z_LIBS
17232 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17233 PULSE_CFLAGS = $PULSE_CFLAGS
17234 PULSE_LIBS = $PULSE_LIBS
17235 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17236 GSTREAMER_LIBS = $GSTREAMER_LIBS
17237 ALSA_LIBS = $ALSA_LIBS
17238 OSS4_CFLAGS = $OSS4_CFLAGS
17239 CAPI20_CFLAGS = $CAPI20_CFLAGS
17240 CAPI20_LIBS = $CAPI20_LIBS
17241 CUPS_CFLAGS = $CUPS_CFLAGS
17242 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17243 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17244 JPEG_CFLAGS = $JPEG_CFLAGS
17245 JPEG_LIBS = $JPEG_LIBS
17246 PNG_CFLAGS = $PNG_CFLAGS
17247 PNG_LIBS = $PNG_LIBS
17248 TIFF_CFLAGS = $TIFF_CFLAGS
17249 TIFF_LIBS = $TIFF_LIBS
17250 MPG123_CFLAGS = $MPG123_CFLAGS
17251 MPG123_LIBS = $MPG123_LIBS
17252 KSTAT_LIBS = $KSTAT_LIBS
17253 PROCSTAT_LIBS = $PROCSTAT_LIBS
17254 NETAPI_CFLAGS = $NETAPI_CFLAGS
17255 NETAPI_LIBS = $NETAPI_LIBS
17256 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17257 DL_LIBS = $DL_LIBS
17258 POLL_LIBS = $POLL_LIBS
17259 RT_LIBS = $RT_LIBS
17260 LDAP_LIBS = $LDAP_LIBS
17265 wine_fn_append_rule "
17266 # Rules automatically generated by configure
17268 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17270 .INIT: Makefile
17271 .MAKEFILEDEPS:
17272 all: Makefile
17273 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17274 @./config.status Make.tmp Makefile
17275 depend: \$(MAKEDEP) dummy
17276 \$(MAKEDEP)"
17278 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17279 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17281 if test "x$enable_fonts" != xno; then
17282 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17283 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17284 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17285 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17286 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17287 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17289 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17290 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17291 ac_config_links="$ac_config_links wine:tools/winewrapper"
17292 wine_fn_config_symlink wine
17293 if test "x$enable_win64" != xno; then
17294 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17295 wine_fn_config_symlink wine64
17298 wine_fn_config_dll acledit enable_acledit
17299 wine_fn_config_dll aclui enable_aclui implib
17300 wine_fn_config_dll activeds enable_activeds implib
17301 wine_fn_config_dll actxprxy enable_actxprxy clean
17302 wine_fn_config_lib adsiid
17303 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17304 wine_fn_config_test dlls/advapi32/tests advapi32_test
17305 wine_fn_config_dll advpack enable_advpack implib
17306 wine_fn_config_test dlls/advpack/tests advpack_test
17307 wine_fn_config_dll amstream enable_amstream clean
17308 wine_fn_config_test dlls/amstream/tests amstream_test
17309 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17310 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17311 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17312 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17313 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17314 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17315 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17316 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17317 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17318 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17319 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17320 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17322 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17323 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17324 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17325 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17326 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17327 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17328 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17329 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17330 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17331 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17332 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17333 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17334 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17335 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17336 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17337 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17338 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17339 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17340 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17341 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17342 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17343 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17344 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17345 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17346 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17347 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17348 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17349 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17350 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17351 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17352 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17353 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17354 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17355 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17356 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17357 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17358 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17359 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17360 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17361 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17362 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17363 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17364 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17365 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17366 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17367 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17368 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17369 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17370 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17371 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17372 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17373 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17374 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17375 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17376 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17377 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17378 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17379 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17380 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17381 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17382 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17383 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17384 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17385 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17386 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17387 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17388 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17389 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17390 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17391 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17392 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17393 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17394 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17395 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17396 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17397 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17398 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17399 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17400 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17401 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17402 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17403 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17404 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17405 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17406 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17407 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17408 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17409 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17410 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17411 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17412 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17413 wine_fn_config_dll apphelp enable_apphelp
17414 wine_fn_config_test dlls/apphelp/tests apphelp_test
17415 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17416 wine_fn_config_dll atl enable_atl clean,implib
17417 wine_fn_config_test dlls/atl/tests atl_test
17418 wine_fn_config_dll atl100 enable_atl100 clean,implib
17419 wine_fn_config_test dlls/atl100/tests atl100_test
17420 wine_fn_config_dll atl110 enable_atl110 clean
17421 wine_fn_config_dll atl80 enable_atl80 clean,implib
17422 wine_fn_config_test dlls/atl80/tests atl80_test
17423 wine_fn_config_dll atl90 enable_atl90 clean
17424 wine_fn_config_dll authz enable_authz
17425 wine_fn_config_dll avicap32 enable_avicap32 implib
17426 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17427 wine_fn_config_test dlls/avifil32/tests avifil32_test
17428 wine_fn_config_dll avifile.dll16 enable_win16
17429 wine_fn_config_dll avrt enable_avrt implib
17430 wine_fn_config_dll bcrypt enable_bcrypt implib
17431 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17432 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17433 wine_fn_config_dll browseui enable_browseui clean
17434 wine_fn_config_test dlls/browseui/tests browseui_test
17435 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17436 wine_fn_config_dll cabinet enable_cabinet implib
17437 wine_fn_config_test dlls/cabinet/tests cabinet_test
17438 wine_fn_config_dll capi2032 enable_capi2032 implib
17439 wine_fn_config_dll cards enable_cards implib
17440 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17441 wine_fn_config_dll clusapi enable_clusapi implib
17442 wine_fn_config_dll combase enable_combase
17443 wine_fn_config_test dlls/combase/tests combase_test
17444 wine_fn_config_dll comcat enable_comcat
17445 wine_fn_config_test dlls/comcat/tests comcat_test
17446 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17447 wine_fn_config_test dlls/comctl32/tests comctl32_test
17448 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17449 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17450 wine_fn_config_dll comm.drv16 enable_win16
17451 wine_fn_config_dll commdlg.dll16 enable_win16
17452 wine_fn_config_dll compobj.dll16 enable_win16
17453 wine_fn_config_dll compstui enable_compstui implib
17454 wine_fn_config_dll comsvcs enable_comsvcs implib
17455 wine_fn_config_dll connect enable_connect
17456 wine_fn_config_dll credui enable_credui clean,implib
17457 wine_fn_config_test dlls/credui/tests credui_test
17458 wine_fn_config_dll crtdll enable_crtdll implib
17459 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17460 wine_fn_config_test dlls/crypt32/tests crypt32_test
17461 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17462 wine_fn_config_dll cryptdll enable_cryptdll implib
17463 wine_fn_config_dll cryptext enable_cryptext
17464 wine_fn_config_dll cryptnet enable_cryptnet implib
17465 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17466 wine_fn_config_dll cryptui enable_cryptui clean,implib
17467 wine_fn_config_test dlls/cryptui/tests cryptui_test
17468 wine_fn_config_dll ctapi32 enable_ctapi32
17469 wine_fn_config_dll ctl3d.dll16 enable_win16
17470 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17471 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17472 wine_fn_config_dll d2d1 enable_d2d1 implib
17473 wine_fn_config_test dlls/d2d1/tests d2d1_test
17474 wine_fn_config_dll d3d10 enable_d3d10 implib
17475 wine_fn_config_test dlls/d3d10/tests d3d10_test
17476 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17477 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17478 wine_fn_config_dll d3d10core enable_d3d10core implib
17479 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17480 wine_fn_config_dll d3d11 enable_d3d11 implib
17481 wine_fn_config_test dlls/d3d11/tests d3d11_test
17482 wine_fn_config_dll d3d8 enable_d3d8 implib
17483 wine_fn_config_test dlls/d3d8/tests d3d8_test
17484 wine_fn_config_dll d3d9 enable_d3d9 implib
17485 wine_fn_config_test dlls/d3d9/tests d3d9_test
17486 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17487 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17488 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17489 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17490 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17491 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17492 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17493 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17494 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17495 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17496 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17497 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17498 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17499 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17500 wine_fn_config_dll d3dim enable_d3dim implib
17501 wine_fn_config_dll d3drm enable_d3drm implib
17502 wine_fn_config_test dlls/d3drm/tests d3drm_test
17503 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17504 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17505 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17506 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17507 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17508 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17509 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17510 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17511 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17512 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17513 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17514 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17515 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17516 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17517 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17518 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17519 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17520 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17521 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17522 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17523 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17524 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17525 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17526 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17527 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17528 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17529 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17530 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17531 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17532 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17533 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17534 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17535 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17536 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17537 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17538 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17539 wine_fn_config_dll davclnt enable_davclnt
17540 wine_fn_config_dll dbgeng enable_dbgeng implib
17541 wine_fn_config_dll dbghelp enable_dbghelp implib
17542 wine_fn_config_dll dciman32 enable_dciman32 implib
17543 wine_fn_config_dll ddeml.dll16 enable_win16
17544 wine_fn_config_dll ddraw enable_ddraw clean,implib
17545 wine_fn_config_test dlls/ddraw/tests ddraw_test
17546 wine_fn_config_dll ddrawex enable_ddrawex clean
17547 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17548 wine_fn_config_dll devenum enable_devenum clean
17549 wine_fn_config_test dlls/devenum/tests devenum_test
17550 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17551 wine_fn_config_dll difxapi enable_difxapi
17552 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17553 wine_fn_config_test dlls/dinput/tests dinput_test
17554 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17555 wine_fn_config_test dlls/dinput8/tests dinput8_test
17556 wine_fn_config_dll dispdib.dll16 enable_win16
17557 wine_fn_config_dll dispex enable_dispex clean
17558 wine_fn_config_test dlls/dispex/tests dispex_test
17559 wine_fn_config_dll display.drv16 enable_win16
17560 wine_fn_config_dll dmband enable_dmband clean
17561 wine_fn_config_test dlls/dmband/tests dmband_test
17562 wine_fn_config_dll dmcompos enable_dmcompos clean
17563 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17564 wine_fn_config_dll dmime enable_dmime clean
17565 wine_fn_config_test dlls/dmime/tests dmime_test
17566 wine_fn_config_dll dmloader enable_dmloader clean
17567 wine_fn_config_test dlls/dmloader/tests dmloader_test
17568 wine_fn_config_dll dmscript enable_dmscript clean
17569 wine_fn_config_test dlls/dmscript/tests dmscript_test
17570 wine_fn_config_dll dmstyle enable_dmstyle clean
17571 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17572 wine_fn_config_dll dmsynth enable_dmsynth clean
17573 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17574 wine_fn_config_dll dmusic enable_dmusic clean
17575 wine_fn_config_test dlls/dmusic/tests dmusic_test
17576 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17577 wine_fn_config_dll dnsapi enable_dnsapi implib
17578 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17579 wine_fn_config_dll dplay enable_dplay implib
17580 wine_fn_config_dll dplayx enable_dplayx clean,implib
17581 wine_fn_config_test dlls/dplayx/tests dplayx_test
17582 wine_fn_config_dll dpnaddr enable_dpnaddr
17583 wine_fn_config_dll dpnet enable_dpnet clean,implib
17584 wine_fn_config_test dlls/dpnet/tests dpnet_test
17585 wine_fn_config_dll dpnhpast enable_dpnhpast
17586 wine_fn_config_dll dpnlobby enable_dpnlobby
17587 wine_fn_config_dll dpvoice enable_dpvoice clean
17588 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17589 wine_fn_config_dll dpwsockx enable_dpwsockx
17590 wine_fn_config_dll drmclien enable_drmclien
17591 wine_fn_config_dll dsound enable_dsound clean,implib
17592 wine_fn_config_test dlls/dsound/tests dsound_test
17593 wine_fn_config_dll dssenh enable_dssenh
17594 wine_fn_config_test dlls/dssenh/tests dssenh_test
17595 wine_fn_config_dll dswave enable_dswave clean
17596 wine_fn_config_test dlls/dswave/tests dswave_test
17597 wine_fn_config_dll dwmapi enable_dwmapi implib
17598 wine_fn_config_dll dwrite enable_dwrite implib
17599 wine_fn_config_test dlls/dwrite/tests dwrite_test
17600 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17601 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17602 wine_fn_config_lib dxerr8
17603 wine_fn_config_lib dxerr9
17604 wine_fn_config_dll dxgi enable_dxgi implib
17605 wine_fn_config_test dlls/dxgi/tests dxgi_test
17606 wine_fn_config_lib dxguid
17607 wine_fn_config_dll dxva2 enable_dxva2
17608 wine_fn_config_dll esent enable_esent
17609 wine_fn_config_dll evr enable_evr
17610 wine_fn_config_dll explorerframe enable_explorerframe clean
17611 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17612 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17613 wine_fn_config_dll faultrep enable_faultrep implib
17614 wine_fn_config_test dlls/faultrep/tests faultrep_test
17615 wine_fn_config_dll fltlib enable_fltlib
17616 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17617 wine_fn_config_dll fntcache enable_fntcache
17618 wine_fn_config_dll fontsub enable_fontsub
17619 wine_fn_config_dll fusion enable_fusion
17620 wine_fn_config_test dlls/fusion/tests fusion_test
17621 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17622 wine_fn_config_dll gameux enable_gameux clean
17623 wine_fn_config_test dlls/gameux/tests gameux_test
17624 wine_fn_config_dll gdi.exe16 enable_win16
17625 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17626 wine_fn_config_test dlls/gdi32/tests gdi32_test
17627 wine_fn_config_dll gdiplus enable_gdiplus implib
17628 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17629 wine_fn_config_dll glu32 enable_glu32 implib
17630 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17631 wine_fn_config_dll gpkcsp enable_gpkcsp
17632 wine_fn_config_dll hal enable_hal
17633 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17634 wine_fn_config_dll hid enable_hid implib
17635 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17636 wine_fn_config_dll hlink enable_hlink clean,implib
17637 wine_fn_config_test dlls/hlink/tests hlink_test
17638 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17639 wine_fn_config_dll httpapi enable_httpapi
17640 wine_fn_config_dll iccvid enable_iccvid clean
17641 wine_fn_config_dll icmp enable_icmp
17642 wine_fn_config_dll ieframe enable_ieframe clean,implib
17643 wine_fn_config_test dlls/ieframe/tests ieframe_test
17644 wine_fn_config_dll ifsmgr.vxd enable_win16
17645 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17646 wine_fn_config_dll imagehlp enable_imagehlp implib
17647 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17648 wine_fn_config_dll imm.dll16 enable_win16
17649 wine_fn_config_dll imm32 enable_imm32 implib
17650 wine_fn_config_test dlls/imm32/tests imm32_test
17651 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17652 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17653 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17654 wine_fn_config_dll inetmib1 enable_inetmib1
17655 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17656 wine_fn_config_dll infosoft enable_infosoft clean
17657 wine_fn_config_test dlls/infosoft/tests infosoft_test
17658 wine_fn_config_dll initpki enable_initpki
17659 wine_fn_config_dll inkobj enable_inkobj
17660 wine_fn_config_dll inseng enable_inseng clean
17661 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17662 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17663 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17664 wine_fn_config_dll itircl enable_itircl
17665 wine_fn_config_dll itss enable_itss clean
17666 wine_fn_config_test dlls/itss/tests itss_test
17667 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17668 wine_fn_config_dll jscript enable_jscript clean
17669 wine_fn_config_test dlls/jscript/tests jscript_test
17670 wine_fn_config_dll jsproxy enable_jsproxy implib
17671 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17672 wine_fn_config_test dlls/kernel32/tests kernel32_test
17673 wine_fn_config_dll keyboard.drv16 enable_win16
17674 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17675 wine_fn_config_dll ksuser enable_ksuser
17676 wine_fn_config_dll ktmw32 enable_ktmw32
17677 wine_fn_config_dll loadperf enable_loadperf implib
17678 wine_fn_config_dll localspl enable_localspl clean
17679 wine_fn_config_test dlls/localspl/tests localspl_test
17680 wine_fn_config_dll localui enable_localui clean
17681 wine_fn_config_test dlls/localui/tests localui_test
17682 wine_fn_config_dll lz32 enable_lz32 implib
17683 wine_fn_config_test dlls/lz32/tests lz32_test
17684 wine_fn_config_dll lzexpand.dll16 enable_win16
17685 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17686 wine_fn_config_test dlls/mapi32/tests mapi32_test
17687 wine_fn_config_dll mapistub enable_mapistub
17688 wine_fn_config_dll mciavi32 enable_mciavi32
17689 wine_fn_config_dll mcicda enable_mcicda
17690 wine_fn_config_dll mciqtz32 enable_mciqtz32
17691 wine_fn_config_dll mciseq enable_mciseq
17692 wine_fn_config_dll mciwave enable_mciwave
17693 wine_fn_config_dll mf enable_mf
17694 wine_fn_config_dll mfplat enable_mfplat
17695 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17696 wine_fn_config_dll mgmtapi enable_mgmtapi
17697 wine_fn_config_dll midimap enable_midimap
17698 wine_fn_config_dll mlang enable_mlang clean,implib
17699 wine_fn_config_test dlls/mlang/tests mlang_test
17700 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17701 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17702 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17703 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17704 wine_fn_config_dll mmdevldr.vxd enable_win16
17705 wine_fn_config_dll mmsystem.dll16 enable_win16
17706 wine_fn_config_dll monodebg.vxd enable_win16
17707 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17708 wine_fn_config_dll mouse.drv16 enable_win16
17709 wine_fn_config_dll mpr enable_mpr clean,implib
17710 wine_fn_config_test dlls/mpr/tests mpr_test
17711 wine_fn_config_dll mprapi enable_mprapi implib
17712 wine_fn_config_dll msacm.dll16 enable_win16
17713 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17714 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17715 wine_fn_config_test dlls/msacm32/tests msacm32_test
17716 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17717 wine_fn_config_dll msasn1 enable_msasn1 implib
17718 wine_fn_config_dll mscat32 enable_mscat32
17719 wine_fn_config_dll mscms enable_mscms implib
17720 wine_fn_config_test dlls/mscms/tests mscms_test
17721 wine_fn_config_dll mscoree enable_mscoree clean
17722 wine_fn_config_test dlls/mscoree/tests mscoree_test
17723 wine_fn_config_dll msctf enable_msctf clean
17724 wine_fn_config_test dlls/msctf/tests msctf_test
17725 wine_fn_config_dll msctfp enable_msctfp clean
17726 wine_fn_config_dll msdaps enable_msdaps clean
17727 wine_fn_config_dll msdelta enable_msdelta
17728 wine_fn_config_dll msdmo enable_msdmo implib
17729 wine_fn_config_test dlls/msdmo/tests msdmo_test
17730 wine_fn_config_dll msdrm enable_msdrm
17731 wine_fn_config_dll msftedit enable_msftedit
17732 wine_fn_config_dll msg711.acm enable_msg711_acm
17733 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17734 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17735 wine_fn_config_dll mshtml enable_mshtml clean,implib
17736 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17737 wine_fn_config_dll msi enable_msi clean,implib
17738 wine_fn_config_test dlls/msi/tests msi_test
17739 wine_fn_config_dll msident enable_msident clean
17740 wine_fn_config_dll msimg32 enable_msimg32 implib
17741 wine_fn_config_dll msimsg enable_msimsg
17742 wine_fn_config_dll msimtf enable_msimtf clean
17743 wine_fn_config_dll msisip enable_msisip
17744 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17745 wine_fn_config_dll msls31 enable_msls31
17746 wine_fn_config_dll msnet32 enable_msnet32
17747 wine_fn_config_dll mspatcha enable_mspatcha implib
17748 wine_fn_config_dll msrle32 enable_msrle32 clean
17749 wine_fn_config_test dlls/msrle32/tests msrle32_test
17750 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17751 wine_fn_config_dll mssign32 enable_mssign32
17752 wine_fn_config_dll mssip32 enable_mssip32
17753 wine_fn_config_dll mstask enable_mstask clean
17754 wine_fn_config_test dlls/mstask/tests mstask_test
17755 wine_fn_config_dll msvcirt enable_msvcirt
17756 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17757 wine_fn_config_dll msvcm80 enable_msvcm80
17758 wine_fn_config_dll msvcm90 enable_msvcm90
17759 wine_fn_config_dll msvcp100 enable_msvcp100
17760 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17761 wine_fn_config_dll msvcp110 enable_msvcp110
17762 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17763 wine_fn_config_dll msvcp120 enable_msvcp120
17764 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17765 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17766 wine_fn_config_dll msvcp60 enable_msvcp60
17767 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17768 wine_fn_config_dll msvcp70 enable_msvcp70
17769 wine_fn_config_dll msvcp71 enable_msvcp71
17770 wine_fn_config_dll msvcp80 enable_msvcp80
17771 wine_fn_config_dll msvcp90 enable_msvcp90
17772 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17773 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17774 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17775 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17776 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17777 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17778 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17779 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17780 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17781 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17782 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17783 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17784 wine_fn_config_dll msvcrt enable_msvcrt implib
17785 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17786 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17787 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17788 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17789 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17790 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17791 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17792 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17793 wine_fn_config_dll msvideo.dll16 enable_win16
17794 wine_fn_config_dll mswsock enable_mswsock implib
17795 wine_fn_config_dll msxml enable_msxml clean
17796 wine_fn_config_dll msxml2 enable_msxml2 clean
17797 wine_fn_config_dll msxml3 enable_msxml3 clean
17798 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17799 wine_fn_config_dll msxml4 enable_msxml4 clean
17800 wine_fn_config_dll msxml6 enable_msxml6 clean
17801 wine_fn_config_dll nddeapi enable_nddeapi implib
17802 wine_fn_config_dll ndis.sys enable_ndis_sys
17803 wine_fn_config_dll netapi32 enable_netapi32 implib
17804 wine_fn_config_test dlls/netapi32/tests netapi32_test
17805 wine_fn_config_dll netcfgx enable_netcfgx clean
17806 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17807 wine_fn_config_dll netprofm enable_netprofm clean
17808 wine_fn_config_test dlls/netprofm/tests netprofm_test
17809 wine_fn_config_dll newdev enable_newdev implib
17810 wine_fn_config_dll normaliz enable_normaliz implib
17811 wine_fn_config_dll npmshtml enable_npmshtml
17812 wine_fn_config_dll npptools enable_npptools
17813 wine_fn_config_dll ntdll enable_ntdll implib
17814 wine_fn_config_test dlls/ntdll/tests ntdll_test
17815 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17816 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17817 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17818 wine_fn_config_dll ntprint enable_ntprint
17819 wine_fn_config_test dlls/ntprint/tests ntprint_test
17820 wine_fn_config_dll objsel enable_objsel clean
17821 wine_fn_config_dll odbc32 enable_odbc32 implib
17822 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17823 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17824 wine_fn_config_dll odbccu32 enable_odbccu32
17825 wine_fn_config_dll ole2.dll16 enable_win16
17826 wine_fn_config_dll ole2conv.dll16 enable_win16
17827 wine_fn_config_dll ole2disp.dll16 enable_win16
17828 wine_fn_config_dll ole2nls.dll16 enable_win16
17829 wine_fn_config_dll ole2prox.dll16 enable_win16
17830 wine_fn_config_dll ole2thk.dll16 enable_win16
17831 wine_fn_config_dll ole32 enable_ole32 clean,implib
17832 wine_fn_config_test dlls/ole32/tests ole32_test
17833 wine_fn_config_dll oleacc enable_oleacc clean,implib
17834 wine_fn_config_test dlls/oleacc/tests oleacc_test
17835 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17836 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17837 wine_fn_config_dll olecli.dll16 enable_win16
17838 wine_fn_config_dll olecli32 enable_olecli32 implib
17839 wine_fn_config_dll oledb32 enable_oledb32 clean
17840 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17841 wine_fn_config_dll oledlg enable_oledlg clean,implib
17842 wine_fn_config_test dlls/oledlg/tests oledlg_test
17843 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17844 wine_fn_config_dll olesvr.dll16 enable_win16
17845 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17846 wine_fn_config_dll olethk32 enable_olethk32
17847 wine_fn_config_dll openal32 enable_openal32
17848 wine_fn_config_dll opencl enable_opencl
17849 wine_fn_config_dll opengl32 enable_opengl32 implib
17850 wine_fn_config_test dlls/opengl32/tests opengl32_test
17851 wine_fn_config_dll packager enable_packager clean
17852 wine_fn_config_test dlls/packager/tests packager_test
17853 wine_fn_config_dll pdh enable_pdh implib
17854 wine_fn_config_test dlls/pdh/tests pdh_test
17855 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17856 wine_fn_config_dll pidgen enable_pidgen
17857 wine_fn_config_dll powrprof enable_powrprof implib
17858 wine_fn_config_dll printui enable_printui
17859 wine_fn_config_dll prntvpt enable_prntvpt
17860 wine_fn_config_dll propsys enable_propsys clean,implib
17861 wine_fn_config_test dlls/propsys/tests propsys_test
17862 wine_fn_config_dll psapi enable_psapi implib
17863 wine_fn_config_test dlls/psapi/tests psapi_test
17864 wine_fn_config_dll pstorec enable_pstorec clean
17865 wine_fn_config_dll qcap enable_qcap
17866 wine_fn_config_test dlls/qcap/tests qcap_test
17867 wine_fn_config_dll qedit enable_qedit clean
17868 wine_fn_config_test dlls/qedit/tests qedit_test
17869 wine_fn_config_dll qmgr enable_qmgr clean
17870 wine_fn_config_test dlls/qmgr/tests qmgr_test
17871 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17872 wine_fn_config_dll quartz enable_quartz clean,implib
17873 wine_fn_config_test dlls/quartz/tests quartz_test clean
17874 wine_fn_config_dll query enable_query
17875 wine_fn_config_dll rasapi16.dll16 enable_win16
17876 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17877 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17878 wine_fn_config_dll rasdlg enable_rasdlg implib
17879 wine_fn_config_dll regapi enable_regapi
17880 wine_fn_config_dll resutils enable_resutils implib
17881 wine_fn_config_dll riched20 enable_riched20 clean,implib
17882 wine_fn_config_test dlls/riched20/tests riched20_test
17883 wine_fn_config_dll riched32 enable_riched32
17884 wine_fn_config_test dlls/riched32/tests riched32_test
17885 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17886 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17887 wine_fn_config_dll rsabase enable_rsabase
17888 wine_fn_config_dll rsaenh enable_rsaenh implib
17889 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17890 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17891 wine_fn_config_dll rtutils enable_rtutils implib
17892 wine_fn_config_dll samlib enable_samlib
17893 wine_fn_config_dll sane.ds enable_sane_ds clean
17894 wine_fn_config_dll scarddlg enable_scarddlg
17895 wine_fn_config_dll sccbase enable_sccbase
17896 wine_fn_config_dll schannel enable_schannel
17897 wine_fn_config_test dlls/schannel/tests schannel_test
17898 wine_fn_config_dll schedsvc enable_schedsvc clean
17899 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17900 wine_fn_config_dll scrrun enable_scrrun clean
17901 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17902 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17903 wine_fn_config_dll secur32 enable_secur32 implib
17904 wine_fn_config_test dlls/secur32/tests secur32_test
17905 wine_fn_config_dll security enable_security
17906 wine_fn_config_dll sensapi enable_sensapi implib
17907 wine_fn_config_dll serialui enable_serialui clean,implib
17908 wine_fn_config_test dlls/serialui/tests serialui_test
17909 wine_fn_config_dll setupapi enable_setupapi clean,implib
17910 wine_fn_config_test dlls/setupapi/tests setupapi_test
17911 wine_fn_config_dll setupx.dll16 enable_win16
17912 wine_fn_config_dll sfc enable_sfc implib
17913 wine_fn_config_dll sfc_os enable_sfc_os implib
17914 wine_fn_config_dll shdoclc enable_shdoclc clean
17915 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17916 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17917 wine_fn_config_dll shell.dll16 enable_win16
17918 wine_fn_config_dll shell32 enable_shell32 clean,implib
17919 wine_fn_config_test dlls/shell32/tests shell32_test
17920 wine_fn_config_dll shfolder enable_shfolder implib
17921 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
17922 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17923 wine_fn_config_dll slbcsp enable_slbcsp
17924 wine_fn_config_dll slc enable_slc implib
17925 wine_fn_config_test dlls/slc/tests slc_test
17926 wine_fn_config_dll snmpapi enable_snmpapi implib
17927 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17928 wine_fn_config_dll softpub enable_softpub
17929 wine_fn_config_dll sound.drv16 enable_win16
17930 wine_fn_config_dll spoolss enable_spoolss implib
17931 wine_fn_config_test dlls/spoolss/tests spoolss_test
17932 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17933 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17934 wine_fn_config_dll sti enable_sti clean,implib
17935 wine_fn_config_test dlls/sti/tests sti_test
17936 wine_fn_config_dll storage.dll16 enable_win16
17937 wine_fn_config_dll stress.dll16 enable_win16
17938 wine_fn_config_lib strmbase
17939 wine_fn_config_lib strmiids
17940 wine_fn_config_dll svrapi enable_svrapi
17941 wine_fn_config_dll sxs enable_sxs implib
17942 wine_fn_config_test dlls/sxs/tests sxs_test
17943 wine_fn_config_dll system.drv16 enable_win16
17944 wine_fn_config_dll t2embed enable_t2embed
17945 wine_fn_config_dll tapi32 enable_tapi32 implib
17946 wine_fn_config_dll taskschd enable_taskschd clean
17947 wine_fn_config_test dlls/taskschd/tests taskschd_test
17948 wine_fn_config_dll tdi.sys enable_tdi_sys
17949 wine_fn_config_dll toolhelp.dll16 enable_win16
17950 wine_fn_config_dll traffic enable_traffic
17951 wine_fn_config_dll twain.dll16 enable_win16
17952 wine_fn_config_dll twain_32 enable_twain_32
17953 wine_fn_config_test dlls/twain_32/tests twain_32_test
17954 wine_fn_config_dll typelib.dll16 enable_win16
17955 wine_fn_config_dll ucrtbase enable_ucrtbase
17956 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17957 wine_fn_config_dll unicows enable_unicows implib
17958 wine_fn_config_dll updspapi enable_updspapi
17959 wine_fn_config_dll url enable_url implib
17960 wine_fn_config_dll urlmon enable_urlmon clean,implib
17961 wine_fn_config_test dlls/urlmon/tests urlmon_test
17962 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17963 wine_fn_config_dll user.exe16 enable_win16
17964 wine_fn_config_dll user32 enable_user32 clean,implib
17965 wine_fn_config_test dlls/user32/tests user32_test
17966 wine_fn_config_dll userenv enable_userenv implib
17967 wine_fn_config_test dlls/userenv/tests userenv_test
17968 wine_fn_config_dll usp10 enable_usp10 implib
17969 wine_fn_config_test dlls/usp10/tests usp10_test
17970 wine_fn_config_lib uuid
17971 wine_fn_config_dll uxtheme enable_uxtheme implib
17972 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17973 wine_fn_config_dll vbscript enable_vbscript clean
17974 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17975 wine_fn_config_dll vcomp enable_vcomp
17976 wine_fn_config_test dlls/vcomp/tests vcomp_test
17977 wine_fn_config_dll vcomp100 enable_vcomp100
17978 wine_fn_config_dll vcomp110 enable_vcomp110
17979 wine_fn_config_dll vcomp120 enable_vcomp120
17980 wine_fn_config_dll vcomp90 enable_vcomp90
17981 wine_fn_config_dll vcruntime140 enable_vcruntime140
17982 wine_fn_config_dll vdhcp.vxd enable_win16
17983 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17984 wine_fn_config_dll ver.dll16 enable_win16
17985 wine_fn_config_dll version enable_version implib
17986 wine_fn_config_test dlls/version/tests version_test
17987 wine_fn_config_dll vmm.vxd enable_win16
17988 wine_fn_config_dll vnbt.vxd enable_win16
17989 wine_fn_config_dll vnetbios.vxd enable_win16
17990 wine_fn_config_dll vssapi enable_vssapi
17991 wine_fn_config_dll vtdapi.vxd enable_win16
17992 wine_fn_config_dll vwin32.vxd enable_win16
17993 wine_fn_config_dll w32skrnl enable_win16
17994 wine_fn_config_dll w32sys.dll16 enable_win16
17995 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17996 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17997 wine_fn_config_dll wbemprox enable_wbemprox clean
17998 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17999 wine_fn_config_dll webservices enable_webservices implib
18000 wine_fn_config_test dlls/webservices/tests webservices_test
18001 wine_fn_config_dll wer enable_wer implib
18002 wine_fn_config_test dlls/wer/tests wer_test
18003 wine_fn_config_dll wevtapi enable_wevtapi
18004 wine_fn_config_dll wiaservc enable_wiaservc clean
18005 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18006 wine_fn_config_dll wimgapi enable_wimgapi
18007 wine_fn_config_dll win32s16.dll16 enable_win16
18008 wine_fn_config_dll win87em.dll16 enable_win16
18009 wine_fn_config_dll winaspi.dll16 enable_win16
18010 wine_fn_config_dll windebug.dll16 enable_win16
18011 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18012 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18013 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18014 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18015 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18016 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18017 wine_fn_config_lib winecrt0
18018 wine_fn_config_dll wined3d enable_wined3d implib
18019 wine_fn_config_dll winegstreamer enable_winegstreamer
18020 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18021 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18022 wine_fn_config_dll winemapi enable_winemapi
18023 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18024 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18025 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18026 wine_fn_config_dll wineps16.drv16 enable_win16
18027 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18028 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18029 wine_fn_config_dll winex11.drv enable_winex11_drv
18030 wine_fn_config_dll wing.dll16 enable_win16
18031 wine_fn_config_dll wing32 enable_wing32
18032 wine_fn_config_dll winhttp enable_winhttp clean,implib
18033 wine_fn_config_test dlls/winhttp/tests winhttp_test
18034 wine_fn_config_dll wininet enable_wininet clean,implib
18035 wine_fn_config_test dlls/wininet/tests wininet_test
18036 wine_fn_config_dll winmm enable_winmm clean,implib
18037 wine_fn_config_test dlls/winmm/tests winmm_test
18038 wine_fn_config_dll winnls.dll16 enable_win16
18039 wine_fn_config_dll winnls32 enable_winnls32 implib
18040 wine_fn_config_dll winscard enable_winscard implib
18041 wine_fn_config_dll winsock.dll16 enable_win16
18042 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18043 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18044 wine_fn_config_dll winsta enable_winsta
18045 wine_fn_config_dll wintab.dll16 enable_win16
18046 wine_fn_config_dll wintab32 enable_wintab32 implib
18047 wine_fn_config_test dlls/wintab32/tests wintab32_test
18048 wine_fn_config_dll wintrust enable_wintrust implib
18049 wine_fn_config_test dlls/wintrust/tests wintrust_test
18050 wine_fn_config_dll wlanapi enable_wlanapi
18051 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18052 wine_fn_config_test dlls/wldap32/tests wldap32_test
18053 wine_fn_config_dll wmi enable_wmi
18054 wine_fn_config_dll wmiutils enable_wmiutils clean
18055 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18056 wine_fn_config_dll wmp enable_wmp clean
18057 wine_fn_config_test dlls/wmp/tests wmp_test
18058 wine_fn_config_dll wmvcore enable_wmvcore
18059 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18060 wine_fn_config_dll wow32 enable_win16 implib
18061 wine_fn_config_dll wpcap enable_wpcap
18062 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18063 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18064 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18065 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18066 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18067 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18068 wine_fn_config_dll wsock32 enable_wsock32 implib
18069 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18070 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18071 wine_fn_config_dll wuapi enable_wuapi clean
18072 wine_fn_config_dll wuaueng enable_wuaueng
18073 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18074 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18075 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18076 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18077 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18078 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18079 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18080 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18081 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18082 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18083 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18084 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18085 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18086 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18087 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18088 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18089 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18090 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18091 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18092 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18093 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18094 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18095 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18096 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18097 wine_fn_config_dll xinput1_1 enable_xinput1_1
18098 wine_fn_config_dll xinput1_2 enable_xinput1_2
18099 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18100 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18101 wine_fn_config_dll xinput1_4 enable_xinput1_4
18102 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18103 wine_fn_config_dll xmllite enable_xmllite implib
18104 wine_fn_config_test dlls/xmllite/tests xmllite_test
18105 wine_fn_config_dll xolehlp enable_xolehlp
18106 wine_fn_config_dll xpsprint enable_xpsprint
18107 wine_fn_config_dll xpssvcs enable_xpssvcs
18108 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18109 wine_fn_config_makefile include enable_include clean,install-dev
18110 wine_fn_config_makefile libs/port enable_libs_port
18111 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18112 wine_fn_config_makefile libs/wpp enable_libs_wpp
18113 wine_fn_config_makefile loader enable_loader clean,install-lib
18114 wine_fn_config_makefile po enable_po clean
18115 wine_fn_config_program arp enable_arp install
18116 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18117 wine_fn_config_program attrib enable_attrib clean,install
18118 wine_fn_config_program cabarc enable_cabarc install
18119 wine_fn_config_program cacls enable_cacls install
18120 wine_fn_config_program clock enable_clock clean,install
18121 wine_fn_config_program cmd enable_cmd clean,install
18122 wine_fn_config_test programs/cmd/tests cmd.exe_test
18123 wine_fn_config_program conhost enable_conhost install
18124 wine_fn_config_program control enable_control install
18125 wine_fn_config_program cscript enable_cscript clean,install
18126 wine_fn_config_program dpnsvr enable_dpnsvr install
18127 wine_fn_config_program dxdiag enable_dxdiag clean,install
18128 wine_fn_config_program eject enable_eject install
18129 wine_fn_config_program expand enable_expand install
18130 wine_fn_config_program explorer enable_explorer clean,install
18131 wine_fn_config_program extrac32 enable_extrac32 install
18132 wine_fn_config_program findstr enable_findstr install
18133 wine_fn_config_program hh enable_hh install
18134 wine_fn_config_program hostname enable_hostname clean,install
18135 wine_fn_config_program icacls enable_icacls install
18136 wine_fn_config_program icinfo enable_icinfo install
18137 wine_fn_config_program iexplore enable_iexplore install
18138 wine_fn_config_program ipconfig enable_ipconfig clean,install
18139 wine_fn_config_program lodctr enable_lodctr install
18140 wine_fn_config_program mofcomp enable_mofcomp install
18141 wine_fn_config_program mshta enable_mshta install
18142 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18143 wine_fn_config_program net enable_net clean,install
18144 wine_fn_config_program netsh enable_netsh install
18145 wine_fn_config_program netstat enable_netstat clean,install
18146 wine_fn_config_program ngen enable_ngen install
18147 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18148 wine_fn_config_program oleview enable_oleview clean,install
18149 wine_fn_config_program ping enable_ping install
18150 wine_fn_config_program plugplay enable_plugplay install
18151 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18152 wine_fn_config_program progman enable_progman clean,install
18153 wine_fn_config_program reg enable_reg clean,install
18154 wine_fn_config_test programs/reg/tests reg.exe_test
18155 wine_fn_config_program regasm enable_regasm install
18156 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18157 wine_fn_config_test programs/regedit/tests regedit.exe_test
18158 wine_fn_config_program regsvcs enable_regsvcs install
18159 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18160 wine_fn_config_program rpcss enable_rpcss clean,install
18161 wine_fn_config_program rundll.exe16 enable_win16 install
18162 wine_fn_config_program rundll32 enable_rundll32 install
18163 wine_fn_config_program sc enable_sc install
18164 wine_fn_config_program schtasks enable_schtasks install
18165 wine_fn_config_program sdbinst enable_sdbinst install
18166 wine_fn_config_program secedit enable_secedit install
18167 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18168 wine_fn_config_program services enable_services clean,install
18169 wine_fn_config_test programs/services/tests services.exe_test
18170 wine_fn_config_program shutdown enable_shutdown install
18171 wine_fn_config_program spoolsv enable_spoolsv install
18172 wine_fn_config_program start enable_start clean,install
18173 wine_fn_config_program svchost enable_svchost install
18174 wine_fn_config_program systeminfo enable_systeminfo install
18175 wine_fn_config_program taskkill enable_taskkill clean,install
18176 wine_fn_config_program tasklist enable_tasklist install
18177 wine_fn_config_program taskmgr enable_taskmgr clean,install
18178 wine_fn_config_program termsv enable_termsv install
18179 wine_fn_config_program uninstaller enable_uninstaller clean,install
18180 wine_fn_config_program unlodctr enable_unlodctr install
18181 wine_fn_config_program view enable_view clean,install
18182 wine_fn_config_program wevtutil enable_wevtutil install
18183 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18184 wine_fn_config_program winebrowser enable_winebrowser install
18185 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18186 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18187 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18188 wine_fn_config_program winedevice enable_winedevice install
18189 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18190 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18191 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18192 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18193 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18194 wine_fn_config_program winetest enable_winetest clean
18195 wine_fn_config_program winevdm enable_win16 install
18196 wine_fn_config_program winhelp.exe16 enable_win16 install
18197 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18198 wine_fn_config_program winoldap.mod16 enable_win16 install
18199 wine_fn_config_program winver enable_winver install
18200 wine_fn_config_program wmic enable_wmic clean,install
18201 wine_fn_config_program wmplayer enable_wmplayer install
18202 wine_fn_config_program wordpad enable_wordpad clean,install
18203 wine_fn_config_program write enable_write clean,install
18204 wine_fn_config_program wscript enable_wscript clean,install
18205 wine_fn_config_test programs/wscript/tests wscript.exe_test
18206 wine_fn_config_program wusa enable_wusa install
18207 wine_fn_config_program xcopy enable_xcopy clean,install
18208 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18209 wine_fn_config_makefile server enable_server clean,install-lib
18210 wine_fn_config_tool tools clean
18211 wine_fn_config_tool tools/sfnt2fon clean
18212 wine_fn_config_tool tools/widl clean,install-dev
18213 wine_fn_config_tool tools/winebuild clean,install-dev
18214 wine_fn_config_tool tools/winedump clean,install-dev
18215 wine_fn_config_tool tools/winegcc clean,install-dev
18216 wine_fn_config_tool tools/winemaker clean,install-dev
18217 wine_fn_config_tool tools/wmc clean,install-dev
18218 wine_fn_config_tool tools/wrc clean,install-dev
18221 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18222 wine_fn_append_file CONFIGURE_TARGETS "tags"
18223 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18224 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18225 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18226 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18227 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18228 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18230 if test "x$enable_tools" != xno
18231 then
18232 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18233 ac_config_commands="$ac_config_commands tools/makedep"
18237 ac_config_commands="$ac_config_commands Makefile"
18240 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18244 if test "x$enable_maintainer_mode" = xyes
18245 then
18246 wine_fn_append_rule "configure: configure.ac aclocal.m4
18247 autoconf --warnings=all
18248 include/config.h.in: include/stamp-h.in
18249 include/stamp-h.in: configure.ac aclocal.m4
18250 autoheader --warnings=all
18251 @echo timestamp > \$@"
18254 if test "x$enable_tools" != xno
18255 then
18256 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18257 @./config.status tools/makedep
18258 Makefile: tools/makedep$ac_exeext"
18259 else
18260 wine_fn_append_rule "\$(MAKEDEP):
18261 @echo \"You need to run make in $TOOLSDIR first\" && false"
18264 if test -n "$with_wine64"
18265 then
18266 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18267 fonts server tools:
18268 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18269 $with_wine64/loader/wine:
18270 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18271 $with_wine64/loader/wine-preloader:
18272 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18273 clean::
18274 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18275 else
18276 WINELOADER_INSTALL="wine.inf"
18278 wine_fn_append_rule "install install-lib::
18279 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18280 uninstall::
18281 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18282 case $host_os in
18283 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18284 *) wine_fn_append_rule "install install-lib::
18285 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18286 uninstall::
18287 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18288 esac
18291 $as_echo " done" >&6
18292 cat >confcache <<\_ACEOF
18293 # This file is a shell script that caches the results of configure
18294 # tests run on this system so they can be shared between configure
18295 # scripts and configure runs, see configure's option --config-cache.
18296 # It is not useful on other systems. If it contains results you don't
18297 # want to keep, you may remove or edit it.
18299 # config.status only pays attention to the cache file if you give it
18300 # the --recheck option to rerun configure.
18302 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18303 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18304 # following values.
18306 _ACEOF
18308 # The following way of writing the cache mishandles newlines in values,
18309 # but we know of no workaround that is simple, portable, and efficient.
18310 # So, we kill variables containing newlines.
18311 # Ultrix sh set writes to stderr and can't be redirected directly,
18312 # and sets the high bit in the cache file unless we assign to the vars.
18314 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18315 eval ac_val=\$$ac_var
18316 case $ac_val in #(
18317 *${as_nl}*)
18318 case $ac_var in #(
18319 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18320 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18321 esac
18322 case $ac_var in #(
18323 _ | IFS | as_nl) ;; #(
18324 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18325 *) { eval $ac_var=; unset $ac_var;} ;;
18326 esac ;;
18327 esac
18328 done
18330 (set) 2>&1 |
18331 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18332 *${as_nl}ac_space=\ *)
18333 # `set' does not quote correctly, so add quotes: double-quote
18334 # substitution turns \\\\ into \\, and sed turns \\ into \.
18335 sed -n \
18336 "s/'/'\\\\''/g;
18337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18338 ;; #(
18340 # `set' quotes correctly as required by POSIX, so do not add quotes.
18341 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18343 esac |
18344 sort
18346 sed '
18347 /^ac_cv_env_/b end
18348 t clear
18349 :clear
18350 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18351 t end
18352 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18353 :end' >>confcache
18354 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18355 if test -w "$cache_file"; then
18356 if test "x$cache_file" != "x/dev/null"; then
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18358 $as_echo "$as_me: updating cache $cache_file" >&6;}
18359 if test ! -f "$cache_file" || test -h "$cache_file"; then
18360 cat confcache >"$cache_file"
18361 else
18362 case $cache_file in #(
18363 */* | ?:*)
18364 mv -f confcache "$cache_file"$$ &&
18365 mv -f "$cache_file"$$ "$cache_file" ;; #(
18367 mv -f confcache "$cache_file" ;;
18368 esac
18371 else
18372 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18373 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18376 rm -f confcache
18378 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18379 # Let make expand exec_prefix.
18380 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18382 DEFS=-DHAVE_CONFIG_H
18384 ac_libobjs=
18385 ac_ltlibobjs=
18387 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18388 # 1. Remove the extension, and $U if already installed.
18389 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18390 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18391 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18392 # will be set to the directory where LIBOBJS objects are built.
18393 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18394 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18395 done
18396 LIBOBJS=$ac_libobjs
18398 LTLIBOBJS=$ac_ltlibobjs
18402 : "${CONFIG_STATUS=./config.status}"
18403 ac_write_fail=0
18404 ac_clean_files_save=$ac_clean_files
18405 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18406 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18407 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18408 as_write_fail=0
18409 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18410 #! $SHELL
18411 # Generated by $as_me.
18412 # Run this file to recreate the current configuration.
18413 # Compiler output produced by configure, useful for debugging
18414 # configure, is in config.log if it exists.
18416 debug=false
18417 ac_cs_recheck=false
18418 ac_cs_silent=false
18420 SHELL=\${CONFIG_SHELL-$SHELL}
18421 export SHELL
18422 _ASEOF
18423 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18424 ## -------------------- ##
18425 ## M4sh Initialization. ##
18426 ## -------------------- ##
18428 # Be more Bourne compatible
18429 DUALCASE=1; export DUALCASE # for MKS sh
18430 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18431 emulate sh
18432 NULLCMD=:
18433 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18434 # is contrary to our usage. Disable this feature.
18435 alias -g '${1+"$@"}'='"$@"'
18436 setopt NO_GLOB_SUBST
18437 else
18438 case `(set -o) 2>/dev/null` in #(
18439 *posix*) :
18440 set -o posix ;; #(
18441 *) :
18443 esac
18447 as_nl='
18449 export as_nl
18450 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18451 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18452 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18453 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18454 # Prefer a ksh shell builtin over an external printf program on Solaris,
18455 # but without wasting forks for bash or zsh.
18456 if test -z "$BASH_VERSION$ZSH_VERSION" \
18457 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18458 as_echo='print -r --'
18459 as_echo_n='print -rn --'
18460 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18461 as_echo='printf %s\n'
18462 as_echo_n='printf %s'
18463 else
18464 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18465 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18466 as_echo_n='/usr/ucb/echo -n'
18467 else
18468 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18469 as_echo_n_body='eval
18470 arg=$1;
18471 case $arg in #(
18472 *"$as_nl"*)
18473 expr "X$arg" : "X\\(.*\\)$as_nl";
18474 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18475 esac;
18476 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18478 export as_echo_n_body
18479 as_echo_n='sh -c $as_echo_n_body as_echo'
18481 export as_echo_body
18482 as_echo='sh -c $as_echo_body as_echo'
18485 # The user is always right.
18486 if test "${PATH_SEPARATOR+set}" != set; then
18487 PATH_SEPARATOR=:
18488 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18489 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18490 PATH_SEPARATOR=';'
18495 # IFS
18496 # We need space, tab and new line, in precisely that order. Quoting is
18497 # there to prevent editors from complaining about space-tab.
18498 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18499 # splitting by setting IFS to empty value.)
18500 IFS=" "" $as_nl"
18502 # Find who we are. Look in the path if we contain no directory separator.
18503 as_myself=
18504 case $0 in #((
18505 *[\\/]* ) as_myself=$0 ;;
18506 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18507 for as_dir in $PATH
18509 IFS=$as_save_IFS
18510 test -z "$as_dir" && as_dir=.
18511 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18512 done
18513 IFS=$as_save_IFS
18516 esac
18517 # We did not find ourselves, most probably we were run as `sh COMMAND'
18518 # in which case we are not to be found in the path.
18519 if test "x$as_myself" = x; then
18520 as_myself=$0
18522 if test ! -f "$as_myself"; then
18523 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18524 exit 1
18527 # Unset variables that we do not need and which cause bugs (e.g. in
18528 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18529 # suppresses any "Segmentation fault" message there. '((' could
18530 # trigger a bug in pdksh 5.2.14.
18531 for as_var in BASH_ENV ENV MAIL MAILPATH
18532 do eval test x\${$as_var+set} = xset \
18533 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18534 done
18535 PS1='$ '
18536 PS2='> '
18537 PS4='+ '
18539 # NLS nuisances.
18540 LC_ALL=C
18541 export LC_ALL
18542 LANGUAGE=C
18543 export LANGUAGE
18545 # CDPATH.
18546 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18549 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18550 # ----------------------------------------
18551 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18552 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18553 # script with STATUS, using 1 if that was 0.
18554 as_fn_error ()
18556 as_status=$1; test $as_status -eq 0 && as_status=1
18557 if test "$4"; then
18558 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18559 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18561 $as_echo "$as_me: error: $2" >&2
18562 as_fn_exit $as_status
18563 } # as_fn_error
18566 # as_fn_set_status STATUS
18567 # -----------------------
18568 # Set $? to STATUS, without forking.
18569 as_fn_set_status ()
18571 return $1
18572 } # as_fn_set_status
18574 # as_fn_exit STATUS
18575 # -----------------
18576 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18577 as_fn_exit ()
18579 set +e
18580 as_fn_set_status $1
18581 exit $1
18582 } # as_fn_exit
18584 # as_fn_unset VAR
18585 # ---------------
18586 # Portably unset VAR.
18587 as_fn_unset ()
18589 { eval $1=; unset $1;}
18591 as_unset=as_fn_unset
18592 # as_fn_append VAR VALUE
18593 # ----------------------
18594 # Append the text in VALUE to the end of the definition contained in VAR. Take
18595 # advantage of any shell optimizations that allow amortized linear growth over
18596 # repeated appends, instead of the typical quadratic growth present in naive
18597 # implementations.
18598 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18599 eval 'as_fn_append ()
18601 eval $1+=\$2
18603 else
18604 as_fn_append ()
18606 eval $1=\$$1\$2
18608 fi # as_fn_append
18610 # as_fn_arith ARG...
18611 # ------------------
18612 # Perform arithmetic evaluation on the ARGs, and store the result in the
18613 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18614 # must be portable across $(()) and expr.
18615 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18616 eval 'as_fn_arith ()
18618 as_val=$(( $* ))
18620 else
18621 as_fn_arith ()
18623 as_val=`expr "$@" || test $? -eq 1`
18625 fi # as_fn_arith
18628 if expr a : '\(a\)' >/dev/null 2>&1 &&
18629 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18630 as_expr=expr
18631 else
18632 as_expr=false
18635 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18636 as_basename=basename
18637 else
18638 as_basename=false
18641 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18642 as_dirname=dirname
18643 else
18644 as_dirname=false
18647 as_me=`$as_basename -- "$0" ||
18648 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18649 X"$0" : 'X\(//\)$' \| \
18650 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18651 $as_echo X/"$0" |
18652 sed '/^.*\/\([^/][^/]*\)\/*$/{
18653 s//\1/
18656 /^X\/\(\/\/\)$/{
18657 s//\1/
18660 /^X\/\(\/\).*/{
18661 s//\1/
18664 s/.*/./; q'`
18666 # Avoid depending upon Character Ranges.
18667 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18668 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18669 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18670 as_cr_digits='0123456789'
18671 as_cr_alnum=$as_cr_Letters$as_cr_digits
18673 ECHO_C= ECHO_N= ECHO_T=
18674 case `echo -n x` in #(((((
18675 -n*)
18676 case `echo 'xy\c'` in
18677 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18678 xy) ECHO_C='\c';;
18679 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18680 ECHO_T=' ';;
18681 esac;;
18683 ECHO_N='-n';;
18684 esac
18686 rm -f conf$$ conf$$.exe conf$$.file
18687 if test -d conf$$.dir; then
18688 rm -f conf$$.dir/conf$$.file
18689 else
18690 rm -f conf$$.dir
18691 mkdir conf$$.dir 2>/dev/null
18693 if (echo >conf$$.file) 2>/dev/null; then
18694 if ln -s conf$$.file conf$$ 2>/dev/null; then
18695 as_ln_s='ln -s'
18696 # ... but there are two gotchas:
18697 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18698 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18699 # In both cases, we have to default to `cp -pR'.
18700 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18701 as_ln_s='cp -pR'
18702 elif ln conf$$.file conf$$ 2>/dev/null; then
18703 as_ln_s=ln
18704 else
18705 as_ln_s='cp -pR'
18707 else
18708 as_ln_s='cp -pR'
18710 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18711 rmdir conf$$.dir 2>/dev/null
18714 # as_fn_mkdir_p
18715 # -------------
18716 # Create "$as_dir" as a directory, including parents if necessary.
18717 as_fn_mkdir_p ()
18720 case $as_dir in #(
18721 -*) as_dir=./$as_dir;;
18722 esac
18723 test -d "$as_dir" || eval $as_mkdir_p || {
18724 as_dirs=
18725 while :; do
18726 case $as_dir in #(
18727 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18728 *) as_qdir=$as_dir;;
18729 esac
18730 as_dirs="'$as_qdir' $as_dirs"
18731 as_dir=`$as_dirname -- "$as_dir" ||
18732 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18733 X"$as_dir" : 'X\(//\)[^/]' \| \
18734 X"$as_dir" : 'X\(//\)$' \| \
18735 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18736 $as_echo X"$as_dir" |
18737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18738 s//\1/
18741 /^X\(\/\/\)[^/].*/{
18742 s//\1/
18745 /^X\(\/\/\)$/{
18746 s//\1/
18749 /^X\(\/\).*/{
18750 s//\1/
18753 s/.*/./; q'`
18754 test -d "$as_dir" && break
18755 done
18756 test -z "$as_dirs" || eval "mkdir $as_dirs"
18757 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18760 } # as_fn_mkdir_p
18761 if mkdir -p . 2>/dev/null; then
18762 as_mkdir_p='mkdir -p "$as_dir"'
18763 else
18764 test -d ./-p && rmdir ./-p
18765 as_mkdir_p=false
18769 # as_fn_executable_p FILE
18770 # -----------------------
18771 # Test if FILE is an executable regular file.
18772 as_fn_executable_p ()
18774 test -f "$1" && test -x "$1"
18775 } # as_fn_executable_p
18776 as_test_x='test -x'
18777 as_executable_p=as_fn_executable_p
18779 # Sed expression to map a string onto a valid CPP name.
18780 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18782 # Sed expression to map a string onto a valid variable name.
18783 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18786 exec 6>&1
18787 ## ----------------------------------- ##
18788 ## Main body of $CONFIG_STATUS script. ##
18789 ## ----------------------------------- ##
18790 _ASEOF
18791 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18794 # Save the log message, to keep $0 and so on meaningful, and to
18795 # report actual input values of CONFIG_FILES etc. instead of their
18796 # values after options handling.
18797 ac_log="
18798 This file was extended by Wine $as_me 1.9.5, which was
18799 generated by GNU Autoconf 2.69. Invocation command line was
18801 CONFIG_FILES = $CONFIG_FILES
18802 CONFIG_HEADERS = $CONFIG_HEADERS
18803 CONFIG_LINKS = $CONFIG_LINKS
18804 CONFIG_COMMANDS = $CONFIG_COMMANDS
18805 $ $0 $@
18807 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18810 _ACEOF
18812 case $ac_config_files in *"
18813 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18814 esac
18816 case $ac_config_headers in *"
18817 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18818 esac
18821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18822 # Files that config.status was made for.
18823 config_files="$ac_config_files"
18824 config_headers="$ac_config_headers"
18825 config_links="$ac_config_links"
18826 config_commands="$ac_config_commands"
18828 _ACEOF
18830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18831 ac_cs_usage="\
18832 \`$as_me' instantiates files and other configuration actions
18833 from templates according to the current configuration. Unless the files
18834 and actions are specified as TAGs, all are instantiated by default.
18836 Usage: $0 [OPTION]... [TAG]...
18838 -h, --help print this help, then exit
18839 -V, --version print version number and configuration settings, then exit
18840 --config print configuration, then exit
18841 -q, --quiet, --silent
18842 do not print progress messages
18843 -d, --debug don't remove temporary files
18844 --recheck update $as_me by reconfiguring in the same conditions
18845 --file=FILE[:TEMPLATE]
18846 instantiate the configuration file FILE
18847 --header=FILE[:TEMPLATE]
18848 instantiate the configuration header FILE
18850 Configuration files:
18851 $config_files
18853 Configuration headers:
18854 $config_headers
18856 Configuration links:
18857 $config_links
18859 Configuration commands:
18860 $config_commands
18862 Report bugs to <wine-devel@winehq.org>.
18863 Wine home page: <http://www.winehq.org>."
18865 _ACEOF
18866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18867 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18868 ac_cs_version="\\
18869 Wine config.status 1.9.5
18870 configured by $0, generated by GNU Autoconf 2.69,
18871 with options \\"\$ac_cs_config\\"
18873 Copyright (C) 2012 Free Software Foundation, Inc.
18874 This config.status script is free software; the Free Software Foundation
18875 gives unlimited permission to copy, distribute and modify it."
18877 ac_pwd='$ac_pwd'
18878 srcdir='$srcdir'
18879 test -n "\$AWK" || AWK=awk
18880 _ACEOF
18882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18883 # The default lists apply if the user does not specify any file.
18884 ac_need_defaults=:
18885 while test $# != 0
18887 case $1 in
18888 --*=?*)
18889 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18890 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18891 ac_shift=:
18893 --*=)
18894 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18895 ac_optarg=
18896 ac_shift=:
18899 ac_option=$1
18900 ac_optarg=$2
18901 ac_shift=shift
18903 esac
18905 case $ac_option in
18906 # Handling of the options.
18907 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18908 ac_cs_recheck=: ;;
18909 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18910 $as_echo "$ac_cs_version"; exit ;;
18911 --config | --confi | --conf | --con | --co | --c )
18912 $as_echo "$ac_cs_config"; exit ;;
18913 --debug | --debu | --deb | --de | --d | -d )
18914 debug=: ;;
18915 --file | --fil | --fi | --f )
18916 $ac_shift
18917 case $ac_optarg in
18918 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18919 '') as_fn_error $? "missing file argument" ;;
18920 esac
18921 as_fn_append CONFIG_FILES " '$ac_optarg'"
18922 ac_need_defaults=false;;
18923 --header | --heade | --head | --hea )
18924 $ac_shift
18925 case $ac_optarg in
18926 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18927 esac
18928 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18929 ac_need_defaults=false;;
18930 --he | --h)
18931 # Conflict between --help and --header
18932 as_fn_error $? "ambiguous option: \`$1'
18933 Try \`$0 --help' for more information.";;
18934 --help | --hel | -h )
18935 $as_echo "$ac_cs_usage"; exit ;;
18936 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18937 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18938 ac_cs_silent=: ;;
18940 # This is an error.
18941 -*) as_fn_error $? "unrecognized option: \`$1'
18942 Try \`$0 --help' for more information." ;;
18944 *) as_fn_append ac_config_targets " $1"
18945 ac_need_defaults=false ;;
18947 esac
18948 shift
18949 done
18951 ac_configure_extra_args=
18953 if $ac_cs_silent; then
18954 exec 6>/dev/null
18955 ac_configure_extra_args="$ac_configure_extra_args --silent"
18958 _ACEOF
18959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18960 if \$ac_cs_recheck; then
18961 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18962 shift
18963 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18964 CONFIG_SHELL='$SHELL'
18965 export CONFIG_SHELL
18966 exec "\$@"
18969 _ACEOF
18970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18971 exec 5>>config.log
18973 echo
18974 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18975 ## Running $as_me. ##
18976 _ASBOX
18977 $as_echo "$ac_log"
18978 } >&5
18980 _ACEOF
18981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18983 # INIT-COMMANDS
18985 wine_fn_output_makedep ()
18987 as_dir=tools; as_fn_mkdir_p
18988 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18990 wine_fn_output_makefile ()
18992 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
18993 `cat $wine_rules_file`
18994 _WINE_EOF
18995 as_fn_error $? "could not create Makefile" "$LINENO" 5
18998 _ACEOF
19000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19002 # Handling of arguments.
19003 for ac_config_target in $ac_config_targets
19005 case $ac_config_target in
19006 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19007 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19008 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19009 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19010 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19011 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19012 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19013 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19014 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19015 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19016 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19017 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19018 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19020 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19021 esac
19022 done
19025 # If the user did not use the arguments to specify the items to instantiate,
19026 # then the envvar interface is used. Set only those that are not.
19027 # We use the long form for the default assignment because of an extremely
19028 # bizarre bug on SunOS 4.1.3.
19029 if $ac_need_defaults; then
19030 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19031 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19032 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19033 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19036 # Have a temporary directory for convenience. Make it in the build tree
19037 # simply because there is no reason against having it here, and in addition,
19038 # creating and moving files from /tmp can sometimes cause problems.
19039 # Hook for its removal unless debugging.
19040 # Note that there is a small window in which the directory will not be cleaned:
19041 # after its creation but before its name has been assigned to `$tmp'.
19042 $debug ||
19044 tmp= ac_tmp=
19045 trap 'exit_status=$?
19046 : "${ac_tmp:=$tmp}"
19047 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19049 trap 'as_fn_exit 1' 1 2 13 15
19051 # Create a (secure) tmp directory for tmp files.
19054 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19055 test -d "$tmp"
19056 } ||
19058 tmp=./conf$$-$RANDOM
19059 (umask 077 && mkdir "$tmp")
19060 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19061 ac_tmp=$tmp
19063 # Set up the scripts for CONFIG_FILES section.
19064 # No need to generate them if there are no CONFIG_FILES.
19065 # This happens for instance with `./config.status config.h'.
19066 if test -n "$CONFIG_FILES"; then
19069 ac_cr=`echo X | tr X '\015'`
19070 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19071 # But we know of no other shell where ac_cr would be empty at this
19072 # point, so we can use a bashism as a fallback.
19073 if test "x$ac_cr" = x; then
19074 eval ac_cr=\$\'\\r\'
19076 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19077 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19078 ac_cs_awk_cr='\\r'
19079 else
19080 ac_cs_awk_cr=$ac_cr
19083 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19084 _ACEOF
19088 echo "cat >conf$$subs.awk <<_ACEOF" &&
19089 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19090 echo "_ACEOF"
19091 } >conf$$subs.sh ||
19092 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19093 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19094 ac_delim='%!_!# '
19095 for ac_last_try in false false false false false :; do
19096 . ./conf$$subs.sh ||
19097 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19099 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19100 if test $ac_delim_n = $ac_delim_num; then
19101 break
19102 elif $ac_last_try; then
19103 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19104 else
19105 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19107 done
19108 rm -f conf$$subs.sh
19110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19111 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19112 _ACEOF
19113 sed -n '
19115 s/^/S["/; s/!.*/"]=/
19118 s/^[^!]*!//
19119 :repl
19120 t repl
19121 s/'"$ac_delim"'$//
19122 t delim
19125 s/\(.\{148\}\)..*/\1/
19126 t more1
19127 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19130 b repl
19131 :more1
19132 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19135 s/.\{148\}//
19136 t nl
19137 :delim
19139 s/\(.\{148\}\)..*/\1/
19140 t more2
19141 s/["\\]/\\&/g; s/^/"/; s/$/"/
19144 :more2
19145 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19148 s/.\{148\}//
19149 t delim
19150 ' <conf$$subs.awk | sed '
19151 /^[^""]/{
19153 s/\n//
19155 ' >>$CONFIG_STATUS || ac_write_fail=1
19156 rm -f conf$$subs.awk
19157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19158 _ACAWK
19159 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19160 for (key in S) S_is_set[key] = 1
19161 FS = "\a"
19165 line = $ 0
19166 nfields = split(line, field, "@")
19167 substed = 0
19168 len = length(field[1])
19169 for (i = 2; i < nfields; i++) {
19170 key = field[i]
19171 keylen = length(key)
19172 if (S_is_set[key]) {
19173 value = S[key]
19174 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19175 len += length(value) + length(field[++i])
19176 substed = 1
19177 } else
19178 len += 1 + keylen
19181 print line
19184 _ACAWK
19185 _ACEOF
19186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19187 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19188 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19189 else
19191 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19192 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19193 _ACEOF
19195 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19196 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19197 # trailing colons and then remove the whole line if VPATH becomes empty
19198 # (actually we leave an empty line to preserve line numbers).
19199 if test "x$srcdir" = x.; then
19200 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19202 s///
19203 s/^/:/
19204 s/[ ]*$/:/
19205 s/:\$(srcdir):/:/g
19206 s/:\${srcdir}:/:/g
19207 s/:@srcdir@:/:/g
19208 s/^:*//
19209 s/:*$//
19211 s/\(=[ ]*\).*/\1/
19213 s/\n//
19214 s/^[^=]*=[ ]*$//
19218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19219 fi # test -n "$CONFIG_FILES"
19221 # Set up the scripts for CONFIG_HEADERS section.
19222 # No need to generate them if there are no CONFIG_HEADERS.
19223 # This happens for instance with `./config.status Makefile'.
19224 if test -n "$CONFIG_HEADERS"; then
19225 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19226 BEGIN {
19227 _ACEOF
19229 # Transform confdefs.h into an awk script `defines.awk', embedded as
19230 # here-document in config.status, that substitutes the proper values into
19231 # config.h.in to produce config.h.
19233 # Create a delimiter string that does not exist in confdefs.h, to ease
19234 # handling of long lines.
19235 ac_delim='%!_!# '
19236 for ac_last_try in false false :; do
19237 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19238 if test -z "$ac_tt"; then
19239 break
19240 elif $ac_last_try; then
19241 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19242 else
19243 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19245 done
19247 # For the awk script, D is an array of macro values keyed by name,
19248 # likewise P contains macro parameters if any. Preserve backslash
19249 # newline sequences.
19251 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19252 sed -n '
19253 s/.\{148\}/&'"$ac_delim"'/g
19254 t rset
19255 :rset
19256 s/^[ ]*#[ ]*define[ ][ ]*/ /
19257 t def
19259 :def
19260 s/\\$//
19261 t bsnl
19262 s/["\\]/\\&/g
19263 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19264 D["\1"]=" \3"/p
19265 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19267 :bsnl
19268 s/["\\]/\\&/g
19269 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19270 D["\1"]=" \3\\\\\\n"\\/p
19271 t cont
19272 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19273 t cont
19275 :cont
19277 s/.\{148\}/&'"$ac_delim"'/g
19278 t clear
19279 :clear
19280 s/\\$//
19281 t bsnlc
19282 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19284 :bsnlc
19285 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19286 b cont
19287 ' <confdefs.h | sed '
19288 s/'"$ac_delim"'/"\\\
19289 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19292 for (key in D) D_is_set[key] = 1
19293 FS = "\a"
19295 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19296 line = \$ 0
19297 split(line, arg, " ")
19298 if (arg[1] == "#") {
19299 defundef = arg[2]
19300 mac1 = arg[3]
19301 } else {
19302 defundef = substr(arg[1], 2)
19303 mac1 = arg[2]
19305 split(mac1, mac2, "(") #)
19306 macro = mac2[1]
19307 prefix = substr(line, 1, index(line, defundef) - 1)
19308 if (D_is_set[macro]) {
19309 # Preserve the white space surrounding the "#".
19310 print prefix "define", macro P[macro] D[macro]
19311 next
19312 } else {
19313 # Replace #undef with comments. This is necessary, for example,
19314 # in the case of _POSIX_SOURCE, which is predefined and required
19315 # on some systems where configure will not decide to define it.
19316 if (defundef == "undef") {
19317 print "/*", prefix defundef, macro, "*/"
19318 next
19322 { print }
19323 _ACAWK
19324 _ACEOF
19325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19326 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19327 fi # test -n "$CONFIG_HEADERS"
19330 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19331 shift
19332 for ac_tag
19334 case $ac_tag in
19335 :[FHLC]) ac_mode=$ac_tag; continue;;
19336 esac
19337 case $ac_mode$ac_tag in
19338 :[FHL]*:*);;
19339 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19340 :[FH]-) ac_tag=-:-;;
19341 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19342 esac
19343 ac_save_IFS=$IFS
19344 IFS=:
19345 set x $ac_tag
19346 IFS=$ac_save_IFS
19347 shift
19348 ac_file=$1
19349 shift
19351 case $ac_mode in
19352 :L) ac_source=$1;;
19353 :[FH])
19354 ac_file_inputs=
19355 for ac_f
19357 case $ac_f in
19358 -) ac_f="$ac_tmp/stdin";;
19359 *) # Look for the file first in the build tree, then in the source tree
19360 # (if the path is not absolute). The absolute path cannot be DOS-style,
19361 # because $ac_f cannot contain `:'.
19362 test -f "$ac_f" ||
19363 case $ac_f in
19364 [\\/$]*) false;;
19365 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19366 esac ||
19367 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19368 esac
19369 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19370 as_fn_append ac_file_inputs " '$ac_f'"
19371 done
19373 # Let's still pretend it is `configure' which instantiates (i.e., don't
19374 # use $as_me), people would be surprised to read:
19375 # /* config.h. Generated by config.status. */
19376 configure_input='Generated from '`
19377 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19378 `' by configure.'
19379 if test x"$ac_file" != x-; then
19380 configure_input="$ac_file. $configure_input"
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19382 $as_echo "$as_me: creating $ac_file" >&6;}
19384 # Neutralize special characters interpreted by sed in replacement strings.
19385 case $configure_input in #(
19386 *\&* | *\|* | *\\* )
19387 ac_sed_conf_input=`$as_echo "$configure_input" |
19388 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19389 *) ac_sed_conf_input=$configure_input;;
19390 esac
19392 case $ac_tag in
19393 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19394 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19395 esac
19397 esac
19399 ac_dir=`$as_dirname -- "$ac_file" ||
19400 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19401 X"$ac_file" : 'X\(//\)[^/]' \| \
19402 X"$ac_file" : 'X\(//\)$' \| \
19403 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19404 $as_echo X"$ac_file" |
19405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19406 s//\1/
19409 /^X\(\/\/\)[^/].*/{
19410 s//\1/
19413 /^X\(\/\/\)$/{
19414 s//\1/
19417 /^X\(\/\).*/{
19418 s//\1/
19421 s/.*/./; q'`
19422 as_dir="$ac_dir"; as_fn_mkdir_p
19423 ac_builddir=.
19425 case "$ac_dir" in
19426 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19428 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19429 # A ".." for each directory in $ac_dir_suffix.
19430 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19431 case $ac_top_builddir_sub in
19432 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19433 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19434 esac ;;
19435 esac
19436 ac_abs_top_builddir=$ac_pwd
19437 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19438 # for backward compatibility:
19439 ac_top_builddir=$ac_top_build_prefix
19441 case $srcdir in
19442 .) # We are building in place.
19443 ac_srcdir=.
19444 ac_top_srcdir=$ac_top_builddir_sub
19445 ac_abs_top_srcdir=$ac_pwd ;;
19446 [\\/]* | ?:[\\/]* ) # Absolute name.
19447 ac_srcdir=$srcdir$ac_dir_suffix;
19448 ac_top_srcdir=$srcdir
19449 ac_abs_top_srcdir=$srcdir ;;
19450 *) # Relative name.
19451 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19452 ac_top_srcdir=$ac_top_build_prefix$srcdir
19453 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19454 esac
19455 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19458 case $ac_mode in
19461 # CONFIG_FILE
19464 _ACEOF
19466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19467 # If the template does not know about datarootdir, expand it.
19468 # FIXME: This hack should be removed a few years after 2.60.
19469 ac_datarootdir_hack=; ac_datarootdir_seen=
19470 ac_sed_dataroot='
19471 /datarootdir/ {
19475 /@datadir@/p
19476 /@docdir@/p
19477 /@infodir@/p
19478 /@localedir@/p
19479 /@mandir@/p'
19480 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19481 *datarootdir*) ac_datarootdir_seen=yes;;
19482 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19484 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19485 _ACEOF
19486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19487 ac_datarootdir_hack='
19488 s&@datadir@&$datadir&g
19489 s&@docdir@&$docdir&g
19490 s&@infodir@&$infodir&g
19491 s&@localedir@&$localedir&g
19492 s&@mandir@&$mandir&g
19493 s&\\\${datarootdir}&$datarootdir&g' ;;
19494 esac
19495 _ACEOF
19497 # Neutralize VPATH when `$srcdir' = `.'.
19498 # Shell code in configure.ac might set extrasub.
19499 # FIXME: do we really want to maintain this feature?
19500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19501 ac_sed_extra="$ac_vpsub
19502 $extrasub
19503 _ACEOF
19504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19506 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19507 s|@configure_input@|$ac_sed_conf_input|;t t
19508 s&@top_builddir@&$ac_top_builddir_sub&;t t
19509 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19510 s&@srcdir@&$ac_srcdir&;t t
19511 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19512 s&@top_srcdir@&$ac_top_srcdir&;t t
19513 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19514 s&@builddir@&$ac_builddir&;t t
19515 s&@abs_builddir@&$ac_abs_builddir&;t t
19516 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19517 $ac_datarootdir_hack
19519 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19520 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19522 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19523 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19524 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19525 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19527 which seems to be undefined. Please make sure it is defined" >&5
19528 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19529 which seems to be undefined. Please make sure it is defined" >&2;}
19531 rm -f "$ac_tmp/stdin"
19532 case $ac_file in
19533 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19534 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19535 esac \
19536 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19540 # CONFIG_HEADER
19542 if test x"$ac_file" != x-; then
19544 $as_echo "/* $configure_input */" \
19545 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19546 } >"$ac_tmp/config.h" \
19547 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19548 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19550 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19551 else
19552 rm -f "$ac_file"
19553 mv "$ac_tmp/config.h" "$ac_file" \
19554 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19556 else
19557 $as_echo "/* $configure_input */" \
19558 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19559 || as_fn_error $? "could not create -" "$LINENO" 5
19564 # CONFIG_LINK
19567 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19569 else
19570 # Prefer the file from the source tree if names are identical.
19571 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19572 ac_source=$srcdir/$ac_source
19575 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19576 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19578 if test ! -r "$ac_source"; then
19579 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19581 rm -f "$ac_file"
19583 # Try a relative symlink, then a hard link, then a copy.
19584 case $ac_source in
19585 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19586 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19587 esac
19588 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19589 ln "$ac_source" "$ac_file" 2>/dev/null ||
19590 cp -p "$ac_source" "$ac_file" ||
19591 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19594 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19595 $as_echo "$as_me: executing $ac_file commands" >&6;}
19597 esac
19600 case $ac_file$ac_mode in
19601 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19602 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19603 "Makefile":C) wine_fn_output_makefile Makefile ;;
19605 esac
19606 done # for ac_tag
19609 as_fn_exit 0
19610 _ACEOF
19611 ac_clean_files=$ac_clean_files_save
19613 test $ac_write_fail = 0 ||
19614 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19617 # configure is writing to config.log, and then calls config.status.
19618 # config.status does its own redirection, appending to config.log.
19619 # Unfortunately, on DOS this fails, as config.log is still kept open
19620 # by configure, so config.status won't be able to write to it; its
19621 # output is simply discarded. So we exec the FD to /dev/null,
19622 # effectively closing config.log, so it can be properly (re)opened and
19623 # appended to by config.status. When coming back to configure, we
19624 # need to make the FD available again.
19625 if test "$no_create" != yes; then
19626 ac_cs_success=:
19627 ac_config_status_args=
19628 test "$silent" = yes &&
19629 ac_config_status_args="$ac_config_status_args --quiet"
19630 exec 5>/dev/null
19631 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19632 exec 5>>config.log
19633 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19634 # would make configure fail if this is the last instruction.
19635 $ac_cs_success || as_fn_exit 1
19637 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19639 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19643 if test "$no_create" = "yes"
19644 then
19645 exit 0
19648 ac_save_IFS="$IFS"
19649 if test "x$wine_notices" != x; then
19650 echo >&6
19651 IFS="|"
19652 for msg in $wine_notices; do
19653 IFS="$ac_save_IFS"
19654 if ${msg:+false} :; then :
19656 else
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19658 $as_echo "$as_me: $msg" >&6;}
19660 done
19662 IFS="|"
19663 for msg in $wine_warnings; do
19664 IFS="$ac_save_IFS"
19665 if ${msg:+false} :; then :
19667 else
19668 echo >&2
19669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19670 $as_echo "$as_me: WARNING: $msg" >&2;}
19672 done
19673 IFS="$ac_save_IFS"
19675 $as_echo "
19676 $as_me: Finished. Do '${ac_make}' to compile Wine.
19677 " >&6