winedbg: Handle the 4th parameter for 64-bit C++ exceptions.
[wine.git] / configure
blobf189c9969afd08cf38c57a69bff29add7d8e8af7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.4.
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.4'
584 PACKAGE_STRING='Wine 1.9.4'
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 LINGUAS
629 ALL_VARS_RULES
630 LDAP_LIBS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 FONTCONFIG_LIBS
652 FONTCONFIG_CFLAGS
653 CUPS_CFLAGS
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 OSS4_CFLAGS
657 ALSA_LIBS
658 GSTREAMER_LIBS
659 GSTREAMER_CFLAGS
660 PULSE_LIBS
661 PULSE_CFLAGS
662 GETTEXTPO_LIBS
663 Z_LIBS
664 FREETYPE_LIBS
665 FREETYPE_CFLAGS
666 LCMS2_LIBS
667 LCMS2_CFLAGS
668 RESOLV_LIBS
669 GPHOTO2_PORT_LIBS
670 GPHOTO2_PORT_CFLAGS
671 GPHOTO2_LIBS
672 GPHOTO2_CFLAGS
673 SANE_LIBS
674 SANE_CFLAGS
675 GNUTLS_LIBS
676 GNUTLS_CFLAGS
677 HAL_LIBS
678 HAL_CFLAGS
679 DBUS_LIBS
680 DBUS_CFLAGS
681 XSLT_LIBS
682 XSLT_CFLAGS
683 XML2_LIBS
684 XML2_CFLAGS
685 PCAP_LIBS
686 X_EXTRA_LIBS
687 X_LIBS
688 X_PRE_LIBS
689 X_CFLAGS
690 XMKMF
691 PTHREAD_LIBS
692 CROSSCC
693 CROSSTARGET
694 PRELINK
695 WINELOADER_DEPENDS
696 CARBON_LIBS
697 QUICKTIME_LIBS
698 OPENCL_LIBS
699 OPENAL_LIBS
700 COREAUDIO_LIBS
701 SECURITY_LIBS
702 DISKARBITRATION_LIBS
703 APPKIT_LIBS
704 CORESERVICES_LIBS
705 APPLICATIONSERVICES_LIBS
706 FORCEFEEDBACK_LIBS
707 IOKIT_LIBS
708 COREFOUNDATION_LIBS
709 LIBWINE_DEPENDS
710 LIBWINE_LDFLAGS
711 LIBWINE_INSTALL_DEV
712 LIBWINE_INSTALL_LIB
713 LIBWINE_IMPORTLIB
714 LIBWINE_SHAREDLIB
715 SOCKET_LIBS
716 DLLTOOL
717 WINELOADER_PROGRAMS
718 ALL_TEST_RESOURCES
719 CONFIGURE_TARGETS
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_arp
1442 enable_aspnet_regiis
1443 enable_attrib
1444 enable_cabarc
1445 enable_cacls
1446 enable_clock
1447 enable_cmd
1448 enable_conhost
1449 enable_control
1450 enable_cscript
1451 enable_dpnsvr
1452 enable_dxdiag
1453 enable_eject
1454 enable_expand
1455 enable_explorer
1456 enable_extrac32
1457 enable_findstr
1458 enable_hh
1459 enable_hostname
1460 enable_icacls
1461 enable_icinfo
1462 enable_iexplore
1463 enable_ipconfig
1464 enable_lodctr
1465 enable_mofcomp
1466 enable_mshta
1467 enable_msiexec
1468 enable_net
1469 enable_netsh
1470 enable_netstat
1471 enable_ngen
1472 enable_notepad
1473 enable_oleview
1474 enable_ping
1475 enable_plugplay
1476 enable_presentationfontcache
1477 enable_progman
1478 enable_reg
1479 enable_regasm
1480 enable_regedit
1481 enable_regsvcs
1482 enable_regsvr32
1483 enable_rpcss
1484 enable_rundll32
1485 enable_sc
1486 enable_schtasks
1487 enable_sdbinst
1488 enable_secedit
1489 enable_servicemodelreg
1490 enable_services
1491 enable_spoolsv
1492 enable_start
1493 enable_svchost
1494 enable_systeminfo
1495 enable_taskkill
1496 enable_tasklist
1497 enable_taskmgr
1498 enable_termsv
1499 enable_uninstaller
1500 enable_unlodctr
1501 enable_view
1502 enable_wevtutil
1503 enable_wineboot
1504 enable_winebrowser
1505 enable_winecfg
1506 enable_wineconsole
1507 enable_winedbg
1508 enable_winedevice
1509 enable_winefile
1510 enable_winemenubuilder
1511 enable_winemine
1512 enable_winemsibuilder
1513 enable_winepath
1514 enable_winetest
1515 enable_winhlp32
1516 enable_winver
1517 enable_wmic
1518 enable_wmplayer
1519 enable_wordpad
1520 enable_write
1521 enable_wscript
1522 enable_wusa
1523 enable_xcopy
1524 enable_server
1525 enable_tools
1527 ac_precious_vars='build_alias
1528 host_alias
1529 target_alias
1531 CFLAGS
1532 LDFLAGS
1533 LIBS
1534 CPPFLAGS
1536 CXXFLAGS
1539 XMKMF
1540 XML2_CFLAGS
1541 XML2_LIBS
1542 XSLT_CFLAGS
1543 XSLT_LIBS
1544 DBUS_CFLAGS
1545 DBUS_LIBS
1546 HAL_CFLAGS
1547 HAL_LIBS
1548 GNUTLS_CFLAGS
1549 GNUTLS_LIBS
1550 SANE_CFLAGS
1551 SANE_LIBS
1552 GPHOTO2_CFLAGS
1553 GPHOTO2_LIBS
1554 GPHOTO2_PORT_CFLAGS
1555 GPHOTO2_PORT_LIBS
1556 LCMS2_CFLAGS
1557 LCMS2_LIBS
1558 FREETYPE_CFLAGS
1559 FREETYPE_LIBS
1560 PULSE_CFLAGS
1561 PULSE_LIBS
1562 GSTREAMER_CFLAGS
1563 GSTREAMER_LIBS
1564 CAPI20_CFLAGS
1565 CAPI20_LIBS
1566 FONTCONFIG_CFLAGS
1567 FONTCONFIG_LIBS
1568 JPEG_CFLAGS
1569 JPEG_LIBS
1570 PNG_CFLAGS
1571 PNG_LIBS
1572 TIFF_CFLAGS
1573 TIFF_LIBS
1574 MPG123_CFLAGS
1575 MPG123_LIBS
1576 NETAPI_CFLAGS
1577 NETAPI_LIBS'
1580 # Initialize some variables set by options.
1581 ac_init_help=
1582 ac_init_version=false
1583 ac_unrecognized_opts=
1584 ac_unrecognized_sep=
1585 # The variables have the same names as the options, with
1586 # dashes changed to underlines.
1587 cache_file=/dev/null
1588 exec_prefix=NONE
1589 no_create=
1590 no_recursion=
1591 prefix=NONE
1592 program_prefix=NONE
1593 program_suffix=NONE
1594 program_transform_name=s,x,x,
1595 silent=
1596 site=
1597 srcdir=
1598 verbose=
1599 x_includes=NONE
1600 x_libraries=NONE
1602 # Installation directory options.
1603 # These are left unexpanded so users can "make install exec_prefix=/foo"
1604 # and all the variables that are supposed to be based on exec_prefix
1605 # by default will actually change.
1606 # Use braces instead of parens because sh, perl, etc. also accept them.
1607 # (The list follows the same order as the GNU Coding Standards.)
1608 bindir='${exec_prefix}/bin'
1609 sbindir='${exec_prefix}/sbin'
1610 libexecdir='${exec_prefix}/libexec'
1611 datarootdir='${prefix}/share'
1612 datadir='${datarootdir}'
1613 sysconfdir='${prefix}/etc'
1614 sharedstatedir='${prefix}/com'
1615 localstatedir='${prefix}/var'
1616 runstatedir='${localstatedir}/run'
1617 includedir='${prefix}/include'
1618 oldincludedir='/usr/include'
1619 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1620 infodir='${datarootdir}/info'
1621 htmldir='${docdir}'
1622 dvidir='${docdir}'
1623 pdfdir='${docdir}'
1624 psdir='${docdir}'
1625 libdir='${exec_prefix}/lib'
1626 localedir='${datarootdir}/locale'
1627 mandir='${datarootdir}/man'
1629 ac_prev=
1630 ac_dashdash=
1631 for ac_option
1633 # If the previous option needs an argument, assign it.
1634 if test -n "$ac_prev"; then
1635 eval $ac_prev=\$ac_option
1636 ac_prev=
1637 continue
1640 case $ac_option in
1641 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1642 *=) ac_optarg= ;;
1643 *) ac_optarg=yes ;;
1644 esac
1646 # Accept the important Cygnus configure options, so we can diagnose typos.
1648 case $ac_dashdash$ac_option in
1650 ac_dashdash=yes ;;
1652 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1653 ac_prev=bindir ;;
1654 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1655 bindir=$ac_optarg ;;
1657 -build | --build | --buil | --bui | --bu)
1658 ac_prev=build_alias ;;
1659 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1660 build_alias=$ac_optarg ;;
1662 -cache-file | --cache-file | --cache-fil | --cache-fi \
1663 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1664 ac_prev=cache_file ;;
1665 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1666 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1667 cache_file=$ac_optarg ;;
1669 --config-cache | -C)
1670 cache_file=config.cache ;;
1672 -datadir | --datadir | --datadi | --datad)
1673 ac_prev=datadir ;;
1674 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1675 datadir=$ac_optarg ;;
1677 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1678 | --dataroo | --dataro | --datar)
1679 ac_prev=datarootdir ;;
1680 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1681 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1682 datarootdir=$ac_optarg ;;
1684 -disable-* | --disable-*)
1685 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1686 # Reject names that are not valid shell variable names.
1687 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1688 as_fn_error $? "invalid feature name: $ac_useropt"
1689 ac_useropt_orig=$ac_useropt
1690 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1691 case $ac_user_opts in
1693 "enable_$ac_useropt"
1694 "*) ;;
1695 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1696 ac_unrecognized_sep=', ';;
1697 esac
1698 eval enable_$ac_useropt=no ;;
1700 -docdir | --docdir | --docdi | --doc | --do)
1701 ac_prev=docdir ;;
1702 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1703 docdir=$ac_optarg ;;
1705 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1706 ac_prev=dvidir ;;
1707 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1708 dvidir=$ac_optarg ;;
1710 -enable-* | --enable-*)
1711 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1712 # Reject names that are not valid shell variable names.
1713 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1714 as_fn_error $? "invalid feature name: $ac_useropt"
1715 ac_useropt_orig=$ac_useropt
1716 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1717 case $ac_user_opts in
1719 "enable_$ac_useropt"
1720 "*) ;;
1721 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1722 ac_unrecognized_sep=', ';;
1723 esac
1724 eval enable_$ac_useropt=\$ac_optarg ;;
1726 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1727 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1728 | --exec | --exe | --ex)
1729 ac_prev=exec_prefix ;;
1730 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1731 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1732 | --exec=* | --exe=* | --ex=*)
1733 exec_prefix=$ac_optarg ;;
1735 -gas | --gas | --ga | --g)
1736 # Obsolete; use --with-gas.
1737 with_gas=yes ;;
1739 -help | --help | --hel | --he | -h)
1740 ac_init_help=long ;;
1741 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1742 ac_init_help=recursive ;;
1743 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1744 ac_init_help=short ;;
1746 -host | --host | --hos | --ho)
1747 ac_prev=host_alias ;;
1748 -host=* | --host=* | --hos=* | --ho=*)
1749 host_alias=$ac_optarg ;;
1751 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1752 ac_prev=htmldir ;;
1753 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1754 | --ht=*)
1755 htmldir=$ac_optarg ;;
1757 -includedir | --includedir | --includedi | --included | --include \
1758 | --includ | --inclu | --incl | --inc)
1759 ac_prev=includedir ;;
1760 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1761 | --includ=* | --inclu=* | --incl=* | --inc=*)
1762 includedir=$ac_optarg ;;
1764 -infodir | --infodir | --infodi | --infod | --info | --inf)
1765 ac_prev=infodir ;;
1766 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1767 infodir=$ac_optarg ;;
1769 -libdir | --libdir | --libdi | --libd)
1770 ac_prev=libdir ;;
1771 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1772 libdir=$ac_optarg ;;
1774 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1775 | --libexe | --libex | --libe)
1776 ac_prev=libexecdir ;;
1777 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1778 | --libexe=* | --libex=* | --libe=*)
1779 libexecdir=$ac_optarg ;;
1781 -localedir | --localedir | --localedi | --localed | --locale)
1782 ac_prev=localedir ;;
1783 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1784 localedir=$ac_optarg ;;
1786 -localstatedir | --localstatedir | --localstatedi | --localstated \
1787 | --localstate | --localstat | --localsta | --localst | --locals)
1788 ac_prev=localstatedir ;;
1789 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1790 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1791 localstatedir=$ac_optarg ;;
1793 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1794 ac_prev=mandir ;;
1795 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1796 mandir=$ac_optarg ;;
1798 -nfp | --nfp | --nf)
1799 # Obsolete; use --without-fp.
1800 with_fp=no ;;
1802 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1803 | --no-cr | --no-c | -n)
1804 no_create=yes ;;
1806 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1807 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1808 no_recursion=yes ;;
1810 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1811 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1812 | --oldin | --oldi | --old | --ol | --o)
1813 ac_prev=oldincludedir ;;
1814 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1815 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1816 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1817 oldincludedir=$ac_optarg ;;
1819 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1820 ac_prev=prefix ;;
1821 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1822 prefix=$ac_optarg ;;
1824 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1825 | --program-pre | --program-pr | --program-p)
1826 ac_prev=program_prefix ;;
1827 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1828 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1829 program_prefix=$ac_optarg ;;
1831 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1832 | --program-suf | --program-su | --program-s)
1833 ac_prev=program_suffix ;;
1834 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1835 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1836 program_suffix=$ac_optarg ;;
1838 -program-transform-name | --program-transform-name \
1839 | --program-transform-nam | --program-transform-na \
1840 | --program-transform-n | --program-transform- \
1841 | --program-transform | --program-transfor \
1842 | --program-transfo | --program-transf \
1843 | --program-trans | --program-tran \
1844 | --progr-tra | --program-tr | --program-t)
1845 ac_prev=program_transform_name ;;
1846 -program-transform-name=* | --program-transform-name=* \
1847 | --program-transform-nam=* | --program-transform-na=* \
1848 | --program-transform-n=* | --program-transform-=* \
1849 | --program-transform=* | --program-transfor=* \
1850 | --program-transfo=* | --program-transf=* \
1851 | --program-trans=* | --program-tran=* \
1852 | --progr-tra=* | --program-tr=* | --program-t=*)
1853 program_transform_name=$ac_optarg ;;
1855 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1856 ac_prev=pdfdir ;;
1857 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1858 pdfdir=$ac_optarg ;;
1860 -psdir | --psdir | --psdi | --psd | --ps)
1861 ac_prev=psdir ;;
1862 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1863 psdir=$ac_optarg ;;
1865 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1866 | -silent | --silent | --silen | --sile | --sil)
1867 silent=yes ;;
1869 -runstatedir | --runstatedir | --runstatedi | --runstated \
1870 | --runstate | --runstat | --runsta | --runst | --runs \
1871 | --run | --ru | --r)
1872 ac_prev=runstatedir ;;
1873 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1874 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1875 | --run=* | --ru=* | --r=*)
1876 runstatedir=$ac_optarg ;;
1878 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1879 ac_prev=sbindir ;;
1880 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1881 | --sbi=* | --sb=*)
1882 sbindir=$ac_optarg ;;
1884 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1885 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1886 | --sharedst | --shareds | --shared | --share | --shar \
1887 | --sha | --sh)
1888 ac_prev=sharedstatedir ;;
1889 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1890 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1891 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1892 | --sha=* | --sh=*)
1893 sharedstatedir=$ac_optarg ;;
1895 -site | --site | --sit)
1896 ac_prev=site ;;
1897 -site=* | --site=* | --sit=*)
1898 site=$ac_optarg ;;
1900 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1901 ac_prev=srcdir ;;
1902 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1903 srcdir=$ac_optarg ;;
1905 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1906 | --syscon | --sysco | --sysc | --sys | --sy)
1907 ac_prev=sysconfdir ;;
1908 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1909 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1910 sysconfdir=$ac_optarg ;;
1912 -target | --target | --targe | --targ | --tar | --ta | --t)
1913 ac_prev=target_alias ;;
1914 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1915 target_alias=$ac_optarg ;;
1917 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1918 verbose=yes ;;
1920 -version | --version | --versio | --versi | --vers | -V)
1921 ac_init_version=: ;;
1923 -with-* | --with-*)
1924 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1925 # Reject names that are not valid shell variable names.
1926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1927 as_fn_error $? "invalid package name: $ac_useropt"
1928 ac_useropt_orig=$ac_useropt
1929 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1930 case $ac_user_opts in
1932 "with_$ac_useropt"
1933 "*) ;;
1934 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1935 ac_unrecognized_sep=', ';;
1936 esac
1937 eval with_$ac_useropt=\$ac_optarg ;;
1939 -without-* | --without-*)
1940 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1941 # Reject names that are not valid shell variable names.
1942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1943 as_fn_error $? "invalid package name: $ac_useropt"
1944 ac_useropt_orig=$ac_useropt
1945 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1946 case $ac_user_opts in
1948 "with_$ac_useropt"
1949 "*) ;;
1950 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1951 ac_unrecognized_sep=', ';;
1952 esac
1953 eval with_$ac_useropt=no ;;
1955 --x)
1956 # Obsolete; use --with-x.
1957 with_x=yes ;;
1959 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1960 | --x-incl | --x-inc | --x-in | --x-i)
1961 ac_prev=x_includes ;;
1962 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1963 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1964 x_includes=$ac_optarg ;;
1966 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1967 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1968 ac_prev=x_libraries ;;
1969 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1970 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1971 x_libraries=$ac_optarg ;;
1973 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1974 Try \`$0 --help' for more information"
1977 *=*)
1978 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1979 # Reject names that are not valid shell variable names.
1980 case $ac_envvar in #(
1981 '' | [0-9]* | *[!_$as_cr_alnum]* )
1982 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1983 esac
1984 eval $ac_envvar=\$ac_optarg
1985 export $ac_envvar ;;
1988 # FIXME: should be removed in autoconf 3.0.
1989 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1990 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1991 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1992 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1995 esac
1996 done
1998 if test -n "$ac_prev"; then
1999 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2000 as_fn_error $? "missing argument to $ac_option"
2003 if test -n "$ac_unrecognized_opts"; then
2004 case $enable_option_checking in
2005 no) ;;
2006 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2007 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2008 esac
2011 # Check all directory arguments for consistency.
2012 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2013 datadir sysconfdir sharedstatedir localstatedir includedir \
2014 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2015 libdir localedir mandir runstatedir
2017 eval ac_val=\$$ac_var
2018 # Remove trailing slashes.
2019 case $ac_val in
2020 */ )
2021 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2022 eval $ac_var=\$ac_val;;
2023 esac
2024 # Be sure to have absolute directory names.
2025 case $ac_val in
2026 [\\/$]* | ?:[\\/]* ) continue;;
2027 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2028 esac
2029 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2030 done
2032 # There might be people who depend on the old broken behavior: `$host'
2033 # used to hold the argument of --host etc.
2034 # FIXME: To remove some day.
2035 build=$build_alias
2036 host=$host_alias
2037 target=$target_alias
2039 # FIXME: To remove some day.
2040 if test "x$host_alias" != x; then
2041 if test "x$build_alias" = x; then
2042 cross_compiling=maybe
2043 elif test "x$build_alias" != "x$host_alias"; then
2044 cross_compiling=yes
2048 ac_tool_prefix=
2049 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2051 test "$silent" = yes && exec 6>/dev/null
2054 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2055 ac_ls_di=`ls -di .` &&
2056 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2057 as_fn_error $? "working directory cannot be determined"
2058 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2059 as_fn_error $? "pwd does not report name of working directory"
2062 # Find the source files, if location was not specified.
2063 if test -z "$srcdir"; then
2064 ac_srcdir_defaulted=yes
2065 # Try the directory containing this script, then the parent directory.
2066 ac_confdir=`$as_dirname -- "$as_myself" ||
2067 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2068 X"$as_myself" : 'X\(//\)[^/]' \| \
2069 X"$as_myself" : 'X\(//\)$' \| \
2070 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2071 $as_echo X"$as_myself" |
2072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2073 s//\1/
2076 /^X\(\/\/\)[^/].*/{
2077 s//\1/
2080 /^X\(\/\/\)$/{
2081 s//\1/
2084 /^X\(\/\).*/{
2085 s//\1/
2088 s/.*/./; q'`
2089 srcdir=$ac_confdir
2090 if test ! -r "$srcdir/$ac_unique_file"; then
2091 srcdir=..
2093 else
2094 ac_srcdir_defaulted=no
2096 if test ! -r "$srcdir/$ac_unique_file"; then
2097 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2098 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2100 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2101 ac_abs_confdir=`(
2102 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2103 pwd)`
2104 # When building in place, set srcdir=.
2105 if test "$ac_abs_confdir" = "$ac_pwd"; then
2106 srcdir=.
2108 # Remove unnecessary trailing slashes from srcdir.
2109 # Double slashes in file names in object file debugging info
2110 # mess up M-x gdb in Emacs.
2111 case $srcdir in
2112 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2113 esac
2114 for ac_var in $ac_precious_vars; do
2115 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2116 eval ac_env_${ac_var}_value=\$${ac_var}
2117 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2118 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2119 done
2122 # Report the --help message.
2124 if test "$ac_init_help" = "long"; then
2125 # Omit some internal or obsolete options to make the list less imposing.
2126 # This message is too long to be a string in the A/UX 3.1 sh.
2127 cat <<_ACEOF
2128 \`configure' configures Wine 1.9.4 to adapt to many kinds of systems.
2130 Usage: $0 [OPTION]... [VAR=VALUE]...
2132 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2133 VAR=VALUE. See below for descriptions of some of the useful variables.
2135 Defaults for the options are specified in brackets.
2137 Configuration:
2138 -h, --help display this help and exit
2139 --help=short display options specific to this package
2140 --help=recursive display the short help of all the included packages
2141 -V, --version display version information and exit
2142 -q, --quiet, --silent do not print \`checking ...' messages
2143 --cache-file=FILE cache test results in FILE [disabled]
2144 -C, --config-cache alias for \`--cache-file=config.cache'
2145 -n, --no-create do not create output files
2146 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2148 Installation directories:
2149 --prefix=PREFIX install architecture-independent files in PREFIX
2150 [$ac_default_prefix]
2151 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2152 [PREFIX]
2154 By default, \`make install' will install all the files in
2155 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2156 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2157 for instance \`--prefix=\$HOME'.
2159 For better control, use the options below.
2161 Fine tuning of the installation directories:
2162 --bindir=DIR user executables [EPREFIX/bin]
2163 --sbindir=DIR system admin executables [EPREFIX/sbin]
2164 --libexecdir=DIR program executables [EPREFIX/libexec]
2165 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2166 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2167 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2168 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2169 --libdir=DIR object code libraries [EPREFIX/lib]
2170 --includedir=DIR C header files [PREFIX/include]
2171 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2172 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2173 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2174 --infodir=DIR info documentation [DATAROOTDIR/info]
2175 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2176 --mandir=DIR man documentation [DATAROOTDIR/man]
2177 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2178 --htmldir=DIR html documentation [DOCDIR]
2179 --dvidir=DIR dvi documentation [DOCDIR]
2180 --pdfdir=DIR pdf documentation [DOCDIR]
2181 --psdir=DIR ps documentation [DOCDIR]
2182 _ACEOF
2184 cat <<\_ACEOF
2186 X features:
2187 --x-includes=DIR X include files are in DIR
2188 --x-libraries=DIR X library files are in DIR
2190 System types:
2191 --build=BUILD configure for building on BUILD [guessed]
2192 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2193 _ACEOF
2196 if test -n "$ac_init_help"; then
2197 case $ac_init_help in
2198 short | recursive ) echo "Configuration of Wine 1.9.4:";;
2199 esac
2200 cat <<\_ACEOF
2202 Optional Features:
2203 --disable-option-checking ignore unrecognized --enable/--with options
2204 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2205 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2206 --disable-win16 do not include Win16 support
2207 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2208 binaries)
2209 --disable-tests do not build the regression tests
2210 --enable-maintainer-mode
2211 enable maintainer-specific build rules
2212 --disable-largefile omit support for large files
2214 Optional Packages:
2215 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2216 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2217 --without-alsa do not use the Alsa sound support
2218 --without-capi do not use CAPI (ISDN support)
2219 --without-cms do not use CMS (color management support)
2220 --without-coreaudio do not use the CoreAudio sound support
2221 --without-cups do not use CUPS
2222 --without-curses do not use (n)curses
2223 --without-dbus do not use DBus (dynamic device support)
2224 --without-fontconfig do not use fontconfig
2225 --without-freetype do not use the FreeType library
2226 --without-gettext do not use gettext
2227 --with-gettextpo use the GetTextPO library to rebuild po files
2228 --without-gphoto do not use gphoto (Digital Camera support)
2229 --without-glu do not use the GLU library
2230 --without-gnutls do not use GnuTLS (schannel support)
2231 --without-gsm do not use libgsm (GSM 06.10 codec support)
2232 --without-gstreamer do not use GStreamer (codecs support)
2233 --without-hal do not use HAL (dynamic device support)
2234 --without-jpeg do not use JPEG
2235 --without-ldap do not use LDAP
2236 --without-mpg123 do not use the mpg123 library
2237 --without-netapi do not use the Samba NetAPI library
2238 --without-openal do not use OpenAL
2239 --without-opencl do not use OpenCL
2240 --without-opengl do not use OpenGL
2241 --without-osmesa do not use the OSMesa library
2242 --without-oss do not use the OSS sound support
2243 --without-pcap do not use the Packet Capture library
2244 --without-png do not use PNG
2245 --without-pthread do not use the pthread library
2246 --without-pulse do not use PulseAudio sound support
2247 --without-sane do not use SANE (scanner support)
2248 --without-tiff do not use TIFF
2249 --without-v4l do not use v4l1 (v4l support)
2250 --without-xcomposite do not use the Xcomposite extension
2251 --without-xcursor do not use the Xcursor extension
2252 --without-xinerama do not use Xinerama (multi-monitor support)
2253 --without-xinput do not use the Xinput extension
2254 --without-xinput2 do not use the Xinput 2 extension
2255 --without-xml do not use XML
2256 --without-xrandr do not use Xrandr (resolution changes)
2257 --without-xrender do not use the Xrender extension
2258 --without-xshape do not use the Xshape extension
2259 --without-xshm do not use XShm (shared memory extension)
2260 --without-xslt do not use XSLT
2261 --without-xxf86vm do not use XFree video mode extension
2262 --without-zlib do not use Zlib (data compression)
2263 --with-wine-tools=DIR use Wine tools from directory DIR
2264 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2265 --with-x use the X Window System
2267 Some influential environment variables:
2268 CC C compiler command
2269 CFLAGS C compiler flags
2270 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2271 nonstandard directory <lib dir>
2272 LIBS libraries to pass to the linker, e.g. -l<library>
2273 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2274 you have headers in a nonstandard directory <include dir>
2275 CXX C++ compiler command
2276 CXXFLAGS C++ compiler flags
2277 CPP C preprocessor
2278 XMKMF Path to xmkmf, Makefile generator for X Window System
2279 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2280 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2281 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2282 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2283 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2284 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2285 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2286 HAL_LIBS Linker flags for hal, overriding pkg-config
2287 GNUTLS_CFLAGS
2288 C compiler flags for gnutls, overriding pkg-config
2289 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2290 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2291 SANE_LIBS Linker flags for libsane, overriding pkg-config
2292 GPHOTO2_CFLAGS
2293 C compiler flags for libgphoto2, overriding pkg-config
2294 GPHOTO2_LIBS
2295 Linker flags for libgphoto2, overriding pkg-config
2296 GPHOTO2_PORT_CFLAGS
2297 C compiler flags for libgphoto2_port, overriding pkg-config
2298 GPHOTO2_PORT_LIBS
2299 Linker flags for libgphoto2_port, overriding pkg-config
2300 LCMS2_CFLAGS
2301 C compiler flags for lcms2, overriding pkg-config
2302 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2303 FREETYPE_CFLAGS
2304 C compiler flags for freetype2, overriding pkg-config
2305 FREETYPE_LIBS
2306 Linker flags for freetype2, overriding pkg-config
2307 PULSE_CFLAGS
2308 C compiler flags for libpulse, overriding pkg-config
2309 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2310 GSTREAMER_CFLAGS
2311 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2312 gstreamer-audio-1.0, overriding pkg-config
2313 GSTREAMER_LIBS
2314 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2315 gstreamer-audio-1.0, overriding pkg-config
2316 CAPI20_CFLAGS
2317 C compiler flags for capi20, overriding pkg-config
2318 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2319 FONTCONFIG_CFLAGS
2320 C compiler flags for fontconfig, overriding pkg-config
2321 FONTCONFIG_LIBS
2322 Linker flags for fontconfig, overriding pkg-config
2323 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2324 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2325 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2326 PNG_LIBS Linker flags for libpng, overriding pkg-config
2327 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2328 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2329 MPG123_CFLAGS
2330 C compiler flags for libmpg123, overriding pkg-config
2331 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2332 NETAPI_CFLAGS
2333 C compiler flags for netapi, overriding pkg-config
2334 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2336 Use these variables to override the choices made by `configure' or to help
2337 it to find libraries and programs with nonstandard names/locations.
2339 Report bugs to <wine-devel@winehq.org>.
2340 Wine home page: <http://www.winehq.org>.
2341 _ACEOF
2342 ac_status=$?
2345 if test "$ac_init_help" = "recursive"; then
2346 # If there are subdirs, report their specific --help.
2347 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2348 test -d "$ac_dir" ||
2349 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2350 continue
2351 ac_builddir=.
2353 case "$ac_dir" in
2354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2356 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2357 # A ".." for each directory in $ac_dir_suffix.
2358 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2359 case $ac_top_builddir_sub in
2360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2362 esac ;;
2363 esac
2364 ac_abs_top_builddir=$ac_pwd
2365 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2366 # for backward compatibility:
2367 ac_top_builddir=$ac_top_build_prefix
2369 case $srcdir in
2370 .) # We are building in place.
2371 ac_srcdir=.
2372 ac_top_srcdir=$ac_top_builddir_sub
2373 ac_abs_top_srcdir=$ac_pwd ;;
2374 [\\/]* | ?:[\\/]* ) # Absolute name.
2375 ac_srcdir=$srcdir$ac_dir_suffix;
2376 ac_top_srcdir=$srcdir
2377 ac_abs_top_srcdir=$srcdir ;;
2378 *) # Relative name.
2379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2380 ac_top_srcdir=$ac_top_build_prefix$srcdir
2381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2382 esac
2383 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2385 cd "$ac_dir" || { ac_status=$?; continue; }
2386 # Check for guested configure.
2387 if test -f "$ac_srcdir/configure.gnu"; then
2388 echo &&
2389 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2390 elif test -f "$ac_srcdir/configure"; then
2391 echo &&
2392 $SHELL "$ac_srcdir/configure" --help=recursive
2393 else
2394 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2395 fi || ac_status=$?
2396 cd "$ac_pwd" || { ac_status=$?; break; }
2397 done
2400 test -n "$ac_init_help" && exit $ac_status
2401 if $ac_init_version; then
2402 cat <<\_ACEOF
2403 Wine configure 1.9.4
2404 generated by GNU Autoconf 2.69
2406 Copyright (C) 2012 Free Software Foundation, Inc.
2407 This configure script is free software; the Free Software Foundation
2408 gives unlimited permission to copy, distribute and modify it.
2409 _ACEOF
2410 exit
2413 ## ------------------------ ##
2414 ## Autoconf initialization. ##
2415 ## ------------------------ ##
2417 # ac_fn_c_try_compile LINENO
2418 # --------------------------
2419 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2420 ac_fn_c_try_compile ()
2422 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2423 rm -f conftest.$ac_objext
2424 if { { ac_try="$ac_compile"
2425 case "(($ac_try" in
2426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2427 *) ac_try_echo=$ac_try;;
2428 esac
2429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2430 $as_echo "$ac_try_echo"; } >&5
2431 (eval "$ac_compile") 2>conftest.err
2432 ac_status=$?
2433 if test -s conftest.err; then
2434 grep -v '^ *+' conftest.err >conftest.er1
2435 cat conftest.er1 >&5
2436 mv -f conftest.er1 conftest.err
2438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2439 test $ac_status = 0; } && {
2440 test -z "$ac_c_werror_flag" ||
2441 test ! -s conftest.err
2442 } && test -s conftest.$ac_objext; then :
2443 ac_retval=0
2444 else
2445 $as_echo "$as_me: failed program was:" >&5
2446 sed 's/^/| /' conftest.$ac_ext >&5
2448 ac_retval=1
2450 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2451 as_fn_set_status $ac_retval
2453 } # ac_fn_c_try_compile
2455 # ac_fn_cxx_try_compile LINENO
2456 # ----------------------------
2457 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2458 ac_fn_cxx_try_compile ()
2460 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2461 rm -f conftest.$ac_objext
2462 if { { ac_try="$ac_compile"
2463 case "(($ac_try" in
2464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;;
2466 esac
2467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2468 $as_echo "$ac_try_echo"; } >&5
2469 (eval "$ac_compile") 2>conftest.err
2470 ac_status=$?
2471 if test -s conftest.err; then
2472 grep -v '^ *+' conftest.err >conftest.er1
2473 cat conftest.er1 >&5
2474 mv -f conftest.er1 conftest.err
2476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2477 test $ac_status = 0; } && {
2478 test -z "$ac_cxx_werror_flag" ||
2479 test ! -s conftest.err
2480 } && test -s conftest.$ac_objext; then :
2481 ac_retval=0
2482 else
2483 $as_echo "$as_me: failed program was:" >&5
2484 sed 's/^/| /' conftest.$ac_ext >&5
2486 ac_retval=1
2488 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2489 as_fn_set_status $ac_retval
2491 } # ac_fn_cxx_try_compile
2493 # ac_fn_c_try_link LINENO
2494 # -----------------------
2495 # Try to link conftest.$ac_ext, and return whether this succeeded.
2496 ac_fn_c_try_link ()
2498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2499 rm -f conftest.$ac_objext conftest$ac_exeext
2500 if { { ac_try="$ac_link"
2501 case "(($ac_try" in
2502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2503 *) ac_try_echo=$ac_try;;
2504 esac
2505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2506 $as_echo "$ac_try_echo"; } >&5
2507 (eval "$ac_link") 2>conftest.err
2508 ac_status=$?
2509 if test -s conftest.err; then
2510 grep -v '^ *+' conftest.err >conftest.er1
2511 cat conftest.er1 >&5
2512 mv -f conftest.er1 conftest.err
2514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2515 test $ac_status = 0; } && {
2516 test -z "$ac_c_werror_flag" ||
2517 test ! -s conftest.err
2518 } && test -s conftest$ac_exeext && {
2519 test "$cross_compiling" = yes ||
2520 test -x conftest$ac_exeext
2521 }; then :
2522 ac_retval=0
2523 else
2524 $as_echo "$as_me: failed program was:" >&5
2525 sed 's/^/| /' conftest.$ac_ext >&5
2527 ac_retval=1
2529 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2530 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2531 # interfere with the next link command; also delete a directory that is
2532 # left behind by Apple's compiler. We do this before executing the actions.
2533 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2535 as_fn_set_status $ac_retval
2537 } # ac_fn_c_try_link
2539 # ac_fn_c_try_cpp LINENO
2540 # ----------------------
2541 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2542 ac_fn_c_try_cpp ()
2544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2545 if { { ac_try="$ac_cpp conftest.$ac_ext"
2546 case "(($ac_try" in
2547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2548 *) ac_try_echo=$ac_try;;
2549 esac
2550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2551 $as_echo "$ac_try_echo"; } >&5
2552 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2553 ac_status=$?
2554 if test -s conftest.err; then
2555 grep -v '^ *+' conftest.err >conftest.er1
2556 cat conftest.er1 >&5
2557 mv -f conftest.er1 conftest.err
2559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2560 test $ac_status = 0; } > conftest.i && {
2561 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2562 test ! -s conftest.err
2563 }; then :
2564 ac_retval=0
2565 else
2566 $as_echo "$as_me: failed program was:" >&5
2567 sed 's/^/| /' conftest.$ac_ext >&5
2569 ac_retval=1
2571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2572 as_fn_set_status $ac_retval
2574 } # ac_fn_c_try_cpp
2576 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2577 # -------------------------------------------------------
2578 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2579 # the include files in INCLUDES and setting the cache variable VAR
2580 # accordingly.
2581 ac_fn_c_check_header_mongrel ()
2583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2584 if eval \${$3+:} false; then :
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2586 $as_echo_n "checking for $2... " >&6; }
2587 if eval \${$3+:} false; then :
2588 $as_echo_n "(cached) " >&6
2590 eval ac_res=\$$3
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2592 $as_echo "$ac_res" >&6; }
2593 else
2594 # Is the header compilable?
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2596 $as_echo_n "checking $2 usability... " >&6; }
2597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2598 /* end confdefs.h. */
2600 #include <$2>
2601 _ACEOF
2602 if ac_fn_c_try_compile "$LINENO"; then :
2603 ac_header_compiler=yes
2604 else
2605 ac_header_compiler=no
2607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2609 $as_echo "$ac_header_compiler" >&6; }
2611 # Is the header present?
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2613 $as_echo_n "checking $2 presence... " >&6; }
2614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2615 /* end confdefs.h. */
2616 #include <$2>
2617 _ACEOF
2618 if ac_fn_c_try_cpp "$LINENO"; then :
2619 ac_header_preproc=yes
2620 else
2621 ac_header_preproc=no
2623 rm -f conftest.err conftest.i conftest.$ac_ext
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2625 $as_echo "$ac_header_preproc" >&6; }
2627 # So? What about this header?
2628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2629 yes:no: )
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2631 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2633 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2635 no:yes:* )
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2637 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2639 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2641 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2643 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2645 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2646 ( $as_echo "## ------------------------------------ ##
2647 ## Report this to wine-devel@winehq.org ##
2648 ## ------------------------------------ ##"
2649 ) | sed "s/^/$as_me: WARNING: /" >&2
2651 esac
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2653 $as_echo_n "checking for $2... " >&6; }
2654 if eval \${$3+:} false; then :
2655 $as_echo_n "(cached) " >&6
2656 else
2657 eval "$3=\$ac_header_compiler"
2659 eval ac_res=\$$3
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2661 $as_echo "$ac_res" >&6; }
2663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2665 } # ac_fn_c_check_header_mongrel
2667 # ac_fn_c_try_run LINENO
2668 # ----------------------
2669 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2670 # that executables *can* be run.
2671 ac_fn_c_try_run ()
2673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2674 if { { ac_try="$ac_link"
2675 case "(($ac_try" in
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2678 esac
2679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2680 $as_echo "$ac_try_echo"; } >&5
2681 (eval "$ac_link") 2>&5
2682 ac_status=$?
2683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2684 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2685 { { case "(($ac_try" in
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2688 esac
2689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2690 $as_echo "$ac_try_echo"; } >&5
2691 (eval "$ac_try") 2>&5
2692 ac_status=$?
2693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; }; }; then :
2695 ac_retval=0
2696 else
2697 $as_echo "$as_me: program exited with status $ac_status" >&5
2698 $as_echo "$as_me: failed program was:" >&5
2699 sed 's/^/| /' conftest.$ac_ext >&5
2701 ac_retval=$ac_status
2703 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2705 as_fn_set_status $ac_retval
2707 } # ac_fn_c_try_run
2709 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2710 # -------------------------------------------------------
2711 # Tests whether HEADER exists and can be compiled using the include files in
2712 # INCLUDES, setting the cache variable VAR accordingly.
2713 ac_fn_c_check_header_compile ()
2715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2717 $as_echo_n "checking for $2... " >&6; }
2718 if eval \${$3+:} false; then :
2719 $as_echo_n "(cached) " >&6
2720 else
2721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2722 /* end confdefs.h. */
2724 #include <$2>
2725 _ACEOF
2726 if ac_fn_c_try_compile "$LINENO"; then :
2727 eval "$3=yes"
2728 else
2729 eval "$3=no"
2731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2733 eval ac_res=\$$3
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2735 $as_echo "$ac_res" >&6; }
2736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2738 } # ac_fn_c_check_header_compile
2740 # ac_fn_c_check_func LINENO FUNC VAR
2741 # ----------------------------------
2742 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2743 ac_fn_c_check_func ()
2745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2747 $as_echo_n "checking for $2... " >&6; }
2748 if eval \${$3+:} false; then :
2749 $as_echo_n "(cached) " >&6
2750 else
2751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2752 /* end confdefs.h. */
2753 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2755 #define $2 innocuous_$2
2757 /* System header to define __stub macros and hopefully few prototypes,
2758 which can conflict with char $2 (); below.
2759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2760 <limits.h> exists even on freestanding compilers. */
2762 #ifdef __STDC__
2763 # include <limits.h>
2764 #else
2765 # include <assert.h>
2766 #endif
2768 #undef $2
2770 /* Override any GCC internal prototype to avoid an error.
2771 Use char because int might match the return type of a GCC
2772 builtin and then its argument prototype would still apply. */
2773 #ifdef __cplusplus
2774 extern "C"
2775 #endif
2776 char $2 ();
2777 /* The GNU C library defines this for functions which it implements
2778 to always fail with ENOSYS. Some functions are actually named
2779 something starting with __ and the normal name is an alias. */
2780 #if defined __stub_$2 || defined __stub___$2
2781 choke me
2782 #endif
2785 main ()
2787 return $2 ();
2789 return 0;
2791 _ACEOF
2792 if ac_fn_c_try_link "$LINENO"; then :
2793 eval "$3=yes"
2794 else
2795 eval "$3=no"
2797 rm -f core conftest.err conftest.$ac_objext \
2798 conftest$ac_exeext conftest.$ac_ext
2800 eval ac_res=\$$3
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2802 $as_echo "$ac_res" >&6; }
2803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2805 } # ac_fn_c_check_func
2807 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2808 # ----------------------------------------------------
2809 # Tries to find if the field MEMBER exists in type AGGR, after including
2810 # INCLUDES, setting cache variable VAR accordingly.
2811 ac_fn_c_check_member ()
2813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2815 $as_echo_n "checking for $2.$3... " >&6; }
2816 if eval \${$4+:} false; then :
2817 $as_echo_n "(cached) " >&6
2818 else
2819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2820 /* end confdefs.h. */
2823 main ()
2825 static $2 ac_aggr;
2826 if (ac_aggr.$3)
2827 return 0;
2829 return 0;
2831 _ACEOF
2832 if ac_fn_c_try_compile "$LINENO"; then :
2833 eval "$4=yes"
2834 else
2835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 /* end confdefs.h. */
2839 main ()
2841 static $2 ac_aggr;
2842 if (sizeof ac_aggr.$3)
2843 return 0;
2845 return 0;
2847 _ACEOF
2848 if ac_fn_c_try_compile "$LINENO"; then :
2849 eval "$4=yes"
2850 else
2851 eval "$4=no"
2853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2857 eval ac_res=\$$4
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2859 $as_echo "$ac_res" >&6; }
2860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2862 } # ac_fn_c_check_member
2864 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2865 # -------------------------------------------
2866 # Tests whether TYPE exists after having included INCLUDES, setting cache
2867 # variable VAR accordingly.
2868 ac_fn_c_check_type ()
2870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2872 $as_echo_n "checking for $2... " >&6; }
2873 if eval \${$3+:} false; then :
2874 $as_echo_n "(cached) " >&6
2875 else
2876 eval "$3=no"
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2881 main ()
2883 if (sizeof ($2))
2884 return 0;
2886 return 0;
2888 _ACEOF
2889 if ac_fn_c_try_compile "$LINENO"; then :
2890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2891 /* end confdefs.h. */
2894 main ()
2896 if (sizeof (($2)))
2897 return 0;
2899 return 0;
2901 _ACEOF
2902 if ac_fn_c_try_compile "$LINENO"; then :
2904 else
2905 eval "$3=yes"
2907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 eval ac_res=\$$3
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2913 $as_echo "$ac_res" >&6; }
2914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2916 } # ac_fn_c_check_type
2917 cat >config.log <<_ACEOF
2918 This file contains any messages produced by compilers while
2919 running configure, to aid debugging if configure makes a mistake.
2921 It was created by Wine $as_me 1.9.4, which was
2922 generated by GNU Autoconf 2.69. Invocation command line was
2924 $ $0 $@
2926 _ACEOF
2927 exec 5>>config.log
2929 cat <<_ASUNAME
2930 ## --------- ##
2931 ## Platform. ##
2932 ## --------- ##
2934 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2935 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2936 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2937 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2938 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2940 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2941 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2943 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2944 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2945 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2946 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2947 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2948 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2949 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2951 _ASUNAME
2953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2954 for as_dir in $PATH
2956 IFS=$as_save_IFS
2957 test -z "$as_dir" && as_dir=.
2958 $as_echo "PATH: $as_dir"
2959 done
2960 IFS=$as_save_IFS
2962 } >&5
2964 cat >&5 <<_ACEOF
2967 ## ----------- ##
2968 ## Core tests. ##
2969 ## ----------- ##
2971 _ACEOF
2974 # Keep a trace of the command line.
2975 # Strip out --no-create and --no-recursion so they do not pile up.
2976 # Strip out --silent because we don't want to record it for future runs.
2977 # Also quote any args containing shell meta-characters.
2978 # Make two passes to allow for proper duplicate-argument suppression.
2979 ac_configure_args=
2980 ac_configure_args0=
2981 ac_configure_args1=
2982 ac_must_keep_next=false
2983 for ac_pass in 1 2
2985 for ac_arg
2987 case $ac_arg in
2988 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2990 | -silent | --silent | --silen | --sile | --sil)
2991 continue ;;
2992 *\'*)
2993 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2994 esac
2995 case $ac_pass in
2996 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2998 as_fn_append ac_configure_args1 " '$ac_arg'"
2999 if test $ac_must_keep_next = true; then
3000 ac_must_keep_next=false # Got value, back to normal.
3001 else
3002 case $ac_arg in
3003 *=* | --config-cache | -C | -disable-* | --disable-* \
3004 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3005 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3006 | -with-* | --with-* | -without-* | --without-* | --x)
3007 case "$ac_configure_args0 " in
3008 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3009 esac
3011 -* ) ac_must_keep_next=true ;;
3012 esac
3014 as_fn_append ac_configure_args " '$ac_arg'"
3016 esac
3017 done
3018 done
3019 { ac_configure_args0=; unset ac_configure_args0;}
3020 { ac_configure_args1=; unset ac_configure_args1;}
3022 # When interrupted or exit'd, cleanup temporary files, and complete
3023 # config.log. We remove comments because anyway the quotes in there
3024 # would cause problems or look ugly.
3025 # WARNING: Use '\'' to represent an apostrophe within the trap.
3026 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3027 trap 'exit_status=$?
3028 # Save into config.log some information that might help in debugging.
3030 echo
3032 $as_echo "## ---------------- ##
3033 ## Cache variables. ##
3034 ## ---------------- ##"
3035 echo
3036 # The following way of writing the cache mishandles newlines in values,
3038 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3039 eval ac_val=\$$ac_var
3040 case $ac_val in #(
3041 *${as_nl}*)
3042 case $ac_var in #(
3043 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3044 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3045 esac
3046 case $ac_var in #(
3047 _ | IFS | as_nl) ;; #(
3048 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3049 *) { eval $ac_var=; unset $ac_var;} ;;
3050 esac ;;
3051 esac
3052 done
3053 (set) 2>&1 |
3054 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3055 *${as_nl}ac_space=\ *)
3056 sed -n \
3057 "s/'\''/'\''\\\\'\'''\''/g;
3058 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3059 ;; #(
3061 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3063 esac |
3064 sort
3066 echo
3068 $as_echo "## ----------------- ##
3069 ## Output variables. ##
3070 ## ----------------- ##"
3071 echo
3072 for ac_var in $ac_subst_vars
3074 eval ac_val=\$$ac_var
3075 case $ac_val in
3076 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3077 esac
3078 $as_echo "$ac_var='\''$ac_val'\''"
3079 done | sort
3080 echo
3082 if test -n "$ac_subst_files"; then
3083 $as_echo "## ------------------- ##
3084 ## File substitutions. ##
3085 ## ------------------- ##"
3086 echo
3087 for ac_var in $ac_subst_files
3089 eval ac_val=\$$ac_var
3090 case $ac_val in
3091 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3092 esac
3093 $as_echo "$ac_var='\''$ac_val'\''"
3094 done | sort
3095 echo
3098 if test -s confdefs.h; then
3099 $as_echo "## ----------- ##
3100 ## confdefs.h. ##
3101 ## ----------- ##"
3102 echo
3103 cat confdefs.h
3104 echo
3106 test "$ac_signal" != 0 &&
3107 $as_echo "$as_me: caught signal $ac_signal"
3108 $as_echo "$as_me: exit $exit_status"
3109 } >&5
3110 rm -f core *.core core.conftest.* &&
3111 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3112 exit $exit_status
3114 for ac_signal in 1 2 13 15; do
3115 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3116 done
3117 ac_signal=0
3119 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3120 rm -f -r conftest* confdefs.h
3122 $as_echo "/* confdefs.h */" > confdefs.h
3124 # Predefined preprocessor variables.
3126 cat >>confdefs.h <<_ACEOF
3127 #define PACKAGE_NAME "$PACKAGE_NAME"
3128 _ACEOF
3130 cat >>confdefs.h <<_ACEOF
3131 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3132 _ACEOF
3134 cat >>confdefs.h <<_ACEOF
3135 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3136 _ACEOF
3138 cat >>confdefs.h <<_ACEOF
3139 #define PACKAGE_STRING "$PACKAGE_STRING"
3140 _ACEOF
3142 cat >>confdefs.h <<_ACEOF
3143 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3144 _ACEOF
3146 cat >>confdefs.h <<_ACEOF
3147 #define PACKAGE_URL "$PACKAGE_URL"
3148 _ACEOF
3151 # Let the site file select an alternate cache file if it wants to.
3152 # Prefer an explicitly selected file to automatically selected ones.
3153 ac_site_file1=NONE
3154 ac_site_file2=NONE
3155 if test -n "$CONFIG_SITE"; then
3156 # We do not want a PATH search for config.site.
3157 case $CONFIG_SITE in #((
3158 -*) ac_site_file1=./$CONFIG_SITE;;
3159 */*) ac_site_file1=$CONFIG_SITE;;
3160 *) ac_site_file1=./$CONFIG_SITE;;
3161 esac
3162 elif test "x$prefix" != xNONE; then
3163 ac_site_file1=$prefix/share/config.site
3164 ac_site_file2=$prefix/etc/config.site
3165 else
3166 ac_site_file1=$ac_default_prefix/share/config.site
3167 ac_site_file2=$ac_default_prefix/etc/config.site
3169 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3171 test "x$ac_site_file" = xNONE && continue
3172 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3174 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3175 sed 's/^/| /' "$ac_site_file" >&5
3176 . "$ac_site_file" \
3177 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3179 as_fn_error $? "failed to load site script $ac_site_file
3180 See \`config.log' for more details" "$LINENO" 5; }
3182 done
3184 if test -r "$cache_file"; then
3185 # Some versions of bash will fail to source /dev/null (special files
3186 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3187 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3189 $as_echo "$as_me: loading cache $cache_file" >&6;}
3190 case $cache_file in
3191 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3192 *) . "./$cache_file";;
3193 esac
3195 else
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3197 $as_echo "$as_me: creating cache $cache_file" >&6;}
3198 >$cache_file
3201 # Check that the precious variables saved in the cache have kept the same
3202 # value.
3203 ac_cache_corrupted=false
3204 for ac_var in $ac_precious_vars; do
3205 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3206 eval ac_new_set=\$ac_env_${ac_var}_set
3207 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3208 eval ac_new_val=\$ac_env_${ac_var}_value
3209 case $ac_old_set,$ac_new_set in
3210 set,)
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3212 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3213 ac_cache_corrupted=: ;;
3214 ,set)
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3216 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3217 ac_cache_corrupted=: ;;
3218 ,);;
3220 if test "x$ac_old_val" != "x$ac_new_val"; then
3221 # differences in whitespace do not lead to failure.
3222 ac_old_val_w=`echo x $ac_old_val`
3223 ac_new_val_w=`echo x $ac_new_val`
3224 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3226 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3227 ac_cache_corrupted=:
3228 else
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3230 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3231 eval $ac_var=\$ac_old_val
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3234 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3236 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3237 fi;;
3238 esac
3239 # Pass precious variables to config.status.
3240 if test "$ac_new_set" = set; then
3241 case $ac_new_val in
3242 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3243 *) ac_arg=$ac_var=$ac_new_val ;;
3244 esac
3245 case " $ac_configure_args " in
3246 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3247 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3248 esac
3250 done
3251 if $ac_cache_corrupted; then
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3255 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3256 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3258 ## -------------------- ##
3259 ## Main body of script. ##
3260 ## -------------------- ##
3262 ac_ext=c
3263 ac_cpp='$CPP $CPPFLAGS'
3264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3270 ac_config_headers="$ac_config_headers include/config.h"
3272 ac_aux_dir=
3273 for ac_dir in tools "$srcdir"/tools; do
3274 if test -f "$ac_dir/install-sh"; then
3275 ac_aux_dir=$ac_dir
3276 ac_install_sh="$ac_aux_dir/install-sh -c"
3277 break
3278 elif test -f "$ac_dir/install.sh"; then
3279 ac_aux_dir=$ac_dir
3280 ac_install_sh="$ac_aux_dir/install.sh -c"
3281 break
3282 elif test -f "$ac_dir/shtool"; then
3283 ac_aux_dir=$ac_dir
3284 ac_install_sh="$ac_aux_dir/shtool install -c"
3285 break
3287 done
3288 if test -z "$ac_aux_dir"; then
3289 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3292 # These three variables are undocumented and unsupported,
3293 # and are intended to be withdrawn in a future Autoconf release.
3294 # They can cause serious problems if a builder's source tree is in a directory
3295 # whose full name contains unusual characters.
3296 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3297 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3298 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3302 libwine_version="1.0"
3306 # Check whether --enable-win16 was given.
3307 if test "${enable_win16+set}" = set; then :
3308 enableval=$enable_win16;
3311 # Check whether --enable-win64 was given.
3312 if test "${enable_win64+set}" = set; then :
3313 enableval=$enable_win64;
3316 # Check whether --enable-tests was given.
3317 if test "${enable_tests+set}" = set; then :
3318 enableval=$enable_tests;
3321 # Check whether --enable-maintainer-mode was given.
3322 if test "${enable_maintainer_mode+set}" = set; then :
3323 enableval=$enable_maintainer_mode;
3328 # Check whether --with-alsa was given.
3329 if test "${with_alsa+set}" = set; then :
3330 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3334 # Check whether --with-capi was given.
3335 if test "${with_capi+set}" = set; then :
3336 withval=$with_capi;
3340 # Check whether --with-cms was given.
3341 if test "${with_cms+set}" = set; then :
3342 withval=$with_cms;
3346 # Check whether --with-coreaudio was given.
3347 if test "${with_coreaudio+set}" = set; then :
3348 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3352 # Check whether --with-cups was given.
3353 if test "${with_cups+set}" = set; then :
3354 withval=$with_cups;
3358 # Check whether --with-curses was given.
3359 if test "${with_curses+set}" = set; then :
3360 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3364 # Check whether --with-dbus was given.
3365 if test "${with_dbus+set}" = set; then :
3366 withval=$with_dbus;
3370 # Check whether --with-fontconfig was given.
3371 if test "${with_fontconfig+set}" = set; then :
3372 withval=$with_fontconfig;
3376 # Check whether --with-freetype was given.
3377 if test "${with_freetype+set}" = set; then :
3378 withval=$with_freetype;
3382 # Check whether --with-gettext was given.
3383 if test "${with_gettext+set}" = set; then :
3384 withval=$with_gettext;
3388 # Check whether --with-gettextpo was given.
3389 if test "${with_gettextpo+set}" = set; then :
3390 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3394 # Check whether --with-gphoto was given.
3395 if test "${with_gphoto+set}" = set; then :
3396 withval=$with_gphoto;
3400 # Check whether --with-glu was given.
3401 if test "${with_glu+set}" = set; then :
3402 withval=$with_glu;
3406 # Check whether --with-gnutls was given.
3407 if test "${with_gnutls+set}" = set; then :
3408 withval=$with_gnutls;
3412 # Check whether --with-gsm was given.
3413 if test "${with_gsm+set}" = set; then :
3414 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3418 # Check whether --with-gstreamer was given.
3419 if test "${with_gstreamer+set}" = set; then :
3420 withval=$with_gstreamer;
3424 # Check whether --with-hal was given.
3425 if test "${with_hal+set}" = set; then :
3426 withval=$with_hal;
3430 # Check whether --with-jpeg was given.
3431 if test "${with_jpeg+set}" = set; then :
3432 withval=$with_jpeg;
3436 # Check whether --with-ldap was given.
3437 if test "${with_ldap+set}" = set; then :
3438 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3442 # Check whether --with-mpg123 was given.
3443 if test "${with_mpg123+set}" = set; then :
3444 withval=$with_mpg123;
3448 # Check whether --with-netapi was given.
3449 if test "${with_netapi+set}" = set; then :
3450 withval=$with_netapi;
3454 # Check whether --with-openal was given.
3455 if test "${with_openal+set}" = set; then :
3456 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3460 # Check whether --with-opencl was given.
3461 if test "${with_opencl+set}" = set; then :
3462 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3466 # Check whether --with-opengl was given.
3467 if test "${with_opengl+set}" = set; then :
3468 withval=$with_opengl;
3472 # Check whether --with-osmesa was given.
3473 if test "${with_osmesa+set}" = set; then :
3474 withval=$with_osmesa;
3478 # Check whether --with-oss was given.
3479 if test "${with_oss+set}" = set; then :
3480 withval=$with_oss;
3484 # Check whether --with-pcap was given.
3485 if test "${with_pcap+set}" = set; then :
3486 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3490 # Check whether --with-png was given.
3491 if test "${with_png+set}" = set; then :
3492 withval=$with_png;
3496 # Check whether --with-pthread was given.
3497 if test "${with_pthread+set}" = set; then :
3498 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3502 # Check whether --with-pulse was given.
3503 if test "${with_pulse+set}" = set; then :
3504 withval=$with_pulse;
3508 # Check whether --with-sane was given.
3509 if test "${with_sane+set}" = set; then :
3510 withval=$with_sane;
3514 # Check whether --with-tiff was given.
3515 if test "${with_tiff+set}" = set; then :
3516 withval=$with_tiff;
3520 # Check whether --with-v4l was given.
3521 if test "${with_v4l+set}" = set; then :
3522 withval=$with_v4l;
3526 # Check whether --with-xcomposite was given.
3527 if test "${with_xcomposite+set}" = set; then :
3528 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3532 # Check whether --with-xcursor was given.
3533 if test "${with_xcursor+set}" = set; then :
3534 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3538 # Check whether --with-xinerama was given.
3539 if test "${with_xinerama+set}" = set; then :
3540 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3544 # Check whether --with-xinput was given.
3545 if test "${with_xinput+set}" = set; then :
3546 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3550 # Check whether --with-xinput2 was given.
3551 if test "${with_xinput2+set}" = set; then :
3552 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3556 # Check whether --with-xml was given.
3557 if test "${with_xml+set}" = set; then :
3558 withval=$with_xml;
3562 # Check whether --with-xrandr was given.
3563 if test "${with_xrandr+set}" = set; then :
3564 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3568 # Check whether --with-xrender was given.
3569 if test "${with_xrender+set}" = set; then :
3570 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3574 # Check whether --with-xshape was given.
3575 if test "${with_xshape+set}" = set; then :
3576 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3580 # Check whether --with-xshm was given.
3581 if test "${with_xshm+set}" = set; then :
3582 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3586 # Check whether --with-xslt was given.
3587 if test "${with_xslt+set}" = set; then :
3588 withval=$with_xslt;
3592 # Check whether --with-xxf86vm was given.
3593 if test "${with_xxf86vm+set}" = set; then :
3594 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
3598 # Check whether --with-zlib was given.
3599 if test "${with_zlib+set}" = set; then :
3600 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3605 # Check whether --with-wine-tools was given.
3606 if test "${with_wine_tools+set}" = set; then :
3607 withval=$with_wine_tools;
3611 # Check whether --with-wine64 was given.
3612 if test "${with_wine64+set}" = set; then :
3613 withval=$with_wine64;
3617 # Make sure we can run config.sub.
3618 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3619 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3622 $as_echo_n "checking build system type... " >&6; }
3623 if ${ac_cv_build+:} false; then :
3624 $as_echo_n "(cached) " >&6
3625 else
3626 ac_build_alias=$build_alias
3627 test "x$ac_build_alias" = x &&
3628 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3629 test "x$ac_build_alias" = x &&
3630 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3631 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3632 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3636 $as_echo "$ac_cv_build" >&6; }
3637 case $ac_cv_build in
3638 *-*-*) ;;
3639 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3640 esac
3641 build=$ac_cv_build
3642 ac_save_IFS=$IFS; IFS='-'
3643 set x $ac_cv_build
3644 shift
3645 build_cpu=$1
3646 build_vendor=$2
3647 shift; shift
3648 # Remember, the first character of IFS is used to create $*,
3649 # except with old shells:
3650 build_os=$*
3651 IFS=$ac_save_IFS
3652 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3656 $as_echo_n "checking host system type... " >&6; }
3657 if ${ac_cv_host+:} false; then :
3658 $as_echo_n "(cached) " >&6
3659 else
3660 if test "x$host_alias" = x; then
3661 ac_cv_host=$ac_cv_build
3662 else
3663 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3664 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3669 $as_echo "$ac_cv_host" >&6; }
3670 case $ac_cv_host in
3671 *-*-*) ;;
3672 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3673 esac
3674 host=$ac_cv_host
3675 ac_save_IFS=$IFS; IFS='-'
3676 set x $ac_cv_host
3677 shift
3678 host_cpu=$1
3679 host_vendor=$2
3680 shift; shift
3681 # Remember, the first character of IFS is used to create $*,
3682 # except with old shells:
3683 host_os=$*
3684 IFS=$ac_save_IFS
3685 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3689 case "$srcdir" in
3690 .) ;;
3691 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3692 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3693 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3694 fi ;;
3695 esac
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3699 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3700 set x ${MAKE-make}
3701 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3702 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3703 $as_echo_n "(cached) " >&6
3704 else
3705 cat >conftest.make <<\_ACEOF
3706 SHELL = /bin/sh
3707 all:
3708 @echo '@@@%%%=$(MAKE)=@@@%%%'
3709 _ACEOF
3710 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3711 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3712 *@@@%%%=?*=@@@%%%*)
3713 eval ac_cv_prog_make_${ac_make}_set=yes;;
3715 eval ac_cv_prog_make_${ac_make}_set=no;;
3716 esac
3717 rm -f conftest.make
3719 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3721 $as_echo "yes" >&6; }
3722 SET_MAKE=
3723 else
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725 $as_echo "no" >&6; }
3726 SET_MAKE="MAKE=${MAKE-make}"
3729 ac_ext=c
3730 ac_cpp='$CPP $CPPFLAGS'
3731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3734 if test -n "$ac_tool_prefix"; then
3735 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3736 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if ${ac_cv_prog_CC+:} false; then :
3740 $as_echo_n "(cached) " >&6
3741 else
3742 if test -n "$CC"; then
3743 ac_cv_prog_CC="$CC" # Let the user override the test.
3744 else
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH
3748 IFS=$as_save_IFS
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3752 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 break 2
3756 done
3757 done
3758 IFS=$as_save_IFS
3762 CC=$ac_cv_prog_CC
3763 if test -n "$CC"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3765 $as_echo "$CC" >&6; }
3766 else
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3773 if test -z "$ac_cv_prog_CC"; then
3774 ac_ct_CC=$CC
3775 # Extract the first word of "gcc", so it can be a program name with args.
3776 set dummy gcc; ac_word=$2
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3780 $as_echo_n "(cached) " >&6
3781 else
3782 if test -n "$ac_ct_CC"; then
3783 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3784 else
3785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3786 for as_dir in $PATH
3788 IFS=$as_save_IFS
3789 test -z "$as_dir" && as_dir=.
3790 for ac_exec_ext in '' $ac_executable_extensions; do
3791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3792 ac_cv_prog_ac_ct_CC="gcc"
3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794 break 2
3796 done
3797 done
3798 IFS=$as_save_IFS
3802 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3803 if test -n "$ac_ct_CC"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3805 $as_echo "$ac_ct_CC" >&6; }
3806 else
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3811 if test "x$ac_ct_CC" = x; then
3812 CC=""
3813 else
3814 case $cross_compiling:$ac_tool_warned in
3815 yes:)
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3818 ac_tool_warned=yes ;;
3819 esac
3820 CC=$ac_ct_CC
3822 else
3823 CC="$ac_cv_prog_CC"
3826 if test -z "$CC"; then
3827 if test -n "$ac_tool_prefix"; then
3828 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3829 set dummy ${ac_tool_prefix}cc; ac_word=$2
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3831 $as_echo_n "checking for $ac_word... " >&6; }
3832 if ${ac_cv_prog_CC+:} false; then :
3833 $as_echo_n "(cached) " >&6
3834 else
3835 if test -n "$CC"; then
3836 ac_cv_prog_CC="$CC" # Let the user override the test.
3837 else
3838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3839 for as_dir in $PATH
3841 IFS=$as_save_IFS
3842 test -z "$as_dir" && as_dir=.
3843 for ac_exec_ext in '' $ac_executable_extensions; do
3844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3845 ac_cv_prog_CC="${ac_tool_prefix}cc"
3846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3847 break 2
3849 done
3850 done
3851 IFS=$as_save_IFS
3855 CC=$ac_cv_prog_CC
3856 if test -n "$CC"; then
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3858 $as_echo "$CC" >&6; }
3859 else
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3861 $as_echo "no" >&6; }
3867 if test -z "$CC"; then
3868 # Extract the first word of "cc", so it can be a program name with args.
3869 set dummy cc; ac_word=$2
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if ${ac_cv_prog_CC+:} false; then :
3873 $as_echo_n "(cached) " >&6
3874 else
3875 if test -n "$CC"; then
3876 ac_cv_prog_CC="$CC" # Let the user override the test.
3877 else
3878 ac_prog_rejected=no
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880 for as_dir in $PATH
3882 IFS=$as_save_IFS
3883 test -z "$as_dir" && as_dir=.
3884 for ac_exec_ext in '' $ac_executable_extensions; do
3885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3886 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3887 ac_prog_rejected=yes
3888 continue
3890 ac_cv_prog_CC="cc"
3891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3892 break 2
3894 done
3895 done
3896 IFS=$as_save_IFS
3898 if test $ac_prog_rejected = yes; then
3899 # We found a bogon in the path, so make sure we never use it.
3900 set dummy $ac_cv_prog_CC
3901 shift
3902 if test $# != 0; then
3903 # We chose a different compiler from the bogus one.
3904 # However, it has the same basename, so the bogon will be chosen
3905 # first if we set CC to just the basename; use the full file name.
3906 shift
3907 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3912 CC=$ac_cv_prog_CC
3913 if test -n "$CC"; then
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3915 $as_echo "$CC" >&6; }
3916 else
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918 $as_echo "no" >&6; }
3923 if test -z "$CC"; then
3924 if test -n "$ac_tool_prefix"; then
3925 for ac_prog in cl.exe
3927 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3928 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3930 $as_echo_n "checking for $ac_word... " >&6; }
3931 if ${ac_cv_prog_CC+:} false; then :
3932 $as_echo_n "(cached) " >&6
3933 else
3934 if test -n "$CC"; then
3935 ac_cv_prog_CC="$CC" # Let the user override the test.
3936 else
3937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938 for as_dir in $PATH
3940 IFS=$as_save_IFS
3941 test -z "$as_dir" && as_dir=.
3942 for ac_exec_ext in '' $ac_executable_extensions; do
3943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3944 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3946 break 2
3948 done
3949 done
3950 IFS=$as_save_IFS
3954 CC=$ac_cv_prog_CC
3955 if test -n "$CC"; then
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3957 $as_echo "$CC" >&6; }
3958 else
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3960 $as_echo "no" >&6; }
3964 test -n "$CC" && break
3965 done
3967 if test -z "$CC"; then
3968 ac_ct_CC=$CC
3969 for ac_prog in cl.exe
3971 # Extract the first word of "$ac_prog", so it can be a program name with args.
3972 set dummy $ac_prog; ac_word=$2
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3974 $as_echo_n "checking for $ac_word... " >&6; }
3975 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3976 $as_echo_n "(cached) " >&6
3977 else
3978 if test -n "$ac_ct_CC"; then
3979 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3980 else
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 for as_dir in $PATH
3984 IFS=$as_save_IFS
3985 test -z "$as_dir" && as_dir=.
3986 for ac_exec_ext in '' $ac_executable_extensions; do
3987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3988 ac_cv_prog_ac_ct_CC="$ac_prog"
3989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 break 2
3992 done
3993 done
3994 IFS=$as_save_IFS
3998 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3999 if test -n "$ac_ct_CC"; then
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4001 $as_echo "$ac_ct_CC" >&6; }
4002 else
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4004 $as_echo "no" >&6; }
4008 test -n "$ac_ct_CC" && break
4009 done
4011 if test "x$ac_ct_CC" = x; then
4012 CC=""
4013 else
4014 case $cross_compiling:$ac_tool_warned in
4015 yes:)
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4018 ac_tool_warned=yes ;;
4019 esac
4020 CC=$ac_ct_CC
4027 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4029 as_fn_error $? "no acceptable C compiler found in \$PATH
4030 See \`config.log' for more details" "$LINENO" 5; }
4032 # Provide some information about the compiler.
4033 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4034 set X $ac_compile
4035 ac_compiler=$2
4036 for ac_option in --version -v -V -qversion; do
4037 { { ac_try="$ac_compiler $ac_option >&5"
4038 case "(($ac_try" in
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4041 esac
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4045 ac_status=$?
4046 if test -s conftest.err; then
4047 sed '10a\
4048 ... rest of stderr output deleted ...
4049 10q' conftest.err >conftest.er1
4050 cat conftest.er1 >&5
4052 rm -f conftest.er1 conftest.err
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }
4055 done
4057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4061 main ()
4065 return 0;
4067 _ACEOF
4068 ac_clean_files_save=$ac_clean_files
4069 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4070 # Try to create an executable without -o first, disregard a.out.
4071 # It will help us diagnose broken compilers, and finding out an intuition
4072 # of exeext.
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4074 $as_echo_n "checking whether the C compiler works... " >&6; }
4075 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4077 # The possible output files:
4078 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4080 ac_rmfiles=
4081 for ac_file in $ac_files
4083 case $ac_file in
4084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4085 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4086 esac
4087 done
4088 rm -f $ac_rmfiles
4090 if { { ac_try="$ac_link_default"
4091 case "(($ac_try" in
4092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4094 esac
4095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4096 $as_echo "$ac_try_echo"; } >&5
4097 (eval "$ac_link_default") 2>&5
4098 ac_status=$?
4099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4100 test $ac_status = 0; }; then :
4101 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4102 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4103 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4104 # so that the user can short-circuit this test for compilers unknown to
4105 # Autoconf.
4106 for ac_file in $ac_files ''
4108 test -f "$ac_file" || continue
4109 case $ac_file in
4110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4112 [ab].out )
4113 # We found the default executable, but exeext='' is most
4114 # certainly right.
4115 break;;
4116 *.* )
4117 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4118 then :; else
4119 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4121 # We set ac_cv_exeext here because the later test for it is not
4122 # safe: cross compilers may not add the suffix if given an `-o'
4123 # argument, so we may need to know it at that point already.
4124 # Even if this section looks crufty: it has the advantage of
4125 # actually working.
4126 break;;
4128 break;;
4129 esac
4130 done
4131 test "$ac_cv_exeext" = no && ac_cv_exeext=
4133 else
4134 ac_file=''
4136 if test -z "$ac_file"; then :
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4138 $as_echo "no" >&6; }
4139 $as_echo "$as_me: failed program was:" >&5
4140 sed 's/^/| /' conftest.$ac_ext >&5
4142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4144 as_fn_error 77 "C compiler cannot create executables
4145 See \`config.log' for more details" "$LINENO" 5; }
4146 else
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4148 $as_echo "yes" >&6; }
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4151 $as_echo_n "checking for C compiler default output file name... " >&6; }
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4153 $as_echo "$ac_file" >&6; }
4154 ac_exeext=$ac_cv_exeext
4156 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4157 ac_clean_files=$ac_clean_files_save
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4159 $as_echo_n "checking for suffix of executables... " >&6; }
4160 if { { ac_try="$ac_link"
4161 case "(($ac_try" in
4162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4163 *) ac_try_echo=$ac_try;;
4164 esac
4165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4166 $as_echo "$ac_try_echo"; } >&5
4167 (eval "$ac_link") 2>&5
4168 ac_status=$?
4169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4170 test $ac_status = 0; }; then :
4171 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4172 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4173 # work properly (i.e., refer to `conftest.exe'), while it won't with
4174 # `rm'.
4175 for ac_file in conftest.exe conftest conftest.*; do
4176 test -f "$ac_file" || continue
4177 case $ac_file in
4178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4179 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4180 break;;
4181 * ) break;;
4182 esac
4183 done
4184 else
4185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4187 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4188 See \`config.log' for more details" "$LINENO" 5; }
4190 rm -f conftest conftest$ac_cv_exeext
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4192 $as_echo "$ac_cv_exeext" >&6; }
4194 rm -f conftest.$ac_ext
4195 EXEEXT=$ac_cv_exeext
4196 ac_exeext=$EXEEXT
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4199 #include <stdio.h>
4201 main ()
4203 FILE *f = fopen ("conftest.out", "w");
4204 return ferror (f) || fclose (f) != 0;
4207 return 0;
4209 _ACEOF
4210 ac_clean_files="$ac_clean_files conftest.out"
4211 # Check that the compiler produces executables we can run. If not, either
4212 # the compiler is broken, or we cross compile.
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4214 $as_echo_n "checking whether we are cross compiling... " >&6; }
4215 if test "$cross_compiling" != yes; then
4216 { { ac_try="$ac_link"
4217 case "(($ac_try" in
4218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4220 esac
4221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4222 $as_echo "$ac_try_echo"; } >&5
4223 (eval "$ac_link") 2>&5
4224 ac_status=$?
4225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4226 test $ac_status = 0; }
4227 if { ac_try='./conftest$ac_cv_exeext'
4228 { { case "(($ac_try" in
4229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4230 *) ac_try_echo=$ac_try;;
4231 esac
4232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4233 $as_echo "$ac_try_echo"; } >&5
4234 (eval "$ac_try") 2>&5
4235 ac_status=$?
4236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4237 test $ac_status = 0; }; }; then
4238 cross_compiling=no
4239 else
4240 if test "$cross_compiling" = maybe; then
4241 cross_compiling=yes
4242 else
4243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4245 as_fn_error $? "cannot run C compiled programs.
4246 If you meant to cross compile, use \`--host'.
4247 See \`config.log' for more details" "$LINENO" 5; }
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4252 $as_echo "$cross_compiling" >&6; }
4254 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4255 ac_clean_files=$ac_clean_files_save
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4257 $as_echo_n "checking for suffix of object files... " >&6; }
4258 if ${ac_cv_objext+:} false; then :
4259 $as_echo_n "(cached) " >&6
4260 else
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4265 main ()
4269 return 0;
4271 _ACEOF
4272 rm -f conftest.o conftest.obj
4273 if { { ac_try="$ac_compile"
4274 case "(($ac_try" in
4275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4276 *) ac_try_echo=$ac_try;;
4277 esac
4278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4279 $as_echo "$ac_try_echo"; } >&5
4280 (eval "$ac_compile") 2>&5
4281 ac_status=$?
4282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4283 test $ac_status = 0; }; then :
4284 for ac_file in conftest.o conftest.obj conftest.*; do
4285 test -f "$ac_file" || continue;
4286 case $ac_file in
4287 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4288 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4289 break;;
4290 esac
4291 done
4292 else
4293 $as_echo "$as_me: failed program was:" >&5
4294 sed 's/^/| /' conftest.$ac_ext >&5
4296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4298 as_fn_error $? "cannot compute suffix of object files: cannot compile
4299 See \`config.log' for more details" "$LINENO" 5; }
4301 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4304 $as_echo "$ac_cv_objext" >&6; }
4305 OBJEXT=$ac_cv_objext
4306 ac_objext=$OBJEXT
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4308 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4309 if ${ac_cv_c_compiler_gnu+:} false; then :
4310 $as_echo_n "(cached) " >&6
4311 else
4312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4313 /* end confdefs.h. */
4316 main ()
4318 #ifndef __GNUC__
4319 choke me
4320 #endif
4323 return 0;
4325 _ACEOF
4326 if ac_fn_c_try_compile "$LINENO"; then :
4327 ac_compiler_gnu=yes
4328 else
4329 ac_compiler_gnu=no
4331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4332 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4336 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4337 if test $ac_compiler_gnu = yes; then
4338 GCC=yes
4339 else
4340 GCC=
4342 ac_test_CFLAGS=${CFLAGS+set}
4343 ac_save_CFLAGS=$CFLAGS
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4345 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4346 if ${ac_cv_prog_cc_g+:} false; then :
4347 $as_echo_n "(cached) " >&6
4348 else
4349 ac_save_c_werror_flag=$ac_c_werror_flag
4350 ac_c_werror_flag=yes
4351 ac_cv_prog_cc_g=no
4352 CFLAGS="-g"
4353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4354 /* end confdefs.h. */
4357 main ()
4361 return 0;
4363 _ACEOF
4364 if ac_fn_c_try_compile "$LINENO"; then :
4365 ac_cv_prog_cc_g=yes
4366 else
4367 CFLAGS=""
4368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4369 /* end confdefs.h. */
4372 main ()
4376 return 0;
4378 _ACEOF
4379 if ac_fn_c_try_compile "$LINENO"; then :
4381 else
4382 ac_c_werror_flag=$ac_save_c_werror_flag
4383 CFLAGS="-g"
4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4385 /* end confdefs.h. */
4388 main ()
4392 return 0;
4394 _ACEOF
4395 if ac_fn_c_try_compile "$LINENO"; then :
4396 ac_cv_prog_cc_g=yes
4398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4403 ac_c_werror_flag=$ac_save_c_werror_flag
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4406 $as_echo "$ac_cv_prog_cc_g" >&6; }
4407 if test "$ac_test_CFLAGS" = set; then
4408 CFLAGS=$ac_save_CFLAGS
4409 elif test $ac_cv_prog_cc_g = yes; then
4410 if test "$GCC" = yes; then
4411 CFLAGS="-g -O2"
4412 else
4413 CFLAGS="-g"
4415 else
4416 if test "$GCC" = yes; then
4417 CFLAGS="-O2"
4418 else
4419 CFLAGS=
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4423 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4424 if ${ac_cv_prog_cc_c89+:} false; then :
4425 $as_echo_n "(cached) " >&6
4426 else
4427 ac_cv_prog_cc_c89=no
4428 ac_save_CC=$CC
4429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4430 /* end confdefs.h. */
4431 #include <stdarg.h>
4432 #include <stdio.h>
4433 struct stat;
4434 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4435 struct buf { int x; };
4436 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4437 static char *e (p, i)
4438 char **p;
4439 int i;
4441 return p[i];
4443 static char *f (char * (*g) (char **, int), char **p, ...)
4445 char *s;
4446 va_list v;
4447 va_start (v,p);
4448 s = g (p, va_arg (v,int));
4449 va_end (v);
4450 return s;
4453 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4454 function prototypes and stuff, but not '\xHH' hex character constants.
4455 These don't provoke an error unfortunately, instead are silently treated
4456 as 'x'. The following induces an error, until -std is added to get
4457 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4458 array size at least. It's necessary to write '\x00'==0 to get something
4459 that's true only with -std. */
4460 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4462 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4463 inside strings and character constants. */
4464 #define FOO(x) 'x'
4465 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4467 int test (int i, double x);
4468 struct s1 {int (*f) (int a);};
4469 struct s2 {int (*f) (double a);};
4470 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4471 int argc;
4472 char **argv;
4474 main ()
4476 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4478 return 0;
4480 _ACEOF
4481 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4482 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4484 CC="$ac_save_CC $ac_arg"
4485 if ac_fn_c_try_compile "$LINENO"; then :
4486 ac_cv_prog_cc_c89=$ac_arg
4488 rm -f core conftest.err conftest.$ac_objext
4489 test "x$ac_cv_prog_cc_c89" != "xno" && break
4490 done
4491 rm -f conftest.$ac_ext
4492 CC=$ac_save_CC
4495 # AC_CACHE_VAL
4496 case "x$ac_cv_prog_cc_c89" in
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4499 $as_echo "none needed" >&6; } ;;
4500 xno)
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4502 $as_echo "unsupported" >&6; } ;;
4504 CC="$CC $ac_cv_prog_cc_c89"
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4506 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4507 esac
4508 if test "x$ac_cv_prog_cc_c89" != xno; then :
4512 ac_ext=c
4513 ac_cpp='$CPP $CPPFLAGS'
4514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4518 ac_ext=cpp
4519 ac_cpp='$CXXCPP $CPPFLAGS'
4520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4523 if test -z "$CXX"; then
4524 if test -n "$CCC"; then
4525 CXX=$CCC
4526 else
4527 if test -n "$ac_tool_prefix"; then
4528 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4530 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4531 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4533 $as_echo_n "checking for $ac_word... " >&6; }
4534 if ${ac_cv_prog_CXX+:} false; then :
4535 $as_echo_n "(cached) " >&6
4536 else
4537 if test -n "$CXX"; then
4538 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4539 else
4540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4541 for as_dir in $PATH
4543 IFS=$as_save_IFS
4544 test -z "$as_dir" && as_dir=.
4545 for ac_exec_ext in '' $ac_executable_extensions; do
4546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4547 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4549 break 2
4551 done
4552 done
4553 IFS=$as_save_IFS
4557 CXX=$ac_cv_prog_CXX
4558 if test -n "$CXX"; then
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4560 $as_echo "$CXX" >&6; }
4561 else
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4563 $as_echo "no" >&6; }
4567 test -n "$CXX" && break
4568 done
4570 if test -z "$CXX"; then
4571 ac_ct_CXX=$CXX
4572 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4574 # Extract the first word of "$ac_prog", so it can be a program name with args.
4575 set dummy $ac_prog; ac_word=$2
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577 $as_echo_n "checking for $ac_word... " >&6; }
4578 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4579 $as_echo_n "(cached) " >&6
4580 else
4581 if test -n "$ac_ct_CXX"; then
4582 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4583 else
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 for as_dir in $PATH
4587 IFS=$as_save_IFS
4588 test -z "$as_dir" && as_dir=.
4589 for ac_exec_ext in '' $ac_executable_extensions; do
4590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4591 ac_cv_prog_ac_ct_CXX="$ac_prog"
4592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4593 break 2
4595 done
4596 done
4597 IFS=$as_save_IFS
4601 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4602 if test -n "$ac_ct_CXX"; then
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4604 $as_echo "$ac_ct_CXX" >&6; }
4605 else
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607 $as_echo "no" >&6; }
4611 test -n "$ac_ct_CXX" && break
4612 done
4614 if test "x$ac_ct_CXX" = x; then
4615 CXX="g++"
4616 else
4617 case $cross_compiling:$ac_tool_warned in
4618 yes:)
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4621 ac_tool_warned=yes ;;
4622 esac
4623 CXX=$ac_ct_CXX
4629 # Provide some information about the compiler.
4630 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4631 set X $ac_compile
4632 ac_compiler=$2
4633 for ac_option in --version -v -V -qversion; do
4634 { { ac_try="$ac_compiler $ac_option >&5"
4635 case "(($ac_try" in
4636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4637 *) ac_try_echo=$ac_try;;
4638 esac
4639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4640 $as_echo "$ac_try_echo"; } >&5
4641 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4642 ac_status=$?
4643 if test -s conftest.err; then
4644 sed '10a\
4645 ... rest of stderr output deleted ...
4646 10q' conftest.err >conftest.er1
4647 cat conftest.er1 >&5
4649 rm -f conftest.er1 conftest.err
4650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4651 test $ac_status = 0; }
4652 done
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4655 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4656 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4657 $as_echo_n "(cached) " >&6
4658 else
4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4663 main ()
4665 #ifndef __GNUC__
4666 choke me
4667 #endif
4670 return 0;
4672 _ACEOF
4673 if ac_fn_cxx_try_compile "$LINENO"; then :
4674 ac_compiler_gnu=yes
4675 else
4676 ac_compiler_gnu=no
4678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4679 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4683 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4684 if test $ac_compiler_gnu = yes; then
4685 GXX=yes
4686 else
4687 GXX=
4689 ac_test_CXXFLAGS=${CXXFLAGS+set}
4690 ac_save_CXXFLAGS=$CXXFLAGS
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4692 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4693 if ${ac_cv_prog_cxx_g+:} false; then :
4694 $as_echo_n "(cached) " >&6
4695 else
4696 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4697 ac_cxx_werror_flag=yes
4698 ac_cv_prog_cxx_g=no
4699 CXXFLAGS="-g"
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4704 main ()
4708 return 0;
4710 _ACEOF
4711 if ac_fn_cxx_try_compile "$LINENO"; then :
4712 ac_cv_prog_cxx_g=yes
4713 else
4714 CXXFLAGS=""
4715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4716 /* end confdefs.h. */
4719 main ()
4723 return 0;
4725 _ACEOF
4726 if ac_fn_cxx_try_compile "$LINENO"; then :
4728 else
4729 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4730 CXXFLAGS="-g"
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4735 main ()
4739 return 0;
4741 _ACEOF
4742 if ac_fn_cxx_try_compile "$LINENO"; then :
4743 ac_cv_prog_cxx_g=yes
4745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4750 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4753 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4754 if test "$ac_test_CXXFLAGS" = set; then
4755 CXXFLAGS=$ac_save_CXXFLAGS
4756 elif test $ac_cv_prog_cxx_g = yes; then
4757 if test "$GXX" = yes; then
4758 CXXFLAGS="-g -O2"
4759 else
4760 CXXFLAGS="-g"
4762 else
4763 if test "$GXX" = yes; then
4764 CXXFLAGS="-O2"
4765 else
4766 CXXFLAGS=
4769 ac_ext=c
4770 ac_cpp='$CPP $CPPFLAGS'
4771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4775 if test -n "$ac_tool_prefix"; then
4776 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4777 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4779 $as_echo_n "checking for $ac_word... " >&6; }
4780 if ${ac_cv_prog_CPPBIN+:} false; then :
4781 $as_echo_n "(cached) " >&6
4782 else
4783 if test -n "$CPPBIN"; then
4784 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4785 else
4786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4787 for as_dir in $PATH
4789 IFS=$as_save_IFS
4790 test -z "$as_dir" && as_dir=.
4791 for ac_exec_ext in '' $ac_executable_extensions; do
4792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4793 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4795 break 2
4797 done
4798 done
4799 IFS=$as_save_IFS
4803 CPPBIN=$ac_cv_prog_CPPBIN
4804 if test -n "$CPPBIN"; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4806 $as_echo "$CPPBIN" >&6; }
4807 else
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 $as_echo "no" >&6; }
4814 if test -z "$ac_cv_prog_CPPBIN"; then
4815 ac_ct_CPPBIN=$CPPBIN
4816 # Extract the first word of "cpp", so it can be a program name with args.
4817 set dummy cpp; ac_word=$2
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 $as_echo_n "checking for $ac_word... " >&6; }
4820 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4821 $as_echo_n "(cached) " >&6
4822 else
4823 if test -n "$ac_ct_CPPBIN"; then
4824 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4825 else
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH
4829 IFS=$as_save_IFS
4830 test -z "$as_dir" && as_dir=.
4831 for ac_exec_ext in '' $ac_executable_extensions; do
4832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4833 ac_cv_prog_ac_ct_CPPBIN="cpp"
4834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 break 2
4837 done
4838 done
4839 IFS=$as_save_IFS
4843 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4844 if test -n "$ac_ct_CPPBIN"; then
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4846 $as_echo "$ac_ct_CPPBIN" >&6; }
4847 else
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4849 $as_echo "no" >&6; }
4852 if test "x$ac_ct_CPPBIN" = x; then
4853 CPPBIN="cpp"
4854 else
4855 case $cross_compiling:$ac_tool_warned in
4856 yes:)
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4859 ac_tool_warned=yes ;;
4860 esac
4861 CPPBIN=$ac_ct_CPPBIN
4863 else
4864 CPPBIN="$ac_cv_prog_CPPBIN"
4868 cat >>confdefs.h <<_ACEOF
4869 #define EXEEXT "$ac_exeext"
4870 _ACEOF
4872 if test -n "$ac_tool_prefix"; then
4873 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4874 set dummy ${ac_tool_prefix}ld; ac_word=$2
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4876 $as_echo_n "checking for $ac_word... " >&6; }
4877 if ${ac_cv_prog_LD+:} false; then :
4878 $as_echo_n "(cached) " >&6
4879 else
4880 if test -n "$LD"; then
4881 ac_cv_prog_LD="$LD" # Let the user override the test.
4882 else
4883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4884 for as_dir in $PATH
4886 IFS=$as_save_IFS
4887 test -z "$as_dir" && as_dir=.
4888 for ac_exec_ext in '' $ac_executable_extensions; do
4889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4890 ac_cv_prog_LD="${ac_tool_prefix}ld"
4891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4892 break 2
4894 done
4895 done
4896 IFS=$as_save_IFS
4900 LD=$ac_cv_prog_LD
4901 if test -n "$LD"; then
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4903 $as_echo "$LD" >&6; }
4904 else
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4906 $as_echo "no" >&6; }
4911 if test -z "$ac_cv_prog_LD"; then
4912 ac_ct_LD=$LD
4913 # Extract the first word of "ld", so it can be a program name with args.
4914 set dummy ld; ac_word=$2
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4916 $as_echo_n "checking for $ac_word... " >&6; }
4917 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4918 $as_echo_n "(cached) " >&6
4919 else
4920 if test -n "$ac_ct_LD"; then
4921 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4922 else
4923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4924 for as_dir in $PATH
4926 IFS=$as_save_IFS
4927 test -z "$as_dir" && as_dir=.
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4930 ac_cv_prog_ac_ct_LD="ld"
4931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 break 2
4934 done
4935 done
4936 IFS=$as_save_IFS
4940 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4941 if test -n "$ac_ct_LD"; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4943 $as_echo "$ac_ct_LD" >&6; }
4944 else
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4949 if test "x$ac_ct_LD" = x; then
4950 LD=""
4951 else
4952 case $cross_compiling:$ac_tool_warned in
4953 yes:)
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4956 ac_tool_warned=yes ;;
4957 esac
4958 LD=$ac_ct_LD
4960 else
4961 LD="$ac_cv_prog_LD"
4965 case $host in
4966 *-darwin*)
4967 if test "x$enable_win64" = "xyes"
4968 then
4969 CC="$CC -m64"
4970 CXX="$CXX -m64"
4971 host_cpu="x86_64"
4972 notice_platform="64-bit "
4973 TARGETFLAGS="-m64"
4975 else
4976 CC="$CC -m32"
4977 CXX="$CXX -m32"
4978 host_cpu="i386"
4979 notice_platform="32-bit "
4980 TARGETFLAGS="-m32"
4982 enable_win16=${enable_win16:-yes}
4984 with_fontconfig=${with_fontconfig:-no}
4986 x86_64*|amd64*)
4987 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4988 then
4989 CC="$CC -m32"
4990 CXX="$CXX -m32"
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4992 $as_echo_n "checking whether $CC works... " >&6; }
4994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
4998 main ()
5002 return 0;
5004 _ACEOF
5005 if ac_fn_c_try_link "$LINENO"; then :
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5007 $as_echo "yes" >&6; }
5008 else
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5011 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5013 rm -f core conftest.err conftest.$ac_objext \
5014 conftest$ac_exeext conftest.$ac_ext
5015 host_cpu="i386"
5016 notice_platform="32-bit "
5017 TARGETFLAGS="-m32"
5019 enable_win16=${enable_win16:-yes}
5020 else
5021 if test "x${GCC}" = "xyes"
5022 then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5024 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5026 /* end confdefs.h. */
5027 #include <stdarg.h>
5029 main ()
5031 void func(__builtin_ms_va_list *args);
5033 return 0;
5035 _ACEOF
5036 if ac_fn_c_try_compile "$LINENO"; then :
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5038 $as_echo "yes" >&6; }
5039 else
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5042 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 host_cpu="x86_64"
5047 TARGETFLAGS="-m64"
5051 arm*)
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5053 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5055 /* end confdefs.h. */
5056 int ac_test(int i) { return i; }
5058 main ()
5060 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5062 return 0;
5064 _ACEOF
5065 if ac_fn_c_try_link "$LINENO"; then :
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5067 $as_echo "yes" >&6; }
5068 else
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5071 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5073 rm -f core conftest.err conftest.$ac_objext \
5074 conftest$ac_exeext conftest.$ac_ext
5075 CFLAGS="$CFLAGS -marm"
5076 TARGETFLAGS="-marm"
5079 *-mingw32*|*-cygwin*)
5080 enable_win16=${enable_win16:-no}
5081 CFLAGS="$CFLAGS -D_WIN32"
5083 i[3456789]86*)
5084 enable_win16=${enable_win16:-yes}
5086 esac
5088 enable_win16=${enable_win16:-no}
5089 enable_win64=${enable_win64:-no}
5091 enable_winetest=${enable_winetest:-$enable_tests}
5093 if test -n "$with_wine64"
5094 then
5095 if test "x$enable_win64" = "xyes"
5096 then
5097 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5098 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5100 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5101 You should create a separate build directory and run configure from there." "$LINENO" 5
5102 enable_fonts=${enable_fonts:-no}
5103 enable_server=${enable_server:-no}
5104 elif test "x$enable_win64" = "xyes"
5105 then
5106 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5110 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5111 if ${wine_cv_toolsdir+:} false; then :
5112 $as_echo_n "(cached) " >&6
5113 else
5114 wine_cv_toolsdir="$with_wine_tools"
5115 if test -z "$with_wine_tools"; then
5116 if test "$cross_compiling" = "yes"; then
5117 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5118 elif test -n "$with_wine64"; then
5119 wine_cv_toolsdir="$with_wine64"
5122 if test -z "$wine_cv_toolsdir"; then
5123 wine_makedep=tools/makedep
5124 wine_cv_toolsdir="\$(top_builddir)"
5125 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5126 wine_makedep=$wine_cv_toolsdir/tools/makedep
5127 case "$wine_cv_toolsdir" in
5128 /*) ;;
5129 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5130 esac
5131 enable_tools=${enable_tools:-no}
5132 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5133 else
5134 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5138 $as_echo "$wine_cv_toolsdir" >&6; }
5139 TOOLSDIR=$wine_cv_toolsdir
5141 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5142 then
5143 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5147 for ac_prog in flex
5149 # Extract the first word of "$ac_prog", so it can be a program name with args.
5150 set dummy $ac_prog; ac_word=$2
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5152 $as_echo_n "checking for $ac_word... " >&6; }
5153 if ${ac_cv_prog_FLEX+:} false; then :
5154 $as_echo_n "(cached) " >&6
5155 else
5156 if test -n "$FLEX"; then
5157 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5158 else
5159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5160 for as_dir in $PATH
5162 IFS=$as_save_IFS
5163 test -z "$as_dir" && as_dir=.
5164 for ac_exec_ext in '' $ac_executable_extensions; do
5165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5166 ac_cv_prog_FLEX="$ac_prog"
5167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5168 break 2
5170 done
5171 done
5172 IFS=$as_save_IFS
5176 FLEX=$ac_cv_prog_FLEX
5177 if test -n "$FLEX"; then
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5179 $as_echo "$FLEX" >&6; }
5180 else
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 $as_echo "no" >&6; }
5186 test -n "$FLEX" && break
5187 done
5188 test -n "$FLEX" || FLEX="none"
5190 if test "$FLEX" = "none"
5191 then
5192 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5195 $as_echo_n "checking whether flex is recent enough... " >&6; }
5196 cat >conftest.l <<EOF
5197 %top{
5198 #include "prediluvian.h"
5202 if $FLEX -t conftest.l >/dev/null 2>&5
5203 then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5205 $as_echo "yes" >&6; }
5206 else
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5209 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5212 for ac_prog in bison
5214 # Extract the first word of "$ac_prog", so it can be a program name with args.
5215 set dummy $ac_prog; ac_word=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if ${ac_cv_prog_BISON+:} false; then :
5219 $as_echo_n "(cached) " >&6
5220 else
5221 if test -n "$BISON"; then
5222 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5223 else
5224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225 for as_dir in $PATH
5227 IFS=$as_save_IFS
5228 test -z "$as_dir" && as_dir=.
5229 for ac_exec_ext in '' $ac_executable_extensions; do
5230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5231 ac_cv_prog_BISON="$ac_prog"
5232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 break 2
5235 done
5236 done
5237 IFS=$as_save_IFS
5241 BISON=$ac_cv_prog_BISON
5242 if test -n "$BISON"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5244 $as_echo "$BISON" >&6; }
5245 else
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247 $as_echo "no" >&6; }
5251 test -n "$BISON" && break
5252 done
5253 test -n "$BISON" || BISON="none"
5255 if test "$BISON" = "none"
5256 then
5257 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5260 if test -n "$ac_tool_prefix"; then
5261 for ac_prog in ar gar
5263 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5264 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_AR+:} false; then :
5268 $as_echo_n "(cached) " >&6
5269 else
5270 if test -n "$AR"; then
5271 ac_cv_prog_AR="$AR" # Let the user override the test.
5272 else
5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 for as_dir in $PATH
5276 IFS=$as_save_IFS
5277 test -z "$as_dir" && as_dir=.
5278 for ac_exec_ext in '' $ac_executable_extensions; do
5279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 break 2
5284 done
5285 done
5286 IFS=$as_save_IFS
5290 AR=$ac_cv_prog_AR
5291 if test -n "$AR"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5293 $as_echo "$AR" >&6; }
5294 else
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5300 test -n "$AR" && break
5301 done
5303 if test -z "$AR"; then
5304 ac_ct_AR=$AR
5305 for ac_prog in ar gar
5307 # Extract the first word of "$ac_prog", so it can be a program name with args.
5308 set dummy $ac_prog; ac_word=$2
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5310 $as_echo_n "checking for $ac_word... " >&6; }
5311 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5312 $as_echo_n "(cached) " >&6
5313 else
5314 if test -n "$ac_ct_AR"; then
5315 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5316 else
5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5318 for as_dir in $PATH
5320 IFS=$as_save_IFS
5321 test -z "$as_dir" && as_dir=.
5322 for ac_exec_ext in '' $ac_executable_extensions; do
5323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5324 ac_cv_prog_ac_ct_AR="$ac_prog"
5325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 break 2
5328 done
5329 done
5330 IFS=$as_save_IFS
5334 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5335 if test -n "$ac_ct_AR"; then
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5337 $as_echo "$ac_ct_AR" >&6; }
5338 else
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5340 $as_echo "no" >&6; }
5344 test -n "$ac_ct_AR" && break
5345 done
5347 if test "x$ac_ct_AR" = x; then
5348 AR="ar"
5349 else
5350 case $cross_compiling:$ac_tool_warned in
5351 yes:)
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5354 ac_tool_warned=yes ;;
5355 esac
5356 AR=$ac_ct_AR
5360 if test -n "$ac_tool_prefix"; then
5361 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5362 set dummy ${ac_tool_prefix}strip; ac_word=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_STRIP+:} false; then :
5366 $as_echo_n "(cached) " >&6
5367 else
5368 if test -n "$STRIP"; then
5369 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5370 else
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5372 for as_dir in $PATH
5374 IFS=$as_save_IFS
5375 test -z "$as_dir" && as_dir=.
5376 for ac_exec_ext in '' $ac_executable_extensions; do
5377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5378 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5380 break 2
5382 done
5383 done
5384 IFS=$as_save_IFS
5388 STRIP=$ac_cv_prog_STRIP
5389 if test -n "$STRIP"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5391 $as_echo "$STRIP" >&6; }
5392 else
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5399 if test -z "$ac_cv_prog_STRIP"; then
5400 ac_ct_STRIP=$STRIP
5401 # Extract the first word of "strip", so it can be a program name with args.
5402 set dummy strip; ac_word=$2
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5404 $as_echo_n "checking for $ac_word... " >&6; }
5405 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5406 $as_echo_n "(cached) " >&6
5407 else
5408 if test -n "$ac_ct_STRIP"; then
5409 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5410 else
5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5412 for as_dir in $PATH
5414 IFS=$as_save_IFS
5415 test -z "$as_dir" && as_dir=.
5416 for ac_exec_ext in '' $ac_executable_extensions; do
5417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5418 ac_cv_prog_ac_ct_STRIP="strip"
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 break 2
5422 done
5423 done
5424 IFS=$as_save_IFS
5428 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5429 if test -n "$ac_ct_STRIP"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5431 $as_echo "$ac_ct_STRIP" >&6; }
5432 else
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5434 $as_echo "no" >&6; }
5437 if test "x$ac_ct_STRIP" = x; then
5438 STRIP="strip"
5439 else
5440 case $cross_compiling:$ac_tool_warned in
5441 yes:)
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5444 ac_tool_warned=yes ;;
5445 esac
5446 STRIP=$ac_ct_STRIP
5448 else
5449 STRIP="$ac_cv_prog_STRIP"
5452 ARFLAGS=rc
5454 if test -n "$ac_tool_prefix"; then
5455 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5456 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_prog_RANLIB+:} false; then :
5460 $as_echo_n "(cached) " >&6
5461 else
5462 if test -n "$RANLIB"; then
5463 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5464 else
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 break 2
5476 done
5477 done
5478 IFS=$as_save_IFS
5482 RANLIB=$ac_cv_prog_RANLIB
5483 if test -n "$RANLIB"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5485 $as_echo "$RANLIB" >&6; }
5486 else
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5493 if test -z "$ac_cv_prog_RANLIB"; then
5494 ac_ct_RANLIB=$RANLIB
5495 # Extract the first word of "ranlib", so it can be a program name with args.
5496 set dummy ranlib; ac_word=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5500 $as_echo_n "(cached) " >&6
5501 else
5502 if test -n "$ac_ct_RANLIB"; then
5503 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5504 else
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH
5508 IFS=$as_save_IFS
5509 test -z "$as_dir" && as_dir=.
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_ac_ct_RANLIB="ranlib"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 break 2
5516 done
5517 done
5518 IFS=$as_save_IFS
5522 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5523 if test -n "$ac_ct_RANLIB"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5525 $as_echo "$ac_ct_RANLIB" >&6; }
5526 else
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5531 if test "x$ac_ct_RANLIB" = x; then
5532 RANLIB=":"
5533 else
5534 case $cross_compiling:$ac_tool_warned in
5535 yes:)
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5538 ac_tool_warned=yes ;;
5539 esac
5540 RANLIB=$ac_ct_RANLIB
5542 else
5543 RANLIB="$ac_cv_prog_RANLIB"
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5547 $as_echo_n "checking whether ln -s works... " >&6; }
5548 LN_S=$as_ln_s
5549 if test "$LN_S" = "ln -s"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5551 $as_echo "yes" >&6; }
5552 else
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5554 $as_echo "no, using $LN_S" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5558 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5559 if ${ac_cv_path_GREP+:} false; then :
5560 $as_echo_n "(cached) " >&6
5561 else
5562 if test -z "$GREP"; then
5563 ac_path_GREP_found=false
5564 # Loop through the user's path and test for each of PROGNAME-LIST
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5568 IFS=$as_save_IFS
5569 test -z "$as_dir" && as_dir=.
5570 for ac_prog in grep ggrep; do
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5573 as_fn_executable_p "$ac_path_GREP" || continue
5574 # Check for GNU ac_path_GREP and select it if it is found.
5575 # Check for GNU $ac_path_GREP
5576 case `"$ac_path_GREP" --version 2>&1` in
5577 *GNU*)
5578 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5580 ac_count=0
5581 $as_echo_n 0123456789 >"conftest.in"
5582 while :
5584 cat "conftest.in" "conftest.in" >"conftest.tmp"
5585 mv "conftest.tmp" "conftest.in"
5586 cp "conftest.in" "conftest.nl"
5587 $as_echo 'GREP' >> "conftest.nl"
5588 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5589 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5590 as_fn_arith $ac_count + 1 && ac_count=$as_val
5591 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5592 # Best one so far, save it but keep looking for a better one
5593 ac_cv_path_GREP="$ac_path_GREP"
5594 ac_path_GREP_max=$ac_count
5596 # 10*(2^10) chars as input seems more than enough
5597 test $ac_count -gt 10 && break
5598 done
5599 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5600 esac
5602 $ac_path_GREP_found && break 3
5603 done
5604 done
5605 done
5606 IFS=$as_save_IFS
5607 if test -z "$ac_cv_path_GREP"; then
5608 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5610 else
5611 ac_cv_path_GREP=$GREP
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5616 $as_echo "$ac_cv_path_GREP" >&6; }
5617 GREP="$ac_cv_path_GREP"
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5621 $as_echo_n "checking for egrep... " >&6; }
5622 if ${ac_cv_path_EGREP+:} false; then :
5623 $as_echo_n "(cached) " >&6
5624 else
5625 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5626 then ac_cv_path_EGREP="$GREP -E"
5627 else
5628 if test -z "$EGREP"; then
5629 ac_path_EGREP_found=false
5630 # Loop through the user's path and test for each of PROGNAME-LIST
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5634 IFS=$as_save_IFS
5635 test -z "$as_dir" && as_dir=.
5636 for ac_prog in egrep; do
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5639 as_fn_executable_p "$ac_path_EGREP" || continue
5640 # Check for GNU ac_path_EGREP and select it if it is found.
5641 # Check for GNU $ac_path_EGREP
5642 case `"$ac_path_EGREP" --version 2>&1` in
5643 *GNU*)
5644 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5646 ac_count=0
5647 $as_echo_n 0123456789 >"conftest.in"
5648 while :
5650 cat "conftest.in" "conftest.in" >"conftest.tmp"
5651 mv "conftest.tmp" "conftest.in"
5652 cp "conftest.in" "conftest.nl"
5653 $as_echo 'EGREP' >> "conftest.nl"
5654 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5655 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5656 as_fn_arith $ac_count + 1 && ac_count=$as_val
5657 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5658 # Best one so far, save it but keep looking for a better one
5659 ac_cv_path_EGREP="$ac_path_EGREP"
5660 ac_path_EGREP_max=$ac_count
5662 # 10*(2^10) chars as input seems more than enough
5663 test $ac_count -gt 10 && break
5664 done
5665 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5666 esac
5668 $ac_path_EGREP_found && break 3
5669 done
5670 done
5671 done
5672 IFS=$as_save_IFS
5673 if test -z "$ac_cv_path_EGREP"; then
5674 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5676 else
5677 ac_cv_path_EGREP=$EGREP
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5683 $as_echo "$ac_cv_path_EGREP" >&6; }
5684 EGREP="$ac_cv_path_EGREP"
5687 # Extract the first word of "ldconfig", so it can be a program name with args.
5688 set dummy ldconfig; ac_word=$2
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690 $as_echo_n "checking for $ac_word... " >&6; }
5691 if ${ac_cv_path_LDCONFIG+:} false; then :
5692 $as_echo_n "(cached) " >&6
5693 else
5694 case $LDCONFIG in
5695 [\\/]* | ?:[\\/]*)
5696 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 for as_dir in /sbin /usr/sbin $PATH
5702 IFS=$as_save_IFS
5703 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5706 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 break 2
5710 done
5711 done
5712 IFS=$as_save_IFS
5714 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5716 esac
5718 LDCONFIG=$ac_cv_path_LDCONFIG
5719 if test -n "$LDCONFIG"; then
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5721 $as_echo "$LDCONFIG" >&6; }
5722 else
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5724 $as_echo "no" >&6; }
5728 for ac_prog in msgfmt
5730 # Extract the first word of "$ac_prog", so it can be a program name with args.
5731 set dummy $ac_prog; ac_word=$2
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5733 $as_echo_n "checking for $ac_word... " >&6; }
5734 if ${ac_cv_prog_MSGFMT+:} false; then :
5735 $as_echo_n "(cached) " >&6
5736 else
5737 if test -n "$MSGFMT"; then
5738 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5739 else
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5747 ac_cv_prog_MSGFMT="$ac_prog"
5748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 break 2
5751 done
5752 done
5753 IFS=$as_save_IFS
5757 MSGFMT=$ac_cv_prog_MSGFMT
5758 if test -n "$MSGFMT"; then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5760 $as_echo "$MSGFMT" >&6; }
5761 else
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763 $as_echo "no" >&6; }
5767 test -n "$MSGFMT" && break
5768 done
5769 test -n "$MSGFMT" || MSGFMT="false"
5771 if ${ac_tool_prefix+:} false; then :
5772 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5773 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5775 $as_echo_n "checking for $ac_word... " >&6; }
5776 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5777 $as_echo_n "(cached) " >&6
5778 else
5779 if test -n "$PKG_CONFIG"; then
5780 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5781 else
5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 for as_dir in $PATH
5785 IFS=$as_save_IFS
5786 test -z "$as_dir" && as_dir=.
5787 for ac_exec_ext in '' $ac_executable_extensions; do
5788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5789 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5791 break 2
5793 done
5794 done
5795 IFS=$as_save_IFS
5799 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5800 if test -n "$PKG_CONFIG"; then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5802 $as_echo "$PKG_CONFIG" >&6; }
5803 else
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5805 $as_echo "no" >&6; }
5810 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5811 if test "x$cross_compiling" = xyes; then :
5813 else
5814 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5815 # Extract the first word of "pkg-config", so it can be a program name with args.
5816 set dummy pkg-config; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5820 $as_echo_n "(cached) " >&6
5821 else
5822 if test -n "$PKG_CONFIG"; then
5823 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5824 else
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 for as_dir in $PATH
5828 IFS=$as_save_IFS
5829 test -z "$as_dir" && as_dir=.
5830 for ac_exec_ext in '' $ac_executable_extensions; do
5831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5832 ac_cv_prog_PKG_CONFIG="pkg-config"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 break 2
5836 done
5837 done
5838 IFS=$as_save_IFS
5842 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5843 if test -n "$PKG_CONFIG"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5845 $as_echo "$PKG_CONFIG" >&6; }
5846 else
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5853 else
5854 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5857 if test "x$enable_maintainer_mode" != "xyes"
5858 then
5859 FONTFORGE=""
5860 RSVG=""
5861 CONVERT=""
5862 ICOTOOL=""
5863 else
5864 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5865 for ac_prog in fontforge
5867 # Extract the first word of "$ac_prog", so it can be a program name with args.
5868 set dummy $ac_prog; ac_word=$2
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5870 $as_echo_n "checking for $ac_word... " >&6; }
5871 if ${ac_cv_prog_FONTFORGE+:} false; then :
5872 $as_echo_n "(cached) " >&6
5873 else
5874 if test -n "$FONTFORGE"; then
5875 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5876 else
5877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 for as_dir in $PATH
5880 IFS=$as_save_IFS
5881 test -z "$as_dir" && as_dir=.
5882 for ac_exec_ext in '' $ac_executable_extensions; do
5883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5884 ac_cv_prog_FONTFORGE="$ac_prog"
5885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 break 2
5888 done
5889 done
5890 IFS=$as_save_IFS
5894 FONTFORGE=$ac_cv_prog_FONTFORGE
5895 if test -n "$FONTFORGE"; then
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5897 $as_echo "$FONTFORGE" >&6; }
5898 else
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900 $as_echo "no" >&6; }
5904 test -n "$FONTFORGE" && break
5905 done
5906 test -n "$FONTFORGE" || FONTFORGE="false"
5908 for ac_prog in rsvg-convert rsvg
5910 # Extract the first word of "$ac_prog", so it can be a program name with args.
5911 set dummy $ac_prog; ac_word=$2
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5913 $as_echo_n "checking for $ac_word... " >&6; }
5914 if ${ac_cv_prog_RSVG+:} false; then :
5915 $as_echo_n "(cached) " >&6
5916 else
5917 if test -n "$RSVG"; then
5918 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5919 else
5920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921 for as_dir in $PATH
5923 IFS=$as_save_IFS
5924 test -z "$as_dir" && as_dir=.
5925 for ac_exec_ext in '' $ac_executable_extensions; do
5926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5927 ac_cv_prog_RSVG="$ac_prog"
5928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5929 break 2
5931 done
5932 done
5933 IFS=$as_save_IFS
5937 RSVG=$ac_cv_prog_RSVG
5938 if test -n "$RSVG"; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5940 $as_echo "$RSVG" >&6; }
5941 else
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5943 $as_echo "no" >&6; }
5947 test -n "$RSVG" && break
5948 done
5949 test -n "$RSVG" || RSVG="false"
5951 for ac_prog in convert
5953 # Extract the first word of "$ac_prog", so it can be a program name with args.
5954 set dummy $ac_prog; ac_word=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 $as_echo_n "checking for $ac_word... " >&6; }
5957 if ${ac_cv_prog_CONVERT+:} false; then :
5958 $as_echo_n "(cached) " >&6
5959 else
5960 if test -n "$CONVERT"; then
5961 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5962 else
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 for as_dir in $PATH
5966 IFS=$as_save_IFS
5967 test -z "$as_dir" && as_dir=.
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970 ac_cv_prog_CONVERT="$ac_prog"
5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972 break 2
5974 done
5975 done
5976 IFS=$as_save_IFS
5980 CONVERT=$ac_cv_prog_CONVERT
5981 if test -n "$CONVERT"; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5983 $as_echo "$CONVERT" >&6; }
5984 else
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5990 test -n "$CONVERT" && break
5991 done
5992 test -n "$CONVERT" || CONVERT="false"
5994 for ac_prog in icotool
5996 # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy $ac_prog; ac_word=$2
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5999 $as_echo_n "checking for $ac_word... " >&6; }
6000 if ${ac_cv_prog_ICOTOOL+:} false; then :
6001 $as_echo_n "(cached) " >&6
6002 else
6003 if test -n "$ICOTOOL"; then
6004 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6005 else
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 for as_dir in $PATH
6009 IFS=$as_save_IFS
6010 test -z "$as_dir" && as_dir=.
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6013 ac_cv_prog_ICOTOOL="$ac_prog"
6014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 break 2
6017 done
6018 done
6019 IFS=$as_save_IFS
6023 ICOTOOL=$ac_cv_prog_ICOTOOL
6024 if test -n "$ICOTOOL"; then
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6026 $as_echo "$ICOTOOL" >&6; }
6027 else
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6029 $as_echo "no" >&6; }
6033 test -n "$ICOTOOL" && break
6034 done
6035 test -n "$ICOTOOL" || ICOTOOL="false"
6037 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6038 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6040 if test "$CONVERT" = false
6041 then
6042 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6043 else
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6045 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6046 convert_version=`convert --version | head -n1`
6047 if test "x$convert_version" != "x"
6048 then
6049 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6050 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6051 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6052 then
6053 CONVERT=false
6056 if test "$CONVERT" = false
6057 then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6059 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6060 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6061 else
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6063 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6067 if test "$ICOTOOL" = false
6068 then
6069 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6070 else
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6072 $as_echo_n "checking for recent enough icotool... " >&6; }
6073 icotool_version=`icotool --version | head -n1`
6074 if test "x$icotool_version" != "x"
6075 then
6076 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6077 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6078 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6079 then
6080 ICOTOOL=false
6081 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6084 if test "$ICOTOOL" = false
6085 then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6087 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6088 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6091 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6095 with_gettext=yes
6096 with_gettextpo=yes
6097 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6100 test "x$with_gettext" != xno || MSGFMT=false
6101 if test "$MSGFMT" != "false"
6102 then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6104 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6105 cat >conftest.po <<EOF
6106 # comment
6107 msgctxt "ctxt"
6108 msgid "id"
6109 msgstr "str"
6111 if $MSGFMT -o /dev/null conftest.po 2>&5
6112 then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6114 $as_echo "yes" >&6; }
6115 else
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6117 $as_echo "no" >&6; }
6118 MSGFMT=false
6121 if test "$MSGFMT" = false; then :
6122 case "x$with_gettext" in
6123 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6124 xno) ;;
6125 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6126 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6127 esac
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6132 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6133 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6134 $as_echo_n "(cached) " >&6
6135 else
6136 ac_check_lib_save_LIBS=$LIBS
6137 LIBS="-li386 $LIBS"
6138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6139 /* end confdefs.h. */
6141 /* Override any GCC internal prototype to avoid an error.
6142 Use char because int might match the return type of a GCC
6143 builtin and then its argument prototype would still apply. */
6144 #ifdef __cplusplus
6145 extern "C"
6146 #endif
6147 char i386_set_ldt ();
6149 main ()
6151 return i386_set_ldt ();
6153 return 0;
6155 _ACEOF
6156 if ac_fn_c_try_link "$LINENO"; then :
6157 ac_cv_lib_i386_i386_set_ldt=yes
6158 else
6159 ac_cv_lib_i386_i386_set_ldt=no
6161 rm -f core conftest.err conftest.$ac_objext \
6162 conftest$ac_exeext conftest.$ac_ext
6163 LIBS=$ac_check_lib_save_LIBS
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6166 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6167 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6168 cat >>confdefs.h <<_ACEOF
6169 #define HAVE_LIBI386 1
6170 _ACEOF
6172 LIBS="-li386 $LIBS"
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6177 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6178 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6179 $as_echo_n "(cached) " >&6
6180 else
6181 ac_check_lib_save_LIBS=$LIBS
6182 LIBS="-lossaudio $LIBS"
6183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6186 /* Override any GCC internal prototype to avoid an error.
6187 Use char because int might match the return type of a GCC
6188 builtin and then its argument prototype would still apply. */
6189 #ifdef __cplusplus
6190 extern "C"
6191 #endif
6192 char _oss_ioctl ();
6194 main ()
6196 return _oss_ioctl ();
6198 return 0;
6200 _ACEOF
6201 if ac_fn_c_try_link "$LINENO"; then :
6202 ac_cv_lib_ossaudio__oss_ioctl=yes
6203 else
6204 ac_cv_lib_ossaudio__oss_ioctl=no
6206 rm -f core conftest.err conftest.$ac_objext \
6207 conftest$ac_exeext conftest.$ac_ext
6208 LIBS=$ac_check_lib_save_LIBS
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6211 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6212 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6213 cat >>confdefs.h <<_ACEOF
6214 #define HAVE_LIBOSSAUDIO 1
6215 _ACEOF
6217 LIBS="-lossaudio $LIBS"
6222 OPENGL_LIBS=""
6226 # Check whether --enable-largefile was given.
6227 if test "${enable_largefile+set}" = set; then :
6228 enableval=$enable_largefile;
6231 if test "$enable_largefile" != no; then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6234 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6235 if ${ac_cv_sys_largefile_CC+:} false; then :
6236 $as_echo_n "(cached) " >&6
6237 else
6238 ac_cv_sys_largefile_CC=no
6239 if test "$GCC" != yes; then
6240 ac_save_CC=$CC
6241 while :; do
6242 # IRIX 6.2 and later do not support large files by default,
6243 # so use the C compiler's -n32 option if that helps.
6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6246 #include <sys/types.h>
6247 /* Check that off_t can represent 2**63 - 1 correctly.
6248 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6249 since some C++ compilers masquerading as C compilers
6250 incorrectly reject 9223372036854775807. */
6251 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6252 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6253 && LARGE_OFF_T % 2147483647 == 1)
6254 ? 1 : -1];
6256 main ()
6260 return 0;
6262 _ACEOF
6263 if ac_fn_c_try_compile "$LINENO"; then :
6264 break
6266 rm -f core conftest.err conftest.$ac_objext
6267 CC="$CC -n32"
6268 if ac_fn_c_try_compile "$LINENO"; then :
6269 ac_cv_sys_largefile_CC=' -n32'; break
6271 rm -f core conftest.err conftest.$ac_objext
6272 break
6273 done
6274 CC=$ac_save_CC
6275 rm -f conftest.$ac_ext
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6279 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6280 if test "$ac_cv_sys_largefile_CC" != no; then
6281 CC=$CC$ac_cv_sys_largefile_CC
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6285 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6286 if ${ac_cv_sys_file_offset_bits+:} false; then :
6287 $as_echo_n "(cached) " >&6
6288 else
6289 while :; do
6290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6291 /* end confdefs.h. */
6292 #include <sys/types.h>
6293 /* Check that off_t can represent 2**63 - 1 correctly.
6294 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6295 since some C++ compilers masquerading as C compilers
6296 incorrectly reject 9223372036854775807. */
6297 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6298 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6299 && LARGE_OFF_T % 2147483647 == 1)
6300 ? 1 : -1];
6302 main ()
6306 return 0;
6308 _ACEOF
6309 if ac_fn_c_try_compile "$LINENO"; then :
6310 ac_cv_sys_file_offset_bits=no; break
6312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6315 #define _FILE_OFFSET_BITS 64
6316 #include <sys/types.h>
6317 /* Check that off_t can represent 2**63 - 1 correctly.
6318 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6319 since some C++ compilers masquerading as C compilers
6320 incorrectly reject 9223372036854775807. */
6321 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6322 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6323 && LARGE_OFF_T % 2147483647 == 1)
6324 ? 1 : -1];
6326 main ()
6330 return 0;
6332 _ACEOF
6333 if ac_fn_c_try_compile "$LINENO"; then :
6334 ac_cv_sys_file_offset_bits=64; break
6336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6337 ac_cv_sys_file_offset_bits=unknown
6338 break
6339 done
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6342 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6343 case $ac_cv_sys_file_offset_bits in #(
6344 no | unknown) ;;
6346 cat >>confdefs.h <<_ACEOF
6347 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6348 _ACEOF
6350 esac
6351 rm -rf conftest*
6352 if test $ac_cv_sys_file_offset_bits = unknown; then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6354 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6355 if ${ac_cv_sys_large_files+:} false; then :
6356 $as_echo_n "(cached) " >&6
6357 else
6358 while :; do
6359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6361 #include <sys/types.h>
6362 /* Check that off_t can represent 2**63 - 1 correctly.
6363 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6364 since some C++ compilers masquerading as C compilers
6365 incorrectly reject 9223372036854775807. */
6366 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6367 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6368 && LARGE_OFF_T % 2147483647 == 1)
6369 ? 1 : -1];
6371 main ()
6375 return 0;
6377 _ACEOF
6378 if ac_fn_c_try_compile "$LINENO"; then :
6379 ac_cv_sys_large_files=no; break
6381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6383 /* end confdefs.h. */
6384 #define _LARGE_FILES 1
6385 #include <sys/types.h>
6386 /* Check that off_t can represent 2**63 - 1 correctly.
6387 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6388 since some C++ compilers masquerading as C compilers
6389 incorrectly reject 9223372036854775807. */
6390 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6391 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6392 && LARGE_OFF_T % 2147483647 == 1)
6393 ? 1 : -1];
6395 main ()
6399 return 0;
6401 _ACEOF
6402 if ac_fn_c_try_compile "$LINENO"; then :
6403 ac_cv_sys_large_files=1; break
6405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6406 ac_cv_sys_large_files=unknown
6407 break
6408 done
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6411 $as_echo "$ac_cv_sys_large_files" >&6; }
6412 case $ac_cv_sys_large_files in #(
6413 no | unknown) ;;
6415 cat >>confdefs.h <<_ACEOF
6416 #define _LARGE_FILES $ac_cv_sys_large_files
6417 _ACEOF
6419 esac
6420 rm -rf conftest*
6427 ac_ext=c
6428 ac_cpp='$CPP $CPPFLAGS'
6429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6433 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6434 # On Suns, sometimes $CPP names a directory.
6435 if test -n "$CPP" && test -d "$CPP"; then
6436 CPP=
6438 if test -z "$CPP"; then
6439 if ${ac_cv_prog_CPP+:} false; then :
6440 $as_echo_n "(cached) " >&6
6441 else
6442 # Double quotes because CPP needs to be expanded
6443 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6445 ac_preproc_ok=false
6446 for ac_c_preproc_warn_flag in '' yes
6448 # Use a header file that comes with gcc, so configuring glibc
6449 # with a fresh cross-compiler works.
6450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6451 # <limits.h> exists even on freestanding compilers.
6452 # On the NeXT, cc -E runs the code through the compiler's parser,
6453 # not just through cpp. "Syntax error" is here to catch this case.
6454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6456 #ifdef __STDC__
6457 # include <limits.h>
6458 #else
6459 # include <assert.h>
6460 #endif
6461 Syntax error
6462 _ACEOF
6463 if ac_fn_c_try_cpp "$LINENO"; then :
6465 else
6466 # Broken: fails on valid input.
6467 continue
6469 rm -f conftest.err conftest.i conftest.$ac_ext
6471 # OK, works on sane cases. Now check whether nonexistent headers
6472 # can be detected and how.
6473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6474 /* end confdefs.h. */
6475 #include <ac_nonexistent.h>
6476 _ACEOF
6477 if ac_fn_c_try_cpp "$LINENO"; then :
6478 # Broken: success on invalid input.
6479 continue
6480 else
6481 # Passes both tests.
6482 ac_preproc_ok=:
6483 break
6485 rm -f conftest.err conftest.i conftest.$ac_ext
6487 done
6488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6489 rm -f conftest.i conftest.err conftest.$ac_ext
6490 if $ac_preproc_ok; then :
6491 break
6494 done
6495 ac_cv_prog_CPP=$CPP
6498 CPP=$ac_cv_prog_CPP
6499 else
6500 ac_cv_prog_CPP=$CPP
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6503 $as_echo "$CPP" >&6; }
6504 ac_preproc_ok=false
6505 for ac_c_preproc_warn_flag in '' yes
6507 # Use a header file that comes with gcc, so configuring glibc
6508 # with a fresh cross-compiler works.
6509 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6510 # <limits.h> exists even on freestanding compilers.
6511 # On the NeXT, cc -E runs the code through the compiler's parser,
6512 # not just through cpp. "Syntax error" is here to catch this case.
6513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6514 /* end confdefs.h. */
6515 #ifdef __STDC__
6516 # include <limits.h>
6517 #else
6518 # include <assert.h>
6519 #endif
6520 Syntax error
6521 _ACEOF
6522 if ac_fn_c_try_cpp "$LINENO"; then :
6524 else
6525 # Broken: fails on valid input.
6526 continue
6528 rm -f conftest.err conftest.i conftest.$ac_ext
6530 # OK, works on sane cases. Now check whether nonexistent headers
6531 # can be detected and how.
6532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6533 /* end confdefs.h. */
6534 #include <ac_nonexistent.h>
6535 _ACEOF
6536 if ac_fn_c_try_cpp "$LINENO"; then :
6537 # Broken: success on invalid input.
6538 continue
6539 else
6540 # Passes both tests.
6541 ac_preproc_ok=:
6542 break
6544 rm -f conftest.err conftest.i conftest.$ac_ext
6546 done
6547 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6548 rm -f conftest.i conftest.err conftest.$ac_ext
6549 if $ac_preproc_ok; then :
6551 else
6552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6554 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6555 See \`config.log' for more details" "$LINENO" 5; }
6558 ac_ext=c
6559 ac_cpp='$CPP $CPPFLAGS'
6560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6566 $as_echo_n "checking for ANSI C header files... " >&6; }
6567 if ${ac_cv_header_stdc+:} false; then :
6568 $as_echo_n "(cached) " >&6
6569 else
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6572 #include <stdlib.h>
6573 #include <stdarg.h>
6574 #include <string.h>
6575 #include <float.h>
6578 main ()
6582 return 0;
6584 _ACEOF
6585 if ac_fn_c_try_compile "$LINENO"; then :
6586 ac_cv_header_stdc=yes
6587 else
6588 ac_cv_header_stdc=no
6590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6592 if test $ac_cv_header_stdc = yes; then
6593 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6595 /* end confdefs.h. */
6596 #include <string.h>
6598 _ACEOF
6599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6600 $EGREP "memchr" >/dev/null 2>&1; then :
6602 else
6603 ac_cv_header_stdc=no
6605 rm -f conftest*
6609 if test $ac_cv_header_stdc = yes; then
6610 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6612 /* end confdefs.h. */
6613 #include <stdlib.h>
6615 _ACEOF
6616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6617 $EGREP "free" >/dev/null 2>&1; then :
6619 else
6620 ac_cv_header_stdc=no
6622 rm -f conftest*
6626 if test $ac_cv_header_stdc = yes; then
6627 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6628 if test "$cross_compiling" = yes; then :
6630 else
6631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6632 /* end confdefs.h. */
6633 #include <ctype.h>
6634 #include <stdlib.h>
6635 #if ((' ' & 0x0FF) == 0x020)
6636 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6637 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6638 #else
6639 # define ISLOWER(c) \
6640 (('a' <= (c) && (c) <= 'i') \
6641 || ('j' <= (c) && (c) <= 'r') \
6642 || ('s' <= (c) && (c) <= 'z'))
6643 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6644 #endif
6646 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6648 main ()
6650 int i;
6651 for (i = 0; i < 256; i++)
6652 if (XOR (islower (i), ISLOWER (i))
6653 || toupper (i) != TOUPPER (i))
6654 return 2;
6655 return 0;
6657 _ACEOF
6658 if ac_fn_c_try_run "$LINENO"; then :
6660 else
6661 ac_cv_header_stdc=no
6663 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6664 conftest.$ac_objext conftest.beam conftest.$ac_ext
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6670 $as_echo "$ac_cv_header_stdc" >&6; }
6671 if test $ac_cv_header_stdc = yes; then
6673 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6677 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6678 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6679 inttypes.h stdint.h unistd.h
6680 do :
6681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6682 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6684 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6685 cat >>confdefs.h <<_ACEOF
6686 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6687 _ACEOF
6691 done
6694 for ac_header in \
6695 AL/al.h \
6696 ApplicationServices/ApplicationServices.h \
6697 AudioToolbox/AudioConverter.h \
6698 AudioUnit/AudioUnit.h \
6699 AudioUnit/AudioComponent.h \
6700 CL/cl.h \
6701 Carbon/Carbon.h \
6702 CommonCrypto/CommonDigest.h \
6703 CoreAudio/CoreAudio.h \
6704 CoreServices/CoreServices.h \
6705 DiskArbitration/DiskArbitration.h \
6706 IOKit/IOKitLib.h \
6707 IOKit/hid/IOHIDLib.h \
6708 OpenAL/al.h \
6709 OpenCL/opencl.h \
6710 QuickTime/ImageCompression.h \
6711 Security/Security.h \
6712 alias.h \
6713 alsa/asoundlib.h \
6714 arpa/inet.h \
6715 arpa/nameser.h \
6716 asm/types.h \
6717 asm/user.h \
6718 curses.h \
6719 direct.h \
6720 dirent.h \
6721 dlfcn.h \
6722 elf.h \
6723 float.h \
6724 fnmatch.h \
6725 getopt.h \
6726 gettext-po.h \
6727 grp.h \
6728 gsm.h \
6729 gsm/gsm.h \
6730 ieeefp.h \
6731 inet/mib2.h \
6732 io.h \
6733 kstat.h \
6734 lber.h \
6735 ldap.h \
6736 libproc.h \
6737 link.h \
6738 linux/cdrom.h \
6739 linux/compiler.h \
6740 linux/filter.h \
6741 linux/hdreg.h \
6742 linux/input.h \
6743 linux/ioctl.h \
6744 linux/joystick.h \
6745 linux/major.h \
6746 linux/param.h \
6747 linux/serial.h \
6748 linux/types.h \
6749 linux/ucdrom.h \
6750 lwp.h \
6751 mach-o/nlist.h \
6752 mach-o/loader.h \
6753 mach/mach.h \
6754 mach/machine.h \
6755 machine/cpu.h \
6756 machine/limits.h \
6757 machine/sysarch.h \
6758 mntent.h \
6759 ncurses.h \
6760 netdb.h \
6761 netinet/in.h \
6762 netinet/in_systm.h \
6763 netinet/tcp.h \
6764 netinet/tcp_fsm.h \
6765 pcap/pcap.h \
6766 poll.h \
6767 port.h \
6768 process.h \
6769 pthread.h \
6770 pwd.h \
6771 sched.h \
6772 scsi/scsi.h \
6773 scsi/scsi_ioctl.h \
6774 scsi/sg.h \
6775 stdbool.h \
6776 stdint.h \
6777 stropts.h \
6778 sys/asoundlib.h \
6779 sys/attr.h \
6780 sys/cdio.h \
6781 sys/elf32.h \
6782 sys/epoll.h \
6783 sys/event.h \
6784 sys/exec_elf.h \
6785 sys/filio.h \
6786 sys/inotify.h \
6787 sys/ioctl.h \
6788 sys/ipc.h \
6789 sys/limits.h \
6790 sys/link.h \
6791 sys/mman.h \
6792 sys/modem.h \
6793 sys/msg.h \
6794 sys/mtio.h \
6795 sys/param.h \
6796 sys/poll.h \
6797 sys/prctl.h \
6798 sys/protosw.h \
6799 sys/ptrace.h \
6800 sys/queue.h \
6801 sys/resource.h \
6802 sys/scsiio.h \
6803 sys/shm.h \
6804 sys/signal.h \
6805 sys/socket.h \
6806 sys/socketvar.h \
6807 sys/sockio.h \
6808 sys/statvfs.h \
6809 sys/strtio.h \
6810 sys/syscall.h \
6811 sys/tihdr.h \
6812 sys/time.h \
6813 sys/timeout.h \
6814 sys/times.h \
6815 sys/uio.h \
6816 sys/user.h \
6817 sys/utsname.h \
6818 sys/vm86.h \
6819 sys/vnode.h \
6820 sys/wait.h \
6821 syscall.h \
6822 termios.h \
6823 unistd.h \
6824 utime.h \
6825 valgrind/memcheck.h \
6826 valgrind/valgrind.h \
6827 zlib.h
6829 do :
6830 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6831 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6832 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6833 cat >>confdefs.h <<_ACEOF
6834 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6835 _ACEOF
6839 done
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6842 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6843 if ${ac_cv_header_stat_broken+:} false; then :
6844 $as_echo_n "(cached) " >&6
6845 else
6846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6847 /* end confdefs.h. */
6848 #include <sys/types.h>
6849 #include <sys/stat.h>
6851 #if defined S_ISBLK && defined S_IFDIR
6852 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6853 #endif
6855 #if defined S_ISBLK && defined S_IFCHR
6856 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6857 #endif
6859 #if defined S_ISLNK && defined S_IFREG
6860 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6861 #endif
6863 #if defined S_ISSOCK && defined S_IFREG
6864 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6865 #endif
6867 _ACEOF
6868 if ac_fn_c_try_compile "$LINENO"; then :
6869 ac_cv_header_stat_broken=no
6870 else
6871 ac_cv_header_stat_broken=yes
6873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6876 $as_echo "$ac_cv_header_stat_broken" >&6; }
6877 if test $ac_cv_header_stat_broken = yes; then
6879 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6885 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6886 do :
6887 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6888 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6889 #ifdef HAVE_SYS_PARAM_H
6890 # include <sys/param.h>
6891 #endif
6893 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6894 cat >>confdefs.h <<_ACEOF
6895 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6896 _ACEOF
6900 done
6903 for ac_header in \
6904 netinet/ip.h \
6905 net/if.h \
6906 net/if_arp.h \
6907 net/if_dl.h \
6908 net/if_types.h \
6909 net/route.h \
6910 netinet/if_ether.h \
6911 netinet/if_inarp.h \
6912 netinet/in_pcb.h \
6913 netinet/ip_icmp.h \
6914 netinet/ip_var.h \
6915 netinet/udp.h \
6916 netipx/ipx.h \
6917 sys/un.h \
6919 do :
6920 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6921 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6922 #ifdef HAVE_SYS_SOCKET_H
6923 # include <sys/socket.h>
6924 #endif
6925 #ifdef HAVE_SYS_SOCKETVAR_H
6926 # include <sys/socketvar.h>
6927 #endif
6928 #ifdef HAVE_NET_ROUTE_H
6929 # include <net/route.h>
6930 #endif
6931 #ifdef HAVE_NETINET_IN_H
6932 # include <netinet/in.h>
6933 #endif
6934 #ifdef HAVE_NETINET_IN_SYSTM_H
6935 # include <netinet/in_systm.h>
6936 #endif
6937 #ifdef HAVE_NET_IF_H
6938 # include <net/if.h>
6939 #endif
6940 #ifdef HAVE_NETINET_IP_H
6941 # include <netinet/ip.h>
6942 #endif
6944 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6945 cat >>confdefs.h <<_ACEOF
6946 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6947 _ACEOF
6951 done
6954 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6955 do :
6956 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6957 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6958 #ifdef HAVE_ALIAS_H
6959 # include <alias.h>
6960 #endif
6961 #ifdef HAVE_SYS_SOCKET_H
6962 # include <sys/socket.h>
6963 #endif
6964 #ifdef HAVE_SYS_SOCKETVAR_H
6965 # include <sys/socketvar.h>
6966 #endif
6967 #ifdef HAVE_SYS_TIMEOUT_H
6968 # include <sys/timeout.h>
6969 #endif
6970 #ifdef HAVE_NETINET_IN_H
6971 # include <netinet/in.h>
6972 #endif
6973 #ifdef HAVE_NETINET_IN_SYSTM_H
6974 # include <netinet/in_systm.h>
6975 #endif
6976 #ifdef HAVE_NETINET_IP_H
6977 # include <netinet/ip.h>
6978 #endif
6979 #ifdef HAVE_NETINET_IP_VAR_H
6980 # include <netinet/ip_var.h>
6981 #endif
6982 #ifdef HAVE_NETINET_IP_ICMP_H
6983 # include <netinet/ip_icmp.h>
6984 #endif
6985 #ifdef HAVE_NETINET_UDP_H
6986 # include <netinet/udp.h>
6987 #endif
6988 #ifdef HAVE_NETINET_TCP_H
6989 # include <netinet/tcp.h>
6990 #endif
6991 #ifdef HAVE_NETINET_TCP_TIMER_H
6992 #include <netinet/tcp_timer.h>
6993 #endif
6995 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6996 cat >>confdefs.h <<_ACEOF
6997 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6998 _ACEOF
7002 done
7005 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7006 do :
7007 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7008 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7009 #ifdef HAVE_ASM_TYPES_H
7010 # include <asm/types.h>
7011 #endif
7012 #ifdef HAVE_SYS_SOCKET_H
7013 # include <sys/socket.h>
7014 #endif
7015 #ifdef HAVE_LINUX_TYPES_H
7016 # include <linux/types.h>
7017 #endif
7019 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7020 cat >>confdefs.h <<_ACEOF
7021 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7022 _ACEOF
7026 done
7029 for ac_header in mach-o/dyld_images.h
7030 do :
7031 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7032 # include <stdbool.h>
7033 #endif
7034 #ifdef HAVE_STDINT_H
7035 # include <stdint.h>
7036 #endif
7038 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7039 cat >>confdefs.h <<_ACEOF
7040 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7041 _ACEOF
7045 done
7048 for ac_header in resolv.h
7049 do :
7050 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7051 #ifdef HAVE_SYS_SOCKET_H
7052 # include <sys/socket.h>
7053 #endif
7054 #ifdef HAVE_NETINET_IN_H
7055 # include <netinet/in.h>
7056 #endif
7057 #ifdef HAVE_ARPA_NAMESER_H
7058 # include <arpa/nameser.h>
7059 #endif
7061 if test "x$ac_cv_header_resolv_h" = xyes; then :
7062 cat >>confdefs.h <<_ACEOF
7063 #define HAVE_RESOLV_H 1
7064 _ACEOF
7068 done
7071 for ac_header in ifaddrs.h
7072 do :
7073 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7075 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7076 cat >>confdefs.h <<_ACEOF
7077 #define HAVE_IFADDRS_H 1
7078 _ACEOF
7082 done
7085 for ac_header in sys/ucontext.h
7086 do :
7087 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7089 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7090 cat >>confdefs.h <<_ACEOF
7091 #define HAVE_SYS_UCONTEXT_H 1
7092 _ACEOF
7096 done
7099 for ac_header in sys/thr.h
7100 do :
7101 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7102 #ifdef HAVE_SYS_UCONTEXT_H
7103 #include <sys/ucontext.h>
7104 #endif
7106 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7107 cat >>confdefs.h <<_ACEOF
7108 #define HAVE_SYS_THR_H 1
7109 _ACEOF
7113 done
7116 for ac_header in pthread_np.h
7117 do :
7118 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7119 #include <pthread.h>
7120 #endif
7122 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7123 cat >>confdefs.h <<_ACEOF
7124 #define HAVE_PTHREAD_NP_H 1
7125 _ACEOF
7129 done
7132 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7133 do :
7134 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7135 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7136 #include <sys/time.h>
7137 #endif
7138 #include <sys/types.h>
7139 #ifdef HAVE_ASM_TYPES_H
7140 #include <asm/types.h>
7141 #endif
7143 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7144 cat >>confdefs.h <<_ACEOF
7145 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7146 _ACEOF
7150 done
7153 for ac_header in libprocstat.h
7154 do :
7155 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7156 #include <sys/param.h>
7157 #endif
7158 #ifdef HAVE_SYS_QUEUE_H
7159 #include <sys/queue.h>
7160 #endif
7161 #ifdef HAVE_SYS_SOCKET_H
7162 #include <sys/socket.h>
7163 #endif
7165 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7166 cat >>confdefs.h <<_ACEOF
7167 #define HAVE_LIBPROCSTAT_H 1
7168 _ACEOF
7172 done
7176 dlldir="\${libdir}/wine"
7178 DLLFLAGS="-D_REENTRANT"
7180 LDRPATH_INSTALL=""
7182 LDRPATH_LOCAL=""
7184 LDEXECFLAGS=""
7186 LIBEXT="so"
7187 DLLEXT=".so"
7188 IMPLIBEXT="def"
7189 STATIC_IMPLIBEXT="def.a"
7190 # Extract the first word of "ldd", so it can be a program name with args.
7191 set dummy ldd; ac_word=$2
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7193 $as_echo_n "checking for $ac_word... " >&6; }
7194 if ${ac_cv_path_LDD+:} false; then :
7195 $as_echo_n "(cached) " >&6
7196 else
7197 case $LDD in
7198 [\\/]* | ?:[\\/]*)
7199 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7203 as_dummy="/sbin:/usr/sbin:$PATH"
7204 for as_dir in $as_dummy
7206 IFS=$as_save_IFS
7207 test -z "$as_dir" && as_dir=.
7208 for ac_exec_ext in '' $ac_executable_extensions; do
7209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7210 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7212 break 2
7214 done
7215 done
7216 IFS=$as_save_IFS
7218 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7220 esac
7222 LDD=$ac_cv_path_LDD
7223 if test -n "$LDD"; then
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7225 $as_echo "$LDD" >&6; }
7226 else
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7228 $as_echo "no" >&6; }
7232 if test -n "$ac_tool_prefix"; then
7233 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7234 set dummy ${ac_tool_prefix}otool; ac_word=$2
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7236 $as_echo_n "checking for $ac_word... " >&6; }
7237 if ${ac_cv_prog_OTOOL+:} false; then :
7238 $as_echo_n "(cached) " >&6
7239 else
7240 if test -n "$OTOOL"; then
7241 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7242 else
7243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7244 for as_dir in $PATH
7246 IFS=$as_save_IFS
7247 test -z "$as_dir" && as_dir=.
7248 for ac_exec_ext in '' $ac_executable_extensions; do
7249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7250 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7252 break 2
7254 done
7255 done
7256 IFS=$as_save_IFS
7260 OTOOL=$ac_cv_prog_OTOOL
7261 if test -n "$OTOOL"; then
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7263 $as_echo "$OTOOL" >&6; }
7264 else
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7266 $as_echo "no" >&6; }
7271 if test -z "$ac_cv_prog_OTOOL"; then
7272 ac_ct_OTOOL=$OTOOL
7273 # Extract the first word of "otool", so it can be a program name with args.
7274 set dummy otool; ac_word=$2
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7276 $as_echo_n "checking for $ac_word... " >&6; }
7277 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7278 $as_echo_n "(cached) " >&6
7279 else
7280 if test -n "$ac_ct_OTOOL"; then
7281 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7282 else
7283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7284 for as_dir in $PATH
7286 IFS=$as_save_IFS
7287 test -z "$as_dir" && as_dir=.
7288 for ac_exec_ext in '' $ac_executable_extensions; do
7289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7290 ac_cv_prog_ac_ct_OTOOL="otool"
7291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7292 break 2
7294 done
7295 done
7296 IFS=$as_save_IFS
7300 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7301 if test -n "$ac_ct_OTOOL"; then
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7303 $as_echo "$ac_ct_OTOOL" >&6; }
7304 else
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7306 $as_echo "no" >&6; }
7309 if test "x$ac_ct_OTOOL" = x; then
7310 OTOOL="otool"
7311 else
7312 case $cross_compiling:$ac_tool_warned in
7313 yes:)
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7316 ac_tool_warned=yes ;;
7317 esac
7318 OTOOL=$ac_ct_OTOOL
7320 else
7321 OTOOL="$ac_cv_prog_OTOOL"
7324 if test -n "$ac_tool_prefix"; then
7325 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7326 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7328 $as_echo_n "checking for $ac_word... " >&6; }
7329 if ${ac_cv_prog_READELF+:} false; then :
7330 $as_echo_n "(cached) " >&6
7331 else
7332 if test -n "$READELF"; then
7333 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7334 else
7335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7336 for as_dir in $PATH
7338 IFS=$as_save_IFS
7339 test -z "$as_dir" && as_dir=.
7340 for ac_exec_ext in '' $ac_executable_extensions; do
7341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7342 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7344 break 2
7346 done
7347 done
7348 IFS=$as_save_IFS
7352 READELF=$ac_cv_prog_READELF
7353 if test -n "$READELF"; then
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7355 $as_echo "$READELF" >&6; }
7356 else
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7358 $as_echo "no" >&6; }
7363 if test -z "$ac_cv_prog_READELF"; then
7364 ac_ct_READELF=$READELF
7365 # Extract the first word of "readelf", so it can be a program name with args.
7366 set dummy readelf; ac_word=$2
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 $as_echo_n "checking for $ac_word... " >&6; }
7369 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7370 $as_echo_n "(cached) " >&6
7371 else
7372 if test -n "$ac_ct_READELF"; then
7373 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7374 else
7375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7376 for as_dir in $PATH
7378 IFS=$as_save_IFS
7379 test -z "$as_dir" && as_dir=.
7380 for ac_exec_ext in '' $ac_executable_extensions; do
7381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7382 ac_cv_prog_ac_ct_READELF="readelf"
7383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7384 break 2
7386 done
7387 done
7388 IFS=$as_save_IFS
7392 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7393 if test -n "$ac_ct_READELF"; then
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7395 $as_echo "$ac_ct_READELF" >&6; }
7396 else
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7398 $as_echo "no" >&6; }
7401 if test "x$ac_ct_READELF" = x; then
7402 READELF="true"
7403 else
7404 case $cross_compiling:$ac_tool_warned in
7405 yes:)
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7408 ac_tool_warned=yes ;;
7409 esac
7410 READELF=$ac_ct_READELF
7412 else
7413 READELF="$ac_cv_prog_READELF"
7416 wine_rules_file=conf$$rules.make
7417 rm -f $wine_rules_file
7418 SUBDIRS=""
7420 CONFIGURE_TARGETS=""
7422 ALL_TEST_RESOURCES=""
7425 wine_fn_append_file ()
7427 as_fn_append $1 " \\$as_nl $2"
7430 wine_fn_append_rule ()
7432 $as_echo "$1" >>$wine_rules_file
7435 wine_fn_has_flag ()
7437 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7440 wine_fn_depend_rules ()
7442 wine_fn_append_file SUBDIRS $ac_dir
7445 wine_fn_all_rules ()
7447 wine_fn_depend_rules
7448 wine_fn_append_rule \
7449 "all: $ac_dir
7450 .PHONY: $ac_dir
7451 $ac_dir: dummy
7452 @cd $ac_dir && \$(MAKE)"
7455 wine_fn_install_rules ()
7457 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7459 wine_fn_append_rule \
7460 ".PHONY: $ac_dir/install $ac_dir/uninstall
7461 $ac_dir/install:: $ac_dir
7462 @cd $ac_dir && \$(MAKE) install
7463 $ac_dir/uninstall::
7464 @cd $ac_dir && \$(MAKE) uninstall
7465 install:: $ac_dir/install
7466 __uninstall__: $ac_dir/uninstall"
7468 if wine_fn_has_flag install-lib
7469 then
7470 wine_fn_append_rule \
7471 ".PHONY: $ac_dir/install-lib
7472 $ac_dir/install-lib:: $ac_dir
7473 @cd $ac_dir && \$(MAKE) install-lib
7474 install-lib:: $ac_dir/install-lib"
7477 if wine_fn_has_flag install-dev
7478 then
7479 wine_fn_append_rule \
7480 ".PHONY: $ac_dir/install-dev
7481 $ac_dir/install-dev:: $ac_dir
7482 @cd $ac_dir && \$(MAKE) install-dev
7483 install-dev:: $ac_dir/install-dev"
7487 wine_fn_clean_rules ()
7489 ac_clean=$@
7491 if wine_fn_has_flag clean
7492 then
7493 wine_fn_append_rule \
7494 "$ac_dir/clean: dummy
7495 @cd $ac_dir && \$(MAKE) clean"
7496 else
7497 wine_fn_append_rule \
7498 "$ac_dir/clean: dummy
7499 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7501 wine_fn_append_rule \
7502 "__clean__: $ac_dir/clean
7503 .PHONY: $ac_dir/clean"
7506 wine_fn_disabled_rules ()
7508 ac_clean=$@
7510 wine_fn_append_rule \
7511 "__clean__: $ac_dir/clean
7512 .PHONY: $ac_dir/clean
7513 $ac_dir/clean: dummy
7514 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7517 wine_fn_config_makefile ()
7519 ac_dir=$1
7520 ac_enable=$2
7521 ac_flags=$3
7523 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7524 wine_fn_disabled_rules; return
7526 wine_fn_all_rules
7527 wine_fn_install_rules
7528 wine_fn_clean_rules
7531 wine_fn_config_lib ()
7533 ac_name=$1
7534 ac_flags=$2
7535 ac_dir=dlls/$ac_name
7536 ac_deps="include"
7538 if test "x$enable_tools" = xno; then :
7540 else
7541 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7543 wine_fn_all_rules
7544 wine_fn_clean_rules
7546 wine_fn_append_rule \
7547 ".PHONY: $ac_dir/install $ac_dir/uninstall
7548 $ac_dir/install:: $ac_dir
7549 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7550 $ac_dir/uninstall::
7551 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7552 install install-dev:: $ac_dir/install
7553 __uninstall__: $ac_dir/uninstall
7554 __builddeps__: $ac_dir
7555 $ac_dir: $ac_deps"
7558 wine_fn_config_dll ()
7560 ac_name=$1
7561 ac_dir=dlls/$ac_name
7562 ac_enable=$2
7563 ac_flags=$3
7564 ac_implib=${4:-$ac_name}
7565 ac_file=$ac_dir/lib$ac_implib
7566 ac_dll=$ac_name
7567 ac_deps="include"
7568 ac_implibflags=""
7570 if test "x$enable_tools" = xno; then :
7572 else
7573 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7575 case $ac_name in
7576 *16) ac_implibflags=" -m16" ;;
7577 *.*) ;;
7578 *) ac_dll=$ac_dll.dll ;;
7579 esac
7581 ac_clean=
7582 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7583 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7585 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7586 if test "$ac_enable" != enable_win16
7587 then
7588 wine_fn_depend_rules
7589 wine_fn_clean_rules $ac_clean
7590 else
7591 wine_fn_disabled_rules $ac_clean
7592 return
7594 else
7595 wine_fn_all_rules
7596 wine_fn_clean_rules $ac_clean
7597 wine_fn_append_rule \
7598 "$ac_dir: __builddeps__
7599 manpages htmlpages sgmlpages xmlpages::
7600 @cd $ac_dir && \$(MAKE) \$@
7601 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7602 install install-lib:: $ac_dir/install-lib
7603 __uninstall__: $ac_dir/uninstall"
7604 if test -n "$DLLEXT"
7605 then
7606 wine_fn_append_rule \
7607 "$ac_dir/install-lib:: $ac_dir
7608 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7609 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7610 $ac_dir/uninstall::
7611 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7612 else
7613 wine_fn_append_rule \
7614 "$ac_dir/install-lib:: $ac_dir
7615 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7616 $ac_dir/uninstall::
7617 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7621 if wine_fn_has_flag staticimplib
7622 then
7623 wine_fn_append_rule \
7624 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7625 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7626 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7627 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7628 $ac_file.$STATIC_IMPLIBEXT: dummy
7629 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7630 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7631 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7632 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7633 $ac_dir/uninstall::
7634 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7635 install install-dev:: $ac_dir/install-dev
7636 __uninstall__: $ac_dir/uninstall"
7638 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7639 then
7640 wine_fn_append_rule \
7641 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7642 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7643 $ac_dir/uninstall::
7644 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7647 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7648 then
7649 wine_fn_append_rule \
7650 "__builddeps__: $ac_file.cross.a
7651 $ac_file.cross.a: dummy
7652 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7655 elif wine_fn_has_flag implib
7656 then
7657 wine_fn_append_rule \
7658 "__builddeps__: $ac_file.$IMPLIBEXT
7659 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7660 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7661 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7662 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7663 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7664 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7665 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7666 $ac_dir/uninstall::
7667 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7668 install install-dev:: $ac_dir/install-dev
7669 __uninstall__: $ac_dir/uninstall"
7670 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7671 then
7672 wine_fn_append_rule \
7673 "__builddeps__: $ac_file.cross.a
7674 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7675 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7680 wine_fn_config_program ()
7682 ac_name=$1
7683 ac_dir=programs/$ac_name
7684 ac_enable=$2
7685 ac_flags=$3
7686 ac_program=$ac_name
7688 case $ac_name in
7689 *.*) ;;
7690 *) ac_program=$ac_program.exe ;;
7691 esac
7693 ac_clean=
7694 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7695 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7697 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7698 wine_fn_disabled_rules $ac_clean; return
7701 wine_fn_all_rules
7702 wine_fn_clean_rules $ac_clean
7703 wine_fn_append_rule "$ac_dir: __builddeps__"
7705 wine_fn_has_flag install || return
7706 wine_fn_append_rule \
7707 ".PHONY: $ac_dir/install $ac_dir/uninstall
7708 install install-lib:: $ac_dir/install
7709 __uninstall__: $ac_dir/uninstall"
7711 if test -n "$DLLEXT"
7712 then
7713 wine_fn_append_rule \
7714 "$ac_dir/install:: $ac_dir
7715 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7716 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7717 $ac_dir/uninstall::
7718 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7720 if test -z "$with_wine64" && wine_fn_has_flag installbin
7721 then
7722 wine_fn_append_rule \
7723 "$ac_dir/install:: __tooldeps__
7724 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7725 $ac_dir/uninstall::
7726 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7728 else
7729 wine_fn_append_rule \
7730 "$ac_dir/install:: $ac_dir
7731 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7732 $ac_dir/uninstall::
7733 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7736 if test -z "$with_wine64" && wine_fn_has_flag manpage
7737 then
7738 wine_fn_append_rule \
7739 "$ac_dir/install:: $ac_dir
7740 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7741 $ac_dir/uninstall::
7742 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7746 wine_fn_config_test ()
7748 ac_dir=$1
7749 ac_name=$2
7750 ac_flags=$3
7752 ac_clean=
7753 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7754 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7756 if test "x$enable_tests" = xno; then :
7757 wine_fn_disabled_rules $ac_clean; return
7760 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7761 wine_fn_all_rules
7762 wine_fn_clean_rules $ac_clean
7764 wine_fn_append_rule \
7765 "$ac_dir: __builddeps__
7766 programs/winetest: $ac_dir
7767 check test: $ac_dir/test
7768 .PHONY: $ac_dir/test
7769 $ac_dir/test: dummy
7770 @cd $ac_dir && \$(MAKE) test
7771 testclean::
7772 \$(RM) $ac_dir/*.ok"
7774 if test -n "$CROSSTARGET"
7775 then
7776 wine_fn_append_rule \
7777 "crosstest: $ac_dir/crosstest
7778 .PHONY: $ac_dir/crosstest
7779 $ac_dir/crosstest: __builddeps__ dummy
7780 @cd $ac_dir && \$(MAKE) crosstest"
7784 wine_fn_config_tool ()
7786 ac_dir=$1
7787 ac_flags=$2
7788 if test "x$enable_tools" = xno; then :
7789 return
7792 wine_fn_all_rules
7793 wine_fn_install_rules
7794 wine_fn_clean_rules
7796 wine_fn_append_rule "__tooldeps__: $ac_dir"
7797 wine_fn_append_rule "$ac_dir: libs/port"
7798 case $ac_dir in
7799 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7800 esac
7803 wine_fn_config_symlink ()
7805 ac_linkdir=
7806 if test "x$1" = "x-d"
7807 then
7808 ac_linkdir=$2
7809 shift; shift
7811 ac_links=$@
7812 wine_fn_append_rule \
7813 "$ac_links:
7814 @./config.status \$@"
7815 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7816 test -n "$ac_linkdir" || return
7817 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7820 wine_binary="wine"
7821 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7822 WINELOADER_PROGRAMS="$wine_binary"
7824 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7826 case $host_os in
7827 cygwin*|mingw32*)
7828 if test -n "$ac_tool_prefix"; then
7829 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7830 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7832 $as_echo_n "checking for $ac_word... " >&6; }
7833 if ${ac_cv_prog_DLLTOOL+:} false; then :
7834 $as_echo_n "(cached) " >&6
7835 else
7836 if test -n "$DLLTOOL"; then
7837 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7838 else
7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7840 for as_dir in $PATH
7842 IFS=$as_save_IFS
7843 test -z "$as_dir" && as_dir=.
7844 for ac_exec_ext in '' $ac_executable_extensions; do
7845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7846 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7848 break 2
7850 done
7851 done
7852 IFS=$as_save_IFS
7856 DLLTOOL=$ac_cv_prog_DLLTOOL
7857 if test -n "$DLLTOOL"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7859 $as_echo "$DLLTOOL" >&6; }
7860 else
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7862 $as_echo "no" >&6; }
7867 if test -z "$ac_cv_prog_DLLTOOL"; then
7868 ac_ct_DLLTOOL=$DLLTOOL
7869 # Extract the first word of "dlltool", so it can be a program name with args.
7870 set dummy dlltool; ac_word=$2
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7872 $as_echo_n "checking for $ac_word... " >&6; }
7873 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7874 $as_echo_n "(cached) " >&6
7875 else
7876 if test -n "$ac_ct_DLLTOOL"; then
7877 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7878 else
7879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7880 for as_dir in $PATH
7882 IFS=$as_save_IFS
7883 test -z "$as_dir" && as_dir=.
7884 for ac_exec_ext in '' $ac_executable_extensions; do
7885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7886 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7888 break 2
7890 done
7891 done
7892 IFS=$as_save_IFS
7896 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7897 if test -n "$ac_ct_DLLTOOL"; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7899 $as_echo "$ac_ct_DLLTOOL" >&6; }
7900 else
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7902 $as_echo "no" >&6; }
7905 if test "x$ac_ct_DLLTOOL" = x; then
7906 DLLTOOL="false"
7907 else
7908 case $cross_compiling:$ac_tool_warned in
7909 yes:)
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7912 ac_tool_warned=yes ;;
7913 esac
7914 DLLTOOL=$ac_ct_DLLTOOL
7916 else
7917 DLLTOOL="$ac_cv_prog_DLLTOOL"
7920 LIBEXT="dll"
7921 DLLEXT=""
7922 IMPLIBEXT="a"
7923 STATIC_IMPLIBEXT="a"
7924 enable_iphlpapi=${enable_iphlpapi:-no}
7925 enable_kernel32=${enable_kernel32:-no}
7926 enable_msvcrt=${enable_msvcrt:-no}
7927 enable_ntdll=${enable_ntdll:-no}
7928 enable_ws2_32=${enable_ws2_32:-no}
7929 enable_loader=${enable_loader:-no}
7930 enable_server=${enable_server:-no}
7931 with_x=${with_x:-no}
7932 with_pthread=${with_pthread:-no}
7934 crtlibs=""
7935 case $host_os in
7936 mingw32*)
7937 crtlibs="-lmsvcrt"
7938 SOCKET_LIBS="-lws2_32"
7940 esac
7942 LIBWINE_SHAREDLIB="libwine.dll"
7944 LIBWINE_IMPORTLIB="libwine.a"
7946 LIBWINE_INSTALL_LIB="libwine.dll"
7948 LIBWINE_INSTALL_DEV="libwine.a"
7950 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7952 LIBWINE_DEPENDS="wine.def"
7956 darwin*|macosx*)
7957 for ac_header in libunwind.h
7958 do :
7959 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7961 cat >>confdefs.h <<_ACEOF
7962 #define HAVE_LIBUNWIND_H 1
7963 _ACEOF
7967 done
7969 LIBEXT="dylib"
7970 DLLFLAGS="$DLLFLAGS -fPIC"
7971 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7972 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7973 COREFOUNDATION_LIBS="-framework CoreFoundation"
7975 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7977 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7979 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7981 CORESERVICES_LIBS="-framework CoreServices"
7983 APPKIT_LIBS="-framework AppKit"
7985 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7987 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7988 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7989 $as_echo_n "(cached) " >&6
7990 else
7991 ac_wine_try_cflags_saved=$CFLAGS
7992 CFLAGS="$CFLAGS -Wl,-no_pie"
7993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7994 /* end confdefs.h. */
7995 int main(int argc, char **argv) { return 0; }
7996 _ACEOF
7997 if ac_fn_c_try_link "$LINENO"; then :
7998 ac_cv_cflags__Wl__no_pie=yes
7999 else
8000 ac_cv_cflags__Wl__no_pie=no
8002 rm -f core conftest.err conftest.$ac_objext \
8003 conftest$ac_exeext conftest.$ac_ext
8004 CFLAGS=$ac_wine_try_cflags_saved
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8007 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8008 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8009 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8011 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8012 then
8013 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8016 if test "$ac_cv_header_Security_Security_h" = "yes"
8017 then
8018 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8020 ac_save_LIBS="$LIBS"
8021 LIBS="$LIBS $SECURITY_LIBS"
8022 for ac_func in SSLCopyPeerCertificates
8023 do :
8024 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8025 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8026 cat >>confdefs.h <<_ACEOF
8027 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8028 _ACEOF
8031 done
8033 LIBS="$ac_save_LIBS"
8034 with_gnutls=${with_gnutls:-no}
8036 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8037 then
8038 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8039 then
8040 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8042 else
8043 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8046 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8047 ac_save_LIBS="$LIBS"
8048 LIBS="$LIBS $COREAUDIO_LIBS"
8049 for ac_func in AUGraphAddNode
8050 do :
8051 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8052 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8053 cat >>confdefs.h <<_ACEOF
8054 #define HAVE_AUGRAPHADDNODE 1
8055 _ACEOF
8058 done
8060 LIBS="$ac_save_LIBS"
8062 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8063 then
8064 OPENAL_LIBS="-framework OpenAL"
8067 cat >>confdefs.h <<_ACEOF
8068 #define HAVE_OPENAL 1
8069 _ACEOF
8071 ac_cv_lib_openal=yes
8073 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8074 then
8075 OPENCL_LIBS="-framework OpenCL"
8077 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8079 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8080 then
8081 ac_save_LIBS="$LIBS"
8082 LIBS="$LIBS $IOKIT_LIBS"
8083 for ac_func in IOHIDManagerCreate
8084 do :
8085 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8086 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8087 cat >>confdefs.h <<_ACEOF
8088 #define HAVE_IOHIDMANAGERCREATE 1
8089 _ACEOF
8092 done
8094 LIBS="$ac_save_LIBS"
8096 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8097 then
8098 ac_save_LIBS="$LIBS"
8099 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8101 $as_echo_n "checking for the QuickTime framework... " >&6; }
8102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8103 /* end confdefs.h. */
8104 #include <QuickTime/ImageCompression.h>
8106 main ()
8108 CodecManagerVersion(NULL);
8110 return 0;
8112 _ACEOF
8113 if ac_fn_c_try_link "$LINENO"; then :
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8115 $as_echo "yes" >&6; }
8116 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8118 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8119 else
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8121 $as_echo "no" >&6; }
8122 ac_cv_header_QuickTime_ImageCompression_h=no
8124 rm -f core conftest.err conftest.$ac_objext \
8125 conftest$ac_exeext conftest.$ac_ext
8126 LIBS="$ac_save_LIBS"
8128 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8129 then
8130 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8132 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8133 then
8134 CARBON_LIBS="-framework Carbon"
8138 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8139 then
8140 ac_save_LIBS="$LIBS"
8141 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8142 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8143 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8144 enable_winemac_drv=${enable_winemac_drv:-yes}
8147 LIBS="$ac_save_LIBS"
8150 if test "x$enable_win16" = "xyes"
8151 then
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8153 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8154 if test "$cross_compiling" = yes; then :
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8156 $as_echo "cross-compiling, assuming yes" >&6; }
8157 else
8158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8159 /* end confdefs.h. */
8160 asm(".text\n"
8161 "bad:\tnop;nop\n"
8162 "good:\tnop;nop\n\t"
8163 ".globl _testfunc\n"
8164 "_testfunc:\tcallw good");
8165 extern void testfunc();
8167 main ()
8169 unsigned short *p = (unsigned short *)testfunc;
8170 return p[0] != 0xe866 || p[1] != 0xfffa
8172 return 0;
8174 _ACEOF
8175 if ac_fn_c_try_run "$LINENO"; then :
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8177 $as_echo "yes" >&6; }
8178 else
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180 $as_echo "no" >&6; }
8181 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
8183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8184 conftest.$ac_objext conftest.beam conftest.$ac_ext
8189 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8191 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8193 LIBWINE_INSTALL_DEV="libwine.dylib"
8195 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8197 WINELOADER_DEPENDS="wine_info.plist"
8201 linux-android*)
8202 DLLFLAGS="$DLLFLAGS -fPIC"
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8204 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8205 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8206 $as_echo_n "(cached) " >&6
8207 else
8208 ac_wine_try_cflags_saved=$CFLAGS
8209 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8211 /* end confdefs.h. */
8212 int main(int argc, char **argv) { return 0; }
8213 _ACEOF
8214 if ac_fn_c_try_link "$LINENO"; then :
8215 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8216 else
8217 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8219 rm -f core conftest.err conftest.$ac_objext \
8220 conftest$ac_exeext conftest.$ac_ext
8221 CFLAGS=$ac_wine_try_cflags_saved
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8224 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8225 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8226 LDEXECFLAGS="-Wl,--export-dynamic"
8228 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8230 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8231 if eval \${$as_ac_var+:} false; then :
8232 $as_echo_n "(cached) " >&6
8233 else
8234 ac_wine_try_cflags_saved=$CFLAGS
8235 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8237 /* end confdefs.h. */
8238 int main(int argc, char **argv) { return 0; }
8239 _ACEOF
8240 if ac_fn_c_try_link "$LINENO"; then :
8241 eval "$as_ac_var=yes"
8242 else
8243 eval "$as_ac_var=no"
8245 rm -f core conftest.err conftest.$ac_objext \
8246 conftest$ac_exeext conftest.$ac_ext
8247 CFLAGS=$ac_wine_try_cflags_saved
8249 eval ac_res=\$$as_ac_var
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8251 $as_echo "$ac_res" >&6; }
8252 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8253 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8254 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8255 else
8256 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8258 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8259 if eval \${$as_ac_var+:} false; then :
8260 $as_echo_n "(cached) " >&6
8261 else
8262 ac_wine_try_cflags_saved=$CFLAGS
8263 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8265 /* end confdefs.h. */
8266 int main(int argc, char **argv) { return 0; }
8267 _ACEOF
8268 if ac_fn_c_try_link "$LINENO"; then :
8269 eval "$as_ac_var=yes"
8270 else
8271 eval "$as_ac_var=no"
8273 rm -f core conftest.err conftest.$ac_objext \
8274 conftest$ac_exeext conftest.$ac_ext
8275 CFLAGS=$ac_wine_try_cflags_saved
8277 eval ac_res=\$$as_ac_var
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8279 $as_echo "$ac_res" >&6; }
8280 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8281 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8282 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8287 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8288 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8289 $as_echo_n "(cached) " >&6
8290 else
8291 ac_wine_try_cflags_saved=$CFLAGS
8292 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8294 /* end confdefs.h. */
8295 int main(int argc, char **argv) { return 0; }
8296 _ACEOF
8297 if ac_fn_c_try_link "$LINENO"; then :
8298 ac_cv_cflags__Wl___enable_new_dtags=yes
8299 else
8300 ac_cv_cflags__Wl___enable_new_dtags=no
8302 rm -f core conftest.err conftest.$ac_objext \
8303 conftest$ac_exeext conftest.$ac_ext
8304 CFLAGS=$ac_wine_try_cflags_saved
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8307 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8308 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8309 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8312 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8313 if ${ac_cv_cflags__Wl__pie+:} false; then :
8314 $as_echo_n "(cached) " >&6
8315 else
8316 ac_wine_try_cflags_saved=$CFLAGS
8317 CFLAGS="$CFLAGS -Wl,-pie"
8318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8319 /* end confdefs.h. */
8320 int main(int argc, char **argv) { return 0; }
8321 _ACEOF
8322 if ac_fn_c_try_link "$LINENO"; then :
8323 ac_cv_cflags__Wl__pie=yes
8324 else
8325 ac_cv_cflags__Wl__pie=no
8327 rm -f core conftest.err conftest.$ac_objext \
8328 conftest$ac_exeext conftest.$ac_ext
8329 CFLAGS=$ac_wine_try_cflags_saved
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8332 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8333 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8334 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8337 LIBWINE_SHAREDLIB="libwine.so"
8339 LIBWINE_INSTALL_LIB="libwine.so"
8341 LIBWINE_LDFLAGS="-shared"
8346 DLLFLAGS="$DLLFLAGS -fPIC"
8347 LDEXECFLAGS=""
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8349 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8350 if ${ac_cv_c_dll_gnuelf+:} false; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 ac_wine_try_cflags_saved=$CFLAGS
8354 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8357 void myfunc() {}
8358 _ACEOF
8359 if ac_fn_c_try_link "$LINENO"; then :
8360 ac_cv_c_dll_gnuelf="yes"
8361 else
8362 ac_cv_c_dll_gnuelf="no"
8364 rm -f core conftest.err conftest.$ac_objext \
8365 conftest$ac_exeext conftest.$ac_ext
8366 CFLAGS=$ac_wine_try_cflags_saved
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8369 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8370 if test "$ac_cv_c_dll_gnuelf" = "yes"
8371 then
8372 LIBWINE_LDFLAGS="-shared"
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8374 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8375 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8376 $as_echo_n "(cached) " >&6
8377 else
8378 ac_wine_try_cflags_saved=$CFLAGS
8379 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8381 /* end confdefs.h. */
8382 int main(int argc, char **argv) { return 0; }
8383 _ACEOF
8384 if ac_fn_c_try_link "$LINENO"; then :
8385 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8386 else
8387 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8389 rm -f core conftest.err conftest.$ac_objext \
8390 conftest$ac_exeext conftest.$ac_ext
8391 CFLAGS=$ac_wine_try_cflags_saved
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8394 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8395 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8396 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8397 else
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8399 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8400 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8401 $as_echo_n "(cached) " >&6
8402 else
8403 ac_wine_try_cflags_saved=$CFLAGS
8404 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8407 int main(int argc, char **argv) { return 0; }
8408 _ACEOF
8409 if ac_fn_c_try_link "$LINENO"; then :
8410 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8411 else
8412 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8414 rm -f core conftest.err conftest.$ac_objext \
8415 conftest$ac_exeext conftest.$ac_ext
8416 CFLAGS=$ac_wine_try_cflags_saved
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8419 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8420 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8421 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8425 echo '{ global: *; };' >conftest.map
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8427 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8428 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8429 $as_echo_n "(cached) " >&6
8430 else
8431 ac_wine_try_cflags_saved=$CFLAGS
8432 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8434 /* end confdefs.h. */
8435 int main(int argc, char **argv) { return 0; }
8436 _ACEOF
8437 if ac_fn_c_try_link "$LINENO"; then :
8438 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8439 else
8440 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8442 rm -f core conftest.err conftest.$ac_objext \
8443 conftest$ac_exeext conftest.$ac_ext
8444 CFLAGS=$ac_wine_try_cflags_saved
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8447 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8448 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8449 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8451 rm -f conftest.map
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8454 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8455 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8456 $as_echo_n "(cached) " >&6
8457 else
8458 ac_wine_try_cflags_saved=$CFLAGS
8459 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8462 int main(int argc, char **argv) { return 0; }
8463 _ACEOF
8464 if ac_fn_c_try_link "$LINENO"; then :
8465 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8466 else
8467 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8469 rm -f core conftest.err conftest.$ac_objext \
8470 conftest$ac_exeext conftest.$ac_ext
8471 CFLAGS=$ac_wine_try_cflags_saved
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8474 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8475 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8476 LDEXECFLAGS="-Wl,--export-dynamic"
8479 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8481 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8482 if eval \${$as_ac_var+:} false; then :
8483 $as_echo_n "(cached) " >&6
8484 else
8485 ac_wine_try_cflags_saved=$CFLAGS
8486 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8489 int main(int argc, char **argv) { return 0; }
8490 _ACEOF
8491 if ac_fn_c_try_link "$LINENO"; then :
8492 eval "$as_ac_var=yes"
8493 else
8494 eval "$as_ac_var=no"
8496 rm -f core conftest.err conftest.$ac_objext \
8497 conftest$ac_exeext conftest.$ac_ext
8498 CFLAGS=$ac_wine_try_cflags_saved
8500 eval ac_res=\$$as_ac_var
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8502 $as_echo "$ac_res" >&6; }
8503 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8504 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8505 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8506 else
8507 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8509 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8510 if eval \${$as_ac_var+:} false; then :
8511 $as_echo_n "(cached) " >&6
8512 else
8513 ac_wine_try_cflags_saved=$CFLAGS
8514 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8516 /* end confdefs.h. */
8517 int main(int argc, char **argv) { return 0; }
8518 _ACEOF
8519 if ac_fn_c_try_link "$LINENO"; then :
8520 eval "$as_ac_var=yes"
8521 else
8522 eval "$as_ac_var=no"
8524 rm -f core conftest.err conftest.$ac_objext \
8525 conftest$ac_exeext conftest.$ac_ext
8526 CFLAGS=$ac_wine_try_cflags_saved
8528 eval ac_res=\$$as_ac_var
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8530 $as_echo "$ac_res" >&6; }
8531 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8532 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8533 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8538 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8539 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8540 $as_echo_n "(cached) " >&6
8541 else
8542 ac_wine_try_cflags_saved=$CFLAGS
8543 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8546 int main(int argc, char **argv) { return 0; }
8547 _ACEOF
8548 if ac_fn_c_try_link "$LINENO"; then :
8549 ac_cv_cflags__Wl___enable_new_dtags=yes
8550 else
8551 ac_cv_cflags__Wl___enable_new_dtags=no
8553 rm -f core conftest.err conftest.$ac_objext \
8554 conftest$ac_exeext conftest.$ac_ext
8555 CFLAGS=$ac_wine_try_cflags_saved
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8558 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8559 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8560 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8563 case $host_cpu in
8564 *i[3456789]86* | x86_64)
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8566 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8567 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8568 $as_echo_n "(cached) " >&6
8569 else
8570 ac_wine_try_cflags_saved=$CFLAGS
8571 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8573 /* end confdefs.h. */
8574 int main(int argc, char **argv) { return 0; }
8575 _ACEOF
8576 if ac_fn_c_try_link "$LINENO"; then :
8577 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8578 else
8579 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8581 rm -f core conftest.err conftest.$ac_objext \
8582 conftest$ac_exeext conftest.$ac_ext
8583 CFLAGS=$ac_wine_try_cflags_saved
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8586 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8587 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8588 case $host_os in
8589 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8590 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8591 esac
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8595 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8596 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8597 $as_echo_n "(cached) " >&6
8598 else
8599 ac_wine_try_cflags_saved=$CFLAGS
8600 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8602 /* end confdefs.h. */
8603 int main(int argc, char **argv) { return 0; }
8604 _ACEOF
8605 if ac_fn_c_try_link "$LINENO"; then :
8606 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8607 else
8608 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8610 rm -f core conftest.err conftest.$ac_objext \
8611 conftest$ac_exeext conftest.$ac_ext
8612 CFLAGS=$ac_wine_try_cflags_saved
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8615 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8616 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8618 else
8619 # Extract the first word of "prelink", so it can be a program name with args.
8620 set dummy prelink; ac_word=$2
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8622 $as_echo_n "checking for $ac_word... " >&6; }
8623 if ${ac_cv_path_PRELINK+:} false; then :
8624 $as_echo_n "(cached) " >&6
8625 else
8626 case $PRELINK in
8627 [\\/]* | ?:[\\/]*)
8628 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8632 for as_dir in /sbin /usr/sbin $PATH
8634 IFS=$as_save_IFS
8635 test -z "$as_dir" && as_dir=.
8636 for ac_exec_ext in '' $ac_executable_extensions; do
8637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8638 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8640 break 2
8642 done
8643 done
8644 IFS=$as_save_IFS
8646 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8648 esac
8650 PRELINK=$ac_cv_path_PRELINK
8651 if test -n "$PRELINK"; then
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8653 $as_echo "$PRELINK" >&6; }
8654 else
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8656 $as_echo "no" >&6; }
8660 if test "x$PRELINK" = xfalse
8661 then
8662 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8666 esac
8668 else
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8670 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8671 if ${ac_cv_c_dll_unixware+:} false; then :
8672 $as_echo_n "(cached) " >&6
8673 else
8674 ac_wine_try_cflags_saved=$CFLAGS
8675 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8677 /* end confdefs.h. */
8678 void myfunc() {}
8679 _ACEOF
8680 if ac_fn_c_try_link "$LINENO"; then :
8681 ac_cv_c_dll_unixware="yes"
8682 else
8683 ac_cv_c_dll_unixware="no"
8685 rm -f core conftest.err conftest.$ac_objext \
8686 conftest$ac_exeext conftest.$ac_ext
8687 CFLAGS=$ac_wine_try_cflags_saved
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8690 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8691 if test "$ac_cv_c_dll_unixware" = "yes"
8692 then
8693 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8696 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8698 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8700 LIBWINE_INSTALL_DEV="libwine.so"
8702 LIBWINE_DEPENDS="wine.map"
8705 esac
8707 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8708 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8709 enable_winemac_drv=${enable_winemac_drv:-no}
8710 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8712 CROSSTARGET=""
8714 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8715 then
8716 case "$host_cpu" in
8717 arm*)
8718 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8719 i[3456789]86*)
8720 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
8721 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8722 mingw32-gcc" ;;
8723 x86_64)
8724 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
8725 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8727 ac_prefix_list="" ;;
8728 esac
8729 for ac_prog in $ac_prefix_list
8731 # Extract the first word of "$ac_prog", so it can be a program name with args.
8732 set dummy $ac_prog; ac_word=$2
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8734 $as_echo_n "checking for $ac_word... " >&6; }
8735 if ${ac_cv_prog_CROSSCC+:} false; then :
8736 $as_echo_n "(cached) " >&6
8737 else
8738 if test -n "$CROSSCC"; then
8739 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8740 else
8741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8742 for as_dir in $PATH
8744 IFS=$as_save_IFS
8745 test -z "$as_dir" && as_dir=.
8746 for ac_exec_ext in '' $ac_executable_extensions; do
8747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8748 ac_cv_prog_CROSSCC="$ac_prog"
8749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8750 break 2
8752 done
8753 done
8754 IFS=$as_save_IFS
8758 CROSSCC=$ac_cv_prog_CROSSCC
8759 if test -n "$CROSSCC"; then
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8761 $as_echo "$CROSSCC" >&6; }
8762 else
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8764 $as_echo "no" >&6; }
8768 test -n "$CROSSCC" && break
8769 done
8770 test -n "$CROSSCC" || CROSSCC="false"
8772 if test "$CROSSCC" != "false"
8773 then
8774 ac_save_CC="$CC"
8775 CC="$CROSSCC"
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8777 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8779 /* end confdefs.h. */
8782 main ()
8786 return 0;
8788 _ACEOF
8789 if ac_fn_c_try_compile "$LINENO"; then :
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8791 $as_echo "yes" >&6; }
8792 set x $CROSSCC
8793 shift
8794 while test $# -ge 1
8796 case "$1" in
8797 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8798 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8799 esac
8800 shift
8801 done
8802 else
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8804 $as_echo "no" >&6; }
8806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8807 CC="$ac_save_CC"
8812 if test "$ac_cv_header_pthread_h" = "yes"
8813 then
8814 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8815 if test "x$ac_cv_func_pthread_create" = xyes; then :
8817 else
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8819 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8820 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8821 $as_echo_n "(cached) " >&6
8822 else
8823 ac_check_lib_save_LIBS=$LIBS
8824 LIBS="-lpthread $LIBS"
8825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8826 /* end confdefs.h. */
8828 /* Override any GCC internal prototype to avoid an error.
8829 Use char because int might match the return type of a GCC
8830 builtin and then its argument prototype would still apply. */
8831 #ifdef __cplusplus
8832 extern "C"
8833 #endif
8834 char pthread_create ();
8836 main ()
8838 return pthread_create ();
8840 return 0;
8842 _ACEOF
8843 if ac_fn_c_try_link "$LINENO"; then :
8844 ac_cv_lib_pthread_pthread_create=yes
8845 else
8846 ac_cv_lib_pthread_pthread_create=no
8848 rm -f core conftest.err conftest.$ac_objext \
8849 conftest$ac_exeext conftest.$ac_ext
8850 LIBS=$ac_check_lib_save_LIBS
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8853 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8854 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8855 PTHREAD_LIBS="-lpthread"
8862 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8863 case "x$with_pthread" in
8864 xno) ;;
8865 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8866 Wine cannot support threads without libpthread.
8867 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8868 esac
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8873 $as_echo_n "checking for X... " >&6; }
8876 # Check whether --with-x was given.
8877 if test "${with_x+set}" = set; then :
8878 withval=$with_x;
8881 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8882 if test "x$with_x" = xno; then
8883 # The user explicitly disabled X.
8884 have_x=disabled
8885 else
8886 case $x_includes,$x_libraries in #(
8887 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8888 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8889 $as_echo_n "(cached) " >&6
8890 else
8891 # One or both of the vars are not set, and there is no cached value.
8892 ac_x_includes=no ac_x_libraries=no
8893 rm -f -r conftest.dir
8894 if mkdir conftest.dir; then
8895 cd conftest.dir
8896 cat >Imakefile <<'_ACEOF'
8897 incroot:
8898 @echo incroot='${INCROOT}'
8899 usrlibdir:
8900 @echo usrlibdir='${USRLIBDIR}'
8901 libdir:
8902 @echo libdir='${LIBDIR}'
8903 _ACEOF
8904 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8905 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8906 for ac_var in incroot usrlibdir libdir; do
8907 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8908 done
8909 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8910 for ac_extension in a so sl dylib la dll; do
8911 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8912 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8913 ac_im_usrlibdir=$ac_im_libdir; break
8915 done
8916 # Screen out bogus values from the imake configuration. They are
8917 # bogus both because they are the default anyway, and because
8918 # using them would break gcc on systems where it needs fixed includes.
8919 case $ac_im_incroot in
8920 /usr/include) ac_x_includes= ;;
8921 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8922 esac
8923 case $ac_im_usrlibdir in
8924 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8925 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8926 esac
8928 cd ..
8929 rm -f -r conftest.dir
8932 # Standard set of common directories for X headers.
8933 # Check X11 before X11Rn because it is often a symlink to the current release.
8934 ac_x_header_dirs='
8935 /usr/X11/include
8936 /usr/X11R7/include
8937 /usr/X11R6/include
8938 /usr/X11R5/include
8939 /usr/X11R4/include
8941 /usr/include/X11
8942 /usr/include/X11R7
8943 /usr/include/X11R6
8944 /usr/include/X11R5
8945 /usr/include/X11R4
8947 /usr/local/X11/include
8948 /usr/local/X11R7/include
8949 /usr/local/X11R6/include
8950 /usr/local/X11R5/include
8951 /usr/local/X11R4/include
8953 /usr/local/include/X11
8954 /usr/local/include/X11R7
8955 /usr/local/include/X11R6
8956 /usr/local/include/X11R5
8957 /usr/local/include/X11R4
8959 /usr/X386/include
8960 /usr/x386/include
8961 /usr/XFree86/include/X11
8963 /usr/include
8964 /usr/local/include
8965 /usr/unsupported/include
8966 /usr/athena/include
8967 /usr/local/x11r5/include
8968 /usr/lpp/Xamples/include
8970 /usr/openwin/include
8971 /usr/openwin/share/include'
8973 if test "$ac_x_includes" = no; then
8974 # Guess where to find include files, by looking for Xlib.h.
8975 # First, try using that file with no special directory specified.
8976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8977 /* end confdefs.h. */
8978 #include <X11/Xlib.h>
8979 _ACEOF
8980 if ac_fn_c_try_cpp "$LINENO"; then :
8981 # We can compile using X headers with no special include directory.
8982 ac_x_includes=
8983 else
8984 for ac_dir in $ac_x_header_dirs; do
8985 if test -r "$ac_dir/X11/Xlib.h"; then
8986 ac_x_includes=$ac_dir
8987 break
8989 done
8991 rm -f conftest.err conftest.i conftest.$ac_ext
8992 fi # $ac_x_includes = no
8994 if test "$ac_x_libraries" = no; then
8995 # Check for the libraries.
8996 # See if we find them without any special options.
8997 # Don't add to $LIBS permanently.
8998 ac_save_LIBS=$LIBS
8999 LIBS="-lX11 $LIBS"
9000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9001 /* end confdefs.h. */
9002 #include <X11/Xlib.h>
9004 main ()
9006 XrmInitialize ()
9008 return 0;
9010 _ACEOF
9011 if ac_fn_c_try_link "$LINENO"; then :
9012 LIBS=$ac_save_LIBS
9013 # We can link X programs with no special library path.
9014 ac_x_libraries=
9015 else
9016 LIBS=$ac_save_LIBS
9017 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9019 # Don't even attempt the hair of trying to link an X program!
9020 for ac_extension in a so sl dylib la dll; do
9021 if test -r "$ac_dir/libX11.$ac_extension"; then
9022 ac_x_libraries=$ac_dir
9023 break 2
9025 done
9026 done
9028 rm -f core conftest.err conftest.$ac_objext \
9029 conftest$ac_exeext conftest.$ac_ext
9030 fi # $ac_x_libraries = no
9032 case $ac_x_includes,$ac_x_libraries in #(
9033 no,* | *,no | *\'*)
9034 # Didn't find X, or a directory has "'" in its name.
9035 ac_cv_have_x="have_x=no";; #(
9037 # Record where we found X for the cache.
9038 ac_cv_have_x="have_x=yes\
9039 ac_x_includes='$ac_x_includes'\
9040 ac_x_libraries='$ac_x_libraries'"
9041 esac
9043 ;; #(
9044 *) have_x=yes;;
9045 esac
9046 eval "$ac_cv_have_x"
9047 fi # $with_x != no
9049 if test "$have_x" != yes; then
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9051 $as_echo "$have_x" >&6; }
9052 no_x=yes
9053 else
9054 # If each of the values was on the command line, it overrides each guess.
9055 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9056 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9057 # Update the cache value to reflect the command line values.
9058 ac_cv_have_x="have_x=yes\
9059 ac_x_includes='$x_includes'\
9060 ac_x_libraries='$x_libraries'"
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9062 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9065 if test "$no_x" = yes; then
9066 # Not all programs may use this symbol, but it does not hurt to define it.
9068 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9070 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9071 else
9072 if test -n "$x_includes"; then
9073 X_CFLAGS="$X_CFLAGS -I$x_includes"
9076 # It would also be nice to do this for all -L options, not just this one.
9077 if test -n "$x_libraries"; then
9078 X_LIBS="$X_LIBS -L$x_libraries"
9079 # For Solaris; some versions of Sun CC require a space after -R and
9080 # others require no space. Words are not sufficient . . . .
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9082 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9083 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9084 ac_xsave_c_werror_flag=$ac_c_werror_flag
9085 ac_c_werror_flag=yes
9086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9087 /* end confdefs.h. */
9090 main ()
9094 return 0;
9096 _ACEOF
9097 if ac_fn_c_try_link "$LINENO"; then :
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9099 $as_echo "no" >&6; }
9100 X_LIBS="$X_LIBS -R$x_libraries"
9101 else
9102 LIBS="$ac_xsave_LIBS -R $x_libraries"
9103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9107 main ()
9111 return 0;
9113 _ACEOF
9114 if ac_fn_c_try_link "$LINENO"; then :
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9116 $as_echo "yes" >&6; }
9117 X_LIBS="$X_LIBS -R $x_libraries"
9118 else
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9120 $as_echo "neither works" >&6; }
9122 rm -f core conftest.err conftest.$ac_objext \
9123 conftest$ac_exeext conftest.$ac_ext
9125 rm -f core conftest.err conftest.$ac_objext \
9126 conftest$ac_exeext conftest.$ac_ext
9127 ac_c_werror_flag=$ac_xsave_c_werror_flag
9128 LIBS=$ac_xsave_LIBS
9131 # Check for system-dependent libraries X programs must link with.
9132 # Do this before checking for the system-independent R6 libraries
9133 # (-lICE), since we may need -lsocket or whatever for X linking.
9135 if test "$ISC" = yes; then
9136 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9137 else
9138 # Martyn Johnson says this is needed for Ultrix, if the X
9139 # libraries were built with DECnet support. And Karl Berry says
9140 # the Alpha needs dnet_stub (dnet does not exist).
9141 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9143 /* end confdefs.h. */
9145 /* Override any GCC internal prototype to avoid an error.
9146 Use char because int might match the return type of a GCC
9147 builtin and then its argument prototype would still apply. */
9148 #ifdef __cplusplus
9149 extern "C"
9150 #endif
9151 char XOpenDisplay ();
9153 main ()
9155 return XOpenDisplay ();
9157 return 0;
9159 _ACEOF
9160 if ac_fn_c_try_link "$LINENO"; then :
9162 else
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9164 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9165 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9166 $as_echo_n "(cached) " >&6
9167 else
9168 ac_check_lib_save_LIBS=$LIBS
9169 LIBS="-ldnet $LIBS"
9170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9171 /* end confdefs.h. */
9173 /* Override any GCC internal prototype to avoid an error.
9174 Use char because int might match the return type of a GCC
9175 builtin and then its argument prototype would still apply. */
9176 #ifdef __cplusplus
9177 extern "C"
9178 #endif
9179 char dnet_ntoa ();
9181 main ()
9183 return dnet_ntoa ();
9185 return 0;
9187 _ACEOF
9188 if ac_fn_c_try_link "$LINENO"; then :
9189 ac_cv_lib_dnet_dnet_ntoa=yes
9190 else
9191 ac_cv_lib_dnet_dnet_ntoa=no
9193 rm -f core conftest.err conftest.$ac_objext \
9194 conftest$ac_exeext conftest.$ac_ext
9195 LIBS=$ac_check_lib_save_LIBS
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9198 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9199 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9200 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9203 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9205 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9206 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9207 $as_echo_n "(cached) " >&6
9208 else
9209 ac_check_lib_save_LIBS=$LIBS
9210 LIBS="-ldnet_stub $LIBS"
9211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9212 /* end confdefs.h. */
9214 /* Override any GCC internal prototype to avoid an error.
9215 Use char because int might match the return type of a GCC
9216 builtin and then its argument prototype would still apply. */
9217 #ifdef __cplusplus
9218 extern "C"
9219 #endif
9220 char dnet_ntoa ();
9222 main ()
9224 return dnet_ntoa ();
9226 return 0;
9228 _ACEOF
9229 if ac_fn_c_try_link "$LINENO"; then :
9230 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9231 else
9232 ac_cv_lib_dnet_stub_dnet_ntoa=no
9234 rm -f core conftest.err conftest.$ac_objext \
9235 conftest$ac_exeext conftest.$ac_ext
9236 LIBS=$ac_check_lib_save_LIBS
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9239 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9240 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9241 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9246 rm -f core conftest.err conftest.$ac_objext \
9247 conftest$ac_exeext conftest.$ac_ext
9248 LIBS="$ac_xsave_LIBS"
9250 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9251 # to get the SysV transport functions.
9252 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9253 # needs -lnsl.
9254 # The nsl library prevents programs from opening the X display
9255 # on Irix 5.2, according to T.E. Dickey.
9256 # The functions gethostbyname, getservbyname, and inet_addr are
9257 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9258 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9259 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9263 if test $ac_cv_func_gethostbyname = no; then
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9265 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9266 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9267 $as_echo_n "(cached) " >&6
9268 else
9269 ac_check_lib_save_LIBS=$LIBS
9270 LIBS="-lnsl $LIBS"
9271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9272 /* end confdefs.h. */
9274 /* Override any GCC internal prototype to avoid an error.
9275 Use char because int might match the return type of a GCC
9276 builtin and then its argument prototype would still apply. */
9277 #ifdef __cplusplus
9278 extern "C"
9279 #endif
9280 char gethostbyname ();
9282 main ()
9284 return gethostbyname ();
9286 return 0;
9288 _ACEOF
9289 if ac_fn_c_try_link "$LINENO"; then :
9290 ac_cv_lib_nsl_gethostbyname=yes
9291 else
9292 ac_cv_lib_nsl_gethostbyname=no
9294 rm -f core conftest.err conftest.$ac_objext \
9295 conftest$ac_exeext conftest.$ac_ext
9296 LIBS=$ac_check_lib_save_LIBS
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9299 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9300 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9301 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9304 if test $ac_cv_lib_nsl_gethostbyname = no; then
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9306 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9307 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9308 $as_echo_n "(cached) " >&6
9309 else
9310 ac_check_lib_save_LIBS=$LIBS
9311 LIBS="-lbsd $LIBS"
9312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9313 /* end confdefs.h. */
9315 /* Override any GCC internal prototype to avoid an error.
9316 Use char because int might match the return type of a GCC
9317 builtin and then its argument prototype would still apply. */
9318 #ifdef __cplusplus
9319 extern "C"
9320 #endif
9321 char gethostbyname ();
9323 main ()
9325 return gethostbyname ();
9327 return 0;
9329 _ACEOF
9330 if ac_fn_c_try_link "$LINENO"; then :
9331 ac_cv_lib_bsd_gethostbyname=yes
9332 else
9333 ac_cv_lib_bsd_gethostbyname=no
9335 rm -f core conftest.err conftest.$ac_objext \
9336 conftest$ac_exeext conftest.$ac_ext
9337 LIBS=$ac_check_lib_save_LIBS
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9340 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9341 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9342 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9348 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9349 # socket/setsockopt and other routines are undefined under SCO ODT
9350 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9351 # on later versions), says Simon Leinen: it contains gethostby*
9352 # variants that don't use the name server (or something). -lsocket
9353 # must be given before -lnsl if both are needed. We assume that
9354 # if connect needs -lnsl, so does gethostbyname.
9355 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9356 if test "x$ac_cv_func_connect" = xyes; then :
9360 if test $ac_cv_func_connect = no; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9362 $as_echo_n "checking for connect in -lsocket... " >&6; }
9363 if ${ac_cv_lib_socket_connect+:} false; then :
9364 $as_echo_n "(cached) " >&6
9365 else
9366 ac_check_lib_save_LIBS=$LIBS
9367 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9369 /* end confdefs.h. */
9371 /* Override any GCC internal prototype to avoid an error.
9372 Use char because int might match the return type of a GCC
9373 builtin and then its argument prototype would still apply. */
9374 #ifdef __cplusplus
9375 extern "C"
9376 #endif
9377 char connect ();
9379 main ()
9381 return connect ();
9383 return 0;
9385 _ACEOF
9386 if ac_fn_c_try_link "$LINENO"; then :
9387 ac_cv_lib_socket_connect=yes
9388 else
9389 ac_cv_lib_socket_connect=no
9391 rm -f core conftest.err conftest.$ac_objext \
9392 conftest$ac_exeext conftest.$ac_ext
9393 LIBS=$ac_check_lib_save_LIBS
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9396 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9397 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9398 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9403 # Guillermo Gomez says -lposix is necessary on A/UX.
9404 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9405 if test "x$ac_cv_func_remove" = xyes; then :
9409 if test $ac_cv_func_remove = no; then
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9411 $as_echo_n "checking for remove in -lposix... " >&6; }
9412 if ${ac_cv_lib_posix_remove+:} false; then :
9413 $as_echo_n "(cached) " >&6
9414 else
9415 ac_check_lib_save_LIBS=$LIBS
9416 LIBS="-lposix $LIBS"
9417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9418 /* end confdefs.h. */
9420 /* Override any GCC internal prototype to avoid an error.
9421 Use char because int might match the return type of a GCC
9422 builtin and then its argument prototype would still apply. */
9423 #ifdef __cplusplus
9424 extern "C"
9425 #endif
9426 char remove ();
9428 main ()
9430 return remove ();
9432 return 0;
9434 _ACEOF
9435 if ac_fn_c_try_link "$LINENO"; then :
9436 ac_cv_lib_posix_remove=yes
9437 else
9438 ac_cv_lib_posix_remove=no
9440 rm -f core conftest.err conftest.$ac_objext \
9441 conftest$ac_exeext conftest.$ac_ext
9442 LIBS=$ac_check_lib_save_LIBS
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9445 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9446 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9447 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9452 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9453 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9454 if test "x$ac_cv_func_shmat" = xyes; then :
9458 if test $ac_cv_func_shmat = no; then
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9460 $as_echo_n "checking for shmat in -lipc... " >&6; }
9461 if ${ac_cv_lib_ipc_shmat+:} false; then :
9462 $as_echo_n "(cached) " >&6
9463 else
9464 ac_check_lib_save_LIBS=$LIBS
9465 LIBS="-lipc $LIBS"
9466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9469 /* Override any GCC internal prototype to avoid an error.
9470 Use char because int might match the return type of a GCC
9471 builtin and then its argument prototype would still apply. */
9472 #ifdef __cplusplus
9473 extern "C"
9474 #endif
9475 char shmat ();
9477 main ()
9479 return shmat ();
9481 return 0;
9483 _ACEOF
9484 if ac_fn_c_try_link "$LINENO"; then :
9485 ac_cv_lib_ipc_shmat=yes
9486 else
9487 ac_cv_lib_ipc_shmat=no
9489 rm -f core conftest.err conftest.$ac_objext \
9490 conftest$ac_exeext conftest.$ac_ext
9491 LIBS=$ac_check_lib_save_LIBS
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9494 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9495 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9496 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9502 # Check for libraries that X11R6 Xt/Xaw programs need.
9503 ac_save_LDFLAGS=$LDFLAGS
9504 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9505 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9506 # check for ICE first), but we must link in the order -lSM -lICE or
9507 # we get undefined symbols. So assume we have SM if we have ICE.
9508 # These have to be linked with before -lX11, unlike the other
9509 # libraries we check for below, so use a different variable.
9510 # John Interrante, Karl Berry
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9512 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9513 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9514 $as_echo_n "(cached) " >&6
9515 else
9516 ac_check_lib_save_LIBS=$LIBS
9517 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9519 /* end confdefs.h. */
9521 /* Override any GCC internal prototype to avoid an error.
9522 Use char because int might match the return type of a GCC
9523 builtin and then its argument prototype would still apply. */
9524 #ifdef __cplusplus
9525 extern "C"
9526 #endif
9527 char IceConnectionNumber ();
9529 main ()
9531 return IceConnectionNumber ();
9533 return 0;
9535 _ACEOF
9536 if ac_fn_c_try_link "$LINENO"; then :
9537 ac_cv_lib_ICE_IceConnectionNumber=yes
9538 else
9539 ac_cv_lib_ICE_IceConnectionNumber=no
9541 rm -f core conftest.err conftest.$ac_objext \
9542 conftest$ac_exeext conftest.$ac_ext
9543 LIBS=$ac_check_lib_save_LIBS
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9546 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9547 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9548 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9551 LDFLAGS=$ac_save_LDFLAGS
9556 if test "$have_x" = "yes"
9557 then
9558 ac_save_CPPFLAGS="$CPPFLAGS"
9559 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9562 $as_echo_n "checking for -lX11... " >&6; }
9563 if ${ac_cv_lib_soname_X11+:} false; then :
9564 $as_echo_n "(cached) " >&6
9565 else
9566 ac_check_soname_save_LIBS=$LIBS
9567 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9571 /* Override any GCC internal prototype to avoid an error.
9572 Use char because int might match the return type of a GCC
9573 builtin and then its argument prototype would still apply. */
9574 #ifdef __cplusplus
9575 extern "C"
9576 #endif
9577 char XCreateWindow ();
9579 main ()
9581 return XCreateWindow ();
9583 return 0;
9585 _ACEOF
9586 if ac_fn_c_try_link "$LINENO"; then :
9587 case "$LIBEXT" in
9588 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9589 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'` ;;
9590 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9591 if ${ac_cv_lib_soname_X11:+false} :; then :
9592 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9593 fi ;;
9594 esac
9596 rm -f core conftest.err conftest.$ac_objext \
9597 conftest$ac_exeext conftest.$ac_ext
9598 LIBS=$ac_check_soname_save_LIBS
9600 if ${ac_cv_lib_soname_X11:+false} :; then :
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9602 $as_echo "not found" >&6; }
9604 else
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9606 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9608 cat >>confdefs.h <<_ACEOF
9609 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9610 _ACEOF
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9615 $as_echo_n "checking for -lXext... " >&6; }
9616 if ${ac_cv_lib_soname_Xext+:} false; then :
9617 $as_echo_n "(cached) " >&6
9618 else
9619 ac_check_soname_save_LIBS=$LIBS
9620 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9622 /* end confdefs.h. */
9624 /* Override any GCC internal prototype to avoid an error.
9625 Use char because int might match the return type of a GCC
9626 builtin and then its argument prototype would still apply. */
9627 #ifdef __cplusplus
9628 extern "C"
9629 #endif
9630 char XextCreateExtension ();
9632 main ()
9634 return XextCreateExtension ();
9636 return 0;
9638 _ACEOF
9639 if ac_fn_c_try_link "$LINENO"; then :
9640 case "$LIBEXT" in
9641 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9642 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'` ;;
9643 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9644 if ${ac_cv_lib_soname_Xext:+false} :; then :
9645 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9646 fi ;;
9647 esac
9649 rm -f core conftest.err conftest.$ac_objext \
9650 conftest$ac_exeext conftest.$ac_ext
9651 LIBS=$ac_check_soname_save_LIBS
9653 if ${ac_cv_lib_soname_Xext:+false} :; then :
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9655 $as_echo "not found" >&6; }
9657 else
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9659 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9661 cat >>confdefs.h <<_ACEOF
9662 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9663 _ACEOF
9665 X_LIBS="$X_LIBS -lXext"
9667 X_LIBS="$X_LIBS -lX11"
9669 for ac_header in X11/Xlib.h \
9670 X11/XKBlib.h \
9671 X11/Xutil.h \
9672 X11/Xcursor/Xcursor.h \
9673 X11/extensions/shape.h \
9674 X11/extensions/XInput.h \
9675 X11/extensions/XInput2.h \
9676 X11/extensions/XShm.h \
9677 X11/extensions/Xcomposite.h \
9678 X11/extensions/Xinerama.h \
9679 X11/extensions/Xrandr.h \
9680 X11/extensions/Xrender.h \
9681 X11/extensions/xf86vmode.h \
9682 X11/extensions/xf86vmproto.h
9683 do :
9684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9685 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9686 # include <X11/Xlib.h>
9687 #endif
9688 #ifdef HAVE_X11_XUTIL_H
9689 # include <X11/Xutil.h>
9690 #endif
9692 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9693 cat >>confdefs.h <<_ACEOF
9694 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9695 _ACEOF
9699 done
9702 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9703 then
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9705 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9706 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9707 $as_echo_n "(cached) " >&6
9708 else
9709 ac_check_lib_save_LIBS=$LIBS
9710 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9712 /* end confdefs.h. */
9714 /* Override any GCC internal prototype to avoid an error.
9715 Use char because int might match the return type of a GCC
9716 builtin and then its argument prototype would still apply. */
9717 #ifdef __cplusplus
9718 extern "C"
9719 #endif
9720 char XkbQueryExtension ();
9722 main ()
9724 return XkbQueryExtension ();
9726 return 0;
9728 _ACEOF
9729 if ac_fn_c_try_link "$LINENO"; then :
9730 ac_cv_lib_X11_XkbQueryExtension=yes
9731 else
9732 ac_cv_lib_X11_XkbQueryExtension=no
9734 rm -f core conftest.err conftest.$ac_objext \
9735 conftest$ac_exeext conftest.$ac_ext
9736 LIBS=$ac_check_lib_save_LIBS
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9739 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9740 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9742 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9748 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9749 then
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9751 $as_echo_n "checking for -lXcursor... " >&6; }
9752 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9753 $as_echo_n "(cached) " >&6
9754 else
9755 ac_check_soname_save_LIBS=$LIBS
9756 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758 /* end confdefs.h. */
9760 /* Override any GCC internal prototype to avoid an error.
9761 Use char because int might match the return type of a GCC
9762 builtin and then its argument prototype would still apply. */
9763 #ifdef __cplusplus
9764 extern "C"
9765 #endif
9766 char XcursorImageLoadCursor ();
9768 main ()
9770 return XcursorImageLoadCursor ();
9772 return 0;
9774 _ACEOF
9775 if ac_fn_c_try_link "$LINENO"; then :
9776 case "$LIBEXT" in
9777 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9778 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'` ;;
9779 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9780 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9781 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9782 fi ;;
9783 esac
9785 rm -f core conftest.err conftest.$ac_objext \
9786 conftest$ac_exeext conftest.$ac_ext
9787 LIBS=$ac_check_soname_save_LIBS
9789 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9791 $as_echo "not found" >&6; }
9793 else
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9795 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9797 cat >>confdefs.h <<_ACEOF
9798 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9799 _ACEOF
9804 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9805 case "x$with_xcursor" in
9806 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9807 xno) ;;
9808 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9809 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9810 esac
9813 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9814 then
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9816 $as_echo_n "checking for -lXi... " >&6; }
9817 if ${ac_cv_lib_soname_Xi+:} false; then :
9818 $as_echo_n "(cached) " >&6
9819 else
9820 ac_check_soname_save_LIBS=$LIBS
9821 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9823 /* end confdefs.h. */
9825 /* Override any GCC internal prototype to avoid an error.
9826 Use char because int might match the return type of a GCC
9827 builtin and then its argument prototype would still apply. */
9828 #ifdef __cplusplus
9829 extern "C"
9830 #endif
9831 char XOpenDevice ();
9833 main ()
9835 return XOpenDevice ();
9837 return 0;
9839 _ACEOF
9840 if ac_fn_c_try_link "$LINENO"; then :
9841 case "$LIBEXT" in
9842 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9843 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'` ;;
9844 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9845 if ${ac_cv_lib_soname_Xi:+false} :; then :
9846 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9847 fi ;;
9848 esac
9850 rm -f core conftest.err conftest.$ac_objext \
9851 conftest$ac_exeext conftest.$ac_ext
9852 LIBS=$ac_check_soname_save_LIBS
9854 if ${ac_cv_lib_soname_Xi:+false} :; then :
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9856 $as_echo "not found" >&6; }
9858 else
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9860 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9862 cat >>confdefs.h <<_ACEOF
9863 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9864 _ACEOF
9869 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9870 case "x$with_xinput" in
9871 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9872 xno) ;;
9873 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9874 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9875 esac
9878 if test "x$ac_cv_lib_soname_Xi" != x
9879 then
9880 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9881 case "x$with_xinput2" in
9882 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9883 xno) ;;
9884 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9885 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9886 esac
9890 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9891 then
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9893 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9894 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9895 $as_echo_n "(cached) " >&6
9896 else
9897 ac_check_lib_save_LIBS=$LIBS
9898 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9900 /* end confdefs.h. */
9902 /* Override any GCC internal prototype to avoid an error.
9903 Use char because int might match the return type of a GCC
9904 builtin and then its argument prototype would still apply. */
9905 #ifdef __cplusplus
9906 extern "C"
9907 #endif
9908 char XShmQueryExtension ();
9910 main ()
9912 return XShmQueryExtension ();
9914 return 0;
9916 _ACEOF
9917 if ac_fn_c_try_link "$LINENO"; then :
9918 ac_cv_lib_Xext_XShmQueryExtension=yes
9919 else
9920 ac_cv_lib_Xext_XShmQueryExtension=no
9922 rm -f core conftest.err conftest.$ac_objext \
9923 conftest$ac_exeext conftest.$ac_ext
9924 LIBS=$ac_check_lib_save_LIBS
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9927 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9928 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9930 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9935 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9936 case "x$with_xshm" in
9937 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9938 xno) ;;
9939 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9940 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9941 esac
9944 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9945 then
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9947 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9948 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9949 $as_echo_n "(cached) " >&6
9950 else
9951 ac_check_lib_save_LIBS=$LIBS
9952 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9954 /* end confdefs.h. */
9956 /* Override any GCC internal prototype to avoid an error.
9957 Use char because int might match the return type of a GCC
9958 builtin and then its argument prototype would still apply. */
9959 #ifdef __cplusplus
9960 extern "C"
9961 #endif
9962 char XShapeQueryExtension ();
9964 main ()
9966 return XShapeQueryExtension ();
9968 return 0;
9970 _ACEOF
9971 if ac_fn_c_try_link "$LINENO"; then :
9972 ac_cv_lib_Xext_XShapeQueryExtension=yes
9973 else
9974 ac_cv_lib_Xext_XShapeQueryExtension=no
9976 rm -f core conftest.err conftest.$ac_objext \
9977 conftest$ac_exeext conftest.$ac_ext
9978 LIBS=$ac_check_lib_save_LIBS
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9981 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9982 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9984 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9989 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9990 case "x$with_xshape" in
9991 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9992 xno) ;;
9993 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9994 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9995 esac
9998 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9999 then
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10001 $as_echo_n "checking for -lXxf86vm... " >&6; }
10002 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10003 $as_echo_n "(cached) " >&6
10004 else
10005 ac_check_soname_save_LIBS=$LIBS
10006 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10010 /* Override any GCC internal prototype to avoid an error.
10011 Use char because int might match the return type of a GCC
10012 builtin and then its argument prototype would still apply. */
10013 #ifdef __cplusplus
10014 extern "C"
10015 #endif
10016 char XF86VidModeQueryExtension ();
10018 main ()
10020 return XF86VidModeQueryExtension ();
10022 return 0;
10024 _ACEOF
10025 if ac_fn_c_try_link "$LINENO"; then :
10026 case "$LIBEXT" in
10027 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10028 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'` ;;
10029 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10030 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10031 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10032 fi ;;
10033 esac
10035 rm -f core conftest.err conftest.$ac_objext \
10036 conftest$ac_exeext conftest.$ac_ext
10037 LIBS=$ac_check_soname_save_LIBS
10039 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10041 $as_echo "not found" >&6; }
10043 else
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10045 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10047 cat >>confdefs.h <<_ACEOF
10048 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10049 _ACEOF
10054 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10055 case "x$with_xxf86vm" in
10056 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10057 xno) ;;
10058 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10059 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10060 esac
10063 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10064 then
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10066 $as_echo_n "checking for -lXrender... " >&6; }
10067 if ${ac_cv_lib_soname_Xrender+:} false; then :
10068 $as_echo_n "(cached) " >&6
10069 else
10070 ac_check_soname_save_LIBS=$LIBS
10071 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10075 /* Override any GCC internal prototype to avoid an error.
10076 Use char because int might match the return type of a GCC
10077 builtin and then its argument prototype would still apply. */
10078 #ifdef __cplusplus
10079 extern "C"
10080 #endif
10081 char XRenderQueryExtension ();
10083 main ()
10085 return XRenderQueryExtension ();
10087 return 0;
10089 _ACEOF
10090 if ac_fn_c_try_link "$LINENO"; then :
10091 case "$LIBEXT" in
10092 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10093 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'` ;;
10094 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10095 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10096 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10097 fi ;;
10098 esac
10100 rm -f core conftest.err conftest.$ac_objext \
10101 conftest$ac_exeext conftest.$ac_ext
10102 LIBS=$ac_check_soname_save_LIBS
10104 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10106 $as_echo "not found" >&6; }
10108 else
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10110 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10112 cat >>confdefs.h <<_ACEOF
10113 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10114 _ACEOF
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10117 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10118 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10119 $as_echo_n "(cached) " >&6
10120 else
10121 ac_check_lib_save_LIBS=$LIBS
10122 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10124 /* end confdefs.h. */
10126 /* Override any GCC internal prototype to avoid an error.
10127 Use char because int might match the return type of a GCC
10128 builtin and then its argument prototype would still apply. */
10129 #ifdef __cplusplus
10130 extern "C"
10131 #endif
10132 char XRenderSetPictureTransform ();
10134 main ()
10136 return XRenderSetPictureTransform ();
10138 return 0;
10140 _ACEOF
10141 if ac_fn_c_try_link "$LINENO"; then :
10142 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10143 else
10144 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10146 rm -f core conftest.err conftest.$ac_objext \
10147 conftest$ac_exeext conftest.$ac_ext
10148 LIBS=$ac_check_lib_save_LIBS
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10151 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10152 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10154 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10159 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10160 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10161 $as_echo_n "(cached) " >&6
10162 else
10163 ac_check_lib_save_LIBS=$LIBS
10164 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10168 /* Override any GCC internal prototype to avoid an error.
10169 Use char because int might match the return type of a GCC
10170 builtin and then its argument prototype would still apply. */
10171 #ifdef __cplusplus
10172 extern "C"
10173 #endif
10174 char XRenderCreateLinearGradient ();
10176 main ()
10178 return XRenderCreateLinearGradient ();
10180 return 0;
10182 _ACEOF
10183 if ac_fn_c_try_link "$LINENO"; then :
10184 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10185 else
10186 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10188 rm -f core conftest.err conftest.$ac_objext \
10189 conftest$ac_exeext conftest.$ac_ext
10190 LIBS=$ac_check_lib_save_LIBS
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10193 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10194 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10196 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10203 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10204 case "x$with_xrender" in
10205 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10206 xno) ;;
10207 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10208 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10209 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
10309 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10310 then
10311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10313 #include <X11/Xlib.h>
10314 #include <X11/extensions/Xinerama.h>
10316 main ()
10318 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10320 return 0;
10322 _ACEOF
10323 if ac_fn_c_try_compile "$LINENO"; then :
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10325 $as_echo_n "checking for -lXinerama... " >&6; }
10326 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10327 $as_echo_n "(cached) " >&6
10328 else
10329 ac_check_soname_save_LIBS=$LIBS
10330 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10332 /* end confdefs.h. */
10334 /* Override any GCC internal prototype to avoid an error.
10335 Use char because int might match the return type of a GCC
10336 builtin and then its argument prototype would still apply. */
10337 #ifdef __cplusplus
10338 extern "C"
10339 #endif
10340 char XineramaQueryScreens ();
10342 main ()
10344 return XineramaQueryScreens ();
10346 return 0;
10348 _ACEOF
10349 if ac_fn_c_try_link "$LINENO"; then :
10350 case "$LIBEXT" in
10351 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10352 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'` ;;
10353 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10354 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10355 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10356 fi ;;
10357 esac
10359 rm -f core conftest.err conftest.$ac_objext \
10360 conftest$ac_exeext conftest.$ac_ext
10361 LIBS=$ac_check_soname_save_LIBS
10363 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10365 $as_echo "not found" >&6; }
10367 else
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10369 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10371 cat >>confdefs.h <<_ACEOF
10372 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10373 _ACEOF
10378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10380 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10381 case "x$with_xinerama" in
10382 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10383 xno) ;;
10384 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10385 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10386 esac
10389 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10390 then
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10392 $as_echo_n "checking for -lXcomposite... " >&6; }
10393 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10394 $as_echo_n "(cached) " >&6
10395 else
10396 ac_check_soname_save_LIBS=$LIBS
10397 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10399 /* end confdefs.h. */
10401 /* Override any GCC internal prototype to avoid an error.
10402 Use char because int might match the return type of a GCC
10403 builtin and then its argument prototype would still apply. */
10404 #ifdef __cplusplus
10405 extern "C"
10406 #endif
10407 char XCompositeRedirectWindow ();
10409 main ()
10411 return XCompositeRedirectWindow ();
10413 return 0;
10415 _ACEOF
10416 if ac_fn_c_try_link "$LINENO"; then :
10417 case "$LIBEXT" in
10418 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10419 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'` ;;
10420 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10421 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10422 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10423 fi ;;
10424 esac
10426 rm -f core conftest.err conftest.$ac_objext \
10427 conftest$ac_exeext conftest.$ac_ext
10428 LIBS=$ac_check_soname_save_LIBS
10430 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10432 $as_echo "not found" >&6; }
10434 else
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10436 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10438 cat >>confdefs.h <<_ACEOF
10439 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10440 _ACEOF
10445 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10446 case "x$with_xcomposite" in
10447 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10448 xno) ;;
10449 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10450 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10451 esac
10454 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10455 #include <X11/Xlib.h>
10456 #endif
10458 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10460 cat >>confdefs.h <<_ACEOF
10461 #define HAVE_XICCALLBACK_CALLBACK 1
10462 _ACEOF
10466 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10467 #include <X11/Xlib.h>
10468 #endif
10470 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10472 cat >>confdefs.h <<_ACEOF
10473 #define HAVE_XEVENT_XCOOKIE 1
10474 _ACEOF
10481 opengl_msg=""
10482 if test "x$with_opengl" != "xno"
10483 then
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10485 $as_echo_n "checking for -lGL... " >&6; }
10486 if ${ac_cv_lib_soname_GL+:} false; then :
10487 $as_echo_n "(cached) " >&6
10488 else
10489 ac_check_soname_save_LIBS=$LIBS
10490 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10492 /* end confdefs.h. */
10494 /* Override any GCC internal prototype to avoid an error.
10495 Use char because int might match the return type of a GCC
10496 builtin and then its argument prototype would still apply. */
10497 #ifdef __cplusplus
10498 extern "C"
10499 #endif
10500 char glXCreateContext ();
10502 main ()
10504 return glXCreateContext ();
10506 return 0;
10508 _ACEOF
10509 if ac_fn_c_try_link "$LINENO"; then :
10510 case "$LIBEXT" in
10511 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10512 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'` ;;
10513 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10514 if ${ac_cv_lib_soname_GL:+false} :; then :
10515 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10516 fi ;;
10517 esac
10519 rm -f core conftest.err conftest.$ac_objext \
10520 conftest$ac_exeext conftest.$ac_ext
10521 LIBS=$ac_check_soname_save_LIBS
10523 if ${ac_cv_lib_soname_GL:+false} :; then :
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10525 $as_echo "not found" >&6; }
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10527 $as_echo_n "checking for -lGL... " >&6; }
10528 if ${ac_cv_lib_soname_GL+:} false; then :
10529 $as_echo_n "(cached) " >&6
10530 else
10531 ac_check_soname_save_LIBS=$LIBS
10532 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"
10533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10534 /* end confdefs.h. */
10536 /* Override any GCC internal prototype to avoid an error.
10537 Use char because int might match the return type of a GCC
10538 builtin and then its argument prototype would still apply. */
10539 #ifdef __cplusplus
10540 extern "C"
10541 #endif
10542 char glXCreateContext ();
10544 main ()
10546 return glXCreateContext ();
10548 return 0;
10550 _ACEOF
10551 if ac_fn_c_try_link "$LINENO"; then :
10552 case "$LIBEXT" in
10553 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10554 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'` ;;
10555 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10556 if ${ac_cv_lib_soname_GL:+false} :; then :
10557 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10558 fi ;;
10559 esac
10561 rm -f core conftest.err conftest.$ac_objext \
10562 conftest$ac_exeext conftest.$ac_ext
10563 LIBS=$ac_check_soname_save_LIBS
10565 if ${ac_cv_lib_soname_GL:+false} :; then :
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10567 $as_echo "not found" >&6; }
10568 if test -f /usr/X11R6/lib/libGL.a
10569 then
10570 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10571 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10572 else
10573 opengl_msg="No OpenGL library found on this system."
10575 else
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10577 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10579 cat >>confdefs.h <<_ACEOF
10580 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10581 _ACEOF
10583 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"
10585 else
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10587 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10589 cat >>confdefs.h <<_ACEOF
10590 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10591 _ACEOF
10593 OPENGL_LIBS="-lGL"
10595 if test "x$with_glu" != "xno"
10596 then
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10598 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10599 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10600 $as_echo_n "(cached) " >&6
10601 else
10602 ac_check_lib_save_LIBS=$LIBS
10603 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10605 /* end confdefs.h. */
10607 /* Override any GCC internal prototype to avoid an error.
10608 Use char because int might match the return type of a GCC
10609 builtin and then its argument prototype would still apply. */
10610 #ifdef __cplusplus
10611 extern "C"
10612 #endif
10613 char gluLookAt ();
10615 main ()
10617 return gluLookAt ();
10619 return 0;
10621 _ACEOF
10622 if ac_fn_c_try_link "$LINENO"; then :
10623 ac_cv_lib_GLU_gluLookAt=yes
10624 else
10625 ac_cv_lib_GLU_gluLookAt=no
10627 rm -f core conftest.err conftest.$ac_objext \
10628 conftest$ac_exeext conftest.$ac_ext
10629 LIBS=$ac_check_lib_save_LIBS
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10632 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10633 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10637 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10638 case "x$with_glu" in
10639 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10640 xno) ;;
10641 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10642 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10643 esac
10647 if test "x$with_osmesa" != "xno"
10648 then
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10650 $as_echo_n "checking for -lOSMesa... " >&6; }
10651 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10652 $as_echo_n "(cached) " >&6
10653 else
10654 ac_check_soname_save_LIBS=$LIBS
10655 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10659 /* Override any GCC internal prototype to avoid an error.
10660 Use char because int might match the return type of a GCC
10661 builtin and then its argument prototype would still apply. */
10662 #ifdef __cplusplus
10663 extern "C"
10664 #endif
10665 char glAccum ();
10667 main ()
10669 return glAccum ();
10671 return 0;
10673 _ACEOF
10674 if ac_fn_c_try_link "$LINENO"; then :
10675 case "$LIBEXT" in
10676 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10677 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'` ;;
10678 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10679 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10680 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10681 fi ;;
10682 esac
10684 rm -f core conftest.err conftest.$ac_objext \
10685 conftest$ac_exeext conftest.$ac_ext
10686 LIBS=$ac_check_soname_save_LIBS
10688 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10690 $as_echo "not found" >&6; }
10692 else
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10694 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10696 cat >>confdefs.h <<_ACEOF
10697 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10698 _ACEOF
10702 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10703 case "x$with_osmesa" in
10704 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10705 xno) ;;
10706 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10707 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10708 esac
10712 if test -n "$opengl_msg"; then :
10713 case "x$with_opengl" in
10714 x) as_fn_append wine_warnings "|$opengl_msg
10715 OpenGL and Direct3D won't be supported." ;;
10716 xno) ;;
10717 *) as_fn_error $? "$opengl_msg
10718 OpenGL and Direct3D won't be supported.
10719 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10720 esac
10723 CPPFLAGS="$ac_save_CPPFLAGS"
10724 else
10725 X_CFLAGS=""
10726 X_LIBS=""
10727 enable_winex11_drv=${enable_winex11_drv:-no}
10729 if test "x$X_LIBS" = "x"; then :
10730 case "x$with_x" in
10731 xno) ;;
10732 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10733 without X support, which probably isn't what you want. You will need
10734 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10735 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10736 esac
10739 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10741 if test "$ac_cv_header_CL_cl_h" = "yes"
10742 then
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10744 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10745 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10746 $as_echo_n "(cached) " >&6
10747 else
10748 ac_check_lib_save_LIBS=$LIBS
10749 LIBS="-lOpenCL $LIBS"
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10756 #ifdef __cplusplus
10757 extern "C"
10758 #endif
10759 char clGetPlatformInfo ();
10761 main ()
10763 return clGetPlatformInfo ();
10765 return 0;
10767 _ACEOF
10768 if ac_fn_c_try_link "$LINENO"; then :
10769 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10770 else
10771 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10773 rm -f core conftest.err conftest.$ac_objext \
10774 conftest$ac_exeext conftest.$ac_ext
10775 LIBS=$ac_check_lib_save_LIBS
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10778 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10779 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10780 OPENCL_LIBS="-lOpenCL"
10785 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10786 case "x$with_opencl" in
10787 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10788 xno) ;;
10789 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10790 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10791 esac
10793 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10795 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10796 then
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10798 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10799 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10800 $as_echo_n "(cached) " >&6
10801 else
10802 ac_check_lib_save_LIBS=$LIBS
10803 LIBS="-lpcap $LIBS"
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10807 /* Override any GCC internal prototype to avoid an error.
10808 Use char because int might match the return type of a GCC
10809 builtin and then its argument prototype would still apply. */
10810 #ifdef __cplusplus
10811 extern "C"
10812 #endif
10813 char pcap_create ();
10815 main ()
10817 return pcap_create ();
10819 return 0;
10821 _ACEOF
10822 if ac_fn_c_try_link "$LINENO"; then :
10823 ac_cv_lib_pcap_pcap_create=yes
10824 else
10825 ac_cv_lib_pcap_pcap_create=no
10827 rm -f core conftest.err conftest.$ac_objext \
10828 conftest$ac_exeext conftest.$ac_ext
10829 LIBS=$ac_check_lib_save_LIBS
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10832 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10833 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10834 PCAP_LIBS="-lpcap"
10839 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10840 case "x$with_pcap" in
10841 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10842 xno) ;;
10843 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10844 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10845 esac
10847 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10850 if test "x$with_xml" != "xno"
10851 then
10852 if ${XML2_CFLAGS:+false} :; then :
10853 if ${PKG_CONFIG+:} false; then :
10854 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10857 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10858 if ${XML2_LIBS:+false} :; then :
10859 if ${PKG_CONFIG+:} false; then :
10860 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10863 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10864 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10865 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10866 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10867 ac_save_CPPFLAGS=$CPPFLAGS
10868 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10869 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10870 do :
10871 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10872 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10873 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10874 cat >>confdefs.h <<_ACEOF
10875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10876 _ACEOF
10880 done
10882 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"
10883 then
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10885 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10886 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10887 $as_echo_n "(cached) " >&6
10888 else
10889 ac_check_lib_save_LIBS=$LIBS
10890 LIBS="-lxml2 $XML2_LIBS $LIBS"
10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10894 /* Override any GCC internal prototype to avoid an error.
10895 Use char because int might match the return type of a GCC
10896 builtin and then its argument prototype would still apply. */
10897 #ifdef __cplusplus
10898 extern "C"
10899 #endif
10900 char xmlParseMemory ();
10902 main ()
10904 return xmlParseMemory ();
10906 return 0;
10908 _ACEOF
10909 if ac_fn_c_try_link "$LINENO"; then :
10910 ac_cv_lib_xml2_xmlParseMemory=yes
10911 else
10912 ac_cv_lib_xml2_xmlParseMemory=no
10914 rm -f core conftest.err conftest.$ac_objext \
10915 conftest$ac_exeext conftest.$ac_ext
10916 LIBS=$ac_check_lib_save_LIBS
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10919 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10920 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10922 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10924 else
10925 XML2_LIBS=""
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10929 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10930 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10931 $as_echo_n "(cached) " >&6
10932 else
10933 ac_check_lib_save_LIBS=$LIBS
10934 LIBS="-lxml2 $XML2_LIBS $LIBS"
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10938 /* Override any GCC internal prototype to avoid an error.
10939 Use char because int might match the return type of a GCC
10940 builtin and then its argument prototype would still apply. */
10941 #ifdef __cplusplus
10942 extern "C"
10943 #endif
10944 char xmlReadMemory ();
10946 main ()
10948 return xmlReadMemory ();
10950 return 0;
10952 _ACEOF
10953 if ac_fn_c_try_link "$LINENO"; then :
10954 ac_cv_lib_xml2_xmlReadMemory=yes
10955 else
10956 ac_cv_lib_xml2_xmlReadMemory=no
10958 rm -f core conftest.err conftest.$ac_objext \
10959 conftest$ac_exeext conftest.$ac_ext
10960 LIBS=$ac_check_lib_save_LIBS
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10963 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10964 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10966 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10971 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10972 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10973 $as_echo_n "(cached) " >&6
10974 else
10975 ac_check_lib_save_LIBS=$LIBS
10976 LIBS="-lxml2 $XML2_LIBS $LIBS"
10977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h. */
10980 /* Override any GCC internal prototype to avoid an error.
10981 Use char because int might match the return type of a GCC
10982 builtin and then its argument prototype would still apply. */
10983 #ifdef __cplusplus
10984 extern "C"
10985 #endif
10986 char xmlNewDocPI ();
10988 main ()
10990 return xmlNewDocPI ();
10992 return 0;
10994 _ACEOF
10995 if ac_fn_c_try_link "$LINENO"; then :
10996 ac_cv_lib_xml2_xmlNewDocPI=yes
10997 else
10998 ac_cv_lib_xml2_xmlNewDocPI=no
11000 rm -f core conftest.err conftest.$ac_objext \
11001 conftest$ac_exeext conftest.$ac_ext
11002 LIBS=$ac_check_lib_save_LIBS
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11005 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11006 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11008 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11013 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11014 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11015 $as_echo_n "(cached) " >&6
11016 else
11017 ac_check_lib_save_LIBS=$LIBS
11018 LIBS="-lxml2 $XML2_LIBS $LIBS"
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11022 /* Override any GCC internal prototype to avoid an error.
11023 Use char because int might match the return type of a GCC
11024 builtin and then its argument prototype would still apply. */
11025 #ifdef __cplusplus
11026 extern "C"
11027 #endif
11028 char xmlSchemaSetParserStructuredErrors ();
11030 main ()
11032 return xmlSchemaSetParserStructuredErrors ();
11034 return 0;
11036 _ACEOF
11037 if ac_fn_c_try_link "$LINENO"; then :
11038 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11039 else
11040 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11042 rm -f core conftest.err conftest.$ac_objext \
11043 conftest$ac_exeext conftest.$ac_ext
11044 LIBS=$ac_check_lib_save_LIBS
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11047 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11048 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11050 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11055 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11056 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11057 $as_echo_n "(cached) " >&6
11058 else
11059 ac_check_lib_save_LIBS=$LIBS
11060 LIBS="-lxml2 $XML2_LIBS $LIBS"
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11064 /* Override any GCC internal prototype to avoid an error.
11065 Use char because int might match the return type of a GCC
11066 builtin and then its argument prototype would still apply. */
11067 #ifdef __cplusplus
11068 extern "C"
11069 #endif
11070 char xmlSchemaSetValidStructuredErrors ();
11072 main ()
11074 return xmlSchemaSetValidStructuredErrors ();
11076 return 0;
11078 _ACEOF
11079 if ac_fn_c_try_link "$LINENO"; then :
11080 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11081 else
11082 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11084 rm -f core conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_lib_save_LIBS
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11089 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11090 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11092 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11097 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11098 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11099 $as_echo_n "(cached) " >&6
11100 else
11101 ac_check_lib_save_LIBS=$LIBS
11102 LIBS="-lxml2 $XML2_LIBS $LIBS"
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11106 /* Override any GCC internal prototype to avoid an error.
11107 Use char because int might match the return type of a GCC
11108 builtin and then its argument prototype would still apply. */
11109 #ifdef __cplusplus
11110 extern "C"
11111 #endif
11112 char xmlFirstElementChild ();
11114 main ()
11116 return xmlFirstElementChild ();
11118 return 0;
11120 _ACEOF
11121 if ac_fn_c_try_link "$LINENO"; then :
11122 ac_cv_lib_xml2_xmlFirstElementChild=yes
11123 else
11124 ac_cv_lib_xml2_xmlFirstElementChild=no
11126 rm -f core conftest.err conftest.$ac_objext \
11127 conftest$ac_exeext conftest.$ac_ext
11128 LIBS=$ac_check_lib_save_LIBS
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11131 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11132 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11134 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11138 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11140 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11142 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11146 else
11147 XML2_CFLAGS=""
11148 XML2_LIBS=""
11150 CPPFLAGS=$ac_save_CPPFLAGS
11151 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11152 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11155 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11156 case "x$with_xml" in
11157 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11158 xno) ;;
11159 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11160 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11161 esac
11164 if test "x$with_xslt" != "xno"
11165 then
11166 if ${XSLT_CFLAGS:+false} :; then :
11167 if ${PKG_CONFIG+:} false; then :
11168 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11171 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11172 if ${XSLT_LIBS:+false} :; then :
11173 if ${PKG_CONFIG+:} false; then :
11174 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11177 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11178 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11179 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11180 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11181 ac_save_CPPFLAGS=$CPPFLAGS
11182 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11183 for ac_header in libxslt/pattern.h libxslt/transform.h
11184 do :
11185 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11186 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11187 # include <libxslt/pattern.h>
11188 #endif
11190 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11191 cat >>confdefs.h <<_ACEOF
11192 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11193 _ACEOF
11197 done
11199 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11200 then
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11202 $as_echo_n "checking for -lxslt... " >&6; }
11203 if ${ac_cv_lib_soname_xslt+:} false; then :
11204 $as_echo_n "(cached) " >&6
11205 else
11206 ac_check_soname_save_LIBS=$LIBS
11207 LIBS="-lxslt $XSLT_LIBS $LIBS"
11208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11214 #ifdef __cplusplus
11215 extern "C"
11216 #endif
11217 char xsltCompilePattern ();
11219 main ()
11221 return xsltCompilePattern ();
11223 return 0;
11225 _ACEOF
11226 if ac_fn_c_try_link "$LINENO"; then :
11227 case "$LIBEXT" in
11228 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11229 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'` ;;
11230 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11231 if ${ac_cv_lib_soname_xslt:+false} :; then :
11232 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11233 fi ;;
11234 esac
11236 rm -f core conftest.err conftest.$ac_objext \
11237 conftest$ac_exeext conftest.$ac_ext
11238 LIBS=$ac_check_soname_save_LIBS
11240 if ${ac_cv_lib_soname_xslt:+false} :; then :
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11242 $as_echo "not found" >&6; }
11244 else
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11246 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11248 cat >>confdefs.h <<_ACEOF
11249 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11250 _ACEOF
11254 else
11255 XSLT_CFLAGS=""
11257 CPPFLAGS=$ac_save_CPPFLAGS
11258 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11259 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11262 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11263 case "x$with_xslt" in
11264 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11265 xno) ;;
11266 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11267 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11268 esac
11271 if test "x$with_dbus" != "xno"
11272 then
11273 if ${DBUS_CFLAGS:+false} :; then :
11274 if ${PKG_CONFIG+:} false; then :
11275 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11279 if ${DBUS_LIBS:+false} :; then :
11280 if ${PKG_CONFIG+:} false; then :
11281 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11286 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11287 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11288 ac_save_CPPFLAGS=$CPPFLAGS
11289 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11290 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11291 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11293 $as_echo_n "checking for -ldbus-1... " >&6; }
11294 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11295 $as_echo_n "(cached) " >&6
11296 else
11297 ac_check_soname_save_LIBS=$LIBS
11298 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11302 /* Override any GCC internal prototype to avoid an error.
11303 Use char because int might match the return type of a GCC
11304 builtin and then its argument prototype would still apply. */
11305 #ifdef __cplusplus
11306 extern "C"
11307 #endif
11308 char dbus_connection_close ();
11310 main ()
11312 return dbus_connection_close ();
11314 return 0;
11316 _ACEOF
11317 if ac_fn_c_try_link "$LINENO"; then :
11318 case "$LIBEXT" in
11319 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11320 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'` ;;
11321 *) 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'`
11322 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11323 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11324 fi ;;
11325 esac
11327 rm -f core conftest.err conftest.$ac_objext \
11328 conftest$ac_exeext conftest.$ac_ext
11329 LIBS=$ac_check_soname_save_LIBS
11331 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11333 $as_echo "not found" >&6; }
11334 DBUS_CFLAGS=""
11335 else
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11337 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11339 cat >>confdefs.h <<_ACEOF
11340 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11341 _ACEOF
11345 else
11346 DBUS_CFLAGS=""
11350 CPPFLAGS=$ac_save_CPPFLAGS
11351 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11352 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11355 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11356 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11357 case "x$with_dbus" in
11358 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11359 xno) ;;
11360 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11361 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11362 esac
11365 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11366 then
11367 if ${HAL_CFLAGS:+false} :; then :
11368 if ${PKG_CONFIG+:} false; then :
11369 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11373 if ${HAL_LIBS:+false} :; then :
11374 if ${PKG_CONFIG+:} false; then :
11375 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11379 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11380 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11381 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11382 ac_save_CPPFLAGS=$CPPFLAGS
11383 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11384 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11385 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11387 $as_echo_n "checking for -lhal... " >&6; }
11388 if ${ac_cv_lib_soname_hal+:} false; then :
11389 $as_echo_n "(cached) " >&6
11390 else
11391 ac_check_soname_save_LIBS=$LIBS
11392 LIBS="-lhal $HAL_LIBS $LIBS"
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11399 #ifdef __cplusplus
11400 extern "C"
11401 #endif
11402 char libhal_ctx_new ();
11404 main ()
11406 return libhal_ctx_new ();
11408 return 0;
11410 _ACEOF
11411 if ac_fn_c_try_link "$LINENO"; then :
11412 case "$LIBEXT" in
11413 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11414 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'` ;;
11415 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11416 if ${ac_cv_lib_soname_hal:+false} :; then :
11417 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11418 fi ;;
11419 esac
11421 rm -f core conftest.err conftest.$ac_objext \
11422 conftest$ac_exeext conftest.$ac_ext
11423 LIBS=$ac_check_soname_save_LIBS
11425 if ${ac_cv_lib_soname_hal:+false} :; then :
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11427 $as_echo "not found" >&6; }
11428 HAL_CFLAGS=""
11429 else
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11431 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11433 cat >>confdefs.h <<_ACEOF
11434 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11435 _ACEOF
11439 else
11440 HAL_CFLAGS=""
11444 CPPFLAGS=$ac_save_CPPFLAGS
11445 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11446 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11448 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11449 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11450 case "x$with_hal" in
11451 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11452 xno) ;;
11453 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11454 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11455 esac
11459 if test "x$with_gnutls" != "xno"
11460 then
11461 if ${GNUTLS_CFLAGS:+false} :; then :
11462 if ${PKG_CONFIG+:} false; then :
11463 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11467 if ${GNUTLS_LIBS:+false} :; then :
11468 if ${PKG_CONFIG+:} false; then :
11469 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11474 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11475 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11476 ac_save_CPPFLAGS=$CPPFLAGS
11477 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11478 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11479 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11481 /* end confdefs.h. */
11482 #include <gnutls/gnutls.h>
11483 #include <gnutls/crypto.h>
11485 main ()
11487 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11489 return 0;
11491 _ACEOF
11492 if ac_fn_c_try_compile "$LINENO"; then :
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11494 $as_echo_n "checking for -lgnutls... " >&6; }
11495 if ${ac_cv_lib_soname_gnutls+:} false; then :
11496 $as_echo_n "(cached) " >&6
11497 else
11498 ac_check_soname_save_LIBS=$LIBS
11499 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11503 /* Override any GCC internal prototype to avoid an error.
11504 Use char because int might match the return type of a GCC
11505 builtin and then its argument prototype would still apply. */
11506 #ifdef __cplusplus
11507 extern "C"
11508 #endif
11509 char gnutls_global_init ();
11511 main ()
11513 return gnutls_global_init ();
11515 return 0;
11517 _ACEOF
11518 if ac_fn_c_try_link "$LINENO"; then :
11519 case "$LIBEXT" in
11520 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11521 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'` ;;
11522 *) 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'`
11523 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11524 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'`
11525 fi ;;
11526 esac
11528 rm -f core conftest.err conftest.$ac_objext \
11529 conftest$ac_exeext conftest.$ac_ext
11530 LIBS=$ac_check_soname_save_LIBS
11532 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11534 $as_echo "not found" >&6; }
11535 GNUTLS_CFLAGS=""
11536 else
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11538 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11540 cat >>confdefs.h <<_ACEOF
11541 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11542 _ACEOF
11546 ac_wine_check_funcs_save_LIBS="$LIBS"
11547 LIBS="$LIBS $GNUTLS_LIBS"
11548 for ac_func in gnutls_hash
11549 do :
11550 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11551 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11552 cat >>confdefs.h <<_ACEOF
11553 #define HAVE_GNUTLS_HASH 1
11554 _ACEOF
11556 else
11557 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11559 done
11561 LIBS="$ac_wine_check_funcs_save_LIBS"
11563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11564 else
11565 GNUTLS_CFLAGS=""
11569 CPPFLAGS=$ac_save_CPPFLAGS
11570 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11571 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11574 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11575 case "x$with_gnutls" in
11576 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11577 xno) ;;
11578 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11579 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11580 esac
11583 CURSES_LIBS=""
11584 if test "$ac_cv_header_ncurses_h" = "yes"
11585 then
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11587 $as_echo_n "checking for -lncurses... " >&6; }
11588 if ${ac_cv_lib_soname_ncurses+:} false; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 ac_check_soname_save_LIBS=$LIBS
11592 LIBS="-lncurses $LIBS"
11593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11594 /* end confdefs.h. */
11596 /* Override any GCC internal prototype to avoid an error.
11597 Use char because int might match the return type of a GCC
11598 builtin and then its argument prototype would still apply. */
11599 #ifdef __cplusplus
11600 extern "C"
11601 #endif
11602 char waddch ();
11604 main ()
11606 return waddch ();
11608 return 0;
11610 _ACEOF
11611 if ac_fn_c_try_link "$LINENO"; then :
11612 case "$LIBEXT" in
11613 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11614 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'` ;;
11615 *) 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'`
11616 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11617 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11618 fi ;;
11619 esac
11621 rm -f core conftest.err conftest.$ac_objext \
11622 conftest$ac_exeext conftest.$ac_ext
11623 LIBS=$ac_check_soname_save_LIBS
11625 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11627 $as_echo "not found" >&6; }
11629 else
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11631 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11633 cat >>confdefs.h <<_ACEOF
11634 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11635 _ACEOF
11637 CURSES_LIBS="-lncurses"
11639 elif test "$ac_cv_header_curses_h" = "yes"
11640 then
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11642 $as_echo_n "checking for -lcurses... " >&6; }
11643 if ${ac_cv_lib_soname_curses+:} false; then :
11644 $as_echo_n "(cached) " >&6
11645 else
11646 ac_check_soname_save_LIBS=$LIBS
11647 LIBS="-lcurses $LIBS"
11648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11649 /* end confdefs.h. */
11651 /* Override any GCC internal prototype to avoid an error.
11652 Use char because int might match the return type of a GCC
11653 builtin and then its argument prototype would still apply. */
11654 #ifdef __cplusplus
11655 extern "C"
11656 #endif
11657 char waddch ();
11659 main ()
11661 return waddch ();
11663 return 0;
11665 _ACEOF
11666 if ac_fn_c_try_link "$LINENO"; then :
11667 case "$LIBEXT" in
11668 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11669 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'` ;;
11670 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11671 if ${ac_cv_lib_soname_curses:+false} :; then :
11672 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11673 fi ;;
11674 esac
11676 rm -f core conftest.err conftest.$ac_objext \
11677 conftest$ac_exeext conftest.$ac_ext
11678 LIBS=$ac_check_soname_save_LIBS
11680 if ${ac_cv_lib_soname_curses:+false} :; then :
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11682 $as_echo "not found" >&6; }
11684 else
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11686 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11688 cat >>confdefs.h <<_ACEOF
11689 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11690 _ACEOF
11692 CURSES_LIBS="-lcurses"
11695 ac_save_LIBS="$LIBS"
11696 LIBS="$LIBS $CURSES_LIBS"
11697 for ac_func in mousemask
11698 do :
11699 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11700 if test "x$ac_cv_func_mousemask" = xyes; then :
11701 cat >>confdefs.h <<_ACEOF
11702 #define HAVE_MOUSEMASK 1
11703 _ACEOF
11706 done
11708 LIBS="$ac_save_LIBS"
11709 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11710 case "x$with_curses" in
11711 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11712 xno) ;;
11713 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11714 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11715 esac
11718 if test "x$with_sane" != "xno"
11719 then
11720 if ${SANE_CFLAGS:+false} :; then :
11721 if ${PKG_CONFIG+:} false; then :
11722 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11725 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11726 if ${SANE_LIBS:+false} :; then :
11727 if ${PKG_CONFIG+:} false; then :
11728 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11731 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11733 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11734 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11735 ac_save_CPPFLAGS=$CPPFLAGS
11736 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11737 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11738 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11740 $as_echo_n "checking for -lsane... " >&6; }
11741 if ${ac_cv_lib_soname_sane+:} false; then :
11742 $as_echo_n "(cached) " >&6
11743 else
11744 ac_check_soname_save_LIBS=$LIBS
11745 LIBS="-lsane $SANE_LIBS $LIBS"
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11749 /* Override any GCC internal prototype to avoid an error.
11750 Use char because int might match the return type of a GCC
11751 builtin and then its argument prototype would still apply. */
11752 #ifdef __cplusplus
11753 extern "C"
11754 #endif
11755 char sane_init ();
11757 main ()
11759 return sane_init ();
11761 return 0;
11763 _ACEOF
11764 if ac_fn_c_try_link "$LINENO"; then :
11765 case "$LIBEXT" in
11766 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11767 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'` ;;
11768 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11769 if ${ac_cv_lib_soname_sane:+false} :; then :
11770 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11771 fi ;;
11772 esac
11774 rm -f core conftest.err conftest.$ac_objext \
11775 conftest$ac_exeext conftest.$ac_ext
11776 LIBS=$ac_check_soname_save_LIBS
11778 if ${ac_cv_lib_soname_sane:+false} :; then :
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11780 $as_echo "not found" >&6; }
11781 SANE_CFLAGS=""
11782 else
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11784 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11786 cat >>confdefs.h <<_ACEOF
11787 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11788 _ACEOF
11792 else
11793 SANE_CFLAGS=""
11797 CPPFLAGS=$ac_save_CPPFLAGS
11798 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11799 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11802 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11803 case "x$with_sane" in
11804 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11805 xno) ;;
11806 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11807 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11808 esac
11811 if test "x$with_v4l" != "xno"
11812 then
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11814 $as_echo_n "checking for -lv4l1... " >&6; }
11815 if ${ac_cv_lib_soname_v4l1+:} false; then :
11816 $as_echo_n "(cached) " >&6
11817 else
11818 ac_check_soname_save_LIBS=$LIBS
11819 LIBS="-lv4l1 $LIBS"
11820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11823 /* Override any GCC internal prototype to avoid an error.
11824 Use char because int might match the return type of a GCC
11825 builtin and then its argument prototype would still apply. */
11826 #ifdef __cplusplus
11827 extern "C"
11828 #endif
11829 char v4l1_open ();
11831 main ()
11833 return v4l1_open ();
11835 return 0;
11837 _ACEOF
11838 if ac_fn_c_try_link "$LINENO"; then :
11839 case "$LIBEXT" in
11840 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11841 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'` ;;
11842 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11843 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11844 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11845 fi ;;
11846 esac
11848 rm -f core conftest.err conftest.$ac_objext \
11849 conftest$ac_exeext conftest.$ac_ext
11850 LIBS=$ac_check_soname_save_LIBS
11852 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11854 $as_echo "not found" >&6; }
11856 else
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11858 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11860 cat >>confdefs.h <<_ACEOF
11861 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11862 _ACEOF
11867 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11868 case "x$with_v4l" in
11869 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11870 xno) ;;
11871 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11872 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11873 esac
11876 if test "x$with_gphoto" != "xno"
11877 then
11878 if ${GPHOTO2_CFLAGS:+false} :; then :
11879 if ${PKG_CONFIG+:} false; then :
11880 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11883 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11884 if ${GPHOTO2_LIBS:+false} :; then :
11885 if ${PKG_CONFIG+:} false; then :
11886 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11889 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11890 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11891 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11892 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11893 ac_save_CPPFLAGS=$CPPFLAGS
11894 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11895 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11896 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11898 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11899 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11900 $as_echo_n "(cached) " >&6
11901 else
11902 ac_check_lib_save_LIBS=$LIBS
11903 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11907 /* Override any GCC internal prototype to avoid an error.
11908 Use char because int might match the return type of a GCC
11909 builtin and then its argument prototype would still apply. */
11910 #ifdef __cplusplus
11911 extern "C"
11912 #endif
11913 char gp_camera_new ();
11915 main ()
11917 return gp_camera_new ();
11919 return 0;
11921 _ACEOF
11922 if ac_fn_c_try_link "$LINENO"; then :
11923 ac_cv_lib_gphoto2_gp_camera_new=yes
11924 else
11925 ac_cv_lib_gphoto2_gp_camera_new=no
11927 rm -f core conftest.err conftest.$ac_objext \
11928 conftest$ac_exeext conftest.$ac_ext
11929 LIBS=$ac_check_lib_save_LIBS
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11932 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11933 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11935 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11937 else
11938 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11941 else
11942 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11946 CPPFLAGS=$ac_save_CPPFLAGS
11947 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11948 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11950 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11951 if ${PKG_CONFIG+:} false; then :
11952 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11955 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11956 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11957 if ${PKG_CONFIG+:} false; then :
11958 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11961 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
11962 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11963 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11964 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11965 ac_save_CPPFLAGS=$CPPFLAGS
11966 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11967 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11968 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11970 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11971 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11972 $as_echo_n "(cached) " >&6
11973 else
11974 ac_check_lib_save_LIBS=$LIBS
11975 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11977 /* end confdefs.h. */
11979 /* Override any GCC internal prototype to avoid an error.
11980 Use char because int might match the return type of a GCC
11981 builtin and then its argument prototype would still apply. */
11982 #ifdef __cplusplus
11983 extern "C"
11984 #endif
11985 char gp_port_info_list_new ();
11987 main ()
11989 return gp_port_info_list_new ();
11991 return 0;
11993 _ACEOF
11994 if ac_fn_c_try_link "$LINENO"; then :
11995 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11996 else
11997 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11999 rm -f core conftest.err conftest.$ac_objext \
12000 conftest$ac_exeext conftest.$ac_ext
12001 LIBS=$ac_check_lib_save_LIBS
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12004 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12005 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12007 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12009 else
12010 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12013 else
12014 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12018 CPPFLAGS=$ac_save_CPPFLAGS
12019 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12020 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12023 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12024 case "x$with_gphoto" in
12025 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12026 xno) ;;
12027 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12028 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12029 esac
12031 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12032 case "x$with_gphoto" in
12033 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12034 xno) ;;
12035 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12036 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12037 esac
12041 if test "$ac_cv_header_resolv_h" = "yes"
12042 then
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12044 $as_echo_n "checking for resolver library... " >&6; }
12045 if ${ac_cv_have_resolv+:} false; then :
12046 $as_echo_n "(cached) " >&6
12047 else
12048 ac_save_LIBS="$LIBS"
12049 for lib in '' -lresolv
12051 LIBS="$lib $ac_save_LIBS"
12052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12054 #ifdef HAVE_NETINET_IN_H
12055 #include <netinet/in.h>
12056 #endif
12057 #include <resolv.h>
12059 main ()
12061 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12063 return 0;
12065 _ACEOF
12066 if ac_fn_c_try_link "$LINENO"; then :
12067 ac_cv_have_resolv=${lib:-"none required"}
12068 else
12069 ac_cv_have_resolv="not found"
12071 rm -f core conftest.err conftest.$ac_objext \
12072 conftest$ac_exeext conftest.$ac_ext
12073 test "x$ac_cv_have_resolv" = "xnot found" || break
12074 done
12075 LIBS="$ac_save_LIBS"
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12078 $as_echo "$ac_cv_have_resolv" >&6; }
12080 case "$ac_cv_have_resolv" in
12081 "not found") ;;
12082 "none required")
12084 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12087 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12089 RESOLV_LIBS=$ac_cv_have_resolv
12091 esac
12094 if test "x$with_cms" != "xno"
12095 then
12096 if ${LCMS2_CFLAGS:+false} :; then :
12097 if ${PKG_CONFIG+:} false; then :
12098 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12102 if ${LCMS2_LIBS:+false} :; then :
12103 if ${PKG_CONFIG+:} false; then :
12104 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12108 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12109 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12110 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12111 ac_save_CPPFLAGS=$CPPFLAGS
12112 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12113 for ac_header in lcms2.h
12114 do :
12115 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12116 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12117 cat >>confdefs.h <<_ACEOF
12118 #define HAVE_LCMS2_H 1
12119 _ACEOF
12123 done
12125 if test "$ac_cv_header_lcms2_h" = "yes"
12126 then
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12128 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12129 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12130 $as_echo_n "(cached) " >&6
12131 else
12132 ac_check_lib_save_LIBS=$LIBS
12133 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12140 #ifdef __cplusplus
12141 extern "C"
12142 #endif
12143 char cmsOpenProfileFromFile ();
12145 main ()
12147 return cmsOpenProfileFromFile ();
12149 return 0;
12151 _ACEOF
12152 if ac_fn_c_try_link "$LINENO"; then :
12153 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12154 else
12155 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12157 rm -f core conftest.err conftest.$ac_objext \
12158 conftest$ac_exeext conftest.$ac_ext
12159 LIBS=$ac_check_lib_save_LIBS
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12162 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12163 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12165 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12167 else
12168 LCMS2_LIBS=""
12171 else
12172 LCMS2_CFLAGS=""
12173 LCMS2_LIBS=""
12175 CPPFLAGS=$ac_save_CPPFLAGS
12176 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12177 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12180 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12181 case "x$with_cms" in
12182 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12183 xno) ;;
12184 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12185 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12186 esac
12189 if test "x$with_freetype" != "xno"
12190 then
12191 if ${FREETYPE_CFLAGS:+false} :; then :
12192 if ${PKG_CONFIG+:} false; then :
12193 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12196 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12197 if ${FREETYPE_LIBS:+false} :; then :
12198 if ${PKG_CONFIG+:} false; then :
12199 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12202 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12203 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12204 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12205 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12206 ac_save_CPPFLAGS=$CPPFLAGS
12207 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12208 for ac_header in ft2build.h
12209 do :
12210 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12211 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12212 cat >>confdefs.h <<_ACEOF
12213 #define HAVE_FT2BUILD_H 1
12214 _ACEOF
12218 done
12220 if test "$ac_cv_header_ft2build_h" = "yes"
12221 then
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12223 $as_echo_n "checking for -lfreetype... " >&6; }
12224 if ${ac_cv_lib_soname_freetype+:} false; then :
12225 $as_echo_n "(cached) " >&6
12226 else
12227 ac_check_soname_save_LIBS=$LIBS
12228 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12230 /* end confdefs.h. */
12232 /* Override any GCC internal prototype to avoid an error.
12233 Use char because int might match the return type of a GCC
12234 builtin and then its argument prototype would still apply. */
12235 #ifdef __cplusplus
12236 extern "C"
12237 #endif
12238 char FT_Init_FreeType ();
12240 main ()
12242 return FT_Init_FreeType ();
12244 return 0;
12246 _ACEOF
12247 if ac_fn_c_try_link "$LINENO"; then :
12248 case "$LIBEXT" in
12249 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12250 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'` ;;
12251 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12252 if ${ac_cv_lib_soname_freetype:+false} :; then :
12253 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12254 fi ;;
12255 esac
12257 rm -f core conftest.err conftest.$ac_objext \
12258 conftest$ac_exeext conftest.$ac_ext
12259 LIBS=$ac_check_soname_save_LIBS
12261 if ${ac_cv_lib_soname_freetype:+false} :; then :
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12263 $as_echo "not found" >&6; }
12264 FREETYPE_LIBS=""
12265 else
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12267 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12269 cat >>confdefs.h <<_ACEOF
12270 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12271 _ACEOF
12274 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12276 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12277 #include FT_MODULE_H
12279 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12281 cat >>confdefs.h <<_ACEOF
12282 #define HAVE_FT_TRUETYPEENGINETYPE 1
12283 _ACEOF
12289 else
12290 FREETYPE_CFLAGS=""
12291 FREETYPE_LIBS=""
12293 CPPFLAGS=$ac_save_CPPFLAGS
12294 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12295 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12298 if test "x$ac_cv_lib_soname_freetype" = x; then :
12299 case "x$with_freetype" in
12300 xno) ;;
12301 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12302 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12303 esac
12305 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12308 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12309 if ${ac_cv_c_ppdev+:} false; then :
12310 $as_echo_n "(cached) " >&6
12311 else
12312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h. */
12314 #ifdef HAVE_SYS_IOCTL_H
12315 # include <sys/ioctl.h>
12316 #endif
12317 #include <linux/ppdev.h>
12319 main ()
12321 ioctl (1,PPCLAIM,0)
12323 return 0;
12325 _ACEOF
12326 if ac_fn_c_try_compile "$LINENO"; then :
12327 ac_cv_c_ppdev="yes"
12328 else
12329 ac_cv_c_ppdev="no"
12331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12334 $as_echo "$ac_cv_c_ppdev" >&6; }
12335 if test "$ac_cv_c_ppdev" = "yes"
12336 then
12338 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12342 ac_wine_check_funcs_save_LIBS="$LIBS"
12343 LIBS="$LIBS $PTHREAD_LIBS"
12344 for ac_func in \
12345 pthread_attr_get_np \
12346 pthread_getattr_np \
12347 pthread_getthreadid_np \
12348 pthread_get_stackaddr_np \
12349 pthread_get_stacksize_np
12350 do :
12351 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12352 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12353 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12354 cat >>confdefs.h <<_ACEOF
12355 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12356 _ACEOF
12359 done
12361 LIBS="$ac_wine_check_funcs_save_LIBS"
12363 if test "$ac_cv_header_zlib_h" = "yes"
12364 then
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12366 $as_echo_n "checking for inflate in -lz... " >&6; }
12367 if ${ac_cv_lib_z_inflate+:} false; then :
12368 $as_echo_n "(cached) " >&6
12369 else
12370 ac_check_lib_save_LIBS=$LIBS
12371 LIBS="-lz $LIBS"
12372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12373 /* end confdefs.h. */
12375 /* Override any GCC internal prototype to avoid an error.
12376 Use char because int might match the return type of a GCC
12377 builtin and then its argument prototype would still apply. */
12378 #ifdef __cplusplus
12379 extern "C"
12380 #endif
12381 char inflate ();
12383 main ()
12385 return inflate ();
12387 return 0;
12389 _ACEOF
12390 if ac_fn_c_try_link "$LINENO"; then :
12391 ac_cv_lib_z_inflate=yes
12392 else
12393 ac_cv_lib_z_inflate=no
12395 rm -f core conftest.err conftest.$ac_objext \
12396 conftest$ac_exeext conftest.$ac_ext
12397 LIBS=$ac_check_lib_save_LIBS
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12400 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12401 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12403 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12405 Z_LIBS="-lz"
12410 if test "x$Z_LIBS" = "x"; then :
12411 case "x$with_zlib" in
12412 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12413 xno) ;;
12414 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12415 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12416 esac
12419 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12420 then
12421 if test "$ac_cv_header_gettext_po_h" = "yes"
12422 then
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12424 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12425 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12426 $as_echo_n "(cached) " >&6
12427 else
12428 ac_check_lib_save_LIBS=$LIBS
12429 LIBS="-lgettextpo $LIBS"
12430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h. */
12433 /* Override any GCC internal prototype to avoid an error.
12434 Use char because int might match the return type of a GCC
12435 builtin and then its argument prototype would still apply. */
12436 #ifdef __cplusplus
12437 extern "C"
12438 #endif
12439 char po_message_msgctxt ();
12441 main ()
12443 return po_message_msgctxt ();
12445 return 0;
12447 _ACEOF
12448 if ac_fn_c_try_link "$LINENO"; then :
12449 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12450 else
12451 ac_cv_lib_gettextpo_po_message_msgctxt=no
12453 rm -f core conftest.err conftest.$ac_objext \
12454 conftest$ac_exeext conftest.$ac_ext
12455 LIBS=$ac_check_lib_save_LIBS
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12458 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12459 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12461 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12463 GETTEXTPO_LIBS="-lgettextpo"
12468 if test "x$GETTEXTPO_LIBS" = "x"; then :
12469 case "x$with_gettextpo" in
12470 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12471 xno) ;;
12472 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12473 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12474 esac
12476 if test "$srcdir" != .; then :
12477 case "x$with_gettextpo" in
12478 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12479 xno) ;;
12480 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12481 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12482 esac
12486 if test "x$with_pulse" != "xno";
12487 then
12488 if ${PULSE_CFLAGS:+false} :; then :
12489 if ${PKG_CONFIG+:} false; then :
12490 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12494 if ${PULSE_LIBS:+false} :; then :
12495 if ${PKG_CONFIG+:} false; then :
12496 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12501 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12502 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12503 ac_save_CPPFLAGS=$CPPFLAGS
12504 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12505 for ac_header in pulse/pulseaudio.h
12506 do :
12507 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12508 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12509 cat >>confdefs.h <<_ACEOF
12510 #define HAVE_PULSE_PULSEAUDIO_H 1
12511 _ACEOF
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12513 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12514 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12515 $as_echo_n "(cached) " >&6
12516 else
12517 ac_check_lib_save_LIBS=$LIBS
12518 LIBS="-lpulse $PULSE_LIBS $LIBS"
12519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h. */
12522 /* Override any GCC internal prototype to avoid an error.
12523 Use char because int might match the return type of a GCC
12524 builtin and then its argument prototype would still apply. */
12525 #ifdef __cplusplus
12526 extern "C"
12527 #endif
12528 char pa_stream_is_corked ();
12530 main ()
12532 return pa_stream_is_corked ();
12534 return 0;
12536 _ACEOF
12537 if ac_fn_c_try_link "$LINENO"; then :
12538 ac_cv_lib_pulse_pa_stream_is_corked=yes
12539 else
12540 ac_cv_lib_pulse_pa_stream_is_corked=no
12542 rm -f core conftest.err conftest.$ac_objext \
12543 conftest$ac_exeext conftest.$ac_ext
12544 LIBS=$ac_check_lib_save_LIBS
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12547 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12548 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12550 else
12551 PULSE_LIBS=""
12554 else
12555 PULSE_LIBS=""
12558 done
12560 CPPFLAGS=$ac_save_CPPFLAGS
12561 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12562 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12565 if test -z "$PULSE_LIBS"; then :
12566 case "x$with_pulse" in
12567 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12568 xno) ;;
12569 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12570 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12571 esac
12573 test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12575 if test "x$with_gstreamer" != "xno"
12576 then
12577 if ${GSTREAMER_CFLAGS:+false} :; then :
12578 if ${PKG_CONFIG+:} false; then :
12579 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12583 if ${GSTREAMER_LIBS:+false} :; then :
12584 if ${PKG_CONFIG+:} false; then :
12585 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12590 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12591 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12592 ac_save_CPPFLAGS=$CPPFLAGS
12593 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12594 ac_gst_incl=""
12595 for i in $GSTREAMER_CFLAGS
12597 case "$i" in
12598 -I*) ac_gst_incl="$ac_gst_incl $i";;
12599 esac
12600 done
12601 GSTREAMER_CFLAGS=$ac_gst_incl
12602 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12603 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12604 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12606 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12609 #include <gst/gst.h>
12611 main ()
12613 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12615 return 0;
12617 _ACEOF
12618 if ac_fn_c_try_compile "$LINENO"; then :
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12620 $as_echo "yes" >&6; }
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12622 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12623 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12624 $as_echo_n "(cached) " >&6
12625 else
12626 ac_check_lib_save_LIBS=$LIBS
12627 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 /* Override any GCC internal prototype to avoid an error.
12632 Use char because int might match the return type of a GCC
12633 builtin and then its argument prototype would still apply. */
12634 #ifdef __cplusplus
12635 extern "C"
12636 #endif
12637 char gst_pad_new ();
12639 main ()
12641 return gst_pad_new ();
12643 return 0;
12645 _ACEOF
12646 if ac_fn_c_try_link "$LINENO"; then :
12647 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12648 else
12649 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12651 rm -f core conftest.err conftest.$ac_objext \
12652 conftest$ac_exeext conftest.$ac_ext
12653 LIBS=$ac_check_lib_save_LIBS
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12656 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12657 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12661 else
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12663 $as_echo "no" >&6; }
12664 ac_glib2_broken=yes
12665 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12671 CPPFLAGS=$ac_save_CPPFLAGS
12672 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12673 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12676 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 :
12677 case "x$with_gstreamer" in
12678 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12679 xno) ;;
12680 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12681 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12682 esac
12684 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12686 ALSA_LIBS=""
12688 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12689 then
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12691 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12692 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12693 $as_echo_n "(cached) " >&6
12694 else
12695 ac_check_lib_save_LIBS=$LIBS
12696 LIBS="-lasound $LIBS"
12697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12698 /* end confdefs.h. */
12700 /* Override any GCC internal prototype to avoid an error.
12701 Use char because int might match the return type of a GCC
12702 builtin and then its argument prototype would still apply. */
12703 #ifdef __cplusplus
12704 extern "C"
12705 #endif
12706 char snd_pcm_hw_params_get_access_mask ();
12708 main ()
12710 return snd_pcm_hw_params_get_access_mask ();
12712 return 0;
12714 _ACEOF
12715 if ac_fn_c_try_link "$LINENO"; then :
12716 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12717 else
12718 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12720 rm -f core conftest.err conftest.$ac_objext \
12721 conftest$ac_exeext conftest.$ac_ext
12722 LIBS=$ac_check_lib_save_LIBS
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12725 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12726 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12728 /* end confdefs.h. */
12729 #ifdef HAVE_ALSA_ASOUNDLIB_H
12730 #include <alsa/asoundlib.h>
12731 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12732 #include <sys/asoundlib.h>
12733 #endif
12735 main ()
12737 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12739 return 0;
12741 _ACEOF
12742 if ac_fn_c_try_compile "$LINENO"; then :
12743 ALSA_LIBS="-lasound"
12745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12749 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12751 if test "x$with_oss" != xno
12752 then
12753 ac_save_CPPFLAGS="$CPPFLAGS"
12754 if test -f /etc/oss.conf
12755 then
12756 . /etc/oss.conf
12758 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12759 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12760 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12761 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12762 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12764 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12766 cat >>confdefs.h <<_ACEOF
12767 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12768 _ACEOF
12770 OSS4_CFLAGS="$ac_oss_incl"
12777 CPPFLAGS="$ac_save_CPPFLAGS"
12778 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12779 then
12780 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12783 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12785 if test "x$with_capi" != "xno"
12786 then
12787 if ${CAPI20_CFLAGS:+false} :; then :
12788 if ${PKG_CONFIG+:} false; then :
12789 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12793 if ${CAPI20_LIBS:+false} :; then :
12794 if ${PKG_CONFIG+:} false; then :
12795 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12800 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12801 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12802 ac_save_CPPFLAGS=$CPPFLAGS
12803 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12804 for ac_header in capi20.h linux/capi.h
12805 do :
12806 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12807 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12809 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12810 cat >>confdefs.h <<_ACEOF
12811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12812 _ACEOF
12816 done
12818 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12819 then
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12821 $as_echo_n "checking for -lcapi20... " >&6; }
12822 if ${ac_cv_lib_soname_capi20+:} false; then :
12823 $as_echo_n "(cached) " >&6
12824 else
12825 ac_check_soname_save_LIBS=$LIBS
12826 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12828 /* end confdefs.h. */
12830 /* Override any GCC internal prototype to avoid an error.
12831 Use char because int might match the return type of a GCC
12832 builtin and then its argument prototype would still apply. */
12833 #ifdef __cplusplus
12834 extern "C"
12835 #endif
12836 char capi20_register ();
12838 main ()
12840 return capi20_register ();
12842 return 0;
12844 _ACEOF
12845 if ac_fn_c_try_link "$LINENO"; then :
12846 case "$LIBEXT" in
12847 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12848 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'` ;;
12849 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12850 if ${ac_cv_lib_soname_capi20:+false} :; then :
12851 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12852 fi ;;
12853 esac
12855 rm -f core conftest.err conftest.$ac_objext \
12856 conftest$ac_exeext conftest.$ac_ext
12857 LIBS=$ac_check_soname_save_LIBS
12859 if ${ac_cv_lib_soname_capi20:+false} :; then :
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12861 $as_echo "not found" >&6; }
12863 else
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12865 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12867 cat >>confdefs.h <<_ACEOF
12868 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12869 _ACEOF
12874 CPPFLAGS=$ac_save_CPPFLAGS
12875 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12876 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12879 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12880 case "x$with_capi" in
12881 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12882 xno) ;;
12883 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12884 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12885 esac
12888 CUPS_CFLAGS=""
12890 if test "x$with_cups" != "xno"
12891 then
12892 ac_save_CPPFLAGS="$CPPFLAGS"
12893 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12894 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12895 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12896 for ac_header in cups/cups.h
12897 do :
12898 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12899 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12900 cat >>confdefs.h <<_ACEOF
12901 #define HAVE_CUPS_CUPS_H 1
12902 _ACEOF
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12904 $as_echo_n "checking for -lcups... " >&6; }
12905 if ${ac_cv_lib_soname_cups+:} false; then :
12906 $as_echo_n "(cached) " >&6
12907 else
12908 ac_check_soname_save_LIBS=$LIBS
12909 LIBS="-lcups $ac_cups_libs $LIBS"
12910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12911 /* end confdefs.h. */
12913 /* Override any GCC internal prototype to avoid an error.
12914 Use char because int might match the return type of a GCC
12915 builtin and then its argument prototype would still apply. */
12916 #ifdef __cplusplus
12917 extern "C"
12918 #endif
12919 char cupsGetDefault ();
12921 main ()
12923 return cupsGetDefault ();
12925 return 0;
12927 _ACEOF
12928 if ac_fn_c_try_link "$LINENO"; then :
12929 case "$LIBEXT" in
12930 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12931 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'` ;;
12932 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12933 if ${ac_cv_lib_soname_cups:+false} :; then :
12934 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12935 fi ;;
12936 esac
12938 rm -f core conftest.err conftest.$ac_objext \
12939 conftest$ac_exeext conftest.$ac_ext
12940 LIBS=$ac_check_soname_save_LIBS
12942 if ${ac_cv_lib_soname_cups:+false} :; then :
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12944 $as_echo "not found" >&6; }
12946 else
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12948 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12950 cat >>confdefs.h <<_ACEOF
12951 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12952 _ACEOF
12954 CUPS_CFLAGS="$ac_cups_cflags"
12958 done
12960 CPPFLAGS="$ac_save_CPPFLAGS"
12962 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12963 case "x$with_cups" in
12964 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12965 xno) ;;
12966 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12967 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12968 esac
12971 if test "x$with_fontconfig" != "xno"
12972 then
12973 if ${FONTCONFIG_CFLAGS:+false} :; then :
12974 if ${PKG_CONFIG+:} false; then :
12975 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12978 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12979 if ${FONTCONFIG_LIBS:+false} :; then :
12980 if ${PKG_CONFIG+:} false; then :
12981 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12984 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12986 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12987 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12988 ac_save_CPPFLAGS=$CPPFLAGS
12989 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12990 for ac_header in fontconfig/fontconfig.h
12991 do :
12992 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12993 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12994 cat >>confdefs.h <<_ACEOF
12995 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12996 _ACEOF
13000 done
13002 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13003 then
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13005 $as_echo_n "checking for -lfontconfig... " >&6; }
13006 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13007 $as_echo_n "(cached) " >&6
13008 else
13009 ac_check_soname_save_LIBS=$LIBS
13010 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13014 /* Override any GCC internal prototype to avoid an error.
13015 Use char because int might match the return type of a GCC
13016 builtin and then its argument prototype would still apply. */
13017 #ifdef __cplusplus
13018 extern "C"
13019 #endif
13020 char FcInit ();
13022 main ()
13024 return FcInit ();
13026 return 0;
13028 _ACEOF
13029 if ac_fn_c_try_link "$LINENO"; then :
13030 case "$LIBEXT" in
13031 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13032 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'` ;;
13033 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13034 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13035 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13036 fi ;;
13037 esac
13039 rm -f core conftest.err conftest.$ac_objext \
13040 conftest$ac_exeext conftest.$ac_ext
13041 LIBS=$ac_check_soname_save_LIBS
13043 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13045 $as_echo "not found" >&6; }
13046 FONTCONFIG_CFLAGS=""
13047 else
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13049 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13051 cat >>confdefs.h <<_ACEOF
13052 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13053 _ACEOF
13057 else
13058 FONTCONFIG_CFLAGS=""
13060 CPPFLAGS=$ac_save_CPPFLAGS
13061 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13062 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13065 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13066 case "x$with_fontconfig" in
13067 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13068 xno) ;;
13069 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13070 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13071 esac
13074 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13075 then
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13077 $as_echo_n "checking for -lgsm... " >&6; }
13078 if ${ac_cv_lib_soname_gsm+:} false; then :
13079 $as_echo_n "(cached) " >&6
13080 else
13081 ac_check_soname_save_LIBS=$LIBS
13082 LIBS="-lgsm $LIBS"
13083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13084 /* end confdefs.h. */
13086 /* Override any GCC internal prototype to avoid an error.
13087 Use char because int might match the return type of a GCC
13088 builtin and then its argument prototype would still apply. */
13089 #ifdef __cplusplus
13090 extern "C"
13091 #endif
13092 char gsm_create ();
13094 main ()
13096 return gsm_create ();
13098 return 0;
13100 _ACEOF
13101 if ac_fn_c_try_link "$LINENO"; then :
13102 case "$LIBEXT" in
13103 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13104 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'` ;;
13105 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13106 if ${ac_cv_lib_soname_gsm:+false} :; then :
13107 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13108 fi ;;
13109 esac
13111 rm -f core conftest.err conftest.$ac_objext \
13112 conftest$ac_exeext conftest.$ac_ext
13113 LIBS=$ac_check_soname_save_LIBS
13115 if ${ac_cv_lib_soname_gsm:+false} :; then :
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13117 $as_echo "not found" >&6; }
13119 else
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13121 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13123 cat >>confdefs.h <<_ACEOF
13124 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13125 _ACEOF
13130 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13131 case "x$with_gsm" in
13132 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13133 xno) ;;
13134 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13135 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13136 esac
13139 if test "x$with_jpeg" != "xno"
13140 then
13141 if ${JPEG_CFLAGS:+false} :; then :
13142 if ${PKG_CONFIG+:} false; then :
13143 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13147 if ${JPEG_LIBS:+false} :; then :
13148 if ${PKG_CONFIG+:} false; then :
13149 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13154 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13155 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13156 ac_save_CPPFLAGS=$CPPFLAGS
13157 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13158 for ac_header in jpeglib.h
13159 do :
13160 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13161 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13162 cat >>confdefs.h <<_ACEOF
13163 #define HAVE_JPEGLIB_H 1
13164 _ACEOF
13168 done
13170 if test "$ac_cv_header_jpeglib_h" = "yes"
13171 then
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13173 $as_echo_n "checking for -ljpeg... " >&6; }
13174 if ${ac_cv_lib_soname_jpeg+:} false; then :
13175 $as_echo_n "(cached) " >&6
13176 else
13177 ac_check_soname_save_LIBS=$LIBS
13178 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13180 /* end confdefs.h. */
13182 /* Override any GCC internal prototype to avoid an error.
13183 Use char because int might match the return type of a GCC
13184 builtin and then its argument prototype would still apply. */
13185 #ifdef __cplusplus
13186 extern "C"
13187 #endif
13188 char jpeg_start_decompress ();
13190 main ()
13192 return jpeg_start_decompress ();
13194 return 0;
13196 _ACEOF
13197 if ac_fn_c_try_link "$LINENO"; then :
13198 case "$LIBEXT" in
13199 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13200 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'` ;;
13201 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13202 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13203 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13204 fi ;;
13205 esac
13207 rm -f core conftest.err conftest.$ac_objext \
13208 conftest$ac_exeext conftest.$ac_ext
13209 LIBS=$ac_check_soname_save_LIBS
13211 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13213 $as_echo "not found" >&6; }
13214 JPEG_CFLAGS=""
13215 else
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13217 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13219 cat >>confdefs.h <<_ACEOF
13220 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13221 _ACEOF
13225 else
13226 JPEG_CFLAGS=""
13228 CPPFLAGS=$ac_save_CPPFLAGS
13229 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13230 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13233 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13234 case "x$with_jpeg" in
13235 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13236 xno) ;;
13237 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13238 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13239 esac
13242 if test "x$with_png" != "xno"
13243 then
13244 if ${PNG_CFLAGS:+false} :; then :
13245 if ${PKG_CONFIG+:} false; then :
13246 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13249 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13250 if ${PNG_LIBS:+false} :; then :
13251 if ${PKG_CONFIG+:} false; then :
13252 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13255 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13257 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13258 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13259 ac_save_CPPFLAGS=$CPPFLAGS
13260 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13261 for ac_header in png.h
13262 do :
13263 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13264 if test "x$ac_cv_header_png_h" = xyes; then :
13265 cat >>confdefs.h <<_ACEOF
13266 #define HAVE_PNG_H 1
13267 _ACEOF
13271 done
13273 if test "$ac_cv_header_png_h" = "yes"
13274 then
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13276 $as_echo_n "checking for -lpng... " >&6; }
13277 if ${ac_cv_lib_soname_png+:} false; then :
13278 $as_echo_n "(cached) " >&6
13279 else
13280 ac_check_soname_save_LIBS=$LIBS
13281 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13285 /* Override any GCC internal prototype to avoid an error.
13286 Use char because int might match the return type of a GCC
13287 builtin and then its argument prototype would still apply. */
13288 #ifdef __cplusplus
13289 extern "C"
13290 #endif
13291 char png_create_read_struct ();
13293 main ()
13295 return png_create_read_struct ();
13297 return 0;
13299 _ACEOF
13300 if ac_fn_c_try_link "$LINENO"; then :
13301 case "$LIBEXT" in
13302 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13303 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'` ;;
13304 *) 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'`
13305 if ${ac_cv_lib_soname_png:+false} :; then :
13306 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13307 fi ;;
13308 esac
13310 rm -f core conftest.err conftest.$ac_objext \
13311 conftest$ac_exeext conftest.$ac_ext
13312 LIBS=$ac_check_soname_save_LIBS
13314 if ${ac_cv_lib_soname_png:+false} :; then :
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13316 $as_echo "not found" >&6; }
13317 PNG_CFLAGS=""
13318 else
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13320 $as_echo "$ac_cv_lib_soname_png" >&6; }
13322 cat >>confdefs.h <<_ACEOF
13323 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13324 _ACEOF
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13328 #include <png.h>
13330 main ()
13332 typeof(png_set_expand_gray_1_2_4_to_8) *p
13334 return 0;
13336 _ACEOF
13337 if ac_fn_c_try_compile "$LINENO"; then :
13339 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13344 else
13345 PNG_CFLAGS=""
13347 CPPFLAGS=$ac_save_CPPFLAGS
13348 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13349 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13352 if test "x$ac_cv_lib_soname_png" = "x"; then :
13353 case "x$with_png" in
13354 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13355 xno) ;;
13356 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13357 This is an error since --with-png was requested." "$LINENO" 5 ;;
13358 esac
13361 if test "x$with_tiff" != "xno"
13362 then
13363 if ${TIFF_CFLAGS:+false} :; then :
13364 if ${PKG_CONFIG+:} false; then :
13365 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13369 if ${TIFF_LIBS:+false} :; then :
13370 if ${PKG_CONFIG+:} false; then :
13371 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13376 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13377 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13378 ac_save_CPPFLAGS=$CPPFLAGS
13379 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13380 for ac_header in tiffio.h
13381 do :
13382 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13383 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13384 cat >>confdefs.h <<_ACEOF
13385 #define HAVE_TIFFIO_H 1
13386 _ACEOF
13390 done
13392 if test "$ac_cv_header_tiffio_h" = "yes"
13393 then
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13395 $as_echo_n "checking for -ltiff... " >&6; }
13396 if ${ac_cv_lib_soname_tiff+:} false; then :
13397 $as_echo_n "(cached) " >&6
13398 else
13399 ac_check_soname_save_LIBS=$LIBS
13400 LIBS="-ltiff $TIFF_LIBS $LIBS"
13401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13402 /* end confdefs.h. */
13404 /* Override any GCC internal prototype to avoid an error.
13405 Use char because int might match the return type of a GCC
13406 builtin and then its argument prototype would still apply. */
13407 #ifdef __cplusplus
13408 extern "C"
13409 #endif
13410 char TIFFClientOpen ();
13412 main ()
13414 return TIFFClientOpen ();
13416 return 0;
13418 _ACEOF
13419 if ac_fn_c_try_link "$LINENO"; then :
13420 case "$LIBEXT" in
13421 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13422 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'` ;;
13423 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13424 if ${ac_cv_lib_soname_tiff:+false} :; then :
13425 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13426 fi ;;
13427 esac
13429 rm -f core conftest.err conftest.$ac_objext \
13430 conftest$ac_exeext conftest.$ac_ext
13431 LIBS=$ac_check_soname_save_LIBS
13433 if ${ac_cv_lib_soname_tiff:+false} :; then :
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13435 $as_echo "not found" >&6; }
13437 else
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13439 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13441 cat >>confdefs.h <<_ACEOF
13442 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13443 _ACEOF
13448 CPPFLAGS=$ac_save_CPPFLAGS
13449 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13450 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13453 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13454 case "x$with_tiff" in
13455 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13456 xno) ;;
13457 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13458 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13459 esac
13462 if test "x$with_mpg123" != "xno"
13463 then
13464 if ${MPG123_CFLAGS:+false} :; then :
13465 if ${PKG_CONFIG+:} false; then :
13466 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13470 if ${MPG123_LIBS:+false} :; then :
13471 if ${PKG_CONFIG+:} false; then :
13472 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13476 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13477 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13478 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13479 ac_save_CPPFLAGS=$CPPFLAGS
13480 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13481 for ac_header in mpg123.h
13482 do :
13483 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13484 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13485 cat >>confdefs.h <<_ACEOF
13486 #define HAVE_MPG123_H 1
13487 _ACEOF
13491 done
13493 if test "$ac_cv_header_mpg123_h" = "yes"
13494 then
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13496 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13497 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13498 $as_echo_n "(cached) " >&6
13499 else
13500 ac_check_lib_save_LIBS=$LIBS
13501 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13503 /* end confdefs.h. */
13505 /* Override any GCC internal prototype to avoid an error.
13506 Use char because int might match the return type of a GCC
13507 builtin and then its argument prototype would still apply. */
13508 #ifdef __cplusplus
13509 extern "C"
13510 #endif
13511 char mpg123_feed ();
13513 main ()
13515 return mpg123_feed ();
13517 return 0;
13519 _ACEOF
13520 if ac_fn_c_try_link "$LINENO"; then :
13521 ac_cv_lib_mpg123_mpg123_feed=yes
13522 else
13523 ac_cv_lib_mpg123_mpg123_feed=no
13525 rm -f core conftest.err conftest.$ac_objext \
13526 conftest$ac_exeext conftest.$ac_ext
13527 LIBS=$ac_check_lib_save_LIBS
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13530 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13531 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13533 else
13534 MPG123_LIBS=""
13537 else
13538 MPG123_CFLAGS=""
13539 MPG123_LIBS=""
13541 CPPFLAGS=$ac_save_CPPFLAGS
13542 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13543 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13546 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13547 case "x$with_mpg123" in
13548 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13549 xno) ;;
13550 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13551 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13552 esac
13554 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes -o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
13556 if test "$ac_cv_header_AL_al_h" = "yes"
13557 then
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13559 $as_echo_n "checking for -lopenal... " >&6; }
13560 if ${ac_cv_lib_soname_openal+:} false; then :
13561 $as_echo_n "(cached) " >&6
13562 else
13563 ac_check_soname_save_LIBS=$LIBS
13564 LIBS="-lopenal $LIBS"
13565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13568 /* Override any GCC internal prototype to avoid an error.
13569 Use char because int might match the return type of a GCC
13570 builtin and then its argument prototype would still apply. */
13571 #ifdef __cplusplus
13572 extern "C"
13573 #endif
13574 char alGetSource3i ();
13576 main ()
13578 return alGetSource3i ();
13580 return 0;
13582 _ACEOF
13583 if ac_fn_c_try_link "$LINENO"; then :
13584 case "$LIBEXT" in
13585 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13586 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'` ;;
13587 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13588 if ${ac_cv_lib_soname_openal:+false} :; then :
13589 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13590 fi ;;
13591 esac
13593 rm -f core conftest.err conftest.$ac_objext \
13594 conftest$ac_exeext conftest.$ac_ext
13595 LIBS=$ac_check_soname_save_LIBS
13597 if ${ac_cv_lib_soname_openal:+false} :; then :
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13599 $as_echo "not found" >&6; }
13601 else
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13603 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13605 cat >>confdefs.h <<_ACEOF
13606 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13607 _ACEOF
13609 OPENAL_LIBS="-lopenal"
13611 ac_cv_lib_openal=yes
13613 cat >>confdefs.h <<_ACEOF
13614 #define HAVE_OPENAL 1
13615 _ACEOF
13619 if test "x$ac_cv_lib_openal" != xyes; then :
13620 case "x$with_openal" in
13621 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13622 xno) ;;
13623 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13624 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13625 esac
13627 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13629 if test "x$ac_cv_lib_openal" = xyes
13630 then
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13632 $as_echo_n "checking for openal-soft... " >&6; }
13633 if ${ac_cv_have_openalsoft+:} false; then :
13634 $as_echo_n "(cached) " >&6
13635 else
13636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h. */
13638 #include <AL/al.h>
13639 #include <AL/alc.h>
13640 #include <AL/alext.h>
13641 LPALCRENDERSAMPLESSOFT x;
13643 main ()
13647 return 0;
13649 _ACEOF
13650 if ac_fn_c_try_compile "$LINENO"; then :
13651 ac_cv_have_openalsoft=yes
13652 else
13653 ac_cv_have_openalsoft=no
13655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13658 $as_echo "$ac_cv_have_openalsoft" >&6; }
13660 if test "x$ac_cv_have_openalsoft" != xyes
13661 then
13662 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13663 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13664 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13665 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13666 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13667 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13668 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13669 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13670 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13671 enable_xapofx1_1=${enable_xapofx1_1:-no}
13672 enable_xapofx1_2=${enable_xapofx1_2:-no}
13673 enable_xapofx1_3=${enable_xapofx1_3:-no}
13674 enable_xapofx1_4=${enable_xapofx1_4:-no}
13675 enable_xapofx1_5=${enable_xapofx1_5:-no}
13676 enable_xaudio2_0=${enable_xaudio2_0:-no}
13677 enable_xaudio2_1=${enable_xaudio2_1:-no}
13678 enable_xaudio2_2=${enable_xaudio2_2:-no}
13679 enable_xaudio2_3=${enable_xaudio2_3:-no}
13680 enable_xaudio2_4=${enable_xaudio2_4:-no}
13681 enable_xaudio2_5=${enable_xaudio2_5:-no}
13682 enable_xaudio2_6=${enable_xaudio2_6:-no}
13683 enable_xaudio2_7=${enable_xaudio2_7:-no}
13684 enable_xaudio2_8=${enable_xaudio2_8:-no}
13685 enable_xaudio2_9=${enable_xaudio2_9:-no}
13688 if test "$ac_cv_header_kstat_h" = "yes"
13689 then
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13691 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13692 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13693 $as_echo_n "(cached) " >&6
13694 else
13695 ac_check_lib_save_LIBS=$LIBS
13696 LIBS="-lkstat $LIBS"
13697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13700 /* Override any GCC internal prototype to avoid an error.
13701 Use char because int might match the return type of a GCC
13702 builtin and then its argument prototype would still apply. */
13703 #ifdef __cplusplus
13704 extern "C"
13705 #endif
13706 char kstat_open ();
13708 main ()
13710 return kstat_open ();
13712 return 0;
13714 _ACEOF
13715 if ac_fn_c_try_link "$LINENO"; then :
13716 ac_cv_lib_kstat_kstat_open=yes
13717 else
13718 ac_cv_lib_kstat_kstat_open=no
13720 rm -f core conftest.err conftest.$ac_objext \
13721 conftest$ac_exeext conftest.$ac_ext
13722 LIBS=$ac_check_lib_save_LIBS
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13725 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13726 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13728 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13730 KSTAT_LIBS="-lkstat"
13736 if test "$ac_cv_header_libprocstat_h" = "yes"
13737 then
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13739 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13740 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13741 $as_echo_n "(cached) " >&6
13742 else
13743 ac_check_lib_save_LIBS=$LIBS
13744 LIBS="-lprocstat $LIBS"
13745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13748 /* Override any GCC internal prototype to avoid an error.
13749 Use char because int might match the return type of a GCC
13750 builtin and then its argument prototype would still apply. */
13751 #ifdef __cplusplus
13752 extern "C"
13753 #endif
13754 char procstat_open_sysctl ();
13756 main ()
13758 return procstat_open_sysctl ();
13760 return 0;
13762 _ACEOF
13763 if ac_fn_c_try_link "$LINENO"; then :
13764 ac_cv_lib_procstat_procstat_open_sysctl=yes
13765 else
13766 ac_cv_lib_procstat_procstat_open_sysctl=no
13768 rm -f core conftest.err conftest.$ac_objext \
13769 conftest$ac_exeext conftest.$ac_ext
13770 LIBS=$ac_check_lib_save_LIBS
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13773 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13774 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13776 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13778 PROCSTAT_LIBS="-lprocstat"
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13785 $as_echo_n "checking for -lodbc... " >&6; }
13786 if ${ac_cv_lib_soname_odbc+:} false; then :
13787 $as_echo_n "(cached) " >&6
13788 else
13789 ac_check_soname_save_LIBS=$LIBS
13790 LIBS="-lodbc $LIBS"
13791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13792 /* end confdefs.h. */
13794 /* Override any GCC internal prototype to avoid an error.
13795 Use char because int might match the return type of a GCC
13796 builtin and then its argument prototype would still apply. */
13797 #ifdef __cplusplus
13798 extern "C"
13799 #endif
13800 char SQLConnect ();
13802 main ()
13804 return SQLConnect ();
13806 return 0;
13808 _ACEOF
13809 if ac_fn_c_try_link "$LINENO"; then :
13810 case "$LIBEXT" in
13811 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13812 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'` ;;
13813 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13814 if ${ac_cv_lib_soname_odbc:+false} :; then :
13815 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13816 fi ;;
13817 esac
13819 rm -f core conftest.err conftest.$ac_objext \
13820 conftest$ac_exeext conftest.$ac_ext
13821 LIBS=$ac_check_soname_save_LIBS
13823 if ${ac_cv_lib_soname_odbc:+false} :; then :
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13825 $as_echo "not found" >&6; }
13826 cat >>confdefs.h <<_ACEOF
13827 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13828 _ACEOF
13830 else
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13832 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13834 cat >>confdefs.h <<_ACEOF
13835 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13836 _ACEOF
13841 if test "x$with_netapi" != "xno"
13842 then
13843 if ${NETAPI_CFLAGS:+false} :; then :
13844 if ${PKG_CONFIG+:} false; then :
13845 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13849 if ${NETAPI_LIBS:+false} :; then :
13850 if ${PKG_CONFIG+:} false; then :
13851 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13856 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13857 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13858 ac_save_CPPFLAGS=$CPPFLAGS
13859 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13861 $as_echo_n "checking for -lnetapi... " >&6; }
13862 if ${ac_cv_lib_soname_netapi+:} false; then :
13863 $as_echo_n "(cached) " >&6
13864 else
13865 ac_check_soname_save_LIBS=$LIBS
13866 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13868 /* end confdefs.h. */
13870 /* Override any GCC internal prototype to avoid an error.
13871 Use char because int might match the return type of a GCC
13872 builtin and then its argument prototype would still apply. */
13873 #ifdef __cplusplus
13874 extern "C"
13875 #endif
13876 char libnetapi_init ();
13878 main ()
13880 return libnetapi_init ();
13882 return 0;
13884 _ACEOF
13885 if ac_fn_c_try_link "$LINENO"; then :
13886 case "$LIBEXT" in
13887 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13888 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'` ;;
13889 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13890 if ${ac_cv_lib_soname_netapi:+false} :; then :
13891 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13892 fi ;;
13893 esac
13895 rm -f core conftest.err conftest.$ac_objext \
13896 conftest$ac_exeext conftest.$ac_ext
13897 LIBS=$ac_check_soname_save_LIBS
13899 if ${ac_cv_lib_soname_netapi:+false} :; then :
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13901 $as_echo "not found" >&6; }
13902 cat >>confdefs.h <<_ACEOF
13903 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13904 _ACEOF
13906 else
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13908 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13910 cat >>confdefs.h <<_ACEOF
13911 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13912 _ACEOF
13916 CPPFLAGS=$ac_save_CPPFLAGS
13917 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13918 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13922 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13923 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13924 then
13925 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13929 EXTRACFLAGS=""
13931 if test "x${GCC}" = "xyes"
13932 then
13933 EXTRACFLAGS="-Wall -pipe"
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13936 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13937 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13938 $as_echo_n "(cached) " >&6
13939 else
13940 if test "$cross_compiling" = yes; then :
13941 ac_cv_c_gcc_strength_bug="no"
13942 else
13943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13945 int L[4] = {0,1,2,3};
13947 main ()
13949 static int Array[3];
13950 unsigned int B = 3;
13951 int i;
13952 for(i=0; i<B; i++) Array[i] = i - 3;
13953 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13954 L[i] = 4;
13955 return (Array[1] != -2 || L[2] != 3)
13957 return 0;
13959 _ACEOF
13960 if ac_fn_c_try_run "$LINENO"; then :
13961 ac_cv_c_gcc_strength_bug="no"
13962 else
13963 ac_cv_c_gcc_strength_bug="yes"
13965 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13966 conftest.$ac_objext conftest.beam conftest.$ac_ext
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13971 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13972 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13973 then
13974 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13978 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13979 if ${ac_cv_cflags__fno_builtin+:} false; then :
13980 $as_echo_n "(cached) " >&6
13981 else
13982 ac_wine_try_cflags_saved=$CFLAGS
13983 CFLAGS="$CFLAGS -fno-builtin"
13984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13985 /* end confdefs.h. */
13986 int main(int argc, char **argv) { return 0; }
13987 _ACEOF
13988 if ac_fn_c_try_link "$LINENO"; then :
13989 ac_cv_cflags__fno_builtin=yes
13990 else
13991 ac_cv_cflags__fno_builtin=no
13993 rm -f core conftest.err conftest.$ac_objext \
13994 conftest$ac_exeext conftest.$ac_ext
13995 CFLAGS=$ac_wine_try_cflags_saved
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13998 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13999 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14000 BUILTINFLAG="-fno-builtin"
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14004 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14005 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14006 $as_echo_n "(cached) " >&6
14007 else
14008 ac_wine_try_cflags_saved=$CFLAGS
14009 CFLAGS="$CFLAGS -fno-strict-aliasing"
14010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14011 /* end confdefs.h. */
14012 int main(int argc, char **argv) { return 0; }
14013 _ACEOF
14014 if ac_fn_c_try_link "$LINENO"; then :
14015 ac_cv_cflags__fno_strict_aliasing=yes
14016 else
14017 ac_cv_cflags__fno_strict_aliasing=no
14019 rm -f core conftest.err conftest.$ac_objext \
14020 conftest$ac_exeext conftest.$ac_ext
14021 CFLAGS=$ac_wine_try_cflags_saved
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14024 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14025 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14026 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14029 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14030 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14031 $as_echo_n "(cached) " >&6
14032 else
14033 ac_wine_try_cflags_saved=$CFLAGS
14034 CFLAGS="$CFLAGS -fexcess-precision=standard"
14035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14037 int main(int argc, char **argv) { return 0; }
14038 _ACEOF
14039 if ac_fn_c_try_link "$LINENO"; then :
14040 ac_cv_cflags__fexcess_precision_standard=yes
14041 else
14042 ac_cv_cflags__fexcess_precision_standard=no
14044 rm -f core conftest.err conftest.$ac_objext \
14045 conftest$ac_exeext conftest.$ac_ext
14046 CFLAGS=$ac_wine_try_cflags_saved
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14049 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14050 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14051 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14054 saved_CFLAGS=$CFLAGS
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14056 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14057 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14058 $as_echo_n "(cached) " >&6
14059 else
14060 ac_wine_try_cflags_saved=$CFLAGS
14061 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14063 /* end confdefs.h. */
14064 int main(int argc, char **argv) { return 0; }
14065 _ACEOF
14066 if ac_fn_c_try_link "$LINENO"; then :
14067 ac_cv_cflags__Werror_unknown_warning_option=yes
14068 else
14069 ac_cv_cflags__Werror_unknown_warning_option=no
14071 rm -f core conftest.err conftest.$ac_objext \
14072 conftest$ac_exeext conftest.$ac_ext
14073 CFLAGS=$ac_wine_try_cflags_saved
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14076 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14077 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14078 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14081 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14082 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14083 $as_echo_n "(cached) " >&6
14084 else
14085 ac_wine_try_cflags_saved=$CFLAGS
14086 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14088 /* end confdefs.h. */
14089 int main(int argc, char **argv) { return 0; }
14090 _ACEOF
14091 if ac_fn_c_try_link "$LINENO"; then :
14092 ac_cv_cflags__Wdeclaration_after_statement=yes
14093 else
14094 ac_cv_cflags__Wdeclaration_after_statement=no
14096 rm -f core conftest.err conftest.$ac_objext \
14097 conftest$ac_exeext conftest.$ac_ext
14098 CFLAGS=$ac_wine_try_cflags_saved
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14101 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14102 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14103 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14106 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14107 if ${ac_cv_cflags__Wempty_body+:} false; then :
14108 $as_echo_n "(cached) " >&6
14109 else
14110 ac_wine_try_cflags_saved=$CFLAGS
14111 CFLAGS="$CFLAGS -Wempty-body"
14112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h. */
14114 int main(int argc, char **argv) { return 0; }
14115 _ACEOF
14116 if ac_fn_c_try_link "$LINENO"; then :
14117 ac_cv_cflags__Wempty_body=yes
14118 else
14119 ac_cv_cflags__Wempty_body=no
14121 rm -f core conftest.err conftest.$ac_objext \
14122 conftest$ac_exeext conftest.$ac_ext
14123 CFLAGS=$ac_wine_try_cflags_saved
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14126 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14127 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14128 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14131 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14132 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14133 $as_echo_n "(cached) " >&6
14134 else
14135 ac_wine_try_cflags_saved=$CFLAGS
14136 CFLAGS="$CFLAGS -Wignored-qualifiers"
14137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14139 int main(int argc, char **argv) { return 0; }
14140 _ACEOF
14141 if ac_fn_c_try_link "$LINENO"; then :
14142 ac_cv_cflags__Wignored_qualifiers=yes
14143 else
14144 ac_cv_cflags__Wignored_qualifiers=no
14146 rm -f core conftest.err conftest.$ac_objext \
14147 conftest$ac_exeext conftest.$ac_ext
14148 CFLAGS=$ac_wine_try_cflags_saved
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14151 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14152 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14153 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14156 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14157 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14158 $as_echo_n "(cached) " >&6
14159 else
14160 ac_wine_try_cflags_saved=$CFLAGS
14161 CFLAGS="$CFLAGS -Wshift-overflow=2"
14162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14163 /* end confdefs.h. */
14164 int main(int argc, char **argv) { return 0; }
14165 _ACEOF
14166 if ac_fn_c_try_link "$LINENO"; then :
14167 ac_cv_cflags__Wshift_overflow_2=yes
14168 else
14169 ac_cv_cflags__Wshift_overflow_2=no
14171 rm -f core conftest.err conftest.$ac_objext \
14172 conftest$ac_exeext conftest.$ac_ext
14173 CFLAGS=$ac_wine_try_cflags_saved
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14176 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14177 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14178 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14181 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14182 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14183 $as_echo_n "(cached) " >&6
14184 else
14185 ac_wine_try_cflags_saved=$CFLAGS
14186 CFLAGS="$CFLAGS -Wstrict-prototypes"
14187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14189 int main(int argc, char **argv) { return 0; }
14190 _ACEOF
14191 if ac_fn_c_try_link "$LINENO"; then :
14192 ac_cv_cflags__Wstrict_prototypes=yes
14193 else
14194 ac_cv_cflags__Wstrict_prototypes=no
14196 rm -f core conftest.err conftest.$ac_objext \
14197 conftest$ac_exeext conftest.$ac_ext
14198 CFLAGS=$ac_wine_try_cflags_saved
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14201 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14202 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14203 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14206 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14207 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14208 $as_echo_n "(cached) " >&6
14209 else
14210 ac_wine_try_cflags_saved=$CFLAGS
14211 CFLAGS="$CFLAGS -Wtype-limits"
14212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14214 int main(int argc, char **argv) { return 0; }
14215 _ACEOF
14216 if ac_fn_c_try_link "$LINENO"; then :
14217 ac_cv_cflags__Wtype_limits=yes
14218 else
14219 ac_cv_cflags__Wtype_limits=no
14221 rm -f core conftest.err conftest.$ac_objext \
14222 conftest$ac_exeext conftest.$ac_ext
14223 CFLAGS=$ac_wine_try_cflags_saved
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14226 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14227 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14228 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14231 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14232 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14233 $as_echo_n "(cached) " >&6
14234 else
14235 ac_wine_try_cflags_saved=$CFLAGS
14236 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14238 /* end confdefs.h. */
14239 int main(int argc, char **argv) { return 0; }
14240 _ACEOF
14241 if ac_fn_c_try_link "$LINENO"; then :
14242 ac_cv_cflags__Wunused_but_set_parameter=yes
14243 else
14244 ac_cv_cflags__Wunused_but_set_parameter=no
14246 rm -f core conftest.err conftest.$ac_objext \
14247 conftest$ac_exeext conftest.$ac_ext
14248 CFLAGS=$ac_wine_try_cflags_saved
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14251 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14252 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14253 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14256 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14257 if ${ac_cv_cflags__Wvla+:} false; then :
14258 $as_echo_n "(cached) " >&6
14259 else
14260 ac_wine_try_cflags_saved=$CFLAGS
14261 CFLAGS="$CFLAGS -Wvla"
14262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14263 /* end confdefs.h. */
14264 int main(int argc, char **argv) { return 0; }
14265 _ACEOF
14266 if ac_fn_c_try_link "$LINENO"; then :
14267 ac_cv_cflags__Wvla=yes
14268 else
14269 ac_cv_cflags__Wvla=no
14271 rm -f core conftest.err conftest.$ac_objext \
14272 conftest$ac_exeext conftest.$ac_ext
14273 CFLAGS=$ac_wine_try_cflags_saved
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14276 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14277 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14278 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14281 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14282 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14283 $as_echo_n "(cached) " >&6
14284 else
14285 ac_wine_try_cflags_saved=$CFLAGS
14286 CFLAGS="$CFLAGS -Wwrite-strings"
14287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14288 /* end confdefs.h. */
14289 int main(int argc, char **argv) { return 0; }
14290 _ACEOF
14291 if ac_fn_c_try_link "$LINENO"; then :
14292 ac_cv_cflags__Wwrite_strings=yes
14293 else
14294 ac_cv_cflags__Wwrite_strings=no
14296 rm -f core conftest.err conftest.$ac_objext \
14297 conftest$ac_exeext conftest.$ac_ext
14298 CFLAGS=$ac_wine_try_cflags_saved
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14301 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14302 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14303 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14307 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14308 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14309 $as_echo_n "(cached) " >&6
14310 else
14311 ac_wine_try_cflags_saved=$CFLAGS
14312 CFLAGS="$CFLAGS -Wpointer-arith"
14313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14315 int main(int argc, char **argv) { return 0; }
14316 _ACEOF
14317 if ac_fn_c_try_link "$LINENO"; then :
14318 ac_cv_cflags__Wpointer_arith=yes
14319 else
14320 ac_cv_cflags__Wpointer_arith=no
14322 rm -f core conftest.err conftest.$ac_objext \
14323 conftest$ac_exeext conftest.$ac_ext
14324 CFLAGS=$ac_wine_try_cflags_saved
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14327 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14328 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14329 saved_string_h_CFLAGS=$CFLAGS
14330 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14332 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14333 if ${ac_cv_c_string_h_warnings+:} false; then :
14334 $as_echo_n "(cached) " >&6
14335 else
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14338 #include <string.h>
14340 main ()
14344 return 0;
14346 _ACEOF
14347 if ac_fn_c_try_compile "$LINENO"; then :
14348 ac_cv_c_string_h_warnings=no
14349 else
14350 ac_cv_c_string_h_warnings=yes
14352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14355 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14356 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14357 CFLAGS=$saved_string_h_CFLAGS
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14361 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14362 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14363 $as_echo_n "(cached) " >&6
14364 else
14365 ac_wine_try_cflags_saved=$CFLAGS
14366 CFLAGS="$CFLAGS -Wlogical-op"
14367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14368 /* end confdefs.h. */
14369 int main(int argc, char **argv) { return 0; }
14370 _ACEOF
14371 if ac_fn_c_try_link "$LINENO"; then :
14372 ac_cv_cflags__Wlogical_op=yes
14373 else
14374 ac_cv_cflags__Wlogical_op=no
14376 rm -f core conftest.err conftest.$ac_objext \
14377 conftest$ac_exeext conftest.$ac_ext
14378 CFLAGS=$ac_wine_try_cflags_saved
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14381 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14382 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14383 saved_string_h_CFLAGS=$CFLAGS
14384 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14386 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14387 if ${ac_cv_c_logicalop_noisy+:} false; then :
14388 $as_echo_n "(cached) " >&6
14389 else
14390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14391 /* end confdefs.h. */
14392 #include <string.h>
14393 char*f(const char *h,char n) {return strchr(h,n);}
14395 main ()
14399 return 0;
14401 _ACEOF
14402 if ac_fn_c_try_compile "$LINENO"; then :
14403 ac_cv_c_logicalop_noisy=no
14404 else
14405 ac_cv_c_logicalop_noisy=yes
14407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14410 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14411 CFLAGS=$saved_string_h_CFLAGS
14412 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14415 CFLAGS=$saved_CFLAGS
14417 for ac_flag in $CFLAGS; do
14418 case $ac_flag in
14419 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14420 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14421 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14422 $as_echo_n "(cached) " >&6
14423 else
14424 ac_wine_try_cflags_saved=$CFLAGS
14425 CFLAGS="$CFLAGS -gdwarf-2"
14426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14428 int main(int argc, char **argv) { return 0; }
14429 _ACEOF
14430 if ac_fn_c_try_link "$LINENO"; then :
14431 ac_cv_cflags__gdwarf_2=yes
14432 else
14433 ac_cv_cflags__gdwarf_2=no
14435 rm -f core conftest.err conftest.$ac_objext \
14436 conftest$ac_exeext conftest.$ac_ext
14437 CFLAGS=$ac_wine_try_cflags_saved
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14440 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14441 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14442 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14445 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14446 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14447 $as_echo_n "(cached) " >&6
14448 else
14449 ac_wine_try_cflags_saved=$CFLAGS
14450 CFLAGS="$CFLAGS -gstrict-dwarf"
14451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14452 /* end confdefs.h. */
14453 int main(int argc, char **argv) { return 0; }
14454 _ACEOF
14455 if ac_fn_c_try_link "$LINENO"; then :
14456 ac_cv_cflags__gstrict_dwarf=yes
14457 else
14458 ac_cv_cflags__gstrict_dwarf=no
14460 rm -f core conftest.err conftest.$ac_objext \
14461 conftest$ac_exeext conftest.$ac_ext
14462 CFLAGS=$ac_wine_try_cflags_saved
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14465 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14466 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14467 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14468 fi ;;
14469 esac
14470 done
14472 case $host_cpu in
14473 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14474 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14475 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14476 $as_echo_n "(cached) " >&6
14477 else
14478 ac_wine_try_cflags_saved=$CFLAGS
14479 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14481 /* end confdefs.h. */
14482 int main(int argc, char **argv) { return 0; }
14483 _ACEOF
14484 if ac_fn_c_try_link "$LINENO"; then :
14485 ac_cv_cflags__fno_omit_frame_pointer=yes
14486 else
14487 ac_cv_cflags__fno_omit_frame_pointer=no
14489 rm -f core conftest.err conftest.$ac_objext \
14490 conftest$ac_exeext conftest.$ac_ext
14491 CFLAGS=$ac_wine_try_cflags_saved
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14494 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14495 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14496 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14497 fi ;;
14498 esac
14500 case $host in
14501 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14502 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14503 if ${ac_cv_cflags__Wno_format+:} false; then :
14504 $as_echo_n "(cached) " >&6
14505 else
14506 ac_wine_try_cflags_saved=$CFLAGS
14507 CFLAGS="$CFLAGS -Wno-format"
14508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14510 int main(int argc, char **argv) { return 0; }
14511 _ACEOF
14512 if ac_fn_c_try_link "$LINENO"; then :
14513 ac_cv_cflags__Wno_format=yes
14514 else
14515 ac_cv_cflags__Wno_format=no
14517 rm -f core conftest.err conftest.$ac_objext \
14518 conftest$ac_exeext conftest.$ac_ext
14519 CFLAGS=$ac_wine_try_cflags_saved
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14522 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14523 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14524 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14525 fi ;;
14526 esac
14528 if test "x$enable_maintainer_mode" = "xyes"
14529 then
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14531 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14532 if ${ac_cv_cflags__Werror+:} false; then :
14533 $as_echo_n "(cached) " >&6
14534 else
14535 ac_wine_try_cflags_saved=$CFLAGS
14536 CFLAGS="$CFLAGS -Werror"
14537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14538 /* end confdefs.h. */
14539 int main(int argc, char **argv) { return 0; }
14540 _ACEOF
14541 if ac_fn_c_try_link "$LINENO"; then :
14542 ac_cv_cflags__Werror=yes
14543 else
14544 ac_cv_cflags__Werror=no
14546 rm -f core conftest.err conftest.$ac_objext \
14547 conftest$ac_exeext conftest.$ac_ext
14548 CFLAGS=$ac_wine_try_cflags_saved
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14551 $as_echo "$ac_cv_cflags__Werror" >&6; }
14552 if test "x$ac_cv_cflags__Werror" = xyes; then :
14553 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14557 saved_CFLAGS="$CFLAGS"
14558 CFLAGS="$CFLAGS -Werror"
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14560 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14561 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14562 $as_echo_n "(cached) " >&6
14563 else
14564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14565 /* end confdefs.h. */
14566 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14568 main ()
14572 return 0;
14574 _ACEOF
14575 if ac_fn_c_try_compile "$LINENO"; then :
14576 ac_cv_have_ms_hook_prologue="yes"
14577 else
14578 ac_cv_have_ms_hook_prologue="no"
14580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14583 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14584 CFLAGS="$saved_CFLAGS"
14585 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14586 then
14588 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14590 else
14591 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14598 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14599 if ${ac_cv_c_fortify_enabled+:} false; then :
14600 $as_echo_n "(cached) " >&6
14601 else
14602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14603 /* end confdefs.h. */
14604 #include <string.h>
14606 main ()
14608 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14609 #error Fortify enabled
14610 #endif
14612 return 0;
14614 _ACEOF
14615 if ac_fn_c_try_compile "$LINENO"; then :
14616 ac_cv_c_fortify_enabled=no
14617 else
14618 ac_cv_c_fortify_enabled=yes
14620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14623 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14624 if test "$ac_cv_c_fortify_enabled" = yes
14625 then
14626 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14631 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14632 if ${ac_cv_c_extern_prefix+:} false; then :
14633 $as_echo_n "(cached) " >&6
14634 else
14635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14637 extern int ac_test;
14639 main ()
14641 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14643 return 0;
14645 _ACEOF
14646 if ac_fn_c_try_link "$LINENO"; then :
14647 ac_cv_c_extern_prefix="yes"
14648 else
14649 ac_cv_c_extern_prefix="no"
14651 rm -f core conftest.err conftest.$ac_objext \
14652 conftest$ac_exeext conftest.$ac_ext
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14655 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14657 case $host_cpu in
14658 *i[3456789]86*)
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14660 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14661 if ${ac_cv_c_stdcall_suffix+:} false; then :
14662 $as_echo_n "(cached) " >&6
14663 else
14664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14665 /* end confdefs.h. */
14666 #ifndef _MSC_VER
14667 #define __stdcall __attribute__((__stdcall__))
14668 #endif
14669 int __stdcall ac_test(int i) { return i; }
14671 main ()
14673 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14675 return 0;
14677 _ACEOF
14678 if ac_fn_c_try_link "$LINENO"; then :
14679 ac_cv_c_stdcall_suffix="yes"
14680 else
14681 ac_cv_c_stdcall_suffix="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_stdcall_suffix" >&5
14687 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14688 *) ac_cv_c_stdcall_suffix="no" ;;
14689 esac
14692 if test "$ac_cv_c_extern_prefix" = "yes"
14693 then
14694 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14696 asm_name_prefix="_"
14697 else
14698 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14700 asm_name_prefix=""
14704 if test "$ac_cv_c_stdcall_suffix" = "yes"
14705 then
14706 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14708 else
14709 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14715 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14716 if ${ac_cv_asm_func_def+:} false; then :
14717 $as_echo_n "(cached) " >&6
14718 else
14719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14720 /* end confdefs.h. */
14723 main ()
14725 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14727 return 0;
14729 _ACEOF
14730 if ac_fn_c_try_link "$LINENO"; then :
14731 ac_cv_asm_func_def=".def"
14732 else
14733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14734 /* end confdefs.h. */
14737 main ()
14739 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14741 return 0;
14743 _ACEOF
14744 if ac_fn_c_try_link "$LINENO"; then :
14745 ac_cv_asm_func_def=".type @function"
14746 else
14747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14748 /* end confdefs.h. */
14751 main ()
14753 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14755 return 0;
14757 _ACEOF
14758 if ac_fn_c_try_link "$LINENO"; then :
14759 ac_cv_asm_func_def=".type 2"
14760 else
14761 ac_cv_asm_func_def="unknown"
14763 rm -f core conftest.err conftest.$ac_objext \
14764 conftest$ac_exeext conftest.$ac_ext
14766 rm -f core conftest.err conftest.$ac_objext \
14767 conftest$ac_exeext conftest.$ac_ext
14769 rm -f core conftest.err conftest.$ac_objext \
14770 conftest$ac_exeext conftest.$ac_ext
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14773 $as_echo "$ac_cv_asm_func_def" >&6; }
14776 case "$ac_cv_asm_func_def" in
14777 ".def")
14778 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14780 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14781 ".type @function")
14782 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14784 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14785 ".type 2")
14786 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14788 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14790 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14792 asm_func_header="" ;;
14793 esac
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14796 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14797 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14798 $as_echo_n "(cached) " >&6
14799 else
14800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h. */
14802 asm(".text\n\t.long 0");
14804 main ()
14808 return 0;
14810 _ACEOF
14811 if ac_fn_c_try_compile "$LINENO"; then :
14812 ac_cv_c_asm_outside_funcs="yes"
14813 else
14814 ac_cv_c_asm_outside_funcs="no"
14816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14819 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14822 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14823 if ${ac_cv_c_dot_previous+:} false; then :
14824 $as_echo_n "(cached) " >&6
14825 else
14826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14827 /* end confdefs.h. */
14830 main ()
14832 asm(".text\nac_test:\t.long 0\n\t.previous");
14834 return 0;
14836 _ACEOF
14837 if ac_fn_c_try_link "$LINENO"; then :
14838 ac_cv_c_dot_previous="yes"
14839 else
14840 ac_cv_c_dot_previous="no"
14842 rm -f core conftest.err conftest.$ac_objext \
14843 conftest$ac_exeext conftest.$ac_ext
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14846 $as_echo "$ac_cv_c_dot_previous" >&6; }
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14849 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14850 if ${ac_cv_c_cfi_support+:} false; then :
14851 $as_echo_n "(cached) " >&6
14852 else
14853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14854 /* end confdefs.h. */
14855 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14857 main ()
14861 return 0;
14863 _ACEOF
14864 if ac_fn_c_try_compile "$LINENO"; then :
14865 ac_cv_c_cfi_support="yes"
14866 else
14867 ac_cv_c_cfi_support="no"
14869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14872 $as_echo "$ac_cv_c_cfi_support" >&6; }
14874 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14875 asm_func_trailer=""
14876 if test "$ac_cv_c_dot_previous" = "yes"
14877 then
14878 asm_func_trailer="\\n\\t.previous"
14880 if test "$ac_cv_c_cfi_support" = "yes"
14881 then
14882 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14883 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14885 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14887 UNWINDFLAGS=-fasynchronous-unwind-tables
14889 else
14890 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14892 if test "x$enable_win64" = "xyes"
14893 then
14894 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14898 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14901 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14902 then
14903 cat >>confdefs.h <<_ACEOF
14904 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14905 _ACEOF
14907 else
14908 cat >>confdefs.h <<_ACEOF
14909 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14910 _ACEOF
14914 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14917 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14921 case $build_os in
14922 cygwin*|mingw32*) TOOLSEXT=".exe"
14924 esac
14926 case $host_os in
14927 linux-android*) ;;
14928 linux*)
14929 case $host_cpu in
14930 *i[3456789]86*|x86_64*)
14931 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
14932 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14934 esac
14936 esac
14939 ac_save_CFLAGS="$CFLAGS"
14940 CFLAGS="$CFLAGS $BUILTINFLAG"
14941 for ac_func in \
14942 __res_get_state \
14943 __res_getservers \
14944 _finite \
14945 _isnan \
14946 _pclose \
14947 _popen \
14948 _snprintf \
14949 _spawnvp \
14950 _strdup \
14951 _stricmp \
14952 _strnicmp \
14953 _strtoi64 \
14954 _strtoui64 \
14955 _vsnprintf \
14956 asctime_r \
14957 chsize \
14958 dlopen \
14959 epoll_create \
14960 ffs \
14961 finitef \
14962 fnmatch \
14963 fork \
14964 fpclass \
14965 fstatfs \
14966 fstatvfs \
14967 ftruncate \
14968 futimens \
14969 futimes \
14970 futimesat \
14971 getattrlist \
14972 getdirentries \
14973 getopt_long_only \
14974 getpwuid \
14975 gettimeofday \
14976 getuid \
14977 if_nameindex \
14978 isnanf \
14979 kqueue \
14980 lstat \
14981 memmove \
14982 mmap \
14983 pclose \
14984 pipe2 \
14985 poll \
14986 popen \
14987 port_create \
14988 prctl \
14989 pread \
14990 proc_pidinfo \
14991 pwrite \
14992 readdir \
14993 readlink \
14994 sched_yield \
14995 select \
14996 setproctitle \
14997 setprogname \
14998 setrlimit \
14999 settimeofday \
15000 sigaltstack \
15001 sigprocmask \
15002 snprintf \
15003 statfs \
15004 statvfs \
15005 strcasecmp \
15006 strdup \
15007 strerror \
15008 strncasecmp \
15009 strtold \
15010 strtoll \
15011 strtoull \
15012 symlink \
15013 tcdrain \
15014 thr_kill2 \
15015 timegm \
15016 usleep \
15017 vsnprintf
15019 do :
15020 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15021 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15022 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15023 cat >>confdefs.h <<_ACEOF
15024 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15025 _ACEOF
15028 done
15030 CFLAGS="$ac_save_CFLAGS"
15032 if test "$ac_cv_func_dlopen" = no
15033 then
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15035 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15036 if ${ac_cv_lib_dl_dlopen+:} false; then :
15037 $as_echo_n "(cached) " >&6
15038 else
15039 ac_check_lib_save_LIBS=$LIBS
15040 LIBS="-ldl $LIBS"
15041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15042 /* end confdefs.h. */
15044 /* Override any GCC internal prototype to avoid an error.
15045 Use char because int might match the return type of a GCC
15046 builtin and then its argument prototype would still apply. */
15047 #ifdef __cplusplus
15048 extern "C"
15049 #endif
15050 char dlopen ();
15052 main ()
15054 return dlopen ();
15056 return 0;
15058 _ACEOF
15059 if ac_fn_c_try_link "$LINENO"; then :
15060 ac_cv_lib_dl_dlopen=yes
15061 else
15062 ac_cv_lib_dl_dlopen=no
15064 rm -f core conftest.err conftest.$ac_objext \
15065 conftest$ac_exeext conftest.$ac_ext
15066 LIBS=$ac_check_lib_save_LIBS
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15069 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15070 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15071 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15072 DL_LIBS="-ldl"
15077 ac_wine_check_funcs_save_LIBS="$LIBS"
15078 LIBS="$LIBS $DL_LIBS"
15079 for ac_func in dladdr
15080 do :
15081 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15082 if test "x$ac_cv_func_dladdr" = xyes; then :
15083 cat >>confdefs.h <<_ACEOF
15084 #define HAVE_DLADDR 1
15085 _ACEOF
15088 done
15090 LIBS="$ac_wine_check_funcs_save_LIBS"
15092 if test "$ac_cv_func_poll" = no
15093 then
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15095 $as_echo_n "checking for poll in -lpoll... " >&6; }
15096 if ${ac_cv_lib_poll_poll+:} false; then :
15097 $as_echo_n "(cached) " >&6
15098 else
15099 ac_check_lib_save_LIBS=$LIBS
15100 LIBS="-lpoll $LIBS"
15101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15104 /* Override any GCC internal prototype to avoid an error.
15105 Use char because int might match the return type of a GCC
15106 builtin and then its argument prototype would still apply. */
15107 #ifdef __cplusplus
15108 extern "C"
15109 #endif
15110 char poll ();
15112 main ()
15114 return poll ();
15116 return 0;
15118 _ACEOF
15119 if ac_fn_c_try_link "$LINENO"; then :
15120 ac_cv_lib_poll_poll=yes
15121 else
15122 ac_cv_lib_poll_poll=no
15124 rm -f core conftest.err conftest.$ac_objext \
15125 conftest$ac_exeext conftest.$ac_ext
15126 LIBS=$ac_check_lib_save_LIBS
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15129 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15130 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15131 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15132 POLL_LIBS="-lpoll"
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15139 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15140 if ${ac_cv_search_gethostbyname+:} false; then :
15141 $as_echo_n "(cached) " >&6
15142 else
15143 ac_func_search_save_LIBS=$LIBS
15144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h. */
15147 /* Override any GCC internal prototype to avoid an error.
15148 Use char because int might match the return type of a GCC
15149 builtin and then its argument prototype would still apply. */
15150 #ifdef __cplusplus
15151 extern "C"
15152 #endif
15153 char gethostbyname ();
15155 main ()
15157 return gethostbyname ();
15159 return 0;
15161 _ACEOF
15162 for ac_lib in '' nsl; do
15163 if test -z "$ac_lib"; then
15164 ac_res="none required"
15165 else
15166 ac_res=-l$ac_lib
15167 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15169 if ac_fn_c_try_link "$LINENO"; then :
15170 ac_cv_search_gethostbyname=$ac_res
15172 rm -f core conftest.err conftest.$ac_objext \
15173 conftest$ac_exeext
15174 if ${ac_cv_search_gethostbyname+:} false; then :
15175 break
15177 done
15178 if ${ac_cv_search_gethostbyname+:} false; then :
15180 else
15181 ac_cv_search_gethostbyname=no
15183 rm conftest.$ac_ext
15184 LIBS=$ac_func_search_save_LIBS
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15187 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15188 ac_res=$ac_cv_search_gethostbyname
15189 if test "$ac_res" != no; then :
15190 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15196 $as_echo_n "checking for library containing connect... " >&6; }
15197 if ${ac_cv_search_connect+:} false; then :
15198 $as_echo_n "(cached) " >&6
15199 else
15200 ac_func_search_save_LIBS=$LIBS
15201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15202 /* end confdefs.h. */
15204 /* Override any GCC internal prototype to avoid an error.
15205 Use char because int might match the return type of a GCC
15206 builtin and then its argument prototype would still apply. */
15207 #ifdef __cplusplus
15208 extern "C"
15209 #endif
15210 char connect ();
15212 main ()
15214 return connect ();
15216 return 0;
15218 _ACEOF
15219 for ac_lib in '' socket; do
15220 if test -z "$ac_lib"; then
15221 ac_res="none required"
15222 else
15223 ac_res=-l$ac_lib
15224 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15226 if ac_fn_c_try_link "$LINENO"; then :
15227 ac_cv_search_connect=$ac_res
15229 rm -f core conftest.err conftest.$ac_objext \
15230 conftest$ac_exeext
15231 if ${ac_cv_search_connect+:} false; then :
15232 break
15234 done
15235 if ${ac_cv_search_connect+:} false; then :
15237 else
15238 ac_cv_search_connect=no
15240 rm conftest.$ac_ext
15241 LIBS=$ac_func_search_save_LIBS
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15244 $as_echo "$ac_cv_search_connect" >&6; }
15245 ac_res=$ac_cv_search_connect
15246 if test "$ac_res" != no; then :
15247 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15253 $as_echo_n "checking for library containing inet_aton... " >&6; }
15254 if ${ac_cv_search_inet_aton+:} false; then :
15255 $as_echo_n "(cached) " >&6
15256 else
15257 ac_func_search_save_LIBS=$LIBS
15258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15259 /* end confdefs.h. */
15261 /* Override any GCC internal prototype to avoid an error.
15262 Use char because int might match the return type of a GCC
15263 builtin and then its argument prototype would still apply. */
15264 #ifdef __cplusplus
15265 extern "C"
15266 #endif
15267 char inet_aton ();
15269 main ()
15271 return inet_aton ();
15273 return 0;
15275 _ACEOF
15276 for ac_lib in '' resolv; do
15277 if test -z "$ac_lib"; then
15278 ac_res="none required"
15279 else
15280 ac_res=-l$ac_lib
15281 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15283 if ac_fn_c_try_link "$LINENO"; then :
15284 ac_cv_search_inet_aton=$ac_res
15286 rm -f core conftest.err conftest.$ac_objext \
15287 conftest$ac_exeext
15288 if ${ac_cv_search_inet_aton+:} false; then :
15289 break
15291 done
15292 if ${ac_cv_search_inet_aton+:} false; then :
15294 else
15295 ac_cv_search_inet_aton=no
15297 rm conftest.$ac_ext
15298 LIBS=$ac_func_search_save_LIBS
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15301 $as_echo "$ac_cv_search_inet_aton" >&6; }
15302 ac_res=$ac_cv_search_inet_aton
15303 if test "$ac_res" != no; then :
15304 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15309 for ac_func in \
15310 getaddrinfo \
15311 getnameinfo \
15312 getnetbyname \
15313 getprotobyname \
15314 getprotobynumber \
15315 getservbyport \
15316 inet_addr \
15317 inet_network \
15318 inet_ntop \
15319 inet_pton \
15320 sendmsg \
15321 socketpair \
15323 do :
15324 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15325 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15326 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15327 cat >>confdefs.h <<_ACEOF
15328 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15329 _ACEOF
15332 done
15335 ac_save_LIBS=$LIBS
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15337 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15338 if ${ac_cv_search_clock_gettime+:} false; then :
15339 $as_echo_n "(cached) " >&6
15340 else
15341 ac_func_search_save_LIBS=$LIBS
15342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15343 /* end confdefs.h. */
15345 /* Override any GCC internal prototype to avoid an error.
15346 Use char because int might match the return type of a GCC
15347 builtin and then its argument prototype would still apply. */
15348 #ifdef __cplusplus
15349 extern "C"
15350 #endif
15351 char clock_gettime ();
15353 main ()
15355 return clock_gettime ();
15357 return 0;
15359 _ACEOF
15360 for ac_lib in '' rt; do
15361 if test -z "$ac_lib"; then
15362 ac_res="none required"
15363 else
15364 ac_res=-l$ac_lib
15365 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15367 if ac_fn_c_try_link "$LINENO"; then :
15368 ac_cv_search_clock_gettime=$ac_res
15370 rm -f core conftest.err conftest.$ac_objext \
15371 conftest$ac_exeext
15372 if ${ac_cv_search_clock_gettime+:} false; then :
15373 break
15375 done
15376 if ${ac_cv_search_clock_gettime+:} false; then :
15378 else
15379 ac_cv_search_clock_gettime=no
15381 rm conftest.$ac_ext
15382 LIBS=$ac_func_search_save_LIBS
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15385 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15386 ac_res=$ac_cv_search_clock_gettime
15387 if test "$ac_res" != no; then :
15388 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15390 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15392 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15396 LIBS=$ac_save_LIBS
15398 LDAP_LIBS=""
15400 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15401 then
15402 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15404 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15406 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15407 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15408 $as_echo_n "(cached) " >&6
15409 else
15410 ac_check_lib_save_LIBS=$LIBS
15411 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15413 /* end confdefs.h. */
15415 /* Override any GCC internal prototype to avoid an error.
15416 Use char because int might match the return type of a GCC
15417 builtin and then its argument prototype would still apply. */
15418 #ifdef __cplusplus
15419 extern "C"
15420 #endif
15421 char ldap_initialize ();
15423 main ()
15425 return ldap_initialize ();
15427 return 0;
15429 _ACEOF
15430 if ac_fn_c_try_link "$LINENO"; then :
15431 ac_cv_lib_ldap_r_ldap_initialize=yes
15432 else
15433 ac_cv_lib_ldap_r_ldap_initialize=no
15435 rm -f core conftest.err conftest.$ac_objext \
15436 conftest$ac_exeext conftest.$ac_ext
15437 LIBS=$ac_check_lib_save_LIBS
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15440 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15441 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15443 $as_echo_n "checking for ber_init in -llber... " >&6; }
15444 if ${ac_cv_lib_lber_ber_init+:} false; then :
15445 $as_echo_n "(cached) " >&6
15446 else
15447 ac_check_lib_save_LIBS=$LIBS
15448 LIBS="-llber $PTHREAD_LIBS $LIBS"
15449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15452 /* Override any GCC internal prototype to avoid an error.
15453 Use char because int might match the return type of a GCC
15454 builtin and then its argument prototype would still apply. */
15455 #ifdef __cplusplus
15456 extern "C"
15457 #endif
15458 char ber_init ();
15460 main ()
15462 return ber_init ();
15464 return 0;
15466 _ACEOF
15467 if ac_fn_c_try_link "$LINENO"; then :
15468 ac_cv_lib_lber_ber_init=yes
15469 else
15470 ac_cv_lib_lber_ber_init=no
15472 rm -f core conftest.err conftest.$ac_objext \
15473 conftest$ac_exeext conftest.$ac_ext
15474 LIBS=$ac_check_lib_save_LIBS
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15477 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15478 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15480 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15482 LDAP_LIBS="-lldap_r -llber"
15489 ac_wine_check_funcs_save_LIBS="$LIBS"
15490 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15491 for ac_func in \
15492 ldap_count_references \
15493 ldap_first_reference \
15494 ldap_next_reference \
15495 ldap_parse_reference \
15496 ldap_parse_sort_control \
15497 ldap_parse_sortresponse_control \
15498 ldap_parse_vlv_control \
15499 ldap_parse_vlvresponse_control
15500 do :
15501 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15502 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15503 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15504 cat >>confdefs.h <<_ACEOF
15505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15506 _ACEOF
15509 done
15511 LIBS="$ac_wine_check_funcs_save_LIBS"
15513 if test "x$LDAP_LIBS" = "x"; then :
15514 case "x$with_ldap" in
15515 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15516 xno) ;;
15517 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15518 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15519 esac
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15523 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15524 if ${wine_cv_one_arg_mkdir+:} false; then :
15525 $as_echo_n "(cached) " >&6
15526 else
15527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15528 /* end confdefs.h. */
15529 #include <sys/stat.h>
15531 main ()
15533 mkdir("foo");
15535 return 0;
15537 _ACEOF
15538 if ac_fn_c_try_compile "$LINENO"; then :
15539 wine_cv_one_arg_mkdir=yes
15540 else
15541 wine_cv_one_arg_mkdir=no
15543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15546 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15547 if test "$wine_cv_one_arg_mkdir" = "yes"
15548 then
15550 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15555 $as_echo_n "checking for sched_setaffinity... " >&6; }
15556 if ${wine_cv_have_sched_setaffinity+:} false; then :
15557 $as_echo_n "(cached) " >&6
15558 else
15559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15560 /* end confdefs.h. */
15561 #define _GNU_SOURCE
15562 #include <sched.h>
15564 main ()
15566 sched_setaffinity(0, 0, 0);
15568 return 0;
15570 _ACEOF
15571 if ac_fn_c_try_link "$LINENO"; then :
15572 wine_cv_have_sched_setaffinity=yes
15573 else
15574 wine_cv_have_sched_setaffinity=no
15576 rm -f core conftest.err conftest.$ac_objext \
15577 conftest$ac_exeext conftest.$ac_ext
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15580 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15581 if test "$wine_cv_have_sched_setaffinity" = "yes"
15582 then
15584 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15589 $as_echo_n "checking for fallocate... " >&6; }
15590 if ${wine_cv_have_fallocate+:} false; then :
15591 $as_echo_n "(cached) " >&6
15592 else
15593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15594 /* end confdefs.h. */
15595 #define _GNU_SOURCE
15596 #include <fcntl.h>
15598 main ()
15600 fallocate(-1, 0, 0, 0);
15602 return 0;
15604 _ACEOF
15605 if ac_fn_c_try_link "$LINENO"; then :
15606 wine_cv_have_fallocate=yes
15607 else
15608 wine_cv_have_fallocate=no
15610 rm -f core conftest.err conftest.$ac_objext \
15611 conftest$ac_exeext conftest.$ac_ext
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15614 $as_echo "$wine_cv_have_fallocate" >&6; }
15615 if test "$wine_cv_have_fallocate" = "yes"
15616 then
15618 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15624 $as_echo_n "checking for inline... " >&6; }
15625 if ${ac_cv_c_inline+:} false; then :
15626 $as_echo_n "(cached) " >&6
15627 else
15628 ac_cv_c_inline=no
15629 for ac_kw in inline __inline__ __inline; do
15630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15631 /* end confdefs.h. */
15632 #ifndef __cplusplus
15633 typedef int foo_t;
15634 static $ac_kw foo_t static_foo () {return 0; }
15635 $ac_kw foo_t foo () {return 0; }
15636 #endif
15638 _ACEOF
15639 if ac_fn_c_try_compile "$LINENO"; then :
15640 ac_cv_c_inline=$ac_kw
15642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15643 test "$ac_cv_c_inline" != no && break
15644 done
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15648 $as_echo "$ac_cv_c_inline" >&6; }
15650 case $ac_cv_c_inline in
15651 inline | yes) ;;
15653 case $ac_cv_c_inline in
15654 no) ac_val=;;
15655 *) ac_val=$ac_cv_c_inline;;
15656 esac
15657 cat >>confdefs.h <<_ACEOF
15658 #ifndef __cplusplus
15659 #define inline $ac_val
15660 #endif
15661 _ACEOF
15663 esac
15665 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15666 if test "x$ac_cv_type_mode_t" = xyes; then :
15668 cat >>confdefs.h <<_ACEOF
15669 #define HAVE_MODE_T 1
15670 _ACEOF
15674 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15675 if test "x$ac_cv_type_off_t" = xyes; then :
15677 cat >>confdefs.h <<_ACEOF
15678 #define HAVE_OFF_T 1
15679 _ACEOF
15683 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15684 if test "x$ac_cv_type_pid_t" = xyes; then :
15686 cat >>confdefs.h <<_ACEOF
15687 #define HAVE_PID_T 1
15688 _ACEOF
15692 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15693 if test "x$ac_cv_type_size_t" = xyes; then :
15695 cat >>confdefs.h <<_ACEOF
15696 #define HAVE_SIZE_T 1
15697 _ACEOF
15701 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15702 if test "x$ac_cv_type_ssize_t" = xyes; then :
15704 cat >>confdefs.h <<_ACEOF
15705 #define HAVE_SSIZE_T 1
15706 _ACEOF
15710 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15711 if test "x$ac_cv_type_long_long" = xyes; then :
15713 cat >>confdefs.h <<_ACEOF
15714 #define HAVE_LONG_LONG 1
15715 _ACEOF
15719 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15720 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15722 cat >>confdefs.h <<_ACEOF
15723 #define HAVE_FSBLKCNT_T 1
15724 _ACEOF
15728 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15729 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15731 cat >>confdefs.h <<_ACEOF
15732 #define HAVE_FSFILCNT_T 1
15733 _ACEOF
15738 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15739 #include <signal.h>
15741 if test "x$ac_cv_type_sigset_t" = xyes; then :
15743 cat >>confdefs.h <<_ACEOF
15744 #define HAVE_SIGSET_T 1
15745 _ACEOF
15750 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15752 if test "x$ac_cv_type_request_sense" = xyes; then :
15754 cat >>confdefs.h <<_ACEOF
15755 #define HAVE_REQUEST_SENSE 1
15756 _ACEOF
15762 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15763 #ifdef HAVE_SYS_SOCKET_H
15764 #include <sys/socket.h>
15765 #endif
15766 #ifdef HAVE_SYS_SOCKETVAR_H
15767 #include <sys/socketvar.h>
15768 #endif
15769 #ifdef HAVE_NET_ROUTE_H
15770 #include <net/route.h>
15771 #endif
15772 #ifdef HAVE_NETINET_IN_H
15773 #include <netinet/in.h>
15774 #endif
15775 #ifdef HAVE_NETINET_IN_SYSTM_H
15776 #include <netinet/in_systm.h>
15777 #endif
15778 #ifdef HAVE_NETINET_IP_H
15779 #include <netinet/ip.h>
15780 #endif
15781 #ifdef HAVE_NETINET_IN_PCB_H
15782 #include <netinet/in_pcb.h>
15783 #endif
15785 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15787 cat >>confdefs.h <<_ACEOF
15788 #define HAVE_STRUCT_XINPGEN 1
15789 _ACEOF
15795 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15796 #include <link.h>
15797 #endif
15798 #ifdef HAVE_SYS_LINK_H
15799 #include <sys/link.h>
15800 #endif
15802 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15804 cat >>confdefs.h <<_ACEOF
15805 #define HAVE_STRUCT_R_DEBUG 1
15806 _ACEOF
15810 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15811 #include <link.h>
15812 #endif
15813 #ifdef HAVE_SYS_LINK_H
15814 #include <sys/link.h>
15815 #endif
15817 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15819 cat >>confdefs.h <<_ACEOF
15820 #define HAVE_STRUCT_LINK_MAP 1
15821 _ACEOF
15827 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15828 #include <linux/input.h>
15829 #endif
15831 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15833 cat >>confdefs.h <<_ACEOF
15834 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15835 _ACEOF
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15842 $as_echo_n "checking for sigaddset... " >&6; }
15843 if ${wine_cv_have_sigaddset+:} false; then :
15844 $as_echo_n "(cached) " >&6
15845 else
15846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h. */
15848 #include <signal.h>
15850 main ()
15852 sigset_t set; sigaddset(&set,SIGTERM);
15854 return 0;
15856 _ACEOF
15857 if ac_fn_c_try_link "$LINENO"; then :
15858 wine_cv_have_sigaddset=yes
15859 else
15860 wine_cv_have_sigaddset=no
15862 rm -f core conftest.err conftest.$ac_objext \
15863 conftest$ac_exeext conftest.$ac_ext
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15866 $as_echo "$wine_cv_have_sigaddset" >&6; }
15867 if test "$wine_cv_have_sigaddset" = "yes"
15868 then
15870 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15876 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15877 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15878 $as_echo_n "(cached) " >&6
15879 else
15880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15881 /* end confdefs.h. */
15882 #include <netdb.h>
15884 main ()
15887 char *name=0;
15888 struct hostent he;
15889 struct hostent *result;
15890 char *buf=0;
15891 int bufsize=0;
15892 int errnr;
15893 char *addr=0;
15894 int addrlen=0;
15895 int addrtype=0;
15896 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15897 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15900 return 0;
15902 _ACEOF
15903 if ac_fn_c_try_link "$LINENO"; then :
15904 wine_cv_linux_gethostbyname_r_6=yes
15905 else
15906 wine_cv_linux_gethostbyname_r_6=no
15909 rm -f core conftest.err conftest.$ac_objext \
15910 conftest$ac_exeext conftest.$ac_ext
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15914 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15915 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15916 then
15918 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15922 if test "$ac_cv_header_linux_joystick_h" = "yes"
15923 then
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15925 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15926 if ${wine_cv_linux_joystick_22_api+:} false; then :
15927 $as_echo_n "(cached) " >&6
15928 else
15929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15932 #include <sys/ioctl.h>
15933 #include <sys/types.h>
15934 #include <linux/joystick.h>
15936 struct js_event blub;
15937 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15938 #error "no 2.2 header"
15939 #endif
15942 main ()
15944 /*empty*/
15946 return 0;
15948 _ACEOF
15949 if ac_fn_c_try_compile "$LINENO"; then :
15950 wine_cv_linux_joystick_22_api=yes
15951 else
15952 wine_cv_linux_joystick_22_api=no
15954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15958 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15959 if test "$wine_cv_linux_joystick_22_api" = "yes"
15960 then
15962 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15968 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15969 #ifdef HAVE_SYS_PARAM_H
15970 # include <sys/param.h>
15971 #endif
15972 #ifdef HAVE_SYS_MOUNT_H
15973 # include <sys/mount.h>
15974 #endif
15975 #ifdef HAVE_SYS_VFS_H
15976 # include <sys/vfs.h>
15977 #endif
15978 #ifdef HAVE_SYS_STATFS_H
15979 # include <sys/statfs.h>
15980 #endif
15982 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15984 cat >>confdefs.h <<_ACEOF
15985 #define HAVE_STRUCT_STATFS_F_BFREE 1
15986 _ACEOF
15990 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15991 #ifdef HAVE_SYS_PARAM_H
15992 # include <sys/param.h>
15993 #endif
15994 #ifdef HAVE_SYS_MOUNT_H
15995 # include <sys/mount.h>
15996 #endif
15997 #ifdef HAVE_SYS_VFS_H
15998 # include <sys/vfs.h>
15999 #endif
16000 #ifdef HAVE_SYS_STATFS_H
16001 # include <sys/statfs.h>
16002 #endif
16004 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16006 cat >>confdefs.h <<_ACEOF
16007 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16008 _ACEOF
16012 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16013 #ifdef HAVE_SYS_PARAM_H
16014 # include <sys/param.h>
16015 #endif
16016 #ifdef HAVE_SYS_MOUNT_H
16017 # include <sys/mount.h>
16018 #endif
16019 #ifdef HAVE_SYS_VFS_H
16020 # include <sys/vfs.h>
16021 #endif
16022 #ifdef HAVE_SYS_STATFS_H
16023 # include <sys/statfs.h>
16024 #endif
16026 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16028 cat >>confdefs.h <<_ACEOF
16029 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16030 _ACEOF
16034 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16035 #ifdef HAVE_SYS_PARAM_H
16036 # include <sys/param.h>
16037 #endif
16038 #ifdef HAVE_SYS_MOUNT_H
16039 # include <sys/mount.h>
16040 #endif
16041 #ifdef HAVE_SYS_VFS_H
16042 # include <sys/vfs.h>
16043 #endif
16044 #ifdef HAVE_SYS_STATFS_H
16045 # include <sys/statfs.h>
16046 #endif
16048 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16050 cat >>confdefs.h <<_ACEOF
16051 #define HAVE_STRUCT_STATFS_F_FFREE 1
16052 _ACEOF
16056 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16057 #ifdef HAVE_SYS_PARAM_H
16058 # include <sys/param.h>
16059 #endif
16060 #ifdef HAVE_SYS_MOUNT_H
16061 # include <sys/mount.h>
16062 #endif
16063 #ifdef HAVE_SYS_VFS_H
16064 # include <sys/vfs.h>
16065 #endif
16066 #ifdef HAVE_SYS_STATFS_H
16067 # include <sys/statfs.h>
16068 #endif
16070 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16072 cat >>confdefs.h <<_ACEOF
16073 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16074 _ACEOF
16078 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16079 #ifdef HAVE_SYS_PARAM_H
16080 # include <sys/param.h>
16081 #endif
16082 #ifdef HAVE_SYS_MOUNT_H
16083 # include <sys/mount.h>
16084 #endif
16085 #ifdef HAVE_SYS_VFS_H
16086 # include <sys/vfs.h>
16087 #endif
16088 #ifdef HAVE_SYS_STATFS_H
16089 # include <sys/statfs.h>
16090 #endif
16092 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16094 cat >>confdefs.h <<_ACEOF
16095 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16096 _ACEOF
16102 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16103 #include <sys/statvfs.h>
16104 #endif
16106 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16108 cat >>confdefs.h <<_ACEOF
16109 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16110 _ACEOF
16116 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16117 #include <dirent.h>
16118 #endif
16120 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16124 _ACEOF
16130 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16131 #ifdef HAVE_SYS_SOCKET_H
16132 # include <sys/socket.h>
16133 #endif
16134 #ifdef HAVE_SYS_UN_H
16135 # include <sys/un.h>
16136 #endif
16138 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16140 cat >>confdefs.h <<_ACEOF
16141 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16142 _ACEOF
16146 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16147 #ifdef HAVE_SYS_SOCKET_H
16148 # include <sys/socket.h>
16149 #endif
16150 #ifdef HAVE_SYS_UN_H
16151 # include <sys/un.h>
16152 #endif
16154 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16156 cat >>confdefs.h <<_ACEOF
16157 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16158 _ACEOF
16162 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16163 #ifdef HAVE_SYS_SOCKET_H
16164 # include <sys/socket.h>
16165 #endif
16166 #ifdef HAVE_SYS_UN_H
16167 # include <sys/un.h>
16168 #endif
16170 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16172 cat >>confdefs.h <<_ACEOF
16173 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16174 _ACEOF
16180 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16181 #ifdef HAVE_SCSI_SG_H
16182 #include <scsi/sg.h>
16183 #endif
16185 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16187 cat >>confdefs.h <<_ACEOF
16188 #define HAVE_SCSIREQ_T_CMD 1
16189 _ACEOF
16193 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>
16194 #ifdef HAVE_SCSI_SG_H
16195 #include <scsi/sg.h>
16196 #endif
16198 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16200 cat >>confdefs.h <<_ACEOF
16201 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16202 _ACEOF
16208 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16210 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16212 cat >>confdefs.h <<_ACEOF
16213 #define HAVE_SIGINFO_T_SI_FD 1
16214 _ACEOF
16220 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16221 #ifdef HAVE_SYS_MTIO_H
16222 #include <sys/mtio.h>
16223 #endif
16225 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16227 cat >>confdefs.h <<_ACEOF
16228 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16229 _ACEOF
16233 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16234 #ifdef HAVE_SYS_MTIO_H
16235 #include <sys/mtio.h>
16236 #endif
16238 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16240 cat >>confdefs.h <<_ACEOF
16241 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16242 _ACEOF
16246 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16247 #ifdef HAVE_SYS_MTIO_H
16248 #include <sys/mtio.h>
16249 #endif
16251 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16253 cat >>confdefs.h <<_ACEOF
16254 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16255 _ACEOF
16261 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16262 #include <getopt.h>
16263 #endif
16265 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16267 cat >>confdefs.h <<_ACEOF
16268 #define HAVE_STRUCT_OPTION_NAME 1
16269 _ACEOF
16275 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16276 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16278 cat >>confdefs.h <<_ACEOF
16279 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16280 _ACEOF
16284 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16285 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16287 cat >>confdefs.h <<_ACEOF
16288 #define HAVE_STRUCT_STAT_ST_MTIM 1
16289 _ACEOF
16293 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16294 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16296 cat >>confdefs.h <<_ACEOF
16297 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16298 _ACEOF
16302 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16303 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16305 cat >>confdefs.h <<_ACEOF
16306 #define HAVE_STRUCT_STAT_ST_CTIM 1
16307 _ACEOF
16311 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16312 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16314 cat >>confdefs.h <<_ACEOF
16315 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16316 _ACEOF
16320 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16321 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16323 cat >>confdefs.h <<_ACEOF
16324 #define HAVE_STRUCT_STAT_ST_ATIM 1
16325 _ACEOF
16329 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16330 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16332 cat >>confdefs.h <<_ACEOF
16333 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16334 _ACEOF
16338 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16339 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16341 cat >>confdefs.h <<_ACEOF
16342 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16343 _ACEOF
16347 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16348 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16350 cat >>confdefs.h <<_ACEOF
16351 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16352 _ACEOF
16356 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16357 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16359 cat >>confdefs.h <<_ACEOF
16360 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16361 _ACEOF
16365 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16366 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16368 cat >>confdefs.h <<_ACEOF
16369 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16370 _ACEOF
16374 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16375 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16377 cat >>confdefs.h <<_ACEOF
16378 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16379 _ACEOF
16385 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
16386 #include <sys/types.h>
16387 #endif
16388 #ifdef HAVE_NETINET_IN_H
16389 #include <netinet/in.h>
16390 #endif
16392 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16394 cat >>confdefs.h <<_ACEOF
16395 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16396 _ACEOF
16402 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16403 #include <resolv.h>
16404 #endif
16406 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16408 cat >>confdefs.h <<_ACEOF
16409 #define HAVE_STRUCT___RES_STATE 1
16410 _ACEOF
16416 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
16417 #include <resolv.h>
16418 #endif
16420 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16422 cat >>confdefs.h <<_ACEOF
16423 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16424 _ACEOF
16430 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16431 #include <sys/types.h>
16432 #endif
16433 #ifdef HAVE_NETINET_IN_H
16434 # include <netinet/in.h>
16435 #endif
16436 #ifdef HAVE_ARPA_NAMESER_H
16437 # include <arpa/nameser.h>
16438 #endif
16440 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16442 cat >>confdefs.h <<_ACEOF
16443 #define HAVE_NS_MSG__MSG_PTR 1
16444 _ACEOF
16450 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16451 #include <sys/types.h>
16452 #endif
16453 #ifdef HAVE_NETINET_IP_H
16454 #include <netinet/ip.h>
16455 #endif
16456 #ifdef HAVE_NETINET_IP_ICMP_H
16457 #include <netinet/ip_icmp.h>
16458 #endif
16459 #ifdef HAVE_NETINET_ICMP_VAR_H
16460 #include <netinet/icmp_var.h>
16461 #endif
16463 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16465 cat >>confdefs.h <<_ACEOF
16466 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16467 _ACEOF
16473 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16474 #include <sys/types.h>
16475 #endif
16476 #ifdef HAVE_ALIAS_H
16477 #include <alias.h>
16478 #endif
16479 #ifdef HAVE_SYS_SOCKET_H
16480 #include <sys/socket.h>
16481 #endif
16482 #ifdef HAVE_SYS_SOCKETVAR_H
16483 #include <sys/socketvar.h>
16484 #endif
16485 #ifdef HAVE_SYS_TIMEOUT_H
16486 #include <sys/timeout.h>
16487 #endif
16488 #ifdef HAVE_NETINET_IN_H
16489 #include <netinet/in.h>
16490 #endif
16491 #ifdef HAVE_NETINET_IN_SYSTM_H
16492 #include <netinet/in_systm.h>
16493 #endif
16494 #ifdef HAVE_NETINET_IP_H
16495 #include <netinet/ip.h>
16496 #endif
16497 #ifdef HAVE_NETINET_IP_VAR_H
16498 #include <netinet/ip_var.h>
16499 #endif
16500 #ifdef HAVE_NETINET_IP_ICMP_H
16501 #include <netinet/ip_icmp.h>
16502 #endif
16503 #ifdef HAVE_NETINET_ICMP_VAR_H
16504 #include <netinet/icmp_var.h>
16505 #endif
16507 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16509 cat >>confdefs.h <<_ACEOF
16510 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16511 _ACEOF
16517 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16518 #include <sys/types.h>
16519 #endif
16520 #ifdef HAVE_SYS_SOCKETVAR_H
16521 #include <sys/socketvar.h>
16522 #endif
16523 #ifdef HAVE_NETINET_IN_H
16524 #include <netinet/in.h>
16525 #endif
16526 #ifdef HAVE_NETINET_IP_VAR_H
16527 #include <netinet/ip_var.h>
16528 #endif
16530 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16532 cat >>confdefs.h <<_ACEOF
16533 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16534 _ACEOF
16540 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
16541 #include <netinet/ip_var.h>
16542 #endif
16544 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16546 cat >>confdefs.h <<_ACEOF
16547 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16548 _ACEOF
16554 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16555 #include <sys/types.h>
16556 #endif
16557 #ifdef HAVE_SYS_SOCKETVAR_H
16558 #include <sys/socketvar.h>
16559 #endif
16560 #ifdef HAVE_NETINET_IN_H
16561 #include <netinet/in.h>
16562 #endif
16563 #ifdef HAVE_NETINET_TCP_H
16564 #include <netinet/tcp.h>
16565 #endif
16566 #ifdef HAVE_NETINET_TCP_VAR_H
16567 #include <netinet/tcp_var.h>
16568 #endif
16570 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16572 cat >>confdefs.h <<_ACEOF
16573 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16574 _ACEOF
16580 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
16581 #include <netinet/tcp_var.h>
16582 #endif
16584 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16586 cat >>confdefs.h <<_ACEOF
16587 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16588 _ACEOF
16594 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16595 #include <sys/types.h>
16596 #endif
16597 #ifdef HAVE_NETINET_IN_H
16598 #include <netinet/in.h>
16599 #endif
16600 #ifdef HAVE_NETINET_IP_VAR_H
16601 #include <netinet/ip_var.h>
16602 #endif
16603 #ifdef HAVE_NETINET_UDP_H
16604 #include <netinet/udp.h>
16605 #endif
16606 #ifdef HAVE_NETINET_UDP_VAR_H
16607 #include <netinet/udp_var.h>
16608 #endif
16610 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16612 cat >>confdefs.h <<_ACEOF
16613 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16614 _ACEOF
16620 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16621 #include <sys/types.h>
16622 #endif
16623 #ifdef HAVE_NET_IF_H
16624 # include <net/if.h>
16625 #endif
16627 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16629 cat >>confdefs.h <<_ACEOF
16630 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16631 _ACEOF
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16638 $as_echo_n "checking for timezone variable... " >&6; }
16639 if ${ac_cv_have_timezone+:} false; then :
16640 $as_echo_n "(cached) " >&6
16641 else
16642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16643 /* end confdefs.h. */
16644 #include <time.h>
16646 main ()
16648 timezone = 1
16650 return 0;
16652 _ACEOF
16653 if ac_fn_c_try_link "$LINENO"; then :
16654 ac_cv_have_timezone="yes"
16655 else
16656 ac_cv_have_timezone="no"
16658 rm -f core conftest.err conftest.$ac_objext \
16659 conftest$ac_exeext conftest.$ac_ext
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16662 $as_echo "$ac_cv_have_timezone" >&6; }
16663 if test "$ac_cv_have_timezone" = "yes"
16664 then
16666 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16670 $as_echo_n "checking for daylight variable... " >&6; }
16671 if ${ac_cv_have_daylight+:} false; then :
16672 $as_echo_n "(cached) " >&6
16673 else
16674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h. */
16676 #include <time.h>
16678 main ()
16680 daylight = 1
16682 return 0;
16684 _ACEOF
16685 if ac_fn_c_try_link "$LINENO"; then :
16686 ac_cv_have_daylight="yes"
16687 else
16688 ac_cv_have_daylight="no"
16690 rm -f core conftest.err conftest.$ac_objext \
16691 conftest$ac_exeext conftest.$ac_ext
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16694 $as_echo "$ac_cv_have_daylight" >&6; }
16695 if test "$ac_cv_have_daylight" = "yes"
16696 then
16698 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16702 ac_save_LIBS="$LIBS"
16703 LIBS="$LIBS -lm"
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16705 $as_echo_n "checking for isfinite... " >&6; }
16706 if ${ac_cv_have_isfinite+:} false; then :
16707 $as_echo_n "(cached) " >&6
16708 else
16709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16710 /* end confdefs.h. */
16711 #define _GNU_SOURCE
16712 #include <math.h>
16714 main ()
16716 float f = 0.0; return isfinite(f)
16718 return 0;
16720 _ACEOF
16721 if ac_fn_c_try_link "$LINENO"; then :
16722 ac_cv_have_isfinite="yes"
16723 else
16724 ac_cv_have_isfinite="no"
16726 rm -f core conftest.err conftest.$ac_objext \
16727 conftest$ac_exeext conftest.$ac_ext
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16730 $as_echo "$ac_cv_have_isfinite" >&6; }
16731 if test "$ac_cv_have_isfinite" = "yes"
16732 then
16734 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16739 $as_echo_n "checking for isinf... " >&6; }
16740 if ${ac_cv_have_isinf+:} false; then :
16741 $as_echo_n "(cached) " >&6
16742 else
16743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16744 /* end confdefs.h. */
16745 #include <math.h>
16747 main ()
16749 float f = 0.0; return isinf(f)
16751 return 0;
16753 _ACEOF
16754 if ac_fn_c_try_link "$LINENO"; then :
16755 ac_cv_have_isinf="yes"
16756 else
16757 ac_cv_have_isinf="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_isinf" >&5
16763 $as_echo "$ac_cv_have_isinf" >&6; }
16764 if test "$ac_cv_have_isinf" = "yes"
16765 then
16767 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16772 $as_echo_n "checking for isnan... " >&6; }
16773 if ${ac_cv_have_isnan+:} 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 isnan(f)
16784 return 0;
16786 _ACEOF
16787 if ac_fn_c_try_link "$LINENO"; then :
16788 ac_cv_have_isnan="yes"
16789 else
16790 ac_cv_have_isnan="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_isnan" >&5
16796 $as_echo "$ac_cv_have_isnan" >&6; }
16797 if test "$ac_cv_have_isnan" = "yes"
16798 then
16800 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16804 for ac_func in \
16805 cbrt \
16806 cbrtf \
16807 erf \
16808 erff \
16809 exp2 \
16810 exp2f \
16811 llrint \
16812 llrintf \
16813 llround \
16814 llroundf \
16815 log2 \
16816 log2f \
16817 lrint \
16818 lrintf \
16819 lround \
16820 lroundf \
16821 rint \
16822 rintf \
16823 round \
16824 roundf \
16825 trunc \
16826 truncf
16828 do :
16829 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16830 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16831 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16832 cat >>confdefs.h <<_ACEOF
16833 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16834 _ACEOF
16837 done
16839 LIBS="$ac_save_LIBS"
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16842 $as_echo_n "checking for __builtin_clz... " >&6; }
16843 if ${ac_cv_have___builtin_clz+:} false; then :
16844 $as_echo_n "(cached) " >&6
16845 else
16846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16847 /* end confdefs.h. */
16850 main ()
16852 return __builtin_clz(1)
16854 return 0;
16856 _ACEOF
16857 if ac_fn_c_try_link "$LINENO"; then :
16858 ac_cv_have___builtin_clz="yes"
16859 else
16860 ac_cv_have___builtin_clz="no"
16862 rm -f core conftest.err conftest.$ac_objext \
16863 conftest$ac_exeext conftest.$ac_ext
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16866 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16867 if test "$ac_cv_have___builtin_clz" = "yes"
16868 then
16870 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16875 $as_echo_n "checking for __builtin_popcount... " >&6; }
16876 if ${ac_cv_have___builtin_popcount+:} 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_popcount(1)
16887 return 0;
16889 _ACEOF
16890 if ac_fn_c_try_link "$LINENO"; then :
16891 ac_cv_have___builtin_popcount="yes"
16892 else
16893 ac_cv_have___builtin_popcount="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_popcount" >&5
16899 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16900 if test "$ac_cv_have___builtin_popcount" = "yes"
16901 then
16903 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16908 case $host_cpu in
16909 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16910 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16911 if ${ac_cv_cpp_def___i386__+:} false; then :
16912 $as_echo_n "(cached) " >&6
16913 else
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16916 #ifndef __i386__
16918 #endif
16919 _ACEOF
16920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16921 $EGREP "yes" >/dev/null 2>&1; then :
16922 ac_cv_cpp_def___i386__=yes
16923 else
16924 ac_cv_cpp_def___i386__=no
16926 rm -f conftest*
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16930 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16931 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16932 CFLAGS="$CFLAGS -D__i386__"
16933 LINTFLAGS="$LINTFLAGS -D__i386__"
16934 fi ;;
16935 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16936 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16937 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16938 $as_echo_n "(cached) " >&6
16939 else
16940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16942 #ifndef __x86_64__
16944 #endif
16945 _ACEOF
16946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16947 $EGREP "yes" >/dev/null 2>&1; then :
16948 ac_cv_cpp_def___x86_64__=yes
16949 else
16950 ac_cv_cpp_def___x86_64__=no
16952 rm -f conftest*
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16956 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16957 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16958 CFLAGS="$CFLAGS -D__x86_64__"
16959 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16960 fi ;;
16961 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16962 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16963 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16964 $as_echo_n "(cached) " >&6
16965 else
16966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16967 /* end confdefs.h. */
16968 #ifndef __sparc64__
16970 #endif
16971 _ACEOF
16972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16973 $EGREP "yes" >/dev/null 2>&1; then :
16974 ac_cv_cpp_def___sparc64__=yes
16975 else
16976 ac_cv_cpp_def___sparc64__=no
16978 rm -f conftest*
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16982 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16983 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16984 CFLAGS="$CFLAGS -D__sparc64__"
16985 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16986 fi ;;
16987 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16988 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16989 if ${ac_cv_cpp_def___sparc__+:} false; then :
16990 $as_echo_n "(cached) " >&6
16991 else
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16994 #ifndef __sparc__
16996 #endif
16997 _ACEOF
16998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16999 $EGREP "yes" >/dev/null 2>&1; then :
17000 ac_cv_cpp_def___sparc__=yes
17001 else
17002 ac_cv_cpp_def___sparc__=no
17004 rm -f conftest*
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17008 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17009 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17010 CFLAGS="$CFLAGS -D__sparc__"
17011 LINTFLAGS="$LINTFLAGS -D__sparc__"
17012 fi ;;
17013 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17014 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17015 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17016 $as_echo_n "(cached) " >&6
17017 else
17018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17019 /* end confdefs.h. */
17020 #ifndef __powerpc64__
17022 #endif
17023 _ACEOF
17024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17025 $EGREP "yes" >/dev/null 2>&1; then :
17026 ac_cv_cpp_def___powerpc64__=yes
17027 else
17028 ac_cv_cpp_def___powerpc64__=no
17030 rm -f conftest*
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17034 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17035 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17036 CFLAGS="$CFLAGS -D__powerpc64__"
17037 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17038 fi ;;
17039 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17040 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17041 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17042 $as_echo_n "(cached) " >&6
17043 else
17044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17045 /* end confdefs.h. */
17046 #ifndef __powerpc__
17048 #endif
17049 _ACEOF
17050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17051 $EGREP "yes" >/dev/null 2>&1; then :
17052 ac_cv_cpp_def___powerpc__=yes
17053 else
17054 ac_cv_cpp_def___powerpc__=no
17056 rm -f conftest*
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17060 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17061 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17062 CFLAGS="$CFLAGS -D__powerpc__"
17063 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17064 fi ;;
17065 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17066 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17067 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17068 $as_echo_n "(cached) " >&6
17069 else
17070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17071 /* end confdefs.h. */
17072 #ifndef __aarch64__
17074 #endif
17075 _ACEOF
17076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17077 $EGREP "yes" >/dev/null 2>&1; then :
17078 ac_cv_cpp_def___aarch64__=yes
17079 else
17080 ac_cv_cpp_def___aarch64__=no
17082 rm -f conftest*
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17086 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17087 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17088 CFLAGS="$CFLAGS -D__aarch64__"
17089 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17090 fi ;;
17091 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17092 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17093 if ${ac_cv_cpp_def___arm__+:} false; then :
17094 $as_echo_n "(cached) " >&6
17095 else
17096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h. */
17098 #ifndef __arm__
17100 #endif
17101 _ACEOF
17102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17103 $EGREP "yes" >/dev/null 2>&1; then :
17104 ac_cv_cpp_def___arm__=yes
17105 else
17106 ac_cv_cpp_def___arm__=no
17108 rm -f conftest*
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17112 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17113 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17114 CFLAGS="$CFLAGS -D__arm__"
17115 LINTFLAGS="$LINTFLAGS -D__arm__"
17116 fi ;;
17117 esac
17119 case $host_vendor in
17120 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17121 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17122 if ${ac_cv_cpp_def___sun__+:} false; then :
17123 $as_echo_n "(cached) " >&6
17124 else
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #ifndef __sun__
17129 #endif
17130 _ACEOF
17131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17132 $EGREP "yes" >/dev/null 2>&1; then :
17133 ac_cv_cpp_def___sun__=yes
17134 else
17135 ac_cv_cpp_def___sun__=no
17137 rm -f conftest*
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17141 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17142 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17143 CFLAGS="$CFLAGS -D__sun__"
17144 LINTFLAGS="$LINTFLAGS -D__sun__"
17145 fi ;;
17146 esac
17152 ac_config_commands="$ac_config_commands include/stamp-h"
17154 $as_echo_n "creating Makefile rules..." >&6
17156 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17157 SOCKET_LIBS = $SOCKET_LIBS
17158 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17159 IOKIT_LIBS = $IOKIT_LIBS
17160 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17161 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17162 CORESERVICES_LIBS = $CORESERVICES_LIBS
17163 APPKIT_LIBS = $APPKIT_LIBS
17164 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17165 SECURITY_LIBS = $SECURITY_LIBS
17166 COREAUDIO_LIBS = $COREAUDIO_LIBS
17167 OPENAL_LIBS = $OPENAL_LIBS
17168 OPENCL_LIBS = $OPENCL_LIBS
17169 QUICKTIME_LIBS = $QUICKTIME_LIBS
17170 CARBON_LIBS = $CARBON_LIBS
17171 PTHREAD_LIBS = $PTHREAD_LIBS
17172 X_CFLAGS = $X_CFLAGS
17173 X_PRE_LIBS = $X_PRE_LIBS
17174 X_LIBS = $X_LIBS
17175 X_EXTRA_LIBS = $X_EXTRA_LIBS
17176 PCAP_LIBS = $PCAP_LIBS
17177 XML2_CFLAGS = $XML2_CFLAGS
17178 XML2_LIBS = $XML2_LIBS
17179 XSLT_CFLAGS = $XSLT_CFLAGS
17180 XSLT_LIBS = $XSLT_LIBS
17181 DBUS_CFLAGS = $DBUS_CFLAGS
17182 DBUS_LIBS = $DBUS_LIBS
17183 HAL_CFLAGS = $HAL_CFLAGS
17184 HAL_LIBS = $HAL_LIBS
17185 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17186 GNUTLS_LIBS = $GNUTLS_LIBS
17187 SANE_CFLAGS = $SANE_CFLAGS
17188 SANE_LIBS = $SANE_LIBS
17189 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17190 GPHOTO2_LIBS = $GPHOTO2_LIBS
17191 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17192 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17193 RESOLV_LIBS = $RESOLV_LIBS
17194 LCMS2_CFLAGS = $LCMS2_CFLAGS
17195 LCMS2_LIBS = $LCMS2_LIBS
17196 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17197 FREETYPE_LIBS = $FREETYPE_LIBS
17198 Z_LIBS = $Z_LIBS
17199 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17200 PULSE_CFLAGS = $PULSE_CFLAGS
17201 PULSE_LIBS = $PULSE_LIBS
17202 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17203 GSTREAMER_LIBS = $GSTREAMER_LIBS
17204 ALSA_LIBS = $ALSA_LIBS
17205 OSS4_CFLAGS = $OSS4_CFLAGS
17206 CAPI20_CFLAGS = $CAPI20_CFLAGS
17207 CAPI20_LIBS = $CAPI20_LIBS
17208 CUPS_CFLAGS = $CUPS_CFLAGS
17209 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17210 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17211 JPEG_CFLAGS = $JPEG_CFLAGS
17212 JPEG_LIBS = $JPEG_LIBS
17213 PNG_CFLAGS = $PNG_CFLAGS
17214 PNG_LIBS = $PNG_LIBS
17215 TIFF_CFLAGS = $TIFF_CFLAGS
17216 TIFF_LIBS = $TIFF_LIBS
17217 MPG123_CFLAGS = $MPG123_CFLAGS
17218 MPG123_LIBS = $MPG123_LIBS
17219 KSTAT_LIBS = $KSTAT_LIBS
17220 PROCSTAT_LIBS = $PROCSTAT_LIBS
17221 NETAPI_CFLAGS = $NETAPI_CFLAGS
17222 NETAPI_LIBS = $NETAPI_LIBS
17223 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17224 DL_LIBS = $DL_LIBS
17225 POLL_LIBS = $POLL_LIBS
17226 RT_LIBS = $RT_LIBS
17227 LDAP_LIBS = $LDAP_LIBS
17232 wine_fn_append_rule "
17233 # Rules automatically generated by configure
17235 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17237 .INIT: Makefile
17238 .MAKEFILEDEPS:
17239 all: Makefile
17240 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17241 @./config.status Make.tmp Makefile
17242 depend: \$(MAKEDEP) dummy
17243 \$(MAKEDEP)"
17245 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17246 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17248 if test "x$enable_fonts" != xno; then
17249 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17250 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17251 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17252 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17253 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17254 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17256 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17257 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17258 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17259 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17260 ac_config_links="$ac_config_links wine:tools/winewrapper"
17261 wine_fn_config_symlink wine
17262 if test "x$enable_win64" != xno; then
17263 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17264 wine_fn_config_symlink wine64
17267 wine_fn_config_dll acledit enable_acledit
17268 wine_fn_config_dll aclui enable_aclui implib
17269 wine_fn_config_dll activeds enable_activeds implib
17270 wine_fn_config_dll actxprxy enable_actxprxy clean
17271 wine_fn_config_lib adsiid
17272 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17273 wine_fn_config_test dlls/advapi32/tests advapi32_test
17274 wine_fn_config_dll advpack enable_advpack implib
17275 wine_fn_config_test dlls/advpack/tests advpack_test
17276 wine_fn_config_dll amstream enable_amstream clean
17277 wine_fn_config_test dlls/amstream/tests amstream_test
17278 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17279 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17280 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17281 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17282 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17283 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17284 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17285 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17286 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17287 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17288 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17289 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17290 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17291 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17292 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17293 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17294 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17295 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17296 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17297 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17298 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17299 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17300 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17301 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17302 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17303 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17304 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17305 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17306 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17307 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17308 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17309 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17310 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17311 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17312 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17313 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17314 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17315 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17316 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17317 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17318 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17319 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17320 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17322 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17323 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17324 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17325 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17326 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17327 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17328 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17329 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17330 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17331 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17332 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17333 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17334 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17335 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17336 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17337 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17338 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17339 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17340 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17341 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17342 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17343 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17344 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17345 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17346 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17347 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17348 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17349 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17350 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17351 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17352 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17353 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17354 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17355 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17356 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17357 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17358 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17359 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17360 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17361 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17362 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17363 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17364 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17365 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17366 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17367 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17368 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17369 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17370 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17371 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17372 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17373 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17374 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17375 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17376 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17377 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17378 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17379 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17380 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17381 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17382 wine_fn_config_dll apphelp enable_apphelp
17383 wine_fn_config_test dlls/apphelp/tests apphelp_test
17384 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17385 wine_fn_config_dll atl enable_atl clean,implib
17386 wine_fn_config_test dlls/atl/tests atl_test
17387 wine_fn_config_dll atl100 enable_atl100 clean,implib
17388 wine_fn_config_test dlls/atl100/tests atl100_test
17389 wine_fn_config_dll atl110 enable_atl110 clean
17390 wine_fn_config_dll atl80 enable_atl80 clean,implib
17391 wine_fn_config_test dlls/atl80/tests atl80_test
17392 wine_fn_config_dll atl90 enable_atl90 clean
17393 wine_fn_config_dll authz enable_authz
17394 wine_fn_config_dll avicap32 enable_avicap32 implib
17395 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17396 wine_fn_config_test dlls/avifil32/tests avifil32_test
17397 wine_fn_config_dll avifile.dll16 enable_win16
17398 wine_fn_config_dll avrt enable_avrt implib
17399 wine_fn_config_dll bcrypt enable_bcrypt implib
17400 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17401 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17402 wine_fn_config_dll browseui enable_browseui clean
17403 wine_fn_config_test dlls/browseui/tests browseui_test
17404 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17405 wine_fn_config_dll cabinet enable_cabinet implib
17406 wine_fn_config_test dlls/cabinet/tests cabinet_test
17407 wine_fn_config_dll capi2032 enable_capi2032 implib
17408 wine_fn_config_dll cards enable_cards implib
17409 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17410 wine_fn_config_dll clusapi enable_clusapi implib
17411 wine_fn_config_dll combase enable_combase
17412 wine_fn_config_test dlls/combase/tests combase_test
17413 wine_fn_config_dll comcat enable_comcat
17414 wine_fn_config_test dlls/comcat/tests comcat_test
17415 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17416 wine_fn_config_test dlls/comctl32/tests comctl32_test
17417 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17418 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17419 wine_fn_config_dll comm.drv16 enable_win16
17420 wine_fn_config_dll commdlg.dll16 enable_win16
17421 wine_fn_config_dll compobj.dll16 enable_win16
17422 wine_fn_config_dll compstui enable_compstui implib
17423 wine_fn_config_dll comsvcs enable_comsvcs implib
17424 wine_fn_config_dll connect enable_connect
17425 wine_fn_config_dll credui enable_credui clean,implib
17426 wine_fn_config_test dlls/credui/tests credui_test
17427 wine_fn_config_dll crtdll enable_crtdll implib
17428 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17429 wine_fn_config_test dlls/crypt32/tests crypt32_test
17430 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17431 wine_fn_config_dll cryptdll enable_cryptdll implib
17432 wine_fn_config_dll cryptext enable_cryptext
17433 wine_fn_config_dll cryptnet enable_cryptnet implib
17434 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17435 wine_fn_config_dll cryptui enable_cryptui clean,implib
17436 wine_fn_config_test dlls/cryptui/tests cryptui_test
17437 wine_fn_config_dll ctapi32 enable_ctapi32
17438 wine_fn_config_dll ctl3d.dll16 enable_win16
17439 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17440 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17441 wine_fn_config_dll d2d1 enable_d2d1 implib
17442 wine_fn_config_test dlls/d2d1/tests d2d1_test
17443 wine_fn_config_dll d3d10 enable_d3d10 implib
17444 wine_fn_config_test dlls/d3d10/tests d3d10_test
17445 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17446 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17447 wine_fn_config_dll d3d10core enable_d3d10core implib
17448 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17449 wine_fn_config_dll d3d11 enable_d3d11 implib
17450 wine_fn_config_test dlls/d3d11/tests d3d11_test
17451 wine_fn_config_dll d3d8 enable_d3d8 implib
17452 wine_fn_config_test dlls/d3d8/tests d3d8_test
17453 wine_fn_config_dll d3d9 enable_d3d9 implib
17454 wine_fn_config_test dlls/d3d9/tests d3d9_test
17455 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17456 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17457 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17458 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17459 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17460 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17461 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17462 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17463 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17464 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17465 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17466 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17467 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17468 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17469 wine_fn_config_dll d3dim enable_d3dim implib
17470 wine_fn_config_dll d3drm enable_d3drm implib
17471 wine_fn_config_test dlls/d3drm/tests d3drm_test
17472 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17473 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17474 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17475 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17476 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17477 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17478 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17479 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17480 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17481 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17482 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17483 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17484 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17485 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17486 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17487 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17488 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17489 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17490 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17491 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17492 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17493 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17494 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17495 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17496 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17497 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17498 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17499 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17500 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17501 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17502 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17503 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17504 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17505 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17506 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17507 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17508 wine_fn_config_dll davclnt enable_davclnt
17509 wine_fn_config_dll dbgeng enable_dbgeng implib
17510 wine_fn_config_dll dbghelp enable_dbghelp implib
17511 wine_fn_config_dll dciman32 enable_dciman32 implib
17512 wine_fn_config_dll ddeml.dll16 enable_win16
17513 wine_fn_config_dll ddraw enable_ddraw clean,implib
17514 wine_fn_config_test dlls/ddraw/tests ddraw_test
17515 wine_fn_config_dll ddrawex enable_ddrawex clean
17516 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17517 wine_fn_config_dll devenum enable_devenum clean
17518 wine_fn_config_test dlls/devenum/tests devenum_test
17519 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17520 wine_fn_config_dll difxapi enable_difxapi
17521 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17522 wine_fn_config_test dlls/dinput/tests dinput_test
17523 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17524 wine_fn_config_test dlls/dinput8/tests dinput8_test
17525 wine_fn_config_dll dispdib.dll16 enable_win16
17526 wine_fn_config_dll dispex enable_dispex clean
17527 wine_fn_config_test dlls/dispex/tests dispex_test
17528 wine_fn_config_dll display.drv16 enable_win16
17529 wine_fn_config_dll dmband enable_dmband clean
17530 wine_fn_config_test dlls/dmband/tests dmband_test
17531 wine_fn_config_dll dmcompos enable_dmcompos clean
17532 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17533 wine_fn_config_dll dmime enable_dmime clean
17534 wine_fn_config_test dlls/dmime/tests dmime_test
17535 wine_fn_config_dll dmloader enable_dmloader clean
17536 wine_fn_config_test dlls/dmloader/tests dmloader_test
17537 wine_fn_config_dll dmscript enable_dmscript clean
17538 wine_fn_config_test dlls/dmscript/tests dmscript_test
17539 wine_fn_config_dll dmstyle enable_dmstyle clean
17540 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17541 wine_fn_config_dll dmsynth enable_dmsynth clean
17542 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17543 wine_fn_config_dll dmusic enable_dmusic clean
17544 wine_fn_config_test dlls/dmusic/tests dmusic_test
17545 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17546 wine_fn_config_dll dnsapi enable_dnsapi implib
17547 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17548 wine_fn_config_dll dplay enable_dplay implib
17549 wine_fn_config_dll dplayx enable_dplayx clean,implib
17550 wine_fn_config_test dlls/dplayx/tests dplayx_test
17551 wine_fn_config_dll dpnaddr enable_dpnaddr
17552 wine_fn_config_dll dpnet enable_dpnet clean,implib
17553 wine_fn_config_test dlls/dpnet/tests dpnet_test
17554 wine_fn_config_dll dpnhpast enable_dpnhpast
17555 wine_fn_config_dll dpnlobby enable_dpnlobby
17556 wine_fn_config_dll dpvoice enable_dpvoice clean
17557 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17558 wine_fn_config_dll dpwsockx enable_dpwsockx
17559 wine_fn_config_dll drmclien enable_drmclien
17560 wine_fn_config_dll dsound enable_dsound clean,implib
17561 wine_fn_config_test dlls/dsound/tests dsound_test
17562 wine_fn_config_dll dssenh enable_dssenh
17563 wine_fn_config_test dlls/dssenh/tests dssenh_test
17564 wine_fn_config_dll dswave enable_dswave clean
17565 wine_fn_config_test dlls/dswave/tests dswave_test
17566 wine_fn_config_dll dwmapi enable_dwmapi implib
17567 wine_fn_config_dll dwrite enable_dwrite implib
17568 wine_fn_config_test dlls/dwrite/tests dwrite_test
17569 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17570 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17571 wine_fn_config_lib dxerr8
17572 wine_fn_config_lib dxerr9
17573 wine_fn_config_dll dxgi enable_dxgi implib
17574 wine_fn_config_test dlls/dxgi/tests dxgi_test
17575 wine_fn_config_lib dxguid
17576 wine_fn_config_dll dxva2 enable_dxva2
17577 wine_fn_config_dll esent enable_esent
17578 wine_fn_config_dll evr enable_evr
17579 wine_fn_config_dll explorerframe enable_explorerframe clean
17580 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17581 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17582 wine_fn_config_dll faultrep enable_faultrep implib
17583 wine_fn_config_test dlls/faultrep/tests faultrep_test
17584 wine_fn_config_dll fltlib enable_fltlib
17585 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17586 wine_fn_config_dll fntcache enable_fntcache
17587 wine_fn_config_dll fontsub enable_fontsub
17588 wine_fn_config_dll fusion enable_fusion
17589 wine_fn_config_test dlls/fusion/tests fusion_test
17590 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17591 wine_fn_config_dll gameux enable_gameux clean
17592 wine_fn_config_test dlls/gameux/tests gameux_test
17593 wine_fn_config_dll gdi.exe16 enable_win16
17594 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17595 wine_fn_config_test dlls/gdi32/tests gdi32_test
17596 wine_fn_config_dll gdiplus enable_gdiplus implib
17597 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17598 wine_fn_config_dll glu32 enable_glu32 implib
17599 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17600 wine_fn_config_dll gpkcsp enable_gpkcsp
17601 wine_fn_config_dll hal enable_hal
17602 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17603 wine_fn_config_dll hid enable_hid implib
17604 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17605 wine_fn_config_dll hlink enable_hlink clean,implib
17606 wine_fn_config_test dlls/hlink/tests hlink_test
17607 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17608 wine_fn_config_dll httpapi enable_httpapi
17609 wine_fn_config_dll iccvid enable_iccvid clean
17610 wine_fn_config_dll icmp enable_icmp
17611 wine_fn_config_dll ieframe enable_ieframe clean,implib
17612 wine_fn_config_test dlls/ieframe/tests ieframe_test
17613 wine_fn_config_dll ifsmgr.vxd enable_win16
17614 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17615 wine_fn_config_dll imagehlp enable_imagehlp implib
17616 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17617 wine_fn_config_dll imm.dll16 enable_win16
17618 wine_fn_config_dll imm32 enable_imm32 implib
17619 wine_fn_config_test dlls/imm32/tests imm32_test
17620 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17621 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17622 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17623 wine_fn_config_dll inetmib1 enable_inetmib1
17624 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17625 wine_fn_config_dll infosoft enable_infosoft clean
17626 wine_fn_config_test dlls/infosoft/tests infosoft_test
17627 wine_fn_config_dll initpki enable_initpki
17628 wine_fn_config_dll inkobj enable_inkobj
17629 wine_fn_config_dll inseng enable_inseng clean
17630 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17631 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17632 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17633 wine_fn_config_dll itircl enable_itircl
17634 wine_fn_config_dll itss enable_itss clean
17635 wine_fn_config_test dlls/itss/tests itss_test
17636 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17637 wine_fn_config_dll jscript enable_jscript clean
17638 wine_fn_config_test dlls/jscript/tests jscript_test
17639 wine_fn_config_dll jsproxy enable_jsproxy implib
17640 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17641 wine_fn_config_test dlls/kernel32/tests kernel32_test
17642 wine_fn_config_dll keyboard.drv16 enable_win16
17643 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17644 wine_fn_config_dll ksuser enable_ksuser
17645 wine_fn_config_dll ktmw32 enable_ktmw32
17646 wine_fn_config_dll loadperf enable_loadperf implib
17647 wine_fn_config_dll localspl enable_localspl clean
17648 wine_fn_config_test dlls/localspl/tests localspl_test
17649 wine_fn_config_dll localui enable_localui clean
17650 wine_fn_config_test dlls/localui/tests localui_test
17651 wine_fn_config_dll lz32 enable_lz32 implib
17652 wine_fn_config_test dlls/lz32/tests lz32_test
17653 wine_fn_config_dll lzexpand.dll16 enable_win16
17654 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17655 wine_fn_config_test dlls/mapi32/tests mapi32_test
17656 wine_fn_config_dll mapistub enable_mapistub
17657 wine_fn_config_dll mciavi32 enable_mciavi32
17658 wine_fn_config_dll mcicda enable_mcicda
17659 wine_fn_config_dll mciqtz32 enable_mciqtz32
17660 wine_fn_config_dll mciseq enable_mciseq
17661 wine_fn_config_dll mciwave enable_mciwave
17662 wine_fn_config_dll mf enable_mf
17663 wine_fn_config_dll mfplat enable_mfplat
17664 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17665 wine_fn_config_dll mgmtapi enable_mgmtapi
17666 wine_fn_config_dll midimap enable_midimap
17667 wine_fn_config_dll mlang enable_mlang clean,implib
17668 wine_fn_config_test dlls/mlang/tests mlang_test
17669 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17670 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17671 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17672 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17673 wine_fn_config_dll mmdevldr.vxd enable_win16
17674 wine_fn_config_dll mmsystem.dll16 enable_win16
17675 wine_fn_config_dll monodebg.vxd enable_win16
17676 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17677 wine_fn_config_dll mouse.drv16 enable_win16
17678 wine_fn_config_dll mpr enable_mpr clean,implib
17679 wine_fn_config_test dlls/mpr/tests mpr_test
17680 wine_fn_config_dll mprapi enable_mprapi implib
17681 wine_fn_config_dll msacm.dll16 enable_win16
17682 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17683 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17684 wine_fn_config_test dlls/msacm32/tests msacm32_test
17685 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17686 wine_fn_config_dll msasn1 enable_msasn1 implib
17687 wine_fn_config_dll mscat32 enable_mscat32
17688 wine_fn_config_dll mscms enable_mscms implib
17689 wine_fn_config_test dlls/mscms/tests mscms_test
17690 wine_fn_config_dll mscoree enable_mscoree clean
17691 wine_fn_config_test dlls/mscoree/tests mscoree_test
17692 wine_fn_config_dll msctf enable_msctf clean
17693 wine_fn_config_test dlls/msctf/tests msctf_test
17694 wine_fn_config_dll msctfp enable_msctfp clean
17695 wine_fn_config_dll msdaps enable_msdaps clean
17696 wine_fn_config_dll msdelta enable_msdelta
17697 wine_fn_config_dll msdmo enable_msdmo implib
17698 wine_fn_config_test dlls/msdmo/tests msdmo_test
17699 wine_fn_config_dll msdrm enable_msdrm
17700 wine_fn_config_dll msftedit enable_msftedit
17701 wine_fn_config_dll msg711.acm enable_msg711_acm
17702 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17703 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17704 wine_fn_config_dll mshtml enable_mshtml clean,implib
17705 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17706 wine_fn_config_dll msi enable_msi clean,implib
17707 wine_fn_config_test dlls/msi/tests msi_test
17708 wine_fn_config_dll msident enable_msident clean
17709 wine_fn_config_dll msimg32 enable_msimg32 implib
17710 wine_fn_config_dll msimsg enable_msimsg
17711 wine_fn_config_dll msimtf enable_msimtf clean
17712 wine_fn_config_dll msisip enable_msisip
17713 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17714 wine_fn_config_dll msls31 enable_msls31
17715 wine_fn_config_dll msnet32 enable_msnet32
17716 wine_fn_config_dll mspatcha enable_mspatcha implib
17717 wine_fn_config_dll msrle32 enable_msrle32 clean
17718 wine_fn_config_test dlls/msrle32/tests msrle32_test
17719 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17720 wine_fn_config_dll mssign32 enable_mssign32
17721 wine_fn_config_dll mssip32 enable_mssip32
17722 wine_fn_config_dll mstask enable_mstask clean
17723 wine_fn_config_test dlls/mstask/tests mstask_test
17724 wine_fn_config_dll msvcirt enable_msvcirt
17725 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17726 wine_fn_config_dll msvcm80 enable_msvcm80
17727 wine_fn_config_dll msvcm90 enable_msvcm90
17728 wine_fn_config_dll msvcp100 enable_msvcp100
17729 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17730 wine_fn_config_dll msvcp110 enable_msvcp110
17731 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17732 wine_fn_config_dll msvcp120 enable_msvcp120
17733 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17734 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17735 wine_fn_config_dll msvcp60 enable_msvcp60
17736 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17737 wine_fn_config_dll msvcp70 enable_msvcp70
17738 wine_fn_config_dll msvcp71 enable_msvcp71
17739 wine_fn_config_dll msvcp80 enable_msvcp80
17740 wine_fn_config_dll msvcp90 enable_msvcp90
17741 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17742 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17743 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17744 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17745 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17746 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17747 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17748 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17749 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17750 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17751 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17752 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17753 wine_fn_config_dll msvcrt enable_msvcrt implib
17754 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17755 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17756 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17757 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17758 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17759 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17760 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17761 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17762 wine_fn_config_dll msvideo.dll16 enable_win16
17763 wine_fn_config_dll mswsock enable_mswsock implib
17764 wine_fn_config_dll msxml enable_msxml clean
17765 wine_fn_config_dll msxml2 enable_msxml2 clean
17766 wine_fn_config_dll msxml3 enable_msxml3 clean
17767 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17768 wine_fn_config_dll msxml4 enable_msxml4 clean
17769 wine_fn_config_dll msxml6 enable_msxml6 clean
17770 wine_fn_config_dll nddeapi enable_nddeapi implib
17771 wine_fn_config_dll ndis.sys enable_ndis_sys
17772 wine_fn_config_dll netapi32 enable_netapi32 implib
17773 wine_fn_config_test dlls/netapi32/tests netapi32_test
17774 wine_fn_config_dll netcfgx enable_netcfgx clean
17775 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17776 wine_fn_config_dll netprofm enable_netprofm clean
17777 wine_fn_config_test dlls/netprofm/tests netprofm_test
17778 wine_fn_config_dll newdev enable_newdev implib
17779 wine_fn_config_dll normaliz enable_normaliz implib
17780 wine_fn_config_dll npmshtml enable_npmshtml
17781 wine_fn_config_dll npptools enable_npptools
17782 wine_fn_config_dll ntdll enable_ntdll implib
17783 wine_fn_config_test dlls/ntdll/tests ntdll_test
17784 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17785 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17786 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17787 wine_fn_config_dll ntprint enable_ntprint
17788 wine_fn_config_test dlls/ntprint/tests ntprint_test
17789 wine_fn_config_dll objsel enable_objsel clean
17790 wine_fn_config_dll odbc32 enable_odbc32 implib
17791 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17792 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17793 wine_fn_config_dll odbccu32 enable_odbccu32
17794 wine_fn_config_dll ole2.dll16 enable_win16
17795 wine_fn_config_dll ole2conv.dll16 enable_win16
17796 wine_fn_config_dll ole2disp.dll16 enable_win16
17797 wine_fn_config_dll ole2nls.dll16 enable_win16
17798 wine_fn_config_dll ole2prox.dll16 enable_win16
17799 wine_fn_config_dll ole2thk.dll16 enable_win16
17800 wine_fn_config_dll ole32 enable_ole32 clean,implib
17801 wine_fn_config_test dlls/ole32/tests ole32_test
17802 wine_fn_config_dll oleacc enable_oleacc clean,implib
17803 wine_fn_config_test dlls/oleacc/tests oleacc_test
17804 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17805 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17806 wine_fn_config_dll olecli.dll16 enable_win16
17807 wine_fn_config_dll olecli32 enable_olecli32 implib
17808 wine_fn_config_dll oledb32 enable_oledb32 clean
17809 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17810 wine_fn_config_dll oledlg enable_oledlg clean,implib
17811 wine_fn_config_test dlls/oledlg/tests oledlg_test
17812 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17813 wine_fn_config_dll olesvr.dll16 enable_win16
17814 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17815 wine_fn_config_dll olethk32 enable_olethk32
17816 wine_fn_config_dll openal32 enable_openal32
17817 wine_fn_config_dll opencl enable_opencl
17818 wine_fn_config_dll opengl32 enable_opengl32 implib
17819 wine_fn_config_test dlls/opengl32/tests opengl32_test
17820 wine_fn_config_dll packager enable_packager clean
17821 wine_fn_config_test dlls/packager/tests packager_test
17822 wine_fn_config_dll pdh enable_pdh implib
17823 wine_fn_config_test dlls/pdh/tests pdh_test
17824 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17825 wine_fn_config_dll pidgen enable_pidgen
17826 wine_fn_config_dll powrprof enable_powrprof implib
17827 wine_fn_config_dll printui enable_printui
17828 wine_fn_config_dll prntvpt enable_prntvpt
17829 wine_fn_config_dll propsys enable_propsys clean,implib
17830 wine_fn_config_test dlls/propsys/tests propsys_test
17831 wine_fn_config_dll psapi enable_psapi implib
17832 wine_fn_config_test dlls/psapi/tests psapi_test
17833 wine_fn_config_dll pstorec enable_pstorec clean
17834 wine_fn_config_dll qcap enable_qcap
17835 wine_fn_config_test dlls/qcap/tests qcap_test
17836 wine_fn_config_dll qedit enable_qedit clean
17837 wine_fn_config_test dlls/qedit/tests qedit_test
17838 wine_fn_config_dll qmgr enable_qmgr clean
17839 wine_fn_config_test dlls/qmgr/tests qmgr_test
17840 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17841 wine_fn_config_dll quartz enable_quartz clean,implib
17842 wine_fn_config_test dlls/quartz/tests quartz_test clean
17843 wine_fn_config_dll query enable_query
17844 wine_fn_config_dll rasapi16.dll16 enable_win16
17845 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17846 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17847 wine_fn_config_dll rasdlg enable_rasdlg implib
17848 wine_fn_config_dll regapi enable_regapi
17849 wine_fn_config_dll resutils enable_resutils implib
17850 wine_fn_config_dll riched20 enable_riched20 clean,implib
17851 wine_fn_config_test dlls/riched20/tests riched20_test
17852 wine_fn_config_dll riched32 enable_riched32
17853 wine_fn_config_test dlls/riched32/tests riched32_test
17854 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17855 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17856 wine_fn_config_dll rsabase enable_rsabase
17857 wine_fn_config_dll rsaenh enable_rsaenh implib
17858 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17859 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17860 wine_fn_config_dll rtutils enable_rtutils implib
17861 wine_fn_config_dll samlib enable_samlib
17862 wine_fn_config_dll sane.ds enable_sane_ds clean
17863 wine_fn_config_dll scarddlg enable_scarddlg
17864 wine_fn_config_dll sccbase enable_sccbase
17865 wine_fn_config_dll schannel enable_schannel
17866 wine_fn_config_test dlls/schannel/tests schannel_test
17867 wine_fn_config_dll schedsvc enable_schedsvc clean
17868 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17869 wine_fn_config_dll scrrun enable_scrrun clean
17870 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17871 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17872 wine_fn_config_dll secur32 enable_secur32 implib
17873 wine_fn_config_test dlls/secur32/tests secur32_test
17874 wine_fn_config_dll security enable_security
17875 wine_fn_config_dll sensapi enable_sensapi implib
17876 wine_fn_config_dll serialui enable_serialui clean,implib
17877 wine_fn_config_test dlls/serialui/tests serialui_test
17878 wine_fn_config_dll setupapi enable_setupapi clean,implib
17879 wine_fn_config_test dlls/setupapi/tests setupapi_test
17880 wine_fn_config_dll setupx.dll16 enable_win16
17881 wine_fn_config_dll sfc enable_sfc implib
17882 wine_fn_config_dll sfc_os enable_sfc_os implib
17883 wine_fn_config_dll shdoclc enable_shdoclc clean
17884 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17885 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17886 wine_fn_config_dll shell.dll16 enable_win16
17887 wine_fn_config_dll shell32 enable_shell32 clean,implib
17888 wine_fn_config_test dlls/shell32/tests shell32_test
17889 wine_fn_config_dll shfolder enable_shfolder implib
17890 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
17891 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17892 wine_fn_config_dll slbcsp enable_slbcsp
17893 wine_fn_config_dll slc enable_slc implib
17894 wine_fn_config_test dlls/slc/tests slc_test
17895 wine_fn_config_dll snmpapi enable_snmpapi implib
17896 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17897 wine_fn_config_dll softpub enable_softpub
17898 wine_fn_config_dll sound.drv16 enable_win16
17899 wine_fn_config_dll spoolss enable_spoolss implib
17900 wine_fn_config_test dlls/spoolss/tests spoolss_test
17901 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17902 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17903 wine_fn_config_dll sti enable_sti clean,implib
17904 wine_fn_config_test dlls/sti/tests sti_test
17905 wine_fn_config_dll storage.dll16 enable_win16
17906 wine_fn_config_dll stress.dll16 enable_win16
17907 wine_fn_config_lib strmbase
17908 wine_fn_config_lib strmiids
17909 wine_fn_config_dll svrapi enable_svrapi
17910 wine_fn_config_dll sxs enable_sxs implib
17911 wine_fn_config_test dlls/sxs/tests sxs_test
17912 wine_fn_config_dll system.drv16 enable_win16
17913 wine_fn_config_dll t2embed enable_t2embed
17914 wine_fn_config_dll tapi32 enable_tapi32 implib
17915 wine_fn_config_dll taskschd enable_taskschd clean
17916 wine_fn_config_test dlls/taskschd/tests taskschd_test
17917 wine_fn_config_dll tdi.sys enable_tdi_sys
17918 wine_fn_config_dll toolhelp.dll16 enable_win16
17919 wine_fn_config_dll traffic enable_traffic
17920 wine_fn_config_dll twain.dll16 enable_win16
17921 wine_fn_config_dll twain_32 enable_twain_32
17922 wine_fn_config_test dlls/twain_32/tests twain_32_test
17923 wine_fn_config_dll typelib.dll16 enable_win16
17924 wine_fn_config_dll ucrtbase enable_ucrtbase
17925 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17926 wine_fn_config_dll unicows enable_unicows implib
17927 wine_fn_config_dll updspapi enable_updspapi
17928 wine_fn_config_dll url enable_url implib
17929 wine_fn_config_dll urlmon enable_urlmon clean,implib
17930 wine_fn_config_test dlls/urlmon/tests urlmon_test
17931 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17932 wine_fn_config_dll user.exe16 enable_win16
17933 wine_fn_config_dll user32 enable_user32 clean,implib
17934 wine_fn_config_test dlls/user32/tests user32_test
17935 wine_fn_config_dll userenv enable_userenv implib
17936 wine_fn_config_test dlls/userenv/tests userenv_test
17937 wine_fn_config_dll usp10 enable_usp10 implib
17938 wine_fn_config_test dlls/usp10/tests usp10_test
17939 wine_fn_config_lib uuid
17940 wine_fn_config_dll uxtheme enable_uxtheme implib
17941 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17942 wine_fn_config_dll vbscript enable_vbscript clean
17943 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17944 wine_fn_config_dll vcomp enable_vcomp
17945 wine_fn_config_test dlls/vcomp/tests vcomp_test
17946 wine_fn_config_dll vcomp100 enable_vcomp100
17947 wine_fn_config_dll vcomp110 enable_vcomp110
17948 wine_fn_config_dll vcomp120 enable_vcomp120
17949 wine_fn_config_dll vcomp90 enable_vcomp90
17950 wine_fn_config_dll vcruntime140 enable_vcruntime140
17951 wine_fn_config_dll vdhcp.vxd enable_win16
17952 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17953 wine_fn_config_dll ver.dll16 enable_win16
17954 wine_fn_config_dll version enable_version implib
17955 wine_fn_config_test dlls/version/tests version_test
17956 wine_fn_config_dll vmm.vxd enable_win16
17957 wine_fn_config_dll vnbt.vxd enable_win16
17958 wine_fn_config_dll vnetbios.vxd enable_win16
17959 wine_fn_config_dll vssapi enable_vssapi
17960 wine_fn_config_dll vtdapi.vxd enable_win16
17961 wine_fn_config_dll vwin32.vxd enable_win16
17962 wine_fn_config_dll w32skrnl enable_win16
17963 wine_fn_config_dll w32sys.dll16 enable_win16
17964 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17965 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17966 wine_fn_config_dll wbemprox enable_wbemprox clean
17967 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17968 wine_fn_config_dll webservices enable_webservices implib
17969 wine_fn_config_test dlls/webservices/tests webservices_test
17970 wine_fn_config_dll wer enable_wer implib
17971 wine_fn_config_test dlls/wer/tests wer_test
17972 wine_fn_config_dll wevtapi enable_wevtapi
17973 wine_fn_config_dll wiaservc enable_wiaservc clean
17974 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
17975 wine_fn_config_dll wimgapi enable_wimgapi
17976 wine_fn_config_dll win32s16.dll16 enable_win16
17977 wine_fn_config_dll win87em.dll16 enable_win16
17978 wine_fn_config_dll winaspi.dll16 enable_win16
17979 wine_fn_config_dll windebug.dll16 enable_win16
17980 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17981 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17982 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17983 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17984 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17985 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17986 wine_fn_config_lib winecrt0
17987 wine_fn_config_dll wined3d enable_wined3d implib
17988 wine_fn_config_dll winegstreamer enable_winegstreamer
17989 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17990 wine_fn_config_dll winemac.drv enable_winemac_drv clean
17991 wine_fn_config_dll winemapi enable_winemapi
17992 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17993 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17994 wine_fn_config_dll wineps.drv enable_wineps_drv clean
17995 wine_fn_config_dll wineps16.drv16 enable_win16
17996 wine_fn_config_dll winepulse.drv enable_winepulse_drv
17997 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17998 wine_fn_config_dll winex11.drv enable_winex11_drv
17999 wine_fn_config_dll wing.dll16 enable_win16
18000 wine_fn_config_dll wing32 enable_wing32
18001 wine_fn_config_dll winhttp enable_winhttp clean,implib
18002 wine_fn_config_test dlls/winhttp/tests winhttp_test
18003 wine_fn_config_dll wininet enable_wininet clean,implib
18004 wine_fn_config_test dlls/wininet/tests wininet_test
18005 wine_fn_config_dll winmm enable_winmm clean,implib
18006 wine_fn_config_test dlls/winmm/tests winmm_test
18007 wine_fn_config_dll winnls.dll16 enable_win16
18008 wine_fn_config_dll winnls32 enable_winnls32 implib
18009 wine_fn_config_dll winscard enable_winscard implib
18010 wine_fn_config_dll winsock.dll16 enable_win16
18011 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18012 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18013 wine_fn_config_dll winsta enable_winsta
18014 wine_fn_config_dll wintab.dll16 enable_win16
18015 wine_fn_config_dll wintab32 enable_wintab32 implib
18016 wine_fn_config_test dlls/wintab32/tests wintab32_test
18017 wine_fn_config_dll wintrust enable_wintrust implib
18018 wine_fn_config_test dlls/wintrust/tests wintrust_test
18019 wine_fn_config_dll wlanapi enable_wlanapi
18020 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18021 wine_fn_config_test dlls/wldap32/tests wldap32_test
18022 wine_fn_config_dll wmi enable_wmi
18023 wine_fn_config_dll wmiutils enable_wmiutils clean
18024 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18025 wine_fn_config_dll wmp enable_wmp clean
18026 wine_fn_config_test dlls/wmp/tests wmp_test
18027 wine_fn_config_dll wmvcore enable_wmvcore
18028 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18029 wine_fn_config_dll wow32 enable_win16 implib
18030 wine_fn_config_dll wpcap enable_wpcap
18031 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18032 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18033 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18034 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18035 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18036 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18037 wine_fn_config_dll wsock32 enable_wsock32 implib
18038 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18039 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18040 wine_fn_config_dll wuapi enable_wuapi clean
18041 wine_fn_config_dll wuaueng enable_wuaueng
18042 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18043 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18044 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18045 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18046 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18047 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18048 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18049 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18050 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18051 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18052 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18053 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18054 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18055 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18056 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18057 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18058 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18059 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18060 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18061 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18062 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18063 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18064 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18065 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18066 wine_fn_config_dll xinput1_1 enable_xinput1_1
18067 wine_fn_config_dll xinput1_2 enable_xinput1_2
18068 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18069 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18070 wine_fn_config_dll xinput1_4 enable_xinput1_4
18071 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18072 wine_fn_config_dll xmllite enable_xmllite implib
18073 wine_fn_config_test dlls/xmllite/tests xmllite_test
18074 wine_fn_config_dll xolehlp enable_xolehlp
18075 wine_fn_config_dll xpsprint enable_xpsprint
18076 wine_fn_config_dll xpssvcs enable_xpssvcs
18077 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18078 wine_fn_config_makefile include enable_include clean,install-dev
18079 wine_fn_config_makefile libs/port enable_libs_port
18080 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18081 wine_fn_config_makefile libs/wpp enable_libs_wpp
18082 wine_fn_config_makefile loader enable_loader clean,install-lib
18083 wine_fn_config_program arp enable_arp install
18084 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18085 wine_fn_config_program attrib enable_attrib clean,install
18086 wine_fn_config_program cabarc enable_cabarc install
18087 wine_fn_config_program cacls enable_cacls install
18088 wine_fn_config_program clock enable_clock clean,install
18089 wine_fn_config_program cmd enable_cmd clean,install
18090 wine_fn_config_test programs/cmd/tests cmd.exe_test
18091 wine_fn_config_program conhost enable_conhost install
18092 wine_fn_config_program control enable_control install
18093 wine_fn_config_program cscript enable_cscript clean,install
18094 wine_fn_config_program dpnsvr enable_dpnsvr install
18095 wine_fn_config_program dxdiag enable_dxdiag clean,install
18096 wine_fn_config_program eject enable_eject install
18097 wine_fn_config_program expand enable_expand install
18098 wine_fn_config_program explorer enable_explorer clean,install
18099 wine_fn_config_program extrac32 enable_extrac32 install
18100 wine_fn_config_program findstr enable_findstr install
18101 wine_fn_config_program hh enable_hh install
18102 wine_fn_config_program hostname enable_hostname clean,install
18103 wine_fn_config_program icacls enable_icacls install
18104 wine_fn_config_program icinfo enable_icinfo install
18105 wine_fn_config_program iexplore enable_iexplore install
18106 wine_fn_config_program ipconfig enable_ipconfig clean,install
18107 wine_fn_config_program lodctr enable_lodctr install
18108 wine_fn_config_program mofcomp enable_mofcomp install
18109 wine_fn_config_program mshta enable_mshta install
18110 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18111 wine_fn_config_program net enable_net clean,install
18112 wine_fn_config_program netsh enable_netsh install
18113 wine_fn_config_program netstat enable_netstat clean,install
18114 wine_fn_config_program ngen enable_ngen install
18115 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18116 wine_fn_config_program oleview enable_oleview clean,install
18117 wine_fn_config_program ping enable_ping install
18118 wine_fn_config_program plugplay enable_plugplay install
18119 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18120 wine_fn_config_program progman enable_progman clean,install
18121 wine_fn_config_program reg enable_reg clean,install
18122 wine_fn_config_test programs/reg/tests reg.exe_test
18123 wine_fn_config_program regasm enable_regasm install
18124 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18125 wine_fn_config_test programs/regedit/tests regedit.exe_test
18126 wine_fn_config_program regsvcs enable_regsvcs install
18127 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18128 wine_fn_config_program rpcss enable_rpcss clean,install
18129 wine_fn_config_program rundll.exe16 enable_win16 install
18130 wine_fn_config_program rundll32 enable_rundll32 install
18131 wine_fn_config_program sc enable_sc install
18132 wine_fn_config_program schtasks enable_schtasks install
18133 wine_fn_config_program sdbinst enable_sdbinst install
18134 wine_fn_config_program secedit enable_secedit install
18135 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18136 wine_fn_config_program services enable_services clean,install
18137 wine_fn_config_test programs/services/tests services.exe_test
18138 wine_fn_config_program spoolsv enable_spoolsv install
18139 wine_fn_config_program start enable_start clean,install
18140 wine_fn_config_program svchost enable_svchost install
18141 wine_fn_config_program systeminfo enable_systeminfo install
18142 wine_fn_config_program taskkill enable_taskkill clean,install
18143 wine_fn_config_program tasklist enable_tasklist install
18144 wine_fn_config_program taskmgr enable_taskmgr clean,install
18145 wine_fn_config_program termsv enable_termsv install
18146 wine_fn_config_program uninstaller enable_uninstaller clean,install
18147 wine_fn_config_program unlodctr enable_unlodctr install
18148 wine_fn_config_program view enable_view clean,install
18149 wine_fn_config_program wevtutil enable_wevtutil install
18150 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18151 wine_fn_config_program winebrowser enable_winebrowser install
18152 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18153 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18154 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18155 wine_fn_config_program winedevice enable_winedevice install
18156 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18157 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18158 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18159 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18160 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18161 wine_fn_config_program winetest enable_winetest clean
18162 wine_fn_config_program winevdm enable_win16 install
18163 wine_fn_config_program winhelp.exe16 enable_win16 install
18164 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18165 wine_fn_config_program winoldap.mod16 enable_win16 install
18166 wine_fn_config_program winver enable_winver install
18167 wine_fn_config_program wmic enable_wmic clean,install
18168 wine_fn_config_program wmplayer enable_wmplayer install
18169 wine_fn_config_program wordpad enable_wordpad clean,install
18170 wine_fn_config_program write enable_write clean,install
18171 wine_fn_config_program wscript enable_wscript clean,install
18172 wine_fn_config_test programs/wscript/tests wscript.exe_test
18173 wine_fn_config_program wusa enable_wusa install
18174 wine_fn_config_program xcopy enable_xcopy clean,install
18175 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18176 wine_fn_config_makefile server enable_server clean,install-lib
18177 wine_fn_config_tool tools clean
18178 wine_fn_config_tool tools/sfnt2fon clean
18179 wine_fn_config_tool tools/widl clean,install-dev
18180 wine_fn_config_tool tools/winebuild clean,install-dev
18181 wine_fn_config_tool tools/winedump clean,install-dev
18182 wine_fn_config_tool tools/winegcc clean,install-dev
18183 wine_fn_config_tool tools/winemaker clean,install-dev
18184 wine_fn_config_tool tools/wmc clean,install-dev
18185 wine_fn_config_tool tools/wrc clean,install-dev
18187 LINGUAS="\
18188 ar \
18189 bg \
18190 ca \
18191 cs \
18192 da \
18193 de \
18194 el \
18195 en \
18196 en_US \
18197 eo \
18198 es \
18199 fa \
18200 fi \
18201 fr \
18202 he \
18203 hi \
18204 hr \
18205 hu \
18206 it \
18207 ja \
18208 ko \
18209 lt \
18210 ml \
18211 nb_NO \
18212 nl \
18213 or \
18214 pa \
18215 pl \
18216 pt_BR \
18217 pt_PT \
18218 rm \
18219 ro \
18220 ru \
18221 sk \
18222 sl \
18223 sr_RS@cyrillic \
18224 sr_RS@latin \
18225 sv \
18226 te \
18227 th \
18228 tr \
18229 uk \
18230 wa \
18231 zh_CN \
18232 zh_TW"
18237 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18238 wine_fn_append_file CONFIGURE_TARGETS "tags"
18239 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18240 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18241 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18242 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18243 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18244 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18246 if test "x$enable_tools" != xno
18247 then
18248 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18249 ac_config_commands="$ac_config_commands tools/makedep"
18253 ac_config_commands="$ac_config_commands Makefile"
18256 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18260 if test "x$enable_maintainer_mode" = xyes
18261 then
18262 wine_fn_append_rule "configure: configure.ac aclocal.m4
18263 autoconf --warnings=all
18264 include/config.h.in: include/stamp-h.in
18265 include/stamp-h.in: configure.ac aclocal.m4
18266 autoheader --warnings=all
18267 @echo timestamp > \$@"
18270 test "$MSGFMT" != false || LINGUAS=
18272 if test "x$enable_tools" != xno
18273 then
18274 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18275 @./config.status tools/makedep
18276 Makefile: tools/makedep$ac_exeext"
18277 else
18278 wine_fn_append_rule "\$(MAKEDEP):
18279 @echo \"You need to run make in $TOOLSDIR first\" && false"
18282 if test -n "$with_wine64"
18283 then
18284 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18285 fonts server tools:
18286 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18287 $with_wine64/loader/wine:
18288 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18289 $with_wine64/loader/wine-preloader:
18290 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18291 clean::
18292 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18293 else
18294 WINELOADER_INSTALL="wine.inf"
18296 wine_fn_append_rule "install install-lib::
18297 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18298 uninstall::
18299 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18300 case $host_os in
18301 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18302 *) wine_fn_append_rule "install install-lib::
18303 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18304 uninstall::
18305 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18306 esac
18309 $as_echo " done" >&6
18310 cat >confcache <<\_ACEOF
18311 # This file is a shell script that caches the results of configure
18312 # tests run on this system so they can be shared between configure
18313 # scripts and configure runs, see configure's option --config-cache.
18314 # It is not useful on other systems. If it contains results you don't
18315 # want to keep, you may remove or edit it.
18317 # config.status only pays attention to the cache file if you give it
18318 # the --recheck option to rerun configure.
18320 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18321 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18322 # following values.
18324 _ACEOF
18326 # The following way of writing the cache mishandles newlines in values,
18327 # but we know of no workaround that is simple, portable, and efficient.
18328 # So, we kill variables containing newlines.
18329 # Ultrix sh set writes to stderr and can't be redirected directly,
18330 # and sets the high bit in the cache file unless we assign to the vars.
18332 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18333 eval ac_val=\$$ac_var
18334 case $ac_val in #(
18335 *${as_nl}*)
18336 case $ac_var in #(
18337 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18338 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18339 esac
18340 case $ac_var in #(
18341 _ | IFS | as_nl) ;; #(
18342 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18343 *) { eval $ac_var=; unset $ac_var;} ;;
18344 esac ;;
18345 esac
18346 done
18348 (set) 2>&1 |
18349 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18350 *${as_nl}ac_space=\ *)
18351 # `set' does not quote correctly, so add quotes: double-quote
18352 # substitution turns \\\\ into \\, and sed turns \\ into \.
18353 sed -n \
18354 "s/'/'\\\\''/g;
18355 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18356 ;; #(
18358 # `set' quotes correctly as required by POSIX, so do not add quotes.
18359 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18361 esac |
18362 sort
18364 sed '
18365 /^ac_cv_env_/b end
18366 t clear
18367 :clear
18368 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18369 t end
18370 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18371 :end' >>confcache
18372 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18373 if test -w "$cache_file"; then
18374 if test "x$cache_file" != "x/dev/null"; then
18375 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18376 $as_echo "$as_me: updating cache $cache_file" >&6;}
18377 if test ! -f "$cache_file" || test -h "$cache_file"; then
18378 cat confcache >"$cache_file"
18379 else
18380 case $cache_file in #(
18381 */* | ?:*)
18382 mv -f confcache "$cache_file"$$ &&
18383 mv -f "$cache_file"$$ "$cache_file" ;; #(
18385 mv -f confcache "$cache_file" ;;
18386 esac
18389 else
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18391 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18394 rm -f confcache
18396 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18397 # Let make expand exec_prefix.
18398 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18400 DEFS=-DHAVE_CONFIG_H
18402 ac_libobjs=
18403 ac_ltlibobjs=
18405 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18406 # 1. Remove the extension, and $U if already installed.
18407 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18408 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18409 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18410 # will be set to the directory where LIBOBJS objects are built.
18411 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18412 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18413 done
18414 LIBOBJS=$ac_libobjs
18416 LTLIBOBJS=$ac_ltlibobjs
18420 : "${CONFIG_STATUS=./config.status}"
18421 ac_write_fail=0
18422 ac_clean_files_save=$ac_clean_files
18423 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18425 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18426 as_write_fail=0
18427 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18428 #! $SHELL
18429 # Generated by $as_me.
18430 # Run this file to recreate the current configuration.
18431 # Compiler output produced by configure, useful for debugging
18432 # configure, is in config.log if it exists.
18434 debug=false
18435 ac_cs_recheck=false
18436 ac_cs_silent=false
18438 SHELL=\${CONFIG_SHELL-$SHELL}
18439 export SHELL
18440 _ASEOF
18441 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18442 ## -------------------- ##
18443 ## M4sh Initialization. ##
18444 ## -------------------- ##
18446 # Be more Bourne compatible
18447 DUALCASE=1; export DUALCASE # for MKS sh
18448 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18449 emulate sh
18450 NULLCMD=:
18451 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18452 # is contrary to our usage. Disable this feature.
18453 alias -g '${1+"$@"}'='"$@"'
18454 setopt NO_GLOB_SUBST
18455 else
18456 case `(set -o) 2>/dev/null` in #(
18457 *posix*) :
18458 set -o posix ;; #(
18459 *) :
18461 esac
18465 as_nl='
18467 export as_nl
18468 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18469 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18470 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18471 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18472 # Prefer a ksh shell builtin over an external printf program on Solaris,
18473 # but without wasting forks for bash or zsh.
18474 if test -z "$BASH_VERSION$ZSH_VERSION" \
18475 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18476 as_echo='print -r --'
18477 as_echo_n='print -rn --'
18478 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18479 as_echo='printf %s\n'
18480 as_echo_n='printf %s'
18481 else
18482 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18483 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18484 as_echo_n='/usr/ucb/echo -n'
18485 else
18486 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18487 as_echo_n_body='eval
18488 arg=$1;
18489 case $arg in #(
18490 *"$as_nl"*)
18491 expr "X$arg" : "X\\(.*\\)$as_nl";
18492 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18493 esac;
18494 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18496 export as_echo_n_body
18497 as_echo_n='sh -c $as_echo_n_body as_echo'
18499 export as_echo_body
18500 as_echo='sh -c $as_echo_body as_echo'
18503 # The user is always right.
18504 if test "${PATH_SEPARATOR+set}" != set; then
18505 PATH_SEPARATOR=:
18506 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18507 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18508 PATH_SEPARATOR=';'
18513 # IFS
18514 # We need space, tab and new line, in precisely that order. Quoting is
18515 # there to prevent editors from complaining about space-tab.
18516 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18517 # splitting by setting IFS to empty value.)
18518 IFS=" "" $as_nl"
18520 # Find who we are. Look in the path if we contain no directory separator.
18521 as_myself=
18522 case $0 in #((
18523 *[\\/]* ) as_myself=$0 ;;
18524 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18525 for as_dir in $PATH
18527 IFS=$as_save_IFS
18528 test -z "$as_dir" && as_dir=.
18529 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18530 done
18531 IFS=$as_save_IFS
18534 esac
18535 # We did not find ourselves, most probably we were run as `sh COMMAND'
18536 # in which case we are not to be found in the path.
18537 if test "x$as_myself" = x; then
18538 as_myself=$0
18540 if test ! -f "$as_myself"; then
18541 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18542 exit 1
18545 # Unset variables that we do not need and which cause bugs (e.g. in
18546 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18547 # suppresses any "Segmentation fault" message there. '((' could
18548 # trigger a bug in pdksh 5.2.14.
18549 for as_var in BASH_ENV ENV MAIL MAILPATH
18550 do eval test x\${$as_var+set} = xset \
18551 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18552 done
18553 PS1='$ '
18554 PS2='> '
18555 PS4='+ '
18557 # NLS nuisances.
18558 LC_ALL=C
18559 export LC_ALL
18560 LANGUAGE=C
18561 export LANGUAGE
18563 # CDPATH.
18564 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18567 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18568 # ----------------------------------------
18569 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18570 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18571 # script with STATUS, using 1 if that was 0.
18572 as_fn_error ()
18574 as_status=$1; test $as_status -eq 0 && as_status=1
18575 if test "$4"; then
18576 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18577 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18579 $as_echo "$as_me: error: $2" >&2
18580 as_fn_exit $as_status
18581 } # as_fn_error
18584 # as_fn_set_status STATUS
18585 # -----------------------
18586 # Set $? to STATUS, without forking.
18587 as_fn_set_status ()
18589 return $1
18590 } # as_fn_set_status
18592 # as_fn_exit STATUS
18593 # -----------------
18594 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18595 as_fn_exit ()
18597 set +e
18598 as_fn_set_status $1
18599 exit $1
18600 } # as_fn_exit
18602 # as_fn_unset VAR
18603 # ---------------
18604 # Portably unset VAR.
18605 as_fn_unset ()
18607 { eval $1=; unset $1;}
18609 as_unset=as_fn_unset
18610 # as_fn_append VAR VALUE
18611 # ----------------------
18612 # Append the text in VALUE to the end of the definition contained in VAR. Take
18613 # advantage of any shell optimizations that allow amortized linear growth over
18614 # repeated appends, instead of the typical quadratic growth present in naive
18615 # implementations.
18616 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18617 eval 'as_fn_append ()
18619 eval $1+=\$2
18621 else
18622 as_fn_append ()
18624 eval $1=\$$1\$2
18626 fi # as_fn_append
18628 # as_fn_arith ARG...
18629 # ------------------
18630 # Perform arithmetic evaluation on the ARGs, and store the result in the
18631 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18632 # must be portable across $(()) and expr.
18633 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18634 eval 'as_fn_arith ()
18636 as_val=$(( $* ))
18638 else
18639 as_fn_arith ()
18641 as_val=`expr "$@" || test $? -eq 1`
18643 fi # as_fn_arith
18646 if expr a : '\(a\)' >/dev/null 2>&1 &&
18647 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18648 as_expr=expr
18649 else
18650 as_expr=false
18653 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18654 as_basename=basename
18655 else
18656 as_basename=false
18659 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18660 as_dirname=dirname
18661 else
18662 as_dirname=false
18665 as_me=`$as_basename -- "$0" ||
18666 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18667 X"$0" : 'X\(//\)$' \| \
18668 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18669 $as_echo X/"$0" |
18670 sed '/^.*\/\([^/][^/]*\)\/*$/{
18671 s//\1/
18674 /^X\/\(\/\/\)$/{
18675 s//\1/
18678 /^X\/\(\/\).*/{
18679 s//\1/
18682 s/.*/./; q'`
18684 # Avoid depending upon Character Ranges.
18685 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18686 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18687 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18688 as_cr_digits='0123456789'
18689 as_cr_alnum=$as_cr_Letters$as_cr_digits
18691 ECHO_C= ECHO_N= ECHO_T=
18692 case `echo -n x` in #(((((
18693 -n*)
18694 case `echo 'xy\c'` in
18695 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18696 xy) ECHO_C='\c';;
18697 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18698 ECHO_T=' ';;
18699 esac;;
18701 ECHO_N='-n';;
18702 esac
18704 rm -f conf$$ conf$$.exe conf$$.file
18705 if test -d conf$$.dir; then
18706 rm -f conf$$.dir/conf$$.file
18707 else
18708 rm -f conf$$.dir
18709 mkdir conf$$.dir 2>/dev/null
18711 if (echo >conf$$.file) 2>/dev/null; then
18712 if ln -s conf$$.file conf$$ 2>/dev/null; then
18713 as_ln_s='ln -s'
18714 # ... but there are two gotchas:
18715 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18716 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18717 # In both cases, we have to default to `cp -pR'.
18718 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18719 as_ln_s='cp -pR'
18720 elif ln conf$$.file conf$$ 2>/dev/null; then
18721 as_ln_s=ln
18722 else
18723 as_ln_s='cp -pR'
18725 else
18726 as_ln_s='cp -pR'
18728 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18729 rmdir conf$$.dir 2>/dev/null
18732 # as_fn_mkdir_p
18733 # -------------
18734 # Create "$as_dir" as a directory, including parents if necessary.
18735 as_fn_mkdir_p ()
18738 case $as_dir in #(
18739 -*) as_dir=./$as_dir;;
18740 esac
18741 test -d "$as_dir" || eval $as_mkdir_p || {
18742 as_dirs=
18743 while :; do
18744 case $as_dir in #(
18745 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18746 *) as_qdir=$as_dir;;
18747 esac
18748 as_dirs="'$as_qdir' $as_dirs"
18749 as_dir=`$as_dirname -- "$as_dir" ||
18750 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18751 X"$as_dir" : 'X\(//\)[^/]' \| \
18752 X"$as_dir" : 'X\(//\)$' \| \
18753 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18754 $as_echo X"$as_dir" |
18755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18756 s//\1/
18759 /^X\(\/\/\)[^/].*/{
18760 s//\1/
18763 /^X\(\/\/\)$/{
18764 s//\1/
18767 /^X\(\/\).*/{
18768 s//\1/
18771 s/.*/./; q'`
18772 test -d "$as_dir" && break
18773 done
18774 test -z "$as_dirs" || eval "mkdir $as_dirs"
18775 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18778 } # as_fn_mkdir_p
18779 if mkdir -p . 2>/dev/null; then
18780 as_mkdir_p='mkdir -p "$as_dir"'
18781 else
18782 test -d ./-p && rmdir ./-p
18783 as_mkdir_p=false
18787 # as_fn_executable_p FILE
18788 # -----------------------
18789 # Test if FILE is an executable regular file.
18790 as_fn_executable_p ()
18792 test -f "$1" && test -x "$1"
18793 } # as_fn_executable_p
18794 as_test_x='test -x'
18795 as_executable_p=as_fn_executable_p
18797 # Sed expression to map a string onto a valid CPP name.
18798 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18800 # Sed expression to map a string onto a valid variable name.
18801 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18804 exec 6>&1
18805 ## ----------------------------------- ##
18806 ## Main body of $CONFIG_STATUS script. ##
18807 ## ----------------------------------- ##
18808 _ASEOF
18809 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18812 # Save the log message, to keep $0 and so on meaningful, and to
18813 # report actual input values of CONFIG_FILES etc. instead of their
18814 # values after options handling.
18815 ac_log="
18816 This file was extended by Wine $as_me 1.9.4, which was
18817 generated by GNU Autoconf 2.69. Invocation command line was
18819 CONFIG_FILES = $CONFIG_FILES
18820 CONFIG_HEADERS = $CONFIG_HEADERS
18821 CONFIG_LINKS = $CONFIG_LINKS
18822 CONFIG_COMMANDS = $CONFIG_COMMANDS
18823 $ $0 $@
18825 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18828 _ACEOF
18830 case $ac_config_files in *"
18831 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18832 esac
18834 case $ac_config_headers in *"
18835 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18836 esac
18839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18840 # Files that config.status was made for.
18841 config_files="$ac_config_files"
18842 config_headers="$ac_config_headers"
18843 config_links="$ac_config_links"
18844 config_commands="$ac_config_commands"
18846 _ACEOF
18848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18849 ac_cs_usage="\
18850 \`$as_me' instantiates files and other configuration actions
18851 from templates according to the current configuration. Unless the files
18852 and actions are specified as TAGs, all are instantiated by default.
18854 Usage: $0 [OPTION]... [TAG]...
18856 -h, --help print this help, then exit
18857 -V, --version print version number and configuration settings, then exit
18858 --config print configuration, then exit
18859 -q, --quiet, --silent
18860 do not print progress messages
18861 -d, --debug don't remove temporary files
18862 --recheck update $as_me by reconfiguring in the same conditions
18863 --file=FILE[:TEMPLATE]
18864 instantiate the configuration file FILE
18865 --header=FILE[:TEMPLATE]
18866 instantiate the configuration header FILE
18868 Configuration files:
18869 $config_files
18871 Configuration headers:
18872 $config_headers
18874 Configuration links:
18875 $config_links
18877 Configuration commands:
18878 $config_commands
18880 Report bugs to <wine-devel@winehq.org>.
18881 Wine home page: <http://www.winehq.org>."
18883 _ACEOF
18884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18885 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18886 ac_cs_version="\\
18887 Wine config.status 1.9.4
18888 configured by $0, generated by GNU Autoconf 2.69,
18889 with options \\"\$ac_cs_config\\"
18891 Copyright (C) 2012 Free Software Foundation, Inc.
18892 This config.status script is free software; the Free Software Foundation
18893 gives unlimited permission to copy, distribute and modify it."
18895 ac_pwd='$ac_pwd'
18896 srcdir='$srcdir'
18897 test -n "\$AWK" || AWK=awk
18898 _ACEOF
18900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18901 # The default lists apply if the user does not specify any file.
18902 ac_need_defaults=:
18903 while test $# != 0
18905 case $1 in
18906 --*=?*)
18907 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18908 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18909 ac_shift=:
18911 --*=)
18912 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18913 ac_optarg=
18914 ac_shift=:
18917 ac_option=$1
18918 ac_optarg=$2
18919 ac_shift=shift
18921 esac
18923 case $ac_option in
18924 # Handling of the options.
18925 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18926 ac_cs_recheck=: ;;
18927 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18928 $as_echo "$ac_cs_version"; exit ;;
18929 --config | --confi | --conf | --con | --co | --c )
18930 $as_echo "$ac_cs_config"; exit ;;
18931 --debug | --debu | --deb | --de | --d | -d )
18932 debug=: ;;
18933 --file | --fil | --fi | --f )
18934 $ac_shift
18935 case $ac_optarg in
18936 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18937 '') as_fn_error $? "missing file argument" ;;
18938 esac
18939 as_fn_append CONFIG_FILES " '$ac_optarg'"
18940 ac_need_defaults=false;;
18941 --header | --heade | --head | --hea )
18942 $ac_shift
18943 case $ac_optarg in
18944 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18945 esac
18946 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18947 ac_need_defaults=false;;
18948 --he | --h)
18949 # Conflict between --help and --header
18950 as_fn_error $? "ambiguous option: \`$1'
18951 Try \`$0 --help' for more information.";;
18952 --help | --hel | -h )
18953 $as_echo "$ac_cs_usage"; exit ;;
18954 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18955 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18956 ac_cs_silent=: ;;
18958 # This is an error.
18959 -*) as_fn_error $? "unrecognized option: \`$1'
18960 Try \`$0 --help' for more information." ;;
18962 *) as_fn_append ac_config_targets " $1"
18963 ac_need_defaults=false ;;
18965 esac
18966 shift
18967 done
18969 ac_configure_extra_args=
18971 if $ac_cs_silent; then
18972 exec 6>/dev/null
18973 ac_configure_extra_args="$ac_configure_extra_args --silent"
18976 _ACEOF
18977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18978 if \$ac_cs_recheck; then
18979 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18980 shift
18981 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18982 CONFIG_SHELL='$SHELL'
18983 export CONFIG_SHELL
18984 exec "\$@"
18987 _ACEOF
18988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18989 exec 5>>config.log
18991 echo
18992 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18993 ## Running $as_me. ##
18994 _ASBOX
18995 $as_echo "$ac_log"
18996 } >&5
18998 _ACEOF
18999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19001 # INIT-COMMANDS
19003 wine_fn_output_makedep ()
19005 as_dir=tools; as_fn_mkdir_p
19006 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19008 wine_fn_output_makefile ()
19010 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19011 `cat $wine_rules_file`
19012 _WINE_EOF
19013 as_fn_error $? "could not create Makefile" "$LINENO" 5
19016 _ACEOF
19018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19020 # Handling of arguments.
19021 for ac_config_target in $ac_config_targets
19023 case $ac_config_target in
19024 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19025 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19026 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19027 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19028 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19029 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19030 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19031 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19032 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19033 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19034 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19035 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19036 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19037 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19039 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19040 esac
19041 done
19044 # If the user did not use the arguments to specify the items to instantiate,
19045 # then the envvar interface is used. Set only those that are not.
19046 # We use the long form for the default assignment because of an extremely
19047 # bizarre bug on SunOS 4.1.3.
19048 if $ac_need_defaults; then
19049 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19050 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19051 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19052 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19055 # Have a temporary directory for convenience. Make it in the build tree
19056 # simply because there is no reason against having it here, and in addition,
19057 # creating and moving files from /tmp can sometimes cause problems.
19058 # Hook for its removal unless debugging.
19059 # Note that there is a small window in which the directory will not be cleaned:
19060 # after its creation but before its name has been assigned to `$tmp'.
19061 $debug ||
19063 tmp= ac_tmp=
19064 trap 'exit_status=$?
19065 : "${ac_tmp:=$tmp}"
19066 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19068 trap 'as_fn_exit 1' 1 2 13 15
19070 # Create a (secure) tmp directory for tmp files.
19073 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19074 test -d "$tmp"
19075 } ||
19077 tmp=./conf$$-$RANDOM
19078 (umask 077 && mkdir "$tmp")
19079 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19080 ac_tmp=$tmp
19082 # Set up the scripts for CONFIG_FILES section.
19083 # No need to generate them if there are no CONFIG_FILES.
19084 # This happens for instance with `./config.status config.h'.
19085 if test -n "$CONFIG_FILES"; then
19088 ac_cr=`echo X | tr X '\015'`
19089 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19090 # But we know of no other shell where ac_cr would be empty at this
19091 # point, so we can use a bashism as a fallback.
19092 if test "x$ac_cr" = x; then
19093 eval ac_cr=\$\'\\r\'
19095 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19096 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19097 ac_cs_awk_cr='\\r'
19098 else
19099 ac_cs_awk_cr=$ac_cr
19102 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19103 _ACEOF
19107 echo "cat >conf$$subs.awk <<_ACEOF" &&
19108 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19109 echo "_ACEOF"
19110 } >conf$$subs.sh ||
19111 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19112 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19113 ac_delim='%!_!# '
19114 for ac_last_try in false false false false false :; do
19115 . ./conf$$subs.sh ||
19116 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19118 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19119 if test $ac_delim_n = $ac_delim_num; then
19120 break
19121 elif $ac_last_try; then
19122 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19123 else
19124 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19126 done
19127 rm -f conf$$subs.sh
19129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19130 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19131 _ACEOF
19132 sed -n '
19134 s/^/S["/; s/!.*/"]=/
19137 s/^[^!]*!//
19138 :repl
19139 t repl
19140 s/'"$ac_delim"'$//
19141 t delim
19144 s/\(.\{148\}\)..*/\1/
19145 t more1
19146 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19149 b repl
19150 :more1
19151 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19154 s/.\{148\}//
19155 t nl
19156 :delim
19158 s/\(.\{148\}\)..*/\1/
19159 t more2
19160 s/["\\]/\\&/g; s/^/"/; s/$/"/
19163 :more2
19164 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19167 s/.\{148\}//
19168 t delim
19169 ' <conf$$subs.awk | sed '
19170 /^[^""]/{
19172 s/\n//
19174 ' >>$CONFIG_STATUS || ac_write_fail=1
19175 rm -f conf$$subs.awk
19176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19177 _ACAWK
19178 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19179 for (key in S) S_is_set[key] = 1
19180 FS = "\a"
19184 line = $ 0
19185 nfields = split(line, field, "@")
19186 substed = 0
19187 len = length(field[1])
19188 for (i = 2; i < nfields; i++) {
19189 key = field[i]
19190 keylen = length(key)
19191 if (S_is_set[key]) {
19192 value = S[key]
19193 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19194 len += length(value) + length(field[++i])
19195 substed = 1
19196 } else
19197 len += 1 + keylen
19200 print line
19203 _ACAWK
19204 _ACEOF
19205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19206 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19207 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19208 else
19210 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19211 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19212 _ACEOF
19214 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19215 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19216 # trailing colons and then remove the whole line if VPATH becomes empty
19217 # (actually we leave an empty line to preserve line numbers).
19218 if test "x$srcdir" = x.; then
19219 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19221 s///
19222 s/^/:/
19223 s/[ ]*$/:/
19224 s/:\$(srcdir):/:/g
19225 s/:\${srcdir}:/:/g
19226 s/:@srcdir@:/:/g
19227 s/^:*//
19228 s/:*$//
19230 s/\(=[ ]*\).*/\1/
19232 s/\n//
19233 s/^[^=]*=[ ]*$//
19237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19238 fi # test -n "$CONFIG_FILES"
19240 # Set up the scripts for CONFIG_HEADERS section.
19241 # No need to generate them if there are no CONFIG_HEADERS.
19242 # This happens for instance with `./config.status Makefile'.
19243 if test -n "$CONFIG_HEADERS"; then
19244 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19245 BEGIN {
19246 _ACEOF
19248 # Transform confdefs.h into an awk script `defines.awk', embedded as
19249 # here-document in config.status, that substitutes the proper values into
19250 # config.h.in to produce config.h.
19252 # Create a delimiter string that does not exist in confdefs.h, to ease
19253 # handling of long lines.
19254 ac_delim='%!_!# '
19255 for ac_last_try in false false :; do
19256 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19257 if test -z "$ac_tt"; then
19258 break
19259 elif $ac_last_try; then
19260 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19261 else
19262 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19264 done
19266 # For the awk script, D is an array of macro values keyed by name,
19267 # likewise P contains macro parameters if any. Preserve backslash
19268 # newline sequences.
19270 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19271 sed -n '
19272 s/.\{148\}/&'"$ac_delim"'/g
19273 t rset
19274 :rset
19275 s/^[ ]*#[ ]*define[ ][ ]*/ /
19276 t def
19278 :def
19279 s/\\$//
19280 t bsnl
19281 s/["\\]/\\&/g
19282 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19283 D["\1"]=" \3"/p
19284 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19286 :bsnl
19287 s/["\\]/\\&/g
19288 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19289 D["\1"]=" \3\\\\\\n"\\/p
19290 t cont
19291 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19292 t cont
19294 :cont
19296 s/.\{148\}/&'"$ac_delim"'/g
19297 t clear
19298 :clear
19299 s/\\$//
19300 t bsnlc
19301 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19303 :bsnlc
19304 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19305 b cont
19306 ' <confdefs.h | sed '
19307 s/'"$ac_delim"'/"\\\
19308 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19311 for (key in D) D_is_set[key] = 1
19312 FS = "\a"
19314 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19315 line = \$ 0
19316 split(line, arg, " ")
19317 if (arg[1] == "#") {
19318 defundef = arg[2]
19319 mac1 = arg[3]
19320 } else {
19321 defundef = substr(arg[1], 2)
19322 mac1 = arg[2]
19324 split(mac1, mac2, "(") #)
19325 macro = mac2[1]
19326 prefix = substr(line, 1, index(line, defundef) - 1)
19327 if (D_is_set[macro]) {
19328 # Preserve the white space surrounding the "#".
19329 print prefix "define", macro P[macro] D[macro]
19330 next
19331 } else {
19332 # Replace #undef with comments. This is necessary, for example,
19333 # in the case of _POSIX_SOURCE, which is predefined and required
19334 # on some systems where configure will not decide to define it.
19335 if (defundef == "undef") {
19336 print "/*", prefix defundef, macro, "*/"
19337 next
19341 { print }
19342 _ACAWK
19343 _ACEOF
19344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19345 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19346 fi # test -n "$CONFIG_HEADERS"
19349 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19350 shift
19351 for ac_tag
19353 case $ac_tag in
19354 :[FHLC]) ac_mode=$ac_tag; continue;;
19355 esac
19356 case $ac_mode$ac_tag in
19357 :[FHL]*:*);;
19358 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19359 :[FH]-) ac_tag=-:-;;
19360 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19361 esac
19362 ac_save_IFS=$IFS
19363 IFS=:
19364 set x $ac_tag
19365 IFS=$ac_save_IFS
19366 shift
19367 ac_file=$1
19368 shift
19370 case $ac_mode in
19371 :L) ac_source=$1;;
19372 :[FH])
19373 ac_file_inputs=
19374 for ac_f
19376 case $ac_f in
19377 -) ac_f="$ac_tmp/stdin";;
19378 *) # Look for the file first in the build tree, then in the source tree
19379 # (if the path is not absolute). The absolute path cannot be DOS-style,
19380 # because $ac_f cannot contain `:'.
19381 test -f "$ac_f" ||
19382 case $ac_f in
19383 [\\/$]*) false;;
19384 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19385 esac ||
19386 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19387 esac
19388 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19389 as_fn_append ac_file_inputs " '$ac_f'"
19390 done
19392 # Let's still pretend it is `configure' which instantiates (i.e., don't
19393 # use $as_me), people would be surprised to read:
19394 # /* config.h. Generated by config.status. */
19395 configure_input='Generated from '`
19396 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19397 `' by configure.'
19398 if test x"$ac_file" != x-; then
19399 configure_input="$ac_file. $configure_input"
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19401 $as_echo "$as_me: creating $ac_file" >&6;}
19403 # Neutralize special characters interpreted by sed in replacement strings.
19404 case $configure_input in #(
19405 *\&* | *\|* | *\\* )
19406 ac_sed_conf_input=`$as_echo "$configure_input" |
19407 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19408 *) ac_sed_conf_input=$configure_input;;
19409 esac
19411 case $ac_tag in
19412 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19413 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19414 esac
19416 esac
19418 ac_dir=`$as_dirname -- "$ac_file" ||
19419 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19420 X"$ac_file" : 'X\(//\)[^/]' \| \
19421 X"$ac_file" : 'X\(//\)$' \| \
19422 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19423 $as_echo X"$ac_file" |
19424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19425 s//\1/
19428 /^X\(\/\/\)[^/].*/{
19429 s//\1/
19432 /^X\(\/\/\)$/{
19433 s//\1/
19436 /^X\(\/\).*/{
19437 s//\1/
19440 s/.*/./; q'`
19441 as_dir="$ac_dir"; as_fn_mkdir_p
19442 ac_builddir=.
19444 case "$ac_dir" in
19445 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19447 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19448 # A ".." for each directory in $ac_dir_suffix.
19449 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19450 case $ac_top_builddir_sub in
19451 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19452 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19453 esac ;;
19454 esac
19455 ac_abs_top_builddir=$ac_pwd
19456 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19457 # for backward compatibility:
19458 ac_top_builddir=$ac_top_build_prefix
19460 case $srcdir in
19461 .) # We are building in place.
19462 ac_srcdir=.
19463 ac_top_srcdir=$ac_top_builddir_sub
19464 ac_abs_top_srcdir=$ac_pwd ;;
19465 [\\/]* | ?:[\\/]* ) # Absolute name.
19466 ac_srcdir=$srcdir$ac_dir_suffix;
19467 ac_top_srcdir=$srcdir
19468 ac_abs_top_srcdir=$srcdir ;;
19469 *) # Relative name.
19470 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19471 ac_top_srcdir=$ac_top_build_prefix$srcdir
19472 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19473 esac
19474 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19477 case $ac_mode in
19480 # CONFIG_FILE
19483 _ACEOF
19485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19486 # If the template does not know about datarootdir, expand it.
19487 # FIXME: This hack should be removed a few years after 2.60.
19488 ac_datarootdir_hack=; ac_datarootdir_seen=
19489 ac_sed_dataroot='
19490 /datarootdir/ {
19494 /@datadir@/p
19495 /@docdir@/p
19496 /@infodir@/p
19497 /@localedir@/p
19498 /@mandir@/p'
19499 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19500 *datarootdir*) ac_datarootdir_seen=yes;;
19501 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19503 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19504 _ACEOF
19505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19506 ac_datarootdir_hack='
19507 s&@datadir@&$datadir&g
19508 s&@docdir@&$docdir&g
19509 s&@infodir@&$infodir&g
19510 s&@localedir@&$localedir&g
19511 s&@mandir@&$mandir&g
19512 s&\\\${datarootdir}&$datarootdir&g' ;;
19513 esac
19514 _ACEOF
19516 # Neutralize VPATH when `$srcdir' = `.'.
19517 # Shell code in configure.ac might set extrasub.
19518 # FIXME: do we really want to maintain this feature?
19519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19520 ac_sed_extra="$ac_vpsub
19521 $extrasub
19522 _ACEOF
19523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19525 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19526 s|@configure_input@|$ac_sed_conf_input|;t t
19527 s&@top_builddir@&$ac_top_builddir_sub&;t t
19528 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19529 s&@srcdir@&$ac_srcdir&;t t
19530 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19531 s&@top_srcdir@&$ac_top_srcdir&;t t
19532 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19533 s&@builddir@&$ac_builddir&;t t
19534 s&@abs_builddir@&$ac_abs_builddir&;t t
19535 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19536 $ac_datarootdir_hack
19538 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19539 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19541 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19542 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19543 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19544 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19546 which seems to be undefined. Please make sure it is defined" >&5
19547 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19548 which seems to be undefined. Please make sure it is defined" >&2;}
19550 rm -f "$ac_tmp/stdin"
19551 case $ac_file in
19552 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19553 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19554 esac \
19555 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19559 # CONFIG_HEADER
19561 if test x"$ac_file" != x-; then
19563 $as_echo "/* $configure_input */" \
19564 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19565 } >"$ac_tmp/config.h" \
19566 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19567 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19569 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19570 else
19571 rm -f "$ac_file"
19572 mv "$ac_tmp/config.h" "$ac_file" \
19573 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19575 else
19576 $as_echo "/* $configure_input */" \
19577 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19578 || as_fn_error $? "could not create -" "$LINENO" 5
19583 # CONFIG_LINK
19586 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19588 else
19589 # Prefer the file from the source tree if names are identical.
19590 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19591 ac_source=$srcdir/$ac_source
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19595 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19597 if test ! -r "$ac_source"; then
19598 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19600 rm -f "$ac_file"
19602 # Try a relative symlink, then a hard link, then a copy.
19603 case $ac_source in
19604 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19605 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19606 esac
19607 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19608 ln "$ac_source" "$ac_file" 2>/dev/null ||
19609 cp -p "$ac_source" "$ac_file" ||
19610 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19613 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19614 $as_echo "$as_me: executing $ac_file commands" >&6;}
19616 esac
19619 case $ac_file$ac_mode in
19620 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19621 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19622 "Makefile":C) wine_fn_output_makefile Makefile ;;
19624 esac
19625 done # for ac_tag
19628 as_fn_exit 0
19629 _ACEOF
19630 ac_clean_files=$ac_clean_files_save
19632 test $ac_write_fail = 0 ||
19633 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19636 # configure is writing to config.log, and then calls config.status.
19637 # config.status does its own redirection, appending to config.log.
19638 # Unfortunately, on DOS this fails, as config.log is still kept open
19639 # by configure, so config.status won't be able to write to it; its
19640 # output is simply discarded. So we exec the FD to /dev/null,
19641 # effectively closing config.log, so it can be properly (re)opened and
19642 # appended to by config.status. When coming back to configure, we
19643 # need to make the FD available again.
19644 if test "$no_create" != yes; then
19645 ac_cs_success=:
19646 ac_config_status_args=
19647 test "$silent" = yes &&
19648 ac_config_status_args="$ac_config_status_args --quiet"
19649 exec 5>/dev/null
19650 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19651 exec 5>>config.log
19652 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19653 # would make configure fail if this is the last instruction.
19654 $ac_cs_success || as_fn_exit 1
19656 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19658 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19662 if test "$no_create" = "yes"
19663 then
19664 exit 0
19667 ac_save_IFS="$IFS"
19668 if test "x$wine_notices" != x; then
19669 echo >&6
19670 IFS="|"
19671 for msg in $wine_notices; do
19672 IFS="$ac_save_IFS"
19673 if ${msg:+false} :; then :
19675 else
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19677 $as_echo "$as_me: $msg" >&6;}
19679 done
19681 IFS="|"
19682 for msg in $wine_warnings; do
19683 IFS="$ac_save_IFS"
19684 if ${msg:+false} :; then :
19686 else
19687 echo >&2
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19689 $as_echo "$as_me: WARNING: $msg" >&2;}
19691 done
19692 IFS="$ac_save_IFS"
19694 $as_echo "
19695 $as_me: Finished. Do '${ac_make}' to compile Wine.
19696 " >&6