server: Use the async queue for pipe flush requests.
[wine.git] / configure
blobe060af853e1b5d0e4cfc1908e59490e8e76c103c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.42.
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.42'
584 PACKAGE_STRING='Wine 1.7.42'
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
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
736 CPPBIN
737 ac_ct_CXX
738 CXXFLAGS
740 OBJEXT
741 EXEEXT
742 ac_ct_CC
743 CPPFLAGS
744 LDFLAGS
745 CFLAGS
747 SET_MAKE
748 host_os
749 host_vendor
750 host_cpu
751 host
752 build_os
753 build_vendor
754 build_cpu
755 build
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_win16
798 enable_win64
799 enable_tests
800 enable_maintainer_mode
801 with_alsa
802 with_capi
803 with_cms
804 with_coreaudio
805 with_cups
806 with_curses
807 with_dbus
808 with_fontconfig
809 with_freetype
810 with_gettext
811 with_gettextpo
812 with_gphoto
813 with_glu
814 with_gnutls
815 with_gsm
816 with_gstreamer
817 with_hal
818 with_jpeg
819 with_ldap
820 with_mpg123
821 with_netapi
822 with_openal
823 with_opencl
824 with_opengl
825 with_osmesa
826 with_oss
827 with_pcap
828 with_png
829 with_pthread
830 with_sane
831 with_tiff
832 with_v4l
833 with_xcomposite
834 with_xcursor
835 with_xinerama
836 with_xinput
837 with_xinput2
838 with_xml
839 with_xrandr
840 with_xrender
841 with_xshape
842 with_xshm
843 with_xslt
844 with_xxf86vm
845 with_zlib
846 with_wine_tools
847 with_wine64
848 enable_largefile
849 with_x
850 enable_acledit
851 enable_aclui
852 enable_activeds
853 enable_actxprxy
854 enable_advapi32
855 enable_advpack
856 enable_amstream
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_0
862 enable_api_ms_win_core_debug_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_0
864 enable_api_ms_win_core_errorhandling_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_2
866 enable_api_ms_win_core_fibers_l1_1_0
867 enable_api_ms_win_core_fibers_l1_1_1
868 enable_api_ms_win_core_file_l1_1_0
869 enable_api_ms_win_core_file_l1_2_0
870 enable_api_ms_win_core_file_l2_1_0
871 enable_api_ms_win_core_file_l2_1_1
872 enable_api_ms_win_core_handle_l1_1_0
873 enable_api_ms_win_core_heap_l1_1_0
874 enable_api_ms_win_core_heap_l1_2_0
875 enable_api_ms_win_core_heap_obsolete_l1_1_0
876 enable_api_ms_win_core_interlocked_l1_1_0
877 enable_api_ms_win_core_interlocked_l1_2_0
878 enable_api_ms_win_core_io_l1_1_1
879 enable_api_ms_win_core_kernel32_legacy_l1_1_0
880 enable_api_ms_win_core_libraryloader_l1_1_0
881 enable_api_ms_win_core_libraryloader_l1_1_1
882 enable_api_ms_win_core_localization_l1_2_0
883 enable_api_ms_win_core_localization_l1_2_1
884 enable_api_ms_win_core_localization_obsolete_l1_1_0
885 enable_api_ms_win_core_localregistry_l1_1_0
886 enable_api_ms_win_core_memory_l1_1_0
887 enable_api_ms_win_core_memory_l1_1_1
888 enable_api_ms_win_core_namedpipe_l1_1_0
889 enable_api_ms_win_core_namedpipe_l1_2_0
890 enable_api_ms_win_core_processenvironment_l1_1_0
891 enable_api_ms_win_core_processenvironment_l1_2_0
892 enable_api_ms_win_core_processthreads_l1_1_0
893 enable_api_ms_win_core_processthreads_l1_1_1
894 enable_api_ms_win_core_processthreads_l1_1_2
895 enable_api_ms_win_core_profile_l1_1_0
896 enable_api_ms_win_core_psapi_l1_1_0
897 enable_api_ms_win_core_registry_l1_1_0
898 enable_api_ms_win_core_rtlsupport_l1_1_0
899 enable_api_ms_win_core_rtlsupport_l1_2_0
900 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
901 enable_api_ms_win_core_string_l1_1_0
902 enable_api_ms_win_core_synch_l1_1_0
903 enable_api_ms_win_core_synch_l1_2_0
904 enable_api_ms_win_core_sysinfo_l1_1_0
905 enable_api_ms_win_core_sysinfo_l1_2_0
906 enable_api_ms_win_core_sysinfo_l1_2_1
907 enable_api_ms_win_core_threadpool_legacy_l1_1_0
908 enable_api_ms_win_core_timezone_l1_1_0
909 enable_api_ms_win_core_url_l1_1_0
910 enable_api_ms_win_core_util_l1_1_0
911 enable_api_ms_win_core_winrt_error_l1_1_0
912 enable_api_ms_win_core_winrt_error_l1_1_1
913 enable_api_ms_win_core_winrt_l1_1_0
914 enable_api_ms_win_core_winrt_string_l1_1_0
915 enable_api_ms_win_core_xstate_l2_1_0
916 enable_api_ms_win_downlevel_advapi32_l1_1_0
917 enable_api_ms_win_downlevel_advapi32_l2_1_0
918 enable_api_ms_win_downlevel_normaliz_l1_1_0
919 enable_api_ms_win_downlevel_ole32_l1_1_0
920 enable_api_ms_win_downlevel_shell32_l1_1_0
921 enable_api_ms_win_downlevel_shlwapi_l1_1_0
922 enable_api_ms_win_downlevel_shlwapi_l2_1_0
923 enable_api_ms_win_downlevel_user32_l1_1_0
924 enable_api_ms_win_downlevel_version_l1_1_0
925 enable_api_ms_win_eventing_provider_l1_1_0
926 enable_api_ms_win_ntuser_dc_access_l1_1_0
927 enable_api_ms_win_security_base_l1_1_0
928 enable_api_ms_win_security_base_l1_2_0
929 enable_api_ms_win_security_sddl_l1_1_0
930 enable_api_ms_win_service_core_l1_1_1
931 enable_api_ms_win_service_management_l1_1_0
932 enable_api_ms_win_service_winsvc_l1_2_0
933 enable_apphelp
934 enable_appwiz_cpl
935 enable_atl
936 enable_atl100
937 enable_atl110
938 enable_atl80
939 enable_atl90
940 enable_authz
941 enable_avicap32
942 enable_avifil32
943 enable_avrt
944 enable_bcrypt
945 enable_browseui
946 enable_cabinet
947 enable_capi2032
948 enable_cards
949 enable_cfgmgr32
950 enable_clusapi
951 enable_combase
952 enable_comcat
953 enable_comctl32
954 enable_comdlg32
955 enable_compstui
956 enable_comsvcs
957 enable_connect
958 enable_credui
959 enable_crtdll
960 enable_crypt32
961 enable_cryptdlg
962 enable_cryptdll
963 enable_cryptext
964 enable_cryptnet
965 enable_cryptui
966 enable_ctapi32
967 enable_ctl3d32
968 enable_d2d1
969 enable_d3d10
970 enable_d3d10_1
971 enable_d3d10core
972 enable_d3d11
973 enable_d3d8
974 enable_d3d9
975 enable_d3dcompiler_33
976 enable_d3dcompiler_34
977 enable_d3dcompiler_35
978 enable_d3dcompiler_36
979 enable_d3dcompiler_37
980 enable_d3dcompiler_38
981 enable_d3dcompiler_39
982 enable_d3dcompiler_40
983 enable_d3dcompiler_41
984 enable_d3dcompiler_42
985 enable_d3dcompiler_43
986 enable_d3dim
987 enable_d3drm
988 enable_d3dx10_33
989 enable_d3dx10_34
990 enable_d3dx10_35
991 enable_d3dx10_36
992 enable_d3dx10_37
993 enable_d3dx10_38
994 enable_d3dx10_39
995 enable_d3dx10_40
996 enable_d3dx10_41
997 enable_d3dx10_42
998 enable_d3dx10_43
999 enable_d3dx11_42
1000 enable_d3dx11_43
1001 enable_d3dx9_24
1002 enable_d3dx9_25
1003 enable_d3dx9_26
1004 enable_d3dx9_27
1005 enable_d3dx9_28
1006 enable_d3dx9_29
1007 enable_d3dx9_30
1008 enable_d3dx9_31
1009 enable_d3dx9_32
1010 enable_d3dx9_33
1011 enable_d3dx9_34
1012 enable_d3dx9_35
1013 enable_d3dx9_36
1014 enable_d3dx9_37
1015 enable_d3dx9_38
1016 enable_d3dx9_39
1017 enable_d3dx9_40
1018 enable_d3dx9_41
1019 enable_d3dx9_42
1020 enable_d3dx9_43
1021 enable_d3dxof
1022 enable_dbgeng
1023 enable_dbghelp
1024 enable_dciman32
1025 enable_ddraw
1026 enable_ddrawex
1027 enable_devenum
1028 enable_dhcpcsvc
1029 enable_difxapi
1030 enable_dinput
1031 enable_dinput8
1032 enable_dispex
1033 enable_dmband
1034 enable_dmcompos
1035 enable_dmime
1036 enable_dmloader
1037 enable_dmscript
1038 enable_dmstyle
1039 enable_dmsynth
1040 enable_dmusic
1041 enable_dmusic32
1042 enable_dnsapi
1043 enable_dplay
1044 enable_dplayx
1045 enable_dpnaddr
1046 enable_dpnet
1047 enable_dpnhpast
1048 enable_dpnlobby
1049 enable_dpvoice
1050 enable_dpwsockx
1051 enable_drmclien
1052 enable_dsound
1053 enable_dssenh
1054 enable_dswave
1055 enable_dwmapi
1056 enable_dwrite
1057 enable_dxdiagn
1058 enable_dxgi
1059 enable_dxva2
1060 enable_evr
1061 enable_explorerframe
1062 enable_ext_ms_win_gdi_devcaps_l1_1_0
1063 enable_faultrep
1064 enable_fltlib
1065 enable_fntcache
1066 enable_fontsub
1067 enable_fusion
1068 enable_fwpuclnt
1069 enable_gameux
1070 enable_gdi32
1071 enable_gdiplus
1072 enable_glu32
1073 enable_gphoto2_ds
1074 enable_gpkcsp
1075 enable_hal
1076 enable_hhctrl_ocx
1077 enable_hid
1078 enable_hlink
1079 enable_hnetcfg
1080 enable_httpapi
1081 enable_iccvid
1082 enable_icmp
1083 enable_ieframe
1084 enable_imaadp32_acm
1085 enable_imagehlp
1086 enable_imm32
1087 enable_inetcomm
1088 enable_inetcpl_cpl
1089 enable_inetmib1
1090 enable_infosoft
1091 enable_initpki
1092 enable_inkobj
1093 enable_inseng
1094 enable_iphlpapi
1095 enable_itircl
1096 enable_itss
1097 enable_joy_cpl
1098 enable_jscript
1099 enable_jsproxy
1100 enable_kernel32
1101 enable_ksuser
1102 enable_ktmw32
1103 enable_loadperf
1104 enable_localspl
1105 enable_localui
1106 enable_lz32
1107 enable_mapi32
1108 enable_mapistub
1109 enable_mciavi32
1110 enable_mcicda
1111 enable_mciqtz32
1112 enable_mciseq
1113 enable_mciwave
1114 enable_mf
1115 enable_mfplat
1116 enable_mfreadwrite
1117 enable_mgmtapi
1118 enable_midimap
1119 enable_mlang
1120 enable_mmcndmgr
1121 enable_mmdevapi
1122 enable_mountmgr_sys
1123 enable_mpr
1124 enable_mprapi
1125 enable_msacm32_drv
1126 enable_msacm32
1127 enable_msadp32_acm
1128 enable_msasn1
1129 enable_mscat32
1130 enable_mscms
1131 enable_mscoree
1132 enable_msctf
1133 enable_msdaps
1134 enable_msdmo
1135 enable_msftedit
1136 enable_msg711_acm
1137 enable_msgsm32_acm
1138 enable_mshtml_tlb
1139 enable_mshtml
1140 enable_msi
1141 enable_msident
1142 enable_msimg32
1143 enable_msimsg
1144 enable_msimtf
1145 enable_msisip
1146 enable_msisys_ocx
1147 enable_msls31
1148 enable_msnet32
1149 enable_mspatcha
1150 enable_msrle32
1151 enable_mssign32
1152 enable_mssip32
1153 enable_mstask
1154 enable_msvcirt
1155 enable_msvcm80
1156 enable_msvcm90
1157 enable_msvcp100
1158 enable_msvcp110
1159 enable_msvcp120
1160 enable_msvcp120_app
1161 enable_msvcp60
1162 enable_msvcp70
1163 enable_msvcp71
1164 enable_msvcp80
1165 enable_msvcp90
1166 enable_msvcr100
1167 enable_msvcr110
1168 enable_msvcr120
1169 enable_msvcr120_app
1170 enable_msvcr70
1171 enable_msvcr71
1172 enable_msvcr80
1173 enable_msvcr90
1174 enable_msvcrt
1175 enable_msvcrt20
1176 enable_msvcrt40
1177 enable_msvcrtd
1178 enable_msvfw32
1179 enable_msvidc32
1180 enable_mswsock
1181 enable_msxml
1182 enable_msxml2
1183 enable_msxml3
1184 enable_msxml4
1185 enable_msxml6
1186 enable_nddeapi
1187 enable_ndis_sys
1188 enable_netapi32
1189 enable_netcfgx
1190 enable_netprofm
1191 enable_newdev
1192 enable_normaliz
1193 enable_npmshtml
1194 enable_npptools
1195 enable_ntdll
1196 enable_ntdsapi
1197 enable_ntoskrnl_exe
1198 enable_ntprint
1199 enable_objsel
1200 enable_odbc32
1201 enable_odbccp32
1202 enable_odbccu32
1203 enable_ole32
1204 enable_oleacc
1205 enable_oleaut32
1206 enable_olecli32
1207 enable_oledb32
1208 enable_oledlg
1209 enable_olepro32
1210 enable_olesvr32
1211 enable_olethk32
1212 enable_openal32
1213 enable_opencl
1214 enable_opengl32
1215 enable_packager
1216 enable_pdh
1217 enable_photometadatahandler
1218 enable_pidgen
1219 enable_powrprof
1220 enable_printui
1221 enable_prntvpt
1222 enable_propsys
1223 enable_psapi
1224 enable_pstorec
1225 enable_qcap
1226 enable_qedit
1227 enable_qmgr
1228 enable_qmgrprxy
1229 enable_quartz
1230 enable_query
1231 enable_rasapi32
1232 enable_rasdlg
1233 enable_regapi
1234 enable_resutils
1235 enable_riched20
1236 enable_riched32
1237 enable_rpcrt4
1238 enable_rsabase
1239 enable_rsaenh
1240 enable_rstrtmgr
1241 enable_rtutils
1242 enable_samlib
1243 enable_sane_ds
1244 enable_scarddlg
1245 enable_sccbase
1246 enable_schannel
1247 enable_schedsvc
1248 enable_scrrun
1249 enable_scsiport_sys
1250 enable_secur32
1251 enable_security
1252 enable_sensapi
1253 enable_serialui
1254 enable_setupapi
1255 enable_sfc
1256 enable_sfc_os
1257 enable_shdoclc
1258 enable_shdocvw
1259 enable_shell32
1260 enable_shfolder
1261 enable_shlwapi
1262 enable_slbcsp
1263 enable_slc
1264 enable_snmpapi
1265 enable_softpub
1266 enable_spoolss
1267 enable_stdole2_tlb
1268 enable_stdole32_tlb
1269 enable_sti
1270 enable_svrapi
1271 enable_sxs
1272 enable_t2embed
1273 enable_tapi32
1274 enable_taskschd
1275 enable_traffic
1276 enable_twain_32
1277 enable_unicows
1278 enable_updspapi
1279 enable_url
1280 enable_urlmon
1281 enable_usbd_sys
1282 enable_user32
1283 enable_userenv
1284 enable_usp10
1285 enable_uxtheme
1286 enable_vbscript
1287 enable_vcomp
1288 enable_vcomp100
1289 enable_vcomp90
1290 enable_vdmdbg
1291 enable_version
1292 enable_vssapi
1293 enable_wbemdisp
1294 enable_wbemprox
1295 enable_webservices
1296 enable_wer
1297 enable_wevtapi
1298 enable_wiaservc
1299 enable_windowscodecs
1300 enable_windowscodecsext
1301 enable_winealsa_drv
1302 enable_winecoreaudio_drv
1303 enable_wined3d
1304 enable_winegstreamer
1305 enable_winejoystick_drv
1306 enable_winemac_drv
1307 enable_winemapi
1308 enable_winemp3_acm
1309 enable_wineoss_drv
1310 enable_wineps_drv
1311 enable_wineqtdecoder
1312 enable_winex11_drv
1313 enable_wing32
1314 enable_winhttp
1315 enable_wininet
1316 enable_winmm
1317 enable_winnls32
1318 enable_winscard
1319 enable_winspool_drv
1320 enable_winsta
1321 enable_wintab32
1322 enable_wintrust
1323 enable_wlanapi
1324 enable_wldap32
1325 enable_wmi
1326 enable_wmiutils
1327 enable_wmp
1328 enable_wmvcore
1329 enable_wnaspi32
1330 enable_wpcap
1331 enable_ws2_32
1332 enable_wshom_ocx
1333 enable_wsnmp32
1334 enable_wsock32
1335 enable_wtsapi32
1336 enable_wuapi
1337 enable_wuaueng
1338 enable_x3daudio1_1
1339 enable_x3daudio1_2
1340 enable_x3daudio1_3
1341 enable_x3daudio1_4
1342 enable_x3daudio1_5
1343 enable_x3daudio1_6
1344 enable_x3daudio1_7
1345 enable_xapofx1_1
1346 enable_xapofx1_3
1347 enable_xapofx1_4
1348 enable_xapofx1_5
1349 enable_xaudio2_7
1350 enable_xinput1_1
1351 enable_xinput1_2
1352 enable_xinput1_3
1353 enable_xinput1_4
1354 enable_xinput9_1_0
1355 enable_xmllite
1356 enable_xolehlp
1357 enable_xpsprint
1358 enable_xpssvcs
1359 enable_documentation
1360 enable_fonts
1361 enable_include
1362 enable_libs_port
1363 enable_libs_wine
1364 enable_libs_wpp
1365 enable_loader
1366 enable_arp
1367 enable_aspnet_regiis
1368 enable_attrib
1369 enable_cabarc
1370 enable_cacls
1371 enable_clock
1372 enable_cmd
1373 enable_conhost
1374 enable_control
1375 enable_cscript
1376 enable_dpnsvr
1377 enable_dxdiag
1378 enable_eject
1379 enable_expand
1380 enable_explorer
1381 enable_extrac32
1382 enable_findstr
1383 enable_hh
1384 enable_hostname
1385 enable_icinfo
1386 enable_iexplore
1387 enable_ipconfig
1388 enable_lodctr
1389 enable_mofcomp
1390 enable_mshta
1391 enable_msiexec
1392 enable_net
1393 enable_netsh
1394 enable_netstat
1395 enable_ngen
1396 enable_notepad
1397 enable_oleview
1398 enable_ping
1399 enable_plugplay
1400 enable_presentationfontcache
1401 enable_progman
1402 enable_reg
1403 enable_regasm
1404 enable_regedit
1405 enable_regsvcs
1406 enable_regsvr32
1407 enable_rpcss
1408 enable_rundll32
1409 enable_sc
1410 enable_schtasks
1411 enable_sdbinst
1412 enable_secedit
1413 enable_servicemodelreg
1414 enable_services
1415 enable_spoolsv
1416 enable_start
1417 enable_svchost
1418 enable_systeminfo
1419 enable_taskkill
1420 enable_tasklist
1421 enable_taskmgr
1422 enable_termsv
1423 enable_uninstaller
1424 enable_unlodctr
1425 enable_view
1426 enable_wevtutil
1427 enable_wineboot
1428 enable_winebrowser
1429 enable_winecfg
1430 enable_wineconsole
1431 enable_winedbg
1432 enable_winedevice
1433 enable_winefile
1434 enable_winemenubuilder
1435 enable_winemine
1436 enable_winemsibuilder
1437 enable_winepath
1438 enable_winetest
1439 enable_winhlp32
1440 enable_winver
1441 enable_wmic
1442 enable_wordpad
1443 enable_write
1444 enable_wscript
1445 enable_wusa
1446 enable_xcopy
1447 enable_server
1448 enable_tools
1450 ac_precious_vars='build_alias
1451 host_alias
1452 target_alias
1454 CFLAGS
1455 LDFLAGS
1456 LIBS
1457 CPPFLAGS
1459 CXXFLAGS
1462 XMKMF
1463 XML2_CFLAGS
1464 XML2_LIBS
1465 XSLT_CFLAGS
1466 XSLT_LIBS
1467 DBUS_CFLAGS
1468 DBUS_LIBS
1469 HAL_CFLAGS
1470 HAL_LIBS
1471 GNUTLS_CFLAGS
1472 GNUTLS_LIBS
1473 SANE_CFLAGS
1474 SANE_LIBS
1475 GPHOTO2_CFLAGS
1476 GPHOTO2_LIBS
1477 GPHOTO2_PORT_CFLAGS
1478 GPHOTO2_PORT_LIBS
1479 LCMS2_CFLAGS
1480 LCMS2_LIBS
1481 FREETYPE_CFLAGS
1482 FREETYPE_LIBS
1483 GSTREAMER_CFLAGS
1484 GSTREAMER_LIBS
1485 CAPI20_CFLAGS
1486 CAPI20_LIBS
1487 FONTCONFIG_CFLAGS
1488 FONTCONFIG_LIBS
1489 JPEG_CFLAGS
1490 JPEG_LIBS
1491 PNG_CFLAGS
1492 PNG_LIBS
1493 TIFF_CFLAGS
1494 TIFF_LIBS
1495 MPG123_CFLAGS
1496 MPG123_LIBS'
1499 # Initialize some variables set by options.
1500 ac_init_help=
1501 ac_init_version=false
1502 ac_unrecognized_opts=
1503 ac_unrecognized_sep=
1504 # The variables have the same names as the options, with
1505 # dashes changed to underlines.
1506 cache_file=/dev/null
1507 exec_prefix=NONE
1508 no_create=
1509 no_recursion=
1510 prefix=NONE
1511 program_prefix=NONE
1512 program_suffix=NONE
1513 program_transform_name=s,x,x,
1514 silent=
1515 site=
1516 srcdir=
1517 verbose=
1518 x_includes=NONE
1519 x_libraries=NONE
1521 # Installation directory options.
1522 # These are left unexpanded so users can "make install exec_prefix=/foo"
1523 # and all the variables that are supposed to be based on exec_prefix
1524 # by default will actually change.
1525 # Use braces instead of parens because sh, perl, etc. also accept them.
1526 # (The list follows the same order as the GNU Coding Standards.)
1527 bindir='${exec_prefix}/bin'
1528 sbindir='${exec_prefix}/sbin'
1529 libexecdir='${exec_prefix}/libexec'
1530 datarootdir='${prefix}/share'
1531 datadir='${datarootdir}'
1532 sysconfdir='${prefix}/etc'
1533 sharedstatedir='${prefix}/com'
1534 localstatedir='${prefix}/var'
1535 includedir='${prefix}/include'
1536 oldincludedir='/usr/include'
1537 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1538 infodir='${datarootdir}/info'
1539 htmldir='${docdir}'
1540 dvidir='${docdir}'
1541 pdfdir='${docdir}'
1542 psdir='${docdir}'
1543 libdir='${exec_prefix}/lib'
1544 localedir='${datarootdir}/locale'
1545 mandir='${datarootdir}/man'
1547 ac_prev=
1548 ac_dashdash=
1549 for ac_option
1551 # If the previous option needs an argument, assign it.
1552 if test -n "$ac_prev"; then
1553 eval $ac_prev=\$ac_option
1554 ac_prev=
1555 continue
1558 case $ac_option in
1559 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1560 *=) ac_optarg= ;;
1561 *) ac_optarg=yes ;;
1562 esac
1564 # Accept the important Cygnus configure options, so we can diagnose typos.
1566 case $ac_dashdash$ac_option in
1568 ac_dashdash=yes ;;
1570 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1571 ac_prev=bindir ;;
1572 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1573 bindir=$ac_optarg ;;
1575 -build | --build | --buil | --bui | --bu)
1576 ac_prev=build_alias ;;
1577 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1578 build_alias=$ac_optarg ;;
1580 -cache-file | --cache-file | --cache-fil | --cache-fi \
1581 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1582 ac_prev=cache_file ;;
1583 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1584 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1585 cache_file=$ac_optarg ;;
1587 --config-cache | -C)
1588 cache_file=config.cache ;;
1590 -datadir | --datadir | --datadi | --datad)
1591 ac_prev=datadir ;;
1592 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1593 datadir=$ac_optarg ;;
1595 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1596 | --dataroo | --dataro | --datar)
1597 ac_prev=datarootdir ;;
1598 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1599 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1600 datarootdir=$ac_optarg ;;
1602 -disable-* | --disable-*)
1603 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1604 # Reject names that are not valid shell variable names.
1605 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1606 as_fn_error $? "invalid feature name: $ac_useropt"
1607 ac_useropt_orig=$ac_useropt
1608 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1609 case $ac_user_opts in
1611 "enable_$ac_useropt"
1612 "*) ;;
1613 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1614 ac_unrecognized_sep=', ';;
1615 esac
1616 eval enable_$ac_useropt=no ;;
1618 -docdir | --docdir | --docdi | --doc | --do)
1619 ac_prev=docdir ;;
1620 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1621 docdir=$ac_optarg ;;
1623 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1624 ac_prev=dvidir ;;
1625 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1626 dvidir=$ac_optarg ;;
1628 -enable-* | --enable-*)
1629 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1630 # Reject names that are not valid shell variable names.
1631 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1632 as_fn_error $? "invalid feature name: $ac_useropt"
1633 ac_useropt_orig=$ac_useropt
1634 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1635 case $ac_user_opts in
1637 "enable_$ac_useropt"
1638 "*) ;;
1639 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1640 ac_unrecognized_sep=', ';;
1641 esac
1642 eval enable_$ac_useropt=\$ac_optarg ;;
1644 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1645 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1646 | --exec | --exe | --ex)
1647 ac_prev=exec_prefix ;;
1648 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1649 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1650 | --exec=* | --exe=* | --ex=*)
1651 exec_prefix=$ac_optarg ;;
1653 -gas | --gas | --ga | --g)
1654 # Obsolete; use --with-gas.
1655 with_gas=yes ;;
1657 -help | --help | --hel | --he | -h)
1658 ac_init_help=long ;;
1659 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1660 ac_init_help=recursive ;;
1661 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1662 ac_init_help=short ;;
1664 -host | --host | --hos | --ho)
1665 ac_prev=host_alias ;;
1666 -host=* | --host=* | --hos=* | --ho=*)
1667 host_alias=$ac_optarg ;;
1669 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1670 ac_prev=htmldir ;;
1671 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1672 | --ht=*)
1673 htmldir=$ac_optarg ;;
1675 -includedir | --includedir | --includedi | --included | --include \
1676 | --includ | --inclu | --incl | --inc)
1677 ac_prev=includedir ;;
1678 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1679 | --includ=* | --inclu=* | --incl=* | --inc=*)
1680 includedir=$ac_optarg ;;
1682 -infodir | --infodir | --infodi | --infod | --info | --inf)
1683 ac_prev=infodir ;;
1684 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1685 infodir=$ac_optarg ;;
1687 -libdir | --libdir | --libdi | --libd)
1688 ac_prev=libdir ;;
1689 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1690 libdir=$ac_optarg ;;
1692 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1693 | --libexe | --libex | --libe)
1694 ac_prev=libexecdir ;;
1695 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1696 | --libexe=* | --libex=* | --libe=*)
1697 libexecdir=$ac_optarg ;;
1699 -localedir | --localedir | --localedi | --localed | --locale)
1700 ac_prev=localedir ;;
1701 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1702 localedir=$ac_optarg ;;
1704 -localstatedir | --localstatedir | --localstatedi | --localstated \
1705 | --localstate | --localstat | --localsta | --localst | --locals)
1706 ac_prev=localstatedir ;;
1707 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1708 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1709 localstatedir=$ac_optarg ;;
1711 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1712 ac_prev=mandir ;;
1713 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1714 mandir=$ac_optarg ;;
1716 -nfp | --nfp | --nf)
1717 # Obsolete; use --without-fp.
1718 with_fp=no ;;
1720 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1721 | --no-cr | --no-c | -n)
1722 no_create=yes ;;
1724 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1725 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1726 no_recursion=yes ;;
1728 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1729 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1730 | --oldin | --oldi | --old | --ol | --o)
1731 ac_prev=oldincludedir ;;
1732 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1733 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1734 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1735 oldincludedir=$ac_optarg ;;
1737 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1738 ac_prev=prefix ;;
1739 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1740 prefix=$ac_optarg ;;
1742 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1743 | --program-pre | --program-pr | --program-p)
1744 ac_prev=program_prefix ;;
1745 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1746 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1747 program_prefix=$ac_optarg ;;
1749 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1750 | --program-suf | --program-su | --program-s)
1751 ac_prev=program_suffix ;;
1752 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1753 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1754 program_suffix=$ac_optarg ;;
1756 -program-transform-name | --program-transform-name \
1757 | --program-transform-nam | --program-transform-na \
1758 | --program-transform-n | --program-transform- \
1759 | --program-transform | --program-transfor \
1760 | --program-transfo | --program-transf \
1761 | --program-trans | --program-tran \
1762 | --progr-tra | --program-tr | --program-t)
1763 ac_prev=program_transform_name ;;
1764 -program-transform-name=* | --program-transform-name=* \
1765 | --program-transform-nam=* | --program-transform-na=* \
1766 | --program-transform-n=* | --program-transform-=* \
1767 | --program-transform=* | --program-transfor=* \
1768 | --program-transfo=* | --program-transf=* \
1769 | --program-trans=* | --program-tran=* \
1770 | --progr-tra=* | --program-tr=* | --program-t=*)
1771 program_transform_name=$ac_optarg ;;
1773 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1774 ac_prev=pdfdir ;;
1775 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1776 pdfdir=$ac_optarg ;;
1778 -psdir | --psdir | --psdi | --psd | --ps)
1779 ac_prev=psdir ;;
1780 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1781 psdir=$ac_optarg ;;
1783 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1784 | -silent | --silent | --silen | --sile | --sil)
1785 silent=yes ;;
1787 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1788 ac_prev=sbindir ;;
1789 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1790 | --sbi=* | --sb=*)
1791 sbindir=$ac_optarg ;;
1793 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1794 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1795 | --sharedst | --shareds | --shared | --share | --shar \
1796 | --sha | --sh)
1797 ac_prev=sharedstatedir ;;
1798 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1799 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1800 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1801 | --sha=* | --sh=*)
1802 sharedstatedir=$ac_optarg ;;
1804 -site | --site | --sit)
1805 ac_prev=site ;;
1806 -site=* | --site=* | --sit=*)
1807 site=$ac_optarg ;;
1809 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1810 ac_prev=srcdir ;;
1811 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1812 srcdir=$ac_optarg ;;
1814 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1815 | --syscon | --sysco | --sysc | --sys | --sy)
1816 ac_prev=sysconfdir ;;
1817 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1818 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1819 sysconfdir=$ac_optarg ;;
1821 -target | --target | --targe | --targ | --tar | --ta | --t)
1822 ac_prev=target_alias ;;
1823 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1824 target_alias=$ac_optarg ;;
1826 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1827 verbose=yes ;;
1829 -version | --version | --versio | --versi | --vers | -V)
1830 ac_init_version=: ;;
1832 -with-* | --with-*)
1833 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1834 # Reject names that are not valid shell variable names.
1835 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1836 as_fn_error $? "invalid package name: $ac_useropt"
1837 ac_useropt_orig=$ac_useropt
1838 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1839 case $ac_user_opts in
1841 "with_$ac_useropt"
1842 "*) ;;
1843 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1844 ac_unrecognized_sep=', ';;
1845 esac
1846 eval with_$ac_useropt=\$ac_optarg ;;
1848 -without-* | --without-*)
1849 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1850 # Reject names that are not valid shell variable names.
1851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1852 as_fn_error $? "invalid package name: $ac_useropt"
1853 ac_useropt_orig=$ac_useropt
1854 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1855 case $ac_user_opts in
1857 "with_$ac_useropt"
1858 "*) ;;
1859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1860 ac_unrecognized_sep=', ';;
1861 esac
1862 eval with_$ac_useropt=no ;;
1864 --x)
1865 # Obsolete; use --with-x.
1866 with_x=yes ;;
1868 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1869 | --x-incl | --x-inc | --x-in | --x-i)
1870 ac_prev=x_includes ;;
1871 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1872 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1873 x_includes=$ac_optarg ;;
1875 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1876 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1877 ac_prev=x_libraries ;;
1878 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1879 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1880 x_libraries=$ac_optarg ;;
1882 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1883 Try \`$0 --help' for more information"
1886 *=*)
1887 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1888 # Reject names that are not valid shell variable names.
1889 case $ac_envvar in #(
1890 '' | [0-9]* | *[!_$as_cr_alnum]* )
1891 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1892 esac
1893 eval $ac_envvar=\$ac_optarg
1894 export $ac_envvar ;;
1897 # FIXME: should be removed in autoconf 3.0.
1898 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1899 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1900 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1901 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1904 esac
1905 done
1907 if test -n "$ac_prev"; then
1908 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1909 as_fn_error $? "missing argument to $ac_option"
1912 if test -n "$ac_unrecognized_opts"; then
1913 case $enable_option_checking in
1914 no) ;;
1915 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1916 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1917 esac
1920 # Check all directory arguments for consistency.
1921 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1922 datadir sysconfdir sharedstatedir localstatedir includedir \
1923 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1924 libdir localedir mandir
1926 eval ac_val=\$$ac_var
1927 # Remove trailing slashes.
1928 case $ac_val in
1929 */ )
1930 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1931 eval $ac_var=\$ac_val;;
1932 esac
1933 # Be sure to have absolute directory names.
1934 case $ac_val in
1935 [\\/$]* | ?:[\\/]* ) continue;;
1936 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1937 esac
1938 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1939 done
1941 # There might be people who depend on the old broken behavior: `$host'
1942 # used to hold the argument of --host etc.
1943 # FIXME: To remove some day.
1944 build=$build_alias
1945 host=$host_alias
1946 target=$target_alias
1948 # FIXME: To remove some day.
1949 if test "x$host_alias" != x; then
1950 if test "x$build_alias" = x; then
1951 cross_compiling=maybe
1952 elif test "x$build_alias" != "x$host_alias"; then
1953 cross_compiling=yes
1957 ac_tool_prefix=
1958 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1960 test "$silent" = yes && exec 6>/dev/null
1963 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1964 ac_ls_di=`ls -di .` &&
1965 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1966 as_fn_error $? "working directory cannot be determined"
1967 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1968 as_fn_error $? "pwd does not report name of working directory"
1971 # Find the source files, if location was not specified.
1972 if test -z "$srcdir"; then
1973 ac_srcdir_defaulted=yes
1974 # Try the directory containing this script, then the parent directory.
1975 ac_confdir=`$as_dirname -- "$as_myself" ||
1976 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1977 X"$as_myself" : 'X\(//\)[^/]' \| \
1978 X"$as_myself" : 'X\(//\)$' \| \
1979 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1980 $as_echo X"$as_myself" |
1981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1982 s//\1/
1985 /^X\(\/\/\)[^/].*/{
1986 s//\1/
1989 /^X\(\/\/\)$/{
1990 s//\1/
1993 /^X\(\/\).*/{
1994 s//\1/
1997 s/.*/./; q'`
1998 srcdir=$ac_confdir
1999 if test ! -r "$srcdir/$ac_unique_file"; then
2000 srcdir=..
2002 else
2003 ac_srcdir_defaulted=no
2005 if test ! -r "$srcdir/$ac_unique_file"; then
2006 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2007 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2009 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2010 ac_abs_confdir=`(
2011 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2012 pwd)`
2013 # When building in place, set srcdir=.
2014 if test "$ac_abs_confdir" = "$ac_pwd"; then
2015 srcdir=.
2017 # Remove unnecessary trailing slashes from srcdir.
2018 # Double slashes in file names in object file debugging info
2019 # mess up M-x gdb in Emacs.
2020 case $srcdir in
2021 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2022 esac
2023 for ac_var in $ac_precious_vars; do
2024 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2025 eval ac_env_${ac_var}_value=\$${ac_var}
2026 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2027 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2028 done
2031 # Report the --help message.
2033 if test "$ac_init_help" = "long"; then
2034 # Omit some internal or obsolete options to make the list less imposing.
2035 # This message is too long to be a string in the A/UX 3.1 sh.
2036 cat <<_ACEOF
2037 \`configure' configures Wine 1.7.42 to adapt to many kinds of systems.
2039 Usage: $0 [OPTION]... [VAR=VALUE]...
2041 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2042 VAR=VALUE. See below for descriptions of some of the useful variables.
2044 Defaults for the options are specified in brackets.
2046 Configuration:
2047 -h, --help display this help and exit
2048 --help=short display options specific to this package
2049 --help=recursive display the short help of all the included packages
2050 -V, --version display version information and exit
2051 -q, --quiet, --silent do not print \`checking ...' messages
2052 --cache-file=FILE cache test results in FILE [disabled]
2053 -C, --config-cache alias for \`--cache-file=config.cache'
2054 -n, --no-create do not create output files
2055 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2057 Installation directories:
2058 --prefix=PREFIX install architecture-independent files in PREFIX
2059 [$ac_default_prefix]
2060 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2061 [PREFIX]
2063 By default, \`make install' will install all the files in
2064 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2065 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2066 for instance \`--prefix=\$HOME'.
2068 For better control, use the options below.
2070 Fine tuning of the installation directories:
2071 --bindir=DIR user executables [EPREFIX/bin]
2072 --sbindir=DIR system admin executables [EPREFIX/sbin]
2073 --libexecdir=DIR program executables [EPREFIX/libexec]
2074 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2075 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2076 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2077 --libdir=DIR object code libraries [EPREFIX/lib]
2078 --includedir=DIR C header files [PREFIX/include]
2079 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2080 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2081 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2082 --infodir=DIR info documentation [DATAROOTDIR/info]
2083 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2084 --mandir=DIR man documentation [DATAROOTDIR/man]
2085 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2086 --htmldir=DIR html documentation [DOCDIR]
2087 --dvidir=DIR dvi documentation [DOCDIR]
2088 --pdfdir=DIR pdf documentation [DOCDIR]
2089 --psdir=DIR ps documentation [DOCDIR]
2090 _ACEOF
2092 cat <<\_ACEOF
2094 X features:
2095 --x-includes=DIR X include files are in DIR
2096 --x-libraries=DIR X library files are in DIR
2098 System types:
2099 --build=BUILD configure for building on BUILD [guessed]
2100 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2101 _ACEOF
2104 if test -n "$ac_init_help"; then
2105 case $ac_init_help in
2106 short | recursive ) echo "Configuration of Wine 1.7.42:";;
2107 esac
2108 cat <<\_ACEOF
2110 Optional Features:
2111 --disable-option-checking ignore unrecognized --enable/--with options
2112 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2113 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2114 --disable-win16 do not include Win16 support
2115 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2116 binaries)
2117 --disable-tests do not build the regression tests
2118 --enable-maintainer-mode
2119 enable maintainer-specific build rules
2120 --disable-largefile omit support for large files
2122 Optional Packages:
2123 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2124 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2125 --without-alsa do not use the Alsa sound support
2126 --without-capi do not use CAPI (ISDN support)
2127 --without-cms do not use CMS (color management support)
2128 --without-coreaudio do not use the CoreAudio sound support
2129 --without-cups do not use CUPS
2130 --without-curses do not use (n)curses
2131 --without-dbus do not use DBus (dynamic device support)
2132 --without-fontconfig do not use fontconfig
2133 --without-freetype do not use the FreeType library
2134 --without-gettext do not use gettext
2135 --with-gettextpo use the GetTextPO library to rebuild po files
2136 --without-gphoto do not use gphoto (Digital Camera support)
2137 --without-glu do not use the GLU library
2138 --without-gnutls do not use GnuTLS (schannel support)
2139 --without-gsm do not use libgsm (GSM 06.10 codec support)
2140 --without-gstreamer do not use GStreamer (codecs support)
2141 --without-hal do not use HAL (dynamic device support)
2142 --without-jpeg do not use JPEG
2143 --without-ldap do not use LDAP
2144 --without-mpg123 do not use the mpg123 library
2145 --without-netapi do not use the Samba NetAPI library
2146 --without-openal do not use OpenAL
2147 --without-opencl do not use OpenCL
2148 --without-opengl do not use OpenGL
2149 --without-osmesa do not use the OSMesa library
2150 --without-oss do not use the OSS sound support
2151 --without-pcap do not use the Packet Capture library
2152 --without-png do not use PNG
2153 --without-pthread do not use the pthread library
2154 --without-sane do not use SANE (scanner support)
2155 --without-tiff do not use TIFF
2156 --without-v4l do not use v4l1 (v4l support)
2157 --without-xcomposite do not use the Xcomposite extension
2158 --without-xcursor do not use the Xcursor extension
2159 --without-xinerama do not use Xinerama (multi-monitor support)
2160 --without-xinput do not use the Xinput extension
2161 --without-xinput2 do not use the Xinput 2 extension
2162 --without-xml do not use XML
2163 --without-xrandr do not use Xrandr (resolution changes)
2164 --without-xrender do not use the Xrender extension
2165 --without-xshape do not use the Xshape extension
2166 --without-xshm do not use XShm (shared memory extension)
2167 --without-xslt do not use XSLT
2168 --without-xxf86vm do not use XFree video mode extension
2169 --without-zlib do not use Zlib (data compression)
2170 --with-wine-tools=DIR use Wine tools from directory DIR
2171 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2172 --with-x use the X Window System
2174 Some influential environment variables:
2175 CC C compiler command
2176 CFLAGS C compiler flags
2177 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2178 nonstandard directory <lib dir>
2179 LIBS libraries to pass to the linker, e.g. -l<library>
2180 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2181 you have headers in a nonstandard directory <include dir>
2182 CXX C++ compiler command
2183 CXXFLAGS C++ compiler flags
2184 CPP C preprocessor
2185 XMKMF Path to xmkmf, Makefile generator for X Window System
2186 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2187 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2188 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2189 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2190 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2191 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2192 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2193 HAL_LIBS Linker flags for hal, overriding pkg-config
2194 GNUTLS_CFLAGS
2195 C compiler flags for gnutls, overriding pkg-config
2196 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2197 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2198 SANE_LIBS Linker flags for libsane, overriding pkg-config
2199 GPHOTO2_CFLAGS
2200 C compiler flags for libgphoto2, overriding pkg-config
2201 GPHOTO2_LIBS
2202 Linker flags for libgphoto2, overriding pkg-config
2203 GPHOTO2_PORT_CFLAGS
2204 C compiler flags for libgphoto2_port, overriding pkg-config
2205 GPHOTO2_PORT_LIBS
2206 Linker flags for libgphoto2_port, overriding pkg-config
2207 LCMS2_CFLAGS
2208 C compiler flags for lcms2, overriding pkg-config
2209 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2210 FREETYPE_CFLAGS
2211 C compiler flags for freetype2, overriding pkg-config
2212 FREETYPE_LIBS
2213 Linker flags for freetype2, overriding pkg-config
2214 GSTREAMER_CFLAGS
2215 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2216 GSTREAMER_LIBS
2217 Linker flags for gstreamer-app-0.10, overriding pkg-config
2218 CAPI20_CFLAGS
2219 C compiler flags for capi20, overriding pkg-config
2220 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2221 FONTCONFIG_CFLAGS
2222 C compiler flags for fontconfig, overriding pkg-config
2223 FONTCONFIG_LIBS
2224 Linker flags for fontconfig, overriding pkg-config
2225 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2226 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2227 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2228 PNG_LIBS Linker flags for libpng, overriding pkg-config
2229 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2230 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2231 MPG123_CFLAGS
2232 C compiler flags for libmpg123, overriding pkg-config
2233 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2235 Use these variables to override the choices made by `configure' or to help
2236 it to find libraries and programs with nonstandard names/locations.
2238 Report bugs to <wine-devel@winehq.org>.
2239 Wine home page: <http://www.winehq.org>.
2240 _ACEOF
2241 ac_status=$?
2244 if test "$ac_init_help" = "recursive"; then
2245 # If there are subdirs, report their specific --help.
2246 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2247 test -d "$ac_dir" ||
2248 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2249 continue
2250 ac_builddir=.
2252 case "$ac_dir" in
2253 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2255 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2256 # A ".." for each directory in $ac_dir_suffix.
2257 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2258 case $ac_top_builddir_sub in
2259 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2260 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2261 esac ;;
2262 esac
2263 ac_abs_top_builddir=$ac_pwd
2264 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2265 # for backward compatibility:
2266 ac_top_builddir=$ac_top_build_prefix
2268 case $srcdir in
2269 .) # We are building in place.
2270 ac_srcdir=.
2271 ac_top_srcdir=$ac_top_builddir_sub
2272 ac_abs_top_srcdir=$ac_pwd ;;
2273 [\\/]* | ?:[\\/]* ) # Absolute name.
2274 ac_srcdir=$srcdir$ac_dir_suffix;
2275 ac_top_srcdir=$srcdir
2276 ac_abs_top_srcdir=$srcdir ;;
2277 *) # Relative name.
2278 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2279 ac_top_srcdir=$ac_top_build_prefix$srcdir
2280 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2281 esac
2282 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2284 cd "$ac_dir" || { ac_status=$?; continue; }
2285 # Check for guested configure.
2286 if test -f "$ac_srcdir/configure.gnu"; then
2287 echo &&
2288 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2289 elif test -f "$ac_srcdir/configure"; then
2290 echo &&
2291 $SHELL "$ac_srcdir/configure" --help=recursive
2292 else
2293 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2294 fi || ac_status=$?
2295 cd "$ac_pwd" || { ac_status=$?; break; }
2296 done
2299 test -n "$ac_init_help" && exit $ac_status
2300 if $ac_init_version; then
2301 cat <<\_ACEOF
2302 Wine configure 1.7.42
2303 generated by GNU Autoconf 2.69
2305 Copyright (C) 2012 Free Software Foundation, Inc.
2306 This configure script is free software; the Free Software Foundation
2307 gives unlimited permission to copy, distribute and modify it.
2308 _ACEOF
2309 exit
2312 ## ------------------------ ##
2313 ## Autoconf initialization. ##
2314 ## ------------------------ ##
2316 # ac_fn_c_try_compile LINENO
2317 # --------------------------
2318 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2319 ac_fn_c_try_compile ()
2321 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2322 rm -f conftest.$ac_objext
2323 if { { ac_try="$ac_compile"
2324 case "(($ac_try" in
2325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2326 *) ac_try_echo=$ac_try;;
2327 esac
2328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2329 $as_echo "$ac_try_echo"; } >&5
2330 (eval "$ac_compile") 2>conftest.err
2331 ac_status=$?
2332 if test -s conftest.err; then
2333 grep -v '^ *+' conftest.err >conftest.er1
2334 cat conftest.er1 >&5
2335 mv -f conftest.er1 conftest.err
2337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2338 test $ac_status = 0; } && {
2339 test -z "$ac_c_werror_flag" ||
2340 test ! -s conftest.err
2341 } && test -s conftest.$ac_objext; then :
2342 ac_retval=0
2343 else
2344 $as_echo "$as_me: failed program was:" >&5
2345 sed 's/^/| /' conftest.$ac_ext >&5
2347 ac_retval=1
2349 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2350 as_fn_set_status $ac_retval
2352 } # ac_fn_c_try_compile
2354 # ac_fn_cxx_try_compile LINENO
2355 # ----------------------------
2356 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2357 ac_fn_cxx_try_compile ()
2359 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2360 rm -f conftest.$ac_objext
2361 if { { ac_try="$ac_compile"
2362 case "(($ac_try" in
2363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2364 *) ac_try_echo=$ac_try;;
2365 esac
2366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2367 $as_echo "$ac_try_echo"; } >&5
2368 (eval "$ac_compile") 2>conftest.err
2369 ac_status=$?
2370 if test -s conftest.err; then
2371 grep -v '^ *+' conftest.err >conftest.er1
2372 cat conftest.er1 >&5
2373 mv -f conftest.er1 conftest.err
2375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2376 test $ac_status = 0; } && {
2377 test -z "$ac_cxx_werror_flag" ||
2378 test ! -s conftest.err
2379 } && test -s conftest.$ac_objext; then :
2380 ac_retval=0
2381 else
2382 $as_echo "$as_me: failed program was:" >&5
2383 sed 's/^/| /' conftest.$ac_ext >&5
2385 ac_retval=1
2387 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2388 as_fn_set_status $ac_retval
2390 } # ac_fn_cxx_try_compile
2392 # ac_fn_c_try_link LINENO
2393 # -----------------------
2394 # Try to link conftest.$ac_ext, and return whether this succeeded.
2395 ac_fn_c_try_link ()
2397 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2398 rm -f conftest.$ac_objext conftest$ac_exeext
2399 if { { ac_try="$ac_link"
2400 case "(($ac_try" in
2401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2402 *) ac_try_echo=$ac_try;;
2403 esac
2404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2405 $as_echo "$ac_try_echo"; } >&5
2406 (eval "$ac_link") 2>conftest.err
2407 ac_status=$?
2408 if test -s conftest.err; then
2409 grep -v '^ *+' conftest.err >conftest.er1
2410 cat conftest.er1 >&5
2411 mv -f conftest.er1 conftest.err
2413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2414 test $ac_status = 0; } && {
2415 test -z "$ac_c_werror_flag" ||
2416 test ! -s conftest.err
2417 } && test -s conftest$ac_exeext && {
2418 test "$cross_compiling" = yes ||
2419 test -x conftest$ac_exeext
2420 }; then :
2421 ac_retval=0
2422 else
2423 $as_echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.$ac_ext >&5
2426 ac_retval=1
2428 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2429 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2430 # interfere with the next link command; also delete a directory that is
2431 # left behind by Apple's compiler. We do this before executing the actions.
2432 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2433 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2434 as_fn_set_status $ac_retval
2436 } # ac_fn_c_try_link
2438 # ac_fn_c_try_cpp LINENO
2439 # ----------------------
2440 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2441 ac_fn_c_try_cpp ()
2443 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2444 if { { ac_try="$ac_cpp conftest.$ac_ext"
2445 case "(($ac_try" in
2446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2447 *) ac_try_echo=$ac_try;;
2448 esac
2449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2450 $as_echo "$ac_try_echo"; } >&5
2451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2452 ac_status=$?
2453 if test -s conftest.err; then
2454 grep -v '^ *+' conftest.err >conftest.er1
2455 cat conftest.er1 >&5
2456 mv -f conftest.er1 conftest.err
2458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2459 test $ac_status = 0; } > conftest.i && {
2460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2461 test ! -s conftest.err
2462 }; then :
2463 ac_retval=0
2464 else
2465 $as_echo "$as_me: failed program was:" >&5
2466 sed 's/^/| /' conftest.$ac_ext >&5
2468 ac_retval=1
2470 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2471 as_fn_set_status $ac_retval
2473 } # ac_fn_c_try_cpp
2475 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2476 # -------------------------------------------------------
2477 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2478 # the include files in INCLUDES and setting the cache variable VAR
2479 # accordingly.
2480 ac_fn_c_check_header_mongrel ()
2482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2483 if eval \${$3+:} false; then :
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2485 $as_echo_n "checking for $2... " >&6; }
2486 if eval \${$3+:} false; then :
2487 $as_echo_n "(cached) " >&6
2489 eval ac_res=\$$3
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2491 $as_echo "$ac_res" >&6; }
2492 else
2493 # Is the header compilable?
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2495 $as_echo_n "checking $2 usability... " >&6; }
2496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2497 /* end confdefs.h. */
2499 #include <$2>
2500 _ACEOF
2501 if ac_fn_c_try_compile "$LINENO"; then :
2502 ac_header_compiler=yes
2503 else
2504 ac_header_compiler=no
2506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2508 $as_echo "$ac_header_compiler" >&6; }
2510 # Is the header present?
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2512 $as_echo_n "checking $2 presence... " >&6; }
2513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2514 /* end confdefs.h. */
2515 #include <$2>
2516 _ACEOF
2517 if ac_fn_c_try_cpp "$LINENO"; then :
2518 ac_header_preproc=yes
2519 else
2520 ac_header_preproc=no
2522 rm -f conftest.err conftest.i conftest.$ac_ext
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2524 $as_echo "$ac_header_preproc" >&6; }
2526 # So? What about this header?
2527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2528 yes:no: )
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2530 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2532 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2534 no:yes:* )
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2536 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2538 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2540 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2542 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2544 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2545 ( $as_echo "## ------------------------------------ ##
2546 ## Report this to wine-devel@winehq.org ##
2547 ## ------------------------------------ ##"
2548 ) | sed "s/^/$as_me: WARNING: /" >&2
2550 esac
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2552 $as_echo_n "checking for $2... " >&6; }
2553 if eval \${$3+:} false; then :
2554 $as_echo_n "(cached) " >&6
2555 else
2556 eval "$3=\$ac_header_compiler"
2558 eval ac_res=\$$3
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2560 $as_echo "$ac_res" >&6; }
2562 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2564 } # ac_fn_c_check_header_mongrel
2566 # ac_fn_c_try_run LINENO
2567 # ----------------------
2568 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2569 # that executables *can* be run.
2570 ac_fn_c_try_run ()
2572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2573 if { { ac_try="$ac_link"
2574 case "(($ac_try" in
2575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2576 *) ac_try_echo=$ac_try;;
2577 esac
2578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2579 $as_echo "$ac_try_echo"; } >&5
2580 (eval "$ac_link") 2>&5
2581 ac_status=$?
2582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2583 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2584 { { case "(($ac_try" in
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2587 esac
2588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2589 $as_echo "$ac_try_echo"; } >&5
2590 (eval "$ac_try") 2>&5
2591 ac_status=$?
2592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2593 test $ac_status = 0; }; }; then :
2594 ac_retval=0
2595 else
2596 $as_echo "$as_me: program exited with status $ac_status" >&5
2597 $as_echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2600 ac_retval=$ac_status
2602 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2604 as_fn_set_status $ac_retval
2606 } # ac_fn_c_try_run
2608 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2609 # -------------------------------------------------------
2610 # Tests whether HEADER exists and can be compiled using the include files in
2611 # INCLUDES, setting the cache variable VAR accordingly.
2612 ac_fn_c_check_header_compile ()
2614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2616 $as_echo_n "checking for $2... " >&6; }
2617 if eval \${$3+:} false; then :
2618 $as_echo_n "(cached) " >&6
2619 else
2620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2621 /* end confdefs.h. */
2623 #include <$2>
2624 _ACEOF
2625 if ac_fn_c_try_compile "$LINENO"; then :
2626 eval "$3=yes"
2627 else
2628 eval "$3=no"
2630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2632 eval ac_res=\$$3
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2634 $as_echo "$ac_res" >&6; }
2635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2637 } # ac_fn_c_check_header_compile
2639 # ac_fn_c_check_func LINENO FUNC VAR
2640 # ----------------------------------
2641 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2642 ac_fn_c_check_func ()
2644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2646 $as_echo_n "checking for $2... " >&6; }
2647 if eval \${$3+:} false; then :
2648 $as_echo_n "(cached) " >&6
2649 else
2650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2651 /* end confdefs.h. */
2652 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2654 #define $2 innocuous_$2
2656 /* System header to define __stub macros and hopefully few prototypes,
2657 which can conflict with char $2 (); below.
2658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2659 <limits.h> exists even on freestanding compilers. */
2661 #ifdef __STDC__
2662 # include <limits.h>
2663 #else
2664 # include <assert.h>
2665 #endif
2667 #undef $2
2669 /* Override any GCC internal prototype to avoid an error.
2670 Use char because int might match the return type of a GCC
2671 builtin and then its argument prototype would still apply. */
2672 #ifdef __cplusplus
2673 extern "C"
2674 #endif
2675 char $2 ();
2676 /* The GNU C library defines this for functions which it implements
2677 to always fail with ENOSYS. Some functions are actually named
2678 something starting with __ and the normal name is an alias. */
2679 #if defined __stub_$2 || defined __stub___$2
2680 choke me
2681 #endif
2684 main ()
2686 return $2 ();
2688 return 0;
2690 _ACEOF
2691 if ac_fn_c_try_link "$LINENO"; then :
2692 eval "$3=yes"
2693 else
2694 eval "$3=no"
2696 rm -f core conftest.err conftest.$ac_objext \
2697 conftest$ac_exeext conftest.$ac_ext
2699 eval ac_res=\$$3
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2701 $as_echo "$ac_res" >&6; }
2702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2704 } # ac_fn_c_check_func
2706 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2707 # ----------------------------------------------------
2708 # Tries to find if the field MEMBER exists in type AGGR, after including
2709 # INCLUDES, setting cache variable VAR accordingly.
2710 ac_fn_c_check_member ()
2712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2714 $as_echo_n "checking for $2.$3... " >&6; }
2715 if eval \${$4+:} false; then :
2716 $as_echo_n "(cached) " >&6
2717 else
2718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h. */
2722 main ()
2724 static $2 ac_aggr;
2725 if (ac_aggr.$3)
2726 return 0;
2728 return 0;
2730 _ACEOF
2731 if ac_fn_c_try_compile "$LINENO"; then :
2732 eval "$4=yes"
2733 else
2734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2735 /* end confdefs.h. */
2738 main ()
2740 static $2 ac_aggr;
2741 if (sizeof ac_aggr.$3)
2742 return 0;
2744 return 0;
2746 _ACEOF
2747 if ac_fn_c_try_compile "$LINENO"; then :
2748 eval "$4=yes"
2749 else
2750 eval "$4=no"
2752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2756 eval ac_res=\$$4
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2758 $as_echo "$ac_res" >&6; }
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2761 } # ac_fn_c_check_member
2763 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2764 # -------------------------------------------
2765 # Tests whether TYPE exists after having included INCLUDES, setting cache
2766 # variable VAR accordingly.
2767 ac_fn_c_check_type ()
2769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2771 $as_echo_n "checking for $2... " >&6; }
2772 if eval \${$3+:} false; then :
2773 $as_echo_n "(cached) " >&6
2774 else
2775 eval "$3=no"
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2780 main ()
2782 if (sizeof ($2))
2783 return 0;
2785 return 0;
2787 _ACEOF
2788 if ac_fn_c_try_compile "$LINENO"; then :
2789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2790 /* end confdefs.h. */
2793 main ()
2795 if (sizeof (($2)))
2796 return 0;
2798 return 0;
2800 _ACEOF
2801 if ac_fn_c_try_compile "$LINENO"; then :
2803 else
2804 eval "$3=yes"
2806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2810 eval ac_res=\$$3
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2812 $as_echo "$ac_res" >&6; }
2813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2815 } # ac_fn_c_check_type
2816 cat >config.log <<_ACEOF
2817 This file contains any messages produced by compilers while
2818 running configure, to aid debugging if configure makes a mistake.
2820 It was created by Wine $as_me 1.7.42, which was
2821 generated by GNU Autoconf 2.69. Invocation command line was
2823 $ $0 $@
2825 _ACEOF
2826 exec 5>>config.log
2828 cat <<_ASUNAME
2829 ## --------- ##
2830 ## Platform. ##
2831 ## --------- ##
2833 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2834 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2835 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2836 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2837 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2839 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2840 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2842 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2843 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2844 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2845 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2846 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2847 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2848 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2850 _ASUNAME
2852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2853 for as_dir in $PATH
2855 IFS=$as_save_IFS
2856 test -z "$as_dir" && as_dir=.
2857 $as_echo "PATH: $as_dir"
2858 done
2859 IFS=$as_save_IFS
2861 } >&5
2863 cat >&5 <<_ACEOF
2866 ## ----------- ##
2867 ## Core tests. ##
2868 ## ----------- ##
2870 _ACEOF
2873 # Keep a trace of the command line.
2874 # Strip out --no-create and --no-recursion so they do not pile up.
2875 # Strip out --silent because we don't want to record it for future runs.
2876 # Also quote any args containing shell meta-characters.
2877 # Make two passes to allow for proper duplicate-argument suppression.
2878 ac_configure_args=
2879 ac_configure_args0=
2880 ac_configure_args1=
2881 ac_must_keep_next=false
2882 for ac_pass in 1 2
2884 for ac_arg
2886 case $ac_arg in
2887 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2888 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2889 | -silent | --silent | --silen | --sile | --sil)
2890 continue ;;
2891 *\'*)
2892 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2893 esac
2894 case $ac_pass in
2895 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2897 as_fn_append ac_configure_args1 " '$ac_arg'"
2898 if test $ac_must_keep_next = true; then
2899 ac_must_keep_next=false # Got value, back to normal.
2900 else
2901 case $ac_arg in
2902 *=* | --config-cache | -C | -disable-* | --disable-* \
2903 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2904 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2905 | -with-* | --with-* | -without-* | --without-* | --x)
2906 case "$ac_configure_args0 " in
2907 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2908 esac
2910 -* ) ac_must_keep_next=true ;;
2911 esac
2913 as_fn_append ac_configure_args " '$ac_arg'"
2915 esac
2916 done
2917 done
2918 { ac_configure_args0=; unset ac_configure_args0;}
2919 { ac_configure_args1=; unset ac_configure_args1;}
2921 # When interrupted or exit'd, cleanup temporary files, and complete
2922 # config.log. We remove comments because anyway the quotes in there
2923 # would cause problems or look ugly.
2924 # WARNING: Use '\'' to represent an apostrophe within the trap.
2925 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2926 trap 'exit_status=$?
2927 # Save into config.log some information that might help in debugging.
2929 echo
2931 $as_echo "## ---------------- ##
2932 ## Cache variables. ##
2933 ## ---------------- ##"
2934 echo
2935 # The following way of writing the cache mishandles newlines in values,
2937 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2938 eval ac_val=\$$ac_var
2939 case $ac_val in #(
2940 *${as_nl}*)
2941 case $ac_var in #(
2942 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2943 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2944 esac
2945 case $ac_var in #(
2946 _ | IFS | as_nl) ;; #(
2947 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2948 *) { eval $ac_var=; unset $ac_var;} ;;
2949 esac ;;
2950 esac
2951 done
2952 (set) 2>&1 |
2953 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2954 *${as_nl}ac_space=\ *)
2955 sed -n \
2956 "s/'\''/'\''\\\\'\'''\''/g;
2957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2958 ;; #(
2960 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2962 esac |
2963 sort
2965 echo
2967 $as_echo "## ----------------- ##
2968 ## Output variables. ##
2969 ## ----------------- ##"
2970 echo
2971 for ac_var in $ac_subst_vars
2973 eval ac_val=\$$ac_var
2974 case $ac_val in
2975 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2976 esac
2977 $as_echo "$ac_var='\''$ac_val'\''"
2978 done | sort
2979 echo
2981 if test -n "$ac_subst_files"; then
2982 $as_echo "## ------------------- ##
2983 ## File substitutions. ##
2984 ## ------------------- ##"
2985 echo
2986 for ac_var in $ac_subst_files
2988 eval ac_val=\$$ac_var
2989 case $ac_val in
2990 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2991 esac
2992 $as_echo "$ac_var='\''$ac_val'\''"
2993 done | sort
2994 echo
2997 if test -s confdefs.h; then
2998 $as_echo "## ----------- ##
2999 ## confdefs.h. ##
3000 ## ----------- ##"
3001 echo
3002 cat confdefs.h
3003 echo
3005 test "$ac_signal" != 0 &&
3006 $as_echo "$as_me: caught signal $ac_signal"
3007 $as_echo "$as_me: exit $exit_status"
3008 } >&5
3009 rm -f core *.core core.conftest.* &&
3010 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3011 exit $exit_status
3013 for ac_signal in 1 2 13 15; do
3014 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3015 done
3016 ac_signal=0
3018 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3019 rm -f -r conftest* confdefs.h
3021 $as_echo "/* confdefs.h */" > confdefs.h
3023 # Predefined preprocessor variables.
3025 cat >>confdefs.h <<_ACEOF
3026 #define PACKAGE_NAME "$PACKAGE_NAME"
3027 _ACEOF
3029 cat >>confdefs.h <<_ACEOF
3030 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3031 _ACEOF
3033 cat >>confdefs.h <<_ACEOF
3034 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3035 _ACEOF
3037 cat >>confdefs.h <<_ACEOF
3038 #define PACKAGE_STRING "$PACKAGE_STRING"
3039 _ACEOF
3041 cat >>confdefs.h <<_ACEOF
3042 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3043 _ACEOF
3045 cat >>confdefs.h <<_ACEOF
3046 #define PACKAGE_URL "$PACKAGE_URL"
3047 _ACEOF
3050 # Let the site file select an alternate cache file if it wants to.
3051 # Prefer an explicitly selected file to automatically selected ones.
3052 ac_site_file1=NONE
3053 ac_site_file2=NONE
3054 if test -n "$CONFIG_SITE"; then
3055 # We do not want a PATH search for config.site.
3056 case $CONFIG_SITE in #((
3057 -*) ac_site_file1=./$CONFIG_SITE;;
3058 */*) ac_site_file1=$CONFIG_SITE;;
3059 *) ac_site_file1=./$CONFIG_SITE;;
3060 esac
3061 elif test "x$prefix" != xNONE; then
3062 ac_site_file1=$prefix/share/config.site
3063 ac_site_file2=$prefix/etc/config.site
3064 else
3065 ac_site_file1=$ac_default_prefix/share/config.site
3066 ac_site_file2=$ac_default_prefix/etc/config.site
3068 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3070 test "x$ac_site_file" = xNONE && continue
3071 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3073 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3074 sed 's/^/| /' "$ac_site_file" >&5
3075 . "$ac_site_file" \
3076 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3078 as_fn_error $? "failed to load site script $ac_site_file
3079 See \`config.log' for more details" "$LINENO" 5; }
3081 done
3083 if test -r "$cache_file"; then
3084 # Some versions of bash will fail to source /dev/null (special files
3085 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3086 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3088 $as_echo "$as_me: loading cache $cache_file" >&6;}
3089 case $cache_file in
3090 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3091 *) . "./$cache_file";;
3092 esac
3094 else
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3096 $as_echo "$as_me: creating cache $cache_file" >&6;}
3097 >$cache_file
3100 # Check that the precious variables saved in the cache have kept the same
3101 # value.
3102 ac_cache_corrupted=false
3103 for ac_var in $ac_precious_vars; do
3104 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3105 eval ac_new_set=\$ac_env_${ac_var}_set
3106 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3107 eval ac_new_val=\$ac_env_${ac_var}_value
3108 case $ac_old_set,$ac_new_set in
3109 set,)
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3111 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3112 ac_cache_corrupted=: ;;
3113 ,set)
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3115 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3116 ac_cache_corrupted=: ;;
3117 ,);;
3119 if test "x$ac_old_val" != "x$ac_new_val"; then
3120 # differences in whitespace do not lead to failure.
3121 ac_old_val_w=`echo x $ac_old_val`
3122 ac_new_val_w=`echo x $ac_new_val`
3123 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3125 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3126 ac_cache_corrupted=:
3127 else
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3129 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3130 eval $ac_var=\$ac_old_val
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3133 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3135 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3136 fi;;
3137 esac
3138 # Pass precious variables to config.status.
3139 if test "$ac_new_set" = set; then
3140 case $ac_new_val in
3141 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3142 *) ac_arg=$ac_var=$ac_new_val ;;
3143 esac
3144 case " $ac_configure_args " in
3145 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3146 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3147 esac
3149 done
3150 if $ac_cache_corrupted; then
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3154 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3155 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3157 ## -------------------- ##
3158 ## Main body of script. ##
3159 ## -------------------- ##
3161 ac_ext=c
3162 ac_cpp='$CPP $CPPFLAGS'
3163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3169 ac_config_headers="$ac_config_headers include/config.h"
3171 ac_aux_dir=
3172 for ac_dir in tools "$srcdir"/tools; do
3173 if test -f "$ac_dir/install-sh"; then
3174 ac_aux_dir=$ac_dir
3175 ac_install_sh="$ac_aux_dir/install-sh -c"
3176 break
3177 elif test -f "$ac_dir/install.sh"; then
3178 ac_aux_dir=$ac_dir
3179 ac_install_sh="$ac_aux_dir/install.sh -c"
3180 break
3181 elif test -f "$ac_dir/shtool"; then
3182 ac_aux_dir=$ac_dir
3183 ac_install_sh="$ac_aux_dir/shtool install -c"
3184 break
3186 done
3187 if test -z "$ac_aux_dir"; then
3188 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3191 # These three variables are undocumented and unsupported,
3192 # and are intended to be withdrawn in a future Autoconf release.
3193 # They can cause serious problems if a builder's source tree is in a directory
3194 # whose full name contains unusual characters.
3195 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3196 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3197 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3201 libwine_version="1.0"
3205 # Check whether --enable-win16 was given.
3206 if test "${enable_win16+set}" = set; then :
3207 enableval=$enable_win16;
3210 # Check whether --enable-win64 was given.
3211 if test "${enable_win64+set}" = set; then :
3212 enableval=$enable_win64;
3215 # Check whether --enable-tests was given.
3216 if test "${enable_tests+set}" = set; then :
3217 enableval=$enable_tests;
3220 # Check whether --enable-maintainer-mode was given.
3221 if test "${enable_maintainer_mode+set}" = set; then :
3222 enableval=$enable_maintainer_mode;
3227 # Check whether --with-alsa was given.
3228 if test "${with_alsa+set}" = set; then :
3229 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3233 # Check whether --with-capi was given.
3234 if test "${with_capi+set}" = set; then :
3235 withval=$with_capi;
3239 # Check whether --with-cms was given.
3240 if test "${with_cms+set}" = set; then :
3241 withval=$with_cms;
3245 # Check whether --with-coreaudio was given.
3246 if test "${with_coreaudio+set}" = set; then :
3247 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3251 # Check whether --with-cups was given.
3252 if test "${with_cups+set}" = set; then :
3253 withval=$with_cups;
3257 # Check whether --with-curses was given.
3258 if test "${with_curses+set}" = set; then :
3259 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3263 # Check whether --with-dbus was given.
3264 if test "${with_dbus+set}" = set; then :
3265 withval=$with_dbus;
3269 # Check whether --with-fontconfig was given.
3270 if test "${with_fontconfig+set}" = set; then :
3271 withval=$with_fontconfig;
3275 # Check whether --with-freetype was given.
3276 if test "${with_freetype+set}" = set; then :
3277 withval=$with_freetype;
3281 # Check whether --with-gettext was given.
3282 if test "${with_gettext+set}" = set; then :
3283 withval=$with_gettext;
3287 # Check whether --with-gettextpo was given.
3288 if test "${with_gettextpo+set}" = set; then :
3289 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3293 # Check whether --with-gphoto was given.
3294 if test "${with_gphoto+set}" = set; then :
3295 withval=$with_gphoto;
3299 # Check whether --with-glu was given.
3300 if test "${with_glu+set}" = set; then :
3301 withval=$with_glu;
3305 # Check whether --with-gnutls was given.
3306 if test "${with_gnutls+set}" = set; then :
3307 withval=$with_gnutls;
3311 # Check whether --with-gsm was given.
3312 if test "${with_gsm+set}" = set; then :
3313 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3317 # Check whether --with-gstreamer was given.
3318 if test "${with_gstreamer+set}" = set; then :
3319 withval=$with_gstreamer;
3323 # Check whether --with-hal was given.
3324 if test "${with_hal+set}" = set; then :
3325 withval=$with_hal;
3329 # Check whether --with-jpeg was given.
3330 if test "${with_jpeg+set}" = set; then :
3331 withval=$with_jpeg;
3335 # Check whether --with-ldap was given.
3336 if test "${with_ldap+set}" = set; then :
3337 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3341 # Check whether --with-mpg123 was given.
3342 if test "${with_mpg123+set}" = set; then :
3343 withval=$with_mpg123;
3347 # Check whether --with-netapi was given.
3348 if test "${with_netapi+set}" = set; then :
3349 withval=$with_netapi;
3353 # Check whether --with-openal was given.
3354 if test "${with_openal+set}" = set; then :
3355 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3359 # Check whether --with-opencl was given.
3360 if test "${with_opencl+set}" = set; then :
3361 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3365 # Check whether --with-opengl was given.
3366 if test "${with_opengl+set}" = set; then :
3367 withval=$with_opengl;
3371 # Check whether --with-osmesa was given.
3372 if test "${with_osmesa+set}" = set; then :
3373 withval=$with_osmesa;
3377 # Check whether --with-oss was given.
3378 if test "${with_oss+set}" = set; then :
3379 withval=$with_oss;
3383 # Check whether --with-pcap was given.
3384 if test "${with_pcap+set}" = set; then :
3385 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3389 # Check whether --with-png was given.
3390 if test "${with_png+set}" = set; then :
3391 withval=$with_png;
3395 # Check whether --with-pthread was given.
3396 if test "${with_pthread+set}" = set; then :
3397 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3401 # Check whether --with-sane was given.
3402 if test "${with_sane+set}" = set; then :
3403 withval=$with_sane;
3407 # Check whether --with-tiff was given.
3408 if test "${with_tiff+set}" = set; then :
3409 withval=$with_tiff;
3413 # Check whether --with-v4l was given.
3414 if test "${with_v4l+set}" = set; then :
3415 withval=$with_v4l;
3419 # Check whether --with-xcomposite was given.
3420 if test "${with_xcomposite+set}" = set; then :
3421 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3425 # Check whether --with-xcursor was given.
3426 if test "${with_xcursor+set}" = set; then :
3427 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3431 # Check whether --with-xinerama was given.
3432 if test "${with_xinerama+set}" = set; then :
3433 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3437 # Check whether --with-xinput was given.
3438 if test "${with_xinput+set}" = set; then :
3439 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3443 # Check whether --with-xinput2 was given.
3444 if test "${with_xinput2+set}" = set; then :
3445 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3449 # Check whether --with-xml was given.
3450 if test "${with_xml+set}" = set; then :
3451 withval=$with_xml;
3455 # Check whether --with-xrandr was given.
3456 if test "${with_xrandr+set}" = set; then :
3457 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3461 # Check whether --with-xrender was given.
3462 if test "${with_xrender+set}" = set; then :
3463 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3467 # Check whether --with-xshape was given.
3468 if test "${with_xshape+set}" = set; then :
3469 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3473 # Check whether --with-xshm was given.
3474 if test "${with_xshm+set}" = set; then :
3475 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3479 # Check whether --with-xslt was given.
3480 if test "${with_xslt+set}" = set; then :
3481 withval=$with_xslt;
3485 # Check whether --with-xxf86vm was given.
3486 if test "${with_xxf86vm+set}" = set; then :
3487 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
3491 # Check whether --with-zlib was given.
3492 if test "${with_zlib+set}" = set; then :
3493 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3498 # Check whether --with-wine-tools was given.
3499 if test "${with_wine_tools+set}" = set; then :
3500 withval=$with_wine_tools;
3504 # Check whether --with-wine64 was given.
3505 if test "${with_wine64+set}" = set; then :
3506 withval=$with_wine64;
3510 # Make sure we can run config.sub.
3511 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3512 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3515 $as_echo_n "checking build system type... " >&6; }
3516 if ${ac_cv_build+:} false; then :
3517 $as_echo_n "(cached) " >&6
3518 else
3519 ac_build_alias=$build_alias
3520 test "x$ac_build_alias" = x &&
3521 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3522 test "x$ac_build_alias" = x &&
3523 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3524 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3525 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3529 $as_echo "$ac_cv_build" >&6; }
3530 case $ac_cv_build in
3531 *-*-*) ;;
3532 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3533 esac
3534 build=$ac_cv_build
3535 ac_save_IFS=$IFS; IFS='-'
3536 set x $ac_cv_build
3537 shift
3538 build_cpu=$1
3539 build_vendor=$2
3540 shift; shift
3541 # Remember, the first character of IFS is used to create $*,
3542 # except with old shells:
3543 build_os=$*
3544 IFS=$ac_save_IFS
3545 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3549 $as_echo_n "checking host system type... " >&6; }
3550 if ${ac_cv_host+:} false; then :
3551 $as_echo_n "(cached) " >&6
3552 else
3553 if test "x$host_alias" = x; then
3554 ac_cv_host=$ac_cv_build
3555 else
3556 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3557 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3562 $as_echo "$ac_cv_host" >&6; }
3563 case $ac_cv_host in
3564 *-*-*) ;;
3565 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3566 esac
3567 host=$ac_cv_host
3568 ac_save_IFS=$IFS; IFS='-'
3569 set x $ac_cv_host
3570 shift
3571 host_cpu=$1
3572 host_vendor=$2
3573 shift; shift
3574 # Remember, the first character of IFS is used to create $*,
3575 # except with old shells:
3576 host_os=$*
3577 IFS=$ac_save_IFS
3578 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3582 case "$srcdir" in
3583 .) ;;
3584 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3585 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3586 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3587 fi ;;
3588 esac
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3592 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3593 set x ${MAKE-make}
3594 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3595 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3596 $as_echo_n "(cached) " >&6
3597 else
3598 cat >conftest.make <<\_ACEOF
3599 SHELL = /bin/sh
3600 all:
3601 @echo '@@@%%%=$(MAKE)=@@@%%%'
3602 _ACEOF
3603 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3604 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3605 *@@@%%%=?*=@@@%%%*)
3606 eval ac_cv_prog_make_${ac_make}_set=yes;;
3608 eval ac_cv_prog_make_${ac_make}_set=no;;
3609 esac
3610 rm -f conftest.make
3612 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3614 $as_echo "yes" >&6; }
3615 SET_MAKE=
3616 else
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618 $as_echo "no" >&6; }
3619 SET_MAKE="MAKE=${MAKE-make}"
3622 ac_ext=c
3623 ac_cpp='$CPP $CPPFLAGS'
3624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3627 if test -n "$ac_tool_prefix"; then
3628 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3629 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3631 $as_echo_n "checking for $ac_word... " >&6; }
3632 if ${ac_cv_prog_CC+:} false; then :
3633 $as_echo_n "(cached) " >&6
3634 else
3635 if test -n "$CC"; then
3636 ac_cv_prog_CC="$CC" # Let the user override the test.
3637 else
3638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3639 for as_dir in $PATH
3641 IFS=$as_save_IFS
3642 test -z "$as_dir" && as_dir=.
3643 for ac_exec_ext in '' $ac_executable_extensions; do
3644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3645 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 break 2
3649 done
3650 done
3651 IFS=$as_save_IFS
3655 CC=$ac_cv_prog_CC
3656 if test -n "$CC"; then
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3658 $as_echo "$CC" >&6; }
3659 else
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3661 $as_echo "no" >&6; }
3666 if test -z "$ac_cv_prog_CC"; then
3667 ac_ct_CC=$CC
3668 # Extract the first word of "gcc", so it can be a program name with args.
3669 set dummy gcc; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3673 $as_echo_n "(cached) " >&6
3674 else
3675 if test -n "$ac_ct_CC"; then
3676 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3677 else
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679 for as_dir in $PATH
3681 IFS=$as_save_IFS
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3685 ac_cv_prog_ac_ct_CC="gcc"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 break 2
3689 done
3690 done
3691 IFS=$as_save_IFS
3695 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3696 if test -n "$ac_ct_CC"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3698 $as_echo "$ac_ct_CC" >&6; }
3699 else
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3704 if test "x$ac_ct_CC" = x; then
3705 CC=""
3706 else
3707 case $cross_compiling:$ac_tool_warned in
3708 yes:)
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3711 ac_tool_warned=yes ;;
3712 esac
3713 CC=$ac_ct_CC
3715 else
3716 CC="$ac_cv_prog_CC"
3719 if test -z "$CC"; then
3720 if test -n "$ac_tool_prefix"; then
3721 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3722 set dummy ${ac_tool_prefix}cc; ac_word=$2
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3724 $as_echo_n "checking for $ac_word... " >&6; }
3725 if ${ac_cv_prog_CC+:} false; then :
3726 $as_echo_n "(cached) " >&6
3727 else
3728 if test -n "$CC"; then
3729 ac_cv_prog_CC="$CC" # Let the user override the test.
3730 else
3731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3732 for as_dir in $PATH
3734 IFS=$as_save_IFS
3735 test -z "$as_dir" && as_dir=.
3736 for ac_exec_ext in '' $ac_executable_extensions; do
3737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3738 ac_cv_prog_CC="${ac_tool_prefix}cc"
3739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3740 break 2
3742 done
3743 done
3744 IFS=$as_save_IFS
3748 CC=$ac_cv_prog_CC
3749 if test -n "$CC"; then
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3751 $as_echo "$CC" >&6; }
3752 else
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3754 $as_echo "no" >&6; }
3760 if test -z "$CC"; then
3761 # Extract the first word of "cc", so it can be a program name with args.
3762 set dummy cc; ac_word=$2
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3764 $as_echo_n "checking for $ac_word... " >&6; }
3765 if ${ac_cv_prog_CC+:} false; then :
3766 $as_echo_n "(cached) " >&6
3767 else
3768 if test -n "$CC"; then
3769 ac_cv_prog_CC="$CC" # Let the user override the test.
3770 else
3771 ac_prog_rejected=no
3772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3773 for as_dir in $PATH
3775 IFS=$as_save_IFS
3776 test -z "$as_dir" && as_dir=.
3777 for ac_exec_ext in '' $ac_executable_extensions; do
3778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3779 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3780 ac_prog_rejected=yes
3781 continue
3783 ac_cv_prog_CC="cc"
3784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3785 break 2
3787 done
3788 done
3789 IFS=$as_save_IFS
3791 if test $ac_prog_rejected = yes; then
3792 # We found a bogon in the path, so make sure we never use it.
3793 set dummy $ac_cv_prog_CC
3794 shift
3795 if test $# != 0; then
3796 # We chose a different compiler from the bogus one.
3797 # However, it has the same basename, so the bogon will be chosen
3798 # first if we set CC to just the basename; use the full file name.
3799 shift
3800 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3805 CC=$ac_cv_prog_CC
3806 if test -n "$CC"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3808 $as_echo "$CC" >&6; }
3809 else
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3816 if test -z "$CC"; then
3817 if test -n "$ac_tool_prefix"; then
3818 for ac_prog in cl.exe
3820 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3821 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3823 $as_echo_n "checking for $ac_word... " >&6; }
3824 if ${ac_cv_prog_CC+:} false; then :
3825 $as_echo_n "(cached) " >&6
3826 else
3827 if test -n "$CC"; then
3828 ac_cv_prog_CC="$CC" # Let the user override the test.
3829 else
3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3831 for as_dir in $PATH
3833 IFS=$as_save_IFS
3834 test -z "$as_dir" && as_dir=.
3835 for ac_exec_ext in '' $ac_executable_extensions; do
3836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3837 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3839 break 2
3841 done
3842 done
3843 IFS=$as_save_IFS
3847 CC=$ac_cv_prog_CC
3848 if test -n "$CC"; then
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3850 $as_echo "$CC" >&6; }
3851 else
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3853 $as_echo "no" >&6; }
3857 test -n "$CC" && break
3858 done
3860 if test -z "$CC"; then
3861 ac_ct_CC=$CC
3862 for ac_prog in cl.exe
3864 # Extract the first word of "$ac_prog", so it can be a program name with args.
3865 set dummy $ac_prog; ac_word=$2
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3867 $as_echo_n "checking for $ac_word... " >&6; }
3868 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3869 $as_echo_n "(cached) " >&6
3870 else
3871 if test -n "$ac_ct_CC"; then
3872 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3873 else
3874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3875 for as_dir in $PATH
3877 IFS=$as_save_IFS
3878 test -z "$as_dir" && as_dir=.
3879 for ac_exec_ext in '' $ac_executable_extensions; do
3880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3881 ac_cv_prog_ac_ct_CC="$ac_prog"
3882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3883 break 2
3885 done
3886 done
3887 IFS=$as_save_IFS
3891 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3892 if test -n "$ac_ct_CC"; then
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3894 $as_echo "$ac_ct_CC" >&6; }
3895 else
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3897 $as_echo "no" >&6; }
3901 test -n "$ac_ct_CC" && break
3902 done
3904 if test "x$ac_ct_CC" = x; then
3905 CC=""
3906 else
3907 case $cross_compiling:$ac_tool_warned in
3908 yes:)
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3911 ac_tool_warned=yes ;;
3912 esac
3913 CC=$ac_ct_CC
3920 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3922 as_fn_error $? "no acceptable C compiler found in \$PATH
3923 See \`config.log' for more details" "$LINENO" 5; }
3925 # Provide some information about the compiler.
3926 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3927 set X $ac_compile
3928 ac_compiler=$2
3929 for ac_option in --version -v -V -qversion; do
3930 { { ac_try="$ac_compiler $ac_option >&5"
3931 case "(($ac_try" in
3932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3933 *) ac_try_echo=$ac_try;;
3934 esac
3935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3936 $as_echo "$ac_try_echo"; } >&5
3937 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3938 ac_status=$?
3939 if test -s conftest.err; then
3940 sed '10a\
3941 ... rest of stderr output deleted ...
3942 10q' conftest.err >conftest.er1
3943 cat conftest.er1 >&5
3945 rm -f conftest.er1 conftest.err
3946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3947 test $ac_status = 0; }
3948 done
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3954 main ()
3958 return 0;
3960 _ACEOF
3961 ac_clean_files_save=$ac_clean_files
3962 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3963 # Try to create an executable without -o first, disregard a.out.
3964 # It will help us diagnose broken compilers, and finding out an intuition
3965 # of exeext.
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3967 $as_echo_n "checking whether the C compiler works... " >&6; }
3968 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3970 # The possible output files:
3971 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3973 ac_rmfiles=
3974 for ac_file in $ac_files
3976 case $ac_file in
3977 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3978 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3979 esac
3980 done
3981 rm -f $ac_rmfiles
3983 if { { ac_try="$ac_link_default"
3984 case "(($ac_try" in
3985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3986 *) ac_try_echo=$ac_try;;
3987 esac
3988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3989 $as_echo "$ac_try_echo"; } >&5
3990 (eval "$ac_link_default") 2>&5
3991 ac_status=$?
3992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3993 test $ac_status = 0; }; then :
3994 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3995 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3996 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3997 # so that the user can short-circuit this test for compilers unknown to
3998 # Autoconf.
3999 for ac_file in $ac_files ''
4001 test -f "$ac_file" || continue
4002 case $ac_file in
4003 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4005 [ab].out )
4006 # We found the default executable, but exeext='' is most
4007 # certainly right.
4008 break;;
4009 *.* )
4010 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4011 then :; else
4012 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4014 # We set ac_cv_exeext here because the later test for it is not
4015 # safe: cross compilers may not add the suffix if given an `-o'
4016 # argument, so we may need to know it at that point already.
4017 # Even if this section looks crufty: it has the advantage of
4018 # actually working.
4019 break;;
4021 break;;
4022 esac
4023 done
4024 test "$ac_cv_exeext" = no && ac_cv_exeext=
4026 else
4027 ac_file=''
4029 if test -z "$ac_file"; then :
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4031 $as_echo "no" >&6; }
4032 $as_echo "$as_me: failed program was:" >&5
4033 sed 's/^/| /' conftest.$ac_ext >&5
4035 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4037 as_fn_error 77 "C compiler cannot create executables
4038 See \`config.log' for more details" "$LINENO" 5; }
4039 else
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4041 $as_echo "yes" >&6; }
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4044 $as_echo_n "checking for C compiler default output file name... " >&6; }
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4046 $as_echo "$ac_file" >&6; }
4047 ac_exeext=$ac_cv_exeext
4049 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4050 ac_clean_files=$ac_clean_files_save
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4052 $as_echo_n "checking for suffix of executables... " >&6; }
4053 if { { ac_try="$ac_link"
4054 case "(($ac_try" in
4055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4056 *) ac_try_echo=$ac_try;;
4057 esac
4058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4059 $as_echo "$ac_try_echo"; } >&5
4060 (eval "$ac_link") 2>&5
4061 ac_status=$?
4062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4063 test $ac_status = 0; }; then :
4064 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4065 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4066 # work properly (i.e., refer to `conftest.exe'), while it won't with
4067 # `rm'.
4068 for ac_file in conftest.exe conftest conftest.*; do
4069 test -f "$ac_file" || continue
4070 case $ac_file in
4071 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4072 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4073 break;;
4074 * ) break;;
4075 esac
4076 done
4077 else
4078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4081 See \`config.log' for more details" "$LINENO" 5; }
4083 rm -f conftest conftest$ac_cv_exeext
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4085 $as_echo "$ac_cv_exeext" >&6; }
4087 rm -f conftest.$ac_ext
4088 EXEEXT=$ac_cv_exeext
4089 ac_exeext=$EXEEXT
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4092 #include <stdio.h>
4094 main ()
4096 FILE *f = fopen ("conftest.out", "w");
4097 return ferror (f) || fclose (f) != 0;
4100 return 0;
4102 _ACEOF
4103 ac_clean_files="$ac_clean_files conftest.out"
4104 # Check that the compiler produces executables we can run. If not, either
4105 # the compiler is broken, or we cross compile.
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4107 $as_echo_n "checking whether we are cross compiling... " >&6; }
4108 if test "$cross_compiling" != yes; then
4109 { { ac_try="$ac_link"
4110 case "(($ac_try" in
4111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4112 *) ac_try_echo=$ac_try;;
4113 esac
4114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4115 $as_echo "$ac_try_echo"; } >&5
4116 (eval "$ac_link") 2>&5
4117 ac_status=$?
4118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4119 test $ac_status = 0; }
4120 if { ac_try='./conftest$ac_cv_exeext'
4121 { { case "(($ac_try" in
4122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4123 *) ac_try_echo=$ac_try;;
4124 esac
4125 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4126 $as_echo "$ac_try_echo"; } >&5
4127 (eval "$ac_try") 2>&5
4128 ac_status=$?
4129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4130 test $ac_status = 0; }; }; then
4131 cross_compiling=no
4132 else
4133 if test "$cross_compiling" = maybe; then
4134 cross_compiling=yes
4135 else
4136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4138 as_fn_error $? "cannot run C compiled programs.
4139 If you meant to cross compile, use \`--host'.
4140 See \`config.log' for more details" "$LINENO" 5; }
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4145 $as_echo "$cross_compiling" >&6; }
4147 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4148 ac_clean_files=$ac_clean_files_save
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4150 $as_echo_n "checking for suffix of object files... " >&6; }
4151 if ${ac_cv_objext+:} false; then :
4152 $as_echo_n "(cached) " >&6
4153 else
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4158 main ()
4162 return 0;
4164 _ACEOF
4165 rm -f conftest.o conftest.obj
4166 if { { ac_try="$ac_compile"
4167 case "(($ac_try" in
4168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4169 *) ac_try_echo=$ac_try;;
4170 esac
4171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4172 $as_echo "$ac_try_echo"; } >&5
4173 (eval "$ac_compile") 2>&5
4174 ac_status=$?
4175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4176 test $ac_status = 0; }; then :
4177 for ac_file in conftest.o conftest.obj conftest.*; do
4178 test -f "$ac_file" || continue;
4179 case $ac_file in
4180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4181 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4182 break;;
4183 esac
4184 done
4185 else
4186 $as_echo "$as_me: failed program was:" >&5
4187 sed 's/^/| /' conftest.$ac_ext >&5
4189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4191 as_fn_error $? "cannot compute suffix of object files: cannot compile
4192 See \`config.log' for more details" "$LINENO" 5; }
4194 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4197 $as_echo "$ac_cv_objext" >&6; }
4198 OBJEXT=$ac_cv_objext
4199 ac_objext=$OBJEXT
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4201 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4202 if ${ac_cv_c_compiler_gnu+:} false; then :
4203 $as_echo_n "(cached) " >&6
4204 else
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4209 main ()
4211 #ifndef __GNUC__
4212 choke me
4213 #endif
4216 return 0;
4218 _ACEOF
4219 if ac_fn_c_try_compile "$LINENO"; then :
4220 ac_compiler_gnu=yes
4221 else
4222 ac_compiler_gnu=no
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4229 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4230 if test $ac_compiler_gnu = yes; then
4231 GCC=yes
4232 else
4233 GCC=
4235 ac_test_CFLAGS=${CFLAGS+set}
4236 ac_save_CFLAGS=$CFLAGS
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4238 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4239 if ${ac_cv_prog_cc_g+:} false; then :
4240 $as_echo_n "(cached) " >&6
4241 else
4242 ac_save_c_werror_flag=$ac_c_werror_flag
4243 ac_c_werror_flag=yes
4244 ac_cv_prog_cc_g=no
4245 CFLAGS="-g"
4246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h. */
4250 main ()
4254 return 0;
4256 _ACEOF
4257 if ac_fn_c_try_compile "$LINENO"; then :
4258 ac_cv_prog_cc_g=yes
4259 else
4260 CFLAGS=""
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4265 main ()
4269 return 0;
4271 _ACEOF
4272 if ac_fn_c_try_compile "$LINENO"; then :
4274 else
4275 ac_c_werror_flag=$ac_save_c_werror_flag
4276 CFLAGS="-g"
4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4281 main ()
4285 return 0;
4287 _ACEOF
4288 if ac_fn_c_try_compile "$LINENO"; then :
4289 ac_cv_prog_cc_g=yes
4291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4296 ac_c_werror_flag=$ac_save_c_werror_flag
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4299 $as_echo "$ac_cv_prog_cc_g" >&6; }
4300 if test "$ac_test_CFLAGS" = set; then
4301 CFLAGS=$ac_save_CFLAGS
4302 elif test $ac_cv_prog_cc_g = yes; then
4303 if test "$GCC" = yes; then
4304 CFLAGS="-g -O2"
4305 else
4306 CFLAGS="-g"
4308 else
4309 if test "$GCC" = yes; then
4310 CFLAGS="-O2"
4311 else
4312 CFLAGS=
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4316 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4317 if ${ac_cv_prog_cc_c89+:} false; then :
4318 $as_echo_n "(cached) " >&6
4319 else
4320 ac_cv_prog_cc_c89=no
4321 ac_save_CC=$CC
4322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4323 /* end confdefs.h. */
4324 #include <stdarg.h>
4325 #include <stdio.h>
4326 struct stat;
4327 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4328 struct buf { int x; };
4329 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4330 static char *e (p, i)
4331 char **p;
4332 int i;
4334 return p[i];
4336 static char *f (char * (*g) (char **, int), char **p, ...)
4338 char *s;
4339 va_list v;
4340 va_start (v,p);
4341 s = g (p, va_arg (v,int));
4342 va_end (v);
4343 return s;
4346 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4347 function prototypes and stuff, but not '\xHH' hex character constants.
4348 These don't provoke an error unfortunately, instead are silently treated
4349 as 'x'. The following induces an error, until -std is added to get
4350 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4351 array size at least. It's necessary to write '\x00'==0 to get something
4352 that's true only with -std. */
4353 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4355 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4356 inside strings and character constants. */
4357 #define FOO(x) 'x'
4358 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4360 int test (int i, double x);
4361 struct s1 {int (*f) (int a);};
4362 struct s2 {int (*f) (double a);};
4363 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4364 int argc;
4365 char **argv;
4367 main ()
4369 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4371 return 0;
4373 _ACEOF
4374 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4375 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4377 CC="$ac_save_CC $ac_arg"
4378 if ac_fn_c_try_compile "$LINENO"; then :
4379 ac_cv_prog_cc_c89=$ac_arg
4381 rm -f core conftest.err conftest.$ac_objext
4382 test "x$ac_cv_prog_cc_c89" != "xno" && break
4383 done
4384 rm -f conftest.$ac_ext
4385 CC=$ac_save_CC
4388 # AC_CACHE_VAL
4389 case "x$ac_cv_prog_cc_c89" in
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4392 $as_echo "none needed" >&6; } ;;
4393 xno)
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4395 $as_echo "unsupported" >&6; } ;;
4397 CC="$CC $ac_cv_prog_cc_c89"
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4399 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4400 esac
4401 if test "x$ac_cv_prog_cc_c89" != xno; then :
4405 ac_ext=c
4406 ac_cpp='$CPP $CPPFLAGS'
4407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4411 ac_ext=cpp
4412 ac_cpp='$CXXCPP $CPPFLAGS'
4413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4416 if test -z "$CXX"; then
4417 if test -n "$CCC"; then
4418 CXX=$CCC
4419 else
4420 if test -n "$ac_tool_prefix"; then
4421 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4423 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4424 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if ${ac_cv_prog_CXX+:} false; then :
4428 $as_echo_n "(cached) " >&6
4429 else
4430 if test -n "$CXX"; then
4431 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4432 else
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4434 for as_dir in $PATH
4436 IFS=$as_save_IFS
4437 test -z "$as_dir" && as_dir=.
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4440 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 break 2
4444 done
4445 done
4446 IFS=$as_save_IFS
4450 CXX=$ac_cv_prog_CXX
4451 if test -n "$CXX"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4453 $as_echo "$CXX" >&6; }
4454 else
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4460 test -n "$CXX" && break
4461 done
4463 if test -z "$CXX"; then
4464 ac_ct_CXX=$CXX
4465 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4467 # Extract the first word of "$ac_prog", so it can be a program name with args.
4468 set dummy $ac_prog; ac_word=$2
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4470 $as_echo_n "checking for $ac_word... " >&6; }
4471 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 if test -n "$ac_ct_CXX"; then
4475 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4476 else
4477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478 for as_dir in $PATH
4480 IFS=$as_save_IFS
4481 test -z "$as_dir" && as_dir=.
4482 for ac_exec_ext in '' $ac_executable_extensions; do
4483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4484 ac_cv_prog_ac_ct_CXX="$ac_prog"
4485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4486 break 2
4488 done
4489 done
4490 IFS=$as_save_IFS
4494 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4495 if test -n "$ac_ct_CXX"; then
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4497 $as_echo "$ac_ct_CXX" >&6; }
4498 else
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4500 $as_echo "no" >&6; }
4504 test -n "$ac_ct_CXX" && break
4505 done
4507 if test "x$ac_ct_CXX" = x; then
4508 CXX="g++"
4509 else
4510 case $cross_compiling:$ac_tool_warned in
4511 yes:)
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4514 ac_tool_warned=yes ;;
4515 esac
4516 CXX=$ac_ct_CXX
4522 # Provide some information about the compiler.
4523 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4524 set X $ac_compile
4525 ac_compiler=$2
4526 for ac_option in --version -v -V -qversion; do
4527 { { ac_try="$ac_compiler $ac_option >&5"
4528 case "(($ac_try" in
4529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4530 *) ac_try_echo=$ac_try;;
4531 esac
4532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4533 $as_echo "$ac_try_echo"; } >&5
4534 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4535 ac_status=$?
4536 if test -s conftest.err; then
4537 sed '10a\
4538 ... rest of stderr output deleted ...
4539 10q' conftest.err >conftest.er1
4540 cat conftest.er1 >&5
4542 rm -f conftest.er1 conftest.err
4543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4544 test $ac_status = 0; }
4545 done
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4548 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4549 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4550 $as_echo_n "(cached) " >&6
4551 else
4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4556 main ()
4558 #ifndef __GNUC__
4559 choke me
4560 #endif
4563 return 0;
4565 _ACEOF
4566 if ac_fn_cxx_try_compile "$LINENO"; then :
4567 ac_compiler_gnu=yes
4568 else
4569 ac_compiler_gnu=no
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4576 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4577 if test $ac_compiler_gnu = yes; then
4578 GXX=yes
4579 else
4580 GXX=
4582 ac_test_CXXFLAGS=${CXXFLAGS+set}
4583 ac_save_CXXFLAGS=$CXXFLAGS
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4585 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4586 if ${ac_cv_prog_cxx_g+:} false; then :
4587 $as_echo_n "(cached) " >&6
4588 else
4589 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4590 ac_cxx_werror_flag=yes
4591 ac_cv_prog_cxx_g=no
4592 CXXFLAGS="-g"
4593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4597 main ()
4601 return 0;
4603 _ACEOF
4604 if ac_fn_cxx_try_compile "$LINENO"; then :
4605 ac_cv_prog_cxx_g=yes
4606 else
4607 CXXFLAGS=""
4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4612 main ()
4616 return 0;
4618 _ACEOF
4619 if ac_fn_cxx_try_compile "$LINENO"; then :
4621 else
4622 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4623 CXXFLAGS="-g"
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4628 main ()
4632 return 0;
4634 _ACEOF
4635 if ac_fn_cxx_try_compile "$LINENO"; then :
4636 ac_cv_prog_cxx_g=yes
4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4646 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4647 if test "$ac_test_CXXFLAGS" = set; then
4648 CXXFLAGS=$ac_save_CXXFLAGS
4649 elif test $ac_cv_prog_cxx_g = yes; then
4650 if test "$GXX" = yes; then
4651 CXXFLAGS="-g -O2"
4652 else
4653 CXXFLAGS="-g"
4655 else
4656 if test "$GXX" = yes; then
4657 CXXFLAGS="-O2"
4658 else
4659 CXXFLAGS=
4662 ac_ext=c
4663 ac_cpp='$CPP $CPPFLAGS'
4664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4668 if test -n "$ac_tool_prefix"; then
4669 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4670 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4672 $as_echo_n "checking for $ac_word... " >&6; }
4673 if ${ac_cv_prog_CPPBIN+:} false; then :
4674 $as_echo_n "(cached) " >&6
4675 else
4676 if test -n "$CPPBIN"; then
4677 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4678 else
4679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4680 for as_dir in $PATH
4682 IFS=$as_save_IFS
4683 test -z "$as_dir" && as_dir=.
4684 for ac_exec_ext in '' $ac_executable_extensions; do
4685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4686 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4688 break 2
4690 done
4691 done
4692 IFS=$as_save_IFS
4696 CPPBIN=$ac_cv_prog_CPPBIN
4697 if test -n "$CPPBIN"; then
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4699 $as_echo "$CPPBIN" >&6; }
4700 else
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4702 $as_echo "no" >&6; }
4707 if test -z "$ac_cv_prog_CPPBIN"; then
4708 ac_ct_CPPBIN=$CPPBIN
4709 # Extract the first word of "cpp", so it can be a program name with args.
4710 set dummy cpp; ac_word=$2
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 $as_echo_n "checking for $ac_word... " >&6; }
4713 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4714 $as_echo_n "(cached) " >&6
4715 else
4716 if test -n "$ac_ct_CPPBIN"; then
4717 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4718 else
4719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720 for as_dir in $PATH
4722 IFS=$as_save_IFS
4723 test -z "$as_dir" && as_dir=.
4724 for ac_exec_ext in '' $ac_executable_extensions; do
4725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4726 ac_cv_prog_ac_ct_CPPBIN="cpp"
4727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4728 break 2
4730 done
4731 done
4732 IFS=$as_save_IFS
4736 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4737 if test -n "$ac_ct_CPPBIN"; then
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4739 $as_echo "$ac_ct_CPPBIN" >&6; }
4740 else
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 $as_echo "no" >&6; }
4745 if test "x$ac_ct_CPPBIN" = x; then
4746 CPPBIN="cpp"
4747 else
4748 case $cross_compiling:$ac_tool_warned in
4749 yes:)
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4752 ac_tool_warned=yes ;;
4753 esac
4754 CPPBIN=$ac_ct_CPPBIN
4756 else
4757 CPPBIN="$ac_cv_prog_CPPBIN"
4761 cat >>confdefs.h <<_ACEOF
4762 #define EXEEXT "$ac_exeext"
4763 _ACEOF
4765 if test -n "$ac_tool_prefix"; then
4766 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4767 set dummy ${ac_tool_prefix}ld; ac_word=$2
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4769 $as_echo_n "checking for $ac_word... " >&6; }
4770 if ${ac_cv_prog_LD+:} false; then :
4771 $as_echo_n "(cached) " >&6
4772 else
4773 if test -n "$LD"; then
4774 ac_cv_prog_LD="$LD" # Let the user override the test.
4775 else
4776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4777 for as_dir in $PATH
4779 IFS=$as_save_IFS
4780 test -z "$as_dir" && as_dir=.
4781 for ac_exec_ext in '' $ac_executable_extensions; do
4782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4783 ac_cv_prog_LD="${ac_tool_prefix}ld"
4784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4785 break 2
4787 done
4788 done
4789 IFS=$as_save_IFS
4793 LD=$ac_cv_prog_LD
4794 if test -n "$LD"; then
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4796 $as_echo "$LD" >&6; }
4797 else
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4799 $as_echo "no" >&6; }
4804 if test -z "$ac_cv_prog_LD"; then
4805 ac_ct_LD=$LD
4806 # Extract the first word of "ld", so it can be a program name with args.
4807 set dummy ld; ac_word=$2
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809 $as_echo_n "checking for $ac_word... " >&6; }
4810 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 if test -n "$ac_ct_LD"; then
4814 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4815 else
4816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4817 for as_dir in $PATH
4819 IFS=$as_save_IFS
4820 test -z "$as_dir" && as_dir=.
4821 for ac_exec_ext in '' $ac_executable_extensions; do
4822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4823 ac_cv_prog_ac_ct_LD="ld"
4824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4825 break 2
4827 done
4828 done
4829 IFS=$as_save_IFS
4833 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4834 if test -n "$ac_ct_LD"; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4836 $as_echo "$ac_ct_LD" >&6; }
4837 else
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }
4842 if test "x$ac_ct_LD" = x; then
4843 LD=""
4844 else
4845 case $cross_compiling:$ac_tool_warned in
4846 yes:)
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4849 ac_tool_warned=yes ;;
4850 esac
4851 LD=$ac_ct_LD
4853 else
4854 LD="$ac_cv_prog_LD"
4858 case $host in
4859 *-darwin*)
4860 if test "x$enable_win64" = "xyes"
4861 then
4862 CC="$CC -m64"
4863 CXX="$CXX -m64"
4864 host_cpu="x86_64"
4865 notice_platform="64-bit "
4866 TARGETFLAGS="-m64"
4868 else
4869 CC="$CC -m32"
4870 CXX="$CXX -m32"
4871 host_cpu="i386"
4872 notice_platform="32-bit "
4873 TARGETFLAGS="-m32"
4875 enable_win16=${enable_win16:-yes}
4877 with_fontconfig=${with_fontconfig:-no}
4879 x86_64*|amd64*)
4880 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4881 then
4882 CC="$CC -m32"
4883 CXX="$CXX -m32"
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4885 $as_echo_n "checking whether $CC works... " >&6; }
4887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4891 main ()
4895 return 0;
4897 _ACEOF
4898 if ac_fn_c_try_link "$LINENO"; then :
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4900 $as_echo "yes" >&6; }
4901 else
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4904 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4906 rm -f core conftest.err conftest.$ac_objext \
4907 conftest$ac_exeext conftest.$ac_ext
4908 host_cpu="i386"
4909 notice_platform="32-bit "
4910 TARGETFLAGS="-m32"
4912 enable_win16=${enable_win16:-yes}
4913 else
4914 if test "x${GCC}" = "xyes"
4915 then
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4917 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4919 /* end confdefs.h. */
4920 #include <stdarg.h>
4922 main ()
4924 void func(__builtin_ms_va_list *args);
4926 return 0;
4928 _ACEOF
4929 if ac_fn_c_try_compile "$LINENO"; then :
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4931 $as_echo "yes" >&6; }
4932 else
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4935 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4939 host_cpu="x86_64"
4940 TARGETFLAGS="-m64"
4944 arm*)
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4946 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4949 int ac_test(int i) { return i; }
4951 main ()
4953 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4955 return 0;
4957 _ACEOF
4958 if ac_fn_c_try_link "$LINENO"; then :
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4960 $as_echo "yes" >&6; }
4961 else
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963 $as_echo "no" >&6; }
4964 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4966 rm -f core conftest.err conftest.$ac_objext \
4967 conftest$ac_exeext conftest.$ac_ext
4968 CFLAGS="$CFLAGS -marm"
4969 TARGETFLAGS="-marm"
4972 *-mingw32*|*-cygwin*)
4973 enable_win16=${enable_win16:-no}
4974 CFLAGS="$CFLAGS -D_WIN32"
4976 i[3456789]86*)
4977 enable_win16=${enable_win16:-yes}
4979 esac
4981 enable_win16=${enable_win16:-no}
4982 enable_win64=${enable_win64:-no}
4984 enable_winetest=${enable_winetest:-$enable_tests}
4986 if test -n "$with_wine64"
4987 then
4988 if test "x$enable_win64" = "xyes"
4989 then
4990 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4991 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4993 enable_fonts=${enable_fonts:-no}
4994 enable_server=${enable_server:-no}
4995 elif test "x$enable_win64" = "xyes"
4996 then
4997 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5001 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5002 if ${wine_cv_toolsdir+:} false; then :
5003 $as_echo_n "(cached) " >&6
5004 else
5005 wine_cv_toolsdir="$with_wine_tools"
5006 if test -z "$with_wine_tools"; then
5007 if test "$cross_compiling" = "yes"; then
5008 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5009 elif test -n "$with_wine64"; then
5010 wine_cv_toolsdir="$with_wine64"
5013 if test -z "$wine_cv_toolsdir"; then
5014 wine_makedep=tools/makedep
5015 wine_cv_toolsdir="\$(top_builddir)"
5016 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5017 wine_makedep=$wine_cv_toolsdir/tools/makedep
5018 case "$wine_cv_toolsdir" in
5019 /*) ;;
5020 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5021 esac
5022 enable_tools=${enable_tools:-no}
5023 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5024 else
5025 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5029 $as_echo "$wine_cv_toolsdir" >&6; }
5030 TOOLSDIR=$wine_cv_toolsdir
5032 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5033 then
5034 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5038 for ac_prog in flex
5040 # Extract the first word of "$ac_prog", so it can be a program name with args.
5041 set dummy $ac_prog; ac_word=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if ${ac_cv_prog_FLEX+:} false; then :
5045 $as_echo_n "(cached) " >&6
5046 else
5047 if test -n "$FLEX"; then
5048 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5049 else
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 for as_dir in $PATH
5053 IFS=$as_save_IFS
5054 test -z "$as_dir" && as_dir=.
5055 for ac_exec_ext in '' $ac_executable_extensions; do
5056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5057 ac_cv_prog_FLEX="$ac_prog"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 break 2
5061 done
5062 done
5063 IFS=$as_save_IFS
5067 FLEX=$ac_cv_prog_FLEX
5068 if test -n "$FLEX"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5070 $as_echo "$FLEX" >&6; }
5071 else
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5077 test -n "$FLEX" && break
5078 done
5079 test -n "$FLEX" || FLEX="none"
5081 if test "$FLEX" = "none"
5082 then
5083 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5086 $as_echo_n "checking whether flex is recent enough... " >&6; }
5087 cat >conftest.l <<EOF
5088 %top{
5089 #include "prediluvian.h"
5093 if $FLEX -t conftest.l >/dev/null 2>&5
5094 then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5096 $as_echo "yes" >&6; }
5097 else
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5100 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5103 for ac_prog in bison
5105 # Extract the first word of "$ac_prog", so it can be a program name with args.
5106 set dummy $ac_prog; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if ${ac_cv_prog_BISON+:} false; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 if test -n "$BISON"; then
5113 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5114 else
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH
5118 IFS=$as_save_IFS
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5122 ac_cv_prog_BISON="$ac_prog"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 break 2
5126 done
5127 done
5128 IFS=$as_save_IFS
5132 BISON=$ac_cv_prog_BISON
5133 if test -n "$BISON"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5135 $as_echo "$BISON" >&6; }
5136 else
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5142 test -n "$BISON" && break
5143 done
5144 test -n "$BISON" || BISON="none"
5146 if test "$BISON" = "none"
5147 then
5148 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5151 if test -n "$ac_tool_prefix"; then
5152 for ac_prog in ar gar
5154 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5155 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5157 $as_echo_n "checking for $ac_word... " >&6; }
5158 if ${ac_cv_prog_AR+:} false; then :
5159 $as_echo_n "(cached) " >&6
5160 else
5161 if test -n "$AR"; then
5162 ac_cv_prog_AR="$AR" # Let the user override the test.
5163 else
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5165 for as_dir in $PATH
5167 IFS=$as_save_IFS
5168 test -z "$as_dir" && as_dir=.
5169 for ac_exec_ext in '' $ac_executable_extensions; do
5170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5171 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 break 2
5175 done
5176 done
5177 IFS=$as_save_IFS
5181 AR=$ac_cv_prog_AR
5182 if test -n "$AR"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5184 $as_echo "$AR" >&6; }
5185 else
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5191 test -n "$AR" && break
5192 done
5194 if test -z "$AR"; then
5195 ac_ct_AR=$AR
5196 for ac_prog in ar gar
5198 # Extract the first word of "$ac_prog", so it can be a program name with args.
5199 set dummy $ac_prog; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 if test -n "$ac_ct_AR"; then
5206 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5207 else
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $PATH
5211 IFS=$as_save_IFS
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_ac_ct_AR="$ac_prog"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 break 2
5219 done
5220 done
5221 IFS=$as_save_IFS
5225 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5226 if test -n "$ac_ct_AR"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5228 $as_echo "$ac_ct_AR" >&6; }
5229 else
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5235 test -n "$ac_ct_AR" && break
5236 done
5238 if test "x$ac_ct_AR" = x; then
5239 AR="ar"
5240 else
5241 case $cross_compiling:$ac_tool_warned in
5242 yes:)
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5245 ac_tool_warned=yes ;;
5246 esac
5247 AR=$ac_ct_AR
5251 if test -n "$ac_tool_prefix"; then
5252 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5253 set dummy ${ac_tool_prefix}strip; ac_word=$2
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5256 if ${ac_cv_prog_STRIP+:} false; then :
5257 $as_echo_n "(cached) " >&6
5258 else
5259 if test -n "$STRIP"; then
5260 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5261 else
5262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263 for as_dir in $PATH
5265 IFS=$as_save_IFS
5266 test -z "$as_dir" && as_dir=.
5267 for ac_exec_ext in '' $ac_executable_extensions; do
5268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5269 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 break 2
5273 done
5274 done
5275 IFS=$as_save_IFS
5279 STRIP=$ac_cv_prog_STRIP
5280 if test -n "$STRIP"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5282 $as_echo "$STRIP" >&6; }
5283 else
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5290 if test -z "$ac_cv_prog_STRIP"; then
5291 ac_ct_STRIP=$STRIP
5292 # Extract the first word of "strip", so it can be a program name with args.
5293 set dummy strip; ac_word=$2
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5297 $as_echo_n "(cached) " >&6
5298 else
5299 if test -n "$ac_ct_STRIP"; then
5300 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5301 else
5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5303 for as_dir in $PATH
5305 IFS=$as_save_IFS
5306 test -z "$as_dir" && as_dir=.
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5309 ac_cv_prog_ac_ct_STRIP="strip"
5310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 break 2
5313 done
5314 done
5315 IFS=$as_save_IFS
5319 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5320 if test -n "$ac_ct_STRIP"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5322 $as_echo "$ac_ct_STRIP" >&6; }
5323 else
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5328 if test "x$ac_ct_STRIP" = x; then
5329 STRIP="strip"
5330 else
5331 case $cross_compiling:$ac_tool_warned in
5332 yes:)
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5335 ac_tool_warned=yes ;;
5336 esac
5337 STRIP=$ac_ct_STRIP
5339 else
5340 STRIP="$ac_cv_prog_STRIP"
5343 ARFLAGS=rc
5345 if test -n "$ac_tool_prefix"; then
5346 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5347 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5349 $as_echo_n "checking for $ac_word... " >&6; }
5350 if ${ac_cv_prog_RANLIB+:} false; then :
5351 $as_echo_n "(cached) " >&6
5352 else
5353 if test -n "$RANLIB"; then
5354 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5355 else
5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357 for as_dir in $PATH
5359 IFS=$as_save_IFS
5360 test -z "$as_dir" && as_dir=.
5361 for ac_exec_ext in '' $ac_executable_extensions; do
5362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5363 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 break 2
5367 done
5368 done
5369 IFS=$as_save_IFS
5373 RANLIB=$ac_cv_prog_RANLIB
5374 if test -n "$RANLIB"; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5376 $as_echo "$RANLIB" >&6; }
5377 else
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5379 $as_echo "no" >&6; }
5384 if test -z "$ac_cv_prog_RANLIB"; then
5385 ac_ct_RANLIB=$RANLIB
5386 # Extract the first word of "ranlib", so it can be a program name with args.
5387 set dummy ranlib; ac_word=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5391 $as_echo_n "(cached) " >&6
5392 else
5393 if test -n "$ac_ct_RANLIB"; then
5394 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5395 else
5396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 for as_dir in $PATH
5399 IFS=$as_save_IFS
5400 test -z "$as_dir" && as_dir=.
5401 for ac_exec_ext in '' $ac_executable_extensions; do
5402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5403 ac_cv_prog_ac_ct_RANLIB="ranlib"
5404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5405 break 2
5407 done
5408 done
5409 IFS=$as_save_IFS
5413 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5414 if test -n "$ac_ct_RANLIB"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5416 $as_echo "$ac_ct_RANLIB" >&6; }
5417 else
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5422 if test "x$ac_ct_RANLIB" = x; then
5423 RANLIB=":"
5424 else
5425 case $cross_compiling:$ac_tool_warned in
5426 yes:)
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5429 ac_tool_warned=yes ;;
5430 esac
5431 RANLIB=$ac_ct_RANLIB
5433 else
5434 RANLIB="$ac_cv_prog_RANLIB"
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5438 $as_echo_n "checking whether ln -s works... " >&6; }
5439 LN_S=$as_ln_s
5440 if test "$LN_S" = "ln -s"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5442 $as_echo "yes" >&6; }
5443 else
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5445 $as_echo "no, using $LN_S" >&6; }
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5449 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5450 if ${ac_cv_path_GREP+:} false; then :
5451 $as_echo_n "(cached) " >&6
5452 else
5453 if test -z "$GREP"; then
5454 ac_path_GREP_found=false
5455 # Loop through the user's path and test for each of PROGNAME-LIST
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5459 IFS=$as_save_IFS
5460 test -z "$as_dir" && as_dir=.
5461 for ac_prog in grep ggrep; do
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5464 as_fn_executable_p "$ac_path_GREP" || continue
5465 # Check for GNU ac_path_GREP and select it if it is found.
5466 # Check for GNU $ac_path_GREP
5467 case `"$ac_path_GREP" --version 2>&1` in
5468 *GNU*)
5469 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5471 ac_count=0
5472 $as_echo_n 0123456789 >"conftest.in"
5473 while :
5475 cat "conftest.in" "conftest.in" >"conftest.tmp"
5476 mv "conftest.tmp" "conftest.in"
5477 cp "conftest.in" "conftest.nl"
5478 $as_echo 'GREP' >> "conftest.nl"
5479 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5480 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5481 as_fn_arith $ac_count + 1 && ac_count=$as_val
5482 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5483 # Best one so far, save it but keep looking for a better one
5484 ac_cv_path_GREP="$ac_path_GREP"
5485 ac_path_GREP_max=$ac_count
5487 # 10*(2^10) chars as input seems more than enough
5488 test $ac_count -gt 10 && break
5489 done
5490 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5491 esac
5493 $ac_path_GREP_found && break 3
5494 done
5495 done
5496 done
5497 IFS=$as_save_IFS
5498 if test -z "$ac_cv_path_GREP"; then
5499 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5501 else
5502 ac_cv_path_GREP=$GREP
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5507 $as_echo "$ac_cv_path_GREP" >&6; }
5508 GREP="$ac_cv_path_GREP"
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5512 $as_echo_n "checking for egrep... " >&6; }
5513 if ${ac_cv_path_EGREP+:} false; then :
5514 $as_echo_n "(cached) " >&6
5515 else
5516 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5517 then ac_cv_path_EGREP="$GREP -E"
5518 else
5519 if test -z "$EGREP"; then
5520 ac_path_EGREP_found=false
5521 # Loop through the user's path and test for each of PROGNAME-LIST
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5525 IFS=$as_save_IFS
5526 test -z "$as_dir" && as_dir=.
5527 for ac_prog in egrep; do
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5530 as_fn_executable_p "$ac_path_EGREP" || continue
5531 # Check for GNU ac_path_EGREP and select it if it is found.
5532 # Check for GNU $ac_path_EGREP
5533 case `"$ac_path_EGREP" --version 2>&1` in
5534 *GNU*)
5535 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5537 ac_count=0
5538 $as_echo_n 0123456789 >"conftest.in"
5539 while :
5541 cat "conftest.in" "conftest.in" >"conftest.tmp"
5542 mv "conftest.tmp" "conftest.in"
5543 cp "conftest.in" "conftest.nl"
5544 $as_echo 'EGREP' >> "conftest.nl"
5545 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5546 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5547 as_fn_arith $ac_count + 1 && ac_count=$as_val
5548 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5549 # Best one so far, save it but keep looking for a better one
5550 ac_cv_path_EGREP="$ac_path_EGREP"
5551 ac_path_EGREP_max=$ac_count
5553 # 10*(2^10) chars as input seems more than enough
5554 test $ac_count -gt 10 && break
5555 done
5556 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5557 esac
5559 $ac_path_EGREP_found && break 3
5560 done
5561 done
5562 done
5563 IFS=$as_save_IFS
5564 if test -z "$ac_cv_path_EGREP"; then
5565 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5567 else
5568 ac_cv_path_EGREP=$EGREP
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5574 $as_echo "$ac_cv_path_EGREP" >&6; }
5575 EGREP="$ac_cv_path_EGREP"
5578 # Extract the first word of "ldconfig", so it can be a program name with args.
5579 set dummy ldconfig; ac_word=$2
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5581 $as_echo_n "checking for $ac_word... " >&6; }
5582 if ${ac_cv_path_LDCONFIG+:} false; then :
5583 $as_echo_n "(cached) " >&6
5584 else
5585 case $LDCONFIG in
5586 [\\/]* | ?:[\\/]*)
5587 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591 for as_dir in /sbin /usr/sbin $PATH
5593 IFS=$as_save_IFS
5594 test -z "$as_dir" && as_dir=.
5595 for ac_exec_ext in '' $ac_executable_extensions; do
5596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5597 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 break 2
5601 done
5602 done
5603 IFS=$as_save_IFS
5605 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5607 esac
5609 LDCONFIG=$ac_cv_path_LDCONFIG
5610 if test -n "$LDCONFIG"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5612 $as_echo "$LDCONFIG" >&6; }
5613 else
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5619 for ac_prog in msgfmt
5621 # Extract the first word of "$ac_prog", so it can be a program name with args.
5622 set dummy $ac_prog; ac_word=$2
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5624 $as_echo_n "checking for $ac_word... " >&6; }
5625 if ${ac_cv_prog_MSGFMT+:} false; then :
5626 $as_echo_n "(cached) " >&6
5627 else
5628 if test -n "$MSGFMT"; then
5629 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5630 else
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 for as_dir in $PATH
5634 IFS=$as_save_IFS
5635 test -z "$as_dir" && as_dir=.
5636 for ac_exec_ext in '' $ac_executable_extensions; do
5637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5638 ac_cv_prog_MSGFMT="$ac_prog"
5639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5640 break 2
5642 done
5643 done
5644 IFS=$as_save_IFS
5648 MSGFMT=$ac_cv_prog_MSGFMT
5649 if test -n "$MSGFMT"; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5651 $as_echo "$MSGFMT" >&6; }
5652 else
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654 $as_echo "no" >&6; }
5658 test -n "$MSGFMT" && break
5659 done
5660 test -n "$MSGFMT" || MSGFMT="false"
5662 if ${ac_tool_prefix+:} false; then :
5663 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5664 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5666 $as_echo_n "checking for $ac_word... " >&6; }
5667 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5668 $as_echo_n "(cached) " >&6
5669 else
5670 if test -n "$PKG_CONFIG"; then
5671 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5672 else
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 for as_dir in $PATH
5676 IFS=$as_save_IFS
5677 test -z "$as_dir" && as_dir=.
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5680 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5682 break 2
5684 done
5685 done
5686 IFS=$as_save_IFS
5690 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5691 if test -n "$PKG_CONFIG"; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5693 $as_echo "$PKG_CONFIG" >&6; }
5694 else
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5696 $as_echo "no" >&6; }
5701 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5702 if test "x$cross_compiling" = xyes; then :
5704 else
5705 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5706 # Extract the first word of "pkg-config", so it can be a program name with args.
5707 set dummy pkg-config; ac_word=$2
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709 $as_echo_n "checking for $ac_word... " >&6; }
5710 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5711 $as_echo_n "(cached) " >&6
5712 else
5713 if test -n "$PKG_CONFIG"; then
5714 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5715 else
5716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 for as_dir in $PATH
5719 IFS=$as_save_IFS
5720 test -z "$as_dir" && as_dir=.
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_PKG_CONFIG="pkg-config"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 break 2
5727 done
5728 done
5729 IFS=$as_save_IFS
5733 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5734 if test -n "$PKG_CONFIG"; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5736 $as_echo "$PKG_CONFIG" >&6; }
5737 else
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 $as_echo "no" >&6; }
5744 else
5745 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5748 if test "x$enable_maintainer_mode" != "xyes"
5749 then
5750 FONTFORGE=""
5751 RSVG=""
5752 CONVERT=""
5753 ICOTOOL=""
5754 else
5755 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5756 for ac_prog in fontforge
5758 # Extract the first word of "$ac_prog", so it can be a program name with args.
5759 set dummy $ac_prog; ac_word=$2
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5761 $as_echo_n "checking for $ac_word... " >&6; }
5762 if ${ac_cv_prog_FONTFORGE+:} false; then :
5763 $as_echo_n "(cached) " >&6
5764 else
5765 if test -n "$FONTFORGE"; then
5766 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5767 else
5768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769 for as_dir in $PATH
5771 IFS=$as_save_IFS
5772 test -z "$as_dir" && as_dir=.
5773 for ac_exec_ext in '' $ac_executable_extensions; do
5774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5775 ac_cv_prog_FONTFORGE="$ac_prog"
5776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5777 break 2
5779 done
5780 done
5781 IFS=$as_save_IFS
5785 FONTFORGE=$ac_cv_prog_FONTFORGE
5786 if test -n "$FONTFORGE"; then
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5788 $as_echo "$FONTFORGE" >&6; }
5789 else
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5791 $as_echo "no" >&6; }
5795 test -n "$FONTFORGE" && break
5796 done
5797 test -n "$FONTFORGE" || FONTFORGE="false"
5799 for ac_prog in rsvg-convert rsvg
5801 # Extract the first word of "$ac_prog", so it can be a program name with args.
5802 set dummy $ac_prog; ac_word=$2
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804 $as_echo_n "checking for $ac_word... " >&6; }
5805 if ${ac_cv_prog_RSVG+:} false; then :
5806 $as_echo_n "(cached) " >&6
5807 else
5808 if test -n "$RSVG"; then
5809 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5810 else
5811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 for as_dir in $PATH
5814 IFS=$as_save_IFS
5815 test -z "$as_dir" && as_dir=.
5816 for ac_exec_ext in '' $ac_executable_extensions; do
5817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5818 ac_cv_prog_RSVG="$ac_prog"
5819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5820 break 2
5822 done
5823 done
5824 IFS=$as_save_IFS
5828 RSVG=$ac_cv_prog_RSVG
5829 if test -n "$RSVG"; then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5831 $as_echo "$RSVG" >&6; }
5832 else
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834 $as_echo "no" >&6; }
5838 test -n "$RSVG" && break
5839 done
5840 test -n "$RSVG" || RSVG="false"
5842 for ac_prog in convert
5844 # Extract the first word of "$ac_prog", so it can be a program name with args.
5845 set dummy $ac_prog; ac_word=$2
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5847 $as_echo_n "checking for $ac_word... " >&6; }
5848 if ${ac_cv_prog_CONVERT+:} false; then :
5849 $as_echo_n "(cached) " >&6
5850 else
5851 if test -n "$CONVERT"; then
5852 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5853 else
5854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5855 for as_dir in $PATH
5857 IFS=$as_save_IFS
5858 test -z "$as_dir" && as_dir=.
5859 for ac_exec_ext in '' $ac_executable_extensions; do
5860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5861 ac_cv_prog_CONVERT="$ac_prog"
5862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5863 break 2
5865 done
5866 done
5867 IFS=$as_save_IFS
5871 CONVERT=$ac_cv_prog_CONVERT
5872 if test -n "$CONVERT"; then
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5874 $as_echo "$CONVERT" >&6; }
5875 else
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5877 $as_echo "no" >&6; }
5881 test -n "$CONVERT" && break
5882 done
5883 test -n "$CONVERT" || CONVERT="false"
5885 for ac_prog in icotool
5887 # Extract the first word of "$ac_prog", so it can be a program name with args.
5888 set dummy $ac_prog; ac_word=$2
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5890 $as_echo_n "checking for $ac_word... " >&6; }
5891 if ${ac_cv_prog_ICOTOOL+:} false; then :
5892 $as_echo_n "(cached) " >&6
5893 else
5894 if test -n "$ICOTOOL"; then
5895 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5896 else
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5898 for as_dir in $PATH
5900 IFS=$as_save_IFS
5901 test -z "$as_dir" && as_dir=.
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5904 ac_cv_prog_ICOTOOL="$ac_prog"
5905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5906 break 2
5908 done
5909 done
5910 IFS=$as_save_IFS
5914 ICOTOOL=$ac_cv_prog_ICOTOOL
5915 if test -n "$ICOTOOL"; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5917 $as_echo "$ICOTOOL" >&6; }
5918 else
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5920 $as_echo "no" >&6; }
5924 test -n "$ICOTOOL" && break
5925 done
5926 test -n "$ICOTOOL" || ICOTOOL="false"
5928 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5929 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5931 if test "$CONVERT" = false
5932 then
5933 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5934 else
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5936 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5937 convert_version=`convert --version | head -n1`
5938 if test "x$convert_version" != "x"
5939 then
5940 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5941 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5942 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5943 then
5944 CONVERT=false
5947 if test "$CONVERT" = false
5948 then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5950 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5951 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5952 else
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5954 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5958 if test "$ICOTOOL" = false
5959 then
5960 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5961 else
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5963 $as_echo_n "checking for recent enough icotool... " >&6; }
5964 icotool_version=`icotool --version | head -n1`
5965 if test "x$icotool_version" != "x"
5966 then
5967 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5968 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5969 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5970 then
5971 ICOTOOL=false
5972 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5975 if test "$ICOTOOL" = false
5976 then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5978 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5979 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5980 else
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5982 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5986 with_gettext=yes
5987 with_gettextpo=yes
5988 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5991 test "x$with_gettext" != xno || MSGFMT=false
5992 if test "$MSGFMT" != "false"
5993 then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5995 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5996 cat >conftest.po <<EOF
5997 # comment
5998 msgctxt "ctxt"
5999 msgid "id"
6000 msgstr "str"
6002 if $MSGFMT -o /dev/null conftest.po 2>&5
6003 then
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6005 $as_echo "yes" >&6; }
6006 else
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6008 $as_echo "no" >&6; }
6009 MSGFMT=false
6012 if test "$MSGFMT" = false; then :
6013 case "x$with_gettext" in
6014 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6015 xno) ;;
6016 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6017 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6018 esac
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6023 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6024 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6025 $as_echo_n "(cached) " >&6
6026 else
6027 ac_check_lib_save_LIBS=$LIBS
6028 LIBS="-li386 $LIBS"
6029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6030 /* end confdefs.h. */
6032 /* Override any GCC internal prototype to avoid an error.
6033 Use char because int might match the return type of a GCC
6034 builtin and then its argument prototype would still apply. */
6035 #ifdef __cplusplus
6036 extern "C"
6037 #endif
6038 char i386_set_ldt ();
6040 main ()
6042 return i386_set_ldt ();
6044 return 0;
6046 _ACEOF
6047 if ac_fn_c_try_link "$LINENO"; then :
6048 ac_cv_lib_i386_i386_set_ldt=yes
6049 else
6050 ac_cv_lib_i386_i386_set_ldt=no
6052 rm -f core conftest.err conftest.$ac_objext \
6053 conftest$ac_exeext conftest.$ac_ext
6054 LIBS=$ac_check_lib_save_LIBS
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6057 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6058 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6059 cat >>confdefs.h <<_ACEOF
6060 #define HAVE_LIBI386 1
6061 _ACEOF
6063 LIBS="-li386 $LIBS"
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6068 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6069 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6070 $as_echo_n "(cached) " >&6
6071 else
6072 ac_check_lib_save_LIBS=$LIBS
6073 LIBS="-lossaudio $LIBS"
6074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6075 /* end confdefs.h. */
6077 /* Override any GCC internal prototype to avoid an error.
6078 Use char because int might match the return type of a GCC
6079 builtin and then its argument prototype would still apply. */
6080 #ifdef __cplusplus
6081 extern "C"
6082 #endif
6083 char _oss_ioctl ();
6085 main ()
6087 return _oss_ioctl ();
6089 return 0;
6091 _ACEOF
6092 if ac_fn_c_try_link "$LINENO"; then :
6093 ac_cv_lib_ossaudio__oss_ioctl=yes
6094 else
6095 ac_cv_lib_ossaudio__oss_ioctl=no
6097 rm -f core conftest.err conftest.$ac_objext \
6098 conftest$ac_exeext conftest.$ac_ext
6099 LIBS=$ac_check_lib_save_LIBS
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6102 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6103 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6104 cat >>confdefs.h <<_ACEOF
6105 #define HAVE_LIBOSSAUDIO 1
6106 _ACEOF
6108 LIBS="-lossaudio $LIBS"
6113 OPENGL_LIBS=""
6117 # Check whether --enable-largefile was given.
6118 if test "${enable_largefile+set}" = set; then :
6119 enableval=$enable_largefile;
6122 if test "$enable_largefile" != no; then
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6125 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6126 if ${ac_cv_sys_largefile_CC+:} false; then :
6127 $as_echo_n "(cached) " >&6
6128 else
6129 ac_cv_sys_largefile_CC=no
6130 if test "$GCC" != yes; then
6131 ac_save_CC=$CC
6132 while :; do
6133 # IRIX 6.2 and later do not support large files by default,
6134 # so use the C compiler's -n32 option if that helps.
6135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6136 /* end confdefs.h. */
6137 #include <sys/types.h>
6138 /* Check that off_t can represent 2**63 - 1 correctly.
6139 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6140 since some C++ compilers masquerading as C compilers
6141 incorrectly reject 9223372036854775807. */
6142 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6143 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6144 && LARGE_OFF_T % 2147483647 == 1)
6145 ? 1 : -1];
6147 main ()
6151 return 0;
6153 _ACEOF
6154 if ac_fn_c_try_compile "$LINENO"; then :
6155 break
6157 rm -f core conftest.err conftest.$ac_objext
6158 CC="$CC -n32"
6159 if ac_fn_c_try_compile "$LINENO"; then :
6160 ac_cv_sys_largefile_CC=' -n32'; break
6162 rm -f core conftest.err conftest.$ac_objext
6163 break
6164 done
6165 CC=$ac_save_CC
6166 rm -f conftest.$ac_ext
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6170 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6171 if test "$ac_cv_sys_largefile_CC" != no; then
6172 CC=$CC$ac_cv_sys_largefile_CC
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6176 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6177 if ${ac_cv_sys_file_offset_bits+:} false; then :
6178 $as_echo_n "(cached) " >&6
6179 else
6180 while :; do
6181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6182 /* end confdefs.h. */
6183 #include <sys/types.h>
6184 /* Check that off_t can represent 2**63 - 1 correctly.
6185 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6186 since some C++ compilers masquerading as C compilers
6187 incorrectly reject 9223372036854775807. */
6188 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6189 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6190 && LARGE_OFF_T % 2147483647 == 1)
6191 ? 1 : -1];
6193 main ()
6197 return 0;
6199 _ACEOF
6200 if ac_fn_c_try_compile "$LINENO"; then :
6201 ac_cv_sys_file_offset_bits=no; break
6203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6205 /* end confdefs.h. */
6206 #define _FILE_OFFSET_BITS 64
6207 #include <sys/types.h>
6208 /* Check that off_t can represent 2**63 - 1 correctly.
6209 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6210 since some C++ compilers masquerading as C compilers
6211 incorrectly reject 9223372036854775807. */
6212 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6213 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6214 && LARGE_OFF_T % 2147483647 == 1)
6215 ? 1 : -1];
6217 main ()
6221 return 0;
6223 _ACEOF
6224 if ac_fn_c_try_compile "$LINENO"; then :
6225 ac_cv_sys_file_offset_bits=64; break
6227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6228 ac_cv_sys_file_offset_bits=unknown
6229 break
6230 done
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6233 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6234 case $ac_cv_sys_file_offset_bits in #(
6235 no | unknown) ;;
6237 cat >>confdefs.h <<_ACEOF
6238 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6239 _ACEOF
6241 esac
6242 rm -rf conftest*
6243 if test $ac_cv_sys_file_offset_bits = unknown; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6245 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6246 if ${ac_cv_sys_large_files+:} false; then :
6247 $as_echo_n "(cached) " >&6
6248 else
6249 while :; do
6250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h. */
6252 #include <sys/types.h>
6253 /* Check that off_t can represent 2**63 - 1 correctly.
6254 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6255 since some C++ compilers masquerading as C compilers
6256 incorrectly reject 9223372036854775807. */
6257 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6258 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6259 && LARGE_OFF_T % 2147483647 == 1)
6260 ? 1 : -1];
6262 main ()
6266 return 0;
6268 _ACEOF
6269 if ac_fn_c_try_compile "$LINENO"; then :
6270 ac_cv_sys_large_files=no; break
6272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6274 /* end confdefs.h. */
6275 #define _LARGE_FILES 1
6276 #include <sys/types.h>
6277 /* Check that off_t can represent 2**63 - 1 correctly.
6278 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6279 since some C++ compilers masquerading as C compilers
6280 incorrectly reject 9223372036854775807. */
6281 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6282 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6283 && LARGE_OFF_T % 2147483647 == 1)
6284 ? 1 : -1];
6286 main ()
6290 return 0;
6292 _ACEOF
6293 if ac_fn_c_try_compile "$LINENO"; then :
6294 ac_cv_sys_large_files=1; break
6296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6297 ac_cv_sys_large_files=unknown
6298 break
6299 done
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6302 $as_echo "$ac_cv_sys_large_files" >&6; }
6303 case $ac_cv_sys_large_files in #(
6304 no | unknown) ;;
6306 cat >>confdefs.h <<_ACEOF
6307 #define _LARGE_FILES $ac_cv_sys_large_files
6308 _ACEOF
6310 esac
6311 rm -rf conftest*
6318 ac_ext=c
6319 ac_cpp='$CPP $CPPFLAGS'
6320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6324 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6325 # On Suns, sometimes $CPP names a directory.
6326 if test -n "$CPP" && test -d "$CPP"; then
6327 CPP=
6329 if test -z "$CPP"; then
6330 if ${ac_cv_prog_CPP+:} false; then :
6331 $as_echo_n "(cached) " >&6
6332 else
6333 # Double quotes because CPP needs to be expanded
6334 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6336 ac_preproc_ok=false
6337 for ac_c_preproc_warn_flag in '' yes
6339 # Use a header file that comes with gcc, so configuring glibc
6340 # with a fresh cross-compiler works.
6341 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6342 # <limits.h> exists even on freestanding compilers.
6343 # On the NeXT, cc -E runs the code through the compiler's parser,
6344 # not just through cpp. "Syntax error" is here to catch this case.
6345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6346 /* end confdefs.h. */
6347 #ifdef __STDC__
6348 # include <limits.h>
6349 #else
6350 # include <assert.h>
6351 #endif
6352 Syntax error
6353 _ACEOF
6354 if ac_fn_c_try_cpp "$LINENO"; then :
6356 else
6357 # Broken: fails on valid input.
6358 continue
6360 rm -f conftest.err conftest.i conftest.$ac_ext
6362 # OK, works on sane cases. Now check whether nonexistent headers
6363 # can be detected and how.
6364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6366 #include <ac_nonexistent.h>
6367 _ACEOF
6368 if ac_fn_c_try_cpp "$LINENO"; then :
6369 # Broken: success on invalid input.
6370 continue
6371 else
6372 # Passes both tests.
6373 ac_preproc_ok=:
6374 break
6376 rm -f conftest.err conftest.i conftest.$ac_ext
6378 done
6379 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6380 rm -f conftest.i conftest.err conftest.$ac_ext
6381 if $ac_preproc_ok; then :
6382 break
6385 done
6386 ac_cv_prog_CPP=$CPP
6389 CPP=$ac_cv_prog_CPP
6390 else
6391 ac_cv_prog_CPP=$CPP
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6394 $as_echo "$CPP" >&6; }
6395 ac_preproc_ok=false
6396 for ac_c_preproc_warn_flag in '' yes
6398 # Use a header file that comes with gcc, so configuring glibc
6399 # with a fresh cross-compiler works.
6400 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6401 # <limits.h> exists even on freestanding compilers.
6402 # On the NeXT, cc -E runs the code through the compiler's parser,
6403 # not just through cpp. "Syntax error" is here to catch this case.
6404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6405 /* end confdefs.h. */
6406 #ifdef __STDC__
6407 # include <limits.h>
6408 #else
6409 # include <assert.h>
6410 #endif
6411 Syntax error
6412 _ACEOF
6413 if ac_fn_c_try_cpp "$LINENO"; then :
6415 else
6416 # Broken: fails on valid input.
6417 continue
6419 rm -f conftest.err conftest.i conftest.$ac_ext
6421 # OK, works on sane cases. Now check whether nonexistent headers
6422 # can be detected and how.
6423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6424 /* end confdefs.h. */
6425 #include <ac_nonexistent.h>
6426 _ACEOF
6427 if ac_fn_c_try_cpp "$LINENO"; then :
6428 # Broken: success on invalid input.
6429 continue
6430 else
6431 # Passes both tests.
6432 ac_preproc_ok=:
6433 break
6435 rm -f conftest.err conftest.i conftest.$ac_ext
6437 done
6438 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6439 rm -f conftest.i conftest.err conftest.$ac_ext
6440 if $ac_preproc_ok; then :
6442 else
6443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6445 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6446 See \`config.log' for more details" "$LINENO" 5; }
6449 ac_ext=c
6450 ac_cpp='$CPP $CPPFLAGS'
6451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6457 $as_echo_n "checking for ANSI C header files... " >&6; }
6458 if ${ac_cv_header_stdc+:} false; then :
6459 $as_echo_n "(cached) " >&6
6460 else
6461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6462 /* end confdefs.h. */
6463 #include <stdlib.h>
6464 #include <stdarg.h>
6465 #include <string.h>
6466 #include <float.h>
6469 main ()
6473 return 0;
6475 _ACEOF
6476 if ac_fn_c_try_compile "$LINENO"; then :
6477 ac_cv_header_stdc=yes
6478 else
6479 ac_cv_header_stdc=no
6481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6483 if test $ac_cv_header_stdc = yes; then
6484 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6486 /* end confdefs.h. */
6487 #include <string.h>
6489 _ACEOF
6490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6491 $EGREP "memchr" >/dev/null 2>&1; then :
6493 else
6494 ac_cv_header_stdc=no
6496 rm -f conftest*
6500 if test $ac_cv_header_stdc = yes; then
6501 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */
6504 #include <stdlib.h>
6506 _ACEOF
6507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6508 $EGREP "free" >/dev/null 2>&1; then :
6510 else
6511 ac_cv_header_stdc=no
6513 rm -f conftest*
6517 if test $ac_cv_header_stdc = yes; then
6518 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6519 if test "$cross_compiling" = yes; then :
6521 else
6522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6523 /* end confdefs.h. */
6524 #include <ctype.h>
6525 #include <stdlib.h>
6526 #if ((' ' & 0x0FF) == 0x020)
6527 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6528 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6529 #else
6530 # define ISLOWER(c) \
6531 (('a' <= (c) && (c) <= 'i') \
6532 || ('j' <= (c) && (c) <= 'r') \
6533 || ('s' <= (c) && (c) <= 'z'))
6534 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6535 #endif
6537 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6539 main ()
6541 int i;
6542 for (i = 0; i < 256; i++)
6543 if (XOR (islower (i), ISLOWER (i))
6544 || toupper (i) != TOUPPER (i))
6545 return 2;
6546 return 0;
6548 _ACEOF
6549 if ac_fn_c_try_run "$LINENO"; then :
6551 else
6552 ac_cv_header_stdc=no
6554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6555 conftest.$ac_objext conftest.beam conftest.$ac_ext
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6561 $as_echo "$ac_cv_header_stdc" >&6; }
6562 if test $ac_cv_header_stdc = yes; then
6564 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6568 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6569 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6570 inttypes.h stdint.h unistd.h
6571 do :
6572 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6573 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6575 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6576 cat >>confdefs.h <<_ACEOF
6577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6578 _ACEOF
6582 done
6585 for ac_header in \
6586 AL/al.h \
6587 ApplicationServices/ApplicationServices.h \
6588 AudioToolbox/AudioConverter.h \
6589 AudioUnit/AudioUnit.h \
6590 AudioUnit/AudioComponent.h \
6591 CL/cl.h \
6592 Carbon/Carbon.h \
6593 CoreAudio/CoreAudio.h \
6594 CoreServices/CoreServices.h \
6595 DiskArbitration/DiskArbitration.h \
6596 IOKit/IOKitLib.h \
6597 IOKit/hid/IOHIDLib.h \
6598 OpenAL/al.h \
6599 OpenCL/opencl.h \
6600 QuickTime/ImageCompression.h \
6601 Security/Security.h \
6602 alias.h \
6603 alsa/asoundlib.h \
6604 arpa/inet.h \
6605 arpa/nameser.h \
6606 asm/types.h \
6607 asm/user.h \
6608 curses.h \
6609 direct.h \
6610 dirent.h \
6611 dlfcn.h \
6612 elf.h \
6613 float.h \
6614 fnmatch.h \
6615 getopt.h \
6616 gettext-po.h \
6617 grp.h \
6618 gsm.h \
6619 gsm/gsm.h \
6620 ieeefp.h \
6621 inet/mib2.h \
6622 io.h \
6623 kstat.h \
6624 lber.h \
6625 ldap.h \
6626 libproc.h \
6627 link.h \
6628 linux/cdrom.h \
6629 linux/compiler.h \
6630 linux/filter.h \
6631 linux/hdreg.h \
6632 linux/input.h \
6633 linux/ioctl.h \
6634 linux/joystick.h \
6635 linux/major.h \
6636 linux/param.h \
6637 linux/serial.h \
6638 linux/types.h \
6639 linux/ucdrom.h \
6640 lwp.h \
6641 mach-o/nlist.h \
6642 mach-o/loader.h \
6643 mach/mach.h \
6644 mach/machine.h \
6645 machine/cpu.h \
6646 machine/limits.h \
6647 machine/sysarch.h \
6648 mntent.h \
6649 ncurses.h \
6650 netdb.h \
6651 netinet/in.h \
6652 netinet/in_systm.h \
6653 netinet/tcp.h \
6654 netinet/tcp_fsm.h \
6655 pcap/pcap.h \
6656 poll.h \
6657 port.h \
6658 process.h \
6659 pthread.h \
6660 pwd.h \
6661 sched.h \
6662 scsi/scsi.h \
6663 scsi/scsi_ioctl.h \
6664 scsi/sg.h \
6665 stdbool.h \
6666 stdint.h \
6667 stropts.h \
6668 sys/asoundlib.h \
6669 sys/attr.h \
6670 sys/cdio.h \
6671 sys/elf32.h \
6672 sys/epoll.h \
6673 sys/event.h \
6674 sys/exec_elf.h \
6675 sys/filio.h \
6676 sys/inotify.h \
6677 sys/ioctl.h \
6678 sys/ipc.h \
6679 sys/limits.h \
6680 sys/link.h \
6681 sys/mman.h \
6682 sys/modem.h \
6683 sys/msg.h \
6684 sys/mtio.h \
6685 sys/param.h \
6686 sys/poll.h \
6687 sys/prctl.h \
6688 sys/protosw.h \
6689 sys/ptrace.h \
6690 sys/queue.h \
6691 sys/resource.h \
6692 sys/scsiio.h \
6693 sys/shm.h \
6694 sys/signal.h \
6695 sys/socket.h \
6696 sys/socketvar.h \
6697 sys/sockio.h \
6698 sys/statvfs.h \
6699 sys/strtio.h \
6700 sys/syscall.h \
6701 sys/tihdr.h \
6702 sys/time.h \
6703 sys/timeout.h \
6704 sys/times.h \
6705 sys/uio.h \
6706 sys/user.h \
6707 sys/utsname.h \
6708 sys/vm86.h \
6709 sys/wait.h \
6710 syscall.h \
6711 termios.h \
6712 unistd.h \
6713 utime.h \
6714 valgrind/memcheck.h \
6715 valgrind/valgrind.h \
6716 zlib.h
6718 do :
6719 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6720 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6721 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6722 cat >>confdefs.h <<_ACEOF
6723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6724 _ACEOF
6728 done
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6731 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6732 if ${ac_cv_header_stat_broken+:} false; then :
6733 $as_echo_n "(cached) " >&6
6734 else
6735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6736 /* end confdefs.h. */
6737 #include <sys/types.h>
6738 #include <sys/stat.h>
6740 #if defined S_ISBLK && defined S_IFDIR
6741 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6742 #endif
6744 #if defined S_ISBLK && defined S_IFCHR
6745 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6746 #endif
6748 #if defined S_ISLNK && defined S_IFREG
6749 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6750 #endif
6752 #if defined S_ISSOCK && defined S_IFREG
6753 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6754 #endif
6756 _ACEOF
6757 if ac_fn_c_try_compile "$LINENO"; then :
6758 ac_cv_header_stat_broken=no
6759 else
6760 ac_cv_header_stat_broken=yes
6762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6765 $as_echo "$ac_cv_header_stat_broken" >&6; }
6766 if test $ac_cv_header_stat_broken = yes; then
6768 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6774 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6775 do :
6776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6777 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6778 #ifdef HAVE_SYS_PARAM_H
6779 # include <sys/param.h>
6780 #endif
6782 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6783 cat >>confdefs.h <<_ACEOF
6784 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6785 _ACEOF
6789 done
6792 for ac_header in \
6793 netinet/ip.h \
6794 net/if.h \
6795 net/if_arp.h \
6796 net/if_dl.h \
6797 net/if_types.h \
6798 net/route.h \
6799 netinet/if_ether.h \
6800 netinet/if_inarp.h \
6801 netinet/in_pcb.h \
6802 netinet/ip_icmp.h \
6803 netinet/ip_var.h \
6804 netinet/udp.h \
6805 netipx/ipx.h \
6806 sys/un.h \
6808 do :
6809 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6810 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6811 #ifdef HAVE_SYS_SOCKET_H
6812 # include <sys/socket.h>
6813 #endif
6814 #ifdef HAVE_SYS_SOCKETVAR_H
6815 # include <sys/socketvar.h>
6816 #endif
6817 #ifdef HAVE_NET_ROUTE_H
6818 # include <net/route.h>
6819 #endif
6820 #ifdef HAVE_NETINET_IN_H
6821 # include <netinet/in.h>
6822 #endif
6823 #ifdef HAVE_NETINET_IN_SYSTM_H
6824 # include <netinet/in_systm.h>
6825 #endif
6826 #ifdef HAVE_NET_IF_H
6827 # include <net/if.h>
6828 #endif
6829 #ifdef HAVE_NETINET_IP_H
6830 # include <netinet/ip.h>
6831 #endif
6833 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6834 cat >>confdefs.h <<_ACEOF
6835 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6836 _ACEOF
6840 done
6843 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6844 do :
6845 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6846 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6847 #ifdef HAVE_ALIAS_H
6848 # include <alias.h>
6849 #endif
6850 #ifdef HAVE_SYS_SOCKET_H
6851 # include <sys/socket.h>
6852 #endif
6853 #ifdef HAVE_SYS_SOCKETVAR_H
6854 # include <sys/socketvar.h>
6855 #endif
6856 #ifdef HAVE_SYS_TIMEOUT_H
6857 # include <sys/timeout.h>
6858 #endif
6859 #ifdef HAVE_NETINET_IN_H
6860 # include <netinet/in.h>
6861 #endif
6862 #ifdef HAVE_NETINET_IN_SYSTM_H
6863 # include <netinet/in_systm.h>
6864 #endif
6865 #ifdef HAVE_NETINET_IP_H
6866 # include <netinet/ip.h>
6867 #endif
6868 #ifdef HAVE_NETINET_IP_VAR_H
6869 # include <netinet/ip_var.h>
6870 #endif
6871 #ifdef HAVE_NETINET_IP_ICMP_H
6872 # include <netinet/ip_icmp.h>
6873 #endif
6874 #ifdef HAVE_NETINET_UDP_H
6875 # include <netinet/udp.h>
6876 #endif
6877 #ifdef HAVE_NETINET_TCP_H
6878 # include <netinet/tcp.h>
6879 #endif
6880 #ifdef HAVE_NETINET_TCP_TIMER_H
6881 #include <netinet/tcp_timer.h>
6882 #endif
6884 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6885 cat >>confdefs.h <<_ACEOF
6886 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6887 _ACEOF
6891 done
6894 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6895 do :
6896 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6897 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6898 #ifdef HAVE_ASM_TYPES_H
6899 # include <asm/types.h>
6900 #endif
6901 #ifdef HAVE_SYS_SOCKET_H
6902 # include <sys/socket.h>
6903 #endif
6904 #ifdef HAVE_LINUX_TYPES_H
6905 # include <linux/types.h>
6906 #endif
6908 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6909 cat >>confdefs.h <<_ACEOF
6910 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6911 _ACEOF
6915 done
6918 for ac_header in mach-o/dyld_images.h
6919 do :
6920 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6921 # include <stdbool.h>
6922 #endif
6923 #ifdef HAVE_STDINT_H
6924 # include <stdint.h>
6925 #endif
6927 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6928 cat >>confdefs.h <<_ACEOF
6929 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6930 _ACEOF
6934 done
6937 for ac_header in resolv.h
6938 do :
6939 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6940 #ifdef HAVE_SYS_SOCKET_H
6941 # include <sys/socket.h>
6942 #endif
6943 #ifdef HAVE_NETINET_IN_H
6944 # include <netinet/in.h>
6945 #endif
6946 #ifdef HAVE_ARPA_NAMESER_H
6947 # include <arpa/nameser.h>
6948 #endif
6950 if test "x$ac_cv_header_resolv_h" = xyes; then :
6951 cat >>confdefs.h <<_ACEOF
6952 #define HAVE_RESOLV_H 1
6953 _ACEOF
6957 done
6960 for ac_header in ifaddrs.h
6961 do :
6962 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6964 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6965 cat >>confdefs.h <<_ACEOF
6966 #define HAVE_IFADDRS_H 1
6967 _ACEOF
6971 done
6974 for ac_header in sys/ucontext.h
6975 do :
6976 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6978 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6979 cat >>confdefs.h <<_ACEOF
6980 #define HAVE_SYS_UCONTEXT_H 1
6981 _ACEOF
6985 done
6988 for ac_header in sys/thr.h
6989 do :
6990 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6991 #ifdef HAVE_SYS_UCONTEXT_H
6992 #include <sys/ucontext.h>
6993 #endif
6995 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6996 cat >>confdefs.h <<_ACEOF
6997 #define HAVE_SYS_THR_H 1
6998 _ACEOF
7002 done
7005 for ac_header in pthread_np.h
7006 do :
7007 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7008 #include <pthread.h>
7009 #endif
7011 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7012 cat >>confdefs.h <<_ACEOF
7013 #define HAVE_PTHREAD_NP_H 1
7014 _ACEOF
7018 done
7021 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7022 do :
7023 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7024 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7025 #include <sys/time.h>
7026 #endif
7027 #include <sys/types.h>
7028 #ifdef HAVE_ASM_TYPES_H
7029 #include <asm/types.h>
7030 #endif
7032 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7033 cat >>confdefs.h <<_ACEOF
7034 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7035 _ACEOF
7039 done
7042 for ac_header in libprocstat.h
7043 do :
7044 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7045 #include <sys/param.h>
7046 #endif
7047 #ifdef HAVE_SYS_QUEUE_H
7048 #include <sys/queue.h>
7049 #endif
7050 #ifdef HAVE_SYS_SOCKET_H
7051 #include <sys/socket.h>
7052 #endif
7054 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7055 cat >>confdefs.h <<_ACEOF
7056 #define HAVE_LIBPROCSTAT_H 1
7057 _ACEOF
7061 done
7065 dlldir="\${libdir}/wine"
7067 DLLPREFIX=""
7069 DLLFLAGS="-D_REENTRANT"
7071 LDRPATH_INSTALL=""
7073 LDRPATH_LOCAL=""
7075 LIBEXT="so"
7076 DLLEXT=".so"
7077 IMPLIBEXT="def"
7078 STATIC_IMPLIBEXT="def.a"
7079 # Extract the first word of "ldd", so it can be a program name with args.
7080 set dummy ldd; ac_word=$2
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7082 $as_echo_n "checking for $ac_word... " >&6; }
7083 if ${ac_cv_path_LDD+:} false; then :
7084 $as_echo_n "(cached) " >&6
7085 else
7086 case $LDD in
7087 [\\/]* | ?:[\\/]*)
7088 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7092 as_dummy="/sbin:/usr/sbin:$PATH"
7093 for as_dir in $as_dummy
7095 IFS=$as_save_IFS
7096 test -z "$as_dir" && as_dir=.
7097 for ac_exec_ext in '' $ac_executable_extensions; do
7098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7099 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7101 break 2
7103 done
7104 done
7105 IFS=$as_save_IFS
7107 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7109 esac
7111 LDD=$ac_cv_path_LDD
7112 if test -n "$LDD"; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7114 $as_echo "$LDD" >&6; }
7115 else
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7117 $as_echo "no" >&6; }
7121 if test -n "$ac_tool_prefix"; then
7122 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7123 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7125 $as_echo_n "checking for $ac_word... " >&6; }
7126 if ${ac_cv_prog_READELF+:} false; then :
7127 $as_echo_n "(cached) " >&6
7128 else
7129 if test -n "$READELF"; then
7130 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7131 else
7132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7133 for as_dir in $PATH
7135 IFS=$as_save_IFS
7136 test -z "$as_dir" && as_dir=.
7137 for ac_exec_ext in '' $ac_executable_extensions; do
7138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7139 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7141 break 2
7143 done
7144 done
7145 IFS=$as_save_IFS
7149 READELF=$ac_cv_prog_READELF
7150 if test -n "$READELF"; then
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7152 $as_echo "$READELF" >&6; }
7153 else
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7155 $as_echo "no" >&6; }
7160 if test -z "$ac_cv_prog_READELF"; then
7161 ac_ct_READELF=$READELF
7162 # Extract the first word of "readelf", so it can be a program name with args.
7163 set dummy readelf; ac_word=$2
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7165 $as_echo_n "checking for $ac_word... " >&6; }
7166 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7167 $as_echo_n "(cached) " >&6
7168 else
7169 if test -n "$ac_ct_READELF"; then
7170 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7171 else
7172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7173 for as_dir in $PATH
7175 IFS=$as_save_IFS
7176 test -z "$as_dir" && as_dir=.
7177 for ac_exec_ext in '' $ac_executable_extensions; do
7178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7179 ac_cv_prog_ac_ct_READELF="readelf"
7180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7181 break 2
7183 done
7184 done
7185 IFS=$as_save_IFS
7189 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7190 if test -n "$ac_ct_READELF"; then
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7192 $as_echo "$ac_ct_READELF" >&6; }
7193 else
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7195 $as_echo "no" >&6; }
7198 if test "x$ac_ct_READELF" = x; then
7199 READELF="true"
7200 else
7201 case $cross_compiling:$ac_tool_warned in
7202 yes:)
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7205 ac_tool_warned=yes ;;
7206 esac
7207 READELF=$ac_ct_READELF
7209 else
7210 READELF="$ac_cv_prog_READELF"
7213 wine_rules_file=conf$$rules.make
7214 rm -f $wine_rules_file
7215 ALL_POT_FILES=""
7216 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7217 ALL_TEST_RESOURCES=""
7220 wine_fn_append_file ()
7222 as_fn_append $1 " \\$as_nl $2"
7225 wine_fn_ignore_file ()
7227 case "$1" in
7228 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7229 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7230 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7231 esac
7234 wine_fn_append_rule ()
7236 $as_echo "$1" >>$wine_rules_file
7239 wine_fn_has_flag ()
7241 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7244 wine_fn_depend_rules ()
7246 wine_fn_append_rule \
7247 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7248 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7249 depend: $ac_dir/depend
7250 .PHONY: $ac_dir/depend
7251 $ac_dir/depend: \$(MAKEDEP) dummy
7252 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7255 wine_fn_pot_rules ()
7257 test "x$with_gettextpo" = xyes || return
7259 if wine_fn_has_flag mc
7260 then
7261 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7262 wine_fn_append_rule \
7263 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7264 @cd $ac_dir && \$(MAKE) msg.pot
7265 $ac_dir/msg.pot: tools/wmc include"
7267 if wine_fn_has_flag po
7268 then
7269 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7270 wine_fn_append_rule \
7271 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7272 @cd $ac_dir && \$(MAKE) rsrc.pot
7273 $ac_dir/rsrc.pot: tools/wrc include"
7277 wine_fn_all_rules ()
7279 wine_fn_depend_rules
7280 wine_fn_append_rule \
7281 "all: $ac_dir
7282 .PHONY: $ac_dir
7283 $ac_dir: $ac_dir/Makefile dummy
7284 @cd $ac_dir && \$(MAKE)"
7287 wine_fn_install_rules ()
7289 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7291 wine_fn_append_rule \
7292 ".PHONY: $ac_dir/install $ac_dir/uninstall
7293 $ac_dir/install:: $ac_dir
7294 @cd $ac_dir && \$(MAKE) install
7295 $ac_dir/uninstall:: $ac_dir/Makefile
7296 @cd $ac_dir && \$(MAKE) uninstall
7297 install:: $ac_dir/install
7298 __uninstall__: $ac_dir/uninstall"
7300 if wine_fn_has_flag install-lib
7301 then
7302 wine_fn_append_rule \
7303 ".PHONY: $ac_dir/install-lib
7304 $ac_dir/install-lib:: $ac_dir
7305 @cd $ac_dir && \$(MAKE) install-lib
7306 install-lib:: $ac_dir/install-lib"
7309 if wine_fn_has_flag install-dev
7310 then
7311 wine_fn_append_rule \
7312 ".PHONY: $ac_dir/install-dev
7313 $ac_dir/install-dev:: $ac_dir
7314 @cd $ac_dir && \$(MAKE) install-dev
7315 install-dev:: $ac_dir/install-dev"
7319 wine_fn_clean_rules ()
7321 ac_clean=$@
7322 ac_extraclean="$ac_dir/Makefile"
7323 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7324 case $ac_dir in
7325 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7326 esac
7328 if wine_fn_has_flag clean
7329 then
7330 wine_fn_append_rule \
7331 "__clean__: $ac_dir/clean
7332 .PHONY: $ac_dir/clean
7333 $ac_dir/clean: $ac_dir/Makefile
7334 @cd $ac_dir && \$(MAKE) clean
7335 \$(RM) $ac_extraclean"
7336 else
7337 wine_fn_append_rule \
7338 "__clean__: $ac_dir/clean
7339 .PHONY: $ac_dir/clean
7340 $ac_dir/clean: dummy
7341 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7345 wine_fn_disabled_rules ()
7347 ac_clean=$@
7348 ac_extraclean="$ac_dir/Makefile"
7349 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7351 wine_fn_append_rule \
7352 "__clean__: $ac_dir/clean
7353 .PHONY: $ac_dir/clean
7354 $ac_dir/clean: dummy
7355 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7358 wine_fn_config_makefile ()
7360 ac_dir=$1
7361 ac_enable=$2
7362 ac_flags=$3
7364 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7365 wine_fn_disabled_rules; return
7367 wine_fn_all_rules
7368 wine_fn_install_rules
7369 wine_fn_clean_rules
7372 wine_fn_config_lib ()
7374 ac_name=$1
7375 ac_flags=$2
7376 ac_dir=dlls/$ac_name
7377 ac_deps="include"
7379 if test "x$enable_tools" = xno; then :
7381 else
7382 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7384 wine_fn_all_rules
7385 wine_fn_clean_rules
7387 wine_fn_append_rule \
7388 ".PHONY: $ac_dir/install $ac_dir/uninstall
7389 $ac_dir/install:: $ac_dir
7390 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7391 $ac_dir/uninstall::
7392 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7393 install install-dev:: $ac_dir/install
7394 __uninstall__: $ac_dir/uninstall
7395 __builddeps__: $ac_dir
7396 $ac_dir: $ac_deps"
7399 wine_fn_config_dll ()
7401 ac_name=$1
7402 ac_dir=dlls/$ac_name
7403 ac_enable=$2
7404 ac_flags=$3
7405 ac_implib=${4:-$ac_name}
7406 ac_file=$ac_dir/lib$ac_implib
7407 ac_dll=$ac_name
7408 ac_deps="include"
7409 ac_implibflags=""
7411 if test "x$enable_tools" = xno; then :
7413 else
7414 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7416 case $ac_name in
7417 *16) ac_implibflags=" -m16" ;;
7418 *.*) ;;
7419 *) ac_dll=$ac_dll.dll ;;
7420 esac
7422 ac_clean=
7423 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7424 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7425 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7426 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7428 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7429 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7430 then
7431 wine_fn_depend_rules
7432 wine_fn_clean_rules $ac_clean
7433 else
7434 wine_fn_disabled_rules $ac_clean
7435 return
7437 else
7438 wine_fn_all_rules
7439 wine_fn_clean_rules $ac_clean
7440 wine_fn_append_rule \
7441 "$ac_dir: __builddeps__
7442 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7443 @cd $ac_dir && \$(MAKE) \$@
7444 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7445 install install-lib:: $ac_dir/install-lib
7446 __uninstall__: $ac_dir/uninstall"
7447 if test -n "$DLLEXT"
7448 then
7449 wine_fn_append_rule \
7450 "$ac_dir/install-lib:: $ac_dir
7451 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7452 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7453 $ac_dir/uninstall::
7454 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7455 else
7456 wine_fn_append_rule \
7457 "$ac_dir/install-lib:: $ac_dir
7458 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7459 $ac_dir/uninstall::
7460 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7463 wine_fn_pot_rules
7466 if wine_fn_has_flag staticimplib
7467 then
7468 wine_fn_append_rule \
7469 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7470 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7471 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7472 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7473 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7474 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7475 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7476 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7477 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7478 $ac_dir/uninstall::
7479 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7480 install install-dev:: $ac_dir/install-dev
7481 __uninstall__: $ac_dir/uninstall"
7483 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7484 then
7485 wine_fn_append_rule \
7486 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7487 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7488 $ac_dir/uninstall::
7489 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7492 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7493 then
7494 wine_fn_append_rule \
7495 "__builddeps__: $ac_file.cross.a
7496 $ac_file.cross.a: $ac_dir/Makefile dummy
7497 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7500 elif wine_fn_has_flag implib
7501 then
7502 wine_fn_append_rule \
7503 "__builddeps__: $ac_file.$IMPLIBEXT
7504 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7505 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7506 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7507 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7508 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7509 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7510 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7511 $ac_dir/uninstall::
7512 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7513 install install-dev:: $ac_dir/install-dev
7514 __uninstall__: $ac_dir/uninstall"
7515 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7516 then
7517 wine_fn_append_rule \
7518 "__builddeps__: $ac_file.cross.a
7519 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7520 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7523 if test "$ac_name" != "$ac_implib"
7524 then
7525 wine_fn_append_rule \
7526 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7527 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7528 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7529 clean::
7530 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7531 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7532 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7533 then
7534 wine_fn_append_rule \
7535 "__builddeps__: dlls/lib$ac_implib.cross.a
7536 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7537 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7538 clean::
7539 \$(RM) dlls/lib$ac_implib.cross.a"
7540 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7546 wine_fn_config_program ()
7548 ac_name=$1
7549 ac_dir=programs/$ac_name
7550 ac_enable=$2
7551 ac_flags=$3
7552 ac_program=$ac_name
7554 case $ac_name in
7555 *.*) ;;
7556 *) ac_program=$ac_program.exe ;;
7557 esac
7559 ac_clean=
7560 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7561 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7562 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7563 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7565 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7566 wine_fn_disabled_rules $ac_clean; return
7569 wine_fn_all_rules
7570 wine_fn_clean_rules $ac_clean
7571 wine_fn_append_rule "$ac_dir: __builddeps__"
7572 wine_fn_pot_rules
7574 wine_fn_has_flag install || return
7575 wine_fn_append_rule \
7576 ".PHONY: $ac_dir/install $ac_dir/uninstall
7577 install install-lib:: $ac_dir/install
7578 __uninstall__: $ac_dir/uninstall"
7580 if test -n "$DLLEXT"
7581 then
7582 wine_fn_append_rule \
7583 "$ac_dir/install:: $ac_dir
7584 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7585 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7586 $ac_dir/uninstall::
7587 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7589 if test -z "$with_wine64" && wine_fn_has_flag installbin
7590 then
7591 wine_fn_append_rule \
7592 "$ac_dir/install:: __tooldeps__
7593 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7594 $ac_dir/uninstall::
7595 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7597 else
7598 wine_fn_append_rule \
7599 "$ac_dir/install:: $ac_dir
7600 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7601 $ac_dir/uninstall::
7602 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7605 if test -z "$with_wine64" && wine_fn_has_flag manpage
7606 then
7607 wine_fn_append_rule \
7608 "$ac_dir/install:: $ac_dir
7609 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7610 $ac_dir/uninstall::
7611 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7615 wine_fn_config_test ()
7617 ac_dir=$1
7618 ac_name=$2
7619 ac_flags=$3
7621 ac_clean=
7622 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7623 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7625 if test "x$enable_tests" = xno; then :
7626 wine_fn_disabled_rules $ac_clean; return
7629 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7630 wine_fn_all_rules
7631 wine_fn_clean_rules $ac_clean
7633 wine_fn_append_rule \
7634 "$ac_dir: programs/winetest/Makefile __builddeps__
7635 programs/winetest: $ac_dir
7636 check test: $ac_dir/test
7637 .PHONY: $ac_dir/test
7638 $ac_dir/test: dummy
7639 @cd $ac_dir && \$(MAKE) test
7640 testclean::
7641 \$(RM) $ac_dir/*.ok"
7643 if test -n "$CROSSTARGET"
7644 then
7645 wine_fn_append_rule \
7646 "crosstest: $ac_dir/crosstest
7647 .PHONY: $ac_dir/crosstest
7648 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7649 @cd $ac_dir && \$(MAKE) crosstest"
7653 wine_fn_config_tool ()
7655 ac_dir=$1
7656 ac_flags=$2
7657 if test "x$enable_tools" = xno; then :
7658 return
7661 wine_fn_all_rules
7662 wine_fn_install_rules
7663 wine_fn_clean_rules
7665 wine_fn_append_rule "__tooldeps__: $ac_dir"
7666 wine_fn_append_rule "$ac_dir: libs/port"
7667 case $ac_dir in
7668 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7669 esac
7672 wine_fn_config_symlink ()
7674 ac_linkdir=
7675 if test "x$1" = "x-d"
7676 then
7677 ac_linkdir=$2
7678 shift; shift
7680 ac_links=$@
7681 wine_fn_append_rule \
7682 "$ac_links:
7683 @./config.status \$@
7684 distclean::
7685 \$(RM) $ac_links"
7686 for f in $ac_links; do wine_fn_ignore_file $f; done
7687 test -n "$ac_linkdir" || return
7688 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7691 wine_binary="wine"
7692 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7693 loader_programs="$wine_binary wine-installed"
7694 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7696 LOADER_RULES="
7697 all: wine.inf
7699 install install-lib:: wine-installed
7700 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7702 uninstall::
7703 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7707 case $host_os in
7708 cygwin*|mingw32*)
7709 if test -n "$ac_tool_prefix"; then
7710 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7711 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7713 $as_echo_n "checking for $ac_word... " >&6; }
7714 if ${ac_cv_prog_DLLTOOL+:} false; then :
7715 $as_echo_n "(cached) " >&6
7716 else
7717 if test -n "$DLLTOOL"; then
7718 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7719 else
7720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7721 for as_dir in $PATH
7723 IFS=$as_save_IFS
7724 test -z "$as_dir" && as_dir=.
7725 for ac_exec_ext in '' $ac_executable_extensions; do
7726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7727 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7729 break 2
7731 done
7732 done
7733 IFS=$as_save_IFS
7737 DLLTOOL=$ac_cv_prog_DLLTOOL
7738 if test -n "$DLLTOOL"; then
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7740 $as_echo "$DLLTOOL" >&6; }
7741 else
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7743 $as_echo "no" >&6; }
7748 if test -z "$ac_cv_prog_DLLTOOL"; then
7749 ac_ct_DLLTOOL=$DLLTOOL
7750 # Extract the first word of "dlltool", so it can be a program name with args.
7751 set dummy dlltool; ac_word=$2
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7753 $as_echo_n "checking for $ac_word... " >&6; }
7754 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7755 $as_echo_n "(cached) " >&6
7756 else
7757 if test -n "$ac_ct_DLLTOOL"; then
7758 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7759 else
7760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7761 for as_dir in $PATH
7763 IFS=$as_save_IFS
7764 test -z "$as_dir" && as_dir=.
7765 for ac_exec_ext in '' $ac_executable_extensions; do
7766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7767 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7769 break 2
7771 done
7772 done
7773 IFS=$as_save_IFS
7777 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7778 if test -n "$ac_ct_DLLTOOL"; then
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7780 $as_echo "$ac_ct_DLLTOOL" >&6; }
7781 else
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7783 $as_echo "no" >&6; }
7786 if test "x$ac_ct_DLLTOOL" = x; then
7787 DLLTOOL="false"
7788 else
7789 case $cross_compiling:$ac_tool_warned in
7790 yes:)
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7793 ac_tool_warned=yes ;;
7794 esac
7795 DLLTOOL=$ac_ct_DLLTOOL
7797 else
7798 DLLTOOL="$ac_cv_prog_DLLTOOL"
7801 LIBEXT="dll"
7802 DLLEXT=""
7803 IMPLIBEXT="a"
7804 STATIC_IMPLIBEXT="a"
7805 enable_iphlpapi=${enable_iphlpapi:-no}
7806 enable_kernel32=${enable_kernel32:-no}
7807 enable_msvcrt=${enable_msvcrt:-no}
7808 enable_ntdll=${enable_ntdll:-no}
7809 enable_ws2_32=${enable_ws2_32:-no}
7810 enable_loader=${enable_loader:-no}
7811 enable_server=${enable_server:-no}
7812 with_x=${with_x:-no}
7813 with_pthread=${with_pthread:-no}
7815 crtlibs=""
7816 case $host_os in
7817 mingw32*)
7818 crtlibs="-lmsvcrt"
7819 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7821 esac
7823 libwine_targets="libwine.dll libwine.a"
7824 LIBWINE_RULES="
7825 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7827 all: libwine.dll libwine.a
7829 libwine.a: \$(srcdir)/wine.def
7830 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7832 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7833 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7835 install install-lib:: libwine.dll
7836 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7838 install install-dev:: libwine.a
7839 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7841 uninstall::
7842 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7847 darwin*|macosx*)
7848 LIBEXT="dylib"
7849 DLLFLAGS="$DLLFLAGS -fPIC"
7850 LIBWINE_LDFLAGS="-multiply_defined suppress"
7851 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7852 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7853 COREFOUNDATION_LIBS="-framework CoreFoundation"
7855 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7857 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7859 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7861 CORESERVICES_LIBS="-framework CoreServices"
7863 APPKIT_LIBS="-framework AppKit"
7865 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7867 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7868 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7869 $as_echo_n "(cached) " >&6
7870 else
7871 ac_wine_try_cflags_saved=$CFLAGS
7872 CFLAGS="$CFLAGS -Wl,-no_pie"
7873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7874 /* end confdefs.h. */
7875 int main(int argc, char **argv) { return 0; }
7876 _ACEOF
7877 if ac_fn_c_try_link "$LINENO"; then :
7878 ac_cv_cflags__Wl__no_pie=yes
7879 else
7880 ac_cv_cflags__Wl__no_pie=no
7882 rm -f core conftest.err conftest.$ac_objext \
7883 conftest$ac_exeext conftest.$ac_ext
7884 CFLAGS=$ac_wine_try_cflags_saved
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7887 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7888 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7889 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7891 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7892 then
7893 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7896 if test "$ac_cv_header_Security_Security_h" = "yes"
7897 then
7898 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7900 ac_save_LIBS="$LIBS"
7901 LIBS="$LIBS $SECURITY_LIBS"
7902 for ac_func in SSLCopyPeerCertificates
7903 do :
7904 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7905 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7906 cat >>confdefs.h <<_ACEOF
7907 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7908 _ACEOF
7911 done
7913 LIBS="$ac_save_LIBS"
7914 with_gnutls=${with_gnutls:-no}
7916 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7917 then
7918 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7919 then
7920 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7922 else
7923 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7926 ac_save_LIBS="$LIBS"
7927 LIBS="$LIBS $COREAUDIO_LIBS"
7928 for ac_func in AUGraphAddNode
7929 do :
7930 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7931 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7932 cat >>confdefs.h <<_ACEOF
7933 #define HAVE_AUGRAPHADDNODE 1
7934 _ACEOF
7937 done
7939 LIBS="$ac_save_LIBS"
7941 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7942 then
7943 OPENAL_LIBS="-framework OpenAL"
7946 cat >>confdefs.h <<_ACEOF
7947 #define HAVE_OPENAL 1
7948 _ACEOF
7950 ac_cv_lib_openal=yes
7952 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7953 then
7954 OPENCL_LIBS="-framework OpenCL"
7956 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7958 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7959 then
7960 ac_save_LIBS="$LIBS"
7961 LIBS="$LIBS $IOKIT_LIBS"
7962 for ac_func in IOHIDManagerCreate
7963 do :
7964 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7965 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7966 cat >>confdefs.h <<_ACEOF
7967 #define HAVE_IOHIDMANAGERCREATE 1
7968 _ACEOF
7971 done
7973 LIBS="$ac_save_LIBS"
7975 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7976 then
7977 ac_save_LIBS="$LIBS"
7978 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7980 $as_echo_n "checking for the QuickTime framework... " >&6; }
7981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7982 /* end confdefs.h. */
7983 #include <QuickTime/ImageCompression.h>
7985 main ()
7987 CodecManagerVersion(NULL);
7989 return 0;
7991 _ACEOF
7992 if ac_fn_c_try_link "$LINENO"; then :
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7994 $as_echo "yes" >&6; }
7995 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7997 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7998 else
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8000 $as_echo "no" >&6; }
8001 ac_cv_header_QuickTime_ImageCompression_h=no
8003 rm -f core conftest.err conftest.$ac_objext \
8004 conftest$ac_exeext conftest.$ac_ext
8005 LIBS="$ac_save_LIBS"
8007 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8008 then
8009 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8011 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8012 then
8013 CARBON_LIBS="-framework Carbon"
8017 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8018 then
8019 ac_save_LIBS="$LIBS"
8020 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8021 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8022 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8023 enable_winemac_drv=${enable_winemac_drv:-yes}
8026 LIBS="$ac_save_LIBS"
8029 if test "x$enable_win16" = "xyes"
8030 then
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8032 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8033 if test "$cross_compiling" = yes; then :
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8035 $as_echo "cross-compiling, assuming yes" >&6; }
8036 else
8037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8038 /* end confdefs.h. */
8039 asm(".text\n"
8040 "bad:\tnop;nop\n"
8041 "good:\tnop;nop\n\t"
8042 ".globl _testfunc\n"
8043 "_testfunc:\tcallw good");
8044 extern void testfunc();
8046 main ()
8048 unsigned short *p = (unsigned short *)testfunc;
8049 return p[0] != 0xe866 || p[1] != 0xfffa
8051 return 0;
8053 _ACEOF
8054 if ac_fn_c_try_run "$LINENO"; then :
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8056 $as_echo "yes" >&6; }
8057 else
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8060 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
8062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8063 conftest.$ac_objext conftest.beam conftest.$ac_ext
8068 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8069 LIBWINE_RULES="
8070 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8072 all: libwine.dylib
8074 libwine.$libwine_version.dylib: \$(OBJS)
8075 \$(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 \$@
8077 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8078 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8080 libwine.dylib: libwine.$libwine_soversion.dylib
8081 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8083 install install-lib:: libwine.$libwine_version.dylib
8084 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8085 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8087 install install-dev::
8088 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8090 uninstall::
8091 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8095 as_fn_append LOADER_RULES "
8096 $wine_binary: main.o wine_info.plist
8097 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8099 wine-installed: main.o wine_info.plist
8100 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8104 linux-android*)
8105 DLLFLAGS="$DLLFLAGS -fPIC"
8106 DLLPREFIX="lib"
8107 LDEXECFLAGS=""
8108 dlldir="\${libdir}"
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8110 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8111 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8112 $as_echo_n "(cached) " >&6
8113 else
8114 ac_wine_try_cflags_saved=$CFLAGS
8115 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8117 /* end confdefs.h. */
8118 int main(int argc, char **argv) { return 0; }
8119 _ACEOF
8120 if ac_fn_c_try_link "$LINENO"; then :
8121 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8122 else
8123 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8125 rm -f core conftest.err conftest.$ac_objext \
8126 conftest$ac_exeext conftest.$ac_ext
8127 CFLAGS=$ac_wine_try_cflags_saved
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8130 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8131 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8132 LDEXECFLAGS="-Wl,--export-dynamic"
8134 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8136 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8137 if eval \${$as_ac_var+:} false; then :
8138 $as_echo_n "(cached) " >&6
8139 else
8140 ac_wine_try_cflags_saved=$CFLAGS
8141 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8143 /* end confdefs.h. */
8144 int main(int argc, char **argv) { return 0; }
8145 _ACEOF
8146 if ac_fn_c_try_link "$LINENO"; then :
8147 eval "$as_ac_var=yes"
8148 else
8149 eval "$as_ac_var=no"
8151 rm -f core conftest.err conftest.$ac_objext \
8152 conftest$ac_exeext conftest.$ac_ext
8153 CFLAGS=$ac_wine_try_cflags_saved
8155 eval ac_res=\$$as_ac_var
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8157 $as_echo "$ac_res" >&6; }
8158 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8159 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8160 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8161 else
8162 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8164 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8165 if eval \${$as_ac_var+:} false; then :
8166 $as_echo_n "(cached) " >&6
8167 else
8168 ac_wine_try_cflags_saved=$CFLAGS
8169 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8171 /* end confdefs.h. */
8172 int main(int argc, char **argv) { return 0; }
8173 _ACEOF
8174 if ac_fn_c_try_link "$LINENO"; then :
8175 eval "$as_ac_var=yes"
8176 else
8177 eval "$as_ac_var=no"
8179 rm -f core conftest.err conftest.$ac_objext \
8180 conftest$ac_exeext conftest.$ac_ext
8181 CFLAGS=$ac_wine_try_cflags_saved
8183 eval ac_res=\$$as_ac_var
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8185 $as_echo "$ac_res" >&6; }
8186 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8187 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8188 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8193 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8194 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8195 $as_echo_n "(cached) " >&6
8196 else
8197 ac_wine_try_cflags_saved=$CFLAGS
8198 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8200 /* end confdefs.h. */
8201 int main(int argc, char **argv) { return 0; }
8202 _ACEOF
8203 if ac_fn_c_try_link "$LINENO"; then :
8204 ac_cv_cflags__Wl___enable_new_dtags=yes
8205 else
8206 ac_cv_cflags__Wl___enable_new_dtags=no
8208 rm -f core conftest.err conftest.$ac_objext \
8209 conftest$ac_exeext conftest.$ac_ext
8210 CFLAGS=$ac_wine_try_cflags_saved
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8213 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8214 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8215 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8218 case $host_cpu in
8219 *i[3456789]86* | x86_64)
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8221 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8222 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8223 $as_echo_n "(cached) " >&6
8224 else
8225 ac_wine_try_cflags_saved=$CFLAGS
8226 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8228 /* end confdefs.h. */
8229 int main(int argc, char **argv) { return 0; }
8230 _ACEOF
8231 if ac_fn_c_try_link "$LINENO"; then :
8232 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8233 else
8234 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8236 rm -f core conftest.err conftest.$ac_objext \
8237 conftest$ac_exeext conftest.$ac_ext
8238 CFLAGS=$ac_wine_try_cflags_saved
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8241 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8242 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8243 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8246 esac
8248 libwine_targets="libwine.so"
8249 LIBWINE_RULES="
8250 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8252 all: libwine.so
8254 libwine.so: \$(OBJS)
8255 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8257 install install-lib:: libwine.so
8258 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8260 uninstall::
8261 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8265 as_fn_append LOADER_RULES "
8266 $wine_binary: main.o
8267 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8269 wine-installed: main.o
8270 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8275 DLLFLAGS="$DLLFLAGS -fPIC"
8276 LDEXECFLAGS=""
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8278 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8279 if ${ac_cv_c_dll_gnuelf+:} false; then :
8280 $as_echo_n "(cached) " >&6
8281 else
8282 ac_wine_try_cflags_saved=$CFLAGS
8283 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8285 /* end confdefs.h. */
8286 void myfunc() {}
8287 _ACEOF
8288 if ac_fn_c_try_link "$LINENO"; then :
8289 ac_cv_c_dll_gnuelf="yes"
8290 else
8291 ac_cv_c_dll_gnuelf="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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8298 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8299 if test "$ac_cv_c_dll_gnuelf" = "yes"
8300 then
8301 LDSHARED="\$(CC) -shared"
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8303 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8304 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8305 $as_echo_n "(cached) " >&6
8306 else
8307 ac_wine_try_cflags_saved=$CFLAGS
8308 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8311 int main(int argc, char **argv) { return 0; }
8312 _ACEOF
8313 if ac_fn_c_try_link "$LINENO"; then :
8314 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8315 else
8316 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8318 rm -f core conftest.err conftest.$ac_objext \
8319 conftest$ac_exeext conftest.$ac_ext
8320 CFLAGS=$ac_wine_try_cflags_saved
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8323 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8324 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8325 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8326 else
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8328 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8329 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8330 $as_echo_n "(cached) " >&6
8331 else
8332 ac_wine_try_cflags_saved=$CFLAGS
8333 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8335 /* end confdefs.h. */
8336 int main(int argc, char **argv) { return 0; }
8337 _ACEOF
8338 if ac_fn_c_try_link "$LINENO"; then :
8339 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8340 else
8341 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8343 rm -f core conftest.err conftest.$ac_objext \
8344 conftest$ac_exeext conftest.$ac_ext
8345 CFLAGS=$ac_wine_try_cflags_saved
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8348 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8349 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8350 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8354 echo '{ global: *; };' >conftest.map
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8356 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8357 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8358 $as_echo_n "(cached) " >&6
8359 else
8360 ac_wine_try_cflags_saved=$CFLAGS
8361 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8363 /* end confdefs.h. */
8364 int main(int argc, char **argv) { return 0; }
8365 _ACEOF
8366 if ac_fn_c_try_link "$LINENO"; then :
8367 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8368 else
8369 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8371 rm -f core conftest.err conftest.$ac_objext \
8372 conftest$ac_exeext conftest.$ac_ext
8373 CFLAGS=$ac_wine_try_cflags_saved
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8376 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8377 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8378 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8380 rm -f conftest.map
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8383 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8384 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8385 $as_echo_n "(cached) " >&6
8386 else
8387 ac_wine_try_cflags_saved=$CFLAGS
8388 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8390 /* end confdefs.h. */
8391 int main(int argc, char **argv) { return 0; }
8392 _ACEOF
8393 if ac_fn_c_try_link "$LINENO"; then :
8394 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8395 else
8396 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8398 rm -f core conftest.err conftest.$ac_objext \
8399 conftest$ac_exeext conftest.$ac_ext
8400 CFLAGS=$ac_wine_try_cflags_saved
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8403 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8404 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8405 LDEXECFLAGS="-Wl,--export-dynamic"
8408 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8410 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8411 if eval \${$as_ac_var+:} false; then :
8412 $as_echo_n "(cached) " >&6
8413 else
8414 ac_wine_try_cflags_saved=$CFLAGS
8415 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8417 /* end confdefs.h. */
8418 int main(int argc, char **argv) { return 0; }
8419 _ACEOF
8420 if ac_fn_c_try_link "$LINENO"; then :
8421 eval "$as_ac_var=yes"
8422 else
8423 eval "$as_ac_var=no"
8425 rm -f core conftest.err conftest.$ac_objext \
8426 conftest$ac_exeext conftest.$ac_ext
8427 CFLAGS=$ac_wine_try_cflags_saved
8429 eval ac_res=\$$as_ac_var
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8431 $as_echo "$ac_res" >&6; }
8432 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8433 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8434 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8435 else
8436 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8438 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8439 if eval \${$as_ac_var+:} false; then :
8440 $as_echo_n "(cached) " >&6
8441 else
8442 ac_wine_try_cflags_saved=$CFLAGS
8443 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8446 int main(int argc, char **argv) { return 0; }
8447 _ACEOF
8448 if ac_fn_c_try_link "$LINENO"; then :
8449 eval "$as_ac_var=yes"
8450 else
8451 eval "$as_ac_var=no"
8453 rm -f core conftest.err conftest.$ac_objext \
8454 conftest$ac_exeext conftest.$ac_ext
8455 CFLAGS=$ac_wine_try_cflags_saved
8457 eval ac_res=\$$as_ac_var
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8459 $as_echo "$ac_res" >&6; }
8460 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8461 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8462 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8467 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8468 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 ac_wine_try_cflags_saved=$CFLAGS
8472 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474 /* end confdefs.h. */
8475 int main(int argc, char **argv) { return 0; }
8476 _ACEOF
8477 if ac_fn_c_try_link "$LINENO"; then :
8478 ac_cv_cflags__Wl___enable_new_dtags=yes
8479 else
8480 ac_cv_cflags__Wl___enable_new_dtags=no
8482 rm -f core conftest.err conftest.$ac_objext \
8483 conftest$ac_exeext conftest.$ac_ext
8484 CFLAGS=$ac_wine_try_cflags_saved
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8487 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8488 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8489 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8492 case $host_cpu in
8493 *i[3456789]86* | x86_64)
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8495 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8496 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 ac_wine_try_cflags_saved=$CFLAGS
8500 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8502 /* end confdefs.h. */
8503 int main(int argc, char **argv) { return 0; }
8504 _ACEOF
8505 if ac_fn_c_try_link "$LINENO"; then :
8506 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8507 else
8508 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8510 rm -f core conftest.err conftest.$ac_objext \
8511 conftest$ac_exeext conftest.$ac_ext
8512 CFLAGS=$ac_wine_try_cflags_saved
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8515 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8516 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8517 case $host_os in
8518 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8519 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8520 esac
8523 # Extract the first word of "prelink", so it can be a program name with args.
8524 set dummy prelink; ac_word=$2
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8526 $as_echo_n "checking for $ac_word... " >&6; }
8527 if ${ac_cv_path_PRELINK+:} false; then :
8528 $as_echo_n "(cached) " >&6
8529 else
8530 case $PRELINK in
8531 [\\/]* | ?:[\\/]*)
8532 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8536 for as_dir in /sbin /usr/sbin $PATH
8538 IFS=$as_save_IFS
8539 test -z "$as_dir" && as_dir=.
8540 for ac_exec_ext in '' $ac_executable_extensions; do
8541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8542 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8544 break 2
8546 done
8547 done
8548 IFS=$as_save_IFS
8550 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8552 esac
8554 PRELINK=$ac_cv_path_PRELINK
8555 if test -n "$PRELINK"; then
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8557 $as_echo "$PRELINK" >&6; }
8558 else
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8560 $as_echo "no" >&6; }
8564 if test "x$PRELINK" = xfalse
8565 then
8566 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8569 esac
8571 else
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8573 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8574 if ${ac_cv_c_dll_unixware+:} false; then :
8575 $as_echo_n "(cached) " >&6
8576 else
8577 ac_wine_try_cflags_saved=$CFLAGS
8578 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8580 /* end confdefs.h. */
8581 void myfunc() {}
8582 _ACEOF
8583 if ac_fn_c_try_link "$LINENO"; then :
8584 ac_cv_c_dll_unixware="yes"
8585 else
8586 ac_cv_c_dll_unixware="no"
8588 rm -f core conftest.err conftest.$ac_objext \
8589 conftest$ac_exeext conftest.$ac_ext
8590 CFLAGS=$ac_wine_try_cflags_saved
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8593 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8594 if test "$ac_cv_c_dll_unixware" = "yes"
8595 then
8596 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8599 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8600 LIBWINE_RULES="
8601 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8603 all: libwine.so
8605 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8606 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8608 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8609 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8611 libwine.so: libwine.so.$libwine_soversion
8612 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8614 install install-lib:: libwine.so.$libwine_version
8615 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8616 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8618 install install-dev::
8619 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8621 uninstall::
8622 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8626 as_fn_append LOADER_RULES "
8627 $wine_binary: main.o
8628 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8630 wine-installed: main.o
8631 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8634 esac
8636 as_fn_append LIBWINE_RULES "
8637 EXTRA_TARGETS = $libwine_targets
8640 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8641 enable_winemac_drv=${enable_winemac_drv:-no}
8643 CROSSTARGET=""
8645 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8646 then
8647 case "$host_cpu" in
8648 i[3456789]86*)
8649 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
8650 mingw32-gcc" ;;
8651 x86_64)
8652 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 " ;;
8654 ac_prefix_list="" ;;
8655 esac
8656 for ac_prog in $ac_prefix_list
8658 # Extract the first word of "$ac_prog", so it can be a program name with args.
8659 set dummy $ac_prog; ac_word=$2
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8661 $as_echo_n "checking for $ac_word... " >&6; }
8662 if ${ac_cv_prog_CROSSCC+:} false; then :
8663 $as_echo_n "(cached) " >&6
8664 else
8665 if test -n "$CROSSCC"; then
8666 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8667 else
8668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8669 for as_dir in $PATH
8671 IFS=$as_save_IFS
8672 test -z "$as_dir" && as_dir=.
8673 for ac_exec_ext in '' $ac_executable_extensions; do
8674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8675 ac_cv_prog_CROSSCC="$ac_prog"
8676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8677 break 2
8679 done
8680 done
8681 IFS=$as_save_IFS
8685 CROSSCC=$ac_cv_prog_CROSSCC
8686 if test -n "$CROSSCC"; then
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8688 $as_echo "$CROSSCC" >&6; }
8689 else
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8691 $as_echo "no" >&6; }
8695 test -n "$CROSSCC" && break
8696 done
8697 test -n "$CROSSCC" || CROSSCC="false"
8699 if test "$CROSSCC" != "false"
8700 then
8701 ac_save_CC="$CC"
8702 CC="$CROSSCC"
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8704 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8706 /* end confdefs.h. */
8709 main ()
8713 return 0;
8715 _ACEOF
8716 if ac_fn_c_try_compile "$LINENO"; then :
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8718 $as_echo "yes" >&6; }
8719 set x $CROSSCC
8720 shift
8721 while test $# -ge 1
8723 case "$1" in
8724 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8725 esac
8726 shift
8727 done
8728 else
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8730 $as_echo "no" >&6; }
8732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8733 CC="$ac_save_CC"
8738 if test "$ac_cv_header_pthread_h" = "yes"
8739 then
8740 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8741 if test "x$ac_cv_func_pthread_create" = xyes; then :
8743 else
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8745 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8746 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8747 $as_echo_n "(cached) " >&6
8748 else
8749 ac_check_lib_save_LIBS=$LIBS
8750 LIBS="-lpthread $LIBS"
8751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8752 /* end confdefs.h. */
8754 /* Override any GCC internal prototype to avoid an error.
8755 Use char because int might match the return type of a GCC
8756 builtin and then its argument prototype would still apply. */
8757 #ifdef __cplusplus
8758 extern "C"
8759 #endif
8760 char pthread_create ();
8762 main ()
8764 return pthread_create ();
8766 return 0;
8768 _ACEOF
8769 if ac_fn_c_try_link "$LINENO"; then :
8770 ac_cv_lib_pthread_pthread_create=yes
8771 else
8772 ac_cv_lib_pthread_pthread_create=no
8774 rm -f core conftest.err conftest.$ac_objext \
8775 conftest$ac_exeext conftest.$ac_ext
8776 LIBS=$ac_check_lib_save_LIBS
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8779 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8780 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8781 PTHREAD_LIBS="-lpthread"
8788 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8789 case "x$with_pthread" in
8790 xno) ;;
8791 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8792 Wine cannot support threads without libpthread.
8793 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8794 esac
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8799 $as_echo_n "checking for X... " >&6; }
8802 # Check whether --with-x was given.
8803 if test "${with_x+set}" = set; then :
8804 withval=$with_x;
8807 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8808 if test "x$with_x" = xno; then
8809 # The user explicitly disabled X.
8810 have_x=disabled
8811 else
8812 case $x_includes,$x_libraries in #(
8813 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8814 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8815 $as_echo_n "(cached) " >&6
8816 else
8817 # One or both of the vars are not set, and there is no cached value.
8818 ac_x_includes=no ac_x_libraries=no
8819 rm -f -r conftest.dir
8820 if mkdir conftest.dir; then
8821 cd conftest.dir
8822 cat >Imakefile <<'_ACEOF'
8823 incroot:
8824 @echo incroot='${INCROOT}'
8825 usrlibdir:
8826 @echo usrlibdir='${USRLIBDIR}'
8827 libdir:
8828 @echo libdir='${LIBDIR}'
8829 _ACEOF
8830 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8831 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8832 for ac_var in incroot usrlibdir libdir; do
8833 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8834 done
8835 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8836 for ac_extension in a so sl dylib la dll; do
8837 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8838 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8839 ac_im_usrlibdir=$ac_im_libdir; break
8841 done
8842 # Screen out bogus values from the imake configuration. They are
8843 # bogus both because they are the default anyway, and because
8844 # using them would break gcc on systems where it needs fixed includes.
8845 case $ac_im_incroot in
8846 /usr/include) ac_x_includes= ;;
8847 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8848 esac
8849 case $ac_im_usrlibdir in
8850 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8851 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8852 esac
8854 cd ..
8855 rm -f -r conftest.dir
8858 # Standard set of common directories for X headers.
8859 # Check X11 before X11Rn because it is often a symlink to the current release.
8860 ac_x_header_dirs='
8861 /usr/X11/include
8862 /usr/X11R7/include
8863 /usr/X11R6/include
8864 /usr/X11R5/include
8865 /usr/X11R4/include
8867 /usr/include/X11
8868 /usr/include/X11R7
8869 /usr/include/X11R6
8870 /usr/include/X11R5
8871 /usr/include/X11R4
8873 /usr/local/X11/include
8874 /usr/local/X11R7/include
8875 /usr/local/X11R6/include
8876 /usr/local/X11R5/include
8877 /usr/local/X11R4/include
8879 /usr/local/include/X11
8880 /usr/local/include/X11R7
8881 /usr/local/include/X11R6
8882 /usr/local/include/X11R5
8883 /usr/local/include/X11R4
8885 /usr/X386/include
8886 /usr/x386/include
8887 /usr/XFree86/include/X11
8889 /usr/include
8890 /usr/local/include
8891 /usr/unsupported/include
8892 /usr/athena/include
8893 /usr/local/x11r5/include
8894 /usr/lpp/Xamples/include
8896 /usr/openwin/include
8897 /usr/openwin/share/include'
8899 if test "$ac_x_includes" = no; then
8900 # Guess where to find include files, by looking for Xlib.h.
8901 # First, try using that file with no special directory specified.
8902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8903 /* end confdefs.h. */
8904 #include <X11/Xlib.h>
8905 _ACEOF
8906 if ac_fn_c_try_cpp "$LINENO"; then :
8907 # We can compile using X headers with no special include directory.
8908 ac_x_includes=
8909 else
8910 for ac_dir in $ac_x_header_dirs; do
8911 if test -r "$ac_dir/X11/Xlib.h"; then
8912 ac_x_includes=$ac_dir
8913 break
8915 done
8917 rm -f conftest.err conftest.i conftest.$ac_ext
8918 fi # $ac_x_includes = no
8920 if test "$ac_x_libraries" = no; then
8921 # Check for the libraries.
8922 # See if we find them without any special options.
8923 # Don't add to $LIBS permanently.
8924 ac_save_LIBS=$LIBS
8925 LIBS="-lX11 $LIBS"
8926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8927 /* end confdefs.h. */
8928 #include <X11/Xlib.h>
8930 main ()
8932 XrmInitialize ()
8934 return 0;
8936 _ACEOF
8937 if ac_fn_c_try_link "$LINENO"; then :
8938 LIBS=$ac_save_LIBS
8939 # We can link X programs with no special library path.
8940 ac_x_libraries=
8941 else
8942 LIBS=$ac_save_LIBS
8943 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8945 # Don't even attempt the hair of trying to link an X program!
8946 for ac_extension in a so sl dylib la dll; do
8947 if test -r "$ac_dir/libX11.$ac_extension"; then
8948 ac_x_libraries=$ac_dir
8949 break 2
8951 done
8952 done
8954 rm -f core conftest.err conftest.$ac_objext \
8955 conftest$ac_exeext conftest.$ac_ext
8956 fi # $ac_x_libraries = no
8958 case $ac_x_includes,$ac_x_libraries in #(
8959 no,* | *,no | *\'*)
8960 # Didn't find X, or a directory has "'" in its name.
8961 ac_cv_have_x="have_x=no";; #(
8963 # Record where we found X for the cache.
8964 ac_cv_have_x="have_x=yes\
8965 ac_x_includes='$ac_x_includes'\
8966 ac_x_libraries='$ac_x_libraries'"
8967 esac
8969 ;; #(
8970 *) have_x=yes;;
8971 esac
8972 eval "$ac_cv_have_x"
8973 fi # $with_x != no
8975 if test "$have_x" != yes; then
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8977 $as_echo "$have_x" >&6; }
8978 no_x=yes
8979 else
8980 # If each of the values was on the command line, it overrides each guess.
8981 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8982 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8983 # Update the cache value to reflect the command line values.
8984 ac_cv_have_x="have_x=yes\
8985 ac_x_includes='$x_includes'\
8986 ac_x_libraries='$x_libraries'"
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8988 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8991 if test "$no_x" = yes; then
8992 # Not all programs may use this symbol, but it does not hurt to define it.
8994 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8996 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8997 else
8998 if test -n "$x_includes"; then
8999 X_CFLAGS="$X_CFLAGS -I$x_includes"
9002 # It would also be nice to do this for all -L options, not just this one.
9003 if test -n "$x_libraries"; then
9004 X_LIBS="$X_LIBS -L$x_libraries"
9005 # For Solaris; some versions of Sun CC require a space after -R and
9006 # others require no space. Words are not sufficient . . . .
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9008 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9009 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9010 ac_xsave_c_werror_flag=$ac_c_werror_flag
9011 ac_c_werror_flag=yes
9012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9013 /* end confdefs.h. */
9016 main ()
9020 return 0;
9022 _ACEOF
9023 if ac_fn_c_try_link "$LINENO"; then :
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9025 $as_echo "no" >&6; }
9026 X_LIBS="$X_LIBS -R$x_libraries"
9027 else
9028 LIBS="$ac_xsave_LIBS -R $x_libraries"
9029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9030 /* end confdefs.h. */
9033 main ()
9037 return 0;
9039 _ACEOF
9040 if ac_fn_c_try_link "$LINENO"; then :
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9042 $as_echo "yes" >&6; }
9043 X_LIBS="$X_LIBS -R $x_libraries"
9044 else
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9046 $as_echo "neither works" >&6; }
9048 rm -f core conftest.err conftest.$ac_objext \
9049 conftest$ac_exeext conftest.$ac_ext
9051 rm -f core conftest.err conftest.$ac_objext \
9052 conftest$ac_exeext conftest.$ac_ext
9053 ac_c_werror_flag=$ac_xsave_c_werror_flag
9054 LIBS=$ac_xsave_LIBS
9057 # Check for system-dependent libraries X programs must link with.
9058 # Do this before checking for the system-independent R6 libraries
9059 # (-lICE), since we may need -lsocket or whatever for X linking.
9061 if test "$ISC" = yes; then
9062 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9063 else
9064 # Martyn Johnson says this is needed for Ultrix, if the X
9065 # libraries were built with DECnet support. And Karl Berry says
9066 # the Alpha needs dnet_stub (dnet does not exist).
9067 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9069 /* end confdefs.h. */
9071 /* Override any GCC internal prototype to avoid an error.
9072 Use char because int might match the return type of a GCC
9073 builtin and then its argument prototype would still apply. */
9074 #ifdef __cplusplus
9075 extern "C"
9076 #endif
9077 char XOpenDisplay ();
9079 main ()
9081 return XOpenDisplay ();
9083 return 0;
9085 _ACEOF
9086 if ac_fn_c_try_link "$LINENO"; then :
9088 else
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9090 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9091 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9092 $as_echo_n "(cached) " >&6
9093 else
9094 ac_check_lib_save_LIBS=$LIBS
9095 LIBS="-ldnet $LIBS"
9096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9097 /* end confdefs.h. */
9099 /* Override any GCC internal prototype to avoid an error.
9100 Use char because int might match the return type of a GCC
9101 builtin and then its argument prototype would still apply. */
9102 #ifdef __cplusplus
9103 extern "C"
9104 #endif
9105 char dnet_ntoa ();
9107 main ()
9109 return dnet_ntoa ();
9111 return 0;
9113 _ACEOF
9114 if ac_fn_c_try_link "$LINENO"; then :
9115 ac_cv_lib_dnet_dnet_ntoa=yes
9116 else
9117 ac_cv_lib_dnet_dnet_ntoa=no
9119 rm -f core conftest.err conftest.$ac_objext \
9120 conftest$ac_exeext conftest.$ac_ext
9121 LIBS=$ac_check_lib_save_LIBS
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9124 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9125 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9126 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9129 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9131 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9132 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9133 $as_echo_n "(cached) " >&6
9134 else
9135 ac_check_lib_save_LIBS=$LIBS
9136 LIBS="-ldnet_stub $LIBS"
9137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9138 /* end confdefs.h. */
9140 /* Override any GCC internal prototype to avoid an error.
9141 Use char because int might match the return type of a GCC
9142 builtin and then its argument prototype would still apply. */
9143 #ifdef __cplusplus
9144 extern "C"
9145 #endif
9146 char dnet_ntoa ();
9148 main ()
9150 return dnet_ntoa ();
9152 return 0;
9154 _ACEOF
9155 if ac_fn_c_try_link "$LINENO"; then :
9156 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9157 else
9158 ac_cv_lib_dnet_stub_dnet_ntoa=no
9160 rm -f core conftest.err conftest.$ac_objext \
9161 conftest$ac_exeext conftest.$ac_ext
9162 LIBS=$ac_check_lib_save_LIBS
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9165 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9166 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9167 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9172 rm -f core conftest.err conftest.$ac_objext \
9173 conftest$ac_exeext conftest.$ac_ext
9174 LIBS="$ac_xsave_LIBS"
9176 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9177 # to get the SysV transport functions.
9178 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9179 # needs -lnsl.
9180 # The nsl library prevents programs from opening the X display
9181 # on Irix 5.2, according to T.E. Dickey.
9182 # The functions gethostbyname, getservbyname, and inet_addr are
9183 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9184 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9185 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9189 if test $ac_cv_func_gethostbyname = no; then
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9191 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9192 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9193 $as_echo_n "(cached) " >&6
9194 else
9195 ac_check_lib_save_LIBS=$LIBS
9196 LIBS="-lnsl $LIBS"
9197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9198 /* end confdefs.h. */
9200 /* Override any GCC internal prototype to avoid an error.
9201 Use char because int might match the return type of a GCC
9202 builtin and then its argument prototype would still apply. */
9203 #ifdef __cplusplus
9204 extern "C"
9205 #endif
9206 char gethostbyname ();
9208 main ()
9210 return gethostbyname ();
9212 return 0;
9214 _ACEOF
9215 if ac_fn_c_try_link "$LINENO"; then :
9216 ac_cv_lib_nsl_gethostbyname=yes
9217 else
9218 ac_cv_lib_nsl_gethostbyname=no
9220 rm -f core conftest.err conftest.$ac_objext \
9221 conftest$ac_exeext conftest.$ac_ext
9222 LIBS=$ac_check_lib_save_LIBS
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9225 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9226 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9227 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9230 if test $ac_cv_lib_nsl_gethostbyname = no; then
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9232 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9233 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9234 $as_echo_n "(cached) " >&6
9235 else
9236 ac_check_lib_save_LIBS=$LIBS
9237 LIBS="-lbsd $LIBS"
9238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9239 /* end confdefs.h. */
9241 /* Override any GCC internal prototype to avoid an error.
9242 Use char because int might match the return type of a GCC
9243 builtin and then its argument prototype would still apply. */
9244 #ifdef __cplusplus
9245 extern "C"
9246 #endif
9247 char gethostbyname ();
9249 main ()
9251 return gethostbyname ();
9253 return 0;
9255 _ACEOF
9256 if ac_fn_c_try_link "$LINENO"; then :
9257 ac_cv_lib_bsd_gethostbyname=yes
9258 else
9259 ac_cv_lib_bsd_gethostbyname=no
9261 rm -f core conftest.err conftest.$ac_objext \
9262 conftest$ac_exeext conftest.$ac_ext
9263 LIBS=$ac_check_lib_save_LIBS
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9266 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9267 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9268 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9274 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9275 # socket/setsockopt and other routines are undefined under SCO ODT
9276 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9277 # on later versions), says Simon Leinen: it contains gethostby*
9278 # variants that don't use the name server (or something). -lsocket
9279 # must be given before -lnsl if both are needed. We assume that
9280 # if connect needs -lnsl, so does gethostbyname.
9281 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9282 if test "x$ac_cv_func_connect" = xyes; then :
9286 if test $ac_cv_func_connect = no; then
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9288 $as_echo_n "checking for connect in -lsocket... " >&6; }
9289 if ${ac_cv_lib_socket_connect+:} false; then :
9290 $as_echo_n "(cached) " >&6
9291 else
9292 ac_check_lib_save_LIBS=$LIBS
9293 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9295 /* end confdefs.h. */
9297 /* Override any GCC internal prototype to avoid an error.
9298 Use char because int might match the return type of a GCC
9299 builtin and then its argument prototype would still apply. */
9300 #ifdef __cplusplus
9301 extern "C"
9302 #endif
9303 char connect ();
9305 main ()
9307 return connect ();
9309 return 0;
9311 _ACEOF
9312 if ac_fn_c_try_link "$LINENO"; then :
9313 ac_cv_lib_socket_connect=yes
9314 else
9315 ac_cv_lib_socket_connect=no
9317 rm -f core conftest.err conftest.$ac_objext \
9318 conftest$ac_exeext conftest.$ac_ext
9319 LIBS=$ac_check_lib_save_LIBS
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9322 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9323 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9324 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9329 # Guillermo Gomez says -lposix is necessary on A/UX.
9330 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9331 if test "x$ac_cv_func_remove" = xyes; then :
9335 if test $ac_cv_func_remove = no; then
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9337 $as_echo_n "checking for remove in -lposix... " >&6; }
9338 if ${ac_cv_lib_posix_remove+:} false; then :
9339 $as_echo_n "(cached) " >&6
9340 else
9341 ac_check_lib_save_LIBS=$LIBS
9342 LIBS="-lposix $LIBS"
9343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9344 /* end confdefs.h. */
9346 /* Override any GCC internal prototype to avoid an error.
9347 Use char because int might match the return type of a GCC
9348 builtin and then its argument prototype would still apply. */
9349 #ifdef __cplusplus
9350 extern "C"
9351 #endif
9352 char remove ();
9354 main ()
9356 return remove ();
9358 return 0;
9360 _ACEOF
9361 if ac_fn_c_try_link "$LINENO"; then :
9362 ac_cv_lib_posix_remove=yes
9363 else
9364 ac_cv_lib_posix_remove=no
9366 rm -f core conftest.err conftest.$ac_objext \
9367 conftest$ac_exeext conftest.$ac_ext
9368 LIBS=$ac_check_lib_save_LIBS
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9371 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9372 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9373 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9378 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9379 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9380 if test "x$ac_cv_func_shmat" = xyes; then :
9384 if test $ac_cv_func_shmat = no; then
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9386 $as_echo_n "checking for shmat in -lipc... " >&6; }
9387 if ${ac_cv_lib_ipc_shmat+:} false; then :
9388 $as_echo_n "(cached) " >&6
9389 else
9390 ac_check_lib_save_LIBS=$LIBS
9391 LIBS="-lipc $LIBS"
9392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9393 /* end confdefs.h. */
9395 /* Override any GCC internal prototype to avoid an error.
9396 Use char because int might match the return type of a GCC
9397 builtin and then its argument prototype would still apply. */
9398 #ifdef __cplusplus
9399 extern "C"
9400 #endif
9401 char shmat ();
9403 main ()
9405 return shmat ();
9407 return 0;
9409 _ACEOF
9410 if ac_fn_c_try_link "$LINENO"; then :
9411 ac_cv_lib_ipc_shmat=yes
9412 else
9413 ac_cv_lib_ipc_shmat=no
9415 rm -f core conftest.err conftest.$ac_objext \
9416 conftest$ac_exeext conftest.$ac_ext
9417 LIBS=$ac_check_lib_save_LIBS
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9420 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9421 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9422 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9428 # Check for libraries that X11R6 Xt/Xaw programs need.
9429 ac_save_LDFLAGS=$LDFLAGS
9430 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9431 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9432 # check for ICE first), but we must link in the order -lSM -lICE or
9433 # we get undefined symbols. So assume we have SM if we have ICE.
9434 # These have to be linked with before -lX11, unlike the other
9435 # libraries we check for below, so use a different variable.
9436 # John Interrante, Karl Berry
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9438 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9439 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9440 $as_echo_n "(cached) " >&6
9441 else
9442 ac_check_lib_save_LIBS=$LIBS
9443 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9445 /* end confdefs.h. */
9447 /* Override any GCC internal prototype to avoid an error.
9448 Use char because int might match the return type of a GCC
9449 builtin and then its argument prototype would still apply. */
9450 #ifdef __cplusplus
9451 extern "C"
9452 #endif
9453 char IceConnectionNumber ();
9455 main ()
9457 return IceConnectionNumber ();
9459 return 0;
9461 _ACEOF
9462 if ac_fn_c_try_link "$LINENO"; then :
9463 ac_cv_lib_ICE_IceConnectionNumber=yes
9464 else
9465 ac_cv_lib_ICE_IceConnectionNumber=no
9467 rm -f core conftest.err conftest.$ac_objext \
9468 conftest$ac_exeext conftest.$ac_ext
9469 LIBS=$ac_check_lib_save_LIBS
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9472 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9473 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9474 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9477 LDFLAGS=$ac_save_LDFLAGS
9482 if test "$have_x" = "yes"
9483 then
9484 ac_save_CPPFLAGS="$CPPFLAGS"
9485 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9488 $as_echo_n "checking for -lX11... " >&6; }
9489 if ${ac_cv_lib_soname_X11+:} false; then :
9490 $as_echo_n "(cached) " >&6
9491 else
9492 ac_check_soname_save_LIBS=$LIBS
9493 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9495 /* end confdefs.h. */
9497 /* Override any GCC internal prototype to avoid an error.
9498 Use char because int might match the return type of a GCC
9499 builtin and then its argument prototype would still apply. */
9500 #ifdef __cplusplus
9501 extern "C"
9502 #endif
9503 char XCreateWindow ();
9505 main ()
9507 return XCreateWindow ();
9509 return 0;
9511 _ACEOF
9512 if ac_fn_c_try_link "$LINENO"; then :
9513 case "$LIBEXT" in
9514 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9515 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'` ;;
9516 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9517 if ${ac_cv_lib_soname_X11:+false} :; then :
9518 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9519 fi ;;
9520 esac
9522 rm -f core conftest.err conftest.$ac_objext \
9523 conftest$ac_exeext conftest.$ac_ext
9524 LIBS=$ac_check_soname_save_LIBS
9526 if ${ac_cv_lib_soname_X11:+false} :; then :
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9528 $as_echo "not found" >&6; }
9530 else
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9532 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9534 cat >>confdefs.h <<_ACEOF
9535 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9536 _ACEOF
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9541 $as_echo_n "checking for -lXext... " >&6; }
9542 if ${ac_cv_lib_soname_Xext+:} false; then :
9543 $as_echo_n "(cached) " >&6
9544 else
9545 ac_check_soname_save_LIBS=$LIBS
9546 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9550 /* Override any GCC internal prototype to avoid an error.
9551 Use char because int might match the return type of a GCC
9552 builtin and then its argument prototype would still apply. */
9553 #ifdef __cplusplus
9554 extern "C"
9555 #endif
9556 char XextCreateExtension ();
9558 main ()
9560 return XextCreateExtension ();
9562 return 0;
9564 _ACEOF
9565 if ac_fn_c_try_link "$LINENO"; then :
9566 case "$LIBEXT" in
9567 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9568 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'` ;;
9569 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9570 if ${ac_cv_lib_soname_Xext:+false} :; then :
9571 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9572 fi ;;
9573 esac
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 LIBS=$ac_check_soname_save_LIBS
9579 if ${ac_cv_lib_soname_Xext:+false} :; then :
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9581 $as_echo "not found" >&6; }
9583 else
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9585 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9587 cat >>confdefs.h <<_ACEOF
9588 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9589 _ACEOF
9591 X_LIBS="$X_LIBS -lXext"
9593 X_LIBS="$X_LIBS -lX11"
9595 for ac_header in X11/Xlib.h \
9596 X11/XKBlib.h \
9597 X11/Xutil.h \
9598 X11/Xcursor/Xcursor.h \
9599 X11/extensions/shape.h \
9600 X11/extensions/XInput.h \
9601 X11/extensions/XInput2.h \
9602 X11/extensions/XShm.h \
9603 X11/extensions/Xcomposite.h \
9604 X11/extensions/Xinerama.h \
9605 X11/extensions/Xrandr.h \
9606 X11/extensions/Xrender.h \
9607 X11/extensions/xf86vmode.h \
9608 X11/extensions/xf86vmproto.h
9609 do :
9610 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9611 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9612 # include <X11/Xlib.h>
9613 #endif
9614 #ifdef HAVE_X11_XUTIL_H
9615 # include <X11/Xutil.h>
9616 #endif
9618 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9619 cat >>confdefs.h <<_ACEOF
9620 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9621 _ACEOF
9625 done
9628 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9629 then
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9631 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9632 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9633 $as_echo_n "(cached) " >&6
9634 else
9635 ac_check_lib_save_LIBS=$LIBS
9636 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9638 /* end confdefs.h. */
9640 /* Override any GCC internal prototype to avoid an error.
9641 Use char because int might match the return type of a GCC
9642 builtin and then its argument prototype would still apply. */
9643 #ifdef __cplusplus
9644 extern "C"
9645 #endif
9646 char XkbQueryExtension ();
9648 main ()
9650 return XkbQueryExtension ();
9652 return 0;
9654 _ACEOF
9655 if ac_fn_c_try_link "$LINENO"; then :
9656 ac_cv_lib_X11_XkbQueryExtension=yes
9657 else
9658 ac_cv_lib_X11_XkbQueryExtension=no
9660 rm -f core conftest.err conftest.$ac_objext \
9661 conftest$ac_exeext conftest.$ac_ext
9662 LIBS=$ac_check_lib_save_LIBS
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9665 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9666 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9668 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9674 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9675 then
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9677 $as_echo_n "checking for -lXcursor... " >&6; }
9678 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9679 $as_echo_n "(cached) " >&6
9680 else
9681 ac_check_soname_save_LIBS=$LIBS
9682 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9684 /* end confdefs.h. */
9686 /* Override any GCC internal prototype to avoid an error.
9687 Use char because int might match the return type of a GCC
9688 builtin and then its argument prototype would still apply. */
9689 #ifdef __cplusplus
9690 extern "C"
9691 #endif
9692 char XcursorImageLoadCursor ();
9694 main ()
9696 return XcursorImageLoadCursor ();
9698 return 0;
9700 _ACEOF
9701 if ac_fn_c_try_link "$LINENO"; then :
9702 case "$LIBEXT" in
9703 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9704 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'` ;;
9705 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9706 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9707 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9708 fi ;;
9709 esac
9711 rm -f core conftest.err conftest.$ac_objext \
9712 conftest$ac_exeext conftest.$ac_ext
9713 LIBS=$ac_check_soname_save_LIBS
9715 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9717 $as_echo "not found" >&6; }
9719 else
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9721 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9723 cat >>confdefs.h <<_ACEOF
9724 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9725 _ACEOF
9730 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9731 case "x$with_xcursor" in
9732 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9733 xno) ;;
9734 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9735 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9736 esac
9739 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9740 then
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9742 $as_echo_n "checking for -lXi... " >&6; }
9743 if ${ac_cv_lib_soname_Xi+:} false; then :
9744 $as_echo_n "(cached) " >&6
9745 else
9746 ac_check_soname_save_LIBS=$LIBS
9747 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9749 /* end confdefs.h. */
9751 /* Override any GCC internal prototype to avoid an error.
9752 Use char because int might match the return type of a GCC
9753 builtin and then its argument prototype would still apply. */
9754 #ifdef __cplusplus
9755 extern "C"
9756 #endif
9757 char XOpenDevice ();
9759 main ()
9761 return XOpenDevice ();
9763 return 0;
9765 _ACEOF
9766 if ac_fn_c_try_link "$LINENO"; then :
9767 case "$LIBEXT" in
9768 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9769 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'` ;;
9770 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9771 if ${ac_cv_lib_soname_Xi:+false} :; then :
9772 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9773 fi ;;
9774 esac
9776 rm -f core conftest.err conftest.$ac_objext \
9777 conftest$ac_exeext conftest.$ac_ext
9778 LIBS=$ac_check_soname_save_LIBS
9780 if ${ac_cv_lib_soname_Xi:+false} :; then :
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9782 $as_echo "not found" >&6; }
9784 else
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9786 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9788 cat >>confdefs.h <<_ACEOF
9789 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9790 _ACEOF
9795 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9796 case "x$with_xinput" in
9797 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9798 xno) ;;
9799 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9800 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9801 esac
9804 if test "x$ac_cv_lib_soname_Xi" != x
9805 then
9806 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9807 case "x$with_xinput2" in
9808 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9809 xno) ;;
9810 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9811 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9812 esac
9816 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9817 then
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9819 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9820 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 ac_check_lib_save_LIBS=$LIBS
9824 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9826 /* end confdefs.h. */
9828 /* Override any GCC internal prototype to avoid an error.
9829 Use char because int might match the return type of a GCC
9830 builtin and then its argument prototype would still apply. */
9831 #ifdef __cplusplus
9832 extern "C"
9833 #endif
9834 char XShmQueryExtension ();
9836 main ()
9838 return XShmQueryExtension ();
9840 return 0;
9842 _ACEOF
9843 if ac_fn_c_try_link "$LINENO"; then :
9844 ac_cv_lib_Xext_XShmQueryExtension=yes
9845 else
9846 ac_cv_lib_Xext_XShmQueryExtension=no
9848 rm -f core conftest.err conftest.$ac_objext \
9849 conftest$ac_exeext conftest.$ac_ext
9850 LIBS=$ac_check_lib_save_LIBS
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9853 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9854 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9856 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9861 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9862 case "x$with_xshm" in
9863 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9864 xno) ;;
9865 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9866 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9867 esac
9870 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9871 then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9873 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9874 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9875 $as_echo_n "(cached) " >&6
9876 else
9877 ac_check_lib_save_LIBS=$LIBS
9878 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9882 /* Override any GCC internal prototype to avoid an error.
9883 Use char because int might match the return type of a GCC
9884 builtin and then its argument prototype would still apply. */
9885 #ifdef __cplusplus
9886 extern "C"
9887 #endif
9888 char XShapeQueryExtension ();
9890 main ()
9892 return XShapeQueryExtension ();
9894 return 0;
9896 _ACEOF
9897 if ac_fn_c_try_link "$LINENO"; then :
9898 ac_cv_lib_Xext_XShapeQueryExtension=yes
9899 else
9900 ac_cv_lib_Xext_XShapeQueryExtension=no
9902 rm -f core conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9904 LIBS=$ac_check_lib_save_LIBS
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9907 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9908 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9910 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9915 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9916 case "x$with_xshape" in
9917 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9918 xno) ;;
9919 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9920 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9921 esac
9924 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9925 then
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9927 $as_echo_n "checking for -lXxf86vm... " >&6; }
9928 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9929 $as_echo_n "(cached) " >&6
9930 else
9931 ac_check_soname_save_LIBS=$LIBS
9932 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9934 /* end confdefs.h. */
9936 /* Override any GCC internal prototype to avoid an error.
9937 Use char because int might match the return type of a GCC
9938 builtin and then its argument prototype would still apply. */
9939 #ifdef __cplusplus
9940 extern "C"
9941 #endif
9942 char XF86VidModeQueryExtension ();
9944 main ()
9946 return XF86VidModeQueryExtension ();
9948 return 0;
9950 _ACEOF
9951 if ac_fn_c_try_link "$LINENO"; then :
9952 case "$LIBEXT" in
9953 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9954 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'` ;;
9955 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9956 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9957 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9958 fi ;;
9959 esac
9961 rm -f core conftest.err conftest.$ac_objext \
9962 conftest$ac_exeext conftest.$ac_ext
9963 LIBS=$ac_check_soname_save_LIBS
9965 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9967 $as_echo "not found" >&6; }
9969 else
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9971 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9973 cat >>confdefs.h <<_ACEOF
9974 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9975 _ACEOF
9980 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9981 case "x$with_xxf86vm" in
9982 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9983 xno) ;;
9984 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9985 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9986 esac
9989 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9990 then
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9992 $as_echo_n "checking for -lXrender... " >&6; }
9993 if ${ac_cv_lib_soname_Xrender+:} false; then :
9994 $as_echo_n "(cached) " >&6
9995 else
9996 ac_check_soname_save_LIBS=$LIBS
9997 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9999 /* end confdefs.h. */
10001 /* Override any GCC internal prototype to avoid an error.
10002 Use char because int might match the return type of a GCC
10003 builtin and then its argument prototype would still apply. */
10004 #ifdef __cplusplus
10005 extern "C"
10006 #endif
10007 char XRenderQueryExtension ();
10009 main ()
10011 return XRenderQueryExtension ();
10013 return 0;
10015 _ACEOF
10016 if ac_fn_c_try_link "$LINENO"; then :
10017 case "$LIBEXT" in
10018 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10019 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'` ;;
10020 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10021 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10022 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10023 fi ;;
10024 esac
10026 rm -f core conftest.err conftest.$ac_objext \
10027 conftest$ac_exeext conftest.$ac_ext
10028 LIBS=$ac_check_soname_save_LIBS
10030 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10032 $as_echo "not found" >&6; }
10034 else
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10036 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10038 cat >>confdefs.h <<_ACEOF
10039 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10040 _ACEOF
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10043 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10044 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10045 $as_echo_n "(cached) " >&6
10046 else
10047 ac_check_lib_save_LIBS=$LIBS
10048 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10050 /* end confdefs.h. */
10052 /* Override any GCC internal prototype to avoid an error.
10053 Use char because int might match the return type of a GCC
10054 builtin and then its argument prototype would still apply. */
10055 #ifdef __cplusplus
10056 extern "C"
10057 #endif
10058 char XRenderSetPictureTransform ();
10060 main ()
10062 return XRenderSetPictureTransform ();
10064 return 0;
10066 _ACEOF
10067 if ac_fn_c_try_link "$LINENO"; then :
10068 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10069 else
10070 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10072 rm -f core conftest.err conftest.$ac_objext \
10073 conftest$ac_exeext conftest.$ac_ext
10074 LIBS=$ac_check_lib_save_LIBS
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10077 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10078 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10080 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10085 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10086 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10087 $as_echo_n "(cached) " >&6
10088 else
10089 ac_check_lib_save_LIBS=$LIBS
10090 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10094 /* Override any GCC internal prototype to avoid an error.
10095 Use char because int might match the return type of a GCC
10096 builtin and then its argument prototype would still apply. */
10097 #ifdef __cplusplus
10098 extern "C"
10099 #endif
10100 char XRenderCreateLinearGradient ();
10102 main ()
10104 return XRenderCreateLinearGradient ();
10106 return 0;
10108 _ACEOF
10109 if ac_fn_c_try_link "$LINENO"; then :
10110 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10111 else
10112 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10114 rm -f core conftest.err conftest.$ac_objext \
10115 conftest$ac_exeext conftest.$ac_ext
10116 LIBS=$ac_check_lib_save_LIBS
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10119 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10120 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10122 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10129 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10130 case "x$with_xrender" in
10131 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10132 xno) ;;
10133 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10134 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10135 esac
10138 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10139 then
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10142 #include <X11/Xlib.h>
10143 #include <X11/extensions/Xrandr.h>
10145 main ()
10147 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10149 return 0;
10151 _ACEOF
10152 if ac_fn_c_try_compile "$LINENO"; then :
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10154 $as_echo_n "checking for -lXrandr... " >&6; }
10155 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10156 $as_echo_n "(cached) " >&6
10157 else
10158 ac_check_soname_save_LIBS=$LIBS
10159 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10161 /* end confdefs.h. */
10163 /* Override any GCC internal prototype to avoid an error.
10164 Use char because int might match the return type of a GCC
10165 builtin and then its argument prototype would still apply. */
10166 #ifdef __cplusplus
10167 extern "C"
10168 #endif
10169 char XRRQueryExtension ();
10171 main ()
10173 return XRRQueryExtension ();
10175 return 0;
10177 _ACEOF
10178 if ac_fn_c_try_link "$LINENO"; then :
10179 case "$LIBEXT" in
10180 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10181 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'` ;;
10182 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10183 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10184 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10185 fi ;;
10186 esac
10188 rm -f core conftest.err conftest.$ac_objext \
10189 conftest$ac_exeext conftest.$ac_ext
10190 LIBS=$ac_check_soname_save_LIBS
10192 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10194 $as_echo "not found" >&6; }
10196 else
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10198 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10200 cat >>confdefs.h <<_ACEOF
10201 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10202 _ACEOF
10204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10206 #include <X11/Xlib.h>
10207 #include <X11/extensions/Xrandr.h>
10209 main ()
10211 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10213 return 0;
10215 _ACEOF
10216 if ac_fn_c_try_compile "$LINENO"; then :
10218 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10226 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10227 case "x$with_xrandr" in
10228 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10229 xno) ;;
10230 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10231 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10232 esac
10235 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10236 then
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10239 #include <X11/Xlib.h>
10240 #include <X11/extensions/Xinerama.h>
10242 main ()
10244 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10246 return 0;
10248 _ACEOF
10249 if ac_fn_c_try_compile "$LINENO"; then :
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10251 $as_echo_n "checking for -lXinerama... " >&6; }
10252 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10253 $as_echo_n "(cached) " >&6
10254 else
10255 ac_check_soname_save_LIBS=$LIBS
10256 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10260 /* Override any GCC internal prototype to avoid an error.
10261 Use char because int might match the return type of a GCC
10262 builtin and then its argument prototype would still apply. */
10263 #ifdef __cplusplus
10264 extern "C"
10265 #endif
10266 char XineramaQueryScreens ();
10268 main ()
10270 return XineramaQueryScreens ();
10272 return 0;
10274 _ACEOF
10275 if ac_fn_c_try_link "$LINENO"; then :
10276 case "$LIBEXT" in
10277 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10278 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'` ;;
10279 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10280 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10281 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10282 fi ;;
10283 esac
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 LIBS=$ac_check_soname_save_LIBS
10289 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10291 $as_echo "not found" >&6; }
10293 else
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10295 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10297 cat >>confdefs.h <<_ACEOF
10298 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10299 _ACEOF
10304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10306 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10307 case "x$with_xinerama" in
10308 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10309 xno) ;;
10310 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10311 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10312 esac
10315 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10316 then
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10318 $as_echo_n "checking for -lXcomposite... " >&6; }
10319 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10320 $as_echo_n "(cached) " >&6
10321 else
10322 ac_check_soname_save_LIBS=$LIBS
10323 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10327 /* Override any GCC internal prototype to avoid an error.
10328 Use char because int might match the return type of a GCC
10329 builtin and then its argument prototype would still apply. */
10330 #ifdef __cplusplus
10331 extern "C"
10332 #endif
10333 char XCompositeRedirectWindow ();
10335 main ()
10337 return XCompositeRedirectWindow ();
10339 return 0;
10341 _ACEOF
10342 if ac_fn_c_try_link "$LINENO"; then :
10343 case "$LIBEXT" in
10344 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10345 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'` ;;
10346 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10347 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10348 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10349 fi ;;
10350 esac
10352 rm -f core conftest.err conftest.$ac_objext \
10353 conftest$ac_exeext conftest.$ac_ext
10354 LIBS=$ac_check_soname_save_LIBS
10356 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10358 $as_echo "not found" >&6; }
10360 else
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10362 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10364 cat >>confdefs.h <<_ACEOF
10365 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10366 _ACEOF
10371 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10372 case "x$with_xcomposite" in
10373 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10374 xno) ;;
10375 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10376 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10377 esac
10380 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10381 #include <X11/Xlib.h>
10382 #endif
10384 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10386 cat >>confdefs.h <<_ACEOF
10387 #define HAVE_XICCALLBACK_CALLBACK 1
10388 _ACEOF
10392 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10393 #include <X11/Xlib.h>
10394 #endif
10396 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10398 cat >>confdefs.h <<_ACEOF
10399 #define HAVE_XEVENT_XCOOKIE 1
10400 _ACEOF
10407 opengl_msg=""
10408 if test "x$with_opengl" != "xno"
10409 then
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10411 $as_echo_n "checking for -lGL... " >&6; }
10412 if ${ac_cv_lib_soname_GL+:} false; then :
10413 $as_echo_n "(cached) " >&6
10414 else
10415 ac_check_soname_save_LIBS=$LIBS
10416 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10418 /* end confdefs.h. */
10420 /* Override any GCC internal prototype to avoid an error.
10421 Use char because int might match the return type of a GCC
10422 builtin and then its argument prototype would still apply. */
10423 #ifdef __cplusplus
10424 extern "C"
10425 #endif
10426 char glXCreateContext ();
10428 main ()
10430 return glXCreateContext ();
10432 return 0;
10434 _ACEOF
10435 if ac_fn_c_try_link "$LINENO"; then :
10436 case "$LIBEXT" in
10437 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10438 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'` ;;
10439 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10440 if ${ac_cv_lib_soname_GL:+false} :; then :
10441 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10442 fi ;;
10443 esac
10445 rm -f core conftest.err conftest.$ac_objext \
10446 conftest$ac_exeext conftest.$ac_ext
10447 LIBS=$ac_check_soname_save_LIBS
10449 if ${ac_cv_lib_soname_GL:+false} :; then :
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10451 $as_echo "not found" >&6; }
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10453 $as_echo_n "checking for -lGL... " >&6; }
10454 if ${ac_cv_lib_soname_GL+:} false; then :
10455 $as_echo_n "(cached) " >&6
10456 else
10457 ac_check_soname_save_LIBS=$LIBS
10458 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"
10459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10460 /* end confdefs.h. */
10462 /* Override any GCC internal prototype to avoid an error.
10463 Use char because int might match the return type of a GCC
10464 builtin and then its argument prototype would still apply. */
10465 #ifdef __cplusplus
10466 extern "C"
10467 #endif
10468 char glXCreateContext ();
10470 main ()
10472 return glXCreateContext ();
10474 return 0;
10476 _ACEOF
10477 if ac_fn_c_try_link "$LINENO"; then :
10478 case "$LIBEXT" in
10479 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10480 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'` ;;
10481 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10482 if ${ac_cv_lib_soname_GL:+false} :; then :
10483 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10484 fi ;;
10485 esac
10487 rm -f core conftest.err conftest.$ac_objext \
10488 conftest$ac_exeext conftest.$ac_ext
10489 LIBS=$ac_check_soname_save_LIBS
10491 if ${ac_cv_lib_soname_GL:+false} :; then :
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10493 $as_echo "not found" >&6; }
10494 if test -f /usr/X11R6/lib/libGL.a
10495 then
10496 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10497 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10498 else
10499 opengl_msg="No OpenGL library found on this system."
10501 else
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10503 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10505 cat >>confdefs.h <<_ACEOF
10506 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10507 _ACEOF
10509 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"
10511 else
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10513 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10515 cat >>confdefs.h <<_ACEOF
10516 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10517 _ACEOF
10519 OPENGL_LIBS="-lGL"
10521 if test "x$with_glu" != "xno"
10522 then
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10524 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10525 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10526 $as_echo_n "(cached) " >&6
10527 else
10528 ac_check_lib_save_LIBS=$LIBS
10529 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10531 /* end confdefs.h. */
10533 /* Override any GCC internal prototype to avoid an error.
10534 Use char because int might match the return type of a GCC
10535 builtin and then its argument prototype would still apply. */
10536 #ifdef __cplusplus
10537 extern "C"
10538 #endif
10539 char gluLookAt ();
10541 main ()
10543 return gluLookAt ();
10545 return 0;
10547 _ACEOF
10548 if ac_fn_c_try_link "$LINENO"; then :
10549 ac_cv_lib_GLU_gluLookAt=yes
10550 else
10551 ac_cv_lib_GLU_gluLookAt=no
10553 rm -f core conftest.err conftest.$ac_objext \
10554 conftest$ac_exeext conftest.$ac_ext
10555 LIBS=$ac_check_lib_save_LIBS
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10558 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10559 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10563 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10564 case "x$with_glu" in
10565 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10566 xno) ;;
10567 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10568 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10569 esac
10573 if test "x$with_osmesa" != "xno"
10574 then
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10576 $as_echo_n "checking for -lOSMesa... " >&6; }
10577 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10578 $as_echo_n "(cached) " >&6
10579 else
10580 ac_check_soname_save_LIBS=$LIBS
10581 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10583 /* end confdefs.h. */
10585 /* Override any GCC internal prototype to avoid an error.
10586 Use char because int might match the return type of a GCC
10587 builtin and then its argument prototype would still apply. */
10588 #ifdef __cplusplus
10589 extern "C"
10590 #endif
10591 char glAccum ();
10593 main ()
10595 return glAccum ();
10597 return 0;
10599 _ACEOF
10600 if ac_fn_c_try_link "$LINENO"; then :
10601 case "$LIBEXT" in
10602 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10603 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'` ;;
10604 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10605 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10606 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10607 fi ;;
10608 esac
10610 rm -f core conftest.err conftest.$ac_objext \
10611 conftest$ac_exeext conftest.$ac_ext
10612 LIBS=$ac_check_soname_save_LIBS
10614 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10616 $as_echo "not found" >&6; }
10618 else
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10620 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10622 cat >>confdefs.h <<_ACEOF
10623 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10624 _ACEOF
10628 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10629 case "x$with_osmesa" in
10630 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10631 xno) ;;
10632 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10633 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10634 esac
10638 if test -n "$opengl_msg"; then :
10639 case "x$with_opengl" in
10640 x) as_fn_append wine_warnings "|$opengl_msg
10641 OpenGL and Direct3D won't be supported." ;;
10642 xno) ;;
10643 *) as_fn_error $? "$opengl_msg
10644 OpenGL and Direct3D won't be supported.
10645 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10646 esac
10649 CPPFLAGS="$ac_save_CPPFLAGS"
10650 else
10651 X_CFLAGS=""
10652 X_LIBS=""
10653 enable_winex11_drv=${enable_winex11_drv:-no}
10655 if test "x$X_LIBS" = "x"; then :
10656 case "x$with_x" in
10657 xno) ;;
10658 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10659 without X support, which probably isn't what you want. You will need
10660 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10661 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10662 esac
10665 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10667 if test "$ac_cv_header_CL_cl_h" = "yes"
10668 then
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10670 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10671 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10672 $as_echo_n "(cached) " >&6
10673 else
10674 ac_check_lib_save_LIBS=$LIBS
10675 LIBS="-lOpenCL $LIBS"
10676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10677 /* end confdefs.h. */
10679 /* Override any GCC internal prototype to avoid an error.
10680 Use char because int might match the return type of a GCC
10681 builtin and then its argument prototype would still apply. */
10682 #ifdef __cplusplus
10683 extern "C"
10684 #endif
10685 char clGetPlatformInfo ();
10687 main ()
10689 return clGetPlatformInfo ();
10691 return 0;
10693 _ACEOF
10694 if ac_fn_c_try_link "$LINENO"; then :
10695 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10696 else
10697 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10699 rm -f core conftest.err conftest.$ac_objext \
10700 conftest$ac_exeext conftest.$ac_ext
10701 LIBS=$ac_check_lib_save_LIBS
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10704 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10705 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10706 OPENCL_LIBS="-lOpenCL"
10711 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10712 case "x$with_opencl" in
10713 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10714 xno) ;;
10715 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10716 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10717 esac
10719 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10721 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10722 then
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10724 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10725 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10726 $as_echo_n "(cached) " >&6
10727 else
10728 ac_check_lib_save_LIBS=$LIBS
10729 LIBS="-lpcap $LIBS"
10730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10731 /* end confdefs.h. */
10733 /* Override any GCC internal prototype to avoid an error.
10734 Use char because int might match the return type of a GCC
10735 builtin and then its argument prototype would still apply. */
10736 #ifdef __cplusplus
10737 extern "C"
10738 #endif
10739 char pcap_create ();
10741 main ()
10743 return pcap_create ();
10745 return 0;
10747 _ACEOF
10748 if ac_fn_c_try_link "$LINENO"; then :
10749 ac_cv_lib_pcap_pcap_create=yes
10750 else
10751 ac_cv_lib_pcap_pcap_create=no
10753 rm -f core conftest.err conftest.$ac_objext \
10754 conftest$ac_exeext conftest.$ac_ext
10755 LIBS=$ac_check_lib_save_LIBS
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10758 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10759 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10760 LIBPCAP="-lpcap"
10765 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10766 case "x$with_pcap" in
10767 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10768 xno) ;;
10769 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10770 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10771 esac
10773 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10776 if test "x$with_xml" != "xno"
10777 then
10778 if ${XML2_CFLAGS:+false} :; then :
10779 if ${PKG_CONFIG+:} false; then :
10780 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10783 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10784 if ${XML2_LIBS:+false} :; then :
10785 if ${PKG_CONFIG+:} false; then :
10786 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10789 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10790 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10791 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10792 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10793 ac_save_CPPFLAGS=$CPPFLAGS
10794 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10795 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10796 do :
10797 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10798 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10799 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10800 cat >>confdefs.h <<_ACEOF
10801 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10802 _ACEOF
10806 done
10808 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"
10809 then
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10811 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10812 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10813 $as_echo_n "(cached) " >&6
10814 else
10815 ac_check_lib_save_LIBS=$LIBS
10816 LIBS="-lxml2 $XML2_LIBS $LIBS"
10817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10818 /* end confdefs.h. */
10820 /* Override any GCC internal prototype to avoid an error.
10821 Use char because int might match the return type of a GCC
10822 builtin and then its argument prototype would still apply. */
10823 #ifdef __cplusplus
10824 extern "C"
10825 #endif
10826 char xmlParseMemory ();
10828 main ()
10830 return xmlParseMemory ();
10832 return 0;
10834 _ACEOF
10835 if ac_fn_c_try_link "$LINENO"; then :
10836 ac_cv_lib_xml2_xmlParseMemory=yes
10837 else
10838 ac_cv_lib_xml2_xmlParseMemory=no
10840 rm -f core conftest.err conftest.$ac_objext \
10841 conftest$ac_exeext conftest.$ac_ext
10842 LIBS=$ac_check_lib_save_LIBS
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10845 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10846 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10848 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10850 else
10851 XML2_LIBS=""
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10855 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10856 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10857 $as_echo_n "(cached) " >&6
10858 else
10859 ac_check_lib_save_LIBS=$LIBS
10860 LIBS="-lxml2 $XML2_LIBS $LIBS"
10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10864 /* Override any GCC internal prototype to avoid an error.
10865 Use char because int might match the return type of a GCC
10866 builtin and then its argument prototype would still apply. */
10867 #ifdef __cplusplus
10868 extern "C"
10869 #endif
10870 char xmlReadMemory ();
10872 main ()
10874 return xmlReadMemory ();
10876 return 0;
10878 _ACEOF
10879 if ac_fn_c_try_link "$LINENO"; then :
10880 ac_cv_lib_xml2_xmlReadMemory=yes
10881 else
10882 ac_cv_lib_xml2_xmlReadMemory=no
10884 rm -f core conftest.err conftest.$ac_objext \
10885 conftest$ac_exeext conftest.$ac_ext
10886 LIBS=$ac_check_lib_save_LIBS
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10889 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10890 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10892 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10897 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10898 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10899 $as_echo_n "(cached) " >&6
10900 else
10901 ac_check_lib_save_LIBS=$LIBS
10902 LIBS="-lxml2 $XML2_LIBS $LIBS"
10903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10904 /* end confdefs.h. */
10906 /* Override any GCC internal prototype to avoid an error.
10907 Use char because int might match the return type of a GCC
10908 builtin and then its argument prototype would still apply. */
10909 #ifdef __cplusplus
10910 extern "C"
10911 #endif
10912 char xmlNewDocPI ();
10914 main ()
10916 return xmlNewDocPI ();
10918 return 0;
10920 _ACEOF
10921 if ac_fn_c_try_link "$LINENO"; then :
10922 ac_cv_lib_xml2_xmlNewDocPI=yes
10923 else
10924 ac_cv_lib_xml2_xmlNewDocPI=no
10926 rm -f core conftest.err conftest.$ac_objext \
10927 conftest$ac_exeext conftest.$ac_ext
10928 LIBS=$ac_check_lib_save_LIBS
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10931 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10932 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10934 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10939 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10940 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10941 $as_echo_n "(cached) " >&6
10942 else
10943 ac_check_lib_save_LIBS=$LIBS
10944 LIBS="-lxml2 $XML2_LIBS $LIBS"
10945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10946 /* end confdefs.h. */
10948 /* Override any GCC internal prototype to avoid an error.
10949 Use char because int might match the return type of a GCC
10950 builtin and then its argument prototype would still apply. */
10951 #ifdef __cplusplus
10952 extern "C"
10953 #endif
10954 char xmlSchemaSetParserStructuredErrors ();
10956 main ()
10958 return xmlSchemaSetParserStructuredErrors ();
10960 return 0;
10962 _ACEOF
10963 if ac_fn_c_try_link "$LINENO"; then :
10964 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10965 else
10966 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10968 rm -f core conftest.err conftest.$ac_objext \
10969 conftest$ac_exeext conftest.$ac_ext
10970 LIBS=$ac_check_lib_save_LIBS
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10973 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10974 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10976 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10981 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10982 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10983 $as_echo_n "(cached) " >&6
10984 else
10985 ac_check_lib_save_LIBS=$LIBS
10986 LIBS="-lxml2 $XML2_LIBS $LIBS"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
10993 #ifdef __cplusplus
10994 extern "C"
10995 #endif
10996 char xmlSchemaSetValidStructuredErrors ();
10998 main ()
11000 return xmlSchemaSetValidStructuredErrors ();
11002 return 0;
11004 _ACEOF
11005 if ac_fn_c_try_link "$LINENO"; then :
11006 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11007 else
11008 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11010 rm -f core conftest.err conftest.$ac_objext \
11011 conftest$ac_exeext conftest.$ac_ext
11012 LIBS=$ac_check_lib_save_LIBS
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11015 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11016 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11018 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11023 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11024 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11025 $as_echo_n "(cached) " >&6
11026 else
11027 ac_check_lib_save_LIBS=$LIBS
11028 LIBS="-lxml2 $XML2_LIBS $LIBS"
11029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11032 /* Override any GCC internal prototype to avoid an error.
11033 Use char because int might match the return type of a GCC
11034 builtin and then its argument prototype would still apply. */
11035 #ifdef __cplusplus
11036 extern "C"
11037 #endif
11038 char xmlFirstElementChild ();
11040 main ()
11042 return xmlFirstElementChild ();
11044 return 0;
11046 _ACEOF
11047 if ac_fn_c_try_link "$LINENO"; then :
11048 ac_cv_lib_xml2_xmlFirstElementChild=yes
11049 else
11050 ac_cv_lib_xml2_xmlFirstElementChild=no
11052 rm -f core conftest.err conftest.$ac_objext \
11053 conftest$ac_exeext conftest.$ac_ext
11054 LIBS=$ac_check_lib_save_LIBS
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11057 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11058 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11060 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11064 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11066 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11068 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11072 else
11073 XML2_CFLAGS=""
11074 XML2_LIBS=""
11076 CPPFLAGS=$ac_save_CPPFLAGS
11077 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11078 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11081 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11082 case "x$with_xml" in
11083 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11084 xno) ;;
11085 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11086 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11087 esac
11090 if test "x$with_xslt" != "xno"
11091 then
11092 if ${XSLT_CFLAGS:+false} :; then :
11093 if ${PKG_CONFIG+:} false; then :
11094 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11097 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11098 if ${XSLT_LIBS:+false} :; then :
11099 if ${PKG_CONFIG+:} false; then :
11100 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11103 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11104 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11105 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11106 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11107 ac_save_CPPFLAGS=$CPPFLAGS
11108 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11109 for ac_header in libxslt/pattern.h libxslt/transform.h
11110 do :
11111 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11112 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11113 # include <libxslt/pattern.h>
11114 #endif
11116 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11117 cat >>confdefs.h <<_ACEOF
11118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11119 _ACEOF
11123 done
11125 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11126 then
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11128 $as_echo_n "checking for -lxslt... " >&6; }
11129 if ${ac_cv_lib_soname_xslt+:} false; then :
11130 $as_echo_n "(cached) " >&6
11131 else
11132 ac_check_soname_save_LIBS=$LIBS
11133 LIBS="-lxslt $XSLT_LIBS $LIBS"
11134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11135 /* end confdefs.h. */
11137 /* Override any GCC internal prototype to avoid an error.
11138 Use char because int might match the return type of a GCC
11139 builtin and then its argument prototype would still apply. */
11140 #ifdef __cplusplus
11141 extern "C"
11142 #endif
11143 char xsltCompilePattern ();
11145 main ()
11147 return xsltCompilePattern ();
11149 return 0;
11151 _ACEOF
11152 if ac_fn_c_try_link "$LINENO"; then :
11153 case "$LIBEXT" in
11154 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11155 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'` ;;
11156 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11157 if ${ac_cv_lib_soname_xslt:+false} :; then :
11158 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11159 fi ;;
11160 esac
11162 rm -f core conftest.err conftest.$ac_objext \
11163 conftest$ac_exeext conftest.$ac_ext
11164 LIBS=$ac_check_soname_save_LIBS
11166 if ${ac_cv_lib_soname_xslt:+false} :; then :
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11168 $as_echo "not found" >&6; }
11170 else
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11172 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11174 cat >>confdefs.h <<_ACEOF
11175 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11176 _ACEOF
11180 else
11181 XSLT_CFLAGS=""
11183 CPPFLAGS=$ac_save_CPPFLAGS
11184 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11185 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11188 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11189 case "x$with_xslt" in
11190 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11191 xno) ;;
11192 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11193 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11194 esac
11197 if test "x$with_dbus" != "xno"
11198 then
11199 if ${DBUS_CFLAGS:+false} :; then :
11200 if ${PKG_CONFIG+:} false; then :
11201 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11205 if ${DBUS_LIBS:+false} :; then :
11206 if ${PKG_CONFIG+:} false; then :
11207 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11212 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11213 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11214 ac_save_CPPFLAGS=$CPPFLAGS
11215 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11216 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11217 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11219 $as_echo_n "checking for -ldbus-1... " >&6; }
11220 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11221 $as_echo_n "(cached) " >&6
11222 else
11223 ac_check_soname_save_LIBS=$LIBS
11224 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11228 /* Override any GCC internal prototype to avoid an error.
11229 Use char because int might match the return type of a GCC
11230 builtin and then its argument prototype would still apply. */
11231 #ifdef __cplusplus
11232 extern "C"
11233 #endif
11234 char dbus_connection_close ();
11236 main ()
11238 return dbus_connection_close ();
11240 return 0;
11242 _ACEOF
11243 if ac_fn_c_try_link "$LINENO"; then :
11244 case "$LIBEXT" in
11245 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11246 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'` ;;
11247 *) 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'`
11248 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11249 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11250 fi ;;
11251 esac
11253 rm -f core conftest.err conftest.$ac_objext \
11254 conftest$ac_exeext conftest.$ac_ext
11255 LIBS=$ac_check_soname_save_LIBS
11257 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11259 $as_echo "not found" >&6; }
11260 DBUS_CFLAGS=""
11261 else
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11263 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11265 cat >>confdefs.h <<_ACEOF
11266 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11267 _ACEOF
11271 else
11272 DBUS_CFLAGS=""
11276 CPPFLAGS=$ac_save_CPPFLAGS
11277 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11278 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11281 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11282 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11283 case "x$with_dbus" in
11284 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11285 xno) ;;
11286 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11287 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11288 esac
11291 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11292 then
11293 if ${HAL_CFLAGS:+false} :; then :
11294 if ${PKG_CONFIG+:} false; then :
11295 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11299 if ${HAL_LIBS:+false} :; then :
11300 if ${PKG_CONFIG+:} false; then :
11301 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11305 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11306 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11307 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11308 ac_save_CPPFLAGS=$CPPFLAGS
11309 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11310 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11311 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11313 $as_echo_n "checking for -lhal... " >&6; }
11314 if ${ac_cv_lib_soname_hal+:} false; then :
11315 $as_echo_n "(cached) " >&6
11316 else
11317 ac_check_soname_save_LIBS=$LIBS
11318 LIBS="-lhal $HAL_LIBS $LIBS"
11319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11320 /* end confdefs.h. */
11322 /* Override any GCC internal prototype to avoid an error.
11323 Use char because int might match the return type of a GCC
11324 builtin and then its argument prototype would still apply. */
11325 #ifdef __cplusplus
11326 extern "C"
11327 #endif
11328 char libhal_ctx_new ();
11330 main ()
11332 return libhal_ctx_new ();
11334 return 0;
11336 _ACEOF
11337 if ac_fn_c_try_link "$LINENO"; then :
11338 case "$LIBEXT" in
11339 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11340 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'` ;;
11341 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11342 if ${ac_cv_lib_soname_hal:+false} :; then :
11343 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11344 fi ;;
11345 esac
11347 rm -f core conftest.err conftest.$ac_objext \
11348 conftest$ac_exeext conftest.$ac_ext
11349 LIBS=$ac_check_soname_save_LIBS
11351 if ${ac_cv_lib_soname_hal:+false} :; then :
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11353 $as_echo "not found" >&6; }
11354 HAL_CFLAGS=""
11355 else
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11357 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11359 cat >>confdefs.h <<_ACEOF
11360 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11361 _ACEOF
11365 else
11366 HAL_CFLAGS=""
11370 CPPFLAGS=$ac_save_CPPFLAGS
11371 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11372 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11374 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11375 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11376 case "x$with_hal" in
11377 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11378 xno) ;;
11379 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11380 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11381 esac
11385 if test "x$with_gnutls" != "xno"
11386 then
11387 if ${GNUTLS_CFLAGS:+false} :; then :
11388 if ${PKG_CONFIG+:} false; then :
11389 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11393 if ${GNUTLS_LIBS:+false} :; then :
11394 if ${PKG_CONFIG+:} false; then :
11395 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11400 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11401 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11402 ac_save_CPPFLAGS=$CPPFLAGS
11403 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11404 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11405 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11408 #include <gnutls/gnutls.h>
11409 #include <gnutls/crypto.h>
11411 main ()
11413 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11415 return 0;
11417 _ACEOF
11418 if ac_fn_c_try_compile "$LINENO"; then :
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11420 $as_echo_n "checking for -lgnutls... " >&6; }
11421 if ${ac_cv_lib_soname_gnutls+:} false; then :
11422 $as_echo_n "(cached) " >&6
11423 else
11424 ac_check_soname_save_LIBS=$LIBS
11425 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */
11429 /* Override any GCC internal prototype to avoid an error.
11430 Use char because int might match the return type of a GCC
11431 builtin and then its argument prototype would still apply. */
11432 #ifdef __cplusplus
11433 extern "C"
11434 #endif
11435 char gnutls_global_init ();
11437 main ()
11439 return gnutls_global_init ();
11441 return 0;
11443 _ACEOF
11444 if ac_fn_c_try_link "$LINENO"; then :
11445 case "$LIBEXT" in
11446 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11447 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'` ;;
11448 *) 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'`
11449 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11450 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'`
11451 fi ;;
11452 esac
11454 rm -f core conftest.err conftest.$ac_objext \
11455 conftest$ac_exeext conftest.$ac_ext
11456 LIBS=$ac_check_soname_save_LIBS
11458 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11460 $as_echo "not found" >&6; }
11461 GNUTLS_CFLAGS=""
11462 else
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11464 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11466 cat >>confdefs.h <<_ACEOF
11467 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11468 _ACEOF
11473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11474 else
11475 GNUTLS_CFLAGS=""
11479 CPPFLAGS=$ac_save_CPPFLAGS
11480 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11481 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11484 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11485 case "x$with_gnutls" in
11486 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11487 xno) ;;
11488 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11489 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11490 esac
11493 CURSES_LIBS=""
11494 if test "$ac_cv_header_ncurses_h" = "yes"
11495 then
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11497 $as_echo_n "checking for -lncurses... " >&6; }
11498 if ${ac_cv_lib_soname_ncurses+:} false; then :
11499 $as_echo_n "(cached) " >&6
11500 else
11501 ac_check_soname_save_LIBS=$LIBS
11502 LIBS="-lncurses $LIBS"
11503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11506 /* Override any GCC internal prototype to avoid an error.
11507 Use char because int might match the return type of a GCC
11508 builtin and then its argument prototype would still apply. */
11509 #ifdef __cplusplus
11510 extern "C"
11511 #endif
11512 char waddch ();
11514 main ()
11516 return waddch ();
11518 return 0;
11520 _ACEOF
11521 if ac_fn_c_try_link "$LINENO"; then :
11522 case "$LIBEXT" in
11523 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11524 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'` ;;
11525 *) 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'`
11526 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11527 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11528 fi ;;
11529 esac
11531 rm -f core conftest.err conftest.$ac_objext \
11532 conftest$ac_exeext conftest.$ac_ext
11533 LIBS=$ac_check_soname_save_LIBS
11535 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11537 $as_echo "not found" >&6; }
11539 else
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11541 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11543 cat >>confdefs.h <<_ACEOF
11544 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11545 _ACEOF
11547 CURSES_LIBS="-lncurses"
11549 elif test "$ac_cv_header_curses_h" = "yes"
11550 then
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11552 $as_echo_n "checking for -lcurses... " >&6; }
11553 if ${ac_cv_lib_soname_curses+:} false; then :
11554 $as_echo_n "(cached) " >&6
11555 else
11556 ac_check_soname_save_LIBS=$LIBS
11557 LIBS="-lcurses $LIBS"
11558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11559 /* end confdefs.h. */
11561 /* Override any GCC internal prototype to avoid an error.
11562 Use char because int might match the return type of a GCC
11563 builtin and then its argument prototype would still apply. */
11564 #ifdef __cplusplus
11565 extern "C"
11566 #endif
11567 char waddch ();
11569 main ()
11571 return waddch ();
11573 return 0;
11575 _ACEOF
11576 if ac_fn_c_try_link "$LINENO"; then :
11577 case "$LIBEXT" in
11578 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11579 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'` ;;
11580 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11581 if ${ac_cv_lib_soname_curses:+false} :; then :
11582 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11583 fi ;;
11584 esac
11586 rm -f core conftest.err conftest.$ac_objext \
11587 conftest$ac_exeext conftest.$ac_ext
11588 LIBS=$ac_check_soname_save_LIBS
11590 if ${ac_cv_lib_soname_curses:+false} :; then :
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11592 $as_echo "not found" >&6; }
11594 else
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11596 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11598 cat >>confdefs.h <<_ACEOF
11599 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11600 _ACEOF
11602 CURSES_LIBS="-lcurses"
11605 ac_save_LIBS="$LIBS"
11606 LIBS="$LIBS $CURSES_LIBS"
11607 for ac_func in mousemask
11608 do :
11609 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11610 if test "x$ac_cv_func_mousemask" = xyes; then :
11611 cat >>confdefs.h <<_ACEOF
11612 #define HAVE_MOUSEMASK 1
11613 _ACEOF
11616 done
11618 LIBS="$ac_save_LIBS"
11619 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11620 case "x$with_curses" in
11621 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11622 xno) ;;
11623 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11624 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11625 esac
11628 if test "x$with_sane" != "xno"
11629 then
11630 if ${SANE_CFLAGS:+false} :; then :
11631 if ${PKG_CONFIG+:} false; then :
11632 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11635 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11636 if ${SANE_LIBS:+false} :; then :
11637 if ${PKG_CONFIG+:} false; then :
11638 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11641 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11643 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11644 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11645 ac_save_CPPFLAGS=$CPPFLAGS
11646 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11647 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11648 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11650 $as_echo_n "checking for -lsane... " >&6; }
11651 if ${ac_cv_lib_soname_sane+:} false; then :
11652 $as_echo_n "(cached) " >&6
11653 else
11654 ac_check_soname_save_LIBS=$LIBS
11655 LIBS="-lsane $SANE_LIBS $LIBS"
11656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11659 /* Override any GCC internal prototype to avoid an error.
11660 Use char because int might match the return type of a GCC
11661 builtin and then its argument prototype would still apply. */
11662 #ifdef __cplusplus
11663 extern "C"
11664 #endif
11665 char sane_init ();
11667 main ()
11669 return sane_init ();
11671 return 0;
11673 _ACEOF
11674 if ac_fn_c_try_link "$LINENO"; then :
11675 case "$LIBEXT" in
11676 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11677 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'` ;;
11678 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11679 if ${ac_cv_lib_soname_sane:+false} :; then :
11680 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11681 fi ;;
11682 esac
11684 rm -f core conftest.err conftest.$ac_objext \
11685 conftest$ac_exeext conftest.$ac_ext
11686 LIBS=$ac_check_soname_save_LIBS
11688 if ${ac_cv_lib_soname_sane:+false} :; then :
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11690 $as_echo "not found" >&6; }
11691 SANE_CFLAGS=""
11692 else
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11694 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11696 cat >>confdefs.h <<_ACEOF
11697 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11698 _ACEOF
11702 else
11703 SANE_CFLAGS=""
11707 CPPFLAGS=$ac_save_CPPFLAGS
11708 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11709 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11712 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11713 case "x$with_sane" in
11714 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11715 xno) ;;
11716 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11717 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11718 esac
11721 if test "x$with_v4l" != "xno"
11722 then
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11724 $as_echo_n "checking for -lv4l1... " >&6; }
11725 if ${ac_cv_lib_soname_v4l1+:} false; then :
11726 $as_echo_n "(cached) " >&6
11727 else
11728 ac_check_soname_save_LIBS=$LIBS
11729 LIBS="-lv4l1 $LIBS"
11730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11733 /* Override any GCC internal prototype to avoid an error.
11734 Use char because int might match the return type of a GCC
11735 builtin and then its argument prototype would still apply. */
11736 #ifdef __cplusplus
11737 extern "C"
11738 #endif
11739 char v4l1_open ();
11741 main ()
11743 return v4l1_open ();
11745 return 0;
11747 _ACEOF
11748 if ac_fn_c_try_link "$LINENO"; then :
11749 case "$LIBEXT" in
11750 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11751 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'` ;;
11752 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11753 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11754 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11755 fi ;;
11756 esac
11758 rm -f core conftest.err conftest.$ac_objext \
11759 conftest$ac_exeext conftest.$ac_ext
11760 LIBS=$ac_check_soname_save_LIBS
11762 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11764 $as_echo "not found" >&6; }
11766 else
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11768 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11770 cat >>confdefs.h <<_ACEOF
11771 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11772 _ACEOF
11777 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11778 case "x$with_v4l" in
11779 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11780 xno) ;;
11781 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11782 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11783 esac
11786 if test "x$with_gphoto" != "xno"
11787 then
11788 if ${GPHOTO2_CFLAGS:+false} :; then :
11789 if ${PKG_CONFIG+:} false; then :
11790 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11793 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11794 if ${GPHOTO2_LIBS:+false} :; then :
11795 if ${PKG_CONFIG+:} false; then :
11796 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11799 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11800 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11801 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11802 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11803 ac_save_CPPFLAGS=$CPPFLAGS
11804 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11805 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11806 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11808 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11809 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11810 $as_echo_n "(cached) " >&6
11811 else
11812 ac_check_lib_save_LIBS=$LIBS
11813 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11817 /* Override any GCC internal prototype to avoid an error.
11818 Use char because int might match the return type of a GCC
11819 builtin and then its argument prototype would still apply. */
11820 #ifdef __cplusplus
11821 extern "C"
11822 #endif
11823 char gp_camera_new ();
11825 main ()
11827 return gp_camera_new ();
11829 return 0;
11831 _ACEOF
11832 if ac_fn_c_try_link "$LINENO"; then :
11833 ac_cv_lib_gphoto2_gp_camera_new=yes
11834 else
11835 ac_cv_lib_gphoto2_gp_camera_new=no
11837 rm -f core conftest.err conftest.$ac_objext \
11838 conftest$ac_exeext conftest.$ac_ext
11839 LIBS=$ac_check_lib_save_LIBS
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11842 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11843 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11845 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11847 else
11848 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11851 else
11852 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11856 CPPFLAGS=$ac_save_CPPFLAGS
11857 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11858 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11860 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11861 if ${PKG_CONFIG+:} false; then :
11862 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11865 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11866 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11867 if ${PKG_CONFIG+:} false; then :
11868 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11871 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11872 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11873 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11874 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11875 ac_save_CPPFLAGS=$CPPFLAGS
11876 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11877 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11878 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11880 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11881 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11882 $as_echo_n "(cached) " >&6
11883 else
11884 ac_check_lib_save_LIBS=$LIBS
11885 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11887 /* end confdefs.h. */
11889 /* Override any GCC internal prototype to avoid an error.
11890 Use char because int might match the return type of a GCC
11891 builtin and then its argument prototype would still apply. */
11892 #ifdef __cplusplus
11893 extern "C"
11894 #endif
11895 char gp_port_info_list_new ();
11897 main ()
11899 return gp_port_info_list_new ();
11901 return 0;
11903 _ACEOF
11904 if ac_fn_c_try_link "$LINENO"; then :
11905 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11906 else
11907 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11909 rm -f core conftest.err conftest.$ac_objext \
11910 conftest$ac_exeext conftest.$ac_ext
11911 LIBS=$ac_check_lib_save_LIBS
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11914 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11915 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11917 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11919 else
11920 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11923 else
11924 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11928 CPPFLAGS=$ac_save_CPPFLAGS
11929 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11930 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11933 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11934 case "x$with_gphoto" in
11935 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11936 xno) ;;
11937 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11938 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11939 esac
11941 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11942 case "x$with_gphoto" in
11943 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11944 xno) ;;
11945 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11946 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11947 esac
11951 if test "$ac_cv_header_resolv_h" = "yes"
11952 then
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11954 $as_echo_n "checking for resolver library... " >&6; }
11955 if ${ac_cv_have_resolv+:} false; then :
11956 $as_echo_n "(cached) " >&6
11957 else
11958 ac_save_LIBS="$LIBS"
11959 for lib in '' -lresolv
11961 LIBS="$lib $ac_save_LIBS"
11962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h. */
11964 #ifdef HAVE_NETINET_IN_H
11965 #include <netinet/in.h>
11966 #endif
11967 #include <resolv.h>
11969 main ()
11971 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11973 return 0;
11975 _ACEOF
11976 if ac_fn_c_try_link "$LINENO"; then :
11977 ac_cv_have_resolv=${lib:-"none required"}
11978 else
11979 ac_cv_have_resolv="not found"
11981 rm -f core conftest.err conftest.$ac_objext \
11982 conftest$ac_exeext conftest.$ac_ext
11983 test "x$ac_cv_have_resolv" = "xnot found" || break
11984 done
11985 LIBS="$ac_save_LIBS"
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11988 $as_echo "$ac_cv_have_resolv" >&6; }
11990 case "$ac_cv_have_resolv" in
11991 "not found") ;;
11992 "none required")
11994 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11997 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11999 RESOLV_LIBS=$ac_cv_have_resolv
12001 esac
12004 if test "x$with_cms" != "xno"
12005 then
12006 if ${LCMS2_CFLAGS:+false} :; then :
12007 if ${PKG_CONFIG+:} false; then :
12008 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12012 if ${LCMS2_LIBS:+false} :; then :
12013 if ${PKG_CONFIG+:} false; then :
12014 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12018 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12019 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12020 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12021 ac_save_CPPFLAGS=$CPPFLAGS
12022 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12023 for ac_header in lcms2.h
12024 do :
12025 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12026 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12027 cat >>confdefs.h <<_ACEOF
12028 #define HAVE_LCMS2_H 1
12029 _ACEOF
12033 done
12035 if test "$ac_cv_header_lcms2_h" = "yes"
12036 then
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12038 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12039 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12040 $as_echo_n "(cached) " >&6
12041 else
12042 ac_check_lib_save_LIBS=$LIBS
12043 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12047 /* Override any GCC internal prototype to avoid an error.
12048 Use char because int might match the return type of a GCC
12049 builtin and then its argument prototype would still apply. */
12050 #ifdef __cplusplus
12051 extern "C"
12052 #endif
12053 char cmsOpenProfileFromFile ();
12055 main ()
12057 return cmsOpenProfileFromFile ();
12059 return 0;
12061 _ACEOF
12062 if ac_fn_c_try_link "$LINENO"; then :
12063 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12064 else
12065 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12067 rm -f core conftest.err conftest.$ac_objext \
12068 conftest$ac_exeext conftest.$ac_ext
12069 LIBS=$ac_check_lib_save_LIBS
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12072 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12073 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12075 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12077 else
12078 LCMS2_LIBS=""
12081 else
12082 LCMS2_CFLAGS=""
12083 LCMS2_LIBS=""
12085 CPPFLAGS=$ac_save_CPPFLAGS
12086 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12087 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12090 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12091 case "x$with_cms" in
12092 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12093 xno) ;;
12094 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12095 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12096 esac
12099 if test "x$with_freetype" != "xno"
12100 then
12101 if ${FREETYPE_CFLAGS:+false} :; then :
12102 if ${PKG_CONFIG+:} false; then :
12103 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12106 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12107 if ${FREETYPE_LIBS:+false} :; then :
12108 if ${PKG_CONFIG+:} false; then :
12109 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12112 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12113 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12114 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12115 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12116 ac_save_CPPFLAGS=$CPPFLAGS
12117 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12118 for ac_header in ft2build.h
12119 do :
12120 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12121 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12122 cat >>confdefs.h <<_ACEOF
12123 #define HAVE_FT2BUILD_H 1
12124 _ACEOF
12128 done
12130 if test "$ac_cv_header_ft2build_h" = "yes"
12131 then
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12133 $as_echo_n "checking for -lfreetype... " >&6; }
12134 if ${ac_cv_lib_soname_freetype+:} false; then :
12135 $as_echo_n "(cached) " >&6
12136 else
12137 ac_check_soname_save_LIBS=$LIBS
12138 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12140 /* end confdefs.h. */
12142 /* Override any GCC internal prototype to avoid an error.
12143 Use char because int might match the return type of a GCC
12144 builtin and then its argument prototype would still apply. */
12145 #ifdef __cplusplus
12146 extern "C"
12147 #endif
12148 char FT_Init_FreeType ();
12150 main ()
12152 return FT_Init_FreeType ();
12154 return 0;
12156 _ACEOF
12157 if ac_fn_c_try_link "$LINENO"; then :
12158 case "$LIBEXT" in
12159 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12160 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'` ;;
12161 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12162 if ${ac_cv_lib_soname_freetype:+false} :; then :
12163 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12164 fi ;;
12165 esac
12167 rm -f core conftest.err conftest.$ac_objext \
12168 conftest$ac_exeext conftest.$ac_ext
12169 LIBS=$ac_check_soname_save_LIBS
12171 if ${ac_cv_lib_soname_freetype:+false} :; then :
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12173 $as_echo "not found" >&6; }
12174 FREETYPE_LIBS=""
12175 else
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12177 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12179 cat >>confdefs.h <<_ACEOF
12180 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12181 _ACEOF
12184 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12186 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12187 #include FT_MODULE_H
12189 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12191 cat >>confdefs.h <<_ACEOF
12192 #define HAVE_FT_TRUETYPEENGINETYPE 1
12193 _ACEOF
12199 else
12200 FREETYPE_CFLAGS=""
12201 FREETYPE_LIBS=""
12203 CPPFLAGS=$ac_save_CPPFLAGS
12204 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12205 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12208 if test "x$ac_cv_lib_soname_freetype" = x; then :
12209 case "x$with_freetype" in
12210 xno) ;;
12211 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12212 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12213 esac
12215 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12218 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12219 if ${ac_cv_c_ppdev+:} false; then :
12220 $as_echo_n "(cached) " >&6
12221 else
12222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12223 /* end confdefs.h. */
12224 #ifdef HAVE_SYS_IOCTL_H
12225 # include <sys/ioctl.h>
12226 #endif
12227 #include <linux/ppdev.h>
12229 main ()
12231 ioctl (1,PPCLAIM,0)
12233 return 0;
12235 _ACEOF
12236 if ac_fn_c_try_compile "$LINENO"; then :
12237 ac_cv_c_ppdev="yes"
12238 else
12239 ac_cv_c_ppdev="no"
12241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12244 $as_echo "$ac_cv_c_ppdev" >&6; }
12245 if test "$ac_cv_c_ppdev" = "yes"
12246 then
12248 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12252 ac_wine_check_funcs_save_LIBS="$LIBS"
12253 LIBS="$LIBS $PTHREAD_LIBS"
12254 for ac_func in \
12255 pthread_attr_get_np \
12256 pthread_getattr_np \
12257 pthread_getthreadid_np \
12258 pthread_get_stackaddr_np \
12259 pthread_get_stacksize_np
12260 do :
12261 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12263 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12264 cat >>confdefs.h <<_ACEOF
12265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12266 _ACEOF
12269 done
12271 LIBS="$ac_wine_check_funcs_save_LIBS"
12273 if test "$ac_cv_header_zlib_h" = "yes"
12274 then
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12276 $as_echo_n "checking for inflate in -lz... " >&6; }
12277 if ${ac_cv_lib_z_inflate+:} false; then :
12278 $as_echo_n "(cached) " >&6
12279 else
12280 ac_check_lib_save_LIBS=$LIBS
12281 LIBS="-lz $LIBS"
12282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12285 /* Override any GCC internal prototype to avoid an error.
12286 Use char because int might match the return type of a GCC
12287 builtin and then its argument prototype would still apply. */
12288 #ifdef __cplusplus
12289 extern "C"
12290 #endif
12291 char inflate ();
12293 main ()
12295 return inflate ();
12297 return 0;
12299 _ACEOF
12300 if ac_fn_c_try_link "$LINENO"; then :
12301 ac_cv_lib_z_inflate=yes
12302 else
12303 ac_cv_lib_z_inflate=no
12305 rm -f core conftest.err conftest.$ac_objext \
12306 conftest$ac_exeext conftest.$ac_ext
12307 LIBS=$ac_check_lib_save_LIBS
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12310 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12311 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12313 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12315 Z_LIBS="-lz"
12320 if test "x$Z_LIBS" = "x"; then :
12321 case "x$with_zlib" in
12322 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12323 xno) ;;
12324 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12325 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12326 esac
12329 if test "x$enable_tools" != xno
12330 then
12331 if test "$ac_cv_header_gettext_po_h" = "yes"
12332 then
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12334 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12335 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12336 $as_echo_n "(cached) " >&6
12337 else
12338 ac_check_lib_save_LIBS=$LIBS
12339 LIBS="-lgettextpo $LIBS"
12340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h. */
12343 /* Override any GCC internal prototype to avoid an error.
12344 Use char because int might match the return type of a GCC
12345 builtin and then its argument prototype would still apply. */
12346 #ifdef __cplusplus
12347 extern "C"
12348 #endif
12349 char po_message_msgctxt ();
12351 main ()
12353 return po_message_msgctxt ();
12355 return 0;
12357 _ACEOF
12358 if ac_fn_c_try_link "$LINENO"; then :
12359 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12360 else
12361 ac_cv_lib_gettextpo_po_message_msgctxt=no
12363 rm -f core conftest.err conftest.$ac_objext \
12364 conftest$ac_exeext conftest.$ac_ext
12365 LIBS=$ac_check_lib_save_LIBS
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12368 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12369 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12371 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12373 GETTEXTPO_LIBS="-lgettextpo"
12378 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12379 case "x$with_gettextpo" in
12380 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12381 xno) ;;
12382 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12383 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12384 esac
12388 if test "x$with_gstreamer" != "xno"
12389 then
12390 if ${GSTREAMER_CFLAGS:+false} :; then :
12391 if ${PKG_CONFIG+:} false; then :
12392 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12396 if ${GSTREAMER_LIBS:+false} :; then :
12397 if ${PKG_CONFIG+:} false; then :
12398 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12403 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12404 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12405 ac_save_CPPFLAGS=$CPPFLAGS
12406 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12407 ac_gst_incl=""
12408 for i in $GSTREAMER_CFLAGS
12410 case "$i" in
12411 -I*) ac_gst_incl="$ac_gst_incl $i";;
12412 esac
12413 done
12414 GSTREAMER_CFLAGS=$ac_gst_incl
12415 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12416 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12417 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12418 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12419 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12421 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12424 #include <gst/app/gstappsink.h>
12426 main ()
12428 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12430 return 0;
12432 _ACEOF
12433 if ac_fn_c_try_compile "$LINENO"; then :
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12435 $as_echo "yes" >&6; }
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12437 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12438 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12439 $as_echo_n "(cached) " >&6
12440 else
12441 ac_check_lib_save_LIBS=$LIBS
12442 LIBS="-lgstreamer-0.10 $LIBS"
12443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h. */
12446 /* Override any GCC internal prototype to avoid an error.
12447 Use char because int might match the return type of a GCC
12448 builtin and then its argument prototype would still apply. */
12449 #ifdef __cplusplus
12450 extern "C"
12451 #endif
12452 char gst_pad_get_caps_reffed ();
12454 main ()
12456 return gst_pad_get_caps_reffed ();
12458 return 0;
12460 _ACEOF
12461 if ac_fn_c_try_link "$LINENO"; then :
12462 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12463 else
12464 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12466 rm -f core conftest.err conftest.$ac_objext \
12467 conftest$ac_exeext conftest.$ac_ext
12468 LIBS=$ac_check_lib_save_LIBS
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12471 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12472 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12474 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12475 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12476 $as_echo_n "(cached) " >&6
12477 else
12478 ac_check_lib_save_LIBS=$LIBS
12479 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12481 /* end confdefs.h. */
12483 /* Override any GCC internal prototype to avoid an error.
12484 Use char because int might match the return type of a GCC
12485 builtin and then its argument prototype would still apply. */
12486 #ifdef __cplusplus
12487 extern "C"
12488 #endif
12489 char gst_app_buffer_new ();
12491 main ()
12493 return gst_app_buffer_new ();
12495 return 0;
12497 _ACEOF
12498 if ac_fn_c_try_link "$LINENO"; then :
12499 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12500 else
12501 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12503 rm -f core conftest.err conftest.$ac_objext \
12504 conftest$ac_exeext conftest.$ac_ext
12505 LIBS=$ac_check_lib_save_LIBS
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12508 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12509 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12515 else
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12517 $as_echo "no" >&6; }
12519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12523 else
12524 GSTREAMER_CFLAGS=""
12528 CPPFLAGS=$ac_save_CPPFLAGS
12529 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12530 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12533 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12534 case "x$with_gstreamer" in
12535 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12536 xno) ;;
12537 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12538 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12539 esac
12541 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12543 ALSA_LIBS=""
12545 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12546 then
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12548 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12549 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12550 $as_echo_n "(cached) " >&6
12551 else
12552 ac_check_lib_save_LIBS=$LIBS
12553 LIBS="-lasound $LIBS"
12554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12555 /* end confdefs.h. */
12557 /* Override any GCC internal prototype to avoid an error.
12558 Use char because int might match the return type of a GCC
12559 builtin and then its argument prototype would still apply. */
12560 #ifdef __cplusplus
12561 extern "C"
12562 #endif
12563 char snd_pcm_hw_params_get_access_mask ();
12565 main ()
12567 return snd_pcm_hw_params_get_access_mask ();
12569 return 0;
12571 _ACEOF
12572 if ac_fn_c_try_link "$LINENO"; then :
12573 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12574 else
12575 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12577 rm -f core conftest.err conftest.$ac_objext \
12578 conftest$ac_exeext conftest.$ac_ext
12579 LIBS=$ac_check_lib_save_LIBS
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12582 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12583 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12585 /* end confdefs.h. */
12586 #ifdef HAVE_ALSA_ASOUNDLIB_H
12587 #include <alsa/asoundlib.h>
12588 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12589 #include <sys/asoundlib.h>
12590 #endif
12592 main ()
12594 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12596 return 0;
12598 _ACEOF
12599 if ac_fn_c_try_compile "$LINENO"; then :
12600 ALSA_LIBS="-lasound"
12602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12607 if test "x$with_oss" != xno
12608 then
12609 ac_save_CPPFLAGS="$CPPFLAGS"
12610 if test -f /etc/oss.conf
12611 then
12612 . /etc/oss.conf
12614 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12615 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12616 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12617 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12618 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12620 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12622 cat >>confdefs.h <<_ACEOF
12623 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12624 _ACEOF
12626 OSS4_CFLAGS="$ac_oss_incl"
12633 CPPFLAGS="$ac_save_CPPFLAGS"
12634 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12635 then
12636 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12640 if test "x$with_capi" != "xno"
12641 then
12642 if ${CAPI20_CFLAGS:+false} :; then :
12643 if ${PKG_CONFIG+:} false; then :
12644 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12648 if ${CAPI20_LIBS:+false} :; then :
12649 if ${PKG_CONFIG+:} false; then :
12650 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12655 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12656 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12657 ac_save_CPPFLAGS=$CPPFLAGS
12658 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12659 for ac_header in capi20.h linux/capi.h
12660 do :
12661 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12662 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12664 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12665 cat >>confdefs.h <<_ACEOF
12666 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12667 _ACEOF
12671 done
12673 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12674 then
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12676 $as_echo_n "checking for -lcapi20... " >&6; }
12677 if ${ac_cv_lib_soname_capi20+:} false; then :
12678 $as_echo_n "(cached) " >&6
12679 else
12680 ac_check_soname_save_LIBS=$LIBS
12681 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12683 /* end confdefs.h. */
12685 /* Override any GCC internal prototype to avoid an error.
12686 Use char because int might match the return type of a GCC
12687 builtin and then its argument prototype would still apply. */
12688 #ifdef __cplusplus
12689 extern "C"
12690 #endif
12691 char capi20_register ();
12693 main ()
12695 return capi20_register ();
12697 return 0;
12699 _ACEOF
12700 if ac_fn_c_try_link "$LINENO"; then :
12701 case "$LIBEXT" in
12702 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12703 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'` ;;
12704 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12705 if ${ac_cv_lib_soname_capi20:+false} :; then :
12706 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12707 fi ;;
12708 esac
12710 rm -f core conftest.err conftest.$ac_objext \
12711 conftest$ac_exeext conftest.$ac_ext
12712 LIBS=$ac_check_soname_save_LIBS
12714 if ${ac_cv_lib_soname_capi20:+false} :; then :
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12716 $as_echo "not found" >&6; }
12718 else
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12720 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12722 cat >>confdefs.h <<_ACEOF
12723 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12724 _ACEOF
12729 CPPFLAGS=$ac_save_CPPFLAGS
12730 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12731 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12734 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12735 case "x$with_capi" in
12736 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12737 xno) ;;
12738 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12739 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12740 esac
12743 CUPS_CFLAGS=""
12745 if test "x$with_cups" != "xno"
12746 then
12747 ac_save_CPPFLAGS="$CPPFLAGS"
12748 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12749 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12750 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12751 for ac_header in cups/cups.h
12752 do :
12753 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12754 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12755 cat >>confdefs.h <<_ACEOF
12756 #define HAVE_CUPS_CUPS_H 1
12757 _ACEOF
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12759 $as_echo_n "checking for -lcups... " >&6; }
12760 if ${ac_cv_lib_soname_cups+:} false; then :
12761 $as_echo_n "(cached) " >&6
12762 else
12763 ac_check_soname_save_LIBS=$LIBS
12764 LIBS="-lcups $ac_cups_libs $LIBS"
12765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h. */
12768 /* Override any GCC internal prototype to avoid an error.
12769 Use char because int might match the return type of a GCC
12770 builtin and then its argument prototype would still apply. */
12771 #ifdef __cplusplus
12772 extern "C"
12773 #endif
12774 char cupsGetDefault ();
12776 main ()
12778 return cupsGetDefault ();
12780 return 0;
12782 _ACEOF
12783 if ac_fn_c_try_link "$LINENO"; then :
12784 case "$LIBEXT" in
12785 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12786 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'` ;;
12787 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12788 if ${ac_cv_lib_soname_cups:+false} :; then :
12789 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12790 fi ;;
12791 esac
12793 rm -f core conftest.err conftest.$ac_objext \
12794 conftest$ac_exeext conftest.$ac_ext
12795 LIBS=$ac_check_soname_save_LIBS
12797 if ${ac_cv_lib_soname_cups:+false} :; then :
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12799 $as_echo "not found" >&6; }
12801 else
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12803 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12805 cat >>confdefs.h <<_ACEOF
12806 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12807 _ACEOF
12809 CUPS_CFLAGS="$ac_cups_cflags"
12813 done
12815 CPPFLAGS="$ac_save_CPPFLAGS"
12817 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12818 case "x$with_cups" in
12819 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12820 xno) ;;
12821 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12822 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12823 esac
12826 if test "x$with_fontconfig" != "xno"
12827 then
12828 if ${FONTCONFIG_CFLAGS:+false} :; then :
12829 if ${PKG_CONFIG+:} false; then :
12830 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12833 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12834 if ${FONTCONFIG_LIBS:+false} :; then :
12835 if ${PKG_CONFIG+:} false; then :
12836 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12839 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12841 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12842 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12843 ac_save_CPPFLAGS=$CPPFLAGS
12844 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12845 for ac_header in fontconfig/fontconfig.h
12846 do :
12847 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12848 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12849 cat >>confdefs.h <<_ACEOF
12850 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12851 _ACEOF
12855 done
12857 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12858 then
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12860 $as_echo_n "checking for -lfontconfig... " >&6; }
12861 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12862 $as_echo_n "(cached) " >&6
12863 else
12864 ac_check_soname_save_LIBS=$LIBS
12865 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12872 #ifdef __cplusplus
12873 extern "C"
12874 #endif
12875 char FcInit ();
12877 main ()
12879 return FcInit ();
12881 return 0;
12883 _ACEOF
12884 if ac_fn_c_try_link "$LINENO"; then :
12885 case "$LIBEXT" in
12886 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12887 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'` ;;
12888 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12889 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12890 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12891 fi ;;
12892 esac
12894 rm -f core conftest.err conftest.$ac_objext \
12895 conftest$ac_exeext conftest.$ac_ext
12896 LIBS=$ac_check_soname_save_LIBS
12898 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12900 $as_echo "not found" >&6; }
12901 FONTCONFIG_CFLAGS=""
12902 else
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12904 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12906 cat >>confdefs.h <<_ACEOF
12907 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12908 _ACEOF
12912 else
12913 FONTCONFIG_CFLAGS=""
12915 CPPFLAGS=$ac_save_CPPFLAGS
12916 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12917 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12920 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12921 case "x$with_fontconfig" in
12922 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12923 xno) ;;
12924 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12925 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12926 esac
12929 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12930 then
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12932 $as_echo_n "checking for -lgsm... " >&6; }
12933 if ${ac_cv_lib_soname_gsm+:} false; then :
12934 $as_echo_n "(cached) " >&6
12935 else
12936 ac_check_soname_save_LIBS=$LIBS
12937 LIBS="-lgsm $LIBS"
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12941 /* Override any GCC internal prototype to avoid an error.
12942 Use char because int might match the return type of a GCC
12943 builtin and then its argument prototype would still apply. */
12944 #ifdef __cplusplus
12945 extern "C"
12946 #endif
12947 char gsm_create ();
12949 main ()
12951 return gsm_create ();
12953 return 0;
12955 _ACEOF
12956 if ac_fn_c_try_link "$LINENO"; then :
12957 case "$LIBEXT" in
12958 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12959 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'` ;;
12960 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12961 if ${ac_cv_lib_soname_gsm:+false} :; then :
12962 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12963 fi ;;
12964 esac
12966 rm -f core conftest.err conftest.$ac_objext \
12967 conftest$ac_exeext conftest.$ac_ext
12968 LIBS=$ac_check_soname_save_LIBS
12970 if ${ac_cv_lib_soname_gsm:+false} :; then :
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12972 $as_echo "not found" >&6; }
12974 else
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12976 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12978 cat >>confdefs.h <<_ACEOF
12979 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12980 _ACEOF
12985 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12986 case "x$with_gsm" in
12987 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12988 xno) ;;
12989 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12990 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12991 esac
12994 if test "x$with_jpeg" != "xno"
12995 then
12996 if ${JPEG_CFLAGS:+false} :; then :
12997 if ${PKG_CONFIG+:} false; then :
12998 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13002 if ${JPEG_LIBS:+false} :; then :
13003 if ${PKG_CONFIG+:} false; then :
13004 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13009 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13010 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13011 ac_save_CPPFLAGS=$CPPFLAGS
13012 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13013 for ac_header in jpeglib.h
13014 do :
13015 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13016 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13017 cat >>confdefs.h <<_ACEOF
13018 #define HAVE_JPEGLIB_H 1
13019 _ACEOF
13023 done
13025 if test "$ac_cv_header_jpeglib_h" = "yes"
13026 then
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13028 $as_echo_n "checking for -ljpeg... " >&6; }
13029 if ${ac_cv_lib_soname_jpeg+:} false; then :
13030 $as_echo_n "(cached) " >&6
13031 else
13032 ac_check_soname_save_LIBS=$LIBS
13033 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13037 /* Override any GCC internal prototype to avoid an error.
13038 Use char because int might match the return type of a GCC
13039 builtin and then its argument prototype would still apply. */
13040 #ifdef __cplusplus
13041 extern "C"
13042 #endif
13043 char jpeg_start_decompress ();
13045 main ()
13047 return jpeg_start_decompress ();
13049 return 0;
13051 _ACEOF
13052 if ac_fn_c_try_link "$LINENO"; then :
13053 case "$LIBEXT" in
13054 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13055 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'` ;;
13056 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13057 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13058 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13059 fi ;;
13060 esac
13062 rm -f core conftest.err conftest.$ac_objext \
13063 conftest$ac_exeext conftest.$ac_ext
13064 LIBS=$ac_check_soname_save_LIBS
13066 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13068 $as_echo "not found" >&6; }
13069 JPEG_CFLAGS=""
13070 else
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13072 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13074 cat >>confdefs.h <<_ACEOF
13075 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13076 _ACEOF
13080 else
13081 JPEG_CFLAGS=""
13083 CPPFLAGS=$ac_save_CPPFLAGS
13084 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13085 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13088 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13089 case "x$with_jpeg" in
13090 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13091 xno) ;;
13092 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13093 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13094 esac
13097 if test "x$with_png" != "xno"
13098 then
13099 if ${PNG_CFLAGS:+false} :; then :
13100 if ${PKG_CONFIG+:} false; then :
13101 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13104 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13105 if ${PNG_LIBS:+false} :; then :
13106 if ${PKG_CONFIG+:} false; then :
13107 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13110 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13112 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13113 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13114 ac_save_CPPFLAGS=$CPPFLAGS
13115 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13116 for ac_header in png.h
13117 do :
13118 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13119 if test "x$ac_cv_header_png_h" = xyes; then :
13120 cat >>confdefs.h <<_ACEOF
13121 #define HAVE_PNG_H 1
13122 _ACEOF
13126 done
13128 if test "$ac_cv_header_png_h" = "yes"
13129 then
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13131 $as_echo_n "checking for -lpng... " >&6; }
13132 if ${ac_cv_lib_soname_png+:} false; then :
13133 $as_echo_n "(cached) " >&6
13134 else
13135 ac_check_soname_save_LIBS=$LIBS
13136 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13138 /* end confdefs.h. */
13140 /* Override any GCC internal prototype to avoid an error.
13141 Use char because int might match the return type of a GCC
13142 builtin and then its argument prototype would still apply. */
13143 #ifdef __cplusplus
13144 extern "C"
13145 #endif
13146 char png_create_read_struct ();
13148 main ()
13150 return png_create_read_struct ();
13152 return 0;
13154 _ACEOF
13155 if ac_fn_c_try_link "$LINENO"; then :
13156 case "$LIBEXT" in
13157 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13158 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'` ;;
13159 *) 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'`
13160 if ${ac_cv_lib_soname_png:+false} :; then :
13161 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13162 fi ;;
13163 esac
13165 rm -f core conftest.err conftest.$ac_objext \
13166 conftest$ac_exeext conftest.$ac_ext
13167 LIBS=$ac_check_soname_save_LIBS
13169 if ${ac_cv_lib_soname_png:+false} :; then :
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13171 $as_echo "not found" >&6; }
13172 PNG_CFLAGS=""
13173 else
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13175 $as_echo "$ac_cv_lib_soname_png" >&6; }
13177 cat >>confdefs.h <<_ACEOF
13178 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13179 _ACEOF
13181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13182 /* end confdefs.h. */
13183 #include <png.h>
13185 main ()
13187 typeof(png_set_expand_gray_1_2_4_to_8) *p
13189 return 0;
13191 _ACEOF
13192 if ac_fn_c_try_compile "$LINENO"; then :
13194 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13199 else
13200 PNG_CFLAGS=""
13202 CPPFLAGS=$ac_save_CPPFLAGS
13203 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13204 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13207 if test "x$ac_cv_lib_soname_png" = "x"; then :
13208 case "x$with_png" in
13209 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13210 xno) ;;
13211 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13212 This is an error since --with-png was requested." "$LINENO" 5 ;;
13213 esac
13216 if test "x$with_tiff" != "xno"
13217 then
13218 if ${TIFF_CFLAGS:+false} :; then :
13219 if ${PKG_CONFIG+:} false; then :
13220 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13224 if ${TIFF_LIBS:+false} :; then :
13225 if ${PKG_CONFIG+:} false; then :
13226 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13231 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13232 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13233 ac_save_CPPFLAGS=$CPPFLAGS
13234 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13235 for ac_header in tiffio.h
13236 do :
13237 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13238 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13239 cat >>confdefs.h <<_ACEOF
13240 #define HAVE_TIFFIO_H 1
13241 _ACEOF
13245 done
13247 if test "$ac_cv_header_tiffio_h" = "yes"
13248 then
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13250 $as_echo_n "checking for -ltiff... " >&6; }
13251 if ${ac_cv_lib_soname_tiff+:} false; then :
13252 $as_echo_n "(cached) " >&6
13253 else
13254 ac_check_soname_save_LIBS=$LIBS
13255 LIBS="-ltiff $TIFF_LIBS $LIBS"
13256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13259 /* Override any GCC internal prototype to avoid an error.
13260 Use char because int might match the return type of a GCC
13261 builtin and then its argument prototype would still apply. */
13262 #ifdef __cplusplus
13263 extern "C"
13264 #endif
13265 char TIFFClientOpen ();
13267 main ()
13269 return TIFFClientOpen ();
13271 return 0;
13273 _ACEOF
13274 if ac_fn_c_try_link "$LINENO"; then :
13275 case "$LIBEXT" in
13276 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13277 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'` ;;
13278 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13279 if ${ac_cv_lib_soname_tiff:+false} :; then :
13280 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13281 fi ;;
13282 esac
13284 rm -f core conftest.err conftest.$ac_objext \
13285 conftest$ac_exeext conftest.$ac_ext
13286 LIBS=$ac_check_soname_save_LIBS
13288 if ${ac_cv_lib_soname_tiff:+false} :; then :
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13290 $as_echo "not found" >&6; }
13292 else
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13294 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13296 cat >>confdefs.h <<_ACEOF
13297 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13298 _ACEOF
13303 CPPFLAGS=$ac_save_CPPFLAGS
13304 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13305 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13308 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13309 case "x$with_tiff" in
13310 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13311 xno) ;;
13312 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13313 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13314 esac
13317 if test "x$with_mpg123" != "xno"
13318 then
13319 if ${MPG123_CFLAGS:+false} :; then :
13320 if ${PKG_CONFIG+:} false; then :
13321 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13325 if ${MPG123_LIBS:+false} :; then :
13326 if ${PKG_CONFIG+:} false; then :
13327 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13331 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13332 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13333 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13334 ac_save_CPPFLAGS=$CPPFLAGS
13335 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13336 for ac_header in mpg123.h
13337 do :
13338 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13339 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13340 cat >>confdefs.h <<_ACEOF
13341 #define HAVE_MPG123_H 1
13342 _ACEOF
13346 done
13348 if test "$ac_cv_header_mpg123_h" = "yes"
13349 then
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13351 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13352 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13353 $as_echo_n "(cached) " >&6
13354 else
13355 ac_check_lib_save_LIBS=$LIBS
13356 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13360 /* Override any GCC internal prototype to avoid an error.
13361 Use char because int might match the return type of a GCC
13362 builtin and then its argument prototype would still apply. */
13363 #ifdef __cplusplus
13364 extern "C"
13365 #endif
13366 char mpg123_feed ();
13368 main ()
13370 return mpg123_feed ();
13372 return 0;
13374 _ACEOF
13375 if ac_fn_c_try_link "$LINENO"; then :
13376 ac_cv_lib_mpg123_mpg123_feed=yes
13377 else
13378 ac_cv_lib_mpg123_mpg123_feed=no
13380 rm -f core conftest.err conftest.$ac_objext \
13381 conftest$ac_exeext conftest.$ac_ext
13382 LIBS=$ac_check_lib_save_LIBS
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13385 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13386 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13388 else
13389 MPG123_LIBS=""
13392 else
13393 MPG123_CFLAGS=""
13394 MPG123_LIBS=""
13396 CPPFLAGS=$ac_save_CPPFLAGS
13397 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13398 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13401 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13402 case "x$with_mpg123" in
13403 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13404 xno) ;;
13405 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13406 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13407 esac
13409 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}
13411 if test "$ac_cv_header_AL_al_h" = "yes"
13412 then
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13414 $as_echo_n "checking for -lopenal... " >&6; }
13415 if ${ac_cv_lib_soname_openal+:} false; then :
13416 $as_echo_n "(cached) " >&6
13417 else
13418 ac_check_soname_save_LIBS=$LIBS
13419 LIBS="-lopenal $LIBS"
13420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13421 /* end confdefs.h. */
13423 /* Override any GCC internal prototype to avoid an error.
13424 Use char because int might match the return type of a GCC
13425 builtin and then its argument prototype would still apply. */
13426 #ifdef __cplusplus
13427 extern "C"
13428 #endif
13429 char alGetSource3i ();
13431 main ()
13433 return alGetSource3i ();
13435 return 0;
13437 _ACEOF
13438 if ac_fn_c_try_link "$LINENO"; then :
13439 case "$LIBEXT" in
13440 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13441 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'` ;;
13442 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13443 if ${ac_cv_lib_soname_openal:+false} :; then :
13444 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13445 fi ;;
13446 esac
13448 rm -f core conftest.err conftest.$ac_objext \
13449 conftest$ac_exeext conftest.$ac_ext
13450 LIBS=$ac_check_soname_save_LIBS
13452 if ${ac_cv_lib_soname_openal:+false} :; then :
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13454 $as_echo "not found" >&6; }
13456 else
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13458 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13460 cat >>confdefs.h <<_ACEOF
13461 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13462 _ACEOF
13464 OPENAL_LIBS="-lopenal"
13466 ac_cv_lib_openal=yes
13468 cat >>confdefs.h <<_ACEOF
13469 #define HAVE_OPENAL 1
13470 _ACEOF
13474 if test "x$ac_cv_lib_openal" != xyes; then :
13475 case "x$with_openal" in
13476 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13477 xno) ;;
13478 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13479 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13480 esac
13482 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13484 if test "$ac_cv_header_kstat_h" = "yes"
13485 then
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13487 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13488 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13489 $as_echo_n "(cached) " >&6
13490 else
13491 ac_check_lib_save_LIBS=$LIBS
13492 LIBS="-lkstat $LIBS"
13493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13494 /* end confdefs.h. */
13496 /* Override any GCC internal prototype to avoid an error.
13497 Use char because int might match the return type of a GCC
13498 builtin and then its argument prototype would still apply. */
13499 #ifdef __cplusplus
13500 extern "C"
13501 #endif
13502 char kstat_open ();
13504 main ()
13506 return kstat_open ();
13508 return 0;
13510 _ACEOF
13511 if ac_fn_c_try_link "$LINENO"; then :
13512 ac_cv_lib_kstat_kstat_open=yes
13513 else
13514 ac_cv_lib_kstat_kstat_open=no
13516 rm -f core conftest.err conftest.$ac_objext \
13517 conftest$ac_exeext conftest.$ac_ext
13518 LIBS=$ac_check_lib_save_LIBS
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13521 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13522 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13524 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13526 KSTAT_LIBS="-lkstat"
13532 if test "$ac_cv_header_libprocstat_h" = "yes"
13533 then
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13535 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13536 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13537 $as_echo_n "(cached) " >&6
13538 else
13539 ac_check_lib_save_LIBS=$LIBS
13540 LIBS="-lprocstat $LIBS"
13541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h. */
13544 /* Override any GCC internal prototype to avoid an error.
13545 Use char because int might match the return type of a GCC
13546 builtin and then its argument prototype would still apply. */
13547 #ifdef __cplusplus
13548 extern "C"
13549 #endif
13550 char procstat_open_sysctl ();
13552 main ()
13554 return procstat_open_sysctl ();
13556 return 0;
13558 _ACEOF
13559 if ac_fn_c_try_link "$LINENO"; then :
13560 ac_cv_lib_procstat_procstat_open_sysctl=yes
13561 else
13562 ac_cv_lib_procstat_procstat_open_sysctl=no
13564 rm -f core conftest.err conftest.$ac_objext \
13565 conftest$ac_exeext conftest.$ac_ext
13566 LIBS=$ac_check_lib_save_LIBS
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13569 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13570 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13572 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13574 PROCSTAT_LIBS="-lprocstat"
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13581 $as_echo_n "checking for -lodbc... " >&6; }
13582 if ${ac_cv_lib_soname_odbc+:} false; then :
13583 $as_echo_n "(cached) " >&6
13584 else
13585 ac_check_soname_save_LIBS=$LIBS
13586 LIBS="-lodbc $LIBS"
13587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13588 /* end confdefs.h. */
13590 /* Override any GCC internal prototype to avoid an error.
13591 Use char because int might match the return type of a GCC
13592 builtin and then its argument prototype would still apply. */
13593 #ifdef __cplusplus
13594 extern "C"
13595 #endif
13596 char SQLConnect ();
13598 main ()
13600 return SQLConnect ();
13602 return 0;
13604 _ACEOF
13605 if ac_fn_c_try_link "$LINENO"; then :
13606 case "$LIBEXT" in
13607 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13608 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'` ;;
13609 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13610 if ${ac_cv_lib_soname_odbc:+false} :; then :
13611 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13612 fi ;;
13613 esac
13615 rm -f core conftest.err conftest.$ac_objext \
13616 conftest$ac_exeext conftest.$ac_ext
13617 LIBS=$ac_check_soname_save_LIBS
13619 if ${ac_cv_lib_soname_odbc:+false} :; then :
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13621 $as_echo "not found" >&6; }
13622 cat >>confdefs.h <<_ACEOF
13623 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13624 _ACEOF
13626 else
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13628 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13630 cat >>confdefs.h <<_ACEOF
13631 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13632 _ACEOF
13637 if test "x$with_netapi" != "xno"
13638 then
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13640 $as_echo_n "checking for -lnetapi... " >&6; }
13641 if ${ac_cv_lib_soname_netapi+:} false; then :
13642 $as_echo_n "(cached) " >&6
13643 else
13644 ac_check_soname_save_LIBS=$LIBS
13645 LIBS="-lnetapi $LIBS"
13646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13649 /* Override any GCC internal prototype to avoid an error.
13650 Use char because int might match the return type of a GCC
13651 builtin and then its argument prototype would still apply. */
13652 #ifdef __cplusplus
13653 extern "C"
13654 #endif
13655 char libnetapi_init ();
13657 main ()
13659 return libnetapi_init ();
13661 return 0;
13663 _ACEOF
13664 if ac_fn_c_try_link "$LINENO"; then :
13665 case "$LIBEXT" in
13666 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13667 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'` ;;
13668 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13669 if ${ac_cv_lib_soname_netapi:+false} :; then :
13670 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13671 fi ;;
13672 esac
13674 rm -f core conftest.err conftest.$ac_objext \
13675 conftest$ac_exeext conftest.$ac_ext
13676 LIBS=$ac_check_soname_save_LIBS
13678 if ${ac_cv_lib_soname_netapi:+false} :; then :
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13680 $as_echo "not found" >&6; }
13681 cat >>confdefs.h <<_ACEOF
13682 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13683 _ACEOF
13685 else
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13687 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13689 cat >>confdefs.h <<_ACEOF
13690 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13691 _ACEOF
13697 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13698 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13699 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13700 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13702 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13703 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13704 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13705 then
13706 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13710 EXTRACFLAGS=""
13712 if test "x${GCC}" = "xyes"
13713 then
13714 EXTRACFLAGS="-Wall -pipe"
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13717 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13718 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13719 $as_echo_n "(cached) " >&6
13720 else
13721 if test "$cross_compiling" = yes; then :
13722 ac_cv_c_gcc_strength_bug="yes"
13723 else
13724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13725 /* end confdefs.h. */
13726 int L[4] = {0,1,2,3};
13728 main ()
13730 static int Array[3];
13731 unsigned int B = 3;
13732 int i;
13733 for(i=0; i<B; i++) Array[i] = i - 3;
13734 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13735 L[i] = 4;
13736 return (Array[1] != -2 || L[2] != 3)
13738 return 0;
13740 _ACEOF
13741 if ac_fn_c_try_run "$LINENO"; then :
13742 ac_cv_c_gcc_strength_bug="no"
13743 else
13744 ac_cv_c_gcc_strength_bug="yes"
13746 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13747 conftest.$ac_objext conftest.beam conftest.$ac_ext
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13752 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13753 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13754 then
13755 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13759 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13760 if ${ac_cv_cflags__fno_builtin+:} false; then :
13761 $as_echo_n "(cached) " >&6
13762 else
13763 ac_wine_try_cflags_saved=$CFLAGS
13764 CFLAGS="$CFLAGS -fno-builtin"
13765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13766 /* end confdefs.h. */
13767 int main(int argc, char **argv) { return 0; }
13768 _ACEOF
13769 if ac_fn_c_try_link "$LINENO"; then :
13770 ac_cv_cflags__fno_builtin=yes
13771 else
13772 ac_cv_cflags__fno_builtin=no
13774 rm -f core conftest.err conftest.$ac_objext \
13775 conftest$ac_exeext conftest.$ac_ext
13776 CFLAGS=$ac_wine_try_cflags_saved
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13779 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13780 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13781 BUILTINFLAG="-fno-builtin"
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13785 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13786 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13787 $as_echo_n "(cached) " >&6
13788 else
13789 ac_wine_try_cflags_saved=$CFLAGS
13790 CFLAGS="$CFLAGS -fno-strict-aliasing"
13791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13792 /* end confdefs.h. */
13793 int main(int argc, char **argv) { return 0; }
13794 _ACEOF
13795 if ac_fn_c_try_link "$LINENO"; then :
13796 ac_cv_cflags__fno_strict_aliasing=yes
13797 else
13798 ac_cv_cflags__fno_strict_aliasing=no
13800 rm -f core conftest.err conftest.$ac_objext \
13801 conftest$ac_exeext conftest.$ac_ext
13802 CFLAGS=$ac_wine_try_cflags_saved
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13805 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13806 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13807 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13809 saved_CFLAGS=$CFLAGS
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13811 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13812 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13813 $as_echo_n "(cached) " >&6
13814 else
13815 ac_wine_try_cflags_saved=$CFLAGS
13816 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13819 int main(int argc, char **argv) { return 0; }
13820 _ACEOF
13821 if ac_fn_c_try_link "$LINENO"; then :
13822 ac_cv_cflags__Werror_unknown_warning_option=yes
13823 else
13824 ac_cv_cflags__Werror_unknown_warning_option=no
13826 rm -f core conftest.err conftest.$ac_objext \
13827 conftest$ac_exeext conftest.$ac_ext
13828 CFLAGS=$ac_wine_try_cflags_saved
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13831 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13832 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13833 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13836 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13837 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13838 $as_echo_n "(cached) " >&6
13839 else
13840 ac_wine_try_cflags_saved=$CFLAGS
13841 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13844 int main(int argc, char **argv) { return 0; }
13845 _ACEOF
13846 if ac_fn_c_try_link "$LINENO"; then :
13847 ac_cv_cflags__Wdeclaration_after_statement=yes
13848 else
13849 ac_cv_cflags__Wdeclaration_after_statement=no
13851 rm -f core conftest.err conftest.$ac_objext \
13852 conftest$ac_exeext conftest.$ac_ext
13853 CFLAGS=$ac_wine_try_cflags_saved
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13856 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13857 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13858 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13861 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13862 if ${ac_cv_cflags__Wempty_body+:} false; then :
13863 $as_echo_n "(cached) " >&6
13864 else
13865 ac_wine_try_cflags_saved=$CFLAGS
13866 CFLAGS="$CFLAGS -Wempty-body"
13867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13868 /* end confdefs.h. */
13869 int main(int argc, char **argv) { return 0; }
13870 _ACEOF
13871 if ac_fn_c_try_link "$LINENO"; then :
13872 ac_cv_cflags__Wempty_body=yes
13873 else
13874 ac_cv_cflags__Wempty_body=no
13876 rm -f core conftest.err conftest.$ac_objext \
13877 conftest$ac_exeext conftest.$ac_ext
13878 CFLAGS=$ac_wine_try_cflags_saved
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13881 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13882 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13883 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13886 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13887 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13888 $as_echo_n "(cached) " >&6
13889 else
13890 ac_wine_try_cflags_saved=$CFLAGS
13891 CFLAGS="$CFLAGS -Wignored-qualifiers"
13892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13893 /* end confdefs.h. */
13894 int main(int argc, char **argv) { return 0; }
13895 _ACEOF
13896 if ac_fn_c_try_link "$LINENO"; then :
13897 ac_cv_cflags__Wignored_qualifiers=yes
13898 else
13899 ac_cv_cflags__Wignored_qualifiers=no
13901 rm -f core conftest.err conftest.$ac_objext \
13902 conftest$ac_exeext conftest.$ac_ext
13903 CFLAGS=$ac_wine_try_cflags_saved
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13906 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13907 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13908 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13911 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13912 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13913 $as_echo_n "(cached) " >&6
13914 else
13915 ac_wine_try_cflags_saved=$CFLAGS
13916 CFLAGS="$CFLAGS -Wstrict-prototypes"
13917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13919 int main(int argc, char **argv) { return 0; }
13920 _ACEOF
13921 if ac_fn_c_try_link "$LINENO"; then :
13922 ac_cv_cflags__Wstrict_prototypes=yes
13923 else
13924 ac_cv_cflags__Wstrict_prototypes=no
13926 rm -f core conftest.err conftest.$ac_objext \
13927 conftest$ac_exeext conftest.$ac_ext
13928 CFLAGS=$ac_wine_try_cflags_saved
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13931 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13932 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13933 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13936 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13937 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13938 $as_echo_n "(cached) " >&6
13939 else
13940 ac_wine_try_cflags_saved=$CFLAGS
13941 CFLAGS="$CFLAGS -Wtype-limits"
13942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13943 /* end confdefs.h. */
13944 int main(int argc, char **argv) { return 0; }
13945 _ACEOF
13946 if ac_fn_c_try_link "$LINENO"; then :
13947 ac_cv_cflags__Wtype_limits=yes
13948 else
13949 ac_cv_cflags__Wtype_limits=no
13951 rm -f core conftest.err conftest.$ac_objext \
13952 conftest$ac_exeext conftest.$ac_ext
13953 CFLAGS=$ac_wine_try_cflags_saved
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13956 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13957 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13958 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13961 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13962 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13963 $as_echo_n "(cached) " >&6
13964 else
13965 ac_wine_try_cflags_saved=$CFLAGS
13966 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13968 /* end confdefs.h. */
13969 int main(int argc, char **argv) { return 0; }
13970 _ACEOF
13971 if ac_fn_c_try_link "$LINENO"; then :
13972 ac_cv_cflags__Wunused_but_set_parameter=yes
13973 else
13974 ac_cv_cflags__Wunused_but_set_parameter=no
13976 rm -f core conftest.err conftest.$ac_objext \
13977 conftest$ac_exeext conftest.$ac_ext
13978 CFLAGS=$ac_wine_try_cflags_saved
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13981 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13982 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13983 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13986 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13987 if ${ac_cv_cflags__Wvla+:} false; then :
13988 $as_echo_n "(cached) " >&6
13989 else
13990 ac_wine_try_cflags_saved=$CFLAGS
13991 CFLAGS="$CFLAGS -Wvla"
13992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
13994 int main(int argc, char **argv) { return 0; }
13995 _ACEOF
13996 if ac_fn_c_try_link "$LINENO"; then :
13997 ac_cv_cflags__Wvla=yes
13998 else
13999 ac_cv_cflags__Wvla=no
14001 rm -f core conftest.err conftest.$ac_objext \
14002 conftest$ac_exeext conftest.$ac_ext
14003 CFLAGS=$ac_wine_try_cflags_saved
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14006 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14007 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14008 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14011 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14012 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14013 $as_echo_n "(cached) " >&6
14014 else
14015 ac_wine_try_cflags_saved=$CFLAGS
14016 CFLAGS="$CFLAGS -Wwrite-strings"
14017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14018 /* end confdefs.h. */
14019 int main(int argc, char **argv) { return 0; }
14020 _ACEOF
14021 if ac_fn_c_try_link "$LINENO"; then :
14022 ac_cv_cflags__Wwrite_strings=yes
14023 else
14024 ac_cv_cflags__Wwrite_strings=no
14026 rm -f core conftest.err conftest.$ac_objext \
14027 conftest$ac_exeext conftest.$ac_ext
14028 CFLAGS=$ac_wine_try_cflags_saved
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14031 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14032 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14033 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14037 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14038 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14039 $as_echo_n "(cached) " >&6
14040 else
14041 ac_wine_try_cflags_saved=$CFLAGS
14042 CFLAGS="$CFLAGS -Wpointer-arith"
14043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14045 int main(int argc, char **argv) { return 0; }
14046 _ACEOF
14047 if ac_fn_c_try_link "$LINENO"; then :
14048 ac_cv_cflags__Wpointer_arith=yes
14049 else
14050 ac_cv_cflags__Wpointer_arith=no
14052 rm -f core conftest.err conftest.$ac_objext \
14053 conftest$ac_exeext conftest.$ac_ext
14054 CFLAGS=$ac_wine_try_cflags_saved
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14057 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14058 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14059 saved_string_h_CFLAGS=$CFLAGS
14060 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14062 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14063 if ${ac_cv_c_string_h_warnings+:} false; then :
14064 $as_echo_n "(cached) " >&6
14065 else
14066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14068 #include <string.h>
14070 main ()
14074 return 0;
14076 _ACEOF
14077 if ac_fn_c_try_compile "$LINENO"; then :
14078 ac_cv_c_string_h_warnings=no
14079 else
14080 ac_cv_c_string_h_warnings=yes
14082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14085 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14086 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14087 CFLAGS=$saved_string_h_CFLAGS
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14091 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14092 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14093 $as_echo_n "(cached) " >&6
14094 else
14095 ac_wine_try_cflags_saved=$CFLAGS
14096 CFLAGS="$CFLAGS -Wlogical-op"
14097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14099 int main(int argc, char **argv) { return 0; }
14100 _ACEOF
14101 if ac_fn_c_try_link "$LINENO"; then :
14102 ac_cv_cflags__Wlogical_op=yes
14103 else
14104 ac_cv_cflags__Wlogical_op=no
14106 rm -f core conftest.err conftest.$ac_objext \
14107 conftest$ac_exeext conftest.$ac_ext
14108 CFLAGS=$ac_wine_try_cflags_saved
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14111 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14112 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14113 saved_string_h_CFLAGS=$CFLAGS
14114 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14116 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14117 if ${ac_cv_c_logicalop_noisy+:} false; then :
14118 $as_echo_n "(cached) " >&6
14119 else
14120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14121 /* end confdefs.h. */
14122 #include <string.h>
14123 char*f(const char *h,char n) {return strchr(h,n);}
14125 main ()
14129 return 0;
14131 _ACEOF
14132 if ac_fn_c_try_compile "$LINENO"; then :
14133 ac_cv_c_logicalop_noisy=no
14134 else
14135 ac_cv_c_logicalop_noisy=yes
14137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14140 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14141 CFLAGS=$saved_string_h_CFLAGS
14142 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14145 CFLAGS=$saved_CFLAGS
14147 for ac_flag in $CFLAGS; do
14148 case $ac_flag in
14149 -g) case $host_os in
14150 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14151 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14152 if ${ac_cv_cflags__gstabsp+:} false; then :
14153 $as_echo_n "(cached) " >&6
14154 else
14155 ac_wine_try_cflags_saved=$CFLAGS
14156 CFLAGS="$CFLAGS -gstabs+"
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__gstabsp=yes
14163 else
14164 ac_cv_cflags__gstabsp=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__gstabsp" >&5
14171 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14172 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14173 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14174 fi ;;
14175 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14176 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14177 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14178 $as_echo_n "(cached) " >&6
14179 else
14180 ac_wine_try_cflags_saved=$CFLAGS
14181 CFLAGS="$CFLAGS -gdwarf-2"
14182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14184 int main(int argc, char **argv) { return 0; }
14185 _ACEOF
14186 if ac_fn_c_try_link "$LINENO"; then :
14187 ac_cv_cflags__gdwarf_2=yes
14188 else
14189 ac_cv_cflags__gdwarf_2=no
14191 rm -f core conftest.err conftest.$ac_objext \
14192 conftest$ac_exeext conftest.$ac_ext
14193 CFLAGS=$ac_wine_try_cflags_saved
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14196 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14197 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14198 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14201 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14202 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14203 $as_echo_n "(cached) " >&6
14204 else
14205 ac_wine_try_cflags_saved=$CFLAGS
14206 CFLAGS="$CFLAGS -gstrict-dwarf"
14207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14209 int main(int argc, char **argv) { return 0; }
14210 _ACEOF
14211 if ac_fn_c_try_link "$LINENO"; then :
14212 ac_cv_cflags__gstrict_dwarf=yes
14213 else
14214 ac_cv_cflags__gstrict_dwarf=no
14216 rm -f core conftest.err conftest.$ac_objext \
14217 conftest$ac_exeext conftest.$ac_ext
14218 CFLAGS=$ac_wine_try_cflags_saved
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14221 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14222 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14223 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14224 fi ;;
14225 esac ;;
14226 esac
14227 done
14229 case $host_cpu in
14230 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14231 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14232 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14233 $as_echo_n "(cached) " >&6
14234 else
14235 ac_wine_try_cflags_saved=$CFLAGS
14236 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14238 /* end confdefs.h. */
14239 int main(int argc, char **argv) { return 0; }
14240 _ACEOF
14241 if ac_fn_c_try_link "$LINENO"; then :
14242 ac_cv_cflags__fno_omit_frame_pointer=yes
14243 else
14244 ac_cv_cflags__fno_omit_frame_pointer=no
14246 rm -f core conftest.err conftest.$ac_objext \
14247 conftest$ac_exeext conftest.$ac_ext
14248 CFLAGS=$ac_wine_try_cflags_saved
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14251 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14252 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14253 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14254 fi ;;
14255 esac
14257 case $host in
14258 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14259 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14260 if ${ac_cv_cflags__Wno_format+:} false; then :
14261 $as_echo_n "(cached) " >&6
14262 else
14263 ac_wine_try_cflags_saved=$CFLAGS
14264 CFLAGS="$CFLAGS -Wno-format"
14265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14267 int main(int argc, char **argv) { return 0; }
14268 _ACEOF
14269 if ac_fn_c_try_link "$LINENO"; then :
14270 ac_cv_cflags__Wno_format=yes
14271 else
14272 ac_cv_cflags__Wno_format=no
14274 rm -f core conftest.err conftest.$ac_objext \
14275 conftest$ac_exeext conftest.$ac_ext
14276 CFLAGS=$ac_wine_try_cflags_saved
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14279 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14280 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14281 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14282 fi ;;
14283 esac
14285 if test "x$enable_maintainer_mode" = "xyes"
14286 then
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14288 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14289 if ${ac_cv_cflags__Werror+:} false; then :
14290 $as_echo_n "(cached) " >&6
14291 else
14292 ac_wine_try_cflags_saved=$CFLAGS
14293 CFLAGS="$CFLAGS -Werror"
14294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14296 int main(int argc, char **argv) { return 0; }
14297 _ACEOF
14298 if ac_fn_c_try_link "$LINENO"; then :
14299 ac_cv_cflags__Werror=yes
14300 else
14301 ac_cv_cflags__Werror=no
14303 rm -f core conftest.err conftest.$ac_objext \
14304 conftest$ac_exeext conftest.$ac_ext
14305 CFLAGS=$ac_wine_try_cflags_saved
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14308 $as_echo "$ac_cv_cflags__Werror" >&6; }
14309 if test "x$ac_cv_cflags__Werror" = xyes; then :
14310 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14314 saved_CFLAGS="$CFLAGS"
14315 CFLAGS="$CFLAGS -Werror"
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14317 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14318 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14319 $as_echo_n "(cached) " >&6
14320 else
14321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14323 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14325 main ()
14329 return 0;
14331 _ACEOF
14332 if ac_fn_c_try_compile "$LINENO"; then :
14333 ac_cv_have_ms_hook_prologue="yes"
14334 else
14335 ac_cv_have_ms_hook_prologue="no"
14337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14340 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14341 CFLAGS="$saved_CFLAGS"
14342 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14343 then
14345 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14347 else
14348 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14355 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14356 if ${ac_cv_c_fortify_enabled+:} false; then :
14357 $as_echo_n "(cached) " >&6
14358 else
14359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14360 /* end confdefs.h. */
14361 #include <string.h>
14363 main ()
14365 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14366 #error Fortify enabled
14367 #endif
14369 return 0;
14371 _ACEOF
14372 if ac_fn_c_try_compile "$LINENO"; then :
14373 ac_cv_c_fortify_enabled=no
14374 else
14375 ac_cv_c_fortify_enabled=yes
14377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14380 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14381 if test "$ac_cv_c_fortify_enabled" = yes
14382 then
14383 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14388 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14389 if ${ac_cv_c_extern_prefix+:} false; then :
14390 $as_echo_n "(cached) " >&6
14391 else
14392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14393 /* end confdefs.h. */
14394 extern int ac_test;
14396 main ()
14398 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14400 return 0;
14402 _ACEOF
14403 if ac_fn_c_try_link "$LINENO"; then :
14404 ac_cv_c_extern_prefix="yes"
14405 else
14406 ac_cv_c_extern_prefix="no"
14408 rm -f core conftest.err conftest.$ac_objext \
14409 conftest$ac_exeext conftest.$ac_ext
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14412 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14414 case $host_cpu in
14415 *i[3456789]86*)
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14417 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14418 if ${ac_cv_c_stdcall_suffix+:} false; then :
14419 $as_echo_n "(cached) " >&6
14420 else
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14423 #ifndef _MSC_VER
14424 #define __stdcall __attribute__((__stdcall__))
14425 #endif
14426 int __stdcall ac_test(int i) { return i; }
14428 main ()
14430 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14432 return 0;
14434 _ACEOF
14435 if ac_fn_c_try_link "$LINENO"; then :
14436 ac_cv_c_stdcall_suffix="yes"
14437 else
14438 ac_cv_c_stdcall_suffix="no"
14440 rm -f core conftest.err conftest.$ac_objext \
14441 conftest$ac_exeext conftest.$ac_ext
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14444 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14445 *) ac_cv_c_stdcall_suffix="no" ;;
14446 esac
14449 if test "$ac_cv_c_extern_prefix" = "yes"
14450 then
14451 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14453 asm_name_prefix="_"
14454 else
14455 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14457 asm_name_prefix=""
14461 if test "$ac_cv_c_stdcall_suffix" = "yes"
14462 then
14463 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14465 else
14466 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14472 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14473 if ${ac_cv_asm_func_def+:} false; then :
14474 $as_echo_n "(cached) " >&6
14475 else
14476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14477 /* end confdefs.h. */
14480 main ()
14482 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14484 return 0;
14486 _ACEOF
14487 if ac_fn_c_try_link "$LINENO"; then :
14488 ac_cv_asm_func_def=".def"
14489 else
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14494 main ()
14496 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14498 return 0;
14500 _ACEOF
14501 if ac_fn_c_try_link "$LINENO"; then :
14502 ac_cv_asm_func_def=".type @function"
14503 else
14504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14505 /* end confdefs.h. */
14508 main ()
14510 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14512 return 0;
14514 _ACEOF
14515 if ac_fn_c_try_link "$LINENO"; then :
14516 ac_cv_asm_func_def=".type 2"
14517 else
14518 ac_cv_asm_func_def="unknown"
14520 rm -f core conftest.err conftest.$ac_objext \
14521 conftest$ac_exeext conftest.$ac_ext
14523 rm -f core conftest.err conftest.$ac_objext \
14524 conftest$ac_exeext conftest.$ac_ext
14526 rm -f core conftest.err conftest.$ac_objext \
14527 conftest$ac_exeext conftest.$ac_ext
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14530 $as_echo "$ac_cv_asm_func_def" >&6; }
14533 case "$ac_cv_asm_func_def" in
14534 ".def")
14535 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14537 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14538 ".type @function")
14539 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14541 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14542 ".type 2")
14543 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14545 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14547 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14549 asm_func_header="" ;;
14550 esac
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14553 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14554 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14555 $as_echo_n "(cached) " >&6
14556 else
14557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14558 /* end confdefs.h. */
14559 asm(".text\n\t.long 0");
14561 main ()
14565 return 0;
14567 _ACEOF
14568 if ac_fn_c_try_compile "$LINENO"; then :
14569 ac_cv_c_asm_outside_funcs="yes"
14570 else
14571 ac_cv_c_asm_outside_funcs="no"
14573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14576 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14579 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14580 if ${ac_cv_c_dot_previous+:} false; then :
14581 $as_echo_n "(cached) " >&6
14582 else
14583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14584 /* end confdefs.h. */
14587 main ()
14589 asm(".text\nac_test:\t.long 0\n\t.previous");
14591 return 0;
14593 _ACEOF
14594 if ac_fn_c_try_link "$LINENO"; then :
14595 ac_cv_c_dot_previous="yes"
14596 else
14597 ac_cv_c_dot_previous="no"
14599 rm -f core conftest.err conftest.$ac_objext \
14600 conftest$ac_exeext conftest.$ac_ext
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14603 $as_echo "$ac_cv_c_dot_previous" >&6; }
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14606 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14607 if ${ac_cv_c_cfi_support+:} false; then :
14608 $as_echo_n "(cached) " >&6
14609 else
14610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14611 /* end confdefs.h. */
14612 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14614 main ()
14618 return 0;
14620 _ACEOF
14621 if ac_fn_c_try_compile "$LINENO"; then :
14622 ac_cv_c_cfi_support="yes"
14623 else
14624 ac_cv_c_cfi_support="no"
14626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14629 $as_echo "$ac_cv_c_cfi_support" >&6; }
14631 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14632 asm_func_trailer=""
14633 if test "$ac_cv_c_dot_previous" = "yes"
14634 then
14635 asm_func_trailer="\\n\\t.previous"
14637 if test "$ac_cv_c_cfi_support" = "yes"
14638 then
14639 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14640 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14642 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14644 UNWINDFLAGS=-fasynchronous-unwind-tables
14646 else
14647 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14651 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14654 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14655 then
14656 cat >>confdefs.h <<_ACEOF
14657 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14658 _ACEOF
14660 else
14661 cat >>confdefs.h <<_ACEOF
14662 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14663 _ACEOF
14667 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14670 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14674 case $build_os in
14675 cygwin*|mingw32*) TOOLSEXT=".exe"
14677 esac
14679 case $host_os in
14680 linux*)
14681 case $host_cpu in
14682 *i[3456789]86*|x86_64*)
14683 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14684 loader_programs="$loader_programs $wine_binary-preloader"
14685 as_fn_append LOADER_RULES "
14686 $wine_binary-preloader: preloader.o
14687 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14689 install install-lib:: $wine_binary-preloader
14690 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14692 uninstall::
14693 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14695 preloader_EXTRADEFS = $BUILTINFLAG
14696 " ;;
14697 esac
14699 esac
14700 as_fn_append LOADER_RULES "
14701 PROGRAMS = $loader_programs
14705 ac_save_CFLAGS="$CFLAGS"
14706 CFLAGS="$CFLAGS $BUILTINFLAG"
14707 for ac_func in \
14708 __res_get_state \
14709 __res_getservers \
14710 _finite \
14711 _isnan \
14712 _pclose \
14713 _popen \
14714 _snprintf \
14715 _spawnvp \
14716 _strdup \
14717 _stricmp \
14718 _strnicmp \
14719 _strtoi64 \
14720 _strtoui64 \
14721 _vsnprintf \
14722 asctime_r \
14723 chsize \
14724 dlopen \
14725 epoll_create \
14726 ffs \
14727 finitef \
14728 fnmatch \
14729 fork \
14730 fpclass \
14731 fstatfs \
14732 fstatvfs \
14733 ftruncate \
14734 futimens \
14735 futimes \
14736 futimesat \
14737 getattrlist \
14738 getdirentries \
14739 getopt_long_only \
14740 getpwuid \
14741 gettimeofday \
14742 getuid \
14743 if_nameindex \
14744 isnanf \
14745 kqueue \
14746 lstat \
14747 memmove \
14748 mmap \
14749 pclose \
14750 pipe2 \
14751 poll \
14752 popen \
14753 port_create \
14754 prctl \
14755 pread \
14756 proc_pidinfo \
14757 pwrite \
14758 readdir \
14759 readlink \
14760 sched_yield \
14761 select \
14762 setproctitle \
14763 setrlimit \
14764 settimeofday \
14765 sigaltstack \
14766 sigprocmask \
14767 snprintf \
14768 statfs \
14769 statvfs \
14770 strcasecmp \
14771 strdup \
14772 strerror \
14773 strncasecmp \
14774 strtold \
14775 strtoll \
14776 strtoull \
14777 symlink \
14778 tcdrain \
14779 thr_kill2 \
14780 timegm \
14781 usleep \
14782 vsnprintf
14784 do :
14785 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14787 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14788 cat >>confdefs.h <<_ACEOF
14789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14790 _ACEOF
14793 done
14795 CFLAGS="$ac_save_CFLAGS"
14797 if test "$ac_cv_func_dlopen" = no
14798 then
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14800 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14801 if ${ac_cv_lib_dl_dlopen+:} false; then :
14802 $as_echo_n "(cached) " >&6
14803 else
14804 ac_check_lib_save_LIBS=$LIBS
14805 LIBS="-ldl $LIBS"
14806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14807 /* end confdefs.h. */
14809 /* Override any GCC internal prototype to avoid an error.
14810 Use char because int might match the return type of a GCC
14811 builtin and then its argument prototype would still apply. */
14812 #ifdef __cplusplus
14813 extern "C"
14814 #endif
14815 char dlopen ();
14817 main ()
14819 return dlopen ();
14821 return 0;
14823 _ACEOF
14824 if ac_fn_c_try_link "$LINENO"; then :
14825 ac_cv_lib_dl_dlopen=yes
14826 else
14827 ac_cv_lib_dl_dlopen=no
14829 rm -f core conftest.err conftest.$ac_objext \
14830 conftest$ac_exeext conftest.$ac_ext
14831 LIBS=$ac_check_lib_save_LIBS
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14834 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14835 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14836 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14837 DL_LIBS="-ldl"
14842 ac_wine_check_funcs_save_LIBS="$LIBS"
14843 LIBS="$LIBS $DL_LIBS"
14844 for ac_func in dladdr
14845 do :
14846 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14847 if test "x$ac_cv_func_dladdr" = xyes; then :
14848 cat >>confdefs.h <<_ACEOF
14849 #define HAVE_DLADDR 1
14850 _ACEOF
14853 done
14855 LIBS="$ac_wine_check_funcs_save_LIBS"
14857 if test "$ac_cv_func_poll" = no
14858 then
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14860 $as_echo_n "checking for poll in -lpoll... " >&6; }
14861 if ${ac_cv_lib_poll_poll+:} false; then :
14862 $as_echo_n "(cached) " >&6
14863 else
14864 ac_check_lib_save_LIBS=$LIBS
14865 LIBS="-lpoll $LIBS"
14866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14867 /* end confdefs.h. */
14869 /* Override any GCC internal prototype to avoid an error.
14870 Use char because int might match the return type of a GCC
14871 builtin and then its argument prototype would still apply. */
14872 #ifdef __cplusplus
14873 extern "C"
14874 #endif
14875 char poll ();
14877 main ()
14879 return poll ();
14881 return 0;
14883 _ACEOF
14884 if ac_fn_c_try_link "$LINENO"; then :
14885 ac_cv_lib_poll_poll=yes
14886 else
14887 ac_cv_lib_poll_poll=no
14889 rm -f core conftest.err conftest.$ac_objext \
14890 conftest$ac_exeext conftest.$ac_ext
14891 LIBS=$ac_check_lib_save_LIBS
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14894 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14895 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14896 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14897 POLL_LIBS="-lpoll"
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14904 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14905 if ${ac_cv_search_gethostbyname+:} false; then :
14906 $as_echo_n "(cached) " >&6
14907 else
14908 ac_func_search_save_LIBS=$LIBS
14909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14912 /* Override any GCC internal prototype to avoid an error.
14913 Use char because int might match the return type of a GCC
14914 builtin and then its argument prototype would still apply. */
14915 #ifdef __cplusplus
14916 extern "C"
14917 #endif
14918 char gethostbyname ();
14920 main ()
14922 return gethostbyname ();
14924 return 0;
14926 _ACEOF
14927 for ac_lib in '' nsl; do
14928 if test -z "$ac_lib"; then
14929 ac_res="none required"
14930 else
14931 ac_res=-l$ac_lib
14932 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14934 if ac_fn_c_try_link "$LINENO"; then :
14935 ac_cv_search_gethostbyname=$ac_res
14937 rm -f core conftest.err conftest.$ac_objext \
14938 conftest$ac_exeext
14939 if ${ac_cv_search_gethostbyname+:} false; then :
14940 break
14942 done
14943 if ${ac_cv_search_gethostbyname+:} false; then :
14945 else
14946 ac_cv_search_gethostbyname=no
14948 rm conftest.$ac_ext
14949 LIBS=$ac_func_search_save_LIBS
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14952 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14953 ac_res=$ac_cv_search_gethostbyname
14954 if test "$ac_res" != no; then :
14955 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14961 $as_echo_n "checking for library containing connect... " >&6; }
14962 if ${ac_cv_search_connect+:} false; then :
14963 $as_echo_n "(cached) " >&6
14964 else
14965 ac_func_search_save_LIBS=$LIBS
14966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14967 /* end confdefs.h. */
14969 /* Override any GCC internal prototype to avoid an error.
14970 Use char because int might match the return type of a GCC
14971 builtin and then its argument prototype would still apply. */
14972 #ifdef __cplusplus
14973 extern "C"
14974 #endif
14975 char connect ();
14977 main ()
14979 return connect ();
14981 return 0;
14983 _ACEOF
14984 for ac_lib in '' socket; do
14985 if test -z "$ac_lib"; then
14986 ac_res="none required"
14987 else
14988 ac_res=-l$ac_lib
14989 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14991 if ac_fn_c_try_link "$LINENO"; then :
14992 ac_cv_search_connect=$ac_res
14994 rm -f core conftest.err conftest.$ac_objext \
14995 conftest$ac_exeext
14996 if ${ac_cv_search_connect+:} false; then :
14997 break
14999 done
15000 if ${ac_cv_search_connect+:} false; then :
15002 else
15003 ac_cv_search_connect=no
15005 rm conftest.$ac_ext
15006 LIBS=$ac_func_search_save_LIBS
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15009 $as_echo "$ac_cv_search_connect" >&6; }
15010 ac_res=$ac_cv_search_connect
15011 if test "$ac_res" != no; then :
15012 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15018 $as_echo_n "checking for library containing inet_aton... " >&6; }
15019 if ${ac_cv_search_inet_aton+:} false; then :
15020 $as_echo_n "(cached) " >&6
15021 else
15022 ac_func_search_save_LIBS=$LIBS
15023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15024 /* end confdefs.h. */
15026 /* Override any GCC internal prototype to avoid an error.
15027 Use char because int might match the return type of a GCC
15028 builtin and then its argument prototype would still apply. */
15029 #ifdef __cplusplus
15030 extern "C"
15031 #endif
15032 char inet_aton ();
15034 main ()
15036 return inet_aton ();
15038 return 0;
15040 _ACEOF
15041 for ac_lib in '' resolv; do
15042 if test -z "$ac_lib"; then
15043 ac_res="none required"
15044 else
15045 ac_res=-l$ac_lib
15046 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15048 if ac_fn_c_try_link "$LINENO"; then :
15049 ac_cv_search_inet_aton=$ac_res
15051 rm -f core conftest.err conftest.$ac_objext \
15052 conftest$ac_exeext
15053 if ${ac_cv_search_inet_aton+:} false; then :
15054 break
15056 done
15057 if ${ac_cv_search_inet_aton+:} false; then :
15059 else
15060 ac_cv_search_inet_aton=no
15062 rm conftest.$ac_ext
15063 LIBS=$ac_func_search_save_LIBS
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15066 $as_echo "$ac_cv_search_inet_aton" >&6; }
15067 ac_res=$ac_cv_search_inet_aton
15068 if test "$ac_res" != no; then :
15069 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15074 for ac_func in \
15075 getaddrinfo \
15076 getnameinfo \
15077 getnetbyname \
15078 getprotobyname \
15079 getprotobynumber \
15080 getservbyport \
15081 inet_addr \
15082 inet_network \
15083 inet_ntop \
15084 inet_pton \
15085 sendmsg \
15086 socketpair \
15088 do :
15089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15091 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15092 cat >>confdefs.h <<_ACEOF
15093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15094 _ACEOF
15097 done
15100 ac_save_LIBS=$LIBS
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15102 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15103 if ${ac_cv_search_clock_gettime+:} false; then :
15104 $as_echo_n "(cached) " >&6
15105 else
15106 ac_func_search_save_LIBS=$LIBS
15107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15108 /* end confdefs.h. */
15110 /* Override any GCC internal prototype to avoid an error.
15111 Use char because int might match the return type of a GCC
15112 builtin and then its argument prototype would still apply. */
15113 #ifdef __cplusplus
15114 extern "C"
15115 #endif
15116 char clock_gettime ();
15118 main ()
15120 return clock_gettime ();
15122 return 0;
15124 _ACEOF
15125 for ac_lib in '' rt; do
15126 if test -z "$ac_lib"; then
15127 ac_res="none required"
15128 else
15129 ac_res=-l$ac_lib
15130 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15132 if ac_fn_c_try_link "$LINENO"; then :
15133 ac_cv_search_clock_gettime=$ac_res
15135 rm -f core conftest.err conftest.$ac_objext \
15136 conftest$ac_exeext
15137 if ${ac_cv_search_clock_gettime+:} false; then :
15138 break
15140 done
15141 if ${ac_cv_search_clock_gettime+:} false; then :
15143 else
15144 ac_cv_search_clock_gettime=no
15146 rm conftest.$ac_ext
15147 LIBS=$ac_func_search_save_LIBS
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15150 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15151 ac_res=$ac_cv_search_clock_gettime
15152 if test "$ac_res" != no; then :
15153 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15155 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15157 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15161 LIBS=$ac_save_LIBS
15163 LDAP_LIBS=""
15165 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15166 then
15167 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15169 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15171 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15172 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15173 $as_echo_n "(cached) " >&6
15174 else
15175 ac_check_lib_save_LIBS=$LIBS
15176 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15178 /* end confdefs.h. */
15180 /* Override any GCC internal prototype to avoid an error.
15181 Use char because int might match the return type of a GCC
15182 builtin and then its argument prototype would still apply. */
15183 #ifdef __cplusplus
15184 extern "C"
15185 #endif
15186 char ldap_initialize ();
15188 main ()
15190 return ldap_initialize ();
15192 return 0;
15194 _ACEOF
15195 if ac_fn_c_try_link "$LINENO"; then :
15196 ac_cv_lib_ldap_r_ldap_initialize=yes
15197 else
15198 ac_cv_lib_ldap_r_ldap_initialize=no
15200 rm -f core conftest.err conftest.$ac_objext \
15201 conftest$ac_exeext conftest.$ac_ext
15202 LIBS=$ac_check_lib_save_LIBS
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15205 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15206 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15208 $as_echo_n "checking for ber_init in -llber... " >&6; }
15209 if ${ac_cv_lib_lber_ber_init+:} false; then :
15210 $as_echo_n "(cached) " >&6
15211 else
15212 ac_check_lib_save_LIBS=$LIBS
15213 LIBS="-llber $PTHREAD_LIBS $LIBS"
15214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15217 /* Override any GCC internal prototype to avoid an error.
15218 Use char because int might match the return type of a GCC
15219 builtin and then its argument prototype would still apply. */
15220 #ifdef __cplusplus
15221 extern "C"
15222 #endif
15223 char ber_init ();
15225 main ()
15227 return ber_init ();
15229 return 0;
15231 _ACEOF
15232 if ac_fn_c_try_link "$LINENO"; then :
15233 ac_cv_lib_lber_ber_init=yes
15234 else
15235 ac_cv_lib_lber_ber_init=no
15237 rm -f core conftest.err conftest.$ac_objext \
15238 conftest$ac_exeext conftest.$ac_ext
15239 LIBS=$ac_check_lib_save_LIBS
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15242 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15243 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15245 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15247 LDAP_LIBS="-lldap_r -llber"
15254 ac_wine_check_funcs_save_LIBS="$LIBS"
15255 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15256 for ac_func in \
15257 ldap_count_references \
15258 ldap_first_reference \
15259 ldap_next_reference \
15260 ldap_parse_reference \
15261 ldap_parse_sort_control \
15262 ldap_parse_sortresponse_control \
15263 ldap_parse_vlv_control \
15264 ldap_parse_vlvresponse_control
15265 do :
15266 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15267 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15268 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15269 cat >>confdefs.h <<_ACEOF
15270 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15271 _ACEOF
15274 done
15276 LIBS="$ac_wine_check_funcs_save_LIBS"
15278 if test "x$LDAP_LIBS" = "x"; then :
15279 case "x$with_ldap" in
15280 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15281 xno) ;;
15282 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15283 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15284 esac
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15288 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15289 if ${wine_cv_one_arg_mkdir+:} false; then :
15290 $as_echo_n "(cached) " >&6
15291 else
15292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15293 /* end confdefs.h. */
15294 #include <sys/stat.h>
15296 main ()
15298 mkdir("foo");
15300 return 0;
15302 _ACEOF
15303 if ac_fn_c_try_compile "$LINENO"; then :
15304 wine_cv_one_arg_mkdir=yes
15305 else
15306 wine_cv_one_arg_mkdir=no
15308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15311 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15312 if test "$wine_cv_one_arg_mkdir" = "yes"
15313 then
15315 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15320 $as_echo_n "checking for sched_setaffinity... " >&6; }
15321 if ${wine_cv_have_sched_setaffinity+:} false; then :
15322 $as_echo_n "(cached) " >&6
15323 else
15324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15325 /* end confdefs.h. */
15326 #define _GNU_SOURCE
15327 #include <sched.h>
15329 main ()
15331 sched_setaffinity(0, 0, 0);
15333 return 0;
15335 _ACEOF
15336 if ac_fn_c_try_link "$LINENO"; then :
15337 wine_cv_have_sched_setaffinity=yes
15338 else
15339 wine_cv_have_sched_setaffinity=no
15341 rm -f core conftest.err conftest.$ac_objext \
15342 conftest$ac_exeext conftest.$ac_ext
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15345 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15346 if test "$wine_cv_have_sched_setaffinity" = "yes"
15347 then
15349 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15354 $as_echo_n "checking for fallocate... " >&6; }
15355 if ${wine_cv_have_fallocate+:} false; then :
15356 $as_echo_n "(cached) " >&6
15357 else
15358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15359 /* end confdefs.h. */
15360 #define _GNU_SOURCE
15361 #include <fcntl.h>
15363 main ()
15365 fallocate(-1, 0, 0, 0);
15367 return 0;
15369 _ACEOF
15370 if ac_fn_c_try_link "$LINENO"; then :
15371 wine_cv_have_fallocate=yes
15372 else
15373 wine_cv_have_fallocate=no
15375 rm -f core conftest.err conftest.$ac_objext \
15376 conftest$ac_exeext conftest.$ac_ext
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15379 $as_echo "$wine_cv_have_fallocate" >&6; }
15380 if test "$wine_cv_have_fallocate" = "yes"
15381 then
15383 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15389 $as_echo_n "checking for inline... " >&6; }
15390 if ${ac_cv_c_inline+:} false; then :
15391 $as_echo_n "(cached) " >&6
15392 else
15393 ac_cv_c_inline=no
15394 for ac_kw in inline __inline__ __inline; do
15395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15396 /* end confdefs.h. */
15397 #ifndef __cplusplus
15398 typedef int foo_t;
15399 static $ac_kw foo_t static_foo () {return 0; }
15400 $ac_kw foo_t foo () {return 0; }
15401 #endif
15403 _ACEOF
15404 if ac_fn_c_try_compile "$LINENO"; then :
15405 ac_cv_c_inline=$ac_kw
15407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15408 test "$ac_cv_c_inline" != no && break
15409 done
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15413 $as_echo "$ac_cv_c_inline" >&6; }
15415 case $ac_cv_c_inline in
15416 inline | yes) ;;
15418 case $ac_cv_c_inline in
15419 no) ac_val=;;
15420 *) ac_val=$ac_cv_c_inline;;
15421 esac
15422 cat >>confdefs.h <<_ACEOF
15423 #ifndef __cplusplus
15424 #define inline $ac_val
15425 #endif
15426 _ACEOF
15428 esac
15430 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15431 if test "x$ac_cv_type_mode_t" = xyes; then :
15433 cat >>confdefs.h <<_ACEOF
15434 #define HAVE_MODE_T 1
15435 _ACEOF
15439 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15440 if test "x$ac_cv_type_off_t" = xyes; then :
15442 cat >>confdefs.h <<_ACEOF
15443 #define HAVE_OFF_T 1
15444 _ACEOF
15448 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15449 if test "x$ac_cv_type_pid_t" = xyes; then :
15451 cat >>confdefs.h <<_ACEOF
15452 #define HAVE_PID_T 1
15453 _ACEOF
15457 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15458 if test "x$ac_cv_type_size_t" = xyes; then :
15460 cat >>confdefs.h <<_ACEOF
15461 #define HAVE_SIZE_T 1
15462 _ACEOF
15466 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15467 if test "x$ac_cv_type_ssize_t" = xyes; then :
15469 cat >>confdefs.h <<_ACEOF
15470 #define HAVE_SSIZE_T 1
15471 _ACEOF
15475 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15476 if test "x$ac_cv_type_long_long" = xyes; then :
15478 cat >>confdefs.h <<_ACEOF
15479 #define HAVE_LONG_LONG 1
15480 _ACEOF
15484 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15485 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15487 cat >>confdefs.h <<_ACEOF
15488 #define HAVE_FSBLKCNT_T 1
15489 _ACEOF
15493 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15494 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15496 cat >>confdefs.h <<_ACEOF
15497 #define HAVE_FSFILCNT_T 1
15498 _ACEOF
15503 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15504 #include <signal.h>
15506 if test "x$ac_cv_type_sigset_t" = xyes; then :
15508 cat >>confdefs.h <<_ACEOF
15509 #define HAVE_SIGSET_T 1
15510 _ACEOF
15515 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15517 if test "x$ac_cv_type_request_sense" = xyes; then :
15519 cat >>confdefs.h <<_ACEOF
15520 #define HAVE_REQUEST_SENSE 1
15521 _ACEOF
15527 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15528 #ifdef HAVE_SYS_SOCKET_H
15529 #include <sys/socket.h>
15530 #endif
15531 #ifdef HAVE_SYS_SOCKETVAR_H
15532 #include <sys/socketvar.h>
15533 #endif
15534 #ifdef HAVE_NET_ROUTE_H
15535 #include <net/route.h>
15536 #endif
15537 #ifdef HAVE_NETINET_IN_H
15538 #include <netinet/in.h>
15539 #endif
15540 #ifdef HAVE_NETINET_IN_SYSTM_H
15541 #include <netinet/in_systm.h>
15542 #endif
15543 #ifdef HAVE_NETINET_IP_H
15544 #include <netinet/ip.h>
15545 #endif
15546 #ifdef HAVE_NETINET_IN_PCB_H
15547 #include <netinet/in_pcb.h>
15548 #endif
15550 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15552 cat >>confdefs.h <<_ACEOF
15553 #define HAVE_STRUCT_XINPGEN 1
15554 _ACEOF
15560 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15561 #include <link.h>
15562 #endif
15563 #ifdef HAVE_SYS_LINK_H
15564 #include <sys/link.h>
15565 #endif
15567 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15569 cat >>confdefs.h <<_ACEOF
15570 #define HAVE_STRUCT_R_DEBUG 1
15571 _ACEOF
15575 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15576 #include <link.h>
15577 #endif
15578 #ifdef HAVE_SYS_LINK_H
15579 #include <sys/link.h>
15580 #endif
15582 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15584 cat >>confdefs.h <<_ACEOF
15585 #define HAVE_STRUCT_LINK_MAP 1
15586 _ACEOF
15592 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15593 #include <linux/input.h>
15594 #endif
15596 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15598 cat >>confdefs.h <<_ACEOF
15599 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15600 _ACEOF
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15607 $as_echo_n "checking for sigaddset... " >&6; }
15608 if ${wine_cv_have_sigaddset+:} false; then :
15609 $as_echo_n "(cached) " >&6
15610 else
15611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15612 /* end confdefs.h. */
15613 #include <signal.h>
15615 main ()
15617 sigset_t set; sigaddset(&set,SIGTERM);
15619 return 0;
15621 _ACEOF
15622 if ac_fn_c_try_link "$LINENO"; then :
15623 wine_cv_have_sigaddset=yes
15624 else
15625 wine_cv_have_sigaddset=no
15627 rm -f core conftest.err conftest.$ac_objext \
15628 conftest$ac_exeext conftest.$ac_ext
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15631 $as_echo "$wine_cv_have_sigaddset" >&6; }
15632 if test "$wine_cv_have_sigaddset" = "yes"
15633 then
15635 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15641 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15642 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15643 $as_echo_n "(cached) " >&6
15644 else
15645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15646 /* end confdefs.h. */
15647 #include <netdb.h>
15649 main ()
15652 char *name=0;
15653 struct hostent he;
15654 struct hostent *result;
15655 char *buf=0;
15656 int bufsize=0;
15657 int errnr;
15658 char *addr=0;
15659 int addrlen=0;
15660 int addrtype=0;
15661 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15662 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15665 return 0;
15667 _ACEOF
15668 if ac_fn_c_try_link "$LINENO"; then :
15669 wine_cv_linux_gethostbyname_r_6=yes
15670 else
15671 wine_cv_linux_gethostbyname_r_6=no
15674 rm -f core conftest.err conftest.$ac_objext \
15675 conftest$ac_exeext conftest.$ac_ext
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15679 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15680 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15681 then
15683 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15687 if test "$ac_cv_header_linux_joystick_h" = "yes"
15688 then
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15690 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15691 if ${wine_cv_linux_joystick_22_api+:} false; then :
15692 $as_echo_n "(cached) " >&6
15693 else
15694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15695 /* end confdefs.h. */
15697 #include <sys/ioctl.h>
15698 #include <sys/types.h>
15699 #include <linux/joystick.h>
15701 struct js_event blub;
15702 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15703 #error "no 2.2 header"
15704 #endif
15707 main ()
15709 /*empty*/
15711 return 0;
15713 _ACEOF
15714 if ac_fn_c_try_compile "$LINENO"; then :
15715 wine_cv_linux_joystick_22_api=yes
15716 else
15717 wine_cv_linux_joystick_22_api=no
15719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15723 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15724 if test "$wine_cv_linux_joystick_22_api" = "yes"
15725 then
15727 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15733 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15734 #ifdef HAVE_SYS_PARAM_H
15735 # include <sys/param.h>
15736 #endif
15737 #ifdef HAVE_SYS_MOUNT_H
15738 # include <sys/mount.h>
15739 #endif
15740 #ifdef HAVE_SYS_VFS_H
15741 # include <sys/vfs.h>
15742 #endif
15743 #ifdef HAVE_SYS_STATFS_H
15744 # include <sys/statfs.h>
15745 #endif
15747 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15749 cat >>confdefs.h <<_ACEOF
15750 #define HAVE_STRUCT_STATFS_F_BFREE 1
15751 _ACEOF
15755 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15756 #ifdef HAVE_SYS_PARAM_H
15757 # include <sys/param.h>
15758 #endif
15759 #ifdef HAVE_SYS_MOUNT_H
15760 # include <sys/mount.h>
15761 #endif
15762 #ifdef HAVE_SYS_VFS_H
15763 # include <sys/vfs.h>
15764 #endif
15765 #ifdef HAVE_SYS_STATFS_H
15766 # include <sys/statfs.h>
15767 #endif
15769 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15771 cat >>confdefs.h <<_ACEOF
15772 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15773 _ACEOF
15777 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15778 #ifdef HAVE_SYS_PARAM_H
15779 # include <sys/param.h>
15780 #endif
15781 #ifdef HAVE_SYS_MOUNT_H
15782 # include <sys/mount.h>
15783 #endif
15784 #ifdef HAVE_SYS_VFS_H
15785 # include <sys/vfs.h>
15786 #endif
15787 #ifdef HAVE_SYS_STATFS_H
15788 # include <sys/statfs.h>
15789 #endif
15791 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15793 cat >>confdefs.h <<_ACEOF
15794 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15795 _ACEOF
15799 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15800 #ifdef HAVE_SYS_PARAM_H
15801 # include <sys/param.h>
15802 #endif
15803 #ifdef HAVE_SYS_MOUNT_H
15804 # include <sys/mount.h>
15805 #endif
15806 #ifdef HAVE_SYS_VFS_H
15807 # include <sys/vfs.h>
15808 #endif
15809 #ifdef HAVE_SYS_STATFS_H
15810 # include <sys/statfs.h>
15811 #endif
15813 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15815 cat >>confdefs.h <<_ACEOF
15816 #define HAVE_STRUCT_STATFS_F_FFREE 1
15817 _ACEOF
15821 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15822 #ifdef HAVE_SYS_PARAM_H
15823 # include <sys/param.h>
15824 #endif
15825 #ifdef HAVE_SYS_MOUNT_H
15826 # include <sys/mount.h>
15827 #endif
15828 #ifdef HAVE_SYS_VFS_H
15829 # include <sys/vfs.h>
15830 #endif
15831 #ifdef HAVE_SYS_STATFS_H
15832 # include <sys/statfs.h>
15833 #endif
15835 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15837 cat >>confdefs.h <<_ACEOF
15838 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15839 _ACEOF
15843 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15844 #ifdef HAVE_SYS_PARAM_H
15845 # include <sys/param.h>
15846 #endif
15847 #ifdef HAVE_SYS_MOUNT_H
15848 # include <sys/mount.h>
15849 #endif
15850 #ifdef HAVE_SYS_VFS_H
15851 # include <sys/vfs.h>
15852 #endif
15853 #ifdef HAVE_SYS_STATFS_H
15854 # include <sys/statfs.h>
15855 #endif
15857 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15859 cat >>confdefs.h <<_ACEOF
15860 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15861 _ACEOF
15867 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15868 #include <sys/statvfs.h>
15869 #endif
15871 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15873 cat >>confdefs.h <<_ACEOF
15874 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15875 _ACEOF
15881 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15882 #include <dirent.h>
15883 #endif
15885 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15887 cat >>confdefs.h <<_ACEOF
15888 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15889 _ACEOF
15895 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15896 #ifdef HAVE_SYS_SOCKET_H
15897 # include <sys/socket.h>
15898 #endif
15899 #ifdef HAVE_SYS_UN_H
15900 # include <sys/un.h>
15901 #endif
15903 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15905 cat >>confdefs.h <<_ACEOF
15906 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15907 _ACEOF
15911 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15912 #ifdef HAVE_SYS_SOCKET_H
15913 # include <sys/socket.h>
15914 #endif
15915 #ifdef HAVE_SYS_UN_H
15916 # include <sys/un.h>
15917 #endif
15919 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15921 cat >>confdefs.h <<_ACEOF
15922 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15923 _ACEOF
15927 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15928 #ifdef HAVE_SYS_SOCKET_H
15929 # include <sys/socket.h>
15930 #endif
15931 #ifdef HAVE_SYS_UN_H
15932 # include <sys/un.h>
15933 #endif
15935 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15937 cat >>confdefs.h <<_ACEOF
15938 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15939 _ACEOF
15945 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15946 #ifdef HAVE_SCSI_SG_H
15947 #include <scsi/sg.h>
15948 #endif
15950 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15952 cat >>confdefs.h <<_ACEOF
15953 #define HAVE_SCSIREQ_T_CMD 1
15954 _ACEOF
15958 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>
15959 #ifdef HAVE_SCSI_SG_H
15960 #include <scsi/sg.h>
15961 #endif
15963 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15965 cat >>confdefs.h <<_ACEOF
15966 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15967 _ACEOF
15973 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15975 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15977 cat >>confdefs.h <<_ACEOF
15978 #define HAVE_SIGINFO_T_SI_FD 1
15979 _ACEOF
15985 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15986 #ifdef HAVE_SYS_MTIO_H
15987 #include <sys/mtio.h>
15988 #endif
15990 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15992 cat >>confdefs.h <<_ACEOF
15993 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15994 _ACEOF
15998 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15999 #ifdef HAVE_SYS_MTIO_H
16000 #include <sys/mtio.h>
16001 #endif
16003 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16005 cat >>confdefs.h <<_ACEOF
16006 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16007 _ACEOF
16011 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16012 #ifdef HAVE_SYS_MTIO_H
16013 #include <sys/mtio.h>
16014 #endif
16016 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16018 cat >>confdefs.h <<_ACEOF
16019 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16020 _ACEOF
16026 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16027 #include <getopt.h>
16028 #endif
16030 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16032 cat >>confdefs.h <<_ACEOF
16033 #define HAVE_STRUCT_OPTION_NAME 1
16034 _ACEOF
16040 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16041 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16043 cat >>confdefs.h <<_ACEOF
16044 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16045 _ACEOF
16049 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16050 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16052 cat >>confdefs.h <<_ACEOF
16053 #define HAVE_STRUCT_STAT_ST_MTIM 1
16054 _ACEOF
16058 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16059 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16061 cat >>confdefs.h <<_ACEOF
16062 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16063 _ACEOF
16067 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16068 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16070 cat >>confdefs.h <<_ACEOF
16071 #define HAVE_STRUCT_STAT_ST_CTIM 1
16072 _ACEOF
16076 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16077 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16079 cat >>confdefs.h <<_ACEOF
16080 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16081 _ACEOF
16085 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16086 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16088 cat >>confdefs.h <<_ACEOF
16089 #define HAVE_STRUCT_STAT_ST_ATIM 1
16090 _ACEOF
16094 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16095 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16097 cat >>confdefs.h <<_ACEOF
16098 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16099 _ACEOF
16103 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16104 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16106 cat >>confdefs.h <<_ACEOF
16107 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16108 _ACEOF
16112 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16113 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16115 cat >>confdefs.h <<_ACEOF
16116 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16117 _ACEOF
16121 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16122 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16124 cat >>confdefs.h <<_ACEOF
16125 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16126 _ACEOF
16130 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16131 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16133 cat >>confdefs.h <<_ACEOF
16134 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16135 _ACEOF
16139 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16140 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16142 cat >>confdefs.h <<_ACEOF
16143 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16144 _ACEOF
16150 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
16151 #include <sys/types.h>
16152 #endif
16153 #ifdef HAVE_NETINET_IN_H
16154 #include <netinet/in.h>
16155 #endif
16157 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16159 cat >>confdefs.h <<_ACEOF
16160 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16161 _ACEOF
16167 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16168 #include <resolv.h>
16169 #endif
16171 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16173 cat >>confdefs.h <<_ACEOF
16174 #define HAVE_STRUCT___RES_STATE 1
16175 _ACEOF
16181 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
16182 #include <resolv.h>
16183 #endif
16185 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16187 cat >>confdefs.h <<_ACEOF
16188 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16189 _ACEOF
16195 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16196 #include <sys/types.h>
16197 #endif
16198 #ifdef HAVE_NETINET_IN_H
16199 # include <netinet/in.h>
16200 #endif
16201 #ifdef HAVE_ARPA_NAMESER_H
16202 # include <arpa/nameser.h>
16203 #endif
16205 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16207 cat >>confdefs.h <<_ACEOF
16208 #define HAVE_NS_MSG__MSG_PTR 1
16209 _ACEOF
16215 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16216 #include <sys/types.h>
16217 #endif
16218 #ifdef HAVE_NETINET_IP_H
16219 #include <netinet/ip.h>
16220 #endif
16221 #ifdef HAVE_NETINET_IP_ICMP_H
16222 #include <netinet/ip_icmp.h>
16223 #endif
16224 #ifdef HAVE_NETINET_ICMP_VAR_H
16225 #include <netinet/icmp_var.h>
16226 #endif
16228 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16230 cat >>confdefs.h <<_ACEOF
16231 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16232 _ACEOF
16238 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16239 #include <sys/types.h>
16240 #endif
16241 #ifdef HAVE_ALIAS_H
16242 #include <alias.h>
16243 #endif
16244 #ifdef HAVE_SYS_SOCKET_H
16245 #include <sys/socket.h>
16246 #endif
16247 #ifdef HAVE_SYS_SOCKETVAR_H
16248 #include <sys/socketvar.h>
16249 #endif
16250 #ifdef HAVE_SYS_TIMEOUT_H
16251 #include <sys/timeout.h>
16252 #endif
16253 #ifdef HAVE_NETINET_IN_H
16254 #include <netinet/in.h>
16255 #endif
16256 #ifdef HAVE_NETINET_IN_SYSTM_H
16257 #include <netinet/in_systm.h>
16258 #endif
16259 #ifdef HAVE_NETINET_IP_H
16260 #include <netinet/ip.h>
16261 #endif
16262 #ifdef HAVE_NETINET_IP_VAR_H
16263 #include <netinet/ip_var.h>
16264 #endif
16265 #ifdef HAVE_NETINET_IP_ICMP_H
16266 #include <netinet/ip_icmp.h>
16267 #endif
16268 #ifdef HAVE_NETINET_ICMP_VAR_H
16269 #include <netinet/icmp_var.h>
16270 #endif
16272 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16274 cat >>confdefs.h <<_ACEOF
16275 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16276 _ACEOF
16282 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16283 #include <sys/types.h>
16284 #endif
16285 #ifdef HAVE_SYS_SOCKETVAR_H
16286 #include <sys/socketvar.h>
16287 #endif
16288 #ifdef HAVE_NETINET_IN_H
16289 #include <netinet/in.h>
16290 #endif
16291 #ifdef HAVE_NETINET_IP_VAR_H
16292 #include <netinet/ip_var.h>
16293 #endif
16295 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16297 cat >>confdefs.h <<_ACEOF
16298 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16299 _ACEOF
16305 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
16306 #include <netinet/ip_var.h>
16307 #endif
16309 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16311 cat >>confdefs.h <<_ACEOF
16312 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16313 _ACEOF
16319 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16320 #include <sys/types.h>
16321 #endif
16322 #ifdef HAVE_SYS_SOCKETVAR_H
16323 #include <sys/socketvar.h>
16324 #endif
16325 #ifdef HAVE_NETINET_IN_H
16326 #include <netinet/in.h>
16327 #endif
16328 #ifdef HAVE_NETINET_TCP_H
16329 #include <netinet/tcp.h>
16330 #endif
16331 #ifdef HAVE_NETINET_TCP_VAR_H
16332 #include <netinet/tcp_var.h>
16333 #endif
16335 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16337 cat >>confdefs.h <<_ACEOF
16338 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16339 _ACEOF
16345 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
16346 #include <netinet/tcp_var.h>
16347 #endif
16349 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16351 cat >>confdefs.h <<_ACEOF
16352 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16353 _ACEOF
16359 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16360 #include <sys/types.h>
16361 #endif
16362 #ifdef HAVE_NETINET_IN_H
16363 #include <netinet/in.h>
16364 #endif
16365 #ifdef HAVE_NETINET_IP_VAR_H
16366 #include <netinet/ip_var.h>
16367 #endif
16368 #ifdef HAVE_NETINET_UDP_H
16369 #include <netinet/udp.h>
16370 #endif
16371 #ifdef HAVE_NETINET_UDP_VAR_H
16372 #include <netinet/udp_var.h>
16373 #endif
16375 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16377 cat >>confdefs.h <<_ACEOF
16378 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16379 _ACEOF
16385 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16386 #include <sys/types.h>
16387 #endif
16388 #ifdef HAVE_NET_IF_H
16389 # include <net/if.h>
16390 #endif
16392 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16394 cat >>confdefs.h <<_ACEOF
16395 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16396 _ACEOF
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16403 $as_echo_n "checking for timezone variable... " >&6; }
16404 if ${ac_cv_have_timezone+:} false; then :
16405 $as_echo_n "(cached) " >&6
16406 else
16407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16408 /* end confdefs.h. */
16409 #include <time.h>
16411 main ()
16413 timezone = 1
16415 return 0;
16417 _ACEOF
16418 if ac_fn_c_try_link "$LINENO"; then :
16419 ac_cv_have_timezone="yes"
16420 else
16421 ac_cv_have_timezone="no"
16423 rm -f core conftest.err conftest.$ac_objext \
16424 conftest$ac_exeext conftest.$ac_ext
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16427 $as_echo "$ac_cv_have_timezone" >&6; }
16428 if test "$ac_cv_have_timezone" = "yes"
16429 then
16431 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16435 $as_echo_n "checking for daylight variable... " >&6; }
16436 if ${ac_cv_have_daylight+:} false; then :
16437 $as_echo_n "(cached) " >&6
16438 else
16439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16440 /* end confdefs.h. */
16441 #include <time.h>
16443 main ()
16445 daylight = 1
16447 return 0;
16449 _ACEOF
16450 if ac_fn_c_try_link "$LINENO"; then :
16451 ac_cv_have_daylight="yes"
16452 else
16453 ac_cv_have_daylight="no"
16455 rm -f core conftest.err conftest.$ac_objext \
16456 conftest$ac_exeext conftest.$ac_ext
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16459 $as_echo "$ac_cv_have_daylight" >&6; }
16460 if test "$ac_cv_have_daylight" = "yes"
16461 then
16463 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16467 ac_save_LIBS="$LIBS"
16468 LIBS="$LIBS -lm"
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16470 $as_echo_n "checking for isfinite... " >&6; }
16471 if ${ac_cv_have_isfinite+:} false; then :
16472 $as_echo_n "(cached) " >&6
16473 else
16474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16475 /* end confdefs.h. */
16476 #define _GNU_SOURCE
16477 #include <math.h>
16479 main ()
16481 float f = 0.0; return isfinite(f)
16483 return 0;
16485 _ACEOF
16486 if ac_fn_c_try_link "$LINENO"; then :
16487 ac_cv_have_isfinite="yes"
16488 else
16489 ac_cv_have_isfinite="no"
16491 rm -f core conftest.err conftest.$ac_objext \
16492 conftest$ac_exeext conftest.$ac_ext
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16495 $as_echo "$ac_cv_have_isfinite" >&6; }
16496 if test "$ac_cv_have_isfinite" = "yes"
16497 then
16499 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16504 $as_echo_n "checking for isinf... " >&6; }
16505 if ${ac_cv_have_isinf+:} false; then :
16506 $as_echo_n "(cached) " >&6
16507 else
16508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16509 /* end confdefs.h. */
16510 #include <math.h>
16512 main ()
16514 float f = 0.0; return isinf(f)
16516 return 0;
16518 _ACEOF
16519 if ac_fn_c_try_link "$LINENO"; then :
16520 ac_cv_have_isinf="yes"
16521 else
16522 ac_cv_have_isinf="no"
16524 rm -f core conftest.err conftest.$ac_objext \
16525 conftest$ac_exeext conftest.$ac_ext
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16528 $as_echo "$ac_cv_have_isinf" >&6; }
16529 if test "$ac_cv_have_isinf" = "yes"
16530 then
16532 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16537 $as_echo_n "checking for isnan... " >&6; }
16538 if ${ac_cv_have_isnan+:} false; then :
16539 $as_echo_n "(cached) " >&6
16540 else
16541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16542 /* end confdefs.h. */
16543 #include <math.h>
16545 main ()
16547 float f = 0.0; return isnan(f)
16549 return 0;
16551 _ACEOF
16552 if ac_fn_c_try_link "$LINENO"; then :
16553 ac_cv_have_isnan="yes"
16554 else
16555 ac_cv_have_isnan="no"
16557 rm -f core conftest.err conftest.$ac_objext \
16558 conftest$ac_exeext conftest.$ac_ext
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16561 $as_echo "$ac_cv_have_isnan" >&6; }
16562 if test "$ac_cv_have_isnan" = "yes"
16563 then
16565 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16569 for ac_func in \
16570 cbrt \
16571 cbrtf \
16572 exp2 \
16573 exp2f \
16574 llrint \
16575 llrintf \
16576 llround \
16577 llroundf \
16578 log2 \
16579 log2f \
16580 lrint \
16581 lrintf \
16582 lround \
16583 lroundf \
16584 rint \
16585 rintf \
16586 round \
16587 roundf \
16588 trunc \
16589 truncf
16591 do :
16592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16594 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16595 cat >>confdefs.h <<_ACEOF
16596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16597 _ACEOF
16600 done
16602 LIBS="$ac_save_LIBS"
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16605 $as_echo_n "checking for __builtin_clz... " >&6; }
16606 if ${ac_cv_have___builtin_clz+:} false; then :
16607 $as_echo_n "(cached) " >&6
16608 else
16609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16610 /* end confdefs.h. */
16613 main ()
16615 return __builtin_clz(1)
16617 return 0;
16619 _ACEOF
16620 if ac_fn_c_try_link "$LINENO"; then :
16621 ac_cv_have___builtin_clz="yes"
16622 else
16623 ac_cv_have___builtin_clz="no"
16625 rm -f core conftest.err conftest.$ac_objext \
16626 conftest$ac_exeext conftest.$ac_ext
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16629 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16630 if test "$ac_cv_have___builtin_clz" = "yes"
16631 then
16633 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16638 case $host_cpu in
16639 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16640 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16641 if ${ac_cv_cpp_def___i386__+:} false; then :
16642 $as_echo_n "(cached) " >&6
16643 else
16644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16645 /* end confdefs.h. */
16646 #ifndef __i386__
16648 #endif
16649 _ACEOF
16650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16651 $EGREP "yes" >/dev/null 2>&1; then :
16652 ac_cv_cpp_def___i386__=yes
16653 else
16654 ac_cv_cpp_def___i386__=no
16656 rm -f conftest*
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16660 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16661 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16662 CFLAGS="$CFLAGS -D__i386__"
16663 LINTFLAGS="$LINTFLAGS -D__i386__"
16664 fi ;;
16665 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16666 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16667 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16668 $as_echo_n "(cached) " >&6
16669 else
16670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16671 /* end confdefs.h. */
16672 #ifndef __x86_64__
16674 #endif
16675 _ACEOF
16676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16677 $EGREP "yes" >/dev/null 2>&1; then :
16678 ac_cv_cpp_def___x86_64__=yes
16679 else
16680 ac_cv_cpp_def___x86_64__=no
16682 rm -f conftest*
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16686 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16687 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16688 CFLAGS="$CFLAGS -D__x86_64__"
16689 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16690 fi ;;
16691 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16692 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16693 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16694 $as_echo_n "(cached) " >&6
16695 else
16696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16697 /* end confdefs.h. */
16698 #ifndef __sparc64__
16700 #endif
16701 _ACEOF
16702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16703 $EGREP "yes" >/dev/null 2>&1; then :
16704 ac_cv_cpp_def___sparc64__=yes
16705 else
16706 ac_cv_cpp_def___sparc64__=no
16708 rm -f conftest*
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16712 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16713 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16714 CFLAGS="$CFLAGS -D__sparc64__"
16715 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16716 fi ;;
16717 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16718 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16719 if ${ac_cv_cpp_def___sparc__+:} false; then :
16720 $as_echo_n "(cached) " >&6
16721 else
16722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16723 /* end confdefs.h. */
16724 #ifndef __sparc__
16726 #endif
16727 _ACEOF
16728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16729 $EGREP "yes" >/dev/null 2>&1; then :
16730 ac_cv_cpp_def___sparc__=yes
16731 else
16732 ac_cv_cpp_def___sparc__=no
16734 rm -f conftest*
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16738 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16739 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16740 CFLAGS="$CFLAGS -D__sparc__"
16741 LINTFLAGS="$LINTFLAGS -D__sparc__"
16742 fi ;;
16743 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16744 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16745 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16746 $as_echo_n "(cached) " >&6
16747 else
16748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16749 /* end confdefs.h. */
16750 #ifndef __powerpc64__
16752 #endif
16753 _ACEOF
16754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16755 $EGREP "yes" >/dev/null 2>&1; then :
16756 ac_cv_cpp_def___powerpc64__=yes
16757 else
16758 ac_cv_cpp_def___powerpc64__=no
16760 rm -f conftest*
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16764 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16765 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16766 CFLAGS="$CFLAGS -D__powerpc64__"
16767 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16768 fi ;;
16769 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16770 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16771 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16772 $as_echo_n "(cached) " >&6
16773 else
16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16776 #ifndef __powerpc__
16778 #endif
16779 _ACEOF
16780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16781 $EGREP "yes" >/dev/null 2>&1; then :
16782 ac_cv_cpp_def___powerpc__=yes
16783 else
16784 ac_cv_cpp_def___powerpc__=no
16786 rm -f conftest*
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16790 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16791 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16792 CFLAGS="$CFLAGS -D__powerpc__"
16793 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16794 fi ;;
16795 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16796 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16797 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16798 $as_echo_n "(cached) " >&6
16799 else
16800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16801 /* end confdefs.h. */
16802 #ifndef __aarch64__
16804 #endif
16805 _ACEOF
16806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16807 $EGREP "yes" >/dev/null 2>&1; then :
16808 ac_cv_cpp_def___aarch64__=yes
16809 else
16810 ac_cv_cpp_def___aarch64__=no
16812 rm -f conftest*
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16816 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16817 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16818 CFLAGS="$CFLAGS -D__aarch64__"
16819 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16820 fi ;;
16821 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16822 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16823 if ${ac_cv_cpp_def___arm__+:} false; then :
16824 $as_echo_n "(cached) " >&6
16825 else
16826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16827 /* end confdefs.h. */
16828 #ifndef __arm__
16830 #endif
16831 _ACEOF
16832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16833 $EGREP "yes" >/dev/null 2>&1; then :
16834 ac_cv_cpp_def___arm__=yes
16835 else
16836 ac_cv_cpp_def___arm__=no
16838 rm -f conftest*
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16842 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16843 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16844 CFLAGS="$CFLAGS -D__arm__"
16845 LINTFLAGS="$LINTFLAGS -D__arm__"
16846 fi ;;
16847 esac
16849 case $host_vendor in
16850 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16851 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16852 if ${ac_cv_cpp_def___sun__+:} false; then :
16853 $as_echo_n "(cached) " >&6
16854 else
16855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16856 /* end confdefs.h. */
16857 #ifndef __sun__
16859 #endif
16860 _ACEOF
16861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16862 $EGREP "yes" >/dev/null 2>&1; then :
16863 ac_cv_cpp_def___sun__=yes
16864 else
16865 ac_cv_cpp_def___sun__=no
16867 rm -f conftest*
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16871 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16872 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16873 CFLAGS="$CFLAGS -D__sun__"
16874 LINTFLAGS="$LINTFLAGS -D__sun__"
16875 fi ;;
16876 esac
16882 ac_config_commands="$ac_config_commands include/stamp-h"
16884 $as_echo_n "creating Makefile rules..." >&6
16886 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16887 SOCKET_LIBS = $SOCKET_LIBS
16888 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16889 IOKIT_LIBS = $IOKIT_LIBS
16890 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16891 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16892 CORESERVICES_LIBS = $CORESERVICES_LIBS
16893 APPKIT_LIBS = $APPKIT_LIBS
16894 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16895 SECURITY_LIBS = $SECURITY_LIBS
16896 COREAUDIO_LIBS = $COREAUDIO_LIBS
16897 OPENAL_LIBS = $OPENAL_LIBS
16898 OPENCL_LIBS = $OPENCL_LIBS
16899 QUICKTIME_LIBS = $QUICKTIME_LIBS
16900 CARBON_LIBS = $CARBON_LIBS
16901 PTHREAD_LIBS = $PTHREAD_LIBS
16902 X_CFLAGS = $X_CFLAGS
16903 X_PRE_LIBS = $X_PRE_LIBS
16904 X_LIBS = $X_LIBS
16905 X_EXTRA_LIBS = $X_EXTRA_LIBS
16906 XML2_CFLAGS = $XML2_CFLAGS
16907 XML2_LIBS = $XML2_LIBS
16908 XSLT_CFLAGS = $XSLT_CFLAGS
16909 XSLT_LIBS = $XSLT_LIBS
16910 DBUS_CFLAGS = $DBUS_CFLAGS
16911 DBUS_LIBS = $DBUS_LIBS
16912 HAL_CFLAGS = $HAL_CFLAGS
16913 HAL_LIBS = $HAL_LIBS
16914 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16915 GNUTLS_LIBS = $GNUTLS_LIBS
16916 SANE_CFLAGS = $SANE_CFLAGS
16917 SANE_LIBS = $SANE_LIBS
16918 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16919 GPHOTO2_LIBS = $GPHOTO2_LIBS
16920 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16921 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16922 RESOLV_LIBS = $RESOLV_LIBS
16923 LCMS2_CFLAGS = $LCMS2_CFLAGS
16924 LCMS2_LIBS = $LCMS2_LIBS
16925 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16926 FREETYPE_LIBS = $FREETYPE_LIBS
16927 Z_LIBS = $Z_LIBS
16928 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16929 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16930 GSTREAMER_LIBS = $GSTREAMER_LIBS
16931 ALSA_LIBS = $ALSA_LIBS
16932 OSS4_CFLAGS = $OSS4_CFLAGS
16933 CAPI20_CFLAGS = $CAPI20_CFLAGS
16934 CAPI20_LIBS = $CAPI20_LIBS
16935 CUPS_CFLAGS = $CUPS_CFLAGS
16936 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16937 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16938 JPEG_CFLAGS = $JPEG_CFLAGS
16939 JPEG_LIBS = $JPEG_LIBS
16940 PNG_CFLAGS = $PNG_CFLAGS
16941 PNG_LIBS = $PNG_LIBS
16942 TIFF_CFLAGS = $TIFF_CFLAGS
16943 TIFF_LIBS = $TIFF_LIBS
16944 MPG123_CFLAGS = $MPG123_CFLAGS
16945 MPG123_LIBS = $MPG123_LIBS
16946 KSTAT_LIBS = $KSTAT_LIBS
16947 PROCSTAT_LIBS = $PROCSTAT_LIBS
16948 DL_LIBS = $DL_LIBS
16949 POLL_LIBS = $POLL_LIBS
16950 RT_LIBS = $RT_LIBS
16951 LDAP_LIBS = $LDAP_LIBS
16956 wine_fn_append_rule "
16957 # Rules automatically generated by configure
16959 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16961 .INIT: Makefile
16962 .MAKEFILEDEPS:
16963 all: Makefile
16964 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16965 @./config.status Make.tmp Makefile"
16967 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16968 .gitignore: config.status
16969 @./config.status .gitignore"
16971 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16972 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16974 if test "x$enable_fonts" != xno; then
16975 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16976 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16977 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16978 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16979 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16981 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16982 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16983 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16984 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16985 ac_config_links="$ac_config_links wine:tools/winewrapper"
16986 wine_fn_config_symlink wine
16987 if test "x$enable_win64" != xno; then
16988 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16989 wine_fn_config_symlink wine64
16992 wine_fn_config_dll acledit enable_acledit
16993 wine_fn_config_dll aclui enable_aclui implib
16994 wine_fn_config_dll activeds enable_activeds implib
16995 wine_fn_config_dll actxprxy enable_actxprxy clean
16996 wine_fn_config_lib adsiid
16997 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16998 wine_fn_config_test dlls/advapi32/tests advapi32_test
16999 wine_fn_config_dll advpack enable_advpack implib
17000 wine_fn_config_test dlls/advpack/tests advpack_test
17001 wine_fn_config_dll amstream enable_amstream clean
17002 wine_fn_config_test dlls/amstream/tests amstream_test
17003 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17004 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17005 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17006 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17007 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17009 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17010 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17011 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17012 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17014 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17015 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17016 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17017 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17018 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17019 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17021 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17024 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17025 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17028 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17029 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17030 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17033 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17034 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17035 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17036 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17037 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17038 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17039 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17040 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17041 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17042 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17043 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17044 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17045 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17046 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17047 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17048 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17049 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17050 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17051 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17052 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17053 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17054 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17055 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17056 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17057 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17058 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17059 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17060 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17061 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17062 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17063 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17064 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17065 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17066 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17067 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17068 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17069 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17070 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17071 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17072 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17073 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17074 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17075 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17076 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17077 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17078 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17079 wine_fn_config_dll apphelp enable_apphelp
17080 wine_fn_config_test dlls/apphelp/tests apphelp_test
17081 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17082 wine_fn_config_dll atl enable_atl clean,implib
17083 wine_fn_config_test dlls/atl/tests atl_test
17084 wine_fn_config_dll atl100 enable_atl100 clean,implib
17085 wine_fn_config_test dlls/atl100/tests atl100_test
17086 wine_fn_config_dll atl110 enable_atl110 clean
17087 wine_fn_config_dll atl80 enable_atl80 clean,implib
17088 wine_fn_config_test dlls/atl80/tests atl80_test
17089 wine_fn_config_dll atl90 enable_atl90 clean
17090 wine_fn_config_dll authz enable_authz
17091 wine_fn_config_dll avicap32 enable_avicap32 implib
17092 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17093 wine_fn_config_test dlls/avifil32/tests avifil32_test
17094 wine_fn_config_dll avifile.dll16 enable_win16
17095 wine_fn_config_dll avrt enable_avrt implib
17096 wine_fn_config_dll bcrypt enable_bcrypt
17097 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17098 wine_fn_config_dll browseui enable_browseui clean,po
17099 wine_fn_config_test dlls/browseui/tests browseui_test
17100 wine_fn_config_dll cabinet enable_cabinet implib
17101 wine_fn_config_test dlls/cabinet/tests cabinet_test
17102 wine_fn_config_dll capi2032 enable_capi2032 implib
17103 wine_fn_config_dll cards enable_cards implib
17104 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17105 wine_fn_config_dll clusapi enable_clusapi implib
17106 wine_fn_config_dll combase enable_combase
17107 wine_fn_config_test dlls/combase/tests combase_test
17108 wine_fn_config_dll comcat enable_comcat
17109 wine_fn_config_test dlls/comcat/tests comcat_test
17110 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17111 wine_fn_config_test dlls/comctl32/tests comctl32_test
17112 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17113 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17114 wine_fn_config_dll comm.drv16 enable_win16
17115 wine_fn_config_dll commdlg.dll16 enable_win16
17116 wine_fn_config_dll compobj.dll16 enable_win16
17117 wine_fn_config_dll compstui enable_compstui implib
17118 wine_fn_config_dll comsvcs enable_comsvcs implib
17119 wine_fn_config_dll connect enable_connect
17120 wine_fn_config_dll credui enable_credui implib,po
17121 wine_fn_config_test dlls/credui/tests credui_test
17122 wine_fn_config_dll crtdll enable_crtdll implib
17123 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17124 wine_fn_config_test dlls/crypt32/tests crypt32_test
17125 wine_fn_config_dll cryptdlg enable_cryptdlg po
17126 wine_fn_config_dll cryptdll enable_cryptdll implib
17127 wine_fn_config_dll cryptext enable_cryptext
17128 wine_fn_config_dll cryptnet enable_cryptnet implib
17129 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17130 wine_fn_config_dll cryptui enable_cryptui implib,po
17131 wine_fn_config_test dlls/cryptui/tests cryptui_test
17132 wine_fn_config_dll ctapi32 enable_ctapi32
17133 wine_fn_config_dll ctl3d.dll16 enable_win16
17134 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17135 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17136 wine_fn_config_dll d2d1 enable_d2d1 implib
17137 wine_fn_config_test dlls/d2d1/tests d2d1_test
17138 wine_fn_config_dll d3d10 enable_d3d10 implib
17139 wine_fn_config_test dlls/d3d10/tests d3d10_test
17140 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17141 wine_fn_config_dll d3d10core enable_d3d10core implib
17142 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17143 wine_fn_config_dll d3d11 enable_d3d11
17144 wine_fn_config_dll d3d8 enable_d3d8 implib
17145 wine_fn_config_test dlls/d3d8/tests d3d8_test
17146 wine_fn_config_dll d3d9 enable_d3d9 implib
17147 wine_fn_config_test dlls/d3d9/tests d3d9_test
17148 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17149 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17150 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17151 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17152 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17153 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17154 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17155 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17156 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17157 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17158 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17159 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17160 wine_fn_config_dll d3dim enable_d3dim implib
17161 wine_fn_config_dll d3drm enable_d3drm implib
17162 wine_fn_config_test dlls/d3drm/tests d3drm_test
17163 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17164 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17165 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17166 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17167 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17168 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17169 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17170 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17171 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17172 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17173 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17174 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17175 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17176 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17177 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17178 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17179 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17180 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17181 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17182 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17183 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17184 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17185 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17186 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17187 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17188 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17189 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17190 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17191 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17192 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17193 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17194 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17195 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17196 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17197 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17198 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17199 wine_fn_config_dll dbgeng enable_dbgeng implib
17200 wine_fn_config_dll dbghelp enable_dbghelp implib
17201 wine_fn_config_dll dciman32 enable_dciman32 implib
17202 wine_fn_config_dll ddeml.dll16 enable_win16
17203 wine_fn_config_dll ddraw enable_ddraw clean,implib
17204 wine_fn_config_test dlls/ddraw/tests ddraw_test
17205 wine_fn_config_dll ddrawex enable_ddrawex clean
17206 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17207 wine_fn_config_dll devenum enable_devenum clean,po
17208 wine_fn_config_test dlls/devenum/tests devenum_test
17209 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17210 wine_fn_config_dll difxapi enable_difxapi
17211 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17212 wine_fn_config_test dlls/dinput/tests dinput_test
17213 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17214 wine_fn_config_test dlls/dinput8/tests dinput8_test
17215 wine_fn_config_dll dispdib.dll16 enable_win16
17216 wine_fn_config_dll dispex enable_dispex clean
17217 wine_fn_config_test dlls/dispex/tests dispex_test
17218 wine_fn_config_dll display.drv16 enable_win16
17219 wine_fn_config_dll dmband enable_dmband clean
17220 wine_fn_config_test dlls/dmband/tests dmband_test
17221 wine_fn_config_dll dmcompos enable_dmcompos clean
17222 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17223 wine_fn_config_dll dmime enable_dmime clean
17224 wine_fn_config_test dlls/dmime/tests dmime_test
17225 wine_fn_config_dll dmloader enable_dmloader clean
17226 wine_fn_config_test dlls/dmloader/tests dmloader_test
17227 wine_fn_config_dll dmscript enable_dmscript clean
17228 wine_fn_config_test dlls/dmscript/tests dmscript_test
17229 wine_fn_config_dll dmstyle enable_dmstyle clean
17230 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17231 wine_fn_config_dll dmsynth enable_dmsynth clean
17232 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17233 wine_fn_config_dll dmusic enable_dmusic clean
17234 wine_fn_config_test dlls/dmusic/tests dmusic_test
17235 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17236 wine_fn_config_dll dnsapi enable_dnsapi implib
17237 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17238 wine_fn_config_dll dplay enable_dplay implib
17239 wine_fn_config_dll dplayx enable_dplayx clean,implib
17240 wine_fn_config_test dlls/dplayx/tests dplayx_test
17241 wine_fn_config_dll dpnaddr enable_dpnaddr
17242 wine_fn_config_dll dpnet enable_dpnet clean,implib
17243 wine_fn_config_test dlls/dpnet/tests dpnet_test
17244 wine_fn_config_dll dpnhpast enable_dpnhpast
17245 wine_fn_config_dll dpnlobby enable_dpnlobby
17246 wine_fn_config_dll dpvoice enable_dpvoice clean
17247 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17248 wine_fn_config_dll dpwsockx enable_dpwsockx
17249 wine_fn_config_dll drmclien enable_drmclien
17250 wine_fn_config_dll dsound enable_dsound clean,implib
17251 wine_fn_config_test dlls/dsound/tests dsound_test
17252 wine_fn_config_dll dssenh enable_dssenh
17253 wine_fn_config_test dlls/dssenh/tests dssenh_test
17254 wine_fn_config_dll dswave enable_dswave clean
17255 wine_fn_config_test dlls/dswave/tests dswave_test
17256 wine_fn_config_dll dwmapi enable_dwmapi implib
17257 wine_fn_config_dll dwrite enable_dwrite implib
17258 wine_fn_config_test dlls/dwrite/tests dwrite_test
17259 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17260 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17261 wine_fn_config_lib dxerr8
17262 wine_fn_config_lib dxerr9
17263 wine_fn_config_dll dxgi enable_dxgi implib
17264 wine_fn_config_test dlls/dxgi/tests dxgi_test
17265 wine_fn_config_lib dxguid
17266 wine_fn_config_dll dxva2 enable_dxva2
17267 wine_fn_config_dll evr enable_evr
17268 wine_fn_config_dll explorerframe enable_explorerframe clean
17269 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17270 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17271 wine_fn_config_dll faultrep enable_faultrep implib
17272 wine_fn_config_test dlls/faultrep/tests faultrep_test
17273 wine_fn_config_dll fltlib enable_fltlib
17274 wine_fn_config_dll fntcache enable_fntcache
17275 wine_fn_config_dll fontsub enable_fontsub
17276 wine_fn_config_dll fusion enable_fusion
17277 wine_fn_config_test dlls/fusion/tests fusion_test
17278 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17279 wine_fn_config_dll gameux enable_gameux clean
17280 wine_fn_config_test dlls/gameux/tests gameux_test
17281 wine_fn_config_dll gdi.exe16 enable_win16
17282 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17283 wine_fn_config_test dlls/gdi32/tests gdi32_test
17284 wine_fn_config_dll gdiplus enable_gdiplus implib
17285 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17286 wine_fn_config_dll glu32 enable_glu32 implib
17287 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17288 wine_fn_config_dll gpkcsp enable_gpkcsp
17289 wine_fn_config_dll hal enable_hal
17290 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17291 wine_fn_config_dll hid enable_hid implib
17292 wine_fn_config_dll hlink enable_hlink clean,implib
17293 wine_fn_config_test dlls/hlink/tests hlink_test
17294 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17295 wine_fn_config_dll httpapi enable_httpapi
17296 wine_fn_config_dll iccvid enable_iccvid po
17297 wine_fn_config_dll icmp enable_icmp
17298 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17299 wine_fn_config_test dlls/ieframe/tests ieframe_test
17300 wine_fn_config_dll ifsmgr.vxd enable_win16
17301 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17302 wine_fn_config_dll imagehlp enable_imagehlp implib
17303 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17304 wine_fn_config_dll imm.dll16 enable_win16
17305 wine_fn_config_dll imm32 enable_imm32 implib
17306 wine_fn_config_test dlls/imm32/tests imm32_test
17307 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17308 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17309 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17310 wine_fn_config_dll inetmib1 enable_inetmib1
17311 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17312 wine_fn_config_dll infosoft enable_infosoft clean
17313 wine_fn_config_test dlls/infosoft/tests infosoft_test
17314 wine_fn_config_dll initpki enable_initpki
17315 wine_fn_config_dll inkobj enable_inkobj
17316 wine_fn_config_dll inseng enable_inseng clean
17317 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17318 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17319 wine_fn_config_dll itircl enable_itircl
17320 wine_fn_config_dll itss enable_itss clean
17321 wine_fn_config_test dlls/itss/tests itss_test
17322 wine_fn_config_dll joy.cpl enable_joy_cpl po
17323 wine_fn_config_dll jscript enable_jscript clean,po
17324 wine_fn_config_test dlls/jscript/tests jscript_test
17325 wine_fn_config_dll jsproxy enable_jsproxy implib
17326 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17327 wine_fn_config_test dlls/kernel32/tests kernel32_test
17328 wine_fn_config_dll keyboard.drv16 enable_win16
17329 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17330 wine_fn_config_dll ksuser enable_ksuser
17331 wine_fn_config_dll ktmw32 enable_ktmw32
17332 wine_fn_config_dll loadperf enable_loadperf implib
17333 wine_fn_config_dll localspl enable_localspl po
17334 wine_fn_config_test dlls/localspl/tests localspl_test
17335 wine_fn_config_dll localui enable_localui po
17336 wine_fn_config_test dlls/localui/tests localui_test
17337 wine_fn_config_dll lz32 enable_lz32 implib
17338 wine_fn_config_test dlls/lz32/tests lz32_test
17339 wine_fn_config_dll lzexpand.dll16 enable_win16
17340 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17341 wine_fn_config_test dlls/mapi32/tests mapi32_test
17342 wine_fn_config_dll mapistub enable_mapistub
17343 wine_fn_config_dll mciavi32 enable_mciavi32
17344 wine_fn_config_dll mcicda enable_mcicda
17345 wine_fn_config_dll mciqtz32 enable_mciqtz32
17346 wine_fn_config_dll mciseq enable_mciseq
17347 wine_fn_config_dll mciwave enable_mciwave
17348 wine_fn_config_dll mf enable_mf
17349 wine_fn_config_dll mfplat enable_mfplat
17350 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17351 wine_fn_config_dll mgmtapi enable_mgmtapi
17352 wine_fn_config_dll midimap enable_midimap
17353 wine_fn_config_dll mlang enable_mlang clean,implib
17354 wine_fn_config_test dlls/mlang/tests mlang_test
17355 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17356 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17357 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17358 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17359 wine_fn_config_dll mmdevldr.vxd enable_win16
17360 wine_fn_config_dll mmsystem.dll16 enable_win16
17361 wine_fn_config_dll monodebg.vxd enable_win16
17362 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17363 wine_fn_config_dll mouse.drv16 enable_win16
17364 wine_fn_config_dll mpr enable_mpr implib,po
17365 wine_fn_config_test dlls/mpr/tests mpr_test
17366 wine_fn_config_dll mprapi enable_mprapi implib
17367 wine_fn_config_dll msacm.dll16 enable_win16
17368 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17369 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17370 wine_fn_config_test dlls/msacm32/tests msacm32_test
17371 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17372 wine_fn_config_dll msasn1 enable_msasn1 implib
17373 wine_fn_config_dll mscat32 enable_mscat32
17374 wine_fn_config_dll mscms enable_mscms implib
17375 wine_fn_config_test dlls/mscms/tests mscms_test
17376 wine_fn_config_dll mscoree enable_mscoree clean
17377 wine_fn_config_test dlls/mscoree/tests mscoree_test
17378 wine_fn_config_dll msctf enable_msctf clean
17379 wine_fn_config_test dlls/msctf/tests msctf_test
17380 wine_fn_config_dll msdaps enable_msdaps clean
17381 wine_fn_config_dll msdmo enable_msdmo implib
17382 wine_fn_config_test dlls/msdmo/tests msdmo_test
17383 wine_fn_config_dll msftedit enable_msftedit
17384 wine_fn_config_dll msg711.acm enable_msg711_acm
17385 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17386 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17387 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17388 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17389 wine_fn_config_dll msi enable_msi clean,implib,po
17390 wine_fn_config_test dlls/msi/tests msi_test
17391 wine_fn_config_dll msident enable_msident clean
17392 wine_fn_config_dll msimg32 enable_msimg32 implib
17393 wine_fn_config_dll msimsg enable_msimsg
17394 wine_fn_config_dll msimtf enable_msimtf clean
17395 wine_fn_config_dll msisip enable_msisip
17396 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17397 wine_fn_config_dll msls31 enable_msls31
17398 wine_fn_config_dll msnet32 enable_msnet32
17399 wine_fn_config_dll mspatcha enable_mspatcha implib
17400 wine_fn_config_dll msrle32 enable_msrle32 po
17401 wine_fn_config_test dlls/msrle32/tests msrle32_test
17402 wine_fn_config_dll mssign32 enable_mssign32
17403 wine_fn_config_dll mssip32 enable_mssip32
17404 wine_fn_config_dll mstask enable_mstask clean
17405 wine_fn_config_test dlls/mstask/tests mstask_test
17406 wine_fn_config_dll msvcirt enable_msvcirt
17407 wine_fn_config_dll msvcm80 enable_msvcm80
17408 wine_fn_config_dll msvcm90 enable_msvcm90
17409 wine_fn_config_dll msvcp100 enable_msvcp100
17410 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17411 wine_fn_config_dll msvcp110 enable_msvcp110
17412 wine_fn_config_dll msvcp120 enable_msvcp120
17413 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17414 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17415 wine_fn_config_dll msvcp60 enable_msvcp60
17416 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17417 wine_fn_config_dll msvcp70 enable_msvcp70
17418 wine_fn_config_dll msvcp71 enable_msvcp71
17419 wine_fn_config_dll msvcp80 enable_msvcp80
17420 wine_fn_config_dll msvcp90 enable_msvcp90
17421 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17422 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17423 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17424 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17425 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17426 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17427 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17428 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17429 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17430 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17431 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17432 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17433 wine_fn_config_dll msvcrt enable_msvcrt implib
17434 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17435 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17436 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17437 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17438 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17439 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17440 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17441 wine_fn_config_dll msvidc32 enable_msvidc32 po
17442 wine_fn_config_dll msvideo.dll16 enable_win16
17443 wine_fn_config_dll mswsock enable_mswsock implib
17444 wine_fn_config_dll msxml enable_msxml clean
17445 wine_fn_config_dll msxml2 enable_msxml2 clean
17446 wine_fn_config_dll msxml3 enable_msxml3 clean
17447 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17448 wine_fn_config_dll msxml4 enable_msxml4 clean
17449 wine_fn_config_dll msxml6 enable_msxml6 clean
17450 wine_fn_config_dll nddeapi enable_nddeapi implib
17451 wine_fn_config_dll ndis.sys enable_ndis_sys
17452 wine_fn_config_dll netapi32 enable_netapi32 implib
17453 wine_fn_config_test dlls/netapi32/tests netapi32_test
17454 wine_fn_config_dll netcfgx enable_netcfgx clean
17455 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17456 wine_fn_config_dll netprofm enable_netprofm clean
17457 wine_fn_config_test dlls/netprofm/tests netprofm_test
17458 wine_fn_config_dll newdev enable_newdev implib
17459 wine_fn_config_dll normaliz enable_normaliz implib
17460 wine_fn_config_dll npmshtml enable_npmshtml
17461 wine_fn_config_dll npptools enable_npptools
17462 wine_fn_config_dll ntdll enable_ntdll implib
17463 wine_fn_config_test dlls/ntdll/tests ntdll_test
17464 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17465 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17466 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17467 wine_fn_config_dll ntprint enable_ntprint
17468 wine_fn_config_test dlls/ntprint/tests ntprint_test
17469 wine_fn_config_dll objsel enable_objsel clean
17470 wine_fn_config_dll odbc32 enable_odbc32 implib
17471 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17472 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17473 wine_fn_config_dll odbccu32 enable_odbccu32
17474 wine_fn_config_dll ole2.dll16 enable_win16
17475 wine_fn_config_dll ole2conv.dll16 enable_win16
17476 wine_fn_config_dll ole2disp.dll16 enable_win16
17477 wine_fn_config_dll ole2nls.dll16 enable_win16
17478 wine_fn_config_dll ole2prox.dll16 enable_win16
17479 wine_fn_config_dll ole2thk.dll16 enable_win16
17480 wine_fn_config_dll ole32 enable_ole32 clean,implib
17481 wine_fn_config_test dlls/ole32/tests ole32_test
17482 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17483 wine_fn_config_test dlls/oleacc/tests oleacc_test
17484 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17485 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17486 wine_fn_config_dll olecli.dll16 enable_win16
17487 wine_fn_config_dll olecli32 enable_olecli32 implib
17488 wine_fn_config_dll oledb32 enable_oledb32 clean
17489 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17490 wine_fn_config_dll oledlg enable_oledlg implib,po
17491 wine_fn_config_dll olepro32 enable_olepro32 implib
17492 wine_fn_config_dll olesvr.dll16 enable_win16
17493 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17494 wine_fn_config_dll olethk32 enable_olethk32
17495 wine_fn_config_dll openal32 enable_openal32
17496 wine_fn_config_dll opencl enable_opencl
17497 wine_fn_config_dll opengl32 enable_opengl32 implib
17498 wine_fn_config_test dlls/opengl32/tests opengl32_test
17499 wine_fn_config_dll packager enable_packager clean
17500 wine_fn_config_test dlls/packager/tests packager_test
17501 wine_fn_config_dll pdh enable_pdh implib
17502 wine_fn_config_test dlls/pdh/tests pdh_test
17503 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17504 wine_fn_config_dll pidgen enable_pidgen
17505 wine_fn_config_dll powrprof enable_powrprof implib
17506 wine_fn_config_dll printui enable_printui
17507 wine_fn_config_dll prntvpt enable_prntvpt
17508 wine_fn_config_dll propsys enable_propsys clean,implib
17509 wine_fn_config_test dlls/propsys/tests propsys_test
17510 wine_fn_config_dll psapi enable_psapi implib
17511 wine_fn_config_test dlls/psapi/tests psapi_test
17512 wine_fn_config_dll pstorec enable_pstorec clean
17513 wine_fn_config_dll qcap enable_qcap
17514 wine_fn_config_test dlls/qcap/tests qcap_test
17515 wine_fn_config_dll qedit enable_qedit clean
17516 wine_fn_config_test dlls/qedit/tests qedit_test
17517 wine_fn_config_dll qmgr enable_qmgr clean
17518 wine_fn_config_test dlls/qmgr/tests qmgr_test
17519 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17520 wine_fn_config_dll quartz enable_quartz clean,implib
17521 wine_fn_config_test dlls/quartz/tests quartz_test clean
17522 wine_fn_config_dll query enable_query
17523 wine_fn_config_dll rasapi16.dll16 enable_win16
17524 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17525 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17526 wine_fn_config_dll rasdlg enable_rasdlg implib
17527 wine_fn_config_dll regapi enable_regapi
17528 wine_fn_config_dll resutils enable_resutils implib
17529 wine_fn_config_dll riched20 enable_riched20 implib
17530 wine_fn_config_test dlls/riched20/tests riched20_test
17531 wine_fn_config_dll riched32 enable_riched32
17532 wine_fn_config_test dlls/riched32/tests riched32_test
17533 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17534 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17535 wine_fn_config_dll rsabase enable_rsabase
17536 wine_fn_config_dll rsaenh enable_rsaenh implib
17537 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17538 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17539 wine_fn_config_dll rtutils enable_rtutils implib
17540 wine_fn_config_dll samlib enable_samlib
17541 wine_fn_config_dll sane.ds enable_sane_ds po
17542 wine_fn_config_dll scarddlg enable_scarddlg
17543 wine_fn_config_dll sccbase enable_sccbase
17544 wine_fn_config_dll schannel enable_schannel
17545 wine_fn_config_test dlls/schannel/tests schannel_test
17546 wine_fn_config_dll schedsvc enable_schedsvc clean
17547 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17548 wine_fn_config_dll scrrun enable_scrrun clean
17549 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17550 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17551 wine_fn_config_dll secur32 enable_secur32 implib
17552 wine_fn_config_test dlls/secur32/tests secur32_test
17553 wine_fn_config_dll security enable_security
17554 wine_fn_config_dll sensapi enable_sensapi implib
17555 wine_fn_config_dll serialui enable_serialui implib,po
17556 wine_fn_config_test dlls/serialui/tests serialui_test
17557 wine_fn_config_dll setupapi enable_setupapi implib,po
17558 wine_fn_config_test dlls/setupapi/tests setupapi_test
17559 wine_fn_config_dll setupx.dll16 enable_win16
17560 wine_fn_config_dll sfc enable_sfc implib
17561 wine_fn_config_dll sfc_os enable_sfc_os implib
17562 wine_fn_config_dll shdoclc enable_shdoclc po
17563 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17564 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17565 wine_fn_config_dll shell.dll16 enable_win16
17566 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17567 wine_fn_config_test dlls/shell32/tests shell32_test
17568 wine_fn_config_dll shfolder enable_shfolder implib
17569 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17570 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17571 wine_fn_config_dll slbcsp enable_slbcsp
17572 wine_fn_config_dll slc enable_slc implib
17573 wine_fn_config_test dlls/slc/tests slc_test
17574 wine_fn_config_dll snmpapi enable_snmpapi implib
17575 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17576 wine_fn_config_dll softpub enable_softpub
17577 wine_fn_config_dll sound.drv16 enable_win16
17578 wine_fn_config_dll spoolss enable_spoolss implib
17579 wine_fn_config_test dlls/spoolss/tests spoolss_test
17580 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17581 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17582 wine_fn_config_dll sti enable_sti clean,implib
17583 wine_fn_config_test dlls/sti/tests sti_test
17584 wine_fn_config_dll storage.dll16 enable_win16
17585 wine_fn_config_dll stress.dll16 enable_win16
17586 wine_fn_config_lib strmbase
17587 wine_fn_config_lib strmiids
17588 wine_fn_config_dll svrapi enable_svrapi
17589 wine_fn_config_dll sxs enable_sxs implib
17590 wine_fn_config_test dlls/sxs/tests sxs_test
17591 wine_fn_config_dll system.drv16 enable_win16
17592 wine_fn_config_dll t2embed enable_t2embed
17593 wine_fn_config_dll tapi32 enable_tapi32 implib
17594 wine_fn_config_dll taskschd enable_taskschd clean
17595 wine_fn_config_test dlls/taskschd/tests taskschd_test
17596 wine_fn_config_dll toolhelp.dll16 enable_win16
17597 wine_fn_config_dll traffic enable_traffic
17598 wine_fn_config_dll twain.dll16 enable_win16
17599 wine_fn_config_dll twain_32 enable_twain_32
17600 wine_fn_config_test dlls/twain_32/tests twain_32_test
17601 wine_fn_config_dll typelib.dll16 enable_win16
17602 wine_fn_config_dll unicows enable_unicows implib
17603 wine_fn_config_dll updspapi enable_updspapi
17604 wine_fn_config_dll url enable_url implib
17605 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17606 wine_fn_config_test dlls/urlmon/tests urlmon_test
17607 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17608 wine_fn_config_dll user.exe16 enable_win16
17609 wine_fn_config_dll user32 enable_user32 clean,implib,po
17610 wine_fn_config_test dlls/user32/tests user32_test
17611 wine_fn_config_dll userenv enable_userenv implib
17612 wine_fn_config_test dlls/userenv/tests userenv_test
17613 wine_fn_config_dll usp10 enable_usp10 implib
17614 wine_fn_config_test dlls/usp10/tests usp10_test
17615 wine_fn_config_lib uuid
17616 wine_fn_config_dll uxtheme enable_uxtheme implib
17617 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17618 wine_fn_config_dll vbscript enable_vbscript clean
17619 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17620 wine_fn_config_dll vcomp enable_vcomp
17621 wine_fn_config_dll vcomp100 enable_vcomp100
17622 wine_fn_config_dll vcomp90 enable_vcomp90
17623 wine_fn_config_dll vdhcp.vxd enable_win16
17624 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17625 wine_fn_config_dll ver.dll16 enable_win16
17626 wine_fn_config_dll version enable_version implib
17627 wine_fn_config_test dlls/version/tests version_test
17628 wine_fn_config_dll vmm.vxd enable_win16
17629 wine_fn_config_dll vnbt.vxd enable_win16
17630 wine_fn_config_dll vnetbios.vxd enable_win16
17631 wine_fn_config_dll vssapi enable_vssapi
17632 wine_fn_config_dll vtdapi.vxd enable_win16
17633 wine_fn_config_dll vwin32.vxd enable_win16
17634 wine_fn_config_dll w32skrnl enable_win16
17635 wine_fn_config_dll w32sys.dll16 enable_win16
17636 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17637 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17638 wine_fn_config_dll wbemprox enable_wbemprox clean
17639 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17640 wine_fn_config_dll webservices enable_webservices implib
17641 wine_fn_config_dll wer enable_wer implib
17642 wine_fn_config_test dlls/wer/tests wer_test
17643 wine_fn_config_dll wevtapi enable_wevtapi
17644 wine_fn_config_dll wiaservc enable_wiaservc clean
17645 wine_fn_config_dll win32s16.dll16 enable_win16
17646 wine_fn_config_dll win87em.dll16 enable_win16
17647 wine_fn_config_dll winaspi.dll16 enable_win16
17648 wine_fn_config_dll windebug.dll16 enable_win16
17649 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17650 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17651 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17652 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17653 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17654 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17655 wine_fn_config_lib winecrt0
17656 wine_fn_config_dll wined3d enable_wined3d implib
17657 wine_fn_config_dll winegstreamer enable_winegstreamer
17658 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17659 wine_fn_config_dll winemac.drv enable_winemac_drv
17660 wine_fn_config_dll winemapi enable_winemapi
17661 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17662 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17663 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17664 wine_fn_config_dll wineps16.drv16 enable_win16
17665 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17666 wine_fn_config_dll winex11.drv enable_winex11_drv
17667 wine_fn_config_dll wing.dll16 enable_win16
17668 wine_fn_config_dll wing32 enable_wing32
17669 wine_fn_config_dll winhttp enable_winhttp clean,implib
17670 wine_fn_config_test dlls/winhttp/tests winhttp_test
17671 wine_fn_config_dll wininet enable_wininet implib,po
17672 wine_fn_config_test dlls/wininet/tests wininet_test
17673 wine_fn_config_dll winmm enable_winmm implib,po
17674 wine_fn_config_test dlls/winmm/tests winmm_test
17675 wine_fn_config_dll winnls.dll16 enable_win16
17676 wine_fn_config_dll winnls32 enable_winnls32 implib
17677 wine_fn_config_dll winscard enable_winscard implib
17678 wine_fn_config_dll winsock.dll16 enable_win16
17679 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17680 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17681 wine_fn_config_dll winsta enable_winsta
17682 wine_fn_config_dll wintab.dll16 enable_win16
17683 wine_fn_config_dll wintab32 enable_wintab32 implib
17684 wine_fn_config_test dlls/wintab32/tests wintab32_test
17685 wine_fn_config_dll wintrust enable_wintrust implib
17686 wine_fn_config_test dlls/wintrust/tests wintrust_test
17687 wine_fn_config_dll wlanapi enable_wlanapi
17688 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17689 wine_fn_config_test dlls/wldap32/tests wldap32_test
17690 wine_fn_config_dll wmi enable_wmi
17691 wine_fn_config_dll wmiutils enable_wmiutils clean
17692 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17693 wine_fn_config_dll wmp enable_wmp clean
17694 wine_fn_config_test dlls/wmp/tests wmp_test
17695 wine_fn_config_dll wmvcore enable_wmvcore
17696 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17697 wine_fn_config_dll wow32 enable_win16 implib
17698 wine_fn_config_dll wpcap enable_wpcap
17699 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17700 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17701 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17702 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17703 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17704 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17705 wine_fn_config_dll wsock32 enable_wsock32 implib
17706 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17707 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17708 wine_fn_config_dll wuapi enable_wuapi clean
17709 wine_fn_config_dll wuaueng enable_wuaueng
17710 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17711 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17712 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17713 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17714 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17715 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17716 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17717 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17718 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17719 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17720 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17721 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17722 wine_fn_config_dll xinput1_1 enable_xinput1_1
17723 wine_fn_config_dll xinput1_2 enable_xinput1_2
17724 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17725 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17726 wine_fn_config_dll xinput1_4 enable_xinput1_4
17727 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17728 wine_fn_config_dll xmllite enable_xmllite implib
17729 wine_fn_config_test dlls/xmllite/tests xmllite_test
17730 wine_fn_config_dll xolehlp enable_xolehlp
17731 wine_fn_config_dll xpsprint enable_xpsprint
17732 wine_fn_config_dll xpssvcs enable_xpssvcs
17733 wine_fn_config_makefile documentation enable_documentation clean
17734 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17735 wine_fn_config_makefile include enable_include clean,install-dev
17736 wine_fn_config_makefile libs/port enable_libs_port
17737 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17738 wine_fn_config_makefile libs/wpp enable_libs_wpp
17739 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17740 wine_fn_config_program arp enable_arp install
17741 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17742 wine_fn_config_program attrib enable_attrib install,po
17743 wine_fn_config_program cabarc enable_cabarc install
17744 wine_fn_config_program cacls enable_cacls install
17745 wine_fn_config_program clock enable_clock install,po
17746 wine_fn_config_program cmd enable_cmd install,po
17747 wine_fn_config_test programs/cmd/tests cmd.exe_test
17748 wine_fn_config_program conhost enable_conhost install
17749 wine_fn_config_program control enable_control install
17750 wine_fn_config_program cscript enable_cscript clean,install
17751 wine_fn_config_program dpnsvr enable_dpnsvr install
17752 wine_fn_config_program dxdiag enable_dxdiag install,po
17753 wine_fn_config_program eject enable_eject install
17754 wine_fn_config_program expand enable_expand install
17755 wine_fn_config_program explorer enable_explorer install,po
17756 wine_fn_config_program extrac32 enable_extrac32 install
17757 wine_fn_config_program findstr enable_findstr install
17758 wine_fn_config_program hh enable_hh install
17759 wine_fn_config_program hostname enable_hostname install,po
17760 wine_fn_config_program icinfo enable_icinfo install
17761 wine_fn_config_program iexplore enable_iexplore install
17762 wine_fn_config_program ipconfig enable_ipconfig install,po
17763 wine_fn_config_program lodctr enable_lodctr install
17764 wine_fn_config_program mofcomp enable_mofcomp install
17765 wine_fn_config_program mshta enable_mshta install
17766 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17767 wine_fn_config_program net enable_net install,po
17768 wine_fn_config_program netsh enable_netsh install
17769 wine_fn_config_program netstat enable_netstat install,po
17770 wine_fn_config_program ngen enable_ngen install
17771 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17772 wine_fn_config_program oleview enable_oleview install,po
17773 wine_fn_config_program ping enable_ping install
17774 wine_fn_config_program plugplay enable_plugplay install
17775 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17776 wine_fn_config_program progman enable_progman install,po
17777 wine_fn_config_program reg enable_reg install,po
17778 wine_fn_config_test programs/reg/tests reg.exe_test
17779 wine_fn_config_program regasm enable_regasm install
17780 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17781 wine_fn_config_test programs/regedit/tests regedit.exe_test
17782 wine_fn_config_program regsvcs enable_regsvcs install
17783 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17784 wine_fn_config_program rpcss enable_rpcss clean,install
17785 wine_fn_config_program rundll.exe16 enable_win16 install
17786 wine_fn_config_program rundll32 enable_rundll32 install
17787 wine_fn_config_program sc enable_sc install
17788 wine_fn_config_program schtasks enable_schtasks install
17789 wine_fn_config_program sdbinst enable_sdbinst install
17790 wine_fn_config_program secedit enable_secedit install
17791 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17792 wine_fn_config_program services enable_services clean,install
17793 wine_fn_config_test programs/services/tests services.exe_test
17794 wine_fn_config_program spoolsv enable_spoolsv install
17795 wine_fn_config_program start enable_start install,po
17796 wine_fn_config_program svchost enable_svchost install
17797 wine_fn_config_program systeminfo enable_systeminfo install
17798 wine_fn_config_program taskkill enable_taskkill install,po
17799 wine_fn_config_program tasklist enable_tasklist install
17800 wine_fn_config_program taskmgr enable_taskmgr install,po
17801 wine_fn_config_program termsv enable_termsv install
17802 wine_fn_config_program uninstaller enable_uninstaller install,po
17803 wine_fn_config_program unlodctr enable_unlodctr install
17804 wine_fn_config_program view enable_view install,po
17805 wine_fn_config_program wevtutil enable_wevtutil install
17806 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17807 wine_fn_config_program winebrowser enable_winebrowser install
17808 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17809 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17810 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17811 wine_fn_config_program winedevice enable_winedevice install
17812 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17813 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17814 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17815 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17816 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17817 wine_fn_config_program winetest enable_winetest clean
17818 wine_fn_config_program winevdm enable_win16 install
17819 wine_fn_config_program winhelp.exe16 enable_win16 install
17820 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17821 wine_fn_config_program winoldap.mod16 enable_win16 install
17822 wine_fn_config_program winver enable_winver install
17823 wine_fn_config_program wmic enable_wmic install,po
17824 wine_fn_config_program wordpad enable_wordpad install,po
17825 wine_fn_config_program write enable_write install,po
17826 wine_fn_config_program wscript enable_wscript clean,install
17827 wine_fn_config_test programs/wscript/tests wscript.exe_test
17828 wine_fn_config_program wusa enable_wusa install
17829 wine_fn_config_program xcopy enable_xcopy install,po
17830 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17831 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17832 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17833 wine_fn_config_tool tools/sfnt2fon clean
17834 wine_fn_config_tool tools/widl clean,install-dev,manpage
17835 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17836 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17837 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17838 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17839 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17841 LINGUAS="\
17842 ar \
17843 bg \
17844 ca \
17845 cs \
17846 da \
17847 de \
17848 el \
17849 en \
17850 en_US \
17851 eo \
17852 es \
17853 fa \
17854 fi \
17855 fr \
17856 he \
17857 hi \
17858 hr \
17859 hu \
17860 it \
17861 ja \
17862 ko \
17863 lt \
17864 ml \
17865 nb_NO \
17866 nl \
17867 or \
17868 pa \
17869 pl \
17870 pt_BR \
17871 pt_PT \
17872 rm \
17873 ro \
17874 ru \
17875 sk \
17876 sl \
17877 sr_RS@cyrillic \
17878 sr_RS@latin \
17879 sv \
17880 te \
17881 th \
17882 tr \
17883 uk \
17884 wa \
17885 zh_CN \
17886 zh_TW"
17891 wine_fn_ignore_file ".gitignore"
17892 wine_fn_ignore_file "Makefile"
17893 wine_fn_ignore_file "TAGS"
17894 wine_fn_ignore_file "tags"
17895 wine_fn_ignore_file "autom4te.cache"
17896 wine_fn_ignore_file "config.cache"
17897 wine_fn_ignore_file "config.log"
17898 wine_fn_ignore_file "config.status"
17899 wine_fn_ignore_file "configure.lineno"
17900 wine_fn_ignore_file "include/config.h"
17901 wine_fn_ignore_file "include/stamp-h"
17902 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17904 if test "x$enable_tools" != xno
17905 then
17906 wine_fn_ignore_file "tools/makedep$ac_exeext"
17907 ac_config_commands="$ac_config_commands tools/makedep"
17911 ac_config_commands="$ac_config_commands Makefile"
17914 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17918 if test "x$enable_maintainer_mode" = xyes
17919 then
17920 wine_fn_append_rule "configure: configure.ac aclocal.m4
17921 autoconf --warnings=all
17922 include/config.h.in: include/stamp-h.in
17923 include/stamp-h.in: configure.ac aclocal.m4
17924 autoheader --warnings=all
17925 @echo timestamp > \$@"
17928 if test "x$with_gettextpo" = xyes
17929 then
17930 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17931 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17932 \$(LINGUAS:%=po/%.po): po/wine.pot
17933 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17934 po/wine.pot: \$(ALL_POT_FILES)
17935 msgcat -o \$@ \$(ALL_POT_FILES)"
17938 if test "$MSGFMT" != false
17939 then
17940 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17941 clean::
17942 \$(RM) \$(LINGUAS:%=po/%.mo)"
17944 posrc="po"
17945 test "$srcdir" = . || posrc="$srcdir/po"
17946 for i in $LINGUAS
17948 wine_fn_ignore_file "po/$i.mo"
17949 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17950 \$(MSGFMT) -o \$@ $posrc/$i.po"
17951 done
17952 else
17953 LINGUAS=
17956 if test "x$enable_tools" != xno
17957 then
17958 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17959 @./config.status tools/makedep
17960 Makefile: tools/makedep$ac_exeext
17961 distclean:: clean
17962 \$(RM) tools/makedep$ac_exeext"
17963 else
17964 wine_fn_append_rule "\$(MAKEDEP):
17965 @echo \"You need to run make in $TOOLSDIR first\" && false"
17968 if test -n "$with_wine64"
17969 then
17970 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17971 fonts server tools:
17972 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17973 $with_wine64/loader/wine:
17974 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17975 $with_wine64/loader/wine-preloader:
17976 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17977 clean::
17978 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17979 else
17980 as_fn_append LOADER_RULES "
17981 install install-lib:: wine.inf install-man-pages
17982 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17983 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17985 uninstall::
17986 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17990 if test "$srcdir" = .
17991 then
17992 ac_config_commands="$ac_config_commands .gitignore"
17996 $as_echo " done" >&6
17997 cat >confcache <<\_ACEOF
17998 # This file is a shell script that caches the results of configure
17999 # tests run on this system so they can be shared between configure
18000 # scripts and configure runs, see configure's option --config-cache.
18001 # It is not useful on other systems. If it contains results you don't
18002 # want to keep, you may remove or edit it.
18004 # config.status only pays attention to the cache file if you give it
18005 # the --recheck option to rerun configure.
18007 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18008 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18009 # following values.
18011 _ACEOF
18013 # The following way of writing the cache mishandles newlines in values,
18014 # but we know of no workaround that is simple, portable, and efficient.
18015 # So, we kill variables containing newlines.
18016 # Ultrix sh set writes to stderr and can't be redirected directly,
18017 # and sets the high bit in the cache file unless we assign to the vars.
18019 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18020 eval ac_val=\$$ac_var
18021 case $ac_val in #(
18022 *${as_nl}*)
18023 case $ac_var in #(
18024 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18025 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18026 esac
18027 case $ac_var in #(
18028 _ | IFS | as_nl) ;; #(
18029 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18030 *) { eval $ac_var=; unset $ac_var;} ;;
18031 esac ;;
18032 esac
18033 done
18035 (set) 2>&1 |
18036 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18037 *${as_nl}ac_space=\ *)
18038 # `set' does not quote correctly, so add quotes: double-quote
18039 # substitution turns \\\\ into \\, and sed turns \\ into \.
18040 sed -n \
18041 "s/'/'\\\\''/g;
18042 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18043 ;; #(
18045 # `set' quotes correctly as required by POSIX, so do not add quotes.
18046 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18048 esac |
18049 sort
18051 sed '
18052 /^ac_cv_env_/b end
18053 t clear
18054 :clear
18055 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18056 t end
18057 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18058 :end' >>confcache
18059 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18060 if test -w "$cache_file"; then
18061 if test "x$cache_file" != "x/dev/null"; then
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18063 $as_echo "$as_me: updating cache $cache_file" >&6;}
18064 if test ! -f "$cache_file" || test -h "$cache_file"; then
18065 cat confcache >"$cache_file"
18066 else
18067 case $cache_file in #(
18068 */* | ?:*)
18069 mv -f confcache "$cache_file"$$ &&
18070 mv -f "$cache_file"$$ "$cache_file" ;; #(
18072 mv -f confcache "$cache_file" ;;
18073 esac
18076 else
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18078 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18081 rm -f confcache
18083 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18084 # Let make expand exec_prefix.
18085 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18087 DEFS=-DHAVE_CONFIG_H
18089 ac_libobjs=
18090 ac_ltlibobjs=
18092 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18093 # 1. Remove the extension, and $U if already installed.
18094 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18095 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18096 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18097 # will be set to the directory where LIBOBJS objects are built.
18098 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18099 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18100 done
18101 LIBOBJS=$ac_libobjs
18103 LTLIBOBJS=$ac_ltlibobjs
18107 : "${CONFIG_STATUS=./config.status}"
18108 ac_write_fail=0
18109 ac_clean_files_save=$ac_clean_files
18110 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18112 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18113 as_write_fail=0
18114 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18115 #! $SHELL
18116 # Generated by $as_me.
18117 # Run this file to recreate the current configuration.
18118 # Compiler output produced by configure, useful for debugging
18119 # configure, is in config.log if it exists.
18121 debug=false
18122 ac_cs_recheck=false
18123 ac_cs_silent=false
18125 SHELL=\${CONFIG_SHELL-$SHELL}
18126 export SHELL
18127 _ASEOF
18128 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18129 ## -------------------- ##
18130 ## M4sh Initialization. ##
18131 ## -------------------- ##
18133 # Be more Bourne compatible
18134 DUALCASE=1; export DUALCASE # for MKS sh
18135 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18136 emulate sh
18137 NULLCMD=:
18138 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18139 # is contrary to our usage. Disable this feature.
18140 alias -g '${1+"$@"}'='"$@"'
18141 setopt NO_GLOB_SUBST
18142 else
18143 case `(set -o) 2>/dev/null` in #(
18144 *posix*) :
18145 set -o posix ;; #(
18146 *) :
18148 esac
18152 as_nl='
18154 export as_nl
18155 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18156 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18157 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18158 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18159 # Prefer a ksh shell builtin over an external printf program on Solaris,
18160 # but without wasting forks for bash or zsh.
18161 if test -z "$BASH_VERSION$ZSH_VERSION" \
18162 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18163 as_echo='print -r --'
18164 as_echo_n='print -rn --'
18165 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18166 as_echo='printf %s\n'
18167 as_echo_n='printf %s'
18168 else
18169 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18170 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18171 as_echo_n='/usr/ucb/echo -n'
18172 else
18173 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18174 as_echo_n_body='eval
18175 arg=$1;
18176 case $arg in #(
18177 *"$as_nl"*)
18178 expr "X$arg" : "X\\(.*\\)$as_nl";
18179 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18180 esac;
18181 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18183 export as_echo_n_body
18184 as_echo_n='sh -c $as_echo_n_body as_echo'
18186 export as_echo_body
18187 as_echo='sh -c $as_echo_body as_echo'
18190 # The user is always right.
18191 if test "${PATH_SEPARATOR+set}" != set; then
18192 PATH_SEPARATOR=:
18193 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18194 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18195 PATH_SEPARATOR=';'
18200 # IFS
18201 # We need space, tab and new line, in precisely that order. Quoting is
18202 # there to prevent editors from complaining about space-tab.
18203 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18204 # splitting by setting IFS to empty value.)
18205 IFS=" "" $as_nl"
18207 # Find who we are. Look in the path if we contain no directory separator.
18208 as_myself=
18209 case $0 in #((
18210 *[\\/]* ) as_myself=$0 ;;
18211 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18212 for as_dir in $PATH
18214 IFS=$as_save_IFS
18215 test -z "$as_dir" && as_dir=.
18216 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18217 done
18218 IFS=$as_save_IFS
18221 esac
18222 # We did not find ourselves, most probably we were run as `sh COMMAND'
18223 # in which case we are not to be found in the path.
18224 if test "x$as_myself" = x; then
18225 as_myself=$0
18227 if test ! -f "$as_myself"; then
18228 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18229 exit 1
18232 # Unset variables that we do not need and which cause bugs (e.g. in
18233 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18234 # suppresses any "Segmentation fault" message there. '((' could
18235 # trigger a bug in pdksh 5.2.14.
18236 for as_var in BASH_ENV ENV MAIL MAILPATH
18237 do eval test x\${$as_var+set} = xset \
18238 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18239 done
18240 PS1='$ '
18241 PS2='> '
18242 PS4='+ '
18244 # NLS nuisances.
18245 LC_ALL=C
18246 export LC_ALL
18247 LANGUAGE=C
18248 export LANGUAGE
18250 # CDPATH.
18251 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18254 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18255 # ----------------------------------------
18256 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18257 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18258 # script with STATUS, using 1 if that was 0.
18259 as_fn_error ()
18261 as_status=$1; test $as_status -eq 0 && as_status=1
18262 if test "$4"; then
18263 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18264 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18266 $as_echo "$as_me: error: $2" >&2
18267 as_fn_exit $as_status
18268 } # as_fn_error
18271 # as_fn_set_status STATUS
18272 # -----------------------
18273 # Set $? to STATUS, without forking.
18274 as_fn_set_status ()
18276 return $1
18277 } # as_fn_set_status
18279 # as_fn_exit STATUS
18280 # -----------------
18281 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18282 as_fn_exit ()
18284 set +e
18285 as_fn_set_status $1
18286 exit $1
18287 } # as_fn_exit
18289 # as_fn_unset VAR
18290 # ---------------
18291 # Portably unset VAR.
18292 as_fn_unset ()
18294 { eval $1=; unset $1;}
18296 as_unset=as_fn_unset
18297 # as_fn_append VAR VALUE
18298 # ----------------------
18299 # Append the text in VALUE to the end of the definition contained in VAR. Take
18300 # advantage of any shell optimizations that allow amortized linear growth over
18301 # repeated appends, instead of the typical quadratic growth present in naive
18302 # implementations.
18303 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18304 eval 'as_fn_append ()
18306 eval $1+=\$2
18308 else
18309 as_fn_append ()
18311 eval $1=\$$1\$2
18313 fi # as_fn_append
18315 # as_fn_arith ARG...
18316 # ------------------
18317 # Perform arithmetic evaluation on the ARGs, and store the result in the
18318 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18319 # must be portable across $(()) and expr.
18320 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18321 eval 'as_fn_arith ()
18323 as_val=$(( $* ))
18325 else
18326 as_fn_arith ()
18328 as_val=`expr "$@" || test $? -eq 1`
18330 fi # as_fn_arith
18333 if expr a : '\(a\)' >/dev/null 2>&1 &&
18334 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18335 as_expr=expr
18336 else
18337 as_expr=false
18340 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18341 as_basename=basename
18342 else
18343 as_basename=false
18346 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18347 as_dirname=dirname
18348 else
18349 as_dirname=false
18352 as_me=`$as_basename -- "$0" ||
18353 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18354 X"$0" : 'X\(//\)$' \| \
18355 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18356 $as_echo X/"$0" |
18357 sed '/^.*\/\([^/][^/]*\)\/*$/{
18358 s//\1/
18361 /^X\/\(\/\/\)$/{
18362 s//\1/
18365 /^X\/\(\/\).*/{
18366 s//\1/
18369 s/.*/./; q'`
18371 # Avoid depending upon Character Ranges.
18372 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18373 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18374 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18375 as_cr_digits='0123456789'
18376 as_cr_alnum=$as_cr_Letters$as_cr_digits
18378 ECHO_C= ECHO_N= ECHO_T=
18379 case `echo -n x` in #(((((
18380 -n*)
18381 case `echo 'xy\c'` in
18382 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18383 xy) ECHO_C='\c';;
18384 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18385 ECHO_T=' ';;
18386 esac;;
18388 ECHO_N='-n';;
18389 esac
18391 rm -f conf$$ conf$$.exe conf$$.file
18392 if test -d conf$$.dir; then
18393 rm -f conf$$.dir/conf$$.file
18394 else
18395 rm -f conf$$.dir
18396 mkdir conf$$.dir 2>/dev/null
18398 if (echo >conf$$.file) 2>/dev/null; then
18399 if ln -s conf$$.file conf$$ 2>/dev/null; then
18400 as_ln_s='ln -s'
18401 # ... but there are two gotchas:
18402 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18403 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18404 # In both cases, we have to default to `cp -pR'.
18405 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18406 as_ln_s='cp -pR'
18407 elif ln conf$$.file conf$$ 2>/dev/null; then
18408 as_ln_s=ln
18409 else
18410 as_ln_s='cp -pR'
18412 else
18413 as_ln_s='cp -pR'
18415 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18416 rmdir conf$$.dir 2>/dev/null
18419 # as_fn_mkdir_p
18420 # -------------
18421 # Create "$as_dir" as a directory, including parents if necessary.
18422 as_fn_mkdir_p ()
18425 case $as_dir in #(
18426 -*) as_dir=./$as_dir;;
18427 esac
18428 test -d "$as_dir" || eval $as_mkdir_p || {
18429 as_dirs=
18430 while :; do
18431 case $as_dir in #(
18432 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18433 *) as_qdir=$as_dir;;
18434 esac
18435 as_dirs="'$as_qdir' $as_dirs"
18436 as_dir=`$as_dirname -- "$as_dir" ||
18437 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18438 X"$as_dir" : 'X\(//\)[^/]' \| \
18439 X"$as_dir" : 'X\(//\)$' \| \
18440 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18441 $as_echo X"$as_dir" |
18442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18443 s//\1/
18446 /^X\(\/\/\)[^/].*/{
18447 s//\1/
18450 /^X\(\/\/\)$/{
18451 s//\1/
18454 /^X\(\/\).*/{
18455 s//\1/
18458 s/.*/./; q'`
18459 test -d "$as_dir" && break
18460 done
18461 test -z "$as_dirs" || eval "mkdir $as_dirs"
18462 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18465 } # as_fn_mkdir_p
18466 if mkdir -p . 2>/dev/null; then
18467 as_mkdir_p='mkdir -p "$as_dir"'
18468 else
18469 test -d ./-p && rmdir ./-p
18470 as_mkdir_p=false
18474 # as_fn_executable_p FILE
18475 # -----------------------
18476 # Test if FILE is an executable regular file.
18477 as_fn_executable_p ()
18479 test -f "$1" && test -x "$1"
18480 } # as_fn_executable_p
18481 as_test_x='test -x'
18482 as_executable_p=as_fn_executable_p
18484 # Sed expression to map a string onto a valid CPP name.
18485 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18487 # Sed expression to map a string onto a valid variable name.
18488 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18491 exec 6>&1
18492 ## ----------------------------------- ##
18493 ## Main body of $CONFIG_STATUS script. ##
18494 ## ----------------------------------- ##
18495 _ASEOF
18496 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18499 # Save the log message, to keep $0 and so on meaningful, and to
18500 # report actual input values of CONFIG_FILES etc. instead of their
18501 # values after options handling.
18502 ac_log="
18503 This file was extended by Wine $as_me 1.7.42, which was
18504 generated by GNU Autoconf 2.69. Invocation command line was
18506 CONFIG_FILES = $CONFIG_FILES
18507 CONFIG_HEADERS = $CONFIG_HEADERS
18508 CONFIG_LINKS = $CONFIG_LINKS
18509 CONFIG_COMMANDS = $CONFIG_COMMANDS
18510 $ $0 $@
18512 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18515 _ACEOF
18517 case $ac_config_files in *"
18518 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18519 esac
18521 case $ac_config_headers in *"
18522 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18523 esac
18526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18527 # Files that config.status was made for.
18528 config_files="$ac_config_files"
18529 config_headers="$ac_config_headers"
18530 config_links="$ac_config_links"
18531 config_commands="$ac_config_commands"
18533 _ACEOF
18535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18536 ac_cs_usage="\
18537 \`$as_me' instantiates files and other configuration actions
18538 from templates according to the current configuration. Unless the files
18539 and actions are specified as TAGs, all are instantiated by default.
18541 Usage: $0 [OPTION]... [TAG]...
18543 -h, --help print this help, then exit
18544 -V, --version print version number and configuration settings, then exit
18545 --config print configuration, then exit
18546 -q, --quiet, --silent
18547 do not print progress messages
18548 -d, --debug don't remove temporary files
18549 --recheck update $as_me by reconfiguring in the same conditions
18550 --file=FILE[:TEMPLATE]
18551 instantiate the configuration file FILE
18552 --header=FILE[:TEMPLATE]
18553 instantiate the configuration header FILE
18555 Configuration files:
18556 $config_files
18558 Configuration headers:
18559 $config_headers
18561 Configuration links:
18562 $config_links
18564 Configuration commands:
18565 $config_commands
18567 Report bugs to <wine-devel@winehq.org>.
18568 Wine home page: <http://www.winehq.org>."
18570 _ACEOF
18571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18572 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18573 ac_cs_version="\\
18574 Wine config.status 1.7.42
18575 configured by $0, generated by GNU Autoconf 2.69,
18576 with options \\"\$ac_cs_config\\"
18578 Copyright (C) 2012 Free Software Foundation, Inc.
18579 This config.status script is free software; the Free Software Foundation
18580 gives unlimited permission to copy, distribute and modify it."
18582 ac_pwd='$ac_pwd'
18583 srcdir='$srcdir'
18584 test -n "\$AWK" || AWK=awk
18585 _ACEOF
18587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18588 # The default lists apply if the user does not specify any file.
18589 ac_need_defaults=:
18590 while test $# != 0
18592 case $1 in
18593 --*=?*)
18594 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18595 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18596 ac_shift=:
18598 --*=)
18599 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18600 ac_optarg=
18601 ac_shift=:
18604 ac_option=$1
18605 ac_optarg=$2
18606 ac_shift=shift
18608 esac
18610 case $ac_option in
18611 # Handling of the options.
18612 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18613 ac_cs_recheck=: ;;
18614 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18615 $as_echo "$ac_cs_version"; exit ;;
18616 --config | --confi | --conf | --con | --co | --c )
18617 $as_echo "$ac_cs_config"; exit ;;
18618 --debug | --debu | --deb | --de | --d | -d )
18619 debug=: ;;
18620 --file | --fil | --fi | --f )
18621 $ac_shift
18622 case $ac_optarg in
18623 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18624 '') as_fn_error $? "missing file argument" ;;
18625 esac
18626 as_fn_append CONFIG_FILES " '$ac_optarg'"
18627 ac_need_defaults=false;;
18628 --header | --heade | --head | --hea )
18629 $ac_shift
18630 case $ac_optarg in
18631 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18632 esac
18633 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18634 ac_need_defaults=false;;
18635 --he | --h)
18636 # Conflict between --help and --header
18637 as_fn_error $? "ambiguous option: \`$1'
18638 Try \`$0 --help' for more information.";;
18639 --help | --hel | -h )
18640 $as_echo "$ac_cs_usage"; exit ;;
18641 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18642 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18643 ac_cs_silent=: ;;
18645 # This is an error.
18646 -*) as_fn_error $? "unrecognized option: \`$1'
18647 Try \`$0 --help' for more information." ;;
18649 *) as_fn_append ac_config_targets " $1"
18650 ac_need_defaults=false ;;
18652 esac
18653 shift
18654 done
18656 ac_configure_extra_args=
18658 if $ac_cs_silent; then
18659 exec 6>/dev/null
18660 ac_configure_extra_args="$ac_configure_extra_args --silent"
18663 _ACEOF
18664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18665 if \$ac_cs_recheck; then
18666 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18667 shift
18668 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18669 CONFIG_SHELL='$SHELL'
18670 export CONFIG_SHELL
18671 exec "\$@"
18674 _ACEOF
18675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18676 exec 5>>config.log
18678 echo
18679 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18680 ## Running $as_me. ##
18681 _ASBOX
18682 $as_echo "$ac_log"
18683 } >&5
18685 _ACEOF
18686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18688 # INIT-COMMANDS
18690 wine_fn_output_makedep ()
18692 as_dir=tools; as_fn_mkdir_p
18693 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18695 wine_fn_output_makefile ()
18697 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18698 `cat $wine_rules_file`
18699 _WINE_EOF
18700 as_fn_error $? "could not create Makefile" "$LINENO" 5
18702 wine_fn_output_gitignore ()
18704 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18705 $GITIGNORE
18706 _WINE_EOF
18707 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18710 _ACEOF
18712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18714 # Handling of arguments.
18715 for ac_config_target in $ac_config_targets
18717 case $ac_config_target in
18718 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18719 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18720 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18721 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18722 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18723 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18724 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18725 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18726 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18727 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18728 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18729 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18730 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18731 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18733 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18734 esac
18735 done
18738 # If the user did not use the arguments to specify the items to instantiate,
18739 # then the envvar interface is used. Set only those that are not.
18740 # We use the long form for the default assignment because of an extremely
18741 # bizarre bug on SunOS 4.1.3.
18742 if $ac_need_defaults; then
18743 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18744 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18745 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18746 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18749 # Have a temporary directory for convenience. Make it in the build tree
18750 # simply because there is no reason against having it here, and in addition,
18751 # creating and moving files from /tmp can sometimes cause problems.
18752 # Hook for its removal unless debugging.
18753 # Note that there is a small window in which the directory will not be cleaned:
18754 # after its creation but before its name has been assigned to `$tmp'.
18755 $debug ||
18757 tmp= ac_tmp=
18758 trap 'exit_status=$?
18759 : "${ac_tmp:=$tmp}"
18760 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18762 trap 'as_fn_exit 1' 1 2 13 15
18764 # Create a (secure) tmp directory for tmp files.
18767 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18768 test -d "$tmp"
18769 } ||
18771 tmp=./conf$$-$RANDOM
18772 (umask 077 && mkdir "$tmp")
18773 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18774 ac_tmp=$tmp
18776 # Set up the scripts for CONFIG_FILES section.
18777 # No need to generate them if there are no CONFIG_FILES.
18778 # This happens for instance with `./config.status config.h'.
18779 if test -n "$CONFIG_FILES"; then
18782 ac_cr=`echo X | tr X '\015'`
18783 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18784 # But we know of no other shell where ac_cr would be empty at this
18785 # point, so we can use a bashism as a fallback.
18786 if test "x$ac_cr" = x; then
18787 eval ac_cr=\$\'\\r\'
18789 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18790 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18791 ac_cs_awk_cr='\\r'
18792 else
18793 ac_cs_awk_cr=$ac_cr
18796 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18797 _ACEOF
18801 echo "cat >conf$$subs.awk <<_ACEOF" &&
18802 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18803 echo "_ACEOF"
18804 } >conf$$subs.sh ||
18805 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18806 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18807 ac_delim='%!_!# '
18808 for ac_last_try in false false false false false :; do
18809 . ./conf$$subs.sh ||
18810 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18812 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18813 if test $ac_delim_n = $ac_delim_num; then
18814 break
18815 elif $ac_last_try; then
18816 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18817 else
18818 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18820 done
18821 rm -f conf$$subs.sh
18823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18824 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18825 _ACEOF
18826 sed -n '
18828 s/^/S["/; s/!.*/"]=/
18831 s/^[^!]*!//
18832 :repl
18833 t repl
18834 s/'"$ac_delim"'$//
18835 t delim
18838 s/\(.\{148\}\)..*/\1/
18839 t more1
18840 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18843 b repl
18844 :more1
18845 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18848 s/.\{148\}//
18849 t nl
18850 :delim
18852 s/\(.\{148\}\)..*/\1/
18853 t more2
18854 s/["\\]/\\&/g; s/^/"/; s/$/"/
18857 :more2
18858 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18861 s/.\{148\}//
18862 t delim
18863 ' <conf$$subs.awk | sed '
18864 /^[^""]/{
18866 s/\n//
18868 ' >>$CONFIG_STATUS || ac_write_fail=1
18869 rm -f conf$$subs.awk
18870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18871 _ACAWK
18872 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18873 for (key in S) S_is_set[key] = 1
18874 FS = "\a"
18878 line = $ 0
18879 nfields = split(line, field, "@")
18880 substed = 0
18881 len = length(field[1])
18882 for (i = 2; i < nfields; i++) {
18883 key = field[i]
18884 keylen = length(key)
18885 if (S_is_set[key]) {
18886 value = S[key]
18887 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18888 len += length(value) + length(field[++i])
18889 substed = 1
18890 } else
18891 len += 1 + keylen
18894 print line
18897 _ACAWK
18898 _ACEOF
18899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18900 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18901 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18902 else
18904 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18905 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18906 _ACEOF
18908 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18909 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18910 # trailing colons and then remove the whole line if VPATH becomes empty
18911 # (actually we leave an empty line to preserve line numbers).
18912 if test "x$srcdir" = x.; then
18913 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18915 s///
18916 s/^/:/
18917 s/[ ]*$/:/
18918 s/:\$(srcdir):/:/g
18919 s/:\${srcdir}:/:/g
18920 s/:@srcdir@:/:/g
18921 s/^:*//
18922 s/:*$//
18924 s/\(=[ ]*\).*/\1/
18926 s/\n//
18927 s/^[^=]*=[ ]*$//
18931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18932 fi # test -n "$CONFIG_FILES"
18934 # Set up the scripts for CONFIG_HEADERS section.
18935 # No need to generate them if there are no CONFIG_HEADERS.
18936 # This happens for instance with `./config.status Makefile'.
18937 if test -n "$CONFIG_HEADERS"; then
18938 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18939 BEGIN {
18940 _ACEOF
18942 # Transform confdefs.h into an awk script `defines.awk', embedded as
18943 # here-document in config.status, that substitutes the proper values into
18944 # config.h.in to produce config.h.
18946 # Create a delimiter string that does not exist in confdefs.h, to ease
18947 # handling of long lines.
18948 ac_delim='%!_!# '
18949 for ac_last_try in false false :; do
18950 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18951 if test -z "$ac_tt"; then
18952 break
18953 elif $ac_last_try; then
18954 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18955 else
18956 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18958 done
18960 # For the awk script, D is an array of macro values keyed by name,
18961 # likewise P contains macro parameters if any. Preserve backslash
18962 # newline sequences.
18964 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18965 sed -n '
18966 s/.\{148\}/&'"$ac_delim"'/g
18967 t rset
18968 :rset
18969 s/^[ ]*#[ ]*define[ ][ ]*/ /
18970 t def
18972 :def
18973 s/\\$//
18974 t bsnl
18975 s/["\\]/\\&/g
18976 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18977 D["\1"]=" \3"/p
18978 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18980 :bsnl
18981 s/["\\]/\\&/g
18982 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18983 D["\1"]=" \3\\\\\\n"\\/p
18984 t cont
18985 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18986 t cont
18988 :cont
18990 s/.\{148\}/&'"$ac_delim"'/g
18991 t clear
18992 :clear
18993 s/\\$//
18994 t bsnlc
18995 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18997 :bsnlc
18998 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18999 b cont
19000 ' <confdefs.h | sed '
19001 s/'"$ac_delim"'/"\\\
19002 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19005 for (key in D) D_is_set[key] = 1
19006 FS = "\a"
19008 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19009 line = \$ 0
19010 split(line, arg, " ")
19011 if (arg[1] == "#") {
19012 defundef = arg[2]
19013 mac1 = arg[3]
19014 } else {
19015 defundef = substr(arg[1], 2)
19016 mac1 = arg[2]
19018 split(mac1, mac2, "(") #)
19019 macro = mac2[1]
19020 prefix = substr(line, 1, index(line, defundef) - 1)
19021 if (D_is_set[macro]) {
19022 # Preserve the white space surrounding the "#".
19023 print prefix "define", macro P[macro] D[macro]
19024 next
19025 } else {
19026 # Replace #undef with comments. This is necessary, for example,
19027 # in the case of _POSIX_SOURCE, which is predefined and required
19028 # on some systems where configure will not decide to define it.
19029 if (defundef == "undef") {
19030 print "/*", prefix defundef, macro, "*/"
19031 next
19035 { print }
19036 _ACAWK
19037 _ACEOF
19038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19039 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19040 fi # test -n "$CONFIG_HEADERS"
19043 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19044 shift
19045 for ac_tag
19047 case $ac_tag in
19048 :[FHLC]) ac_mode=$ac_tag; continue;;
19049 esac
19050 case $ac_mode$ac_tag in
19051 :[FHL]*:*);;
19052 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19053 :[FH]-) ac_tag=-:-;;
19054 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19055 esac
19056 ac_save_IFS=$IFS
19057 IFS=:
19058 set x $ac_tag
19059 IFS=$ac_save_IFS
19060 shift
19061 ac_file=$1
19062 shift
19064 case $ac_mode in
19065 :L) ac_source=$1;;
19066 :[FH])
19067 ac_file_inputs=
19068 for ac_f
19070 case $ac_f in
19071 -) ac_f="$ac_tmp/stdin";;
19072 *) # Look for the file first in the build tree, then in the source tree
19073 # (if the path is not absolute). The absolute path cannot be DOS-style,
19074 # because $ac_f cannot contain `:'.
19075 test -f "$ac_f" ||
19076 case $ac_f in
19077 [\\/$]*) false;;
19078 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19079 esac ||
19080 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19081 esac
19082 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19083 as_fn_append ac_file_inputs " '$ac_f'"
19084 done
19086 # Let's still pretend it is `configure' which instantiates (i.e., don't
19087 # use $as_me), people would be surprised to read:
19088 # /* config.h. Generated by config.status. */
19089 configure_input='Generated from '`
19090 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19091 `' by configure.'
19092 if test x"$ac_file" != x-; then
19093 configure_input="$ac_file. $configure_input"
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19095 $as_echo "$as_me: creating $ac_file" >&6;}
19097 # Neutralize special characters interpreted by sed in replacement strings.
19098 case $configure_input in #(
19099 *\&* | *\|* | *\\* )
19100 ac_sed_conf_input=`$as_echo "$configure_input" |
19101 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19102 *) ac_sed_conf_input=$configure_input;;
19103 esac
19105 case $ac_tag in
19106 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19107 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19108 esac
19110 esac
19112 ac_dir=`$as_dirname -- "$ac_file" ||
19113 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19114 X"$ac_file" : 'X\(//\)[^/]' \| \
19115 X"$ac_file" : 'X\(//\)$' \| \
19116 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19117 $as_echo X"$ac_file" |
19118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19119 s//\1/
19122 /^X\(\/\/\)[^/].*/{
19123 s//\1/
19126 /^X\(\/\/\)$/{
19127 s//\1/
19130 /^X\(\/\).*/{
19131 s//\1/
19134 s/.*/./; q'`
19135 as_dir="$ac_dir"; as_fn_mkdir_p
19136 ac_builddir=.
19138 case "$ac_dir" in
19139 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19141 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19142 # A ".." for each directory in $ac_dir_suffix.
19143 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19144 case $ac_top_builddir_sub in
19145 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19146 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19147 esac ;;
19148 esac
19149 ac_abs_top_builddir=$ac_pwd
19150 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19151 # for backward compatibility:
19152 ac_top_builddir=$ac_top_build_prefix
19154 case $srcdir in
19155 .) # We are building in place.
19156 ac_srcdir=.
19157 ac_top_srcdir=$ac_top_builddir_sub
19158 ac_abs_top_srcdir=$ac_pwd ;;
19159 [\\/]* | ?:[\\/]* ) # Absolute name.
19160 ac_srcdir=$srcdir$ac_dir_suffix;
19161 ac_top_srcdir=$srcdir
19162 ac_abs_top_srcdir=$srcdir ;;
19163 *) # Relative name.
19164 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19165 ac_top_srcdir=$ac_top_build_prefix$srcdir
19166 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19167 esac
19168 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19171 case $ac_mode in
19174 # CONFIG_FILE
19177 _ACEOF
19179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19180 # If the template does not know about datarootdir, expand it.
19181 # FIXME: This hack should be removed a few years after 2.60.
19182 ac_datarootdir_hack=; ac_datarootdir_seen=
19183 ac_sed_dataroot='
19184 /datarootdir/ {
19188 /@datadir@/p
19189 /@docdir@/p
19190 /@infodir@/p
19191 /@localedir@/p
19192 /@mandir@/p'
19193 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19194 *datarootdir*) ac_datarootdir_seen=yes;;
19195 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19197 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19198 _ACEOF
19199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19200 ac_datarootdir_hack='
19201 s&@datadir@&$datadir&g
19202 s&@docdir@&$docdir&g
19203 s&@infodir@&$infodir&g
19204 s&@localedir@&$localedir&g
19205 s&@mandir@&$mandir&g
19206 s&\\\${datarootdir}&$datarootdir&g' ;;
19207 esac
19208 _ACEOF
19210 # Neutralize VPATH when `$srcdir' = `.'.
19211 # Shell code in configure.ac might set extrasub.
19212 # FIXME: do we really want to maintain this feature?
19213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19214 ac_sed_extra="$ac_vpsub
19215 $extrasub
19216 _ACEOF
19217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19219 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19220 s|@configure_input@|$ac_sed_conf_input|;t t
19221 s&@top_builddir@&$ac_top_builddir_sub&;t t
19222 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19223 s&@srcdir@&$ac_srcdir&;t t
19224 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19225 s&@top_srcdir@&$ac_top_srcdir&;t t
19226 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19227 s&@builddir@&$ac_builddir&;t t
19228 s&@abs_builddir@&$ac_abs_builddir&;t t
19229 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19230 $ac_datarootdir_hack
19232 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19233 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19235 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19236 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19237 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19238 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19240 which seems to be undefined. Please make sure it is defined" >&5
19241 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19242 which seems to be undefined. Please make sure it is defined" >&2;}
19244 rm -f "$ac_tmp/stdin"
19245 case $ac_file in
19246 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19247 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19248 esac \
19249 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19253 # CONFIG_HEADER
19255 if test x"$ac_file" != x-; then
19257 $as_echo "/* $configure_input */" \
19258 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19259 } >"$ac_tmp/config.h" \
19260 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19261 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19263 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19264 else
19265 rm -f "$ac_file"
19266 mv "$ac_tmp/config.h" "$ac_file" \
19267 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19269 else
19270 $as_echo "/* $configure_input */" \
19271 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19272 || as_fn_error $? "could not create -" "$LINENO" 5
19277 # CONFIG_LINK
19280 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19282 else
19283 # Prefer the file from the source tree if names are identical.
19284 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19285 ac_source=$srcdir/$ac_source
19288 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19289 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19291 if test ! -r "$ac_source"; then
19292 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19294 rm -f "$ac_file"
19296 # Try a relative symlink, then a hard link, then a copy.
19297 case $ac_source in
19298 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19299 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19300 esac
19301 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19302 ln "$ac_source" "$ac_file" 2>/dev/null ||
19303 cp -p "$ac_source" "$ac_file" ||
19304 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19307 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19308 $as_echo "$as_me: executing $ac_file commands" >&6;}
19310 esac
19313 case $ac_file$ac_mode in
19314 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19315 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19316 "Makefile":C) wine_fn_output_makefile Makefile ;;
19317 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19319 esac
19320 done # for ac_tag
19323 as_fn_exit 0
19324 _ACEOF
19325 ac_clean_files=$ac_clean_files_save
19327 test $ac_write_fail = 0 ||
19328 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19331 # configure is writing to config.log, and then calls config.status.
19332 # config.status does its own redirection, appending to config.log.
19333 # Unfortunately, on DOS this fails, as config.log is still kept open
19334 # by configure, so config.status won't be able to write to it; its
19335 # output is simply discarded. So we exec the FD to /dev/null,
19336 # effectively closing config.log, so it can be properly (re)opened and
19337 # appended to by config.status. When coming back to configure, we
19338 # need to make the FD available again.
19339 if test "$no_create" != yes; then
19340 ac_cs_success=:
19341 ac_config_status_args=
19342 test "$silent" = yes &&
19343 ac_config_status_args="$ac_config_status_args --quiet"
19344 exec 5>/dev/null
19345 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19346 exec 5>>config.log
19347 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19348 # would make configure fail if this is the last instruction.
19349 $ac_cs_success || as_fn_exit 1
19351 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19353 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19357 if test "$no_create" = "yes"
19358 then
19359 exit 0
19362 ac_save_IFS="$IFS"
19363 if test "x$wine_notices != "x; then
19364 echo >&6
19365 IFS="|"
19366 for msg in $wine_notices; do
19367 IFS="$ac_save_IFS"
19368 if ${msg:+false} :; then :
19370 else
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19372 $as_echo "$as_me: $msg" >&6;}
19374 done
19376 IFS="|"
19377 for msg in $wine_warnings; do
19378 IFS="$ac_save_IFS"
19379 if ${msg:+false} :; then :
19381 else
19382 echo >&2
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19384 $as_echo "$as_me: WARNING: $msg" >&2;}
19386 done
19387 IFS="$ac_save_IFS"
19389 $as_echo "
19390 $as_me: Finished. Do '${ac_make}' to compile Wine.
19391 " >&6