d2d1: Implement d2d_state_block_GetFactory().
[wine.git] / configure
blobdff3e10d9cf4815423706063394ad57ff8690d39
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.48.
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.7.48'
584 PACKAGE_STRING='Wine 1.7.48'
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 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
708 OTOOL
710 LDRPATH_LOCAL
711 LDRPATH_INSTALL
712 DLLFLAGS
713 DLLPREFIX
714 dlldir
716 OPENGL_LIBS
717 ICOTOOL
718 CONVERT
719 RSVG
720 FONTFORGE
721 PKG_CONFIG
722 MSGFMT
723 LDCONFIG
724 EGREP
725 GREP
726 LN_S
727 RANLIB
728 ARFLAGS
729 STRIP
730 ac_ct_AR
732 BISON
733 FLEX
734 TOOLSDIR
735 TARGETFLAGS
737 CPPBIN
738 ac_ct_CXX
739 CXXFLAGS
741 OBJEXT
742 EXEEXT
743 ac_ct_CC
744 CPPFLAGS
745 LDFLAGS
746 CFLAGS
748 SET_MAKE
749 host_os
750 host_vendor
751 host_cpu
752 host
753 build_os
754 build_vendor
755 build_cpu
756 build
757 target_alias
758 host_alias
759 build_alias
760 LIBS
761 ECHO_T
762 ECHO_N
763 ECHO_C
764 DEFS
765 mandir
766 localedir
767 libdir
768 psdir
769 pdfdir
770 dvidir
771 htmldir
772 infodir
773 docdir
774 oldincludedir
775 includedir
776 localstatedir
777 sharedstatedir
778 sysconfdir
779 datadir
780 datarootdir
781 libexecdir
782 sbindir
783 bindir
784 program_transform_name
785 prefix
786 exec_prefix
787 PACKAGE_URL
788 PACKAGE_BUGREPORT
789 PACKAGE_STRING
790 PACKAGE_VERSION
791 PACKAGE_TARNAME
792 PACKAGE_NAME
793 PATH_SEPARATOR
794 SHELL'
795 ac_subst_files=''
796 ac_user_opts='
797 enable_option_checking
798 enable_win16
799 enable_win64
800 enable_tests
801 enable_maintainer_mode
802 with_alsa
803 with_capi
804 with_cms
805 with_coreaudio
806 with_cups
807 with_curses
808 with_dbus
809 with_fontconfig
810 with_freetype
811 with_gettext
812 with_gettextpo
813 with_gphoto
814 with_glu
815 with_gnutls
816 with_gsm
817 with_gstreamer
818 with_hal
819 with_jpeg
820 with_ldap
821 with_mpg123
822 with_netapi
823 with_openal
824 with_opencl
825 with_opengl
826 with_osmesa
827 with_oss
828 with_pcap
829 with_png
830 with_pthread
831 with_sane
832 with_tiff
833 with_v4l
834 with_xcomposite
835 with_xcursor
836 with_xinerama
837 with_xinput
838 with_xinput2
839 with_xml
840 with_xrandr
841 with_xrender
842 with_xshape
843 with_xshm
844 with_xslt
845 with_xxf86vm
846 with_zlib
847 with_wine_tools
848 with_wine64
849 enable_largefile
850 with_x
851 enable_acledit
852 enable_aclui
853 enable_activeds
854 enable_actxprxy
855 enable_advapi32
856 enable_advpack
857 enable_amstream
858 enable_api_ms_win_core_com_l1_1_0
859 enable_api_ms_win_core_console_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_0
861 enable_api_ms_win_core_datetime_l1_1_1
862 enable_api_ms_win_core_debug_l1_1_0
863 enable_api_ms_win_core_debug_l1_1_1
864 enable_api_ms_win_core_errorhandling_l1_1_0
865 enable_api_ms_win_core_errorhandling_l1_1_1
866 enable_api_ms_win_core_errorhandling_l1_1_2
867 enable_api_ms_win_core_fibers_l1_1_0
868 enable_api_ms_win_core_fibers_l1_1_1
869 enable_api_ms_win_core_file_l1_1_0
870 enable_api_ms_win_core_file_l1_2_0
871 enable_api_ms_win_core_file_l2_1_0
872 enable_api_ms_win_core_file_l2_1_1
873 enable_api_ms_win_core_handle_l1_1_0
874 enable_api_ms_win_core_heap_l1_1_0
875 enable_api_ms_win_core_heap_l1_2_0
876 enable_api_ms_win_core_heap_obsolete_l1_1_0
877 enable_api_ms_win_core_interlocked_l1_1_0
878 enable_api_ms_win_core_interlocked_l1_2_0
879 enable_api_ms_win_core_io_l1_1_1
880 enable_api_ms_win_core_kernel32_legacy_l1_1_0
881 enable_api_ms_win_core_libraryloader_l1_1_0
882 enable_api_ms_win_core_libraryloader_l1_1_1
883 enable_api_ms_win_core_localization_l1_2_0
884 enable_api_ms_win_core_localization_l1_2_1
885 enable_api_ms_win_core_localization_obsolete_l1_1_0
886 enable_api_ms_win_core_localregistry_l1_1_0
887 enable_api_ms_win_core_memory_l1_1_0
888 enable_api_ms_win_core_memory_l1_1_1
889 enable_api_ms_win_core_misc_l1_1_0
890 enable_api_ms_win_core_namedpipe_l1_1_0
891 enable_api_ms_win_core_namedpipe_l1_2_0
892 enable_api_ms_win_core_processenvironment_l1_1_0
893 enable_api_ms_win_core_processenvironment_l1_2_0
894 enable_api_ms_win_core_processthreads_l1_1_0
895 enable_api_ms_win_core_processthreads_l1_1_1
896 enable_api_ms_win_core_processthreads_l1_1_2
897 enable_api_ms_win_core_profile_l1_1_0
898 enable_api_ms_win_core_psapi_l1_1_0
899 enable_api_ms_win_core_registry_l1_1_0
900 enable_api_ms_win_core_rtlsupport_l1_1_0
901 enable_api_ms_win_core_rtlsupport_l1_2_0
902 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
903 enable_api_ms_win_core_string_l1_1_0
904 enable_api_ms_win_core_synch_l1_1_0
905 enable_api_ms_win_core_synch_l1_2_0
906 enable_api_ms_win_core_sysinfo_l1_1_0
907 enable_api_ms_win_core_sysinfo_l1_2_0
908 enable_api_ms_win_core_sysinfo_l1_2_1
909 enable_api_ms_win_core_threadpool_legacy_l1_1_0
910 enable_api_ms_win_core_timezone_l1_1_0
911 enable_api_ms_win_core_url_l1_1_0
912 enable_api_ms_win_core_util_l1_1_0
913 enable_api_ms_win_core_winrt_error_l1_1_0
914 enable_api_ms_win_core_winrt_error_l1_1_1
915 enable_api_ms_win_core_winrt_l1_1_0
916 enable_api_ms_win_core_winrt_string_l1_1_0
917 enable_api_ms_win_core_xstate_l2_1_0
918 enable_api_ms_win_downlevel_advapi32_l1_1_0
919 enable_api_ms_win_downlevel_advapi32_l2_1_0
920 enable_api_ms_win_downlevel_normaliz_l1_1_0
921 enable_api_ms_win_downlevel_ole32_l1_1_0
922 enable_api_ms_win_downlevel_shell32_l1_1_0
923 enable_api_ms_win_downlevel_shlwapi_l1_1_0
924 enable_api_ms_win_downlevel_shlwapi_l2_1_0
925 enable_api_ms_win_downlevel_user32_l1_1_0
926 enable_api_ms_win_downlevel_version_l1_1_0
927 enable_api_ms_win_eventing_provider_l1_1_0
928 enable_api_ms_win_ntuser_dc_access_l1_1_0
929 enable_api_ms_win_security_base_l1_1_0
930 enable_api_ms_win_security_base_l1_2_0
931 enable_api_ms_win_security_sddl_l1_1_0
932 enable_api_ms_win_service_core_l1_1_1
933 enable_api_ms_win_service_management_l1_1_0
934 enable_api_ms_win_service_winsvc_l1_2_0
935 enable_apphelp
936 enable_appwiz_cpl
937 enable_atl
938 enable_atl100
939 enable_atl110
940 enable_atl80
941 enable_atl90
942 enable_authz
943 enable_avicap32
944 enable_avifil32
945 enable_avrt
946 enable_bcrypt
947 enable_browseui
948 enable_cabinet
949 enable_capi2032
950 enable_cards
951 enable_cfgmgr32
952 enable_clusapi
953 enable_combase
954 enable_comcat
955 enable_comctl32
956 enable_comdlg32
957 enable_compstui
958 enable_comsvcs
959 enable_connect
960 enable_credui
961 enable_crtdll
962 enable_crypt32
963 enable_cryptdlg
964 enable_cryptdll
965 enable_cryptext
966 enable_cryptnet
967 enable_cryptui
968 enable_ctapi32
969 enable_ctl3d32
970 enable_d2d1
971 enable_d3d10
972 enable_d3d10_1
973 enable_d3d10core
974 enable_d3d11
975 enable_d3d8
976 enable_d3d9
977 enable_d3dcompiler_33
978 enable_d3dcompiler_34
979 enable_d3dcompiler_35
980 enable_d3dcompiler_36
981 enable_d3dcompiler_37
982 enable_d3dcompiler_38
983 enable_d3dcompiler_39
984 enable_d3dcompiler_40
985 enable_d3dcompiler_41
986 enable_d3dcompiler_42
987 enable_d3dcompiler_43
988 enable_d3dcompiler_46
989 enable_d3dcompiler_47
990 enable_d3dim
991 enable_d3drm
992 enable_d3dx10_33
993 enable_d3dx10_34
994 enable_d3dx10_35
995 enable_d3dx10_36
996 enable_d3dx10_37
997 enable_d3dx10_38
998 enable_d3dx10_39
999 enable_d3dx10_40
1000 enable_d3dx10_41
1001 enable_d3dx10_42
1002 enable_d3dx10_43
1003 enable_d3dx11_42
1004 enable_d3dx11_43
1005 enable_d3dx9_24
1006 enable_d3dx9_25
1007 enable_d3dx9_26
1008 enable_d3dx9_27
1009 enable_d3dx9_28
1010 enable_d3dx9_29
1011 enable_d3dx9_30
1012 enable_d3dx9_31
1013 enable_d3dx9_32
1014 enable_d3dx9_33
1015 enable_d3dx9_34
1016 enable_d3dx9_35
1017 enable_d3dx9_36
1018 enable_d3dx9_37
1019 enable_d3dx9_38
1020 enable_d3dx9_39
1021 enable_d3dx9_40
1022 enable_d3dx9_41
1023 enable_d3dx9_42
1024 enable_d3dx9_43
1025 enable_d3dxof
1026 enable_davclnt
1027 enable_dbgeng
1028 enable_dbghelp
1029 enable_dciman32
1030 enable_ddraw
1031 enable_ddrawex
1032 enable_devenum
1033 enable_dhcpcsvc
1034 enable_difxapi
1035 enable_dinput
1036 enable_dinput8
1037 enable_dispex
1038 enable_dmband
1039 enable_dmcompos
1040 enable_dmime
1041 enable_dmloader
1042 enable_dmscript
1043 enable_dmstyle
1044 enable_dmsynth
1045 enable_dmusic
1046 enable_dmusic32
1047 enable_dnsapi
1048 enable_dplay
1049 enable_dplayx
1050 enable_dpnaddr
1051 enable_dpnet
1052 enable_dpnhpast
1053 enable_dpnlobby
1054 enable_dpvoice
1055 enable_dpwsockx
1056 enable_drmclien
1057 enable_dsound
1058 enable_dssenh
1059 enable_dswave
1060 enable_dwmapi
1061 enable_dwrite
1062 enable_dxdiagn
1063 enable_dxgi
1064 enable_dxva2
1065 enable_evr
1066 enable_explorerframe
1067 enable_ext_ms_win_gdi_devcaps_l1_1_0
1068 enable_faultrep
1069 enable_fltlib
1070 enable_fntcache
1071 enable_fontsub
1072 enable_fusion
1073 enable_fwpuclnt
1074 enable_gameux
1075 enable_gdi32
1076 enable_gdiplus
1077 enable_glu32
1078 enable_gphoto2_ds
1079 enable_gpkcsp
1080 enable_hal
1081 enable_hhctrl_ocx
1082 enable_hid
1083 enable_hidclass_sys
1084 enable_hlink
1085 enable_hnetcfg
1086 enable_httpapi
1087 enable_iccvid
1088 enable_icmp
1089 enable_ieframe
1090 enable_imaadp32_acm
1091 enable_imagehlp
1092 enable_imm32
1093 enable_inetcomm
1094 enable_inetcpl_cpl
1095 enable_inetmib1
1096 enable_infosoft
1097 enable_initpki
1098 enable_inkobj
1099 enable_inseng
1100 enable_iphlpapi
1101 enable_itircl
1102 enable_itss
1103 enable_joy_cpl
1104 enable_jscript
1105 enable_jsproxy
1106 enable_kernel32
1107 enable_ksuser
1108 enable_ktmw32
1109 enable_loadperf
1110 enable_localspl
1111 enable_localui
1112 enable_lz32
1113 enable_mapi32
1114 enable_mapistub
1115 enable_mciavi32
1116 enable_mcicda
1117 enable_mciqtz32
1118 enable_mciseq
1119 enable_mciwave
1120 enable_mf
1121 enable_mfplat
1122 enable_mfreadwrite
1123 enable_mgmtapi
1124 enable_midimap
1125 enable_mlang
1126 enable_mmcndmgr
1127 enable_mmdevapi
1128 enable_mountmgr_sys
1129 enable_mpr
1130 enable_mprapi
1131 enable_msacm32_drv
1132 enable_msacm32
1133 enable_msadp32_acm
1134 enable_msasn1
1135 enable_mscat32
1136 enable_mscms
1137 enable_mscoree
1138 enable_msctf
1139 enable_msctfp
1140 enable_msdaps
1141 enable_msdmo
1142 enable_msftedit
1143 enable_msg711_acm
1144 enable_msgsm32_acm
1145 enable_mshtml_tlb
1146 enable_mshtml
1147 enable_msi
1148 enable_msident
1149 enable_msimg32
1150 enable_msimsg
1151 enable_msimtf
1152 enable_msisip
1153 enable_msisys_ocx
1154 enable_msls31
1155 enable_msnet32
1156 enable_mspatcha
1157 enable_msrle32
1158 enable_msscript_ocx
1159 enable_mssign32
1160 enable_mssip32
1161 enable_mstask
1162 enable_msvcirt
1163 enable_msvcm80
1164 enable_msvcm90
1165 enable_msvcp100
1166 enable_msvcp110
1167 enable_msvcp120
1168 enable_msvcp120_app
1169 enable_msvcp60
1170 enable_msvcp70
1171 enable_msvcp71
1172 enable_msvcp80
1173 enable_msvcp90
1174 enable_msvcr100
1175 enable_msvcr110
1176 enable_msvcr120
1177 enable_msvcr120_app
1178 enable_msvcr70
1179 enable_msvcr71
1180 enable_msvcr80
1181 enable_msvcr90
1182 enable_msvcrt
1183 enable_msvcrt20
1184 enable_msvcrt40
1185 enable_msvcrtd
1186 enable_msvfw32
1187 enable_msvidc32
1188 enable_mswsock
1189 enable_msxml
1190 enable_msxml2
1191 enable_msxml3
1192 enable_msxml4
1193 enable_msxml6
1194 enable_nddeapi
1195 enable_ndis_sys
1196 enable_netapi32
1197 enable_netcfgx
1198 enable_netprofm
1199 enable_newdev
1200 enable_normaliz
1201 enable_npmshtml
1202 enable_npptools
1203 enable_ntdll
1204 enable_ntdsapi
1205 enable_ntoskrnl_exe
1206 enable_ntprint
1207 enable_objsel
1208 enable_odbc32
1209 enable_odbccp32
1210 enable_odbccu32
1211 enable_ole32
1212 enable_oleacc
1213 enable_oleaut32
1214 enable_olecli32
1215 enable_oledb32
1216 enable_oledlg
1217 enable_olepro32
1218 enable_olesvr32
1219 enable_olethk32
1220 enable_openal32
1221 enable_opencl
1222 enable_opengl32
1223 enable_packager
1224 enable_pdh
1225 enable_photometadatahandler
1226 enable_pidgen
1227 enable_powrprof
1228 enable_printui
1229 enable_prntvpt
1230 enable_propsys
1231 enable_psapi
1232 enable_pstorec
1233 enable_qcap
1234 enable_qedit
1235 enable_qmgr
1236 enable_qmgrprxy
1237 enable_quartz
1238 enable_query
1239 enable_rasapi32
1240 enable_rasdlg
1241 enable_regapi
1242 enable_resutils
1243 enable_riched20
1244 enable_riched32
1245 enable_rpcrt4
1246 enable_rsabase
1247 enable_rsaenh
1248 enable_rstrtmgr
1249 enable_rtutils
1250 enable_samlib
1251 enable_sane_ds
1252 enable_scarddlg
1253 enable_sccbase
1254 enable_schannel
1255 enable_schedsvc
1256 enable_scrrun
1257 enable_scsiport_sys
1258 enable_secur32
1259 enable_security
1260 enable_sensapi
1261 enable_serialui
1262 enable_setupapi
1263 enable_sfc
1264 enable_sfc_os
1265 enable_shdoclc
1266 enable_shdocvw
1267 enable_shell32
1268 enable_shfolder
1269 enable_shlwapi
1270 enable_slbcsp
1271 enable_slc
1272 enable_snmpapi
1273 enable_softpub
1274 enable_spoolss
1275 enable_stdole2_tlb
1276 enable_stdole32_tlb
1277 enable_sti
1278 enable_svrapi
1279 enable_sxs
1280 enable_t2embed
1281 enable_tapi32
1282 enable_taskschd
1283 enable_traffic
1284 enable_twain_32
1285 enable_unicows
1286 enable_updspapi
1287 enable_url
1288 enable_urlmon
1289 enable_usbd_sys
1290 enable_user32
1291 enable_userenv
1292 enable_usp10
1293 enable_uxtheme
1294 enable_vbscript
1295 enable_vcomp
1296 enable_vcomp100
1297 enable_vcomp90
1298 enable_vdmdbg
1299 enable_version
1300 enable_vssapi
1301 enable_wbemdisp
1302 enable_wbemprox
1303 enable_webservices
1304 enable_wer
1305 enable_wevtapi
1306 enable_wiaservc
1307 enable_windowscodecs
1308 enable_windowscodecsext
1309 enable_winealsa_drv
1310 enable_winecoreaudio_drv
1311 enable_wined3d
1312 enable_winegstreamer
1313 enable_winejoystick_drv
1314 enable_winemac_drv
1315 enable_winemapi
1316 enable_winemp3_acm
1317 enable_wineoss_drv
1318 enable_wineps_drv
1319 enable_wineqtdecoder
1320 enable_winex11_drv
1321 enable_wing32
1322 enable_winhttp
1323 enable_wininet
1324 enable_winmm
1325 enable_winnls32
1326 enable_winscard
1327 enable_winspool_drv
1328 enable_winsta
1329 enable_wintab32
1330 enable_wintrust
1331 enable_wlanapi
1332 enable_wldap32
1333 enable_wmi
1334 enable_wmiutils
1335 enable_wmp
1336 enable_wmvcore
1337 enable_wnaspi32
1338 enable_wpcap
1339 enable_ws2_32
1340 enable_wshom_ocx
1341 enable_wsnmp32
1342 enable_wsock32
1343 enable_wtsapi32
1344 enable_wuapi
1345 enable_wuaueng
1346 enable_x3daudio1_1
1347 enable_x3daudio1_2
1348 enable_x3daudio1_3
1349 enable_x3daudio1_4
1350 enable_x3daudio1_5
1351 enable_x3daudio1_6
1352 enable_x3daudio1_7
1353 enable_xapofx1_1
1354 enable_xapofx1_3
1355 enable_xapofx1_4
1356 enable_xapofx1_5
1357 enable_xaudio2_7
1358 enable_xaudio2_8
1359 enable_xinput1_1
1360 enable_xinput1_2
1361 enable_xinput1_3
1362 enable_xinput1_4
1363 enable_xinput9_1_0
1364 enable_xmllite
1365 enable_xolehlp
1366 enable_xpsprint
1367 enable_xpssvcs
1368 enable_documentation
1369 enable_fonts
1370 enable_include
1371 enable_libs_port
1372 enable_libs_wine
1373 enable_libs_wpp
1374 enable_loader
1375 enable_arp
1376 enable_aspnet_regiis
1377 enable_attrib
1378 enable_cabarc
1379 enable_cacls
1380 enable_clock
1381 enable_cmd
1382 enable_conhost
1383 enable_control
1384 enable_cscript
1385 enable_dpnsvr
1386 enable_dxdiag
1387 enable_eject
1388 enable_expand
1389 enable_explorer
1390 enable_extrac32
1391 enable_findstr
1392 enable_hh
1393 enable_hostname
1394 enable_icinfo
1395 enable_iexplore
1396 enable_ipconfig
1397 enable_lodctr
1398 enable_mofcomp
1399 enable_mshta
1400 enable_msiexec
1401 enable_net
1402 enable_netsh
1403 enable_netstat
1404 enable_ngen
1405 enable_notepad
1406 enable_oleview
1407 enable_ping
1408 enable_plugplay
1409 enable_presentationfontcache
1410 enable_progman
1411 enable_reg
1412 enable_regasm
1413 enable_regedit
1414 enable_regsvcs
1415 enable_regsvr32
1416 enable_rpcss
1417 enable_rundll32
1418 enable_sc
1419 enable_schtasks
1420 enable_sdbinst
1421 enable_secedit
1422 enable_servicemodelreg
1423 enable_services
1424 enable_spoolsv
1425 enable_start
1426 enable_svchost
1427 enable_systeminfo
1428 enable_taskkill
1429 enable_tasklist
1430 enable_taskmgr
1431 enable_termsv
1432 enable_uninstaller
1433 enable_unlodctr
1434 enable_view
1435 enable_wevtutil
1436 enable_wineboot
1437 enable_winebrowser
1438 enable_winecfg
1439 enable_wineconsole
1440 enable_winedbg
1441 enable_winedevice
1442 enable_winefile
1443 enable_winemenubuilder
1444 enable_winemine
1445 enable_winemsibuilder
1446 enable_winepath
1447 enable_winetest
1448 enable_winhlp32
1449 enable_winver
1450 enable_wmic
1451 enable_wordpad
1452 enable_write
1453 enable_wscript
1454 enable_wusa
1455 enable_xcopy
1456 enable_server
1457 enable_tools
1459 ac_precious_vars='build_alias
1460 host_alias
1461 target_alias
1463 CFLAGS
1464 LDFLAGS
1465 LIBS
1466 CPPFLAGS
1468 CXXFLAGS
1471 XMKMF
1472 XML2_CFLAGS
1473 XML2_LIBS
1474 XSLT_CFLAGS
1475 XSLT_LIBS
1476 DBUS_CFLAGS
1477 DBUS_LIBS
1478 HAL_CFLAGS
1479 HAL_LIBS
1480 GNUTLS_CFLAGS
1481 GNUTLS_LIBS
1482 SANE_CFLAGS
1483 SANE_LIBS
1484 GPHOTO2_CFLAGS
1485 GPHOTO2_LIBS
1486 GPHOTO2_PORT_CFLAGS
1487 GPHOTO2_PORT_LIBS
1488 LCMS2_CFLAGS
1489 LCMS2_LIBS
1490 FREETYPE_CFLAGS
1491 FREETYPE_LIBS
1492 GSTREAMER_CFLAGS
1493 GSTREAMER_LIBS
1494 CAPI20_CFLAGS
1495 CAPI20_LIBS
1496 FONTCONFIG_CFLAGS
1497 FONTCONFIG_LIBS
1498 JPEG_CFLAGS
1499 JPEG_LIBS
1500 PNG_CFLAGS
1501 PNG_LIBS
1502 TIFF_CFLAGS
1503 TIFF_LIBS
1504 MPG123_CFLAGS
1505 MPG123_LIBS'
1508 # Initialize some variables set by options.
1509 ac_init_help=
1510 ac_init_version=false
1511 ac_unrecognized_opts=
1512 ac_unrecognized_sep=
1513 # The variables have the same names as the options, with
1514 # dashes changed to underlines.
1515 cache_file=/dev/null
1516 exec_prefix=NONE
1517 no_create=
1518 no_recursion=
1519 prefix=NONE
1520 program_prefix=NONE
1521 program_suffix=NONE
1522 program_transform_name=s,x,x,
1523 silent=
1524 site=
1525 srcdir=
1526 verbose=
1527 x_includes=NONE
1528 x_libraries=NONE
1530 # Installation directory options.
1531 # These are left unexpanded so users can "make install exec_prefix=/foo"
1532 # and all the variables that are supposed to be based on exec_prefix
1533 # by default will actually change.
1534 # Use braces instead of parens because sh, perl, etc. also accept them.
1535 # (The list follows the same order as the GNU Coding Standards.)
1536 bindir='${exec_prefix}/bin'
1537 sbindir='${exec_prefix}/sbin'
1538 libexecdir='${exec_prefix}/libexec'
1539 datarootdir='${prefix}/share'
1540 datadir='${datarootdir}'
1541 sysconfdir='${prefix}/etc'
1542 sharedstatedir='${prefix}/com'
1543 localstatedir='${prefix}/var'
1544 includedir='${prefix}/include'
1545 oldincludedir='/usr/include'
1546 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1547 infodir='${datarootdir}/info'
1548 htmldir='${docdir}'
1549 dvidir='${docdir}'
1550 pdfdir='${docdir}'
1551 psdir='${docdir}'
1552 libdir='${exec_prefix}/lib'
1553 localedir='${datarootdir}/locale'
1554 mandir='${datarootdir}/man'
1556 ac_prev=
1557 ac_dashdash=
1558 for ac_option
1560 # If the previous option needs an argument, assign it.
1561 if test -n "$ac_prev"; then
1562 eval $ac_prev=\$ac_option
1563 ac_prev=
1564 continue
1567 case $ac_option in
1568 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1569 *=) ac_optarg= ;;
1570 *) ac_optarg=yes ;;
1571 esac
1573 # Accept the important Cygnus configure options, so we can diagnose typos.
1575 case $ac_dashdash$ac_option in
1577 ac_dashdash=yes ;;
1579 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1580 ac_prev=bindir ;;
1581 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1582 bindir=$ac_optarg ;;
1584 -build | --build | --buil | --bui | --bu)
1585 ac_prev=build_alias ;;
1586 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1587 build_alias=$ac_optarg ;;
1589 -cache-file | --cache-file | --cache-fil | --cache-fi \
1590 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1591 ac_prev=cache_file ;;
1592 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1593 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1594 cache_file=$ac_optarg ;;
1596 --config-cache | -C)
1597 cache_file=config.cache ;;
1599 -datadir | --datadir | --datadi | --datad)
1600 ac_prev=datadir ;;
1601 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1602 datadir=$ac_optarg ;;
1604 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1605 | --dataroo | --dataro | --datar)
1606 ac_prev=datarootdir ;;
1607 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1608 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1609 datarootdir=$ac_optarg ;;
1611 -disable-* | --disable-*)
1612 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1613 # Reject names that are not valid shell variable names.
1614 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1615 as_fn_error $? "invalid feature name: $ac_useropt"
1616 ac_useropt_orig=$ac_useropt
1617 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1618 case $ac_user_opts in
1620 "enable_$ac_useropt"
1621 "*) ;;
1622 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1623 ac_unrecognized_sep=', ';;
1624 esac
1625 eval enable_$ac_useropt=no ;;
1627 -docdir | --docdir | --docdi | --doc | --do)
1628 ac_prev=docdir ;;
1629 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1630 docdir=$ac_optarg ;;
1632 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1633 ac_prev=dvidir ;;
1634 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1635 dvidir=$ac_optarg ;;
1637 -enable-* | --enable-*)
1638 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1639 # Reject names that are not valid shell variable names.
1640 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1641 as_fn_error $? "invalid feature name: $ac_useropt"
1642 ac_useropt_orig=$ac_useropt
1643 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1644 case $ac_user_opts in
1646 "enable_$ac_useropt"
1647 "*) ;;
1648 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1649 ac_unrecognized_sep=', ';;
1650 esac
1651 eval enable_$ac_useropt=\$ac_optarg ;;
1653 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1654 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1655 | --exec | --exe | --ex)
1656 ac_prev=exec_prefix ;;
1657 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1658 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1659 | --exec=* | --exe=* | --ex=*)
1660 exec_prefix=$ac_optarg ;;
1662 -gas | --gas | --ga | --g)
1663 # Obsolete; use --with-gas.
1664 with_gas=yes ;;
1666 -help | --help | --hel | --he | -h)
1667 ac_init_help=long ;;
1668 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1669 ac_init_help=recursive ;;
1670 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1671 ac_init_help=short ;;
1673 -host | --host | --hos | --ho)
1674 ac_prev=host_alias ;;
1675 -host=* | --host=* | --hos=* | --ho=*)
1676 host_alias=$ac_optarg ;;
1678 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1679 ac_prev=htmldir ;;
1680 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1681 | --ht=*)
1682 htmldir=$ac_optarg ;;
1684 -includedir | --includedir | --includedi | --included | --include \
1685 | --includ | --inclu | --incl | --inc)
1686 ac_prev=includedir ;;
1687 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1688 | --includ=* | --inclu=* | --incl=* | --inc=*)
1689 includedir=$ac_optarg ;;
1691 -infodir | --infodir | --infodi | --infod | --info | --inf)
1692 ac_prev=infodir ;;
1693 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1694 infodir=$ac_optarg ;;
1696 -libdir | --libdir | --libdi | --libd)
1697 ac_prev=libdir ;;
1698 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1699 libdir=$ac_optarg ;;
1701 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1702 | --libexe | --libex | --libe)
1703 ac_prev=libexecdir ;;
1704 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1705 | --libexe=* | --libex=* | --libe=*)
1706 libexecdir=$ac_optarg ;;
1708 -localedir | --localedir | --localedi | --localed | --locale)
1709 ac_prev=localedir ;;
1710 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1711 localedir=$ac_optarg ;;
1713 -localstatedir | --localstatedir | --localstatedi | --localstated \
1714 | --localstate | --localstat | --localsta | --localst | --locals)
1715 ac_prev=localstatedir ;;
1716 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1717 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1718 localstatedir=$ac_optarg ;;
1720 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1721 ac_prev=mandir ;;
1722 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1723 mandir=$ac_optarg ;;
1725 -nfp | --nfp | --nf)
1726 # Obsolete; use --without-fp.
1727 with_fp=no ;;
1729 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1730 | --no-cr | --no-c | -n)
1731 no_create=yes ;;
1733 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1734 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1735 no_recursion=yes ;;
1737 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1738 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1739 | --oldin | --oldi | --old | --ol | --o)
1740 ac_prev=oldincludedir ;;
1741 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1742 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1743 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1744 oldincludedir=$ac_optarg ;;
1746 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1747 ac_prev=prefix ;;
1748 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1749 prefix=$ac_optarg ;;
1751 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1752 | --program-pre | --program-pr | --program-p)
1753 ac_prev=program_prefix ;;
1754 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1755 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1756 program_prefix=$ac_optarg ;;
1758 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1759 | --program-suf | --program-su | --program-s)
1760 ac_prev=program_suffix ;;
1761 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1762 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1763 program_suffix=$ac_optarg ;;
1765 -program-transform-name | --program-transform-name \
1766 | --program-transform-nam | --program-transform-na \
1767 | --program-transform-n | --program-transform- \
1768 | --program-transform | --program-transfor \
1769 | --program-transfo | --program-transf \
1770 | --program-trans | --program-tran \
1771 | --progr-tra | --program-tr | --program-t)
1772 ac_prev=program_transform_name ;;
1773 -program-transform-name=* | --program-transform-name=* \
1774 | --program-transform-nam=* | --program-transform-na=* \
1775 | --program-transform-n=* | --program-transform-=* \
1776 | --program-transform=* | --program-transfor=* \
1777 | --program-transfo=* | --program-transf=* \
1778 | --program-trans=* | --program-tran=* \
1779 | --progr-tra=* | --program-tr=* | --program-t=*)
1780 program_transform_name=$ac_optarg ;;
1782 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1783 ac_prev=pdfdir ;;
1784 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1785 pdfdir=$ac_optarg ;;
1787 -psdir | --psdir | --psdi | --psd | --ps)
1788 ac_prev=psdir ;;
1789 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1790 psdir=$ac_optarg ;;
1792 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1793 | -silent | --silent | --silen | --sile | --sil)
1794 silent=yes ;;
1796 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1797 ac_prev=sbindir ;;
1798 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1799 | --sbi=* | --sb=*)
1800 sbindir=$ac_optarg ;;
1802 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1803 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1804 | --sharedst | --shareds | --shared | --share | --shar \
1805 | --sha | --sh)
1806 ac_prev=sharedstatedir ;;
1807 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1808 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1809 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1810 | --sha=* | --sh=*)
1811 sharedstatedir=$ac_optarg ;;
1813 -site | --site | --sit)
1814 ac_prev=site ;;
1815 -site=* | --site=* | --sit=*)
1816 site=$ac_optarg ;;
1818 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1819 ac_prev=srcdir ;;
1820 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1821 srcdir=$ac_optarg ;;
1823 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1824 | --syscon | --sysco | --sysc | --sys | --sy)
1825 ac_prev=sysconfdir ;;
1826 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1827 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1828 sysconfdir=$ac_optarg ;;
1830 -target | --target | --targe | --targ | --tar | --ta | --t)
1831 ac_prev=target_alias ;;
1832 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1833 target_alias=$ac_optarg ;;
1835 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1836 verbose=yes ;;
1838 -version | --version | --versio | --versi | --vers | -V)
1839 ac_init_version=: ;;
1841 -with-* | --with-*)
1842 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1843 # Reject names that are not valid shell variable names.
1844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1845 as_fn_error $? "invalid package name: $ac_useropt"
1846 ac_useropt_orig=$ac_useropt
1847 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1848 case $ac_user_opts in
1850 "with_$ac_useropt"
1851 "*) ;;
1852 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1853 ac_unrecognized_sep=', ';;
1854 esac
1855 eval with_$ac_useropt=\$ac_optarg ;;
1857 -without-* | --without-*)
1858 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1859 # Reject names that are not valid shell variable names.
1860 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1861 as_fn_error $? "invalid package name: $ac_useropt"
1862 ac_useropt_orig=$ac_useropt
1863 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1864 case $ac_user_opts in
1866 "with_$ac_useropt"
1867 "*) ;;
1868 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1869 ac_unrecognized_sep=', ';;
1870 esac
1871 eval with_$ac_useropt=no ;;
1873 --x)
1874 # Obsolete; use --with-x.
1875 with_x=yes ;;
1877 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1878 | --x-incl | --x-inc | --x-in | --x-i)
1879 ac_prev=x_includes ;;
1880 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1881 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1882 x_includes=$ac_optarg ;;
1884 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1885 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1886 ac_prev=x_libraries ;;
1887 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1888 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1889 x_libraries=$ac_optarg ;;
1891 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1892 Try \`$0 --help' for more information"
1895 *=*)
1896 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1897 # Reject names that are not valid shell variable names.
1898 case $ac_envvar in #(
1899 '' | [0-9]* | *[!_$as_cr_alnum]* )
1900 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1901 esac
1902 eval $ac_envvar=\$ac_optarg
1903 export $ac_envvar ;;
1906 # FIXME: should be removed in autoconf 3.0.
1907 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1908 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1909 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1910 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1913 esac
1914 done
1916 if test -n "$ac_prev"; then
1917 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1918 as_fn_error $? "missing argument to $ac_option"
1921 if test -n "$ac_unrecognized_opts"; then
1922 case $enable_option_checking in
1923 no) ;;
1924 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1925 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1926 esac
1929 # Check all directory arguments for consistency.
1930 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1931 datadir sysconfdir sharedstatedir localstatedir includedir \
1932 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1933 libdir localedir mandir
1935 eval ac_val=\$$ac_var
1936 # Remove trailing slashes.
1937 case $ac_val in
1938 */ )
1939 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1940 eval $ac_var=\$ac_val;;
1941 esac
1942 # Be sure to have absolute directory names.
1943 case $ac_val in
1944 [\\/$]* | ?:[\\/]* ) continue;;
1945 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1946 esac
1947 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1948 done
1950 # There might be people who depend on the old broken behavior: `$host'
1951 # used to hold the argument of --host etc.
1952 # FIXME: To remove some day.
1953 build=$build_alias
1954 host=$host_alias
1955 target=$target_alias
1957 # FIXME: To remove some day.
1958 if test "x$host_alias" != x; then
1959 if test "x$build_alias" = x; then
1960 cross_compiling=maybe
1961 elif test "x$build_alias" != "x$host_alias"; then
1962 cross_compiling=yes
1966 ac_tool_prefix=
1967 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1969 test "$silent" = yes && exec 6>/dev/null
1972 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1973 ac_ls_di=`ls -di .` &&
1974 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1975 as_fn_error $? "working directory cannot be determined"
1976 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1977 as_fn_error $? "pwd does not report name of working directory"
1980 # Find the source files, if location was not specified.
1981 if test -z "$srcdir"; then
1982 ac_srcdir_defaulted=yes
1983 # Try the directory containing this script, then the parent directory.
1984 ac_confdir=`$as_dirname -- "$as_myself" ||
1985 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1986 X"$as_myself" : 'X\(//\)[^/]' \| \
1987 X"$as_myself" : 'X\(//\)$' \| \
1988 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1989 $as_echo X"$as_myself" |
1990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1991 s//\1/
1994 /^X\(\/\/\)[^/].*/{
1995 s//\1/
1998 /^X\(\/\/\)$/{
1999 s//\1/
2002 /^X\(\/\).*/{
2003 s//\1/
2006 s/.*/./; q'`
2007 srcdir=$ac_confdir
2008 if test ! -r "$srcdir/$ac_unique_file"; then
2009 srcdir=..
2011 else
2012 ac_srcdir_defaulted=no
2014 if test ! -r "$srcdir/$ac_unique_file"; then
2015 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2016 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2018 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2019 ac_abs_confdir=`(
2020 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2021 pwd)`
2022 # When building in place, set srcdir=.
2023 if test "$ac_abs_confdir" = "$ac_pwd"; then
2024 srcdir=.
2026 # Remove unnecessary trailing slashes from srcdir.
2027 # Double slashes in file names in object file debugging info
2028 # mess up M-x gdb in Emacs.
2029 case $srcdir in
2030 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2031 esac
2032 for ac_var in $ac_precious_vars; do
2033 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2034 eval ac_env_${ac_var}_value=\$${ac_var}
2035 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2036 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2037 done
2040 # Report the --help message.
2042 if test "$ac_init_help" = "long"; then
2043 # Omit some internal or obsolete options to make the list less imposing.
2044 # This message is too long to be a string in the A/UX 3.1 sh.
2045 cat <<_ACEOF
2046 \`configure' configures Wine 1.7.48 to adapt to many kinds of systems.
2048 Usage: $0 [OPTION]... [VAR=VALUE]...
2050 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2051 VAR=VALUE. See below for descriptions of some of the useful variables.
2053 Defaults for the options are specified in brackets.
2055 Configuration:
2056 -h, --help display this help and exit
2057 --help=short display options specific to this package
2058 --help=recursive display the short help of all the included packages
2059 -V, --version display version information and exit
2060 -q, --quiet, --silent do not print \`checking ...' messages
2061 --cache-file=FILE cache test results in FILE [disabled]
2062 -C, --config-cache alias for \`--cache-file=config.cache'
2063 -n, --no-create do not create output files
2064 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2066 Installation directories:
2067 --prefix=PREFIX install architecture-independent files in PREFIX
2068 [$ac_default_prefix]
2069 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2070 [PREFIX]
2072 By default, \`make install' will install all the files in
2073 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2074 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2075 for instance \`--prefix=\$HOME'.
2077 For better control, use the options below.
2079 Fine tuning of the installation directories:
2080 --bindir=DIR user executables [EPREFIX/bin]
2081 --sbindir=DIR system admin executables [EPREFIX/sbin]
2082 --libexecdir=DIR program executables [EPREFIX/libexec]
2083 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2084 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2085 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2086 --libdir=DIR object code libraries [EPREFIX/lib]
2087 --includedir=DIR C header files [PREFIX/include]
2088 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2089 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2090 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2091 --infodir=DIR info documentation [DATAROOTDIR/info]
2092 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2093 --mandir=DIR man documentation [DATAROOTDIR/man]
2094 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2095 --htmldir=DIR html documentation [DOCDIR]
2096 --dvidir=DIR dvi documentation [DOCDIR]
2097 --pdfdir=DIR pdf documentation [DOCDIR]
2098 --psdir=DIR ps documentation [DOCDIR]
2099 _ACEOF
2101 cat <<\_ACEOF
2103 X features:
2104 --x-includes=DIR X include files are in DIR
2105 --x-libraries=DIR X library files are in DIR
2107 System types:
2108 --build=BUILD configure for building on BUILD [guessed]
2109 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2110 _ACEOF
2113 if test -n "$ac_init_help"; then
2114 case $ac_init_help in
2115 short | recursive ) echo "Configuration of Wine 1.7.48:";;
2116 esac
2117 cat <<\_ACEOF
2119 Optional Features:
2120 --disable-option-checking ignore unrecognized --enable/--with options
2121 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2122 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2123 --disable-win16 do not include Win16 support
2124 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2125 binaries)
2126 --disable-tests do not build the regression tests
2127 --enable-maintainer-mode
2128 enable maintainer-specific build rules
2129 --disable-largefile omit support for large files
2131 Optional Packages:
2132 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2133 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2134 --without-alsa do not use the Alsa sound support
2135 --without-capi do not use CAPI (ISDN support)
2136 --without-cms do not use CMS (color management support)
2137 --without-coreaudio do not use the CoreAudio sound support
2138 --without-cups do not use CUPS
2139 --without-curses do not use (n)curses
2140 --without-dbus do not use DBus (dynamic device support)
2141 --without-fontconfig do not use fontconfig
2142 --without-freetype do not use the FreeType library
2143 --without-gettext do not use gettext
2144 --with-gettextpo use the GetTextPO library to rebuild po files
2145 --without-gphoto do not use gphoto (Digital Camera support)
2146 --without-glu do not use the GLU library
2147 --without-gnutls do not use GnuTLS (schannel support)
2148 --without-gsm do not use libgsm (GSM 06.10 codec support)
2149 --without-gstreamer do not use GStreamer (codecs support)
2150 --without-hal do not use HAL (dynamic device support)
2151 --without-jpeg do not use JPEG
2152 --without-ldap do not use LDAP
2153 --without-mpg123 do not use the mpg123 library
2154 --without-netapi do not use the Samba NetAPI library
2155 --without-openal do not use OpenAL
2156 --without-opencl do not use OpenCL
2157 --without-opengl do not use OpenGL
2158 --without-osmesa do not use the OSMesa library
2159 --without-oss do not use the OSS sound support
2160 --without-pcap do not use the Packet Capture library
2161 --without-png do not use PNG
2162 --without-pthread do not use the pthread library
2163 --without-sane do not use SANE (scanner support)
2164 --without-tiff do not use TIFF
2165 --without-v4l do not use v4l1 (v4l support)
2166 --without-xcomposite do not use the Xcomposite extension
2167 --without-xcursor do not use the Xcursor extension
2168 --without-xinerama do not use Xinerama (multi-monitor support)
2169 --without-xinput do not use the Xinput extension
2170 --without-xinput2 do not use the Xinput 2 extension
2171 --without-xml do not use XML
2172 --without-xrandr do not use Xrandr (resolution changes)
2173 --without-xrender do not use the Xrender extension
2174 --without-xshape do not use the Xshape extension
2175 --without-xshm do not use XShm (shared memory extension)
2176 --without-xslt do not use XSLT
2177 --without-xxf86vm do not use XFree video mode extension
2178 --without-zlib do not use Zlib (data compression)
2179 --with-wine-tools=DIR use Wine tools from directory DIR
2180 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2181 --with-x use the X Window System
2183 Some influential environment variables:
2184 CC C compiler command
2185 CFLAGS C compiler flags
2186 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2187 nonstandard directory <lib dir>
2188 LIBS libraries to pass to the linker, e.g. -l<library>
2189 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2190 you have headers in a nonstandard directory <include dir>
2191 CXX C++ compiler command
2192 CXXFLAGS C++ compiler flags
2193 CPP C preprocessor
2194 XMKMF Path to xmkmf, Makefile generator for X Window System
2195 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2196 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2197 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2198 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2199 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2200 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2201 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2202 HAL_LIBS Linker flags for hal, overriding pkg-config
2203 GNUTLS_CFLAGS
2204 C compiler flags for gnutls, overriding pkg-config
2205 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2206 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2207 SANE_LIBS Linker flags for libsane, overriding pkg-config
2208 GPHOTO2_CFLAGS
2209 C compiler flags for libgphoto2, overriding pkg-config
2210 GPHOTO2_LIBS
2211 Linker flags for libgphoto2, overriding pkg-config
2212 GPHOTO2_PORT_CFLAGS
2213 C compiler flags for libgphoto2_port, overriding pkg-config
2214 GPHOTO2_PORT_LIBS
2215 Linker flags for libgphoto2_port, overriding pkg-config
2216 LCMS2_CFLAGS
2217 C compiler flags for lcms2, overriding pkg-config
2218 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2219 FREETYPE_CFLAGS
2220 C compiler flags for freetype2, overriding pkg-config
2221 FREETYPE_LIBS
2222 Linker flags for freetype2, overriding pkg-config
2223 GSTREAMER_CFLAGS
2224 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2225 GSTREAMER_LIBS
2226 Linker flags for gstreamer-app-0.10, overriding pkg-config
2227 CAPI20_CFLAGS
2228 C compiler flags for capi20, overriding pkg-config
2229 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2230 FONTCONFIG_CFLAGS
2231 C compiler flags for fontconfig, overriding pkg-config
2232 FONTCONFIG_LIBS
2233 Linker flags for fontconfig, overriding pkg-config
2234 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2235 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2236 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2237 PNG_LIBS Linker flags for libpng, overriding pkg-config
2238 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2239 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2240 MPG123_CFLAGS
2241 C compiler flags for libmpg123, overriding pkg-config
2242 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2244 Use these variables to override the choices made by `configure' or to help
2245 it to find libraries and programs with nonstandard names/locations.
2247 Report bugs to <wine-devel@winehq.org>.
2248 Wine home page: <http://www.winehq.org>.
2249 _ACEOF
2250 ac_status=$?
2253 if test "$ac_init_help" = "recursive"; then
2254 # If there are subdirs, report their specific --help.
2255 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2256 test -d "$ac_dir" ||
2257 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2258 continue
2259 ac_builddir=.
2261 case "$ac_dir" in
2262 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2264 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2265 # A ".." for each directory in $ac_dir_suffix.
2266 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2267 case $ac_top_builddir_sub in
2268 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2269 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2270 esac ;;
2271 esac
2272 ac_abs_top_builddir=$ac_pwd
2273 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2274 # for backward compatibility:
2275 ac_top_builddir=$ac_top_build_prefix
2277 case $srcdir in
2278 .) # We are building in place.
2279 ac_srcdir=.
2280 ac_top_srcdir=$ac_top_builddir_sub
2281 ac_abs_top_srcdir=$ac_pwd ;;
2282 [\\/]* | ?:[\\/]* ) # Absolute name.
2283 ac_srcdir=$srcdir$ac_dir_suffix;
2284 ac_top_srcdir=$srcdir
2285 ac_abs_top_srcdir=$srcdir ;;
2286 *) # Relative name.
2287 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2288 ac_top_srcdir=$ac_top_build_prefix$srcdir
2289 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2290 esac
2291 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2293 cd "$ac_dir" || { ac_status=$?; continue; }
2294 # Check for guested configure.
2295 if test -f "$ac_srcdir/configure.gnu"; then
2296 echo &&
2297 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2298 elif test -f "$ac_srcdir/configure"; then
2299 echo &&
2300 $SHELL "$ac_srcdir/configure" --help=recursive
2301 else
2302 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2303 fi || ac_status=$?
2304 cd "$ac_pwd" || { ac_status=$?; break; }
2305 done
2308 test -n "$ac_init_help" && exit $ac_status
2309 if $ac_init_version; then
2310 cat <<\_ACEOF
2311 Wine configure 1.7.48
2312 generated by GNU Autoconf 2.69
2314 Copyright (C) 2012 Free Software Foundation, Inc.
2315 This configure script is free software; the Free Software Foundation
2316 gives unlimited permission to copy, distribute and modify it.
2317 _ACEOF
2318 exit
2321 ## ------------------------ ##
2322 ## Autoconf initialization. ##
2323 ## ------------------------ ##
2325 # ac_fn_c_try_compile LINENO
2326 # --------------------------
2327 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2328 ac_fn_c_try_compile ()
2330 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2331 rm -f conftest.$ac_objext
2332 if { { ac_try="$ac_compile"
2333 case "(($ac_try" in
2334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2335 *) ac_try_echo=$ac_try;;
2336 esac
2337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2338 $as_echo "$ac_try_echo"; } >&5
2339 (eval "$ac_compile") 2>conftest.err
2340 ac_status=$?
2341 if test -s conftest.err; then
2342 grep -v '^ *+' conftest.err >conftest.er1
2343 cat conftest.er1 >&5
2344 mv -f conftest.er1 conftest.err
2346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2347 test $ac_status = 0; } && {
2348 test -z "$ac_c_werror_flag" ||
2349 test ! -s conftest.err
2350 } && test -s conftest.$ac_objext; then :
2351 ac_retval=0
2352 else
2353 $as_echo "$as_me: failed program was:" >&5
2354 sed 's/^/| /' conftest.$ac_ext >&5
2356 ac_retval=1
2358 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2359 as_fn_set_status $ac_retval
2361 } # ac_fn_c_try_compile
2363 # ac_fn_cxx_try_compile LINENO
2364 # ----------------------------
2365 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2366 ac_fn_cxx_try_compile ()
2368 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2369 rm -f conftest.$ac_objext
2370 if { { ac_try="$ac_compile"
2371 case "(($ac_try" in
2372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2373 *) ac_try_echo=$ac_try;;
2374 esac
2375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2376 $as_echo "$ac_try_echo"; } >&5
2377 (eval "$ac_compile") 2>conftest.err
2378 ac_status=$?
2379 if test -s conftest.err; then
2380 grep -v '^ *+' conftest.err >conftest.er1
2381 cat conftest.er1 >&5
2382 mv -f conftest.er1 conftest.err
2384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2385 test $ac_status = 0; } && {
2386 test -z "$ac_cxx_werror_flag" ||
2387 test ! -s conftest.err
2388 } && test -s conftest.$ac_objext; then :
2389 ac_retval=0
2390 else
2391 $as_echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.$ac_ext >&5
2394 ac_retval=1
2396 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2397 as_fn_set_status $ac_retval
2399 } # ac_fn_cxx_try_compile
2401 # ac_fn_c_try_link LINENO
2402 # -----------------------
2403 # Try to link conftest.$ac_ext, and return whether this succeeded.
2404 ac_fn_c_try_link ()
2406 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2407 rm -f conftest.$ac_objext conftest$ac_exeext
2408 if { { ac_try="$ac_link"
2409 case "(($ac_try" in
2410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2411 *) ac_try_echo=$ac_try;;
2412 esac
2413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2414 $as_echo "$ac_try_echo"; } >&5
2415 (eval "$ac_link") 2>conftest.err
2416 ac_status=$?
2417 if test -s conftest.err; then
2418 grep -v '^ *+' conftest.err >conftest.er1
2419 cat conftest.er1 >&5
2420 mv -f conftest.er1 conftest.err
2422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2423 test $ac_status = 0; } && {
2424 test -z "$ac_c_werror_flag" ||
2425 test ! -s conftest.err
2426 } && test -s conftest$ac_exeext && {
2427 test "$cross_compiling" = yes ||
2428 test -x conftest$ac_exeext
2429 }; then :
2430 ac_retval=0
2431 else
2432 $as_echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2435 ac_retval=1
2437 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2438 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2439 # interfere with the next link command; also delete a directory that is
2440 # left behind by Apple's compiler. We do this before executing the actions.
2441 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2442 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2443 as_fn_set_status $ac_retval
2445 } # ac_fn_c_try_link
2447 # ac_fn_c_try_cpp LINENO
2448 # ----------------------
2449 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2450 ac_fn_c_try_cpp ()
2452 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2453 if { { ac_try="$ac_cpp conftest.$ac_ext"
2454 case "(($ac_try" in
2455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2456 *) ac_try_echo=$ac_try;;
2457 esac
2458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2459 $as_echo "$ac_try_echo"; } >&5
2460 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2461 ac_status=$?
2462 if test -s conftest.err; then
2463 grep -v '^ *+' conftest.err >conftest.er1
2464 cat conftest.er1 >&5
2465 mv -f conftest.er1 conftest.err
2467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2468 test $ac_status = 0; } > conftest.i && {
2469 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2470 test ! -s conftest.err
2471 }; then :
2472 ac_retval=0
2473 else
2474 $as_echo "$as_me: failed program was:" >&5
2475 sed 's/^/| /' conftest.$ac_ext >&5
2477 ac_retval=1
2479 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2480 as_fn_set_status $ac_retval
2482 } # ac_fn_c_try_cpp
2484 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2485 # -------------------------------------------------------
2486 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2487 # the include files in INCLUDES and setting the cache variable VAR
2488 # accordingly.
2489 ac_fn_c_check_header_mongrel ()
2491 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2492 if eval \${$3+:} false; then :
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2494 $as_echo_n "checking for $2... " >&6; }
2495 if eval \${$3+:} false; then :
2496 $as_echo_n "(cached) " >&6
2498 eval ac_res=\$$3
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2500 $as_echo "$ac_res" >&6; }
2501 else
2502 # Is the header compilable?
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2504 $as_echo_n "checking $2 usability... " >&6; }
2505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2506 /* end confdefs.h. */
2508 #include <$2>
2509 _ACEOF
2510 if ac_fn_c_try_compile "$LINENO"; then :
2511 ac_header_compiler=yes
2512 else
2513 ac_header_compiler=no
2515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2517 $as_echo "$ac_header_compiler" >&6; }
2519 # Is the header present?
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2521 $as_echo_n "checking $2 presence... " >&6; }
2522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2523 /* end confdefs.h. */
2524 #include <$2>
2525 _ACEOF
2526 if ac_fn_c_try_cpp "$LINENO"; then :
2527 ac_header_preproc=yes
2528 else
2529 ac_header_preproc=no
2531 rm -f conftest.err conftest.i conftest.$ac_ext
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2533 $as_echo "$ac_header_preproc" >&6; }
2535 # So? What about this header?
2536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2537 yes:no: )
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2539 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2541 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2543 no:yes:* )
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2545 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2547 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2549 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2551 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2553 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2554 ( $as_echo "## ------------------------------------ ##
2555 ## Report this to wine-devel@winehq.org ##
2556 ## ------------------------------------ ##"
2557 ) | sed "s/^/$as_me: WARNING: /" >&2
2559 esac
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2561 $as_echo_n "checking for $2... " >&6; }
2562 if eval \${$3+:} false; then :
2563 $as_echo_n "(cached) " >&6
2564 else
2565 eval "$3=\$ac_header_compiler"
2567 eval ac_res=\$$3
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2569 $as_echo "$ac_res" >&6; }
2571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2573 } # ac_fn_c_check_header_mongrel
2575 # ac_fn_c_try_run LINENO
2576 # ----------------------
2577 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2578 # that executables *can* be run.
2579 ac_fn_c_try_run ()
2581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2582 if { { ac_try="$ac_link"
2583 case "(($ac_try" in
2584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2585 *) ac_try_echo=$ac_try;;
2586 esac
2587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2588 $as_echo "$ac_try_echo"; } >&5
2589 (eval "$ac_link") 2>&5
2590 ac_status=$?
2591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2592 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2593 { { case "(($ac_try" in
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2596 esac
2597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2598 $as_echo "$ac_try_echo"; } >&5
2599 (eval "$ac_try") 2>&5
2600 ac_status=$?
2601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2602 test $ac_status = 0; }; }; then :
2603 ac_retval=0
2604 else
2605 $as_echo "$as_me: program exited with status $ac_status" >&5
2606 $as_echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.$ac_ext >&5
2609 ac_retval=$ac_status
2611 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2613 as_fn_set_status $ac_retval
2615 } # ac_fn_c_try_run
2617 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2618 # -------------------------------------------------------
2619 # Tests whether HEADER exists and can be compiled using the include files in
2620 # INCLUDES, setting the cache variable VAR accordingly.
2621 ac_fn_c_check_header_compile ()
2623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2625 $as_echo_n "checking for $2... " >&6; }
2626 if eval \${$3+:} false; then :
2627 $as_echo_n "(cached) " >&6
2628 else
2629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2630 /* end confdefs.h. */
2632 #include <$2>
2633 _ACEOF
2634 if ac_fn_c_try_compile "$LINENO"; then :
2635 eval "$3=yes"
2636 else
2637 eval "$3=no"
2639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2641 eval ac_res=\$$3
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2643 $as_echo "$ac_res" >&6; }
2644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2646 } # ac_fn_c_check_header_compile
2648 # ac_fn_c_check_func LINENO FUNC VAR
2649 # ----------------------------------
2650 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2651 ac_fn_c_check_func ()
2653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2655 $as_echo_n "checking for $2... " >&6; }
2656 if eval \${$3+:} false; then :
2657 $as_echo_n "(cached) " >&6
2658 else
2659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2660 /* end confdefs.h. */
2661 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2663 #define $2 innocuous_$2
2665 /* System header to define __stub macros and hopefully few prototypes,
2666 which can conflict with char $2 (); below.
2667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2668 <limits.h> exists even on freestanding compilers. */
2670 #ifdef __STDC__
2671 # include <limits.h>
2672 #else
2673 # include <assert.h>
2674 #endif
2676 #undef $2
2678 /* Override any GCC internal prototype to avoid an error.
2679 Use char because int might match the return type of a GCC
2680 builtin and then its argument prototype would still apply. */
2681 #ifdef __cplusplus
2682 extern "C"
2683 #endif
2684 char $2 ();
2685 /* The GNU C library defines this for functions which it implements
2686 to always fail with ENOSYS. Some functions are actually named
2687 something starting with __ and the normal name is an alias. */
2688 #if defined __stub_$2 || defined __stub___$2
2689 choke me
2690 #endif
2693 main ()
2695 return $2 ();
2697 return 0;
2699 _ACEOF
2700 if ac_fn_c_try_link "$LINENO"; then :
2701 eval "$3=yes"
2702 else
2703 eval "$3=no"
2705 rm -f core conftest.err conftest.$ac_objext \
2706 conftest$ac_exeext conftest.$ac_ext
2708 eval ac_res=\$$3
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2710 $as_echo "$ac_res" >&6; }
2711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 } # ac_fn_c_check_func
2715 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2716 # ----------------------------------------------------
2717 # Tries to find if the field MEMBER exists in type AGGR, after including
2718 # INCLUDES, setting cache variable VAR accordingly.
2719 ac_fn_c_check_member ()
2721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2723 $as_echo_n "checking for $2.$3... " >&6; }
2724 if eval \${$4+:} false; then :
2725 $as_echo_n "(cached) " >&6
2726 else
2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2731 main ()
2733 static $2 ac_aggr;
2734 if (ac_aggr.$3)
2735 return 0;
2737 return 0;
2739 _ACEOF
2740 if ac_fn_c_try_compile "$LINENO"; then :
2741 eval "$4=yes"
2742 else
2743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2744 /* end confdefs.h. */
2747 main ()
2749 static $2 ac_aggr;
2750 if (sizeof ac_aggr.$3)
2751 return 0;
2753 return 0;
2755 _ACEOF
2756 if ac_fn_c_try_compile "$LINENO"; then :
2757 eval "$4=yes"
2758 else
2759 eval "$4=no"
2761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2765 eval ac_res=\$$4
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2767 $as_echo "$ac_res" >&6; }
2768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2770 } # ac_fn_c_check_member
2772 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2773 # -------------------------------------------
2774 # Tests whether TYPE exists after having included INCLUDES, setting cache
2775 # variable VAR accordingly.
2776 ac_fn_c_check_type ()
2778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2780 $as_echo_n "checking for $2... " >&6; }
2781 if eval \${$3+:} false; then :
2782 $as_echo_n "(cached) " >&6
2783 else
2784 eval "$3=no"
2785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2786 /* end confdefs.h. */
2789 main ()
2791 if (sizeof ($2))
2792 return 0;
2794 return 0;
2796 _ACEOF
2797 if ac_fn_c_try_compile "$LINENO"; then :
2798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2799 /* end confdefs.h. */
2802 main ()
2804 if (sizeof (($2)))
2805 return 0;
2807 return 0;
2809 _ACEOF
2810 if ac_fn_c_try_compile "$LINENO"; then :
2812 else
2813 eval "$3=yes"
2815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 eval ac_res=\$$3
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2821 $as_echo "$ac_res" >&6; }
2822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2824 } # ac_fn_c_check_type
2825 cat >config.log <<_ACEOF
2826 This file contains any messages produced by compilers while
2827 running configure, to aid debugging if configure makes a mistake.
2829 It was created by Wine $as_me 1.7.48, which was
2830 generated by GNU Autoconf 2.69. Invocation command line was
2832 $ $0 $@
2834 _ACEOF
2835 exec 5>>config.log
2837 cat <<_ASUNAME
2838 ## --------- ##
2839 ## Platform. ##
2840 ## --------- ##
2842 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2843 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2844 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2845 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2846 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2848 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2849 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2851 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2852 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2853 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2854 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2855 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2856 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2857 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2859 _ASUNAME
2861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2862 for as_dir in $PATH
2864 IFS=$as_save_IFS
2865 test -z "$as_dir" && as_dir=.
2866 $as_echo "PATH: $as_dir"
2867 done
2868 IFS=$as_save_IFS
2870 } >&5
2872 cat >&5 <<_ACEOF
2875 ## ----------- ##
2876 ## Core tests. ##
2877 ## ----------- ##
2879 _ACEOF
2882 # Keep a trace of the command line.
2883 # Strip out --no-create and --no-recursion so they do not pile up.
2884 # Strip out --silent because we don't want to record it for future runs.
2885 # Also quote any args containing shell meta-characters.
2886 # Make two passes to allow for proper duplicate-argument suppression.
2887 ac_configure_args=
2888 ac_configure_args0=
2889 ac_configure_args1=
2890 ac_must_keep_next=false
2891 for ac_pass in 1 2
2893 for ac_arg
2895 case $ac_arg in
2896 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2897 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2898 | -silent | --silent | --silen | --sile | --sil)
2899 continue ;;
2900 *\'*)
2901 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2902 esac
2903 case $ac_pass in
2904 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2906 as_fn_append ac_configure_args1 " '$ac_arg'"
2907 if test $ac_must_keep_next = true; then
2908 ac_must_keep_next=false # Got value, back to normal.
2909 else
2910 case $ac_arg in
2911 *=* | --config-cache | -C | -disable-* | --disable-* \
2912 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2913 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2914 | -with-* | --with-* | -without-* | --without-* | --x)
2915 case "$ac_configure_args0 " in
2916 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2917 esac
2919 -* ) ac_must_keep_next=true ;;
2920 esac
2922 as_fn_append ac_configure_args " '$ac_arg'"
2924 esac
2925 done
2926 done
2927 { ac_configure_args0=; unset ac_configure_args0;}
2928 { ac_configure_args1=; unset ac_configure_args1;}
2930 # When interrupted or exit'd, cleanup temporary files, and complete
2931 # config.log. We remove comments because anyway the quotes in there
2932 # would cause problems or look ugly.
2933 # WARNING: Use '\'' to represent an apostrophe within the trap.
2934 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2935 trap 'exit_status=$?
2936 # Save into config.log some information that might help in debugging.
2938 echo
2940 $as_echo "## ---------------- ##
2941 ## Cache variables. ##
2942 ## ---------------- ##"
2943 echo
2944 # The following way of writing the cache mishandles newlines in values,
2946 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2947 eval ac_val=\$$ac_var
2948 case $ac_val in #(
2949 *${as_nl}*)
2950 case $ac_var in #(
2951 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2952 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2953 esac
2954 case $ac_var in #(
2955 _ | IFS | as_nl) ;; #(
2956 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2957 *) { eval $ac_var=; unset $ac_var;} ;;
2958 esac ;;
2959 esac
2960 done
2961 (set) 2>&1 |
2962 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2963 *${as_nl}ac_space=\ *)
2964 sed -n \
2965 "s/'\''/'\''\\\\'\'''\''/g;
2966 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2967 ;; #(
2969 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2971 esac |
2972 sort
2974 echo
2976 $as_echo "## ----------------- ##
2977 ## Output variables. ##
2978 ## ----------------- ##"
2979 echo
2980 for ac_var in $ac_subst_vars
2982 eval ac_val=\$$ac_var
2983 case $ac_val in
2984 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2985 esac
2986 $as_echo "$ac_var='\''$ac_val'\''"
2987 done | sort
2988 echo
2990 if test -n "$ac_subst_files"; then
2991 $as_echo "## ------------------- ##
2992 ## File substitutions. ##
2993 ## ------------------- ##"
2994 echo
2995 for ac_var in $ac_subst_files
2997 eval ac_val=\$$ac_var
2998 case $ac_val in
2999 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3000 esac
3001 $as_echo "$ac_var='\''$ac_val'\''"
3002 done | sort
3003 echo
3006 if test -s confdefs.h; then
3007 $as_echo "## ----------- ##
3008 ## confdefs.h. ##
3009 ## ----------- ##"
3010 echo
3011 cat confdefs.h
3012 echo
3014 test "$ac_signal" != 0 &&
3015 $as_echo "$as_me: caught signal $ac_signal"
3016 $as_echo "$as_me: exit $exit_status"
3017 } >&5
3018 rm -f core *.core core.conftest.* &&
3019 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3020 exit $exit_status
3022 for ac_signal in 1 2 13 15; do
3023 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3024 done
3025 ac_signal=0
3027 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3028 rm -f -r conftest* confdefs.h
3030 $as_echo "/* confdefs.h */" > confdefs.h
3032 # Predefined preprocessor variables.
3034 cat >>confdefs.h <<_ACEOF
3035 #define PACKAGE_NAME "$PACKAGE_NAME"
3036 _ACEOF
3038 cat >>confdefs.h <<_ACEOF
3039 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3040 _ACEOF
3042 cat >>confdefs.h <<_ACEOF
3043 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3044 _ACEOF
3046 cat >>confdefs.h <<_ACEOF
3047 #define PACKAGE_STRING "$PACKAGE_STRING"
3048 _ACEOF
3050 cat >>confdefs.h <<_ACEOF
3051 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3052 _ACEOF
3054 cat >>confdefs.h <<_ACEOF
3055 #define PACKAGE_URL "$PACKAGE_URL"
3056 _ACEOF
3059 # Let the site file select an alternate cache file if it wants to.
3060 # Prefer an explicitly selected file to automatically selected ones.
3061 ac_site_file1=NONE
3062 ac_site_file2=NONE
3063 if test -n "$CONFIG_SITE"; then
3064 # We do not want a PATH search for config.site.
3065 case $CONFIG_SITE in #((
3066 -*) ac_site_file1=./$CONFIG_SITE;;
3067 */*) ac_site_file1=$CONFIG_SITE;;
3068 *) ac_site_file1=./$CONFIG_SITE;;
3069 esac
3070 elif test "x$prefix" != xNONE; then
3071 ac_site_file1=$prefix/share/config.site
3072 ac_site_file2=$prefix/etc/config.site
3073 else
3074 ac_site_file1=$ac_default_prefix/share/config.site
3075 ac_site_file2=$ac_default_prefix/etc/config.site
3077 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3079 test "x$ac_site_file" = xNONE && continue
3080 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3082 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3083 sed 's/^/| /' "$ac_site_file" >&5
3084 . "$ac_site_file" \
3085 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087 as_fn_error $? "failed to load site script $ac_site_file
3088 See \`config.log' for more details" "$LINENO" 5; }
3090 done
3092 if test -r "$cache_file"; then
3093 # Some versions of bash will fail to source /dev/null (special files
3094 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3095 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3097 $as_echo "$as_me: loading cache $cache_file" >&6;}
3098 case $cache_file in
3099 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3100 *) . "./$cache_file";;
3101 esac
3103 else
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3105 $as_echo "$as_me: creating cache $cache_file" >&6;}
3106 >$cache_file
3109 # Check that the precious variables saved in the cache have kept the same
3110 # value.
3111 ac_cache_corrupted=false
3112 for ac_var in $ac_precious_vars; do
3113 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3114 eval ac_new_set=\$ac_env_${ac_var}_set
3115 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3116 eval ac_new_val=\$ac_env_${ac_var}_value
3117 case $ac_old_set,$ac_new_set in
3118 set,)
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3120 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3121 ac_cache_corrupted=: ;;
3122 ,set)
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3124 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3125 ac_cache_corrupted=: ;;
3126 ,);;
3128 if test "x$ac_old_val" != "x$ac_new_val"; then
3129 # differences in whitespace do not lead to failure.
3130 ac_old_val_w=`echo x $ac_old_val`
3131 ac_new_val_w=`echo x $ac_new_val`
3132 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3134 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3135 ac_cache_corrupted=:
3136 else
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3138 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3139 eval $ac_var=\$ac_old_val
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3142 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3144 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3145 fi;;
3146 esac
3147 # Pass precious variables to config.status.
3148 if test "$ac_new_set" = set; then
3149 case $ac_new_val in
3150 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3151 *) ac_arg=$ac_var=$ac_new_val ;;
3152 esac
3153 case " $ac_configure_args " in
3154 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3155 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3156 esac
3158 done
3159 if $ac_cache_corrupted; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3163 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3164 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3166 ## -------------------- ##
3167 ## Main body of script. ##
3168 ## -------------------- ##
3170 ac_ext=c
3171 ac_cpp='$CPP $CPPFLAGS'
3172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3178 ac_config_headers="$ac_config_headers include/config.h"
3180 ac_aux_dir=
3181 for ac_dir in tools "$srcdir"/tools; do
3182 if test -f "$ac_dir/install-sh"; then
3183 ac_aux_dir=$ac_dir
3184 ac_install_sh="$ac_aux_dir/install-sh -c"
3185 break
3186 elif test -f "$ac_dir/install.sh"; then
3187 ac_aux_dir=$ac_dir
3188 ac_install_sh="$ac_aux_dir/install.sh -c"
3189 break
3190 elif test -f "$ac_dir/shtool"; then
3191 ac_aux_dir=$ac_dir
3192 ac_install_sh="$ac_aux_dir/shtool install -c"
3193 break
3195 done
3196 if test -z "$ac_aux_dir"; then
3197 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3200 # These three variables are undocumented and unsupported,
3201 # and are intended to be withdrawn in a future Autoconf release.
3202 # They can cause serious problems if a builder's source tree is in a directory
3203 # whose full name contains unusual characters.
3204 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3205 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3206 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3210 libwine_version="1.0"
3214 # Check whether --enable-win16 was given.
3215 if test "${enable_win16+set}" = set; then :
3216 enableval=$enable_win16;
3219 # Check whether --enable-win64 was given.
3220 if test "${enable_win64+set}" = set; then :
3221 enableval=$enable_win64;
3224 # Check whether --enable-tests was given.
3225 if test "${enable_tests+set}" = set; then :
3226 enableval=$enable_tests;
3229 # Check whether --enable-maintainer-mode was given.
3230 if test "${enable_maintainer_mode+set}" = set; then :
3231 enableval=$enable_maintainer_mode;
3236 # Check whether --with-alsa was given.
3237 if test "${with_alsa+set}" = set; then :
3238 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3242 # Check whether --with-capi was given.
3243 if test "${with_capi+set}" = set; then :
3244 withval=$with_capi;
3248 # Check whether --with-cms was given.
3249 if test "${with_cms+set}" = set; then :
3250 withval=$with_cms;
3254 # Check whether --with-coreaudio was given.
3255 if test "${with_coreaudio+set}" = set; then :
3256 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3260 # Check whether --with-cups was given.
3261 if test "${with_cups+set}" = set; then :
3262 withval=$with_cups;
3266 # Check whether --with-curses was given.
3267 if test "${with_curses+set}" = set; then :
3268 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3272 # Check whether --with-dbus was given.
3273 if test "${with_dbus+set}" = set; then :
3274 withval=$with_dbus;
3278 # Check whether --with-fontconfig was given.
3279 if test "${with_fontconfig+set}" = set; then :
3280 withval=$with_fontconfig;
3284 # Check whether --with-freetype was given.
3285 if test "${with_freetype+set}" = set; then :
3286 withval=$with_freetype;
3290 # Check whether --with-gettext was given.
3291 if test "${with_gettext+set}" = set; then :
3292 withval=$with_gettext;
3296 # Check whether --with-gettextpo was given.
3297 if test "${with_gettextpo+set}" = set; then :
3298 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3302 # Check whether --with-gphoto was given.
3303 if test "${with_gphoto+set}" = set; then :
3304 withval=$with_gphoto;
3308 # Check whether --with-glu was given.
3309 if test "${with_glu+set}" = set; then :
3310 withval=$with_glu;
3314 # Check whether --with-gnutls was given.
3315 if test "${with_gnutls+set}" = set; then :
3316 withval=$with_gnutls;
3320 # Check whether --with-gsm was given.
3321 if test "${with_gsm+set}" = set; then :
3322 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3326 # Check whether --with-gstreamer was given.
3327 if test "${with_gstreamer+set}" = set; then :
3328 withval=$with_gstreamer;
3332 # Check whether --with-hal was given.
3333 if test "${with_hal+set}" = set; then :
3334 withval=$with_hal;
3338 # Check whether --with-jpeg was given.
3339 if test "${with_jpeg+set}" = set; then :
3340 withval=$with_jpeg;
3344 # Check whether --with-ldap was given.
3345 if test "${with_ldap+set}" = set; then :
3346 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3350 # Check whether --with-mpg123 was given.
3351 if test "${with_mpg123+set}" = set; then :
3352 withval=$with_mpg123;
3356 # Check whether --with-netapi was given.
3357 if test "${with_netapi+set}" = set; then :
3358 withval=$with_netapi;
3362 # Check whether --with-openal was given.
3363 if test "${with_openal+set}" = set; then :
3364 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3368 # Check whether --with-opencl was given.
3369 if test "${with_opencl+set}" = set; then :
3370 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3374 # Check whether --with-opengl was given.
3375 if test "${with_opengl+set}" = set; then :
3376 withval=$with_opengl;
3380 # Check whether --with-osmesa was given.
3381 if test "${with_osmesa+set}" = set; then :
3382 withval=$with_osmesa;
3386 # Check whether --with-oss was given.
3387 if test "${with_oss+set}" = set; then :
3388 withval=$with_oss;
3392 # Check whether --with-pcap was given.
3393 if test "${with_pcap+set}" = set; then :
3394 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3398 # Check whether --with-png was given.
3399 if test "${with_png+set}" = set; then :
3400 withval=$with_png;
3404 # Check whether --with-pthread was given.
3405 if test "${with_pthread+set}" = set; then :
3406 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3410 # Check whether --with-sane was given.
3411 if test "${with_sane+set}" = set; then :
3412 withval=$with_sane;
3416 # Check whether --with-tiff was given.
3417 if test "${with_tiff+set}" = set; then :
3418 withval=$with_tiff;
3422 # Check whether --with-v4l was given.
3423 if test "${with_v4l+set}" = set; then :
3424 withval=$with_v4l;
3428 # Check whether --with-xcomposite was given.
3429 if test "${with_xcomposite+set}" = set; then :
3430 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3434 # Check whether --with-xcursor was given.
3435 if test "${with_xcursor+set}" = set; then :
3436 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3440 # Check whether --with-xinerama was given.
3441 if test "${with_xinerama+set}" = set; then :
3442 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3446 # Check whether --with-xinput was given.
3447 if test "${with_xinput+set}" = set; then :
3448 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3452 # Check whether --with-xinput2 was given.
3453 if test "${with_xinput2+set}" = set; then :
3454 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3458 # Check whether --with-xml was given.
3459 if test "${with_xml+set}" = set; then :
3460 withval=$with_xml;
3464 # Check whether --with-xrandr was given.
3465 if test "${with_xrandr+set}" = set; then :
3466 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3470 # Check whether --with-xrender was given.
3471 if test "${with_xrender+set}" = set; then :
3472 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3476 # Check whether --with-xshape was given.
3477 if test "${with_xshape+set}" = set; then :
3478 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3482 # Check whether --with-xshm was given.
3483 if test "${with_xshm+set}" = set; then :
3484 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3488 # Check whether --with-xslt was given.
3489 if test "${with_xslt+set}" = set; then :
3490 withval=$with_xslt;
3494 # Check whether --with-xxf86vm was given.
3495 if test "${with_xxf86vm+set}" = set; then :
3496 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
3500 # Check whether --with-zlib was given.
3501 if test "${with_zlib+set}" = set; then :
3502 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3507 # Check whether --with-wine-tools was given.
3508 if test "${with_wine_tools+set}" = set; then :
3509 withval=$with_wine_tools;
3513 # Check whether --with-wine64 was given.
3514 if test "${with_wine64+set}" = set; then :
3515 withval=$with_wine64;
3519 # Make sure we can run config.sub.
3520 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3521 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3524 $as_echo_n "checking build system type... " >&6; }
3525 if ${ac_cv_build+:} false; then :
3526 $as_echo_n "(cached) " >&6
3527 else
3528 ac_build_alias=$build_alias
3529 test "x$ac_build_alias" = x &&
3530 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3531 test "x$ac_build_alias" = x &&
3532 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3533 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3534 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3538 $as_echo "$ac_cv_build" >&6; }
3539 case $ac_cv_build in
3540 *-*-*) ;;
3541 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3542 esac
3543 build=$ac_cv_build
3544 ac_save_IFS=$IFS; IFS='-'
3545 set x $ac_cv_build
3546 shift
3547 build_cpu=$1
3548 build_vendor=$2
3549 shift; shift
3550 # Remember, the first character of IFS is used to create $*,
3551 # except with old shells:
3552 build_os=$*
3553 IFS=$ac_save_IFS
3554 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3558 $as_echo_n "checking host system type... " >&6; }
3559 if ${ac_cv_host+:} false; then :
3560 $as_echo_n "(cached) " >&6
3561 else
3562 if test "x$host_alias" = x; then
3563 ac_cv_host=$ac_cv_build
3564 else
3565 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3566 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3571 $as_echo "$ac_cv_host" >&6; }
3572 case $ac_cv_host in
3573 *-*-*) ;;
3574 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3575 esac
3576 host=$ac_cv_host
3577 ac_save_IFS=$IFS; IFS='-'
3578 set x $ac_cv_host
3579 shift
3580 host_cpu=$1
3581 host_vendor=$2
3582 shift; shift
3583 # Remember, the first character of IFS is used to create $*,
3584 # except with old shells:
3585 host_os=$*
3586 IFS=$ac_save_IFS
3587 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3591 case "$srcdir" in
3592 .) ;;
3593 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3594 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3595 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3596 fi ;;
3597 esac
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3601 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3602 set x ${MAKE-make}
3603 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3604 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3605 $as_echo_n "(cached) " >&6
3606 else
3607 cat >conftest.make <<\_ACEOF
3608 SHELL = /bin/sh
3609 all:
3610 @echo '@@@%%%=$(MAKE)=@@@%%%'
3611 _ACEOF
3612 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3613 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3614 *@@@%%%=?*=@@@%%%*)
3615 eval ac_cv_prog_make_${ac_make}_set=yes;;
3617 eval ac_cv_prog_make_${ac_make}_set=no;;
3618 esac
3619 rm -f conftest.make
3621 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3623 $as_echo "yes" >&6; }
3624 SET_MAKE=
3625 else
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3627 $as_echo "no" >&6; }
3628 SET_MAKE="MAKE=${MAKE-make}"
3631 ac_ext=c
3632 ac_cpp='$CPP $CPPFLAGS'
3633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3636 if test -n "$ac_tool_prefix"; then
3637 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3638 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if ${ac_cv_prog_CC+:} false; then :
3642 $as_echo_n "(cached) " >&6
3643 else
3644 if test -n "$CC"; then
3645 ac_cv_prog_CC="$CC" # Let the user override the test.
3646 else
3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648 for as_dir in $PATH
3650 IFS=$as_save_IFS
3651 test -z "$as_dir" && as_dir=.
3652 for ac_exec_ext in '' $ac_executable_extensions; do
3653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3654 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3656 break 2
3658 done
3659 done
3660 IFS=$as_save_IFS
3664 CC=$ac_cv_prog_CC
3665 if test -n "$CC"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3667 $as_echo "$CC" >&6; }
3668 else
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3675 if test -z "$ac_cv_prog_CC"; then
3676 ac_ct_CC=$CC
3677 # Extract the first word of "gcc", so it can be a program name with args.
3678 set dummy gcc; ac_word=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3682 $as_echo_n "(cached) " >&6
3683 else
3684 if test -n "$ac_ct_CC"; then
3685 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3686 else
3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3688 for as_dir in $PATH
3690 IFS=$as_save_IFS
3691 test -z "$as_dir" && as_dir=.
3692 for ac_exec_ext in '' $ac_executable_extensions; do
3693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3694 ac_cv_prog_ac_ct_CC="gcc"
3695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3696 break 2
3698 done
3699 done
3700 IFS=$as_save_IFS
3704 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3705 if test -n "$ac_ct_CC"; then
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3707 $as_echo "$ac_ct_CC" >&6; }
3708 else
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3710 $as_echo "no" >&6; }
3713 if test "x$ac_ct_CC" = x; then
3714 CC=""
3715 else
3716 case $cross_compiling:$ac_tool_warned in
3717 yes:)
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3720 ac_tool_warned=yes ;;
3721 esac
3722 CC=$ac_ct_CC
3724 else
3725 CC="$ac_cv_prog_CC"
3728 if test -z "$CC"; then
3729 if test -n "$ac_tool_prefix"; then
3730 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3731 set dummy ${ac_tool_prefix}cc; ac_word=$2
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3733 $as_echo_n "checking for $ac_word... " >&6; }
3734 if ${ac_cv_prog_CC+:} false; then :
3735 $as_echo_n "(cached) " >&6
3736 else
3737 if test -n "$CC"; then
3738 ac_cv_prog_CC="$CC" # Let the user override the test.
3739 else
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 for as_dir in $PATH
3743 IFS=$as_save_IFS
3744 test -z "$as_dir" && as_dir=.
3745 for ac_exec_ext in '' $ac_executable_extensions; do
3746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3747 ac_cv_prog_CC="${ac_tool_prefix}cc"
3748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3749 break 2
3751 done
3752 done
3753 IFS=$as_save_IFS
3757 CC=$ac_cv_prog_CC
3758 if test -n "$CC"; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3760 $as_echo "$CC" >&6; }
3761 else
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3769 if test -z "$CC"; then
3770 # Extract the first word of "cc", so it can be a program name with args.
3771 set dummy cc; ac_word=$2
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3773 $as_echo_n "checking for $ac_word... " >&6; }
3774 if ${ac_cv_prog_CC+:} false; then :
3775 $as_echo_n "(cached) " >&6
3776 else
3777 if test -n "$CC"; then
3778 ac_cv_prog_CC="$CC" # Let the user override the test.
3779 else
3780 ac_prog_rejected=no
3781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3782 for as_dir in $PATH
3784 IFS=$as_save_IFS
3785 test -z "$as_dir" && as_dir=.
3786 for ac_exec_ext in '' $ac_executable_extensions; do
3787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3788 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3789 ac_prog_rejected=yes
3790 continue
3792 ac_cv_prog_CC="cc"
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
3800 if test $ac_prog_rejected = yes; then
3801 # We found a bogon in the path, so make sure we never use it.
3802 set dummy $ac_cv_prog_CC
3803 shift
3804 if test $# != 0; then
3805 # We chose a different compiler from the bogus one.
3806 # However, it has the same basename, so the bogon will be chosen
3807 # first if we set CC to just the basename; use the full file name.
3808 shift
3809 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3814 CC=$ac_cv_prog_CC
3815 if test -n "$CC"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3817 $as_echo "$CC" >&6; }
3818 else
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3825 if test -z "$CC"; then
3826 if test -n "$ac_tool_prefix"; then
3827 for ac_prog in cl.exe
3829 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3830 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if ${ac_cv_prog_CC+:} false; then :
3834 $as_echo_n "(cached) " >&6
3835 else
3836 if test -n "$CC"; then
3837 ac_cv_prog_CC="$CC" # Let the user override the test.
3838 else
3839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3840 for as_dir in $PATH
3842 IFS=$as_save_IFS
3843 test -z "$as_dir" && as_dir=.
3844 for ac_exec_ext in '' $ac_executable_extensions; do
3845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3846 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3848 break 2
3850 done
3851 done
3852 IFS=$as_save_IFS
3856 CC=$ac_cv_prog_CC
3857 if test -n "$CC"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3859 $as_echo "$CC" >&6; }
3860 else
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3866 test -n "$CC" && break
3867 done
3869 if test -z "$CC"; then
3870 ac_ct_CC=$CC
3871 for ac_prog in cl.exe
3873 # Extract the first word of "$ac_prog", so it can be a program name with args.
3874 set dummy $ac_prog; ac_word=$2
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3876 $as_echo_n "checking for $ac_word... " >&6; }
3877 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3878 $as_echo_n "(cached) " >&6
3879 else
3880 if test -n "$ac_ct_CC"; then
3881 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3882 else
3883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3884 for as_dir in $PATH
3886 IFS=$as_save_IFS
3887 test -z "$as_dir" && as_dir=.
3888 for ac_exec_ext in '' $ac_executable_extensions; do
3889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3890 ac_cv_prog_ac_ct_CC="$ac_prog"
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
3900 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3901 if test -n "$ac_ct_CC"; then
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3903 $as_echo "$ac_ct_CC" >&6; }
3904 else
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906 $as_echo "no" >&6; }
3910 test -n "$ac_ct_CC" && break
3911 done
3913 if test "x$ac_ct_CC" = x; then
3914 CC=""
3915 else
3916 case $cross_compiling:$ac_tool_warned in
3917 yes:)
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3920 ac_tool_warned=yes ;;
3921 esac
3922 CC=$ac_ct_CC
3929 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3931 as_fn_error $? "no acceptable C compiler found in \$PATH
3932 See \`config.log' for more details" "$LINENO" 5; }
3934 # Provide some information about the compiler.
3935 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3936 set X $ac_compile
3937 ac_compiler=$2
3938 for ac_option in --version -v -V -qversion; do
3939 { { ac_try="$ac_compiler $ac_option >&5"
3940 case "(($ac_try" in
3941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3942 *) ac_try_echo=$ac_try;;
3943 esac
3944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3945 $as_echo "$ac_try_echo"; } >&5
3946 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3947 ac_status=$?
3948 if test -s conftest.err; then
3949 sed '10a\
3950 ... rest of stderr output deleted ...
3951 10q' conftest.err >conftest.er1
3952 cat conftest.er1 >&5
3954 rm -f conftest.er1 conftest.err
3955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3956 test $ac_status = 0; }
3957 done
3959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960 /* end confdefs.h. */
3963 main ()
3967 return 0;
3969 _ACEOF
3970 ac_clean_files_save=$ac_clean_files
3971 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3972 # Try to create an executable without -o first, disregard a.out.
3973 # It will help us diagnose broken compilers, and finding out an intuition
3974 # of exeext.
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3976 $as_echo_n "checking whether the C compiler works... " >&6; }
3977 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3979 # The possible output files:
3980 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3982 ac_rmfiles=
3983 for ac_file in $ac_files
3985 case $ac_file in
3986 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3987 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3988 esac
3989 done
3990 rm -f $ac_rmfiles
3992 if { { ac_try="$ac_link_default"
3993 case "(($ac_try" in
3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3996 esac
3997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3998 $as_echo "$ac_try_echo"; } >&5
3999 (eval "$ac_link_default") 2>&5
4000 ac_status=$?
4001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4002 test $ac_status = 0; }; then :
4003 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4004 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4005 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4006 # so that the user can short-circuit this test for compilers unknown to
4007 # Autoconf.
4008 for ac_file in $ac_files ''
4010 test -f "$ac_file" || continue
4011 case $ac_file in
4012 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4014 [ab].out )
4015 # We found the default executable, but exeext='' is most
4016 # certainly right.
4017 break;;
4018 *.* )
4019 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4020 then :; else
4021 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4023 # We set ac_cv_exeext here because the later test for it is not
4024 # safe: cross compilers may not add the suffix if given an `-o'
4025 # argument, so we may need to know it at that point already.
4026 # Even if this section looks crufty: it has the advantage of
4027 # actually working.
4028 break;;
4030 break;;
4031 esac
4032 done
4033 test "$ac_cv_exeext" = no && ac_cv_exeext=
4035 else
4036 ac_file=''
4038 if test -z "$ac_file"; then :
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4040 $as_echo "no" >&6; }
4041 $as_echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4046 as_fn_error 77 "C compiler cannot create executables
4047 See \`config.log' for more details" "$LINENO" 5; }
4048 else
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4050 $as_echo "yes" >&6; }
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4053 $as_echo_n "checking for C compiler default output file name... " >&6; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4055 $as_echo "$ac_file" >&6; }
4056 ac_exeext=$ac_cv_exeext
4058 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4059 ac_clean_files=$ac_clean_files_save
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4061 $as_echo_n "checking for suffix of executables... " >&6; }
4062 if { { ac_try="$ac_link"
4063 case "(($ac_try" in
4064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4065 *) ac_try_echo=$ac_try;;
4066 esac
4067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4068 $as_echo "$ac_try_echo"; } >&5
4069 (eval "$ac_link") 2>&5
4070 ac_status=$?
4071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4072 test $ac_status = 0; }; then :
4073 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4074 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4075 # work properly (i.e., refer to `conftest.exe'), while it won't with
4076 # `rm'.
4077 for ac_file in conftest.exe conftest conftest.*; do
4078 test -f "$ac_file" || continue
4079 case $ac_file in
4080 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4081 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4082 break;;
4083 * ) break;;
4084 esac
4085 done
4086 else
4087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4089 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4090 See \`config.log' for more details" "$LINENO" 5; }
4092 rm -f conftest conftest$ac_cv_exeext
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4094 $as_echo "$ac_cv_exeext" >&6; }
4096 rm -f conftest.$ac_ext
4097 EXEEXT=$ac_cv_exeext
4098 ac_exeext=$EXEEXT
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4101 #include <stdio.h>
4103 main ()
4105 FILE *f = fopen ("conftest.out", "w");
4106 return ferror (f) || fclose (f) != 0;
4109 return 0;
4111 _ACEOF
4112 ac_clean_files="$ac_clean_files conftest.out"
4113 # Check that the compiler produces executables we can run. If not, either
4114 # the compiler is broken, or we cross compile.
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4116 $as_echo_n "checking whether we are cross compiling... " >&6; }
4117 if test "$cross_compiling" != yes; then
4118 { { ac_try="$ac_link"
4119 case "(($ac_try" in
4120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4121 *) ac_try_echo=$ac_try;;
4122 esac
4123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4124 $as_echo "$ac_try_echo"; } >&5
4125 (eval "$ac_link") 2>&5
4126 ac_status=$?
4127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4128 test $ac_status = 0; }
4129 if { ac_try='./conftest$ac_cv_exeext'
4130 { { case "(($ac_try" in
4131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4132 *) ac_try_echo=$ac_try;;
4133 esac
4134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4135 $as_echo "$ac_try_echo"; } >&5
4136 (eval "$ac_try") 2>&5
4137 ac_status=$?
4138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4139 test $ac_status = 0; }; }; then
4140 cross_compiling=no
4141 else
4142 if test "$cross_compiling" = maybe; then
4143 cross_compiling=yes
4144 else
4145 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4147 as_fn_error $? "cannot run C compiled programs.
4148 If you meant to cross compile, use \`--host'.
4149 See \`config.log' for more details" "$LINENO" 5; }
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4154 $as_echo "$cross_compiling" >&6; }
4156 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4157 ac_clean_files=$ac_clean_files_save
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4159 $as_echo_n "checking for suffix of object files... " >&6; }
4160 if ${ac_cv_objext+:} false; then :
4161 $as_echo_n "(cached) " >&6
4162 else
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4167 main ()
4171 return 0;
4173 _ACEOF
4174 rm -f conftest.o conftest.obj
4175 if { { ac_try="$ac_compile"
4176 case "(($ac_try" in
4177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4178 *) ac_try_echo=$ac_try;;
4179 esac
4180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4181 $as_echo "$ac_try_echo"; } >&5
4182 (eval "$ac_compile") 2>&5
4183 ac_status=$?
4184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4185 test $ac_status = 0; }; then :
4186 for ac_file in conftest.o conftest.obj conftest.*; do
4187 test -f "$ac_file" || continue;
4188 case $ac_file in
4189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4190 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4191 break;;
4192 esac
4193 done
4194 else
4195 $as_echo "$as_me: failed program was:" >&5
4196 sed 's/^/| /' conftest.$ac_ext >&5
4198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4200 as_fn_error $? "cannot compute suffix of object files: cannot compile
4201 See \`config.log' for more details" "$LINENO" 5; }
4203 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4206 $as_echo "$ac_cv_objext" >&6; }
4207 OBJEXT=$ac_cv_objext
4208 ac_objext=$OBJEXT
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4210 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4211 if ${ac_cv_c_compiler_gnu+:} false; then :
4212 $as_echo_n "(cached) " >&6
4213 else
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4218 main ()
4220 #ifndef __GNUC__
4221 choke me
4222 #endif
4225 return 0;
4227 _ACEOF
4228 if ac_fn_c_try_compile "$LINENO"; then :
4229 ac_compiler_gnu=yes
4230 else
4231 ac_compiler_gnu=no
4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4234 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4238 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4239 if test $ac_compiler_gnu = yes; then
4240 GCC=yes
4241 else
4242 GCC=
4244 ac_test_CFLAGS=${CFLAGS+set}
4245 ac_save_CFLAGS=$CFLAGS
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4247 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4248 if ${ac_cv_prog_cc_g+:} false; then :
4249 $as_echo_n "(cached) " >&6
4250 else
4251 ac_save_c_werror_flag=$ac_c_werror_flag
4252 ac_c_werror_flag=yes
4253 ac_cv_prog_cc_g=no
4254 CFLAGS="-g"
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4259 main ()
4263 return 0;
4265 _ACEOF
4266 if ac_fn_c_try_compile "$LINENO"; then :
4267 ac_cv_prog_cc_g=yes
4268 else
4269 CFLAGS=""
4270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4271 /* end confdefs.h. */
4274 main ()
4278 return 0;
4280 _ACEOF
4281 if ac_fn_c_try_compile "$LINENO"; then :
4283 else
4284 ac_c_werror_flag=$ac_save_c_werror_flag
4285 CFLAGS="-g"
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4290 main ()
4294 return 0;
4296 _ACEOF
4297 if ac_fn_c_try_compile "$LINENO"; then :
4298 ac_cv_prog_cc_g=yes
4300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4305 ac_c_werror_flag=$ac_save_c_werror_flag
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4308 $as_echo "$ac_cv_prog_cc_g" >&6; }
4309 if test "$ac_test_CFLAGS" = set; then
4310 CFLAGS=$ac_save_CFLAGS
4311 elif test $ac_cv_prog_cc_g = yes; then
4312 if test "$GCC" = yes; then
4313 CFLAGS="-g -O2"
4314 else
4315 CFLAGS="-g"
4317 else
4318 if test "$GCC" = yes; then
4319 CFLAGS="-O2"
4320 else
4321 CFLAGS=
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4325 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4326 if ${ac_cv_prog_cc_c89+:} false; then :
4327 $as_echo_n "(cached) " >&6
4328 else
4329 ac_cv_prog_cc_c89=no
4330 ac_save_CC=$CC
4331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4332 /* end confdefs.h. */
4333 #include <stdarg.h>
4334 #include <stdio.h>
4335 struct stat;
4336 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4337 struct buf { int x; };
4338 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4339 static char *e (p, i)
4340 char **p;
4341 int i;
4343 return p[i];
4345 static char *f (char * (*g) (char **, int), char **p, ...)
4347 char *s;
4348 va_list v;
4349 va_start (v,p);
4350 s = g (p, va_arg (v,int));
4351 va_end (v);
4352 return s;
4355 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4356 function prototypes and stuff, but not '\xHH' hex character constants.
4357 These don't provoke an error unfortunately, instead are silently treated
4358 as 'x'. The following induces an error, until -std is added to get
4359 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4360 array size at least. It's necessary to write '\x00'==0 to get something
4361 that's true only with -std. */
4362 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4364 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4365 inside strings and character constants. */
4366 #define FOO(x) 'x'
4367 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4369 int test (int i, double x);
4370 struct s1 {int (*f) (int a);};
4371 struct s2 {int (*f) (double a);};
4372 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4373 int argc;
4374 char **argv;
4376 main ()
4378 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4380 return 0;
4382 _ACEOF
4383 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4384 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4386 CC="$ac_save_CC $ac_arg"
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388 ac_cv_prog_cc_c89=$ac_arg
4390 rm -f core conftest.err conftest.$ac_objext
4391 test "x$ac_cv_prog_cc_c89" != "xno" && break
4392 done
4393 rm -f conftest.$ac_ext
4394 CC=$ac_save_CC
4397 # AC_CACHE_VAL
4398 case "x$ac_cv_prog_cc_c89" in
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4401 $as_echo "none needed" >&6; } ;;
4402 xno)
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4404 $as_echo "unsupported" >&6; } ;;
4406 CC="$CC $ac_cv_prog_cc_c89"
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4408 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4409 esac
4410 if test "x$ac_cv_prog_cc_c89" != xno; then :
4414 ac_ext=c
4415 ac_cpp='$CPP $CPPFLAGS'
4416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4420 ac_ext=cpp
4421 ac_cpp='$CXXCPP $CPPFLAGS'
4422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4425 if test -z "$CXX"; then
4426 if test -n "$CCC"; then
4427 CXX=$CCC
4428 else
4429 if test -n "$ac_tool_prefix"; then
4430 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if ${ac_cv_prog_CXX+:} false; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 if test -n "$CXX"; then
4440 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4441 else
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4445 IFS=$as_save_IFS
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 break 2
4453 done
4454 done
4455 IFS=$as_save_IFS
4459 CXX=$ac_cv_prog_CXX
4460 if test -n "$CXX"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4462 $as_echo "$CXX" >&6; }
4463 else
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4469 test -n "$CXX" && break
4470 done
4472 if test -z "$CXX"; then
4473 ac_ct_CXX=$CXX
4474 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4476 # Extract the first word of "$ac_prog", so it can be a program name with args.
4477 set dummy $ac_prog; ac_word=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 if test -n "$ac_ct_CXX"; then
4484 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4485 else
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 for as_dir in $PATH
4489 IFS=$as_save_IFS
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4493 ac_cv_prog_ac_ct_CXX="$ac_prog"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 break 2
4497 done
4498 done
4499 IFS=$as_save_IFS
4503 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4504 if test -n "$ac_ct_CXX"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4506 $as_echo "$ac_ct_CXX" >&6; }
4507 else
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4513 test -n "$ac_ct_CXX" && break
4514 done
4516 if test "x$ac_ct_CXX" = x; then
4517 CXX="g++"
4518 else
4519 case $cross_compiling:$ac_tool_warned in
4520 yes:)
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4523 ac_tool_warned=yes ;;
4524 esac
4525 CXX=$ac_ct_CXX
4531 # Provide some information about the compiler.
4532 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4533 set X $ac_compile
4534 ac_compiler=$2
4535 for ac_option in --version -v -V -qversion; do
4536 { { ac_try="$ac_compiler $ac_option >&5"
4537 case "(($ac_try" in
4538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4539 *) ac_try_echo=$ac_try;;
4540 esac
4541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4542 $as_echo "$ac_try_echo"; } >&5
4543 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4544 ac_status=$?
4545 if test -s conftest.err; then
4546 sed '10a\
4547 ... rest of stderr output deleted ...
4548 10q' conftest.err >conftest.er1
4549 cat conftest.er1 >&5
4551 rm -f conftest.er1 conftest.err
4552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4553 test $ac_status = 0; }
4554 done
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4557 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4558 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4565 main ()
4567 #ifndef __GNUC__
4568 choke me
4569 #endif
4572 return 0;
4574 _ACEOF
4575 if ac_fn_cxx_try_compile "$LINENO"; then :
4576 ac_compiler_gnu=yes
4577 else
4578 ac_compiler_gnu=no
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4585 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4586 if test $ac_compiler_gnu = yes; then
4587 GXX=yes
4588 else
4589 GXX=
4591 ac_test_CXXFLAGS=${CXXFLAGS+set}
4592 ac_save_CXXFLAGS=$CXXFLAGS
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4594 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4595 if ${ac_cv_prog_cxx_g+:} false; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4599 ac_cxx_werror_flag=yes
4600 ac_cv_prog_cxx_g=no
4601 CXXFLAGS="-g"
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4606 main ()
4610 return 0;
4612 _ACEOF
4613 if ac_fn_cxx_try_compile "$LINENO"; then :
4614 ac_cv_prog_cxx_g=yes
4615 else
4616 CXXFLAGS=""
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4621 main ()
4625 return 0;
4627 _ACEOF
4628 if ac_fn_cxx_try_compile "$LINENO"; then :
4630 else
4631 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4632 CXXFLAGS="-g"
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4637 main ()
4641 return 0;
4643 _ACEOF
4644 if ac_fn_cxx_try_compile "$LINENO"; then :
4645 ac_cv_prog_cxx_g=yes
4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4655 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4656 if test "$ac_test_CXXFLAGS" = set; then
4657 CXXFLAGS=$ac_save_CXXFLAGS
4658 elif test $ac_cv_prog_cxx_g = yes; then
4659 if test "$GXX" = yes; then
4660 CXXFLAGS="-g -O2"
4661 else
4662 CXXFLAGS="-g"
4664 else
4665 if test "$GXX" = yes; then
4666 CXXFLAGS="-O2"
4667 else
4668 CXXFLAGS=
4671 ac_ext=c
4672 ac_cpp='$CPP $CPPFLAGS'
4673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4677 if test -n "$ac_tool_prefix"; then
4678 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4679 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4681 $as_echo_n "checking for $ac_word... " >&6; }
4682 if ${ac_cv_prog_CPPBIN+:} false; then :
4683 $as_echo_n "(cached) " >&6
4684 else
4685 if test -n "$CPPBIN"; then
4686 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4687 else
4688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689 for as_dir in $PATH
4691 IFS=$as_save_IFS
4692 test -z "$as_dir" && as_dir=.
4693 for ac_exec_ext in '' $ac_executable_extensions; do
4694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4695 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4697 break 2
4699 done
4700 done
4701 IFS=$as_save_IFS
4705 CPPBIN=$ac_cv_prog_CPPBIN
4706 if test -n "$CPPBIN"; then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4708 $as_echo "$CPPBIN" >&6; }
4709 else
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 $as_echo "no" >&6; }
4716 if test -z "$ac_cv_prog_CPPBIN"; then
4717 ac_ct_CPPBIN=$CPPBIN
4718 # Extract the first word of "cpp", so it can be a program name with args.
4719 set dummy cpp; ac_word=$2
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4721 $as_echo_n "checking for $ac_word... " >&6; }
4722 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4723 $as_echo_n "(cached) " >&6
4724 else
4725 if test -n "$ac_ct_CPPBIN"; then
4726 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4727 else
4728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4729 for as_dir in $PATH
4731 IFS=$as_save_IFS
4732 test -z "$as_dir" && as_dir=.
4733 for ac_exec_ext in '' $ac_executable_extensions; do
4734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4735 ac_cv_prog_ac_ct_CPPBIN="cpp"
4736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4737 break 2
4739 done
4740 done
4741 IFS=$as_save_IFS
4745 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4746 if test -n "$ac_ct_CPPBIN"; then
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4748 $as_echo "$ac_ct_CPPBIN" >&6; }
4749 else
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751 $as_echo "no" >&6; }
4754 if test "x$ac_ct_CPPBIN" = x; then
4755 CPPBIN="cpp"
4756 else
4757 case $cross_compiling:$ac_tool_warned in
4758 yes:)
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4761 ac_tool_warned=yes ;;
4762 esac
4763 CPPBIN=$ac_ct_CPPBIN
4765 else
4766 CPPBIN="$ac_cv_prog_CPPBIN"
4770 cat >>confdefs.h <<_ACEOF
4771 #define EXEEXT "$ac_exeext"
4772 _ACEOF
4774 if test -n "$ac_tool_prefix"; then
4775 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4776 set dummy ${ac_tool_prefix}ld; ac_word=$2
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4778 $as_echo_n "checking for $ac_word... " >&6; }
4779 if ${ac_cv_prog_LD+:} false; then :
4780 $as_echo_n "(cached) " >&6
4781 else
4782 if test -n "$LD"; then
4783 ac_cv_prog_LD="$LD" # Let the user override the test.
4784 else
4785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4786 for as_dir in $PATH
4788 IFS=$as_save_IFS
4789 test -z "$as_dir" && as_dir=.
4790 for ac_exec_ext in '' $ac_executable_extensions; do
4791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4792 ac_cv_prog_LD="${ac_tool_prefix}ld"
4793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4794 break 2
4796 done
4797 done
4798 IFS=$as_save_IFS
4802 LD=$ac_cv_prog_LD
4803 if test -n "$LD"; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4805 $as_echo "$LD" >&6; }
4806 else
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4813 if test -z "$ac_cv_prog_LD"; then
4814 ac_ct_LD=$LD
4815 # Extract the first word of "ld", so it can be a program name with args.
4816 set dummy ld; ac_word=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4820 $as_echo_n "(cached) " >&6
4821 else
4822 if test -n "$ac_ct_LD"; then
4823 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4824 else
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 for as_dir in $PATH
4828 IFS=$as_save_IFS
4829 test -z "$as_dir" && as_dir=.
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4832 ac_cv_prog_ac_ct_LD="ld"
4833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4834 break 2
4836 done
4837 done
4838 IFS=$as_save_IFS
4842 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4843 if test -n "$ac_ct_LD"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4845 $as_echo "$ac_ct_LD" >&6; }
4846 else
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4851 if test "x$ac_ct_LD" = x; then
4852 LD=""
4853 else
4854 case $cross_compiling:$ac_tool_warned in
4855 yes:)
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4858 ac_tool_warned=yes ;;
4859 esac
4860 LD=$ac_ct_LD
4862 else
4863 LD="$ac_cv_prog_LD"
4867 case $host in
4868 *-darwin*)
4869 if test "x$enable_win64" = "xyes"
4870 then
4871 CC="$CC -m64"
4872 CXX="$CXX -m64"
4873 host_cpu="x86_64"
4874 notice_platform="64-bit "
4875 TARGETFLAGS="-m64"
4877 else
4878 CC="$CC -m32"
4879 CXX="$CXX -m32"
4880 host_cpu="i386"
4881 notice_platform="32-bit "
4882 TARGETFLAGS="-m32"
4884 enable_win16=${enable_win16:-yes}
4886 with_fontconfig=${with_fontconfig:-no}
4888 x86_64*|amd64*)
4889 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4890 then
4891 CC="$CC -m32"
4892 CXX="$CXX -m32"
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4894 $as_echo_n "checking whether $CC works... " >&6; }
4896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4897 /* end confdefs.h. */
4900 main ()
4904 return 0;
4906 _ACEOF
4907 if ac_fn_c_try_link "$LINENO"; then :
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4909 $as_echo "yes" >&6; }
4910 else
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4913 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4915 rm -f core conftest.err conftest.$ac_objext \
4916 conftest$ac_exeext conftest.$ac_ext
4917 host_cpu="i386"
4918 notice_platform="32-bit "
4919 TARGETFLAGS="-m32"
4921 enable_win16=${enable_win16:-yes}
4922 else
4923 if test "x${GCC}" = "xyes"
4924 then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4926 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4929 #include <stdarg.h>
4931 main ()
4933 void func(__builtin_ms_va_list *args);
4935 return 0;
4937 _ACEOF
4938 if ac_fn_c_try_compile "$LINENO"; then :
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4940 $as_echo "yes" >&6; }
4941 else
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4944 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4948 host_cpu="x86_64"
4949 TARGETFLAGS="-m64"
4953 arm*)
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4955 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4958 int ac_test(int i) { return i; }
4960 main ()
4962 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4964 return 0;
4966 _ACEOF
4967 if ac_fn_c_try_link "$LINENO"; then :
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4969 $as_echo "yes" >&6; }
4970 else
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972 $as_echo "no" >&6; }
4973 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4975 rm -f core conftest.err conftest.$ac_objext \
4976 conftest$ac_exeext conftest.$ac_ext
4977 CFLAGS="$CFLAGS -marm"
4978 TARGETFLAGS="-marm"
4981 *-mingw32*|*-cygwin*)
4982 enable_win16=${enable_win16:-no}
4983 CFLAGS="$CFLAGS -D_WIN32"
4985 i[3456789]86*)
4986 enable_win16=${enable_win16:-yes}
4988 esac
4990 enable_win16=${enable_win16:-no}
4991 enable_win64=${enable_win64:-no}
4993 enable_winetest=${enable_winetest:-$enable_tests}
4995 if test -n "$with_wine64"
4996 then
4997 if test "x$enable_win64" = "xyes"
4998 then
4999 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5000 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5002 enable_fonts=${enable_fonts:-no}
5003 enable_server=${enable_server:-no}
5004 elif test "x$enable_win64" = "xyes"
5005 then
5006 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5010 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5011 if ${wine_cv_toolsdir+:} false; then :
5012 $as_echo_n "(cached) " >&6
5013 else
5014 wine_cv_toolsdir="$with_wine_tools"
5015 if test -z "$with_wine_tools"; then
5016 if test "$cross_compiling" = "yes"; then
5017 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5018 elif test -n "$with_wine64"; then
5019 wine_cv_toolsdir="$with_wine64"
5022 if test -z "$wine_cv_toolsdir"; then
5023 wine_makedep=tools/makedep
5024 wine_cv_toolsdir="\$(top_builddir)"
5025 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5026 wine_makedep=$wine_cv_toolsdir/tools/makedep
5027 case "$wine_cv_toolsdir" in
5028 /*) ;;
5029 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5030 esac
5031 enable_tools=${enable_tools:-no}
5032 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5033 else
5034 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5038 $as_echo "$wine_cv_toolsdir" >&6; }
5039 TOOLSDIR=$wine_cv_toolsdir
5041 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5042 then
5043 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5047 for ac_prog in flex
5049 # Extract the first word of "$ac_prog", so it can be a program name with args.
5050 set dummy $ac_prog; ac_word=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if ${ac_cv_prog_FLEX+:} false; then :
5054 $as_echo_n "(cached) " >&6
5055 else
5056 if test -n "$FLEX"; then
5057 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5058 else
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5060 for as_dir in $PATH
5062 IFS=$as_save_IFS
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5066 ac_cv_prog_FLEX="$ac_prog"
5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068 break 2
5070 done
5071 done
5072 IFS=$as_save_IFS
5076 FLEX=$ac_cv_prog_FLEX
5077 if test -n "$FLEX"; then
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5079 $as_echo "$FLEX" >&6; }
5080 else
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5086 test -n "$FLEX" && break
5087 done
5088 test -n "$FLEX" || FLEX="none"
5090 if test "$FLEX" = "none"
5091 then
5092 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5095 $as_echo_n "checking whether flex is recent enough... " >&6; }
5096 cat >conftest.l <<EOF
5097 %top{
5098 #include "prediluvian.h"
5102 if $FLEX -t conftest.l >/dev/null 2>&5
5103 then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5105 $as_echo "yes" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5109 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5112 for ac_prog in bison
5114 # Extract the first word of "$ac_prog", so it can be a program name with args.
5115 set dummy $ac_prog; ac_word=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if ${ac_cv_prog_BISON+:} false; then :
5119 $as_echo_n "(cached) " >&6
5120 else
5121 if test -n "$BISON"; then
5122 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5123 else
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5125 for as_dir in $PATH
5127 IFS=$as_save_IFS
5128 test -z "$as_dir" && as_dir=.
5129 for ac_exec_ext in '' $ac_executable_extensions; do
5130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5131 ac_cv_prog_BISON="$ac_prog"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 break 2
5135 done
5136 done
5137 IFS=$as_save_IFS
5141 BISON=$ac_cv_prog_BISON
5142 if test -n "$BISON"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5144 $as_echo "$BISON" >&6; }
5145 else
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5151 test -n "$BISON" && break
5152 done
5153 test -n "$BISON" || BISON="none"
5155 if test "$BISON" = "none"
5156 then
5157 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5160 if test -n "$ac_tool_prefix"; then
5161 for ac_prog in ar gar
5163 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5164 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5166 $as_echo_n "checking for $ac_word... " >&6; }
5167 if ${ac_cv_prog_AR+:} false; then :
5168 $as_echo_n "(cached) " >&6
5169 else
5170 if test -n "$AR"; then
5171 ac_cv_prog_AR="$AR" # Let the user override the test.
5172 else
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 for as_dir in $PATH
5176 IFS=$as_save_IFS
5177 test -z "$as_dir" && as_dir=.
5178 for ac_exec_ext in '' $ac_executable_extensions; do
5179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5180 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 break 2
5184 done
5185 done
5186 IFS=$as_save_IFS
5190 AR=$ac_cv_prog_AR
5191 if test -n "$AR"; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5193 $as_echo "$AR" >&6; }
5194 else
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 $as_echo "no" >&6; }
5200 test -n "$AR" && break
5201 done
5203 if test -z "$AR"; then
5204 ac_ct_AR=$AR
5205 for ac_prog in ar gar
5207 # Extract the first word of "$ac_prog", so it can be a program name with args.
5208 set dummy $ac_prog; ac_word=$2
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210 $as_echo_n "checking for $ac_word... " >&6; }
5211 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5212 $as_echo_n "(cached) " >&6
5213 else
5214 if test -n "$ac_ct_AR"; then
5215 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5216 else
5217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 for as_dir in $PATH
5220 IFS=$as_save_IFS
5221 test -z "$as_dir" && as_dir=.
5222 for ac_exec_ext in '' $ac_executable_extensions; do
5223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5224 ac_cv_prog_ac_ct_AR="$ac_prog"
5225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 break 2
5228 done
5229 done
5230 IFS=$as_save_IFS
5234 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5235 if test -n "$ac_ct_AR"; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5237 $as_echo "$ac_ct_AR" >&6; }
5238 else
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5244 test -n "$ac_ct_AR" && break
5245 done
5247 if test "x$ac_ct_AR" = x; then
5248 AR="ar"
5249 else
5250 case $cross_compiling:$ac_tool_warned in
5251 yes:)
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5254 ac_tool_warned=yes ;;
5255 esac
5256 AR=$ac_ct_AR
5260 if test -n "$ac_tool_prefix"; then
5261 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5262 set dummy ${ac_tool_prefix}strip; ac_word=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if ${ac_cv_prog_STRIP+:} false; then :
5266 $as_echo_n "(cached) " >&6
5267 else
5268 if test -n "$STRIP"; then
5269 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5270 else
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5272 for as_dir in $PATH
5274 IFS=$as_save_IFS
5275 test -z "$as_dir" && as_dir=.
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5278 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5280 break 2
5282 done
5283 done
5284 IFS=$as_save_IFS
5288 STRIP=$ac_cv_prog_STRIP
5289 if test -n "$STRIP"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5291 $as_echo "$STRIP" >&6; }
5292 else
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5299 if test -z "$ac_cv_prog_STRIP"; then
5300 ac_ct_STRIP=$STRIP
5301 # Extract the first word of "strip", so it can be a program name with args.
5302 set dummy strip; ac_word=$2
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5304 $as_echo_n "checking for $ac_word... " >&6; }
5305 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5306 $as_echo_n "(cached) " >&6
5307 else
5308 if test -n "$ac_ct_STRIP"; then
5309 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5310 else
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 for as_dir in $PATH
5314 IFS=$as_save_IFS
5315 test -z "$as_dir" && as_dir=.
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318 ac_cv_prog_ac_ct_STRIP="strip"
5319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5320 break 2
5322 done
5323 done
5324 IFS=$as_save_IFS
5328 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5329 if test -n "$ac_ct_STRIP"; then
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5331 $as_echo "$ac_ct_STRIP" >&6; }
5332 else
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 $as_echo "no" >&6; }
5337 if test "x$ac_ct_STRIP" = x; then
5338 STRIP="strip"
5339 else
5340 case $cross_compiling:$ac_tool_warned in
5341 yes:)
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5344 ac_tool_warned=yes ;;
5345 esac
5346 STRIP=$ac_ct_STRIP
5348 else
5349 STRIP="$ac_cv_prog_STRIP"
5352 ARFLAGS=rc
5354 if test -n "$ac_tool_prefix"; then
5355 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5356 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5358 $as_echo_n "checking for $ac_word... " >&6; }
5359 if ${ac_cv_prog_RANLIB+:} false; then :
5360 $as_echo_n "(cached) " >&6
5361 else
5362 if test -n "$RANLIB"; then
5363 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5364 else
5365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 for as_dir in $PATH
5368 IFS=$as_save_IFS
5369 test -z "$as_dir" && as_dir=.
5370 for ac_exec_ext in '' $ac_executable_extensions; do
5371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5372 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 break 2
5376 done
5377 done
5378 IFS=$as_save_IFS
5382 RANLIB=$ac_cv_prog_RANLIB
5383 if test -n "$RANLIB"; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5385 $as_echo "$RANLIB" >&6; }
5386 else
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388 $as_echo "no" >&6; }
5393 if test -z "$ac_cv_prog_RANLIB"; then
5394 ac_ct_RANLIB=$RANLIB
5395 # Extract the first word of "ranlib", so it can be a program name with args.
5396 set dummy ranlib; ac_word=$2
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5398 $as_echo_n "checking for $ac_word... " >&6; }
5399 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5400 $as_echo_n "(cached) " >&6
5401 else
5402 if test -n "$ac_ct_RANLIB"; then
5403 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5404 else
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_exec_ext in '' $ac_executable_extensions; do
5411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5412 ac_cv_prog_ac_ct_RANLIB="ranlib"
5413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 break 2
5416 done
5417 done
5418 IFS=$as_save_IFS
5422 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5423 if test -n "$ac_ct_RANLIB"; then
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5425 $as_echo "$ac_ct_RANLIB" >&6; }
5426 else
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5428 $as_echo "no" >&6; }
5431 if test "x$ac_ct_RANLIB" = x; then
5432 RANLIB=":"
5433 else
5434 case $cross_compiling:$ac_tool_warned in
5435 yes:)
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5438 ac_tool_warned=yes ;;
5439 esac
5440 RANLIB=$ac_ct_RANLIB
5442 else
5443 RANLIB="$ac_cv_prog_RANLIB"
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5447 $as_echo_n "checking whether ln -s works... " >&6; }
5448 LN_S=$as_ln_s
5449 if test "$LN_S" = "ln -s"; then
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5451 $as_echo "yes" >&6; }
5452 else
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5454 $as_echo "no, using $LN_S" >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5458 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5459 if ${ac_cv_path_GREP+:} false; then :
5460 $as_echo_n "(cached) " >&6
5461 else
5462 if test -z "$GREP"; then
5463 ac_path_GREP_found=false
5464 # Loop through the user's path and test for each of PROGNAME-LIST
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_prog in grep ggrep; do
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5473 as_fn_executable_p "$ac_path_GREP" || continue
5474 # Check for GNU ac_path_GREP and select it if it is found.
5475 # Check for GNU $ac_path_GREP
5476 case `"$ac_path_GREP" --version 2>&1` in
5477 *GNU*)
5478 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5480 ac_count=0
5481 $as_echo_n 0123456789 >"conftest.in"
5482 while :
5484 cat "conftest.in" "conftest.in" >"conftest.tmp"
5485 mv "conftest.tmp" "conftest.in"
5486 cp "conftest.in" "conftest.nl"
5487 $as_echo 'GREP' >> "conftest.nl"
5488 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5489 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5490 as_fn_arith $ac_count + 1 && ac_count=$as_val
5491 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5492 # Best one so far, save it but keep looking for a better one
5493 ac_cv_path_GREP="$ac_path_GREP"
5494 ac_path_GREP_max=$ac_count
5496 # 10*(2^10) chars as input seems more than enough
5497 test $ac_count -gt 10 && break
5498 done
5499 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5500 esac
5502 $ac_path_GREP_found && break 3
5503 done
5504 done
5505 done
5506 IFS=$as_save_IFS
5507 if test -z "$ac_cv_path_GREP"; then
5508 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5510 else
5511 ac_cv_path_GREP=$GREP
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5516 $as_echo "$ac_cv_path_GREP" >&6; }
5517 GREP="$ac_cv_path_GREP"
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5521 $as_echo_n "checking for egrep... " >&6; }
5522 if ${ac_cv_path_EGREP+:} false; then :
5523 $as_echo_n "(cached) " >&6
5524 else
5525 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5526 then ac_cv_path_EGREP="$GREP -E"
5527 else
5528 if test -z "$EGREP"; then
5529 ac_path_EGREP_found=false
5530 # Loop through the user's path and test for each of PROGNAME-LIST
5531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5534 IFS=$as_save_IFS
5535 test -z "$as_dir" && as_dir=.
5536 for ac_prog in egrep; do
5537 for ac_exec_ext in '' $ac_executable_extensions; do
5538 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5539 as_fn_executable_p "$ac_path_EGREP" || continue
5540 # Check for GNU ac_path_EGREP and select it if it is found.
5541 # Check for GNU $ac_path_EGREP
5542 case `"$ac_path_EGREP" --version 2>&1` in
5543 *GNU*)
5544 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5546 ac_count=0
5547 $as_echo_n 0123456789 >"conftest.in"
5548 while :
5550 cat "conftest.in" "conftest.in" >"conftest.tmp"
5551 mv "conftest.tmp" "conftest.in"
5552 cp "conftest.in" "conftest.nl"
5553 $as_echo 'EGREP' >> "conftest.nl"
5554 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5555 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5556 as_fn_arith $ac_count + 1 && ac_count=$as_val
5557 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5558 # Best one so far, save it but keep looking for a better one
5559 ac_cv_path_EGREP="$ac_path_EGREP"
5560 ac_path_EGREP_max=$ac_count
5562 # 10*(2^10) chars as input seems more than enough
5563 test $ac_count -gt 10 && break
5564 done
5565 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5566 esac
5568 $ac_path_EGREP_found && break 3
5569 done
5570 done
5571 done
5572 IFS=$as_save_IFS
5573 if test -z "$ac_cv_path_EGREP"; then
5574 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5576 else
5577 ac_cv_path_EGREP=$EGREP
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5583 $as_echo "$ac_cv_path_EGREP" >&6; }
5584 EGREP="$ac_cv_path_EGREP"
5587 # Extract the first word of "ldconfig", so it can be a program name with args.
5588 set dummy ldconfig; ac_word=$2
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5590 $as_echo_n "checking for $ac_word... " >&6; }
5591 if ${ac_cv_path_LDCONFIG+:} false; then :
5592 $as_echo_n "(cached) " >&6
5593 else
5594 case $LDCONFIG in
5595 [\\/]* | ?:[\\/]*)
5596 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 for as_dir in /sbin /usr/sbin $PATH
5602 IFS=$as_save_IFS
5603 test -z "$as_dir" && as_dir=.
5604 for ac_exec_ext in '' $ac_executable_extensions; do
5605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5606 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 break 2
5610 done
5611 done
5612 IFS=$as_save_IFS
5614 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5616 esac
5618 LDCONFIG=$ac_cv_path_LDCONFIG
5619 if test -n "$LDCONFIG"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5621 $as_echo "$LDCONFIG" >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5628 for ac_prog in msgfmt
5630 # Extract the first word of "$ac_prog", so it can be a program name with args.
5631 set dummy $ac_prog; ac_word=$2
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633 $as_echo_n "checking for $ac_word... " >&6; }
5634 if ${ac_cv_prog_MSGFMT+:} false; then :
5635 $as_echo_n "(cached) " >&6
5636 else
5637 if test -n "$MSGFMT"; then
5638 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5639 else
5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5641 for as_dir in $PATH
5643 IFS=$as_save_IFS
5644 test -z "$as_dir" && as_dir=.
5645 for ac_exec_ext in '' $ac_executable_extensions; do
5646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5647 ac_cv_prog_MSGFMT="$ac_prog"
5648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649 break 2
5651 done
5652 done
5653 IFS=$as_save_IFS
5657 MSGFMT=$ac_cv_prog_MSGFMT
5658 if test -n "$MSGFMT"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5660 $as_echo "$MSGFMT" >&6; }
5661 else
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }
5667 test -n "$MSGFMT" && break
5668 done
5669 test -n "$MSGFMT" || MSGFMT="false"
5671 if ${ac_tool_prefix+:} false; then :
5672 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5673 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5675 $as_echo_n "checking for $ac_word... " >&6; }
5676 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5677 $as_echo_n "(cached) " >&6
5678 else
5679 if test -n "$PKG_CONFIG"; then
5680 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5681 else
5682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5683 for as_dir in $PATH
5685 IFS=$as_save_IFS
5686 test -z "$as_dir" && as_dir=.
5687 for ac_exec_ext in '' $ac_executable_extensions; do
5688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5689 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5691 break 2
5693 done
5694 done
5695 IFS=$as_save_IFS
5699 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5700 if test -n "$PKG_CONFIG"; then
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5702 $as_echo "$PKG_CONFIG" >&6; }
5703 else
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5705 $as_echo "no" >&6; }
5710 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5711 if test "x$cross_compiling" = xyes; then :
5713 else
5714 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5715 # Extract the first word of "pkg-config", so it can be a program name with args.
5716 set dummy pkg-config; ac_word=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5720 $as_echo_n "(cached) " >&6
5721 else
5722 if test -n "$PKG_CONFIG"; then
5723 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5724 else
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 for as_dir in $PATH
5728 IFS=$as_save_IFS
5729 test -z "$as_dir" && as_dir=.
5730 for ac_exec_ext in '' $ac_executable_extensions; do
5731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5732 ac_cv_prog_PKG_CONFIG="pkg-config"
5733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 break 2
5736 done
5737 done
5738 IFS=$as_save_IFS
5742 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5743 if test -n "$PKG_CONFIG"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5745 $as_echo "$PKG_CONFIG" >&6; }
5746 else
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5753 else
5754 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5757 if test "x$enable_maintainer_mode" != "xyes"
5758 then
5759 FONTFORGE=""
5760 RSVG=""
5761 CONVERT=""
5762 ICOTOOL=""
5763 else
5764 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5765 for ac_prog in fontforge
5767 # Extract the first word of "$ac_prog", so it can be a program name with args.
5768 set dummy $ac_prog; ac_word=$2
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5770 $as_echo_n "checking for $ac_word... " >&6; }
5771 if ${ac_cv_prog_FONTFORGE+:} false; then :
5772 $as_echo_n "(cached) " >&6
5773 else
5774 if test -n "$FONTFORGE"; then
5775 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5776 else
5777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5778 for as_dir in $PATH
5780 IFS=$as_save_IFS
5781 test -z "$as_dir" && as_dir=.
5782 for ac_exec_ext in '' $ac_executable_extensions; do
5783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5784 ac_cv_prog_FONTFORGE="$ac_prog"
5785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 break 2
5788 done
5789 done
5790 IFS=$as_save_IFS
5794 FONTFORGE=$ac_cv_prog_FONTFORGE
5795 if test -n "$FONTFORGE"; then
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5797 $as_echo "$FONTFORGE" >&6; }
5798 else
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800 $as_echo "no" >&6; }
5804 test -n "$FONTFORGE" && break
5805 done
5806 test -n "$FONTFORGE" || FONTFORGE="false"
5808 for ac_prog in rsvg-convert rsvg
5810 # Extract the first word of "$ac_prog", so it can be a program name with args.
5811 set dummy $ac_prog; ac_word=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if ${ac_cv_prog_RSVG+:} false; then :
5815 $as_echo_n "(cached) " >&6
5816 else
5817 if test -n "$RSVG"; then
5818 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5819 else
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 for as_dir in $PATH
5823 IFS=$as_save_IFS
5824 test -z "$as_dir" && as_dir=.
5825 for ac_exec_ext in '' $ac_executable_extensions; do
5826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5827 ac_cv_prog_RSVG="$ac_prog"
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 break 2
5831 done
5832 done
5833 IFS=$as_save_IFS
5837 RSVG=$ac_cv_prog_RSVG
5838 if test -n "$RSVG"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5840 $as_echo "$RSVG" >&6; }
5841 else
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5847 test -n "$RSVG" && break
5848 done
5849 test -n "$RSVG" || RSVG="false"
5851 for ac_prog in convert
5853 # Extract the first word of "$ac_prog", so it can be a program name with args.
5854 set dummy $ac_prog; ac_word=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if ${ac_cv_prog_CONVERT+:} false; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 if test -n "$CONVERT"; then
5861 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5862 else
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH
5866 IFS=$as_save_IFS
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5870 ac_cv_prog_CONVERT="$ac_prog"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 break 2
5874 done
5875 done
5876 IFS=$as_save_IFS
5880 CONVERT=$ac_cv_prog_CONVERT
5881 if test -n "$CONVERT"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5883 $as_echo "$CONVERT" >&6; }
5884 else
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5890 test -n "$CONVERT" && break
5891 done
5892 test -n "$CONVERT" || CONVERT="false"
5894 for ac_prog in icotool
5896 # Extract the first word of "$ac_prog", so it can be a program name with args.
5897 set dummy $ac_prog; ac_word=$2
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5899 $as_echo_n "checking for $ac_word... " >&6; }
5900 if ${ac_cv_prog_ICOTOOL+:} false; then :
5901 $as_echo_n "(cached) " >&6
5902 else
5903 if test -n "$ICOTOOL"; then
5904 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5905 else
5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5907 for as_dir in $PATH
5909 IFS=$as_save_IFS
5910 test -z "$as_dir" && as_dir=.
5911 for ac_exec_ext in '' $ac_executable_extensions; do
5912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5913 ac_cv_prog_ICOTOOL="$ac_prog"
5914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5915 break 2
5917 done
5918 done
5919 IFS=$as_save_IFS
5923 ICOTOOL=$ac_cv_prog_ICOTOOL
5924 if test -n "$ICOTOOL"; then
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5926 $as_echo "$ICOTOOL" >&6; }
5927 else
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5929 $as_echo "no" >&6; }
5933 test -n "$ICOTOOL" && break
5934 done
5935 test -n "$ICOTOOL" || ICOTOOL="false"
5937 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5938 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5940 if test "$CONVERT" = false
5941 then
5942 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5943 else
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5945 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5946 convert_version=`convert --version | head -n1`
5947 if test "x$convert_version" != "x"
5948 then
5949 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5950 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5951 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5952 then
5953 CONVERT=false
5956 if test "$CONVERT" = false
5957 then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5959 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5960 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5961 else
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5963 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5967 if test "$ICOTOOL" = false
5968 then
5969 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5970 else
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5972 $as_echo_n "checking for recent enough icotool... " >&6; }
5973 icotool_version=`icotool --version | head -n1`
5974 if test "x$icotool_version" != "x"
5975 then
5976 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5977 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5978 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5979 then
5980 ICOTOOL=false
5981 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5984 if test "$ICOTOOL" = false
5985 then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5987 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5988 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5989 else
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5991 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5995 with_gettext=yes
5996 with_gettextpo=yes
5997 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6000 test "x$with_gettext" != xno || MSGFMT=false
6001 if test "$MSGFMT" != "false"
6002 then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6004 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6005 cat >conftest.po <<EOF
6006 # comment
6007 msgctxt "ctxt"
6008 msgid "id"
6009 msgstr "str"
6011 if $MSGFMT -o /dev/null conftest.po 2>&5
6012 then
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6014 $as_echo "yes" >&6; }
6015 else
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6017 $as_echo "no" >&6; }
6018 MSGFMT=false
6021 if test "$MSGFMT" = false; then :
6022 case "x$with_gettext" in
6023 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6024 xno) ;;
6025 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6026 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6027 esac
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6032 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6033 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6034 $as_echo_n "(cached) " >&6
6035 else
6036 ac_check_lib_save_LIBS=$LIBS
6037 LIBS="-li386 $LIBS"
6038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6039 /* end confdefs.h. */
6041 /* Override any GCC internal prototype to avoid an error.
6042 Use char because int might match the return type of a GCC
6043 builtin and then its argument prototype would still apply. */
6044 #ifdef __cplusplus
6045 extern "C"
6046 #endif
6047 char i386_set_ldt ();
6049 main ()
6051 return i386_set_ldt ();
6053 return 0;
6055 _ACEOF
6056 if ac_fn_c_try_link "$LINENO"; then :
6057 ac_cv_lib_i386_i386_set_ldt=yes
6058 else
6059 ac_cv_lib_i386_i386_set_ldt=no
6061 rm -f core conftest.err conftest.$ac_objext \
6062 conftest$ac_exeext conftest.$ac_ext
6063 LIBS=$ac_check_lib_save_LIBS
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6066 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6067 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6068 cat >>confdefs.h <<_ACEOF
6069 #define HAVE_LIBI386 1
6070 _ACEOF
6072 LIBS="-li386 $LIBS"
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6077 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6078 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6079 $as_echo_n "(cached) " >&6
6080 else
6081 ac_check_lib_save_LIBS=$LIBS
6082 LIBS="-lossaudio $LIBS"
6083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6084 /* end confdefs.h. */
6086 /* Override any GCC internal prototype to avoid an error.
6087 Use char because int might match the return type of a GCC
6088 builtin and then its argument prototype would still apply. */
6089 #ifdef __cplusplus
6090 extern "C"
6091 #endif
6092 char _oss_ioctl ();
6094 main ()
6096 return _oss_ioctl ();
6098 return 0;
6100 _ACEOF
6101 if ac_fn_c_try_link "$LINENO"; then :
6102 ac_cv_lib_ossaudio__oss_ioctl=yes
6103 else
6104 ac_cv_lib_ossaudio__oss_ioctl=no
6106 rm -f core conftest.err conftest.$ac_objext \
6107 conftest$ac_exeext conftest.$ac_ext
6108 LIBS=$ac_check_lib_save_LIBS
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6111 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6112 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6113 cat >>confdefs.h <<_ACEOF
6114 #define HAVE_LIBOSSAUDIO 1
6115 _ACEOF
6117 LIBS="-lossaudio $LIBS"
6122 OPENGL_LIBS=""
6126 # Check whether --enable-largefile was given.
6127 if test "${enable_largefile+set}" = set; then :
6128 enableval=$enable_largefile;
6131 if test "$enable_largefile" != no; then
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6134 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6135 if ${ac_cv_sys_largefile_CC+:} false; then :
6136 $as_echo_n "(cached) " >&6
6137 else
6138 ac_cv_sys_largefile_CC=no
6139 if test "$GCC" != yes; then
6140 ac_save_CC=$CC
6141 while :; do
6142 # IRIX 6.2 and later do not support large files by default,
6143 # so use the C compiler's -n32 option if that helps.
6144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6145 /* end confdefs.h. */
6146 #include <sys/types.h>
6147 /* Check that off_t can represent 2**63 - 1 correctly.
6148 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6149 since some C++ compilers masquerading as C compilers
6150 incorrectly reject 9223372036854775807. */
6151 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6152 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6153 && LARGE_OFF_T % 2147483647 == 1)
6154 ? 1 : -1];
6156 main ()
6160 return 0;
6162 _ACEOF
6163 if ac_fn_c_try_compile "$LINENO"; then :
6164 break
6166 rm -f core conftest.err conftest.$ac_objext
6167 CC="$CC -n32"
6168 if ac_fn_c_try_compile "$LINENO"; then :
6169 ac_cv_sys_largefile_CC=' -n32'; break
6171 rm -f core conftest.err conftest.$ac_objext
6172 break
6173 done
6174 CC=$ac_save_CC
6175 rm -f conftest.$ac_ext
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6179 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6180 if test "$ac_cv_sys_largefile_CC" != no; then
6181 CC=$CC$ac_cv_sys_largefile_CC
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6185 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6186 if ${ac_cv_sys_file_offset_bits+:} false; then :
6187 $as_echo_n "(cached) " >&6
6188 else
6189 while :; do
6190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6192 #include <sys/types.h>
6193 /* Check that off_t can represent 2**63 - 1 correctly.
6194 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6195 since some C++ compilers masquerading as C compilers
6196 incorrectly reject 9223372036854775807. */
6197 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6198 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6199 && LARGE_OFF_T % 2147483647 == 1)
6200 ? 1 : -1];
6202 main ()
6206 return 0;
6208 _ACEOF
6209 if ac_fn_c_try_compile "$LINENO"; then :
6210 ac_cv_sys_file_offset_bits=no; break
6212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6214 /* end confdefs.h. */
6215 #define _FILE_OFFSET_BITS 64
6216 #include <sys/types.h>
6217 /* Check that off_t can represent 2**63 - 1 correctly.
6218 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6219 since some C++ compilers masquerading as C compilers
6220 incorrectly reject 9223372036854775807. */
6221 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6222 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6223 && LARGE_OFF_T % 2147483647 == 1)
6224 ? 1 : -1];
6226 main ()
6230 return 0;
6232 _ACEOF
6233 if ac_fn_c_try_compile "$LINENO"; then :
6234 ac_cv_sys_file_offset_bits=64; break
6236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6237 ac_cv_sys_file_offset_bits=unknown
6238 break
6239 done
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6242 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6243 case $ac_cv_sys_file_offset_bits in #(
6244 no | unknown) ;;
6246 cat >>confdefs.h <<_ACEOF
6247 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6248 _ACEOF
6250 esac
6251 rm -rf conftest*
6252 if test $ac_cv_sys_file_offset_bits = unknown; then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6254 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6255 if ${ac_cv_sys_large_files+:} false; then :
6256 $as_echo_n "(cached) " >&6
6257 else
6258 while :; do
6259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6261 #include <sys/types.h>
6262 /* Check that off_t can represent 2**63 - 1 correctly.
6263 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6264 since some C++ compilers masquerading as C compilers
6265 incorrectly reject 9223372036854775807. */
6266 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6267 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6268 && LARGE_OFF_T % 2147483647 == 1)
6269 ? 1 : -1];
6271 main ()
6275 return 0;
6277 _ACEOF
6278 if ac_fn_c_try_compile "$LINENO"; then :
6279 ac_cv_sys_large_files=no; break
6281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6284 #define _LARGE_FILES 1
6285 #include <sys/types.h>
6286 /* Check that off_t can represent 2**63 - 1 correctly.
6287 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6288 since some C++ compilers masquerading as C compilers
6289 incorrectly reject 9223372036854775807. */
6290 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6291 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6292 && LARGE_OFF_T % 2147483647 == 1)
6293 ? 1 : -1];
6295 main ()
6299 return 0;
6301 _ACEOF
6302 if ac_fn_c_try_compile "$LINENO"; then :
6303 ac_cv_sys_large_files=1; break
6305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6306 ac_cv_sys_large_files=unknown
6307 break
6308 done
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6311 $as_echo "$ac_cv_sys_large_files" >&6; }
6312 case $ac_cv_sys_large_files in #(
6313 no | unknown) ;;
6315 cat >>confdefs.h <<_ACEOF
6316 #define _LARGE_FILES $ac_cv_sys_large_files
6317 _ACEOF
6319 esac
6320 rm -rf conftest*
6327 ac_ext=c
6328 ac_cpp='$CPP $CPPFLAGS'
6329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6333 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6334 # On Suns, sometimes $CPP names a directory.
6335 if test -n "$CPP" && test -d "$CPP"; then
6336 CPP=
6338 if test -z "$CPP"; then
6339 if ${ac_cv_prog_CPP+:} false; then :
6340 $as_echo_n "(cached) " >&6
6341 else
6342 # Double quotes because CPP needs to be expanded
6343 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6345 ac_preproc_ok=false
6346 for ac_c_preproc_warn_flag in '' yes
6348 # Use a header file that comes with gcc, so configuring glibc
6349 # with a fresh cross-compiler works.
6350 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6351 # <limits.h> exists even on freestanding compilers.
6352 # On the NeXT, cc -E runs the code through the compiler's parser,
6353 # not just through cpp. "Syntax error" is here to catch this case.
6354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6355 /* end confdefs.h. */
6356 #ifdef __STDC__
6357 # include <limits.h>
6358 #else
6359 # include <assert.h>
6360 #endif
6361 Syntax error
6362 _ACEOF
6363 if ac_fn_c_try_cpp "$LINENO"; then :
6365 else
6366 # Broken: fails on valid input.
6367 continue
6369 rm -f conftest.err conftest.i conftest.$ac_ext
6371 # OK, works on sane cases. Now check whether nonexistent headers
6372 # can be detected and how.
6373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6375 #include <ac_nonexistent.h>
6376 _ACEOF
6377 if ac_fn_c_try_cpp "$LINENO"; then :
6378 # Broken: success on invalid input.
6379 continue
6380 else
6381 # Passes both tests.
6382 ac_preproc_ok=:
6383 break
6385 rm -f conftest.err conftest.i conftest.$ac_ext
6387 done
6388 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6389 rm -f conftest.i conftest.err conftest.$ac_ext
6390 if $ac_preproc_ok; then :
6391 break
6394 done
6395 ac_cv_prog_CPP=$CPP
6398 CPP=$ac_cv_prog_CPP
6399 else
6400 ac_cv_prog_CPP=$CPP
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6403 $as_echo "$CPP" >&6; }
6404 ac_preproc_ok=false
6405 for ac_c_preproc_warn_flag in '' yes
6407 # Use a header file that comes with gcc, so configuring glibc
6408 # with a fresh cross-compiler works.
6409 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6410 # <limits.h> exists even on freestanding compilers.
6411 # On the NeXT, cc -E runs the code through the compiler's parser,
6412 # not just through cpp. "Syntax error" is here to catch this case.
6413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6414 /* end confdefs.h. */
6415 #ifdef __STDC__
6416 # include <limits.h>
6417 #else
6418 # include <assert.h>
6419 #endif
6420 Syntax error
6421 _ACEOF
6422 if ac_fn_c_try_cpp "$LINENO"; then :
6424 else
6425 # Broken: fails on valid input.
6426 continue
6428 rm -f conftest.err conftest.i conftest.$ac_ext
6430 # OK, works on sane cases. Now check whether nonexistent headers
6431 # can be detected and how.
6432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6433 /* end confdefs.h. */
6434 #include <ac_nonexistent.h>
6435 _ACEOF
6436 if ac_fn_c_try_cpp "$LINENO"; then :
6437 # Broken: success on invalid input.
6438 continue
6439 else
6440 # Passes both tests.
6441 ac_preproc_ok=:
6442 break
6444 rm -f conftest.err conftest.i conftest.$ac_ext
6446 done
6447 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6448 rm -f conftest.i conftest.err conftest.$ac_ext
6449 if $ac_preproc_ok; then :
6451 else
6452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6454 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6455 See \`config.log' for more details" "$LINENO" 5; }
6458 ac_ext=c
6459 ac_cpp='$CPP $CPPFLAGS'
6460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6466 $as_echo_n "checking for ANSI C header files... " >&6; }
6467 if ${ac_cv_header_stdc+:} false; then :
6468 $as_echo_n "(cached) " >&6
6469 else
6470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6471 /* end confdefs.h. */
6472 #include <stdlib.h>
6473 #include <stdarg.h>
6474 #include <string.h>
6475 #include <float.h>
6478 main ()
6482 return 0;
6484 _ACEOF
6485 if ac_fn_c_try_compile "$LINENO"; then :
6486 ac_cv_header_stdc=yes
6487 else
6488 ac_cv_header_stdc=no
6490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6492 if test $ac_cv_header_stdc = yes; then
6493 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6495 /* end confdefs.h. */
6496 #include <string.h>
6498 _ACEOF
6499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6500 $EGREP "memchr" >/dev/null 2>&1; then :
6502 else
6503 ac_cv_header_stdc=no
6505 rm -f conftest*
6509 if test $ac_cv_header_stdc = yes; then
6510 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6513 #include <stdlib.h>
6515 _ACEOF
6516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6517 $EGREP "free" >/dev/null 2>&1; then :
6519 else
6520 ac_cv_header_stdc=no
6522 rm -f conftest*
6526 if test $ac_cv_header_stdc = yes; then
6527 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6528 if test "$cross_compiling" = yes; then :
6530 else
6531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6532 /* end confdefs.h. */
6533 #include <ctype.h>
6534 #include <stdlib.h>
6535 #if ((' ' & 0x0FF) == 0x020)
6536 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6537 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6538 #else
6539 # define ISLOWER(c) \
6540 (('a' <= (c) && (c) <= 'i') \
6541 || ('j' <= (c) && (c) <= 'r') \
6542 || ('s' <= (c) && (c) <= 'z'))
6543 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6544 #endif
6546 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6548 main ()
6550 int i;
6551 for (i = 0; i < 256; i++)
6552 if (XOR (islower (i), ISLOWER (i))
6553 || toupper (i) != TOUPPER (i))
6554 return 2;
6555 return 0;
6557 _ACEOF
6558 if ac_fn_c_try_run "$LINENO"; then :
6560 else
6561 ac_cv_header_stdc=no
6563 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6564 conftest.$ac_objext conftest.beam conftest.$ac_ext
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6570 $as_echo "$ac_cv_header_stdc" >&6; }
6571 if test $ac_cv_header_stdc = yes; then
6573 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6577 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6578 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6579 inttypes.h stdint.h unistd.h
6580 do :
6581 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6582 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6584 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6585 cat >>confdefs.h <<_ACEOF
6586 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6587 _ACEOF
6591 done
6594 for ac_header in \
6595 AL/al.h \
6596 ApplicationServices/ApplicationServices.h \
6597 AudioToolbox/AudioConverter.h \
6598 AudioUnit/AudioUnit.h \
6599 AudioUnit/AudioComponent.h \
6600 CL/cl.h \
6601 Carbon/Carbon.h \
6602 CoreAudio/CoreAudio.h \
6603 CoreServices/CoreServices.h \
6604 DiskArbitration/DiskArbitration.h \
6605 IOKit/IOKitLib.h \
6606 IOKit/hid/IOHIDLib.h \
6607 OpenAL/al.h \
6608 OpenCL/opencl.h \
6609 QuickTime/ImageCompression.h \
6610 Security/Security.h \
6611 alias.h \
6612 alsa/asoundlib.h \
6613 arpa/inet.h \
6614 arpa/nameser.h \
6615 asm/types.h \
6616 asm/user.h \
6617 curses.h \
6618 direct.h \
6619 dirent.h \
6620 dlfcn.h \
6621 elf.h \
6622 float.h \
6623 fnmatch.h \
6624 getopt.h \
6625 gettext-po.h \
6626 grp.h \
6627 gsm.h \
6628 gsm/gsm.h \
6629 ieeefp.h \
6630 inet/mib2.h \
6631 io.h \
6632 kstat.h \
6633 lber.h \
6634 ldap.h \
6635 libproc.h \
6636 link.h \
6637 linux/cdrom.h \
6638 linux/compiler.h \
6639 linux/filter.h \
6640 linux/hdreg.h \
6641 linux/input.h \
6642 linux/ioctl.h \
6643 linux/joystick.h \
6644 linux/major.h \
6645 linux/param.h \
6646 linux/serial.h \
6647 linux/types.h \
6648 linux/ucdrom.h \
6649 lwp.h \
6650 mach-o/nlist.h \
6651 mach-o/loader.h \
6652 mach/mach.h \
6653 mach/machine.h \
6654 machine/cpu.h \
6655 machine/limits.h \
6656 machine/sysarch.h \
6657 mntent.h \
6658 ncurses.h \
6659 netdb.h \
6660 netinet/in.h \
6661 netinet/in_systm.h \
6662 netinet/tcp.h \
6663 netinet/tcp_fsm.h \
6664 pcap/pcap.h \
6665 poll.h \
6666 port.h \
6667 process.h \
6668 pthread.h \
6669 pwd.h \
6670 sched.h \
6671 scsi/scsi.h \
6672 scsi/scsi_ioctl.h \
6673 scsi/sg.h \
6674 stdbool.h \
6675 stdint.h \
6676 stropts.h \
6677 sys/asoundlib.h \
6678 sys/attr.h \
6679 sys/cdio.h \
6680 sys/elf32.h \
6681 sys/epoll.h \
6682 sys/event.h \
6683 sys/exec_elf.h \
6684 sys/filio.h \
6685 sys/inotify.h \
6686 sys/ioctl.h \
6687 sys/ipc.h \
6688 sys/limits.h \
6689 sys/link.h \
6690 sys/mman.h \
6691 sys/modem.h \
6692 sys/msg.h \
6693 sys/mtio.h \
6694 sys/param.h \
6695 sys/poll.h \
6696 sys/prctl.h \
6697 sys/protosw.h \
6698 sys/ptrace.h \
6699 sys/queue.h \
6700 sys/resource.h \
6701 sys/scsiio.h \
6702 sys/shm.h \
6703 sys/signal.h \
6704 sys/socket.h \
6705 sys/socketvar.h \
6706 sys/sockio.h \
6707 sys/statvfs.h \
6708 sys/strtio.h \
6709 sys/syscall.h \
6710 sys/tihdr.h \
6711 sys/time.h \
6712 sys/timeout.h \
6713 sys/times.h \
6714 sys/uio.h \
6715 sys/user.h \
6716 sys/utsname.h \
6717 sys/vm86.h \
6718 sys/vnode.h \
6719 sys/wait.h \
6720 syscall.h \
6721 termios.h \
6722 unistd.h \
6723 utime.h \
6724 valgrind/memcheck.h \
6725 valgrind/valgrind.h \
6726 zlib.h
6728 do :
6729 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6730 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6732 cat >>confdefs.h <<_ACEOF
6733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6734 _ACEOF
6738 done
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6741 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6742 if ${ac_cv_header_stat_broken+:} false; then :
6743 $as_echo_n "(cached) " >&6
6744 else
6745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6746 /* end confdefs.h. */
6747 #include <sys/types.h>
6748 #include <sys/stat.h>
6750 #if defined S_ISBLK && defined S_IFDIR
6751 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6752 #endif
6754 #if defined S_ISBLK && defined S_IFCHR
6755 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6756 #endif
6758 #if defined S_ISLNK && defined S_IFREG
6759 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6760 #endif
6762 #if defined S_ISSOCK && defined S_IFREG
6763 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6764 #endif
6766 _ACEOF
6767 if ac_fn_c_try_compile "$LINENO"; then :
6768 ac_cv_header_stat_broken=no
6769 else
6770 ac_cv_header_stat_broken=yes
6772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6775 $as_echo "$ac_cv_header_stat_broken" >&6; }
6776 if test $ac_cv_header_stat_broken = yes; then
6778 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6784 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6785 do :
6786 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6787 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6788 #ifdef HAVE_SYS_PARAM_H
6789 # include <sys/param.h>
6790 #endif
6792 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6793 cat >>confdefs.h <<_ACEOF
6794 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6795 _ACEOF
6799 done
6802 for ac_header in \
6803 netinet/ip.h \
6804 net/if.h \
6805 net/if_arp.h \
6806 net/if_dl.h \
6807 net/if_types.h \
6808 net/route.h \
6809 netinet/if_ether.h \
6810 netinet/if_inarp.h \
6811 netinet/in_pcb.h \
6812 netinet/ip_icmp.h \
6813 netinet/ip_var.h \
6814 netinet/udp.h \
6815 netipx/ipx.h \
6816 sys/un.h \
6818 do :
6819 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6820 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6821 #ifdef HAVE_SYS_SOCKET_H
6822 # include <sys/socket.h>
6823 #endif
6824 #ifdef HAVE_SYS_SOCKETVAR_H
6825 # include <sys/socketvar.h>
6826 #endif
6827 #ifdef HAVE_NET_ROUTE_H
6828 # include <net/route.h>
6829 #endif
6830 #ifdef HAVE_NETINET_IN_H
6831 # include <netinet/in.h>
6832 #endif
6833 #ifdef HAVE_NETINET_IN_SYSTM_H
6834 # include <netinet/in_systm.h>
6835 #endif
6836 #ifdef HAVE_NET_IF_H
6837 # include <net/if.h>
6838 #endif
6839 #ifdef HAVE_NETINET_IP_H
6840 # include <netinet/ip.h>
6841 #endif
6843 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6844 cat >>confdefs.h <<_ACEOF
6845 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6846 _ACEOF
6850 done
6853 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6854 do :
6855 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6856 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6857 #ifdef HAVE_ALIAS_H
6858 # include <alias.h>
6859 #endif
6860 #ifdef HAVE_SYS_SOCKET_H
6861 # include <sys/socket.h>
6862 #endif
6863 #ifdef HAVE_SYS_SOCKETVAR_H
6864 # include <sys/socketvar.h>
6865 #endif
6866 #ifdef HAVE_SYS_TIMEOUT_H
6867 # include <sys/timeout.h>
6868 #endif
6869 #ifdef HAVE_NETINET_IN_H
6870 # include <netinet/in.h>
6871 #endif
6872 #ifdef HAVE_NETINET_IN_SYSTM_H
6873 # include <netinet/in_systm.h>
6874 #endif
6875 #ifdef HAVE_NETINET_IP_H
6876 # include <netinet/ip.h>
6877 #endif
6878 #ifdef HAVE_NETINET_IP_VAR_H
6879 # include <netinet/ip_var.h>
6880 #endif
6881 #ifdef HAVE_NETINET_IP_ICMP_H
6882 # include <netinet/ip_icmp.h>
6883 #endif
6884 #ifdef HAVE_NETINET_UDP_H
6885 # include <netinet/udp.h>
6886 #endif
6887 #ifdef HAVE_NETINET_TCP_H
6888 # include <netinet/tcp.h>
6889 #endif
6890 #ifdef HAVE_NETINET_TCP_TIMER_H
6891 #include <netinet/tcp_timer.h>
6892 #endif
6894 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6895 cat >>confdefs.h <<_ACEOF
6896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6897 _ACEOF
6901 done
6904 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6905 do :
6906 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6907 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6908 #ifdef HAVE_ASM_TYPES_H
6909 # include <asm/types.h>
6910 #endif
6911 #ifdef HAVE_SYS_SOCKET_H
6912 # include <sys/socket.h>
6913 #endif
6914 #ifdef HAVE_LINUX_TYPES_H
6915 # include <linux/types.h>
6916 #endif
6918 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6919 cat >>confdefs.h <<_ACEOF
6920 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6921 _ACEOF
6925 done
6928 for ac_header in mach-o/dyld_images.h
6929 do :
6930 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6931 # include <stdbool.h>
6932 #endif
6933 #ifdef HAVE_STDINT_H
6934 # include <stdint.h>
6935 #endif
6937 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6938 cat >>confdefs.h <<_ACEOF
6939 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6940 _ACEOF
6944 done
6947 for ac_header in resolv.h
6948 do :
6949 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6950 #ifdef HAVE_SYS_SOCKET_H
6951 # include <sys/socket.h>
6952 #endif
6953 #ifdef HAVE_NETINET_IN_H
6954 # include <netinet/in.h>
6955 #endif
6956 #ifdef HAVE_ARPA_NAMESER_H
6957 # include <arpa/nameser.h>
6958 #endif
6960 if test "x$ac_cv_header_resolv_h" = xyes; then :
6961 cat >>confdefs.h <<_ACEOF
6962 #define HAVE_RESOLV_H 1
6963 _ACEOF
6967 done
6970 for ac_header in ifaddrs.h
6971 do :
6972 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6974 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6975 cat >>confdefs.h <<_ACEOF
6976 #define HAVE_IFADDRS_H 1
6977 _ACEOF
6981 done
6984 for ac_header in sys/ucontext.h
6985 do :
6986 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6988 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6989 cat >>confdefs.h <<_ACEOF
6990 #define HAVE_SYS_UCONTEXT_H 1
6991 _ACEOF
6995 done
6998 for ac_header in sys/thr.h
6999 do :
7000 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7001 #ifdef HAVE_SYS_UCONTEXT_H
7002 #include <sys/ucontext.h>
7003 #endif
7005 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7006 cat >>confdefs.h <<_ACEOF
7007 #define HAVE_SYS_THR_H 1
7008 _ACEOF
7012 done
7015 for ac_header in pthread_np.h
7016 do :
7017 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7018 #include <pthread.h>
7019 #endif
7021 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7022 cat >>confdefs.h <<_ACEOF
7023 #define HAVE_PTHREAD_NP_H 1
7024 _ACEOF
7028 done
7031 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7032 do :
7033 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7034 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7035 #include <sys/time.h>
7036 #endif
7037 #include <sys/types.h>
7038 #ifdef HAVE_ASM_TYPES_H
7039 #include <asm/types.h>
7040 #endif
7042 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7043 cat >>confdefs.h <<_ACEOF
7044 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7045 _ACEOF
7049 done
7052 for ac_header in libprocstat.h
7053 do :
7054 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7055 #include <sys/param.h>
7056 #endif
7057 #ifdef HAVE_SYS_QUEUE_H
7058 #include <sys/queue.h>
7059 #endif
7060 #ifdef HAVE_SYS_SOCKET_H
7061 #include <sys/socket.h>
7062 #endif
7064 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7065 cat >>confdefs.h <<_ACEOF
7066 #define HAVE_LIBPROCSTAT_H 1
7067 _ACEOF
7071 done
7075 dlldir="\${libdir}/wine"
7077 DLLPREFIX=""
7079 DLLFLAGS="-D_REENTRANT"
7081 LDRPATH_INSTALL=""
7083 LDRPATH_LOCAL=""
7085 LIBEXT="so"
7086 DLLEXT=".so"
7087 IMPLIBEXT="def"
7088 STATIC_IMPLIBEXT="def.a"
7089 # Extract the first word of "ldd", so it can be a program name with args.
7090 set dummy ldd; ac_word=$2
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 $as_echo_n "checking for $ac_word... " >&6; }
7093 if ${ac_cv_path_LDD+:} false; then :
7094 $as_echo_n "(cached) " >&6
7095 else
7096 case $LDD in
7097 [\\/]* | ?:[\\/]*)
7098 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 as_dummy="/sbin:/usr/sbin:$PATH"
7103 for as_dir in $as_dummy
7105 IFS=$as_save_IFS
7106 test -z "$as_dir" && as_dir=.
7107 for ac_exec_ext in '' $ac_executable_extensions; do
7108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7109 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7111 break 2
7113 done
7114 done
7115 IFS=$as_save_IFS
7117 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7119 esac
7121 LDD=$ac_cv_path_LDD
7122 if test -n "$LDD"; then
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7124 $as_echo "$LDD" >&6; }
7125 else
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 $as_echo "no" >&6; }
7131 if test -n "$ac_tool_prefix"; then
7132 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7133 set dummy ${ac_tool_prefix}otool; ac_word=$2
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135 $as_echo_n "checking for $ac_word... " >&6; }
7136 if ${ac_cv_prog_OTOOL+:} false; then :
7137 $as_echo_n "(cached) " >&6
7138 else
7139 if test -n "$OTOOL"; then
7140 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7141 else
7142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7143 for as_dir in $PATH
7145 IFS=$as_save_IFS
7146 test -z "$as_dir" && as_dir=.
7147 for ac_exec_ext in '' $ac_executable_extensions; do
7148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7149 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7151 break 2
7153 done
7154 done
7155 IFS=$as_save_IFS
7159 OTOOL=$ac_cv_prog_OTOOL
7160 if test -n "$OTOOL"; then
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7162 $as_echo "$OTOOL" >&6; }
7163 else
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7165 $as_echo "no" >&6; }
7170 if test -z "$ac_cv_prog_OTOOL"; then
7171 ac_ct_OTOOL=$OTOOL
7172 # Extract the first word of "otool", so it can be a program name with args.
7173 set dummy otool; ac_word=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 $as_echo_n "checking for $ac_word... " >&6; }
7176 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7177 $as_echo_n "(cached) " >&6
7178 else
7179 if test -n "$ac_ct_OTOOL"; then
7180 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7181 else
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7183 for as_dir in $PATH
7185 IFS=$as_save_IFS
7186 test -z "$as_dir" && as_dir=.
7187 for ac_exec_ext in '' $ac_executable_extensions; do
7188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7189 ac_cv_prog_ac_ct_OTOOL="otool"
7190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7191 break 2
7193 done
7194 done
7195 IFS=$as_save_IFS
7199 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7200 if test -n "$ac_ct_OTOOL"; then
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7202 $as_echo "$ac_ct_OTOOL" >&6; }
7203 else
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205 $as_echo "no" >&6; }
7208 if test "x$ac_ct_OTOOL" = x; then
7209 OTOOL="otool"
7210 else
7211 case $cross_compiling:$ac_tool_warned in
7212 yes:)
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7215 ac_tool_warned=yes ;;
7216 esac
7217 OTOOL=$ac_ct_OTOOL
7219 else
7220 OTOOL="$ac_cv_prog_OTOOL"
7223 if test -n "$ac_tool_prefix"; then
7224 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7225 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227 $as_echo_n "checking for $ac_word... " >&6; }
7228 if ${ac_cv_prog_READELF+:} false; then :
7229 $as_echo_n "(cached) " >&6
7230 else
7231 if test -n "$READELF"; then
7232 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7233 else
7234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7235 for as_dir in $PATH
7237 IFS=$as_save_IFS
7238 test -z "$as_dir" && as_dir=.
7239 for ac_exec_ext in '' $ac_executable_extensions; do
7240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7241 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7243 break 2
7245 done
7246 done
7247 IFS=$as_save_IFS
7251 READELF=$ac_cv_prog_READELF
7252 if test -n "$READELF"; then
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7254 $as_echo "$READELF" >&6; }
7255 else
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7257 $as_echo "no" >&6; }
7262 if test -z "$ac_cv_prog_READELF"; then
7263 ac_ct_READELF=$READELF
7264 # Extract the first word of "readelf", so it can be a program name with args.
7265 set dummy readelf; ac_word=$2
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7267 $as_echo_n "checking for $ac_word... " >&6; }
7268 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7269 $as_echo_n "(cached) " >&6
7270 else
7271 if test -n "$ac_ct_READELF"; then
7272 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7273 else
7274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7275 for as_dir in $PATH
7277 IFS=$as_save_IFS
7278 test -z "$as_dir" && as_dir=.
7279 for ac_exec_ext in '' $ac_executable_extensions; do
7280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7281 ac_cv_prog_ac_ct_READELF="readelf"
7282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7283 break 2
7285 done
7286 done
7287 IFS=$as_save_IFS
7291 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7292 if test -n "$ac_ct_READELF"; then
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7294 $as_echo "$ac_ct_READELF" >&6; }
7295 else
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7297 $as_echo "no" >&6; }
7300 if test "x$ac_ct_READELF" = x; then
7301 READELF="true"
7302 else
7303 case $cross_compiling:$ac_tool_warned in
7304 yes:)
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7307 ac_tool_warned=yes ;;
7308 esac
7309 READELF=$ac_ct_READELF
7311 else
7312 READELF="$ac_cv_prog_READELF"
7315 wine_rules_file=conf$$rules.make
7316 rm -f $wine_rules_file
7317 ALL_POT_FILES=""
7318 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7319 ALL_TEST_RESOURCES=""
7322 wine_fn_append_file ()
7324 as_fn_append $1 " \\$as_nl $2"
7327 wine_fn_ignore_file ()
7329 case "$1" in
7330 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7331 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7332 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7333 esac
7336 wine_fn_append_rule ()
7338 $as_echo "$1" >>$wine_rules_file
7341 wine_fn_has_flag ()
7343 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7346 wine_fn_depend_rules ()
7348 wine_fn_append_rule \
7349 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7350 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7351 depend: $ac_dir/depend
7352 .PHONY: $ac_dir/depend
7353 $ac_dir/depend: \$(MAKEDEP) dummy
7354 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7357 wine_fn_pot_rules ()
7359 test "x$with_gettextpo" = xyes || return
7361 if wine_fn_has_flag mc
7362 then
7363 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7364 wine_fn_append_rule \
7365 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7366 @cd $ac_dir && \$(MAKE) msg.pot
7367 $ac_dir/msg.pot: tools/wmc include"
7369 if wine_fn_has_flag po
7370 then
7371 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7372 wine_fn_append_rule \
7373 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7374 @cd $ac_dir && \$(MAKE) rsrc.pot
7375 $ac_dir/rsrc.pot: tools/wrc include"
7379 wine_fn_all_rules ()
7381 wine_fn_depend_rules
7382 wine_fn_append_rule \
7383 "all: $ac_dir
7384 .PHONY: $ac_dir
7385 $ac_dir: $ac_dir/Makefile dummy
7386 @cd $ac_dir && \$(MAKE)"
7389 wine_fn_install_rules ()
7391 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7393 wine_fn_append_rule \
7394 ".PHONY: $ac_dir/install $ac_dir/uninstall
7395 $ac_dir/install:: $ac_dir
7396 @cd $ac_dir && \$(MAKE) install
7397 $ac_dir/uninstall:: $ac_dir/Makefile
7398 @cd $ac_dir && \$(MAKE) uninstall
7399 install:: $ac_dir/install
7400 __uninstall__: $ac_dir/uninstall"
7402 if wine_fn_has_flag install-lib
7403 then
7404 wine_fn_append_rule \
7405 ".PHONY: $ac_dir/install-lib
7406 $ac_dir/install-lib:: $ac_dir
7407 @cd $ac_dir && \$(MAKE) install-lib
7408 install-lib:: $ac_dir/install-lib"
7411 if wine_fn_has_flag install-dev
7412 then
7413 wine_fn_append_rule \
7414 ".PHONY: $ac_dir/install-dev
7415 $ac_dir/install-dev:: $ac_dir
7416 @cd $ac_dir && \$(MAKE) install-dev
7417 install-dev:: $ac_dir/install-dev"
7421 wine_fn_clean_rules ()
7423 ac_clean=$@
7424 ac_extraclean="$ac_dir/Makefile"
7425 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7426 case $ac_dir in
7427 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7428 esac
7430 if wine_fn_has_flag clean
7431 then
7432 wine_fn_append_rule \
7433 "__clean__: $ac_dir/clean
7434 .PHONY: $ac_dir/clean
7435 $ac_dir/clean: $ac_dir/Makefile
7436 @cd $ac_dir && \$(MAKE) clean
7437 \$(RM) $ac_extraclean"
7438 else
7439 wine_fn_append_rule \
7440 "__clean__: $ac_dir/clean
7441 .PHONY: $ac_dir/clean
7442 $ac_dir/clean: dummy
7443 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7447 wine_fn_disabled_rules ()
7449 ac_clean=$@
7450 ac_extraclean="$ac_dir/Makefile"
7451 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7453 wine_fn_append_rule \
7454 "__clean__: $ac_dir/clean
7455 .PHONY: $ac_dir/clean
7456 $ac_dir/clean: dummy
7457 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7460 wine_fn_config_makefile ()
7462 ac_dir=$1
7463 ac_enable=$2
7464 ac_flags=$3
7466 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7467 wine_fn_disabled_rules; return
7469 wine_fn_all_rules
7470 wine_fn_install_rules
7471 wine_fn_clean_rules
7474 wine_fn_config_lib ()
7476 ac_name=$1
7477 ac_flags=$2
7478 ac_dir=dlls/$ac_name
7479 ac_deps="include"
7481 if test "x$enable_tools" = xno; then :
7483 else
7484 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7486 wine_fn_all_rules
7487 wine_fn_clean_rules
7489 wine_fn_append_rule \
7490 ".PHONY: $ac_dir/install $ac_dir/uninstall
7491 $ac_dir/install:: $ac_dir
7492 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7493 $ac_dir/uninstall::
7494 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7495 install install-dev:: $ac_dir/install
7496 __uninstall__: $ac_dir/uninstall
7497 __builddeps__: $ac_dir
7498 $ac_dir: $ac_deps"
7501 wine_fn_config_dll ()
7503 ac_name=$1
7504 ac_dir=dlls/$ac_name
7505 ac_enable=$2
7506 ac_flags=$3
7507 ac_implib=${4:-$ac_name}
7508 ac_file=$ac_dir/lib$ac_implib
7509 ac_dll=$ac_name
7510 ac_deps="include"
7511 ac_implibflags=""
7513 if test "x$enable_tools" = xno; then :
7515 else
7516 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7518 case $ac_name in
7519 *16) ac_implibflags=" -m16" ;;
7520 *.*) ;;
7521 *) ac_dll=$ac_dll.dll ;;
7522 esac
7524 ac_clean=
7525 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7526 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7527 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7528 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7530 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7531 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7532 then
7533 wine_fn_depend_rules
7534 wine_fn_clean_rules $ac_clean
7535 else
7536 wine_fn_disabled_rules $ac_clean
7537 return
7539 else
7540 wine_fn_all_rules
7541 wine_fn_clean_rules $ac_clean
7542 wine_fn_append_rule \
7543 "$ac_dir: __builddeps__
7544 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7545 @cd $ac_dir && \$(MAKE) \$@
7546 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7547 install install-lib:: $ac_dir/install-lib
7548 __uninstall__: $ac_dir/uninstall"
7549 if test -n "$DLLEXT"
7550 then
7551 wine_fn_append_rule \
7552 "$ac_dir/install-lib:: $ac_dir
7553 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7554 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7555 $ac_dir/uninstall::
7556 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7557 else
7558 wine_fn_append_rule \
7559 "$ac_dir/install-lib:: $ac_dir
7560 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7561 $ac_dir/uninstall::
7562 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7565 wine_fn_pot_rules
7568 if wine_fn_has_flag staticimplib
7569 then
7570 wine_fn_append_rule \
7571 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7572 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7573 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7574 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7575 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7576 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7577 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7578 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7579 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7580 $ac_dir/uninstall::
7581 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7582 install install-dev:: $ac_dir/install-dev
7583 __uninstall__: $ac_dir/uninstall"
7585 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7586 then
7587 wine_fn_append_rule \
7588 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7589 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7590 $ac_dir/uninstall::
7591 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7594 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7595 then
7596 wine_fn_append_rule \
7597 "__builddeps__: $ac_file.cross.a
7598 $ac_file.cross.a: $ac_dir/Makefile dummy
7599 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7602 elif wine_fn_has_flag implib
7603 then
7604 wine_fn_append_rule \
7605 "__builddeps__: $ac_file.$IMPLIBEXT
7606 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7607 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7608 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7609 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7610 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7611 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7612 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7613 $ac_dir/uninstall::
7614 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7615 install install-dev:: $ac_dir/install-dev
7616 __uninstall__: $ac_dir/uninstall"
7617 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7618 then
7619 wine_fn_append_rule \
7620 "__builddeps__: $ac_file.cross.a
7621 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7622 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7625 if test "$ac_name" != "$ac_implib"
7626 then
7627 wine_fn_append_rule \
7628 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7629 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7630 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7631 clean::
7632 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7633 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7634 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7635 then
7636 wine_fn_append_rule \
7637 "__builddeps__: dlls/lib$ac_implib.cross.a
7638 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7639 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7640 clean::
7641 \$(RM) dlls/lib$ac_implib.cross.a"
7642 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7648 wine_fn_config_program ()
7650 ac_name=$1
7651 ac_dir=programs/$ac_name
7652 ac_enable=$2
7653 ac_flags=$3
7654 ac_program=$ac_name
7656 case $ac_name in
7657 *.*) ;;
7658 *) ac_program=$ac_program.exe ;;
7659 esac
7661 ac_clean=
7662 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7663 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7664 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7665 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7667 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7668 wine_fn_disabled_rules $ac_clean; return
7671 wine_fn_all_rules
7672 wine_fn_clean_rules $ac_clean
7673 wine_fn_append_rule "$ac_dir: __builddeps__"
7674 wine_fn_pot_rules
7676 wine_fn_has_flag install || return
7677 wine_fn_append_rule \
7678 ".PHONY: $ac_dir/install $ac_dir/uninstall
7679 install install-lib:: $ac_dir/install
7680 __uninstall__: $ac_dir/uninstall"
7682 if test -n "$DLLEXT"
7683 then
7684 wine_fn_append_rule \
7685 "$ac_dir/install:: $ac_dir
7686 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7687 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7688 $ac_dir/uninstall::
7689 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7691 if test -z "$with_wine64" && wine_fn_has_flag installbin
7692 then
7693 wine_fn_append_rule \
7694 "$ac_dir/install:: __tooldeps__
7695 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7696 $ac_dir/uninstall::
7697 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7699 else
7700 wine_fn_append_rule \
7701 "$ac_dir/install:: $ac_dir
7702 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7703 $ac_dir/uninstall::
7704 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7707 if test -z "$with_wine64" && wine_fn_has_flag manpage
7708 then
7709 wine_fn_append_rule \
7710 "$ac_dir/install:: $ac_dir
7711 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7712 $ac_dir/uninstall::
7713 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7717 wine_fn_config_test ()
7719 ac_dir=$1
7720 ac_name=$2
7721 ac_flags=$3
7723 ac_clean=
7724 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7725 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7727 if test "x$enable_tests" = xno; then :
7728 wine_fn_disabled_rules $ac_clean; return
7731 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7732 wine_fn_all_rules
7733 wine_fn_clean_rules $ac_clean
7735 wine_fn_append_rule \
7736 "$ac_dir: programs/winetest/Makefile __builddeps__
7737 programs/winetest: $ac_dir
7738 check test: $ac_dir/test
7739 .PHONY: $ac_dir/test
7740 $ac_dir/test: dummy
7741 @cd $ac_dir && \$(MAKE) test
7742 testclean::
7743 \$(RM) $ac_dir/*.ok"
7745 if test -n "$CROSSTARGET"
7746 then
7747 wine_fn_append_rule \
7748 "crosstest: $ac_dir/crosstest
7749 .PHONY: $ac_dir/crosstest
7750 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7751 @cd $ac_dir && \$(MAKE) crosstest"
7755 wine_fn_config_tool ()
7757 ac_dir=$1
7758 ac_flags=$2
7759 if test "x$enable_tools" = xno; then :
7760 return
7763 wine_fn_all_rules
7764 wine_fn_install_rules
7765 wine_fn_clean_rules
7767 wine_fn_append_rule "__tooldeps__: $ac_dir"
7768 wine_fn_append_rule "$ac_dir: libs/port"
7769 case $ac_dir in
7770 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7771 esac
7774 wine_fn_config_symlink ()
7776 ac_linkdir=
7777 if test "x$1" = "x-d"
7778 then
7779 ac_linkdir=$2
7780 shift; shift
7782 ac_links=$@
7783 wine_fn_append_rule \
7784 "$ac_links:
7785 @./config.status \$@
7786 distclean::
7787 \$(RM) $ac_links"
7788 for f in $ac_links; do wine_fn_ignore_file $f; done
7789 test -n "$ac_linkdir" || return
7790 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7793 wine_binary="wine"
7794 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7795 loader_programs="$wine_binary wine-installed"
7796 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7798 LOADER_RULES="
7799 all: wine.inf
7801 install install-lib:: wine-installed
7802 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7804 uninstall::
7805 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7809 case $host_os in
7810 cygwin*|mingw32*)
7811 if test -n "$ac_tool_prefix"; then
7812 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7813 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7815 $as_echo_n "checking for $ac_word... " >&6; }
7816 if ${ac_cv_prog_DLLTOOL+:} false; then :
7817 $as_echo_n "(cached) " >&6
7818 else
7819 if test -n "$DLLTOOL"; then
7820 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7821 else
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7823 for as_dir in $PATH
7825 IFS=$as_save_IFS
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7829 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7831 break 2
7833 done
7834 done
7835 IFS=$as_save_IFS
7839 DLLTOOL=$ac_cv_prog_DLLTOOL
7840 if test -n "$DLLTOOL"; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7842 $as_echo "$DLLTOOL" >&6; }
7843 else
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7845 $as_echo "no" >&6; }
7850 if test -z "$ac_cv_prog_DLLTOOL"; then
7851 ac_ct_DLLTOOL=$DLLTOOL
7852 # Extract the first word of "dlltool", so it can be a program name with args.
7853 set dummy dlltool; ac_word=$2
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7855 $as_echo_n "checking for $ac_word... " >&6; }
7856 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7857 $as_echo_n "(cached) " >&6
7858 else
7859 if test -n "$ac_ct_DLLTOOL"; then
7860 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7861 else
7862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863 for as_dir in $PATH
7865 IFS=$as_save_IFS
7866 test -z "$as_dir" && as_dir=.
7867 for ac_exec_ext in '' $ac_executable_extensions; do
7868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7869 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7871 break 2
7873 done
7874 done
7875 IFS=$as_save_IFS
7879 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7880 if test -n "$ac_ct_DLLTOOL"; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7882 $as_echo "$ac_ct_DLLTOOL" >&6; }
7883 else
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7885 $as_echo "no" >&6; }
7888 if test "x$ac_ct_DLLTOOL" = x; then
7889 DLLTOOL="false"
7890 else
7891 case $cross_compiling:$ac_tool_warned in
7892 yes:)
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7895 ac_tool_warned=yes ;;
7896 esac
7897 DLLTOOL=$ac_ct_DLLTOOL
7899 else
7900 DLLTOOL="$ac_cv_prog_DLLTOOL"
7903 LIBEXT="dll"
7904 DLLEXT=""
7905 IMPLIBEXT="a"
7906 STATIC_IMPLIBEXT="a"
7907 enable_iphlpapi=${enable_iphlpapi:-no}
7908 enable_kernel32=${enable_kernel32:-no}
7909 enable_msvcrt=${enable_msvcrt:-no}
7910 enable_ntdll=${enable_ntdll:-no}
7911 enable_ws2_32=${enable_ws2_32:-no}
7912 enable_loader=${enable_loader:-no}
7913 enable_server=${enable_server:-no}
7914 with_x=${with_x:-no}
7915 with_pthread=${with_pthread:-no}
7917 crtlibs=""
7918 case $host_os in
7919 mingw32*)
7920 crtlibs="-lmsvcrt"
7921 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7923 esac
7925 libwine_targets="libwine.dll libwine.a"
7926 LIBWINE_RULES="
7927 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7929 all: libwine.dll libwine.a
7931 libwine.a: \$(srcdir)/wine.def
7932 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7934 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7935 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7937 install install-lib:: libwine.dll
7938 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7940 install install-dev:: libwine.a
7941 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7943 uninstall::
7944 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7949 darwin*|macosx*)
7950 for ac_header in libunwind.h
7951 do :
7952 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7954 cat >>confdefs.h <<_ACEOF
7955 #define HAVE_LIBUNWIND_H 1
7956 _ACEOF
7960 done
7962 LIBEXT="dylib"
7963 DLLFLAGS="$DLLFLAGS -fPIC"
7964 LIBWINE_LDFLAGS="-multiply_defined suppress"
7965 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7966 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7967 COREFOUNDATION_LIBS="-framework CoreFoundation"
7969 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7971 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7973 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7975 CORESERVICES_LIBS="-framework CoreServices"
7977 APPKIT_LIBS="-framework AppKit"
7979 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7981 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7982 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7983 $as_echo_n "(cached) " >&6
7984 else
7985 ac_wine_try_cflags_saved=$CFLAGS
7986 CFLAGS="$CFLAGS -Wl,-no_pie"
7987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7988 /* end confdefs.h. */
7989 int main(int argc, char **argv) { return 0; }
7990 _ACEOF
7991 if ac_fn_c_try_link "$LINENO"; then :
7992 ac_cv_cflags__Wl__no_pie=yes
7993 else
7994 ac_cv_cflags__Wl__no_pie=no
7996 rm -f core conftest.err conftest.$ac_objext \
7997 conftest$ac_exeext conftest.$ac_ext
7998 CFLAGS=$ac_wine_try_cflags_saved
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8001 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8002 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8003 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8005 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8006 then
8007 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8010 if test "$ac_cv_header_Security_Security_h" = "yes"
8011 then
8012 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8014 ac_save_LIBS="$LIBS"
8015 LIBS="$LIBS $SECURITY_LIBS"
8016 for ac_func in SSLCopyPeerCertificates
8017 do :
8018 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8019 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8020 cat >>confdefs.h <<_ACEOF
8021 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8022 _ACEOF
8025 done
8027 LIBS="$ac_save_LIBS"
8028 with_gnutls=${with_gnutls:-no}
8030 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8031 then
8032 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8033 then
8034 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8036 else
8037 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8040 ac_save_LIBS="$LIBS"
8041 LIBS="$LIBS $COREAUDIO_LIBS"
8042 for ac_func in AUGraphAddNode
8043 do :
8044 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8045 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8046 cat >>confdefs.h <<_ACEOF
8047 #define HAVE_AUGRAPHADDNODE 1
8048 _ACEOF
8051 done
8053 LIBS="$ac_save_LIBS"
8055 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8056 then
8057 OPENAL_LIBS="-framework OpenAL"
8060 cat >>confdefs.h <<_ACEOF
8061 #define HAVE_OPENAL 1
8062 _ACEOF
8064 ac_cv_lib_openal=yes
8066 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8067 then
8068 OPENCL_LIBS="-framework OpenCL"
8070 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8072 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8073 then
8074 ac_save_LIBS="$LIBS"
8075 LIBS="$LIBS $IOKIT_LIBS"
8076 for ac_func in IOHIDManagerCreate
8077 do :
8078 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8079 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8080 cat >>confdefs.h <<_ACEOF
8081 #define HAVE_IOHIDMANAGERCREATE 1
8082 _ACEOF
8085 done
8087 LIBS="$ac_save_LIBS"
8089 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8090 then
8091 ac_save_LIBS="$LIBS"
8092 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8094 $as_echo_n "checking for the QuickTime framework... " >&6; }
8095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8096 /* end confdefs.h. */
8097 #include <QuickTime/ImageCompression.h>
8099 main ()
8101 CodecManagerVersion(NULL);
8103 return 0;
8105 _ACEOF
8106 if ac_fn_c_try_link "$LINENO"; then :
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8108 $as_echo "yes" >&6; }
8109 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8111 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8112 else
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8114 $as_echo "no" >&6; }
8115 ac_cv_header_QuickTime_ImageCompression_h=no
8117 rm -f core conftest.err conftest.$ac_objext \
8118 conftest$ac_exeext conftest.$ac_ext
8119 LIBS="$ac_save_LIBS"
8121 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8122 then
8123 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8125 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8126 then
8127 CARBON_LIBS="-framework Carbon"
8131 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8132 then
8133 ac_save_LIBS="$LIBS"
8134 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8135 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8136 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8137 enable_winemac_drv=${enable_winemac_drv:-yes}
8140 LIBS="$ac_save_LIBS"
8143 if test "x$enable_win16" = "xyes"
8144 then
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8146 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8147 if test "$cross_compiling" = yes; then :
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8149 $as_echo "cross-compiling, assuming yes" >&6; }
8150 else
8151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8152 /* end confdefs.h. */
8153 asm(".text\n"
8154 "bad:\tnop;nop\n"
8155 "good:\tnop;nop\n\t"
8156 ".globl _testfunc\n"
8157 "_testfunc:\tcallw good");
8158 extern void testfunc();
8160 main ()
8162 unsigned short *p = (unsigned short *)testfunc;
8163 return p[0] != 0xe866 || p[1] != 0xfffa
8165 return 0;
8167 _ACEOF
8168 if ac_fn_c_try_run "$LINENO"; then :
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8170 $as_echo "yes" >&6; }
8171 else
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8173 $as_echo "no" >&6; }
8174 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
8176 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8177 conftest.$ac_objext conftest.beam conftest.$ac_ext
8182 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8183 LIBWINE_RULES="
8184 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8186 all: libwine.dylib
8188 libwine.$libwine_version.dylib: \$(OBJS)
8189 \$(CC) -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8191 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8192 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8194 libwine.dylib: libwine.$libwine_soversion.dylib
8195 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8197 install install-lib:: libwine.$libwine_version.dylib
8198 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8199 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8201 install install-dev::
8202 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8204 uninstall::
8205 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8209 as_fn_append LOADER_RULES "
8210 $wine_binary: main.o wine_info.plist
8211 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8213 wine-installed: main.o wine_info.plist
8214 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8218 linux-android*)
8219 DLLFLAGS="$DLLFLAGS -fPIC"
8220 DLLPREFIX="lib"
8221 LDEXECFLAGS=""
8222 dlldir="\${libdir}"
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8224 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8225 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8226 $as_echo_n "(cached) " >&6
8227 else
8228 ac_wine_try_cflags_saved=$CFLAGS
8229 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8231 /* end confdefs.h. */
8232 int main(int argc, char **argv) { return 0; }
8233 _ACEOF
8234 if ac_fn_c_try_link "$LINENO"; then :
8235 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8236 else
8237 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8239 rm -f core conftest.err conftest.$ac_objext \
8240 conftest$ac_exeext conftest.$ac_ext
8241 CFLAGS=$ac_wine_try_cflags_saved
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8244 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8245 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8246 LDEXECFLAGS="-Wl,--export-dynamic"
8248 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8250 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8251 if eval \${$as_ac_var+:} false; then :
8252 $as_echo_n "(cached) " >&6
8253 else
8254 ac_wine_try_cflags_saved=$CFLAGS
8255 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8257 /* end confdefs.h. */
8258 int main(int argc, char **argv) { return 0; }
8259 _ACEOF
8260 if ac_fn_c_try_link "$LINENO"; then :
8261 eval "$as_ac_var=yes"
8262 else
8263 eval "$as_ac_var=no"
8265 rm -f core conftest.err conftest.$ac_objext \
8266 conftest$ac_exeext conftest.$ac_ext
8267 CFLAGS=$ac_wine_try_cflags_saved
8269 eval ac_res=\$$as_ac_var
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8271 $as_echo "$ac_res" >&6; }
8272 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8273 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8274 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8275 else
8276 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8278 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8279 if eval \${$as_ac_var+:} false; then :
8280 $as_echo_n "(cached) " >&6
8281 else
8282 ac_wine_try_cflags_saved=$CFLAGS
8283 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8285 /* end confdefs.h. */
8286 int main(int argc, char **argv) { return 0; }
8287 _ACEOF
8288 if ac_fn_c_try_link "$LINENO"; then :
8289 eval "$as_ac_var=yes"
8290 else
8291 eval "$as_ac_var=no"
8293 rm -f core conftest.err conftest.$ac_objext \
8294 conftest$ac_exeext conftest.$ac_ext
8295 CFLAGS=$ac_wine_try_cflags_saved
8297 eval ac_res=\$$as_ac_var
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8299 $as_echo "$ac_res" >&6; }
8300 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8301 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8302 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8307 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8308 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8309 $as_echo_n "(cached) " >&6
8310 else
8311 ac_wine_try_cflags_saved=$CFLAGS
8312 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8314 /* end confdefs.h. */
8315 int main(int argc, char **argv) { return 0; }
8316 _ACEOF
8317 if ac_fn_c_try_link "$LINENO"; then :
8318 ac_cv_cflags__Wl___enable_new_dtags=yes
8319 else
8320 ac_cv_cflags__Wl___enable_new_dtags=no
8322 rm -f core conftest.err conftest.$ac_objext \
8323 conftest$ac_exeext conftest.$ac_ext
8324 CFLAGS=$ac_wine_try_cflags_saved
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8327 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8328 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8329 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8332 case $host_cpu in
8333 *i[3456789]86* | x86_64)
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8335 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8336 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8337 $as_echo_n "(cached) " >&6
8338 else
8339 ac_wine_try_cflags_saved=$CFLAGS
8340 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8342 /* end confdefs.h. */
8343 int main(int argc, char **argv) { return 0; }
8344 _ACEOF
8345 if ac_fn_c_try_link "$LINENO"; then :
8346 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8347 else
8348 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8350 rm -f core conftest.err conftest.$ac_objext \
8351 conftest$ac_exeext conftest.$ac_ext
8352 CFLAGS=$ac_wine_try_cflags_saved
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8355 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8356 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8357 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8360 esac
8362 libwine_targets="libwine.so"
8363 LIBWINE_RULES="
8364 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8366 all: libwine.so
8368 libwine.so: \$(OBJS)
8369 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8371 install install-lib:: libwine.so
8372 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8374 uninstall::
8375 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8379 as_fn_append LOADER_RULES "
8380 $wine_binary: main.o
8381 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8383 wine-installed: main.o
8384 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8389 DLLFLAGS="$DLLFLAGS -fPIC"
8390 LDEXECFLAGS=""
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8392 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8393 if ${ac_cv_c_dll_gnuelf+:} false; then :
8394 $as_echo_n "(cached) " >&6
8395 else
8396 ac_wine_try_cflags_saved=$CFLAGS
8397 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8400 void myfunc() {}
8401 _ACEOF
8402 if ac_fn_c_try_link "$LINENO"; then :
8403 ac_cv_c_dll_gnuelf="yes"
8404 else
8405 ac_cv_c_dll_gnuelf="no"
8407 rm -f core conftest.err conftest.$ac_objext \
8408 conftest$ac_exeext conftest.$ac_ext
8409 CFLAGS=$ac_wine_try_cflags_saved
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8412 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8413 if test "$ac_cv_c_dll_gnuelf" = "yes"
8414 then
8415 LDSHARED="\$(CC) -shared"
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8417 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8418 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8419 $as_echo_n "(cached) " >&6
8420 else
8421 ac_wine_try_cflags_saved=$CFLAGS
8422 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8425 int main(int argc, char **argv) { return 0; }
8426 _ACEOF
8427 if ac_fn_c_try_link "$LINENO"; then :
8428 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8429 else
8430 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8432 rm -f core conftest.err conftest.$ac_objext \
8433 conftest$ac_exeext conftest.$ac_ext
8434 CFLAGS=$ac_wine_try_cflags_saved
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8437 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8438 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8439 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8440 else
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8442 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8443 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8444 $as_echo_n "(cached) " >&6
8445 else
8446 ac_wine_try_cflags_saved=$CFLAGS
8447 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8450 int main(int argc, char **argv) { return 0; }
8451 _ACEOF
8452 if ac_fn_c_try_link "$LINENO"; then :
8453 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8454 else
8455 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8457 rm -f core conftest.err conftest.$ac_objext \
8458 conftest$ac_exeext conftest.$ac_ext
8459 CFLAGS=$ac_wine_try_cflags_saved
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8462 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8463 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8464 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8468 echo '{ global: *; };' >conftest.map
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8470 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8471 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8472 $as_echo_n "(cached) " >&6
8473 else
8474 ac_wine_try_cflags_saved=$CFLAGS
8475 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8478 int main(int argc, char **argv) { return 0; }
8479 _ACEOF
8480 if ac_fn_c_try_link "$LINENO"; then :
8481 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8482 else
8483 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8485 rm -f core conftest.err conftest.$ac_objext \
8486 conftest$ac_exeext conftest.$ac_ext
8487 CFLAGS=$ac_wine_try_cflags_saved
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8490 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8491 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8492 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8494 rm -f conftest.map
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8497 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8498 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8499 $as_echo_n "(cached) " >&6
8500 else
8501 ac_wine_try_cflags_saved=$CFLAGS
8502 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8504 /* end confdefs.h. */
8505 int main(int argc, char **argv) { return 0; }
8506 _ACEOF
8507 if ac_fn_c_try_link "$LINENO"; then :
8508 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8509 else
8510 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8512 rm -f core conftest.err conftest.$ac_objext \
8513 conftest$ac_exeext conftest.$ac_ext
8514 CFLAGS=$ac_wine_try_cflags_saved
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8517 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8518 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8519 LDEXECFLAGS="-Wl,--export-dynamic"
8522 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8524 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8525 if eval \${$as_ac_var+:} false; then :
8526 $as_echo_n "(cached) " >&6
8527 else
8528 ac_wine_try_cflags_saved=$CFLAGS
8529 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8532 int main(int argc, char **argv) { return 0; }
8533 _ACEOF
8534 if ac_fn_c_try_link "$LINENO"; then :
8535 eval "$as_ac_var=yes"
8536 else
8537 eval "$as_ac_var=no"
8539 rm -f core conftest.err conftest.$ac_objext \
8540 conftest$ac_exeext conftest.$ac_ext
8541 CFLAGS=$ac_wine_try_cflags_saved
8543 eval ac_res=\$$as_ac_var
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8545 $as_echo "$ac_res" >&6; }
8546 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8547 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8548 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8549 else
8550 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8552 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8553 if eval \${$as_ac_var+:} false; then :
8554 $as_echo_n "(cached) " >&6
8555 else
8556 ac_wine_try_cflags_saved=$CFLAGS
8557 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 int main(int argc, char **argv) { return 0; }
8561 _ACEOF
8562 if ac_fn_c_try_link "$LINENO"; then :
8563 eval "$as_ac_var=yes"
8564 else
8565 eval "$as_ac_var=no"
8567 rm -f core conftest.err conftest.$ac_objext \
8568 conftest$ac_exeext conftest.$ac_ext
8569 CFLAGS=$ac_wine_try_cflags_saved
8571 eval ac_res=\$$as_ac_var
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8573 $as_echo "$ac_res" >&6; }
8574 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8575 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8576 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8581 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8582 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8583 $as_echo_n "(cached) " >&6
8584 else
8585 ac_wine_try_cflags_saved=$CFLAGS
8586 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8588 /* end confdefs.h. */
8589 int main(int argc, char **argv) { return 0; }
8590 _ACEOF
8591 if ac_fn_c_try_link "$LINENO"; then :
8592 ac_cv_cflags__Wl___enable_new_dtags=yes
8593 else
8594 ac_cv_cflags__Wl___enable_new_dtags=no
8596 rm -f core conftest.err conftest.$ac_objext \
8597 conftest$ac_exeext conftest.$ac_ext
8598 CFLAGS=$ac_wine_try_cflags_saved
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8601 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8602 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8603 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8606 case $host_cpu in
8607 *i[3456789]86* | x86_64)
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8609 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8610 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8611 $as_echo_n "(cached) " >&6
8612 else
8613 ac_wine_try_cflags_saved=$CFLAGS
8614 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h. */
8617 int main(int argc, char **argv) { return 0; }
8618 _ACEOF
8619 if ac_fn_c_try_link "$LINENO"; then :
8620 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8621 else
8622 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8624 rm -f core conftest.err conftest.$ac_objext \
8625 conftest$ac_exeext conftest.$ac_ext
8626 CFLAGS=$ac_wine_try_cflags_saved
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8629 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8630 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8631 case $host_os in
8632 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8633 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8634 esac
8637 # Extract the first word of "prelink", so it can be a program name with args.
8638 set dummy prelink; ac_word=$2
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8640 $as_echo_n "checking for $ac_word... " >&6; }
8641 if ${ac_cv_path_PRELINK+:} false; then :
8642 $as_echo_n "(cached) " >&6
8643 else
8644 case $PRELINK in
8645 [\\/]* | ?:[\\/]*)
8646 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8650 for as_dir in /sbin /usr/sbin $PATH
8652 IFS=$as_save_IFS
8653 test -z "$as_dir" && as_dir=.
8654 for ac_exec_ext in '' $ac_executable_extensions; do
8655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8656 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8658 break 2
8660 done
8661 done
8662 IFS=$as_save_IFS
8664 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8666 esac
8668 PRELINK=$ac_cv_path_PRELINK
8669 if test -n "$PRELINK"; then
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8671 $as_echo "$PRELINK" >&6; }
8672 else
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8674 $as_echo "no" >&6; }
8678 if test "x$PRELINK" = xfalse
8679 then
8680 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8683 esac
8685 else
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8687 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8688 if ${ac_cv_c_dll_unixware+:} false; then :
8689 $as_echo_n "(cached) " >&6
8690 else
8691 ac_wine_try_cflags_saved=$CFLAGS
8692 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8694 /* end confdefs.h. */
8695 void myfunc() {}
8696 _ACEOF
8697 if ac_fn_c_try_link "$LINENO"; then :
8698 ac_cv_c_dll_unixware="yes"
8699 else
8700 ac_cv_c_dll_unixware="no"
8702 rm -f core conftest.err conftest.$ac_objext \
8703 conftest$ac_exeext conftest.$ac_ext
8704 CFLAGS=$ac_wine_try_cflags_saved
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8707 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8708 if test "$ac_cv_c_dll_unixware" = "yes"
8709 then
8710 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8713 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8714 LIBWINE_RULES="
8715 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8717 all: libwine.so
8719 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8720 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8722 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8723 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8725 libwine.so: libwine.so.$libwine_soversion
8726 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8728 install install-lib:: libwine.so.$libwine_version
8729 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8730 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8732 install install-dev::
8733 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8735 uninstall::
8736 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8740 as_fn_append LOADER_RULES "
8741 $wine_binary: main.o
8742 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8744 wine-installed: main.o
8745 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8748 esac
8750 as_fn_append LIBWINE_RULES "
8751 EXTRA_TARGETS = $libwine_targets
8754 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8755 enable_winemac_drv=${enable_winemac_drv:-no}
8757 CROSSTARGET=""
8759 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8760 then
8761 case "$host_cpu" in
8762 i[3456789]86*)
8763 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
8764 mingw32-gcc" ;;
8765 x86_64)
8766 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 " ;;
8768 ac_prefix_list="" ;;
8769 esac
8770 for ac_prog in $ac_prefix_list
8772 # Extract the first word of "$ac_prog", so it can be a program name with args.
8773 set dummy $ac_prog; ac_word=$2
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8775 $as_echo_n "checking for $ac_word... " >&6; }
8776 if ${ac_cv_prog_CROSSCC+:} false; then :
8777 $as_echo_n "(cached) " >&6
8778 else
8779 if test -n "$CROSSCC"; then
8780 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8781 else
8782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8783 for as_dir in $PATH
8785 IFS=$as_save_IFS
8786 test -z "$as_dir" && as_dir=.
8787 for ac_exec_ext in '' $ac_executable_extensions; do
8788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8789 ac_cv_prog_CROSSCC="$ac_prog"
8790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8791 break 2
8793 done
8794 done
8795 IFS=$as_save_IFS
8799 CROSSCC=$ac_cv_prog_CROSSCC
8800 if test -n "$CROSSCC"; then
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8802 $as_echo "$CROSSCC" >&6; }
8803 else
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8805 $as_echo "no" >&6; }
8809 test -n "$CROSSCC" && break
8810 done
8811 test -n "$CROSSCC" || CROSSCC="false"
8813 if test "$CROSSCC" != "false"
8814 then
8815 ac_save_CC="$CC"
8816 CC="$CROSSCC"
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8818 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8823 main ()
8827 return 0;
8829 _ACEOF
8830 if ac_fn_c_try_compile "$LINENO"; then :
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8832 $as_echo "yes" >&6; }
8833 set x $CROSSCC
8834 shift
8835 while test $# -ge 1
8837 case "$1" in
8838 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8839 esac
8840 shift
8841 done
8842 else
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8844 $as_echo "no" >&6; }
8846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8847 CC="$ac_save_CC"
8852 if test "$ac_cv_header_pthread_h" = "yes"
8853 then
8854 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8855 if test "x$ac_cv_func_pthread_create" = xyes; then :
8857 else
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8859 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8860 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8861 $as_echo_n "(cached) " >&6
8862 else
8863 ac_check_lib_save_LIBS=$LIBS
8864 LIBS="-lpthread $LIBS"
8865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8866 /* end confdefs.h. */
8868 /* Override any GCC internal prototype to avoid an error.
8869 Use char because int might match the return type of a GCC
8870 builtin and then its argument prototype would still apply. */
8871 #ifdef __cplusplus
8872 extern "C"
8873 #endif
8874 char pthread_create ();
8876 main ()
8878 return pthread_create ();
8880 return 0;
8882 _ACEOF
8883 if ac_fn_c_try_link "$LINENO"; then :
8884 ac_cv_lib_pthread_pthread_create=yes
8885 else
8886 ac_cv_lib_pthread_pthread_create=no
8888 rm -f core conftest.err conftest.$ac_objext \
8889 conftest$ac_exeext conftest.$ac_ext
8890 LIBS=$ac_check_lib_save_LIBS
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8893 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8894 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8895 PTHREAD_LIBS="-lpthread"
8902 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8903 case "x$with_pthread" in
8904 xno) ;;
8905 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8906 Wine cannot support threads without libpthread.
8907 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8908 esac
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8913 $as_echo_n "checking for X... " >&6; }
8916 # Check whether --with-x was given.
8917 if test "${with_x+set}" = set; then :
8918 withval=$with_x;
8921 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8922 if test "x$with_x" = xno; then
8923 # The user explicitly disabled X.
8924 have_x=disabled
8925 else
8926 case $x_includes,$x_libraries in #(
8927 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8928 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8929 $as_echo_n "(cached) " >&6
8930 else
8931 # One or both of the vars are not set, and there is no cached value.
8932 ac_x_includes=no ac_x_libraries=no
8933 rm -f -r conftest.dir
8934 if mkdir conftest.dir; then
8935 cd conftest.dir
8936 cat >Imakefile <<'_ACEOF'
8937 incroot:
8938 @echo incroot='${INCROOT}'
8939 usrlibdir:
8940 @echo usrlibdir='${USRLIBDIR}'
8941 libdir:
8942 @echo libdir='${LIBDIR}'
8943 _ACEOF
8944 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8945 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8946 for ac_var in incroot usrlibdir libdir; do
8947 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8948 done
8949 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8950 for ac_extension in a so sl dylib la dll; do
8951 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8952 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8953 ac_im_usrlibdir=$ac_im_libdir; break
8955 done
8956 # Screen out bogus values from the imake configuration. They are
8957 # bogus both because they are the default anyway, and because
8958 # using them would break gcc on systems where it needs fixed includes.
8959 case $ac_im_incroot in
8960 /usr/include) ac_x_includes= ;;
8961 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8962 esac
8963 case $ac_im_usrlibdir in
8964 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8965 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8966 esac
8968 cd ..
8969 rm -f -r conftest.dir
8972 # Standard set of common directories for X headers.
8973 # Check X11 before X11Rn because it is often a symlink to the current release.
8974 ac_x_header_dirs='
8975 /usr/X11/include
8976 /usr/X11R7/include
8977 /usr/X11R6/include
8978 /usr/X11R5/include
8979 /usr/X11R4/include
8981 /usr/include/X11
8982 /usr/include/X11R7
8983 /usr/include/X11R6
8984 /usr/include/X11R5
8985 /usr/include/X11R4
8987 /usr/local/X11/include
8988 /usr/local/X11R7/include
8989 /usr/local/X11R6/include
8990 /usr/local/X11R5/include
8991 /usr/local/X11R4/include
8993 /usr/local/include/X11
8994 /usr/local/include/X11R7
8995 /usr/local/include/X11R6
8996 /usr/local/include/X11R5
8997 /usr/local/include/X11R4
8999 /usr/X386/include
9000 /usr/x386/include
9001 /usr/XFree86/include/X11
9003 /usr/include
9004 /usr/local/include
9005 /usr/unsupported/include
9006 /usr/athena/include
9007 /usr/local/x11r5/include
9008 /usr/lpp/Xamples/include
9010 /usr/openwin/include
9011 /usr/openwin/share/include'
9013 if test "$ac_x_includes" = no; then
9014 # Guess where to find include files, by looking for Xlib.h.
9015 # First, try using that file with no special directory specified.
9016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9017 /* end confdefs.h. */
9018 #include <X11/Xlib.h>
9019 _ACEOF
9020 if ac_fn_c_try_cpp "$LINENO"; then :
9021 # We can compile using X headers with no special include directory.
9022 ac_x_includes=
9023 else
9024 for ac_dir in $ac_x_header_dirs; do
9025 if test -r "$ac_dir/X11/Xlib.h"; then
9026 ac_x_includes=$ac_dir
9027 break
9029 done
9031 rm -f conftest.err conftest.i conftest.$ac_ext
9032 fi # $ac_x_includes = no
9034 if test "$ac_x_libraries" = no; then
9035 # Check for the libraries.
9036 # See if we find them without any special options.
9037 # Don't add to $LIBS permanently.
9038 ac_save_LIBS=$LIBS
9039 LIBS="-lX11 $LIBS"
9040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9041 /* end confdefs.h. */
9042 #include <X11/Xlib.h>
9044 main ()
9046 XrmInitialize ()
9048 return 0;
9050 _ACEOF
9051 if ac_fn_c_try_link "$LINENO"; then :
9052 LIBS=$ac_save_LIBS
9053 # We can link X programs with no special library path.
9054 ac_x_libraries=
9055 else
9056 LIBS=$ac_save_LIBS
9057 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9059 # Don't even attempt the hair of trying to link an X program!
9060 for ac_extension in a so sl dylib la dll; do
9061 if test -r "$ac_dir/libX11.$ac_extension"; then
9062 ac_x_libraries=$ac_dir
9063 break 2
9065 done
9066 done
9068 rm -f core conftest.err conftest.$ac_objext \
9069 conftest$ac_exeext conftest.$ac_ext
9070 fi # $ac_x_libraries = no
9072 case $ac_x_includes,$ac_x_libraries in #(
9073 no,* | *,no | *\'*)
9074 # Didn't find X, or a directory has "'" in its name.
9075 ac_cv_have_x="have_x=no";; #(
9077 # Record where we found X for the cache.
9078 ac_cv_have_x="have_x=yes\
9079 ac_x_includes='$ac_x_includes'\
9080 ac_x_libraries='$ac_x_libraries'"
9081 esac
9083 ;; #(
9084 *) have_x=yes;;
9085 esac
9086 eval "$ac_cv_have_x"
9087 fi # $with_x != no
9089 if test "$have_x" != yes; then
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9091 $as_echo "$have_x" >&6; }
9092 no_x=yes
9093 else
9094 # If each of the values was on the command line, it overrides each guess.
9095 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9096 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9097 # Update the cache value to reflect the command line values.
9098 ac_cv_have_x="have_x=yes\
9099 ac_x_includes='$x_includes'\
9100 ac_x_libraries='$x_libraries'"
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9102 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9105 if test "$no_x" = yes; then
9106 # Not all programs may use this symbol, but it does not hurt to define it.
9108 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9110 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9111 else
9112 if test -n "$x_includes"; then
9113 X_CFLAGS="$X_CFLAGS -I$x_includes"
9116 # It would also be nice to do this for all -L options, not just this one.
9117 if test -n "$x_libraries"; then
9118 X_LIBS="$X_LIBS -L$x_libraries"
9119 # For Solaris; some versions of Sun CC require a space after -R and
9120 # others require no space. Words are not sufficient . . . .
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9122 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9123 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9124 ac_xsave_c_werror_flag=$ac_c_werror_flag
9125 ac_c_werror_flag=yes
9126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9127 /* end confdefs.h. */
9130 main ()
9134 return 0;
9136 _ACEOF
9137 if ac_fn_c_try_link "$LINENO"; then :
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9139 $as_echo "no" >&6; }
9140 X_LIBS="$X_LIBS -R$x_libraries"
9141 else
9142 LIBS="$ac_xsave_LIBS -R $x_libraries"
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9147 main ()
9151 return 0;
9153 _ACEOF
9154 if ac_fn_c_try_link "$LINENO"; then :
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9156 $as_echo "yes" >&6; }
9157 X_LIBS="$X_LIBS -R $x_libraries"
9158 else
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9160 $as_echo "neither works" >&6; }
9162 rm -f core conftest.err conftest.$ac_objext \
9163 conftest$ac_exeext conftest.$ac_ext
9165 rm -f core conftest.err conftest.$ac_objext \
9166 conftest$ac_exeext conftest.$ac_ext
9167 ac_c_werror_flag=$ac_xsave_c_werror_flag
9168 LIBS=$ac_xsave_LIBS
9171 # Check for system-dependent libraries X programs must link with.
9172 # Do this before checking for the system-independent R6 libraries
9173 # (-lICE), since we may need -lsocket or whatever for X linking.
9175 if test "$ISC" = yes; then
9176 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9177 else
9178 # Martyn Johnson says this is needed for Ultrix, if the X
9179 # libraries were built with DECnet support. And Karl Berry says
9180 # the Alpha needs dnet_stub (dnet does not exist).
9181 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9183 /* end confdefs.h. */
9185 /* Override any GCC internal prototype to avoid an error.
9186 Use char because int might match the return type of a GCC
9187 builtin and then its argument prototype would still apply. */
9188 #ifdef __cplusplus
9189 extern "C"
9190 #endif
9191 char XOpenDisplay ();
9193 main ()
9195 return XOpenDisplay ();
9197 return 0;
9199 _ACEOF
9200 if ac_fn_c_try_link "$LINENO"; then :
9202 else
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9204 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9205 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9206 $as_echo_n "(cached) " >&6
9207 else
9208 ac_check_lib_save_LIBS=$LIBS
9209 LIBS="-ldnet $LIBS"
9210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9213 /* Override any GCC internal prototype to avoid an error.
9214 Use char because int might match the return type of a GCC
9215 builtin and then its argument prototype would still apply. */
9216 #ifdef __cplusplus
9217 extern "C"
9218 #endif
9219 char dnet_ntoa ();
9221 main ()
9223 return dnet_ntoa ();
9225 return 0;
9227 _ACEOF
9228 if ac_fn_c_try_link "$LINENO"; then :
9229 ac_cv_lib_dnet_dnet_ntoa=yes
9230 else
9231 ac_cv_lib_dnet_dnet_ntoa=no
9233 rm -f core conftest.err conftest.$ac_objext \
9234 conftest$ac_exeext conftest.$ac_ext
9235 LIBS=$ac_check_lib_save_LIBS
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9238 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9239 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9240 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9243 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9245 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9246 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9247 $as_echo_n "(cached) " >&6
9248 else
9249 ac_check_lib_save_LIBS=$LIBS
9250 LIBS="-ldnet_stub $LIBS"
9251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9252 /* end confdefs.h. */
9254 /* Override any GCC internal prototype to avoid an error.
9255 Use char because int might match the return type of a GCC
9256 builtin and then its argument prototype would still apply. */
9257 #ifdef __cplusplus
9258 extern "C"
9259 #endif
9260 char dnet_ntoa ();
9262 main ()
9264 return dnet_ntoa ();
9266 return 0;
9268 _ACEOF
9269 if ac_fn_c_try_link "$LINENO"; then :
9270 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9271 else
9272 ac_cv_lib_dnet_stub_dnet_ntoa=no
9274 rm -f core conftest.err conftest.$ac_objext \
9275 conftest$ac_exeext conftest.$ac_ext
9276 LIBS=$ac_check_lib_save_LIBS
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9279 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9280 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9281 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9286 rm -f core conftest.err conftest.$ac_objext \
9287 conftest$ac_exeext conftest.$ac_ext
9288 LIBS="$ac_xsave_LIBS"
9290 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9291 # to get the SysV transport functions.
9292 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9293 # needs -lnsl.
9294 # The nsl library prevents programs from opening the X display
9295 # on Irix 5.2, according to T.E. Dickey.
9296 # The functions gethostbyname, getservbyname, and inet_addr are
9297 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9298 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9299 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9303 if test $ac_cv_func_gethostbyname = no; then
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9305 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9306 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9307 $as_echo_n "(cached) " >&6
9308 else
9309 ac_check_lib_save_LIBS=$LIBS
9310 LIBS="-lnsl $LIBS"
9311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h. */
9314 /* Override any GCC internal prototype to avoid an error.
9315 Use char because int might match the return type of a GCC
9316 builtin and then its argument prototype would still apply. */
9317 #ifdef __cplusplus
9318 extern "C"
9319 #endif
9320 char gethostbyname ();
9322 main ()
9324 return gethostbyname ();
9326 return 0;
9328 _ACEOF
9329 if ac_fn_c_try_link "$LINENO"; then :
9330 ac_cv_lib_nsl_gethostbyname=yes
9331 else
9332 ac_cv_lib_nsl_gethostbyname=no
9334 rm -f core conftest.err conftest.$ac_objext \
9335 conftest$ac_exeext conftest.$ac_ext
9336 LIBS=$ac_check_lib_save_LIBS
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9339 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9340 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9341 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9344 if test $ac_cv_lib_nsl_gethostbyname = no; then
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9346 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9347 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9348 $as_echo_n "(cached) " >&6
9349 else
9350 ac_check_lib_save_LIBS=$LIBS
9351 LIBS="-lbsd $LIBS"
9352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9353 /* end confdefs.h. */
9355 /* Override any GCC internal prototype to avoid an error.
9356 Use char because int might match the return type of a GCC
9357 builtin and then its argument prototype would still apply. */
9358 #ifdef __cplusplus
9359 extern "C"
9360 #endif
9361 char gethostbyname ();
9363 main ()
9365 return gethostbyname ();
9367 return 0;
9369 _ACEOF
9370 if ac_fn_c_try_link "$LINENO"; then :
9371 ac_cv_lib_bsd_gethostbyname=yes
9372 else
9373 ac_cv_lib_bsd_gethostbyname=no
9375 rm -f core conftest.err conftest.$ac_objext \
9376 conftest$ac_exeext conftest.$ac_ext
9377 LIBS=$ac_check_lib_save_LIBS
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9380 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9381 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9382 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9388 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9389 # socket/setsockopt and other routines are undefined under SCO ODT
9390 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9391 # on later versions), says Simon Leinen: it contains gethostby*
9392 # variants that don't use the name server (or something). -lsocket
9393 # must be given before -lnsl if both are needed. We assume that
9394 # if connect needs -lnsl, so does gethostbyname.
9395 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9396 if test "x$ac_cv_func_connect" = xyes; then :
9400 if test $ac_cv_func_connect = no; then
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9402 $as_echo_n "checking for connect in -lsocket... " >&6; }
9403 if ${ac_cv_lib_socket_connect+:} false; then :
9404 $as_echo_n "(cached) " >&6
9405 else
9406 ac_check_lib_save_LIBS=$LIBS
9407 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9409 /* end confdefs.h. */
9411 /* Override any GCC internal prototype to avoid an error.
9412 Use char because int might match the return type of a GCC
9413 builtin and then its argument prototype would still apply. */
9414 #ifdef __cplusplus
9415 extern "C"
9416 #endif
9417 char connect ();
9419 main ()
9421 return connect ();
9423 return 0;
9425 _ACEOF
9426 if ac_fn_c_try_link "$LINENO"; then :
9427 ac_cv_lib_socket_connect=yes
9428 else
9429 ac_cv_lib_socket_connect=no
9431 rm -f core conftest.err conftest.$ac_objext \
9432 conftest$ac_exeext conftest.$ac_ext
9433 LIBS=$ac_check_lib_save_LIBS
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9436 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9437 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9438 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9443 # Guillermo Gomez says -lposix is necessary on A/UX.
9444 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9445 if test "x$ac_cv_func_remove" = xyes; then :
9449 if test $ac_cv_func_remove = no; then
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9451 $as_echo_n "checking for remove in -lposix... " >&6; }
9452 if ${ac_cv_lib_posix_remove+:} false; then :
9453 $as_echo_n "(cached) " >&6
9454 else
9455 ac_check_lib_save_LIBS=$LIBS
9456 LIBS="-lposix $LIBS"
9457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9460 /* Override any GCC internal prototype to avoid an error.
9461 Use char because int might match the return type of a GCC
9462 builtin and then its argument prototype would still apply. */
9463 #ifdef __cplusplus
9464 extern "C"
9465 #endif
9466 char remove ();
9468 main ()
9470 return remove ();
9472 return 0;
9474 _ACEOF
9475 if ac_fn_c_try_link "$LINENO"; then :
9476 ac_cv_lib_posix_remove=yes
9477 else
9478 ac_cv_lib_posix_remove=no
9480 rm -f core conftest.err conftest.$ac_objext \
9481 conftest$ac_exeext conftest.$ac_ext
9482 LIBS=$ac_check_lib_save_LIBS
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9485 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9486 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9487 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9492 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9493 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9494 if test "x$ac_cv_func_shmat" = xyes; then :
9498 if test $ac_cv_func_shmat = no; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9500 $as_echo_n "checking for shmat in -lipc... " >&6; }
9501 if ${ac_cv_lib_ipc_shmat+:} false; then :
9502 $as_echo_n "(cached) " >&6
9503 else
9504 ac_check_lib_save_LIBS=$LIBS
9505 LIBS="-lipc $LIBS"
9506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9507 /* end confdefs.h. */
9509 /* Override any GCC internal prototype to avoid an error.
9510 Use char because int might match the return type of a GCC
9511 builtin and then its argument prototype would still apply. */
9512 #ifdef __cplusplus
9513 extern "C"
9514 #endif
9515 char shmat ();
9517 main ()
9519 return shmat ();
9521 return 0;
9523 _ACEOF
9524 if ac_fn_c_try_link "$LINENO"; then :
9525 ac_cv_lib_ipc_shmat=yes
9526 else
9527 ac_cv_lib_ipc_shmat=no
9529 rm -f core conftest.err conftest.$ac_objext \
9530 conftest$ac_exeext conftest.$ac_ext
9531 LIBS=$ac_check_lib_save_LIBS
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9534 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9535 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9536 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9542 # Check for libraries that X11R6 Xt/Xaw programs need.
9543 ac_save_LDFLAGS=$LDFLAGS
9544 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9545 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9546 # check for ICE first), but we must link in the order -lSM -lICE or
9547 # we get undefined symbols. So assume we have SM if we have ICE.
9548 # These have to be linked with before -lX11, unlike the other
9549 # libraries we check for below, so use a different variable.
9550 # John Interrante, Karl Berry
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9552 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9553 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9554 $as_echo_n "(cached) " >&6
9555 else
9556 ac_check_lib_save_LIBS=$LIBS
9557 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9559 /* end confdefs.h. */
9561 /* Override any GCC internal prototype to avoid an error.
9562 Use char because int might match the return type of a GCC
9563 builtin and then its argument prototype would still apply. */
9564 #ifdef __cplusplus
9565 extern "C"
9566 #endif
9567 char IceConnectionNumber ();
9569 main ()
9571 return IceConnectionNumber ();
9573 return 0;
9575 _ACEOF
9576 if ac_fn_c_try_link "$LINENO"; then :
9577 ac_cv_lib_ICE_IceConnectionNumber=yes
9578 else
9579 ac_cv_lib_ICE_IceConnectionNumber=no
9581 rm -f core conftest.err conftest.$ac_objext \
9582 conftest$ac_exeext conftest.$ac_ext
9583 LIBS=$ac_check_lib_save_LIBS
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9586 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9587 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9588 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9591 LDFLAGS=$ac_save_LDFLAGS
9596 if test "$have_x" = "yes"
9597 then
9598 ac_save_CPPFLAGS="$CPPFLAGS"
9599 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9602 $as_echo_n "checking for -lX11... " >&6; }
9603 if ${ac_cv_lib_soname_X11+:} false; then :
9604 $as_echo_n "(cached) " >&6
9605 else
9606 ac_check_soname_save_LIBS=$LIBS
9607 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9609 /* end confdefs.h. */
9611 /* Override any GCC internal prototype to avoid an error.
9612 Use char because int might match the return type of a GCC
9613 builtin and then its argument prototype would still apply. */
9614 #ifdef __cplusplus
9615 extern "C"
9616 #endif
9617 char XCreateWindow ();
9619 main ()
9621 return XCreateWindow ();
9623 return 0;
9625 _ACEOF
9626 if ac_fn_c_try_link "$LINENO"; then :
9627 case "$LIBEXT" in
9628 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9629 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'` ;;
9630 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9631 if ${ac_cv_lib_soname_X11:+false} :; then :
9632 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9633 fi ;;
9634 esac
9636 rm -f core conftest.err conftest.$ac_objext \
9637 conftest$ac_exeext conftest.$ac_ext
9638 LIBS=$ac_check_soname_save_LIBS
9640 if ${ac_cv_lib_soname_X11:+false} :; then :
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9642 $as_echo "not found" >&6; }
9644 else
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9646 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9648 cat >>confdefs.h <<_ACEOF
9649 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9650 _ACEOF
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9655 $as_echo_n "checking for -lXext... " >&6; }
9656 if ${ac_cv_lib_soname_Xext+:} false; then :
9657 $as_echo_n "(cached) " >&6
9658 else
9659 ac_check_soname_save_LIBS=$LIBS
9660 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9662 /* end confdefs.h. */
9664 /* Override any GCC internal prototype to avoid an error.
9665 Use char because int might match the return type of a GCC
9666 builtin and then its argument prototype would still apply. */
9667 #ifdef __cplusplus
9668 extern "C"
9669 #endif
9670 char XextCreateExtension ();
9672 main ()
9674 return XextCreateExtension ();
9676 return 0;
9678 _ACEOF
9679 if ac_fn_c_try_link "$LINENO"; then :
9680 case "$LIBEXT" in
9681 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9682 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'` ;;
9683 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9684 if ${ac_cv_lib_soname_Xext:+false} :; then :
9685 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9686 fi ;;
9687 esac
9689 rm -f core conftest.err conftest.$ac_objext \
9690 conftest$ac_exeext conftest.$ac_ext
9691 LIBS=$ac_check_soname_save_LIBS
9693 if ${ac_cv_lib_soname_Xext:+false} :; then :
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9695 $as_echo "not found" >&6; }
9697 else
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9699 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9701 cat >>confdefs.h <<_ACEOF
9702 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9703 _ACEOF
9705 X_LIBS="$X_LIBS -lXext"
9707 X_LIBS="$X_LIBS -lX11"
9709 for ac_header in X11/Xlib.h \
9710 X11/XKBlib.h \
9711 X11/Xutil.h \
9712 X11/Xcursor/Xcursor.h \
9713 X11/extensions/shape.h \
9714 X11/extensions/XInput.h \
9715 X11/extensions/XInput2.h \
9716 X11/extensions/XShm.h \
9717 X11/extensions/Xcomposite.h \
9718 X11/extensions/Xinerama.h \
9719 X11/extensions/Xrandr.h \
9720 X11/extensions/Xrender.h \
9721 X11/extensions/xf86vmode.h \
9722 X11/extensions/xf86vmproto.h
9723 do :
9724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9725 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9726 # include <X11/Xlib.h>
9727 #endif
9728 #ifdef HAVE_X11_XUTIL_H
9729 # include <X11/Xutil.h>
9730 #endif
9732 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9733 cat >>confdefs.h <<_ACEOF
9734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9735 _ACEOF
9739 done
9742 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9743 then
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9745 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9746 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9747 $as_echo_n "(cached) " >&6
9748 else
9749 ac_check_lib_save_LIBS=$LIBS
9750 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9752 /* end confdefs.h. */
9754 /* Override any GCC internal prototype to avoid an error.
9755 Use char because int might match the return type of a GCC
9756 builtin and then its argument prototype would still apply. */
9757 #ifdef __cplusplus
9758 extern "C"
9759 #endif
9760 char XkbQueryExtension ();
9762 main ()
9764 return XkbQueryExtension ();
9766 return 0;
9768 _ACEOF
9769 if ac_fn_c_try_link "$LINENO"; then :
9770 ac_cv_lib_X11_XkbQueryExtension=yes
9771 else
9772 ac_cv_lib_X11_XkbQueryExtension=no
9774 rm -f core conftest.err conftest.$ac_objext \
9775 conftest$ac_exeext conftest.$ac_ext
9776 LIBS=$ac_check_lib_save_LIBS
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9779 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9780 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9782 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9788 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9789 then
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9791 $as_echo_n "checking for -lXcursor... " >&6; }
9792 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9793 $as_echo_n "(cached) " >&6
9794 else
9795 ac_check_soname_save_LIBS=$LIBS
9796 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9798 /* end confdefs.h. */
9800 /* Override any GCC internal prototype to avoid an error.
9801 Use char because int might match the return type of a GCC
9802 builtin and then its argument prototype would still apply. */
9803 #ifdef __cplusplus
9804 extern "C"
9805 #endif
9806 char XcursorImageLoadCursor ();
9808 main ()
9810 return XcursorImageLoadCursor ();
9812 return 0;
9814 _ACEOF
9815 if ac_fn_c_try_link "$LINENO"; then :
9816 case "$LIBEXT" in
9817 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9818 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'` ;;
9819 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9820 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9821 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9822 fi ;;
9823 esac
9825 rm -f core conftest.err conftest.$ac_objext \
9826 conftest$ac_exeext conftest.$ac_ext
9827 LIBS=$ac_check_soname_save_LIBS
9829 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9831 $as_echo "not found" >&6; }
9833 else
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9835 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9837 cat >>confdefs.h <<_ACEOF
9838 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9839 _ACEOF
9844 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9845 case "x$with_xcursor" in
9846 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9847 xno) ;;
9848 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9849 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9850 esac
9853 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9854 then
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9856 $as_echo_n "checking for -lXi... " >&6; }
9857 if ${ac_cv_lib_soname_Xi+:} false; then :
9858 $as_echo_n "(cached) " >&6
9859 else
9860 ac_check_soname_save_LIBS=$LIBS
9861 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9865 /* Override any GCC internal prototype to avoid an error.
9866 Use char because int might match the return type of a GCC
9867 builtin and then its argument prototype would still apply. */
9868 #ifdef __cplusplus
9869 extern "C"
9870 #endif
9871 char XOpenDevice ();
9873 main ()
9875 return XOpenDevice ();
9877 return 0;
9879 _ACEOF
9880 if ac_fn_c_try_link "$LINENO"; then :
9881 case "$LIBEXT" in
9882 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9883 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'` ;;
9884 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9885 if ${ac_cv_lib_soname_Xi:+false} :; then :
9886 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9887 fi ;;
9888 esac
9890 rm -f core conftest.err conftest.$ac_objext \
9891 conftest$ac_exeext conftest.$ac_ext
9892 LIBS=$ac_check_soname_save_LIBS
9894 if ${ac_cv_lib_soname_Xi:+false} :; then :
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9896 $as_echo "not found" >&6; }
9898 else
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9900 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9902 cat >>confdefs.h <<_ACEOF
9903 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9904 _ACEOF
9909 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9910 case "x$with_xinput" in
9911 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9912 xno) ;;
9913 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9914 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9915 esac
9918 if test "x$ac_cv_lib_soname_Xi" != x
9919 then
9920 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9921 case "x$with_xinput2" in
9922 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9923 xno) ;;
9924 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9925 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9926 esac
9930 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9931 then
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9933 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9934 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9935 $as_echo_n "(cached) " >&6
9936 else
9937 ac_check_lib_save_LIBS=$LIBS
9938 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9942 /* Override any GCC internal prototype to avoid an error.
9943 Use char because int might match the return type of a GCC
9944 builtin and then its argument prototype would still apply. */
9945 #ifdef __cplusplus
9946 extern "C"
9947 #endif
9948 char XShmQueryExtension ();
9950 main ()
9952 return XShmQueryExtension ();
9954 return 0;
9956 _ACEOF
9957 if ac_fn_c_try_link "$LINENO"; then :
9958 ac_cv_lib_Xext_XShmQueryExtension=yes
9959 else
9960 ac_cv_lib_Xext_XShmQueryExtension=no
9962 rm -f core conftest.err conftest.$ac_objext \
9963 conftest$ac_exeext conftest.$ac_ext
9964 LIBS=$ac_check_lib_save_LIBS
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9967 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9968 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9970 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9975 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9976 case "x$with_xshm" in
9977 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9978 xno) ;;
9979 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9980 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9981 esac
9984 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9985 then
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9987 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9988 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9989 $as_echo_n "(cached) " >&6
9990 else
9991 ac_check_lib_save_LIBS=$LIBS
9992 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
9996 /* Override any GCC internal prototype to avoid an error.
9997 Use char because int might match the return type of a GCC
9998 builtin and then its argument prototype would still apply. */
9999 #ifdef __cplusplus
10000 extern "C"
10001 #endif
10002 char XShapeQueryExtension ();
10004 main ()
10006 return XShapeQueryExtension ();
10008 return 0;
10010 _ACEOF
10011 if ac_fn_c_try_link "$LINENO"; then :
10012 ac_cv_lib_Xext_XShapeQueryExtension=yes
10013 else
10014 ac_cv_lib_Xext_XShapeQueryExtension=no
10016 rm -f core conftest.err conftest.$ac_objext \
10017 conftest$ac_exeext conftest.$ac_ext
10018 LIBS=$ac_check_lib_save_LIBS
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10021 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10022 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10024 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10029 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10030 case "x$with_xshape" in
10031 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10032 xno) ;;
10033 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10034 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10035 esac
10038 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10039 then
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10041 $as_echo_n "checking for -lXxf86vm... " >&6; }
10042 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10043 $as_echo_n "(cached) " >&6
10044 else
10045 ac_check_soname_save_LIBS=$LIBS
10046 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10048 /* end confdefs.h. */
10050 /* Override any GCC internal prototype to avoid an error.
10051 Use char because int might match the return type of a GCC
10052 builtin and then its argument prototype would still apply. */
10053 #ifdef __cplusplus
10054 extern "C"
10055 #endif
10056 char XF86VidModeQueryExtension ();
10058 main ()
10060 return XF86VidModeQueryExtension ();
10062 return 0;
10064 _ACEOF
10065 if ac_fn_c_try_link "$LINENO"; then :
10066 case "$LIBEXT" in
10067 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10068 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'` ;;
10069 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10070 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10071 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10072 fi ;;
10073 esac
10075 rm -f core conftest.err conftest.$ac_objext \
10076 conftest$ac_exeext conftest.$ac_ext
10077 LIBS=$ac_check_soname_save_LIBS
10079 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10081 $as_echo "not found" >&6; }
10083 else
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10085 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10087 cat >>confdefs.h <<_ACEOF
10088 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10089 _ACEOF
10094 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10095 case "x$with_xxf86vm" in
10096 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10097 xno) ;;
10098 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10099 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10100 esac
10103 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10104 then
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10106 $as_echo_n "checking for -lXrender... " >&6; }
10107 if ${ac_cv_lib_soname_Xrender+:} false; then :
10108 $as_echo_n "(cached) " >&6
10109 else
10110 ac_check_soname_save_LIBS=$LIBS
10111 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10113 /* end confdefs.h. */
10115 /* Override any GCC internal prototype to avoid an error.
10116 Use char because int might match the return type of a GCC
10117 builtin and then its argument prototype would still apply. */
10118 #ifdef __cplusplus
10119 extern "C"
10120 #endif
10121 char XRenderQueryExtension ();
10123 main ()
10125 return XRenderQueryExtension ();
10127 return 0;
10129 _ACEOF
10130 if ac_fn_c_try_link "$LINENO"; then :
10131 case "$LIBEXT" in
10132 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10133 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'` ;;
10134 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10135 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10136 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10137 fi ;;
10138 esac
10140 rm -f core conftest.err conftest.$ac_objext \
10141 conftest$ac_exeext conftest.$ac_ext
10142 LIBS=$ac_check_soname_save_LIBS
10144 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10146 $as_echo "not found" >&6; }
10148 else
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10150 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10152 cat >>confdefs.h <<_ACEOF
10153 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10154 _ACEOF
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10157 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10158 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10159 $as_echo_n "(cached) " >&6
10160 else
10161 ac_check_lib_save_LIBS=$LIBS
10162 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10164 /* end confdefs.h. */
10166 /* Override any GCC internal prototype to avoid an error.
10167 Use char because int might match the return type of a GCC
10168 builtin and then its argument prototype would still apply. */
10169 #ifdef __cplusplus
10170 extern "C"
10171 #endif
10172 char XRenderSetPictureTransform ();
10174 main ()
10176 return XRenderSetPictureTransform ();
10178 return 0;
10180 _ACEOF
10181 if ac_fn_c_try_link "$LINENO"; then :
10182 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10183 else
10184 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10186 rm -f core conftest.err conftest.$ac_objext \
10187 conftest$ac_exeext conftest.$ac_ext
10188 LIBS=$ac_check_lib_save_LIBS
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10191 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10192 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10194 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10199 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10200 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10201 $as_echo_n "(cached) " >&6
10202 else
10203 ac_check_lib_save_LIBS=$LIBS
10204 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10206 /* end confdefs.h. */
10208 /* Override any GCC internal prototype to avoid an error.
10209 Use char because int might match the return type of a GCC
10210 builtin and then its argument prototype would still apply. */
10211 #ifdef __cplusplus
10212 extern "C"
10213 #endif
10214 char XRenderCreateLinearGradient ();
10216 main ()
10218 return XRenderCreateLinearGradient ();
10220 return 0;
10222 _ACEOF
10223 if ac_fn_c_try_link "$LINENO"; then :
10224 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10225 else
10226 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10228 rm -f core conftest.err conftest.$ac_objext \
10229 conftest$ac_exeext conftest.$ac_ext
10230 LIBS=$ac_check_lib_save_LIBS
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10233 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10234 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10236 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10243 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10244 case "x$with_xrender" in
10245 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10246 xno) ;;
10247 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10248 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10249 esac
10252 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10253 then
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10256 #include <X11/Xlib.h>
10257 #include <X11/extensions/Xrandr.h>
10259 main ()
10261 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10263 return 0;
10265 _ACEOF
10266 if ac_fn_c_try_compile "$LINENO"; then :
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10268 $as_echo_n "checking for -lXrandr... " >&6; }
10269 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10270 $as_echo_n "(cached) " >&6
10271 else
10272 ac_check_soname_save_LIBS=$LIBS
10273 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10277 /* Override any GCC internal prototype to avoid an error.
10278 Use char because int might match the return type of a GCC
10279 builtin and then its argument prototype would still apply. */
10280 #ifdef __cplusplus
10281 extern "C"
10282 #endif
10283 char XRRQueryExtension ();
10285 main ()
10287 return XRRQueryExtension ();
10289 return 0;
10291 _ACEOF
10292 if ac_fn_c_try_link "$LINENO"; then :
10293 case "$LIBEXT" in
10294 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10295 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'` ;;
10296 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10297 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10298 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10299 fi ;;
10300 esac
10302 rm -f core conftest.err conftest.$ac_objext \
10303 conftest$ac_exeext conftest.$ac_ext
10304 LIBS=$ac_check_soname_save_LIBS
10306 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10308 $as_echo "not found" >&6; }
10310 else
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10312 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10314 cat >>confdefs.h <<_ACEOF
10315 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10316 _ACEOF
10318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10319 /* end confdefs.h. */
10320 #include <X11/Xlib.h>
10321 #include <X11/extensions/Xrandr.h>
10323 main ()
10325 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10327 return 0;
10329 _ACEOF
10330 if ac_fn_c_try_compile "$LINENO"; then :
10332 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10340 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10341 case "x$with_xrandr" in
10342 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10343 xno) ;;
10344 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10345 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10346 esac
10349 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10350 then
10351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10352 /* end confdefs.h. */
10353 #include <X11/Xlib.h>
10354 #include <X11/extensions/Xinerama.h>
10356 main ()
10358 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10360 return 0;
10362 _ACEOF
10363 if ac_fn_c_try_compile "$LINENO"; then :
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10365 $as_echo_n "checking for -lXinerama... " >&6; }
10366 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10367 $as_echo_n "(cached) " >&6
10368 else
10369 ac_check_soname_save_LIBS=$LIBS
10370 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10372 /* end confdefs.h. */
10374 /* Override any GCC internal prototype to avoid an error.
10375 Use char because int might match the return type of a GCC
10376 builtin and then its argument prototype would still apply. */
10377 #ifdef __cplusplus
10378 extern "C"
10379 #endif
10380 char XineramaQueryScreens ();
10382 main ()
10384 return XineramaQueryScreens ();
10386 return 0;
10388 _ACEOF
10389 if ac_fn_c_try_link "$LINENO"; then :
10390 case "$LIBEXT" in
10391 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10392 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'` ;;
10393 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10394 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10395 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10396 fi ;;
10397 esac
10399 rm -f core conftest.err conftest.$ac_objext \
10400 conftest$ac_exeext conftest.$ac_ext
10401 LIBS=$ac_check_soname_save_LIBS
10403 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10405 $as_echo "not found" >&6; }
10407 else
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10409 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10411 cat >>confdefs.h <<_ACEOF
10412 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10413 _ACEOF
10418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10420 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10421 case "x$with_xinerama" in
10422 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10423 xno) ;;
10424 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10425 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10426 esac
10429 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10430 then
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10432 $as_echo_n "checking for -lXcomposite... " >&6; }
10433 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10434 $as_echo_n "(cached) " >&6
10435 else
10436 ac_check_soname_save_LIBS=$LIBS
10437 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10441 /* Override any GCC internal prototype to avoid an error.
10442 Use char because int might match the return type of a GCC
10443 builtin and then its argument prototype would still apply. */
10444 #ifdef __cplusplus
10445 extern "C"
10446 #endif
10447 char XCompositeRedirectWindow ();
10449 main ()
10451 return XCompositeRedirectWindow ();
10453 return 0;
10455 _ACEOF
10456 if ac_fn_c_try_link "$LINENO"; then :
10457 case "$LIBEXT" in
10458 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10459 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'` ;;
10460 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10461 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10462 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10463 fi ;;
10464 esac
10466 rm -f core conftest.err conftest.$ac_objext \
10467 conftest$ac_exeext conftest.$ac_ext
10468 LIBS=$ac_check_soname_save_LIBS
10470 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10472 $as_echo "not found" >&6; }
10474 else
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10476 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10478 cat >>confdefs.h <<_ACEOF
10479 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10480 _ACEOF
10485 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10486 case "x$with_xcomposite" in
10487 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10488 xno) ;;
10489 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10490 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10491 esac
10494 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10495 #include <X11/Xlib.h>
10496 #endif
10498 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10500 cat >>confdefs.h <<_ACEOF
10501 #define HAVE_XICCALLBACK_CALLBACK 1
10502 _ACEOF
10506 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10507 #include <X11/Xlib.h>
10508 #endif
10510 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10512 cat >>confdefs.h <<_ACEOF
10513 #define HAVE_XEVENT_XCOOKIE 1
10514 _ACEOF
10521 opengl_msg=""
10522 if test "x$with_opengl" != "xno"
10523 then
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10525 $as_echo_n "checking for -lGL... " >&6; }
10526 if ${ac_cv_lib_soname_GL+:} false; then :
10527 $as_echo_n "(cached) " >&6
10528 else
10529 ac_check_soname_save_LIBS=$LIBS
10530 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10532 /* end confdefs.h. */
10534 /* Override any GCC internal prototype to avoid an error.
10535 Use char because int might match the return type of a GCC
10536 builtin and then its argument prototype would still apply. */
10537 #ifdef __cplusplus
10538 extern "C"
10539 #endif
10540 char glXCreateContext ();
10542 main ()
10544 return glXCreateContext ();
10546 return 0;
10548 _ACEOF
10549 if ac_fn_c_try_link "$LINENO"; then :
10550 case "$LIBEXT" in
10551 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10552 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'` ;;
10553 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10554 if ${ac_cv_lib_soname_GL:+false} :; then :
10555 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10556 fi ;;
10557 esac
10559 rm -f core conftest.err conftest.$ac_objext \
10560 conftest$ac_exeext conftest.$ac_ext
10561 LIBS=$ac_check_soname_save_LIBS
10563 if ${ac_cv_lib_soname_GL:+false} :; then :
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10565 $as_echo "not found" >&6; }
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10567 $as_echo_n "checking for -lGL... " >&6; }
10568 if ${ac_cv_lib_soname_GL+:} false; then :
10569 $as_echo_n "(cached) " >&6
10570 else
10571 ac_check_soname_save_LIBS=$LIBS
10572 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"
10573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10576 /* Override any GCC internal prototype to avoid an error.
10577 Use char because int might match the return type of a GCC
10578 builtin and then its argument prototype would still apply. */
10579 #ifdef __cplusplus
10580 extern "C"
10581 #endif
10582 char glXCreateContext ();
10584 main ()
10586 return glXCreateContext ();
10588 return 0;
10590 _ACEOF
10591 if ac_fn_c_try_link "$LINENO"; then :
10592 case "$LIBEXT" in
10593 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10594 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'` ;;
10595 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10596 if ${ac_cv_lib_soname_GL:+false} :; then :
10597 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10598 fi ;;
10599 esac
10601 rm -f core conftest.err conftest.$ac_objext \
10602 conftest$ac_exeext conftest.$ac_ext
10603 LIBS=$ac_check_soname_save_LIBS
10605 if ${ac_cv_lib_soname_GL:+false} :; then :
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10607 $as_echo "not found" >&6; }
10608 if test -f /usr/X11R6/lib/libGL.a
10609 then
10610 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10611 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10612 else
10613 opengl_msg="No OpenGL library found on this system."
10615 else
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10617 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10619 cat >>confdefs.h <<_ACEOF
10620 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10621 _ACEOF
10623 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"
10625 else
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10627 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10629 cat >>confdefs.h <<_ACEOF
10630 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10631 _ACEOF
10633 OPENGL_LIBS="-lGL"
10635 if test "x$with_glu" != "xno"
10636 then
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10638 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10639 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10640 $as_echo_n "(cached) " >&6
10641 else
10642 ac_check_lib_save_LIBS=$LIBS
10643 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10645 /* end confdefs.h. */
10647 /* Override any GCC internal prototype to avoid an error.
10648 Use char because int might match the return type of a GCC
10649 builtin and then its argument prototype would still apply. */
10650 #ifdef __cplusplus
10651 extern "C"
10652 #endif
10653 char gluLookAt ();
10655 main ()
10657 return gluLookAt ();
10659 return 0;
10661 _ACEOF
10662 if ac_fn_c_try_link "$LINENO"; then :
10663 ac_cv_lib_GLU_gluLookAt=yes
10664 else
10665 ac_cv_lib_GLU_gluLookAt=no
10667 rm -f core conftest.err conftest.$ac_objext \
10668 conftest$ac_exeext conftest.$ac_ext
10669 LIBS=$ac_check_lib_save_LIBS
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10672 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10673 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10677 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10678 case "x$with_glu" in
10679 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10680 xno) ;;
10681 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10682 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10683 esac
10687 if test "x$with_osmesa" != "xno"
10688 then
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10690 $as_echo_n "checking for -lOSMesa... " >&6; }
10691 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10692 $as_echo_n "(cached) " >&6
10693 else
10694 ac_check_soname_save_LIBS=$LIBS
10695 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10699 /* Override any GCC internal prototype to avoid an error.
10700 Use char because int might match the return type of a GCC
10701 builtin and then its argument prototype would still apply. */
10702 #ifdef __cplusplus
10703 extern "C"
10704 #endif
10705 char glAccum ();
10707 main ()
10709 return glAccum ();
10711 return 0;
10713 _ACEOF
10714 if ac_fn_c_try_link "$LINENO"; then :
10715 case "$LIBEXT" in
10716 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10717 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'` ;;
10718 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10719 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10720 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10721 fi ;;
10722 esac
10724 rm -f core conftest.err conftest.$ac_objext \
10725 conftest$ac_exeext conftest.$ac_ext
10726 LIBS=$ac_check_soname_save_LIBS
10728 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10730 $as_echo "not found" >&6; }
10732 else
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10734 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10736 cat >>confdefs.h <<_ACEOF
10737 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10738 _ACEOF
10742 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10743 case "x$with_osmesa" in
10744 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10745 xno) ;;
10746 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10747 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10748 esac
10752 if test -n "$opengl_msg"; then :
10753 case "x$with_opengl" in
10754 x) as_fn_append wine_warnings "|$opengl_msg
10755 OpenGL and Direct3D won't be supported." ;;
10756 xno) ;;
10757 *) as_fn_error $? "$opengl_msg
10758 OpenGL and Direct3D won't be supported.
10759 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10760 esac
10763 CPPFLAGS="$ac_save_CPPFLAGS"
10764 else
10765 X_CFLAGS=""
10766 X_LIBS=""
10767 enable_winex11_drv=${enable_winex11_drv:-no}
10769 if test "x$X_LIBS" = "x"; then :
10770 case "x$with_x" in
10771 xno) ;;
10772 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10773 without X support, which probably isn't what you want. You will need
10774 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10775 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10776 esac
10779 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10781 if test "$ac_cv_header_CL_cl_h" = "yes"
10782 then
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10784 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10785 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10786 $as_echo_n "(cached) " >&6
10787 else
10788 ac_check_lib_save_LIBS=$LIBS
10789 LIBS="-lOpenCL $LIBS"
10790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10793 /* Override any GCC internal prototype to avoid an error.
10794 Use char because int might match the return type of a GCC
10795 builtin and then its argument prototype would still apply. */
10796 #ifdef __cplusplus
10797 extern "C"
10798 #endif
10799 char clGetPlatformInfo ();
10801 main ()
10803 return clGetPlatformInfo ();
10805 return 0;
10807 _ACEOF
10808 if ac_fn_c_try_link "$LINENO"; then :
10809 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10810 else
10811 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10813 rm -f core conftest.err conftest.$ac_objext \
10814 conftest$ac_exeext conftest.$ac_ext
10815 LIBS=$ac_check_lib_save_LIBS
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10818 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10819 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10820 OPENCL_LIBS="-lOpenCL"
10825 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10826 case "x$with_opencl" in
10827 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10828 xno) ;;
10829 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10830 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10831 esac
10833 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10835 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10836 then
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10838 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10839 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10840 $as_echo_n "(cached) " >&6
10841 else
10842 ac_check_lib_save_LIBS=$LIBS
10843 LIBS="-lpcap $LIBS"
10844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10847 /* Override any GCC internal prototype to avoid an error.
10848 Use char because int might match the return type of a GCC
10849 builtin and then its argument prototype would still apply. */
10850 #ifdef __cplusplus
10851 extern "C"
10852 #endif
10853 char pcap_create ();
10855 main ()
10857 return pcap_create ();
10859 return 0;
10861 _ACEOF
10862 if ac_fn_c_try_link "$LINENO"; then :
10863 ac_cv_lib_pcap_pcap_create=yes
10864 else
10865 ac_cv_lib_pcap_pcap_create=no
10867 rm -f core conftest.err conftest.$ac_objext \
10868 conftest$ac_exeext conftest.$ac_ext
10869 LIBS=$ac_check_lib_save_LIBS
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10872 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10873 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10874 LIBPCAP="-lpcap"
10879 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10880 case "x$with_pcap" in
10881 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10882 xno) ;;
10883 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10884 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10885 esac
10887 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10890 if test "x$with_xml" != "xno"
10891 then
10892 if ${XML2_CFLAGS:+false} :; then :
10893 if ${PKG_CONFIG+:} false; then :
10894 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10897 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10898 if ${XML2_LIBS:+false} :; then :
10899 if ${PKG_CONFIG+:} false; then :
10900 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10903 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10904 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10905 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10906 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10907 ac_save_CPPFLAGS=$CPPFLAGS
10908 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10909 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10910 do :
10911 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10912 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10913 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10914 cat >>confdefs.h <<_ACEOF
10915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10916 _ACEOF
10920 done
10922 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"
10923 then
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10925 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10926 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10927 $as_echo_n "(cached) " >&6
10928 else
10929 ac_check_lib_save_LIBS=$LIBS
10930 LIBS="-lxml2 $XML2_LIBS $LIBS"
10931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10932 /* end confdefs.h. */
10934 /* Override any GCC internal prototype to avoid an error.
10935 Use char because int might match the return type of a GCC
10936 builtin and then its argument prototype would still apply. */
10937 #ifdef __cplusplus
10938 extern "C"
10939 #endif
10940 char xmlParseMemory ();
10942 main ()
10944 return xmlParseMemory ();
10946 return 0;
10948 _ACEOF
10949 if ac_fn_c_try_link "$LINENO"; then :
10950 ac_cv_lib_xml2_xmlParseMemory=yes
10951 else
10952 ac_cv_lib_xml2_xmlParseMemory=no
10954 rm -f core conftest.err conftest.$ac_objext \
10955 conftest$ac_exeext conftest.$ac_ext
10956 LIBS=$ac_check_lib_save_LIBS
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10959 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10960 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10962 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10964 else
10965 XML2_LIBS=""
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10969 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10970 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10971 $as_echo_n "(cached) " >&6
10972 else
10973 ac_check_lib_save_LIBS=$LIBS
10974 LIBS="-lxml2 $XML2_LIBS $LIBS"
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10978 /* Override any GCC internal prototype to avoid an error.
10979 Use char because int might match the return type of a GCC
10980 builtin and then its argument prototype would still apply. */
10981 #ifdef __cplusplus
10982 extern "C"
10983 #endif
10984 char xmlReadMemory ();
10986 main ()
10988 return xmlReadMemory ();
10990 return 0;
10992 _ACEOF
10993 if ac_fn_c_try_link "$LINENO"; then :
10994 ac_cv_lib_xml2_xmlReadMemory=yes
10995 else
10996 ac_cv_lib_xml2_xmlReadMemory=no
10998 rm -f core conftest.err conftest.$ac_objext \
10999 conftest$ac_exeext conftest.$ac_ext
11000 LIBS=$ac_check_lib_save_LIBS
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11003 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11004 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11006 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11011 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11012 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11013 $as_echo_n "(cached) " >&6
11014 else
11015 ac_check_lib_save_LIBS=$LIBS
11016 LIBS="-lxml2 $XML2_LIBS $LIBS"
11017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11023 #ifdef __cplusplus
11024 extern "C"
11025 #endif
11026 char xmlNewDocPI ();
11028 main ()
11030 return xmlNewDocPI ();
11032 return 0;
11034 _ACEOF
11035 if ac_fn_c_try_link "$LINENO"; then :
11036 ac_cv_lib_xml2_xmlNewDocPI=yes
11037 else
11038 ac_cv_lib_xml2_xmlNewDocPI=no
11040 rm -f core conftest.err conftest.$ac_objext \
11041 conftest$ac_exeext conftest.$ac_ext
11042 LIBS=$ac_check_lib_save_LIBS
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11045 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11046 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11048 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11053 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11054 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11055 $as_echo_n "(cached) " >&6
11056 else
11057 ac_check_lib_save_LIBS=$LIBS
11058 LIBS="-lxml2 $XML2_LIBS $LIBS"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11065 #ifdef __cplusplus
11066 extern "C"
11067 #endif
11068 char xmlSchemaSetParserStructuredErrors ();
11070 main ()
11072 return xmlSchemaSetParserStructuredErrors ();
11074 return 0;
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"; then :
11078 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11079 else
11080 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11082 rm -f core conftest.err conftest.$ac_objext \
11083 conftest$ac_exeext conftest.$ac_ext
11084 LIBS=$ac_check_lib_save_LIBS
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11087 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11088 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11090 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11095 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11096 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11097 $as_echo_n "(cached) " >&6
11098 else
11099 ac_check_lib_save_LIBS=$LIBS
11100 LIBS="-lxml2 $XML2_LIBS $LIBS"
11101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11104 /* Override any GCC internal prototype to avoid an error.
11105 Use char because int might match the return type of a GCC
11106 builtin and then its argument prototype would still apply. */
11107 #ifdef __cplusplus
11108 extern "C"
11109 #endif
11110 char xmlSchemaSetValidStructuredErrors ();
11112 main ()
11114 return xmlSchemaSetValidStructuredErrors ();
11116 return 0;
11118 _ACEOF
11119 if ac_fn_c_try_link "$LINENO"; then :
11120 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11121 else
11122 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11124 rm -f core conftest.err conftest.$ac_objext \
11125 conftest$ac_exeext conftest.$ac_ext
11126 LIBS=$ac_check_lib_save_LIBS
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11129 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11130 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11132 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11137 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11138 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11139 $as_echo_n "(cached) " >&6
11140 else
11141 ac_check_lib_save_LIBS=$LIBS
11142 LIBS="-lxml2 $XML2_LIBS $LIBS"
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11146 /* Override any GCC internal prototype to avoid an error.
11147 Use char because int might match the return type of a GCC
11148 builtin and then its argument prototype would still apply. */
11149 #ifdef __cplusplus
11150 extern "C"
11151 #endif
11152 char xmlFirstElementChild ();
11154 main ()
11156 return xmlFirstElementChild ();
11158 return 0;
11160 _ACEOF
11161 if ac_fn_c_try_link "$LINENO"; then :
11162 ac_cv_lib_xml2_xmlFirstElementChild=yes
11163 else
11164 ac_cv_lib_xml2_xmlFirstElementChild=no
11166 rm -f core conftest.err conftest.$ac_objext \
11167 conftest$ac_exeext conftest.$ac_ext
11168 LIBS=$ac_check_lib_save_LIBS
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11171 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11172 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11174 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11178 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11180 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11182 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11186 else
11187 XML2_CFLAGS=""
11188 XML2_LIBS=""
11190 CPPFLAGS=$ac_save_CPPFLAGS
11191 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11192 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11195 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11196 case "x$with_xml" in
11197 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11198 xno) ;;
11199 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11200 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11201 esac
11204 if test "x$with_xslt" != "xno"
11205 then
11206 if ${XSLT_CFLAGS:+false} :; then :
11207 if ${PKG_CONFIG+:} false; then :
11208 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11211 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11212 if ${XSLT_LIBS:+false} :; then :
11213 if ${PKG_CONFIG+:} false; then :
11214 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11217 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11218 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11219 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11220 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11221 ac_save_CPPFLAGS=$CPPFLAGS
11222 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11223 for ac_header in libxslt/pattern.h libxslt/transform.h
11224 do :
11225 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11226 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11227 # include <libxslt/pattern.h>
11228 #endif
11230 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11231 cat >>confdefs.h <<_ACEOF
11232 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11233 _ACEOF
11237 done
11239 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11240 then
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11242 $as_echo_n "checking for -lxslt... " >&6; }
11243 if ${ac_cv_lib_soname_xslt+:} false; then :
11244 $as_echo_n "(cached) " >&6
11245 else
11246 ac_check_soname_save_LIBS=$LIBS
11247 LIBS="-lxslt $XSLT_LIBS $LIBS"
11248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11251 /* Override any GCC internal prototype to avoid an error.
11252 Use char because int might match the return type of a GCC
11253 builtin and then its argument prototype would still apply. */
11254 #ifdef __cplusplus
11255 extern "C"
11256 #endif
11257 char xsltCompilePattern ();
11259 main ()
11261 return xsltCompilePattern ();
11263 return 0;
11265 _ACEOF
11266 if ac_fn_c_try_link "$LINENO"; then :
11267 case "$LIBEXT" in
11268 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11269 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'` ;;
11270 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11271 if ${ac_cv_lib_soname_xslt:+false} :; then :
11272 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11273 fi ;;
11274 esac
11276 rm -f core conftest.err conftest.$ac_objext \
11277 conftest$ac_exeext conftest.$ac_ext
11278 LIBS=$ac_check_soname_save_LIBS
11280 if ${ac_cv_lib_soname_xslt:+false} :; then :
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11282 $as_echo "not found" >&6; }
11284 else
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11286 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11288 cat >>confdefs.h <<_ACEOF
11289 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11290 _ACEOF
11294 else
11295 XSLT_CFLAGS=""
11297 CPPFLAGS=$ac_save_CPPFLAGS
11298 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11299 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11302 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11303 case "x$with_xslt" in
11304 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11305 xno) ;;
11306 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11307 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11308 esac
11311 if test "x$with_dbus" != "xno"
11312 then
11313 if ${DBUS_CFLAGS:+false} :; then :
11314 if ${PKG_CONFIG+:} false; then :
11315 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11319 if ${DBUS_LIBS:+false} :; then :
11320 if ${PKG_CONFIG+:} false; then :
11321 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11326 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11327 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11328 ac_save_CPPFLAGS=$CPPFLAGS
11329 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11330 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11331 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11333 $as_echo_n "checking for -ldbus-1... " >&6; }
11334 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11335 $as_echo_n "(cached) " >&6
11336 else
11337 ac_check_soname_save_LIBS=$LIBS
11338 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11342 /* Override any GCC internal prototype to avoid an error.
11343 Use char because int might match the return type of a GCC
11344 builtin and then its argument prototype would still apply. */
11345 #ifdef __cplusplus
11346 extern "C"
11347 #endif
11348 char dbus_connection_close ();
11350 main ()
11352 return dbus_connection_close ();
11354 return 0;
11356 _ACEOF
11357 if ac_fn_c_try_link "$LINENO"; then :
11358 case "$LIBEXT" in
11359 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11360 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'` ;;
11361 *) 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'`
11362 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11363 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11364 fi ;;
11365 esac
11367 rm -f core conftest.err conftest.$ac_objext \
11368 conftest$ac_exeext conftest.$ac_ext
11369 LIBS=$ac_check_soname_save_LIBS
11371 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11373 $as_echo "not found" >&6; }
11374 DBUS_CFLAGS=""
11375 else
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11377 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11379 cat >>confdefs.h <<_ACEOF
11380 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11381 _ACEOF
11385 else
11386 DBUS_CFLAGS=""
11390 CPPFLAGS=$ac_save_CPPFLAGS
11391 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11392 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11395 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11396 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11397 case "x$with_dbus" in
11398 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11399 xno) ;;
11400 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11401 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11402 esac
11405 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11406 then
11407 if ${HAL_CFLAGS:+false} :; then :
11408 if ${PKG_CONFIG+:} false; then :
11409 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11413 if ${HAL_LIBS:+false} :; then :
11414 if ${PKG_CONFIG+:} false; then :
11415 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11419 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11420 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11421 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11422 ac_save_CPPFLAGS=$CPPFLAGS
11423 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11424 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11425 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11427 $as_echo_n "checking for -lhal... " >&6; }
11428 if ${ac_cv_lib_soname_hal+:} false; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 ac_check_soname_save_LIBS=$LIBS
11432 LIBS="-lhal $HAL_LIBS $LIBS"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11439 #ifdef __cplusplus
11440 extern "C"
11441 #endif
11442 char libhal_ctx_new ();
11444 main ()
11446 return libhal_ctx_new ();
11448 return 0;
11450 _ACEOF
11451 if ac_fn_c_try_link "$LINENO"; then :
11452 case "$LIBEXT" in
11453 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11454 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'` ;;
11455 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11456 if ${ac_cv_lib_soname_hal:+false} :; then :
11457 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11458 fi ;;
11459 esac
11461 rm -f core conftest.err conftest.$ac_objext \
11462 conftest$ac_exeext conftest.$ac_ext
11463 LIBS=$ac_check_soname_save_LIBS
11465 if ${ac_cv_lib_soname_hal:+false} :; then :
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11467 $as_echo "not found" >&6; }
11468 HAL_CFLAGS=""
11469 else
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11471 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11473 cat >>confdefs.h <<_ACEOF
11474 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11475 _ACEOF
11479 else
11480 HAL_CFLAGS=""
11484 CPPFLAGS=$ac_save_CPPFLAGS
11485 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11486 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11488 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11489 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11490 case "x$with_hal" in
11491 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11492 xno) ;;
11493 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11494 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11495 esac
11499 if test "x$with_gnutls" != "xno"
11500 then
11501 if ${GNUTLS_CFLAGS:+false} :; then :
11502 if ${PKG_CONFIG+:} false; then :
11503 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11507 if ${GNUTLS_LIBS:+false} :; then :
11508 if ${PKG_CONFIG+:} false; then :
11509 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11514 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11515 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11516 ac_save_CPPFLAGS=$CPPFLAGS
11517 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11518 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11519 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11522 #include <gnutls/gnutls.h>
11523 #include <gnutls/crypto.h>
11525 main ()
11527 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11529 return 0;
11531 _ACEOF
11532 if ac_fn_c_try_compile "$LINENO"; then :
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11534 $as_echo_n "checking for -lgnutls... " >&6; }
11535 if ${ac_cv_lib_soname_gnutls+:} false; then :
11536 $as_echo_n "(cached) " >&6
11537 else
11538 ac_check_soname_save_LIBS=$LIBS
11539 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11546 #ifdef __cplusplus
11547 extern "C"
11548 #endif
11549 char gnutls_global_init ();
11551 main ()
11553 return gnutls_global_init ();
11555 return 0;
11557 _ACEOF
11558 if ac_fn_c_try_link "$LINENO"; then :
11559 case "$LIBEXT" in
11560 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11561 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'` ;;
11562 *) 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'`
11563 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11564 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'`
11565 fi ;;
11566 esac
11568 rm -f core conftest.err conftest.$ac_objext \
11569 conftest$ac_exeext conftest.$ac_ext
11570 LIBS=$ac_check_soname_save_LIBS
11572 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11574 $as_echo "not found" >&6; }
11575 GNUTLS_CFLAGS=""
11576 else
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11578 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11580 cat >>confdefs.h <<_ACEOF
11581 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11582 _ACEOF
11587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11588 else
11589 GNUTLS_CFLAGS=""
11593 CPPFLAGS=$ac_save_CPPFLAGS
11594 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11595 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11598 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11599 case "x$with_gnutls" in
11600 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11601 xno) ;;
11602 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11603 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11604 esac
11607 CURSES_LIBS=""
11608 if test "$ac_cv_header_ncurses_h" = "yes"
11609 then
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11611 $as_echo_n "checking for -lncurses... " >&6; }
11612 if ${ac_cv_lib_soname_ncurses+:} false; then :
11613 $as_echo_n "(cached) " >&6
11614 else
11615 ac_check_soname_save_LIBS=$LIBS
11616 LIBS="-lncurses $LIBS"
11617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11620 /* Override any GCC internal prototype to avoid an error.
11621 Use char because int might match the return type of a GCC
11622 builtin and then its argument prototype would still apply. */
11623 #ifdef __cplusplus
11624 extern "C"
11625 #endif
11626 char waddch ();
11628 main ()
11630 return waddch ();
11632 return 0;
11634 _ACEOF
11635 if ac_fn_c_try_link "$LINENO"; then :
11636 case "$LIBEXT" in
11637 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11638 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'` ;;
11639 *) 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'`
11640 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11641 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11642 fi ;;
11643 esac
11645 rm -f core conftest.err conftest.$ac_objext \
11646 conftest$ac_exeext conftest.$ac_ext
11647 LIBS=$ac_check_soname_save_LIBS
11649 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11651 $as_echo "not found" >&6; }
11653 else
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11655 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11657 cat >>confdefs.h <<_ACEOF
11658 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11659 _ACEOF
11661 CURSES_LIBS="-lncurses"
11663 elif test "$ac_cv_header_curses_h" = "yes"
11664 then
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11666 $as_echo_n "checking for -lcurses... " >&6; }
11667 if ${ac_cv_lib_soname_curses+:} false; then :
11668 $as_echo_n "(cached) " >&6
11669 else
11670 ac_check_soname_save_LIBS=$LIBS
11671 LIBS="-lcurses $LIBS"
11672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11673 /* end confdefs.h. */
11675 /* Override any GCC internal prototype to avoid an error.
11676 Use char because int might match the return type of a GCC
11677 builtin and then its argument prototype would still apply. */
11678 #ifdef __cplusplus
11679 extern "C"
11680 #endif
11681 char waddch ();
11683 main ()
11685 return waddch ();
11687 return 0;
11689 _ACEOF
11690 if ac_fn_c_try_link "$LINENO"; then :
11691 case "$LIBEXT" in
11692 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11693 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'` ;;
11694 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11695 if ${ac_cv_lib_soname_curses:+false} :; then :
11696 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11697 fi ;;
11698 esac
11700 rm -f core conftest.err conftest.$ac_objext \
11701 conftest$ac_exeext conftest.$ac_ext
11702 LIBS=$ac_check_soname_save_LIBS
11704 if ${ac_cv_lib_soname_curses:+false} :; then :
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11706 $as_echo "not found" >&6; }
11708 else
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11710 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11712 cat >>confdefs.h <<_ACEOF
11713 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11714 _ACEOF
11716 CURSES_LIBS="-lcurses"
11719 ac_save_LIBS="$LIBS"
11720 LIBS="$LIBS $CURSES_LIBS"
11721 for ac_func in mousemask
11722 do :
11723 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11724 if test "x$ac_cv_func_mousemask" = xyes; then :
11725 cat >>confdefs.h <<_ACEOF
11726 #define HAVE_MOUSEMASK 1
11727 _ACEOF
11730 done
11732 LIBS="$ac_save_LIBS"
11733 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11734 case "x$with_curses" in
11735 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11736 xno) ;;
11737 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11738 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11739 esac
11742 if test "x$with_sane" != "xno"
11743 then
11744 if ${SANE_CFLAGS:+false} :; then :
11745 if ${PKG_CONFIG+:} false; then :
11746 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11749 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11750 if ${SANE_LIBS:+false} :; then :
11751 if ${PKG_CONFIG+:} false; then :
11752 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11755 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11757 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11758 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11759 ac_save_CPPFLAGS=$CPPFLAGS
11760 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11761 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11762 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11764 $as_echo_n "checking for -lsane... " >&6; }
11765 if ${ac_cv_lib_soname_sane+:} false; then :
11766 $as_echo_n "(cached) " >&6
11767 else
11768 ac_check_soname_save_LIBS=$LIBS
11769 LIBS="-lsane $SANE_LIBS $LIBS"
11770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h. */
11773 /* Override any GCC internal prototype to avoid an error.
11774 Use char because int might match the return type of a GCC
11775 builtin and then its argument prototype would still apply. */
11776 #ifdef __cplusplus
11777 extern "C"
11778 #endif
11779 char sane_init ();
11781 main ()
11783 return sane_init ();
11785 return 0;
11787 _ACEOF
11788 if ac_fn_c_try_link "$LINENO"; then :
11789 case "$LIBEXT" in
11790 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11791 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'` ;;
11792 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11793 if ${ac_cv_lib_soname_sane:+false} :; then :
11794 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11795 fi ;;
11796 esac
11798 rm -f core conftest.err conftest.$ac_objext \
11799 conftest$ac_exeext conftest.$ac_ext
11800 LIBS=$ac_check_soname_save_LIBS
11802 if ${ac_cv_lib_soname_sane:+false} :; then :
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11804 $as_echo "not found" >&6; }
11805 SANE_CFLAGS=""
11806 else
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11808 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11810 cat >>confdefs.h <<_ACEOF
11811 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11812 _ACEOF
11816 else
11817 SANE_CFLAGS=""
11821 CPPFLAGS=$ac_save_CPPFLAGS
11822 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11823 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11826 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11827 case "x$with_sane" in
11828 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11829 xno) ;;
11830 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11831 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11832 esac
11835 if test "x$with_v4l" != "xno"
11836 then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11838 $as_echo_n "checking for -lv4l1... " >&6; }
11839 if ${ac_cv_lib_soname_v4l1+:} false; then :
11840 $as_echo_n "(cached) " >&6
11841 else
11842 ac_check_soname_save_LIBS=$LIBS
11843 LIBS="-lv4l1 $LIBS"
11844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h. */
11847 /* Override any GCC internal prototype to avoid an error.
11848 Use char because int might match the return type of a GCC
11849 builtin and then its argument prototype would still apply. */
11850 #ifdef __cplusplus
11851 extern "C"
11852 #endif
11853 char v4l1_open ();
11855 main ()
11857 return v4l1_open ();
11859 return 0;
11861 _ACEOF
11862 if ac_fn_c_try_link "$LINENO"; then :
11863 case "$LIBEXT" in
11864 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11865 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'` ;;
11866 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11867 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11868 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11869 fi ;;
11870 esac
11872 rm -f core conftest.err conftest.$ac_objext \
11873 conftest$ac_exeext conftest.$ac_ext
11874 LIBS=$ac_check_soname_save_LIBS
11876 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11878 $as_echo "not found" >&6; }
11880 else
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11882 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11884 cat >>confdefs.h <<_ACEOF
11885 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11886 _ACEOF
11891 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11892 case "x$with_v4l" in
11893 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11894 xno) ;;
11895 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11896 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11897 esac
11900 if test "x$with_gphoto" != "xno"
11901 then
11902 if ${GPHOTO2_CFLAGS:+false} :; then :
11903 if ${PKG_CONFIG+:} false; then :
11904 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11907 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11908 if ${GPHOTO2_LIBS:+false} :; then :
11909 if ${PKG_CONFIG+:} false; then :
11910 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11913 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11914 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11915 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11916 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11917 ac_save_CPPFLAGS=$CPPFLAGS
11918 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11919 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11920 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11922 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11923 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11924 $as_echo_n "(cached) " >&6
11925 else
11926 ac_check_lib_save_LIBS=$LIBS
11927 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11929 /* end confdefs.h. */
11931 /* Override any GCC internal prototype to avoid an error.
11932 Use char because int might match the return type of a GCC
11933 builtin and then its argument prototype would still apply. */
11934 #ifdef __cplusplus
11935 extern "C"
11936 #endif
11937 char gp_camera_new ();
11939 main ()
11941 return gp_camera_new ();
11943 return 0;
11945 _ACEOF
11946 if ac_fn_c_try_link "$LINENO"; then :
11947 ac_cv_lib_gphoto2_gp_camera_new=yes
11948 else
11949 ac_cv_lib_gphoto2_gp_camera_new=no
11951 rm -f core conftest.err conftest.$ac_objext \
11952 conftest$ac_exeext conftest.$ac_ext
11953 LIBS=$ac_check_lib_save_LIBS
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11956 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11957 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11959 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11961 else
11962 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11965 else
11966 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11970 CPPFLAGS=$ac_save_CPPFLAGS
11971 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11972 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11974 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11975 if ${PKG_CONFIG+:} false; then :
11976 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11979 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11980 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11981 if ${PKG_CONFIG+:} false; then :
11982 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11985 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11986 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11987 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11988 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11989 ac_save_CPPFLAGS=$CPPFLAGS
11990 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11991 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11992 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11994 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11995 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11996 $as_echo_n "(cached) " >&6
11997 else
11998 ac_check_lib_save_LIBS=$LIBS
11999 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h. */
12003 /* Override any GCC internal prototype to avoid an error.
12004 Use char because int might match the return type of a GCC
12005 builtin and then its argument prototype would still apply. */
12006 #ifdef __cplusplus
12007 extern "C"
12008 #endif
12009 char gp_port_info_list_new ();
12011 main ()
12013 return gp_port_info_list_new ();
12015 return 0;
12017 _ACEOF
12018 if ac_fn_c_try_link "$LINENO"; then :
12019 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12020 else
12021 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12023 rm -f core conftest.err conftest.$ac_objext \
12024 conftest$ac_exeext conftest.$ac_ext
12025 LIBS=$ac_check_lib_save_LIBS
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12028 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12029 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12031 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12033 else
12034 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12037 else
12038 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12042 CPPFLAGS=$ac_save_CPPFLAGS
12043 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12044 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12047 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12048 case "x$with_gphoto" in
12049 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12050 xno) ;;
12051 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12052 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12053 esac
12055 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12056 case "x$with_gphoto" in
12057 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12058 xno) ;;
12059 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12060 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12061 esac
12065 if test "$ac_cv_header_resolv_h" = "yes"
12066 then
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12068 $as_echo_n "checking for resolver library... " >&6; }
12069 if ${ac_cv_have_resolv+:} false; then :
12070 $as_echo_n "(cached) " >&6
12071 else
12072 ac_save_LIBS="$LIBS"
12073 for lib in '' -lresolv
12075 LIBS="$lib $ac_save_LIBS"
12076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12078 #ifdef HAVE_NETINET_IN_H
12079 #include <netinet/in.h>
12080 #endif
12081 #include <resolv.h>
12083 main ()
12085 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12087 return 0;
12089 _ACEOF
12090 if ac_fn_c_try_link "$LINENO"; then :
12091 ac_cv_have_resolv=${lib:-"none required"}
12092 else
12093 ac_cv_have_resolv="not found"
12095 rm -f core conftest.err conftest.$ac_objext \
12096 conftest$ac_exeext conftest.$ac_ext
12097 test "x$ac_cv_have_resolv" = "xnot found" || break
12098 done
12099 LIBS="$ac_save_LIBS"
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12102 $as_echo "$ac_cv_have_resolv" >&6; }
12104 case "$ac_cv_have_resolv" in
12105 "not found") ;;
12106 "none required")
12108 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12111 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12113 RESOLV_LIBS=$ac_cv_have_resolv
12115 esac
12118 if test "x$with_cms" != "xno"
12119 then
12120 if ${LCMS2_CFLAGS:+false} :; then :
12121 if ${PKG_CONFIG+:} false; then :
12122 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12126 if ${LCMS2_LIBS:+false} :; then :
12127 if ${PKG_CONFIG+:} false; then :
12128 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12132 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12133 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12134 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12135 ac_save_CPPFLAGS=$CPPFLAGS
12136 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12137 for ac_header in lcms2.h
12138 do :
12139 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12140 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12141 cat >>confdefs.h <<_ACEOF
12142 #define HAVE_LCMS2_H 1
12143 _ACEOF
12147 done
12149 if test "$ac_cv_header_lcms2_h" = "yes"
12150 then
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12152 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12153 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12154 $as_echo_n "(cached) " >&6
12155 else
12156 ac_check_lib_save_LIBS=$LIBS
12157 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12161 /* Override any GCC internal prototype to avoid an error.
12162 Use char because int might match the return type of a GCC
12163 builtin and then its argument prototype would still apply. */
12164 #ifdef __cplusplus
12165 extern "C"
12166 #endif
12167 char cmsOpenProfileFromFile ();
12169 main ()
12171 return cmsOpenProfileFromFile ();
12173 return 0;
12175 _ACEOF
12176 if ac_fn_c_try_link "$LINENO"; then :
12177 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12178 else
12179 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12181 rm -f core conftest.err conftest.$ac_objext \
12182 conftest$ac_exeext conftest.$ac_ext
12183 LIBS=$ac_check_lib_save_LIBS
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12186 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12187 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12189 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12191 else
12192 LCMS2_LIBS=""
12195 else
12196 LCMS2_CFLAGS=""
12197 LCMS2_LIBS=""
12199 CPPFLAGS=$ac_save_CPPFLAGS
12200 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12201 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12204 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12205 case "x$with_cms" in
12206 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12207 xno) ;;
12208 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12209 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12210 esac
12213 if test "x$with_freetype" != "xno"
12214 then
12215 if ${FREETYPE_CFLAGS:+false} :; then :
12216 if ${PKG_CONFIG+:} false; then :
12217 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12220 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12221 if ${FREETYPE_LIBS:+false} :; then :
12222 if ${PKG_CONFIG+:} false; then :
12223 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12226 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12227 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12228 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12229 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12230 ac_save_CPPFLAGS=$CPPFLAGS
12231 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12232 for ac_header in ft2build.h
12233 do :
12234 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12235 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12236 cat >>confdefs.h <<_ACEOF
12237 #define HAVE_FT2BUILD_H 1
12238 _ACEOF
12242 done
12244 if test "$ac_cv_header_ft2build_h" = "yes"
12245 then
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12247 $as_echo_n "checking for -lfreetype... " >&6; }
12248 if ${ac_cv_lib_soname_freetype+:} false; then :
12249 $as_echo_n "(cached) " >&6
12250 else
12251 ac_check_soname_save_LIBS=$LIBS
12252 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12256 /* Override any GCC internal prototype to avoid an error.
12257 Use char because int might match the return type of a GCC
12258 builtin and then its argument prototype would still apply. */
12259 #ifdef __cplusplus
12260 extern "C"
12261 #endif
12262 char FT_Init_FreeType ();
12264 main ()
12266 return FT_Init_FreeType ();
12268 return 0;
12270 _ACEOF
12271 if ac_fn_c_try_link "$LINENO"; then :
12272 case "$LIBEXT" in
12273 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12274 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'` ;;
12275 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12276 if ${ac_cv_lib_soname_freetype:+false} :; then :
12277 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12278 fi ;;
12279 esac
12281 rm -f core conftest.err conftest.$ac_objext \
12282 conftest$ac_exeext conftest.$ac_ext
12283 LIBS=$ac_check_soname_save_LIBS
12285 if ${ac_cv_lib_soname_freetype:+false} :; then :
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12287 $as_echo "not found" >&6; }
12288 FREETYPE_LIBS=""
12289 else
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12291 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12293 cat >>confdefs.h <<_ACEOF
12294 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12295 _ACEOF
12298 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12300 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12301 #include FT_MODULE_H
12303 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12305 cat >>confdefs.h <<_ACEOF
12306 #define HAVE_FT_TRUETYPEENGINETYPE 1
12307 _ACEOF
12313 else
12314 FREETYPE_CFLAGS=""
12315 FREETYPE_LIBS=""
12317 CPPFLAGS=$ac_save_CPPFLAGS
12318 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12319 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12322 if test "x$ac_cv_lib_soname_freetype" = x; then :
12323 case "x$with_freetype" in
12324 xno) ;;
12325 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12326 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12327 esac
12329 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12332 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12333 if ${ac_cv_c_ppdev+:} false; then :
12334 $as_echo_n "(cached) " >&6
12335 else
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12338 #ifdef HAVE_SYS_IOCTL_H
12339 # include <sys/ioctl.h>
12340 #endif
12341 #include <linux/ppdev.h>
12343 main ()
12345 ioctl (1,PPCLAIM,0)
12347 return 0;
12349 _ACEOF
12350 if ac_fn_c_try_compile "$LINENO"; then :
12351 ac_cv_c_ppdev="yes"
12352 else
12353 ac_cv_c_ppdev="no"
12355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12358 $as_echo "$ac_cv_c_ppdev" >&6; }
12359 if test "$ac_cv_c_ppdev" = "yes"
12360 then
12362 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12366 ac_wine_check_funcs_save_LIBS="$LIBS"
12367 LIBS="$LIBS $PTHREAD_LIBS"
12368 for ac_func in \
12369 pthread_attr_get_np \
12370 pthread_getattr_np \
12371 pthread_getthreadid_np \
12372 pthread_get_stackaddr_np \
12373 pthread_get_stacksize_np
12374 do :
12375 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12376 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12377 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12378 cat >>confdefs.h <<_ACEOF
12379 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12380 _ACEOF
12383 done
12385 LIBS="$ac_wine_check_funcs_save_LIBS"
12387 if test "$ac_cv_header_zlib_h" = "yes"
12388 then
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12390 $as_echo_n "checking for inflate in -lz... " >&6; }
12391 if ${ac_cv_lib_z_inflate+:} false; then :
12392 $as_echo_n "(cached) " >&6
12393 else
12394 ac_check_lib_save_LIBS=$LIBS
12395 LIBS="-lz $LIBS"
12396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12397 /* end confdefs.h. */
12399 /* Override any GCC internal prototype to avoid an error.
12400 Use char because int might match the return type of a GCC
12401 builtin and then its argument prototype would still apply. */
12402 #ifdef __cplusplus
12403 extern "C"
12404 #endif
12405 char inflate ();
12407 main ()
12409 return inflate ();
12411 return 0;
12413 _ACEOF
12414 if ac_fn_c_try_link "$LINENO"; then :
12415 ac_cv_lib_z_inflate=yes
12416 else
12417 ac_cv_lib_z_inflate=no
12419 rm -f core conftest.err conftest.$ac_objext \
12420 conftest$ac_exeext conftest.$ac_ext
12421 LIBS=$ac_check_lib_save_LIBS
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12424 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12425 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12427 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12429 Z_LIBS="-lz"
12434 if test "x$Z_LIBS" = "x"; then :
12435 case "x$with_zlib" in
12436 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12437 xno) ;;
12438 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12439 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12440 esac
12443 if test "x$enable_tools" != xno
12444 then
12445 if test "$ac_cv_header_gettext_po_h" = "yes"
12446 then
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12448 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12449 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12450 $as_echo_n "(cached) " >&6
12451 else
12452 ac_check_lib_save_LIBS=$LIBS
12453 LIBS="-lgettextpo $LIBS"
12454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12455 /* end confdefs.h. */
12457 /* Override any GCC internal prototype to avoid an error.
12458 Use char because int might match the return type of a GCC
12459 builtin and then its argument prototype would still apply. */
12460 #ifdef __cplusplus
12461 extern "C"
12462 #endif
12463 char po_message_msgctxt ();
12465 main ()
12467 return po_message_msgctxt ();
12469 return 0;
12471 _ACEOF
12472 if ac_fn_c_try_link "$LINENO"; then :
12473 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12474 else
12475 ac_cv_lib_gettextpo_po_message_msgctxt=no
12477 rm -f core conftest.err conftest.$ac_objext \
12478 conftest$ac_exeext conftest.$ac_ext
12479 LIBS=$ac_check_lib_save_LIBS
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12482 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12483 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12485 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12487 GETTEXTPO_LIBS="-lgettextpo"
12492 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12493 case "x$with_gettextpo" in
12494 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12495 xno) ;;
12496 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12497 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12498 esac
12502 if test "x$with_gstreamer" != "xno"
12503 then
12504 if ${GSTREAMER_CFLAGS:+false} :; then :
12505 if ${PKG_CONFIG+:} false; then :
12506 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12510 if ${GSTREAMER_LIBS:+false} :; then :
12511 if ${PKG_CONFIG+:} false; then :
12512 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12517 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12518 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12519 ac_save_CPPFLAGS=$CPPFLAGS
12520 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12521 ac_gst_incl=""
12522 for i in $GSTREAMER_CFLAGS
12524 case "$i" in
12525 -I*) ac_gst_incl="$ac_gst_incl $i";;
12526 esac
12527 done
12528 GSTREAMER_CFLAGS=$ac_gst_incl
12529 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12530 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12531 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12532 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12533 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12535 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12538 #include <gst/app/gstappsink.h>
12540 main ()
12542 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12544 return 0;
12546 _ACEOF
12547 if ac_fn_c_try_compile "$LINENO"; then :
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12549 $as_echo "yes" >&6; }
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12551 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12552 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12553 $as_echo_n "(cached) " >&6
12554 else
12555 ac_check_lib_save_LIBS=$LIBS
12556 LIBS="-lgstreamer-0.10 $LIBS"
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 /* Override any GCC internal prototype to avoid an error.
12561 Use char because int might match the return type of a GCC
12562 builtin and then its argument prototype would still apply. */
12563 #ifdef __cplusplus
12564 extern "C"
12565 #endif
12566 char gst_pad_get_caps_reffed ();
12568 main ()
12570 return gst_pad_get_caps_reffed ();
12572 return 0;
12574 _ACEOF
12575 if ac_fn_c_try_link "$LINENO"; then :
12576 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12577 else
12578 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12580 rm -f core conftest.err conftest.$ac_objext \
12581 conftest$ac_exeext conftest.$ac_ext
12582 LIBS=$ac_check_lib_save_LIBS
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12585 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12586 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12588 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12589 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12590 $as_echo_n "(cached) " >&6
12591 else
12592 ac_check_lib_save_LIBS=$LIBS
12593 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 /* Override any GCC internal prototype to avoid an error.
12598 Use char because int might match the return type of a GCC
12599 builtin and then its argument prototype would still apply. */
12600 #ifdef __cplusplus
12601 extern "C"
12602 #endif
12603 char gst_app_buffer_new ();
12605 main ()
12607 return gst_app_buffer_new ();
12609 return 0;
12611 _ACEOF
12612 if ac_fn_c_try_link "$LINENO"; then :
12613 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12614 else
12615 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12617 rm -f core conftest.err conftest.$ac_objext \
12618 conftest$ac_exeext conftest.$ac_ext
12619 LIBS=$ac_check_lib_save_LIBS
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12622 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12623 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12629 else
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12631 $as_echo "no" >&6; }
12633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12637 else
12638 GSTREAMER_CFLAGS=""
12642 CPPFLAGS=$ac_save_CPPFLAGS
12643 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12644 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12647 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12648 case "x$with_gstreamer" in
12649 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12650 xno) ;;
12651 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12652 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12653 esac
12655 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12657 ALSA_LIBS=""
12659 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12660 then
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12662 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12663 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12664 $as_echo_n "(cached) " >&6
12665 else
12666 ac_check_lib_save_LIBS=$LIBS
12667 LIBS="-lasound $LIBS"
12668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12671 /* Override any GCC internal prototype to avoid an error.
12672 Use char because int might match the return type of a GCC
12673 builtin and then its argument prototype would still apply. */
12674 #ifdef __cplusplus
12675 extern "C"
12676 #endif
12677 char snd_pcm_hw_params_get_access_mask ();
12679 main ()
12681 return snd_pcm_hw_params_get_access_mask ();
12683 return 0;
12685 _ACEOF
12686 if ac_fn_c_try_link "$LINENO"; then :
12687 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12688 else
12689 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12691 rm -f core conftest.err conftest.$ac_objext \
12692 conftest$ac_exeext conftest.$ac_ext
12693 LIBS=$ac_check_lib_save_LIBS
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12696 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12697 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h. */
12700 #ifdef HAVE_ALSA_ASOUNDLIB_H
12701 #include <alsa/asoundlib.h>
12702 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12703 #include <sys/asoundlib.h>
12704 #endif
12706 main ()
12708 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12710 return 0;
12712 _ACEOF
12713 if ac_fn_c_try_compile "$LINENO"; then :
12714 ALSA_LIBS="-lasound"
12716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12721 if test "x$with_oss" != xno
12722 then
12723 ac_save_CPPFLAGS="$CPPFLAGS"
12724 if test -f /etc/oss.conf
12725 then
12726 . /etc/oss.conf
12728 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12729 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12730 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12731 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12732 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12734 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12736 cat >>confdefs.h <<_ACEOF
12737 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12738 _ACEOF
12740 OSS4_CFLAGS="$ac_oss_incl"
12747 CPPFLAGS="$ac_save_CPPFLAGS"
12748 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12749 then
12750 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12754 if test "x$with_capi" != "xno"
12755 then
12756 if ${CAPI20_CFLAGS:+false} :; then :
12757 if ${PKG_CONFIG+:} false; then :
12758 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12762 if ${CAPI20_LIBS:+false} :; then :
12763 if ${PKG_CONFIG+:} false; then :
12764 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12769 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12770 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12771 ac_save_CPPFLAGS=$CPPFLAGS
12772 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12773 for ac_header in capi20.h linux/capi.h
12774 do :
12775 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12776 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12779 cat >>confdefs.h <<_ACEOF
12780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12781 _ACEOF
12785 done
12787 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12788 then
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12790 $as_echo_n "checking for -lcapi20... " >&6; }
12791 if ${ac_cv_lib_soname_capi20+:} false; then :
12792 $as_echo_n "(cached) " >&6
12793 else
12794 ac_check_soname_save_LIBS=$LIBS
12795 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12797 /* end confdefs.h. */
12799 /* Override any GCC internal prototype to avoid an error.
12800 Use char because int might match the return type of a GCC
12801 builtin and then its argument prototype would still apply. */
12802 #ifdef __cplusplus
12803 extern "C"
12804 #endif
12805 char capi20_register ();
12807 main ()
12809 return capi20_register ();
12811 return 0;
12813 _ACEOF
12814 if ac_fn_c_try_link "$LINENO"; then :
12815 case "$LIBEXT" in
12816 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12817 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'` ;;
12818 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12819 if ${ac_cv_lib_soname_capi20:+false} :; then :
12820 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12821 fi ;;
12822 esac
12824 rm -f core conftest.err conftest.$ac_objext \
12825 conftest$ac_exeext conftest.$ac_ext
12826 LIBS=$ac_check_soname_save_LIBS
12828 if ${ac_cv_lib_soname_capi20:+false} :; then :
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12830 $as_echo "not found" >&6; }
12832 else
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12834 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12836 cat >>confdefs.h <<_ACEOF
12837 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12838 _ACEOF
12843 CPPFLAGS=$ac_save_CPPFLAGS
12844 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12845 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12848 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12849 case "x$with_capi" in
12850 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12851 xno) ;;
12852 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12853 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12854 esac
12857 CUPS_CFLAGS=""
12859 if test "x$with_cups" != "xno"
12860 then
12861 ac_save_CPPFLAGS="$CPPFLAGS"
12862 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12863 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12864 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12865 for ac_header in cups/cups.h
12866 do :
12867 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12868 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12869 cat >>confdefs.h <<_ACEOF
12870 #define HAVE_CUPS_CUPS_H 1
12871 _ACEOF
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12873 $as_echo_n "checking for -lcups... " >&6; }
12874 if ${ac_cv_lib_soname_cups+:} false; then :
12875 $as_echo_n "(cached) " >&6
12876 else
12877 ac_check_soname_save_LIBS=$LIBS
12878 LIBS="-lcups $ac_cups_libs $LIBS"
12879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12882 /* Override any GCC internal prototype to avoid an error.
12883 Use char because int might match the return type of a GCC
12884 builtin and then its argument prototype would still apply. */
12885 #ifdef __cplusplus
12886 extern "C"
12887 #endif
12888 char cupsGetDefault ();
12890 main ()
12892 return cupsGetDefault ();
12894 return 0;
12896 _ACEOF
12897 if ac_fn_c_try_link "$LINENO"; then :
12898 case "$LIBEXT" in
12899 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12900 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'` ;;
12901 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12902 if ${ac_cv_lib_soname_cups:+false} :; then :
12903 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12904 fi ;;
12905 esac
12907 rm -f core conftest.err conftest.$ac_objext \
12908 conftest$ac_exeext conftest.$ac_ext
12909 LIBS=$ac_check_soname_save_LIBS
12911 if ${ac_cv_lib_soname_cups:+false} :; then :
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12913 $as_echo "not found" >&6; }
12915 else
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12917 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12919 cat >>confdefs.h <<_ACEOF
12920 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12921 _ACEOF
12923 CUPS_CFLAGS="$ac_cups_cflags"
12927 done
12929 CPPFLAGS="$ac_save_CPPFLAGS"
12931 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12932 case "x$with_cups" in
12933 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12934 xno) ;;
12935 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12936 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12937 esac
12940 if test "x$with_fontconfig" != "xno"
12941 then
12942 if ${FONTCONFIG_CFLAGS:+false} :; then :
12943 if ${PKG_CONFIG+:} false; then :
12944 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12947 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12948 if ${FONTCONFIG_LIBS:+false} :; then :
12949 if ${PKG_CONFIG+:} false; then :
12950 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12953 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12955 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12956 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12957 ac_save_CPPFLAGS=$CPPFLAGS
12958 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12959 for ac_header in fontconfig/fontconfig.h
12960 do :
12961 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12962 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12963 cat >>confdefs.h <<_ACEOF
12964 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12965 _ACEOF
12969 done
12971 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12972 then
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12974 $as_echo_n "checking for -lfontconfig... " >&6; }
12975 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12976 $as_echo_n "(cached) " >&6
12977 else
12978 ac_check_soname_save_LIBS=$LIBS
12979 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12983 /* Override any GCC internal prototype to avoid an error.
12984 Use char because int might match the return type of a GCC
12985 builtin and then its argument prototype would still apply. */
12986 #ifdef __cplusplus
12987 extern "C"
12988 #endif
12989 char FcInit ();
12991 main ()
12993 return FcInit ();
12995 return 0;
12997 _ACEOF
12998 if ac_fn_c_try_link "$LINENO"; then :
12999 case "$LIBEXT" in
13000 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13001 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'` ;;
13002 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13003 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13004 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13005 fi ;;
13006 esac
13008 rm -f core conftest.err conftest.$ac_objext \
13009 conftest$ac_exeext conftest.$ac_ext
13010 LIBS=$ac_check_soname_save_LIBS
13012 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13014 $as_echo "not found" >&6; }
13015 FONTCONFIG_CFLAGS=""
13016 else
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13018 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13020 cat >>confdefs.h <<_ACEOF
13021 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13022 _ACEOF
13026 else
13027 FONTCONFIG_CFLAGS=""
13029 CPPFLAGS=$ac_save_CPPFLAGS
13030 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13031 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13034 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13035 case "x$with_fontconfig" in
13036 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13037 xno) ;;
13038 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13039 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13040 esac
13043 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13044 then
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13046 $as_echo_n "checking for -lgsm... " >&6; }
13047 if ${ac_cv_lib_soname_gsm+:} false; then :
13048 $as_echo_n "(cached) " >&6
13049 else
13050 ac_check_soname_save_LIBS=$LIBS
13051 LIBS="-lgsm $LIBS"
13052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13053 /* end confdefs.h. */
13055 /* Override any GCC internal prototype to avoid an error.
13056 Use char because int might match the return type of a GCC
13057 builtin and then its argument prototype would still apply. */
13058 #ifdef __cplusplus
13059 extern "C"
13060 #endif
13061 char gsm_create ();
13063 main ()
13065 return gsm_create ();
13067 return 0;
13069 _ACEOF
13070 if ac_fn_c_try_link "$LINENO"; then :
13071 case "$LIBEXT" in
13072 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13073 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'` ;;
13074 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13075 if ${ac_cv_lib_soname_gsm:+false} :; then :
13076 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13077 fi ;;
13078 esac
13080 rm -f core conftest.err conftest.$ac_objext \
13081 conftest$ac_exeext conftest.$ac_ext
13082 LIBS=$ac_check_soname_save_LIBS
13084 if ${ac_cv_lib_soname_gsm:+false} :; then :
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13086 $as_echo "not found" >&6; }
13088 else
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13090 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13092 cat >>confdefs.h <<_ACEOF
13093 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13094 _ACEOF
13099 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13100 case "x$with_gsm" in
13101 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13102 xno) ;;
13103 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13104 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13105 esac
13108 if test "x$with_jpeg" != "xno"
13109 then
13110 if ${JPEG_CFLAGS:+false} :; then :
13111 if ${PKG_CONFIG+:} false; then :
13112 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13116 if ${JPEG_LIBS:+false} :; then :
13117 if ${PKG_CONFIG+:} false; then :
13118 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13123 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13124 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13125 ac_save_CPPFLAGS=$CPPFLAGS
13126 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13127 for ac_header in jpeglib.h
13128 do :
13129 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13130 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13131 cat >>confdefs.h <<_ACEOF
13132 #define HAVE_JPEGLIB_H 1
13133 _ACEOF
13137 done
13139 if test "$ac_cv_header_jpeglib_h" = "yes"
13140 then
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13142 $as_echo_n "checking for -ljpeg... " >&6; }
13143 if ${ac_cv_lib_soname_jpeg+:} false; then :
13144 $as_echo_n "(cached) " >&6
13145 else
13146 ac_check_soname_save_LIBS=$LIBS
13147 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13149 /* end confdefs.h. */
13151 /* Override any GCC internal prototype to avoid an error.
13152 Use char because int might match the return type of a GCC
13153 builtin and then its argument prototype would still apply. */
13154 #ifdef __cplusplus
13155 extern "C"
13156 #endif
13157 char jpeg_start_decompress ();
13159 main ()
13161 return jpeg_start_decompress ();
13163 return 0;
13165 _ACEOF
13166 if ac_fn_c_try_link "$LINENO"; then :
13167 case "$LIBEXT" in
13168 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13169 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'` ;;
13170 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13171 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13172 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13173 fi ;;
13174 esac
13176 rm -f core conftest.err conftest.$ac_objext \
13177 conftest$ac_exeext conftest.$ac_ext
13178 LIBS=$ac_check_soname_save_LIBS
13180 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13182 $as_echo "not found" >&6; }
13183 JPEG_CFLAGS=""
13184 else
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13186 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13188 cat >>confdefs.h <<_ACEOF
13189 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13190 _ACEOF
13194 else
13195 JPEG_CFLAGS=""
13197 CPPFLAGS=$ac_save_CPPFLAGS
13198 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13199 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13202 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13203 case "x$with_jpeg" in
13204 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13205 xno) ;;
13206 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13207 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13208 esac
13211 if test "x$with_png" != "xno"
13212 then
13213 if ${PNG_CFLAGS:+false} :; then :
13214 if ${PKG_CONFIG+:} false; then :
13215 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13218 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13219 if ${PNG_LIBS:+false} :; then :
13220 if ${PKG_CONFIG+:} false; then :
13221 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13224 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13226 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13227 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13228 ac_save_CPPFLAGS=$CPPFLAGS
13229 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13230 for ac_header in png.h
13231 do :
13232 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13233 if test "x$ac_cv_header_png_h" = xyes; then :
13234 cat >>confdefs.h <<_ACEOF
13235 #define HAVE_PNG_H 1
13236 _ACEOF
13240 done
13242 if test "$ac_cv_header_png_h" = "yes"
13243 then
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13245 $as_echo_n "checking for -lpng... " >&6; }
13246 if ${ac_cv_lib_soname_png+:} false; then :
13247 $as_echo_n "(cached) " >&6
13248 else
13249 ac_check_soname_save_LIBS=$LIBS
13250 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13254 /* Override any GCC internal prototype to avoid an error.
13255 Use char because int might match the return type of a GCC
13256 builtin and then its argument prototype would still apply. */
13257 #ifdef __cplusplus
13258 extern "C"
13259 #endif
13260 char png_create_read_struct ();
13262 main ()
13264 return png_create_read_struct ();
13266 return 0;
13268 _ACEOF
13269 if ac_fn_c_try_link "$LINENO"; then :
13270 case "$LIBEXT" in
13271 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13272 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'` ;;
13273 *) 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'`
13274 if ${ac_cv_lib_soname_png:+false} :; then :
13275 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13276 fi ;;
13277 esac
13279 rm -f core conftest.err conftest.$ac_objext \
13280 conftest$ac_exeext conftest.$ac_ext
13281 LIBS=$ac_check_soname_save_LIBS
13283 if ${ac_cv_lib_soname_png:+false} :; then :
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13285 $as_echo "not found" >&6; }
13286 PNG_CFLAGS=""
13287 else
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13289 $as_echo "$ac_cv_lib_soname_png" >&6; }
13291 cat >>confdefs.h <<_ACEOF
13292 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13293 _ACEOF
13295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296 /* end confdefs.h. */
13297 #include <png.h>
13299 main ()
13301 typeof(png_set_expand_gray_1_2_4_to_8) *p
13303 return 0;
13305 _ACEOF
13306 if ac_fn_c_try_compile "$LINENO"; then :
13308 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13313 else
13314 PNG_CFLAGS=""
13316 CPPFLAGS=$ac_save_CPPFLAGS
13317 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13318 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13321 if test "x$ac_cv_lib_soname_png" = "x"; then :
13322 case "x$with_png" in
13323 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13324 xno) ;;
13325 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13326 This is an error since --with-png was requested." "$LINENO" 5 ;;
13327 esac
13330 if test "x$with_tiff" != "xno"
13331 then
13332 if ${TIFF_CFLAGS:+false} :; then :
13333 if ${PKG_CONFIG+:} false; then :
13334 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13338 if ${TIFF_LIBS:+false} :; then :
13339 if ${PKG_CONFIG+:} false; then :
13340 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13345 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13346 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13347 ac_save_CPPFLAGS=$CPPFLAGS
13348 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13349 for ac_header in tiffio.h
13350 do :
13351 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13352 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13353 cat >>confdefs.h <<_ACEOF
13354 #define HAVE_TIFFIO_H 1
13355 _ACEOF
13359 done
13361 if test "$ac_cv_header_tiffio_h" = "yes"
13362 then
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13364 $as_echo_n "checking for -ltiff... " >&6; }
13365 if ${ac_cv_lib_soname_tiff+:} false; then :
13366 $as_echo_n "(cached) " >&6
13367 else
13368 ac_check_soname_save_LIBS=$LIBS
13369 LIBS="-ltiff $TIFF_LIBS $LIBS"
13370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h. */
13373 /* Override any GCC internal prototype to avoid an error.
13374 Use char because int might match the return type of a GCC
13375 builtin and then its argument prototype would still apply. */
13376 #ifdef __cplusplus
13377 extern "C"
13378 #endif
13379 char TIFFClientOpen ();
13381 main ()
13383 return TIFFClientOpen ();
13385 return 0;
13387 _ACEOF
13388 if ac_fn_c_try_link "$LINENO"; then :
13389 case "$LIBEXT" in
13390 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13391 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'` ;;
13392 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13393 if ${ac_cv_lib_soname_tiff:+false} :; then :
13394 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13395 fi ;;
13396 esac
13398 rm -f core conftest.err conftest.$ac_objext \
13399 conftest$ac_exeext conftest.$ac_ext
13400 LIBS=$ac_check_soname_save_LIBS
13402 if ${ac_cv_lib_soname_tiff:+false} :; then :
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13404 $as_echo "not found" >&6; }
13406 else
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13408 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13410 cat >>confdefs.h <<_ACEOF
13411 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13412 _ACEOF
13417 CPPFLAGS=$ac_save_CPPFLAGS
13418 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13419 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13422 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13423 case "x$with_tiff" in
13424 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13425 xno) ;;
13426 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13427 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13428 esac
13431 if test "x$with_mpg123" != "xno"
13432 then
13433 if ${MPG123_CFLAGS:+false} :; then :
13434 if ${PKG_CONFIG+:} false; then :
13435 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13439 if ${MPG123_LIBS:+false} :; then :
13440 if ${PKG_CONFIG+:} false; then :
13441 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13445 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13446 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13447 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13448 ac_save_CPPFLAGS=$CPPFLAGS
13449 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13450 for ac_header in mpg123.h
13451 do :
13452 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13453 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13454 cat >>confdefs.h <<_ACEOF
13455 #define HAVE_MPG123_H 1
13456 _ACEOF
13460 done
13462 if test "$ac_cv_header_mpg123_h" = "yes"
13463 then
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13465 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13466 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13467 $as_echo_n "(cached) " >&6
13468 else
13469 ac_check_lib_save_LIBS=$LIBS
13470 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13472 /* end confdefs.h. */
13474 /* Override any GCC internal prototype to avoid an error.
13475 Use char because int might match the return type of a GCC
13476 builtin and then its argument prototype would still apply. */
13477 #ifdef __cplusplus
13478 extern "C"
13479 #endif
13480 char mpg123_feed ();
13482 main ()
13484 return mpg123_feed ();
13486 return 0;
13488 _ACEOF
13489 if ac_fn_c_try_link "$LINENO"; then :
13490 ac_cv_lib_mpg123_mpg123_feed=yes
13491 else
13492 ac_cv_lib_mpg123_mpg123_feed=no
13494 rm -f core conftest.err conftest.$ac_objext \
13495 conftest$ac_exeext conftest.$ac_ext
13496 LIBS=$ac_check_lib_save_LIBS
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13499 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13500 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13502 else
13503 MPG123_LIBS=""
13506 else
13507 MPG123_CFLAGS=""
13508 MPG123_LIBS=""
13510 CPPFLAGS=$ac_save_CPPFLAGS
13511 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13512 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13515 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13516 case "x$with_mpg123" in
13517 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13518 xno) ;;
13519 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13520 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13521 esac
13523 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}
13525 if test "$ac_cv_header_AL_al_h" = "yes"
13526 then
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13528 $as_echo_n "checking for -lopenal... " >&6; }
13529 if ${ac_cv_lib_soname_openal+:} false; then :
13530 $as_echo_n "(cached) " >&6
13531 else
13532 ac_check_soname_save_LIBS=$LIBS
13533 LIBS="-lopenal $LIBS"
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13537 /* Override any GCC internal prototype to avoid an error.
13538 Use char because int might match the return type of a GCC
13539 builtin and then its argument prototype would still apply. */
13540 #ifdef __cplusplus
13541 extern "C"
13542 #endif
13543 char alGetSource3i ();
13545 main ()
13547 return alGetSource3i ();
13549 return 0;
13551 _ACEOF
13552 if ac_fn_c_try_link "$LINENO"; then :
13553 case "$LIBEXT" in
13554 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13555 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'` ;;
13556 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13557 if ${ac_cv_lib_soname_openal:+false} :; then :
13558 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13559 fi ;;
13560 esac
13562 rm -f core conftest.err conftest.$ac_objext \
13563 conftest$ac_exeext conftest.$ac_ext
13564 LIBS=$ac_check_soname_save_LIBS
13566 if ${ac_cv_lib_soname_openal:+false} :; then :
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13568 $as_echo "not found" >&6; }
13570 else
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13572 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13574 cat >>confdefs.h <<_ACEOF
13575 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13576 _ACEOF
13578 OPENAL_LIBS="-lopenal"
13580 ac_cv_lib_openal=yes
13582 cat >>confdefs.h <<_ACEOF
13583 #define HAVE_OPENAL 1
13584 _ACEOF
13588 if test "x$ac_cv_lib_openal" != xyes; then :
13589 case "x$with_openal" in
13590 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13591 xno) ;;
13592 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13593 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13594 esac
13596 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13598 if test "$ac_cv_header_kstat_h" = "yes"
13599 then
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13601 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13602 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13603 $as_echo_n "(cached) " >&6
13604 else
13605 ac_check_lib_save_LIBS=$LIBS
13606 LIBS="-lkstat $LIBS"
13607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13608 /* end confdefs.h. */
13610 /* Override any GCC internal prototype to avoid an error.
13611 Use char because int might match the return type of a GCC
13612 builtin and then its argument prototype would still apply. */
13613 #ifdef __cplusplus
13614 extern "C"
13615 #endif
13616 char kstat_open ();
13618 main ()
13620 return kstat_open ();
13622 return 0;
13624 _ACEOF
13625 if ac_fn_c_try_link "$LINENO"; then :
13626 ac_cv_lib_kstat_kstat_open=yes
13627 else
13628 ac_cv_lib_kstat_kstat_open=no
13630 rm -f core conftest.err conftest.$ac_objext \
13631 conftest$ac_exeext conftest.$ac_ext
13632 LIBS=$ac_check_lib_save_LIBS
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13635 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13636 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13638 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13640 KSTAT_LIBS="-lkstat"
13646 if test "$ac_cv_header_libprocstat_h" = "yes"
13647 then
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13649 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13650 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13651 $as_echo_n "(cached) " >&6
13652 else
13653 ac_check_lib_save_LIBS=$LIBS
13654 LIBS="-lprocstat $LIBS"
13655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13658 /* Override any GCC internal prototype to avoid an error.
13659 Use char because int might match the return type of a GCC
13660 builtin and then its argument prototype would still apply. */
13661 #ifdef __cplusplus
13662 extern "C"
13663 #endif
13664 char procstat_open_sysctl ();
13666 main ()
13668 return procstat_open_sysctl ();
13670 return 0;
13672 _ACEOF
13673 if ac_fn_c_try_link "$LINENO"; then :
13674 ac_cv_lib_procstat_procstat_open_sysctl=yes
13675 else
13676 ac_cv_lib_procstat_procstat_open_sysctl=no
13678 rm -f core conftest.err conftest.$ac_objext \
13679 conftest$ac_exeext conftest.$ac_ext
13680 LIBS=$ac_check_lib_save_LIBS
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13683 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13684 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13686 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13688 PROCSTAT_LIBS="-lprocstat"
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13695 $as_echo_n "checking for -lodbc... " >&6; }
13696 if ${ac_cv_lib_soname_odbc+:} false; then :
13697 $as_echo_n "(cached) " >&6
13698 else
13699 ac_check_soname_save_LIBS=$LIBS
13700 LIBS="-lodbc $LIBS"
13701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13704 /* Override any GCC internal prototype to avoid an error.
13705 Use char because int might match the return type of a GCC
13706 builtin and then its argument prototype would still apply. */
13707 #ifdef __cplusplus
13708 extern "C"
13709 #endif
13710 char SQLConnect ();
13712 main ()
13714 return SQLConnect ();
13716 return 0;
13718 _ACEOF
13719 if ac_fn_c_try_link "$LINENO"; then :
13720 case "$LIBEXT" in
13721 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13722 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'` ;;
13723 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13724 if ${ac_cv_lib_soname_odbc:+false} :; then :
13725 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13726 fi ;;
13727 esac
13729 rm -f core conftest.err conftest.$ac_objext \
13730 conftest$ac_exeext conftest.$ac_ext
13731 LIBS=$ac_check_soname_save_LIBS
13733 if ${ac_cv_lib_soname_odbc:+false} :; then :
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13735 $as_echo "not found" >&6; }
13736 cat >>confdefs.h <<_ACEOF
13737 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13738 _ACEOF
13740 else
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13742 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13744 cat >>confdefs.h <<_ACEOF
13745 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13746 _ACEOF
13751 if test "x$with_netapi" != "xno"
13752 then
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13754 $as_echo_n "checking for -lnetapi... " >&6; }
13755 if ${ac_cv_lib_soname_netapi+:} false; then :
13756 $as_echo_n "(cached) " >&6
13757 else
13758 ac_check_soname_save_LIBS=$LIBS
13759 LIBS="-lnetapi $LIBS"
13760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13763 /* Override any GCC internal prototype to avoid an error.
13764 Use char because int might match the return type of a GCC
13765 builtin and then its argument prototype would still apply. */
13766 #ifdef __cplusplus
13767 extern "C"
13768 #endif
13769 char libnetapi_init ();
13771 main ()
13773 return libnetapi_init ();
13775 return 0;
13777 _ACEOF
13778 if ac_fn_c_try_link "$LINENO"; then :
13779 case "$LIBEXT" in
13780 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13781 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'` ;;
13782 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13783 if ${ac_cv_lib_soname_netapi:+false} :; then :
13784 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13785 fi ;;
13786 esac
13788 rm -f core conftest.err conftest.$ac_objext \
13789 conftest$ac_exeext conftest.$ac_ext
13790 LIBS=$ac_check_soname_save_LIBS
13792 if ${ac_cv_lib_soname_netapi:+false} :; then :
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13794 $as_echo "not found" >&6; }
13795 cat >>confdefs.h <<_ACEOF
13796 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13797 _ACEOF
13799 else
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13801 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13803 cat >>confdefs.h <<_ACEOF
13804 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13805 _ACEOF
13811 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13812 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13813 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13814 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13816 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13817 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13818 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13819 then
13820 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13824 EXTRACFLAGS=""
13826 if test "x${GCC}" = "xyes"
13827 then
13828 EXTRACFLAGS="-Wall -pipe"
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13831 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13832 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13833 $as_echo_n "(cached) " >&6
13834 else
13835 if test "$cross_compiling" = yes; then :
13836 ac_cv_c_gcc_strength_bug="no"
13837 else
13838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h. */
13840 int L[4] = {0,1,2,3};
13842 main ()
13844 static int Array[3];
13845 unsigned int B = 3;
13846 int i;
13847 for(i=0; i<B; i++) Array[i] = i - 3;
13848 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13849 L[i] = 4;
13850 return (Array[1] != -2 || L[2] != 3)
13852 return 0;
13854 _ACEOF
13855 if ac_fn_c_try_run "$LINENO"; then :
13856 ac_cv_c_gcc_strength_bug="no"
13857 else
13858 ac_cv_c_gcc_strength_bug="yes"
13860 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13861 conftest.$ac_objext conftest.beam conftest.$ac_ext
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13866 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13867 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13868 then
13869 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13873 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13874 if ${ac_cv_cflags__fno_builtin+:} false; then :
13875 $as_echo_n "(cached) " >&6
13876 else
13877 ac_wine_try_cflags_saved=$CFLAGS
13878 CFLAGS="$CFLAGS -fno-builtin"
13879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13880 /* end confdefs.h. */
13881 int main(int argc, char **argv) { return 0; }
13882 _ACEOF
13883 if ac_fn_c_try_link "$LINENO"; then :
13884 ac_cv_cflags__fno_builtin=yes
13885 else
13886 ac_cv_cflags__fno_builtin=no
13888 rm -f core conftest.err conftest.$ac_objext \
13889 conftest$ac_exeext conftest.$ac_ext
13890 CFLAGS=$ac_wine_try_cflags_saved
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13893 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13894 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13895 BUILTINFLAG="-fno-builtin"
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13899 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13900 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13901 $as_echo_n "(cached) " >&6
13902 else
13903 ac_wine_try_cflags_saved=$CFLAGS
13904 CFLAGS="$CFLAGS -fno-strict-aliasing"
13905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13906 /* end confdefs.h. */
13907 int main(int argc, char **argv) { return 0; }
13908 _ACEOF
13909 if ac_fn_c_try_link "$LINENO"; then :
13910 ac_cv_cflags__fno_strict_aliasing=yes
13911 else
13912 ac_cv_cflags__fno_strict_aliasing=no
13914 rm -f core conftest.err conftest.$ac_objext \
13915 conftest$ac_exeext conftest.$ac_ext
13916 CFLAGS=$ac_wine_try_cflags_saved
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13919 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13920 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13921 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13923 saved_CFLAGS=$CFLAGS
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13925 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13926 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13927 $as_echo_n "(cached) " >&6
13928 else
13929 ac_wine_try_cflags_saved=$CFLAGS
13930 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13932 /* end confdefs.h. */
13933 int main(int argc, char **argv) { return 0; }
13934 _ACEOF
13935 if ac_fn_c_try_link "$LINENO"; then :
13936 ac_cv_cflags__Werror_unknown_warning_option=yes
13937 else
13938 ac_cv_cflags__Werror_unknown_warning_option=no
13940 rm -f core conftest.err conftest.$ac_objext \
13941 conftest$ac_exeext conftest.$ac_ext
13942 CFLAGS=$ac_wine_try_cflags_saved
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13945 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13946 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13947 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13950 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13951 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13952 $as_echo_n "(cached) " >&6
13953 else
13954 ac_wine_try_cflags_saved=$CFLAGS
13955 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13958 int main(int argc, char **argv) { return 0; }
13959 _ACEOF
13960 if ac_fn_c_try_link "$LINENO"; then :
13961 ac_cv_cflags__Wdeclaration_after_statement=yes
13962 else
13963 ac_cv_cflags__Wdeclaration_after_statement=no
13965 rm -f core conftest.err conftest.$ac_objext \
13966 conftest$ac_exeext conftest.$ac_ext
13967 CFLAGS=$ac_wine_try_cflags_saved
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13970 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13971 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13972 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13975 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13976 if ${ac_cv_cflags__Wempty_body+:} false; then :
13977 $as_echo_n "(cached) " >&6
13978 else
13979 ac_wine_try_cflags_saved=$CFLAGS
13980 CFLAGS="$CFLAGS -Wempty-body"
13981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13983 int main(int argc, char **argv) { return 0; }
13984 _ACEOF
13985 if ac_fn_c_try_link "$LINENO"; then :
13986 ac_cv_cflags__Wempty_body=yes
13987 else
13988 ac_cv_cflags__Wempty_body=no
13990 rm -f core conftest.err conftest.$ac_objext \
13991 conftest$ac_exeext conftest.$ac_ext
13992 CFLAGS=$ac_wine_try_cflags_saved
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13995 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13996 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13997 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14000 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14001 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14002 $as_echo_n "(cached) " >&6
14003 else
14004 ac_wine_try_cflags_saved=$CFLAGS
14005 CFLAGS="$CFLAGS -Wignored-qualifiers"
14006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14008 int main(int argc, char **argv) { return 0; }
14009 _ACEOF
14010 if ac_fn_c_try_link "$LINENO"; then :
14011 ac_cv_cflags__Wignored_qualifiers=yes
14012 else
14013 ac_cv_cflags__Wignored_qualifiers=no
14015 rm -f core conftest.err conftest.$ac_objext \
14016 conftest$ac_exeext conftest.$ac_ext
14017 CFLAGS=$ac_wine_try_cflags_saved
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14020 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14021 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14022 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14025 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14026 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14027 $as_echo_n "(cached) " >&6
14028 else
14029 ac_wine_try_cflags_saved=$CFLAGS
14030 CFLAGS="$CFLAGS -Wstrict-prototypes"
14031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14032 /* end confdefs.h. */
14033 int main(int argc, char **argv) { return 0; }
14034 _ACEOF
14035 if ac_fn_c_try_link "$LINENO"; then :
14036 ac_cv_cflags__Wstrict_prototypes=yes
14037 else
14038 ac_cv_cflags__Wstrict_prototypes=no
14040 rm -f core conftest.err conftest.$ac_objext \
14041 conftest$ac_exeext conftest.$ac_ext
14042 CFLAGS=$ac_wine_try_cflags_saved
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14045 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14046 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14047 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14050 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14051 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14052 $as_echo_n "(cached) " >&6
14053 else
14054 ac_wine_try_cflags_saved=$CFLAGS
14055 CFLAGS="$CFLAGS -Wtype-limits"
14056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14058 int main(int argc, char **argv) { return 0; }
14059 _ACEOF
14060 if ac_fn_c_try_link "$LINENO"; then :
14061 ac_cv_cflags__Wtype_limits=yes
14062 else
14063 ac_cv_cflags__Wtype_limits=no
14065 rm -f core conftest.err conftest.$ac_objext \
14066 conftest$ac_exeext conftest.$ac_ext
14067 CFLAGS=$ac_wine_try_cflags_saved
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14070 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14071 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14072 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14075 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14076 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14077 $as_echo_n "(cached) " >&6
14078 else
14079 ac_wine_try_cflags_saved=$CFLAGS
14080 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14083 int main(int argc, char **argv) { return 0; }
14084 _ACEOF
14085 if ac_fn_c_try_link "$LINENO"; then :
14086 ac_cv_cflags__Wunused_but_set_parameter=yes
14087 else
14088 ac_cv_cflags__Wunused_but_set_parameter=no
14090 rm -f core conftest.err conftest.$ac_objext \
14091 conftest$ac_exeext conftest.$ac_ext
14092 CFLAGS=$ac_wine_try_cflags_saved
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14095 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14096 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14097 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14100 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14101 if ${ac_cv_cflags__Wvla+:} false; then :
14102 $as_echo_n "(cached) " >&6
14103 else
14104 ac_wine_try_cflags_saved=$CFLAGS
14105 CFLAGS="$CFLAGS -Wvla"
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14108 int main(int argc, char **argv) { return 0; }
14109 _ACEOF
14110 if ac_fn_c_try_link "$LINENO"; then :
14111 ac_cv_cflags__Wvla=yes
14112 else
14113 ac_cv_cflags__Wvla=no
14115 rm -f core conftest.err conftest.$ac_objext \
14116 conftest$ac_exeext conftest.$ac_ext
14117 CFLAGS=$ac_wine_try_cflags_saved
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14120 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14121 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14122 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14125 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14126 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14127 $as_echo_n "(cached) " >&6
14128 else
14129 ac_wine_try_cflags_saved=$CFLAGS
14130 CFLAGS="$CFLAGS -Wwrite-strings"
14131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14133 int main(int argc, char **argv) { return 0; }
14134 _ACEOF
14135 if ac_fn_c_try_link "$LINENO"; then :
14136 ac_cv_cflags__Wwrite_strings=yes
14137 else
14138 ac_cv_cflags__Wwrite_strings=no
14140 rm -f core conftest.err conftest.$ac_objext \
14141 conftest$ac_exeext conftest.$ac_ext
14142 CFLAGS=$ac_wine_try_cflags_saved
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14145 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14146 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14147 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14151 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14152 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14153 $as_echo_n "(cached) " >&6
14154 else
14155 ac_wine_try_cflags_saved=$CFLAGS
14156 CFLAGS="$CFLAGS -Wpointer-arith"
14157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14159 int main(int argc, char **argv) { return 0; }
14160 _ACEOF
14161 if ac_fn_c_try_link "$LINENO"; then :
14162 ac_cv_cflags__Wpointer_arith=yes
14163 else
14164 ac_cv_cflags__Wpointer_arith=no
14166 rm -f core conftest.err conftest.$ac_objext \
14167 conftest$ac_exeext conftest.$ac_ext
14168 CFLAGS=$ac_wine_try_cflags_saved
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14171 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14172 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14173 saved_string_h_CFLAGS=$CFLAGS
14174 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14176 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14177 if ${ac_cv_c_string_h_warnings+:} false; then :
14178 $as_echo_n "(cached) " >&6
14179 else
14180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14182 #include <string.h>
14184 main ()
14188 return 0;
14190 _ACEOF
14191 if ac_fn_c_try_compile "$LINENO"; then :
14192 ac_cv_c_string_h_warnings=no
14193 else
14194 ac_cv_c_string_h_warnings=yes
14196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14199 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14200 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14201 CFLAGS=$saved_string_h_CFLAGS
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14205 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14206 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14207 $as_echo_n "(cached) " >&6
14208 else
14209 ac_wine_try_cflags_saved=$CFLAGS
14210 CFLAGS="$CFLAGS -Wlogical-op"
14211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14212 /* end confdefs.h. */
14213 int main(int argc, char **argv) { return 0; }
14214 _ACEOF
14215 if ac_fn_c_try_link "$LINENO"; then :
14216 ac_cv_cflags__Wlogical_op=yes
14217 else
14218 ac_cv_cflags__Wlogical_op=no
14220 rm -f core conftest.err conftest.$ac_objext \
14221 conftest$ac_exeext conftest.$ac_ext
14222 CFLAGS=$ac_wine_try_cflags_saved
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14225 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14226 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14227 saved_string_h_CFLAGS=$CFLAGS
14228 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14230 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14231 if ${ac_cv_c_logicalop_noisy+:} false; then :
14232 $as_echo_n "(cached) " >&6
14233 else
14234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14236 #include <string.h>
14237 char*f(const char *h,char n) {return strchr(h,n);}
14239 main ()
14243 return 0;
14245 _ACEOF
14246 if ac_fn_c_try_compile "$LINENO"; then :
14247 ac_cv_c_logicalop_noisy=no
14248 else
14249 ac_cv_c_logicalop_noisy=yes
14251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14254 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14255 CFLAGS=$saved_string_h_CFLAGS
14256 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14259 CFLAGS=$saved_CFLAGS
14261 for ac_flag in $CFLAGS; do
14262 case $ac_flag in
14263 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14264 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14265 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14266 $as_echo_n "(cached) " >&6
14267 else
14268 ac_wine_try_cflags_saved=$CFLAGS
14269 CFLAGS="$CFLAGS -gdwarf-2"
14270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14272 int main(int argc, char **argv) { return 0; }
14273 _ACEOF
14274 if ac_fn_c_try_link "$LINENO"; then :
14275 ac_cv_cflags__gdwarf_2=yes
14276 else
14277 ac_cv_cflags__gdwarf_2=no
14279 rm -f core conftest.err conftest.$ac_objext \
14280 conftest$ac_exeext conftest.$ac_ext
14281 CFLAGS=$ac_wine_try_cflags_saved
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14284 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14285 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14286 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14289 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14290 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14291 $as_echo_n "(cached) " >&6
14292 else
14293 ac_wine_try_cflags_saved=$CFLAGS
14294 CFLAGS="$CFLAGS -gstrict-dwarf"
14295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14297 int main(int argc, char **argv) { return 0; }
14298 _ACEOF
14299 if ac_fn_c_try_link "$LINENO"; then :
14300 ac_cv_cflags__gstrict_dwarf=yes
14301 else
14302 ac_cv_cflags__gstrict_dwarf=no
14304 rm -f core conftest.err conftest.$ac_objext \
14305 conftest$ac_exeext conftest.$ac_ext
14306 CFLAGS=$ac_wine_try_cflags_saved
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14309 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14310 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14311 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14312 fi ;;
14313 esac
14314 done
14316 case $host_cpu in
14317 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14318 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14319 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14320 $as_echo_n "(cached) " >&6
14321 else
14322 ac_wine_try_cflags_saved=$CFLAGS
14323 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14325 /* end confdefs.h. */
14326 int main(int argc, char **argv) { return 0; }
14327 _ACEOF
14328 if ac_fn_c_try_link "$LINENO"; then :
14329 ac_cv_cflags__fno_omit_frame_pointer=yes
14330 else
14331 ac_cv_cflags__fno_omit_frame_pointer=no
14333 rm -f core conftest.err conftest.$ac_objext \
14334 conftest$ac_exeext conftest.$ac_ext
14335 CFLAGS=$ac_wine_try_cflags_saved
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14338 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14339 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14340 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14341 fi ;;
14342 esac
14344 case $host in
14345 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14346 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14347 if ${ac_cv_cflags__Wno_format+:} false; then :
14348 $as_echo_n "(cached) " >&6
14349 else
14350 ac_wine_try_cflags_saved=$CFLAGS
14351 CFLAGS="$CFLAGS -Wno-format"
14352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14353 /* end confdefs.h. */
14354 int main(int argc, char **argv) { return 0; }
14355 _ACEOF
14356 if ac_fn_c_try_link "$LINENO"; then :
14357 ac_cv_cflags__Wno_format=yes
14358 else
14359 ac_cv_cflags__Wno_format=no
14361 rm -f core conftest.err conftest.$ac_objext \
14362 conftest$ac_exeext conftest.$ac_ext
14363 CFLAGS=$ac_wine_try_cflags_saved
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14366 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14367 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14368 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14369 fi ;;
14370 esac
14372 if test "x$enable_maintainer_mode" = "xyes"
14373 then
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14375 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14376 if ${ac_cv_cflags__Werror+:} false; then :
14377 $as_echo_n "(cached) " >&6
14378 else
14379 ac_wine_try_cflags_saved=$CFLAGS
14380 CFLAGS="$CFLAGS -Werror"
14381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14382 /* end confdefs.h. */
14383 int main(int argc, char **argv) { return 0; }
14384 _ACEOF
14385 if ac_fn_c_try_link "$LINENO"; then :
14386 ac_cv_cflags__Werror=yes
14387 else
14388 ac_cv_cflags__Werror=no
14390 rm -f core conftest.err conftest.$ac_objext \
14391 conftest$ac_exeext conftest.$ac_ext
14392 CFLAGS=$ac_wine_try_cflags_saved
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14395 $as_echo "$ac_cv_cflags__Werror" >&6; }
14396 if test "x$ac_cv_cflags__Werror" = xyes; then :
14397 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14401 saved_CFLAGS="$CFLAGS"
14402 CFLAGS="$CFLAGS -Werror"
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14404 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14405 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14406 $as_echo_n "(cached) " >&6
14407 else
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14410 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14412 main ()
14416 return 0;
14418 _ACEOF
14419 if ac_fn_c_try_compile "$LINENO"; then :
14420 ac_cv_have_ms_hook_prologue="yes"
14421 else
14422 ac_cv_have_ms_hook_prologue="no"
14424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14427 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14428 CFLAGS="$saved_CFLAGS"
14429 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14430 then
14432 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14434 else
14435 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14442 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14443 if ${ac_cv_c_fortify_enabled+:} false; then :
14444 $as_echo_n "(cached) " >&6
14445 else
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14448 #include <string.h>
14450 main ()
14452 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14453 #error Fortify enabled
14454 #endif
14456 return 0;
14458 _ACEOF
14459 if ac_fn_c_try_compile "$LINENO"; then :
14460 ac_cv_c_fortify_enabled=no
14461 else
14462 ac_cv_c_fortify_enabled=yes
14464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14467 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14468 if test "$ac_cv_c_fortify_enabled" = yes
14469 then
14470 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14475 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14476 if ${ac_cv_c_extern_prefix+:} false; then :
14477 $as_echo_n "(cached) " >&6
14478 else
14479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14481 extern int ac_test;
14483 main ()
14485 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14487 return 0;
14489 _ACEOF
14490 if ac_fn_c_try_link "$LINENO"; then :
14491 ac_cv_c_extern_prefix="yes"
14492 else
14493 ac_cv_c_extern_prefix="no"
14495 rm -f core conftest.err conftest.$ac_objext \
14496 conftest$ac_exeext conftest.$ac_ext
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14499 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14501 case $host_cpu in
14502 *i[3456789]86*)
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14504 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14505 if ${ac_cv_c_stdcall_suffix+:} false; then :
14506 $as_echo_n "(cached) " >&6
14507 else
14508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14510 #ifndef _MSC_VER
14511 #define __stdcall __attribute__((__stdcall__))
14512 #endif
14513 int __stdcall ac_test(int i) { return i; }
14515 main ()
14517 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14519 return 0;
14521 _ACEOF
14522 if ac_fn_c_try_link "$LINENO"; then :
14523 ac_cv_c_stdcall_suffix="yes"
14524 else
14525 ac_cv_c_stdcall_suffix="no"
14527 rm -f core conftest.err conftest.$ac_objext \
14528 conftest$ac_exeext conftest.$ac_ext
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14531 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14532 *) ac_cv_c_stdcall_suffix="no" ;;
14533 esac
14536 if test "$ac_cv_c_extern_prefix" = "yes"
14537 then
14538 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14540 asm_name_prefix="_"
14541 else
14542 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14544 asm_name_prefix=""
14548 if test "$ac_cv_c_stdcall_suffix" = "yes"
14549 then
14550 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14552 else
14553 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14559 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14560 if ${ac_cv_asm_func_def+:} false; then :
14561 $as_echo_n "(cached) " >&6
14562 else
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14567 main ()
14569 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14571 return 0;
14573 _ACEOF
14574 if ac_fn_c_try_link "$LINENO"; then :
14575 ac_cv_asm_func_def=".def"
14576 else
14577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14578 /* end confdefs.h. */
14581 main ()
14583 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14585 return 0;
14587 _ACEOF
14588 if ac_fn_c_try_link "$LINENO"; then :
14589 ac_cv_asm_func_def=".type @function"
14590 else
14591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14592 /* end confdefs.h. */
14595 main ()
14597 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14599 return 0;
14601 _ACEOF
14602 if ac_fn_c_try_link "$LINENO"; then :
14603 ac_cv_asm_func_def=".type 2"
14604 else
14605 ac_cv_asm_func_def="unknown"
14607 rm -f core conftest.err conftest.$ac_objext \
14608 conftest$ac_exeext conftest.$ac_ext
14610 rm -f core conftest.err conftest.$ac_objext \
14611 conftest$ac_exeext conftest.$ac_ext
14613 rm -f core conftest.err conftest.$ac_objext \
14614 conftest$ac_exeext conftest.$ac_ext
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14617 $as_echo "$ac_cv_asm_func_def" >&6; }
14620 case "$ac_cv_asm_func_def" in
14621 ".def")
14622 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14624 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14625 ".type @function")
14626 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14628 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14629 ".type 2")
14630 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14632 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14634 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14636 asm_func_header="" ;;
14637 esac
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14640 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14641 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14642 $as_echo_n "(cached) " >&6
14643 else
14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14646 asm(".text\n\t.long 0");
14648 main ()
14652 return 0;
14654 _ACEOF
14655 if ac_fn_c_try_compile "$LINENO"; then :
14656 ac_cv_c_asm_outside_funcs="yes"
14657 else
14658 ac_cv_c_asm_outside_funcs="no"
14660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14663 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14666 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14667 if ${ac_cv_c_dot_previous+:} false; then :
14668 $as_echo_n "(cached) " >&6
14669 else
14670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14671 /* end confdefs.h. */
14674 main ()
14676 asm(".text\nac_test:\t.long 0\n\t.previous");
14678 return 0;
14680 _ACEOF
14681 if ac_fn_c_try_link "$LINENO"; then :
14682 ac_cv_c_dot_previous="yes"
14683 else
14684 ac_cv_c_dot_previous="no"
14686 rm -f core conftest.err conftest.$ac_objext \
14687 conftest$ac_exeext conftest.$ac_ext
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14690 $as_echo "$ac_cv_c_dot_previous" >&6; }
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14693 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14694 if ${ac_cv_c_cfi_support+:} false; then :
14695 $as_echo_n "(cached) " >&6
14696 else
14697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14698 /* end confdefs.h. */
14699 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14701 main ()
14705 return 0;
14707 _ACEOF
14708 if ac_fn_c_try_compile "$LINENO"; then :
14709 ac_cv_c_cfi_support="yes"
14710 else
14711 ac_cv_c_cfi_support="no"
14713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14716 $as_echo "$ac_cv_c_cfi_support" >&6; }
14718 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14719 asm_func_trailer=""
14720 if test "$ac_cv_c_dot_previous" = "yes"
14721 then
14722 asm_func_trailer="\\n\\t.previous"
14724 if test "$ac_cv_c_cfi_support" = "yes"
14725 then
14726 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14727 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14729 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14731 UNWINDFLAGS=-fasynchronous-unwind-tables
14733 else
14734 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14736 if test "x$enable_win64" = "xyes"
14737 then
14738 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14742 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14745 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14746 then
14747 cat >>confdefs.h <<_ACEOF
14748 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14749 _ACEOF
14751 else
14752 cat >>confdefs.h <<_ACEOF
14753 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14754 _ACEOF
14758 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14761 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14765 case $build_os in
14766 cygwin*|mingw32*) TOOLSEXT=".exe"
14768 esac
14770 case $host_os in
14771 linux*)
14772 case $host_cpu in
14773 *i[3456789]86*|x86_64*)
14774 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14775 loader_programs="$loader_programs $wine_binary-preloader"
14776 as_fn_append LOADER_RULES "
14777 $wine_binary-preloader: preloader.o
14778 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14780 install install-lib:: $wine_binary-preloader
14781 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14783 uninstall::
14784 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14786 preloader_EXTRADEFS = $BUILTINFLAG
14787 " ;;
14788 esac
14790 esac
14791 as_fn_append LOADER_RULES "
14792 PROGRAMS = $loader_programs
14796 ac_save_CFLAGS="$CFLAGS"
14797 CFLAGS="$CFLAGS $BUILTINFLAG"
14798 for ac_func in \
14799 __res_get_state \
14800 __res_getservers \
14801 _finite \
14802 _isnan \
14803 _pclose \
14804 _popen \
14805 _snprintf \
14806 _spawnvp \
14807 _strdup \
14808 _stricmp \
14809 _strnicmp \
14810 _strtoi64 \
14811 _strtoui64 \
14812 _vsnprintf \
14813 asctime_r \
14814 chsize \
14815 dlopen \
14816 epoll_create \
14817 ffs \
14818 finitef \
14819 fnmatch \
14820 fork \
14821 fpclass \
14822 fstatfs \
14823 fstatvfs \
14824 ftruncate \
14825 futimens \
14826 futimes \
14827 futimesat \
14828 getattrlist \
14829 getdirentries \
14830 getopt_long_only \
14831 getpwuid \
14832 gettimeofday \
14833 getuid \
14834 if_nameindex \
14835 isnanf \
14836 kqueue \
14837 lstat \
14838 memmove \
14839 mmap \
14840 pclose \
14841 pipe2 \
14842 poll \
14843 popen \
14844 port_create \
14845 prctl \
14846 pread \
14847 proc_pidinfo \
14848 pwrite \
14849 readdir \
14850 readlink \
14851 sched_yield \
14852 select \
14853 setproctitle \
14854 setrlimit \
14855 settimeofday \
14856 sigaltstack \
14857 sigprocmask \
14858 snprintf \
14859 statfs \
14860 statvfs \
14861 strcasecmp \
14862 strdup \
14863 strerror \
14864 strncasecmp \
14865 strtold \
14866 strtoll \
14867 strtoull \
14868 symlink \
14869 tcdrain \
14870 thr_kill2 \
14871 timegm \
14872 usleep \
14873 vsnprintf
14875 do :
14876 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14877 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14878 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14879 cat >>confdefs.h <<_ACEOF
14880 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14881 _ACEOF
14884 done
14886 CFLAGS="$ac_save_CFLAGS"
14888 if test "$ac_cv_func_dlopen" = no
14889 then
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14891 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14892 if ${ac_cv_lib_dl_dlopen+:} false; then :
14893 $as_echo_n "(cached) " >&6
14894 else
14895 ac_check_lib_save_LIBS=$LIBS
14896 LIBS="-ldl $LIBS"
14897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14898 /* end confdefs.h. */
14900 /* Override any GCC internal prototype to avoid an error.
14901 Use char because int might match the return type of a GCC
14902 builtin and then its argument prototype would still apply. */
14903 #ifdef __cplusplus
14904 extern "C"
14905 #endif
14906 char dlopen ();
14908 main ()
14910 return dlopen ();
14912 return 0;
14914 _ACEOF
14915 if ac_fn_c_try_link "$LINENO"; then :
14916 ac_cv_lib_dl_dlopen=yes
14917 else
14918 ac_cv_lib_dl_dlopen=no
14920 rm -f core conftest.err conftest.$ac_objext \
14921 conftest$ac_exeext conftest.$ac_ext
14922 LIBS=$ac_check_lib_save_LIBS
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14925 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14926 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14927 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14928 DL_LIBS="-ldl"
14933 ac_wine_check_funcs_save_LIBS="$LIBS"
14934 LIBS="$LIBS $DL_LIBS"
14935 for ac_func in dladdr
14936 do :
14937 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14938 if test "x$ac_cv_func_dladdr" = xyes; then :
14939 cat >>confdefs.h <<_ACEOF
14940 #define HAVE_DLADDR 1
14941 _ACEOF
14944 done
14946 LIBS="$ac_wine_check_funcs_save_LIBS"
14948 if test "$ac_cv_func_poll" = no
14949 then
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14951 $as_echo_n "checking for poll in -lpoll... " >&6; }
14952 if ${ac_cv_lib_poll_poll+:} false; then :
14953 $as_echo_n "(cached) " >&6
14954 else
14955 ac_check_lib_save_LIBS=$LIBS
14956 LIBS="-lpoll $LIBS"
14957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14958 /* end confdefs.h. */
14960 /* Override any GCC internal prototype to avoid an error.
14961 Use char because int might match the return type of a GCC
14962 builtin and then its argument prototype would still apply. */
14963 #ifdef __cplusplus
14964 extern "C"
14965 #endif
14966 char poll ();
14968 main ()
14970 return poll ();
14972 return 0;
14974 _ACEOF
14975 if ac_fn_c_try_link "$LINENO"; then :
14976 ac_cv_lib_poll_poll=yes
14977 else
14978 ac_cv_lib_poll_poll=no
14980 rm -f core conftest.err conftest.$ac_objext \
14981 conftest$ac_exeext conftest.$ac_ext
14982 LIBS=$ac_check_lib_save_LIBS
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14985 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14986 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14987 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14988 POLL_LIBS="-lpoll"
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14995 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14996 if ${ac_cv_search_gethostbyname+:} false; then :
14997 $as_echo_n "(cached) " >&6
14998 else
14999 ac_func_search_save_LIBS=$LIBS
15000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15003 /* Override any GCC internal prototype to avoid an error.
15004 Use char because int might match the return type of a GCC
15005 builtin and then its argument prototype would still apply. */
15006 #ifdef __cplusplus
15007 extern "C"
15008 #endif
15009 char gethostbyname ();
15011 main ()
15013 return gethostbyname ();
15015 return 0;
15017 _ACEOF
15018 for ac_lib in '' nsl; do
15019 if test -z "$ac_lib"; then
15020 ac_res="none required"
15021 else
15022 ac_res=-l$ac_lib
15023 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15025 if ac_fn_c_try_link "$LINENO"; then :
15026 ac_cv_search_gethostbyname=$ac_res
15028 rm -f core conftest.err conftest.$ac_objext \
15029 conftest$ac_exeext
15030 if ${ac_cv_search_gethostbyname+:} false; then :
15031 break
15033 done
15034 if ${ac_cv_search_gethostbyname+:} false; then :
15036 else
15037 ac_cv_search_gethostbyname=no
15039 rm conftest.$ac_ext
15040 LIBS=$ac_func_search_save_LIBS
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15043 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15044 ac_res=$ac_cv_search_gethostbyname
15045 if test "$ac_res" != no; then :
15046 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15052 $as_echo_n "checking for library containing connect... " >&6; }
15053 if ${ac_cv_search_connect+:} false; then :
15054 $as_echo_n "(cached) " >&6
15055 else
15056 ac_func_search_save_LIBS=$LIBS
15057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15058 /* end confdefs.h. */
15060 /* Override any GCC internal prototype to avoid an error.
15061 Use char because int might match the return type of a GCC
15062 builtin and then its argument prototype would still apply. */
15063 #ifdef __cplusplus
15064 extern "C"
15065 #endif
15066 char connect ();
15068 main ()
15070 return connect ();
15072 return 0;
15074 _ACEOF
15075 for ac_lib in '' socket; do
15076 if test -z "$ac_lib"; then
15077 ac_res="none required"
15078 else
15079 ac_res=-l$ac_lib
15080 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15082 if ac_fn_c_try_link "$LINENO"; then :
15083 ac_cv_search_connect=$ac_res
15085 rm -f core conftest.err conftest.$ac_objext \
15086 conftest$ac_exeext
15087 if ${ac_cv_search_connect+:} false; then :
15088 break
15090 done
15091 if ${ac_cv_search_connect+:} false; then :
15093 else
15094 ac_cv_search_connect=no
15096 rm conftest.$ac_ext
15097 LIBS=$ac_func_search_save_LIBS
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15100 $as_echo "$ac_cv_search_connect" >&6; }
15101 ac_res=$ac_cv_search_connect
15102 if test "$ac_res" != no; then :
15103 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15109 $as_echo_n "checking for library containing inet_aton... " >&6; }
15110 if ${ac_cv_search_inet_aton+:} false; then :
15111 $as_echo_n "(cached) " >&6
15112 else
15113 ac_func_search_save_LIBS=$LIBS
15114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15115 /* end confdefs.h. */
15117 /* Override any GCC internal prototype to avoid an error.
15118 Use char because int might match the return type of a GCC
15119 builtin and then its argument prototype would still apply. */
15120 #ifdef __cplusplus
15121 extern "C"
15122 #endif
15123 char inet_aton ();
15125 main ()
15127 return inet_aton ();
15129 return 0;
15131 _ACEOF
15132 for ac_lib in '' resolv; do
15133 if test -z "$ac_lib"; then
15134 ac_res="none required"
15135 else
15136 ac_res=-l$ac_lib
15137 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15139 if ac_fn_c_try_link "$LINENO"; then :
15140 ac_cv_search_inet_aton=$ac_res
15142 rm -f core conftest.err conftest.$ac_objext \
15143 conftest$ac_exeext
15144 if ${ac_cv_search_inet_aton+:} false; then :
15145 break
15147 done
15148 if ${ac_cv_search_inet_aton+:} false; then :
15150 else
15151 ac_cv_search_inet_aton=no
15153 rm conftest.$ac_ext
15154 LIBS=$ac_func_search_save_LIBS
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15157 $as_echo "$ac_cv_search_inet_aton" >&6; }
15158 ac_res=$ac_cv_search_inet_aton
15159 if test "$ac_res" != no; then :
15160 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15165 for ac_func in \
15166 getaddrinfo \
15167 getnameinfo \
15168 getnetbyname \
15169 getprotobyname \
15170 getprotobynumber \
15171 getservbyport \
15172 inet_addr \
15173 inet_network \
15174 inet_ntop \
15175 inet_pton \
15176 sendmsg \
15177 socketpair \
15179 do :
15180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15182 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15183 cat >>confdefs.h <<_ACEOF
15184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15185 _ACEOF
15188 done
15191 ac_save_LIBS=$LIBS
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15193 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15194 if ${ac_cv_search_clock_gettime+:} false; then :
15195 $as_echo_n "(cached) " >&6
15196 else
15197 ac_func_search_save_LIBS=$LIBS
15198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15201 /* Override any GCC internal prototype to avoid an error.
15202 Use char because int might match the return type of a GCC
15203 builtin and then its argument prototype would still apply. */
15204 #ifdef __cplusplus
15205 extern "C"
15206 #endif
15207 char clock_gettime ();
15209 main ()
15211 return clock_gettime ();
15213 return 0;
15215 _ACEOF
15216 for ac_lib in '' rt; do
15217 if test -z "$ac_lib"; then
15218 ac_res="none required"
15219 else
15220 ac_res=-l$ac_lib
15221 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15223 if ac_fn_c_try_link "$LINENO"; then :
15224 ac_cv_search_clock_gettime=$ac_res
15226 rm -f core conftest.err conftest.$ac_objext \
15227 conftest$ac_exeext
15228 if ${ac_cv_search_clock_gettime+:} false; then :
15229 break
15231 done
15232 if ${ac_cv_search_clock_gettime+:} false; then :
15234 else
15235 ac_cv_search_clock_gettime=no
15237 rm conftest.$ac_ext
15238 LIBS=$ac_func_search_save_LIBS
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15241 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15242 ac_res=$ac_cv_search_clock_gettime
15243 if test "$ac_res" != no; then :
15244 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15246 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15248 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15252 LIBS=$ac_save_LIBS
15254 LDAP_LIBS=""
15256 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15257 then
15258 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15260 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15262 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15263 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15264 $as_echo_n "(cached) " >&6
15265 else
15266 ac_check_lib_save_LIBS=$LIBS
15267 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15269 /* end confdefs.h. */
15271 /* Override any GCC internal prototype to avoid an error.
15272 Use char because int might match the return type of a GCC
15273 builtin and then its argument prototype would still apply. */
15274 #ifdef __cplusplus
15275 extern "C"
15276 #endif
15277 char ldap_initialize ();
15279 main ()
15281 return ldap_initialize ();
15283 return 0;
15285 _ACEOF
15286 if ac_fn_c_try_link "$LINENO"; then :
15287 ac_cv_lib_ldap_r_ldap_initialize=yes
15288 else
15289 ac_cv_lib_ldap_r_ldap_initialize=no
15291 rm -f core conftest.err conftest.$ac_objext \
15292 conftest$ac_exeext conftest.$ac_ext
15293 LIBS=$ac_check_lib_save_LIBS
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15296 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15297 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15299 $as_echo_n "checking for ber_init in -llber... " >&6; }
15300 if ${ac_cv_lib_lber_ber_init+:} false; then :
15301 $as_echo_n "(cached) " >&6
15302 else
15303 ac_check_lib_save_LIBS=$LIBS
15304 LIBS="-llber $PTHREAD_LIBS $LIBS"
15305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15308 /* Override any GCC internal prototype to avoid an error.
15309 Use char because int might match the return type of a GCC
15310 builtin and then its argument prototype would still apply. */
15311 #ifdef __cplusplus
15312 extern "C"
15313 #endif
15314 char ber_init ();
15316 main ()
15318 return ber_init ();
15320 return 0;
15322 _ACEOF
15323 if ac_fn_c_try_link "$LINENO"; then :
15324 ac_cv_lib_lber_ber_init=yes
15325 else
15326 ac_cv_lib_lber_ber_init=no
15328 rm -f core conftest.err conftest.$ac_objext \
15329 conftest$ac_exeext conftest.$ac_ext
15330 LIBS=$ac_check_lib_save_LIBS
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15333 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15334 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15336 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15338 LDAP_LIBS="-lldap_r -llber"
15345 ac_wine_check_funcs_save_LIBS="$LIBS"
15346 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15347 for ac_func in \
15348 ldap_count_references \
15349 ldap_first_reference \
15350 ldap_next_reference \
15351 ldap_parse_reference \
15352 ldap_parse_sort_control \
15353 ldap_parse_sortresponse_control \
15354 ldap_parse_vlv_control \
15355 ldap_parse_vlvresponse_control
15356 do :
15357 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15359 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15360 cat >>confdefs.h <<_ACEOF
15361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15362 _ACEOF
15365 done
15367 LIBS="$ac_wine_check_funcs_save_LIBS"
15369 if test "x$LDAP_LIBS" = "x"; then :
15370 case "x$with_ldap" in
15371 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15372 xno) ;;
15373 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15374 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15375 esac
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15379 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15380 if ${wine_cv_one_arg_mkdir+:} false; then :
15381 $as_echo_n "(cached) " >&6
15382 else
15383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15384 /* end confdefs.h. */
15385 #include <sys/stat.h>
15387 main ()
15389 mkdir("foo");
15391 return 0;
15393 _ACEOF
15394 if ac_fn_c_try_compile "$LINENO"; then :
15395 wine_cv_one_arg_mkdir=yes
15396 else
15397 wine_cv_one_arg_mkdir=no
15399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15402 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15403 if test "$wine_cv_one_arg_mkdir" = "yes"
15404 then
15406 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15411 $as_echo_n "checking for sched_setaffinity... " >&6; }
15412 if ${wine_cv_have_sched_setaffinity+:} false; then :
15413 $as_echo_n "(cached) " >&6
15414 else
15415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15416 /* end confdefs.h. */
15417 #define _GNU_SOURCE
15418 #include <sched.h>
15420 main ()
15422 sched_setaffinity(0, 0, 0);
15424 return 0;
15426 _ACEOF
15427 if ac_fn_c_try_link "$LINENO"; then :
15428 wine_cv_have_sched_setaffinity=yes
15429 else
15430 wine_cv_have_sched_setaffinity=no
15432 rm -f core conftest.err conftest.$ac_objext \
15433 conftest$ac_exeext conftest.$ac_ext
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15436 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15437 if test "$wine_cv_have_sched_setaffinity" = "yes"
15438 then
15440 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15445 $as_echo_n "checking for fallocate... " >&6; }
15446 if ${wine_cv_have_fallocate+:} false; then :
15447 $as_echo_n "(cached) " >&6
15448 else
15449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15451 #define _GNU_SOURCE
15452 #include <fcntl.h>
15454 main ()
15456 fallocate(-1, 0, 0, 0);
15458 return 0;
15460 _ACEOF
15461 if ac_fn_c_try_link "$LINENO"; then :
15462 wine_cv_have_fallocate=yes
15463 else
15464 wine_cv_have_fallocate=no
15466 rm -f core conftest.err conftest.$ac_objext \
15467 conftest$ac_exeext conftest.$ac_ext
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15470 $as_echo "$wine_cv_have_fallocate" >&6; }
15471 if test "$wine_cv_have_fallocate" = "yes"
15472 then
15474 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15480 $as_echo_n "checking for inline... " >&6; }
15481 if ${ac_cv_c_inline+:} false; then :
15482 $as_echo_n "(cached) " >&6
15483 else
15484 ac_cv_c_inline=no
15485 for ac_kw in inline __inline__ __inline; do
15486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15487 /* end confdefs.h. */
15488 #ifndef __cplusplus
15489 typedef int foo_t;
15490 static $ac_kw foo_t static_foo () {return 0; }
15491 $ac_kw foo_t foo () {return 0; }
15492 #endif
15494 _ACEOF
15495 if ac_fn_c_try_compile "$LINENO"; then :
15496 ac_cv_c_inline=$ac_kw
15498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15499 test "$ac_cv_c_inline" != no && break
15500 done
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15504 $as_echo "$ac_cv_c_inline" >&6; }
15506 case $ac_cv_c_inline in
15507 inline | yes) ;;
15509 case $ac_cv_c_inline in
15510 no) ac_val=;;
15511 *) ac_val=$ac_cv_c_inline;;
15512 esac
15513 cat >>confdefs.h <<_ACEOF
15514 #ifndef __cplusplus
15515 #define inline $ac_val
15516 #endif
15517 _ACEOF
15519 esac
15521 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15522 if test "x$ac_cv_type_mode_t" = xyes; then :
15524 cat >>confdefs.h <<_ACEOF
15525 #define HAVE_MODE_T 1
15526 _ACEOF
15530 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15531 if test "x$ac_cv_type_off_t" = xyes; then :
15533 cat >>confdefs.h <<_ACEOF
15534 #define HAVE_OFF_T 1
15535 _ACEOF
15539 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15540 if test "x$ac_cv_type_pid_t" = xyes; then :
15542 cat >>confdefs.h <<_ACEOF
15543 #define HAVE_PID_T 1
15544 _ACEOF
15548 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15549 if test "x$ac_cv_type_size_t" = xyes; then :
15551 cat >>confdefs.h <<_ACEOF
15552 #define HAVE_SIZE_T 1
15553 _ACEOF
15557 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15558 if test "x$ac_cv_type_ssize_t" = xyes; then :
15560 cat >>confdefs.h <<_ACEOF
15561 #define HAVE_SSIZE_T 1
15562 _ACEOF
15566 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15567 if test "x$ac_cv_type_long_long" = xyes; then :
15569 cat >>confdefs.h <<_ACEOF
15570 #define HAVE_LONG_LONG 1
15571 _ACEOF
15575 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15576 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15578 cat >>confdefs.h <<_ACEOF
15579 #define HAVE_FSBLKCNT_T 1
15580 _ACEOF
15584 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15585 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15587 cat >>confdefs.h <<_ACEOF
15588 #define HAVE_FSFILCNT_T 1
15589 _ACEOF
15594 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15595 #include <signal.h>
15597 if test "x$ac_cv_type_sigset_t" = xyes; then :
15599 cat >>confdefs.h <<_ACEOF
15600 #define HAVE_SIGSET_T 1
15601 _ACEOF
15606 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15608 if test "x$ac_cv_type_request_sense" = xyes; then :
15610 cat >>confdefs.h <<_ACEOF
15611 #define HAVE_REQUEST_SENSE 1
15612 _ACEOF
15618 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15619 #ifdef HAVE_SYS_SOCKET_H
15620 #include <sys/socket.h>
15621 #endif
15622 #ifdef HAVE_SYS_SOCKETVAR_H
15623 #include <sys/socketvar.h>
15624 #endif
15625 #ifdef HAVE_NET_ROUTE_H
15626 #include <net/route.h>
15627 #endif
15628 #ifdef HAVE_NETINET_IN_H
15629 #include <netinet/in.h>
15630 #endif
15631 #ifdef HAVE_NETINET_IN_SYSTM_H
15632 #include <netinet/in_systm.h>
15633 #endif
15634 #ifdef HAVE_NETINET_IP_H
15635 #include <netinet/ip.h>
15636 #endif
15637 #ifdef HAVE_NETINET_IN_PCB_H
15638 #include <netinet/in_pcb.h>
15639 #endif
15641 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15643 cat >>confdefs.h <<_ACEOF
15644 #define HAVE_STRUCT_XINPGEN 1
15645 _ACEOF
15651 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15652 #include <link.h>
15653 #endif
15654 #ifdef HAVE_SYS_LINK_H
15655 #include <sys/link.h>
15656 #endif
15658 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15660 cat >>confdefs.h <<_ACEOF
15661 #define HAVE_STRUCT_R_DEBUG 1
15662 _ACEOF
15666 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15667 #include <link.h>
15668 #endif
15669 #ifdef HAVE_SYS_LINK_H
15670 #include <sys/link.h>
15671 #endif
15673 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15675 cat >>confdefs.h <<_ACEOF
15676 #define HAVE_STRUCT_LINK_MAP 1
15677 _ACEOF
15683 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15684 #include <linux/input.h>
15685 #endif
15687 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15689 cat >>confdefs.h <<_ACEOF
15690 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15691 _ACEOF
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15698 $as_echo_n "checking for sigaddset... " >&6; }
15699 if ${wine_cv_have_sigaddset+:} false; then :
15700 $as_echo_n "(cached) " >&6
15701 else
15702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15704 #include <signal.h>
15706 main ()
15708 sigset_t set; sigaddset(&set,SIGTERM);
15710 return 0;
15712 _ACEOF
15713 if ac_fn_c_try_link "$LINENO"; then :
15714 wine_cv_have_sigaddset=yes
15715 else
15716 wine_cv_have_sigaddset=no
15718 rm -f core conftest.err conftest.$ac_objext \
15719 conftest$ac_exeext conftest.$ac_ext
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15722 $as_echo "$wine_cv_have_sigaddset" >&6; }
15723 if test "$wine_cv_have_sigaddset" = "yes"
15724 then
15726 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15732 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15733 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15734 $as_echo_n "(cached) " >&6
15735 else
15736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15737 /* end confdefs.h. */
15738 #include <netdb.h>
15740 main ()
15743 char *name=0;
15744 struct hostent he;
15745 struct hostent *result;
15746 char *buf=0;
15747 int bufsize=0;
15748 int errnr;
15749 char *addr=0;
15750 int addrlen=0;
15751 int addrtype=0;
15752 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15753 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15756 return 0;
15758 _ACEOF
15759 if ac_fn_c_try_link "$LINENO"; then :
15760 wine_cv_linux_gethostbyname_r_6=yes
15761 else
15762 wine_cv_linux_gethostbyname_r_6=no
15765 rm -f core conftest.err conftest.$ac_objext \
15766 conftest$ac_exeext conftest.$ac_ext
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15770 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15771 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15772 then
15774 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15778 if test "$ac_cv_header_linux_joystick_h" = "yes"
15779 then
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15781 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15782 if ${wine_cv_linux_joystick_22_api+:} false; then :
15783 $as_echo_n "(cached) " >&6
15784 else
15785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15786 /* end confdefs.h. */
15788 #include <sys/ioctl.h>
15789 #include <sys/types.h>
15790 #include <linux/joystick.h>
15792 struct js_event blub;
15793 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15794 #error "no 2.2 header"
15795 #endif
15798 main ()
15800 /*empty*/
15802 return 0;
15804 _ACEOF
15805 if ac_fn_c_try_compile "$LINENO"; then :
15806 wine_cv_linux_joystick_22_api=yes
15807 else
15808 wine_cv_linux_joystick_22_api=no
15810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15814 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15815 if test "$wine_cv_linux_joystick_22_api" = "yes"
15816 then
15818 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15824 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15825 #ifdef HAVE_SYS_PARAM_H
15826 # include <sys/param.h>
15827 #endif
15828 #ifdef HAVE_SYS_MOUNT_H
15829 # include <sys/mount.h>
15830 #endif
15831 #ifdef HAVE_SYS_VFS_H
15832 # include <sys/vfs.h>
15833 #endif
15834 #ifdef HAVE_SYS_STATFS_H
15835 # include <sys/statfs.h>
15836 #endif
15838 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15840 cat >>confdefs.h <<_ACEOF
15841 #define HAVE_STRUCT_STATFS_F_BFREE 1
15842 _ACEOF
15846 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15847 #ifdef HAVE_SYS_PARAM_H
15848 # include <sys/param.h>
15849 #endif
15850 #ifdef HAVE_SYS_MOUNT_H
15851 # include <sys/mount.h>
15852 #endif
15853 #ifdef HAVE_SYS_VFS_H
15854 # include <sys/vfs.h>
15855 #endif
15856 #ifdef HAVE_SYS_STATFS_H
15857 # include <sys/statfs.h>
15858 #endif
15860 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15862 cat >>confdefs.h <<_ACEOF
15863 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15864 _ACEOF
15868 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15869 #ifdef HAVE_SYS_PARAM_H
15870 # include <sys/param.h>
15871 #endif
15872 #ifdef HAVE_SYS_MOUNT_H
15873 # include <sys/mount.h>
15874 #endif
15875 #ifdef HAVE_SYS_VFS_H
15876 # include <sys/vfs.h>
15877 #endif
15878 #ifdef HAVE_SYS_STATFS_H
15879 # include <sys/statfs.h>
15880 #endif
15882 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15884 cat >>confdefs.h <<_ACEOF
15885 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15886 _ACEOF
15890 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15891 #ifdef HAVE_SYS_PARAM_H
15892 # include <sys/param.h>
15893 #endif
15894 #ifdef HAVE_SYS_MOUNT_H
15895 # include <sys/mount.h>
15896 #endif
15897 #ifdef HAVE_SYS_VFS_H
15898 # include <sys/vfs.h>
15899 #endif
15900 #ifdef HAVE_SYS_STATFS_H
15901 # include <sys/statfs.h>
15902 #endif
15904 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15906 cat >>confdefs.h <<_ACEOF
15907 #define HAVE_STRUCT_STATFS_F_FFREE 1
15908 _ACEOF
15912 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15913 #ifdef HAVE_SYS_PARAM_H
15914 # include <sys/param.h>
15915 #endif
15916 #ifdef HAVE_SYS_MOUNT_H
15917 # include <sys/mount.h>
15918 #endif
15919 #ifdef HAVE_SYS_VFS_H
15920 # include <sys/vfs.h>
15921 #endif
15922 #ifdef HAVE_SYS_STATFS_H
15923 # include <sys/statfs.h>
15924 #endif
15926 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15928 cat >>confdefs.h <<_ACEOF
15929 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15930 _ACEOF
15934 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15935 #ifdef HAVE_SYS_PARAM_H
15936 # include <sys/param.h>
15937 #endif
15938 #ifdef HAVE_SYS_MOUNT_H
15939 # include <sys/mount.h>
15940 #endif
15941 #ifdef HAVE_SYS_VFS_H
15942 # include <sys/vfs.h>
15943 #endif
15944 #ifdef HAVE_SYS_STATFS_H
15945 # include <sys/statfs.h>
15946 #endif
15948 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15950 cat >>confdefs.h <<_ACEOF
15951 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15952 _ACEOF
15958 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15959 #include <sys/statvfs.h>
15960 #endif
15962 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15964 cat >>confdefs.h <<_ACEOF
15965 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15966 _ACEOF
15972 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15973 #include <dirent.h>
15974 #endif
15976 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15978 cat >>confdefs.h <<_ACEOF
15979 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15980 _ACEOF
15986 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15987 #ifdef HAVE_SYS_SOCKET_H
15988 # include <sys/socket.h>
15989 #endif
15990 #ifdef HAVE_SYS_UN_H
15991 # include <sys/un.h>
15992 #endif
15994 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15996 cat >>confdefs.h <<_ACEOF
15997 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15998 _ACEOF
16002 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16003 #ifdef HAVE_SYS_SOCKET_H
16004 # include <sys/socket.h>
16005 #endif
16006 #ifdef HAVE_SYS_UN_H
16007 # include <sys/un.h>
16008 #endif
16010 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16012 cat >>confdefs.h <<_ACEOF
16013 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16014 _ACEOF
16018 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16019 #ifdef HAVE_SYS_SOCKET_H
16020 # include <sys/socket.h>
16021 #endif
16022 #ifdef HAVE_SYS_UN_H
16023 # include <sys/un.h>
16024 #endif
16026 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16028 cat >>confdefs.h <<_ACEOF
16029 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16030 _ACEOF
16036 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16037 #ifdef HAVE_SCSI_SG_H
16038 #include <scsi/sg.h>
16039 #endif
16041 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16043 cat >>confdefs.h <<_ACEOF
16044 #define HAVE_SCSIREQ_T_CMD 1
16045 _ACEOF
16049 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>
16050 #ifdef HAVE_SCSI_SG_H
16051 #include <scsi/sg.h>
16052 #endif
16054 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16056 cat >>confdefs.h <<_ACEOF
16057 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16058 _ACEOF
16064 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16066 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16068 cat >>confdefs.h <<_ACEOF
16069 #define HAVE_SIGINFO_T_SI_FD 1
16070 _ACEOF
16076 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16077 #ifdef HAVE_SYS_MTIO_H
16078 #include <sys/mtio.h>
16079 #endif
16081 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16083 cat >>confdefs.h <<_ACEOF
16084 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16085 _ACEOF
16089 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16090 #ifdef HAVE_SYS_MTIO_H
16091 #include <sys/mtio.h>
16092 #endif
16094 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16096 cat >>confdefs.h <<_ACEOF
16097 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16098 _ACEOF
16102 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16103 #ifdef HAVE_SYS_MTIO_H
16104 #include <sys/mtio.h>
16105 #endif
16107 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16109 cat >>confdefs.h <<_ACEOF
16110 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16111 _ACEOF
16117 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16118 #include <getopt.h>
16119 #endif
16121 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16123 cat >>confdefs.h <<_ACEOF
16124 #define HAVE_STRUCT_OPTION_NAME 1
16125 _ACEOF
16131 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16132 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16134 cat >>confdefs.h <<_ACEOF
16135 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16136 _ACEOF
16140 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16141 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16143 cat >>confdefs.h <<_ACEOF
16144 #define HAVE_STRUCT_STAT_ST_MTIM 1
16145 _ACEOF
16149 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16150 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16152 cat >>confdefs.h <<_ACEOF
16153 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16154 _ACEOF
16158 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16159 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16161 cat >>confdefs.h <<_ACEOF
16162 #define HAVE_STRUCT_STAT_ST_CTIM 1
16163 _ACEOF
16167 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16168 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16170 cat >>confdefs.h <<_ACEOF
16171 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16172 _ACEOF
16176 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16177 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16179 cat >>confdefs.h <<_ACEOF
16180 #define HAVE_STRUCT_STAT_ST_ATIM 1
16181 _ACEOF
16185 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16186 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16188 cat >>confdefs.h <<_ACEOF
16189 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16190 _ACEOF
16194 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16195 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16197 cat >>confdefs.h <<_ACEOF
16198 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16199 _ACEOF
16203 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16204 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16206 cat >>confdefs.h <<_ACEOF
16207 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16208 _ACEOF
16212 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16213 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16215 cat >>confdefs.h <<_ACEOF
16216 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16217 _ACEOF
16221 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16222 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16224 cat >>confdefs.h <<_ACEOF
16225 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16226 _ACEOF
16230 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16231 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16233 cat >>confdefs.h <<_ACEOF
16234 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16235 _ACEOF
16241 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
16242 #include <sys/types.h>
16243 #endif
16244 #ifdef HAVE_NETINET_IN_H
16245 #include <netinet/in.h>
16246 #endif
16248 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16250 cat >>confdefs.h <<_ACEOF
16251 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16252 _ACEOF
16258 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16259 #include <resolv.h>
16260 #endif
16262 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16264 cat >>confdefs.h <<_ACEOF
16265 #define HAVE_STRUCT___RES_STATE 1
16266 _ACEOF
16272 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
16273 #include <resolv.h>
16274 #endif
16276 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16278 cat >>confdefs.h <<_ACEOF
16279 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16280 _ACEOF
16286 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16287 #include <sys/types.h>
16288 #endif
16289 #ifdef HAVE_NETINET_IN_H
16290 # include <netinet/in.h>
16291 #endif
16292 #ifdef HAVE_ARPA_NAMESER_H
16293 # include <arpa/nameser.h>
16294 #endif
16296 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16298 cat >>confdefs.h <<_ACEOF
16299 #define HAVE_NS_MSG__MSG_PTR 1
16300 _ACEOF
16306 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16307 #include <sys/types.h>
16308 #endif
16309 #ifdef HAVE_NETINET_IP_H
16310 #include <netinet/ip.h>
16311 #endif
16312 #ifdef HAVE_NETINET_IP_ICMP_H
16313 #include <netinet/ip_icmp.h>
16314 #endif
16315 #ifdef HAVE_NETINET_ICMP_VAR_H
16316 #include <netinet/icmp_var.h>
16317 #endif
16319 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16321 cat >>confdefs.h <<_ACEOF
16322 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16323 _ACEOF
16329 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16330 #include <sys/types.h>
16331 #endif
16332 #ifdef HAVE_ALIAS_H
16333 #include <alias.h>
16334 #endif
16335 #ifdef HAVE_SYS_SOCKET_H
16336 #include <sys/socket.h>
16337 #endif
16338 #ifdef HAVE_SYS_SOCKETVAR_H
16339 #include <sys/socketvar.h>
16340 #endif
16341 #ifdef HAVE_SYS_TIMEOUT_H
16342 #include <sys/timeout.h>
16343 #endif
16344 #ifdef HAVE_NETINET_IN_H
16345 #include <netinet/in.h>
16346 #endif
16347 #ifdef HAVE_NETINET_IN_SYSTM_H
16348 #include <netinet/in_systm.h>
16349 #endif
16350 #ifdef HAVE_NETINET_IP_H
16351 #include <netinet/ip.h>
16352 #endif
16353 #ifdef HAVE_NETINET_IP_VAR_H
16354 #include <netinet/ip_var.h>
16355 #endif
16356 #ifdef HAVE_NETINET_IP_ICMP_H
16357 #include <netinet/ip_icmp.h>
16358 #endif
16359 #ifdef HAVE_NETINET_ICMP_VAR_H
16360 #include <netinet/icmp_var.h>
16361 #endif
16363 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16365 cat >>confdefs.h <<_ACEOF
16366 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16367 _ACEOF
16373 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16374 #include <sys/types.h>
16375 #endif
16376 #ifdef HAVE_SYS_SOCKETVAR_H
16377 #include <sys/socketvar.h>
16378 #endif
16379 #ifdef HAVE_NETINET_IN_H
16380 #include <netinet/in.h>
16381 #endif
16382 #ifdef HAVE_NETINET_IP_VAR_H
16383 #include <netinet/ip_var.h>
16384 #endif
16386 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16388 cat >>confdefs.h <<_ACEOF
16389 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16390 _ACEOF
16396 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
16397 #include <netinet/ip_var.h>
16398 #endif
16400 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16402 cat >>confdefs.h <<_ACEOF
16403 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16404 _ACEOF
16410 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16411 #include <sys/types.h>
16412 #endif
16413 #ifdef HAVE_SYS_SOCKETVAR_H
16414 #include <sys/socketvar.h>
16415 #endif
16416 #ifdef HAVE_NETINET_IN_H
16417 #include <netinet/in.h>
16418 #endif
16419 #ifdef HAVE_NETINET_TCP_H
16420 #include <netinet/tcp.h>
16421 #endif
16422 #ifdef HAVE_NETINET_TCP_VAR_H
16423 #include <netinet/tcp_var.h>
16424 #endif
16426 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16428 cat >>confdefs.h <<_ACEOF
16429 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16430 _ACEOF
16436 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
16437 #include <netinet/tcp_var.h>
16438 #endif
16440 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16442 cat >>confdefs.h <<_ACEOF
16443 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16444 _ACEOF
16450 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16451 #include <sys/types.h>
16452 #endif
16453 #ifdef HAVE_NETINET_IN_H
16454 #include <netinet/in.h>
16455 #endif
16456 #ifdef HAVE_NETINET_IP_VAR_H
16457 #include <netinet/ip_var.h>
16458 #endif
16459 #ifdef HAVE_NETINET_UDP_H
16460 #include <netinet/udp.h>
16461 #endif
16462 #ifdef HAVE_NETINET_UDP_VAR_H
16463 #include <netinet/udp_var.h>
16464 #endif
16466 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16468 cat >>confdefs.h <<_ACEOF
16469 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16470 _ACEOF
16476 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16477 #include <sys/types.h>
16478 #endif
16479 #ifdef HAVE_NET_IF_H
16480 # include <net/if.h>
16481 #endif
16483 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16485 cat >>confdefs.h <<_ACEOF
16486 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16487 _ACEOF
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16494 $as_echo_n "checking for timezone variable... " >&6; }
16495 if ${ac_cv_have_timezone+:} false; then :
16496 $as_echo_n "(cached) " >&6
16497 else
16498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16499 /* end confdefs.h. */
16500 #include <time.h>
16502 main ()
16504 timezone = 1
16506 return 0;
16508 _ACEOF
16509 if ac_fn_c_try_link "$LINENO"; then :
16510 ac_cv_have_timezone="yes"
16511 else
16512 ac_cv_have_timezone="no"
16514 rm -f core conftest.err conftest.$ac_objext \
16515 conftest$ac_exeext conftest.$ac_ext
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16518 $as_echo "$ac_cv_have_timezone" >&6; }
16519 if test "$ac_cv_have_timezone" = "yes"
16520 then
16522 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16526 $as_echo_n "checking for daylight variable... " >&6; }
16527 if ${ac_cv_have_daylight+:} false; then :
16528 $as_echo_n "(cached) " >&6
16529 else
16530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16532 #include <time.h>
16534 main ()
16536 daylight = 1
16538 return 0;
16540 _ACEOF
16541 if ac_fn_c_try_link "$LINENO"; then :
16542 ac_cv_have_daylight="yes"
16543 else
16544 ac_cv_have_daylight="no"
16546 rm -f core conftest.err conftest.$ac_objext \
16547 conftest$ac_exeext conftest.$ac_ext
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16550 $as_echo "$ac_cv_have_daylight" >&6; }
16551 if test "$ac_cv_have_daylight" = "yes"
16552 then
16554 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16558 ac_save_LIBS="$LIBS"
16559 LIBS="$LIBS -lm"
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16561 $as_echo_n "checking for isfinite... " >&6; }
16562 if ${ac_cv_have_isfinite+:} false; then :
16563 $as_echo_n "(cached) " >&6
16564 else
16565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16566 /* end confdefs.h. */
16567 #define _GNU_SOURCE
16568 #include <math.h>
16570 main ()
16572 float f = 0.0; return isfinite(f)
16574 return 0;
16576 _ACEOF
16577 if ac_fn_c_try_link "$LINENO"; then :
16578 ac_cv_have_isfinite="yes"
16579 else
16580 ac_cv_have_isfinite="no"
16582 rm -f core conftest.err conftest.$ac_objext \
16583 conftest$ac_exeext conftest.$ac_ext
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16586 $as_echo "$ac_cv_have_isfinite" >&6; }
16587 if test "$ac_cv_have_isfinite" = "yes"
16588 then
16590 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16595 $as_echo_n "checking for isinf... " >&6; }
16596 if ${ac_cv_have_isinf+:} false; then :
16597 $as_echo_n "(cached) " >&6
16598 else
16599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h. */
16601 #include <math.h>
16603 main ()
16605 float f = 0.0; return isinf(f)
16607 return 0;
16609 _ACEOF
16610 if ac_fn_c_try_link "$LINENO"; then :
16611 ac_cv_have_isinf="yes"
16612 else
16613 ac_cv_have_isinf="no"
16615 rm -f core conftest.err conftest.$ac_objext \
16616 conftest$ac_exeext conftest.$ac_ext
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16619 $as_echo "$ac_cv_have_isinf" >&6; }
16620 if test "$ac_cv_have_isinf" = "yes"
16621 then
16623 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16628 $as_echo_n "checking for isnan... " >&6; }
16629 if ${ac_cv_have_isnan+:} false; then :
16630 $as_echo_n "(cached) " >&6
16631 else
16632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16634 #include <math.h>
16636 main ()
16638 float f = 0.0; return isnan(f)
16640 return 0;
16642 _ACEOF
16643 if ac_fn_c_try_link "$LINENO"; then :
16644 ac_cv_have_isnan="yes"
16645 else
16646 ac_cv_have_isnan="no"
16648 rm -f core conftest.err conftest.$ac_objext \
16649 conftest$ac_exeext conftest.$ac_ext
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16652 $as_echo "$ac_cv_have_isnan" >&6; }
16653 if test "$ac_cv_have_isnan" = "yes"
16654 then
16656 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16660 for ac_func in \
16661 cbrt \
16662 cbrtf \
16663 erf \
16664 erff \
16665 exp2 \
16666 exp2f \
16667 llrint \
16668 llrintf \
16669 llround \
16670 llroundf \
16671 log2 \
16672 log2f \
16673 lrint \
16674 lrintf \
16675 lround \
16676 lroundf \
16677 rint \
16678 rintf \
16679 round \
16680 roundf \
16681 trunc \
16682 truncf
16684 do :
16685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16687 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16688 cat >>confdefs.h <<_ACEOF
16689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16690 _ACEOF
16693 done
16695 LIBS="$ac_save_LIBS"
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16698 $as_echo_n "checking for __builtin_clz... " >&6; }
16699 if ${ac_cv_have___builtin_clz+:} false; then :
16700 $as_echo_n "(cached) " >&6
16701 else
16702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16703 /* end confdefs.h. */
16706 main ()
16708 return __builtin_clz(1)
16710 return 0;
16712 _ACEOF
16713 if ac_fn_c_try_link "$LINENO"; then :
16714 ac_cv_have___builtin_clz="yes"
16715 else
16716 ac_cv_have___builtin_clz="no"
16718 rm -f core conftest.err conftest.$ac_objext \
16719 conftest$ac_exeext conftest.$ac_ext
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16722 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16723 if test "$ac_cv_have___builtin_clz" = "yes"
16724 then
16726 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16731 case $host_cpu in
16732 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16733 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16734 if ${ac_cv_cpp_def___i386__+:} false; then :
16735 $as_echo_n "(cached) " >&6
16736 else
16737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16738 /* end confdefs.h. */
16739 #ifndef __i386__
16741 #endif
16742 _ACEOF
16743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16744 $EGREP "yes" >/dev/null 2>&1; then :
16745 ac_cv_cpp_def___i386__=yes
16746 else
16747 ac_cv_cpp_def___i386__=no
16749 rm -f conftest*
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16753 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16754 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16755 CFLAGS="$CFLAGS -D__i386__"
16756 LINTFLAGS="$LINTFLAGS -D__i386__"
16757 fi ;;
16758 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16759 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16760 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16761 $as_echo_n "(cached) " >&6
16762 else
16763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16765 #ifndef __x86_64__
16767 #endif
16768 _ACEOF
16769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16770 $EGREP "yes" >/dev/null 2>&1; then :
16771 ac_cv_cpp_def___x86_64__=yes
16772 else
16773 ac_cv_cpp_def___x86_64__=no
16775 rm -f conftest*
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16779 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16780 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16781 CFLAGS="$CFLAGS -D__x86_64__"
16782 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16783 fi ;;
16784 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16785 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16786 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16787 $as_echo_n "(cached) " >&6
16788 else
16789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16790 /* end confdefs.h. */
16791 #ifndef __sparc64__
16793 #endif
16794 _ACEOF
16795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16796 $EGREP "yes" >/dev/null 2>&1; then :
16797 ac_cv_cpp_def___sparc64__=yes
16798 else
16799 ac_cv_cpp_def___sparc64__=no
16801 rm -f conftest*
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16805 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16806 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16807 CFLAGS="$CFLAGS -D__sparc64__"
16808 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16809 fi ;;
16810 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16811 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16812 if ${ac_cv_cpp_def___sparc__+:} false; then :
16813 $as_echo_n "(cached) " >&6
16814 else
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16817 #ifndef __sparc__
16819 #endif
16820 _ACEOF
16821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16822 $EGREP "yes" >/dev/null 2>&1; then :
16823 ac_cv_cpp_def___sparc__=yes
16824 else
16825 ac_cv_cpp_def___sparc__=no
16827 rm -f conftest*
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16831 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16832 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16833 CFLAGS="$CFLAGS -D__sparc__"
16834 LINTFLAGS="$LINTFLAGS -D__sparc__"
16835 fi ;;
16836 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16837 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16838 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16839 $as_echo_n "(cached) " >&6
16840 else
16841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16842 /* end confdefs.h. */
16843 #ifndef __powerpc64__
16845 #endif
16846 _ACEOF
16847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16848 $EGREP "yes" >/dev/null 2>&1; then :
16849 ac_cv_cpp_def___powerpc64__=yes
16850 else
16851 ac_cv_cpp_def___powerpc64__=no
16853 rm -f conftest*
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16857 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16858 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16859 CFLAGS="$CFLAGS -D__powerpc64__"
16860 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16861 fi ;;
16862 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16863 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16864 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16865 $as_echo_n "(cached) " >&6
16866 else
16867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16868 /* end confdefs.h. */
16869 #ifndef __powerpc__
16871 #endif
16872 _ACEOF
16873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16874 $EGREP "yes" >/dev/null 2>&1; then :
16875 ac_cv_cpp_def___powerpc__=yes
16876 else
16877 ac_cv_cpp_def___powerpc__=no
16879 rm -f conftest*
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16883 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16884 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16885 CFLAGS="$CFLAGS -D__powerpc__"
16886 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16887 fi ;;
16888 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16889 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16890 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16891 $as_echo_n "(cached) " >&6
16892 else
16893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16894 /* end confdefs.h. */
16895 #ifndef __aarch64__
16897 #endif
16898 _ACEOF
16899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16900 $EGREP "yes" >/dev/null 2>&1; then :
16901 ac_cv_cpp_def___aarch64__=yes
16902 else
16903 ac_cv_cpp_def___aarch64__=no
16905 rm -f conftest*
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16909 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16910 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16911 CFLAGS="$CFLAGS -D__aarch64__"
16912 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16913 fi ;;
16914 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16915 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16916 if ${ac_cv_cpp_def___arm__+:} false; then :
16917 $as_echo_n "(cached) " >&6
16918 else
16919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16920 /* end confdefs.h. */
16921 #ifndef __arm__
16923 #endif
16924 _ACEOF
16925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16926 $EGREP "yes" >/dev/null 2>&1; then :
16927 ac_cv_cpp_def___arm__=yes
16928 else
16929 ac_cv_cpp_def___arm__=no
16931 rm -f conftest*
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16935 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16936 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16937 CFLAGS="$CFLAGS -D__arm__"
16938 LINTFLAGS="$LINTFLAGS -D__arm__"
16939 fi ;;
16940 esac
16942 case $host_vendor in
16943 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16944 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16945 if ${ac_cv_cpp_def___sun__+:} false; then :
16946 $as_echo_n "(cached) " >&6
16947 else
16948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16949 /* end confdefs.h. */
16950 #ifndef __sun__
16952 #endif
16953 _ACEOF
16954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16955 $EGREP "yes" >/dev/null 2>&1; then :
16956 ac_cv_cpp_def___sun__=yes
16957 else
16958 ac_cv_cpp_def___sun__=no
16960 rm -f conftest*
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16964 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16965 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16966 CFLAGS="$CFLAGS -D__sun__"
16967 LINTFLAGS="$LINTFLAGS -D__sun__"
16968 fi ;;
16969 esac
16975 ac_config_commands="$ac_config_commands include/stamp-h"
16977 $as_echo_n "creating Makefile rules..." >&6
16979 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16980 SOCKET_LIBS = $SOCKET_LIBS
16981 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16982 IOKIT_LIBS = $IOKIT_LIBS
16983 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16984 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16985 CORESERVICES_LIBS = $CORESERVICES_LIBS
16986 APPKIT_LIBS = $APPKIT_LIBS
16987 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16988 SECURITY_LIBS = $SECURITY_LIBS
16989 COREAUDIO_LIBS = $COREAUDIO_LIBS
16990 OPENAL_LIBS = $OPENAL_LIBS
16991 OPENCL_LIBS = $OPENCL_LIBS
16992 QUICKTIME_LIBS = $QUICKTIME_LIBS
16993 CARBON_LIBS = $CARBON_LIBS
16994 PTHREAD_LIBS = $PTHREAD_LIBS
16995 X_CFLAGS = $X_CFLAGS
16996 X_PRE_LIBS = $X_PRE_LIBS
16997 X_LIBS = $X_LIBS
16998 X_EXTRA_LIBS = $X_EXTRA_LIBS
16999 XML2_CFLAGS = $XML2_CFLAGS
17000 XML2_LIBS = $XML2_LIBS
17001 XSLT_CFLAGS = $XSLT_CFLAGS
17002 XSLT_LIBS = $XSLT_LIBS
17003 DBUS_CFLAGS = $DBUS_CFLAGS
17004 DBUS_LIBS = $DBUS_LIBS
17005 HAL_CFLAGS = $HAL_CFLAGS
17006 HAL_LIBS = $HAL_LIBS
17007 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17008 GNUTLS_LIBS = $GNUTLS_LIBS
17009 SANE_CFLAGS = $SANE_CFLAGS
17010 SANE_LIBS = $SANE_LIBS
17011 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17012 GPHOTO2_LIBS = $GPHOTO2_LIBS
17013 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17014 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17015 RESOLV_LIBS = $RESOLV_LIBS
17016 LCMS2_CFLAGS = $LCMS2_CFLAGS
17017 LCMS2_LIBS = $LCMS2_LIBS
17018 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17019 FREETYPE_LIBS = $FREETYPE_LIBS
17020 Z_LIBS = $Z_LIBS
17021 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17022 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17023 GSTREAMER_LIBS = $GSTREAMER_LIBS
17024 ALSA_LIBS = $ALSA_LIBS
17025 OSS4_CFLAGS = $OSS4_CFLAGS
17026 CAPI20_CFLAGS = $CAPI20_CFLAGS
17027 CAPI20_LIBS = $CAPI20_LIBS
17028 CUPS_CFLAGS = $CUPS_CFLAGS
17029 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17030 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17031 JPEG_CFLAGS = $JPEG_CFLAGS
17032 JPEG_LIBS = $JPEG_LIBS
17033 PNG_CFLAGS = $PNG_CFLAGS
17034 PNG_LIBS = $PNG_LIBS
17035 TIFF_CFLAGS = $TIFF_CFLAGS
17036 TIFF_LIBS = $TIFF_LIBS
17037 MPG123_CFLAGS = $MPG123_CFLAGS
17038 MPG123_LIBS = $MPG123_LIBS
17039 KSTAT_LIBS = $KSTAT_LIBS
17040 PROCSTAT_LIBS = $PROCSTAT_LIBS
17041 DL_LIBS = $DL_LIBS
17042 POLL_LIBS = $POLL_LIBS
17043 RT_LIBS = $RT_LIBS
17044 LDAP_LIBS = $LDAP_LIBS
17049 wine_fn_append_rule "
17050 # Rules automatically generated by configure
17052 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17054 .INIT: Makefile
17055 .MAKEFILEDEPS:
17056 all: Makefile
17057 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17058 @./config.status Make.tmp Makefile"
17060 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17061 .gitignore: config.status
17062 @./config.status .gitignore"
17064 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17065 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17067 if test "x$enable_fonts" != xno; then
17068 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17069 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17070 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17071 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17072 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
17074 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17075 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17076 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17077 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17078 ac_config_links="$ac_config_links wine:tools/winewrapper"
17079 wine_fn_config_symlink wine
17080 if test "x$enable_win64" != xno; then
17081 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17082 wine_fn_config_symlink wine64
17085 wine_fn_config_dll acledit enable_acledit
17086 wine_fn_config_dll aclui enable_aclui implib
17087 wine_fn_config_dll activeds enable_activeds implib
17088 wine_fn_config_dll actxprxy enable_actxprxy clean
17089 wine_fn_config_lib adsiid
17090 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17091 wine_fn_config_test dlls/advapi32/tests advapi32_test
17092 wine_fn_config_dll advpack enable_advpack implib
17093 wine_fn_config_test dlls/advpack/tests advpack_test
17094 wine_fn_config_dll amstream enable_amstream clean
17095 wine_fn_config_test dlls/amstream/tests amstream_test
17096 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17097 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17098 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17099 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17100 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17101 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17102 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17103 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17104 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17105 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17106 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17107 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17108 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17109 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17110 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17111 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17112 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17113 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17114 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17115 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17116 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17117 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17118 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17119 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17120 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17121 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17122 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17123 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17124 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17125 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17126 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17127 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17128 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17129 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17130 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17131 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17132 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17133 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17134 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17135 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17136 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17137 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17138 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17139 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17140 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17141 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17142 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17143 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17144 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17145 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17146 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17147 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17148 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17149 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17150 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17151 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17152 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17153 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17154 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17155 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17156 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17157 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17158 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17159 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17160 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17161 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17162 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17163 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17164 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17165 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17166 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17167 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17168 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17169 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17170 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17171 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17172 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17173 wine_fn_config_dll apphelp enable_apphelp
17174 wine_fn_config_test dlls/apphelp/tests apphelp_test
17175 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17176 wine_fn_config_dll atl enable_atl clean,implib
17177 wine_fn_config_test dlls/atl/tests atl_test
17178 wine_fn_config_dll atl100 enable_atl100 clean,implib
17179 wine_fn_config_test dlls/atl100/tests atl100_test
17180 wine_fn_config_dll atl110 enable_atl110 clean
17181 wine_fn_config_dll atl80 enable_atl80 clean,implib
17182 wine_fn_config_test dlls/atl80/tests atl80_test
17183 wine_fn_config_dll atl90 enable_atl90 clean
17184 wine_fn_config_dll authz enable_authz
17185 wine_fn_config_dll avicap32 enable_avicap32 implib
17186 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17187 wine_fn_config_test dlls/avifil32/tests avifil32_test
17188 wine_fn_config_dll avifile.dll16 enable_win16
17189 wine_fn_config_dll avrt enable_avrt implib
17190 wine_fn_config_dll bcrypt enable_bcrypt
17191 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17192 wine_fn_config_dll browseui enable_browseui clean,po
17193 wine_fn_config_test dlls/browseui/tests browseui_test
17194 wine_fn_config_dll cabinet enable_cabinet implib
17195 wine_fn_config_test dlls/cabinet/tests cabinet_test
17196 wine_fn_config_dll capi2032 enable_capi2032 implib
17197 wine_fn_config_dll cards enable_cards implib
17198 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17199 wine_fn_config_dll clusapi enable_clusapi implib
17200 wine_fn_config_dll combase enable_combase
17201 wine_fn_config_test dlls/combase/tests combase_test
17202 wine_fn_config_dll comcat enable_comcat
17203 wine_fn_config_test dlls/comcat/tests comcat_test
17204 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17205 wine_fn_config_test dlls/comctl32/tests comctl32_test
17206 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17207 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17208 wine_fn_config_dll comm.drv16 enable_win16
17209 wine_fn_config_dll commdlg.dll16 enable_win16
17210 wine_fn_config_dll compobj.dll16 enable_win16
17211 wine_fn_config_dll compstui enable_compstui implib
17212 wine_fn_config_dll comsvcs enable_comsvcs implib
17213 wine_fn_config_dll connect enable_connect
17214 wine_fn_config_dll credui enable_credui implib,po
17215 wine_fn_config_test dlls/credui/tests credui_test
17216 wine_fn_config_dll crtdll enable_crtdll implib
17217 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17218 wine_fn_config_test dlls/crypt32/tests crypt32_test
17219 wine_fn_config_dll cryptdlg enable_cryptdlg po
17220 wine_fn_config_dll cryptdll enable_cryptdll implib
17221 wine_fn_config_dll cryptext enable_cryptext
17222 wine_fn_config_dll cryptnet enable_cryptnet implib
17223 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17224 wine_fn_config_dll cryptui enable_cryptui implib,po
17225 wine_fn_config_test dlls/cryptui/tests cryptui_test
17226 wine_fn_config_dll ctapi32 enable_ctapi32
17227 wine_fn_config_dll ctl3d.dll16 enable_win16
17228 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17229 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17230 wine_fn_config_dll d2d1 enable_d2d1 implib
17231 wine_fn_config_test dlls/d2d1/tests d2d1_test
17232 wine_fn_config_dll d3d10 enable_d3d10 implib
17233 wine_fn_config_test dlls/d3d10/tests d3d10_test
17234 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17235 wine_fn_config_dll d3d10core enable_d3d10core implib
17236 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17237 wine_fn_config_dll d3d11 enable_d3d11
17238 wine_fn_config_dll d3d8 enable_d3d8 implib
17239 wine_fn_config_test dlls/d3d8/tests d3d8_test
17240 wine_fn_config_dll d3d9 enable_d3d9 implib
17241 wine_fn_config_test dlls/d3d9/tests d3d9_test
17242 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17243 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17244 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17245 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17246 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17247 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17248 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17249 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17250 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17251 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17252 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17253 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17254 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17255 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17256 wine_fn_config_dll d3dim enable_d3dim implib
17257 wine_fn_config_dll d3drm enable_d3drm implib
17258 wine_fn_config_test dlls/d3drm/tests d3drm_test
17259 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17260 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17261 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17262 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17263 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17264 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17265 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17266 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17267 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17268 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17269 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17270 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17271 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17272 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17273 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17274 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17275 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17276 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17277 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17278 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17279 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17280 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17281 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17282 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17283 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17284 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17285 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17286 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17287 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17288 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17289 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17290 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17291 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17292 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17293 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17294 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17295 wine_fn_config_dll davclnt enable_davclnt
17296 wine_fn_config_dll dbgeng enable_dbgeng implib
17297 wine_fn_config_dll dbghelp enable_dbghelp implib
17298 wine_fn_config_dll dciman32 enable_dciman32 implib
17299 wine_fn_config_dll ddeml.dll16 enable_win16
17300 wine_fn_config_dll ddraw enable_ddraw clean,implib
17301 wine_fn_config_test dlls/ddraw/tests ddraw_test
17302 wine_fn_config_dll ddrawex enable_ddrawex clean
17303 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17304 wine_fn_config_dll devenum enable_devenum clean,po
17305 wine_fn_config_test dlls/devenum/tests devenum_test
17306 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17307 wine_fn_config_dll difxapi enable_difxapi
17308 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17309 wine_fn_config_test dlls/dinput/tests dinput_test
17310 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17311 wine_fn_config_test dlls/dinput8/tests dinput8_test
17312 wine_fn_config_dll dispdib.dll16 enable_win16
17313 wine_fn_config_dll dispex enable_dispex clean
17314 wine_fn_config_test dlls/dispex/tests dispex_test
17315 wine_fn_config_dll display.drv16 enable_win16
17316 wine_fn_config_dll dmband enable_dmband clean
17317 wine_fn_config_test dlls/dmband/tests dmband_test
17318 wine_fn_config_dll dmcompos enable_dmcompos clean
17319 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17320 wine_fn_config_dll dmime enable_dmime clean
17321 wine_fn_config_test dlls/dmime/tests dmime_test
17322 wine_fn_config_dll dmloader enable_dmloader clean
17323 wine_fn_config_test dlls/dmloader/tests dmloader_test
17324 wine_fn_config_dll dmscript enable_dmscript clean
17325 wine_fn_config_test dlls/dmscript/tests dmscript_test
17326 wine_fn_config_dll dmstyle enable_dmstyle clean
17327 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17328 wine_fn_config_dll dmsynth enable_dmsynth clean
17329 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17330 wine_fn_config_dll dmusic enable_dmusic clean
17331 wine_fn_config_test dlls/dmusic/tests dmusic_test
17332 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17333 wine_fn_config_dll dnsapi enable_dnsapi implib
17334 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17335 wine_fn_config_dll dplay enable_dplay implib
17336 wine_fn_config_dll dplayx enable_dplayx clean,implib
17337 wine_fn_config_test dlls/dplayx/tests dplayx_test
17338 wine_fn_config_dll dpnaddr enable_dpnaddr
17339 wine_fn_config_dll dpnet enable_dpnet clean,implib
17340 wine_fn_config_test dlls/dpnet/tests dpnet_test
17341 wine_fn_config_dll dpnhpast enable_dpnhpast
17342 wine_fn_config_dll dpnlobby enable_dpnlobby
17343 wine_fn_config_dll dpvoice enable_dpvoice clean
17344 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17345 wine_fn_config_dll dpwsockx enable_dpwsockx
17346 wine_fn_config_dll drmclien enable_drmclien
17347 wine_fn_config_dll dsound enable_dsound clean,implib
17348 wine_fn_config_test dlls/dsound/tests dsound_test
17349 wine_fn_config_dll dssenh enable_dssenh
17350 wine_fn_config_test dlls/dssenh/tests dssenh_test
17351 wine_fn_config_dll dswave enable_dswave clean
17352 wine_fn_config_test dlls/dswave/tests dswave_test
17353 wine_fn_config_dll dwmapi enable_dwmapi implib
17354 wine_fn_config_dll dwrite enable_dwrite implib
17355 wine_fn_config_test dlls/dwrite/tests dwrite_test
17356 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17357 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17358 wine_fn_config_lib dxerr8
17359 wine_fn_config_lib dxerr9
17360 wine_fn_config_dll dxgi enable_dxgi implib
17361 wine_fn_config_test dlls/dxgi/tests dxgi_test
17362 wine_fn_config_lib dxguid
17363 wine_fn_config_dll dxva2 enable_dxva2
17364 wine_fn_config_dll evr enable_evr
17365 wine_fn_config_dll explorerframe enable_explorerframe clean
17366 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17367 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17368 wine_fn_config_dll faultrep enable_faultrep implib
17369 wine_fn_config_test dlls/faultrep/tests faultrep_test
17370 wine_fn_config_dll fltlib enable_fltlib
17371 wine_fn_config_dll fntcache enable_fntcache
17372 wine_fn_config_dll fontsub enable_fontsub
17373 wine_fn_config_dll fusion enable_fusion
17374 wine_fn_config_test dlls/fusion/tests fusion_test
17375 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17376 wine_fn_config_dll gameux enable_gameux clean
17377 wine_fn_config_test dlls/gameux/tests gameux_test
17378 wine_fn_config_dll gdi.exe16 enable_win16
17379 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17380 wine_fn_config_test dlls/gdi32/tests gdi32_test
17381 wine_fn_config_dll gdiplus enable_gdiplus implib
17382 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17383 wine_fn_config_dll glu32 enable_glu32 implib
17384 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17385 wine_fn_config_dll gpkcsp enable_gpkcsp
17386 wine_fn_config_dll hal enable_hal
17387 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17388 wine_fn_config_dll hid enable_hid implib
17389 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17390 wine_fn_config_dll hlink enable_hlink clean,implib
17391 wine_fn_config_test dlls/hlink/tests hlink_test
17392 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17393 wine_fn_config_dll httpapi enable_httpapi
17394 wine_fn_config_dll iccvid enable_iccvid po
17395 wine_fn_config_dll icmp enable_icmp
17396 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17397 wine_fn_config_test dlls/ieframe/tests ieframe_test
17398 wine_fn_config_dll ifsmgr.vxd enable_win16
17399 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17400 wine_fn_config_dll imagehlp enable_imagehlp implib
17401 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17402 wine_fn_config_dll imm.dll16 enable_win16
17403 wine_fn_config_dll imm32 enable_imm32 implib
17404 wine_fn_config_test dlls/imm32/tests imm32_test
17405 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17406 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17407 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17408 wine_fn_config_dll inetmib1 enable_inetmib1
17409 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17410 wine_fn_config_dll infosoft enable_infosoft clean
17411 wine_fn_config_test dlls/infosoft/tests infosoft_test
17412 wine_fn_config_dll initpki enable_initpki
17413 wine_fn_config_dll inkobj enable_inkobj
17414 wine_fn_config_dll inseng enable_inseng clean
17415 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17416 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17417 wine_fn_config_dll itircl enable_itircl
17418 wine_fn_config_dll itss enable_itss clean
17419 wine_fn_config_test dlls/itss/tests itss_test
17420 wine_fn_config_dll joy.cpl enable_joy_cpl po
17421 wine_fn_config_dll jscript enable_jscript clean,po
17422 wine_fn_config_test dlls/jscript/tests jscript_test
17423 wine_fn_config_dll jsproxy enable_jsproxy implib
17424 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17425 wine_fn_config_test dlls/kernel32/tests kernel32_test
17426 wine_fn_config_dll keyboard.drv16 enable_win16
17427 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17428 wine_fn_config_dll ksuser enable_ksuser
17429 wine_fn_config_dll ktmw32 enable_ktmw32
17430 wine_fn_config_dll loadperf enable_loadperf implib
17431 wine_fn_config_dll localspl enable_localspl po
17432 wine_fn_config_test dlls/localspl/tests localspl_test
17433 wine_fn_config_dll localui enable_localui po
17434 wine_fn_config_test dlls/localui/tests localui_test
17435 wine_fn_config_dll lz32 enable_lz32 implib
17436 wine_fn_config_test dlls/lz32/tests lz32_test
17437 wine_fn_config_dll lzexpand.dll16 enable_win16
17438 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17439 wine_fn_config_test dlls/mapi32/tests mapi32_test
17440 wine_fn_config_dll mapistub enable_mapistub
17441 wine_fn_config_dll mciavi32 enable_mciavi32
17442 wine_fn_config_dll mcicda enable_mcicda
17443 wine_fn_config_dll mciqtz32 enable_mciqtz32
17444 wine_fn_config_dll mciseq enable_mciseq
17445 wine_fn_config_dll mciwave enable_mciwave
17446 wine_fn_config_dll mf enable_mf
17447 wine_fn_config_dll mfplat enable_mfplat
17448 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17449 wine_fn_config_dll mgmtapi enable_mgmtapi
17450 wine_fn_config_dll midimap enable_midimap
17451 wine_fn_config_dll mlang enable_mlang clean,implib
17452 wine_fn_config_test dlls/mlang/tests mlang_test
17453 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17454 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17455 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17456 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17457 wine_fn_config_dll mmdevldr.vxd enable_win16
17458 wine_fn_config_dll mmsystem.dll16 enable_win16
17459 wine_fn_config_dll monodebg.vxd enable_win16
17460 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17461 wine_fn_config_dll mouse.drv16 enable_win16
17462 wine_fn_config_dll mpr enable_mpr implib,po
17463 wine_fn_config_test dlls/mpr/tests mpr_test
17464 wine_fn_config_dll mprapi enable_mprapi implib
17465 wine_fn_config_dll msacm.dll16 enable_win16
17466 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17467 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17468 wine_fn_config_test dlls/msacm32/tests msacm32_test
17469 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17470 wine_fn_config_dll msasn1 enable_msasn1 implib
17471 wine_fn_config_dll mscat32 enable_mscat32
17472 wine_fn_config_dll mscms enable_mscms implib
17473 wine_fn_config_test dlls/mscms/tests mscms_test
17474 wine_fn_config_dll mscoree enable_mscoree clean
17475 wine_fn_config_test dlls/mscoree/tests mscoree_test
17476 wine_fn_config_dll msctf enable_msctf clean
17477 wine_fn_config_test dlls/msctf/tests msctf_test
17478 wine_fn_config_dll msctfp enable_msctfp clean
17479 wine_fn_config_dll msdaps enable_msdaps clean
17480 wine_fn_config_dll msdmo enable_msdmo implib
17481 wine_fn_config_test dlls/msdmo/tests msdmo_test
17482 wine_fn_config_dll msftedit enable_msftedit
17483 wine_fn_config_dll msg711.acm enable_msg711_acm
17484 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17485 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17486 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17487 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17488 wine_fn_config_dll msi enable_msi clean,implib,po
17489 wine_fn_config_test dlls/msi/tests msi_test
17490 wine_fn_config_dll msident enable_msident clean
17491 wine_fn_config_dll msimg32 enable_msimg32 implib
17492 wine_fn_config_dll msimsg enable_msimsg
17493 wine_fn_config_dll msimtf enable_msimtf clean
17494 wine_fn_config_dll msisip enable_msisip
17495 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17496 wine_fn_config_dll msls31 enable_msls31
17497 wine_fn_config_dll msnet32 enable_msnet32
17498 wine_fn_config_dll mspatcha enable_mspatcha implib
17499 wine_fn_config_dll msrle32 enable_msrle32 po
17500 wine_fn_config_test dlls/msrle32/tests msrle32_test
17501 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17502 wine_fn_config_dll mssign32 enable_mssign32
17503 wine_fn_config_dll mssip32 enable_mssip32
17504 wine_fn_config_dll mstask enable_mstask clean
17505 wine_fn_config_test dlls/mstask/tests mstask_test
17506 wine_fn_config_dll msvcirt enable_msvcirt
17507 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17508 wine_fn_config_dll msvcm80 enable_msvcm80
17509 wine_fn_config_dll msvcm90 enable_msvcm90
17510 wine_fn_config_dll msvcp100 enable_msvcp100
17511 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17512 wine_fn_config_dll msvcp110 enable_msvcp110
17513 wine_fn_config_dll msvcp120 enable_msvcp120
17514 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17515 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17516 wine_fn_config_dll msvcp60 enable_msvcp60
17517 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17518 wine_fn_config_dll msvcp70 enable_msvcp70
17519 wine_fn_config_dll msvcp71 enable_msvcp71
17520 wine_fn_config_dll msvcp80 enable_msvcp80
17521 wine_fn_config_dll msvcp90 enable_msvcp90
17522 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17523 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17524 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17525 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17526 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17527 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17528 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17529 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17530 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17531 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17532 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17533 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17534 wine_fn_config_dll msvcrt enable_msvcrt implib
17535 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17536 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17537 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17538 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17539 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17540 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17541 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17542 wine_fn_config_dll msvidc32 enable_msvidc32 po
17543 wine_fn_config_dll msvideo.dll16 enable_win16
17544 wine_fn_config_dll mswsock enable_mswsock implib
17545 wine_fn_config_dll msxml enable_msxml clean
17546 wine_fn_config_dll msxml2 enable_msxml2 clean
17547 wine_fn_config_dll msxml3 enable_msxml3 clean
17548 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17549 wine_fn_config_dll msxml4 enable_msxml4 clean
17550 wine_fn_config_dll msxml6 enable_msxml6 clean
17551 wine_fn_config_dll nddeapi enable_nddeapi implib
17552 wine_fn_config_dll ndis.sys enable_ndis_sys
17553 wine_fn_config_dll netapi32 enable_netapi32 implib
17554 wine_fn_config_test dlls/netapi32/tests netapi32_test
17555 wine_fn_config_dll netcfgx enable_netcfgx clean
17556 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17557 wine_fn_config_dll netprofm enable_netprofm clean
17558 wine_fn_config_test dlls/netprofm/tests netprofm_test
17559 wine_fn_config_dll newdev enable_newdev implib
17560 wine_fn_config_dll normaliz enable_normaliz implib
17561 wine_fn_config_dll npmshtml enable_npmshtml
17562 wine_fn_config_dll npptools enable_npptools
17563 wine_fn_config_dll ntdll enable_ntdll implib
17564 wine_fn_config_test dlls/ntdll/tests ntdll_test
17565 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17566 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17567 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17568 wine_fn_config_dll ntprint enable_ntprint
17569 wine_fn_config_test dlls/ntprint/tests ntprint_test
17570 wine_fn_config_dll objsel enable_objsel clean
17571 wine_fn_config_dll odbc32 enable_odbc32 implib
17572 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17573 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17574 wine_fn_config_dll odbccu32 enable_odbccu32
17575 wine_fn_config_dll ole2.dll16 enable_win16
17576 wine_fn_config_dll ole2conv.dll16 enable_win16
17577 wine_fn_config_dll ole2disp.dll16 enable_win16
17578 wine_fn_config_dll ole2nls.dll16 enable_win16
17579 wine_fn_config_dll ole2prox.dll16 enable_win16
17580 wine_fn_config_dll ole2thk.dll16 enable_win16
17581 wine_fn_config_dll ole32 enable_ole32 clean,implib
17582 wine_fn_config_test dlls/ole32/tests ole32_test
17583 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17584 wine_fn_config_test dlls/oleacc/tests oleacc_test
17585 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17586 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17587 wine_fn_config_dll olecli.dll16 enable_win16
17588 wine_fn_config_dll olecli32 enable_olecli32 implib
17589 wine_fn_config_dll oledb32 enable_oledb32 clean
17590 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17591 wine_fn_config_dll oledlg enable_oledlg implib,po
17592 wine_fn_config_test dlls/oledlg/tests oledlg_test
17593 wine_fn_config_dll olepro32 enable_olepro32 implib
17594 wine_fn_config_dll olesvr.dll16 enable_win16
17595 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17596 wine_fn_config_dll olethk32 enable_olethk32
17597 wine_fn_config_dll openal32 enable_openal32
17598 wine_fn_config_dll opencl enable_opencl
17599 wine_fn_config_dll opengl32 enable_opengl32 implib
17600 wine_fn_config_test dlls/opengl32/tests opengl32_test
17601 wine_fn_config_dll packager enable_packager clean
17602 wine_fn_config_test dlls/packager/tests packager_test
17603 wine_fn_config_dll pdh enable_pdh implib
17604 wine_fn_config_test dlls/pdh/tests pdh_test
17605 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17606 wine_fn_config_dll pidgen enable_pidgen
17607 wine_fn_config_dll powrprof enable_powrprof implib
17608 wine_fn_config_dll printui enable_printui
17609 wine_fn_config_dll prntvpt enable_prntvpt
17610 wine_fn_config_dll propsys enable_propsys clean,implib
17611 wine_fn_config_test dlls/propsys/tests propsys_test
17612 wine_fn_config_dll psapi enable_psapi implib
17613 wine_fn_config_test dlls/psapi/tests psapi_test
17614 wine_fn_config_dll pstorec enable_pstorec clean
17615 wine_fn_config_dll qcap enable_qcap
17616 wine_fn_config_test dlls/qcap/tests qcap_test
17617 wine_fn_config_dll qedit enable_qedit clean
17618 wine_fn_config_test dlls/qedit/tests qedit_test
17619 wine_fn_config_dll qmgr enable_qmgr clean
17620 wine_fn_config_test dlls/qmgr/tests qmgr_test
17621 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17622 wine_fn_config_dll quartz enable_quartz clean,implib
17623 wine_fn_config_test dlls/quartz/tests quartz_test clean
17624 wine_fn_config_dll query enable_query
17625 wine_fn_config_dll rasapi16.dll16 enable_win16
17626 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17627 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17628 wine_fn_config_dll rasdlg enable_rasdlg implib
17629 wine_fn_config_dll regapi enable_regapi
17630 wine_fn_config_dll resutils enable_resutils implib
17631 wine_fn_config_dll riched20 enable_riched20 clean,implib
17632 wine_fn_config_test dlls/riched20/tests riched20_test
17633 wine_fn_config_dll riched32 enable_riched32
17634 wine_fn_config_test dlls/riched32/tests riched32_test
17635 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17636 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17637 wine_fn_config_dll rsabase enable_rsabase
17638 wine_fn_config_dll rsaenh enable_rsaenh implib
17639 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17640 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17641 wine_fn_config_dll rtutils enable_rtutils implib
17642 wine_fn_config_dll samlib enable_samlib
17643 wine_fn_config_dll sane.ds enable_sane_ds po
17644 wine_fn_config_dll scarddlg enable_scarddlg
17645 wine_fn_config_dll sccbase enable_sccbase
17646 wine_fn_config_dll schannel enable_schannel
17647 wine_fn_config_test dlls/schannel/tests schannel_test
17648 wine_fn_config_dll schedsvc enable_schedsvc clean
17649 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17650 wine_fn_config_dll scrrun enable_scrrun clean
17651 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17652 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17653 wine_fn_config_dll secur32 enable_secur32 implib
17654 wine_fn_config_test dlls/secur32/tests secur32_test
17655 wine_fn_config_dll security enable_security
17656 wine_fn_config_dll sensapi enable_sensapi implib
17657 wine_fn_config_dll serialui enable_serialui implib,po
17658 wine_fn_config_test dlls/serialui/tests serialui_test
17659 wine_fn_config_dll setupapi enable_setupapi implib,po
17660 wine_fn_config_test dlls/setupapi/tests setupapi_test
17661 wine_fn_config_dll setupx.dll16 enable_win16
17662 wine_fn_config_dll sfc enable_sfc implib
17663 wine_fn_config_dll sfc_os enable_sfc_os implib
17664 wine_fn_config_dll shdoclc enable_shdoclc po
17665 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17666 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17667 wine_fn_config_dll shell.dll16 enable_win16
17668 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17669 wine_fn_config_test dlls/shell32/tests shell32_test
17670 wine_fn_config_dll shfolder enable_shfolder implib
17671 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17672 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17673 wine_fn_config_dll slbcsp enable_slbcsp
17674 wine_fn_config_dll slc enable_slc implib
17675 wine_fn_config_test dlls/slc/tests slc_test
17676 wine_fn_config_dll snmpapi enable_snmpapi implib
17677 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17678 wine_fn_config_dll softpub enable_softpub
17679 wine_fn_config_dll sound.drv16 enable_win16
17680 wine_fn_config_dll spoolss enable_spoolss implib
17681 wine_fn_config_test dlls/spoolss/tests spoolss_test
17682 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17683 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17684 wine_fn_config_dll sti enable_sti clean,implib
17685 wine_fn_config_test dlls/sti/tests sti_test
17686 wine_fn_config_dll storage.dll16 enable_win16
17687 wine_fn_config_dll stress.dll16 enable_win16
17688 wine_fn_config_lib strmbase
17689 wine_fn_config_lib strmiids
17690 wine_fn_config_dll svrapi enable_svrapi
17691 wine_fn_config_dll sxs enable_sxs implib
17692 wine_fn_config_test dlls/sxs/tests sxs_test
17693 wine_fn_config_dll system.drv16 enable_win16
17694 wine_fn_config_dll t2embed enable_t2embed
17695 wine_fn_config_dll tapi32 enable_tapi32 implib
17696 wine_fn_config_dll taskschd enable_taskschd clean
17697 wine_fn_config_test dlls/taskschd/tests taskschd_test
17698 wine_fn_config_dll toolhelp.dll16 enable_win16
17699 wine_fn_config_dll traffic enable_traffic
17700 wine_fn_config_dll twain.dll16 enable_win16
17701 wine_fn_config_dll twain_32 enable_twain_32
17702 wine_fn_config_test dlls/twain_32/tests twain_32_test
17703 wine_fn_config_dll typelib.dll16 enable_win16
17704 wine_fn_config_dll unicows enable_unicows implib
17705 wine_fn_config_dll updspapi enable_updspapi
17706 wine_fn_config_dll url enable_url implib
17707 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17708 wine_fn_config_test dlls/urlmon/tests urlmon_test
17709 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17710 wine_fn_config_dll user.exe16 enable_win16
17711 wine_fn_config_dll user32 enable_user32 clean,implib,po
17712 wine_fn_config_test dlls/user32/tests user32_test
17713 wine_fn_config_dll userenv enable_userenv implib
17714 wine_fn_config_test dlls/userenv/tests userenv_test
17715 wine_fn_config_dll usp10 enable_usp10 implib
17716 wine_fn_config_test dlls/usp10/tests usp10_test
17717 wine_fn_config_lib uuid
17718 wine_fn_config_dll uxtheme enable_uxtheme implib
17719 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17720 wine_fn_config_dll vbscript enable_vbscript clean
17721 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17722 wine_fn_config_dll vcomp enable_vcomp
17723 wine_fn_config_test dlls/vcomp/tests vcomp_test
17724 wine_fn_config_dll vcomp100 enable_vcomp100
17725 wine_fn_config_dll vcomp90 enable_vcomp90
17726 wine_fn_config_dll vdhcp.vxd enable_win16
17727 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17728 wine_fn_config_dll ver.dll16 enable_win16
17729 wine_fn_config_dll version enable_version implib
17730 wine_fn_config_test dlls/version/tests version_test
17731 wine_fn_config_dll vmm.vxd enable_win16
17732 wine_fn_config_dll vnbt.vxd enable_win16
17733 wine_fn_config_dll vnetbios.vxd enable_win16
17734 wine_fn_config_dll vssapi enable_vssapi
17735 wine_fn_config_dll vtdapi.vxd enable_win16
17736 wine_fn_config_dll vwin32.vxd enable_win16
17737 wine_fn_config_dll w32skrnl enable_win16
17738 wine_fn_config_dll w32sys.dll16 enable_win16
17739 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17740 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17741 wine_fn_config_dll wbemprox enable_wbemprox clean
17742 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17743 wine_fn_config_dll webservices enable_webservices implib
17744 wine_fn_config_dll wer enable_wer implib
17745 wine_fn_config_test dlls/wer/tests wer_test
17746 wine_fn_config_dll wevtapi enable_wevtapi
17747 wine_fn_config_dll wiaservc enable_wiaservc clean
17748 wine_fn_config_dll win32s16.dll16 enable_win16
17749 wine_fn_config_dll win87em.dll16 enable_win16
17750 wine_fn_config_dll winaspi.dll16 enable_win16
17751 wine_fn_config_dll windebug.dll16 enable_win16
17752 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17753 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17754 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17755 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17756 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17757 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17758 wine_fn_config_lib winecrt0
17759 wine_fn_config_dll wined3d enable_wined3d implib
17760 wine_fn_config_dll winegstreamer enable_winegstreamer
17761 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17762 wine_fn_config_dll winemac.drv enable_winemac_drv
17763 wine_fn_config_dll winemapi enable_winemapi
17764 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17765 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17766 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17767 wine_fn_config_dll wineps16.drv16 enable_win16
17768 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17769 wine_fn_config_dll winex11.drv enable_winex11_drv
17770 wine_fn_config_dll wing.dll16 enable_win16
17771 wine_fn_config_dll wing32 enable_wing32
17772 wine_fn_config_dll winhttp enable_winhttp clean,implib
17773 wine_fn_config_test dlls/winhttp/tests winhttp_test
17774 wine_fn_config_dll wininet enable_wininet implib,po
17775 wine_fn_config_test dlls/wininet/tests wininet_test
17776 wine_fn_config_dll winmm enable_winmm implib,po
17777 wine_fn_config_test dlls/winmm/tests winmm_test
17778 wine_fn_config_dll winnls.dll16 enable_win16
17779 wine_fn_config_dll winnls32 enable_winnls32 implib
17780 wine_fn_config_dll winscard enable_winscard implib
17781 wine_fn_config_dll winsock.dll16 enable_win16
17782 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17783 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17784 wine_fn_config_dll winsta enable_winsta
17785 wine_fn_config_dll wintab.dll16 enable_win16
17786 wine_fn_config_dll wintab32 enable_wintab32 implib
17787 wine_fn_config_test dlls/wintab32/tests wintab32_test
17788 wine_fn_config_dll wintrust enable_wintrust implib
17789 wine_fn_config_test dlls/wintrust/tests wintrust_test
17790 wine_fn_config_dll wlanapi enable_wlanapi
17791 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17792 wine_fn_config_test dlls/wldap32/tests wldap32_test
17793 wine_fn_config_dll wmi enable_wmi
17794 wine_fn_config_dll wmiutils enable_wmiutils clean
17795 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17796 wine_fn_config_dll wmp enable_wmp clean
17797 wine_fn_config_test dlls/wmp/tests wmp_test
17798 wine_fn_config_dll wmvcore enable_wmvcore
17799 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17800 wine_fn_config_dll wow32 enable_win16 implib
17801 wine_fn_config_dll wpcap enable_wpcap
17802 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17803 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17804 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17805 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17806 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17807 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17808 wine_fn_config_dll wsock32 enable_wsock32 implib
17809 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17810 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17811 wine_fn_config_dll wuapi enable_wuapi clean
17812 wine_fn_config_dll wuaueng enable_wuaueng
17813 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17814 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17815 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17816 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17817 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17818 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17819 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17820 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17821 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17822 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17823 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17824 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17825 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17826 wine_fn_config_dll xinput1_1 enable_xinput1_1
17827 wine_fn_config_dll xinput1_2 enable_xinput1_2
17828 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17829 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17830 wine_fn_config_dll xinput1_4 enable_xinput1_4
17831 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17832 wine_fn_config_dll xmllite enable_xmllite implib
17833 wine_fn_config_test dlls/xmllite/tests xmllite_test
17834 wine_fn_config_dll xolehlp enable_xolehlp
17835 wine_fn_config_dll xpsprint enable_xpsprint
17836 wine_fn_config_dll xpssvcs enable_xpssvcs
17837 wine_fn_config_makefile documentation enable_documentation clean
17838 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17839 wine_fn_config_makefile include enable_include clean,install-dev
17840 wine_fn_config_makefile libs/port enable_libs_port
17841 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17842 wine_fn_config_makefile libs/wpp enable_libs_wpp
17843 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17844 wine_fn_config_program arp enable_arp install
17845 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17846 wine_fn_config_program attrib enable_attrib install,po
17847 wine_fn_config_program cabarc enable_cabarc install
17848 wine_fn_config_program cacls enable_cacls install
17849 wine_fn_config_program clock enable_clock install,po
17850 wine_fn_config_program cmd enable_cmd install,po
17851 wine_fn_config_test programs/cmd/tests cmd.exe_test
17852 wine_fn_config_program conhost enable_conhost install
17853 wine_fn_config_program control enable_control install
17854 wine_fn_config_program cscript enable_cscript clean,install
17855 wine_fn_config_program dpnsvr enable_dpnsvr install
17856 wine_fn_config_program dxdiag enable_dxdiag install,po
17857 wine_fn_config_program eject enable_eject install
17858 wine_fn_config_program expand enable_expand install
17859 wine_fn_config_program explorer enable_explorer install,po
17860 wine_fn_config_program extrac32 enable_extrac32 install
17861 wine_fn_config_program findstr enable_findstr install
17862 wine_fn_config_program hh enable_hh install
17863 wine_fn_config_program hostname enable_hostname install,po
17864 wine_fn_config_program icinfo enable_icinfo install
17865 wine_fn_config_program iexplore enable_iexplore install
17866 wine_fn_config_program ipconfig enable_ipconfig install,po
17867 wine_fn_config_program lodctr enable_lodctr install
17868 wine_fn_config_program mofcomp enable_mofcomp install
17869 wine_fn_config_program mshta enable_mshta install
17870 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17871 wine_fn_config_program net enable_net install,po
17872 wine_fn_config_program netsh enable_netsh install
17873 wine_fn_config_program netstat enable_netstat install,po
17874 wine_fn_config_program ngen enable_ngen install
17875 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17876 wine_fn_config_program oleview enable_oleview install,po
17877 wine_fn_config_program ping enable_ping install
17878 wine_fn_config_program plugplay enable_plugplay install
17879 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17880 wine_fn_config_program progman enable_progman install,po
17881 wine_fn_config_program reg enable_reg install,po
17882 wine_fn_config_test programs/reg/tests reg.exe_test
17883 wine_fn_config_program regasm enable_regasm install
17884 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17885 wine_fn_config_test programs/regedit/tests regedit.exe_test
17886 wine_fn_config_program regsvcs enable_regsvcs install
17887 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17888 wine_fn_config_program rpcss enable_rpcss clean,install
17889 wine_fn_config_program rundll.exe16 enable_win16 install
17890 wine_fn_config_program rundll32 enable_rundll32 install
17891 wine_fn_config_program sc enable_sc install
17892 wine_fn_config_program schtasks enable_schtasks install
17893 wine_fn_config_program sdbinst enable_sdbinst install
17894 wine_fn_config_program secedit enable_secedit install
17895 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17896 wine_fn_config_program services enable_services clean,install
17897 wine_fn_config_test programs/services/tests services.exe_test
17898 wine_fn_config_program spoolsv enable_spoolsv install
17899 wine_fn_config_program start enable_start install,po
17900 wine_fn_config_program svchost enable_svchost install
17901 wine_fn_config_program systeminfo enable_systeminfo install
17902 wine_fn_config_program taskkill enable_taskkill install,po
17903 wine_fn_config_program tasklist enable_tasklist install
17904 wine_fn_config_program taskmgr enable_taskmgr install,po
17905 wine_fn_config_program termsv enable_termsv install
17906 wine_fn_config_program uninstaller enable_uninstaller install,po
17907 wine_fn_config_program unlodctr enable_unlodctr install
17908 wine_fn_config_program view enable_view install,po
17909 wine_fn_config_program wevtutil enable_wevtutil install
17910 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17911 wine_fn_config_program winebrowser enable_winebrowser install
17912 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17913 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17914 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17915 wine_fn_config_program winedevice enable_winedevice install
17916 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17917 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17918 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17919 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17920 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17921 wine_fn_config_program winetest enable_winetest clean
17922 wine_fn_config_program winevdm enable_win16 install
17923 wine_fn_config_program winhelp.exe16 enable_win16 install
17924 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17925 wine_fn_config_program winoldap.mod16 enable_win16 install
17926 wine_fn_config_program winver enable_winver install
17927 wine_fn_config_program wmic enable_wmic install,po
17928 wine_fn_config_program wordpad enable_wordpad install,po
17929 wine_fn_config_program write enable_write install,po
17930 wine_fn_config_program wscript enable_wscript clean,install
17931 wine_fn_config_test programs/wscript/tests wscript.exe_test
17932 wine_fn_config_program wusa enable_wusa install
17933 wine_fn_config_program xcopy enable_xcopy install,po
17934 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17935 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17936 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17937 wine_fn_config_tool tools/sfnt2fon clean
17938 wine_fn_config_tool tools/widl clean,install-dev,manpage
17939 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17940 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17941 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17942 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17943 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17945 LINGUAS="\
17946 ar \
17947 bg \
17948 ca \
17949 cs \
17950 da \
17951 de \
17952 el \
17953 en \
17954 en_US \
17955 eo \
17956 es \
17957 fa \
17958 fi \
17959 fr \
17960 he \
17961 hi \
17962 hr \
17963 hu \
17964 it \
17965 ja \
17966 ko \
17967 lt \
17968 ml \
17969 nb_NO \
17970 nl \
17971 or \
17972 pa \
17973 pl \
17974 pt_BR \
17975 pt_PT \
17976 rm \
17977 ro \
17978 ru \
17979 sk \
17980 sl \
17981 sr_RS@cyrillic \
17982 sr_RS@latin \
17983 sv \
17984 te \
17985 th \
17986 tr \
17987 uk \
17988 wa \
17989 zh_CN \
17990 zh_TW"
17995 wine_fn_ignore_file ".gitignore"
17996 wine_fn_ignore_file "Makefile"
17997 wine_fn_ignore_file "TAGS"
17998 wine_fn_ignore_file "tags"
17999 wine_fn_ignore_file "autom4te.cache"
18000 wine_fn_ignore_file "config.cache"
18001 wine_fn_ignore_file "config.log"
18002 wine_fn_ignore_file "config.status"
18003 wine_fn_ignore_file "configure.lineno"
18004 wine_fn_ignore_file "include/config.h"
18005 wine_fn_ignore_file "include/stamp-h"
18006 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18008 if test "x$enable_tools" != xno
18009 then
18010 wine_fn_ignore_file "tools/makedep$ac_exeext"
18011 ac_config_commands="$ac_config_commands tools/makedep"
18015 ac_config_commands="$ac_config_commands Makefile"
18018 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18022 if test "x$enable_maintainer_mode" = xyes
18023 then
18024 wine_fn_append_rule "configure: configure.ac aclocal.m4
18025 autoconf --warnings=all
18026 include/config.h.in: include/stamp-h.in
18027 include/stamp-h.in: configure.ac aclocal.m4
18028 autoheader --warnings=all
18029 @echo timestamp > \$@"
18032 if test "x$with_gettextpo" = xyes
18033 then
18034 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18035 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18036 \$(LINGUAS:%=po/%.po): po/wine.pot
18037 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18038 po/wine.pot: \$(ALL_POT_FILES)
18039 msgcat -o \$@ \$(ALL_POT_FILES)"
18042 if test "$MSGFMT" != false
18043 then
18044 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18045 clean::
18046 \$(RM) \$(LINGUAS:%=po/%.mo)"
18048 posrc="po"
18049 test "$srcdir" = . || posrc="$srcdir/po"
18050 for i in $LINGUAS
18052 wine_fn_ignore_file "po/$i.mo"
18053 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18054 \$(MSGFMT) -o \$@ $posrc/$i.po"
18055 done
18056 else
18057 LINGUAS=
18060 if test "x$enable_tools" != xno
18061 then
18062 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18063 @./config.status tools/makedep
18064 Makefile: tools/makedep$ac_exeext
18065 distclean:: clean
18066 \$(RM) tools/makedep$ac_exeext"
18067 else
18068 wine_fn_append_rule "\$(MAKEDEP):
18069 @echo \"You need to run make in $TOOLSDIR first\" && false"
18072 if test -n "$with_wine64"
18073 then
18074 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18075 fonts server tools:
18076 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18077 $with_wine64/loader/wine:
18078 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18079 $with_wine64/loader/wine-preloader:
18080 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18081 clean::
18082 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18083 else
18084 as_fn_append LOADER_RULES "
18085 install install-lib:: wine.inf install-man-pages
18086 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18087 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18089 uninstall::
18090 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18094 if test "$srcdir" = .
18095 then
18096 ac_config_commands="$ac_config_commands .gitignore"
18100 $as_echo " done" >&6
18101 cat >confcache <<\_ACEOF
18102 # This file is a shell script that caches the results of configure
18103 # tests run on this system so they can be shared between configure
18104 # scripts and configure runs, see configure's option --config-cache.
18105 # It is not useful on other systems. If it contains results you don't
18106 # want to keep, you may remove or edit it.
18108 # config.status only pays attention to the cache file if you give it
18109 # the --recheck option to rerun configure.
18111 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18112 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18113 # following values.
18115 _ACEOF
18117 # The following way of writing the cache mishandles newlines in values,
18118 # but we know of no workaround that is simple, portable, and efficient.
18119 # So, we kill variables containing newlines.
18120 # Ultrix sh set writes to stderr and can't be redirected directly,
18121 # and sets the high bit in the cache file unless we assign to the vars.
18123 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18124 eval ac_val=\$$ac_var
18125 case $ac_val in #(
18126 *${as_nl}*)
18127 case $ac_var in #(
18128 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18129 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18130 esac
18131 case $ac_var in #(
18132 _ | IFS | as_nl) ;; #(
18133 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18134 *) { eval $ac_var=; unset $ac_var;} ;;
18135 esac ;;
18136 esac
18137 done
18139 (set) 2>&1 |
18140 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18141 *${as_nl}ac_space=\ *)
18142 # `set' does not quote correctly, so add quotes: double-quote
18143 # substitution turns \\\\ into \\, and sed turns \\ into \.
18144 sed -n \
18145 "s/'/'\\\\''/g;
18146 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18147 ;; #(
18149 # `set' quotes correctly as required by POSIX, so do not add quotes.
18150 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18152 esac |
18153 sort
18155 sed '
18156 /^ac_cv_env_/b end
18157 t clear
18158 :clear
18159 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18160 t end
18161 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18162 :end' >>confcache
18163 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18164 if test -w "$cache_file"; then
18165 if test "x$cache_file" != "x/dev/null"; then
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18167 $as_echo "$as_me: updating cache $cache_file" >&6;}
18168 if test ! -f "$cache_file" || test -h "$cache_file"; then
18169 cat confcache >"$cache_file"
18170 else
18171 case $cache_file in #(
18172 */* | ?:*)
18173 mv -f confcache "$cache_file"$$ &&
18174 mv -f "$cache_file"$$ "$cache_file" ;; #(
18176 mv -f confcache "$cache_file" ;;
18177 esac
18180 else
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18182 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18185 rm -f confcache
18187 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18188 # Let make expand exec_prefix.
18189 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18191 DEFS=-DHAVE_CONFIG_H
18193 ac_libobjs=
18194 ac_ltlibobjs=
18196 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18197 # 1. Remove the extension, and $U if already installed.
18198 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18199 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18200 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18201 # will be set to the directory where LIBOBJS objects are built.
18202 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18203 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18204 done
18205 LIBOBJS=$ac_libobjs
18207 LTLIBOBJS=$ac_ltlibobjs
18211 : "${CONFIG_STATUS=./config.status}"
18212 ac_write_fail=0
18213 ac_clean_files_save=$ac_clean_files
18214 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18216 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18217 as_write_fail=0
18218 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18219 #! $SHELL
18220 # Generated by $as_me.
18221 # Run this file to recreate the current configuration.
18222 # Compiler output produced by configure, useful for debugging
18223 # configure, is in config.log if it exists.
18225 debug=false
18226 ac_cs_recheck=false
18227 ac_cs_silent=false
18229 SHELL=\${CONFIG_SHELL-$SHELL}
18230 export SHELL
18231 _ASEOF
18232 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18233 ## -------------------- ##
18234 ## M4sh Initialization. ##
18235 ## -------------------- ##
18237 # Be more Bourne compatible
18238 DUALCASE=1; export DUALCASE # for MKS sh
18239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18240 emulate sh
18241 NULLCMD=:
18242 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18243 # is contrary to our usage. Disable this feature.
18244 alias -g '${1+"$@"}'='"$@"'
18245 setopt NO_GLOB_SUBST
18246 else
18247 case `(set -o) 2>/dev/null` in #(
18248 *posix*) :
18249 set -o posix ;; #(
18250 *) :
18252 esac
18256 as_nl='
18258 export as_nl
18259 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18260 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18261 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18262 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18263 # Prefer a ksh shell builtin over an external printf program on Solaris,
18264 # but without wasting forks for bash or zsh.
18265 if test -z "$BASH_VERSION$ZSH_VERSION" \
18266 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18267 as_echo='print -r --'
18268 as_echo_n='print -rn --'
18269 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18270 as_echo='printf %s\n'
18271 as_echo_n='printf %s'
18272 else
18273 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18274 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18275 as_echo_n='/usr/ucb/echo -n'
18276 else
18277 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18278 as_echo_n_body='eval
18279 arg=$1;
18280 case $arg in #(
18281 *"$as_nl"*)
18282 expr "X$arg" : "X\\(.*\\)$as_nl";
18283 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18284 esac;
18285 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18287 export as_echo_n_body
18288 as_echo_n='sh -c $as_echo_n_body as_echo'
18290 export as_echo_body
18291 as_echo='sh -c $as_echo_body as_echo'
18294 # The user is always right.
18295 if test "${PATH_SEPARATOR+set}" != set; then
18296 PATH_SEPARATOR=:
18297 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18298 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18299 PATH_SEPARATOR=';'
18304 # IFS
18305 # We need space, tab and new line, in precisely that order. Quoting is
18306 # there to prevent editors from complaining about space-tab.
18307 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18308 # splitting by setting IFS to empty value.)
18309 IFS=" "" $as_nl"
18311 # Find who we are. Look in the path if we contain no directory separator.
18312 as_myself=
18313 case $0 in #((
18314 *[\\/]* ) as_myself=$0 ;;
18315 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18316 for as_dir in $PATH
18318 IFS=$as_save_IFS
18319 test -z "$as_dir" && as_dir=.
18320 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18321 done
18322 IFS=$as_save_IFS
18325 esac
18326 # We did not find ourselves, most probably we were run as `sh COMMAND'
18327 # in which case we are not to be found in the path.
18328 if test "x$as_myself" = x; then
18329 as_myself=$0
18331 if test ! -f "$as_myself"; then
18332 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18333 exit 1
18336 # Unset variables that we do not need and which cause bugs (e.g. in
18337 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18338 # suppresses any "Segmentation fault" message there. '((' could
18339 # trigger a bug in pdksh 5.2.14.
18340 for as_var in BASH_ENV ENV MAIL MAILPATH
18341 do eval test x\${$as_var+set} = xset \
18342 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18343 done
18344 PS1='$ '
18345 PS2='> '
18346 PS4='+ '
18348 # NLS nuisances.
18349 LC_ALL=C
18350 export LC_ALL
18351 LANGUAGE=C
18352 export LANGUAGE
18354 # CDPATH.
18355 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18358 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18359 # ----------------------------------------
18360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18362 # script with STATUS, using 1 if that was 0.
18363 as_fn_error ()
18365 as_status=$1; test $as_status -eq 0 && as_status=1
18366 if test "$4"; then
18367 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18370 $as_echo "$as_me: error: $2" >&2
18371 as_fn_exit $as_status
18372 } # as_fn_error
18375 # as_fn_set_status STATUS
18376 # -----------------------
18377 # Set $? to STATUS, without forking.
18378 as_fn_set_status ()
18380 return $1
18381 } # as_fn_set_status
18383 # as_fn_exit STATUS
18384 # -----------------
18385 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18386 as_fn_exit ()
18388 set +e
18389 as_fn_set_status $1
18390 exit $1
18391 } # as_fn_exit
18393 # as_fn_unset VAR
18394 # ---------------
18395 # Portably unset VAR.
18396 as_fn_unset ()
18398 { eval $1=; unset $1;}
18400 as_unset=as_fn_unset
18401 # as_fn_append VAR VALUE
18402 # ----------------------
18403 # Append the text in VALUE to the end of the definition contained in VAR. Take
18404 # advantage of any shell optimizations that allow amortized linear growth over
18405 # repeated appends, instead of the typical quadratic growth present in naive
18406 # implementations.
18407 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18408 eval 'as_fn_append ()
18410 eval $1+=\$2
18412 else
18413 as_fn_append ()
18415 eval $1=\$$1\$2
18417 fi # as_fn_append
18419 # as_fn_arith ARG...
18420 # ------------------
18421 # Perform arithmetic evaluation on the ARGs, and store the result in the
18422 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18423 # must be portable across $(()) and expr.
18424 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18425 eval 'as_fn_arith ()
18427 as_val=$(( $* ))
18429 else
18430 as_fn_arith ()
18432 as_val=`expr "$@" || test $? -eq 1`
18434 fi # as_fn_arith
18437 if expr a : '\(a\)' >/dev/null 2>&1 &&
18438 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18439 as_expr=expr
18440 else
18441 as_expr=false
18444 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18445 as_basename=basename
18446 else
18447 as_basename=false
18450 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18451 as_dirname=dirname
18452 else
18453 as_dirname=false
18456 as_me=`$as_basename -- "$0" ||
18457 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18458 X"$0" : 'X\(//\)$' \| \
18459 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18460 $as_echo X/"$0" |
18461 sed '/^.*\/\([^/][^/]*\)\/*$/{
18462 s//\1/
18465 /^X\/\(\/\/\)$/{
18466 s//\1/
18469 /^X\/\(\/\).*/{
18470 s//\1/
18473 s/.*/./; q'`
18475 # Avoid depending upon Character Ranges.
18476 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18477 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18478 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18479 as_cr_digits='0123456789'
18480 as_cr_alnum=$as_cr_Letters$as_cr_digits
18482 ECHO_C= ECHO_N= ECHO_T=
18483 case `echo -n x` in #(((((
18484 -n*)
18485 case `echo 'xy\c'` in
18486 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18487 xy) ECHO_C='\c';;
18488 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18489 ECHO_T=' ';;
18490 esac;;
18492 ECHO_N='-n';;
18493 esac
18495 rm -f conf$$ conf$$.exe conf$$.file
18496 if test -d conf$$.dir; then
18497 rm -f conf$$.dir/conf$$.file
18498 else
18499 rm -f conf$$.dir
18500 mkdir conf$$.dir 2>/dev/null
18502 if (echo >conf$$.file) 2>/dev/null; then
18503 if ln -s conf$$.file conf$$ 2>/dev/null; then
18504 as_ln_s='ln -s'
18505 # ... but there are two gotchas:
18506 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18507 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18508 # In both cases, we have to default to `cp -pR'.
18509 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18510 as_ln_s='cp -pR'
18511 elif ln conf$$.file conf$$ 2>/dev/null; then
18512 as_ln_s=ln
18513 else
18514 as_ln_s='cp -pR'
18516 else
18517 as_ln_s='cp -pR'
18519 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18520 rmdir conf$$.dir 2>/dev/null
18523 # as_fn_mkdir_p
18524 # -------------
18525 # Create "$as_dir" as a directory, including parents if necessary.
18526 as_fn_mkdir_p ()
18529 case $as_dir in #(
18530 -*) as_dir=./$as_dir;;
18531 esac
18532 test -d "$as_dir" || eval $as_mkdir_p || {
18533 as_dirs=
18534 while :; do
18535 case $as_dir in #(
18536 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18537 *) as_qdir=$as_dir;;
18538 esac
18539 as_dirs="'$as_qdir' $as_dirs"
18540 as_dir=`$as_dirname -- "$as_dir" ||
18541 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18542 X"$as_dir" : 'X\(//\)[^/]' \| \
18543 X"$as_dir" : 'X\(//\)$' \| \
18544 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18545 $as_echo X"$as_dir" |
18546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18547 s//\1/
18550 /^X\(\/\/\)[^/].*/{
18551 s//\1/
18554 /^X\(\/\/\)$/{
18555 s//\1/
18558 /^X\(\/\).*/{
18559 s//\1/
18562 s/.*/./; q'`
18563 test -d "$as_dir" && break
18564 done
18565 test -z "$as_dirs" || eval "mkdir $as_dirs"
18566 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18569 } # as_fn_mkdir_p
18570 if mkdir -p . 2>/dev/null; then
18571 as_mkdir_p='mkdir -p "$as_dir"'
18572 else
18573 test -d ./-p && rmdir ./-p
18574 as_mkdir_p=false
18578 # as_fn_executable_p FILE
18579 # -----------------------
18580 # Test if FILE is an executable regular file.
18581 as_fn_executable_p ()
18583 test -f "$1" && test -x "$1"
18584 } # as_fn_executable_p
18585 as_test_x='test -x'
18586 as_executable_p=as_fn_executable_p
18588 # Sed expression to map a string onto a valid CPP name.
18589 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18591 # Sed expression to map a string onto a valid variable name.
18592 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18595 exec 6>&1
18596 ## ----------------------------------- ##
18597 ## Main body of $CONFIG_STATUS script. ##
18598 ## ----------------------------------- ##
18599 _ASEOF
18600 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18603 # Save the log message, to keep $0 and so on meaningful, and to
18604 # report actual input values of CONFIG_FILES etc. instead of their
18605 # values after options handling.
18606 ac_log="
18607 This file was extended by Wine $as_me 1.7.48, which was
18608 generated by GNU Autoconf 2.69. Invocation command line was
18610 CONFIG_FILES = $CONFIG_FILES
18611 CONFIG_HEADERS = $CONFIG_HEADERS
18612 CONFIG_LINKS = $CONFIG_LINKS
18613 CONFIG_COMMANDS = $CONFIG_COMMANDS
18614 $ $0 $@
18616 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18619 _ACEOF
18621 case $ac_config_files in *"
18622 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18623 esac
18625 case $ac_config_headers in *"
18626 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18627 esac
18630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18631 # Files that config.status was made for.
18632 config_files="$ac_config_files"
18633 config_headers="$ac_config_headers"
18634 config_links="$ac_config_links"
18635 config_commands="$ac_config_commands"
18637 _ACEOF
18639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18640 ac_cs_usage="\
18641 \`$as_me' instantiates files and other configuration actions
18642 from templates according to the current configuration. Unless the files
18643 and actions are specified as TAGs, all are instantiated by default.
18645 Usage: $0 [OPTION]... [TAG]...
18647 -h, --help print this help, then exit
18648 -V, --version print version number and configuration settings, then exit
18649 --config print configuration, then exit
18650 -q, --quiet, --silent
18651 do not print progress messages
18652 -d, --debug don't remove temporary files
18653 --recheck update $as_me by reconfiguring in the same conditions
18654 --file=FILE[:TEMPLATE]
18655 instantiate the configuration file FILE
18656 --header=FILE[:TEMPLATE]
18657 instantiate the configuration header FILE
18659 Configuration files:
18660 $config_files
18662 Configuration headers:
18663 $config_headers
18665 Configuration links:
18666 $config_links
18668 Configuration commands:
18669 $config_commands
18671 Report bugs to <wine-devel@winehq.org>.
18672 Wine home page: <http://www.winehq.org>."
18674 _ACEOF
18675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18676 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18677 ac_cs_version="\\
18678 Wine config.status 1.7.48
18679 configured by $0, generated by GNU Autoconf 2.69,
18680 with options \\"\$ac_cs_config\\"
18682 Copyright (C) 2012 Free Software Foundation, Inc.
18683 This config.status script is free software; the Free Software Foundation
18684 gives unlimited permission to copy, distribute and modify it."
18686 ac_pwd='$ac_pwd'
18687 srcdir='$srcdir'
18688 test -n "\$AWK" || AWK=awk
18689 _ACEOF
18691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18692 # The default lists apply if the user does not specify any file.
18693 ac_need_defaults=:
18694 while test $# != 0
18696 case $1 in
18697 --*=?*)
18698 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18699 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18700 ac_shift=:
18702 --*=)
18703 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18704 ac_optarg=
18705 ac_shift=:
18708 ac_option=$1
18709 ac_optarg=$2
18710 ac_shift=shift
18712 esac
18714 case $ac_option in
18715 # Handling of the options.
18716 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18717 ac_cs_recheck=: ;;
18718 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18719 $as_echo "$ac_cs_version"; exit ;;
18720 --config | --confi | --conf | --con | --co | --c )
18721 $as_echo "$ac_cs_config"; exit ;;
18722 --debug | --debu | --deb | --de | --d | -d )
18723 debug=: ;;
18724 --file | --fil | --fi | --f )
18725 $ac_shift
18726 case $ac_optarg in
18727 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18728 '') as_fn_error $? "missing file argument" ;;
18729 esac
18730 as_fn_append CONFIG_FILES " '$ac_optarg'"
18731 ac_need_defaults=false;;
18732 --header | --heade | --head | --hea )
18733 $ac_shift
18734 case $ac_optarg in
18735 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18736 esac
18737 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18738 ac_need_defaults=false;;
18739 --he | --h)
18740 # Conflict between --help and --header
18741 as_fn_error $? "ambiguous option: \`$1'
18742 Try \`$0 --help' for more information.";;
18743 --help | --hel | -h )
18744 $as_echo "$ac_cs_usage"; exit ;;
18745 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18746 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18747 ac_cs_silent=: ;;
18749 # This is an error.
18750 -*) as_fn_error $? "unrecognized option: \`$1'
18751 Try \`$0 --help' for more information." ;;
18753 *) as_fn_append ac_config_targets " $1"
18754 ac_need_defaults=false ;;
18756 esac
18757 shift
18758 done
18760 ac_configure_extra_args=
18762 if $ac_cs_silent; then
18763 exec 6>/dev/null
18764 ac_configure_extra_args="$ac_configure_extra_args --silent"
18767 _ACEOF
18768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18769 if \$ac_cs_recheck; then
18770 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18771 shift
18772 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18773 CONFIG_SHELL='$SHELL'
18774 export CONFIG_SHELL
18775 exec "\$@"
18778 _ACEOF
18779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18780 exec 5>>config.log
18782 echo
18783 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18784 ## Running $as_me. ##
18785 _ASBOX
18786 $as_echo "$ac_log"
18787 } >&5
18789 _ACEOF
18790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18792 # INIT-COMMANDS
18794 wine_fn_output_makedep ()
18796 as_dir=tools; as_fn_mkdir_p
18797 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18799 wine_fn_output_makefile ()
18801 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18802 `cat $wine_rules_file`
18803 _WINE_EOF
18804 as_fn_error $? "could not create Makefile" "$LINENO" 5
18806 wine_fn_output_gitignore ()
18808 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18809 $GITIGNORE
18810 _WINE_EOF
18811 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18814 _ACEOF
18816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18818 # Handling of arguments.
18819 for ac_config_target in $ac_config_targets
18821 case $ac_config_target in
18822 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18823 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18824 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18825 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18826 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18827 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18828 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18829 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18830 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18831 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18832 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18833 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18834 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18835 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18837 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18838 esac
18839 done
18842 # If the user did not use the arguments to specify the items to instantiate,
18843 # then the envvar interface is used. Set only those that are not.
18844 # We use the long form for the default assignment because of an extremely
18845 # bizarre bug on SunOS 4.1.3.
18846 if $ac_need_defaults; then
18847 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18848 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18849 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18850 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18853 # Have a temporary directory for convenience. Make it in the build tree
18854 # simply because there is no reason against having it here, and in addition,
18855 # creating and moving files from /tmp can sometimes cause problems.
18856 # Hook for its removal unless debugging.
18857 # Note that there is a small window in which the directory will not be cleaned:
18858 # after its creation but before its name has been assigned to `$tmp'.
18859 $debug ||
18861 tmp= ac_tmp=
18862 trap 'exit_status=$?
18863 : "${ac_tmp:=$tmp}"
18864 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18866 trap 'as_fn_exit 1' 1 2 13 15
18868 # Create a (secure) tmp directory for tmp files.
18871 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18872 test -d "$tmp"
18873 } ||
18875 tmp=./conf$$-$RANDOM
18876 (umask 077 && mkdir "$tmp")
18877 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18878 ac_tmp=$tmp
18880 # Set up the scripts for CONFIG_FILES section.
18881 # No need to generate them if there are no CONFIG_FILES.
18882 # This happens for instance with `./config.status config.h'.
18883 if test -n "$CONFIG_FILES"; then
18886 ac_cr=`echo X | tr X '\015'`
18887 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18888 # But we know of no other shell where ac_cr would be empty at this
18889 # point, so we can use a bashism as a fallback.
18890 if test "x$ac_cr" = x; then
18891 eval ac_cr=\$\'\\r\'
18893 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18894 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18895 ac_cs_awk_cr='\\r'
18896 else
18897 ac_cs_awk_cr=$ac_cr
18900 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18901 _ACEOF
18905 echo "cat >conf$$subs.awk <<_ACEOF" &&
18906 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18907 echo "_ACEOF"
18908 } >conf$$subs.sh ||
18909 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18910 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18911 ac_delim='%!_!# '
18912 for ac_last_try in false false false false false :; do
18913 . ./conf$$subs.sh ||
18914 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18916 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18917 if test $ac_delim_n = $ac_delim_num; then
18918 break
18919 elif $ac_last_try; then
18920 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18921 else
18922 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18924 done
18925 rm -f conf$$subs.sh
18927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18928 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18929 _ACEOF
18930 sed -n '
18932 s/^/S["/; s/!.*/"]=/
18935 s/^[^!]*!//
18936 :repl
18937 t repl
18938 s/'"$ac_delim"'$//
18939 t delim
18942 s/\(.\{148\}\)..*/\1/
18943 t more1
18944 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18947 b repl
18948 :more1
18949 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18952 s/.\{148\}//
18953 t nl
18954 :delim
18956 s/\(.\{148\}\)..*/\1/
18957 t more2
18958 s/["\\]/\\&/g; s/^/"/; s/$/"/
18961 :more2
18962 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18965 s/.\{148\}//
18966 t delim
18967 ' <conf$$subs.awk | sed '
18968 /^[^""]/{
18970 s/\n//
18972 ' >>$CONFIG_STATUS || ac_write_fail=1
18973 rm -f conf$$subs.awk
18974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18975 _ACAWK
18976 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18977 for (key in S) S_is_set[key] = 1
18978 FS = "\a"
18982 line = $ 0
18983 nfields = split(line, field, "@")
18984 substed = 0
18985 len = length(field[1])
18986 for (i = 2; i < nfields; i++) {
18987 key = field[i]
18988 keylen = length(key)
18989 if (S_is_set[key]) {
18990 value = S[key]
18991 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18992 len += length(value) + length(field[++i])
18993 substed = 1
18994 } else
18995 len += 1 + keylen
18998 print line
19001 _ACAWK
19002 _ACEOF
19003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19004 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19005 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19006 else
19008 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19009 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19010 _ACEOF
19012 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19013 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19014 # trailing colons and then remove the whole line if VPATH becomes empty
19015 # (actually we leave an empty line to preserve line numbers).
19016 if test "x$srcdir" = x.; then
19017 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19019 s///
19020 s/^/:/
19021 s/[ ]*$/:/
19022 s/:\$(srcdir):/:/g
19023 s/:\${srcdir}:/:/g
19024 s/:@srcdir@:/:/g
19025 s/^:*//
19026 s/:*$//
19028 s/\(=[ ]*\).*/\1/
19030 s/\n//
19031 s/^[^=]*=[ ]*$//
19035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19036 fi # test -n "$CONFIG_FILES"
19038 # Set up the scripts for CONFIG_HEADERS section.
19039 # No need to generate them if there are no CONFIG_HEADERS.
19040 # This happens for instance with `./config.status Makefile'.
19041 if test -n "$CONFIG_HEADERS"; then
19042 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19043 BEGIN {
19044 _ACEOF
19046 # Transform confdefs.h into an awk script `defines.awk', embedded as
19047 # here-document in config.status, that substitutes the proper values into
19048 # config.h.in to produce config.h.
19050 # Create a delimiter string that does not exist in confdefs.h, to ease
19051 # handling of long lines.
19052 ac_delim='%!_!# '
19053 for ac_last_try in false false :; do
19054 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19055 if test -z "$ac_tt"; then
19056 break
19057 elif $ac_last_try; then
19058 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19059 else
19060 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19062 done
19064 # For the awk script, D is an array of macro values keyed by name,
19065 # likewise P contains macro parameters if any. Preserve backslash
19066 # newline sequences.
19068 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19069 sed -n '
19070 s/.\{148\}/&'"$ac_delim"'/g
19071 t rset
19072 :rset
19073 s/^[ ]*#[ ]*define[ ][ ]*/ /
19074 t def
19076 :def
19077 s/\\$//
19078 t bsnl
19079 s/["\\]/\\&/g
19080 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19081 D["\1"]=" \3"/p
19082 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19084 :bsnl
19085 s/["\\]/\\&/g
19086 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19087 D["\1"]=" \3\\\\\\n"\\/p
19088 t cont
19089 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19090 t cont
19092 :cont
19094 s/.\{148\}/&'"$ac_delim"'/g
19095 t clear
19096 :clear
19097 s/\\$//
19098 t bsnlc
19099 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19101 :bsnlc
19102 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19103 b cont
19104 ' <confdefs.h | sed '
19105 s/'"$ac_delim"'/"\\\
19106 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19109 for (key in D) D_is_set[key] = 1
19110 FS = "\a"
19112 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19113 line = \$ 0
19114 split(line, arg, " ")
19115 if (arg[1] == "#") {
19116 defundef = arg[2]
19117 mac1 = arg[3]
19118 } else {
19119 defundef = substr(arg[1], 2)
19120 mac1 = arg[2]
19122 split(mac1, mac2, "(") #)
19123 macro = mac2[1]
19124 prefix = substr(line, 1, index(line, defundef) - 1)
19125 if (D_is_set[macro]) {
19126 # Preserve the white space surrounding the "#".
19127 print prefix "define", macro P[macro] D[macro]
19128 next
19129 } else {
19130 # Replace #undef with comments. This is necessary, for example,
19131 # in the case of _POSIX_SOURCE, which is predefined and required
19132 # on some systems where configure will not decide to define it.
19133 if (defundef == "undef") {
19134 print "/*", prefix defundef, macro, "*/"
19135 next
19139 { print }
19140 _ACAWK
19141 _ACEOF
19142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19143 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19144 fi # test -n "$CONFIG_HEADERS"
19147 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19148 shift
19149 for ac_tag
19151 case $ac_tag in
19152 :[FHLC]) ac_mode=$ac_tag; continue;;
19153 esac
19154 case $ac_mode$ac_tag in
19155 :[FHL]*:*);;
19156 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19157 :[FH]-) ac_tag=-:-;;
19158 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19159 esac
19160 ac_save_IFS=$IFS
19161 IFS=:
19162 set x $ac_tag
19163 IFS=$ac_save_IFS
19164 shift
19165 ac_file=$1
19166 shift
19168 case $ac_mode in
19169 :L) ac_source=$1;;
19170 :[FH])
19171 ac_file_inputs=
19172 for ac_f
19174 case $ac_f in
19175 -) ac_f="$ac_tmp/stdin";;
19176 *) # Look for the file first in the build tree, then in the source tree
19177 # (if the path is not absolute). The absolute path cannot be DOS-style,
19178 # because $ac_f cannot contain `:'.
19179 test -f "$ac_f" ||
19180 case $ac_f in
19181 [\\/$]*) false;;
19182 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19183 esac ||
19184 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19185 esac
19186 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19187 as_fn_append ac_file_inputs " '$ac_f'"
19188 done
19190 # Let's still pretend it is `configure' which instantiates (i.e., don't
19191 # use $as_me), people would be surprised to read:
19192 # /* config.h. Generated by config.status. */
19193 configure_input='Generated from '`
19194 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19195 `' by configure.'
19196 if test x"$ac_file" != x-; then
19197 configure_input="$ac_file. $configure_input"
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19199 $as_echo "$as_me: creating $ac_file" >&6;}
19201 # Neutralize special characters interpreted by sed in replacement strings.
19202 case $configure_input in #(
19203 *\&* | *\|* | *\\* )
19204 ac_sed_conf_input=`$as_echo "$configure_input" |
19205 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19206 *) ac_sed_conf_input=$configure_input;;
19207 esac
19209 case $ac_tag in
19210 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19211 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19212 esac
19214 esac
19216 ac_dir=`$as_dirname -- "$ac_file" ||
19217 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19218 X"$ac_file" : 'X\(//\)[^/]' \| \
19219 X"$ac_file" : 'X\(//\)$' \| \
19220 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19221 $as_echo X"$ac_file" |
19222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19223 s//\1/
19226 /^X\(\/\/\)[^/].*/{
19227 s//\1/
19230 /^X\(\/\/\)$/{
19231 s//\1/
19234 /^X\(\/\).*/{
19235 s//\1/
19238 s/.*/./; q'`
19239 as_dir="$ac_dir"; as_fn_mkdir_p
19240 ac_builddir=.
19242 case "$ac_dir" in
19243 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19245 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19246 # A ".." for each directory in $ac_dir_suffix.
19247 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19248 case $ac_top_builddir_sub in
19249 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19250 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19251 esac ;;
19252 esac
19253 ac_abs_top_builddir=$ac_pwd
19254 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19255 # for backward compatibility:
19256 ac_top_builddir=$ac_top_build_prefix
19258 case $srcdir in
19259 .) # We are building in place.
19260 ac_srcdir=.
19261 ac_top_srcdir=$ac_top_builddir_sub
19262 ac_abs_top_srcdir=$ac_pwd ;;
19263 [\\/]* | ?:[\\/]* ) # Absolute name.
19264 ac_srcdir=$srcdir$ac_dir_suffix;
19265 ac_top_srcdir=$srcdir
19266 ac_abs_top_srcdir=$srcdir ;;
19267 *) # Relative name.
19268 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19269 ac_top_srcdir=$ac_top_build_prefix$srcdir
19270 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19271 esac
19272 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19275 case $ac_mode in
19278 # CONFIG_FILE
19281 _ACEOF
19283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19284 # If the template does not know about datarootdir, expand it.
19285 # FIXME: This hack should be removed a few years after 2.60.
19286 ac_datarootdir_hack=; ac_datarootdir_seen=
19287 ac_sed_dataroot='
19288 /datarootdir/ {
19292 /@datadir@/p
19293 /@docdir@/p
19294 /@infodir@/p
19295 /@localedir@/p
19296 /@mandir@/p'
19297 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19298 *datarootdir*) ac_datarootdir_seen=yes;;
19299 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19301 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19302 _ACEOF
19303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19304 ac_datarootdir_hack='
19305 s&@datadir@&$datadir&g
19306 s&@docdir@&$docdir&g
19307 s&@infodir@&$infodir&g
19308 s&@localedir@&$localedir&g
19309 s&@mandir@&$mandir&g
19310 s&\\\${datarootdir}&$datarootdir&g' ;;
19311 esac
19312 _ACEOF
19314 # Neutralize VPATH when `$srcdir' = `.'.
19315 # Shell code in configure.ac might set extrasub.
19316 # FIXME: do we really want to maintain this feature?
19317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19318 ac_sed_extra="$ac_vpsub
19319 $extrasub
19320 _ACEOF
19321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19323 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19324 s|@configure_input@|$ac_sed_conf_input|;t t
19325 s&@top_builddir@&$ac_top_builddir_sub&;t t
19326 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19327 s&@srcdir@&$ac_srcdir&;t t
19328 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19329 s&@top_srcdir@&$ac_top_srcdir&;t t
19330 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19331 s&@builddir@&$ac_builddir&;t t
19332 s&@abs_builddir@&$ac_abs_builddir&;t t
19333 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19334 $ac_datarootdir_hack
19336 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19337 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19339 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19340 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19341 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19342 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19344 which seems to be undefined. Please make sure it is defined" >&5
19345 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19346 which seems to be undefined. Please make sure it is defined" >&2;}
19348 rm -f "$ac_tmp/stdin"
19349 case $ac_file in
19350 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19351 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19352 esac \
19353 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19357 # CONFIG_HEADER
19359 if test x"$ac_file" != x-; then
19361 $as_echo "/* $configure_input */" \
19362 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19363 } >"$ac_tmp/config.h" \
19364 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19365 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19367 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19368 else
19369 rm -f "$ac_file"
19370 mv "$ac_tmp/config.h" "$ac_file" \
19371 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19373 else
19374 $as_echo "/* $configure_input */" \
19375 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19376 || as_fn_error $? "could not create -" "$LINENO" 5
19381 # CONFIG_LINK
19384 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19386 else
19387 # Prefer the file from the source tree if names are identical.
19388 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19389 ac_source=$srcdir/$ac_source
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19393 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19395 if test ! -r "$ac_source"; then
19396 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19398 rm -f "$ac_file"
19400 # Try a relative symlink, then a hard link, then a copy.
19401 case $ac_source in
19402 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19403 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19404 esac
19405 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19406 ln "$ac_source" "$ac_file" 2>/dev/null ||
19407 cp -p "$ac_source" "$ac_file" ||
19408 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19411 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19412 $as_echo "$as_me: executing $ac_file commands" >&6;}
19414 esac
19417 case $ac_file$ac_mode in
19418 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19419 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19420 "Makefile":C) wine_fn_output_makefile Makefile ;;
19421 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19423 esac
19424 done # for ac_tag
19427 as_fn_exit 0
19428 _ACEOF
19429 ac_clean_files=$ac_clean_files_save
19431 test $ac_write_fail = 0 ||
19432 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19435 # configure is writing to config.log, and then calls config.status.
19436 # config.status does its own redirection, appending to config.log.
19437 # Unfortunately, on DOS this fails, as config.log is still kept open
19438 # by configure, so config.status won't be able to write to it; its
19439 # output is simply discarded. So we exec the FD to /dev/null,
19440 # effectively closing config.log, so it can be properly (re)opened and
19441 # appended to by config.status. When coming back to configure, we
19442 # need to make the FD available again.
19443 if test "$no_create" != yes; then
19444 ac_cs_success=:
19445 ac_config_status_args=
19446 test "$silent" = yes &&
19447 ac_config_status_args="$ac_config_status_args --quiet"
19448 exec 5>/dev/null
19449 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19450 exec 5>>config.log
19451 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19452 # would make configure fail if this is the last instruction.
19453 $ac_cs_success || as_fn_exit 1
19455 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19457 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19461 if test "$no_create" = "yes"
19462 then
19463 exit 0
19466 ac_save_IFS="$IFS"
19467 if test "x$wine_notices != "x; then
19468 echo >&6
19469 IFS="|"
19470 for msg in $wine_notices; do
19471 IFS="$ac_save_IFS"
19472 if ${msg:+false} :; then :
19474 else
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19476 $as_echo "$as_me: $msg" >&6;}
19478 done
19480 IFS="|"
19481 for msg in $wine_warnings; do
19482 IFS="$ac_save_IFS"
19483 if ${msg:+false} :; then :
19485 else
19486 echo >&2
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19488 $as_echo "$as_me: WARNING: $msg" >&2;}
19490 done
19491 IFS="$ac_save_IFS"
19493 $as_echo "
19494 $as_me: Finished. Do '${ac_make}' to compile Wine.
19495 " >&6