api-ms-win-core-memory-l1-1-0: Add stub dll.
[wine.git] / configure
blobdf94011708ff15416fdfa07d11224f95cf7a9642
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_2_0
889 enable_api_ms_win_core_processenvironment_l1_2_0
890 enable_api_ms_win_core_processthreads_l1_1_0
891 enable_api_ms_win_core_processthreads_l1_1_1
892 enable_api_ms_win_core_processthreads_l1_1_2
893 enable_api_ms_win_core_profile_l1_1_0
894 enable_api_ms_win_core_psapi_l1_1_0
895 enable_api_ms_win_core_registry_l1_1_0
896 enable_api_ms_win_core_rtlsupport_l1_2_0
897 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
898 enable_api_ms_win_core_string_l1_1_0
899 enable_api_ms_win_core_synch_l1_2_0
900 enable_api_ms_win_core_sysinfo_l1_2_0
901 enable_api_ms_win_core_sysinfo_l1_2_1
902 enable_api_ms_win_core_threadpool_legacy_l1_1_0
903 enable_api_ms_win_core_timezone_l1_1_0
904 enable_api_ms_win_core_url_l1_1_0
905 enable_api_ms_win_core_util_l1_1_0
906 enable_api_ms_win_core_winrt_error_l1_1_0
907 enable_api_ms_win_core_winrt_error_l1_1_1
908 enable_api_ms_win_core_winrt_l1_1_0
909 enable_api_ms_win_core_winrt_string_l1_1_0
910 enable_api_ms_win_core_xstate_l2_1_0
911 enable_api_ms_win_downlevel_advapi32_l1_1_0
912 enable_api_ms_win_downlevel_advapi32_l2_1_0
913 enable_api_ms_win_downlevel_normaliz_l1_1_0
914 enable_api_ms_win_downlevel_ole32_l1_1_0
915 enable_api_ms_win_downlevel_shell32_l1_1_0
916 enable_api_ms_win_downlevel_shlwapi_l1_1_0
917 enable_api_ms_win_downlevel_shlwapi_l2_1_0
918 enable_api_ms_win_downlevel_user32_l1_1_0
919 enable_api_ms_win_downlevel_version_l1_1_0
920 enable_api_ms_win_eventing_provider_l1_1_0
921 enable_api_ms_win_ntuser_dc_access_l1_1_0
922 enable_api_ms_win_security_base_l1_1_0
923 enable_api_ms_win_security_base_l1_2_0
924 enable_api_ms_win_security_sddl_l1_1_0
925 enable_api_ms_win_service_core_l1_1_1
926 enable_api_ms_win_service_management_l1_1_0
927 enable_api_ms_win_service_winsvc_l1_2_0
928 enable_apphelp
929 enable_appwiz_cpl
930 enable_atl
931 enable_atl100
932 enable_atl110
933 enable_atl80
934 enable_atl90
935 enable_authz
936 enable_avicap32
937 enable_avifil32
938 enable_avrt
939 enable_bcrypt
940 enable_browseui
941 enable_cabinet
942 enable_capi2032
943 enable_cards
944 enable_cfgmgr32
945 enable_clusapi
946 enable_combase
947 enable_comcat
948 enable_comctl32
949 enable_comdlg32
950 enable_compstui
951 enable_comsvcs
952 enable_connect
953 enable_credui
954 enable_crtdll
955 enable_crypt32
956 enable_cryptdlg
957 enable_cryptdll
958 enable_cryptext
959 enable_cryptnet
960 enable_cryptui
961 enable_ctapi32
962 enable_ctl3d32
963 enable_d2d1
964 enable_d3d10
965 enable_d3d10_1
966 enable_d3d10core
967 enable_d3d11
968 enable_d3d8
969 enable_d3d9
970 enable_d3dcompiler_33
971 enable_d3dcompiler_34
972 enable_d3dcompiler_35
973 enable_d3dcompiler_36
974 enable_d3dcompiler_37
975 enable_d3dcompiler_38
976 enable_d3dcompiler_39
977 enable_d3dcompiler_40
978 enable_d3dcompiler_41
979 enable_d3dcompiler_42
980 enable_d3dcompiler_43
981 enable_d3dim
982 enable_d3drm
983 enable_d3dx10_33
984 enable_d3dx10_34
985 enable_d3dx10_35
986 enable_d3dx10_36
987 enable_d3dx10_37
988 enable_d3dx10_38
989 enable_d3dx10_39
990 enable_d3dx10_40
991 enable_d3dx10_41
992 enable_d3dx10_42
993 enable_d3dx10_43
994 enable_d3dx11_42
995 enable_d3dx11_43
996 enable_d3dx9_24
997 enable_d3dx9_25
998 enable_d3dx9_26
999 enable_d3dx9_27
1000 enable_d3dx9_28
1001 enable_d3dx9_29
1002 enable_d3dx9_30
1003 enable_d3dx9_31
1004 enable_d3dx9_32
1005 enable_d3dx9_33
1006 enable_d3dx9_34
1007 enable_d3dx9_35
1008 enable_d3dx9_36
1009 enable_d3dx9_37
1010 enable_d3dx9_38
1011 enable_d3dx9_39
1012 enable_d3dx9_40
1013 enable_d3dx9_41
1014 enable_d3dx9_42
1015 enable_d3dx9_43
1016 enable_d3dxof
1017 enable_dbgeng
1018 enable_dbghelp
1019 enable_dciman32
1020 enable_ddraw
1021 enable_ddrawex
1022 enable_devenum
1023 enable_dhcpcsvc
1024 enable_difxapi
1025 enable_dinput
1026 enable_dinput8
1027 enable_dispex
1028 enable_dmband
1029 enable_dmcompos
1030 enable_dmime
1031 enable_dmloader
1032 enable_dmscript
1033 enable_dmstyle
1034 enable_dmsynth
1035 enable_dmusic
1036 enable_dmusic32
1037 enable_dnsapi
1038 enable_dplay
1039 enable_dplayx
1040 enable_dpnaddr
1041 enable_dpnet
1042 enable_dpnhpast
1043 enable_dpnlobby
1044 enable_dpvoice
1045 enable_dpwsockx
1046 enable_drmclien
1047 enable_dsound
1048 enable_dssenh
1049 enable_dswave
1050 enable_dwmapi
1051 enable_dwrite
1052 enable_dxdiagn
1053 enable_dxgi
1054 enable_dxva2
1055 enable_evr
1056 enable_explorerframe
1057 enable_ext_ms_win_gdi_devcaps_l1_1_0
1058 enable_faultrep
1059 enable_fltlib
1060 enable_fntcache
1061 enable_fontsub
1062 enable_fusion
1063 enable_fwpuclnt
1064 enable_gameux
1065 enable_gdi32
1066 enable_gdiplus
1067 enable_glu32
1068 enable_gphoto2_ds
1069 enable_gpkcsp
1070 enable_hal
1071 enable_hhctrl_ocx
1072 enable_hid
1073 enable_hlink
1074 enable_hnetcfg
1075 enable_httpapi
1076 enable_iccvid
1077 enable_icmp
1078 enable_ieframe
1079 enable_imaadp32_acm
1080 enable_imagehlp
1081 enable_imm32
1082 enable_inetcomm
1083 enable_inetcpl_cpl
1084 enable_inetmib1
1085 enable_infosoft
1086 enable_initpki
1087 enable_inkobj
1088 enable_inseng
1089 enable_iphlpapi
1090 enable_itircl
1091 enable_itss
1092 enable_joy_cpl
1093 enable_jscript
1094 enable_jsproxy
1095 enable_kernel32
1096 enable_ksuser
1097 enable_ktmw32
1098 enable_loadperf
1099 enable_localspl
1100 enable_localui
1101 enable_lz32
1102 enable_mapi32
1103 enable_mapistub
1104 enable_mciavi32
1105 enable_mcicda
1106 enable_mciqtz32
1107 enable_mciseq
1108 enable_mciwave
1109 enable_mf
1110 enable_mfplat
1111 enable_mfreadwrite
1112 enable_mgmtapi
1113 enable_midimap
1114 enable_mlang
1115 enable_mmcndmgr
1116 enable_mmdevapi
1117 enable_mountmgr_sys
1118 enable_mpr
1119 enable_mprapi
1120 enable_msacm32_drv
1121 enable_msacm32
1122 enable_msadp32_acm
1123 enable_msasn1
1124 enable_mscat32
1125 enable_mscms
1126 enable_mscoree
1127 enable_msctf
1128 enable_msdaps
1129 enable_msdmo
1130 enable_msftedit
1131 enable_msg711_acm
1132 enable_msgsm32_acm
1133 enable_mshtml_tlb
1134 enable_mshtml
1135 enable_msi
1136 enable_msident
1137 enable_msimg32
1138 enable_msimsg
1139 enable_msimtf
1140 enable_msisip
1141 enable_msisys_ocx
1142 enable_msls31
1143 enable_msnet32
1144 enable_mspatcha
1145 enable_msrle32
1146 enable_mssign32
1147 enable_mssip32
1148 enable_mstask
1149 enable_msvcirt
1150 enable_msvcm80
1151 enable_msvcm90
1152 enable_msvcp100
1153 enable_msvcp110
1154 enable_msvcp120
1155 enable_msvcp120_app
1156 enable_msvcp60
1157 enable_msvcp70
1158 enable_msvcp71
1159 enable_msvcp80
1160 enable_msvcp90
1161 enable_msvcr100
1162 enable_msvcr110
1163 enable_msvcr120
1164 enable_msvcr120_app
1165 enable_msvcr70
1166 enable_msvcr71
1167 enable_msvcr80
1168 enable_msvcr90
1169 enable_msvcrt
1170 enable_msvcrt20
1171 enable_msvcrt40
1172 enable_msvcrtd
1173 enable_msvfw32
1174 enable_msvidc32
1175 enable_mswsock
1176 enable_msxml
1177 enable_msxml2
1178 enable_msxml3
1179 enable_msxml4
1180 enable_msxml6
1181 enable_nddeapi
1182 enable_ndis_sys
1183 enable_netapi32
1184 enable_netcfgx
1185 enable_netprofm
1186 enable_newdev
1187 enable_normaliz
1188 enable_npmshtml
1189 enable_npptools
1190 enable_ntdll
1191 enable_ntdsapi
1192 enable_ntoskrnl_exe
1193 enable_ntprint
1194 enable_objsel
1195 enable_odbc32
1196 enable_odbccp32
1197 enable_odbccu32
1198 enable_ole32
1199 enable_oleacc
1200 enable_oleaut32
1201 enable_olecli32
1202 enable_oledb32
1203 enable_oledlg
1204 enable_olepro32
1205 enable_olesvr32
1206 enable_olethk32
1207 enable_openal32
1208 enable_opencl
1209 enable_opengl32
1210 enable_packager
1211 enable_pdh
1212 enable_photometadatahandler
1213 enable_pidgen
1214 enable_powrprof
1215 enable_printui
1216 enable_prntvpt
1217 enable_propsys
1218 enable_psapi
1219 enable_pstorec
1220 enable_qcap
1221 enable_qedit
1222 enable_qmgr
1223 enable_qmgrprxy
1224 enable_quartz
1225 enable_query
1226 enable_rasapi32
1227 enable_rasdlg
1228 enable_regapi
1229 enable_resutils
1230 enable_riched20
1231 enable_riched32
1232 enable_rpcrt4
1233 enable_rsabase
1234 enable_rsaenh
1235 enable_rstrtmgr
1236 enable_rtutils
1237 enable_samlib
1238 enable_sane_ds
1239 enable_scarddlg
1240 enable_sccbase
1241 enable_schannel
1242 enable_schedsvc
1243 enable_scrrun
1244 enable_scsiport_sys
1245 enable_secur32
1246 enable_security
1247 enable_sensapi
1248 enable_serialui
1249 enable_setupapi
1250 enable_sfc
1251 enable_sfc_os
1252 enable_shdoclc
1253 enable_shdocvw
1254 enable_shell32
1255 enable_shfolder
1256 enable_shlwapi
1257 enable_slbcsp
1258 enable_slc
1259 enable_snmpapi
1260 enable_softpub
1261 enable_spoolss
1262 enable_stdole2_tlb
1263 enable_stdole32_tlb
1264 enable_sti
1265 enable_svrapi
1266 enable_sxs
1267 enable_t2embed
1268 enable_tapi32
1269 enable_taskschd
1270 enable_traffic
1271 enable_twain_32
1272 enable_unicows
1273 enable_updspapi
1274 enable_url
1275 enable_urlmon
1276 enable_usbd_sys
1277 enable_user32
1278 enable_userenv
1279 enable_usp10
1280 enable_uxtheme
1281 enable_vbscript
1282 enable_vcomp
1283 enable_vcomp100
1284 enable_vcomp90
1285 enable_vdmdbg
1286 enable_version
1287 enable_vssapi
1288 enable_wbemdisp
1289 enable_wbemprox
1290 enable_webservices
1291 enable_wer
1292 enable_wevtapi
1293 enable_wiaservc
1294 enable_windowscodecs
1295 enable_windowscodecsext
1296 enable_winealsa_drv
1297 enable_winecoreaudio_drv
1298 enable_wined3d
1299 enable_winegstreamer
1300 enable_winejoystick_drv
1301 enable_winemac_drv
1302 enable_winemapi
1303 enable_winemp3_acm
1304 enable_wineoss_drv
1305 enable_wineps_drv
1306 enable_wineqtdecoder
1307 enable_winex11_drv
1308 enable_wing32
1309 enable_winhttp
1310 enable_wininet
1311 enable_winmm
1312 enable_winnls32
1313 enable_winscard
1314 enable_winspool_drv
1315 enable_winsta
1316 enable_wintab32
1317 enable_wintrust
1318 enable_wlanapi
1319 enable_wldap32
1320 enable_wmi
1321 enable_wmiutils
1322 enable_wmp
1323 enable_wmvcore
1324 enable_wnaspi32
1325 enable_wpcap
1326 enable_ws2_32
1327 enable_wshom_ocx
1328 enable_wsnmp32
1329 enable_wsock32
1330 enable_wtsapi32
1331 enable_wuapi
1332 enable_wuaueng
1333 enable_x3daudio1_1
1334 enable_x3daudio1_2
1335 enable_x3daudio1_3
1336 enable_x3daudio1_4
1337 enable_x3daudio1_5
1338 enable_x3daudio1_6
1339 enable_x3daudio1_7
1340 enable_xapofx1_1
1341 enable_xapofx1_3
1342 enable_xapofx1_4
1343 enable_xapofx1_5
1344 enable_xaudio2_7
1345 enable_xinput1_1
1346 enable_xinput1_2
1347 enable_xinput1_3
1348 enable_xinput1_4
1349 enable_xinput9_1_0
1350 enable_xmllite
1351 enable_xolehlp
1352 enable_xpsprint
1353 enable_xpssvcs
1354 enable_documentation
1355 enable_fonts
1356 enable_include
1357 enable_libs_port
1358 enable_libs_wine
1359 enable_libs_wpp
1360 enable_loader
1361 enable_arp
1362 enable_aspnet_regiis
1363 enable_attrib
1364 enable_cabarc
1365 enable_cacls
1366 enable_clock
1367 enable_cmd
1368 enable_conhost
1369 enable_control
1370 enable_cscript
1371 enable_dpnsvr
1372 enable_dxdiag
1373 enable_eject
1374 enable_expand
1375 enable_explorer
1376 enable_extrac32
1377 enable_findstr
1378 enable_hh
1379 enable_hostname
1380 enable_icinfo
1381 enable_iexplore
1382 enable_ipconfig
1383 enable_lodctr
1384 enable_mofcomp
1385 enable_mshta
1386 enable_msiexec
1387 enable_net
1388 enable_netsh
1389 enable_netstat
1390 enable_ngen
1391 enable_notepad
1392 enable_oleview
1393 enable_ping
1394 enable_plugplay
1395 enable_presentationfontcache
1396 enable_progman
1397 enable_reg
1398 enable_regasm
1399 enable_regedit
1400 enable_regsvcs
1401 enable_regsvr32
1402 enable_rpcss
1403 enable_rundll32
1404 enable_sc
1405 enable_schtasks
1406 enable_sdbinst
1407 enable_secedit
1408 enable_servicemodelreg
1409 enable_services
1410 enable_spoolsv
1411 enable_start
1412 enable_svchost
1413 enable_systeminfo
1414 enable_taskkill
1415 enable_tasklist
1416 enable_taskmgr
1417 enable_termsv
1418 enable_uninstaller
1419 enable_unlodctr
1420 enable_view
1421 enable_wevtutil
1422 enable_wineboot
1423 enable_winebrowser
1424 enable_winecfg
1425 enable_wineconsole
1426 enable_winedbg
1427 enable_winedevice
1428 enable_winefile
1429 enable_winemenubuilder
1430 enable_winemine
1431 enable_winemsibuilder
1432 enable_winepath
1433 enable_winetest
1434 enable_winhlp32
1435 enable_winver
1436 enable_wmic
1437 enable_wordpad
1438 enable_write
1439 enable_wscript
1440 enable_wusa
1441 enable_xcopy
1442 enable_server
1443 enable_tools
1445 ac_precious_vars='build_alias
1446 host_alias
1447 target_alias
1449 CFLAGS
1450 LDFLAGS
1451 LIBS
1452 CPPFLAGS
1454 CXXFLAGS
1457 XMKMF
1458 XML2_CFLAGS
1459 XML2_LIBS
1460 XSLT_CFLAGS
1461 XSLT_LIBS
1462 DBUS_CFLAGS
1463 DBUS_LIBS
1464 HAL_CFLAGS
1465 HAL_LIBS
1466 GNUTLS_CFLAGS
1467 GNUTLS_LIBS
1468 SANE_CFLAGS
1469 SANE_LIBS
1470 GPHOTO2_CFLAGS
1471 GPHOTO2_LIBS
1472 GPHOTO2_PORT_CFLAGS
1473 GPHOTO2_PORT_LIBS
1474 LCMS2_CFLAGS
1475 LCMS2_LIBS
1476 FREETYPE_CFLAGS
1477 FREETYPE_LIBS
1478 GSTREAMER_CFLAGS
1479 GSTREAMER_LIBS
1480 CAPI20_CFLAGS
1481 CAPI20_LIBS
1482 FONTCONFIG_CFLAGS
1483 FONTCONFIG_LIBS
1484 JPEG_CFLAGS
1485 JPEG_LIBS
1486 PNG_CFLAGS
1487 PNG_LIBS
1488 TIFF_CFLAGS
1489 TIFF_LIBS
1490 MPG123_CFLAGS
1491 MPG123_LIBS'
1494 # Initialize some variables set by options.
1495 ac_init_help=
1496 ac_init_version=false
1497 ac_unrecognized_opts=
1498 ac_unrecognized_sep=
1499 # The variables have the same names as the options, with
1500 # dashes changed to underlines.
1501 cache_file=/dev/null
1502 exec_prefix=NONE
1503 no_create=
1504 no_recursion=
1505 prefix=NONE
1506 program_prefix=NONE
1507 program_suffix=NONE
1508 program_transform_name=s,x,x,
1509 silent=
1510 site=
1511 srcdir=
1512 verbose=
1513 x_includes=NONE
1514 x_libraries=NONE
1516 # Installation directory options.
1517 # These are left unexpanded so users can "make install exec_prefix=/foo"
1518 # and all the variables that are supposed to be based on exec_prefix
1519 # by default will actually change.
1520 # Use braces instead of parens because sh, perl, etc. also accept them.
1521 # (The list follows the same order as the GNU Coding Standards.)
1522 bindir='${exec_prefix}/bin'
1523 sbindir='${exec_prefix}/sbin'
1524 libexecdir='${exec_prefix}/libexec'
1525 datarootdir='${prefix}/share'
1526 datadir='${datarootdir}'
1527 sysconfdir='${prefix}/etc'
1528 sharedstatedir='${prefix}/com'
1529 localstatedir='${prefix}/var'
1530 includedir='${prefix}/include'
1531 oldincludedir='/usr/include'
1532 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1533 infodir='${datarootdir}/info'
1534 htmldir='${docdir}'
1535 dvidir='${docdir}'
1536 pdfdir='${docdir}'
1537 psdir='${docdir}'
1538 libdir='${exec_prefix}/lib'
1539 localedir='${datarootdir}/locale'
1540 mandir='${datarootdir}/man'
1542 ac_prev=
1543 ac_dashdash=
1544 for ac_option
1546 # If the previous option needs an argument, assign it.
1547 if test -n "$ac_prev"; then
1548 eval $ac_prev=\$ac_option
1549 ac_prev=
1550 continue
1553 case $ac_option in
1554 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1555 *=) ac_optarg= ;;
1556 *) ac_optarg=yes ;;
1557 esac
1559 # Accept the important Cygnus configure options, so we can diagnose typos.
1561 case $ac_dashdash$ac_option in
1563 ac_dashdash=yes ;;
1565 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1566 ac_prev=bindir ;;
1567 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1568 bindir=$ac_optarg ;;
1570 -build | --build | --buil | --bui | --bu)
1571 ac_prev=build_alias ;;
1572 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1573 build_alias=$ac_optarg ;;
1575 -cache-file | --cache-file | --cache-fil | --cache-fi \
1576 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1577 ac_prev=cache_file ;;
1578 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1579 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1580 cache_file=$ac_optarg ;;
1582 --config-cache | -C)
1583 cache_file=config.cache ;;
1585 -datadir | --datadir | --datadi | --datad)
1586 ac_prev=datadir ;;
1587 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1588 datadir=$ac_optarg ;;
1590 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1591 | --dataroo | --dataro | --datar)
1592 ac_prev=datarootdir ;;
1593 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1594 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1595 datarootdir=$ac_optarg ;;
1597 -disable-* | --disable-*)
1598 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1599 # Reject names that are not valid shell variable names.
1600 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1601 as_fn_error $? "invalid feature name: $ac_useropt"
1602 ac_useropt_orig=$ac_useropt
1603 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1604 case $ac_user_opts in
1606 "enable_$ac_useropt"
1607 "*) ;;
1608 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1609 ac_unrecognized_sep=', ';;
1610 esac
1611 eval enable_$ac_useropt=no ;;
1613 -docdir | --docdir | --docdi | --doc | --do)
1614 ac_prev=docdir ;;
1615 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1616 docdir=$ac_optarg ;;
1618 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1619 ac_prev=dvidir ;;
1620 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1621 dvidir=$ac_optarg ;;
1623 -enable-* | --enable-*)
1624 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1625 # Reject names that are not valid shell variable names.
1626 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1627 as_fn_error $? "invalid feature name: $ac_useropt"
1628 ac_useropt_orig=$ac_useropt
1629 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1630 case $ac_user_opts in
1632 "enable_$ac_useropt"
1633 "*) ;;
1634 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1635 ac_unrecognized_sep=', ';;
1636 esac
1637 eval enable_$ac_useropt=\$ac_optarg ;;
1639 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1640 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1641 | --exec | --exe | --ex)
1642 ac_prev=exec_prefix ;;
1643 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1644 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1645 | --exec=* | --exe=* | --ex=*)
1646 exec_prefix=$ac_optarg ;;
1648 -gas | --gas | --ga | --g)
1649 # Obsolete; use --with-gas.
1650 with_gas=yes ;;
1652 -help | --help | --hel | --he | -h)
1653 ac_init_help=long ;;
1654 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1655 ac_init_help=recursive ;;
1656 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1657 ac_init_help=short ;;
1659 -host | --host | --hos | --ho)
1660 ac_prev=host_alias ;;
1661 -host=* | --host=* | --hos=* | --ho=*)
1662 host_alias=$ac_optarg ;;
1664 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1665 ac_prev=htmldir ;;
1666 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1667 | --ht=*)
1668 htmldir=$ac_optarg ;;
1670 -includedir | --includedir | --includedi | --included | --include \
1671 | --includ | --inclu | --incl | --inc)
1672 ac_prev=includedir ;;
1673 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1674 | --includ=* | --inclu=* | --incl=* | --inc=*)
1675 includedir=$ac_optarg ;;
1677 -infodir | --infodir | --infodi | --infod | --info | --inf)
1678 ac_prev=infodir ;;
1679 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1680 infodir=$ac_optarg ;;
1682 -libdir | --libdir | --libdi | --libd)
1683 ac_prev=libdir ;;
1684 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1685 libdir=$ac_optarg ;;
1687 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1688 | --libexe | --libex | --libe)
1689 ac_prev=libexecdir ;;
1690 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1691 | --libexe=* | --libex=* | --libe=*)
1692 libexecdir=$ac_optarg ;;
1694 -localedir | --localedir | --localedi | --localed | --locale)
1695 ac_prev=localedir ;;
1696 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1697 localedir=$ac_optarg ;;
1699 -localstatedir | --localstatedir | --localstatedi | --localstated \
1700 | --localstate | --localstat | --localsta | --localst | --locals)
1701 ac_prev=localstatedir ;;
1702 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1703 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1704 localstatedir=$ac_optarg ;;
1706 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1707 ac_prev=mandir ;;
1708 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1709 mandir=$ac_optarg ;;
1711 -nfp | --nfp | --nf)
1712 # Obsolete; use --without-fp.
1713 with_fp=no ;;
1715 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1716 | --no-cr | --no-c | -n)
1717 no_create=yes ;;
1719 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1720 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1721 no_recursion=yes ;;
1723 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1724 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1725 | --oldin | --oldi | --old | --ol | --o)
1726 ac_prev=oldincludedir ;;
1727 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1728 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1729 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1730 oldincludedir=$ac_optarg ;;
1732 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1733 ac_prev=prefix ;;
1734 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1735 prefix=$ac_optarg ;;
1737 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1738 | --program-pre | --program-pr | --program-p)
1739 ac_prev=program_prefix ;;
1740 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1741 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1742 program_prefix=$ac_optarg ;;
1744 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1745 | --program-suf | --program-su | --program-s)
1746 ac_prev=program_suffix ;;
1747 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1748 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1749 program_suffix=$ac_optarg ;;
1751 -program-transform-name | --program-transform-name \
1752 | --program-transform-nam | --program-transform-na \
1753 | --program-transform-n | --program-transform- \
1754 | --program-transform | --program-transfor \
1755 | --program-transfo | --program-transf \
1756 | --program-trans | --program-tran \
1757 | --progr-tra | --program-tr | --program-t)
1758 ac_prev=program_transform_name ;;
1759 -program-transform-name=* | --program-transform-name=* \
1760 | --program-transform-nam=* | --program-transform-na=* \
1761 | --program-transform-n=* | --program-transform-=* \
1762 | --program-transform=* | --program-transfor=* \
1763 | --program-transfo=* | --program-transf=* \
1764 | --program-trans=* | --program-tran=* \
1765 | --progr-tra=* | --program-tr=* | --program-t=*)
1766 program_transform_name=$ac_optarg ;;
1768 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1769 ac_prev=pdfdir ;;
1770 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1771 pdfdir=$ac_optarg ;;
1773 -psdir | --psdir | --psdi | --psd | --ps)
1774 ac_prev=psdir ;;
1775 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1776 psdir=$ac_optarg ;;
1778 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1779 | -silent | --silent | --silen | --sile | --sil)
1780 silent=yes ;;
1782 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1783 ac_prev=sbindir ;;
1784 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1785 | --sbi=* | --sb=*)
1786 sbindir=$ac_optarg ;;
1788 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1789 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1790 | --sharedst | --shareds | --shared | --share | --shar \
1791 | --sha | --sh)
1792 ac_prev=sharedstatedir ;;
1793 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1794 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1795 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1796 | --sha=* | --sh=*)
1797 sharedstatedir=$ac_optarg ;;
1799 -site | --site | --sit)
1800 ac_prev=site ;;
1801 -site=* | --site=* | --sit=*)
1802 site=$ac_optarg ;;
1804 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1805 ac_prev=srcdir ;;
1806 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1807 srcdir=$ac_optarg ;;
1809 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1810 | --syscon | --sysco | --sysc | --sys | --sy)
1811 ac_prev=sysconfdir ;;
1812 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1813 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1814 sysconfdir=$ac_optarg ;;
1816 -target | --target | --targe | --targ | --tar | --ta | --t)
1817 ac_prev=target_alias ;;
1818 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1819 target_alias=$ac_optarg ;;
1821 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1822 verbose=yes ;;
1824 -version | --version | --versio | --versi | --vers | -V)
1825 ac_init_version=: ;;
1827 -with-* | --with-*)
1828 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1829 # Reject names that are not valid shell variable names.
1830 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1831 as_fn_error $? "invalid package name: $ac_useropt"
1832 ac_useropt_orig=$ac_useropt
1833 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1834 case $ac_user_opts in
1836 "with_$ac_useropt"
1837 "*) ;;
1838 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1839 ac_unrecognized_sep=', ';;
1840 esac
1841 eval with_$ac_useropt=\$ac_optarg ;;
1843 -without-* | --without-*)
1844 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1845 # Reject names that are not valid shell variable names.
1846 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1847 as_fn_error $? "invalid package name: $ac_useropt"
1848 ac_useropt_orig=$ac_useropt
1849 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1850 case $ac_user_opts in
1852 "with_$ac_useropt"
1853 "*) ;;
1854 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1855 ac_unrecognized_sep=', ';;
1856 esac
1857 eval with_$ac_useropt=no ;;
1859 --x)
1860 # Obsolete; use --with-x.
1861 with_x=yes ;;
1863 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1864 | --x-incl | --x-inc | --x-in | --x-i)
1865 ac_prev=x_includes ;;
1866 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1867 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1868 x_includes=$ac_optarg ;;
1870 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1871 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1872 ac_prev=x_libraries ;;
1873 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1874 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1875 x_libraries=$ac_optarg ;;
1877 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1878 Try \`$0 --help' for more information"
1881 *=*)
1882 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1883 # Reject names that are not valid shell variable names.
1884 case $ac_envvar in #(
1885 '' | [0-9]* | *[!_$as_cr_alnum]* )
1886 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1887 esac
1888 eval $ac_envvar=\$ac_optarg
1889 export $ac_envvar ;;
1892 # FIXME: should be removed in autoconf 3.0.
1893 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1894 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1895 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1896 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1899 esac
1900 done
1902 if test -n "$ac_prev"; then
1903 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1904 as_fn_error $? "missing argument to $ac_option"
1907 if test -n "$ac_unrecognized_opts"; then
1908 case $enable_option_checking in
1909 no) ;;
1910 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1911 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1912 esac
1915 # Check all directory arguments for consistency.
1916 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1917 datadir sysconfdir sharedstatedir localstatedir includedir \
1918 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1919 libdir localedir mandir
1921 eval ac_val=\$$ac_var
1922 # Remove trailing slashes.
1923 case $ac_val in
1924 */ )
1925 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1926 eval $ac_var=\$ac_val;;
1927 esac
1928 # Be sure to have absolute directory names.
1929 case $ac_val in
1930 [\\/$]* | ?:[\\/]* ) continue;;
1931 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1932 esac
1933 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1934 done
1936 # There might be people who depend on the old broken behavior: `$host'
1937 # used to hold the argument of --host etc.
1938 # FIXME: To remove some day.
1939 build=$build_alias
1940 host=$host_alias
1941 target=$target_alias
1943 # FIXME: To remove some day.
1944 if test "x$host_alias" != x; then
1945 if test "x$build_alias" = x; then
1946 cross_compiling=maybe
1947 elif test "x$build_alias" != "x$host_alias"; then
1948 cross_compiling=yes
1952 ac_tool_prefix=
1953 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1955 test "$silent" = yes && exec 6>/dev/null
1958 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1959 ac_ls_di=`ls -di .` &&
1960 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1961 as_fn_error $? "working directory cannot be determined"
1962 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1963 as_fn_error $? "pwd does not report name of working directory"
1966 # Find the source files, if location was not specified.
1967 if test -z "$srcdir"; then
1968 ac_srcdir_defaulted=yes
1969 # Try the directory containing this script, then the parent directory.
1970 ac_confdir=`$as_dirname -- "$as_myself" ||
1971 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1972 X"$as_myself" : 'X\(//\)[^/]' \| \
1973 X"$as_myself" : 'X\(//\)$' \| \
1974 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1975 $as_echo X"$as_myself" |
1976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1977 s//\1/
1980 /^X\(\/\/\)[^/].*/{
1981 s//\1/
1984 /^X\(\/\/\)$/{
1985 s//\1/
1988 /^X\(\/\).*/{
1989 s//\1/
1992 s/.*/./; q'`
1993 srcdir=$ac_confdir
1994 if test ! -r "$srcdir/$ac_unique_file"; then
1995 srcdir=..
1997 else
1998 ac_srcdir_defaulted=no
2000 if test ! -r "$srcdir/$ac_unique_file"; then
2001 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2002 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2004 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2005 ac_abs_confdir=`(
2006 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2007 pwd)`
2008 # When building in place, set srcdir=.
2009 if test "$ac_abs_confdir" = "$ac_pwd"; then
2010 srcdir=.
2012 # Remove unnecessary trailing slashes from srcdir.
2013 # Double slashes in file names in object file debugging info
2014 # mess up M-x gdb in Emacs.
2015 case $srcdir in
2016 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2017 esac
2018 for ac_var in $ac_precious_vars; do
2019 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2020 eval ac_env_${ac_var}_value=\$${ac_var}
2021 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2022 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2023 done
2026 # Report the --help message.
2028 if test "$ac_init_help" = "long"; then
2029 # Omit some internal or obsolete options to make the list less imposing.
2030 # This message is too long to be a string in the A/UX 3.1 sh.
2031 cat <<_ACEOF
2032 \`configure' configures Wine 1.7.42 to adapt to many kinds of systems.
2034 Usage: $0 [OPTION]... [VAR=VALUE]...
2036 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2037 VAR=VALUE. See below for descriptions of some of the useful variables.
2039 Defaults for the options are specified in brackets.
2041 Configuration:
2042 -h, --help display this help and exit
2043 --help=short display options specific to this package
2044 --help=recursive display the short help of all the included packages
2045 -V, --version display version information and exit
2046 -q, --quiet, --silent do not print \`checking ...' messages
2047 --cache-file=FILE cache test results in FILE [disabled]
2048 -C, --config-cache alias for \`--cache-file=config.cache'
2049 -n, --no-create do not create output files
2050 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2052 Installation directories:
2053 --prefix=PREFIX install architecture-independent files in PREFIX
2054 [$ac_default_prefix]
2055 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2056 [PREFIX]
2058 By default, \`make install' will install all the files in
2059 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2060 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2061 for instance \`--prefix=\$HOME'.
2063 For better control, use the options below.
2065 Fine tuning of the installation directories:
2066 --bindir=DIR user executables [EPREFIX/bin]
2067 --sbindir=DIR system admin executables [EPREFIX/sbin]
2068 --libexecdir=DIR program executables [EPREFIX/libexec]
2069 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2070 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2071 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2072 --libdir=DIR object code libraries [EPREFIX/lib]
2073 --includedir=DIR C header files [PREFIX/include]
2074 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2075 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2076 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2077 --infodir=DIR info documentation [DATAROOTDIR/info]
2078 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2079 --mandir=DIR man documentation [DATAROOTDIR/man]
2080 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2081 --htmldir=DIR html documentation [DOCDIR]
2082 --dvidir=DIR dvi documentation [DOCDIR]
2083 --pdfdir=DIR pdf documentation [DOCDIR]
2084 --psdir=DIR ps documentation [DOCDIR]
2085 _ACEOF
2087 cat <<\_ACEOF
2089 X features:
2090 --x-includes=DIR X include files are in DIR
2091 --x-libraries=DIR X library files are in DIR
2093 System types:
2094 --build=BUILD configure for building on BUILD [guessed]
2095 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2096 _ACEOF
2099 if test -n "$ac_init_help"; then
2100 case $ac_init_help in
2101 short | recursive ) echo "Configuration of Wine 1.7.42:";;
2102 esac
2103 cat <<\_ACEOF
2105 Optional Features:
2106 --disable-option-checking ignore unrecognized --enable/--with options
2107 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2108 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2109 --disable-win16 do not include Win16 support
2110 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2111 binaries)
2112 --disable-tests do not build the regression tests
2113 --enable-maintainer-mode
2114 enable maintainer-specific build rules
2115 --disable-largefile omit support for large files
2117 Optional Packages:
2118 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2119 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2120 --without-alsa do not use the Alsa sound support
2121 --without-capi do not use CAPI (ISDN support)
2122 --without-cms do not use CMS (color management support)
2123 --without-coreaudio do not use the CoreAudio sound support
2124 --without-cups do not use CUPS
2125 --without-curses do not use (n)curses
2126 --without-dbus do not use DBus (dynamic device support)
2127 --without-fontconfig do not use fontconfig
2128 --without-freetype do not use the FreeType library
2129 --without-gettext do not use gettext
2130 --with-gettextpo use the GetTextPO library to rebuild po files
2131 --without-gphoto do not use gphoto (Digital Camera support)
2132 --without-glu do not use the GLU library
2133 --without-gnutls do not use GnuTLS (schannel support)
2134 --without-gsm do not use libgsm (GSM 06.10 codec support)
2135 --without-gstreamer do not use GStreamer (codecs support)
2136 --without-hal do not use HAL (dynamic device support)
2137 --without-jpeg do not use JPEG
2138 --without-ldap do not use LDAP
2139 --without-mpg123 do not use the mpg123 library
2140 --without-netapi do not use the Samba NetAPI library
2141 --without-openal do not use OpenAL
2142 --without-opencl do not use OpenCL
2143 --without-opengl do not use OpenGL
2144 --without-osmesa do not use the OSMesa library
2145 --without-oss do not use the OSS sound support
2146 --without-pcap do not use the Packet Capture library
2147 --without-png do not use PNG
2148 --without-pthread do not use the pthread library
2149 --without-sane do not use SANE (scanner support)
2150 --without-tiff do not use TIFF
2151 --without-v4l do not use v4l1 (v4l support)
2152 --without-xcomposite do not use the Xcomposite extension
2153 --without-xcursor do not use the Xcursor extension
2154 --without-xinerama do not use Xinerama (multi-monitor support)
2155 --without-xinput do not use the Xinput extension
2156 --without-xinput2 do not use the Xinput 2 extension
2157 --without-xml do not use XML
2158 --without-xrandr do not use Xrandr (resolution changes)
2159 --without-xrender do not use the Xrender extension
2160 --without-xshape do not use the Xshape extension
2161 --without-xshm do not use XShm (shared memory extension)
2162 --without-xslt do not use XSLT
2163 --without-xxf86vm do not use XFree video mode extension
2164 --without-zlib do not use Zlib (data compression)
2165 --with-wine-tools=DIR use Wine tools from directory DIR
2166 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2167 --with-x use the X Window System
2169 Some influential environment variables:
2170 CC C compiler command
2171 CFLAGS C compiler flags
2172 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2173 nonstandard directory <lib dir>
2174 LIBS libraries to pass to the linker, e.g. -l<library>
2175 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2176 you have headers in a nonstandard directory <include dir>
2177 CXX C++ compiler command
2178 CXXFLAGS C++ compiler flags
2179 CPP C preprocessor
2180 XMKMF Path to xmkmf, Makefile generator for X Window System
2181 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2182 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2183 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2184 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2185 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2186 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2187 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2188 HAL_LIBS Linker flags for hal, overriding pkg-config
2189 GNUTLS_CFLAGS
2190 C compiler flags for gnutls, overriding pkg-config
2191 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2192 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2193 SANE_LIBS Linker flags for libsane, overriding pkg-config
2194 GPHOTO2_CFLAGS
2195 C compiler flags for libgphoto2, overriding pkg-config
2196 GPHOTO2_LIBS
2197 Linker flags for libgphoto2, overriding pkg-config
2198 GPHOTO2_PORT_CFLAGS
2199 C compiler flags for libgphoto2_port, overriding pkg-config
2200 GPHOTO2_PORT_LIBS
2201 Linker flags for libgphoto2_port, overriding pkg-config
2202 LCMS2_CFLAGS
2203 C compiler flags for lcms2, overriding pkg-config
2204 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2205 FREETYPE_CFLAGS
2206 C compiler flags for freetype2, overriding pkg-config
2207 FREETYPE_LIBS
2208 Linker flags for freetype2, overriding pkg-config
2209 GSTREAMER_CFLAGS
2210 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2211 GSTREAMER_LIBS
2212 Linker flags for gstreamer-app-0.10, overriding pkg-config
2213 CAPI20_CFLAGS
2214 C compiler flags for capi20, overriding pkg-config
2215 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2216 FONTCONFIG_CFLAGS
2217 C compiler flags for fontconfig, overriding pkg-config
2218 FONTCONFIG_LIBS
2219 Linker flags for fontconfig, overriding pkg-config
2220 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2221 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2222 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2223 PNG_LIBS Linker flags for libpng, overriding pkg-config
2224 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2225 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2226 MPG123_CFLAGS
2227 C compiler flags for libmpg123, overriding pkg-config
2228 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2230 Use these variables to override the choices made by `configure' or to help
2231 it to find libraries and programs with nonstandard names/locations.
2233 Report bugs to <wine-devel@winehq.org>.
2234 Wine home page: <http://www.winehq.org>.
2235 _ACEOF
2236 ac_status=$?
2239 if test "$ac_init_help" = "recursive"; then
2240 # If there are subdirs, report their specific --help.
2241 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2242 test -d "$ac_dir" ||
2243 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2244 continue
2245 ac_builddir=.
2247 case "$ac_dir" in
2248 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2250 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2251 # A ".." for each directory in $ac_dir_suffix.
2252 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2253 case $ac_top_builddir_sub in
2254 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2255 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2256 esac ;;
2257 esac
2258 ac_abs_top_builddir=$ac_pwd
2259 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2260 # for backward compatibility:
2261 ac_top_builddir=$ac_top_build_prefix
2263 case $srcdir in
2264 .) # We are building in place.
2265 ac_srcdir=.
2266 ac_top_srcdir=$ac_top_builddir_sub
2267 ac_abs_top_srcdir=$ac_pwd ;;
2268 [\\/]* | ?:[\\/]* ) # Absolute name.
2269 ac_srcdir=$srcdir$ac_dir_suffix;
2270 ac_top_srcdir=$srcdir
2271 ac_abs_top_srcdir=$srcdir ;;
2272 *) # Relative name.
2273 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2274 ac_top_srcdir=$ac_top_build_prefix$srcdir
2275 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2276 esac
2277 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2279 cd "$ac_dir" || { ac_status=$?; continue; }
2280 # Check for guested configure.
2281 if test -f "$ac_srcdir/configure.gnu"; then
2282 echo &&
2283 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2284 elif test -f "$ac_srcdir/configure"; then
2285 echo &&
2286 $SHELL "$ac_srcdir/configure" --help=recursive
2287 else
2288 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2289 fi || ac_status=$?
2290 cd "$ac_pwd" || { ac_status=$?; break; }
2291 done
2294 test -n "$ac_init_help" && exit $ac_status
2295 if $ac_init_version; then
2296 cat <<\_ACEOF
2297 Wine configure 1.7.42
2298 generated by GNU Autoconf 2.69
2300 Copyright (C) 2012 Free Software Foundation, Inc.
2301 This configure script is free software; the Free Software Foundation
2302 gives unlimited permission to copy, distribute and modify it.
2303 _ACEOF
2304 exit
2307 ## ------------------------ ##
2308 ## Autoconf initialization. ##
2309 ## ------------------------ ##
2311 # ac_fn_c_try_compile LINENO
2312 # --------------------------
2313 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2314 ac_fn_c_try_compile ()
2316 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2317 rm -f conftest.$ac_objext
2318 if { { ac_try="$ac_compile"
2319 case "(($ac_try" in
2320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2321 *) ac_try_echo=$ac_try;;
2322 esac
2323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2324 $as_echo "$ac_try_echo"; } >&5
2325 (eval "$ac_compile") 2>conftest.err
2326 ac_status=$?
2327 if test -s conftest.err; then
2328 grep -v '^ *+' conftest.err >conftest.er1
2329 cat conftest.er1 >&5
2330 mv -f conftest.er1 conftest.err
2332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2333 test $ac_status = 0; } && {
2334 test -z "$ac_c_werror_flag" ||
2335 test ! -s conftest.err
2336 } && test -s conftest.$ac_objext; then :
2337 ac_retval=0
2338 else
2339 $as_echo "$as_me: failed program was:" >&5
2340 sed 's/^/| /' conftest.$ac_ext >&5
2342 ac_retval=1
2344 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2345 as_fn_set_status $ac_retval
2347 } # ac_fn_c_try_compile
2349 # ac_fn_cxx_try_compile LINENO
2350 # ----------------------------
2351 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2352 ac_fn_cxx_try_compile ()
2354 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2355 rm -f conftest.$ac_objext
2356 if { { ac_try="$ac_compile"
2357 case "(($ac_try" in
2358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2359 *) ac_try_echo=$ac_try;;
2360 esac
2361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2362 $as_echo "$ac_try_echo"; } >&5
2363 (eval "$ac_compile") 2>conftest.err
2364 ac_status=$?
2365 if test -s conftest.err; then
2366 grep -v '^ *+' conftest.err >conftest.er1
2367 cat conftest.er1 >&5
2368 mv -f conftest.er1 conftest.err
2370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2371 test $ac_status = 0; } && {
2372 test -z "$ac_cxx_werror_flag" ||
2373 test ! -s conftest.err
2374 } && test -s conftest.$ac_objext; then :
2375 ac_retval=0
2376 else
2377 $as_echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.$ac_ext >&5
2380 ac_retval=1
2382 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2383 as_fn_set_status $ac_retval
2385 } # ac_fn_cxx_try_compile
2387 # ac_fn_c_try_link LINENO
2388 # -----------------------
2389 # Try to link conftest.$ac_ext, and return whether this succeeded.
2390 ac_fn_c_try_link ()
2392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2393 rm -f conftest.$ac_objext conftest$ac_exeext
2394 if { { ac_try="$ac_link"
2395 case "(($ac_try" in
2396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2397 *) ac_try_echo=$ac_try;;
2398 esac
2399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2400 $as_echo "$ac_try_echo"; } >&5
2401 (eval "$ac_link") 2>conftest.err
2402 ac_status=$?
2403 if test -s conftest.err; then
2404 grep -v '^ *+' conftest.err >conftest.er1
2405 cat conftest.er1 >&5
2406 mv -f conftest.er1 conftest.err
2408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2409 test $ac_status = 0; } && {
2410 test -z "$ac_c_werror_flag" ||
2411 test ! -s conftest.err
2412 } && test -s conftest$ac_exeext && {
2413 test "$cross_compiling" = yes ||
2414 test -x conftest$ac_exeext
2415 }; then :
2416 ac_retval=0
2417 else
2418 $as_echo "$as_me: failed program was:" >&5
2419 sed 's/^/| /' conftest.$ac_ext >&5
2421 ac_retval=1
2423 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2424 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2425 # interfere with the next link command; also delete a directory that is
2426 # left behind by Apple's compiler. We do this before executing the actions.
2427 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2428 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2429 as_fn_set_status $ac_retval
2431 } # ac_fn_c_try_link
2433 # ac_fn_c_try_cpp LINENO
2434 # ----------------------
2435 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2436 ac_fn_c_try_cpp ()
2438 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2439 if { { ac_try="$ac_cpp conftest.$ac_ext"
2440 case "(($ac_try" in
2441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2442 *) ac_try_echo=$ac_try;;
2443 esac
2444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2445 $as_echo "$ac_try_echo"; } >&5
2446 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2447 ac_status=$?
2448 if test -s conftest.err; then
2449 grep -v '^ *+' conftest.err >conftest.er1
2450 cat conftest.er1 >&5
2451 mv -f conftest.er1 conftest.err
2453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2454 test $ac_status = 0; } > conftest.i && {
2455 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2456 test ! -s conftest.err
2457 }; then :
2458 ac_retval=0
2459 else
2460 $as_echo "$as_me: failed program was:" >&5
2461 sed 's/^/| /' conftest.$ac_ext >&5
2463 ac_retval=1
2465 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2466 as_fn_set_status $ac_retval
2468 } # ac_fn_c_try_cpp
2470 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2471 # -------------------------------------------------------
2472 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2473 # the include files in INCLUDES and setting the cache variable VAR
2474 # accordingly.
2475 ac_fn_c_check_header_mongrel ()
2477 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2478 if eval \${$3+:} false; then :
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2480 $as_echo_n "checking for $2... " >&6; }
2481 if eval \${$3+:} false; then :
2482 $as_echo_n "(cached) " >&6
2484 eval ac_res=\$$3
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2486 $as_echo "$ac_res" >&6; }
2487 else
2488 # Is the header compilable?
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2490 $as_echo_n "checking $2 usability... " >&6; }
2491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2492 /* end confdefs.h. */
2494 #include <$2>
2495 _ACEOF
2496 if ac_fn_c_try_compile "$LINENO"; then :
2497 ac_header_compiler=yes
2498 else
2499 ac_header_compiler=no
2501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2503 $as_echo "$ac_header_compiler" >&6; }
2505 # Is the header present?
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2507 $as_echo_n "checking $2 presence... " >&6; }
2508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2509 /* end confdefs.h. */
2510 #include <$2>
2511 _ACEOF
2512 if ac_fn_c_try_cpp "$LINENO"; then :
2513 ac_header_preproc=yes
2514 else
2515 ac_header_preproc=no
2517 rm -f conftest.err conftest.i conftest.$ac_ext
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2519 $as_echo "$ac_header_preproc" >&6; }
2521 # So? What about this header?
2522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2523 yes:no: )
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2525 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2527 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2529 no:yes:* )
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2531 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2533 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2535 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2537 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2539 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2540 ( $as_echo "## ------------------------------------ ##
2541 ## Report this to wine-devel@winehq.org ##
2542 ## ------------------------------------ ##"
2543 ) | sed "s/^/$as_me: WARNING: /" >&2
2545 esac
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2547 $as_echo_n "checking for $2... " >&6; }
2548 if eval \${$3+:} false; then :
2549 $as_echo_n "(cached) " >&6
2550 else
2551 eval "$3=\$ac_header_compiler"
2553 eval ac_res=\$$3
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2555 $as_echo "$ac_res" >&6; }
2557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2559 } # ac_fn_c_check_header_mongrel
2561 # ac_fn_c_try_run LINENO
2562 # ----------------------
2563 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2564 # that executables *can* be run.
2565 ac_fn_c_try_run ()
2567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2568 if { { ac_try="$ac_link"
2569 case "(($ac_try" in
2570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2571 *) ac_try_echo=$ac_try;;
2572 esac
2573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2574 $as_echo "$ac_try_echo"; } >&5
2575 (eval "$ac_link") 2>&5
2576 ac_status=$?
2577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2578 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2579 { { case "(($ac_try" in
2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2582 esac
2583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2584 $as_echo "$ac_try_echo"; } >&5
2585 (eval "$ac_try") 2>&5
2586 ac_status=$?
2587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2588 test $ac_status = 0; }; }; then :
2589 ac_retval=0
2590 else
2591 $as_echo "$as_me: program exited with status $ac_status" >&5
2592 $as_echo "$as_me: failed program was:" >&5
2593 sed 's/^/| /' conftest.$ac_ext >&5
2595 ac_retval=$ac_status
2597 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2599 as_fn_set_status $ac_retval
2601 } # ac_fn_c_try_run
2603 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2604 # -------------------------------------------------------
2605 # Tests whether HEADER exists and can be compiled using the include files in
2606 # INCLUDES, setting the cache variable VAR accordingly.
2607 ac_fn_c_check_header_compile ()
2609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2611 $as_echo_n "checking for $2... " >&6; }
2612 if eval \${$3+:} false; then :
2613 $as_echo_n "(cached) " >&6
2614 else
2615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2616 /* end confdefs.h. */
2618 #include <$2>
2619 _ACEOF
2620 if ac_fn_c_try_compile "$LINENO"; then :
2621 eval "$3=yes"
2622 else
2623 eval "$3=no"
2625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2627 eval ac_res=\$$3
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2629 $as_echo "$ac_res" >&6; }
2630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2632 } # ac_fn_c_check_header_compile
2634 # ac_fn_c_check_func LINENO FUNC VAR
2635 # ----------------------------------
2636 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2637 ac_fn_c_check_func ()
2639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2641 $as_echo_n "checking for $2... " >&6; }
2642 if eval \${$3+:} false; then :
2643 $as_echo_n "(cached) " >&6
2644 else
2645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2646 /* end confdefs.h. */
2647 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2649 #define $2 innocuous_$2
2651 /* System header to define __stub macros and hopefully few prototypes,
2652 which can conflict with char $2 (); below.
2653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2654 <limits.h> exists even on freestanding compilers. */
2656 #ifdef __STDC__
2657 # include <limits.h>
2658 #else
2659 # include <assert.h>
2660 #endif
2662 #undef $2
2664 /* Override any GCC internal prototype to avoid an error.
2665 Use char because int might match the return type of a GCC
2666 builtin and then its argument prototype would still apply. */
2667 #ifdef __cplusplus
2668 extern "C"
2669 #endif
2670 char $2 ();
2671 /* The GNU C library defines this for functions which it implements
2672 to always fail with ENOSYS. Some functions are actually named
2673 something starting with __ and the normal name is an alias. */
2674 #if defined __stub_$2 || defined __stub___$2
2675 choke me
2676 #endif
2679 main ()
2681 return $2 ();
2683 return 0;
2685 _ACEOF
2686 if ac_fn_c_try_link "$LINENO"; then :
2687 eval "$3=yes"
2688 else
2689 eval "$3=no"
2691 rm -f core conftest.err conftest.$ac_objext \
2692 conftest$ac_exeext conftest.$ac_ext
2694 eval ac_res=\$$3
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2696 $as_echo "$ac_res" >&6; }
2697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2699 } # ac_fn_c_check_func
2701 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2702 # ----------------------------------------------------
2703 # Tries to find if the field MEMBER exists in type AGGR, after including
2704 # INCLUDES, setting cache variable VAR accordingly.
2705 ac_fn_c_check_member ()
2707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2709 $as_echo_n "checking for $2.$3... " >&6; }
2710 if eval \${$4+:} false; then :
2711 $as_echo_n "(cached) " >&6
2712 else
2713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2714 /* end confdefs.h. */
2717 main ()
2719 static $2 ac_aggr;
2720 if (ac_aggr.$3)
2721 return 0;
2723 return 0;
2725 _ACEOF
2726 if ac_fn_c_try_compile "$LINENO"; then :
2727 eval "$4=yes"
2728 else
2729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2733 main ()
2735 static $2 ac_aggr;
2736 if (sizeof ac_aggr.$3)
2737 return 0;
2739 return 0;
2741 _ACEOF
2742 if ac_fn_c_try_compile "$LINENO"; then :
2743 eval "$4=yes"
2744 else
2745 eval "$4=no"
2747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2751 eval ac_res=\$$4
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2753 $as_echo "$ac_res" >&6; }
2754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2756 } # ac_fn_c_check_member
2758 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2759 # -------------------------------------------
2760 # Tests whether TYPE exists after having included INCLUDES, setting cache
2761 # variable VAR accordingly.
2762 ac_fn_c_check_type ()
2764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2766 $as_echo_n "checking for $2... " >&6; }
2767 if eval \${$3+:} false; then :
2768 $as_echo_n "(cached) " >&6
2769 else
2770 eval "$3=no"
2771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2772 /* end confdefs.h. */
2775 main ()
2777 if (sizeof ($2))
2778 return 0;
2780 return 0;
2782 _ACEOF
2783 if ac_fn_c_try_compile "$LINENO"; then :
2784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2785 /* end confdefs.h. */
2788 main ()
2790 if (sizeof (($2)))
2791 return 0;
2793 return 0;
2795 _ACEOF
2796 if ac_fn_c_try_compile "$LINENO"; then :
2798 else
2799 eval "$3=yes"
2801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2805 eval ac_res=\$$3
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2807 $as_echo "$ac_res" >&6; }
2808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2810 } # ac_fn_c_check_type
2811 cat >config.log <<_ACEOF
2812 This file contains any messages produced by compilers while
2813 running configure, to aid debugging if configure makes a mistake.
2815 It was created by Wine $as_me 1.7.42, which was
2816 generated by GNU Autoconf 2.69. Invocation command line was
2818 $ $0 $@
2820 _ACEOF
2821 exec 5>>config.log
2823 cat <<_ASUNAME
2824 ## --------- ##
2825 ## Platform. ##
2826 ## --------- ##
2828 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2829 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2830 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2831 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2832 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2834 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2835 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2837 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2838 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2839 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2840 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2841 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2842 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2843 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2845 _ASUNAME
2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2848 for as_dir in $PATH
2850 IFS=$as_save_IFS
2851 test -z "$as_dir" && as_dir=.
2852 $as_echo "PATH: $as_dir"
2853 done
2854 IFS=$as_save_IFS
2856 } >&5
2858 cat >&5 <<_ACEOF
2861 ## ----------- ##
2862 ## Core tests. ##
2863 ## ----------- ##
2865 _ACEOF
2868 # Keep a trace of the command line.
2869 # Strip out --no-create and --no-recursion so they do not pile up.
2870 # Strip out --silent because we don't want to record it for future runs.
2871 # Also quote any args containing shell meta-characters.
2872 # Make two passes to allow for proper duplicate-argument suppression.
2873 ac_configure_args=
2874 ac_configure_args0=
2875 ac_configure_args1=
2876 ac_must_keep_next=false
2877 for ac_pass in 1 2
2879 for ac_arg
2881 case $ac_arg in
2882 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2883 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2884 | -silent | --silent | --silen | --sile | --sil)
2885 continue ;;
2886 *\'*)
2887 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2888 esac
2889 case $ac_pass in
2890 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2892 as_fn_append ac_configure_args1 " '$ac_arg'"
2893 if test $ac_must_keep_next = true; then
2894 ac_must_keep_next=false # Got value, back to normal.
2895 else
2896 case $ac_arg in
2897 *=* | --config-cache | -C | -disable-* | --disable-* \
2898 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2899 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2900 | -with-* | --with-* | -without-* | --without-* | --x)
2901 case "$ac_configure_args0 " in
2902 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2903 esac
2905 -* ) ac_must_keep_next=true ;;
2906 esac
2908 as_fn_append ac_configure_args " '$ac_arg'"
2910 esac
2911 done
2912 done
2913 { ac_configure_args0=; unset ac_configure_args0;}
2914 { ac_configure_args1=; unset ac_configure_args1;}
2916 # When interrupted or exit'd, cleanup temporary files, and complete
2917 # config.log. We remove comments because anyway the quotes in there
2918 # would cause problems or look ugly.
2919 # WARNING: Use '\'' to represent an apostrophe within the trap.
2920 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2921 trap 'exit_status=$?
2922 # Save into config.log some information that might help in debugging.
2924 echo
2926 $as_echo "## ---------------- ##
2927 ## Cache variables. ##
2928 ## ---------------- ##"
2929 echo
2930 # The following way of writing the cache mishandles newlines in values,
2932 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2933 eval ac_val=\$$ac_var
2934 case $ac_val in #(
2935 *${as_nl}*)
2936 case $ac_var in #(
2937 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2938 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2939 esac
2940 case $ac_var in #(
2941 _ | IFS | as_nl) ;; #(
2942 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2943 *) { eval $ac_var=; unset $ac_var;} ;;
2944 esac ;;
2945 esac
2946 done
2947 (set) 2>&1 |
2948 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2949 *${as_nl}ac_space=\ *)
2950 sed -n \
2951 "s/'\''/'\''\\\\'\'''\''/g;
2952 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2953 ;; #(
2955 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2957 esac |
2958 sort
2960 echo
2962 $as_echo "## ----------------- ##
2963 ## Output variables. ##
2964 ## ----------------- ##"
2965 echo
2966 for ac_var in $ac_subst_vars
2968 eval ac_val=\$$ac_var
2969 case $ac_val in
2970 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2971 esac
2972 $as_echo "$ac_var='\''$ac_val'\''"
2973 done | sort
2974 echo
2976 if test -n "$ac_subst_files"; then
2977 $as_echo "## ------------------- ##
2978 ## File substitutions. ##
2979 ## ------------------- ##"
2980 echo
2981 for ac_var in $ac_subst_files
2983 eval ac_val=\$$ac_var
2984 case $ac_val in
2985 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2986 esac
2987 $as_echo "$ac_var='\''$ac_val'\''"
2988 done | sort
2989 echo
2992 if test -s confdefs.h; then
2993 $as_echo "## ----------- ##
2994 ## confdefs.h. ##
2995 ## ----------- ##"
2996 echo
2997 cat confdefs.h
2998 echo
3000 test "$ac_signal" != 0 &&
3001 $as_echo "$as_me: caught signal $ac_signal"
3002 $as_echo "$as_me: exit $exit_status"
3003 } >&5
3004 rm -f core *.core core.conftest.* &&
3005 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3006 exit $exit_status
3008 for ac_signal in 1 2 13 15; do
3009 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3010 done
3011 ac_signal=0
3013 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3014 rm -f -r conftest* confdefs.h
3016 $as_echo "/* confdefs.h */" > confdefs.h
3018 # Predefined preprocessor variables.
3020 cat >>confdefs.h <<_ACEOF
3021 #define PACKAGE_NAME "$PACKAGE_NAME"
3022 _ACEOF
3024 cat >>confdefs.h <<_ACEOF
3025 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3026 _ACEOF
3028 cat >>confdefs.h <<_ACEOF
3029 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3030 _ACEOF
3032 cat >>confdefs.h <<_ACEOF
3033 #define PACKAGE_STRING "$PACKAGE_STRING"
3034 _ACEOF
3036 cat >>confdefs.h <<_ACEOF
3037 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3038 _ACEOF
3040 cat >>confdefs.h <<_ACEOF
3041 #define PACKAGE_URL "$PACKAGE_URL"
3042 _ACEOF
3045 # Let the site file select an alternate cache file if it wants to.
3046 # Prefer an explicitly selected file to automatically selected ones.
3047 ac_site_file1=NONE
3048 ac_site_file2=NONE
3049 if test -n "$CONFIG_SITE"; then
3050 # We do not want a PATH search for config.site.
3051 case $CONFIG_SITE in #((
3052 -*) ac_site_file1=./$CONFIG_SITE;;
3053 */*) ac_site_file1=$CONFIG_SITE;;
3054 *) ac_site_file1=./$CONFIG_SITE;;
3055 esac
3056 elif test "x$prefix" != xNONE; then
3057 ac_site_file1=$prefix/share/config.site
3058 ac_site_file2=$prefix/etc/config.site
3059 else
3060 ac_site_file1=$ac_default_prefix/share/config.site
3061 ac_site_file2=$ac_default_prefix/etc/config.site
3063 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3065 test "x$ac_site_file" = xNONE && continue
3066 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3068 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3069 sed 's/^/| /' "$ac_site_file" >&5
3070 . "$ac_site_file" \
3071 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3073 as_fn_error $? "failed to load site script $ac_site_file
3074 See \`config.log' for more details" "$LINENO" 5; }
3076 done
3078 if test -r "$cache_file"; then
3079 # Some versions of bash will fail to source /dev/null (special files
3080 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3081 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3083 $as_echo "$as_me: loading cache $cache_file" >&6;}
3084 case $cache_file in
3085 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3086 *) . "./$cache_file";;
3087 esac
3089 else
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3091 $as_echo "$as_me: creating cache $cache_file" >&6;}
3092 >$cache_file
3095 # Check that the precious variables saved in the cache have kept the same
3096 # value.
3097 ac_cache_corrupted=false
3098 for ac_var in $ac_precious_vars; do
3099 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3100 eval ac_new_set=\$ac_env_${ac_var}_set
3101 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3102 eval ac_new_val=\$ac_env_${ac_var}_value
3103 case $ac_old_set,$ac_new_set in
3104 set,)
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3106 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3107 ac_cache_corrupted=: ;;
3108 ,set)
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3110 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3111 ac_cache_corrupted=: ;;
3112 ,);;
3114 if test "x$ac_old_val" != "x$ac_new_val"; then
3115 # differences in whitespace do not lead to failure.
3116 ac_old_val_w=`echo x $ac_old_val`
3117 ac_new_val_w=`echo x $ac_new_val`
3118 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3120 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3121 ac_cache_corrupted=:
3122 else
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3124 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3125 eval $ac_var=\$ac_old_val
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3128 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3130 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3131 fi;;
3132 esac
3133 # Pass precious variables to config.status.
3134 if test "$ac_new_set" = set; then
3135 case $ac_new_val in
3136 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3137 *) ac_arg=$ac_var=$ac_new_val ;;
3138 esac
3139 case " $ac_configure_args " in
3140 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3141 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3142 esac
3144 done
3145 if $ac_cache_corrupted; then
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3149 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3150 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3152 ## -------------------- ##
3153 ## Main body of script. ##
3154 ## -------------------- ##
3156 ac_ext=c
3157 ac_cpp='$CPP $CPPFLAGS'
3158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3164 ac_config_headers="$ac_config_headers include/config.h"
3166 ac_aux_dir=
3167 for ac_dir in tools "$srcdir"/tools; do
3168 if test -f "$ac_dir/install-sh"; then
3169 ac_aux_dir=$ac_dir
3170 ac_install_sh="$ac_aux_dir/install-sh -c"
3171 break
3172 elif test -f "$ac_dir/install.sh"; then
3173 ac_aux_dir=$ac_dir
3174 ac_install_sh="$ac_aux_dir/install.sh -c"
3175 break
3176 elif test -f "$ac_dir/shtool"; then
3177 ac_aux_dir=$ac_dir
3178 ac_install_sh="$ac_aux_dir/shtool install -c"
3179 break
3181 done
3182 if test -z "$ac_aux_dir"; then
3183 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3186 # These three variables are undocumented and unsupported,
3187 # and are intended to be withdrawn in a future Autoconf release.
3188 # They can cause serious problems if a builder's source tree is in a directory
3189 # whose full name contains unusual characters.
3190 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3191 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3192 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3196 libwine_version="1.0"
3200 # Check whether --enable-win16 was given.
3201 if test "${enable_win16+set}" = set; then :
3202 enableval=$enable_win16;
3205 # Check whether --enable-win64 was given.
3206 if test "${enable_win64+set}" = set; then :
3207 enableval=$enable_win64;
3210 # Check whether --enable-tests was given.
3211 if test "${enable_tests+set}" = set; then :
3212 enableval=$enable_tests;
3215 # Check whether --enable-maintainer-mode was given.
3216 if test "${enable_maintainer_mode+set}" = set; then :
3217 enableval=$enable_maintainer_mode;
3222 # Check whether --with-alsa was given.
3223 if test "${with_alsa+set}" = set; then :
3224 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3228 # Check whether --with-capi was given.
3229 if test "${with_capi+set}" = set; then :
3230 withval=$with_capi;
3234 # Check whether --with-cms was given.
3235 if test "${with_cms+set}" = set; then :
3236 withval=$with_cms;
3240 # Check whether --with-coreaudio was given.
3241 if test "${with_coreaudio+set}" = set; then :
3242 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3246 # Check whether --with-cups was given.
3247 if test "${with_cups+set}" = set; then :
3248 withval=$with_cups;
3252 # Check whether --with-curses was given.
3253 if test "${with_curses+set}" = set; then :
3254 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3258 # Check whether --with-dbus was given.
3259 if test "${with_dbus+set}" = set; then :
3260 withval=$with_dbus;
3264 # Check whether --with-fontconfig was given.
3265 if test "${with_fontconfig+set}" = set; then :
3266 withval=$with_fontconfig;
3270 # Check whether --with-freetype was given.
3271 if test "${with_freetype+set}" = set; then :
3272 withval=$with_freetype;
3276 # Check whether --with-gettext was given.
3277 if test "${with_gettext+set}" = set; then :
3278 withval=$with_gettext;
3282 # Check whether --with-gettextpo was given.
3283 if test "${with_gettextpo+set}" = set; then :
3284 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3288 # Check whether --with-gphoto was given.
3289 if test "${with_gphoto+set}" = set; then :
3290 withval=$with_gphoto;
3294 # Check whether --with-glu was given.
3295 if test "${with_glu+set}" = set; then :
3296 withval=$with_glu;
3300 # Check whether --with-gnutls was given.
3301 if test "${with_gnutls+set}" = set; then :
3302 withval=$with_gnutls;
3306 # Check whether --with-gsm was given.
3307 if test "${with_gsm+set}" = set; then :
3308 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3312 # Check whether --with-gstreamer was given.
3313 if test "${with_gstreamer+set}" = set; then :
3314 withval=$with_gstreamer;
3318 # Check whether --with-hal was given.
3319 if test "${with_hal+set}" = set; then :
3320 withval=$with_hal;
3324 # Check whether --with-jpeg was given.
3325 if test "${with_jpeg+set}" = set; then :
3326 withval=$with_jpeg;
3330 # Check whether --with-ldap was given.
3331 if test "${with_ldap+set}" = set; then :
3332 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3336 # Check whether --with-mpg123 was given.
3337 if test "${with_mpg123+set}" = set; then :
3338 withval=$with_mpg123;
3342 # Check whether --with-netapi was given.
3343 if test "${with_netapi+set}" = set; then :
3344 withval=$with_netapi;
3348 # Check whether --with-openal was given.
3349 if test "${with_openal+set}" = set; then :
3350 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3354 # Check whether --with-opencl was given.
3355 if test "${with_opencl+set}" = set; then :
3356 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3360 # Check whether --with-opengl was given.
3361 if test "${with_opengl+set}" = set; then :
3362 withval=$with_opengl;
3366 # Check whether --with-osmesa was given.
3367 if test "${with_osmesa+set}" = set; then :
3368 withval=$with_osmesa;
3372 # Check whether --with-oss was given.
3373 if test "${with_oss+set}" = set; then :
3374 withval=$with_oss;
3378 # Check whether --with-pcap was given.
3379 if test "${with_pcap+set}" = set; then :
3380 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3384 # Check whether --with-png was given.
3385 if test "${with_png+set}" = set; then :
3386 withval=$with_png;
3390 # Check whether --with-pthread was given.
3391 if test "${with_pthread+set}" = set; then :
3392 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3396 # Check whether --with-sane was given.
3397 if test "${with_sane+set}" = set; then :
3398 withval=$with_sane;
3402 # Check whether --with-tiff was given.
3403 if test "${with_tiff+set}" = set; then :
3404 withval=$with_tiff;
3408 # Check whether --with-v4l was given.
3409 if test "${with_v4l+set}" = set; then :
3410 withval=$with_v4l;
3414 # Check whether --with-xcomposite was given.
3415 if test "${with_xcomposite+set}" = set; then :
3416 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3420 # Check whether --with-xcursor was given.
3421 if test "${with_xcursor+set}" = set; then :
3422 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3426 # Check whether --with-xinerama was given.
3427 if test "${with_xinerama+set}" = set; then :
3428 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3432 # Check whether --with-xinput was given.
3433 if test "${with_xinput+set}" = set; then :
3434 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3438 # Check whether --with-xinput2 was given.
3439 if test "${with_xinput2+set}" = set; then :
3440 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3444 # Check whether --with-xml was given.
3445 if test "${with_xml+set}" = set; then :
3446 withval=$with_xml;
3450 # Check whether --with-xrandr was given.
3451 if test "${with_xrandr+set}" = set; then :
3452 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3456 # Check whether --with-xrender was given.
3457 if test "${with_xrender+set}" = set; then :
3458 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3462 # Check whether --with-xshape was given.
3463 if test "${with_xshape+set}" = set; then :
3464 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3468 # Check whether --with-xshm was given.
3469 if test "${with_xshm+set}" = set; then :
3470 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3474 # Check whether --with-xslt was given.
3475 if test "${with_xslt+set}" = set; then :
3476 withval=$with_xslt;
3480 # Check whether --with-xxf86vm was given.
3481 if test "${with_xxf86vm+set}" = set; then :
3482 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
3486 # Check whether --with-zlib was given.
3487 if test "${with_zlib+set}" = set; then :
3488 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3493 # Check whether --with-wine-tools was given.
3494 if test "${with_wine_tools+set}" = set; then :
3495 withval=$with_wine_tools;
3499 # Check whether --with-wine64 was given.
3500 if test "${with_wine64+set}" = set; then :
3501 withval=$with_wine64;
3505 # Make sure we can run config.sub.
3506 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3507 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3510 $as_echo_n "checking build system type... " >&6; }
3511 if ${ac_cv_build+:} false; then :
3512 $as_echo_n "(cached) " >&6
3513 else
3514 ac_build_alias=$build_alias
3515 test "x$ac_build_alias" = x &&
3516 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3517 test "x$ac_build_alias" = x &&
3518 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3519 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3520 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3524 $as_echo "$ac_cv_build" >&6; }
3525 case $ac_cv_build in
3526 *-*-*) ;;
3527 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3528 esac
3529 build=$ac_cv_build
3530 ac_save_IFS=$IFS; IFS='-'
3531 set x $ac_cv_build
3532 shift
3533 build_cpu=$1
3534 build_vendor=$2
3535 shift; shift
3536 # Remember, the first character of IFS is used to create $*,
3537 # except with old shells:
3538 build_os=$*
3539 IFS=$ac_save_IFS
3540 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3544 $as_echo_n "checking host system type... " >&6; }
3545 if ${ac_cv_host+:} false; then :
3546 $as_echo_n "(cached) " >&6
3547 else
3548 if test "x$host_alias" = x; then
3549 ac_cv_host=$ac_cv_build
3550 else
3551 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3552 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3557 $as_echo "$ac_cv_host" >&6; }
3558 case $ac_cv_host in
3559 *-*-*) ;;
3560 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3561 esac
3562 host=$ac_cv_host
3563 ac_save_IFS=$IFS; IFS='-'
3564 set x $ac_cv_host
3565 shift
3566 host_cpu=$1
3567 host_vendor=$2
3568 shift; shift
3569 # Remember, the first character of IFS is used to create $*,
3570 # except with old shells:
3571 host_os=$*
3572 IFS=$ac_save_IFS
3573 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3577 case "$srcdir" in
3578 .) ;;
3579 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3580 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3581 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3582 fi ;;
3583 esac
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3587 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3588 set x ${MAKE-make}
3589 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3590 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3591 $as_echo_n "(cached) " >&6
3592 else
3593 cat >conftest.make <<\_ACEOF
3594 SHELL = /bin/sh
3595 all:
3596 @echo '@@@%%%=$(MAKE)=@@@%%%'
3597 _ACEOF
3598 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3599 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3600 *@@@%%%=?*=@@@%%%*)
3601 eval ac_cv_prog_make_${ac_make}_set=yes;;
3603 eval ac_cv_prog_make_${ac_make}_set=no;;
3604 esac
3605 rm -f conftest.make
3607 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3609 $as_echo "yes" >&6; }
3610 SET_MAKE=
3611 else
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3614 SET_MAKE="MAKE=${MAKE-make}"
3617 ac_ext=c
3618 ac_cpp='$CPP $CPPFLAGS'
3619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3622 if test -n "$ac_tool_prefix"; then
3623 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3624 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3626 $as_echo_n "checking for $ac_word... " >&6; }
3627 if ${ac_cv_prog_CC+:} false; then :
3628 $as_echo_n "(cached) " >&6
3629 else
3630 if test -n "$CC"; then
3631 ac_cv_prog_CC="$CC" # Let the user override the test.
3632 else
3633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3634 for as_dir in $PATH
3636 IFS=$as_save_IFS
3637 test -z "$as_dir" && as_dir=.
3638 for ac_exec_ext in '' $ac_executable_extensions; do
3639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3640 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3642 break 2
3644 done
3645 done
3646 IFS=$as_save_IFS
3650 CC=$ac_cv_prog_CC
3651 if test -n "$CC"; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3653 $as_echo "$CC" >&6; }
3654 else
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3656 $as_echo "no" >&6; }
3661 if test -z "$ac_cv_prog_CC"; then
3662 ac_ct_CC=$CC
3663 # Extract the first word of "gcc", so it can be a program name with args.
3664 set dummy gcc; ac_word=$2
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3666 $as_echo_n "checking for $ac_word... " >&6; }
3667 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3668 $as_echo_n "(cached) " >&6
3669 else
3670 if test -n "$ac_ct_CC"; then
3671 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3672 else
3673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3674 for as_dir in $PATH
3676 IFS=$as_save_IFS
3677 test -z "$as_dir" && as_dir=.
3678 for ac_exec_ext in '' $ac_executable_extensions; do
3679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3680 ac_cv_prog_ac_ct_CC="gcc"
3681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3682 break 2
3684 done
3685 done
3686 IFS=$as_save_IFS
3690 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3691 if test -n "$ac_ct_CC"; then
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3693 $as_echo "$ac_ct_CC" >&6; }
3694 else
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3696 $as_echo "no" >&6; }
3699 if test "x$ac_ct_CC" = x; then
3700 CC=""
3701 else
3702 case $cross_compiling:$ac_tool_warned in
3703 yes:)
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3706 ac_tool_warned=yes ;;
3707 esac
3708 CC=$ac_ct_CC
3710 else
3711 CC="$ac_cv_prog_CC"
3714 if test -z "$CC"; then
3715 if test -n "$ac_tool_prefix"; then
3716 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3717 set dummy ${ac_tool_prefix}cc; ac_word=$2
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3719 $as_echo_n "checking for $ac_word... " >&6; }
3720 if ${ac_cv_prog_CC+:} false; then :
3721 $as_echo_n "(cached) " >&6
3722 else
3723 if test -n "$CC"; then
3724 ac_cv_prog_CC="$CC" # Let the user override the test.
3725 else
3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3727 for as_dir in $PATH
3729 IFS=$as_save_IFS
3730 test -z "$as_dir" && as_dir=.
3731 for ac_exec_ext in '' $ac_executable_extensions; do
3732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3733 ac_cv_prog_CC="${ac_tool_prefix}cc"
3734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3735 break 2
3737 done
3738 done
3739 IFS=$as_save_IFS
3743 CC=$ac_cv_prog_CC
3744 if test -n "$CC"; then
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3746 $as_echo "$CC" >&6; }
3747 else
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3749 $as_echo "no" >&6; }
3755 if test -z "$CC"; then
3756 # Extract the first word of "cc", so it can be a program name with args.
3757 set dummy cc; ac_word=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if ${ac_cv_prog_CC+:} false; then :
3761 $as_echo_n "(cached) " >&6
3762 else
3763 if test -n "$CC"; then
3764 ac_cv_prog_CC="$CC" # Let the user override the test.
3765 else
3766 ac_prog_rejected=no
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3768 for as_dir in $PATH
3770 IFS=$as_save_IFS
3771 test -z "$as_dir" && as_dir=.
3772 for ac_exec_ext in '' $ac_executable_extensions; do
3773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3775 ac_prog_rejected=yes
3776 continue
3778 ac_cv_prog_CC="cc"
3779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3780 break 2
3782 done
3783 done
3784 IFS=$as_save_IFS
3786 if test $ac_prog_rejected = yes; then
3787 # We found a bogon in the path, so make sure we never use it.
3788 set dummy $ac_cv_prog_CC
3789 shift
3790 if test $# != 0; then
3791 # We chose a different compiler from the bogus one.
3792 # However, it has the same basename, so the bogon will be chosen
3793 # first if we set CC to just the basename; use the full file name.
3794 shift
3795 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3800 CC=$ac_cv_prog_CC
3801 if test -n "$CC"; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3803 $as_echo "$CC" >&6; }
3804 else
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3806 $as_echo "no" >&6; }
3811 if test -z "$CC"; then
3812 if test -n "$ac_tool_prefix"; then
3813 for ac_prog in cl.exe
3815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3816 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3818 $as_echo_n "checking for $ac_word... " >&6; }
3819 if ${ac_cv_prog_CC+:} false; then :
3820 $as_echo_n "(cached) " >&6
3821 else
3822 if test -n "$CC"; then
3823 ac_cv_prog_CC="$CC" # Let the user override the test.
3824 else
3825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3826 for as_dir in $PATH
3828 IFS=$as_save_IFS
3829 test -z "$as_dir" && as_dir=.
3830 for ac_exec_ext in '' $ac_executable_extensions; do
3831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3832 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3834 break 2
3836 done
3837 done
3838 IFS=$as_save_IFS
3842 CC=$ac_cv_prog_CC
3843 if test -n "$CC"; then
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3845 $as_echo "$CC" >&6; }
3846 else
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3848 $as_echo "no" >&6; }
3852 test -n "$CC" && break
3853 done
3855 if test -z "$CC"; then
3856 ac_ct_CC=$CC
3857 for ac_prog in cl.exe
3859 # Extract the first word of "$ac_prog", so it can be a program name with args.
3860 set dummy $ac_prog; ac_word=$2
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862 $as_echo_n "checking for $ac_word... " >&6; }
3863 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3864 $as_echo_n "(cached) " >&6
3865 else
3866 if test -n "$ac_ct_CC"; then
3867 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3868 else
3869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870 for as_dir in $PATH
3872 IFS=$as_save_IFS
3873 test -z "$as_dir" && as_dir=.
3874 for ac_exec_ext in '' $ac_executable_extensions; do
3875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3876 ac_cv_prog_ac_ct_CC="$ac_prog"
3877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3878 break 2
3880 done
3881 done
3882 IFS=$as_save_IFS
3886 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3887 if test -n "$ac_ct_CC"; then
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3889 $as_echo "$ac_ct_CC" >&6; }
3890 else
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3892 $as_echo "no" >&6; }
3896 test -n "$ac_ct_CC" && break
3897 done
3899 if test "x$ac_ct_CC" = x; then
3900 CC=""
3901 else
3902 case $cross_compiling:$ac_tool_warned in
3903 yes:)
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3906 ac_tool_warned=yes ;;
3907 esac
3908 CC=$ac_ct_CC
3915 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3917 as_fn_error $? "no acceptable C compiler found in \$PATH
3918 See \`config.log' for more details" "$LINENO" 5; }
3920 # Provide some information about the compiler.
3921 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3922 set X $ac_compile
3923 ac_compiler=$2
3924 for ac_option in --version -v -V -qversion; do
3925 { { ac_try="$ac_compiler $ac_option >&5"
3926 case "(($ac_try" in
3927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3928 *) ac_try_echo=$ac_try;;
3929 esac
3930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3931 $as_echo "$ac_try_echo"; } >&5
3932 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3933 ac_status=$?
3934 if test -s conftest.err; then
3935 sed '10a\
3936 ... rest of stderr output deleted ...
3937 10q' conftest.err >conftest.er1
3938 cat conftest.er1 >&5
3940 rm -f conftest.er1 conftest.err
3941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3942 test $ac_status = 0; }
3943 done
3945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3946 /* end confdefs.h. */
3949 main ()
3953 return 0;
3955 _ACEOF
3956 ac_clean_files_save=$ac_clean_files
3957 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3958 # Try to create an executable without -o first, disregard a.out.
3959 # It will help us diagnose broken compilers, and finding out an intuition
3960 # of exeext.
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3962 $as_echo_n "checking whether the C compiler works... " >&6; }
3963 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3965 # The possible output files:
3966 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3968 ac_rmfiles=
3969 for ac_file in $ac_files
3971 case $ac_file in
3972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3973 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3974 esac
3975 done
3976 rm -f $ac_rmfiles
3978 if { { ac_try="$ac_link_default"
3979 case "(($ac_try" in
3980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981 *) ac_try_echo=$ac_try;;
3982 esac
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
3985 (eval "$ac_link_default") 2>&5
3986 ac_status=$?
3987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988 test $ac_status = 0; }; then :
3989 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3990 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3991 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3992 # so that the user can short-circuit this test for compilers unknown to
3993 # Autoconf.
3994 for ac_file in $ac_files ''
3996 test -f "$ac_file" || continue
3997 case $ac_file in
3998 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4000 [ab].out )
4001 # We found the default executable, but exeext='' is most
4002 # certainly right.
4003 break;;
4004 *.* )
4005 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4006 then :; else
4007 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4009 # We set ac_cv_exeext here because the later test for it is not
4010 # safe: cross compilers may not add the suffix if given an `-o'
4011 # argument, so we may need to know it at that point already.
4012 # Even if this section looks crufty: it has the advantage of
4013 # actually working.
4014 break;;
4016 break;;
4017 esac
4018 done
4019 test "$ac_cv_exeext" = no && ac_cv_exeext=
4021 else
4022 ac_file=''
4024 if test -z "$ac_file"; then :
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4026 $as_echo "no" >&6; }
4027 $as_echo "$as_me: failed program was:" >&5
4028 sed 's/^/| /' conftest.$ac_ext >&5
4030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4032 as_fn_error 77 "C compiler cannot create executables
4033 See \`config.log' for more details" "$LINENO" 5; }
4034 else
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4036 $as_echo "yes" >&6; }
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4039 $as_echo_n "checking for C compiler default output file name... " >&6; }
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4041 $as_echo "$ac_file" >&6; }
4042 ac_exeext=$ac_cv_exeext
4044 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4045 ac_clean_files=$ac_clean_files_save
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4047 $as_echo_n "checking for suffix of executables... " >&6; }
4048 if { { ac_try="$ac_link"
4049 case "(($ac_try" in
4050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4051 *) ac_try_echo=$ac_try;;
4052 esac
4053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4054 $as_echo "$ac_try_echo"; } >&5
4055 (eval "$ac_link") 2>&5
4056 ac_status=$?
4057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058 test $ac_status = 0; }; then :
4059 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4060 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4061 # work properly (i.e., refer to `conftest.exe'), while it won't with
4062 # `rm'.
4063 for ac_file in conftest.exe conftest conftest.*; do
4064 test -f "$ac_file" || continue
4065 case $ac_file in
4066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4067 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4068 break;;
4069 * ) break;;
4070 esac
4071 done
4072 else
4073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4075 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4076 See \`config.log' for more details" "$LINENO" 5; }
4078 rm -f conftest conftest$ac_cv_exeext
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4080 $as_echo "$ac_cv_exeext" >&6; }
4082 rm -f conftest.$ac_ext
4083 EXEEXT=$ac_cv_exeext
4084 ac_exeext=$EXEEXT
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4087 #include <stdio.h>
4089 main ()
4091 FILE *f = fopen ("conftest.out", "w");
4092 return ferror (f) || fclose (f) != 0;
4095 return 0;
4097 _ACEOF
4098 ac_clean_files="$ac_clean_files conftest.out"
4099 # Check that the compiler produces executables we can run. If not, either
4100 # the compiler is broken, or we cross compile.
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4102 $as_echo_n "checking whether we are cross compiling... " >&6; }
4103 if test "$cross_compiling" != yes; then
4104 { { ac_try="$ac_link"
4105 case "(($ac_try" in
4106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107 *) ac_try_echo=$ac_try;;
4108 esac
4109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4110 $as_echo "$ac_try_echo"; } >&5
4111 (eval "$ac_link") 2>&5
4112 ac_status=$?
4113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114 test $ac_status = 0; }
4115 if { ac_try='./conftest$ac_cv_exeext'
4116 { { case "(($ac_try" in
4117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4118 *) ac_try_echo=$ac_try;;
4119 esac
4120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4121 $as_echo "$ac_try_echo"; } >&5
4122 (eval "$ac_try") 2>&5
4123 ac_status=$?
4124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4125 test $ac_status = 0; }; }; then
4126 cross_compiling=no
4127 else
4128 if test "$cross_compiling" = maybe; then
4129 cross_compiling=yes
4130 else
4131 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4133 as_fn_error $? "cannot run C compiled programs.
4134 If you meant to cross compile, use \`--host'.
4135 See \`config.log' for more details" "$LINENO" 5; }
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4140 $as_echo "$cross_compiling" >&6; }
4142 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4143 ac_clean_files=$ac_clean_files_save
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4145 $as_echo_n "checking for suffix of object files... " >&6; }
4146 if ${ac_cv_objext+:} false; then :
4147 $as_echo_n "(cached) " >&6
4148 else
4149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4150 /* end confdefs.h. */
4153 main ()
4157 return 0;
4159 _ACEOF
4160 rm -f conftest.o conftest.obj
4161 if { { ac_try="$ac_compile"
4162 case "(($ac_try" in
4163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4164 *) ac_try_echo=$ac_try;;
4165 esac
4166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4167 $as_echo "$ac_try_echo"; } >&5
4168 (eval "$ac_compile") 2>&5
4169 ac_status=$?
4170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4171 test $ac_status = 0; }; then :
4172 for ac_file in conftest.o conftest.obj conftest.*; do
4173 test -f "$ac_file" || continue;
4174 case $ac_file in
4175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4176 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4177 break;;
4178 esac
4179 done
4180 else
4181 $as_echo "$as_me: failed program was:" >&5
4182 sed 's/^/| /' conftest.$ac_ext >&5
4184 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4186 as_fn_error $? "cannot compute suffix of object files: cannot compile
4187 See \`config.log' for more details" "$LINENO" 5; }
4189 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4192 $as_echo "$ac_cv_objext" >&6; }
4193 OBJEXT=$ac_cv_objext
4194 ac_objext=$OBJEXT
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4196 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4197 if ${ac_cv_c_compiler_gnu+:} false; then :
4198 $as_echo_n "(cached) " >&6
4199 else
4200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4204 main ()
4206 #ifndef __GNUC__
4207 choke me
4208 #endif
4211 return 0;
4213 _ACEOF
4214 if ac_fn_c_try_compile "$LINENO"; then :
4215 ac_compiler_gnu=yes
4216 else
4217 ac_compiler_gnu=no
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4224 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4225 if test $ac_compiler_gnu = yes; then
4226 GCC=yes
4227 else
4228 GCC=
4230 ac_test_CFLAGS=${CFLAGS+set}
4231 ac_save_CFLAGS=$CFLAGS
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4233 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4234 if ${ac_cv_prog_cc_g+:} false; then :
4235 $as_echo_n "(cached) " >&6
4236 else
4237 ac_save_c_werror_flag=$ac_c_werror_flag
4238 ac_c_werror_flag=yes
4239 ac_cv_prog_cc_g=no
4240 CFLAGS="-g"
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4245 main ()
4249 return 0;
4251 _ACEOF
4252 if ac_fn_c_try_compile "$LINENO"; then :
4253 ac_cv_prog_cc_g=yes
4254 else
4255 CFLAGS=""
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4260 main ()
4264 return 0;
4266 _ACEOF
4267 if ac_fn_c_try_compile "$LINENO"; then :
4269 else
4270 ac_c_werror_flag=$ac_save_c_werror_flag
4271 CFLAGS="-g"
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4276 main ()
4280 return 0;
4282 _ACEOF
4283 if ac_fn_c_try_compile "$LINENO"; then :
4284 ac_cv_prog_cc_g=yes
4286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4291 ac_c_werror_flag=$ac_save_c_werror_flag
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4294 $as_echo "$ac_cv_prog_cc_g" >&6; }
4295 if test "$ac_test_CFLAGS" = set; then
4296 CFLAGS=$ac_save_CFLAGS
4297 elif test $ac_cv_prog_cc_g = yes; then
4298 if test "$GCC" = yes; then
4299 CFLAGS="-g -O2"
4300 else
4301 CFLAGS="-g"
4303 else
4304 if test "$GCC" = yes; then
4305 CFLAGS="-O2"
4306 else
4307 CFLAGS=
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4311 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4312 if ${ac_cv_prog_cc_c89+:} false; then :
4313 $as_echo_n "(cached) " >&6
4314 else
4315 ac_cv_prog_cc_c89=no
4316 ac_save_CC=$CC
4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4318 /* end confdefs.h. */
4319 #include <stdarg.h>
4320 #include <stdio.h>
4321 struct stat;
4322 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4323 struct buf { int x; };
4324 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4325 static char *e (p, i)
4326 char **p;
4327 int i;
4329 return p[i];
4331 static char *f (char * (*g) (char **, int), char **p, ...)
4333 char *s;
4334 va_list v;
4335 va_start (v,p);
4336 s = g (p, va_arg (v,int));
4337 va_end (v);
4338 return s;
4341 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4342 function prototypes and stuff, but not '\xHH' hex character constants.
4343 These don't provoke an error unfortunately, instead are silently treated
4344 as 'x'. The following induces an error, until -std is added to get
4345 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4346 array size at least. It's necessary to write '\x00'==0 to get something
4347 that's true only with -std. */
4348 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4350 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4351 inside strings and character constants. */
4352 #define FOO(x) 'x'
4353 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4355 int test (int i, double x);
4356 struct s1 {int (*f) (int a);};
4357 struct s2 {int (*f) (double a);};
4358 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4359 int argc;
4360 char **argv;
4362 main ()
4364 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4366 return 0;
4368 _ACEOF
4369 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4370 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4372 CC="$ac_save_CC $ac_arg"
4373 if ac_fn_c_try_compile "$LINENO"; then :
4374 ac_cv_prog_cc_c89=$ac_arg
4376 rm -f core conftest.err conftest.$ac_objext
4377 test "x$ac_cv_prog_cc_c89" != "xno" && break
4378 done
4379 rm -f conftest.$ac_ext
4380 CC=$ac_save_CC
4383 # AC_CACHE_VAL
4384 case "x$ac_cv_prog_cc_c89" in
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4387 $as_echo "none needed" >&6; } ;;
4388 xno)
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4390 $as_echo "unsupported" >&6; } ;;
4392 CC="$CC $ac_cv_prog_cc_c89"
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4394 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4395 esac
4396 if test "x$ac_cv_prog_cc_c89" != xno; then :
4400 ac_ext=c
4401 ac_cpp='$CPP $CPPFLAGS'
4402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4406 ac_ext=cpp
4407 ac_cpp='$CXXCPP $CPPFLAGS'
4408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4411 if test -z "$CXX"; then
4412 if test -n "$CCC"; then
4413 CXX=$CCC
4414 else
4415 if test -n "$ac_tool_prefix"; then
4416 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4418 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4419 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4421 $as_echo_n "checking for $ac_word... " >&6; }
4422 if ${ac_cv_prog_CXX+:} false; then :
4423 $as_echo_n "(cached) " >&6
4424 else
4425 if test -n "$CXX"; then
4426 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4427 else
4428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4429 for as_dir in $PATH
4431 IFS=$as_save_IFS
4432 test -z "$as_dir" && as_dir=.
4433 for ac_exec_ext in '' $ac_executable_extensions; do
4434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4435 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4437 break 2
4439 done
4440 done
4441 IFS=$as_save_IFS
4445 CXX=$ac_cv_prog_CXX
4446 if test -n "$CXX"; then
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4448 $as_echo "$CXX" >&6; }
4449 else
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451 $as_echo "no" >&6; }
4455 test -n "$CXX" && break
4456 done
4458 if test -z "$CXX"; then
4459 ac_ct_CXX=$CXX
4460 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4462 # Extract the first word of "$ac_prog", so it can be a program name with args.
4463 set dummy $ac_prog; ac_word=$2
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4465 $as_echo_n "checking for $ac_word... " >&6; }
4466 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 if test -n "$ac_ct_CXX"; then
4470 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4471 else
4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4473 for as_dir in $PATH
4475 IFS=$as_save_IFS
4476 test -z "$as_dir" && as_dir=.
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4479 ac_cv_prog_ac_ct_CXX="$ac_prog"
4480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 break 2
4483 done
4484 done
4485 IFS=$as_save_IFS
4489 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4490 if test -n "$ac_ct_CXX"; then
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4492 $as_echo "$ac_ct_CXX" >&6; }
4493 else
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4495 $as_echo "no" >&6; }
4499 test -n "$ac_ct_CXX" && break
4500 done
4502 if test "x$ac_ct_CXX" = x; then
4503 CXX="g++"
4504 else
4505 case $cross_compiling:$ac_tool_warned in
4506 yes:)
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4509 ac_tool_warned=yes ;;
4510 esac
4511 CXX=$ac_ct_CXX
4517 # Provide some information about the compiler.
4518 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4519 set X $ac_compile
4520 ac_compiler=$2
4521 for ac_option in --version -v -V -qversion; do
4522 { { ac_try="$ac_compiler $ac_option >&5"
4523 case "(($ac_try" in
4524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4525 *) ac_try_echo=$ac_try;;
4526 esac
4527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4528 $as_echo "$ac_try_echo"; } >&5
4529 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4530 ac_status=$?
4531 if test -s conftest.err; then
4532 sed '10a\
4533 ... rest of stderr output deleted ...
4534 10q' conftest.err >conftest.er1
4535 cat conftest.er1 >&5
4537 rm -f conftest.er1 conftest.err
4538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4539 test $ac_status = 0; }
4540 done
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4543 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4544 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4545 $as_echo_n "(cached) " >&6
4546 else
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4551 main ()
4553 #ifndef __GNUC__
4554 choke me
4555 #endif
4558 return 0;
4560 _ACEOF
4561 if ac_fn_cxx_try_compile "$LINENO"; then :
4562 ac_compiler_gnu=yes
4563 else
4564 ac_compiler_gnu=no
4566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4567 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4571 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4572 if test $ac_compiler_gnu = yes; then
4573 GXX=yes
4574 else
4575 GXX=
4577 ac_test_CXXFLAGS=${CXXFLAGS+set}
4578 ac_save_CXXFLAGS=$CXXFLAGS
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4580 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4581 if ${ac_cv_prog_cxx_g+:} false; then :
4582 $as_echo_n "(cached) " >&6
4583 else
4584 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4585 ac_cxx_werror_flag=yes
4586 ac_cv_prog_cxx_g=no
4587 CXXFLAGS="-g"
4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4592 main ()
4596 return 0;
4598 _ACEOF
4599 if ac_fn_cxx_try_compile "$LINENO"; then :
4600 ac_cv_prog_cxx_g=yes
4601 else
4602 CXXFLAGS=""
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4607 main ()
4611 return 0;
4613 _ACEOF
4614 if ac_fn_cxx_try_compile "$LINENO"; then :
4616 else
4617 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4618 CXXFLAGS="-g"
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4623 main ()
4627 return 0;
4629 _ACEOF
4630 if ac_fn_cxx_try_compile "$LINENO"; then :
4631 ac_cv_prog_cxx_g=yes
4633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4638 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4641 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4642 if test "$ac_test_CXXFLAGS" = set; then
4643 CXXFLAGS=$ac_save_CXXFLAGS
4644 elif test $ac_cv_prog_cxx_g = yes; then
4645 if test "$GXX" = yes; then
4646 CXXFLAGS="-g -O2"
4647 else
4648 CXXFLAGS="-g"
4650 else
4651 if test "$GXX" = yes; then
4652 CXXFLAGS="-O2"
4653 else
4654 CXXFLAGS=
4657 ac_ext=c
4658 ac_cpp='$CPP $CPPFLAGS'
4659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4663 if test -n "$ac_tool_prefix"; then
4664 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4665 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4667 $as_echo_n "checking for $ac_word... " >&6; }
4668 if ${ac_cv_prog_CPPBIN+:} false; then :
4669 $as_echo_n "(cached) " >&6
4670 else
4671 if test -n "$CPPBIN"; then
4672 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4673 else
4674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4675 for as_dir in $PATH
4677 IFS=$as_save_IFS
4678 test -z "$as_dir" && as_dir=.
4679 for ac_exec_ext in '' $ac_executable_extensions; do
4680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4681 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 break 2
4685 done
4686 done
4687 IFS=$as_save_IFS
4691 CPPBIN=$ac_cv_prog_CPPBIN
4692 if test -n "$CPPBIN"; then
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4694 $as_echo "$CPPBIN" >&6; }
4695 else
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697 $as_echo "no" >&6; }
4702 if test -z "$ac_cv_prog_CPPBIN"; then
4703 ac_ct_CPPBIN=$CPPBIN
4704 # Extract the first word of "cpp", so it can be a program name with args.
4705 set dummy cpp; ac_word=$2
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707 $as_echo_n "checking for $ac_word... " >&6; }
4708 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4709 $as_echo_n "(cached) " >&6
4710 else
4711 if test -n "$ac_ct_CPPBIN"; then
4712 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4713 else
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 for as_dir in $PATH
4717 IFS=$as_save_IFS
4718 test -z "$as_dir" && as_dir=.
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4721 ac_cv_prog_ac_ct_CPPBIN="cpp"
4722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 break 2
4725 done
4726 done
4727 IFS=$as_save_IFS
4731 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4732 if test -n "$ac_ct_CPPBIN"; then
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4734 $as_echo "$ac_ct_CPPBIN" >&6; }
4735 else
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737 $as_echo "no" >&6; }
4740 if test "x$ac_ct_CPPBIN" = x; then
4741 CPPBIN="cpp"
4742 else
4743 case $cross_compiling:$ac_tool_warned in
4744 yes:)
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4747 ac_tool_warned=yes ;;
4748 esac
4749 CPPBIN=$ac_ct_CPPBIN
4751 else
4752 CPPBIN="$ac_cv_prog_CPPBIN"
4756 cat >>confdefs.h <<_ACEOF
4757 #define EXEEXT "$ac_exeext"
4758 _ACEOF
4760 if test -n "$ac_tool_prefix"; then
4761 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4762 set dummy ${ac_tool_prefix}ld; ac_word=$2
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4764 $as_echo_n "checking for $ac_word... " >&6; }
4765 if ${ac_cv_prog_LD+:} false; then :
4766 $as_echo_n "(cached) " >&6
4767 else
4768 if test -n "$LD"; then
4769 ac_cv_prog_LD="$LD" # Let the user override the test.
4770 else
4771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772 for as_dir in $PATH
4774 IFS=$as_save_IFS
4775 test -z "$as_dir" && as_dir=.
4776 for ac_exec_ext in '' $ac_executable_extensions; do
4777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4778 ac_cv_prog_LD="${ac_tool_prefix}ld"
4779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4780 break 2
4782 done
4783 done
4784 IFS=$as_save_IFS
4788 LD=$ac_cv_prog_LD
4789 if test -n "$LD"; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4791 $as_echo "$LD" >&6; }
4792 else
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794 $as_echo "no" >&6; }
4799 if test -z "$ac_cv_prog_LD"; then
4800 ac_ct_LD=$LD
4801 # Extract the first word of "ld", so it can be a program name with args.
4802 set dummy ld; ac_word=$2
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4804 $as_echo_n "checking for $ac_word... " >&6; }
4805 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4806 $as_echo_n "(cached) " >&6
4807 else
4808 if test -n "$ac_ct_LD"; then
4809 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4810 else
4811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812 for as_dir in $PATH
4814 IFS=$as_save_IFS
4815 test -z "$as_dir" && as_dir=.
4816 for ac_exec_ext in '' $ac_executable_extensions; do
4817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4818 ac_cv_prog_ac_ct_LD="ld"
4819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4820 break 2
4822 done
4823 done
4824 IFS=$as_save_IFS
4828 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4829 if test -n "$ac_ct_LD"; then
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4831 $as_echo "$ac_ct_LD" >&6; }
4832 else
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4834 $as_echo "no" >&6; }
4837 if test "x$ac_ct_LD" = x; then
4838 LD=""
4839 else
4840 case $cross_compiling:$ac_tool_warned in
4841 yes:)
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4844 ac_tool_warned=yes ;;
4845 esac
4846 LD=$ac_ct_LD
4848 else
4849 LD="$ac_cv_prog_LD"
4853 case $host in
4854 *-darwin*)
4855 if test "x$enable_win64" = "xyes"
4856 then
4857 CC="$CC -m64"
4858 CXX="$CXX -m64"
4859 host_cpu="x86_64"
4860 notice_platform="64-bit "
4861 TARGETFLAGS="-m64"
4863 else
4864 CC="$CC -m32"
4865 CXX="$CXX -m32"
4866 host_cpu="i386"
4867 notice_platform="32-bit "
4868 TARGETFLAGS="-m32"
4870 enable_win16=${enable_win16:-yes}
4872 with_fontconfig=${with_fontconfig:-no}
4874 x86_64*|amd64*)
4875 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4876 then
4877 CC="$CC -m32"
4878 CXX="$CXX -m32"
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4880 $as_echo_n "checking whether $CC works... " >&6; }
4882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h. */
4886 main ()
4890 return 0;
4892 _ACEOF
4893 if ac_fn_c_try_link "$LINENO"; then :
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4895 $as_echo "yes" >&6; }
4896 else
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4899 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4901 rm -f core conftest.err conftest.$ac_objext \
4902 conftest$ac_exeext conftest.$ac_ext
4903 host_cpu="i386"
4904 notice_platform="32-bit "
4905 TARGETFLAGS="-m32"
4907 enable_win16=${enable_win16:-yes}
4908 else
4909 if test "x${GCC}" = "xyes"
4910 then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4912 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4915 #include <stdarg.h>
4917 main ()
4919 void func(__builtin_ms_va_list *args);
4921 return 0;
4923 _ACEOF
4924 if ac_fn_c_try_compile "$LINENO"; then :
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4926 $as_echo "yes" >&6; }
4927 else
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4930 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4934 host_cpu="x86_64"
4935 TARGETFLAGS="-m64"
4939 arm*)
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4941 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4943 /* end confdefs.h. */
4944 int ac_test(int i) { return i; }
4946 main ()
4948 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4950 return 0;
4952 _ACEOF
4953 if ac_fn_c_try_link "$LINENO"; then :
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4955 $as_echo "yes" >&6; }
4956 else
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4959 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4961 rm -f core conftest.err conftest.$ac_objext \
4962 conftest$ac_exeext conftest.$ac_ext
4963 CFLAGS="$CFLAGS -marm"
4964 TARGETFLAGS="-marm"
4967 *-mingw32*|*-cygwin*)
4968 enable_win16=${enable_win16:-no}
4969 CFLAGS="$CFLAGS -D_WIN32"
4971 i[3456789]86*)
4972 enable_win16=${enable_win16:-yes}
4974 esac
4976 enable_win16=${enable_win16:-no}
4977 enable_win64=${enable_win64:-no}
4979 enable_winetest=${enable_winetest:-$enable_tests}
4981 if test -n "$with_wine64"
4982 then
4983 if test "x$enable_win64" = "xyes"
4984 then
4985 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4986 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4988 enable_fonts=${enable_fonts:-no}
4989 enable_server=${enable_server:-no}
4990 elif test "x$enable_win64" = "xyes"
4991 then
4992 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4996 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4997 if ${wine_cv_toolsdir+:} false; then :
4998 $as_echo_n "(cached) " >&6
4999 else
5000 wine_cv_toolsdir="$with_wine_tools"
5001 if test -z "$with_wine_tools"; then
5002 if test "$cross_compiling" = "yes"; then
5003 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5004 elif test -n "$with_wine64"; then
5005 wine_cv_toolsdir="$with_wine64"
5008 if test -z "$wine_cv_toolsdir"; then
5009 wine_makedep=tools/makedep
5010 wine_cv_toolsdir="\$(top_builddir)"
5011 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5012 wine_makedep=$wine_cv_toolsdir/tools/makedep
5013 case "$wine_cv_toolsdir" in
5014 /*) ;;
5015 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5016 esac
5017 enable_tools=${enable_tools:-no}
5018 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5019 else
5020 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5024 $as_echo "$wine_cv_toolsdir" >&6; }
5025 TOOLSDIR=$wine_cv_toolsdir
5027 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5028 then
5029 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5033 for ac_prog in flex
5035 # Extract the first word of "$ac_prog", so it can be a program name with args.
5036 set dummy $ac_prog; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_FLEX+:} false; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 if test -n "$FLEX"; then
5043 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5048 IFS=$as_save_IFS
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_FLEX="$ac_prog"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 break 2
5056 done
5057 done
5058 IFS=$as_save_IFS
5062 FLEX=$ac_cv_prog_FLEX
5063 if test -n "$FLEX"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5065 $as_echo "$FLEX" >&6; }
5066 else
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5072 test -n "$FLEX" && break
5073 done
5074 test -n "$FLEX" || FLEX="none"
5076 if test "$FLEX" = "none"
5077 then
5078 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5081 $as_echo_n "checking whether flex is recent enough... " >&6; }
5082 cat >conftest.l <<EOF
5083 %top{
5084 #include "prediluvian.h"
5088 if $FLEX -t conftest.l >/dev/null 2>&5
5089 then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5091 $as_echo "yes" >&6; }
5092 else
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5095 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5098 for ac_prog in bison
5100 # Extract the first word of "$ac_prog", so it can be a program name with args.
5101 set dummy $ac_prog; ac_word=$2
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 $as_echo_n "checking for $ac_word... " >&6; }
5104 if ${ac_cv_prog_BISON+:} false; then :
5105 $as_echo_n "(cached) " >&6
5106 else
5107 if test -n "$BISON"; then
5108 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5109 else
5110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111 for as_dir in $PATH
5113 IFS=$as_save_IFS
5114 test -z "$as_dir" && as_dir=.
5115 for ac_exec_ext in '' $ac_executable_extensions; do
5116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5117 ac_cv_prog_BISON="$ac_prog"
5118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5119 break 2
5121 done
5122 done
5123 IFS=$as_save_IFS
5127 BISON=$ac_cv_prog_BISON
5128 if test -n "$BISON"; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5130 $as_echo "$BISON" >&6; }
5131 else
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5137 test -n "$BISON" && break
5138 done
5139 test -n "$BISON" || BISON="none"
5141 if test "$BISON" = "none"
5142 then
5143 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5146 if test -n "$ac_tool_prefix"; then
5147 for ac_prog in ar gar
5149 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5150 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5152 $as_echo_n "checking for $ac_word... " >&6; }
5153 if ${ac_cv_prog_AR+:} false; then :
5154 $as_echo_n "(cached) " >&6
5155 else
5156 if test -n "$AR"; then
5157 ac_cv_prog_AR="$AR" # Let the user override the test.
5158 else
5159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5160 for as_dir in $PATH
5162 IFS=$as_save_IFS
5163 test -z "$as_dir" && as_dir=.
5164 for ac_exec_ext in '' $ac_executable_extensions; do
5165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5166 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5168 break 2
5170 done
5171 done
5172 IFS=$as_save_IFS
5176 AR=$ac_cv_prog_AR
5177 if test -n "$AR"; then
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5179 $as_echo "$AR" >&6; }
5180 else
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 $as_echo "no" >&6; }
5186 test -n "$AR" && break
5187 done
5189 if test -z "$AR"; then
5190 ac_ct_AR=$AR
5191 for ac_prog in ar gar
5193 # Extract the first word of "$ac_prog", so it can be a program name with args.
5194 set dummy $ac_prog; ac_word=$2
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196 $as_echo_n "checking for $ac_word... " >&6; }
5197 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5198 $as_echo_n "(cached) " >&6
5199 else
5200 if test -n "$ac_ct_AR"; then
5201 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5202 else
5203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5204 for as_dir in $PATH
5206 IFS=$as_save_IFS
5207 test -z "$as_dir" && as_dir=.
5208 for ac_exec_ext in '' $ac_executable_extensions; do
5209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5210 ac_cv_prog_ac_ct_AR="$ac_prog"
5211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 break 2
5214 done
5215 done
5216 IFS=$as_save_IFS
5220 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5221 if test -n "$ac_ct_AR"; then
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5223 $as_echo "$ac_ct_AR" >&6; }
5224 else
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5230 test -n "$ac_ct_AR" && break
5231 done
5233 if test "x$ac_ct_AR" = x; then
5234 AR="ar"
5235 else
5236 case $cross_compiling:$ac_tool_warned in
5237 yes:)
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5240 ac_tool_warned=yes ;;
5241 esac
5242 AR=$ac_ct_AR
5246 if test -n "$ac_tool_prefix"; then
5247 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5248 set dummy ${ac_tool_prefix}strip; ac_word=$2
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250 $as_echo_n "checking for $ac_word... " >&6; }
5251 if ${ac_cv_prog_STRIP+:} false; then :
5252 $as_echo_n "(cached) " >&6
5253 else
5254 if test -n "$STRIP"; then
5255 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5256 else
5257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258 for as_dir in $PATH
5260 IFS=$as_save_IFS
5261 test -z "$as_dir" && as_dir=.
5262 for ac_exec_ext in '' $ac_executable_extensions; do
5263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5264 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 break 2
5268 done
5269 done
5270 IFS=$as_save_IFS
5274 STRIP=$ac_cv_prog_STRIP
5275 if test -n "$STRIP"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5277 $as_echo "$STRIP" >&6; }
5278 else
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }
5285 if test -z "$ac_cv_prog_STRIP"; then
5286 ac_ct_STRIP=$STRIP
5287 # Extract the first word of "strip", so it can be a program name with args.
5288 set dummy strip; ac_word=$2
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5290 $as_echo_n "checking for $ac_word... " >&6; }
5291 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5292 $as_echo_n "(cached) " >&6
5293 else
5294 if test -n "$ac_ct_STRIP"; then
5295 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5296 else
5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298 for as_dir in $PATH
5300 IFS=$as_save_IFS
5301 test -z "$as_dir" && as_dir=.
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5304 ac_cv_prog_ac_ct_STRIP="strip"
5305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 break 2
5308 done
5309 done
5310 IFS=$as_save_IFS
5314 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5315 if test -n "$ac_ct_STRIP"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5317 $as_echo "$ac_ct_STRIP" >&6; }
5318 else
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5323 if test "x$ac_ct_STRIP" = x; then
5324 STRIP="strip"
5325 else
5326 case $cross_compiling:$ac_tool_warned in
5327 yes:)
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5330 ac_tool_warned=yes ;;
5331 esac
5332 STRIP=$ac_ct_STRIP
5334 else
5335 STRIP="$ac_cv_prog_STRIP"
5338 ARFLAGS=rc
5340 if test -n "$ac_tool_prefix"; then
5341 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5342 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5344 $as_echo_n "checking for $ac_word... " >&6; }
5345 if ${ac_cv_prog_RANLIB+:} false; then :
5346 $as_echo_n "(cached) " >&6
5347 else
5348 if test -n "$RANLIB"; then
5349 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5350 else
5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 for as_dir in $PATH
5354 IFS=$as_save_IFS
5355 test -z "$as_dir" && as_dir=.
5356 for ac_exec_ext in '' $ac_executable_extensions; do
5357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5358 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 break 2
5362 done
5363 done
5364 IFS=$as_save_IFS
5368 RANLIB=$ac_cv_prog_RANLIB
5369 if test -n "$RANLIB"; then
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5371 $as_echo "$RANLIB" >&6; }
5372 else
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5374 $as_echo "no" >&6; }
5379 if test -z "$ac_cv_prog_RANLIB"; then
5380 ac_ct_RANLIB=$RANLIB
5381 # Extract the first word of "ranlib", so it can be a program name with args.
5382 set dummy ranlib; ac_word=$2
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5384 $as_echo_n "checking for $ac_word... " >&6; }
5385 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5386 $as_echo_n "(cached) " >&6
5387 else
5388 if test -n "$ac_ct_RANLIB"; then
5389 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5390 else
5391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5392 for as_dir in $PATH
5394 IFS=$as_save_IFS
5395 test -z "$as_dir" && as_dir=.
5396 for ac_exec_ext in '' $ac_executable_extensions; do
5397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5398 ac_cv_prog_ac_ct_RANLIB="ranlib"
5399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5400 break 2
5402 done
5403 done
5404 IFS=$as_save_IFS
5408 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5409 if test -n "$ac_ct_RANLIB"; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5411 $as_echo "$ac_ct_RANLIB" >&6; }
5412 else
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5414 $as_echo "no" >&6; }
5417 if test "x$ac_ct_RANLIB" = x; then
5418 RANLIB=":"
5419 else
5420 case $cross_compiling:$ac_tool_warned in
5421 yes:)
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5424 ac_tool_warned=yes ;;
5425 esac
5426 RANLIB=$ac_ct_RANLIB
5428 else
5429 RANLIB="$ac_cv_prog_RANLIB"
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5433 $as_echo_n "checking whether ln -s works... " >&6; }
5434 LN_S=$as_ln_s
5435 if test "$LN_S" = "ln -s"; then
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5437 $as_echo "yes" >&6; }
5438 else
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5440 $as_echo "no, using $LN_S" >&6; }
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5444 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5445 if ${ac_cv_path_GREP+:} false; then :
5446 $as_echo_n "(cached) " >&6
5447 else
5448 if test -z "$GREP"; then
5449 ac_path_GREP_found=false
5450 # Loop through the user's path and test for each of PROGNAME-LIST
5451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5452 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5454 IFS=$as_save_IFS
5455 test -z "$as_dir" && as_dir=.
5456 for ac_prog in grep ggrep; do
5457 for ac_exec_ext in '' $ac_executable_extensions; do
5458 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5459 as_fn_executable_p "$ac_path_GREP" || continue
5460 # Check for GNU ac_path_GREP and select it if it is found.
5461 # Check for GNU $ac_path_GREP
5462 case `"$ac_path_GREP" --version 2>&1` in
5463 *GNU*)
5464 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5466 ac_count=0
5467 $as_echo_n 0123456789 >"conftest.in"
5468 while :
5470 cat "conftest.in" "conftest.in" >"conftest.tmp"
5471 mv "conftest.tmp" "conftest.in"
5472 cp "conftest.in" "conftest.nl"
5473 $as_echo 'GREP' >> "conftest.nl"
5474 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5475 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5476 as_fn_arith $ac_count + 1 && ac_count=$as_val
5477 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5478 # Best one so far, save it but keep looking for a better one
5479 ac_cv_path_GREP="$ac_path_GREP"
5480 ac_path_GREP_max=$ac_count
5482 # 10*(2^10) chars as input seems more than enough
5483 test $ac_count -gt 10 && break
5484 done
5485 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5486 esac
5488 $ac_path_GREP_found && break 3
5489 done
5490 done
5491 done
5492 IFS=$as_save_IFS
5493 if test -z "$ac_cv_path_GREP"; then
5494 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5496 else
5497 ac_cv_path_GREP=$GREP
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5502 $as_echo "$ac_cv_path_GREP" >&6; }
5503 GREP="$ac_cv_path_GREP"
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5507 $as_echo_n "checking for egrep... " >&6; }
5508 if ${ac_cv_path_EGREP+:} false; then :
5509 $as_echo_n "(cached) " >&6
5510 else
5511 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5512 then ac_cv_path_EGREP="$GREP -E"
5513 else
5514 if test -z "$EGREP"; then
5515 ac_path_EGREP_found=false
5516 # Loop through the user's path and test for each of PROGNAME-LIST
5517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5518 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5520 IFS=$as_save_IFS
5521 test -z "$as_dir" && as_dir=.
5522 for ac_prog in egrep; do
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5525 as_fn_executable_p "$ac_path_EGREP" || continue
5526 # Check for GNU ac_path_EGREP and select it if it is found.
5527 # Check for GNU $ac_path_EGREP
5528 case `"$ac_path_EGREP" --version 2>&1` in
5529 *GNU*)
5530 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5532 ac_count=0
5533 $as_echo_n 0123456789 >"conftest.in"
5534 while :
5536 cat "conftest.in" "conftest.in" >"conftest.tmp"
5537 mv "conftest.tmp" "conftest.in"
5538 cp "conftest.in" "conftest.nl"
5539 $as_echo 'EGREP' >> "conftest.nl"
5540 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5541 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5542 as_fn_arith $ac_count + 1 && ac_count=$as_val
5543 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5544 # Best one so far, save it but keep looking for a better one
5545 ac_cv_path_EGREP="$ac_path_EGREP"
5546 ac_path_EGREP_max=$ac_count
5548 # 10*(2^10) chars as input seems more than enough
5549 test $ac_count -gt 10 && break
5550 done
5551 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5552 esac
5554 $ac_path_EGREP_found && break 3
5555 done
5556 done
5557 done
5558 IFS=$as_save_IFS
5559 if test -z "$ac_cv_path_EGREP"; then
5560 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5562 else
5563 ac_cv_path_EGREP=$EGREP
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5569 $as_echo "$ac_cv_path_EGREP" >&6; }
5570 EGREP="$ac_cv_path_EGREP"
5573 # Extract the first word of "ldconfig", so it can be a program name with args.
5574 set dummy ldconfig; ac_word=$2
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5576 $as_echo_n "checking for $ac_word... " >&6; }
5577 if ${ac_cv_path_LDCONFIG+:} false; then :
5578 $as_echo_n "(cached) " >&6
5579 else
5580 case $LDCONFIG in
5581 [\\/]* | ?:[\\/]*)
5582 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5586 for as_dir in /sbin /usr/sbin $PATH
5588 IFS=$as_save_IFS
5589 test -z "$as_dir" && as_dir=.
5590 for ac_exec_ext in '' $ac_executable_extensions; do
5591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5592 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5594 break 2
5596 done
5597 done
5598 IFS=$as_save_IFS
5600 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5602 esac
5604 LDCONFIG=$ac_cv_path_LDCONFIG
5605 if test -n "$LDCONFIG"; then
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5607 $as_echo "$LDCONFIG" >&6; }
5608 else
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5610 $as_echo "no" >&6; }
5614 for ac_prog in msgfmt
5616 # Extract the first word of "$ac_prog", so it can be a program name with args.
5617 set dummy $ac_prog; ac_word=$2
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5619 $as_echo_n "checking for $ac_word... " >&6; }
5620 if ${ac_cv_prog_MSGFMT+:} false; then :
5621 $as_echo_n "(cached) " >&6
5622 else
5623 if test -n "$MSGFMT"; then
5624 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5625 else
5626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 for as_dir in $PATH
5629 IFS=$as_save_IFS
5630 test -z "$as_dir" && as_dir=.
5631 for ac_exec_ext in '' $ac_executable_extensions; do
5632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5633 ac_cv_prog_MSGFMT="$ac_prog"
5634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5635 break 2
5637 done
5638 done
5639 IFS=$as_save_IFS
5643 MSGFMT=$ac_cv_prog_MSGFMT
5644 if test -n "$MSGFMT"; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5646 $as_echo "$MSGFMT" >&6; }
5647 else
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }
5653 test -n "$MSGFMT" && break
5654 done
5655 test -n "$MSGFMT" || MSGFMT="false"
5657 if ${ac_tool_prefix+:} false; then :
5658 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5659 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5663 $as_echo_n "(cached) " >&6
5664 else
5665 if test -n "$PKG_CONFIG"; then
5666 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5667 else
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669 for as_dir in $PATH
5671 IFS=$as_save_IFS
5672 test -z "$as_dir" && as_dir=.
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5677 break 2
5679 done
5680 done
5681 IFS=$as_save_IFS
5685 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5686 if test -n "$PKG_CONFIG"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5688 $as_echo "$PKG_CONFIG" >&6; }
5689 else
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5696 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5697 if test "x$cross_compiling" = xyes; then :
5699 else
5700 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5701 # Extract the first word of "pkg-config", so it can be a program name with args.
5702 set dummy pkg-config; ac_word=$2
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 $as_echo_n "checking for $ac_word... " >&6; }
5705 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5706 $as_echo_n "(cached) " >&6
5707 else
5708 if test -n "$PKG_CONFIG"; then
5709 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5710 else
5711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712 for as_dir in $PATH
5714 IFS=$as_save_IFS
5715 test -z "$as_dir" && as_dir=.
5716 for ac_exec_ext in '' $ac_executable_extensions; do
5717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5718 ac_cv_prog_PKG_CONFIG="pkg-config"
5719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5720 break 2
5722 done
5723 done
5724 IFS=$as_save_IFS
5728 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5729 if test -n "$PKG_CONFIG"; then
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5731 $as_echo "$PKG_CONFIG" >&6; }
5732 else
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734 $as_echo "no" >&6; }
5739 else
5740 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5743 if test "x$enable_maintainer_mode" != "xyes"
5744 then
5745 FONTFORGE=""
5746 RSVG=""
5747 CONVERT=""
5748 ICOTOOL=""
5749 else
5750 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5751 for ac_prog in fontforge
5753 # Extract the first word of "$ac_prog", so it can be a program name with args.
5754 set dummy $ac_prog; ac_word=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if ${ac_cv_prog_FONTFORGE+:} false; then :
5758 $as_echo_n "(cached) " >&6
5759 else
5760 if test -n "$FONTFORGE"; then
5761 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5762 else
5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 for as_dir in $PATH
5766 IFS=$as_save_IFS
5767 test -z "$as_dir" && as_dir=.
5768 for ac_exec_ext in '' $ac_executable_extensions; do
5769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5770 ac_cv_prog_FONTFORGE="$ac_prog"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 break 2
5774 done
5775 done
5776 IFS=$as_save_IFS
5780 FONTFORGE=$ac_cv_prog_FONTFORGE
5781 if test -n "$FONTFORGE"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5783 $as_echo "$FONTFORGE" >&6; }
5784 else
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5790 test -n "$FONTFORGE" && break
5791 done
5792 test -n "$FONTFORGE" || FONTFORGE="false"
5794 for ac_prog in rsvg-convert rsvg
5796 # Extract the first word of "$ac_prog", so it can be a program name with args.
5797 set dummy $ac_prog; ac_word=$2
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5799 $as_echo_n "checking for $ac_word... " >&6; }
5800 if ${ac_cv_prog_RSVG+:} false; then :
5801 $as_echo_n "(cached) " >&6
5802 else
5803 if test -n "$RSVG"; then
5804 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5805 else
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 for as_dir in $PATH
5809 IFS=$as_save_IFS
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5813 ac_cv_prog_RSVG="$ac_prog"
5814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 break 2
5817 done
5818 done
5819 IFS=$as_save_IFS
5823 RSVG=$ac_cv_prog_RSVG
5824 if test -n "$RSVG"; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5826 $as_echo "$RSVG" >&6; }
5827 else
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5829 $as_echo "no" >&6; }
5833 test -n "$RSVG" && break
5834 done
5835 test -n "$RSVG" || RSVG="false"
5837 for ac_prog in convert
5839 # Extract the first word of "$ac_prog", so it can be a program name with args.
5840 set dummy $ac_prog; ac_word=$2
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5842 $as_echo_n "checking for $ac_word... " >&6; }
5843 if ${ac_cv_prog_CONVERT+:} false; then :
5844 $as_echo_n "(cached) " >&6
5845 else
5846 if test -n "$CONVERT"; then
5847 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5848 else
5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5850 for as_dir in $PATH
5852 IFS=$as_save_IFS
5853 test -z "$as_dir" && as_dir=.
5854 for ac_exec_ext in '' $ac_executable_extensions; do
5855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5856 ac_cv_prog_CONVERT="$ac_prog"
5857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5858 break 2
5860 done
5861 done
5862 IFS=$as_save_IFS
5866 CONVERT=$ac_cv_prog_CONVERT
5867 if test -n "$CONVERT"; then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5869 $as_echo "$CONVERT" >&6; }
5870 else
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872 $as_echo "no" >&6; }
5876 test -n "$CONVERT" && break
5877 done
5878 test -n "$CONVERT" || CONVERT="false"
5880 for ac_prog in icotool
5882 # Extract the first word of "$ac_prog", so it can be a program name with args.
5883 set dummy $ac_prog; ac_word=$2
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5885 $as_echo_n "checking for $ac_word... " >&6; }
5886 if ${ac_cv_prog_ICOTOOL+:} false; then :
5887 $as_echo_n "(cached) " >&6
5888 else
5889 if test -n "$ICOTOOL"; then
5890 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5891 else
5892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5893 for as_dir in $PATH
5895 IFS=$as_save_IFS
5896 test -z "$as_dir" && as_dir=.
5897 for ac_exec_ext in '' $ac_executable_extensions; do
5898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5899 ac_cv_prog_ICOTOOL="$ac_prog"
5900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5901 break 2
5903 done
5904 done
5905 IFS=$as_save_IFS
5909 ICOTOOL=$ac_cv_prog_ICOTOOL
5910 if test -n "$ICOTOOL"; then
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5912 $as_echo "$ICOTOOL" >&6; }
5913 else
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5915 $as_echo "no" >&6; }
5919 test -n "$ICOTOOL" && break
5920 done
5921 test -n "$ICOTOOL" || ICOTOOL="false"
5923 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5924 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5926 if test "$CONVERT" = false
5927 then
5928 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5929 else
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5931 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5932 convert_version=`convert --version | head -n1`
5933 if test "x$convert_version" != "x"
5934 then
5935 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5936 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5937 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5938 then
5939 CONVERT=false
5942 if test "$CONVERT" = false
5943 then
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5945 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5946 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5947 else
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5949 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5953 if test "$ICOTOOL" = false
5954 then
5955 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5956 else
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5958 $as_echo_n "checking for recent enough icotool... " >&6; }
5959 icotool_version=`icotool --version | head -n1`
5960 if test "x$icotool_version" != "x"
5961 then
5962 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5963 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5964 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5965 then
5966 ICOTOOL=false
5967 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5970 if test "$ICOTOOL" = false
5971 then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5973 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5974 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5975 else
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5977 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5981 with_gettext=yes
5982 with_gettextpo=yes
5983 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5986 test "x$with_gettext" != xno || MSGFMT=false
5987 if test "$MSGFMT" != "false"
5988 then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5990 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5991 cat >conftest.po <<EOF
5992 # comment
5993 msgctxt "ctxt"
5994 msgid "id"
5995 msgstr "str"
5997 if $MSGFMT -o /dev/null conftest.po 2>&5
5998 then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6000 $as_echo "yes" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 $as_echo "no" >&6; }
6004 MSGFMT=false
6007 if test "$MSGFMT" = false; then :
6008 case "x$with_gettext" in
6009 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6010 xno) ;;
6011 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6012 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6013 esac
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6018 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6019 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6020 $as_echo_n "(cached) " >&6
6021 else
6022 ac_check_lib_save_LIBS=$LIBS
6023 LIBS="-li386 $LIBS"
6024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6025 /* end confdefs.h. */
6027 /* Override any GCC internal prototype to avoid an error.
6028 Use char because int might match the return type of a GCC
6029 builtin and then its argument prototype would still apply. */
6030 #ifdef __cplusplus
6031 extern "C"
6032 #endif
6033 char i386_set_ldt ();
6035 main ()
6037 return i386_set_ldt ();
6039 return 0;
6041 _ACEOF
6042 if ac_fn_c_try_link "$LINENO"; then :
6043 ac_cv_lib_i386_i386_set_ldt=yes
6044 else
6045 ac_cv_lib_i386_i386_set_ldt=no
6047 rm -f core conftest.err conftest.$ac_objext \
6048 conftest$ac_exeext conftest.$ac_ext
6049 LIBS=$ac_check_lib_save_LIBS
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6052 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6053 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6054 cat >>confdefs.h <<_ACEOF
6055 #define HAVE_LIBI386 1
6056 _ACEOF
6058 LIBS="-li386 $LIBS"
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6063 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6064 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6065 $as_echo_n "(cached) " >&6
6066 else
6067 ac_check_lib_save_LIBS=$LIBS
6068 LIBS="-lossaudio $LIBS"
6069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6070 /* end confdefs.h. */
6072 /* Override any GCC internal prototype to avoid an error.
6073 Use char because int might match the return type of a GCC
6074 builtin and then its argument prototype would still apply. */
6075 #ifdef __cplusplus
6076 extern "C"
6077 #endif
6078 char _oss_ioctl ();
6080 main ()
6082 return _oss_ioctl ();
6084 return 0;
6086 _ACEOF
6087 if ac_fn_c_try_link "$LINENO"; then :
6088 ac_cv_lib_ossaudio__oss_ioctl=yes
6089 else
6090 ac_cv_lib_ossaudio__oss_ioctl=no
6092 rm -f core conftest.err conftest.$ac_objext \
6093 conftest$ac_exeext conftest.$ac_ext
6094 LIBS=$ac_check_lib_save_LIBS
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6097 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6098 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6099 cat >>confdefs.h <<_ACEOF
6100 #define HAVE_LIBOSSAUDIO 1
6101 _ACEOF
6103 LIBS="-lossaudio $LIBS"
6108 OPENGL_LIBS=""
6112 # Check whether --enable-largefile was given.
6113 if test "${enable_largefile+set}" = set; then :
6114 enableval=$enable_largefile;
6117 if test "$enable_largefile" != no; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6120 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6121 if ${ac_cv_sys_largefile_CC+:} false; then :
6122 $as_echo_n "(cached) " >&6
6123 else
6124 ac_cv_sys_largefile_CC=no
6125 if test "$GCC" != yes; then
6126 ac_save_CC=$CC
6127 while :; do
6128 # IRIX 6.2 and later do not support large files by default,
6129 # so use the C compiler's -n32 option if that helps.
6130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6131 /* end confdefs.h. */
6132 #include <sys/types.h>
6133 /* Check that off_t can represent 2**63 - 1 correctly.
6134 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6135 since some C++ compilers masquerading as C compilers
6136 incorrectly reject 9223372036854775807. */
6137 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6138 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6139 && LARGE_OFF_T % 2147483647 == 1)
6140 ? 1 : -1];
6142 main ()
6146 return 0;
6148 _ACEOF
6149 if ac_fn_c_try_compile "$LINENO"; then :
6150 break
6152 rm -f core conftest.err conftest.$ac_objext
6153 CC="$CC -n32"
6154 if ac_fn_c_try_compile "$LINENO"; then :
6155 ac_cv_sys_largefile_CC=' -n32'; break
6157 rm -f core conftest.err conftest.$ac_objext
6158 break
6159 done
6160 CC=$ac_save_CC
6161 rm -f conftest.$ac_ext
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6165 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6166 if test "$ac_cv_sys_largefile_CC" != no; then
6167 CC=$CC$ac_cv_sys_largefile_CC
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6171 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6172 if ${ac_cv_sys_file_offset_bits+:} false; then :
6173 $as_echo_n "(cached) " >&6
6174 else
6175 while :; do
6176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6177 /* end confdefs.h. */
6178 #include <sys/types.h>
6179 /* Check that off_t can represent 2**63 - 1 correctly.
6180 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6181 since some C++ compilers masquerading as C compilers
6182 incorrectly reject 9223372036854775807. */
6183 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6184 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6185 && LARGE_OFF_T % 2147483647 == 1)
6186 ? 1 : -1];
6188 main ()
6192 return 0;
6194 _ACEOF
6195 if ac_fn_c_try_compile "$LINENO"; then :
6196 ac_cv_sys_file_offset_bits=no; break
6198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6200 /* end confdefs.h. */
6201 #define _FILE_OFFSET_BITS 64
6202 #include <sys/types.h>
6203 /* Check that off_t can represent 2**63 - 1 correctly.
6204 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6205 since some C++ compilers masquerading as C compilers
6206 incorrectly reject 9223372036854775807. */
6207 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6208 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6209 && LARGE_OFF_T % 2147483647 == 1)
6210 ? 1 : -1];
6212 main ()
6216 return 0;
6218 _ACEOF
6219 if ac_fn_c_try_compile "$LINENO"; then :
6220 ac_cv_sys_file_offset_bits=64; break
6222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6223 ac_cv_sys_file_offset_bits=unknown
6224 break
6225 done
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6228 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6229 case $ac_cv_sys_file_offset_bits in #(
6230 no | unknown) ;;
6232 cat >>confdefs.h <<_ACEOF
6233 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6234 _ACEOF
6236 esac
6237 rm -rf conftest*
6238 if test $ac_cv_sys_file_offset_bits = unknown; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6240 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6241 if ${ac_cv_sys_large_files+:} false; then :
6242 $as_echo_n "(cached) " >&6
6243 else
6244 while :; do
6245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6246 /* end confdefs.h. */
6247 #include <sys/types.h>
6248 /* Check that off_t can represent 2**63 - 1 correctly.
6249 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6250 since some C++ compilers masquerading as C compilers
6251 incorrectly reject 9223372036854775807. */
6252 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6253 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6254 && LARGE_OFF_T % 2147483647 == 1)
6255 ? 1 : -1];
6257 main ()
6261 return 0;
6263 _ACEOF
6264 if ac_fn_c_try_compile "$LINENO"; then :
6265 ac_cv_sys_large_files=no; break
6267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6269 /* end confdefs.h. */
6270 #define _LARGE_FILES 1
6271 #include <sys/types.h>
6272 /* Check that off_t can represent 2**63 - 1 correctly.
6273 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6274 since some C++ compilers masquerading as C compilers
6275 incorrectly reject 9223372036854775807. */
6276 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6277 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6278 && LARGE_OFF_T % 2147483647 == 1)
6279 ? 1 : -1];
6281 main ()
6285 return 0;
6287 _ACEOF
6288 if ac_fn_c_try_compile "$LINENO"; then :
6289 ac_cv_sys_large_files=1; break
6291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6292 ac_cv_sys_large_files=unknown
6293 break
6294 done
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6297 $as_echo "$ac_cv_sys_large_files" >&6; }
6298 case $ac_cv_sys_large_files in #(
6299 no | unknown) ;;
6301 cat >>confdefs.h <<_ACEOF
6302 #define _LARGE_FILES $ac_cv_sys_large_files
6303 _ACEOF
6305 esac
6306 rm -rf conftest*
6313 ac_ext=c
6314 ac_cpp='$CPP $CPPFLAGS'
6315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6319 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6320 # On Suns, sometimes $CPP names a directory.
6321 if test -n "$CPP" && test -d "$CPP"; then
6322 CPP=
6324 if test -z "$CPP"; then
6325 if ${ac_cv_prog_CPP+:} false; then :
6326 $as_echo_n "(cached) " >&6
6327 else
6328 # Double quotes because CPP needs to be expanded
6329 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6331 ac_preproc_ok=false
6332 for ac_c_preproc_warn_flag in '' yes
6334 # Use a header file that comes with gcc, so configuring glibc
6335 # with a fresh cross-compiler works.
6336 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6337 # <limits.h> exists even on freestanding compilers.
6338 # On the NeXT, cc -E runs the code through the compiler's parser,
6339 # not just through cpp. "Syntax error" is here to catch this case.
6340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6342 #ifdef __STDC__
6343 # include <limits.h>
6344 #else
6345 # include <assert.h>
6346 #endif
6347 Syntax error
6348 _ACEOF
6349 if ac_fn_c_try_cpp "$LINENO"; then :
6351 else
6352 # Broken: fails on valid input.
6353 continue
6355 rm -f conftest.err conftest.i conftest.$ac_ext
6357 # OK, works on sane cases. Now check whether nonexistent headers
6358 # can be detected and how.
6359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6361 #include <ac_nonexistent.h>
6362 _ACEOF
6363 if ac_fn_c_try_cpp "$LINENO"; then :
6364 # Broken: success on invalid input.
6365 continue
6366 else
6367 # Passes both tests.
6368 ac_preproc_ok=:
6369 break
6371 rm -f conftest.err conftest.i conftest.$ac_ext
6373 done
6374 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6375 rm -f conftest.i conftest.err conftest.$ac_ext
6376 if $ac_preproc_ok; then :
6377 break
6380 done
6381 ac_cv_prog_CPP=$CPP
6384 CPP=$ac_cv_prog_CPP
6385 else
6386 ac_cv_prog_CPP=$CPP
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6389 $as_echo "$CPP" >&6; }
6390 ac_preproc_ok=false
6391 for ac_c_preproc_warn_flag in '' yes
6393 # Use a header file that comes with gcc, so configuring glibc
6394 # with a fresh cross-compiler works.
6395 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6396 # <limits.h> exists even on freestanding compilers.
6397 # On the NeXT, cc -E runs the code through the compiler's parser,
6398 # not just through cpp. "Syntax error" is here to catch this case.
6399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6401 #ifdef __STDC__
6402 # include <limits.h>
6403 #else
6404 # include <assert.h>
6405 #endif
6406 Syntax error
6407 _ACEOF
6408 if ac_fn_c_try_cpp "$LINENO"; then :
6410 else
6411 # Broken: fails on valid input.
6412 continue
6414 rm -f conftest.err conftest.i conftest.$ac_ext
6416 # OK, works on sane cases. Now check whether nonexistent headers
6417 # can be detected and how.
6418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6419 /* end confdefs.h. */
6420 #include <ac_nonexistent.h>
6421 _ACEOF
6422 if ac_fn_c_try_cpp "$LINENO"; then :
6423 # Broken: success on invalid input.
6424 continue
6425 else
6426 # Passes both tests.
6427 ac_preproc_ok=:
6428 break
6430 rm -f conftest.err conftest.i conftest.$ac_ext
6432 done
6433 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6434 rm -f conftest.i conftest.err conftest.$ac_ext
6435 if $ac_preproc_ok; then :
6437 else
6438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6440 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6441 See \`config.log' for more details" "$LINENO" 5; }
6444 ac_ext=c
6445 ac_cpp='$CPP $CPPFLAGS'
6446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6452 $as_echo_n "checking for ANSI C header files... " >&6; }
6453 if ${ac_cv_header_stdc+:} false; then :
6454 $as_echo_n "(cached) " >&6
6455 else
6456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6457 /* end confdefs.h. */
6458 #include <stdlib.h>
6459 #include <stdarg.h>
6460 #include <string.h>
6461 #include <float.h>
6464 main ()
6468 return 0;
6470 _ACEOF
6471 if ac_fn_c_try_compile "$LINENO"; then :
6472 ac_cv_header_stdc=yes
6473 else
6474 ac_cv_header_stdc=no
6476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6478 if test $ac_cv_header_stdc = yes; then
6479 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6481 /* end confdefs.h. */
6482 #include <string.h>
6484 _ACEOF
6485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6486 $EGREP "memchr" >/dev/null 2>&1; then :
6488 else
6489 ac_cv_header_stdc=no
6491 rm -f conftest*
6495 if test $ac_cv_header_stdc = yes; then
6496 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6498 /* end confdefs.h. */
6499 #include <stdlib.h>
6501 _ACEOF
6502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6503 $EGREP "free" >/dev/null 2>&1; then :
6505 else
6506 ac_cv_header_stdc=no
6508 rm -f conftest*
6512 if test $ac_cv_header_stdc = yes; then
6513 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6514 if test "$cross_compiling" = yes; then :
6516 else
6517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6518 /* end confdefs.h. */
6519 #include <ctype.h>
6520 #include <stdlib.h>
6521 #if ((' ' & 0x0FF) == 0x020)
6522 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6523 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6524 #else
6525 # define ISLOWER(c) \
6526 (('a' <= (c) && (c) <= 'i') \
6527 || ('j' <= (c) && (c) <= 'r') \
6528 || ('s' <= (c) && (c) <= 'z'))
6529 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6530 #endif
6532 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6534 main ()
6536 int i;
6537 for (i = 0; i < 256; i++)
6538 if (XOR (islower (i), ISLOWER (i))
6539 || toupper (i) != TOUPPER (i))
6540 return 2;
6541 return 0;
6543 _ACEOF
6544 if ac_fn_c_try_run "$LINENO"; then :
6546 else
6547 ac_cv_header_stdc=no
6549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6550 conftest.$ac_objext conftest.beam conftest.$ac_ext
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6556 $as_echo "$ac_cv_header_stdc" >&6; }
6557 if test $ac_cv_header_stdc = yes; then
6559 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6563 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6564 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6565 inttypes.h stdint.h unistd.h
6566 do :
6567 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6568 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6570 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6571 cat >>confdefs.h <<_ACEOF
6572 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6573 _ACEOF
6577 done
6580 for ac_header in \
6581 AL/al.h \
6582 ApplicationServices/ApplicationServices.h \
6583 AudioToolbox/AudioConverter.h \
6584 AudioUnit/AudioUnit.h \
6585 AudioUnit/AudioComponent.h \
6586 CL/cl.h \
6587 Carbon/Carbon.h \
6588 CoreAudio/CoreAudio.h \
6589 CoreServices/CoreServices.h \
6590 DiskArbitration/DiskArbitration.h \
6591 IOKit/IOKitLib.h \
6592 IOKit/hid/IOHIDLib.h \
6593 OpenAL/al.h \
6594 OpenCL/opencl.h \
6595 QuickTime/ImageCompression.h \
6596 Security/Security.h \
6597 alias.h \
6598 alsa/asoundlib.h \
6599 arpa/inet.h \
6600 arpa/nameser.h \
6601 asm/types.h \
6602 asm/user.h \
6603 curses.h \
6604 direct.h \
6605 dirent.h \
6606 dlfcn.h \
6607 elf.h \
6608 float.h \
6609 fnmatch.h \
6610 getopt.h \
6611 gettext-po.h \
6612 grp.h \
6613 gsm.h \
6614 gsm/gsm.h \
6615 ieeefp.h \
6616 inet/mib2.h \
6617 io.h \
6618 kstat.h \
6619 lber.h \
6620 ldap.h \
6621 libproc.h \
6622 link.h \
6623 linux/cdrom.h \
6624 linux/compiler.h \
6625 linux/filter.h \
6626 linux/hdreg.h \
6627 linux/input.h \
6628 linux/ioctl.h \
6629 linux/joystick.h \
6630 linux/major.h \
6631 linux/param.h \
6632 linux/serial.h \
6633 linux/types.h \
6634 linux/ucdrom.h \
6635 lwp.h \
6636 mach-o/nlist.h \
6637 mach-o/loader.h \
6638 mach/mach.h \
6639 mach/machine.h \
6640 machine/cpu.h \
6641 machine/limits.h \
6642 machine/sysarch.h \
6643 mntent.h \
6644 ncurses.h \
6645 netdb.h \
6646 netinet/in.h \
6647 netinet/in_systm.h \
6648 netinet/tcp.h \
6649 netinet/tcp_fsm.h \
6650 pcap/pcap.h \
6651 poll.h \
6652 port.h \
6653 process.h \
6654 pthread.h \
6655 pwd.h \
6656 sched.h \
6657 scsi/scsi.h \
6658 scsi/scsi_ioctl.h \
6659 scsi/sg.h \
6660 stdbool.h \
6661 stdint.h \
6662 stropts.h \
6663 sys/asoundlib.h \
6664 sys/attr.h \
6665 sys/cdio.h \
6666 sys/elf32.h \
6667 sys/epoll.h \
6668 sys/event.h \
6669 sys/exec_elf.h \
6670 sys/filio.h \
6671 sys/inotify.h \
6672 sys/ioctl.h \
6673 sys/ipc.h \
6674 sys/limits.h \
6675 sys/link.h \
6676 sys/mman.h \
6677 sys/modem.h \
6678 sys/msg.h \
6679 sys/mtio.h \
6680 sys/param.h \
6681 sys/poll.h \
6682 sys/prctl.h \
6683 sys/protosw.h \
6684 sys/ptrace.h \
6685 sys/queue.h \
6686 sys/resource.h \
6687 sys/scsiio.h \
6688 sys/shm.h \
6689 sys/signal.h \
6690 sys/socket.h \
6691 sys/socketvar.h \
6692 sys/sockio.h \
6693 sys/statvfs.h \
6694 sys/strtio.h \
6695 sys/syscall.h \
6696 sys/tihdr.h \
6697 sys/time.h \
6698 sys/timeout.h \
6699 sys/times.h \
6700 sys/uio.h \
6701 sys/user.h \
6702 sys/utsname.h \
6703 sys/vm86.h \
6704 sys/wait.h \
6705 syscall.h \
6706 termios.h \
6707 unistd.h \
6708 utime.h \
6709 valgrind/memcheck.h \
6710 valgrind/valgrind.h \
6711 zlib.h
6713 do :
6714 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6715 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6716 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6717 cat >>confdefs.h <<_ACEOF
6718 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6719 _ACEOF
6723 done
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6726 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6727 if ${ac_cv_header_stat_broken+:} false; then :
6728 $as_echo_n "(cached) " >&6
6729 else
6730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6731 /* end confdefs.h. */
6732 #include <sys/types.h>
6733 #include <sys/stat.h>
6735 #if defined S_ISBLK && defined S_IFDIR
6736 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6737 #endif
6739 #if defined S_ISBLK && defined S_IFCHR
6740 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6741 #endif
6743 #if defined S_ISLNK && defined S_IFREG
6744 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6745 #endif
6747 #if defined S_ISSOCK && defined S_IFREG
6748 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6749 #endif
6751 _ACEOF
6752 if ac_fn_c_try_compile "$LINENO"; then :
6753 ac_cv_header_stat_broken=no
6754 else
6755 ac_cv_header_stat_broken=yes
6757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6760 $as_echo "$ac_cv_header_stat_broken" >&6; }
6761 if test $ac_cv_header_stat_broken = yes; then
6763 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6769 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6770 do :
6771 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6772 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6773 #ifdef HAVE_SYS_PARAM_H
6774 # include <sys/param.h>
6775 #endif
6777 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6778 cat >>confdefs.h <<_ACEOF
6779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6780 _ACEOF
6784 done
6787 for ac_header in \
6788 netinet/ip.h \
6789 net/if.h \
6790 net/if_arp.h \
6791 net/if_dl.h \
6792 net/if_types.h \
6793 net/route.h \
6794 netinet/if_ether.h \
6795 netinet/if_inarp.h \
6796 netinet/in_pcb.h \
6797 netinet/ip_icmp.h \
6798 netinet/ip_var.h \
6799 netinet/udp.h \
6800 netipx/ipx.h \
6801 sys/un.h \
6803 do :
6804 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6805 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6806 #ifdef HAVE_SYS_SOCKET_H
6807 # include <sys/socket.h>
6808 #endif
6809 #ifdef HAVE_SYS_SOCKETVAR_H
6810 # include <sys/socketvar.h>
6811 #endif
6812 #ifdef HAVE_NET_ROUTE_H
6813 # include <net/route.h>
6814 #endif
6815 #ifdef HAVE_NETINET_IN_H
6816 # include <netinet/in.h>
6817 #endif
6818 #ifdef HAVE_NETINET_IN_SYSTM_H
6819 # include <netinet/in_systm.h>
6820 #endif
6821 #ifdef HAVE_NET_IF_H
6822 # include <net/if.h>
6823 #endif
6824 #ifdef HAVE_NETINET_IP_H
6825 # include <netinet/ip.h>
6826 #endif
6828 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6829 cat >>confdefs.h <<_ACEOF
6830 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6831 _ACEOF
6835 done
6838 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6839 do :
6840 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6841 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6842 #ifdef HAVE_ALIAS_H
6843 # include <alias.h>
6844 #endif
6845 #ifdef HAVE_SYS_SOCKET_H
6846 # include <sys/socket.h>
6847 #endif
6848 #ifdef HAVE_SYS_SOCKETVAR_H
6849 # include <sys/socketvar.h>
6850 #endif
6851 #ifdef HAVE_SYS_TIMEOUT_H
6852 # include <sys/timeout.h>
6853 #endif
6854 #ifdef HAVE_NETINET_IN_H
6855 # include <netinet/in.h>
6856 #endif
6857 #ifdef HAVE_NETINET_IN_SYSTM_H
6858 # include <netinet/in_systm.h>
6859 #endif
6860 #ifdef HAVE_NETINET_IP_H
6861 # include <netinet/ip.h>
6862 #endif
6863 #ifdef HAVE_NETINET_IP_VAR_H
6864 # include <netinet/ip_var.h>
6865 #endif
6866 #ifdef HAVE_NETINET_IP_ICMP_H
6867 # include <netinet/ip_icmp.h>
6868 #endif
6869 #ifdef HAVE_NETINET_UDP_H
6870 # include <netinet/udp.h>
6871 #endif
6872 #ifdef HAVE_NETINET_TCP_H
6873 # include <netinet/tcp.h>
6874 #endif
6875 #ifdef HAVE_NETINET_TCP_TIMER_H
6876 #include <netinet/tcp_timer.h>
6877 #endif
6879 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6880 cat >>confdefs.h <<_ACEOF
6881 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6882 _ACEOF
6886 done
6889 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6890 do :
6891 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6892 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6893 #ifdef HAVE_ASM_TYPES_H
6894 # include <asm/types.h>
6895 #endif
6896 #ifdef HAVE_SYS_SOCKET_H
6897 # include <sys/socket.h>
6898 #endif
6899 #ifdef HAVE_LINUX_TYPES_H
6900 # include <linux/types.h>
6901 #endif
6903 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6904 cat >>confdefs.h <<_ACEOF
6905 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6906 _ACEOF
6910 done
6913 for ac_header in mach-o/dyld_images.h
6914 do :
6915 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6916 # include <stdbool.h>
6917 #endif
6918 #ifdef HAVE_STDINT_H
6919 # include <stdint.h>
6920 #endif
6922 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6923 cat >>confdefs.h <<_ACEOF
6924 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6925 _ACEOF
6929 done
6932 for ac_header in resolv.h
6933 do :
6934 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6935 #ifdef HAVE_SYS_SOCKET_H
6936 # include <sys/socket.h>
6937 #endif
6938 #ifdef HAVE_NETINET_IN_H
6939 # include <netinet/in.h>
6940 #endif
6941 #ifdef HAVE_ARPA_NAMESER_H
6942 # include <arpa/nameser.h>
6943 #endif
6945 if test "x$ac_cv_header_resolv_h" = xyes; then :
6946 cat >>confdefs.h <<_ACEOF
6947 #define HAVE_RESOLV_H 1
6948 _ACEOF
6952 done
6955 for ac_header in ifaddrs.h
6956 do :
6957 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6959 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6960 cat >>confdefs.h <<_ACEOF
6961 #define HAVE_IFADDRS_H 1
6962 _ACEOF
6966 done
6969 for ac_header in sys/ucontext.h
6970 do :
6971 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6973 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6974 cat >>confdefs.h <<_ACEOF
6975 #define HAVE_SYS_UCONTEXT_H 1
6976 _ACEOF
6980 done
6983 for ac_header in sys/thr.h
6984 do :
6985 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6986 #ifdef HAVE_SYS_UCONTEXT_H
6987 #include <sys/ucontext.h>
6988 #endif
6990 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6991 cat >>confdefs.h <<_ACEOF
6992 #define HAVE_SYS_THR_H 1
6993 _ACEOF
6997 done
7000 for ac_header in pthread_np.h
7001 do :
7002 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7003 #include <pthread.h>
7004 #endif
7006 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7007 cat >>confdefs.h <<_ACEOF
7008 #define HAVE_PTHREAD_NP_H 1
7009 _ACEOF
7013 done
7016 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7017 do :
7018 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7019 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7020 #include <sys/time.h>
7021 #endif
7022 #include <sys/types.h>
7023 #ifdef HAVE_ASM_TYPES_H
7024 #include <asm/types.h>
7025 #endif
7027 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7028 cat >>confdefs.h <<_ACEOF
7029 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7030 _ACEOF
7034 done
7037 for ac_header in libprocstat.h
7038 do :
7039 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7040 #include <sys/param.h>
7041 #endif
7042 #ifdef HAVE_SYS_QUEUE_H
7043 #include <sys/queue.h>
7044 #endif
7045 #ifdef HAVE_SYS_SOCKET_H
7046 #include <sys/socket.h>
7047 #endif
7049 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7050 cat >>confdefs.h <<_ACEOF
7051 #define HAVE_LIBPROCSTAT_H 1
7052 _ACEOF
7056 done
7060 dlldir="\${libdir}/wine"
7062 DLLPREFIX=""
7064 DLLFLAGS="-D_REENTRANT"
7066 LDRPATH_INSTALL=""
7068 LDRPATH_LOCAL=""
7070 LIBEXT="so"
7071 DLLEXT=".so"
7072 IMPLIBEXT="def"
7073 STATIC_IMPLIBEXT="def.a"
7074 # Extract the first word of "ldd", so it can be a program name with args.
7075 set dummy ldd; ac_word=$2
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7077 $as_echo_n "checking for $ac_word... " >&6; }
7078 if ${ac_cv_path_LDD+:} false; then :
7079 $as_echo_n "(cached) " >&6
7080 else
7081 case $LDD in
7082 [\\/]* | ?:[\\/]*)
7083 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 as_dummy="/sbin:/usr/sbin:$PATH"
7088 for as_dir in $as_dummy
7090 IFS=$as_save_IFS
7091 test -z "$as_dir" && as_dir=.
7092 for ac_exec_ext in '' $ac_executable_extensions; do
7093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7094 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7096 break 2
7098 done
7099 done
7100 IFS=$as_save_IFS
7102 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7104 esac
7106 LDD=$ac_cv_path_LDD
7107 if test -n "$LDD"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7109 $as_echo "$LDD" >&6; }
7110 else
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7112 $as_echo "no" >&6; }
7116 if test -n "$ac_tool_prefix"; then
7117 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7118 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7120 $as_echo_n "checking for $ac_word... " >&6; }
7121 if ${ac_cv_prog_READELF+:} false; then :
7122 $as_echo_n "(cached) " >&6
7123 else
7124 if test -n "$READELF"; then
7125 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7126 else
7127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128 for as_dir in $PATH
7130 IFS=$as_save_IFS
7131 test -z "$as_dir" && as_dir=.
7132 for ac_exec_ext in '' $ac_executable_extensions; do
7133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7134 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7136 break 2
7138 done
7139 done
7140 IFS=$as_save_IFS
7144 READELF=$ac_cv_prog_READELF
7145 if test -n "$READELF"; then
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7147 $as_echo "$READELF" >&6; }
7148 else
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7150 $as_echo "no" >&6; }
7155 if test -z "$ac_cv_prog_READELF"; then
7156 ac_ct_READELF=$READELF
7157 # Extract the first word of "readelf", so it can be a program name with args.
7158 set dummy readelf; ac_word=$2
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7160 $as_echo_n "checking for $ac_word... " >&6; }
7161 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7162 $as_echo_n "(cached) " >&6
7163 else
7164 if test -n "$ac_ct_READELF"; then
7165 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7166 else
7167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7168 for as_dir in $PATH
7170 IFS=$as_save_IFS
7171 test -z "$as_dir" && as_dir=.
7172 for ac_exec_ext in '' $ac_executable_extensions; do
7173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7174 ac_cv_prog_ac_ct_READELF="readelf"
7175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7176 break 2
7178 done
7179 done
7180 IFS=$as_save_IFS
7184 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7185 if test -n "$ac_ct_READELF"; then
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7187 $as_echo "$ac_ct_READELF" >&6; }
7188 else
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7190 $as_echo "no" >&6; }
7193 if test "x$ac_ct_READELF" = x; then
7194 READELF="true"
7195 else
7196 case $cross_compiling:$ac_tool_warned in
7197 yes:)
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7200 ac_tool_warned=yes ;;
7201 esac
7202 READELF=$ac_ct_READELF
7204 else
7205 READELF="$ac_cv_prog_READELF"
7208 wine_rules_file=conf$$rules.make
7209 rm -f $wine_rules_file
7210 ALL_POT_FILES=""
7211 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7212 ALL_TEST_RESOURCES=""
7215 wine_fn_append_file ()
7217 as_fn_append $1 " \\$as_nl $2"
7220 wine_fn_ignore_file ()
7222 case "$1" in
7223 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7224 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7225 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7226 esac
7229 wine_fn_append_rule ()
7231 $as_echo "$1" >>$wine_rules_file
7234 wine_fn_has_flag ()
7236 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7239 wine_fn_depend_rules ()
7241 wine_fn_append_rule \
7242 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7243 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7244 depend: $ac_dir/depend
7245 .PHONY: $ac_dir/depend
7246 $ac_dir/depend: \$(MAKEDEP) dummy
7247 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7250 wine_fn_pot_rules ()
7252 test "x$with_gettextpo" = xyes || return
7254 if wine_fn_has_flag mc
7255 then
7256 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7257 wine_fn_append_rule \
7258 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7259 @cd $ac_dir && \$(MAKE) msg.pot
7260 $ac_dir/msg.pot: tools/wmc include"
7262 if wine_fn_has_flag po
7263 then
7264 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7265 wine_fn_append_rule \
7266 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7267 @cd $ac_dir && \$(MAKE) rsrc.pot
7268 $ac_dir/rsrc.pot: tools/wrc include"
7272 wine_fn_all_rules ()
7274 wine_fn_depend_rules
7275 wine_fn_append_rule \
7276 "all: $ac_dir
7277 .PHONY: $ac_dir
7278 $ac_dir: $ac_dir/Makefile dummy
7279 @cd $ac_dir && \$(MAKE)"
7282 wine_fn_install_rules ()
7284 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7286 wine_fn_append_rule \
7287 ".PHONY: $ac_dir/install $ac_dir/uninstall
7288 $ac_dir/install:: $ac_dir
7289 @cd $ac_dir && \$(MAKE) install
7290 $ac_dir/uninstall:: $ac_dir/Makefile
7291 @cd $ac_dir && \$(MAKE) uninstall
7292 install:: $ac_dir/install
7293 __uninstall__: $ac_dir/uninstall"
7295 if wine_fn_has_flag install-lib
7296 then
7297 wine_fn_append_rule \
7298 ".PHONY: $ac_dir/install-lib
7299 $ac_dir/install-lib:: $ac_dir
7300 @cd $ac_dir && \$(MAKE) install-lib
7301 install-lib:: $ac_dir/install-lib"
7304 if wine_fn_has_flag install-dev
7305 then
7306 wine_fn_append_rule \
7307 ".PHONY: $ac_dir/install-dev
7308 $ac_dir/install-dev:: $ac_dir
7309 @cd $ac_dir && \$(MAKE) install-dev
7310 install-dev:: $ac_dir/install-dev"
7314 wine_fn_clean_rules ()
7316 ac_clean=$@
7317 ac_extraclean="$ac_dir/Makefile"
7318 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7319 case $ac_dir in
7320 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7321 esac
7323 if wine_fn_has_flag clean
7324 then
7325 wine_fn_append_rule \
7326 "__clean__: $ac_dir/clean
7327 .PHONY: $ac_dir/clean
7328 $ac_dir/clean: $ac_dir/Makefile
7329 @cd $ac_dir && \$(MAKE) clean
7330 \$(RM) $ac_extraclean"
7331 else
7332 wine_fn_append_rule \
7333 "__clean__: $ac_dir/clean
7334 .PHONY: $ac_dir/clean
7335 $ac_dir/clean: dummy
7336 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7340 wine_fn_disabled_rules ()
7342 ac_clean=$@
7343 ac_extraclean="$ac_dir/Makefile"
7344 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7346 wine_fn_append_rule \
7347 "__clean__: $ac_dir/clean
7348 .PHONY: $ac_dir/clean
7349 $ac_dir/clean: dummy
7350 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7353 wine_fn_config_makefile ()
7355 ac_dir=$1
7356 ac_enable=$2
7357 ac_flags=$3
7359 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7360 wine_fn_disabled_rules; return
7362 wine_fn_all_rules
7363 wine_fn_install_rules
7364 wine_fn_clean_rules
7367 wine_fn_config_lib ()
7369 ac_name=$1
7370 ac_flags=$2
7371 ac_dir=dlls/$ac_name
7372 ac_deps="include"
7374 if test "x$enable_tools" = xno; then :
7376 else
7377 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7379 wine_fn_all_rules
7380 wine_fn_clean_rules
7382 wine_fn_append_rule \
7383 ".PHONY: $ac_dir/install $ac_dir/uninstall
7384 $ac_dir/install:: $ac_dir
7385 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7386 $ac_dir/uninstall::
7387 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7388 install install-dev:: $ac_dir/install
7389 __uninstall__: $ac_dir/uninstall
7390 __builddeps__: $ac_dir
7391 $ac_dir: $ac_deps"
7394 wine_fn_config_dll ()
7396 ac_name=$1
7397 ac_dir=dlls/$ac_name
7398 ac_enable=$2
7399 ac_flags=$3
7400 ac_implib=${4:-$ac_name}
7401 ac_file=$ac_dir/lib$ac_implib
7402 ac_dll=$ac_name
7403 ac_deps="include"
7404 ac_implibflags=""
7406 if test "x$enable_tools" = xno; then :
7408 else
7409 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7411 case $ac_name in
7412 *16) ac_implibflags=" -m16" ;;
7413 *.*) ;;
7414 *) ac_dll=$ac_dll.dll ;;
7415 esac
7417 ac_clean=
7418 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7419 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7420 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7421 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7423 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7424 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7425 then
7426 wine_fn_depend_rules
7427 wine_fn_clean_rules $ac_clean
7428 else
7429 wine_fn_disabled_rules $ac_clean
7430 return
7432 else
7433 wine_fn_all_rules
7434 wine_fn_clean_rules $ac_clean
7435 wine_fn_append_rule \
7436 "$ac_dir: __builddeps__
7437 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7438 @cd $ac_dir && \$(MAKE) \$@
7439 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7440 install install-lib:: $ac_dir/install-lib
7441 __uninstall__: $ac_dir/uninstall"
7442 if test -n "$DLLEXT"
7443 then
7444 wine_fn_append_rule \
7445 "$ac_dir/install-lib:: $ac_dir
7446 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7447 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7448 $ac_dir/uninstall::
7449 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7450 else
7451 wine_fn_append_rule \
7452 "$ac_dir/install-lib:: $ac_dir
7453 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7454 $ac_dir/uninstall::
7455 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7458 wine_fn_pot_rules
7461 if wine_fn_has_flag staticimplib
7462 then
7463 wine_fn_append_rule \
7464 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7465 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7466 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7467 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7468 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7469 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7470 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7471 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7472 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7473 $ac_dir/uninstall::
7474 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7475 install install-dev:: $ac_dir/install-dev
7476 __uninstall__: $ac_dir/uninstall"
7478 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7479 then
7480 wine_fn_append_rule \
7481 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7482 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7483 $ac_dir/uninstall::
7484 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7487 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7488 then
7489 wine_fn_append_rule \
7490 "__builddeps__: $ac_file.cross.a
7491 $ac_file.cross.a: $ac_dir/Makefile dummy
7492 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7495 elif wine_fn_has_flag implib
7496 then
7497 wine_fn_append_rule \
7498 "__builddeps__: $ac_file.$IMPLIBEXT
7499 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7500 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7501 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7502 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7503 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7504 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7505 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7506 $ac_dir/uninstall::
7507 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7508 install install-dev:: $ac_dir/install-dev
7509 __uninstall__: $ac_dir/uninstall"
7510 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7511 then
7512 wine_fn_append_rule \
7513 "__builddeps__: $ac_file.cross.a
7514 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7515 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7518 if test "$ac_name" != "$ac_implib"
7519 then
7520 wine_fn_append_rule \
7521 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7522 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7523 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7524 clean::
7525 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7526 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7527 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7528 then
7529 wine_fn_append_rule \
7530 "__builddeps__: dlls/lib$ac_implib.cross.a
7531 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7532 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7533 clean::
7534 \$(RM) dlls/lib$ac_implib.cross.a"
7535 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7541 wine_fn_config_program ()
7543 ac_name=$1
7544 ac_dir=programs/$ac_name
7545 ac_enable=$2
7546 ac_flags=$3
7547 ac_program=$ac_name
7549 case $ac_name in
7550 *.*) ;;
7551 *) ac_program=$ac_program.exe ;;
7552 esac
7554 ac_clean=
7555 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7556 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7557 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7558 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7560 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7561 wine_fn_disabled_rules $ac_clean; return
7564 wine_fn_all_rules
7565 wine_fn_clean_rules $ac_clean
7566 wine_fn_append_rule "$ac_dir: __builddeps__"
7567 wine_fn_pot_rules
7569 wine_fn_has_flag install || return
7570 wine_fn_append_rule \
7571 ".PHONY: $ac_dir/install $ac_dir/uninstall
7572 install install-lib:: $ac_dir/install
7573 __uninstall__: $ac_dir/uninstall"
7575 if test -n "$DLLEXT"
7576 then
7577 wine_fn_append_rule \
7578 "$ac_dir/install:: $ac_dir
7579 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7580 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7581 $ac_dir/uninstall::
7582 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7584 if test -z "$with_wine64" && wine_fn_has_flag installbin
7585 then
7586 wine_fn_append_rule \
7587 "$ac_dir/install:: __tooldeps__
7588 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7589 $ac_dir/uninstall::
7590 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7592 else
7593 wine_fn_append_rule \
7594 "$ac_dir/install:: $ac_dir
7595 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7596 $ac_dir/uninstall::
7597 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7600 if test -z "$with_wine64" && wine_fn_has_flag manpage
7601 then
7602 wine_fn_append_rule \
7603 "$ac_dir/install:: $ac_dir
7604 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7605 $ac_dir/uninstall::
7606 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7610 wine_fn_config_test ()
7612 ac_dir=$1
7613 ac_name=$2
7614 ac_flags=$3
7616 ac_clean=
7617 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7618 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7620 if test "x$enable_tests" = xno; then :
7621 wine_fn_disabled_rules $ac_clean; return
7624 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7625 wine_fn_all_rules
7626 wine_fn_clean_rules $ac_clean
7628 wine_fn_append_rule \
7629 "$ac_dir: programs/winetest/Makefile __builddeps__
7630 programs/winetest: $ac_dir
7631 check test: $ac_dir/test
7632 .PHONY: $ac_dir/test
7633 $ac_dir/test: dummy
7634 @cd $ac_dir && \$(MAKE) test
7635 testclean::
7636 \$(RM) $ac_dir/*.ok"
7638 if test -n "$CROSSTARGET"
7639 then
7640 wine_fn_append_rule \
7641 "crosstest: $ac_dir/crosstest
7642 .PHONY: $ac_dir/crosstest
7643 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7644 @cd $ac_dir && \$(MAKE) crosstest"
7648 wine_fn_config_tool ()
7650 ac_dir=$1
7651 ac_flags=$2
7652 if test "x$enable_tools" = xno; then :
7653 return
7656 wine_fn_all_rules
7657 wine_fn_install_rules
7658 wine_fn_clean_rules
7660 wine_fn_append_rule "__tooldeps__: $ac_dir"
7661 wine_fn_append_rule "$ac_dir: libs/port"
7662 case $ac_dir in
7663 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7664 esac
7667 wine_fn_config_symlink ()
7669 ac_linkdir=
7670 if test "x$1" = "x-d"
7671 then
7672 ac_linkdir=$2
7673 shift; shift
7675 ac_links=$@
7676 wine_fn_append_rule \
7677 "$ac_links:
7678 @./config.status \$@
7679 distclean::
7680 \$(RM) $ac_links"
7681 for f in $ac_links; do wine_fn_ignore_file $f; done
7682 test -n "$ac_linkdir" || return
7683 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7686 wine_binary="wine"
7687 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7688 loader_programs="$wine_binary wine-installed"
7689 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7691 LOADER_RULES="
7692 all: wine.inf
7694 install install-lib:: wine-installed
7695 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7697 uninstall::
7698 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7702 case $host_os in
7703 cygwin*|mingw32*)
7704 if test -n "$ac_tool_prefix"; then
7705 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7706 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7708 $as_echo_n "checking for $ac_word... " >&6; }
7709 if ${ac_cv_prog_DLLTOOL+:} false; then :
7710 $as_echo_n "(cached) " >&6
7711 else
7712 if test -n "$DLLTOOL"; then
7713 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7714 else
7715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7716 for as_dir in $PATH
7718 IFS=$as_save_IFS
7719 test -z "$as_dir" && as_dir=.
7720 for ac_exec_ext in '' $ac_executable_extensions; do
7721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7722 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7724 break 2
7726 done
7727 done
7728 IFS=$as_save_IFS
7732 DLLTOOL=$ac_cv_prog_DLLTOOL
7733 if test -n "$DLLTOOL"; then
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7735 $as_echo "$DLLTOOL" >&6; }
7736 else
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7738 $as_echo "no" >&6; }
7743 if test -z "$ac_cv_prog_DLLTOOL"; then
7744 ac_ct_DLLTOOL=$DLLTOOL
7745 # Extract the first word of "dlltool", so it can be a program name with args.
7746 set dummy dlltool; ac_word=$2
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7748 $as_echo_n "checking for $ac_word... " >&6; }
7749 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7750 $as_echo_n "(cached) " >&6
7751 else
7752 if test -n "$ac_ct_DLLTOOL"; then
7753 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7754 else
7755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7756 for as_dir in $PATH
7758 IFS=$as_save_IFS
7759 test -z "$as_dir" && as_dir=.
7760 for ac_exec_ext in '' $ac_executable_extensions; do
7761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7762 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7764 break 2
7766 done
7767 done
7768 IFS=$as_save_IFS
7772 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7773 if test -n "$ac_ct_DLLTOOL"; then
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7775 $as_echo "$ac_ct_DLLTOOL" >&6; }
7776 else
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7778 $as_echo "no" >&6; }
7781 if test "x$ac_ct_DLLTOOL" = x; then
7782 DLLTOOL="false"
7783 else
7784 case $cross_compiling:$ac_tool_warned in
7785 yes:)
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7788 ac_tool_warned=yes ;;
7789 esac
7790 DLLTOOL=$ac_ct_DLLTOOL
7792 else
7793 DLLTOOL="$ac_cv_prog_DLLTOOL"
7796 LIBEXT="dll"
7797 DLLEXT=""
7798 IMPLIBEXT="a"
7799 STATIC_IMPLIBEXT="a"
7800 enable_iphlpapi=${enable_iphlpapi:-no}
7801 enable_kernel32=${enable_kernel32:-no}
7802 enable_msvcrt=${enable_msvcrt:-no}
7803 enable_ntdll=${enable_ntdll:-no}
7804 enable_ws2_32=${enable_ws2_32:-no}
7805 enable_loader=${enable_loader:-no}
7806 enable_server=${enable_server:-no}
7807 with_x=${with_x:-no}
7808 with_pthread=${with_pthread:-no}
7810 crtlibs=""
7811 case $host_os in
7812 mingw32*)
7813 crtlibs="-lmsvcrt"
7814 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7816 esac
7818 libwine_targets="libwine.dll libwine.a"
7819 LIBWINE_RULES="
7820 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7822 all: libwine.dll libwine.a
7824 libwine.a: \$(srcdir)/wine.def
7825 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7827 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7828 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7830 install install-lib:: libwine.dll
7831 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7833 install install-dev:: libwine.a
7834 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7836 uninstall::
7837 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7842 darwin*|macosx*)
7843 LIBEXT="dylib"
7844 DLLFLAGS="$DLLFLAGS -fPIC"
7845 LIBWINE_LDFLAGS="-multiply_defined suppress"
7846 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7847 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7848 COREFOUNDATION_LIBS="-framework CoreFoundation"
7850 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7852 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7854 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7856 CORESERVICES_LIBS="-framework CoreServices"
7858 APPKIT_LIBS="-framework AppKit"
7860 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7862 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7863 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7864 $as_echo_n "(cached) " >&6
7865 else
7866 ac_wine_try_cflags_saved=$CFLAGS
7867 CFLAGS="$CFLAGS -Wl,-no_pie"
7868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7869 /* end confdefs.h. */
7870 int main(int argc, char **argv) { return 0; }
7871 _ACEOF
7872 if ac_fn_c_try_link "$LINENO"; then :
7873 ac_cv_cflags__Wl__no_pie=yes
7874 else
7875 ac_cv_cflags__Wl__no_pie=no
7877 rm -f core conftest.err conftest.$ac_objext \
7878 conftest$ac_exeext conftest.$ac_ext
7879 CFLAGS=$ac_wine_try_cflags_saved
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7882 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7883 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7884 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7886 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7887 then
7888 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7891 if test "$ac_cv_header_Security_Security_h" = "yes"
7892 then
7893 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7895 ac_save_LIBS="$LIBS"
7896 LIBS="$LIBS $SECURITY_LIBS"
7897 for ac_func in SSLCopyPeerCertificates
7898 do :
7899 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7900 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7901 cat >>confdefs.h <<_ACEOF
7902 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7903 _ACEOF
7906 done
7908 LIBS="$ac_save_LIBS"
7909 with_gnutls=${with_gnutls:-no}
7911 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7912 then
7913 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7914 then
7915 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7917 else
7918 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7921 ac_save_LIBS="$LIBS"
7922 LIBS="$LIBS $COREAUDIO_LIBS"
7923 for ac_func in AUGraphAddNode
7924 do :
7925 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7926 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7927 cat >>confdefs.h <<_ACEOF
7928 #define HAVE_AUGRAPHADDNODE 1
7929 _ACEOF
7932 done
7934 LIBS="$ac_save_LIBS"
7936 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7937 then
7938 OPENAL_LIBS="-framework OpenAL"
7941 cat >>confdefs.h <<_ACEOF
7942 #define HAVE_OPENAL 1
7943 _ACEOF
7945 ac_cv_lib_openal=yes
7947 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7948 then
7949 OPENCL_LIBS="-framework OpenCL"
7951 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7953 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7954 then
7955 ac_save_LIBS="$LIBS"
7956 LIBS="$LIBS $IOKIT_LIBS"
7957 for ac_func in IOHIDManagerCreate
7958 do :
7959 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7960 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7961 cat >>confdefs.h <<_ACEOF
7962 #define HAVE_IOHIDMANAGERCREATE 1
7963 _ACEOF
7966 done
7968 LIBS="$ac_save_LIBS"
7970 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7971 then
7972 ac_save_LIBS="$LIBS"
7973 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7975 $as_echo_n "checking for the QuickTime framework... " >&6; }
7976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7977 /* end confdefs.h. */
7978 #include <QuickTime/ImageCompression.h>
7980 main ()
7982 CodecManagerVersion(NULL);
7984 return 0;
7986 _ACEOF
7987 if ac_fn_c_try_link "$LINENO"; then :
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7989 $as_echo "yes" >&6; }
7990 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7992 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7993 else
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7995 $as_echo "no" >&6; }
7996 ac_cv_header_QuickTime_ImageCompression_h=no
7998 rm -f core conftest.err conftest.$ac_objext \
7999 conftest$ac_exeext conftest.$ac_ext
8000 LIBS="$ac_save_LIBS"
8002 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8003 then
8004 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8006 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8007 then
8008 CARBON_LIBS="-framework Carbon"
8012 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8013 then
8014 ac_save_LIBS="$LIBS"
8015 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8016 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8017 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8018 enable_winemac_drv=${enable_winemac_drv:-yes}
8021 LIBS="$ac_save_LIBS"
8024 if test "x$enable_win16" = "xyes"
8025 then
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8027 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8028 if test "$cross_compiling" = yes; then :
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8030 $as_echo "cross-compiling, assuming yes" >&6; }
8031 else
8032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8033 /* end confdefs.h. */
8034 asm(".text\n"
8035 "bad:\tnop;nop\n"
8036 "good:\tnop;nop\n\t"
8037 ".globl _testfunc\n"
8038 "_testfunc:\tcallw good");
8039 extern void testfunc();
8041 main ()
8043 unsigned short *p = (unsigned short *)testfunc;
8044 return p[0] != 0xe866 || p[1] != 0xfffa
8046 return 0;
8048 _ACEOF
8049 if ac_fn_c_try_run "$LINENO"; then :
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8051 $as_echo "yes" >&6; }
8052 else
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054 $as_echo "no" >&6; }
8055 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
8057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8058 conftest.$ac_objext conftest.beam conftest.$ac_ext
8063 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8064 LIBWINE_RULES="
8065 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8067 all: libwine.dylib
8069 libwine.$libwine_version.dylib: \$(OBJS)
8070 \$(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 \$@
8072 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8073 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8075 libwine.dylib: libwine.$libwine_soversion.dylib
8076 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8078 install install-lib:: libwine.$libwine_version.dylib
8079 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8080 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8082 install install-dev::
8083 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8085 uninstall::
8086 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8090 as_fn_append LOADER_RULES "
8091 $wine_binary: main.o wine_info.plist
8092 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8094 wine-installed: main.o wine_info.plist
8095 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8099 linux-android*)
8100 DLLFLAGS="$DLLFLAGS -fPIC"
8101 DLLPREFIX="lib"
8102 LDEXECFLAGS=""
8103 dlldir="\${libdir}"
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8105 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8106 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8107 $as_echo_n "(cached) " >&6
8108 else
8109 ac_wine_try_cflags_saved=$CFLAGS
8110 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8112 /* end confdefs.h. */
8113 int main(int argc, char **argv) { return 0; }
8114 _ACEOF
8115 if ac_fn_c_try_link "$LINENO"; then :
8116 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8117 else
8118 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8120 rm -f core conftest.err conftest.$ac_objext \
8121 conftest$ac_exeext conftest.$ac_ext
8122 CFLAGS=$ac_wine_try_cflags_saved
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8125 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8126 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8127 LDEXECFLAGS="-Wl,--export-dynamic"
8129 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8131 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8132 if eval \${$as_ac_var+:} false; then :
8133 $as_echo_n "(cached) " >&6
8134 else
8135 ac_wine_try_cflags_saved=$CFLAGS
8136 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8138 /* end confdefs.h. */
8139 int main(int argc, char **argv) { return 0; }
8140 _ACEOF
8141 if ac_fn_c_try_link "$LINENO"; then :
8142 eval "$as_ac_var=yes"
8143 else
8144 eval "$as_ac_var=no"
8146 rm -f core conftest.err conftest.$ac_objext \
8147 conftest$ac_exeext conftest.$ac_ext
8148 CFLAGS=$ac_wine_try_cflags_saved
8150 eval ac_res=\$$as_ac_var
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8152 $as_echo "$ac_res" >&6; }
8153 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8154 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8155 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8156 else
8157 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8159 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8160 if eval \${$as_ac_var+:} false; then :
8161 $as_echo_n "(cached) " >&6
8162 else
8163 ac_wine_try_cflags_saved=$CFLAGS
8164 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8166 /* end confdefs.h. */
8167 int main(int argc, char **argv) { return 0; }
8168 _ACEOF
8169 if ac_fn_c_try_link "$LINENO"; then :
8170 eval "$as_ac_var=yes"
8171 else
8172 eval "$as_ac_var=no"
8174 rm -f core conftest.err conftest.$ac_objext \
8175 conftest$ac_exeext conftest.$ac_ext
8176 CFLAGS=$ac_wine_try_cflags_saved
8178 eval ac_res=\$$as_ac_var
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8180 $as_echo "$ac_res" >&6; }
8181 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8182 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8183 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8188 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8189 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 ac_wine_try_cflags_saved=$CFLAGS
8193 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8195 /* end confdefs.h. */
8196 int main(int argc, char **argv) { return 0; }
8197 _ACEOF
8198 if ac_fn_c_try_link "$LINENO"; then :
8199 ac_cv_cflags__Wl___enable_new_dtags=yes
8200 else
8201 ac_cv_cflags__Wl___enable_new_dtags=no
8203 rm -f core conftest.err conftest.$ac_objext \
8204 conftest$ac_exeext conftest.$ac_ext
8205 CFLAGS=$ac_wine_try_cflags_saved
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8208 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8209 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8210 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8213 case $host_cpu in
8214 *i[3456789]86* | x86_64)
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8216 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8217 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8218 $as_echo_n "(cached) " >&6
8219 else
8220 ac_wine_try_cflags_saved=$CFLAGS
8221 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8223 /* end confdefs.h. */
8224 int main(int argc, char **argv) { return 0; }
8225 _ACEOF
8226 if ac_fn_c_try_link "$LINENO"; then :
8227 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8228 else
8229 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8231 rm -f core conftest.err conftest.$ac_objext \
8232 conftest$ac_exeext conftest.$ac_ext
8233 CFLAGS=$ac_wine_try_cflags_saved
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8236 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8237 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8238 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8241 esac
8243 libwine_targets="libwine.so"
8244 LIBWINE_RULES="
8245 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8247 all: libwine.so
8249 libwine.so: \$(OBJS)
8250 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8252 install install-lib:: libwine.so
8253 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8255 uninstall::
8256 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8260 as_fn_append LOADER_RULES "
8261 $wine_binary: main.o
8262 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8264 wine-installed: main.o
8265 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8270 DLLFLAGS="$DLLFLAGS -fPIC"
8271 LDEXECFLAGS=""
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8273 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8274 if ${ac_cv_c_dll_gnuelf+:} false; then :
8275 $as_echo_n "(cached) " >&6
8276 else
8277 ac_wine_try_cflags_saved=$CFLAGS
8278 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8280 /* end confdefs.h. */
8281 void myfunc() {}
8282 _ACEOF
8283 if ac_fn_c_try_link "$LINENO"; then :
8284 ac_cv_c_dll_gnuelf="yes"
8285 else
8286 ac_cv_c_dll_gnuelf="no"
8288 rm -f core conftest.err conftest.$ac_objext \
8289 conftest$ac_exeext conftest.$ac_ext
8290 CFLAGS=$ac_wine_try_cflags_saved
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8293 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8294 if test "$ac_cv_c_dll_gnuelf" = "yes"
8295 then
8296 LDSHARED="\$(CC) -shared"
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8298 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8299 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8300 $as_echo_n "(cached) " >&6
8301 else
8302 ac_wine_try_cflags_saved=$CFLAGS
8303 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8306 int main(int argc, char **argv) { return 0; }
8307 _ACEOF
8308 if ac_fn_c_try_link "$LINENO"; then :
8309 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8310 else
8311 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8313 rm -f core conftest.err conftest.$ac_objext \
8314 conftest$ac_exeext conftest.$ac_ext
8315 CFLAGS=$ac_wine_try_cflags_saved
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8318 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8319 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8320 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8321 else
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8323 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8324 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8325 $as_echo_n "(cached) " >&6
8326 else
8327 ac_wine_try_cflags_saved=$CFLAGS
8328 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8330 /* end confdefs.h. */
8331 int main(int argc, char **argv) { return 0; }
8332 _ACEOF
8333 if ac_fn_c_try_link "$LINENO"; then :
8334 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8335 else
8336 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8338 rm -f core conftest.err conftest.$ac_objext \
8339 conftest$ac_exeext conftest.$ac_ext
8340 CFLAGS=$ac_wine_try_cflags_saved
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8343 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8344 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8345 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8349 echo '{ global: *; };' >conftest.map
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8351 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8352 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8353 $as_echo_n "(cached) " >&6
8354 else
8355 ac_wine_try_cflags_saved=$CFLAGS
8356 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8358 /* end confdefs.h. */
8359 int main(int argc, char **argv) { return 0; }
8360 _ACEOF
8361 if ac_fn_c_try_link "$LINENO"; then :
8362 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8363 else
8364 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8366 rm -f core conftest.err conftest.$ac_objext \
8367 conftest$ac_exeext conftest.$ac_ext
8368 CFLAGS=$ac_wine_try_cflags_saved
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8371 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8372 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8373 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8375 rm -f conftest.map
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8378 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8379 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8380 $as_echo_n "(cached) " >&6
8381 else
8382 ac_wine_try_cflags_saved=$CFLAGS
8383 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h. */
8386 int main(int argc, char **argv) { return 0; }
8387 _ACEOF
8388 if ac_fn_c_try_link "$LINENO"; then :
8389 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8390 else
8391 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8393 rm -f core conftest.err conftest.$ac_objext \
8394 conftest$ac_exeext conftest.$ac_ext
8395 CFLAGS=$ac_wine_try_cflags_saved
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8398 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8399 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8400 LDEXECFLAGS="-Wl,--export-dynamic"
8403 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8405 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8406 if eval \${$as_ac_var+:} false; then :
8407 $as_echo_n "(cached) " >&6
8408 else
8409 ac_wine_try_cflags_saved=$CFLAGS
8410 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8412 /* end confdefs.h. */
8413 int main(int argc, char **argv) { return 0; }
8414 _ACEOF
8415 if ac_fn_c_try_link "$LINENO"; then :
8416 eval "$as_ac_var=yes"
8417 else
8418 eval "$as_ac_var=no"
8420 rm -f core conftest.err conftest.$ac_objext \
8421 conftest$ac_exeext conftest.$ac_ext
8422 CFLAGS=$ac_wine_try_cflags_saved
8424 eval ac_res=\$$as_ac_var
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8426 $as_echo "$ac_res" >&6; }
8427 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8428 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8429 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8430 else
8431 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8433 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8434 if eval \${$as_ac_var+:} false; then :
8435 $as_echo_n "(cached) " >&6
8436 else
8437 ac_wine_try_cflags_saved=$CFLAGS
8438 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8440 /* end confdefs.h. */
8441 int main(int argc, char **argv) { return 0; }
8442 _ACEOF
8443 if ac_fn_c_try_link "$LINENO"; then :
8444 eval "$as_ac_var=yes"
8445 else
8446 eval "$as_ac_var=no"
8448 rm -f core conftest.err conftest.$ac_objext \
8449 conftest$ac_exeext conftest.$ac_ext
8450 CFLAGS=$ac_wine_try_cflags_saved
8452 eval ac_res=\$$as_ac_var
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8454 $as_echo "$ac_res" >&6; }
8455 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8456 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8457 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8462 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8463 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8464 $as_echo_n "(cached) " >&6
8465 else
8466 ac_wine_try_cflags_saved=$CFLAGS
8467 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8469 /* end confdefs.h. */
8470 int main(int argc, char **argv) { return 0; }
8471 _ACEOF
8472 if ac_fn_c_try_link "$LINENO"; then :
8473 ac_cv_cflags__Wl___enable_new_dtags=yes
8474 else
8475 ac_cv_cflags__Wl___enable_new_dtags=no
8477 rm -f core conftest.err conftest.$ac_objext \
8478 conftest$ac_exeext conftest.$ac_ext
8479 CFLAGS=$ac_wine_try_cflags_saved
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8482 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8483 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8484 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8487 case $host_cpu in
8488 *i[3456789]86* | x86_64)
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8490 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8491 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8492 $as_echo_n "(cached) " >&6
8493 else
8494 ac_wine_try_cflags_saved=$CFLAGS
8495 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8498 int main(int argc, char **argv) { return 0; }
8499 _ACEOF
8500 if ac_fn_c_try_link "$LINENO"; then :
8501 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8502 else
8503 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8505 rm -f core conftest.err conftest.$ac_objext \
8506 conftest$ac_exeext conftest.$ac_ext
8507 CFLAGS=$ac_wine_try_cflags_saved
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8510 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8511 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8512 case $host_os in
8513 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8514 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8515 esac
8518 # Extract the first word of "prelink", so it can be a program name with args.
8519 set dummy prelink; ac_word=$2
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8521 $as_echo_n "checking for $ac_word... " >&6; }
8522 if ${ac_cv_path_PRELINK+:} false; then :
8523 $as_echo_n "(cached) " >&6
8524 else
8525 case $PRELINK in
8526 [\\/]* | ?:[\\/]*)
8527 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8531 for as_dir in /sbin /usr/sbin $PATH
8533 IFS=$as_save_IFS
8534 test -z "$as_dir" && as_dir=.
8535 for ac_exec_ext in '' $ac_executable_extensions; do
8536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8537 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8539 break 2
8541 done
8542 done
8543 IFS=$as_save_IFS
8545 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8547 esac
8549 PRELINK=$ac_cv_path_PRELINK
8550 if test -n "$PRELINK"; then
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8552 $as_echo "$PRELINK" >&6; }
8553 else
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8555 $as_echo "no" >&6; }
8559 if test "x$PRELINK" = xfalse
8560 then
8561 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8564 esac
8566 else
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8568 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8569 if ${ac_cv_c_dll_unixware+:} false; then :
8570 $as_echo_n "(cached) " >&6
8571 else
8572 ac_wine_try_cflags_saved=$CFLAGS
8573 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8575 /* end confdefs.h. */
8576 void myfunc() {}
8577 _ACEOF
8578 if ac_fn_c_try_link "$LINENO"; then :
8579 ac_cv_c_dll_unixware="yes"
8580 else
8581 ac_cv_c_dll_unixware="no"
8583 rm -f core conftest.err conftest.$ac_objext \
8584 conftest$ac_exeext conftest.$ac_ext
8585 CFLAGS=$ac_wine_try_cflags_saved
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8588 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8589 if test "$ac_cv_c_dll_unixware" = "yes"
8590 then
8591 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8594 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8595 LIBWINE_RULES="
8596 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8598 all: libwine.so
8600 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8601 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8603 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8604 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8606 libwine.so: libwine.so.$libwine_soversion
8607 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8609 install install-lib:: libwine.so.$libwine_version
8610 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8611 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8613 install install-dev::
8614 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8616 uninstall::
8617 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8621 as_fn_append LOADER_RULES "
8622 $wine_binary: main.o
8623 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8625 wine-installed: main.o
8626 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8629 esac
8631 as_fn_append LIBWINE_RULES "
8632 EXTRA_TARGETS = $libwine_targets
8635 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8636 enable_winemac_drv=${enable_winemac_drv:-no}
8638 CROSSTARGET=""
8640 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8641 then
8642 case "$host_cpu" in
8643 i[3456789]86*)
8644 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
8645 mingw32-gcc" ;;
8646 x86_64)
8647 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 " ;;
8649 ac_prefix_list="" ;;
8650 esac
8651 for ac_prog in $ac_prefix_list
8653 # Extract the first word of "$ac_prog", so it can be a program name with args.
8654 set dummy $ac_prog; ac_word=$2
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8656 $as_echo_n "checking for $ac_word... " >&6; }
8657 if ${ac_cv_prog_CROSSCC+:} false; then :
8658 $as_echo_n "(cached) " >&6
8659 else
8660 if test -n "$CROSSCC"; then
8661 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8662 else
8663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8664 for as_dir in $PATH
8666 IFS=$as_save_IFS
8667 test -z "$as_dir" && as_dir=.
8668 for ac_exec_ext in '' $ac_executable_extensions; do
8669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8670 ac_cv_prog_CROSSCC="$ac_prog"
8671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8672 break 2
8674 done
8675 done
8676 IFS=$as_save_IFS
8680 CROSSCC=$ac_cv_prog_CROSSCC
8681 if test -n "$CROSSCC"; then
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8683 $as_echo "$CROSSCC" >&6; }
8684 else
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8686 $as_echo "no" >&6; }
8690 test -n "$CROSSCC" && break
8691 done
8692 test -n "$CROSSCC" || CROSSCC="false"
8694 if test "$CROSSCC" != "false"
8695 then
8696 ac_save_CC="$CC"
8697 CC="$CROSSCC"
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8699 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8701 /* end confdefs.h. */
8704 main ()
8708 return 0;
8710 _ACEOF
8711 if ac_fn_c_try_compile "$LINENO"; then :
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8713 $as_echo "yes" >&6; }
8714 set x $CROSSCC
8715 shift
8716 while test $# -ge 1
8718 case "$1" in
8719 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8720 esac
8721 shift
8722 done
8723 else
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8725 $as_echo "no" >&6; }
8727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8728 CC="$ac_save_CC"
8733 if test "$ac_cv_header_pthread_h" = "yes"
8734 then
8735 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8736 if test "x$ac_cv_func_pthread_create" = xyes; then :
8738 else
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8740 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8741 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8742 $as_echo_n "(cached) " >&6
8743 else
8744 ac_check_lib_save_LIBS=$LIBS
8745 LIBS="-lpthread $LIBS"
8746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8747 /* end confdefs.h. */
8749 /* Override any GCC internal prototype to avoid an error.
8750 Use char because int might match the return type of a GCC
8751 builtin and then its argument prototype would still apply. */
8752 #ifdef __cplusplus
8753 extern "C"
8754 #endif
8755 char pthread_create ();
8757 main ()
8759 return pthread_create ();
8761 return 0;
8763 _ACEOF
8764 if ac_fn_c_try_link "$LINENO"; then :
8765 ac_cv_lib_pthread_pthread_create=yes
8766 else
8767 ac_cv_lib_pthread_pthread_create=no
8769 rm -f core conftest.err conftest.$ac_objext \
8770 conftest$ac_exeext conftest.$ac_ext
8771 LIBS=$ac_check_lib_save_LIBS
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8774 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8775 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8776 PTHREAD_LIBS="-lpthread"
8783 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8784 case "x$with_pthread" in
8785 xno) ;;
8786 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8787 Wine cannot support threads without libpthread.
8788 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8789 esac
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8794 $as_echo_n "checking for X... " >&6; }
8797 # Check whether --with-x was given.
8798 if test "${with_x+set}" = set; then :
8799 withval=$with_x;
8802 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8803 if test "x$with_x" = xno; then
8804 # The user explicitly disabled X.
8805 have_x=disabled
8806 else
8807 case $x_includes,$x_libraries in #(
8808 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8809 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8810 $as_echo_n "(cached) " >&6
8811 else
8812 # One or both of the vars are not set, and there is no cached value.
8813 ac_x_includes=no ac_x_libraries=no
8814 rm -f -r conftest.dir
8815 if mkdir conftest.dir; then
8816 cd conftest.dir
8817 cat >Imakefile <<'_ACEOF'
8818 incroot:
8819 @echo incroot='${INCROOT}'
8820 usrlibdir:
8821 @echo usrlibdir='${USRLIBDIR}'
8822 libdir:
8823 @echo libdir='${LIBDIR}'
8824 _ACEOF
8825 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8826 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8827 for ac_var in incroot usrlibdir libdir; do
8828 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8829 done
8830 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8831 for ac_extension in a so sl dylib la dll; do
8832 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8833 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8834 ac_im_usrlibdir=$ac_im_libdir; break
8836 done
8837 # Screen out bogus values from the imake configuration. They are
8838 # bogus both because they are the default anyway, and because
8839 # using them would break gcc on systems where it needs fixed includes.
8840 case $ac_im_incroot in
8841 /usr/include) ac_x_includes= ;;
8842 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8843 esac
8844 case $ac_im_usrlibdir in
8845 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8846 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8847 esac
8849 cd ..
8850 rm -f -r conftest.dir
8853 # Standard set of common directories for X headers.
8854 # Check X11 before X11Rn because it is often a symlink to the current release.
8855 ac_x_header_dirs='
8856 /usr/X11/include
8857 /usr/X11R7/include
8858 /usr/X11R6/include
8859 /usr/X11R5/include
8860 /usr/X11R4/include
8862 /usr/include/X11
8863 /usr/include/X11R7
8864 /usr/include/X11R6
8865 /usr/include/X11R5
8866 /usr/include/X11R4
8868 /usr/local/X11/include
8869 /usr/local/X11R7/include
8870 /usr/local/X11R6/include
8871 /usr/local/X11R5/include
8872 /usr/local/X11R4/include
8874 /usr/local/include/X11
8875 /usr/local/include/X11R7
8876 /usr/local/include/X11R6
8877 /usr/local/include/X11R5
8878 /usr/local/include/X11R4
8880 /usr/X386/include
8881 /usr/x386/include
8882 /usr/XFree86/include/X11
8884 /usr/include
8885 /usr/local/include
8886 /usr/unsupported/include
8887 /usr/athena/include
8888 /usr/local/x11r5/include
8889 /usr/lpp/Xamples/include
8891 /usr/openwin/include
8892 /usr/openwin/share/include'
8894 if test "$ac_x_includes" = no; then
8895 # Guess where to find include files, by looking for Xlib.h.
8896 # First, try using that file with no special directory specified.
8897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8898 /* end confdefs.h. */
8899 #include <X11/Xlib.h>
8900 _ACEOF
8901 if ac_fn_c_try_cpp "$LINENO"; then :
8902 # We can compile using X headers with no special include directory.
8903 ac_x_includes=
8904 else
8905 for ac_dir in $ac_x_header_dirs; do
8906 if test -r "$ac_dir/X11/Xlib.h"; then
8907 ac_x_includes=$ac_dir
8908 break
8910 done
8912 rm -f conftest.err conftest.i conftest.$ac_ext
8913 fi # $ac_x_includes = no
8915 if test "$ac_x_libraries" = no; then
8916 # Check for the libraries.
8917 # See if we find them without any special options.
8918 # Don't add to $LIBS permanently.
8919 ac_save_LIBS=$LIBS
8920 LIBS="-lX11 $LIBS"
8921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8922 /* end confdefs.h. */
8923 #include <X11/Xlib.h>
8925 main ()
8927 XrmInitialize ()
8929 return 0;
8931 _ACEOF
8932 if ac_fn_c_try_link "$LINENO"; then :
8933 LIBS=$ac_save_LIBS
8934 # We can link X programs with no special library path.
8935 ac_x_libraries=
8936 else
8937 LIBS=$ac_save_LIBS
8938 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8940 # Don't even attempt the hair of trying to link an X program!
8941 for ac_extension in a so sl dylib la dll; do
8942 if test -r "$ac_dir/libX11.$ac_extension"; then
8943 ac_x_libraries=$ac_dir
8944 break 2
8946 done
8947 done
8949 rm -f core conftest.err conftest.$ac_objext \
8950 conftest$ac_exeext conftest.$ac_ext
8951 fi # $ac_x_libraries = no
8953 case $ac_x_includes,$ac_x_libraries in #(
8954 no,* | *,no | *\'*)
8955 # Didn't find X, or a directory has "'" in its name.
8956 ac_cv_have_x="have_x=no";; #(
8958 # Record where we found X for the cache.
8959 ac_cv_have_x="have_x=yes\
8960 ac_x_includes='$ac_x_includes'\
8961 ac_x_libraries='$ac_x_libraries'"
8962 esac
8964 ;; #(
8965 *) have_x=yes;;
8966 esac
8967 eval "$ac_cv_have_x"
8968 fi # $with_x != no
8970 if test "$have_x" != yes; then
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8972 $as_echo "$have_x" >&6; }
8973 no_x=yes
8974 else
8975 # If each of the values was on the command line, it overrides each guess.
8976 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8977 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8978 # Update the cache value to reflect the command line values.
8979 ac_cv_have_x="have_x=yes\
8980 ac_x_includes='$x_includes'\
8981 ac_x_libraries='$x_libraries'"
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8983 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8986 if test "$no_x" = yes; then
8987 # Not all programs may use this symbol, but it does not hurt to define it.
8989 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8991 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8992 else
8993 if test -n "$x_includes"; then
8994 X_CFLAGS="$X_CFLAGS -I$x_includes"
8997 # It would also be nice to do this for all -L options, not just this one.
8998 if test -n "$x_libraries"; then
8999 X_LIBS="$X_LIBS -L$x_libraries"
9000 # For Solaris; some versions of Sun CC require a space after -R and
9001 # others require no space. Words are not sufficient . . . .
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9003 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9004 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9005 ac_xsave_c_werror_flag=$ac_c_werror_flag
9006 ac_c_werror_flag=yes
9007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9008 /* end confdefs.h. */
9011 main ()
9015 return 0;
9017 _ACEOF
9018 if ac_fn_c_try_link "$LINENO"; then :
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9020 $as_echo "no" >&6; }
9021 X_LIBS="$X_LIBS -R$x_libraries"
9022 else
9023 LIBS="$ac_xsave_LIBS -R $x_libraries"
9024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9025 /* end confdefs.h. */
9028 main ()
9032 return 0;
9034 _ACEOF
9035 if ac_fn_c_try_link "$LINENO"; then :
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9037 $as_echo "yes" >&6; }
9038 X_LIBS="$X_LIBS -R $x_libraries"
9039 else
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9041 $as_echo "neither works" >&6; }
9043 rm -f core conftest.err conftest.$ac_objext \
9044 conftest$ac_exeext conftest.$ac_ext
9046 rm -f core conftest.err conftest.$ac_objext \
9047 conftest$ac_exeext conftest.$ac_ext
9048 ac_c_werror_flag=$ac_xsave_c_werror_flag
9049 LIBS=$ac_xsave_LIBS
9052 # Check for system-dependent libraries X programs must link with.
9053 # Do this before checking for the system-independent R6 libraries
9054 # (-lICE), since we may need -lsocket or whatever for X linking.
9056 if test "$ISC" = yes; then
9057 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9058 else
9059 # Martyn Johnson says this is needed for Ultrix, if the X
9060 # libraries were built with DECnet support. And Karl Berry says
9061 # the Alpha needs dnet_stub (dnet does not exist).
9062 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9064 /* end confdefs.h. */
9066 /* Override any GCC internal prototype to avoid an error.
9067 Use char because int might match the return type of a GCC
9068 builtin and then its argument prototype would still apply. */
9069 #ifdef __cplusplus
9070 extern "C"
9071 #endif
9072 char XOpenDisplay ();
9074 main ()
9076 return XOpenDisplay ();
9078 return 0;
9080 _ACEOF
9081 if ac_fn_c_try_link "$LINENO"; then :
9083 else
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9085 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9086 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9087 $as_echo_n "(cached) " >&6
9088 else
9089 ac_check_lib_save_LIBS=$LIBS
9090 LIBS="-ldnet $LIBS"
9091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9092 /* end confdefs.h. */
9094 /* Override any GCC internal prototype to avoid an error.
9095 Use char because int might match the return type of a GCC
9096 builtin and then its argument prototype would still apply. */
9097 #ifdef __cplusplus
9098 extern "C"
9099 #endif
9100 char dnet_ntoa ();
9102 main ()
9104 return dnet_ntoa ();
9106 return 0;
9108 _ACEOF
9109 if ac_fn_c_try_link "$LINENO"; then :
9110 ac_cv_lib_dnet_dnet_ntoa=yes
9111 else
9112 ac_cv_lib_dnet_dnet_ntoa=no
9114 rm -f core conftest.err conftest.$ac_objext \
9115 conftest$ac_exeext conftest.$ac_ext
9116 LIBS=$ac_check_lib_save_LIBS
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9119 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9120 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9121 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9124 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9126 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9127 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9128 $as_echo_n "(cached) " >&6
9129 else
9130 ac_check_lib_save_LIBS=$LIBS
9131 LIBS="-ldnet_stub $LIBS"
9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9135 /* Override any GCC internal prototype to avoid an error.
9136 Use char because int might match the return type of a GCC
9137 builtin and then its argument prototype would still apply. */
9138 #ifdef __cplusplus
9139 extern "C"
9140 #endif
9141 char dnet_ntoa ();
9143 main ()
9145 return dnet_ntoa ();
9147 return 0;
9149 _ACEOF
9150 if ac_fn_c_try_link "$LINENO"; then :
9151 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9152 else
9153 ac_cv_lib_dnet_stub_dnet_ntoa=no
9155 rm -f core conftest.err conftest.$ac_objext \
9156 conftest$ac_exeext conftest.$ac_ext
9157 LIBS=$ac_check_lib_save_LIBS
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9160 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9161 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9162 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9167 rm -f core conftest.err conftest.$ac_objext \
9168 conftest$ac_exeext conftest.$ac_ext
9169 LIBS="$ac_xsave_LIBS"
9171 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9172 # to get the SysV transport functions.
9173 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9174 # needs -lnsl.
9175 # The nsl library prevents programs from opening the X display
9176 # on Irix 5.2, according to T.E. Dickey.
9177 # The functions gethostbyname, getservbyname, and inet_addr are
9178 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9179 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9180 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9184 if test $ac_cv_func_gethostbyname = no; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9186 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9187 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9188 $as_echo_n "(cached) " >&6
9189 else
9190 ac_check_lib_save_LIBS=$LIBS
9191 LIBS="-lnsl $LIBS"
9192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9193 /* end confdefs.h. */
9195 /* Override any GCC internal prototype to avoid an error.
9196 Use char because int might match the return type of a GCC
9197 builtin and then its argument prototype would still apply. */
9198 #ifdef __cplusplus
9199 extern "C"
9200 #endif
9201 char gethostbyname ();
9203 main ()
9205 return gethostbyname ();
9207 return 0;
9209 _ACEOF
9210 if ac_fn_c_try_link "$LINENO"; then :
9211 ac_cv_lib_nsl_gethostbyname=yes
9212 else
9213 ac_cv_lib_nsl_gethostbyname=no
9215 rm -f core conftest.err conftest.$ac_objext \
9216 conftest$ac_exeext conftest.$ac_ext
9217 LIBS=$ac_check_lib_save_LIBS
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9220 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9221 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9222 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9225 if test $ac_cv_lib_nsl_gethostbyname = no; then
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9227 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9228 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9229 $as_echo_n "(cached) " >&6
9230 else
9231 ac_check_lib_save_LIBS=$LIBS
9232 LIBS="-lbsd $LIBS"
9233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9234 /* end confdefs.h. */
9236 /* Override any GCC internal prototype to avoid an error.
9237 Use char because int might match the return type of a GCC
9238 builtin and then its argument prototype would still apply. */
9239 #ifdef __cplusplus
9240 extern "C"
9241 #endif
9242 char gethostbyname ();
9244 main ()
9246 return gethostbyname ();
9248 return 0;
9250 _ACEOF
9251 if ac_fn_c_try_link "$LINENO"; then :
9252 ac_cv_lib_bsd_gethostbyname=yes
9253 else
9254 ac_cv_lib_bsd_gethostbyname=no
9256 rm -f core conftest.err conftest.$ac_objext \
9257 conftest$ac_exeext conftest.$ac_ext
9258 LIBS=$ac_check_lib_save_LIBS
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9261 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9262 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9263 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9269 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9270 # socket/setsockopt and other routines are undefined under SCO ODT
9271 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9272 # on later versions), says Simon Leinen: it contains gethostby*
9273 # variants that don't use the name server (or something). -lsocket
9274 # must be given before -lnsl if both are needed. We assume that
9275 # if connect needs -lnsl, so does gethostbyname.
9276 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9277 if test "x$ac_cv_func_connect" = xyes; then :
9281 if test $ac_cv_func_connect = no; then
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9283 $as_echo_n "checking for connect in -lsocket... " >&6; }
9284 if ${ac_cv_lib_socket_connect+:} false; then :
9285 $as_echo_n "(cached) " >&6
9286 else
9287 ac_check_lib_save_LIBS=$LIBS
9288 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9292 /* Override any GCC internal prototype to avoid an error.
9293 Use char because int might match the return type of a GCC
9294 builtin and then its argument prototype would still apply. */
9295 #ifdef __cplusplus
9296 extern "C"
9297 #endif
9298 char connect ();
9300 main ()
9302 return connect ();
9304 return 0;
9306 _ACEOF
9307 if ac_fn_c_try_link "$LINENO"; then :
9308 ac_cv_lib_socket_connect=yes
9309 else
9310 ac_cv_lib_socket_connect=no
9312 rm -f core conftest.err conftest.$ac_objext \
9313 conftest$ac_exeext conftest.$ac_ext
9314 LIBS=$ac_check_lib_save_LIBS
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9317 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9318 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9319 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9324 # Guillermo Gomez says -lposix is necessary on A/UX.
9325 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9326 if test "x$ac_cv_func_remove" = xyes; then :
9330 if test $ac_cv_func_remove = no; then
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9332 $as_echo_n "checking for remove in -lposix... " >&6; }
9333 if ${ac_cv_lib_posix_remove+:} false; then :
9334 $as_echo_n "(cached) " >&6
9335 else
9336 ac_check_lib_save_LIBS=$LIBS
9337 LIBS="-lposix $LIBS"
9338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9341 /* Override any GCC internal prototype to avoid an error.
9342 Use char because int might match the return type of a GCC
9343 builtin and then its argument prototype would still apply. */
9344 #ifdef __cplusplus
9345 extern "C"
9346 #endif
9347 char remove ();
9349 main ()
9351 return remove ();
9353 return 0;
9355 _ACEOF
9356 if ac_fn_c_try_link "$LINENO"; then :
9357 ac_cv_lib_posix_remove=yes
9358 else
9359 ac_cv_lib_posix_remove=no
9361 rm -f core conftest.err conftest.$ac_objext \
9362 conftest$ac_exeext conftest.$ac_ext
9363 LIBS=$ac_check_lib_save_LIBS
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9366 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9367 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9368 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9373 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9374 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9375 if test "x$ac_cv_func_shmat" = xyes; then :
9379 if test $ac_cv_func_shmat = no; then
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9381 $as_echo_n "checking for shmat in -lipc... " >&6; }
9382 if ${ac_cv_lib_ipc_shmat+:} false; then :
9383 $as_echo_n "(cached) " >&6
9384 else
9385 ac_check_lib_save_LIBS=$LIBS
9386 LIBS="-lipc $LIBS"
9387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9388 /* end confdefs.h. */
9390 /* Override any GCC internal prototype to avoid an error.
9391 Use char because int might match the return type of a GCC
9392 builtin and then its argument prototype would still apply. */
9393 #ifdef __cplusplus
9394 extern "C"
9395 #endif
9396 char shmat ();
9398 main ()
9400 return shmat ();
9402 return 0;
9404 _ACEOF
9405 if ac_fn_c_try_link "$LINENO"; then :
9406 ac_cv_lib_ipc_shmat=yes
9407 else
9408 ac_cv_lib_ipc_shmat=no
9410 rm -f core conftest.err conftest.$ac_objext \
9411 conftest$ac_exeext conftest.$ac_ext
9412 LIBS=$ac_check_lib_save_LIBS
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9415 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9416 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9417 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9423 # Check for libraries that X11R6 Xt/Xaw programs need.
9424 ac_save_LDFLAGS=$LDFLAGS
9425 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9426 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9427 # check for ICE first), but we must link in the order -lSM -lICE or
9428 # we get undefined symbols. So assume we have SM if we have ICE.
9429 # These have to be linked with before -lX11, unlike the other
9430 # libraries we check for below, so use a different variable.
9431 # John Interrante, Karl Berry
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9433 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9434 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436 else
9437 ac_check_lib_save_LIBS=$LIBS
9438 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9445 #ifdef __cplusplus
9446 extern "C"
9447 #endif
9448 char IceConnectionNumber ();
9450 main ()
9452 return IceConnectionNumber ();
9454 return 0;
9456 _ACEOF
9457 if ac_fn_c_try_link "$LINENO"; then :
9458 ac_cv_lib_ICE_IceConnectionNumber=yes
9459 else
9460 ac_cv_lib_ICE_IceConnectionNumber=no
9462 rm -f core conftest.err conftest.$ac_objext \
9463 conftest$ac_exeext conftest.$ac_ext
9464 LIBS=$ac_check_lib_save_LIBS
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9467 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9468 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9469 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9472 LDFLAGS=$ac_save_LDFLAGS
9477 if test "$have_x" = "yes"
9478 then
9479 ac_save_CPPFLAGS="$CPPFLAGS"
9480 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9483 $as_echo_n "checking for -lX11... " >&6; }
9484 if ${ac_cv_lib_soname_X11+:} false; then :
9485 $as_echo_n "(cached) " >&6
9486 else
9487 ac_check_soname_save_LIBS=$LIBS
9488 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9490 /* end confdefs.h. */
9492 /* Override any GCC internal prototype to avoid an error.
9493 Use char because int might match the return type of a GCC
9494 builtin and then its argument prototype would still apply. */
9495 #ifdef __cplusplus
9496 extern "C"
9497 #endif
9498 char XCreateWindow ();
9500 main ()
9502 return XCreateWindow ();
9504 return 0;
9506 _ACEOF
9507 if ac_fn_c_try_link "$LINENO"; then :
9508 case "$LIBEXT" in
9509 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9510 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'` ;;
9511 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9512 if ${ac_cv_lib_soname_X11:+false} :; then :
9513 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9514 fi ;;
9515 esac
9517 rm -f core conftest.err conftest.$ac_objext \
9518 conftest$ac_exeext conftest.$ac_ext
9519 LIBS=$ac_check_soname_save_LIBS
9521 if ${ac_cv_lib_soname_X11:+false} :; then :
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9523 $as_echo "not found" >&6; }
9525 else
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9527 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9529 cat >>confdefs.h <<_ACEOF
9530 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9531 _ACEOF
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9536 $as_echo_n "checking for -lXext... " >&6; }
9537 if ${ac_cv_lib_soname_Xext+:} false; then :
9538 $as_echo_n "(cached) " >&6
9539 else
9540 ac_check_soname_save_LIBS=$LIBS
9541 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9543 /* end confdefs.h. */
9545 /* Override any GCC internal prototype to avoid an error.
9546 Use char because int might match the return type of a GCC
9547 builtin and then its argument prototype would still apply. */
9548 #ifdef __cplusplus
9549 extern "C"
9550 #endif
9551 char XextCreateExtension ();
9553 main ()
9555 return XextCreateExtension ();
9557 return 0;
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9561 case "$LIBEXT" in
9562 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9563 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'` ;;
9564 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9565 if ${ac_cv_lib_soname_Xext:+false} :; then :
9566 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9567 fi ;;
9568 esac
9570 rm -f core conftest.err conftest.$ac_objext \
9571 conftest$ac_exeext conftest.$ac_ext
9572 LIBS=$ac_check_soname_save_LIBS
9574 if ${ac_cv_lib_soname_Xext:+false} :; then :
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9576 $as_echo "not found" >&6; }
9578 else
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9580 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9582 cat >>confdefs.h <<_ACEOF
9583 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9584 _ACEOF
9586 X_LIBS="$X_LIBS -lXext"
9588 X_LIBS="$X_LIBS -lX11"
9590 for ac_header in X11/Xlib.h \
9591 X11/XKBlib.h \
9592 X11/Xutil.h \
9593 X11/Xcursor/Xcursor.h \
9594 X11/extensions/shape.h \
9595 X11/extensions/XInput.h \
9596 X11/extensions/XInput2.h \
9597 X11/extensions/XShm.h \
9598 X11/extensions/Xcomposite.h \
9599 X11/extensions/Xinerama.h \
9600 X11/extensions/Xrandr.h \
9601 X11/extensions/Xrender.h \
9602 X11/extensions/xf86vmode.h \
9603 X11/extensions/xf86vmproto.h
9604 do :
9605 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9606 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9607 # include <X11/Xlib.h>
9608 #endif
9609 #ifdef HAVE_X11_XUTIL_H
9610 # include <X11/Xutil.h>
9611 #endif
9613 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9614 cat >>confdefs.h <<_ACEOF
9615 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9616 _ACEOF
9620 done
9623 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9624 then
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9626 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9627 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9628 $as_echo_n "(cached) " >&6
9629 else
9630 ac_check_lib_save_LIBS=$LIBS
9631 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9635 /* Override any GCC internal prototype to avoid an error.
9636 Use char because int might match the return type of a GCC
9637 builtin and then its argument prototype would still apply. */
9638 #ifdef __cplusplus
9639 extern "C"
9640 #endif
9641 char XkbQueryExtension ();
9643 main ()
9645 return XkbQueryExtension ();
9647 return 0;
9649 _ACEOF
9650 if ac_fn_c_try_link "$LINENO"; then :
9651 ac_cv_lib_X11_XkbQueryExtension=yes
9652 else
9653 ac_cv_lib_X11_XkbQueryExtension=no
9655 rm -f core conftest.err conftest.$ac_objext \
9656 conftest$ac_exeext conftest.$ac_ext
9657 LIBS=$ac_check_lib_save_LIBS
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9660 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9661 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9663 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9669 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9670 then
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9672 $as_echo_n "checking for -lXcursor... " >&6; }
9673 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9674 $as_echo_n "(cached) " >&6
9675 else
9676 ac_check_soname_save_LIBS=$LIBS
9677 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9679 /* end confdefs.h. */
9681 /* Override any GCC internal prototype to avoid an error.
9682 Use char because int might match the return type of a GCC
9683 builtin and then its argument prototype would still apply. */
9684 #ifdef __cplusplus
9685 extern "C"
9686 #endif
9687 char XcursorImageLoadCursor ();
9689 main ()
9691 return XcursorImageLoadCursor ();
9693 return 0;
9695 _ACEOF
9696 if ac_fn_c_try_link "$LINENO"; then :
9697 case "$LIBEXT" in
9698 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9699 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'` ;;
9700 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9701 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9702 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9703 fi ;;
9704 esac
9706 rm -f core conftest.err conftest.$ac_objext \
9707 conftest$ac_exeext conftest.$ac_ext
9708 LIBS=$ac_check_soname_save_LIBS
9710 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9712 $as_echo "not found" >&6; }
9714 else
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9716 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9718 cat >>confdefs.h <<_ACEOF
9719 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9720 _ACEOF
9725 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9726 case "x$with_xcursor" in
9727 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9728 xno) ;;
9729 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9730 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9731 esac
9734 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9735 then
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9737 $as_echo_n "checking for -lXi... " >&6; }
9738 if ${ac_cv_lib_soname_Xi+:} false; then :
9739 $as_echo_n "(cached) " >&6
9740 else
9741 ac_check_soname_save_LIBS=$LIBS
9742 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9744 /* end confdefs.h. */
9746 /* Override any GCC internal prototype to avoid an error.
9747 Use char because int might match the return type of a GCC
9748 builtin and then its argument prototype would still apply. */
9749 #ifdef __cplusplus
9750 extern "C"
9751 #endif
9752 char XOpenDevice ();
9754 main ()
9756 return XOpenDevice ();
9758 return 0;
9760 _ACEOF
9761 if ac_fn_c_try_link "$LINENO"; then :
9762 case "$LIBEXT" in
9763 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9764 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'` ;;
9765 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9766 if ${ac_cv_lib_soname_Xi:+false} :; then :
9767 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9768 fi ;;
9769 esac
9771 rm -f core conftest.err conftest.$ac_objext \
9772 conftest$ac_exeext conftest.$ac_ext
9773 LIBS=$ac_check_soname_save_LIBS
9775 if ${ac_cv_lib_soname_Xi:+false} :; then :
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9777 $as_echo "not found" >&6; }
9779 else
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9781 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9783 cat >>confdefs.h <<_ACEOF
9784 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9785 _ACEOF
9790 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9791 case "x$with_xinput" in
9792 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9793 xno) ;;
9794 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9795 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9796 esac
9799 if test "x$ac_cv_lib_soname_Xi" != x
9800 then
9801 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9802 case "x$with_xinput2" in
9803 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9804 xno) ;;
9805 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9806 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9807 esac
9811 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9812 then
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9814 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9815 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9816 $as_echo_n "(cached) " >&6
9817 else
9818 ac_check_lib_save_LIBS=$LIBS
9819 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9823 /* Override any GCC internal prototype to avoid an error.
9824 Use char because int might match the return type of a GCC
9825 builtin and then its argument prototype would still apply. */
9826 #ifdef __cplusplus
9827 extern "C"
9828 #endif
9829 char XShmQueryExtension ();
9831 main ()
9833 return XShmQueryExtension ();
9835 return 0;
9837 _ACEOF
9838 if ac_fn_c_try_link "$LINENO"; then :
9839 ac_cv_lib_Xext_XShmQueryExtension=yes
9840 else
9841 ac_cv_lib_Xext_XShmQueryExtension=no
9843 rm -f core conftest.err conftest.$ac_objext \
9844 conftest$ac_exeext conftest.$ac_ext
9845 LIBS=$ac_check_lib_save_LIBS
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9848 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9849 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9851 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9856 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9857 case "x$with_xshm" in
9858 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9859 xno) ;;
9860 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9861 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9862 esac
9865 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9866 then
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9868 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9869 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9870 $as_echo_n "(cached) " >&6
9871 else
9872 ac_check_lib_save_LIBS=$LIBS
9873 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9877 /* Override any GCC internal prototype to avoid an error.
9878 Use char because int might match the return type of a GCC
9879 builtin and then its argument prototype would still apply. */
9880 #ifdef __cplusplus
9881 extern "C"
9882 #endif
9883 char XShapeQueryExtension ();
9885 main ()
9887 return XShapeQueryExtension ();
9889 return 0;
9891 _ACEOF
9892 if ac_fn_c_try_link "$LINENO"; then :
9893 ac_cv_lib_Xext_XShapeQueryExtension=yes
9894 else
9895 ac_cv_lib_Xext_XShapeQueryExtension=no
9897 rm -f core conftest.err conftest.$ac_objext \
9898 conftest$ac_exeext conftest.$ac_ext
9899 LIBS=$ac_check_lib_save_LIBS
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9902 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9903 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9905 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9910 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9911 case "x$with_xshape" in
9912 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9913 xno) ;;
9914 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9915 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9916 esac
9919 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9920 then
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9922 $as_echo_n "checking for -lXxf86vm... " >&6; }
9923 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9924 $as_echo_n "(cached) " >&6
9925 else
9926 ac_check_soname_save_LIBS=$LIBS
9927 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9929 /* end confdefs.h. */
9931 /* Override any GCC internal prototype to avoid an error.
9932 Use char because int might match the return type of a GCC
9933 builtin and then its argument prototype would still apply. */
9934 #ifdef __cplusplus
9935 extern "C"
9936 #endif
9937 char XF86VidModeQueryExtension ();
9939 main ()
9941 return XF86VidModeQueryExtension ();
9943 return 0;
9945 _ACEOF
9946 if ac_fn_c_try_link "$LINENO"; then :
9947 case "$LIBEXT" in
9948 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9949 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'` ;;
9950 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9951 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9952 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9953 fi ;;
9954 esac
9956 rm -f core conftest.err conftest.$ac_objext \
9957 conftest$ac_exeext conftest.$ac_ext
9958 LIBS=$ac_check_soname_save_LIBS
9960 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9962 $as_echo "not found" >&6; }
9964 else
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9966 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9968 cat >>confdefs.h <<_ACEOF
9969 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9970 _ACEOF
9975 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9976 case "x$with_xxf86vm" in
9977 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9978 xno) ;;
9979 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9980 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9981 esac
9984 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9985 then
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9987 $as_echo_n "checking for -lXrender... " >&6; }
9988 if ${ac_cv_lib_soname_Xrender+:} false; then :
9989 $as_echo_n "(cached) " >&6
9990 else
9991 ac_check_soname_save_LIBS=$LIBS
9992 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
9996 /* Override any GCC internal prototype to avoid an error.
9997 Use char because int might match the return type of a GCC
9998 builtin and then its argument prototype would still apply. */
9999 #ifdef __cplusplus
10000 extern "C"
10001 #endif
10002 char XRenderQueryExtension ();
10004 main ()
10006 return XRenderQueryExtension ();
10008 return 0;
10010 _ACEOF
10011 if ac_fn_c_try_link "$LINENO"; then :
10012 case "$LIBEXT" in
10013 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10014 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'` ;;
10015 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10016 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10017 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10018 fi ;;
10019 esac
10021 rm -f core conftest.err conftest.$ac_objext \
10022 conftest$ac_exeext conftest.$ac_ext
10023 LIBS=$ac_check_soname_save_LIBS
10025 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10027 $as_echo "not found" >&6; }
10029 else
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10031 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10033 cat >>confdefs.h <<_ACEOF
10034 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10035 _ACEOF
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10038 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10039 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10040 $as_echo_n "(cached) " >&6
10041 else
10042 ac_check_lib_save_LIBS=$LIBS
10043 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10045 /* end confdefs.h. */
10047 /* Override any GCC internal prototype to avoid an error.
10048 Use char because int might match the return type of a GCC
10049 builtin and then its argument prototype would still apply. */
10050 #ifdef __cplusplus
10051 extern "C"
10052 #endif
10053 char XRenderSetPictureTransform ();
10055 main ()
10057 return XRenderSetPictureTransform ();
10059 return 0;
10061 _ACEOF
10062 if ac_fn_c_try_link "$LINENO"; then :
10063 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10064 else
10065 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10067 rm -f core conftest.err conftest.$ac_objext \
10068 conftest$ac_exeext conftest.$ac_ext
10069 LIBS=$ac_check_lib_save_LIBS
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10072 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10073 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10075 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10080 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10081 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10082 $as_echo_n "(cached) " >&6
10083 else
10084 ac_check_lib_save_LIBS=$LIBS
10085 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10087 /* end confdefs.h. */
10089 /* Override any GCC internal prototype to avoid an error.
10090 Use char because int might match the return type of a GCC
10091 builtin and then its argument prototype would still apply. */
10092 #ifdef __cplusplus
10093 extern "C"
10094 #endif
10095 char XRenderCreateLinearGradient ();
10097 main ()
10099 return XRenderCreateLinearGradient ();
10101 return 0;
10103 _ACEOF
10104 if ac_fn_c_try_link "$LINENO"; then :
10105 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10106 else
10107 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10109 rm -f core conftest.err conftest.$ac_objext \
10110 conftest$ac_exeext conftest.$ac_ext
10111 LIBS=$ac_check_lib_save_LIBS
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10114 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10115 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10117 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10124 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10125 case "x$with_xrender" in
10126 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10127 xno) ;;
10128 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10129 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10130 esac
10133 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10134 then
10135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10137 #include <X11/Xlib.h>
10138 #include <X11/extensions/Xrandr.h>
10140 main ()
10142 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10144 return 0;
10146 _ACEOF
10147 if ac_fn_c_try_compile "$LINENO"; then :
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10149 $as_echo_n "checking for -lXrandr... " >&6; }
10150 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10151 $as_echo_n "(cached) " >&6
10152 else
10153 ac_check_soname_save_LIBS=$LIBS
10154 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10158 /* Override any GCC internal prototype to avoid an error.
10159 Use char because int might match the return type of a GCC
10160 builtin and then its argument prototype would still apply. */
10161 #ifdef __cplusplus
10162 extern "C"
10163 #endif
10164 char XRRQueryExtension ();
10166 main ()
10168 return XRRQueryExtension ();
10170 return 0;
10172 _ACEOF
10173 if ac_fn_c_try_link "$LINENO"; then :
10174 case "$LIBEXT" in
10175 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10176 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'` ;;
10177 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10178 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10179 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10180 fi ;;
10181 esac
10183 rm -f core conftest.err conftest.$ac_objext \
10184 conftest$ac_exeext conftest.$ac_ext
10185 LIBS=$ac_check_soname_save_LIBS
10187 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10189 $as_echo "not found" >&6; }
10191 else
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10193 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10195 cat >>confdefs.h <<_ACEOF
10196 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10197 _ACEOF
10199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h. */
10201 #include <X11/Xlib.h>
10202 #include <X11/extensions/Xrandr.h>
10204 main ()
10206 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10208 return 0;
10210 _ACEOF
10211 if ac_fn_c_try_compile "$LINENO"; then :
10213 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10221 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10222 case "x$with_xrandr" in
10223 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10224 xno) ;;
10225 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10226 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10227 esac
10230 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10231 then
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10234 #include <X11/Xlib.h>
10235 #include <X11/extensions/Xinerama.h>
10237 main ()
10239 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10241 return 0;
10243 _ACEOF
10244 if ac_fn_c_try_compile "$LINENO"; then :
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10246 $as_echo_n "checking for -lXinerama... " >&6; }
10247 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10248 $as_echo_n "(cached) " >&6
10249 else
10250 ac_check_soname_save_LIBS=$LIBS
10251 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10255 /* Override any GCC internal prototype to avoid an error.
10256 Use char because int might match the return type of a GCC
10257 builtin and then its argument prototype would still apply. */
10258 #ifdef __cplusplus
10259 extern "C"
10260 #endif
10261 char XineramaQueryScreens ();
10263 main ()
10265 return XineramaQueryScreens ();
10267 return 0;
10269 _ACEOF
10270 if ac_fn_c_try_link "$LINENO"; then :
10271 case "$LIBEXT" in
10272 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10273 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'` ;;
10274 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10275 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10276 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10277 fi ;;
10278 esac
10280 rm -f core conftest.err conftest.$ac_objext \
10281 conftest$ac_exeext conftest.$ac_ext
10282 LIBS=$ac_check_soname_save_LIBS
10284 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10286 $as_echo "not found" >&6; }
10288 else
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10290 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10292 cat >>confdefs.h <<_ACEOF
10293 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10294 _ACEOF
10299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10301 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10302 case "x$with_xinerama" in
10303 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10304 xno) ;;
10305 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10306 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10307 esac
10310 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10311 then
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10313 $as_echo_n "checking for -lXcomposite... " >&6; }
10314 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10315 $as_echo_n "(cached) " >&6
10316 else
10317 ac_check_soname_save_LIBS=$LIBS
10318 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10320 /* end confdefs.h. */
10322 /* Override any GCC internal prototype to avoid an error.
10323 Use char because int might match the return type of a GCC
10324 builtin and then its argument prototype would still apply. */
10325 #ifdef __cplusplus
10326 extern "C"
10327 #endif
10328 char XCompositeRedirectWindow ();
10330 main ()
10332 return XCompositeRedirectWindow ();
10334 return 0;
10336 _ACEOF
10337 if ac_fn_c_try_link "$LINENO"; then :
10338 case "$LIBEXT" in
10339 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10340 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'` ;;
10341 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10342 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10343 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10344 fi ;;
10345 esac
10347 rm -f core conftest.err conftest.$ac_objext \
10348 conftest$ac_exeext conftest.$ac_ext
10349 LIBS=$ac_check_soname_save_LIBS
10351 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10353 $as_echo "not found" >&6; }
10355 else
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10357 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10359 cat >>confdefs.h <<_ACEOF
10360 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10361 _ACEOF
10366 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10367 case "x$with_xcomposite" in
10368 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10369 xno) ;;
10370 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10371 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10372 esac
10375 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10376 #include <X11/Xlib.h>
10377 #endif
10379 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10381 cat >>confdefs.h <<_ACEOF
10382 #define HAVE_XICCALLBACK_CALLBACK 1
10383 _ACEOF
10387 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10388 #include <X11/Xlib.h>
10389 #endif
10391 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10393 cat >>confdefs.h <<_ACEOF
10394 #define HAVE_XEVENT_XCOOKIE 1
10395 _ACEOF
10402 opengl_msg=""
10403 if test "x$with_opengl" != "xno"
10404 then
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10406 $as_echo_n "checking for -lGL... " >&6; }
10407 if ${ac_cv_lib_soname_GL+:} false; then :
10408 $as_echo_n "(cached) " >&6
10409 else
10410 ac_check_soname_save_LIBS=$LIBS
10411 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10415 /* Override any GCC internal prototype to avoid an error.
10416 Use char because int might match the return type of a GCC
10417 builtin and then its argument prototype would still apply. */
10418 #ifdef __cplusplus
10419 extern "C"
10420 #endif
10421 char glXCreateContext ();
10423 main ()
10425 return glXCreateContext ();
10427 return 0;
10429 _ACEOF
10430 if ac_fn_c_try_link "$LINENO"; then :
10431 case "$LIBEXT" in
10432 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10433 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'` ;;
10434 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10435 if ${ac_cv_lib_soname_GL:+false} :; then :
10436 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10437 fi ;;
10438 esac
10440 rm -f core conftest.err conftest.$ac_objext \
10441 conftest$ac_exeext conftest.$ac_ext
10442 LIBS=$ac_check_soname_save_LIBS
10444 if ${ac_cv_lib_soname_GL:+false} :; then :
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10446 $as_echo "not found" >&6; }
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10448 $as_echo_n "checking for -lGL... " >&6; }
10449 if ${ac_cv_lib_soname_GL+:} false; then :
10450 $as_echo_n "(cached) " >&6
10451 else
10452 ac_check_soname_save_LIBS=$LIBS
10453 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"
10454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10457 /* Override any GCC internal prototype to avoid an error.
10458 Use char because int might match the return type of a GCC
10459 builtin and then its argument prototype would still apply. */
10460 #ifdef __cplusplus
10461 extern "C"
10462 #endif
10463 char glXCreateContext ();
10465 main ()
10467 return glXCreateContext ();
10469 return 0;
10471 _ACEOF
10472 if ac_fn_c_try_link "$LINENO"; then :
10473 case "$LIBEXT" in
10474 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10475 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'` ;;
10476 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10477 if ${ac_cv_lib_soname_GL:+false} :; then :
10478 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10479 fi ;;
10480 esac
10482 rm -f core conftest.err conftest.$ac_objext \
10483 conftest$ac_exeext conftest.$ac_ext
10484 LIBS=$ac_check_soname_save_LIBS
10486 if ${ac_cv_lib_soname_GL:+false} :; then :
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10488 $as_echo "not found" >&6; }
10489 if test -f /usr/X11R6/lib/libGL.a
10490 then
10491 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10492 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10493 else
10494 opengl_msg="No OpenGL library found on this system."
10496 else
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10498 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10500 cat >>confdefs.h <<_ACEOF
10501 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10502 _ACEOF
10504 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"
10506 else
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10508 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10510 cat >>confdefs.h <<_ACEOF
10511 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10512 _ACEOF
10514 OPENGL_LIBS="-lGL"
10516 if test "x$with_glu" != "xno"
10517 then
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10519 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10520 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10521 $as_echo_n "(cached) " >&6
10522 else
10523 ac_check_lib_save_LIBS=$LIBS
10524 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10528 /* Override any GCC internal prototype to avoid an error.
10529 Use char because int might match the return type of a GCC
10530 builtin and then its argument prototype would still apply. */
10531 #ifdef __cplusplus
10532 extern "C"
10533 #endif
10534 char gluLookAt ();
10536 main ()
10538 return gluLookAt ();
10540 return 0;
10542 _ACEOF
10543 if ac_fn_c_try_link "$LINENO"; then :
10544 ac_cv_lib_GLU_gluLookAt=yes
10545 else
10546 ac_cv_lib_GLU_gluLookAt=no
10548 rm -f core conftest.err conftest.$ac_objext \
10549 conftest$ac_exeext conftest.$ac_ext
10550 LIBS=$ac_check_lib_save_LIBS
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10553 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10554 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10558 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10559 case "x$with_glu" in
10560 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10561 xno) ;;
10562 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10563 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10564 esac
10568 if test "x$with_osmesa" != "xno"
10569 then
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10571 $as_echo_n "checking for -lOSMesa... " >&6; }
10572 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10573 $as_echo_n "(cached) " >&6
10574 else
10575 ac_check_soname_save_LIBS=$LIBS
10576 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10583 #ifdef __cplusplus
10584 extern "C"
10585 #endif
10586 char glAccum ();
10588 main ()
10590 return glAccum ();
10592 return 0;
10594 _ACEOF
10595 if ac_fn_c_try_link "$LINENO"; then :
10596 case "$LIBEXT" in
10597 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10598 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'` ;;
10599 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10600 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10601 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10602 fi ;;
10603 esac
10605 rm -f core conftest.err conftest.$ac_objext \
10606 conftest$ac_exeext conftest.$ac_ext
10607 LIBS=$ac_check_soname_save_LIBS
10609 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10611 $as_echo "not found" >&6; }
10613 else
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10615 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10617 cat >>confdefs.h <<_ACEOF
10618 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10619 _ACEOF
10623 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10624 case "x$with_osmesa" in
10625 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10626 xno) ;;
10627 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10628 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10629 esac
10633 if test -n "$opengl_msg"; then :
10634 case "x$with_opengl" in
10635 x) as_fn_append wine_warnings "|$opengl_msg
10636 OpenGL and Direct3D won't be supported." ;;
10637 xno) ;;
10638 *) as_fn_error $? "$opengl_msg
10639 OpenGL and Direct3D won't be supported.
10640 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10641 esac
10644 CPPFLAGS="$ac_save_CPPFLAGS"
10645 else
10646 X_CFLAGS=""
10647 X_LIBS=""
10648 enable_winex11_drv=${enable_winex11_drv:-no}
10650 if test "x$X_LIBS" = "x"; then :
10651 case "x$with_x" in
10652 xno) ;;
10653 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10654 without X support, which probably isn't what you want. You will need
10655 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10656 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10657 esac
10660 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10662 if test "$ac_cv_header_CL_cl_h" = "yes"
10663 then
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10665 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10666 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10667 $as_echo_n "(cached) " >&6
10668 else
10669 ac_check_lib_save_LIBS=$LIBS
10670 LIBS="-lOpenCL $LIBS"
10671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10674 /* Override any GCC internal prototype to avoid an error.
10675 Use char because int might match the return type of a GCC
10676 builtin and then its argument prototype would still apply. */
10677 #ifdef __cplusplus
10678 extern "C"
10679 #endif
10680 char clGetPlatformInfo ();
10682 main ()
10684 return clGetPlatformInfo ();
10686 return 0;
10688 _ACEOF
10689 if ac_fn_c_try_link "$LINENO"; then :
10690 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10691 else
10692 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10694 rm -f core conftest.err conftest.$ac_objext \
10695 conftest$ac_exeext conftest.$ac_ext
10696 LIBS=$ac_check_lib_save_LIBS
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10699 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10700 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10701 OPENCL_LIBS="-lOpenCL"
10706 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10707 case "x$with_opencl" in
10708 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10709 xno) ;;
10710 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10711 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10712 esac
10714 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10716 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10717 then
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10719 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10720 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10721 $as_echo_n "(cached) " >&6
10722 else
10723 ac_check_lib_save_LIBS=$LIBS
10724 LIBS="-lpcap $LIBS"
10725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10728 /* Override any GCC internal prototype to avoid an error.
10729 Use char because int might match the return type of a GCC
10730 builtin and then its argument prototype would still apply. */
10731 #ifdef __cplusplus
10732 extern "C"
10733 #endif
10734 char pcap_create ();
10736 main ()
10738 return pcap_create ();
10740 return 0;
10742 _ACEOF
10743 if ac_fn_c_try_link "$LINENO"; then :
10744 ac_cv_lib_pcap_pcap_create=yes
10745 else
10746 ac_cv_lib_pcap_pcap_create=no
10748 rm -f core conftest.err conftest.$ac_objext \
10749 conftest$ac_exeext conftest.$ac_ext
10750 LIBS=$ac_check_lib_save_LIBS
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10753 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10754 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10755 LIBPCAP="-lpcap"
10760 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10761 case "x$with_pcap" in
10762 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10763 xno) ;;
10764 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10765 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10766 esac
10768 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10771 if test "x$with_xml" != "xno"
10772 then
10773 if ${XML2_CFLAGS:+false} :; then :
10774 if ${PKG_CONFIG+:} false; then :
10775 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10778 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10779 if ${XML2_LIBS:+false} :; then :
10780 if ${PKG_CONFIG+:} false; then :
10781 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10784 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10785 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10786 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10787 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10788 ac_save_CPPFLAGS=$CPPFLAGS
10789 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10790 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10791 do :
10792 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10793 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10794 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10795 cat >>confdefs.h <<_ACEOF
10796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10797 _ACEOF
10801 done
10803 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"
10804 then
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10806 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10807 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10808 $as_echo_n "(cached) " >&6
10809 else
10810 ac_check_lib_save_LIBS=$LIBS
10811 LIBS="-lxml2 $XML2_LIBS $LIBS"
10812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10813 /* end confdefs.h. */
10815 /* Override any GCC internal prototype to avoid an error.
10816 Use char because int might match the return type of a GCC
10817 builtin and then its argument prototype would still apply. */
10818 #ifdef __cplusplus
10819 extern "C"
10820 #endif
10821 char xmlParseMemory ();
10823 main ()
10825 return xmlParseMemory ();
10827 return 0;
10829 _ACEOF
10830 if ac_fn_c_try_link "$LINENO"; then :
10831 ac_cv_lib_xml2_xmlParseMemory=yes
10832 else
10833 ac_cv_lib_xml2_xmlParseMemory=no
10835 rm -f core conftest.err conftest.$ac_objext \
10836 conftest$ac_exeext conftest.$ac_ext
10837 LIBS=$ac_check_lib_save_LIBS
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10840 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10841 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10843 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10845 else
10846 XML2_LIBS=""
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10850 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10851 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10852 $as_echo_n "(cached) " >&6
10853 else
10854 ac_check_lib_save_LIBS=$LIBS
10855 LIBS="-lxml2 $XML2_LIBS $LIBS"
10856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10857 /* end confdefs.h. */
10859 /* Override any GCC internal prototype to avoid an error.
10860 Use char because int might match the return type of a GCC
10861 builtin and then its argument prototype would still apply. */
10862 #ifdef __cplusplus
10863 extern "C"
10864 #endif
10865 char xmlReadMemory ();
10867 main ()
10869 return xmlReadMemory ();
10871 return 0;
10873 _ACEOF
10874 if ac_fn_c_try_link "$LINENO"; then :
10875 ac_cv_lib_xml2_xmlReadMemory=yes
10876 else
10877 ac_cv_lib_xml2_xmlReadMemory=no
10879 rm -f core conftest.err conftest.$ac_objext \
10880 conftest$ac_exeext conftest.$ac_ext
10881 LIBS=$ac_check_lib_save_LIBS
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10884 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10885 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10887 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10892 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10893 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10894 $as_echo_n "(cached) " >&6
10895 else
10896 ac_check_lib_save_LIBS=$LIBS
10897 LIBS="-lxml2 $XML2_LIBS $LIBS"
10898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10899 /* end confdefs.h. */
10901 /* Override any GCC internal prototype to avoid an error.
10902 Use char because int might match the return type of a GCC
10903 builtin and then its argument prototype would still apply. */
10904 #ifdef __cplusplus
10905 extern "C"
10906 #endif
10907 char xmlNewDocPI ();
10909 main ()
10911 return xmlNewDocPI ();
10913 return 0;
10915 _ACEOF
10916 if ac_fn_c_try_link "$LINENO"; then :
10917 ac_cv_lib_xml2_xmlNewDocPI=yes
10918 else
10919 ac_cv_lib_xml2_xmlNewDocPI=no
10921 rm -f core conftest.err conftest.$ac_objext \
10922 conftest$ac_exeext conftest.$ac_ext
10923 LIBS=$ac_check_lib_save_LIBS
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10926 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10927 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10929 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10934 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10935 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10936 $as_echo_n "(cached) " >&6
10937 else
10938 ac_check_lib_save_LIBS=$LIBS
10939 LIBS="-lxml2 $XML2_LIBS $LIBS"
10940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10946 #ifdef __cplusplus
10947 extern "C"
10948 #endif
10949 char xmlSchemaSetParserStructuredErrors ();
10951 main ()
10953 return xmlSchemaSetParserStructuredErrors ();
10955 return 0;
10957 _ACEOF
10958 if ac_fn_c_try_link "$LINENO"; then :
10959 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10960 else
10961 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10963 rm -f core conftest.err conftest.$ac_objext \
10964 conftest$ac_exeext conftest.$ac_ext
10965 LIBS=$ac_check_lib_save_LIBS
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10968 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10969 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10971 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10976 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10977 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10978 $as_echo_n "(cached) " >&6
10979 else
10980 ac_check_lib_save_LIBS=$LIBS
10981 LIBS="-lxml2 $XML2_LIBS $LIBS"
10982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10985 /* Override any GCC internal prototype to avoid an error.
10986 Use char because int might match the return type of a GCC
10987 builtin and then its argument prototype would still apply. */
10988 #ifdef __cplusplus
10989 extern "C"
10990 #endif
10991 char xmlSchemaSetValidStructuredErrors ();
10993 main ()
10995 return xmlSchemaSetValidStructuredErrors ();
10997 return 0;
10999 _ACEOF
11000 if ac_fn_c_try_link "$LINENO"; then :
11001 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11002 else
11003 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11005 rm -f core conftest.err conftest.$ac_objext \
11006 conftest$ac_exeext conftest.$ac_ext
11007 LIBS=$ac_check_lib_save_LIBS
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11010 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11011 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11013 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11018 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11019 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11020 $as_echo_n "(cached) " >&6
11021 else
11022 ac_check_lib_save_LIBS=$LIBS
11023 LIBS="-lxml2 $XML2_LIBS $LIBS"
11024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11025 /* end confdefs.h. */
11027 /* Override any GCC internal prototype to avoid an error.
11028 Use char because int might match the return type of a GCC
11029 builtin and then its argument prototype would still apply. */
11030 #ifdef __cplusplus
11031 extern "C"
11032 #endif
11033 char xmlFirstElementChild ();
11035 main ()
11037 return xmlFirstElementChild ();
11039 return 0;
11041 _ACEOF
11042 if ac_fn_c_try_link "$LINENO"; then :
11043 ac_cv_lib_xml2_xmlFirstElementChild=yes
11044 else
11045 ac_cv_lib_xml2_xmlFirstElementChild=no
11047 rm -f core conftest.err conftest.$ac_objext \
11048 conftest$ac_exeext conftest.$ac_ext
11049 LIBS=$ac_check_lib_save_LIBS
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11052 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11053 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11055 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11059 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11061 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11063 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11067 else
11068 XML2_CFLAGS=""
11069 XML2_LIBS=""
11071 CPPFLAGS=$ac_save_CPPFLAGS
11072 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11073 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11076 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11077 case "x$with_xml" in
11078 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11079 xno) ;;
11080 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11081 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11082 esac
11085 if test "x$with_xslt" != "xno"
11086 then
11087 if ${XSLT_CFLAGS:+false} :; then :
11088 if ${PKG_CONFIG+:} false; then :
11089 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11092 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11093 if ${XSLT_LIBS:+false} :; then :
11094 if ${PKG_CONFIG+:} false; then :
11095 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11098 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11099 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11100 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11101 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11102 ac_save_CPPFLAGS=$CPPFLAGS
11103 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11104 for ac_header in libxslt/pattern.h libxslt/transform.h
11105 do :
11106 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11107 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11108 # include <libxslt/pattern.h>
11109 #endif
11111 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11112 cat >>confdefs.h <<_ACEOF
11113 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11114 _ACEOF
11118 done
11120 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11121 then
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11123 $as_echo_n "checking for -lxslt... " >&6; }
11124 if ${ac_cv_lib_soname_xslt+:} false; then :
11125 $as_echo_n "(cached) " >&6
11126 else
11127 ac_check_soname_save_LIBS=$LIBS
11128 LIBS="-lxslt $XSLT_LIBS $LIBS"
11129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11132 /* Override any GCC internal prototype to avoid an error.
11133 Use char because int might match the return type of a GCC
11134 builtin and then its argument prototype would still apply. */
11135 #ifdef __cplusplus
11136 extern "C"
11137 #endif
11138 char xsltCompilePattern ();
11140 main ()
11142 return xsltCompilePattern ();
11144 return 0;
11146 _ACEOF
11147 if ac_fn_c_try_link "$LINENO"; then :
11148 case "$LIBEXT" in
11149 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11150 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'` ;;
11151 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11152 if ${ac_cv_lib_soname_xslt:+false} :; then :
11153 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11154 fi ;;
11155 esac
11157 rm -f core conftest.err conftest.$ac_objext \
11158 conftest$ac_exeext conftest.$ac_ext
11159 LIBS=$ac_check_soname_save_LIBS
11161 if ${ac_cv_lib_soname_xslt:+false} :; then :
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11163 $as_echo "not found" >&6; }
11165 else
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11167 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11169 cat >>confdefs.h <<_ACEOF
11170 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11171 _ACEOF
11175 else
11176 XSLT_CFLAGS=""
11178 CPPFLAGS=$ac_save_CPPFLAGS
11179 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11180 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11183 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11184 case "x$with_xslt" in
11185 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11186 xno) ;;
11187 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11188 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11189 esac
11192 if test "x$with_dbus" != "xno"
11193 then
11194 if ${DBUS_CFLAGS:+false} :; then :
11195 if ${PKG_CONFIG+:} false; then :
11196 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11200 if ${DBUS_LIBS:+false} :; then :
11201 if ${PKG_CONFIG+:} false; then :
11202 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11207 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11208 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11209 ac_save_CPPFLAGS=$CPPFLAGS
11210 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11211 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11212 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11214 $as_echo_n "checking for -ldbus-1... " >&6; }
11215 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11216 $as_echo_n "(cached) " >&6
11217 else
11218 ac_check_soname_save_LIBS=$LIBS
11219 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11223 /* Override any GCC internal prototype to avoid an error.
11224 Use char because int might match the return type of a GCC
11225 builtin and then its argument prototype would still apply. */
11226 #ifdef __cplusplus
11227 extern "C"
11228 #endif
11229 char dbus_connection_close ();
11231 main ()
11233 return dbus_connection_close ();
11235 return 0;
11237 _ACEOF
11238 if ac_fn_c_try_link "$LINENO"; then :
11239 case "$LIBEXT" in
11240 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11241 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'` ;;
11242 *) 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'`
11243 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11244 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11245 fi ;;
11246 esac
11248 rm -f core conftest.err conftest.$ac_objext \
11249 conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_soname_save_LIBS
11252 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11254 $as_echo "not found" >&6; }
11255 DBUS_CFLAGS=""
11256 else
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11258 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11260 cat >>confdefs.h <<_ACEOF
11261 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11262 _ACEOF
11266 else
11267 DBUS_CFLAGS=""
11271 CPPFLAGS=$ac_save_CPPFLAGS
11272 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11273 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11276 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11277 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11278 case "x$with_dbus" in
11279 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11280 xno) ;;
11281 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11282 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11283 esac
11286 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11287 then
11288 if ${HAL_CFLAGS:+false} :; then :
11289 if ${PKG_CONFIG+:} false; then :
11290 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11294 if ${HAL_LIBS:+false} :; then :
11295 if ${PKG_CONFIG+:} false; then :
11296 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11300 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11301 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11302 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11303 ac_save_CPPFLAGS=$CPPFLAGS
11304 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11305 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11306 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11308 $as_echo_n "checking for -lhal... " >&6; }
11309 if ${ac_cv_lib_soname_hal+:} false; then :
11310 $as_echo_n "(cached) " >&6
11311 else
11312 ac_check_soname_save_LIBS=$LIBS
11313 LIBS="-lhal $HAL_LIBS $LIBS"
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h. */
11317 /* Override any GCC internal prototype to avoid an error.
11318 Use char because int might match the return type of a GCC
11319 builtin and then its argument prototype would still apply. */
11320 #ifdef __cplusplus
11321 extern "C"
11322 #endif
11323 char libhal_ctx_new ();
11325 main ()
11327 return libhal_ctx_new ();
11329 return 0;
11331 _ACEOF
11332 if ac_fn_c_try_link "$LINENO"; then :
11333 case "$LIBEXT" in
11334 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11335 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'` ;;
11336 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11337 if ${ac_cv_lib_soname_hal:+false} :; then :
11338 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11339 fi ;;
11340 esac
11342 rm -f core conftest.err conftest.$ac_objext \
11343 conftest$ac_exeext conftest.$ac_ext
11344 LIBS=$ac_check_soname_save_LIBS
11346 if ${ac_cv_lib_soname_hal:+false} :; then :
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11348 $as_echo "not found" >&6; }
11349 HAL_CFLAGS=""
11350 else
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11352 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11354 cat >>confdefs.h <<_ACEOF
11355 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11356 _ACEOF
11360 else
11361 HAL_CFLAGS=""
11365 CPPFLAGS=$ac_save_CPPFLAGS
11366 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11367 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11369 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11370 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11371 case "x$with_hal" in
11372 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11373 xno) ;;
11374 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11375 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11376 esac
11380 if test "x$with_gnutls" != "xno"
11381 then
11382 if ${GNUTLS_CFLAGS:+false} :; then :
11383 if ${PKG_CONFIG+:} false; then :
11384 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11388 if ${GNUTLS_LIBS:+false} :; then :
11389 if ${PKG_CONFIG+:} false; then :
11390 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11395 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11396 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11397 ac_save_CPPFLAGS=$CPPFLAGS
11398 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11399 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11400 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11403 #include <gnutls/gnutls.h>
11404 #include <gnutls/crypto.h>
11406 main ()
11408 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11410 return 0;
11412 _ACEOF
11413 if ac_fn_c_try_compile "$LINENO"; then :
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11415 $as_echo_n "checking for -lgnutls... " >&6; }
11416 if ${ac_cv_lib_soname_gnutls+:} false; then :
11417 $as_echo_n "(cached) " >&6
11418 else
11419 ac_check_soname_save_LIBS=$LIBS
11420 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11424 /* Override any GCC internal prototype to avoid an error.
11425 Use char because int might match the return type of a GCC
11426 builtin and then its argument prototype would still apply. */
11427 #ifdef __cplusplus
11428 extern "C"
11429 #endif
11430 char gnutls_global_init ();
11432 main ()
11434 return gnutls_global_init ();
11436 return 0;
11438 _ACEOF
11439 if ac_fn_c_try_link "$LINENO"; then :
11440 case "$LIBEXT" in
11441 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11442 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'` ;;
11443 *) 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'`
11444 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11445 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'`
11446 fi ;;
11447 esac
11449 rm -f core conftest.err conftest.$ac_objext \
11450 conftest$ac_exeext conftest.$ac_ext
11451 LIBS=$ac_check_soname_save_LIBS
11453 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11455 $as_echo "not found" >&6; }
11456 GNUTLS_CFLAGS=""
11457 else
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11459 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11461 cat >>confdefs.h <<_ACEOF
11462 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11463 _ACEOF
11468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11469 else
11470 GNUTLS_CFLAGS=""
11474 CPPFLAGS=$ac_save_CPPFLAGS
11475 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11476 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11479 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11480 case "x$with_gnutls" in
11481 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11482 xno) ;;
11483 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11484 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11485 esac
11488 CURSES_LIBS=""
11489 if test "$ac_cv_header_ncurses_h" = "yes"
11490 then
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11492 $as_echo_n "checking for -lncurses... " >&6; }
11493 if ${ac_cv_lib_soname_ncurses+:} false; then :
11494 $as_echo_n "(cached) " >&6
11495 else
11496 ac_check_soname_save_LIBS=$LIBS
11497 LIBS="-lncurses $LIBS"
11498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11501 /* Override any GCC internal prototype to avoid an error.
11502 Use char because int might match the return type of a GCC
11503 builtin and then its argument prototype would still apply. */
11504 #ifdef __cplusplus
11505 extern "C"
11506 #endif
11507 char waddch ();
11509 main ()
11511 return waddch ();
11513 return 0;
11515 _ACEOF
11516 if ac_fn_c_try_link "$LINENO"; then :
11517 case "$LIBEXT" in
11518 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11519 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'` ;;
11520 *) 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'`
11521 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11522 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11523 fi ;;
11524 esac
11526 rm -f core conftest.err conftest.$ac_objext \
11527 conftest$ac_exeext conftest.$ac_ext
11528 LIBS=$ac_check_soname_save_LIBS
11530 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11532 $as_echo "not found" >&6; }
11534 else
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11536 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11538 cat >>confdefs.h <<_ACEOF
11539 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11540 _ACEOF
11542 CURSES_LIBS="-lncurses"
11544 elif test "$ac_cv_header_curses_h" = "yes"
11545 then
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11547 $as_echo_n "checking for -lcurses... " >&6; }
11548 if ${ac_cv_lib_soname_curses+:} false; then :
11549 $as_echo_n "(cached) " >&6
11550 else
11551 ac_check_soname_save_LIBS=$LIBS
11552 LIBS="-lcurses $LIBS"
11553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11556 /* Override any GCC internal prototype to avoid an error.
11557 Use char because int might match the return type of a GCC
11558 builtin and then its argument prototype would still apply. */
11559 #ifdef __cplusplus
11560 extern "C"
11561 #endif
11562 char waddch ();
11564 main ()
11566 return waddch ();
11568 return 0;
11570 _ACEOF
11571 if ac_fn_c_try_link "$LINENO"; then :
11572 case "$LIBEXT" in
11573 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11574 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'` ;;
11575 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11576 if ${ac_cv_lib_soname_curses:+false} :; then :
11577 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11578 fi ;;
11579 esac
11581 rm -f core conftest.err conftest.$ac_objext \
11582 conftest$ac_exeext conftest.$ac_ext
11583 LIBS=$ac_check_soname_save_LIBS
11585 if ${ac_cv_lib_soname_curses:+false} :; then :
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11587 $as_echo "not found" >&6; }
11589 else
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11591 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11593 cat >>confdefs.h <<_ACEOF
11594 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11595 _ACEOF
11597 CURSES_LIBS="-lcurses"
11600 ac_save_LIBS="$LIBS"
11601 LIBS="$LIBS $CURSES_LIBS"
11602 for ac_func in mousemask
11603 do :
11604 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11605 if test "x$ac_cv_func_mousemask" = xyes; then :
11606 cat >>confdefs.h <<_ACEOF
11607 #define HAVE_MOUSEMASK 1
11608 _ACEOF
11611 done
11613 LIBS="$ac_save_LIBS"
11614 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11615 case "x$with_curses" in
11616 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11617 xno) ;;
11618 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11619 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11620 esac
11623 if test "x$with_sane" != "xno"
11624 then
11625 if ${SANE_CFLAGS:+false} :; then :
11626 if ${PKG_CONFIG+:} false; then :
11627 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11630 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11631 if ${SANE_LIBS:+false} :; then :
11632 if ${PKG_CONFIG+:} false; then :
11633 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11636 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11638 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11639 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11640 ac_save_CPPFLAGS=$CPPFLAGS
11641 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11642 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11643 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11645 $as_echo_n "checking for -lsane... " >&6; }
11646 if ${ac_cv_lib_soname_sane+:} false; then :
11647 $as_echo_n "(cached) " >&6
11648 else
11649 ac_check_soname_save_LIBS=$LIBS
11650 LIBS="-lsane $SANE_LIBS $LIBS"
11651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11654 /* Override any GCC internal prototype to avoid an error.
11655 Use char because int might match the return type of a GCC
11656 builtin and then its argument prototype would still apply. */
11657 #ifdef __cplusplus
11658 extern "C"
11659 #endif
11660 char sane_init ();
11662 main ()
11664 return sane_init ();
11666 return 0;
11668 _ACEOF
11669 if ac_fn_c_try_link "$LINENO"; then :
11670 case "$LIBEXT" in
11671 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11672 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'` ;;
11673 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11674 if ${ac_cv_lib_soname_sane:+false} :; then :
11675 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11676 fi ;;
11677 esac
11679 rm -f core conftest.err conftest.$ac_objext \
11680 conftest$ac_exeext conftest.$ac_ext
11681 LIBS=$ac_check_soname_save_LIBS
11683 if ${ac_cv_lib_soname_sane:+false} :; then :
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11685 $as_echo "not found" >&6; }
11686 SANE_CFLAGS=""
11687 else
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11689 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11691 cat >>confdefs.h <<_ACEOF
11692 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11693 _ACEOF
11697 else
11698 SANE_CFLAGS=""
11702 CPPFLAGS=$ac_save_CPPFLAGS
11703 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11704 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11707 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11708 case "x$with_sane" in
11709 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11710 xno) ;;
11711 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11712 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11713 esac
11716 if test "x$with_v4l" != "xno"
11717 then
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11719 $as_echo_n "checking for -lv4l1... " >&6; }
11720 if ${ac_cv_lib_soname_v4l1+:} false; then :
11721 $as_echo_n "(cached) " >&6
11722 else
11723 ac_check_soname_save_LIBS=$LIBS
11724 LIBS="-lv4l1 $LIBS"
11725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726 /* end confdefs.h. */
11728 /* Override any GCC internal prototype to avoid an error.
11729 Use char because int might match the return type of a GCC
11730 builtin and then its argument prototype would still apply. */
11731 #ifdef __cplusplus
11732 extern "C"
11733 #endif
11734 char v4l1_open ();
11736 main ()
11738 return v4l1_open ();
11740 return 0;
11742 _ACEOF
11743 if ac_fn_c_try_link "$LINENO"; then :
11744 case "$LIBEXT" in
11745 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11746 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'` ;;
11747 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11748 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11749 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11750 fi ;;
11751 esac
11753 rm -f core conftest.err conftest.$ac_objext \
11754 conftest$ac_exeext conftest.$ac_ext
11755 LIBS=$ac_check_soname_save_LIBS
11757 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11759 $as_echo "not found" >&6; }
11761 else
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11763 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11765 cat >>confdefs.h <<_ACEOF
11766 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11767 _ACEOF
11772 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11773 case "x$with_v4l" in
11774 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11775 xno) ;;
11776 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11777 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11778 esac
11781 if test "x$with_gphoto" != "xno"
11782 then
11783 if ${GPHOTO2_CFLAGS:+false} :; then :
11784 if ${PKG_CONFIG+:} false; then :
11785 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11788 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11789 if ${GPHOTO2_LIBS:+false} :; then :
11790 if ${PKG_CONFIG+:} false; then :
11791 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11794 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11795 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11796 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11797 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11798 ac_save_CPPFLAGS=$CPPFLAGS
11799 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11800 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11801 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11803 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11804 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11805 $as_echo_n "(cached) " >&6
11806 else
11807 ac_check_lib_save_LIBS=$LIBS
11808 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11810 /* end confdefs.h. */
11812 /* Override any GCC internal prototype to avoid an error.
11813 Use char because int might match the return type of a GCC
11814 builtin and then its argument prototype would still apply. */
11815 #ifdef __cplusplus
11816 extern "C"
11817 #endif
11818 char gp_camera_new ();
11820 main ()
11822 return gp_camera_new ();
11824 return 0;
11826 _ACEOF
11827 if ac_fn_c_try_link "$LINENO"; then :
11828 ac_cv_lib_gphoto2_gp_camera_new=yes
11829 else
11830 ac_cv_lib_gphoto2_gp_camera_new=no
11832 rm -f core conftest.err conftest.$ac_objext \
11833 conftest$ac_exeext conftest.$ac_ext
11834 LIBS=$ac_check_lib_save_LIBS
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11837 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11838 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11840 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11842 else
11843 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11846 else
11847 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11851 CPPFLAGS=$ac_save_CPPFLAGS
11852 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11853 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11855 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11856 if ${PKG_CONFIG+:} false; then :
11857 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11860 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11861 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11862 if ${PKG_CONFIG+:} false; then :
11863 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11866 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11867 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11868 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11869 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11870 ac_save_CPPFLAGS=$CPPFLAGS
11871 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11872 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11873 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11875 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11876 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11877 $as_echo_n "(cached) " >&6
11878 else
11879 ac_check_lib_save_LIBS=$LIBS
11880 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11884 /* Override any GCC internal prototype to avoid an error.
11885 Use char because int might match the return type of a GCC
11886 builtin and then its argument prototype would still apply. */
11887 #ifdef __cplusplus
11888 extern "C"
11889 #endif
11890 char gp_port_info_list_new ();
11892 main ()
11894 return gp_port_info_list_new ();
11896 return 0;
11898 _ACEOF
11899 if ac_fn_c_try_link "$LINENO"; then :
11900 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11901 else
11902 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11904 rm -f core conftest.err conftest.$ac_objext \
11905 conftest$ac_exeext conftest.$ac_ext
11906 LIBS=$ac_check_lib_save_LIBS
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11909 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11910 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11912 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11914 else
11915 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11918 else
11919 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11923 CPPFLAGS=$ac_save_CPPFLAGS
11924 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11925 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11928 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11929 case "x$with_gphoto" in
11930 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11931 xno) ;;
11932 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11933 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11934 esac
11936 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11937 case "x$with_gphoto" in
11938 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11939 xno) ;;
11940 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11941 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11942 esac
11946 if test "$ac_cv_header_resolv_h" = "yes"
11947 then
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11949 $as_echo_n "checking for resolver library... " >&6; }
11950 if ${ac_cv_have_resolv+:} false; then :
11951 $as_echo_n "(cached) " >&6
11952 else
11953 ac_save_LIBS="$LIBS"
11954 for lib in '' -lresolv
11956 LIBS="$lib $ac_save_LIBS"
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11959 #ifdef HAVE_NETINET_IN_H
11960 #include <netinet/in.h>
11961 #endif
11962 #include <resolv.h>
11964 main ()
11966 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11968 return 0;
11970 _ACEOF
11971 if ac_fn_c_try_link "$LINENO"; then :
11972 ac_cv_have_resolv=${lib:-"none required"}
11973 else
11974 ac_cv_have_resolv="not found"
11976 rm -f core conftest.err conftest.$ac_objext \
11977 conftest$ac_exeext conftest.$ac_ext
11978 test "x$ac_cv_have_resolv" = "xnot found" || break
11979 done
11980 LIBS="$ac_save_LIBS"
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11983 $as_echo "$ac_cv_have_resolv" >&6; }
11985 case "$ac_cv_have_resolv" in
11986 "not found") ;;
11987 "none required")
11989 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11992 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11994 RESOLV_LIBS=$ac_cv_have_resolv
11996 esac
11999 if test "x$with_cms" != "xno"
12000 then
12001 if ${LCMS2_CFLAGS:+false} :; then :
12002 if ${PKG_CONFIG+:} false; then :
12003 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12007 if ${LCMS2_LIBS:+false} :; then :
12008 if ${PKG_CONFIG+:} false; then :
12009 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12013 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12014 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12015 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12016 ac_save_CPPFLAGS=$CPPFLAGS
12017 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12018 for ac_header in lcms2.h
12019 do :
12020 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12021 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12022 cat >>confdefs.h <<_ACEOF
12023 #define HAVE_LCMS2_H 1
12024 _ACEOF
12028 done
12030 if test "$ac_cv_header_lcms2_h" = "yes"
12031 then
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12033 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12034 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12035 $as_echo_n "(cached) " >&6
12036 else
12037 ac_check_lib_save_LIBS=$LIBS
12038 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12040 /* end confdefs.h. */
12042 /* Override any GCC internal prototype to avoid an error.
12043 Use char because int might match the return type of a GCC
12044 builtin and then its argument prototype would still apply. */
12045 #ifdef __cplusplus
12046 extern "C"
12047 #endif
12048 char cmsOpenProfileFromFile ();
12050 main ()
12052 return cmsOpenProfileFromFile ();
12054 return 0;
12056 _ACEOF
12057 if ac_fn_c_try_link "$LINENO"; then :
12058 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12059 else
12060 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12062 rm -f core conftest.err conftest.$ac_objext \
12063 conftest$ac_exeext conftest.$ac_ext
12064 LIBS=$ac_check_lib_save_LIBS
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12067 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12068 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12070 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12072 else
12073 LCMS2_LIBS=""
12076 else
12077 LCMS2_CFLAGS=""
12078 LCMS2_LIBS=""
12080 CPPFLAGS=$ac_save_CPPFLAGS
12081 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12082 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12085 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12086 case "x$with_cms" in
12087 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12088 xno) ;;
12089 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12090 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12091 esac
12094 if test "x$with_freetype" != "xno"
12095 then
12096 if ${FREETYPE_CFLAGS:+false} :; then :
12097 if ${PKG_CONFIG+:} false; then :
12098 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12101 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12102 if ${FREETYPE_LIBS:+false} :; then :
12103 if ${PKG_CONFIG+:} false; then :
12104 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12107 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12108 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12109 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12110 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12111 ac_save_CPPFLAGS=$CPPFLAGS
12112 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12113 for ac_header in ft2build.h
12114 do :
12115 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12116 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12117 cat >>confdefs.h <<_ACEOF
12118 #define HAVE_FT2BUILD_H 1
12119 _ACEOF
12123 done
12125 if test "$ac_cv_header_ft2build_h" = "yes"
12126 then
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12128 $as_echo_n "checking for -lfreetype... " >&6; }
12129 if ${ac_cv_lib_soname_freetype+:} false; then :
12130 $as_echo_n "(cached) " >&6
12131 else
12132 ac_check_soname_save_LIBS=$LIBS
12133 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12140 #ifdef __cplusplus
12141 extern "C"
12142 #endif
12143 char FT_Init_FreeType ();
12145 main ()
12147 return FT_Init_FreeType ();
12149 return 0;
12151 _ACEOF
12152 if ac_fn_c_try_link "$LINENO"; then :
12153 case "$LIBEXT" in
12154 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12155 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'` ;;
12156 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12157 if ${ac_cv_lib_soname_freetype:+false} :; then :
12158 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12159 fi ;;
12160 esac
12162 rm -f core conftest.err conftest.$ac_objext \
12163 conftest$ac_exeext conftest.$ac_ext
12164 LIBS=$ac_check_soname_save_LIBS
12166 if ${ac_cv_lib_soname_freetype:+false} :; then :
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12168 $as_echo "not found" >&6; }
12169 FREETYPE_LIBS=""
12170 else
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12172 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12174 cat >>confdefs.h <<_ACEOF
12175 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12176 _ACEOF
12179 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12181 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12182 #include FT_MODULE_H
12184 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12186 cat >>confdefs.h <<_ACEOF
12187 #define HAVE_FT_TRUETYPEENGINETYPE 1
12188 _ACEOF
12194 else
12195 FREETYPE_CFLAGS=""
12196 FREETYPE_LIBS=""
12198 CPPFLAGS=$ac_save_CPPFLAGS
12199 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12200 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12203 if test "x$ac_cv_lib_soname_freetype" = x; then :
12204 case "x$with_freetype" in
12205 xno) ;;
12206 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12207 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12208 esac
12210 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12213 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12214 if ${ac_cv_c_ppdev+:} false; then :
12215 $as_echo_n "(cached) " >&6
12216 else
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12219 #ifdef HAVE_SYS_IOCTL_H
12220 # include <sys/ioctl.h>
12221 #endif
12222 #include <linux/ppdev.h>
12224 main ()
12226 ioctl (1,PPCLAIM,0)
12228 return 0;
12230 _ACEOF
12231 if ac_fn_c_try_compile "$LINENO"; then :
12232 ac_cv_c_ppdev="yes"
12233 else
12234 ac_cv_c_ppdev="no"
12236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12239 $as_echo "$ac_cv_c_ppdev" >&6; }
12240 if test "$ac_cv_c_ppdev" = "yes"
12241 then
12243 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12247 ac_wine_check_funcs_save_LIBS="$LIBS"
12248 LIBS="$LIBS $PTHREAD_LIBS"
12249 for ac_func in \
12250 pthread_attr_get_np \
12251 pthread_getattr_np \
12252 pthread_getthreadid_np \
12253 pthread_get_stackaddr_np \
12254 pthread_get_stacksize_np
12255 do :
12256 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12257 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12258 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12259 cat >>confdefs.h <<_ACEOF
12260 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12261 _ACEOF
12264 done
12266 LIBS="$ac_wine_check_funcs_save_LIBS"
12268 if test "$ac_cv_header_zlib_h" = "yes"
12269 then
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12271 $as_echo_n "checking for inflate in -lz... " >&6; }
12272 if ${ac_cv_lib_z_inflate+:} false; then :
12273 $as_echo_n "(cached) " >&6
12274 else
12275 ac_check_lib_save_LIBS=$LIBS
12276 LIBS="-lz $LIBS"
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12280 /* Override any GCC internal prototype to avoid an error.
12281 Use char because int might match the return type of a GCC
12282 builtin and then its argument prototype would still apply. */
12283 #ifdef __cplusplus
12284 extern "C"
12285 #endif
12286 char inflate ();
12288 main ()
12290 return inflate ();
12292 return 0;
12294 _ACEOF
12295 if ac_fn_c_try_link "$LINENO"; then :
12296 ac_cv_lib_z_inflate=yes
12297 else
12298 ac_cv_lib_z_inflate=no
12300 rm -f core conftest.err conftest.$ac_objext \
12301 conftest$ac_exeext conftest.$ac_ext
12302 LIBS=$ac_check_lib_save_LIBS
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12305 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12306 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12308 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12310 Z_LIBS="-lz"
12315 if test "x$Z_LIBS" = "x"; then :
12316 case "x$with_zlib" in
12317 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12318 xno) ;;
12319 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12320 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12321 esac
12324 if test "x$enable_tools" != xno
12325 then
12326 if test "$ac_cv_header_gettext_po_h" = "yes"
12327 then
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12329 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12330 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12331 $as_echo_n "(cached) " >&6
12332 else
12333 ac_check_lib_save_LIBS=$LIBS
12334 LIBS="-lgettextpo $LIBS"
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12338 /* Override any GCC internal prototype to avoid an error.
12339 Use char because int might match the return type of a GCC
12340 builtin and then its argument prototype would still apply. */
12341 #ifdef __cplusplus
12342 extern "C"
12343 #endif
12344 char po_message_msgctxt ();
12346 main ()
12348 return po_message_msgctxt ();
12350 return 0;
12352 _ACEOF
12353 if ac_fn_c_try_link "$LINENO"; then :
12354 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12355 else
12356 ac_cv_lib_gettextpo_po_message_msgctxt=no
12358 rm -f core conftest.err conftest.$ac_objext \
12359 conftest$ac_exeext conftest.$ac_ext
12360 LIBS=$ac_check_lib_save_LIBS
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12363 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12364 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12366 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12368 GETTEXTPO_LIBS="-lgettextpo"
12373 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12374 case "x$with_gettextpo" in
12375 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12376 xno) ;;
12377 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12378 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12379 esac
12383 if test "x$with_gstreamer" != "xno"
12384 then
12385 if ${GSTREAMER_CFLAGS:+false} :; then :
12386 if ${PKG_CONFIG+:} false; then :
12387 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12391 if ${GSTREAMER_LIBS:+false} :; then :
12392 if ${PKG_CONFIG+:} false; then :
12393 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12398 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12399 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12400 ac_save_CPPFLAGS=$CPPFLAGS
12401 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12402 ac_gst_incl=""
12403 for i in $GSTREAMER_CFLAGS
12405 case "$i" in
12406 -I*) ac_gst_incl="$ac_gst_incl $i";;
12407 esac
12408 done
12409 GSTREAMER_CFLAGS=$ac_gst_incl
12410 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12411 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12412 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12413 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12414 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12416 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12418 /* end confdefs.h. */
12419 #include <gst/app/gstappsink.h>
12421 main ()
12423 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12425 return 0;
12427 _ACEOF
12428 if ac_fn_c_try_compile "$LINENO"; then :
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12430 $as_echo "yes" >&6; }
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12432 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12433 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12434 $as_echo_n "(cached) " >&6
12435 else
12436 ac_check_lib_save_LIBS=$LIBS
12437 LIBS="-lgstreamer-0.10 $LIBS"
12438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12439 /* end confdefs.h. */
12441 /* Override any GCC internal prototype to avoid an error.
12442 Use char because int might match the return type of a GCC
12443 builtin and then its argument prototype would still apply. */
12444 #ifdef __cplusplus
12445 extern "C"
12446 #endif
12447 char gst_pad_get_caps_reffed ();
12449 main ()
12451 return gst_pad_get_caps_reffed ();
12453 return 0;
12455 _ACEOF
12456 if ac_fn_c_try_link "$LINENO"; then :
12457 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12458 else
12459 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12461 rm -f core conftest.err conftest.$ac_objext \
12462 conftest$ac_exeext conftest.$ac_ext
12463 LIBS=$ac_check_lib_save_LIBS
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12466 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12467 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12469 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12470 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12471 $as_echo_n "(cached) " >&6
12472 else
12473 ac_check_lib_save_LIBS=$LIBS
12474 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12478 /* Override any GCC internal prototype to avoid an error.
12479 Use char because int might match the return type of a GCC
12480 builtin and then its argument prototype would still apply. */
12481 #ifdef __cplusplus
12482 extern "C"
12483 #endif
12484 char gst_app_buffer_new ();
12486 main ()
12488 return gst_app_buffer_new ();
12490 return 0;
12492 _ACEOF
12493 if ac_fn_c_try_link "$LINENO"; then :
12494 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12495 else
12496 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12498 rm -f core conftest.err conftest.$ac_objext \
12499 conftest$ac_exeext conftest.$ac_ext
12500 LIBS=$ac_check_lib_save_LIBS
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12503 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12504 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12510 else
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12512 $as_echo "no" >&6; }
12514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12518 else
12519 GSTREAMER_CFLAGS=""
12523 CPPFLAGS=$ac_save_CPPFLAGS
12524 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12525 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12528 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12529 case "x$with_gstreamer" in
12530 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12531 xno) ;;
12532 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12533 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12534 esac
12536 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12538 ALSA_LIBS=""
12540 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12541 then
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12543 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12544 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12545 $as_echo_n "(cached) " >&6
12546 else
12547 ac_check_lib_save_LIBS=$LIBS
12548 LIBS="-lasound $LIBS"
12549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12550 /* end confdefs.h. */
12552 /* Override any GCC internal prototype to avoid an error.
12553 Use char because int might match the return type of a GCC
12554 builtin and then its argument prototype would still apply. */
12555 #ifdef __cplusplus
12556 extern "C"
12557 #endif
12558 char snd_pcm_hw_params_get_access_mask ();
12560 main ()
12562 return snd_pcm_hw_params_get_access_mask ();
12564 return 0;
12566 _ACEOF
12567 if ac_fn_c_try_link "$LINENO"; then :
12568 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12569 else
12570 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12572 rm -f core conftest.err conftest.$ac_objext \
12573 conftest$ac_exeext conftest.$ac_ext
12574 LIBS=$ac_check_lib_save_LIBS
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12577 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12578 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12581 #ifdef HAVE_ALSA_ASOUNDLIB_H
12582 #include <alsa/asoundlib.h>
12583 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12584 #include <sys/asoundlib.h>
12585 #endif
12587 main ()
12589 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12591 return 0;
12593 _ACEOF
12594 if ac_fn_c_try_compile "$LINENO"; then :
12595 ALSA_LIBS="-lasound"
12597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12602 if test "x$with_oss" != xno
12603 then
12604 ac_save_CPPFLAGS="$CPPFLAGS"
12605 if test -f /etc/oss.conf
12606 then
12607 . /etc/oss.conf
12609 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12610 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12611 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12612 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12613 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12615 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12617 cat >>confdefs.h <<_ACEOF
12618 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12619 _ACEOF
12621 OSS4_CFLAGS="$ac_oss_incl"
12628 CPPFLAGS="$ac_save_CPPFLAGS"
12629 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12630 then
12631 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12635 if test "x$with_capi" != "xno"
12636 then
12637 if ${CAPI20_CFLAGS:+false} :; then :
12638 if ${PKG_CONFIG+:} false; then :
12639 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12643 if ${CAPI20_LIBS:+false} :; then :
12644 if ${PKG_CONFIG+:} false; then :
12645 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12650 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12651 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12652 ac_save_CPPFLAGS=$CPPFLAGS
12653 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12654 for ac_header in capi20.h linux/capi.h
12655 do :
12656 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12657 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12659 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12660 cat >>confdefs.h <<_ACEOF
12661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12662 _ACEOF
12666 done
12668 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12669 then
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12671 $as_echo_n "checking for -lcapi20... " >&6; }
12672 if ${ac_cv_lib_soname_capi20+:} false; then :
12673 $as_echo_n "(cached) " >&6
12674 else
12675 ac_check_soname_save_LIBS=$LIBS
12676 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12680 /* Override any GCC internal prototype to avoid an error.
12681 Use char because int might match the return type of a GCC
12682 builtin and then its argument prototype would still apply. */
12683 #ifdef __cplusplus
12684 extern "C"
12685 #endif
12686 char capi20_register ();
12688 main ()
12690 return capi20_register ();
12692 return 0;
12694 _ACEOF
12695 if ac_fn_c_try_link "$LINENO"; then :
12696 case "$LIBEXT" in
12697 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12698 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'` ;;
12699 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12700 if ${ac_cv_lib_soname_capi20:+false} :; then :
12701 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12702 fi ;;
12703 esac
12705 rm -f core conftest.err conftest.$ac_objext \
12706 conftest$ac_exeext conftest.$ac_ext
12707 LIBS=$ac_check_soname_save_LIBS
12709 if ${ac_cv_lib_soname_capi20:+false} :; then :
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12711 $as_echo "not found" >&6; }
12713 else
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12715 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12717 cat >>confdefs.h <<_ACEOF
12718 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12719 _ACEOF
12724 CPPFLAGS=$ac_save_CPPFLAGS
12725 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12726 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12729 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12730 case "x$with_capi" in
12731 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12732 xno) ;;
12733 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12734 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12735 esac
12738 CUPS_CFLAGS=""
12740 if test "x$with_cups" != "xno"
12741 then
12742 ac_save_CPPFLAGS="$CPPFLAGS"
12743 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12744 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12745 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12746 for ac_header in cups/cups.h
12747 do :
12748 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12749 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12750 cat >>confdefs.h <<_ACEOF
12751 #define HAVE_CUPS_CUPS_H 1
12752 _ACEOF
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12754 $as_echo_n "checking for -lcups... " >&6; }
12755 if ${ac_cv_lib_soname_cups+:} false; then :
12756 $as_echo_n "(cached) " >&6
12757 else
12758 ac_check_soname_save_LIBS=$LIBS
12759 LIBS="-lcups $ac_cups_libs $LIBS"
12760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12761 /* end confdefs.h. */
12763 /* Override any GCC internal prototype to avoid an error.
12764 Use char because int might match the return type of a GCC
12765 builtin and then its argument prototype would still apply. */
12766 #ifdef __cplusplus
12767 extern "C"
12768 #endif
12769 char cupsGetDefault ();
12771 main ()
12773 return cupsGetDefault ();
12775 return 0;
12777 _ACEOF
12778 if ac_fn_c_try_link "$LINENO"; then :
12779 case "$LIBEXT" in
12780 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12781 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'` ;;
12782 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12783 if ${ac_cv_lib_soname_cups:+false} :; then :
12784 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12785 fi ;;
12786 esac
12788 rm -f core conftest.err conftest.$ac_objext \
12789 conftest$ac_exeext conftest.$ac_ext
12790 LIBS=$ac_check_soname_save_LIBS
12792 if ${ac_cv_lib_soname_cups:+false} :; then :
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12794 $as_echo "not found" >&6; }
12796 else
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12798 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12800 cat >>confdefs.h <<_ACEOF
12801 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12802 _ACEOF
12804 CUPS_CFLAGS="$ac_cups_cflags"
12808 done
12810 CPPFLAGS="$ac_save_CPPFLAGS"
12812 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12813 case "x$with_cups" in
12814 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12815 xno) ;;
12816 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12817 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12818 esac
12821 if test "x$with_fontconfig" != "xno"
12822 then
12823 if ${FONTCONFIG_CFLAGS:+false} :; then :
12824 if ${PKG_CONFIG+:} false; then :
12825 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12828 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12829 if ${FONTCONFIG_LIBS:+false} :; then :
12830 if ${PKG_CONFIG+:} false; then :
12831 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12834 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12836 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12837 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12838 ac_save_CPPFLAGS=$CPPFLAGS
12839 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12840 for ac_header in fontconfig/fontconfig.h
12841 do :
12842 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12843 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12844 cat >>confdefs.h <<_ACEOF
12845 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12846 _ACEOF
12850 done
12852 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12853 then
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12855 $as_echo_n "checking for -lfontconfig... " >&6; }
12856 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12857 $as_echo_n "(cached) " >&6
12858 else
12859 ac_check_soname_save_LIBS=$LIBS
12860 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12862 /* end confdefs.h. */
12864 /* Override any GCC internal prototype to avoid an error.
12865 Use char because int might match the return type of a GCC
12866 builtin and then its argument prototype would still apply. */
12867 #ifdef __cplusplus
12868 extern "C"
12869 #endif
12870 char FcInit ();
12872 main ()
12874 return FcInit ();
12876 return 0;
12878 _ACEOF
12879 if ac_fn_c_try_link "$LINENO"; then :
12880 case "$LIBEXT" in
12881 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12882 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'` ;;
12883 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12884 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12885 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12886 fi ;;
12887 esac
12889 rm -f core conftest.err conftest.$ac_objext \
12890 conftest$ac_exeext conftest.$ac_ext
12891 LIBS=$ac_check_soname_save_LIBS
12893 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12895 $as_echo "not found" >&6; }
12896 FONTCONFIG_CFLAGS=""
12897 else
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12899 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12901 cat >>confdefs.h <<_ACEOF
12902 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12903 _ACEOF
12907 else
12908 FONTCONFIG_CFLAGS=""
12910 CPPFLAGS=$ac_save_CPPFLAGS
12911 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12912 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12915 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12916 case "x$with_fontconfig" in
12917 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12918 xno) ;;
12919 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12920 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12921 esac
12924 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12925 then
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12927 $as_echo_n "checking for -lgsm... " >&6; }
12928 if ${ac_cv_lib_soname_gsm+:} false; then :
12929 $as_echo_n "(cached) " >&6
12930 else
12931 ac_check_soname_save_LIBS=$LIBS
12932 LIBS="-lgsm $LIBS"
12933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12936 /* Override any GCC internal prototype to avoid an error.
12937 Use char because int might match the return type of a GCC
12938 builtin and then its argument prototype would still apply. */
12939 #ifdef __cplusplus
12940 extern "C"
12941 #endif
12942 char gsm_create ();
12944 main ()
12946 return gsm_create ();
12948 return 0;
12950 _ACEOF
12951 if ac_fn_c_try_link "$LINENO"; then :
12952 case "$LIBEXT" in
12953 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12954 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'` ;;
12955 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12956 if ${ac_cv_lib_soname_gsm:+false} :; then :
12957 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12958 fi ;;
12959 esac
12961 rm -f core conftest.err conftest.$ac_objext \
12962 conftest$ac_exeext conftest.$ac_ext
12963 LIBS=$ac_check_soname_save_LIBS
12965 if ${ac_cv_lib_soname_gsm:+false} :; then :
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12967 $as_echo "not found" >&6; }
12969 else
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12971 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12973 cat >>confdefs.h <<_ACEOF
12974 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12975 _ACEOF
12980 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12981 case "x$with_gsm" in
12982 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12983 xno) ;;
12984 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12985 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12986 esac
12989 if test "x$with_jpeg" != "xno"
12990 then
12991 if ${JPEG_CFLAGS:+false} :; then :
12992 if ${PKG_CONFIG+:} false; then :
12993 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12997 if ${JPEG_LIBS:+false} :; then :
12998 if ${PKG_CONFIG+:} false; then :
12999 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13004 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13005 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13006 ac_save_CPPFLAGS=$CPPFLAGS
13007 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13008 for ac_header in jpeglib.h
13009 do :
13010 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13011 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13012 cat >>confdefs.h <<_ACEOF
13013 #define HAVE_JPEGLIB_H 1
13014 _ACEOF
13018 done
13020 if test "$ac_cv_header_jpeglib_h" = "yes"
13021 then
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13023 $as_echo_n "checking for -ljpeg... " >&6; }
13024 if ${ac_cv_lib_soname_jpeg+:} false; then :
13025 $as_echo_n "(cached) " >&6
13026 else
13027 ac_check_soname_save_LIBS=$LIBS
13028 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13032 /* Override any GCC internal prototype to avoid an error.
13033 Use char because int might match the return type of a GCC
13034 builtin and then its argument prototype would still apply. */
13035 #ifdef __cplusplus
13036 extern "C"
13037 #endif
13038 char jpeg_start_decompress ();
13040 main ()
13042 return jpeg_start_decompress ();
13044 return 0;
13046 _ACEOF
13047 if ac_fn_c_try_link "$LINENO"; then :
13048 case "$LIBEXT" in
13049 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13050 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'` ;;
13051 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13052 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13053 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13054 fi ;;
13055 esac
13057 rm -f core conftest.err conftest.$ac_objext \
13058 conftest$ac_exeext conftest.$ac_ext
13059 LIBS=$ac_check_soname_save_LIBS
13061 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13063 $as_echo "not found" >&6; }
13064 JPEG_CFLAGS=""
13065 else
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13067 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13069 cat >>confdefs.h <<_ACEOF
13070 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13071 _ACEOF
13075 else
13076 JPEG_CFLAGS=""
13078 CPPFLAGS=$ac_save_CPPFLAGS
13079 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13080 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13083 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13084 case "x$with_jpeg" in
13085 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13086 xno) ;;
13087 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13088 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13089 esac
13092 if test "x$with_png" != "xno"
13093 then
13094 if ${PNG_CFLAGS:+false} :; then :
13095 if ${PKG_CONFIG+:} false; then :
13096 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13099 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13100 if ${PNG_LIBS:+false} :; then :
13101 if ${PKG_CONFIG+:} false; then :
13102 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13105 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13107 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13108 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13109 ac_save_CPPFLAGS=$CPPFLAGS
13110 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13111 for ac_header in png.h
13112 do :
13113 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13114 if test "x$ac_cv_header_png_h" = xyes; then :
13115 cat >>confdefs.h <<_ACEOF
13116 #define HAVE_PNG_H 1
13117 _ACEOF
13121 done
13123 if test "$ac_cv_header_png_h" = "yes"
13124 then
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13126 $as_echo_n "checking for -lpng... " >&6; }
13127 if ${ac_cv_lib_soname_png+:} false; then :
13128 $as_echo_n "(cached) " >&6
13129 else
13130 ac_check_soname_save_LIBS=$LIBS
13131 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13133 /* end confdefs.h. */
13135 /* Override any GCC internal prototype to avoid an error.
13136 Use char because int might match the return type of a GCC
13137 builtin and then its argument prototype would still apply. */
13138 #ifdef __cplusplus
13139 extern "C"
13140 #endif
13141 char png_create_read_struct ();
13143 main ()
13145 return png_create_read_struct ();
13147 return 0;
13149 _ACEOF
13150 if ac_fn_c_try_link "$LINENO"; then :
13151 case "$LIBEXT" in
13152 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13153 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'` ;;
13154 *) 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'`
13155 if ${ac_cv_lib_soname_png:+false} :; then :
13156 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13157 fi ;;
13158 esac
13160 rm -f core conftest.err conftest.$ac_objext \
13161 conftest$ac_exeext conftest.$ac_ext
13162 LIBS=$ac_check_soname_save_LIBS
13164 if ${ac_cv_lib_soname_png:+false} :; then :
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13166 $as_echo "not found" >&6; }
13167 PNG_CFLAGS=""
13168 else
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13170 $as_echo "$ac_cv_lib_soname_png" >&6; }
13172 cat >>confdefs.h <<_ACEOF
13173 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13174 _ACEOF
13176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13178 #include <png.h>
13180 main ()
13182 typeof(png_set_expand_gray_1_2_4_to_8) *p
13184 return 0;
13186 _ACEOF
13187 if ac_fn_c_try_compile "$LINENO"; then :
13189 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13194 else
13195 PNG_CFLAGS=""
13197 CPPFLAGS=$ac_save_CPPFLAGS
13198 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13199 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13202 if test "x$ac_cv_lib_soname_png" = "x"; then :
13203 case "x$with_png" in
13204 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13205 xno) ;;
13206 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13207 This is an error since --with-png was requested." "$LINENO" 5 ;;
13208 esac
13211 if test "x$with_tiff" != "xno"
13212 then
13213 if ${TIFF_CFLAGS:+false} :; then :
13214 if ${PKG_CONFIG+:} false; then :
13215 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13219 if ${TIFF_LIBS:+false} :; then :
13220 if ${PKG_CONFIG+:} false; then :
13221 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13226 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13227 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13228 ac_save_CPPFLAGS=$CPPFLAGS
13229 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13230 for ac_header in tiffio.h
13231 do :
13232 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13233 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13234 cat >>confdefs.h <<_ACEOF
13235 #define HAVE_TIFFIO_H 1
13236 _ACEOF
13240 done
13242 if test "$ac_cv_header_tiffio_h" = "yes"
13243 then
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13245 $as_echo_n "checking for -ltiff... " >&6; }
13246 if ${ac_cv_lib_soname_tiff+:} false; then :
13247 $as_echo_n "(cached) " >&6
13248 else
13249 ac_check_soname_save_LIBS=$LIBS
13250 LIBS="-ltiff $TIFF_LIBS $LIBS"
13251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13254 /* Override any GCC internal prototype to avoid an error.
13255 Use char because int might match the return type of a GCC
13256 builtin and then its argument prototype would still apply. */
13257 #ifdef __cplusplus
13258 extern "C"
13259 #endif
13260 char TIFFClientOpen ();
13262 main ()
13264 return TIFFClientOpen ();
13266 return 0;
13268 _ACEOF
13269 if ac_fn_c_try_link "$LINENO"; then :
13270 case "$LIBEXT" in
13271 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13272 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'` ;;
13273 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13274 if ${ac_cv_lib_soname_tiff:+false} :; then :
13275 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13276 fi ;;
13277 esac
13279 rm -f core conftest.err conftest.$ac_objext \
13280 conftest$ac_exeext conftest.$ac_ext
13281 LIBS=$ac_check_soname_save_LIBS
13283 if ${ac_cv_lib_soname_tiff:+false} :; then :
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13285 $as_echo "not found" >&6; }
13287 else
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13289 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13291 cat >>confdefs.h <<_ACEOF
13292 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13293 _ACEOF
13298 CPPFLAGS=$ac_save_CPPFLAGS
13299 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13300 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13303 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13304 case "x$with_tiff" in
13305 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13306 xno) ;;
13307 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13308 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13309 esac
13312 if test "x$with_mpg123" != "xno"
13313 then
13314 if ${MPG123_CFLAGS:+false} :; then :
13315 if ${PKG_CONFIG+:} false; then :
13316 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13320 if ${MPG123_LIBS:+false} :; then :
13321 if ${PKG_CONFIG+:} false; then :
13322 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13326 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13327 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13328 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13329 ac_save_CPPFLAGS=$CPPFLAGS
13330 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13331 for ac_header in mpg123.h
13332 do :
13333 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13334 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13335 cat >>confdefs.h <<_ACEOF
13336 #define HAVE_MPG123_H 1
13337 _ACEOF
13341 done
13343 if test "$ac_cv_header_mpg123_h" = "yes"
13344 then
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13346 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13347 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13348 $as_echo_n "(cached) " >&6
13349 else
13350 ac_check_lib_save_LIBS=$LIBS
13351 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353 /* end confdefs.h. */
13355 /* Override any GCC internal prototype to avoid an error.
13356 Use char because int might match the return type of a GCC
13357 builtin and then its argument prototype would still apply. */
13358 #ifdef __cplusplus
13359 extern "C"
13360 #endif
13361 char mpg123_feed ();
13363 main ()
13365 return mpg123_feed ();
13367 return 0;
13369 _ACEOF
13370 if ac_fn_c_try_link "$LINENO"; then :
13371 ac_cv_lib_mpg123_mpg123_feed=yes
13372 else
13373 ac_cv_lib_mpg123_mpg123_feed=no
13375 rm -f core conftest.err conftest.$ac_objext \
13376 conftest$ac_exeext conftest.$ac_ext
13377 LIBS=$ac_check_lib_save_LIBS
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13380 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13381 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13383 else
13384 MPG123_LIBS=""
13387 else
13388 MPG123_CFLAGS=""
13389 MPG123_LIBS=""
13391 CPPFLAGS=$ac_save_CPPFLAGS
13392 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13393 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13396 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13397 case "x$with_mpg123" in
13398 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13399 xno) ;;
13400 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13401 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13402 esac
13404 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}
13406 if test "$ac_cv_header_AL_al_h" = "yes"
13407 then
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13409 $as_echo_n "checking for -lopenal... " >&6; }
13410 if ${ac_cv_lib_soname_openal+:} false; then :
13411 $as_echo_n "(cached) " >&6
13412 else
13413 ac_check_soname_save_LIBS=$LIBS
13414 LIBS="-lopenal $LIBS"
13415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h. */
13418 /* Override any GCC internal prototype to avoid an error.
13419 Use char because int might match the return type of a GCC
13420 builtin and then its argument prototype would still apply. */
13421 #ifdef __cplusplus
13422 extern "C"
13423 #endif
13424 char alGetSource3i ();
13426 main ()
13428 return alGetSource3i ();
13430 return 0;
13432 _ACEOF
13433 if ac_fn_c_try_link "$LINENO"; then :
13434 case "$LIBEXT" in
13435 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13436 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'` ;;
13437 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13438 if ${ac_cv_lib_soname_openal:+false} :; then :
13439 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13440 fi ;;
13441 esac
13443 rm -f core conftest.err conftest.$ac_objext \
13444 conftest$ac_exeext conftest.$ac_ext
13445 LIBS=$ac_check_soname_save_LIBS
13447 if ${ac_cv_lib_soname_openal:+false} :; then :
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13449 $as_echo "not found" >&6; }
13451 else
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13453 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13455 cat >>confdefs.h <<_ACEOF
13456 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13457 _ACEOF
13459 OPENAL_LIBS="-lopenal"
13461 ac_cv_lib_openal=yes
13463 cat >>confdefs.h <<_ACEOF
13464 #define HAVE_OPENAL 1
13465 _ACEOF
13469 if test "x$ac_cv_lib_openal" != xyes; then :
13470 case "x$with_openal" in
13471 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13472 xno) ;;
13473 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13474 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13475 esac
13477 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13479 if test "$ac_cv_header_kstat_h" = "yes"
13480 then
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13482 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13483 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13484 $as_echo_n "(cached) " >&6
13485 else
13486 ac_check_lib_save_LIBS=$LIBS
13487 LIBS="-lkstat $LIBS"
13488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13491 /* Override any GCC internal prototype to avoid an error.
13492 Use char because int might match the return type of a GCC
13493 builtin and then its argument prototype would still apply. */
13494 #ifdef __cplusplus
13495 extern "C"
13496 #endif
13497 char kstat_open ();
13499 main ()
13501 return kstat_open ();
13503 return 0;
13505 _ACEOF
13506 if ac_fn_c_try_link "$LINENO"; then :
13507 ac_cv_lib_kstat_kstat_open=yes
13508 else
13509 ac_cv_lib_kstat_kstat_open=no
13511 rm -f core conftest.err conftest.$ac_objext \
13512 conftest$ac_exeext conftest.$ac_ext
13513 LIBS=$ac_check_lib_save_LIBS
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13516 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13517 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13519 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13521 KSTAT_LIBS="-lkstat"
13527 if test "$ac_cv_header_libprocstat_h" = "yes"
13528 then
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13530 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13531 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13532 $as_echo_n "(cached) " >&6
13533 else
13534 ac_check_lib_save_LIBS=$LIBS
13535 LIBS="-lprocstat $LIBS"
13536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13537 /* end confdefs.h. */
13539 /* Override any GCC internal prototype to avoid an error.
13540 Use char because int might match the return type of a GCC
13541 builtin and then its argument prototype would still apply. */
13542 #ifdef __cplusplus
13543 extern "C"
13544 #endif
13545 char procstat_open_sysctl ();
13547 main ()
13549 return procstat_open_sysctl ();
13551 return 0;
13553 _ACEOF
13554 if ac_fn_c_try_link "$LINENO"; then :
13555 ac_cv_lib_procstat_procstat_open_sysctl=yes
13556 else
13557 ac_cv_lib_procstat_procstat_open_sysctl=no
13559 rm -f core conftest.err conftest.$ac_objext \
13560 conftest$ac_exeext conftest.$ac_ext
13561 LIBS=$ac_check_lib_save_LIBS
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13564 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13565 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13567 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13569 PROCSTAT_LIBS="-lprocstat"
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13576 $as_echo_n "checking for -lodbc... " >&6; }
13577 if ${ac_cv_lib_soname_odbc+:} false; then :
13578 $as_echo_n "(cached) " >&6
13579 else
13580 ac_check_soname_save_LIBS=$LIBS
13581 LIBS="-lodbc $LIBS"
13582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13583 /* end confdefs.h. */
13585 /* Override any GCC internal prototype to avoid an error.
13586 Use char because int might match the return type of a GCC
13587 builtin and then its argument prototype would still apply. */
13588 #ifdef __cplusplus
13589 extern "C"
13590 #endif
13591 char SQLConnect ();
13593 main ()
13595 return SQLConnect ();
13597 return 0;
13599 _ACEOF
13600 if ac_fn_c_try_link "$LINENO"; then :
13601 case "$LIBEXT" in
13602 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13603 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'` ;;
13604 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13605 if ${ac_cv_lib_soname_odbc:+false} :; then :
13606 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13607 fi ;;
13608 esac
13610 rm -f core conftest.err conftest.$ac_objext \
13611 conftest$ac_exeext conftest.$ac_ext
13612 LIBS=$ac_check_soname_save_LIBS
13614 if ${ac_cv_lib_soname_odbc:+false} :; then :
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13616 $as_echo "not found" >&6; }
13617 cat >>confdefs.h <<_ACEOF
13618 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13619 _ACEOF
13621 else
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13623 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13625 cat >>confdefs.h <<_ACEOF
13626 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13627 _ACEOF
13632 if test "x$with_netapi" != "xno"
13633 then
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13635 $as_echo_n "checking for -lnetapi... " >&6; }
13636 if ${ac_cv_lib_soname_netapi+:} false; then :
13637 $as_echo_n "(cached) " >&6
13638 else
13639 ac_check_soname_save_LIBS=$LIBS
13640 LIBS="-lnetapi $LIBS"
13641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13642 /* end confdefs.h. */
13644 /* Override any GCC internal prototype to avoid an error.
13645 Use char because int might match the return type of a GCC
13646 builtin and then its argument prototype would still apply. */
13647 #ifdef __cplusplus
13648 extern "C"
13649 #endif
13650 char libnetapi_init ();
13652 main ()
13654 return libnetapi_init ();
13656 return 0;
13658 _ACEOF
13659 if ac_fn_c_try_link "$LINENO"; then :
13660 case "$LIBEXT" in
13661 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13662 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'` ;;
13663 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13664 if ${ac_cv_lib_soname_netapi:+false} :; then :
13665 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13666 fi ;;
13667 esac
13669 rm -f core conftest.err conftest.$ac_objext \
13670 conftest$ac_exeext conftest.$ac_ext
13671 LIBS=$ac_check_soname_save_LIBS
13673 if ${ac_cv_lib_soname_netapi:+false} :; then :
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13675 $as_echo "not found" >&6; }
13676 cat >>confdefs.h <<_ACEOF
13677 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13678 _ACEOF
13680 else
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13682 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13684 cat >>confdefs.h <<_ACEOF
13685 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13686 _ACEOF
13692 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13693 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13694 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13695 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13697 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13698 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13699 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13700 then
13701 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13705 EXTRACFLAGS=""
13707 if test "x${GCC}" = "xyes"
13708 then
13709 EXTRACFLAGS="-Wall -pipe"
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13712 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13713 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13714 $as_echo_n "(cached) " >&6
13715 else
13716 if test "$cross_compiling" = yes; then :
13717 ac_cv_c_gcc_strength_bug="yes"
13718 else
13719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13721 int L[4] = {0,1,2,3};
13723 main ()
13725 static int Array[3];
13726 unsigned int B = 3;
13727 int i;
13728 for(i=0; i<B; i++) Array[i] = i - 3;
13729 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13730 L[i] = 4;
13731 return (Array[1] != -2 || L[2] != 3)
13733 return 0;
13735 _ACEOF
13736 if ac_fn_c_try_run "$LINENO"; then :
13737 ac_cv_c_gcc_strength_bug="no"
13738 else
13739 ac_cv_c_gcc_strength_bug="yes"
13741 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13742 conftest.$ac_objext conftest.beam conftest.$ac_ext
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13747 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13748 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13749 then
13750 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13754 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13755 if ${ac_cv_cflags__fno_builtin+:} false; then :
13756 $as_echo_n "(cached) " >&6
13757 else
13758 ac_wine_try_cflags_saved=$CFLAGS
13759 CFLAGS="$CFLAGS -fno-builtin"
13760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13762 int main(int argc, char **argv) { return 0; }
13763 _ACEOF
13764 if ac_fn_c_try_link "$LINENO"; then :
13765 ac_cv_cflags__fno_builtin=yes
13766 else
13767 ac_cv_cflags__fno_builtin=no
13769 rm -f core conftest.err conftest.$ac_objext \
13770 conftest$ac_exeext conftest.$ac_ext
13771 CFLAGS=$ac_wine_try_cflags_saved
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13774 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13775 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13776 BUILTINFLAG="-fno-builtin"
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13780 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13781 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13782 $as_echo_n "(cached) " >&6
13783 else
13784 ac_wine_try_cflags_saved=$CFLAGS
13785 CFLAGS="$CFLAGS -fno-strict-aliasing"
13786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13788 int main(int argc, char **argv) { return 0; }
13789 _ACEOF
13790 if ac_fn_c_try_link "$LINENO"; then :
13791 ac_cv_cflags__fno_strict_aliasing=yes
13792 else
13793 ac_cv_cflags__fno_strict_aliasing=no
13795 rm -f core conftest.err conftest.$ac_objext \
13796 conftest$ac_exeext conftest.$ac_ext
13797 CFLAGS=$ac_wine_try_cflags_saved
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13800 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13801 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13802 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13804 saved_CFLAGS=$CFLAGS
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13806 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13807 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13808 $as_echo_n "(cached) " >&6
13809 else
13810 ac_wine_try_cflags_saved=$CFLAGS
13811 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13814 int main(int argc, char **argv) { return 0; }
13815 _ACEOF
13816 if ac_fn_c_try_link "$LINENO"; then :
13817 ac_cv_cflags__Werror_unknown_warning_option=yes
13818 else
13819 ac_cv_cflags__Werror_unknown_warning_option=no
13821 rm -f core conftest.err conftest.$ac_objext \
13822 conftest$ac_exeext conftest.$ac_ext
13823 CFLAGS=$ac_wine_try_cflags_saved
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13826 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13827 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13828 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13831 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13832 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13833 $as_echo_n "(cached) " >&6
13834 else
13835 ac_wine_try_cflags_saved=$CFLAGS
13836 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13839 int main(int argc, char **argv) { return 0; }
13840 _ACEOF
13841 if ac_fn_c_try_link "$LINENO"; then :
13842 ac_cv_cflags__Wdeclaration_after_statement=yes
13843 else
13844 ac_cv_cflags__Wdeclaration_after_statement=no
13846 rm -f core conftest.err conftest.$ac_objext \
13847 conftest$ac_exeext conftest.$ac_ext
13848 CFLAGS=$ac_wine_try_cflags_saved
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13851 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13852 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13853 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13856 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13857 if ${ac_cv_cflags__Wempty_body+:} false; then :
13858 $as_echo_n "(cached) " >&6
13859 else
13860 ac_wine_try_cflags_saved=$CFLAGS
13861 CFLAGS="$CFLAGS -Wempty-body"
13862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13863 /* end confdefs.h. */
13864 int main(int argc, char **argv) { return 0; }
13865 _ACEOF
13866 if ac_fn_c_try_link "$LINENO"; then :
13867 ac_cv_cflags__Wempty_body=yes
13868 else
13869 ac_cv_cflags__Wempty_body=no
13871 rm -f core conftest.err conftest.$ac_objext \
13872 conftest$ac_exeext conftest.$ac_ext
13873 CFLAGS=$ac_wine_try_cflags_saved
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13876 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13877 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13878 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13881 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13882 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13883 $as_echo_n "(cached) " >&6
13884 else
13885 ac_wine_try_cflags_saved=$CFLAGS
13886 CFLAGS="$CFLAGS -Wignored-qualifiers"
13887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13888 /* end confdefs.h. */
13889 int main(int argc, char **argv) { return 0; }
13890 _ACEOF
13891 if ac_fn_c_try_link "$LINENO"; then :
13892 ac_cv_cflags__Wignored_qualifiers=yes
13893 else
13894 ac_cv_cflags__Wignored_qualifiers=no
13896 rm -f core conftest.err conftest.$ac_objext \
13897 conftest$ac_exeext conftest.$ac_ext
13898 CFLAGS=$ac_wine_try_cflags_saved
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13901 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13902 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13903 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13906 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13907 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13908 $as_echo_n "(cached) " >&6
13909 else
13910 ac_wine_try_cflags_saved=$CFLAGS
13911 CFLAGS="$CFLAGS -Wstrict-prototypes"
13912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13913 /* end confdefs.h. */
13914 int main(int argc, char **argv) { return 0; }
13915 _ACEOF
13916 if ac_fn_c_try_link "$LINENO"; then :
13917 ac_cv_cflags__Wstrict_prototypes=yes
13918 else
13919 ac_cv_cflags__Wstrict_prototypes=no
13921 rm -f core conftest.err conftest.$ac_objext \
13922 conftest$ac_exeext conftest.$ac_ext
13923 CFLAGS=$ac_wine_try_cflags_saved
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13926 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13927 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13928 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13931 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13932 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13933 $as_echo_n "(cached) " >&6
13934 else
13935 ac_wine_try_cflags_saved=$CFLAGS
13936 CFLAGS="$CFLAGS -Wtype-limits"
13937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13938 /* end confdefs.h. */
13939 int main(int argc, char **argv) { return 0; }
13940 _ACEOF
13941 if ac_fn_c_try_link "$LINENO"; then :
13942 ac_cv_cflags__Wtype_limits=yes
13943 else
13944 ac_cv_cflags__Wtype_limits=no
13946 rm -f core conftest.err conftest.$ac_objext \
13947 conftest$ac_exeext conftest.$ac_ext
13948 CFLAGS=$ac_wine_try_cflags_saved
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13951 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13952 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13953 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13956 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13957 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13958 $as_echo_n "(cached) " >&6
13959 else
13960 ac_wine_try_cflags_saved=$CFLAGS
13961 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13964 int main(int argc, char **argv) { return 0; }
13965 _ACEOF
13966 if ac_fn_c_try_link "$LINENO"; then :
13967 ac_cv_cflags__Wunused_but_set_parameter=yes
13968 else
13969 ac_cv_cflags__Wunused_but_set_parameter=no
13971 rm -f core conftest.err conftest.$ac_objext \
13972 conftest$ac_exeext conftest.$ac_ext
13973 CFLAGS=$ac_wine_try_cflags_saved
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13976 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13977 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13978 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13981 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13982 if ${ac_cv_cflags__Wvla+:} false; then :
13983 $as_echo_n "(cached) " >&6
13984 else
13985 ac_wine_try_cflags_saved=$CFLAGS
13986 CFLAGS="$CFLAGS -Wvla"
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13989 int main(int argc, char **argv) { return 0; }
13990 _ACEOF
13991 if ac_fn_c_try_link "$LINENO"; then :
13992 ac_cv_cflags__Wvla=yes
13993 else
13994 ac_cv_cflags__Wvla=no
13996 rm -f core conftest.err conftest.$ac_objext \
13997 conftest$ac_exeext conftest.$ac_ext
13998 CFLAGS=$ac_wine_try_cflags_saved
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14001 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14002 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14003 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14006 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14007 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14008 $as_echo_n "(cached) " >&6
14009 else
14010 ac_wine_try_cflags_saved=$CFLAGS
14011 CFLAGS="$CFLAGS -Wwrite-strings"
14012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14014 int main(int argc, char **argv) { return 0; }
14015 _ACEOF
14016 if ac_fn_c_try_link "$LINENO"; then :
14017 ac_cv_cflags__Wwrite_strings=yes
14018 else
14019 ac_cv_cflags__Wwrite_strings=no
14021 rm -f core conftest.err conftest.$ac_objext \
14022 conftest$ac_exeext conftest.$ac_ext
14023 CFLAGS=$ac_wine_try_cflags_saved
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14026 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14027 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14028 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14032 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14033 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14034 $as_echo_n "(cached) " >&6
14035 else
14036 ac_wine_try_cflags_saved=$CFLAGS
14037 CFLAGS="$CFLAGS -Wpointer-arith"
14038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14039 /* end confdefs.h. */
14040 int main(int argc, char **argv) { return 0; }
14041 _ACEOF
14042 if ac_fn_c_try_link "$LINENO"; then :
14043 ac_cv_cflags__Wpointer_arith=yes
14044 else
14045 ac_cv_cflags__Wpointer_arith=no
14047 rm -f core conftest.err conftest.$ac_objext \
14048 conftest$ac_exeext conftest.$ac_ext
14049 CFLAGS=$ac_wine_try_cflags_saved
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14052 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14053 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14054 saved_string_h_CFLAGS=$CFLAGS
14055 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14057 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14058 if ${ac_cv_c_string_h_warnings+:} false; then :
14059 $as_echo_n "(cached) " >&6
14060 else
14061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14062 /* end confdefs.h. */
14063 #include <string.h>
14065 main ()
14069 return 0;
14071 _ACEOF
14072 if ac_fn_c_try_compile "$LINENO"; then :
14073 ac_cv_c_string_h_warnings=no
14074 else
14075 ac_cv_c_string_h_warnings=yes
14077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14080 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14081 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14082 CFLAGS=$saved_string_h_CFLAGS
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14086 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14087 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14088 $as_echo_n "(cached) " >&6
14089 else
14090 ac_wine_try_cflags_saved=$CFLAGS
14091 CFLAGS="$CFLAGS -Wlogical-op"
14092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14093 /* end confdefs.h. */
14094 int main(int argc, char **argv) { return 0; }
14095 _ACEOF
14096 if ac_fn_c_try_link "$LINENO"; then :
14097 ac_cv_cflags__Wlogical_op=yes
14098 else
14099 ac_cv_cflags__Wlogical_op=no
14101 rm -f core conftest.err conftest.$ac_objext \
14102 conftest$ac_exeext conftest.$ac_ext
14103 CFLAGS=$ac_wine_try_cflags_saved
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14106 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14107 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14108 saved_string_h_CFLAGS=$CFLAGS
14109 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14111 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14112 if ${ac_cv_c_logicalop_noisy+:} false; then :
14113 $as_echo_n "(cached) " >&6
14114 else
14115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14116 /* end confdefs.h. */
14117 #include <string.h>
14118 char*f(const char *h,char n) {return strchr(h,n);}
14120 main ()
14124 return 0;
14126 _ACEOF
14127 if ac_fn_c_try_compile "$LINENO"; then :
14128 ac_cv_c_logicalop_noisy=no
14129 else
14130 ac_cv_c_logicalop_noisy=yes
14132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14135 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14136 CFLAGS=$saved_string_h_CFLAGS
14137 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14140 CFLAGS=$saved_CFLAGS
14142 for ac_flag in $CFLAGS; do
14143 case $ac_flag in
14144 -g) case $host_os in
14145 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14146 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14147 if ${ac_cv_cflags__gstabsp+:} false; then :
14148 $as_echo_n "(cached) " >&6
14149 else
14150 ac_wine_try_cflags_saved=$CFLAGS
14151 CFLAGS="$CFLAGS -gstabs+"
14152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14154 int main(int argc, char **argv) { return 0; }
14155 _ACEOF
14156 if ac_fn_c_try_link "$LINENO"; then :
14157 ac_cv_cflags__gstabsp=yes
14158 else
14159 ac_cv_cflags__gstabsp=no
14161 rm -f core conftest.err conftest.$ac_objext \
14162 conftest$ac_exeext conftest.$ac_ext
14163 CFLAGS=$ac_wine_try_cflags_saved
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14166 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14167 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14168 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14169 fi ;;
14170 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14171 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14172 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14173 $as_echo_n "(cached) " >&6
14174 else
14175 ac_wine_try_cflags_saved=$CFLAGS
14176 CFLAGS="$CFLAGS -gdwarf-2"
14177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14178 /* end confdefs.h. */
14179 int main(int argc, char **argv) { return 0; }
14180 _ACEOF
14181 if ac_fn_c_try_link "$LINENO"; then :
14182 ac_cv_cflags__gdwarf_2=yes
14183 else
14184 ac_cv_cflags__gdwarf_2=no
14186 rm -f core conftest.err conftest.$ac_objext \
14187 conftest$ac_exeext conftest.$ac_ext
14188 CFLAGS=$ac_wine_try_cflags_saved
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14191 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14192 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14193 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14196 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14197 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14198 $as_echo_n "(cached) " >&6
14199 else
14200 ac_wine_try_cflags_saved=$CFLAGS
14201 CFLAGS="$CFLAGS -gstrict-dwarf"
14202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14204 int main(int argc, char **argv) { return 0; }
14205 _ACEOF
14206 if ac_fn_c_try_link "$LINENO"; then :
14207 ac_cv_cflags__gstrict_dwarf=yes
14208 else
14209 ac_cv_cflags__gstrict_dwarf=no
14211 rm -f core conftest.err conftest.$ac_objext \
14212 conftest$ac_exeext conftest.$ac_ext
14213 CFLAGS=$ac_wine_try_cflags_saved
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14216 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14217 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14218 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14219 fi ;;
14220 esac ;;
14221 esac
14222 done
14224 case $host_cpu in
14225 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14226 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14227 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14228 $as_echo_n "(cached) " >&6
14229 else
14230 ac_wine_try_cflags_saved=$CFLAGS
14231 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14233 /* end confdefs.h. */
14234 int main(int argc, char **argv) { return 0; }
14235 _ACEOF
14236 if ac_fn_c_try_link "$LINENO"; then :
14237 ac_cv_cflags__fno_omit_frame_pointer=yes
14238 else
14239 ac_cv_cflags__fno_omit_frame_pointer=no
14241 rm -f core conftest.err conftest.$ac_objext \
14242 conftest$ac_exeext conftest.$ac_ext
14243 CFLAGS=$ac_wine_try_cflags_saved
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14246 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14247 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14248 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14249 fi ;;
14250 esac
14252 case $host in
14253 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14254 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14255 if ${ac_cv_cflags__Wno_format+:} false; then :
14256 $as_echo_n "(cached) " >&6
14257 else
14258 ac_wine_try_cflags_saved=$CFLAGS
14259 CFLAGS="$CFLAGS -Wno-format"
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14262 int main(int argc, char **argv) { return 0; }
14263 _ACEOF
14264 if ac_fn_c_try_link "$LINENO"; then :
14265 ac_cv_cflags__Wno_format=yes
14266 else
14267 ac_cv_cflags__Wno_format=no
14269 rm -f core conftest.err conftest.$ac_objext \
14270 conftest$ac_exeext conftest.$ac_ext
14271 CFLAGS=$ac_wine_try_cflags_saved
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14274 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14275 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14276 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14277 fi ;;
14278 esac
14280 if test "x$enable_maintainer_mode" = "xyes"
14281 then
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14283 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14284 if ${ac_cv_cflags__Werror+:} false; then :
14285 $as_echo_n "(cached) " >&6
14286 else
14287 ac_wine_try_cflags_saved=$CFLAGS
14288 CFLAGS="$CFLAGS -Werror"
14289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14290 /* end confdefs.h. */
14291 int main(int argc, char **argv) { return 0; }
14292 _ACEOF
14293 if ac_fn_c_try_link "$LINENO"; then :
14294 ac_cv_cflags__Werror=yes
14295 else
14296 ac_cv_cflags__Werror=no
14298 rm -f core conftest.err conftest.$ac_objext \
14299 conftest$ac_exeext conftest.$ac_ext
14300 CFLAGS=$ac_wine_try_cflags_saved
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14303 $as_echo "$ac_cv_cflags__Werror" >&6; }
14304 if test "x$ac_cv_cflags__Werror" = xyes; then :
14305 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14309 saved_CFLAGS="$CFLAGS"
14310 CFLAGS="$CFLAGS -Werror"
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14312 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14313 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14314 $as_echo_n "(cached) " >&6
14315 else
14316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14318 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14320 main ()
14324 return 0;
14326 _ACEOF
14327 if ac_fn_c_try_compile "$LINENO"; then :
14328 ac_cv_have_ms_hook_prologue="yes"
14329 else
14330 ac_cv_have_ms_hook_prologue="no"
14332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14335 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14336 CFLAGS="$saved_CFLAGS"
14337 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14338 then
14340 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14342 else
14343 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14350 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14351 if ${ac_cv_c_fortify_enabled+:} false; then :
14352 $as_echo_n "(cached) " >&6
14353 else
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14356 #include <string.h>
14358 main ()
14360 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14361 #error Fortify enabled
14362 #endif
14364 return 0;
14366 _ACEOF
14367 if ac_fn_c_try_compile "$LINENO"; then :
14368 ac_cv_c_fortify_enabled=no
14369 else
14370 ac_cv_c_fortify_enabled=yes
14372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14375 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14376 if test "$ac_cv_c_fortify_enabled" = yes
14377 then
14378 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14383 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14384 if ${ac_cv_c_extern_prefix+:} false; then :
14385 $as_echo_n "(cached) " >&6
14386 else
14387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14389 extern int ac_test;
14391 main ()
14393 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14395 return 0;
14397 _ACEOF
14398 if ac_fn_c_try_link "$LINENO"; then :
14399 ac_cv_c_extern_prefix="yes"
14400 else
14401 ac_cv_c_extern_prefix="no"
14403 rm -f core conftest.err conftest.$ac_objext \
14404 conftest$ac_exeext conftest.$ac_ext
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14407 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14409 case $host_cpu in
14410 *i[3456789]86*)
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14412 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14413 if ${ac_cv_c_stdcall_suffix+:} false; then :
14414 $as_echo_n "(cached) " >&6
14415 else
14416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14417 /* end confdefs.h. */
14418 #ifndef _MSC_VER
14419 #define __stdcall __attribute__((__stdcall__))
14420 #endif
14421 int __stdcall ac_test(int i) { return i; }
14423 main ()
14425 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14427 return 0;
14429 _ACEOF
14430 if ac_fn_c_try_link "$LINENO"; then :
14431 ac_cv_c_stdcall_suffix="yes"
14432 else
14433 ac_cv_c_stdcall_suffix="no"
14435 rm -f core conftest.err conftest.$ac_objext \
14436 conftest$ac_exeext conftest.$ac_ext
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14439 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14440 *) ac_cv_c_stdcall_suffix="no" ;;
14441 esac
14444 if test "$ac_cv_c_extern_prefix" = "yes"
14445 then
14446 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14448 asm_name_prefix="_"
14449 else
14450 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14452 asm_name_prefix=""
14456 if test "$ac_cv_c_stdcall_suffix" = "yes"
14457 then
14458 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14460 else
14461 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14467 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14468 if ${ac_cv_asm_func_def+:} false; then :
14469 $as_echo_n "(cached) " >&6
14470 else
14471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h. */
14475 main ()
14477 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14479 return 0;
14481 _ACEOF
14482 if ac_fn_c_try_link "$LINENO"; then :
14483 ac_cv_asm_func_def=".def"
14484 else
14485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14486 /* end confdefs.h. */
14489 main ()
14491 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14493 return 0;
14495 _ACEOF
14496 if ac_fn_c_try_link "$LINENO"; then :
14497 ac_cv_asm_func_def=".type @function"
14498 else
14499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14500 /* end confdefs.h. */
14503 main ()
14505 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14507 return 0;
14509 _ACEOF
14510 if ac_fn_c_try_link "$LINENO"; then :
14511 ac_cv_asm_func_def=".type 2"
14512 else
14513 ac_cv_asm_func_def="unknown"
14515 rm -f core conftest.err conftest.$ac_objext \
14516 conftest$ac_exeext conftest.$ac_ext
14518 rm -f core conftest.err conftest.$ac_objext \
14519 conftest$ac_exeext conftest.$ac_ext
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14525 $as_echo "$ac_cv_asm_func_def" >&6; }
14528 case "$ac_cv_asm_func_def" in
14529 ".def")
14530 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14532 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14533 ".type @function")
14534 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14536 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14537 ".type 2")
14538 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14540 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14542 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14544 asm_func_header="" ;;
14545 esac
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14548 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14549 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14550 $as_echo_n "(cached) " >&6
14551 else
14552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14553 /* end confdefs.h. */
14554 asm(".text\n\t.long 0");
14556 main ()
14560 return 0;
14562 _ACEOF
14563 if ac_fn_c_try_compile "$LINENO"; then :
14564 ac_cv_c_asm_outside_funcs="yes"
14565 else
14566 ac_cv_c_asm_outside_funcs="no"
14568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14571 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14574 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14575 if ${ac_cv_c_dot_previous+:} false; then :
14576 $as_echo_n "(cached) " >&6
14577 else
14578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14579 /* end confdefs.h. */
14582 main ()
14584 asm(".text\nac_test:\t.long 0\n\t.previous");
14586 return 0;
14588 _ACEOF
14589 if ac_fn_c_try_link "$LINENO"; then :
14590 ac_cv_c_dot_previous="yes"
14591 else
14592 ac_cv_c_dot_previous="no"
14594 rm -f core conftest.err conftest.$ac_objext \
14595 conftest$ac_exeext conftest.$ac_ext
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14598 $as_echo "$ac_cv_c_dot_previous" >&6; }
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14601 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14602 if ${ac_cv_c_cfi_support+:} false; then :
14603 $as_echo_n "(cached) " >&6
14604 else
14605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14607 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14609 main ()
14613 return 0;
14615 _ACEOF
14616 if ac_fn_c_try_compile "$LINENO"; then :
14617 ac_cv_c_cfi_support="yes"
14618 else
14619 ac_cv_c_cfi_support="no"
14621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14624 $as_echo "$ac_cv_c_cfi_support" >&6; }
14626 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14627 asm_func_trailer=""
14628 if test "$ac_cv_c_dot_previous" = "yes"
14629 then
14630 asm_func_trailer="\\n\\t.previous"
14632 if test "$ac_cv_c_cfi_support" = "yes"
14633 then
14634 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14635 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14637 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14639 UNWINDFLAGS=-fasynchronous-unwind-tables
14641 else
14642 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14646 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14649 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14650 then
14651 cat >>confdefs.h <<_ACEOF
14652 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14653 _ACEOF
14655 else
14656 cat >>confdefs.h <<_ACEOF
14657 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14658 _ACEOF
14662 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14665 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14669 case $build_os in
14670 cygwin*|mingw32*) TOOLSEXT=".exe"
14672 esac
14674 case $host_os in
14675 linux*)
14676 case $host_cpu in
14677 *i[3456789]86*|x86_64*)
14678 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14679 loader_programs="$loader_programs $wine_binary-preloader"
14680 as_fn_append LOADER_RULES "
14681 $wine_binary-preloader: preloader.o
14682 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14684 install install-lib:: $wine_binary-preloader
14685 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14687 uninstall::
14688 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14690 preloader_EXTRADEFS = $BUILTINFLAG
14691 " ;;
14692 esac
14694 esac
14695 as_fn_append LOADER_RULES "
14696 PROGRAMS = $loader_programs
14700 ac_save_CFLAGS="$CFLAGS"
14701 CFLAGS="$CFLAGS $BUILTINFLAG"
14702 for ac_func in \
14703 __res_get_state \
14704 __res_getservers \
14705 _finite \
14706 _isnan \
14707 _pclose \
14708 _popen \
14709 _snprintf \
14710 _spawnvp \
14711 _strdup \
14712 _stricmp \
14713 _strnicmp \
14714 _strtoi64 \
14715 _strtoui64 \
14716 _vsnprintf \
14717 asctime_r \
14718 chsize \
14719 dlopen \
14720 epoll_create \
14721 ffs \
14722 finitef \
14723 fnmatch \
14724 fork \
14725 fpclass \
14726 fstatfs \
14727 fstatvfs \
14728 ftruncate \
14729 futimens \
14730 futimes \
14731 futimesat \
14732 getattrlist \
14733 getdirentries \
14734 getopt_long_only \
14735 getpwuid \
14736 gettimeofday \
14737 getuid \
14738 if_nameindex \
14739 isnanf \
14740 kqueue \
14741 lstat \
14742 memmove \
14743 mmap \
14744 pclose \
14745 pipe2 \
14746 poll \
14747 popen \
14748 port_create \
14749 prctl \
14750 pread \
14751 proc_pidinfo \
14752 pwrite \
14753 readdir \
14754 readlink \
14755 sched_yield \
14756 select \
14757 setproctitle \
14758 setrlimit \
14759 settimeofday \
14760 sigaltstack \
14761 sigprocmask \
14762 snprintf \
14763 statfs \
14764 statvfs \
14765 strcasecmp \
14766 strdup \
14767 strerror \
14768 strncasecmp \
14769 strtold \
14770 strtoll \
14771 strtoull \
14772 symlink \
14773 tcdrain \
14774 thr_kill2 \
14775 timegm \
14776 usleep \
14777 vsnprintf
14779 do :
14780 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14781 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14782 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14783 cat >>confdefs.h <<_ACEOF
14784 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14785 _ACEOF
14788 done
14790 CFLAGS="$ac_save_CFLAGS"
14792 if test "$ac_cv_func_dlopen" = no
14793 then
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14795 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14796 if ${ac_cv_lib_dl_dlopen+:} false; then :
14797 $as_echo_n "(cached) " >&6
14798 else
14799 ac_check_lib_save_LIBS=$LIBS
14800 LIBS="-ldl $LIBS"
14801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14804 /* Override any GCC internal prototype to avoid an error.
14805 Use char because int might match the return type of a GCC
14806 builtin and then its argument prototype would still apply. */
14807 #ifdef __cplusplus
14808 extern "C"
14809 #endif
14810 char dlopen ();
14812 main ()
14814 return dlopen ();
14816 return 0;
14818 _ACEOF
14819 if ac_fn_c_try_link "$LINENO"; then :
14820 ac_cv_lib_dl_dlopen=yes
14821 else
14822 ac_cv_lib_dl_dlopen=no
14824 rm -f core conftest.err conftest.$ac_objext \
14825 conftest$ac_exeext conftest.$ac_ext
14826 LIBS=$ac_check_lib_save_LIBS
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14829 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14830 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14831 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14832 DL_LIBS="-ldl"
14837 ac_wine_check_funcs_save_LIBS="$LIBS"
14838 LIBS="$LIBS $DL_LIBS"
14839 for ac_func in dladdr
14840 do :
14841 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14842 if test "x$ac_cv_func_dladdr" = xyes; then :
14843 cat >>confdefs.h <<_ACEOF
14844 #define HAVE_DLADDR 1
14845 _ACEOF
14848 done
14850 LIBS="$ac_wine_check_funcs_save_LIBS"
14852 if test "$ac_cv_func_poll" = no
14853 then
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14855 $as_echo_n "checking for poll in -lpoll... " >&6; }
14856 if ${ac_cv_lib_poll_poll+:} false; then :
14857 $as_echo_n "(cached) " >&6
14858 else
14859 ac_check_lib_save_LIBS=$LIBS
14860 LIBS="-lpoll $LIBS"
14861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14862 /* end confdefs.h. */
14864 /* Override any GCC internal prototype to avoid an error.
14865 Use char because int might match the return type of a GCC
14866 builtin and then its argument prototype would still apply. */
14867 #ifdef __cplusplus
14868 extern "C"
14869 #endif
14870 char poll ();
14872 main ()
14874 return poll ();
14876 return 0;
14878 _ACEOF
14879 if ac_fn_c_try_link "$LINENO"; then :
14880 ac_cv_lib_poll_poll=yes
14881 else
14882 ac_cv_lib_poll_poll=no
14884 rm -f core conftest.err conftest.$ac_objext \
14885 conftest$ac_exeext conftest.$ac_ext
14886 LIBS=$ac_check_lib_save_LIBS
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14889 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14890 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14891 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14892 POLL_LIBS="-lpoll"
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14899 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14900 if ${ac_cv_search_gethostbyname+:} false; then :
14901 $as_echo_n "(cached) " >&6
14902 else
14903 ac_func_search_save_LIBS=$LIBS
14904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h. */
14907 /* Override any GCC internal prototype to avoid an error.
14908 Use char because int might match the return type of a GCC
14909 builtin and then its argument prototype would still apply. */
14910 #ifdef __cplusplus
14911 extern "C"
14912 #endif
14913 char gethostbyname ();
14915 main ()
14917 return gethostbyname ();
14919 return 0;
14921 _ACEOF
14922 for ac_lib in '' nsl; do
14923 if test -z "$ac_lib"; then
14924 ac_res="none required"
14925 else
14926 ac_res=-l$ac_lib
14927 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14929 if ac_fn_c_try_link "$LINENO"; then :
14930 ac_cv_search_gethostbyname=$ac_res
14932 rm -f core conftest.err conftest.$ac_objext \
14933 conftest$ac_exeext
14934 if ${ac_cv_search_gethostbyname+:} false; then :
14935 break
14937 done
14938 if ${ac_cv_search_gethostbyname+:} false; then :
14940 else
14941 ac_cv_search_gethostbyname=no
14943 rm conftest.$ac_ext
14944 LIBS=$ac_func_search_save_LIBS
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14947 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14948 ac_res=$ac_cv_search_gethostbyname
14949 if test "$ac_res" != no; then :
14950 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14956 $as_echo_n "checking for library containing connect... " >&6; }
14957 if ${ac_cv_search_connect+:} false; then :
14958 $as_echo_n "(cached) " >&6
14959 else
14960 ac_func_search_save_LIBS=$LIBS
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14964 /* Override any GCC internal prototype to avoid an error.
14965 Use char because int might match the return type of a GCC
14966 builtin and then its argument prototype would still apply. */
14967 #ifdef __cplusplus
14968 extern "C"
14969 #endif
14970 char connect ();
14972 main ()
14974 return connect ();
14976 return 0;
14978 _ACEOF
14979 for ac_lib in '' socket; do
14980 if test -z "$ac_lib"; then
14981 ac_res="none required"
14982 else
14983 ac_res=-l$ac_lib
14984 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14986 if ac_fn_c_try_link "$LINENO"; then :
14987 ac_cv_search_connect=$ac_res
14989 rm -f core conftest.err conftest.$ac_objext \
14990 conftest$ac_exeext
14991 if ${ac_cv_search_connect+:} false; then :
14992 break
14994 done
14995 if ${ac_cv_search_connect+:} false; then :
14997 else
14998 ac_cv_search_connect=no
15000 rm conftest.$ac_ext
15001 LIBS=$ac_func_search_save_LIBS
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15004 $as_echo "$ac_cv_search_connect" >&6; }
15005 ac_res=$ac_cv_search_connect
15006 if test "$ac_res" != no; then :
15007 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15013 $as_echo_n "checking for library containing inet_aton... " >&6; }
15014 if ${ac_cv_search_inet_aton+:} false; then :
15015 $as_echo_n "(cached) " >&6
15016 else
15017 ac_func_search_save_LIBS=$LIBS
15018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15021 /* Override any GCC internal prototype to avoid an error.
15022 Use char because int might match the return type of a GCC
15023 builtin and then its argument prototype would still apply. */
15024 #ifdef __cplusplus
15025 extern "C"
15026 #endif
15027 char inet_aton ();
15029 main ()
15031 return inet_aton ();
15033 return 0;
15035 _ACEOF
15036 for ac_lib in '' resolv; do
15037 if test -z "$ac_lib"; then
15038 ac_res="none required"
15039 else
15040 ac_res=-l$ac_lib
15041 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15043 if ac_fn_c_try_link "$LINENO"; then :
15044 ac_cv_search_inet_aton=$ac_res
15046 rm -f core conftest.err conftest.$ac_objext \
15047 conftest$ac_exeext
15048 if ${ac_cv_search_inet_aton+:} false; then :
15049 break
15051 done
15052 if ${ac_cv_search_inet_aton+:} false; then :
15054 else
15055 ac_cv_search_inet_aton=no
15057 rm conftest.$ac_ext
15058 LIBS=$ac_func_search_save_LIBS
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15061 $as_echo "$ac_cv_search_inet_aton" >&6; }
15062 ac_res=$ac_cv_search_inet_aton
15063 if test "$ac_res" != no; then :
15064 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15069 for ac_func in \
15070 getaddrinfo \
15071 getnameinfo \
15072 getnetbyname \
15073 getprotobyname \
15074 getprotobynumber \
15075 getservbyport \
15076 inet_addr \
15077 inet_network \
15078 inet_ntop \
15079 inet_pton \
15080 sendmsg \
15081 socketpair \
15083 do :
15084 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15085 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15086 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15087 cat >>confdefs.h <<_ACEOF
15088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15089 _ACEOF
15092 done
15095 ac_save_LIBS=$LIBS
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15097 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15098 if ${ac_cv_search_clock_gettime+:} false; then :
15099 $as_echo_n "(cached) " >&6
15100 else
15101 ac_func_search_save_LIBS=$LIBS
15102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15105 /* Override any GCC internal prototype to avoid an error.
15106 Use char because int might match the return type of a GCC
15107 builtin and then its argument prototype would still apply. */
15108 #ifdef __cplusplus
15109 extern "C"
15110 #endif
15111 char clock_gettime ();
15113 main ()
15115 return clock_gettime ();
15117 return 0;
15119 _ACEOF
15120 for ac_lib in '' rt; do
15121 if test -z "$ac_lib"; then
15122 ac_res="none required"
15123 else
15124 ac_res=-l$ac_lib
15125 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15127 if ac_fn_c_try_link "$LINENO"; then :
15128 ac_cv_search_clock_gettime=$ac_res
15130 rm -f core conftest.err conftest.$ac_objext \
15131 conftest$ac_exeext
15132 if ${ac_cv_search_clock_gettime+:} false; then :
15133 break
15135 done
15136 if ${ac_cv_search_clock_gettime+:} false; then :
15138 else
15139 ac_cv_search_clock_gettime=no
15141 rm conftest.$ac_ext
15142 LIBS=$ac_func_search_save_LIBS
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15145 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15146 ac_res=$ac_cv_search_clock_gettime
15147 if test "$ac_res" != no; then :
15148 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15150 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15152 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15156 LIBS=$ac_save_LIBS
15158 LDAP_LIBS=""
15160 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15161 then
15162 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15164 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15166 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15167 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15168 $as_echo_n "(cached) " >&6
15169 else
15170 ac_check_lib_save_LIBS=$LIBS
15171 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15175 /* Override any GCC internal prototype to avoid an error.
15176 Use char because int might match the return type of a GCC
15177 builtin and then its argument prototype would still apply. */
15178 #ifdef __cplusplus
15179 extern "C"
15180 #endif
15181 char ldap_initialize ();
15183 main ()
15185 return ldap_initialize ();
15187 return 0;
15189 _ACEOF
15190 if ac_fn_c_try_link "$LINENO"; then :
15191 ac_cv_lib_ldap_r_ldap_initialize=yes
15192 else
15193 ac_cv_lib_ldap_r_ldap_initialize=no
15195 rm -f core conftest.err conftest.$ac_objext \
15196 conftest$ac_exeext conftest.$ac_ext
15197 LIBS=$ac_check_lib_save_LIBS
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15200 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15201 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15203 $as_echo_n "checking for ber_init in -llber... " >&6; }
15204 if ${ac_cv_lib_lber_ber_init+:} false; then :
15205 $as_echo_n "(cached) " >&6
15206 else
15207 ac_check_lib_save_LIBS=$LIBS
15208 LIBS="-llber $PTHREAD_LIBS $LIBS"
15209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15210 /* end confdefs.h. */
15212 /* Override any GCC internal prototype to avoid an error.
15213 Use char because int might match the return type of a GCC
15214 builtin and then its argument prototype would still apply. */
15215 #ifdef __cplusplus
15216 extern "C"
15217 #endif
15218 char ber_init ();
15220 main ()
15222 return ber_init ();
15224 return 0;
15226 _ACEOF
15227 if ac_fn_c_try_link "$LINENO"; then :
15228 ac_cv_lib_lber_ber_init=yes
15229 else
15230 ac_cv_lib_lber_ber_init=no
15232 rm -f core conftest.err conftest.$ac_objext \
15233 conftest$ac_exeext conftest.$ac_ext
15234 LIBS=$ac_check_lib_save_LIBS
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15237 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15238 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15240 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15242 LDAP_LIBS="-lldap_r -llber"
15249 ac_wine_check_funcs_save_LIBS="$LIBS"
15250 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15251 for ac_func in \
15252 ldap_count_references \
15253 ldap_first_reference \
15254 ldap_next_reference \
15255 ldap_parse_reference \
15256 ldap_parse_sort_control \
15257 ldap_parse_sortresponse_control \
15258 ldap_parse_vlv_control \
15259 ldap_parse_vlvresponse_control
15260 do :
15261 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15263 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15264 cat >>confdefs.h <<_ACEOF
15265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15266 _ACEOF
15269 done
15271 LIBS="$ac_wine_check_funcs_save_LIBS"
15273 if test "x$LDAP_LIBS" = "x"; then :
15274 case "x$with_ldap" in
15275 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15276 xno) ;;
15277 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15278 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15279 esac
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15283 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15284 if ${wine_cv_one_arg_mkdir+:} false; then :
15285 $as_echo_n "(cached) " >&6
15286 else
15287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15288 /* end confdefs.h. */
15289 #include <sys/stat.h>
15291 main ()
15293 mkdir("foo");
15295 return 0;
15297 _ACEOF
15298 if ac_fn_c_try_compile "$LINENO"; then :
15299 wine_cv_one_arg_mkdir=yes
15300 else
15301 wine_cv_one_arg_mkdir=no
15303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15306 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15307 if test "$wine_cv_one_arg_mkdir" = "yes"
15308 then
15310 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15315 $as_echo_n "checking for sched_setaffinity... " >&6; }
15316 if ${wine_cv_have_sched_setaffinity+:} false; then :
15317 $as_echo_n "(cached) " >&6
15318 else
15319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15320 /* end confdefs.h. */
15321 #define _GNU_SOURCE
15322 #include <sched.h>
15324 main ()
15326 sched_setaffinity(0, 0, 0);
15328 return 0;
15330 _ACEOF
15331 if ac_fn_c_try_link "$LINENO"; then :
15332 wine_cv_have_sched_setaffinity=yes
15333 else
15334 wine_cv_have_sched_setaffinity=no
15336 rm -f core conftest.err conftest.$ac_objext \
15337 conftest$ac_exeext conftest.$ac_ext
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15340 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15341 if test "$wine_cv_have_sched_setaffinity" = "yes"
15342 then
15344 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15349 $as_echo_n "checking for fallocate... " >&6; }
15350 if ${wine_cv_have_fallocate+:} false; then :
15351 $as_echo_n "(cached) " >&6
15352 else
15353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h. */
15355 #define _GNU_SOURCE
15356 #include <fcntl.h>
15358 main ()
15360 fallocate(-1, 0, 0, 0);
15362 return 0;
15364 _ACEOF
15365 if ac_fn_c_try_link "$LINENO"; then :
15366 wine_cv_have_fallocate=yes
15367 else
15368 wine_cv_have_fallocate=no
15370 rm -f core conftest.err conftest.$ac_objext \
15371 conftest$ac_exeext conftest.$ac_ext
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15374 $as_echo "$wine_cv_have_fallocate" >&6; }
15375 if test "$wine_cv_have_fallocate" = "yes"
15376 then
15378 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15384 $as_echo_n "checking for inline... " >&6; }
15385 if ${ac_cv_c_inline+:} false; then :
15386 $as_echo_n "(cached) " >&6
15387 else
15388 ac_cv_c_inline=no
15389 for ac_kw in inline __inline__ __inline; do
15390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15391 /* end confdefs.h. */
15392 #ifndef __cplusplus
15393 typedef int foo_t;
15394 static $ac_kw foo_t static_foo () {return 0; }
15395 $ac_kw foo_t foo () {return 0; }
15396 #endif
15398 _ACEOF
15399 if ac_fn_c_try_compile "$LINENO"; then :
15400 ac_cv_c_inline=$ac_kw
15402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15403 test "$ac_cv_c_inline" != no && break
15404 done
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15408 $as_echo "$ac_cv_c_inline" >&6; }
15410 case $ac_cv_c_inline in
15411 inline | yes) ;;
15413 case $ac_cv_c_inline in
15414 no) ac_val=;;
15415 *) ac_val=$ac_cv_c_inline;;
15416 esac
15417 cat >>confdefs.h <<_ACEOF
15418 #ifndef __cplusplus
15419 #define inline $ac_val
15420 #endif
15421 _ACEOF
15423 esac
15425 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15426 if test "x$ac_cv_type_mode_t" = xyes; then :
15428 cat >>confdefs.h <<_ACEOF
15429 #define HAVE_MODE_T 1
15430 _ACEOF
15434 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15435 if test "x$ac_cv_type_off_t" = xyes; then :
15437 cat >>confdefs.h <<_ACEOF
15438 #define HAVE_OFF_T 1
15439 _ACEOF
15443 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15444 if test "x$ac_cv_type_pid_t" = xyes; then :
15446 cat >>confdefs.h <<_ACEOF
15447 #define HAVE_PID_T 1
15448 _ACEOF
15452 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15453 if test "x$ac_cv_type_size_t" = xyes; then :
15455 cat >>confdefs.h <<_ACEOF
15456 #define HAVE_SIZE_T 1
15457 _ACEOF
15461 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15462 if test "x$ac_cv_type_ssize_t" = xyes; then :
15464 cat >>confdefs.h <<_ACEOF
15465 #define HAVE_SSIZE_T 1
15466 _ACEOF
15470 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15471 if test "x$ac_cv_type_long_long" = xyes; then :
15473 cat >>confdefs.h <<_ACEOF
15474 #define HAVE_LONG_LONG 1
15475 _ACEOF
15479 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15480 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15482 cat >>confdefs.h <<_ACEOF
15483 #define HAVE_FSBLKCNT_T 1
15484 _ACEOF
15488 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15489 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15491 cat >>confdefs.h <<_ACEOF
15492 #define HAVE_FSFILCNT_T 1
15493 _ACEOF
15498 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15499 #include <signal.h>
15501 if test "x$ac_cv_type_sigset_t" = xyes; then :
15503 cat >>confdefs.h <<_ACEOF
15504 #define HAVE_SIGSET_T 1
15505 _ACEOF
15510 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15512 if test "x$ac_cv_type_request_sense" = xyes; then :
15514 cat >>confdefs.h <<_ACEOF
15515 #define HAVE_REQUEST_SENSE 1
15516 _ACEOF
15522 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15523 #ifdef HAVE_SYS_SOCKET_H
15524 #include <sys/socket.h>
15525 #endif
15526 #ifdef HAVE_SYS_SOCKETVAR_H
15527 #include <sys/socketvar.h>
15528 #endif
15529 #ifdef HAVE_NET_ROUTE_H
15530 #include <net/route.h>
15531 #endif
15532 #ifdef HAVE_NETINET_IN_H
15533 #include <netinet/in.h>
15534 #endif
15535 #ifdef HAVE_NETINET_IN_SYSTM_H
15536 #include <netinet/in_systm.h>
15537 #endif
15538 #ifdef HAVE_NETINET_IP_H
15539 #include <netinet/ip.h>
15540 #endif
15541 #ifdef HAVE_NETINET_IN_PCB_H
15542 #include <netinet/in_pcb.h>
15543 #endif
15545 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15547 cat >>confdefs.h <<_ACEOF
15548 #define HAVE_STRUCT_XINPGEN 1
15549 _ACEOF
15555 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15556 #include <link.h>
15557 #endif
15558 #ifdef HAVE_SYS_LINK_H
15559 #include <sys/link.h>
15560 #endif
15562 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15564 cat >>confdefs.h <<_ACEOF
15565 #define HAVE_STRUCT_R_DEBUG 1
15566 _ACEOF
15570 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15571 #include <link.h>
15572 #endif
15573 #ifdef HAVE_SYS_LINK_H
15574 #include <sys/link.h>
15575 #endif
15577 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15579 cat >>confdefs.h <<_ACEOF
15580 #define HAVE_STRUCT_LINK_MAP 1
15581 _ACEOF
15587 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15588 #include <linux/input.h>
15589 #endif
15591 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15593 cat >>confdefs.h <<_ACEOF
15594 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15595 _ACEOF
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15602 $as_echo_n "checking for sigaddset... " >&6; }
15603 if ${wine_cv_have_sigaddset+:} false; then :
15604 $as_echo_n "(cached) " >&6
15605 else
15606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15607 /* end confdefs.h. */
15608 #include <signal.h>
15610 main ()
15612 sigset_t set; sigaddset(&set,SIGTERM);
15614 return 0;
15616 _ACEOF
15617 if ac_fn_c_try_link "$LINENO"; then :
15618 wine_cv_have_sigaddset=yes
15619 else
15620 wine_cv_have_sigaddset=no
15622 rm -f core conftest.err conftest.$ac_objext \
15623 conftest$ac_exeext conftest.$ac_ext
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15626 $as_echo "$wine_cv_have_sigaddset" >&6; }
15627 if test "$wine_cv_have_sigaddset" = "yes"
15628 then
15630 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15636 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15637 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15638 $as_echo_n "(cached) " >&6
15639 else
15640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15641 /* end confdefs.h. */
15642 #include <netdb.h>
15644 main ()
15647 char *name=0;
15648 struct hostent he;
15649 struct hostent *result;
15650 char *buf=0;
15651 int bufsize=0;
15652 int errnr;
15653 char *addr=0;
15654 int addrlen=0;
15655 int addrtype=0;
15656 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15657 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15660 return 0;
15662 _ACEOF
15663 if ac_fn_c_try_link "$LINENO"; then :
15664 wine_cv_linux_gethostbyname_r_6=yes
15665 else
15666 wine_cv_linux_gethostbyname_r_6=no
15669 rm -f core conftest.err conftest.$ac_objext \
15670 conftest$ac_exeext conftest.$ac_ext
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15674 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15675 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15676 then
15678 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15682 if test "$ac_cv_header_linux_joystick_h" = "yes"
15683 then
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15685 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15686 if ${wine_cv_linux_joystick_22_api+:} false; then :
15687 $as_echo_n "(cached) " >&6
15688 else
15689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15692 #include <sys/ioctl.h>
15693 #include <sys/types.h>
15694 #include <linux/joystick.h>
15696 struct js_event blub;
15697 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15698 #error "no 2.2 header"
15699 #endif
15702 main ()
15704 /*empty*/
15706 return 0;
15708 _ACEOF
15709 if ac_fn_c_try_compile "$LINENO"; then :
15710 wine_cv_linux_joystick_22_api=yes
15711 else
15712 wine_cv_linux_joystick_22_api=no
15714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15718 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15719 if test "$wine_cv_linux_joystick_22_api" = "yes"
15720 then
15722 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15728 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15729 #ifdef HAVE_SYS_PARAM_H
15730 # include <sys/param.h>
15731 #endif
15732 #ifdef HAVE_SYS_MOUNT_H
15733 # include <sys/mount.h>
15734 #endif
15735 #ifdef HAVE_SYS_VFS_H
15736 # include <sys/vfs.h>
15737 #endif
15738 #ifdef HAVE_SYS_STATFS_H
15739 # include <sys/statfs.h>
15740 #endif
15742 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15744 cat >>confdefs.h <<_ACEOF
15745 #define HAVE_STRUCT_STATFS_F_BFREE 1
15746 _ACEOF
15750 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15751 #ifdef HAVE_SYS_PARAM_H
15752 # include <sys/param.h>
15753 #endif
15754 #ifdef HAVE_SYS_MOUNT_H
15755 # include <sys/mount.h>
15756 #endif
15757 #ifdef HAVE_SYS_VFS_H
15758 # include <sys/vfs.h>
15759 #endif
15760 #ifdef HAVE_SYS_STATFS_H
15761 # include <sys/statfs.h>
15762 #endif
15764 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15766 cat >>confdefs.h <<_ACEOF
15767 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15768 _ACEOF
15772 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15773 #ifdef HAVE_SYS_PARAM_H
15774 # include <sys/param.h>
15775 #endif
15776 #ifdef HAVE_SYS_MOUNT_H
15777 # include <sys/mount.h>
15778 #endif
15779 #ifdef HAVE_SYS_VFS_H
15780 # include <sys/vfs.h>
15781 #endif
15782 #ifdef HAVE_SYS_STATFS_H
15783 # include <sys/statfs.h>
15784 #endif
15786 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15788 cat >>confdefs.h <<_ACEOF
15789 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15790 _ACEOF
15794 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15795 #ifdef HAVE_SYS_PARAM_H
15796 # include <sys/param.h>
15797 #endif
15798 #ifdef HAVE_SYS_MOUNT_H
15799 # include <sys/mount.h>
15800 #endif
15801 #ifdef HAVE_SYS_VFS_H
15802 # include <sys/vfs.h>
15803 #endif
15804 #ifdef HAVE_SYS_STATFS_H
15805 # include <sys/statfs.h>
15806 #endif
15808 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15810 cat >>confdefs.h <<_ACEOF
15811 #define HAVE_STRUCT_STATFS_F_FFREE 1
15812 _ACEOF
15816 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15817 #ifdef HAVE_SYS_PARAM_H
15818 # include <sys/param.h>
15819 #endif
15820 #ifdef HAVE_SYS_MOUNT_H
15821 # include <sys/mount.h>
15822 #endif
15823 #ifdef HAVE_SYS_VFS_H
15824 # include <sys/vfs.h>
15825 #endif
15826 #ifdef HAVE_SYS_STATFS_H
15827 # include <sys/statfs.h>
15828 #endif
15830 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15832 cat >>confdefs.h <<_ACEOF
15833 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15834 _ACEOF
15838 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15839 #ifdef HAVE_SYS_PARAM_H
15840 # include <sys/param.h>
15841 #endif
15842 #ifdef HAVE_SYS_MOUNT_H
15843 # include <sys/mount.h>
15844 #endif
15845 #ifdef HAVE_SYS_VFS_H
15846 # include <sys/vfs.h>
15847 #endif
15848 #ifdef HAVE_SYS_STATFS_H
15849 # include <sys/statfs.h>
15850 #endif
15852 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15854 cat >>confdefs.h <<_ACEOF
15855 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15856 _ACEOF
15862 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15863 #include <sys/statvfs.h>
15864 #endif
15866 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15868 cat >>confdefs.h <<_ACEOF
15869 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15870 _ACEOF
15876 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15877 #include <dirent.h>
15878 #endif
15880 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15882 cat >>confdefs.h <<_ACEOF
15883 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15884 _ACEOF
15890 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15891 #ifdef HAVE_SYS_SOCKET_H
15892 # include <sys/socket.h>
15893 #endif
15894 #ifdef HAVE_SYS_UN_H
15895 # include <sys/un.h>
15896 #endif
15898 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15900 cat >>confdefs.h <<_ACEOF
15901 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15902 _ACEOF
15906 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15907 #ifdef HAVE_SYS_SOCKET_H
15908 # include <sys/socket.h>
15909 #endif
15910 #ifdef HAVE_SYS_UN_H
15911 # include <sys/un.h>
15912 #endif
15914 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15916 cat >>confdefs.h <<_ACEOF
15917 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15918 _ACEOF
15922 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15923 #ifdef HAVE_SYS_SOCKET_H
15924 # include <sys/socket.h>
15925 #endif
15926 #ifdef HAVE_SYS_UN_H
15927 # include <sys/un.h>
15928 #endif
15930 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15932 cat >>confdefs.h <<_ACEOF
15933 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15934 _ACEOF
15940 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15941 #ifdef HAVE_SCSI_SG_H
15942 #include <scsi/sg.h>
15943 #endif
15945 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15947 cat >>confdefs.h <<_ACEOF
15948 #define HAVE_SCSIREQ_T_CMD 1
15949 _ACEOF
15953 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>
15954 #ifdef HAVE_SCSI_SG_H
15955 #include <scsi/sg.h>
15956 #endif
15958 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15960 cat >>confdefs.h <<_ACEOF
15961 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15962 _ACEOF
15968 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15970 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15972 cat >>confdefs.h <<_ACEOF
15973 #define HAVE_SIGINFO_T_SI_FD 1
15974 _ACEOF
15980 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15981 #ifdef HAVE_SYS_MTIO_H
15982 #include <sys/mtio.h>
15983 #endif
15985 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15989 _ACEOF
15993 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15994 #ifdef HAVE_SYS_MTIO_H
15995 #include <sys/mtio.h>
15996 #endif
15998 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16000 cat >>confdefs.h <<_ACEOF
16001 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16002 _ACEOF
16006 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16007 #ifdef HAVE_SYS_MTIO_H
16008 #include <sys/mtio.h>
16009 #endif
16011 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16013 cat >>confdefs.h <<_ACEOF
16014 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16015 _ACEOF
16021 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16022 #include <getopt.h>
16023 #endif
16025 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16027 cat >>confdefs.h <<_ACEOF
16028 #define HAVE_STRUCT_OPTION_NAME 1
16029 _ACEOF
16035 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16036 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16038 cat >>confdefs.h <<_ACEOF
16039 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16040 _ACEOF
16044 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16045 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16047 cat >>confdefs.h <<_ACEOF
16048 #define HAVE_STRUCT_STAT_ST_MTIM 1
16049 _ACEOF
16053 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16054 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16056 cat >>confdefs.h <<_ACEOF
16057 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16058 _ACEOF
16062 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16063 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16065 cat >>confdefs.h <<_ACEOF
16066 #define HAVE_STRUCT_STAT_ST_CTIM 1
16067 _ACEOF
16071 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16072 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16074 cat >>confdefs.h <<_ACEOF
16075 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16076 _ACEOF
16080 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16081 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16083 cat >>confdefs.h <<_ACEOF
16084 #define HAVE_STRUCT_STAT_ST_ATIM 1
16085 _ACEOF
16089 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16090 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16092 cat >>confdefs.h <<_ACEOF
16093 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16094 _ACEOF
16098 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16099 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16103 _ACEOF
16107 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16108 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16110 cat >>confdefs.h <<_ACEOF
16111 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16112 _ACEOF
16116 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16117 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16119 cat >>confdefs.h <<_ACEOF
16120 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16121 _ACEOF
16125 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16126 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16128 cat >>confdefs.h <<_ACEOF
16129 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16130 _ACEOF
16134 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16135 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16139 _ACEOF
16145 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
16146 #include <sys/types.h>
16147 #endif
16148 #ifdef HAVE_NETINET_IN_H
16149 #include <netinet/in.h>
16150 #endif
16152 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16154 cat >>confdefs.h <<_ACEOF
16155 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16156 _ACEOF
16162 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16163 #include <resolv.h>
16164 #endif
16166 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16168 cat >>confdefs.h <<_ACEOF
16169 #define HAVE_STRUCT___RES_STATE 1
16170 _ACEOF
16176 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
16177 #include <resolv.h>
16178 #endif
16180 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16182 cat >>confdefs.h <<_ACEOF
16183 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16184 _ACEOF
16190 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16191 #include <sys/types.h>
16192 #endif
16193 #ifdef HAVE_NETINET_IN_H
16194 # include <netinet/in.h>
16195 #endif
16196 #ifdef HAVE_ARPA_NAMESER_H
16197 # include <arpa/nameser.h>
16198 #endif
16200 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16202 cat >>confdefs.h <<_ACEOF
16203 #define HAVE_NS_MSG__MSG_PTR 1
16204 _ACEOF
16210 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16211 #include <sys/types.h>
16212 #endif
16213 #ifdef HAVE_NETINET_IP_H
16214 #include <netinet/ip.h>
16215 #endif
16216 #ifdef HAVE_NETINET_IP_ICMP_H
16217 #include <netinet/ip_icmp.h>
16218 #endif
16219 #ifdef HAVE_NETINET_ICMP_VAR_H
16220 #include <netinet/icmp_var.h>
16221 #endif
16223 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16225 cat >>confdefs.h <<_ACEOF
16226 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16227 _ACEOF
16233 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16234 #include <sys/types.h>
16235 #endif
16236 #ifdef HAVE_ALIAS_H
16237 #include <alias.h>
16238 #endif
16239 #ifdef HAVE_SYS_SOCKET_H
16240 #include <sys/socket.h>
16241 #endif
16242 #ifdef HAVE_SYS_SOCKETVAR_H
16243 #include <sys/socketvar.h>
16244 #endif
16245 #ifdef HAVE_SYS_TIMEOUT_H
16246 #include <sys/timeout.h>
16247 #endif
16248 #ifdef HAVE_NETINET_IN_H
16249 #include <netinet/in.h>
16250 #endif
16251 #ifdef HAVE_NETINET_IN_SYSTM_H
16252 #include <netinet/in_systm.h>
16253 #endif
16254 #ifdef HAVE_NETINET_IP_H
16255 #include <netinet/ip.h>
16256 #endif
16257 #ifdef HAVE_NETINET_IP_VAR_H
16258 #include <netinet/ip_var.h>
16259 #endif
16260 #ifdef HAVE_NETINET_IP_ICMP_H
16261 #include <netinet/ip_icmp.h>
16262 #endif
16263 #ifdef HAVE_NETINET_ICMP_VAR_H
16264 #include <netinet/icmp_var.h>
16265 #endif
16267 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16269 cat >>confdefs.h <<_ACEOF
16270 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16271 _ACEOF
16277 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16278 #include <sys/types.h>
16279 #endif
16280 #ifdef HAVE_SYS_SOCKETVAR_H
16281 #include <sys/socketvar.h>
16282 #endif
16283 #ifdef HAVE_NETINET_IN_H
16284 #include <netinet/in.h>
16285 #endif
16286 #ifdef HAVE_NETINET_IP_VAR_H
16287 #include <netinet/ip_var.h>
16288 #endif
16290 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16292 cat >>confdefs.h <<_ACEOF
16293 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16294 _ACEOF
16300 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
16301 #include <netinet/ip_var.h>
16302 #endif
16304 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16306 cat >>confdefs.h <<_ACEOF
16307 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16308 _ACEOF
16314 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16315 #include <sys/types.h>
16316 #endif
16317 #ifdef HAVE_SYS_SOCKETVAR_H
16318 #include <sys/socketvar.h>
16319 #endif
16320 #ifdef HAVE_NETINET_IN_H
16321 #include <netinet/in.h>
16322 #endif
16323 #ifdef HAVE_NETINET_TCP_H
16324 #include <netinet/tcp.h>
16325 #endif
16326 #ifdef HAVE_NETINET_TCP_VAR_H
16327 #include <netinet/tcp_var.h>
16328 #endif
16330 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16332 cat >>confdefs.h <<_ACEOF
16333 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16334 _ACEOF
16340 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
16341 #include <netinet/tcp_var.h>
16342 #endif
16344 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16346 cat >>confdefs.h <<_ACEOF
16347 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16348 _ACEOF
16354 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16355 #include <sys/types.h>
16356 #endif
16357 #ifdef HAVE_NETINET_IN_H
16358 #include <netinet/in.h>
16359 #endif
16360 #ifdef HAVE_NETINET_IP_VAR_H
16361 #include <netinet/ip_var.h>
16362 #endif
16363 #ifdef HAVE_NETINET_UDP_H
16364 #include <netinet/udp.h>
16365 #endif
16366 #ifdef HAVE_NETINET_UDP_VAR_H
16367 #include <netinet/udp_var.h>
16368 #endif
16370 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16372 cat >>confdefs.h <<_ACEOF
16373 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16374 _ACEOF
16380 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16381 #include <sys/types.h>
16382 #endif
16383 #ifdef HAVE_NET_IF_H
16384 # include <net/if.h>
16385 #endif
16387 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16389 cat >>confdefs.h <<_ACEOF
16390 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16391 _ACEOF
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16398 $as_echo_n "checking for timezone variable... " >&6; }
16399 if ${ac_cv_have_timezone+:} false; then :
16400 $as_echo_n "(cached) " >&6
16401 else
16402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16403 /* end confdefs.h. */
16404 #include <time.h>
16406 main ()
16408 timezone = 1
16410 return 0;
16412 _ACEOF
16413 if ac_fn_c_try_link "$LINENO"; then :
16414 ac_cv_have_timezone="yes"
16415 else
16416 ac_cv_have_timezone="no"
16418 rm -f core conftest.err conftest.$ac_objext \
16419 conftest$ac_exeext conftest.$ac_ext
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16422 $as_echo "$ac_cv_have_timezone" >&6; }
16423 if test "$ac_cv_have_timezone" = "yes"
16424 then
16426 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16430 $as_echo_n "checking for daylight variable... " >&6; }
16431 if ${ac_cv_have_daylight+:} false; then :
16432 $as_echo_n "(cached) " >&6
16433 else
16434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16435 /* end confdefs.h. */
16436 #include <time.h>
16438 main ()
16440 daylight = 1
16442 return 0;
16444 _ACEOF
16445 if ac_fn_c_try_link "$LINENO"; then :
16446 ac_cv_have_daylight="yes"
16447 else
16448 ac_cv_have_daylight="no"
16450 rm -f core conftest.err conftest.$ac_objext \
16451 conftest$ac_exeext conftest.$ac_ext
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16454 $as_echo "$ac_cv_have_daylight" >&6; }
16455 if test "$ac_cv_have_daylight" = "yes"
16456 then
16458 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16462 ac_save_LIBS="$LIBS"
16463 LIBS="$LIBS -lm"
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16465 $as_echo_n "checking for isfinite... " >&6; }
16466 if ${ac_cv_have_isfinite+:} false; then :
16467 $as_echo_n "(cached) " >&6
16468 else
16469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16470 /* end confdefs.h. */
16471 #define _GNU_SOURCE
16472 #include <math.h>
16474 main ()
16476 float f = 0.0; return isfinite(f)
16478 return 0;
16480 _ACEOF
16481 if ac_fn_c_try_link "$LINENO"; then :
16482 ac_cv_have_isfinite="yes"
16483 else
16484 ac_cv_have_isfinite="no"
16486 rm -f core conftest.err conftest.$ac_objext \
16487 conftest$ac_exeext conftest.$ac_ext
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16490 $as_echo "$ac_cv_have_isfinite" >&6; }
16491 if test "$ac_cv_have_isfinite" = "yes"
16492 then
16494 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16499 $as_echo_n "checking for isinf... " >&6; }
16500 if ${ac_cv_have_isinf+:} false; then :
16501 $as_echo_n "(cached) " >&6
16502 else
16503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16504 /* end confdefs.h. */
16505 #include <math.h>
16507 main ()
16509 float f = 0.0; return isinf(f)
16511 return 0;
16513 _ACEOF
16514 if ac_fn_c_try_link "$LINENO"; then :
16515 ac_cv_have_isinf="yes"
16516 else
16517 ac_cv_have_isinf="no"
16519 rm -f core conftest.err conftest.$ac_objext \
16520 conftest$ac_exeext conftest.$ac_ext
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16523 $as_echo "$ac_cv_have_isinf" >&6; }
16524 if test "$ac_cv_have_isinf" = "yes"
16525 then
16527 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16532 $as_echo_n "checking for isnan... " >&6; }
16533 if ${ac_cv_have_isnan+:} false; then :
16534 $as_echo_n "(cached) " >&6
16535 else
16536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16537 /* end confdefs.h. */
16538 #include <math.h>
16540 main ()
16542 float f = 0.0; return isnan(f)
16544 return 0;
16546 _ACEOF
16547 if ac_fn_c_try_link "$LINENO"; then :
16548 ac_cv_have_isnan="yes"
16549 else
16550 ac_cv_have_isnan="no"
16552 rm -f core conftest.err conftest.$ac_objext \
16553 conftest$ac_exeext conftest.$ac_ext
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16556 $as_echo "$ac_cv_have_isnan" >&6; }
16557 if test "$ac_cv_have_isnan" = "yes"
16558 then
16560 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16564 for ac_func in \
16565 cbrt \
16566 cbrtf \
16567 exp2 \
16568 exp2f \
16569 llrint \
16570 llrintf \
16571 llround \
16572 llroundf \
16573 log2 \
16574 log2f \
16575 lrint \
16576 lrintf \
16577 lround \
16578 lroundf \
16579 rint \
16580 rintf \
16581 round \
16582 roundf \
16583 trunc \
16584 truncf
16586 do :
16587 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16588 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16589 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16590 cat >>confdefs.h <<_ACEOF
16591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16592 _ACEOF
16595 done
16597 LIBS="$ac_save_LIBS"
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16600 $as_echo_n "checking for __builtin_clz... " >&6; }
16601 if ${ac_cv_have___builtin_clz+:} false; then :
16602 $as_echo_n "(cached) " >&6
16603 else
16604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16605 /* end confdefs.h. */
16608 main ()
16610 return __builtin_clz(1)
16612 return 0;
16614 _ACEOF
16615 if ac_fn_c_try_link "$LINENO"; then :
16616 ac_cv_have___builtin_clz="yes"
16617 else
16618 ac_cv_have___builtin_clz="no"
16620 rm -f core conftest.err conftest.$ac_objext \
16621 conftest$ac_exeext conftest.$ac_ext
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16624 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16625 if test "$ac_cv_have___builtin_clz" = "yes"
16626 then
16628 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16633 case $host_cpu in
16634 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16635 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16636 if ${ac_cv_cpp_def___i386__+:} false; then :
16637 $as_echo_n "(cached) " >&6
16638 else
16639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16640 /* end confdefs.h. */
16641 #ifndef __i386__
16643 #endif
16644 _ACEOF
16645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16646 $EGREP "yes" >/dev/null 2>&1; then :
16647 ac_cv_cpp_def___i386__=yes
16648 else
16649 ac_cv_cpp_def___i386__=no
16651 rm -f conftest*
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16655 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16656 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16657 CFLAGS="$CFLAGS -D__i386__"
16658 LINTFLAGS="$LINTFLAGS -D__i386__"
16659 fi ;;
16660 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16661 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16662 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16663 $as_echo_n "(cached) " >&6
16664 else
16665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h. */
16667 #ifndef __x86_64__
16669 #endif
16670 _ACEOF
16671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16672 $EGREP "yes" >/dev/null 2>&1; then :
16673 ac_cv_cpp_def___x86_64__=yes
16674 else
16675 ac_cv_cpp_def___x86_64__=no
16677 rm -f conftest*
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16681 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16682 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16683 CFLAGS="$CFLAGS -D__x86_64__"
16684 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16685 fi ;;
16686 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16687 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16688 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16689 $as_echo_n "(cached) " >&6
16690 else
16691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16692 /* end confdefs.h. */
16693 #ifndef __sparc64__
16695 #endif
16696 _ACEOF
16697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16698 $EGREP "yes" >/dev/null 2>&1; then :
16699 ac_cv_cpp_def___sparc64__=yes
16700 else
16701 ac_cv_cpp_def___sparc64__=no
16703 rm -f conftest*
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16707 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16708 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16709 CFLAGS="$CFLAGS -D__sparc64__"
16710 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16711 fi ;;
16712 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16713 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16714 if ${ac_cv_cpp_def___sparc__+:} false; then :
16715 $as_echo_n "(cached) " >&6
16716 else
16717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16718 /* end confdefs.h. */
16719 #ifndef __sparc__
16721 #endif
16722 _ACEOF
16723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16724 $EGREP "yes" >/dev/null 2>&1; then :
16725 ac_cv_cpp_def___sparc__=yes
16726 else
16727 ac_cv_cpp_def___sparc__=no
16729 rm -f conftest*
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16733 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16734 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16735 CFLAGS="$CFLAGS -D__sparc__"
16736 LINTFLAGS="$LINTFLAGS -D__sparc__"
16737 fi ;;
16738 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16739 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16740 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16741 $as_echo_n "(cached) " >&6
16742 else
16743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16744 /* end confdefs.h. */
16745 #ifndef __powerpc64__
16747 #endif
16748 _ACEOF
16749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16750 $EGREP "yes" >/dev/null 2>&1; then :
16751 ac_cv_cpp_def___powerpc64__=yes
16752 else
16753 ac_cv_cpp_def___powerpc64__=no
16755 rm -f conftest*
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16759 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16760 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16761 CFLAGS="$CFLAGS -D__powerpc64__"
16762 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16763 fi ;;
16764 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16765 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16766 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16767 $as_echo_n "(cached) " >&6
16768 else
16769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16770 /* end confdefs.h. */
16771 #ifndef __powerpc__
16773 #endif
16774 _ACEOF
16775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16776 $EGREP "yes" >/dev/null 2>&1; then :
16777 ac_cv_cpp_def___powerpc__=yes
16778 else
16779 ac_cv_cpp_def___powerpc__=no
16781 rm -f conftest*
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16785 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16786 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16787 CFLAGS="$CFLAGS -D__powerpc__"
16788 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16789 fi ;;
16790 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16791 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16792 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16793 $as_echo_n "(cached) " >&6
16794 else
16795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16797 #ifndef __aarch64__
16799 #endif
16800 _ACEOF
16801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16802 $EGREP "yes" >/dev/null 2>&1; then :
16803 ac_cv_cpp_def___aarch64__=yes
16804 else
16805 ac_cv_cpp_def___aarch64__=no
16807 rm -f conftest*
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16811 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16812 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16813 CFLAGS="$CFLAGS -D__aarch64__"
16814 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16815 fi ;;
16816 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16817 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16818 if ${ac_cv_cpp_def___arm__+:} false; then :
16819 $as_echo_n "(cached) " >&6
16820 else
16821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16822 /* end confdefs.h. */
16823 #ifndef __arm__
16825 #endif
16826 _ACEOF
16827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16828 $EGREP "yes" >/dev/null 2>&1; then :
16829 ac_cv_cpp_def___arm__=yes
16830 else
16831 ac_cv_cpp_def___arm__=no
16833 rm -f conftest*
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16837 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16838 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16839 CFLAGS="$CFLAGS -D__arm__"
16840 LINTFLAGS="$LINTFLAGS -D__arm__"
16841 fi ;;
16842 esac
16844 case $host_vendor in
16845 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16846 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16847 if ${ac_cv_cpp_def___sun__+:} false; then :
16848 $as_echo_n "(cached) " >&6
16849 else
16850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16851 /* end confdefs.h. */
16852 #ifndef __sun__
16854 #endif
16855 _ACEOF
16856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16857 $EGREP "yes" >/dev/null 2>&1; then :
16858 ac_cv_cpp_def___sun__=yes
16859 else
16860 ac_cv_cpp_def___sun__=no
16862 rm -f conftest*
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16866 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16867 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16868 CFLAGS="$CFLAGS -D__sun__"
16869 LINTFLAGS="$LINTFLAGS -D__sun__"
16870 fi ;;
16871 esac
16877 ac_config_commands="$ac_config_commands include/stamp-h"
16879 $as_echo_n "creating Makefile rules..." >&6
16881 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16882 SOCKET_LIBS = $SOCKET_LIBS
16883 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16884 IOKIT_LIBS = $IOKIT_LIBS
16885 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16886 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16887 CORESERVICES_LIBS = $CORESERVICES_LIBS
16888 APPKIT_LIBS = $APPKIT_LIBS
16889 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16890 SECURITY_LIBS = $SECURITY_LIBS
16891 COREAUDIO_LIBS = $COREAUDIO_LIBS
16892 OPENAL_LIBS = $OPENAL_LIBS
16893 OPENCL_LIBS = $OPENCL_LIBS
16894 QUICKTIME_LIBS = $QUICKTIME_LIBS
16895 CARBON_LIBS = $CARBON_LIBS
16896 PTHREAD_LIBS = $PTHREAD_LIBS
16897 X_CFLAGS = $X_CFLAGS
16898 X_PRE_LIBS = $X_PRE_LIBS
16899 X_LIBS = $X_LIBS
16900 X_EXTRA_LIBS = $X_EXTRA_LIBS
16901 XML2_CFLAGS = $XML2_CFLAGS
16902 XML2_LIBS = $XML2_LIBS
16903 XSLT_CFLAGS = $XSLT_CFLAGS
16904 XSLT_LIBS = $XSLT_LIBS
16905 DBUS_CFLAGS = $DBUS_CFLAGS
16906 DBUS_LIBS = $DBUS_LIBS
16907 HAL_CFLAGS = $HAL_CFLAGS
16908 HAL_LIBS = $HAL_LIBS
16909 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16910 GNUTLS_LIBS = $GNUTLS_LIBS
16911 SANE_CFLAGS = $SANE_CFLAGS
16912 SANE_LIBS = $SANE_LIBS
16913 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16914 GPHOTO2_LIBS = $GPHOTO2_LIBS
16915 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16916 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16917 RESOLV_LIBS = $RESOLV_LIBS
16918 LCMS2_CFLAGS = $LCMS2_CFLAGS
16919 LCMS2_LIBS = $LCMS2_LIBS
16920 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16921 FREETYPE_LIBS = $FREETYPE_LIBS
16922 Z_LIBS = $Z_LIBS
16923 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16924 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16925 GSTREAMER_LIBS = $GSTREAMER_LIBS
16926 ALSA_LIBS = $ALSA_LIBS
16927 OSS4_CFLAGS = $OSS4_CFLAGS
16928 CAPI20_CFLAGS = $CAPI20_CFLAGS
16929 CAPI20_LIBS = $CAPI20_LIBS
16930 CUPS_CFLAGS = $CUPS_CFLAGS
16931 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16932 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16933 JPEG_CFLAGS = $JPEG_CFLAGS
16934 JPEG_LIBS = $JPEG_LIBS
16935 PNG_CFLAGS = $PNG_CFLAGS
16936 PNG_LIBS = $PNG_LIBS
16937 TIFF_CFLAGS = $TIFF_CFLAGS
16938 TIFF_LIBS = $TIFF_LIBS
16939 MPG123_CFLAGS = $MPG123_CFLAGS
16940 MPG123_LIBS = $MPG123_LIBS
16941 KSTAT_LIBS = $KSTAT_LIBS
16942 PROCSTAT_LIBS = $PROCSTAT_LIBS
16943 DL_LIBS = $DL_LIBS
16944 POLL_LIBS = $POLL_LIBS
16945 RT_LIBS = $RT_LIBS
16946 LDAP_LIBS = $LDAP_LIBS
16951 wine_fn_append_rule "
16952 # Rules automatically generated by configure
16954 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16956 .INIT: Makefile
16957 .MAKEFILEDEPS:
16958 all: Makefile
16959 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16960 @./config.status Make.tmp Makefile"
16962 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16963 .gitignore: config.status
16964 @./config.status .gitignore"
16966 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16967 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16969 if test "x$enable_fonts" != xno; then
16970 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16971 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16972 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16973 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16974 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16976 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16977 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16978 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16979 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16980 ac_config_links="$ac_config_links wine:tools/winewrapper"
16981 wine_fn_config_symlink wine
16982 if test "x$enable_win64" != xno; then
16983 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16984 wine_fn_config_symlink wine64
16987 wine_fn_config_dll acledit enable_acledit
16988 wine_fn_config_dll aclui enable_aclui implib
16989 wine_fn_config_dll activeds enable_activeds implib
16990 wine_fn_config_dll actxprxy enable_actxprxy clean
16991 wine_fn_config_lib adsiid
16992 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16993 wine_fn_config_test dlls/advapi32/tests advapi32_test
16994 wine_fn_config_dll advpack enable_advpack implib
16995 wine_fn_config_test dlls/advpack/tests advpack_test
16996 wine_fn_config_dll amstream enable_amstream clean
16997 wine_fn_config_test dlls/amstream/tests amstream_test
16998 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16999 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17000 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17001 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17002 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17003 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17004 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17005 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17006 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17007 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17009 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17010 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17011 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17012 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17013 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17014 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17015 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17016 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17017 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17019 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17020 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17023 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17024 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17025 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17029 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17030 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17031 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17033 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17034 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17035 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17036 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17037 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17038 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17039 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17040 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17041 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17042 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17043 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17044 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17045 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17046 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17047 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17048 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17049 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17050 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17051 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17052 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17053 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17054 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17055 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17056 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17057 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17058 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17059 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17060 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17061 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17062 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17063 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17064 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17065 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17066 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17067 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17068 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17069 wine_fn_config_dll apphelp enable_apphelp
17070 wine_fn_config_test dlls/apphelp/tests apphelp_test
17071 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17072 wine_fn_config_dll atl enable_atl clean,implib
17073 wine_fn_config_test dlls/atl/tests atl_test
17074 wine_fn_config_dll atl100 enable_atl100 clean,implib
17075 wine_fn_config_test dlls/atl100/tests atl100_test
17076 wine_fn_config_dll atl110 enable_atl110 clean
17077 wine_fn_config_dll atl80 enable_atl80 clean,implib
17078 wine_fn_config_test dlls/atl80/tests atl80_test
17079 wine_fn_config_dll atl90 enable_atl90 clean
17080 wine_fn_config_dll authz enable_authz
17081 wine_fn_config_dll avicap32 enable_avicap32 implib
17082 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17083 wine_fn_config_test dlls/avifil32/tests avifil32_test
17084 wine_fn_config_dll avifile.dll16 enable_win16
17085 wine_fn_config_dll avrt enable_avrt implib
17086 wine_fn_config_dll bcrypt enable_bcrypt
17087 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17088 wine_fn_config_dll browseui enable_browseui clean,po
17089 wine_fn_config_test dlls/browseui/tests browseui_test
17090 wine_fn_config_dll cabinet enable_cabinet implib
17091 wine_fn_config_test dlls/cabinet/tests cabinet_test
17092 wine_fn_config_dll capi2032 enable_capi2032 implib
17093 wine_fn_config_dll cards enable_cards implib
17094 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17095 wine_fn_config_dll clusapi enable_clusapi implib
17096 wine_fn_config_dll combase enable_combase
17097 wine_fn_config_test dlls/combase/tests combase_test
17098 wine_fn_config_dll comcat enable_comcat
17099 wine_fn_config_test dlls/comcat/tests comcat_test
17100 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17101 wine_fn_config_test dlls/comctl32/tests comctl32_test
17102 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17103 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17104 wine_fn_config_dll comm.drv16 enable_win16
17105 wine_fn_config_dll commdlg.dll16 enable_win16
17106 wine_fn_config_dll compobj.dll16 enable_win16
17107 wine_fn_config_dll compstui enable_compstui implib
17108 wine_fn_config_dll comsvcs enable_comsvcs implib
17109 wine_fn_config_dll connect enable_connect
17110 wine_fn_config_dll credui enable_credui implib,po
17111 wine_fn_config_test dlls/credui/tests credui_test
17112 wine_fn_config_dll crtdll enable_crtdll implib
17113 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17114 wine_fn_config_test dlls/crypt32/tests crypt32_test
17115 wine_fn_config_dll cryptdlg enable_cryptdlg po
17116 wine_fn_config_dll cryptdll enable_cryptdll implib
17117 wine_fn_config_dll cryptext enable_cryptext
17118 wine_fn_config_dll cryptnet enable_cryptnet implib
17119 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17120 wine_fn_config_dll cryptui enable_cryptui implib,po
17121 wine_fn_config_test dlls/cryptui/tests cryptui_test
17122 wine_fn_config_dll ctapi32 enable_ctapi32
17123 wine_fn_config_dll ctl3d.dll16 enable_win16
17124 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17125 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17126 wine_fn_config_dll d2d1 enable_d2d1 implib
17127 wine_fn_config_test dlls/d2d1/tests d2d1_test
17128 wine_fn_config_dll d3d10 enable_d3d10 implib
17129 wine_fn_config_test dlls/d3d10/tests d3d10_test
17130 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17131 wine_fn_config_dll d3d10core enable_d3d10core implib
17132 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17133 wine_fn_config_dll d3d11 enable_d3d11
17134 wine_fn_config_dll d3d8 enable_d3d8 implib
17135 wine_fn_config_test dlls/d3d8/tests d3d8_test
17136 wine_fn_config_dll d3d9 enable_d3d9 implib
17137 wine_fn_config_test dlls/d3d9/tests d3d9_test
17138 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17139 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17140 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17141 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17142 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17143 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17144 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17145 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17146 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17147 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17148 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17149 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17150 wine_fn_config_dll d3dim enable_d3dim implib
17151 wine_fn_config_dll d3drm enable_d3drm implib
17152 wine_fn_config_test dlls/d3drm/tests d3drm_test
17153 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17154 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17155 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17156 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17157 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17158 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17159 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17160 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17161 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17162 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17163 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17164 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17165 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17166 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17167 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17168 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17169 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17170 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17171 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17172 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17173 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17174 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17175 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17176 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17177 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17178 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17179 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17180 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17181 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17182 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17183 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17184 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17185 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17186 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17187 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17188 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17189 wine_fn_config_dll dbgeng enable_dbgeng implib
17190 wine_fn_config_dll dbghelp enable_dbghelp implib
17191 wine_fn_config_dll dciman32 enable_dciman32 implib
17192 wine_fn_config_dll ddeml.dll16 enable_win16
17193 wine_fn_config_dll ddraw enable_ddraw clean,implib
17194 wine_fn_config_test dlls/ddraw/tests ddraw_test
17195 wine_fn_config_dll ddrawex enable_ddrawex clean
17196 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17197 wine_fn_config_dll devenum enable_devenum clean,po
17198 wine_fn_config_test dlls/devenum/tests devenum_test
17199 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17200 wine_fn_config_dll difxapi enable_difxapi
17201 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17202 wine_fn_config_test dlls/dinput/tests dinput_test
17203 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17204 wine_fn_config_test dlls/dinput8/tests dinput8_test
17205 wine_fn_config_dll dispdib.dll16 enable_win16
17206 wine_fn_config_dll dispex enable_dispex clean
17207 wine_fn_config_test dlls/dispex/tests dispex_test
17208 wine_fn_config_dll display.drv16 enable_win16
17209 wine_fn_config_dll dmband enable_dmband clean
17210 wine_fn_config_test dlls/dmband/tests dmband_test
17211 wine_fn_config_dll dmcompos enable_dmcompos clean
17212 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17213 wine_fn_config_dll dmime enable_dmime clean
17214 wine_fn_config_test dlls/dmime/tests dmime_test
17215 wine_fn_config_dll dmloader enable_dmloader clean
17216 wine_fn_config_test dlls/dmloader/tests dmloader_test
17217 wine_fn_config_dll dmscript enable_dmscript clean
17218 wine_fn_config_test dlls/dmscript/tests dmscript_test
17219 wine_fn_config_dll dmstyle enable_dmstyle clean
17220 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17221 wine_fn_config_dll dmsynth enable_dmsynth clean
17222 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17223 wine_fn_config_dll dmusic enable_dmusic clean
17224 wine_fn_config_test dlls/dmusic/tests dmusic_test
17225 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17226 wine_fn_config_dll dnsapi enable_dnsapi implib
17227 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17228 wine_fn_config_dll dplay enable_dplay implib
17229 wine_fn_config_dll dplayx enable_dplayx clean,implib
17230 wine_fn_config_test dlls/dplayx/tests dplayx_test
17231 wine_fn_config_dll dpnaddr enable_dpnaddr
17232 wine_fn_config_dll dpnet enable_dpnet clean,implib
17233 wine_fn_config_test dlls/dpnet/tests dpnet_test
17234 wine_fn_config_dll dpnhpast enable_dpnhpast
17235 wine_fn_config_dll dpnlobby enable_dpnlobby
17236 wine_fn_config_dll dpvoice enable_dpvoice clean
17237 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17238 wine_fn_config_dll dpwsockx enable_dpwsockx
17239 wine_fn_config_dll drmclien enable_drmclien
17240 wine_fn_config_dll dsound enable_dsound clean,implib
17241 wine_fn_config_test dlls/dsound/tests dsound_test
17242 wine_fn_config_dll dssenh enable_dssenh
17243 wine_fn_config_test dlls/dssenh/tests dssenh_test
17244 wine_fn_config_dll dswave enable_dswave clean
17245 wine_fn_config_test dlls/dswave/tests dswave_test
17246 wine_fn_config_dll dwmapi enable_dwmapi implib
17247 wine_fn_config_dll dwrite enable_dwrite implib
17248 wine_fn_config_test dlls/dwrite/tests dwrite_test
17249 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17250 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17251 wine_fn_config_lib dxerr8
17252 wine_fn_config_lib dxerr9
17253 wine_fn_config_dll dxgi enable_dxgi implib
17254 wine_fn_config_test dlls/dxgi/tests dxgi_test
17255 wine_fn_config_lib dxguid
17256 wine_fn_config_dll dxva2 enable_dxva2
17257 wine_fn_config_dll evr enable_evr
17258 wine_fn_config_dll explorerframe enable_explorerframe clean
17259 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17260 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17261 wine_fn_config_dll faultrep enable_faultrep implib
17262 wine_fn_config_test dlls/faultrep/tests faultrep_test
17263 wine_fn_config_dll fltlib enable_fltlib
17264 wine_fn_config_dll fntcache enable_fntcache
17265 wine_fn_config_dll fontsub enable_fontsub
17266 wine_fn_config_dll fusion enable_fusion
17267 wine_fn_config_test dlls/fusion/tests fusion_test
17268 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17269 wine_fn_config_dll gameux enable_gameux clean
17270 wine_fn_config_test dlls/gameux/tests gameux_test
17271 wine_fn_config_dll gdi.exe16 enable_win16
17272 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17273 wine_fn_config_test dlls/gdi32/tests gdi32_test
17274 wine_fn_config_dll gdiplus enable_gdiplus implib
17275 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17276 wine_fn_config_dll glu32 enable_glu32 implib
17277 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17278 wine_fn_config_dll gpkcsp enable_gpkcsp
17279 wine_fn_config_dll hal enable_hal
17280 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17281 wine_fn_config_dll hid enable_hid implib
17282 wine_fn_config_dll hlink enable_hlink clean,implib
17283 wine_fn_config_test dlls/hlink/tests hlink_test
17284 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17285 wine_fn_config_dll httpapi enable_httpapi
17286 wine_fn_config_dll iccvid enable_iccvid po
17287 wine_fn_config_dll icmp enable_icmp
17288 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17289 wine_fn_config_test dlls/ieframe/tests ieframe_test
17290 wine_fn_config_dll ifsmgr.vxd enable_win16
17291 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17292 wine_fn_config_dll imagehlp enable_imagehlp implib
17293 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17294 wine_fn_config_dll imm.dll16 enable_win16
17295 wine_fn_config_dll imm32 enable_imm32 implib
17296 wine_fn_config_test dlls/imm32/tests imm32_test
17297 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17298 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17299 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17300 wine_fn_config_dll inetmib1 enable_inetmib1
17301 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17302 wine_fn_config_dll infosoft enable_infosoft clean
17303 wine_fn_config_test dlls/infosoft/tests infosoft_test
17304 wine_fn_config_dll initpki enable_initpki
17305 wine_fn_config_dll inkobj enable_inkobj
17306 wine_fn_config_dll inseng enable_inseng clean
17307 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17308 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17309 wine_fn_config_dll itircl enable_itircl
17310 wine_fn_config_dll itss enable_itss clean
17311 wine_fn_config_test dlls/itss/tests itss_test
17312 wine_fn_config_dll joy.cpl enable_joy_cpl po
17313 wine_fn_config_dll jscript enable_jscript clean,po
17314 wine_fn_config_test dlls/jscript/tests jscript_test
17315 wine_fn_config_dll jsproxy enable_jsproxy implib
17316 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17317 wine_fn_config_test dlls/kernel32/tests kernel32_test
17318 wine_fn_config_dll keyboard.drv16 enable_win16
17319 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17320 wine_fn_config_dll ksuser enable_ksuser
17321 wine_fn_config_dll ktmw32 enable_ktmw32
17322 wine_fn_config_dll loadperf enable_loadperf implib
17323 wine_fn_config_dll localspl enable_localspl po
17324 wine_fn_config_test dlls/localspl/tests localspl_test
17325 wine_fn_config_dll localui enable_localui po
17326 wine_fn_config_test dlls/localui/tests localui_test
17327 wine_fn_config_dll lz32 enable_lz32 implib
17328 wine_fn_config_test dlls/lz32/tests lz32_test
17329 wine_fn_config_dll lzexpand.dll16 enable_win16
17330 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17331 wine_fn_config_test dlls/mapi32/tests mapi32_test
17332 wine_fn_config_dll mapistub enable_mapistub
17333 wine_fn_config_dll mciavi32 enable_mciavi32
17334 wine_fn_config_dll mcicda enable_mcicda
17335 wine_fn_config_dll mciqtz32 enable_mciqtz32
17336 wine_fn_config_dll mciseq enable_mciseq
17337 wine_fn_config_dll mciwave enable_mciwave
17338 wine_fn_config_dll mf enable_mf
17339 wine_fn_config_dll mfplat enable_mfplat
17340 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17341 wine_fn_config_dll mgmtapi enable_mgmtapi
17342 wine_fn_config_dll midimap enable_midimap
17343 wine_fn_config_dll mlang enable_mlang clean,implib
17344 wine_fn_config_test dlls/mlang/tests mlang_test
17345 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17346 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17347 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17348 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17349 wine_fn_config_dll mmdevldr.vxd enable_win16
17350 wine_fn_config_dll mmsystem.dll16 enable_win16
17351 wine_fn_config_dll monodebg.vxd enable_win16
17352 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17353 wine_fn_config_dll mouse.drv16 enable_win16
17354 wine_fn_config_dll mpr enable_mpr implib,po
17355 wine_fn_config_test dlls/mpr/tests mpr_test
17356 wine_fn_config_dll mprapi enable_mprapi implib
17357 wine_fn_config_dll msacm.dll16 enable_win16
17358 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17359 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17360 wine_fn_config_test dlls/msacm32/tests msacm32_test
17361 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17362 wine_fn_config_dll msasn1 enable_msasn1 implib
17363 wine_fn_config_dll mscat32 enable_mscat32
17364 wine_fn_config_dll mscms enable_mscms implib
17365 wine_fn_config_test dlls/mscms/tests mscms_test
17366 wine_fn_config_dll mscoree enable_mscoree clean
17367 wine_fn_config_test dlls/mscoree/tests mscoree_test
17368 wine_fn_config_dll msctf enable_msctf clean
17369 wine_fn_config_test dlls/msctf/tests msctf_test
17370 wine_fn_config_dll msdaps enable_msdaps clean
17371 wine_fn_config_dll msdmo enable_msdmo implib
17372 wine_fn_config_test dlls/msdmo/tests msdmo_test
17373 wine_fn_config_dll msftedit enable_msftedit
17374 wine_fn_config_dll msg711.acm enable_msg711_acm
17375 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17376 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17377 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17378 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17379 wine_fn_config_dll msi enable_msi clean,implib,po
17380 wine_fn_config_test dlls/msi/tests msi_test
17381 wine_fn_config_dll msident enable_msident clean
17382 wine_fn_config_dll msimg32 enable_msimg32 implib
17383 wine_fn_config_dll msimsg enable_msimsg
17384 wine_fn_config_dll msimtf enable_msimtf clean
17385 wine_fn_config_dll msisip enable_msisip
17386 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17387 wine_fn_config_dll msls31 enable_msls31
17388 wine_fn_config_dll msnet32 enable_msnet32
17389 wine_fn_config_dll mspatcha enable_mspatcha implib
17390 wine_fn_config_dll msrle32 enable_msrle32 po
17391 wine_fn_config_test dlls/msrle32/tests msrle32_test
17392 wine_fn_config_dll mssign32 enable_mssign32
17393 wine_fn_config_dll mssip32 enable_mssip32
17394 wine_fn_config_dll mstask enable_mstask clean
17395 wine_fn_config_test dlls/mstask/tests mstask_test
17396 wine_fn_config_dll msvcirt enable_msvcirt
17397 wine_fn_config_dll msvcm80 enable_msvcm80
17398 wine_fn_config_dll msvcm90 enable_msvcm90
17399 wine_fn_config_dll msvcp100 enable_msvcp100
17400 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17401 wine_fn_config_dll msvcp110 enable_msvcp110
17402 wine_fn_config_dll msvcp120 enable_msvcp120
17403 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17404 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17405 wine_fn_config_dll msvcp60 enable_msvcp60
17406 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17407 wine_fn_config_dll msvcp70 enable_msvcp70
17408 wine_fn_config_dll msvcp71 enable_msvcp71
17409 wine_fn_config_dll msvcp80 enable_msvcp80
17410 wine_fn_config_dll msvcp90 enable_msvcp90
17411 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17412 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17413 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17414 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17415 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17416 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17417 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17418 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17419 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17420 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17421 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17422 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17423 wine_fn_config_dll msvcrt enable_msvcrt implib
17424 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17425 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17426 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17427 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17428 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17429 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17430 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17431 wine_fn_config_dll msvidc32 enable_msvidc32 po
17432 wine_fn_config_dll msvideo.dll16 enable_win16
17433 wine_fn_config_dll mswsock enable_mswsock implib
17434 wine_fn_config_dll msxml enable_msxml clean
17435 wine_fn_config_dll msxml2 enable_msxml2 clean
17436 wine_fn_config_dll msxml3 enable_msxml3 clean
17437 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17438 wine_fn_config_dll msxml4 enable_msxml4 clean
17439 wine_fn_config_dll msxml6 enable_msxml6 clean
17440 wine_fn_config_dll nddeapi enable_nddeapi implib
17441 wine_fn_config_dll ndis.sys enable_ndis_sys
17442 wine_fn_config_dll netapi32 enable_netapi32 implib
17443 wine_fn_config_test dlls/netapi32/tests netapi32_test
17444 wine_fn_config_dll netcfgx enable_netcfgx clean
17445 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17446 wine_fn_config_dll netprofm enable_netprofm clean
17447 wine_fn_config_test dlls/netprofm/tests netprofm_test
17448 wine_fn_config_dll newdev enable_newdev implib
17449 wine_fn_config_dll normaliz enable_normaliz implib
17450 wine_fn_config_dll npmshtml enable_npmshtml
17451 wine_fn_config_dll npptools enable_npptools
17452 wine_fn_config_dll ntdll enable_ntdll implib
17453 wine_fn_config_test dlls/ntdll/tests ntdll_test
17454 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17455 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17456 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17457 wine_fn_config_dll ntprint enable_ntprint
17458 wine_fn_config_test dlls/ntprint/tests ntprint_test
17459 wine_fn_config_dll objsel enable_objsel clean
17460 wine_fn_config_dll odbc32 enable_odbc32 implib
17461 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17462 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17463 wine_fn_config_dll odbccu32 enable_odbccu32
17464 wine_fn_config_dll ole2.dll16 enable_win16
17465 wine_fn_config_dll ole2conv.dll16 enable_win16
17466 wine_fn_config_dll ole2disp.dll16 enable_win16
17467 wine_fn_config_dll ole2nls.dll16 enable_win16
17468 wine_fn_config_dll ole2prox.dll16 enable_win16
17469 wine_fn_config_dll ole2thk.dll16 enable_win16
17470 wine_fn_config_dll ole32 enable_ole32 clean,implib
17471 wine_fn_config_test dlls/ole32/tests ole32_test
17472 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17473 wine_fn_config_test dlls/oleacc/tests oleacc_test
17474 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17475 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17476 wine_fn_config_dll olecli.dll16 enable_win16
17477 wine_fn_config_dll olecli32 enable_olecli32 implib
17478 wine_fn_config_dll oledb32 enable_oledb32 clean
17479 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17480 wine_fn_config_dll oledlg enable_oledlg implib,po
17481 wine_fn_config_dll olepro32 enable_olepro32 implib
17482 wine_fn_config_dll olesvr.dll16 enable_win16
17483 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17484 wine_fn_config_dll olethk32 enable_olethk32
17485 wine_fn_config_dll openal32 enable_openal32
17486 wine_fn_config_dll opencl enable_opencl
17487 wine_fn_config_dll opengl32 enable_opengl32 implib
17488 wine_fn_config_test dlls/opengl32/tests opengl32_test
17489 wine_fn_config_dll packager enable_packager clean
17490 wine_fn_config_test dlls/packager/tests packager_test
17491 wine_fn_config_dll pdh enable_pdh implib
17492 wine_fn_config_test dlls/pdh/tests pdh_test
17493 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17494 wine_fn_config_dll pidgen enable_pidgen
17495 wine_fn_config_dll powrprof enable_powrprof implib
17496 wine_fn_config_dll printui enable_printui
17497 wine_fn_config_dll prntvpt enable_prntvpt
17498 wine_fn_config_dll propsys enable_propsys clean,implib
17499 wine_fn_config_test dlls/propsys/tests propsys_test
17500 wine_fn_config_dll psapi enable_psapi implib
17501 wine_fn_config_test dlls/psapi/tests psapi_test
17502 wine_fn_config_dll pstorec enable_pstorec clean
17503 wine_fn_config_dll qcap enable_qcap
17504 wine_fn_config_test dlls/qcap/tests qcap_test
17505 wine_fn_config_dll qedit enable_qedit clean
17506 wine_fn_config_test dlls/qedit/tests qedit_test
17507 wine_fn_config_dll qmgr enable_qmgr clean
17508 wine_fn_config_test dlls/qmgr/tests qmgr_test
17509 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17510 wine_fn_config_dll quartz enable_quartz clean,implib
17511 wine_fn_config_test dlls/quartz/tests quartz_test clean
17512 wine_fn_config_dll query enable_query
17513 wine_fn_config_dll rasapi16.dll16 enable_win16
17514 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17515 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17516 wine_fn_config_dll rasdlg enable_rasdlg implib
17517 wine_fn_config_dll regapi enable_regapi
17518 wine_fn_config_dll resutils enable_resutils implib
17519 wine_fn_config_dll riched20 enable_riched20 implib
17520 wine_fn_config_test dlls/riched20/tests riched20_test
17521 wine_fn_config_dll riched32 enable_riched32
17522 wine_fn_config_test dlls/riched32/tests riched32_test
17523 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17524 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17525 wine_fn_config_dll rsabase enable_rsabase
17526 wine_fn_config_dll rsaenh enable_rsaenh implib
17527 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17528 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17529 wine_fn_config_dll rtutils enable_rtutils implib
17530 wine_fn_config_dll samlib enable_samlib
17531 wine_fn_config_dll sane.ds enable_sane_ds po
17532 wine_fn_config_dll scarddlg enable_scarddlg
17533 wine_fn_config_dll sccbase enable_sccbase
17534 wine_fn_config_dll schannel enable_schannel
17535 wine_fn_config_test dlls/schannel/tests schannel_test
17536 wine_fn_config_dll schedsvc enable_schedsvc clean
17537 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17538 wine_fn_config_dll scrrun enable_scrrun clean
17539 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17540 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17541 wine_fn_config_dll secur32 enable_secur32 implib
17542 wine_fn_config_test dlls/secur32/tests secur32_test
17543 wine_fn_config_dll security enable_security
17544 wine_fn_config_dll sensapi enable_sensapi implib
17545 wine_fn_config_dll serialui enable_serialui implib,po
17546 wine_fn_config_test dlls/serialui/tests serialui_test
17547 wine_fn_config_dll setupapi enable_setupapi implib,po
17548 wine_fn_config_test dlls/setupapi/tests setupapi_test
17549 wine_fn_config_dll setupx.dll16 enable_win16
17550 wine_fn_config_dll sfc enable_sfc implib
17551 wine_fn_config_dll sfc_os enable_sfc_os implib
17552 wine_fn_config_dll shdoclc enable_shdoclc po
17553 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17554 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17555 wine_fn_config_dll shell.dll16 enable_win16
17556 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17557 wine_fn_config_test dlls/shell32/tests shell32_test
17558 wine_fn_config_dll shfolder enable_shfolder implib
17559 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17560 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17561 wine_fn_config_dll slbcsp enable_slbcsp
17562 wine_fn_config_dll slc enable_slc implib
17563 wine_fn_config_test dlls/slc/tests slc_test
17564 wine_fn_config_dll snmpapi enable_snmpapi implib
17565 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17566 wine_fn_config_dll softpub enable_softpub
17567 wine_fn_config_dll sound.drv16 enable_win16
17568 wine_fn_config_dll spoolss enable_spoolss implib
17569 wine_fn_config_test dlls/spoolss/tests spoolss_test
17570 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17571 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17572 wine_fn_config_dll sti enable_sti clean,implib
17573 wine_fn_config_test dlls/sti/tests sti_test
17574 wine_fn_config_dll storage.dll16 enable_win16
17575 wine_fn_config_dll stress.dll16 enable_win16
17576 wine_fn_config_lib strmbase
17577 wine_fn_config_lib strmiids
17578 wine_fn_config_dll svrapi enable_svrapi
17579 wine_fn_config_dll sxs enable_sxs implib
17580 wine_fn_config_test dlls/sxs/tests sxs_test
17581 wine_fn_config_dll system.drv16 enable_win16
17582 wine_fn_config_dll t2embed enable_t2embed
17583 wine_fn_config_dll tapi32 enable_tapi32 implib
17584 wine_fn_config_dll taskschd enable_taskschd clean
17585 wine_fn_config_test dlls/taskschd/tests taskschd_test
17586 wine_fn_config_dll toolhelp.dll16 enable_win16
17587 wine_fn_config_dll traffic enable_traffic
17588 wine_fn_config_dll twain.dll16 enable_win16
17589 wine_fn_config_dll twain_32 enable_twain_32
17590 wine_fn_config_test dlls/twain_32/tests twain_32_test
17591 wine_fn_config_dll typelib.dll16 enable_win16
17592 wine_fn_config_dll unicows enable_unicows implib
17593 wine_fn_config_dll updspapi enable_updspapi
17594 wine_fn_config_dll url enable_url implib
17595 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17596 wine_fn_config_test dlls/urlmon/tests urlmon_test
17597 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17598 wine_fn_config_dll user.exe16 enable_win16
17599 wine_fn_config_dll user32 enable_user32 clean,implib,po
17600 wine_fn_config_test dlls/user32/tests user32_test
17601 wine_fn_config_dll userenv enable_userenv implib
17602 wine_fn_config_test dlls/userenv/tests userenv_test
17603 wine_fn_config_dll usp10 enable_usp10 implib
17604 wine_fn_config_test dlls/usp10/tests usp10_test
17605 wine_fn_config_lib uuid
17606 wine_fn_config_dll uxtheme enable_uxtheme implib
17607 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17608 wine_fn_config_dll vbscript enable_vbscript clean
17609 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17610 wine_fn_config_dll vcomp enable_vcomp
17611 wine_fn_config_dll vcomp100 enable_vcomp100
17612 wine_fn_config_dll vcomp90 enable_vcomp90
17613 wine_fn_config_dll vdhcp.vxd enable_win16
17614 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17615 wine_fn_config_dll ver.dll16 enable_win16
17616 wine_fn_config_dll version enable_version implib
17617 wine_fn_config_test dlls/version/tests version_test
17618 wine_fn_config_dll vmm.vxd enable_win16
17619 wine_fn_config_dll vnbt.vxd enable_win16
17620 wine_fn_config_dll vnetbios.vxd enable_win16
17621 wine_fn_config_dll vssapi enable_vssapi
17622 wine_fn_config_dll vtdapi.vxd enable_win16
17623 wine_fn_config_dll vwin32.vxd enable_win16
17624 wine_fn_config_dll w32skrnl enable_win16
17625 wine_fn_config_dll w32sys.dll16 enable_win16
17626 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17627 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17628 wine_fn_config_dll wbemprox enable_wbemprox clean
17629 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17630 wine_fn_config_dll webservices enable_webservices implib
17631 wine_fn_config_dll wer enable_wer implib
17632 wine_fn_config_test dlls/wer/tests wer_test
17633 wine_fn_config_dll wevtapi enable_wevtapi
17634 wine_fn_config_dll wiaservc enable_wiaservc clean
17635 wine_fn_config_dll win32s16.dll16 enable_win16
17636 wine_fn_config_dll win87em.dll16 enable_win16
17637 wine_fn_config_dll winaspi.dll16 enable_win16
17638 wine_fn_config_dll windebug.dll16 enable_win16
17639 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17640 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17641 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17642 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17643 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17644 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17645 wine_fn_config_lib winecrt0
17646 wine_fn_config_dll wined3d enable_wined3d implib
17647 wine_fn_config_dll winegstreamer enable_winegstreamer
17648 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17649 wine_fn_config_dll winemac.drv enable_winemac_drv
17650 wine_fn_config_dll winemapi enable_winemapi
17651 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17652 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17653 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17654 wine_fn_config_dll wineps16.drv16 enable_win16
17655 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17656 wine_fn_config_dll winex11.drv enable_winex11_drv
17657 wine_fn_config_dll wing.dll16 enable_win16
17658 wine_fn_config_dll wing32 enable_wing32
17659 wine_fn_config_dll winhttp enable_winhttp clean,implib
17660 wine_fn_config_test dlls/winhttp/tests winhttp_test
17661 wine_fn_config_dll wininet enable_wininet implib,po
17662 wine_fn_config_test dlls/wininet/tests wininet_test
17663 wine_fn_config_dll winmm enable_winmm implib,po
17664 wine_fn_config_test dlls/winmm/tests winmm_test
17665 wine_fn_config_dll winnls.dll16 enable_win16
17666 wine_fn_config_dll winnls32 enable_winnls32 implib
17667 wine_fn_config_dll winscard enable_winscard implib
17668 wine_fn_config_dll winsock.dll16 enable_win16
17669 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17670 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17671 wine_fn_config_dll winsta enable_winsta
17672 wine_fn_config_dll wintab.dll16 enable_win16
17673 wine_fn_config_dll wintab32 enable_wintab32 implib
17674 wine_fn_config_test dlls/wintab32/tests wintab32_test
17675 wine_fn_config_dll wintrust enable_wintrust implib
17676 wine_fn_config_test dlls/wintrust/tests wintrust_test
17677 wine_fn_config_dll wlanapi enable_wlanapi
17678 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17679 wine_fn_config_test dlls/wldap32/tests wldap32_test
17680 wine_fn_config_dll wmi enable_wmi
17681 wine_fn_config_dll wmiutils enable_wmiutils clean
17682 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17683 wine_fn_config_dll wmp enable_wmp clean
17684 wine_fn_config_test dlls/wmp/tests wmp_test
17685 wine_fn_config_dll wmvcore enable_wmvcore
17686 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17687 wine_fn_config_dll wow32 enable_win16 implib
17688 wine_fn_config_dll wpcap enable_wpcap
17689 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17690 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17691 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17692 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17693 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17694 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17695 wine_fn_config_dll wsock32 enable_wsock32 implib
17696 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17697 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17698 wine_fn_config_dll wuapi enable_wuapi clean
17699 wine_fn_config_dll wuaueng enable_wuaueng
17700 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17701 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17702 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17703 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17704 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17705 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17706 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17707 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17708 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17709 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17710 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17711 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17712 wine_fn_config_dll xinput1_1 enable_xinput1_1
17713 wine_fn_config_dll xinput1_2 enable_xinput1_2
17714 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17715 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17716 wine_fn_config_dll xinput1_4 enable_xinput1_4
17717 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17718 wine_fn_config_dll xmllite enable_xmllite implib
17719 wine_fn_config_test dlls/xmllite/tests xmllite_test
17720 wine_fn_config_dll xolehlp enable_xolehlp
17721 wine_fn_config_dll xpsprint enable_xpsprint
17722 wine_fn_config_dll xpssvcs enable_xpssvcs
17723 wine_fn_config_makefile documentation enable_documentation clean
17724 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17725 wine_fn_config_makefile include enable_include clean,install-dev
17726 wine_fn_config_makefile libs/port enable_libs_port
17727 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17728 wine_fn_config_makefile libs/wpp enable_libs_wpp
17729 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17730 wine_fn_config_program arp enable_arp install
17731 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17732 wine_fn_config_program attrib enable_attrib install,po
17733 wine_fn_config_program cabarc enable_cabarc install
17734 wine_fn_config_program cacls enable_cacls install
17735 wine_fn_config_program clock enable_clock install,po
17736 wine_fn_config_program cmd enable_cmd install,po
17737 wine_fn_config_test programs/cmd/tests cmd.exe_test
17738 wine_fn_config_program conhost enable_conhost install
17739 wine_fn_config_program control enable_control install
17740 wine_fn_config_program cscript enable_cscript clean,install
17741 wine_fn_config_program dpnsvr enable_dpnsvr install
17742 wine_fn_config_program dxdiag enable_dxdiag install,po
17743 wine_fn_config_program eject enable_eject install
17744 wine_fn_config_program expand enable_expand install
17745 wine_fn_config_program explorer enable_explorer install,po
17746 wine_fn_config_program extrac32 enable_extrac32 install
17747 wine_fn_config_program findstr enable_findstr install
17748 wine_fn_config_program hh enable_hh install
17749 wine_fn_config_program hostname enable_hostname install,po
17750 wine_fn_config_program icinfo enable_icinfo install
17751 wine_fn_config_program iexplore enable_iexplore install
17752 wine_fn_config_program ipconfig enable_ipconfig install,po
17753 wine_fn_config_program lodctr enable_lodctr install
17754 wine_fn_config_program mofcomp enable_mofcomp install
17755 wine_fn_config_program mshta enable_mshta install
17756 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17757 wine_fn_config_program net enable_net install,po
17758 wine_fn_config_program netsh enable_netsh install
17759 wine_fn_config_program netstat enable_netstat install,po
17760 wine_fn_config_program ngen enable_ngen install
17761 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17762 wine_fn_config_program oleview enable_oleview install,po
17763 wine_fn_config_program ping enable_ping install
17764 wine_fn_config_program plugplay enable_plugplay install
17765 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17766 wine_fn_config_program progman enable_progman install,po
17767 wine_fn_config_program reg enable_reg install,po
17768 wine_fn_config_test programs/reg/tests reg.exe_test
17769 wine_fn_config_program regasm enable_regasm install
17770 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17771 wine_fn_config_test programs/regedit/tests regedit.exe_test
17772 wine_fn_config_program regsvcs enable_regsvcs install
17773 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17774 wine_fn_config_program rpcss enable_rpcss clean,install
17775 wine_fn_config_program rundll.exe16 enable_win16 install
17776 wine_fn_config_program rundll32 enable_rundll32 install
17777 wine_fn_config_program sc enable_sc install
17778 wine_fn_config_program schtasks enable_schtasks install
17779 wine_fn_config_program sdbinst enable_sdbinst install
17780 wine_fn_config_program secedit enable_secedit install
17781 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17782 wine_fn_config_program services enable_services clean,install
17783 wine_fn_config_test programs/services/tests services.exe_test
17784 wine_fn_config_program spoolsv enable_spoolsv install
17785 wine_fn_config_program start enable_start install,po
17786 wine_fn_config_program svchost enable_svchost install
17787 wine_fn_config_program systeminfo enable_systeminfo install
17788 wine_fn_config_program taskkill enable_taskkill install,po
17789 wine_fn_config_program tasklist enable_tasklist install
17790 wine_fn_config_program taskmgr enable_taskmgr install,po
17791 wine_fn_config_program termsv enable_termsv install
17792 wine_fn_config_program uninstaller enable_uninstaller install,po
17793 wine_fn_config_program unlodctr enable_unlodctr install
17794 wine_fn_config_program view enable_view install,po
17795 wine_fn_config_program wevtutil enable_wevtutil install
17796 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17797 wine_fn_config_program winebrowser enable_winebrowser install
17798 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17799 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17800 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17801 wine_fn_config_program winedevice enable_winedevice install
17802 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17803 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17804 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17805 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17806 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17807 wine_fn_config_program winetest enable_winetest clean
17808 wine_fn_config_program winevdm enable_win16 install
17809 wine_fn_config_program winhelp.exe16 enable_win16 install
17810 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17811 wine_fn_config_program winoldap.mod16 enable_win16 install
17812 wine_fn_config_program winver enable_winver install
17813 wine_fn_config_program wmic enable_wmic install,po
17814 wine_fn_config_program wordpad enable_wordpad install,po
17815 wine_fn_config_program write enable_write install,po
17816 wine_fn_config_program wscript enable_wscript clean,install
17817 wine_fn_config_test programs/wscript/tests wscript.exe_test
17818 wine_fn_config_program wusa enable_wusa install
17819 wine_fn_config_program xcopy enable_xcopy install,po
17820 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17821 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17822 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17823 wine_fn_config_tool tools/sfnt2fon clean
17824 wine_fn_config_tool tools/widl clean,install-dev,manpage
17825 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17826 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17827 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17828 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17829 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17831 LINGUAS="\
17832 ar \
17833 bg \
17834 ca \
17835 cs \
17836 da \
17837 de \
17838 el \
17839 en \
17840 en_US \
17841 eo \
17842 es \
17843 fa \
17844 fi \
17845 fr \
17846 he \
17847 hi \
17848 hr \
17849 hu \
17850 it \
17851 ja \
17852 ko \
17853 lt \
17854 ml \
17855 nb_NO \
17856 nl \
17857 or \
17858 pa \
17859 pl \
17860 pt_BR \
17861 pt_PT \
17862 rm \
17863 ro \
17864 ru \
17865 sk \
17866 sl \
17867 sr_RS@cyrillic \
17868 sr_RS@latin \
17869 sv \
17870 te \
17871 th \
17872 tr \
17873 uk \
17874 wa \
17875 zh_CN \
17876 zh_TW"
17881 wine_fn_ignore_file ".gitignore"
17882 wine_fn_ignore_file "Makefile"
17883 wine_fn_ignore_file "TAGS"
17884 wine_fn_ignore_file "tags"
17885 wine_fn_ignore_file "autom4te.cache"
17886 wine_fn_ignore_file "config.cache"
17887 wine_fn_ignore_file "config.log"
17888 wine_fn_ignore_file "config.status"
17889 wine_fn_ignore_file "configure.lineno"
17890 wine_fn_ignore_file "include/config.h"
17891 wine_fn_ignore_file "include/stamp-h"
17892 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17894 if test "x$enable_tools" != xno
17895 then
17896 wine_fn_ignore_file "tools/makedep$ac_exeext"
17897 ac_config_commands="$ac_config_commands tools/makedep"
17901 ac_config_commands="$ac_config_commands Makefile"
17904 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17908 if test "x$enable_maintainer_mode" = xyes
17909 then
17910 wine_fn_append_rule "configure: configure.ac aclocal.m4
17911 autoconf --warnings=all
17912 include/config.h.in: include/stamp-h.in
17913 include/stamp-h.in: configure.ac aclocal.m4
17914 autoheader --warnings=all
17915 @echo timestamp > \$@"
17918 if test "x$with_gettextpo" = xyes
17919 then
17920 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17921 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17922 \$(LINGUAS:%=po/%.po): po/wine.pot
17923 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17924 po/wine.pot: \$(ALL_POT_FILES)
17925 msgcat -o \$@ \$(ALL_POT_FILES)"
17928 if test "$MSGFMT" != false
17929 then
17930 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17931 clean::
17932 \$(RM) \$(LINGUAS:%=po/%.mo)"
17934 posrc="po"
17935 test "$srcdir" = . || posrc="$srcdir/po"
17936 for i in $LINGUAS
17938 wine_fn_ignore_file "po/$i.mo"
17939 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17940 \$(MSGFMT) -o \$@ $posrc/$i.po"
17941 done
17942 else
17943 LINGUAS=
17946 if test "x$enable_tools" != xno
17947 then
17948 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17949 @./config.status tools/makedep
17950 Makefile: tools/makedep$ac_exeext
17951 distclean:: clean
17952 \$(RM) tools/makedep$ac_exeext"
17953 else
17954 wine_fn_append_rule "\$(MAKEDEP):
17955 @echo \"You need to run make in $TOOLSDIR first\" && false"
17958 if test -n "$with_wine64"
17959 then
17960 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17961 fonts server tools:
17962 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17963 $with_wine64/loader/wine:
17964 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17965 $with_wine64/loader/wine-preloader:
17966 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17967 clean::
17968 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17969 else
17970 as_fn_append LOADER_RULES "
17971 install install-lib:: wine.inf install-man-pages
17972 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17973 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17975 uninstall::
17976 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17980 if test "$srcdir" = .
17981 then
17982 ac_config_commands="$ac_config_commands .gitignore"
17986 $as_echo " done" >&6
17987 cat >confcache <<\_ACEOF
17988 # This file is a shell script that caches the results of configure
17989 # tests run on this system so they can be shared between configure
17990 # scripts and configure runs, see configure's option --config-cache.
17991 # It is not useful on other systems. If it contains results you don't
17992 # want to keep, you may remove or edit it.
17994 # config.status only pays attention to the cache file if you give it
17995 # the --recheck option to rerun configure.
17997 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17998 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17999 # following values.
18001 _ACEOF
18003 # The following way of writing the cache mishandles newlines in values,
18004 # but we know of no workaround that is simple, portable, and efficient.
18005 # So, we kill variables containing newlines.
18006 # Ultrix sh set writes to stderr and can't be redirected directly,
18007 # and sets the high bit in the cache file unless we assign to the vars.
18009 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18010 eval ac_val=\$$ac_var
18011 case $ac_val in #(
18012 *${as_nl}*)
18013 case $ac_var in #(
18014 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18015 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18016 esac
18017 case $ac_var in #(
18018 _ | IFS | as_nl) ;; #(
18019 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18020 *) { eval $ac_var=; unset $ac_var;} ;;
18021 esac ;;
18022 esac
18023 done
18025 (set) 2>&1 |
18026 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18027 *${as_nl}ac_space=\ *)
18028 # `set' does not quote correctly, so add quotes: double-quote
18029 # substitution turns \\\\ into \\, and sed turns \\ into \.
18030 sed -n \
18031 "s/'/'\\\\''/g;
18032 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18033 ;; #(
18035 # `set' quotes correctly as required by POSIX, so do not add quotes.
18036 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18038 esac |
18039 sort
18041 sed '
18042 /^ac_cv_env_/b end
18043 t clear
18044 :clear
18045 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18046 t end
18047 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18048 :end' >>confcache
18049 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18050 if test -w "$cache_file"; then
18051 if test "x$cache_file" != "x/dev/null"; then
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18053 $as_echo "$as_me: updating cache $cache_file" >&6;}
18054 if test ! -f "$cache_file" || test -h "$cache_file"; then
18055 cat confcache >"$cache_file"
18056 else
18057 case $cache_file in #(
18058 */* | ?:*)
18059 mv -f confcache "$cache_file"$$ &&
18060 mv -f "$cache_file"$$ "$cache_file" ;; #(
18062 mv -f confcache "$cache_file" ;;
18063 esac
18066 else
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18068 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18071 rm -f confcache
18073 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18074 # Let make expand exec_prefix.
18075 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18077 DEFS=-DHAVE_CONFIG_H
18079 ac_libobjs=
18080 ac_ltlibobjs=
18082 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18083 # 1. Remove the extension, and $U if already installed.
18084 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18085 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18086 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18087 # will be set to the directory where LIBOBJS objects are built.
18088 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18089 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18090 done
18091 LIBOBJS=$ac_libobjs
18093 LTLIBOBJS=$ac_ltlibobjs
18097 : "${CONFIG_STATUS=./config.status}"
18098 ac_write_fail=0
18099 ac_clean_files_save=$ac_clean_files
18100 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18102 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18103 as_write_fail=0
18104 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18105 #! $SHELL
18106 # Generated by $as_me.
18107 # Run this file to recreate the current configuration.
18108 # Compiler output produced by configure, useful for debugging
18109 # configure, is in config.log if it exists.
18111 debug=false
18112 ac_cs_recheck=false
18113 ac_cs_silent=false
18115 SHELL=\${CONFIG_SHELL-$SHELL}
18116 export SHELL
18117 _ASEOF
18118 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18119 ## -------------------- ##
18120 ## M4sh Initialization. ##
18121 ## -------------------- ##
18123 # Be more Bourne compatible
18124 DUALCASE=1; export DUALCASE # for MKS sh
18125 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18126 emulate sh
18127 NULLCMD=:
18128 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18129 # is contrary to our usage. Disable this feature.
18130 alias -g '${1+"$@"}'='"$@"'
18131 setopt NO_GLOB_SUBST
18132 else
18133 case `(set -o) 2>/dev/null` in #(
18134 *posix*) :
18135 set -o posix ;; #(
18136 *) :
18138 esac
18142 as_nl='
18144 export as_nl
18145 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18146 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18147 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18148 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18149 # Prefer a ksh shell builtin over an external printf program on Solaris,
18150 # but without wasting forks for bash or zsh.
18151 if test -z "$BASH_VERSION$ZSH_VERSION" \
18152 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18153 as_echo='print -r --'
18154 as_echo_n='print -rn --'
18155 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18156 as_echo='printf %s\n'
18157 as_echo_n='printf %s'
18158 else
18159 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18160 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18161 as_echo_n='/usr/ucb/echo -n'
18162 else
18163 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18164 as_echo_n_body='eval
18165 arg=$1;
18166 case $arg in #(
18167 *"$as_nl"*)
18168 expr "X$arg" : "X\\(.*\\)$as_nl";
18169 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18170 esac;
18171 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18173 export as_echo_n_body
18174 as_echo_n='sh -c $as_echo_n_body as_echo'
18176 export as_echo_body
18177 as_echo='sh -c $as_echo_body as_echo'
18180 # The user is always right.
18181 if test "${PATH_SEPARATOR+set}" != set; then
18182 PATH_SEPARATOR=:
18183 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18184 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18185 PATH_SEPARATOR=';'
18190 # IFS
18191 # We need space, tab and new line, in precisely that order. Quoting is
18192 # there to prevent editors from complaining about space-tab.
18193 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18194 # splitting by setting IFS to empty value.)
18195 IFS=" "" $as_nl"
18197 # Find who we are. Look in the path if we contain no directory separator.
18198 as_myself=
18199 case $0 in #((
18200 *[\\/]* ) as_myself=$0 ;;
18201 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18202 for as_dir in $PATH
18204 IFS=$as_save_IFS
18205 test -z "$as_dir" && as_dir=.
18206 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18207 done
18208 IFS=$as_save_IFS
18211 esac
18212 # We did not find ourselves, most probably we were run as `sh COMMAND'
18213 # in which case we are not to be found in the path.
18214 if test "x$as_myself" = x; then
18215 as_myself=$0
18217 if test ! -f "$as_myself"; then
18218 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18219 exit 1
18222 # Unset variables that we do not need and which cause bugs (e.g. in
18223 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18224 # suppresses any "Segmentation fault" message there. '((' could
18225 # trigger a bug in pdksh 5.2.14.
18226 for as_var in BASH_ENV ENV MAIL MAILPATH
18227 do eval test x\${$as_var+set} = xset \
18228 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18229 done
18230 PS1='$ '
18231 PS2='> '
18232 PS4='+ '
18234 # NLS nuisances.
18235 LC_ALL=C
18236 export LC_ALL
18237 LANGUAGE=C
18238 export LANGUAGE
18240 # CDPATH.
18241 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18244 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18245 # ----------------------------------------
18246 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18247 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18248 # script with STATUS, using 1 if that was 0.
18249 as_fn_error ()
18251 as_status=$1; test $as_status -eq 0 && as_status=1
18252 if test "$4"; then
18253 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18254 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18256 $as_echo "$as_me: error: $2" >&2
18257 as_fn_exit $as_status
18258 } # as_fn_error
18261 # as_fn_set_status STATUS
18262 # -----------------------
18263 # Set $? to STATUS, without forking.
18264 as_fn_set_status ()
18266 return $1
18267 } # as_fn_set_status
18269 # as_fn_exit STATUS
18270 # -----------------
18271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18272 as_fn_exit ()
18274 set +e
18275 as_fn_set_status $1
18276 exit $1
18277 } # as_fn_exit
18279 # as_fn_unset VAR
18280 # ---------------
18281 # Portably unset VAR.
18282 as_fn_unset ()
18284 { eval $1=; unset $1;}
18286 as_unset=as_fn_unset
18287 # as_fn_append VAR VALUE
18288 # ----------------------
18289 # Append the text in VALUE to the end of the definition contained in VAR. Take
18290 # advantage of any shell optimizations that allow amortized linear growth over
18291 # repeated appends, instead of the typical quadratic growth present in naive
18292 # implementations.
18293 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18294 eval 'as_fn_append ()
18296 eval $1+=\$2
18298 else
18299 as_fn_append ()
18301 eval $1=\$$1\$2
18303 fi # as_fn_append
18305 # as_fn_arith ARG...
18306 # ------------------
18307 # Perform arithmetic evaluation on the ARGs, and store the result in the
18308 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18309 # must be portable across $(()) and expr.
18310 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18311 eval 'as_fn_arith ()
18313 as_val=$(( $* ))
18315 else
18316 as_fn_arith ()
18318 as_val=`expr "$@" || test $? -eq 1`
18320 fi # as_fn_arith
18323 if expr a : '\(a\)' >/dev/null 2>&1 &&
18324 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18325 as_expr=expr
18326 else
18327 as_expr=false
18330 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18331 as_basename=basename
18332 else
18333 as_basename=false
18336 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18337 as_dirname=dirname
18338 else
18339 as_dirname=false
18342 as_me=`$as_basename -- "$0" ||
18343 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18344 X"$0" : 'X\(//\)$' \| \
18345 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18346 $as_echo X/"$0" |
18347 sed '/^.*\/\([^/][^/]*\)\/*$/{
18348 s//\1/
18351 /^X\/\(\/\/\)$/{
18352 s//\1/
18355 /^X\/\(\/\).*/{
18356 s//\1/
18359 s/.*/./; q'`
18361 # Avoid depending upon Character Ranges.
18362 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18363 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18364 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18365 as_cr_digits='0123456789'
18366 as_cr_alnum=$as_cr_Letters$as_cr_digits
18368 ECHO_C= ECHO_N= ECHO_T=
18369 case `echo -n x` in #(((((
18370 -n*)
18371 case `echo 'xy\c'` in
18372 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18373 xy) ECHO_C='\c';;
18374 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18375 ECHO_T=' ';;
18376 esac;;
18378 ECHO_N='-n';;
18379 esac
18381 rm -f conf$$ conf$$.exe conf$$.file
18382 if test -d conf$$.dir; then
18383 rm -f conf$$.dir/conf$$.file
18384 else
18385 rm -f conf$$.dir
18386 mkdir conf$$.dir 2>/dev/null
18388 if (echo >conf$$.file) 2>/dev/null; then
18389 if ln -s conf$$.file conf$$ 2>/dev/null; then
18390 as_ln_s='ln -s'
18391 # ... but there are two gotchas:
18392 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18393 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18394 # In both cases, we have to default to `cp -pR'.
18395 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18396 as_ln_s='cp -pR'
18397 elif ln conf$$.file conf$$ 2>/dev/null; then
18398 as_ln_s=ln
18399 else
18400 as_ln_s='cp -pR'
18402 else
18403 as_ln_s='cp -pR'
18405 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18406 rmdir conf$$.dir 2>/dev/null
18409 # as_fn_mkdir_p
18410 # -------------
18411 # Create "$as_dir" as a directory, including parents if necessary.
18412 as_fn_mkdir_p ()
18415 case $as_dir in #(
18416 -*) as_dir=./$as_dir;;
18417 esac
18418 test -d "$as_dir" || eval $as_mkdir_p || {
18419 as_dirs=
18420 while :; do
18421 case $as_dir in #(
18422 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18423 *) as_qdir=$as_dir;;
18424 esac
18425 as_dirs="'$as_qdir' $as_dirs"
18426 as_dir=`$as_dirname -- "$as_dir" ||
18427 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18428 X"$as_dir" : 'X\(//\)[^/]' \| \
18429 X"$as_dir" : 'X\(//\)$' \| \
18430 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18431 $as_echo X"$as_dir" |
18432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18433 s//\1/
18436 /^X\(\/\/\)[^/].*/{
18437 s//\1/
18440 /^X\(\/\/\)$/{
18441 s//\1/
18444 /^X\(\/\).*/{
18445 s//\1/
18448 s/.*/./; q'`
18449 test -d "$as_dir" && break
18450 done
18451 test -z "$as_dirs" || eval "mkdir $as_dirs"
18452 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18455 } # as_fn_mkdir_p
18456 if mkdir -p . 2>/dev/null; then
18457 as_mkdir_p='mkdir -p "$as_dir"'
18458 else
18459 test -d ./-p && rmdir ./-p
18460 as_mkdir_p=false
18464 # as_fn_executable_p FILE
18465 # -----------------------
18466 # Test if FILE is an executable regular file.
18467 as_fn_executable_p ()
18469 test -f "$1" && test -x "$1"
18470 } # as_fn_executable_p
18471 as_test_x='test -x'
18472 as_executable_p=as_fn_executable_p
18474 # Sed expression to map a string onto a valid CPP name.
18475 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18477 # Sed expression to map a string onto a valid variable name.
18478 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18481 exec 6>&1
18482 ## ----------------------------------- ##
18483 ## Main body of $CONFIG_STATUS script. ##
18484 ## ----------------------------------- ##
18485 _ASEOF
18486 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18489 # Save the log message, to keep $0 and so on meaningful, and to
18490 # report actual input values of CONFIG_FILES etc. instead of their
18491 # values after options handling.
18492 ac_log="
18493 This file was extended by Wine $as_me 1.7.42, which was
18494 generated by GNU Autoconf 2.69. Invocation command line was
18496 CONFIG_FILES = $CONFIG_FILES
18497 CONFIG_HEADERS = $CONFIG_HEADERS
18498 CONFIG_LINKS = $CONFIG_LINKS
18499 CONFIG_COMMANDS = $CONFIG_COMMANDS
18500 $ $0 $@
18502 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18505 _ACEOF
18507 case $ac_config_files in *"
18508 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18509 esac
18511 case $ac_config_headers in *"
18512 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18513 esac
18516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18517 # Files that config.status was made for.
18518 config_files="$ac_config_files"
18519 config_headers="$ac_config_headers"
18520 config_links="$ac_config_links"
18521 config_commands="$ac_config_commands"
18523 _ACEOF
18525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18526 ac_cs_usage="\
18527 \`$as_me' instantiates files and other configuration actions
18528 from templates according to the current configuration. Unless the files
18529 and actions are specified as TAGs, all are instantiated by default.
18531 Usage: $0 [OPTION]... [TAG]...
18533 -h, --help print this help, then exit
18534 -V, --version print version number and configuration settings, then exit
18535 --config print configuration, then exit
18536 -q, --quiet, --silent
18537 do not print progress messages
18538 -d, --debug don't remove temporary files
18539 --recheck update $as_me by reconfiguring in the same conditions
18540 --file=FILE[:TEMPLATE]
18541 instantiate the configuration file FILE
18542 --header=FILE[:TEMPLATE]
18543 instantiate the configuration header FILE
18545 Configuration files:
18546 $config_files
18548 Configuration headers:
18549 $config_headers
18551 Configuration links:
18552 $config_links
18554 Configuration commands:
18555 $config_commands
18557 Report bugs to <wine-devel@winehq.org>.
18558 Wine home page: <http://www.winehq.org>."
18560 _ACEOF
18561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18562 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18563 ac_cs_version="\\
18564 Wine config.status 1.7.42
18565 configured by $0, generated by GNU Autoconf 2.69,
18566 with options \\"\$ac_cs_config\\"
18568 Copyright (C) 2012 Free Software Foundation, Inc.
18569 This config.status script is free software; the Free Software Foundation
18570 gives unlimited permission to copy, distribute and modify it."
18572 ac_pwd='$ac_pwd'
18573 srcdir='$srcdir'
18574 test -n "\$AWK" || AWK=awk
18575 _ACEOF
18577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18578 # The default lists apply if the user does not specify any file.
18579 ac_need_defaults=:
18580 while test $# != 0
18582 case $1 in
18583 --*=?*)
18584 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18585 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18586 ac_shift=:
18588 --*=)
18589 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18590 ac_optarg=
18591 ac_shift=:
18594 ac_option=$1
18595 ac_optarg=$2
18596 ac_shift=shift
18598 esac
18600 case $ac_option in
18601 # Handling of the options.
18602 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18603 ac_cs_recheck=: ;;
18604 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18605 $as_echo "$ac_cs_version"; exit ;;
18606 --config | --confi | --conf | --con | --co | --c )
18607 $as_echo "$ac_cs_config"; exit ;;
18608 --debug | --debu | --deb | --de | --d | -d )
18609 debug=: ;;
18610 --file | --fil | --fi | --f )
18611 $ac_shift
18612 case $ac_optarg in
18613 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18614 '') as_fn_error $? "missing file argument" ;;
18615 esac
18616 as_fn_append CONFIG_FILES " '$ac_optarg'"
18617 ac_need_defaults=false;;
18618 --header | --heade | --head | --hea )
18619 $ac_shift
18620 case $ac_optarg in
18621 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18622 esac
18623 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18624 ac_need_defaults=false;;
18625 --he | --h)
18626 # Conflict between --help and --header
18627 as_fn_error $? "ambiguous option: \`$1'
18628 Try \`$0 --help' for more information.";;
18629 --help | --hel | -h )
18630 $as_echo "$ac_cs_usage"; exit ;;
18631 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18632 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18633 ac_cs_silent=: ;;
18635 # This is an error.
18636 -*) as_fn_error $? "unrecognized option: \`$1'
18637 Try \`$0 --help' for more information." ;;
18639 *) as_fn_append ac_config_targets " $1"
18640 ac_need_defaults=false ;;
18642 esac
18643 shift
18644 done
18646 ac_configure_extra_args=
18648 if $ac_cs_silent; then
18649 exec 6>/dev/null
18650 ac_configure_extra_args="$ac_configure_extra_args --silent"
18653 _ACEOF
18654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18655 if \$ac_cs_recheck; then
18656 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18657 shift
18658 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18659 CONFIG_SHELL='$SHELL'
18660 export CONFIG_SHELL
18661 exec "\$@"
18664 _ACEOF
18665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18666 exec 5>>config.log
18668 echo
18669 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18670 ## Running $as_me. ##
18671 _ASBOX
18672 $as_echo "$ac_log"
18673 } >&5
18675 _ACEOF
18676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18678 # INIT-COMMANDS
18680 wine_fn_output_makedep ()
18682 as_dir=tools; as_fn_mkdir_p
18683 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18685 wine_fn_output_makefile ()
18687 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18688 `cat $wine_rules_file`
18689 _WINE_EOF
18690 as_fn_error $? "could not create Makefile" "$LINENO" 5
18692 wine_fn_output_gitignore ()
18694 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18695 $GITIGNORE
18696 _WINE_EOF
18697 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18700 _ACEOF
18702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18704 # Handling of arguments.
18705 for ac_config_target in $ac_config_targets
18707 case $ac_config_target in
18708 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18709 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18710 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18711 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18712 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18713 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18714 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18715 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18716 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18717 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18718 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18719 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18720 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18721 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18723 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18724 esac
18725 done
18728 # If the user did not use the arguments to specify the items to instantiate,
18729 # then the envvar interface is used. Set only those that are not.
18730 # We use the long form for the default assignment because of an extremely
18731 # bizarre bug on SunOS 4.1.3.
18732 if $ac_need_defaults; then
18733 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18734 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18735 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18736 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18739 # Have a temporary directory for convenience. Make it in the build tree
18740 # simply because there is no reason against having it here, and in addition,
18741 # creating and moving files from /tmp can sometimes cause problems.
18742 # Hook for its removal unless debugging.
18743 # Note that there is a small window in which the directory will not be cleaned:
18744 # after its creation but before its name has been assigned to `$tmp'.
18745 $debug ||
18747 tmp= ac_tmp=
18748 trap 'exit_status=$?
18749 : "${ac_tmp:=$tmp}"
18750 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18752 trap 'as_fn_exit 1' 1 2 13 15
18754 # Create a (secure) tmp directory for tmp files.
18757 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18758 test -d "$tmp"
18759 } ||
18761 tmp=./conf$$-$RANDOM
18762 (umask 077 && mkdir "$tmp")
18763 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18764 ac_tmp=$tmp
18766 # Set up the scripts for CONFIG_FILES section.
18767 # No need to generate them if there are no CONFIG_FILES.
18768 # This happens for instance with `./config.status config.h'.
18769 if test -n "$CONFIG_FILES"; then
18772 ac_cr=`echo X | tr X '\015'`
18773 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18774 # But we know of no other shell where ac_cr would be empty at this
18775 # point, so we can use a bashism as a fallback.
18776 if test "x$ac_cr" = x; then
18777 eval ac_cr=\$\'\\r\'
18779 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18780 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18781 ac_cs_awk_cr='\\r'
18782 else
18783 ac_cs_awk_cr=$ac_cr
18786 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18787 _ACEOF
18791 echo "cat >conf$$subs.awk <<_ACEOF" &&
18792 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18793 echo "_ACEOF"
18794 } >conf$$subs.sh ||
18795 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18796 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18797 ac_delim='%!_!# '
18798 for ac_last_try in false false false false false :; do
18799 . ./conf$$subs.sh ||
18800 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18802 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18803 if test $ac_delim_n = $ac_delim_num; then
18804 break
18805 elif $ac_last_try; then
18806 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18807 else
18808 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18810 done
18811 rm -f conf$$subs.sh
18813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18814 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18815 _ACEOF
18816 sed -n '
18818 s/^/S["/; s/!.*/"]=/
18821 s/^[^!]*!//
18822 :repl
18823 t repl
18824 s/'"$ac_delim"'$//
18825 t delim
18828 s/\(.\{148\}\)..*/\1/
18829 t more1
18830 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18833 b repl
18834 :more1
18835 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18838 s/.\{148\}//
18839 t nl
18840 :delim
18842 s/\(.\{148\}\)..*/\1/
18843 t more2
18844 s/["\\]/\\&/g; s/^/"/; s/$/"/
18847 :more2
18848 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18851 s/.\{148\}//
18852 t delim
18853 ' <conf$$subs.awk | sed '
18854 /^[^""]/{
18856 s/\n//
18858 ' >>$CONFIG_STATUS || ac_write_fail=1
18859 rm -f conf$$subs.awk
18860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18861 _ACAWK
18862 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18863 for (key in S) S_is_set[key] = 1
18864 FS = "\a"
18868 line = $ 0
18869 nfields = split(line, field, "@")
18870 substed = 0
18871 len = length(field[1])
18872 for (i = 2; i < nfields; i++) {
18873 key = field[i]
18874 keylen = length(key)
18875 if (S_is_set[key]) {
18876 value = S[key]
18877 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18878 len += length(value) + length(field[++i])
18879 substed = 1
18880 } else
18881 len += 1 + keylen
18884 print line
18887 _ACAWK
18888 _ACEOF
18889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18890 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18891 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18892 else
18894 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18895 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18896 _ACEOF
18898 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18899 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18900 # trailing colons and then remove the whole line if VPATH becomes empty
18901 # (actually we leave an empty line to preserve line numbers).
18902 if test "x$srcdir" = x.; then
18903 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18905 s///
18906 s/^/:/
18907 s/[ ]*$/:/
18908 s/:\$(srcdir):/:/g
18909 s/:\${srcdir}:/:/g
18910 s/:@srcdir@:/:/g
18911 s/^:*//
18912 s/:*$//
18914 s/\(=[ ]*\).*/\1/
18916 s/\n//
18917 s/^[^=]*=[ ]*$//
18921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18922 fi # test -n "$CONFIG_FILES"
18924 # Set up the scripts for CONFIG_HEADERS section.
18925 # No need to generate them if there are no CONFIG_HEADERS.
18926 # This happens for instance with `./config.status Makefile'.
18927 if test -n "$CONFIG_HEADERS"; then
18928 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18929 BEGIN {
18930 _ACEOF
18932 # Transform confdefs.h into an awk script `defines.awk', embedded as
18933 # here-document in config.status, that substitutes the proper values into
18934 # config.h.in to produce config.h.
18936 # Create a delimiter string that does not exist in confdefs.h, to ease
18937 # handling of long lines.
18938 ac_delim='%!_!# '
18939 for ac_last_try in false false :; do
18940 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18941 if test -z "$ac_tt"; then
18942 break
18943 elif $ac_last_try; then
18944 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18945 else
18946 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18948 done
18950 # For the awk script, D is an array of macro values keyed by name,
18951 # likewise P contains macro parameters if any. Preserve backslash
18952 # newline sequences.
18954 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18955 sed -n '
18956 s/.\{148\}/&'"$ac_delim"'/g
18957 t rset
18958 :rset
18959 s/^[ ]*#[ ]*define[ ][ ]*/ /
18960 t def
18962 :def
18963 s/\\$//
18964 t bsnl
18965 s/["\\]/\\&/g
18966 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18967 D["\1"]=" \3"/p
18968 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18970 :bsnl
18971 s/["\\]/\\&/g
18972 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18973 D["\1"]=" \3\\\\\\n"\\/p
18974 t cont
18975 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18976 t cont
18978 :cont
18980 s/.\{148\}/&'"$ac_delim"'/g
18981 t clear
18982 :clear
18983 s/\\$//
18984 t bsnlc
18985 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18987 :bsnlc
18988 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18989 b cont
18990 ' <confdefs.h | sed '
18991 s/'"$ac_delim"'/"\\\
18992 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18995 for (key in D) D_is_set[key] = 1
18996 FS = "\a"
18998 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18999 line = \$ 0
19000 split(line, arg, " ")
19001 if (arg[1] == "#") {
19002 defundef = arg[2]
19003 mac1 = arg[3]
19004 } else {
19005 defundef = substr(arg[1], 2)
19006 mac1 = arg[2]
19008 split(mac1, mac2, "(") #)
19009 macro = mac2[1]
19010 prefix = substr(line, 1, index(line, defundef) - 1)
19011 if (D_is_set[macro]) {
19012 # Preserve the white space surrounding the "#".
19013 print prefix "define", macro P[macro] D[macro]
19014 next
19015 } else {
19016 # Replace #undef with comments. This is necessary, for example,
19017 # in the case of _POSIX_SOURCE, which is predefined and required
19018 # on some systems where configure will not decide to define it.
19019 if (defundef == "undef") {
19020 print "/*", prefix defundef, macro, "*/"
19021 next
19025 { print }
19026 _ACAWK
19027 _ACEOF
19028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19029 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19030 fi # test -n "$CONFIG_HEADERS"
19033 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19034 shift
19035 for ac_tag
19037 case $ac_tag in
19038 :[FHLC]) ac_mode=$ac_tag; continue;;
19039 esac
19040 case $ac_mode$ac_tag in
19041 :[FHL]*:*);;
19042 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19043 :[FH]-) ac_tag=-:-;;
19044 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19045 esac
19046 ac_save_IFS=$IFS
19047 IFS=:
19048 set x $ac_tag
19049 IFS=$ac_save_IFS
19050 shift
19051 ac_file=$1
19052 shift
19054 case $ac_mode in
19055 :L) ac_source=$1;;
19056 :[FH])
19057 ac_file_inputs=
19058 for ac_f
19060 case $ac_f in
19061 -) ac_f="$ac_tmp/stdin";;
19062 *) # Look for the file first in the build tree, then in the source tree
19063 # (if the path is not absolute). The absolute path cannot be DOS-style,
19064 # because $ac_f cannot contain `:'.
19065 test -f "$ac_f" ||
19066 case $ac_f in
19067 [\\/$]*) false;;
19068 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19069 esac ||
19070 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19071 esac
19072 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19073 as_fn_append ac_file_inputs " '$ac_f'"
19074 done
19076 # Let's still pretend it is `configure' which instantiates (i.e., don't
19077 # use $as_me), people would be surprised to read:
19078 # /* config.h. Generated by config.status. */
19079 configure_input='Generated from '`
19080 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19081 `' by configure.'
19082 if test x"$ac_file" != x-; then
19083 configure_input="$ac_file. $configure_input"
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19085 $as_echo "$as_me: creating $ac_file" >&6;}
19087 # Neutralize special characters interpreted by sed in replacement strings.
19088 case $configure_input in #(
19089 *\&* | *\|* | *\\* )
19090 ac_sed_conf_input=`$as_echo "$configure_input" |
19091 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19092 *) ac_sed_conf_input=$configure_input;;
19093 esac
19095 case $ac_tag in
19096 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19097 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19098 esac
19100 esac
19102 ac_dir=`$as_dirname -- "$ac_file" ||
19103 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19104 X"$ac_file" : 'X\(//\)[^/]' \| \
19105 X"$ac_file" : 'X\(//\)$' \| \
19106 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19107 $as_echo X"$ac_file" |
19108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19109 s//\1/
19112 /^X\(\/\/\)[^/].*/{
19113 s//\1/
19116 /^X\(\/\/\)$/{
19117 s//\1/
19120 /^X\(\/\).*/{
19121 s//\1/
19124 s/.*/./; q'`
19125 as_dir="$ac_dir"; as_fn_mkdir_p
19126 ac_builddir=.
19128 case "$ac_dir" in
19129 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19131 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19132 # A ".." for each directory in $ac_dir_suffix.
19133 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19134 case $ac_top_builddir_sub in
19135 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19136 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19137 esac ;;
19138 esac
19139 ac_abs_top_builddir=$ac_pwd
19140 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19141 # for backward compatibility:
19142 ac_top_builddir=$ac_top_build_prefix
19144 case $srcdir in
19145 .) # We are building in place.
19146 ac_srcdir=.
19147 ac_top_srcdir=$ac_top_builddir_sub
19148 ac_abs_top_srcdir=$ac_pwd ;;
19149 [\\/]* | ?:[\\/]* ) # Absolute name.
19150 ac_srcdir=$srcdir$ac_dir_suffix;
19151 ac_top_srcdir=$srcdir
19152 ac_abs_top_srcdir=$srcdir ;;
19153 *) # Relative name.
19154 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19155 ac_top_srcdir=$ac_top_build_prefix$srcdir
19156 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19157 esac
19158 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19161 case $ac_mode in
19164 # CONFIG_FILE
19167 _ACEOF
19169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19170 # If the template does not know about datarootdir, expand it.
19171 # FIXME: This hack should be removed a few years after 2.60.
19172 ac_datarootdir_hack=; ac_datarootdir_seen=
19173 ac_sed_dataroot='
19174 /datarootdir/ {
19178 /@datadir@/p
19179 /@docdir@/p
19180 /@infodir@/p
19181 /@localedir@/p
19182 /@mandir@/p'
19183 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19184 *datarootdir*) ac_datarootdir_seen=yes;;
19185 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19187 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19188 _ACEOF
19189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19190 ac_datarootdir_hack='
19191 s&@datadir@&$datadir&g
19192 s&@docdir@&$docdir&g
19193 s&@infodir@&$infodir&g
19194 s&@localedir@&$localedir&g
19195 s&@mandir@&$mandir&g
19196 s&\\\${datarootdir}&$datarootdir&g' ;;
19197 esac
19198 _ACEOF
19200 # Neutralize VPATH when `$srcdir' = `.'.
19201 # Shell code in configure.ac might set extrasub.
19202 # FIXME: do we really want to maintain this feature?
19203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19204 ac_sed_extra="$ac_vpsub
19205 $extrasub
19206 _ACEOF
19207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19209 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19210 s|@configure_input@|$ac_sed_conf_input|;t t
19211 s&@top_builddir@&$ac_top_builddir_sub&;t t
19212 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19213 s&@srcdir@&$ac_srcdir&;t t
19214 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19215 s&@top_srcdir@&$ac_top_srcdir&;t t
19216 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19217 s&@builddir@&$ac_builddir&;t t
19218 s&@abs_builddir@&$ac_abs_builddir&;t t
19219 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19220 $ac_datarootdir_hack
19222 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19223 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19225 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19226 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19227 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19228 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19230 which seems to be undefined. Please make sure it is defined" >&5
19231 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19232 which seems to be undefined. Please make sure it is defined" >&2;}
19234 rm -f "$ac_tmp/stdin"
19235 case $ac_file in
19236 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19237 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19238 esac \
19239 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19243 # CONFIG_HEADER
19245 if test x"$ac_file" != x-; then
19247 $as_echo "/* $configure_input */" \
19248 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19249 } >"$ac_tmp/config.h" \
19250 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19251 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19252 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19253 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19254 else
19255 rm -f "$ac_file"
19256 mv "$ac_tmp/config.h" "$ac_file" \
19257 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19259 else
19260 $as_echo "/* $configure_input */" \
19261 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19262 || as_fn_error $? "could not create -" "$LINENO" 5
19267 # CONFIG_LINK
19270 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19272 else
19273 # Prefer the file from the source tree if names are identical.
19274 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19275 ac_source=$srcdir/$ac_source
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19279 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19281 if test ! -r "$ac_source"; then
19282 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19284 rm -f "$ac_file"
19286 # Try a relative symlink, then a hard link, then a copy.
19287 case $ac_source in
19288 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19289 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19290 esac
19291 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19292 ln "$ac_source" "$ac_file" 2>/dev/null ||
19293 cp -p "$ac_source" "$ac_file" ||
19294 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19297 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19298 $as_echo "$as_me: executing $ac_file commands" >&6;}
19300 esac
19303 case $ac_file$ac_mode in
19304 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19305 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19306 "Makefile":C) wine_fn_output_makefile Makefile ;;
19307 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19309 esac
19310 done # for ac_tag
19313 as_fn_exit 0
19314 _ACEOF
19315 ac_clean_files=$ac_clean_files_save
19317 test $ac_write_fail = 0 ||
19318 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19321 # configure is writing to config.log, and then calls config.status.
19322 # config.status does its own redirection, appending to config.log.
19323 # Unfortunately, on DOS this fails, as config.log is still kept open
19324 # by configure, so config.status won't be able to write to it; its
19325 # output is simply discarded. So we exec the FD to /dev/null,
19326 # effectively closing config.log, so it can be properly (re)opened and
19327 # appended to by config.status. When coming back to configure, we
19328 # need to make the FD available again.
19329 if test "$no_create" != yes; then
19330 ac_cs_success=:
19331 ac_config_status_args=
19332 test "$silent" = yes &&
19333 ac_config_status_args="$ac_config_status_args --quiet"
19334 exec 5>/dev/null
19335 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19336 exec 5>>config.log
19337 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19338 # would make configure fail if this is the last instruction.
19339 $ac_cs_success || as_fn_exit 1
19341 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19343 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19347 if test "$no_create" = "yes"
19348 then
19349 exit 0
19352 ac_save_IFS="$IFS"
19353 if test "x$wine_notices != "x; then
19354 echo >&6
19355 IFS="|"
19356 for msg in $wine_notices; do
19357 IFS="$ac_save_IFS"
19358 if ${msg:+false} :; then :
19360 else
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19362 $as_echo "$as_me: $msg" >&6;}
19364 done
19366 IFS="|"
19367 for msg in $wine_warnings; do
19368 IFS="$ac_save_IFS"
19369 if ${msg:+false} :; then :
19371 else
19372 echo >&2
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19374 $as_echo "$as_me: WARNING: $msg" >&2;}
19376 done
19377 IFS="$ac_save_IFS"
19379 $as_echo "
19380 $as_me: Finished. Do '${ac_make}' to compile Wine.
19381 " >&6