netprofm: Add stubbed IConnectionPoint interface.
[wine.git] / configure
blob4596844b66913831cab477f8d196bdba7134ce0c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.39.
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.39'
584 PACKAGE_STRING='Wine 1.7.39'
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_1
862 enable_api_ms_win_core_errorhandling_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_2
864 enable_api_ms_win_core_fibers_l1_1_0
865 enable_api_ms_win_core_fibers_l1_1_1
866 enable_api_ms_win_core_file_l1_2_0
867 enable_api_ms_win_core_file_l2_1_0
868 enable_api_ms_win_core_file_l2_1_1
869 enable_api_ms_win_core_handle_l1_1_0
870 enable_api_ms_win_core_heap_l1_2_0
871 enable_api_ms_win_core_heap_obsolete_l1_1_0
872 enable_api_ms_win_core_interlocked_l1_2_0
873 enable_api_ms_win_core_io_l1_1_1
874 enable_api_ms_win_core_kernel32_legacy_l1_1_0
875 enable_api_ms_win_core_libraryloader_l1_1_1
876 enable_api_ms_win_core_localization_l1_2_0
877 enable_api_ms_win_core_localization_l1_2_1
878 enable_api_ms_win_core_localization_obsolete_l1_1_0
879 enable_api_ms_win_core_localregistry_l1_1_0
880 enable_api_ms_win_core_memory_l1_1_1
881 enable_api_ms_win_core_namedpipe_l1_2_0
882 enable_api_ms_win_core_processenvironment_l1_2_0
883 enable_api_ms_win_core_processthreads_l1_1_0
884 enable_api_ms_win_core_processthreads_l1_1_1
885 enable_api_ms_win_core_processthreads_l1_1_2
886 enable_api_ms_win_core_profile_l1_1_0
887 enable_api_ms_win_core_psapi_l1_1_0
888 enable_api_ms_win_core_registry_l1_1_0
889 enable_api_ms_win_core_rtlsupport_l1_2_0
890 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
891 enable_api_ms_win_core_string_l1_1_0
892 enable_api_ms_win_core_synch_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_0
894 enable_api_ms_win_core_sysinfo_l1_2_1
895 enable_api_ms_win_core_threadpool_legacy_l1_1_0
896 enable_api_ms_win_core_timezone_l1_1_0
897 enable_api_ms_win_core_url_l1_1_0
898 enable_api_ms_win_core_util_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_0
900 enable_api_ms_win_core_winrt_error_l1_1_1
901 enable_api_ms_win_core_winrt_l1_1_0
902 enable_api_ms_win_core_winrt_string_l1_1_0
903 enable_api_ms_win_core_xstate_l2_1_0
904 enable_api_ms_win_downlevel_advapi32_l1_1_0
905 enable_api_ms_win_downlevel_advapi32_l2_1_0
906 enable_api_ms_win_downlevel_normaliz_l1_1_0
907 enable_api_ms_win_downlevel_ole32_l1_1_0
908 enable_api_ms_win_downlevel_shell32_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l1_1_0
910 enable_api_ms_win_downlevel_shlwapi_l2_1_0
911 enable_api_ms_win_downlevel_user32_l1_1_0
912 enable_api_ms_win_downlevel_version_l1_1_0
913 enable_api_ms_win_eventing_provider_l1_1_0
914 enable_api_ms_win_ntuser_dc_access_l1_1_0
915 enable_api_ms_win_security_base_l1_1_0
916 enable_api_ms_win_security_base_l1_2_0
917 enable_api_ms_win_security_sddl_l1_1_0
918 enable_api_ms_win_service_core_l1_1_1
919 enable_api_ms_win_service_management_l1_1_0
920 enable_api_ms_win_service_winsvc_l1_2_0
921 enable_apphelp
922 enable_appwiz_cpl
923 enable_atl
924 enable_atl100
925 enable_atl110
926 enable_atl80
927 enable_atl90
928 enable_authz
929 enable_avicap32
930 enable_avifil32
931 enable_avrt
932 enable_bcrypt
933 enable_browseui
934 enable_cabinet
935 enable_capi2032
936 enable_cards
937 enable_cfgmgr32
938 enable_clusapi
939 enable_combase
940 enable_comcat
941 enable_comctl32
942 enable_comdlg32
943 enable_compstui
944 enable_comsvcs
945 enable_connect
946 enable_credui
947 enable_crtdll
948 enable_crypt32
949 enable_cryptdlg
950 enable_cryptdll
951 enable_cryptext
952 enable_cryptnet
953 enable_cryptui
954 enable_ctapi32
955 enable_ctl3d32
956 enable_d2d1
957 enable_d3d10
958 enable_d3d10_1
959 enable_d3d10core
960 enable_d3d11
961 enable_d3d8
962 enable_d3d9
963 enable_d3dcompiler_33
964 enable_d3dcompiler_34
965 enable_d3dcompiler_35
966 enable_d3dcompiler_36
967 enable_d3dcompiler_37
968 enable_d3dcompiler_38
969 enable_d3dcompiler_39
970 enable_d3dcompiler_40
971 enable_d3dcompiler_41
972 enable_d3dcompiler_42
973 enable_d3dcompiler_43
974 enable_d3dim
975 enable_d3drm
976 enable_d3dx10_33
977 enable_d3dx10_34
978 enable_d3dx10_35
979 enable_d3dx10_36
980 enable_d3dx10_37
981 enable_d3dx10_38
982 enable_d3dx10_39
983 enable_d3dx10_40
984 enable_d3dx10_41
985 enable_d3dx10_42
986 enable_d3dx10_43
987 enable_d3dx11_42
988 enable_d3dx11_43
989 enable_d3dx9_24
990 enable_d3dx9_25
991 enable_d3dx9_26
992 enable_d3dx9_27
993 enable_d3dx9_28
994 enable_d3dx9_29
995 enable_d3dx9_30
996 enable_d3dx9_31
997 enable_d3dx9_32
998 enable_d3dx9_33
999 enable_d3dx9_34
1000 enable_d3dx9_35
1001 enable_d3dx9_36
1002 enable_d3dx9_37
1003 enable_d3dx9_38
1004 enable_d3dx9_39
1005 enable_d3dx9_40
1006 enable_d3dx9_41
1007 enable_d3dx9_42
1008 enable_d3dx9_43
1009 enable_d3dxof
1010 enable_dbgeng
1011 enable_dbghelp
1012 enable_dciman32
1013 enable_ddraw
1014 enable_ddrawex
1015 enable_devenum
1016 enable_dhcpcsvc
1017 enable_difxapi
1018 enable_dinput
1019 enable_dinput8
1020 enable_dispex
1021 enable_dmband
1022 enable_dmcompos
1023 enable_dmime
1024 enable_dmloader
1025 enable_dmscript
1026 enable_dmstyle
1027 enable_dmsynth
1028 enable_dmusic
1029 enable_dmusic32
1030 enable_dnsapi
1031 enable_dplay
1032 enable_dplayx
1033 enable_dpnaddr
1034 enable_dpnet
1035 enable_dpnhpast
1036 enable_dpnlobby
1037 enable_dpvoice
1038 enable_dpwsockx
1039 enable_drmclien
1040 enable_dsound
1041 enable_dssenh
1042 enable_dswave
1043 enable_dwmapi
1044 enable_dwrite
1045 enable_dxdiagn
1046 enable_dxgi
1047 enable_dxva2
1048 enable_evr
1049 enable_explorerframe
1050 enable_ext_ms_win_gdi_devcaps_l1_1_0
1051 enable_faultrep
1052 enable_fltlib
1053 enable_fntcache
1054 enable_fontsub
1055 enable_fusion
1056 enable_fwpuclnt
1057 enable_gameux
1058 enable_gdi32
1059 enable_gdiplus
1060 enable_glu32
1061 enable_gphoto2_ds
1062 enable_gpkcsp
1063 enable_hal
1064 enable_hhctrl_ocx
1065 enable_hid
1066 enable_hlink
1067 enable_hnetcfg
1068 enable_httpapi
1069 enable_iccvid
1070 enable_icmp
1071 enable_ieframe
1072 enable_imaadp32_acm
1073 enable_imagehlp
1074 enable_imm32
1075 enable_inetcomm
1076 enable_inetcpl_cpl
1077 enable_inetmib1
1078 enable_infosoft
1079 enable_initpki
1080 enable_inkobj
1081 enable_inseng
1082 enable_iphlpapi
1083 enable_itircl
1084 enable_itss
1085 enable_joy_cpl
1086 enable_jscript
1087 enable_jsproxy
1088 enable_kernel32
1089 enable_ksuser
1090 enable_ktmw32
1091 enable_loadperf
1092 enable_localspl
1093 enable_localui
1094 enable_lz32
1095 enable_mapi32
1096 enable_mapistub
1097 enable_mciavi32
1098 enable_mcicda
1099 enable_mciqtz32
1100 enable_mciseq
1101 enable_mciwave
1102 enable_mf
1103 enable_mfplat
1104 enable_mfreadwrite
1105 enable_mgmtapi
1106 enable_midimap
1107 enable_mlang
1108 enable_mmcndmgr
1109 enable_mmdevapi
1110 enable_mountmgr_sys
1111 enable_mpr
1112 enable_mprapi
1113 enable_msacm32_drv
1114 enable_msacm32
1115 enable_msadp32_acm
1116 enable_msasn1
1117 enable_mscat32
1118 enable_mscms
1119 enable_mscoree
1120 enable_msctf
1121 enable_msdaps
1122 enable_msdmo
1123 enable_msftedit
1124 enable_msg711_acm
1125 enable_msgsm32_acm
1126 enable_mshtml_tlb
1127 enable_mshtml
1128 enable_msi
1129 enable_msident
1130 enable_msimg32
1131 enable_msimsg
1132 enable_msimtf
1133 enable_msisip
1134 enable_msisys_ocx
1135 enable_msls31
1136 enable_msnet32
1137 enable_mspatcha
1138 enable_msrle32
1139 enable_mssign32
1140 enable_mssip32
1141 enable_mstask
1142 enable_msvcirt
1143 enable_msvcm80
1144 enable_msvcm90
1145 enable_msvcp100
1146 enable_msvcp110
1147 enable_msvcp120
1148 enable_msvcp120_app
1149 enable_msvcp60
1150 enable_msvcp70
1151 enable_msvcp71
1152 enable_msvcp80
1153 enable_msvcp90
1154 enable_msvcr100
1155 enable_msvcr110
1156 enable_msvcr120
1157 enable_msvcr120_app
1158 enable_msvcr70
1159 enable_msvcr71
1160 enable_msvcr80
1161 enable_msvcr90
1162 enable_msvcrt
1163 enable_msvcrt20
1164 enable_msvcrt40
1165 enable_msvcrtd
1166 enable_msvfw32
1167 enable_msvidc32
1168 enable_mswsock
1169 enable_msxml
1170 enable_msxml2
1171 enable_msxml3
1172 enable_msxml4
1173 enable_msxml6
1174 enable_nddeapi
1175 enable_ndis_sys
1176 enable_netapi32
1177 enable_netcfgx
1178 enable_netprofm
1179 enable_newdev
1180 enable_normaliz
1181 enable_npmshtml
1182 enable_npptools
1183 enable_ntdll
1184 enable_ntdsapi
1185 enable_ntoskrnl_exe
1186 enable_ntprint
1187 enable_objsel
1188 enable_odbc32
1189 enable_odbccp32
1190 enable_odbccu32
1191 enable_ole32
1192 enable_oleacc
1193 enable_oleaut32
1194 enable_olecli32
1195 enable_oledb32
1196 enable_oledlg
1197 enable_olepro32
1198 enable_olesvr32
1199 enable_olethk32
1200 enable_openal32
1201 enable_opencl
1202 enable_opengl32
1203 enable_packager
1204 enable_pdh
1205 enable_photometadatahandler
1206 enable_pidgen
1207 enable_powrprof
1208 enable_printui
1209 enable_prntvpt
1210 enable_propsys
1211 enable_psapi
1212 enable_pstorec
1213 enable_qcap
1214 enable_qedit
1215 enable_qmgr
1216 enable_qmgrprxy
1217 enable_quartz
1218 enable_query
1219 enable_rasapi32
1220 enable_rasdlg
1221 enable_regapi
1222 enable_resutils
1223 enable_riched20
1224 enable_riched32
1225 enable_rpcrt4
1226 enable_rsabase
1227 enable_rsaenh
1228 enable_rstrtmgr
1229 enable_rtutils
1230 enable_samlib
1231 enable_sane_ds
1232 enable_scarddlg
1233 enable_sccbase
1234 enable_schannel
1235 enable_schedsvc
1236 enable_scrrun
1237 enable_scsiport_sys
1238 enable_secur32
1239 enable_security
1240 enable_sensapi
1241 enable_serialui
1242 enable_setupapi
1243 enable_sfc
1244 enable_sfc_os
1245 enable_shdoclc
1246 enable_shdocvw
1247 enable_shell32
1248 enable_shfolder
1249 enable_shlwapi
1250 enable_slbcsp
1251 enable_slc
1252 enable_snmpapi
1253 enable_softpub
1254 enable_spoolss
1255 enable_stdole2_tlb
1256 enable_stdole32_tlb
1257 enable_sti
1258 enable_svrapi
1259 enable_sxs
1260 enable_t2embed
1261 enable_tapi32
1262 enable_taskschd
1263 enable_traffic
1264 enable_twain_32
1265 enable_unicows
1266 enable_updspapi
1267 enable_url
1268 enable_urlmon
1269 enable_usbd_sys
1270 enable_user32
1271 enable_userenv
1272 enable_usp10
1273 enable_uxtheme
1274 enable_vbscript
1275 enable_vcomp
1276 enable_vcomp100
1277 enable_vcomp90
1278 enable_vdmdbg
1279 enable_version
1280 enable_vssapi
1281 enable_wbemdisp
1282 enable_wbemprox
1283 enable_webservices
1284 enable_wer
1285 enable_wevtapi
1286 enable_wiaservc
1287 enable_windowscodecs
1288 enable_windowscodecsext
1289 enable_winealsa_drv
1290 enable_winecoreaudio_drv
1291 enable_wined3d
1292 enable_winegstreamer
1293 enable_winejoystick_drv
1294 enable_winemac_drv
1295 enable_winemapi
1296 enable_winemp3_acm
1297 enable_wineoss_drv
1298 enable_wineps_drv
1299 enable_wineqtdecoder
1300 enable_winex11_drv
1301 enable_wing32
1302 enable_winhttp
1303 enable_wininet
1304 enable_winmm
1305 enable_winnls32
1306 enable_winscard
1307 enable_winspool_drv
1308 enable_winsta
1309 enable_wintab32
1310 enable_wintrust
1311 enable_wlanapi
1312 enable_wldap32
1313 enable_wmi
1314 enable_wmiutils
1315 enable_wmp
1316 enable_wmvcore
1317 enable_wnaspi32
1318 enable_wpcap
1319 enable_ws2_32
1320 enable_wshom_ocx
1321 enable_wsnmp32
1322 enable_wsock32
1323 enable_wtsapi32
1324 enable_wuapi
1325 enable_wuaueng
1326 enable_x3daudio1_1
1327 enable_x3daudio1_2
1328 enable_x3daudio1_3
1329 enable_x3daudio1_4
1330 enable_x3daudio1_5
1331 enable_x3daudio1_6
1332 enable_x3daudio1_7
1333 enable_xapofx1_1
1334 enable_xapofx1_3
1335 enable_xapofx1_4
1336 enable_xapofx1_5
1337 enable_xaudio2_7
1338 enable_xinput1_1
1339 enable_xinput1_2
1340 enable_xinput1_3
1341 enable_xinput1_4
1342 enable_xinput9_1_0
1343 enable_xmllite
1344 enable_xolehlp
1345 enable_xpsprint
1346 enable_xpssvcs
1347 enable_documentation
1348 enable_fonts
1349 enable_include
1350 enable_libs_port
1351 enable_libs_wine
1352 enable_libs_wpp
1353 enable_loader
1354 enable_arp
1355 enable_aspnet_regiis
1356 enable_attrib
1357 enable_cabarc
1358 enable_cacls
1359 enable_clock
1360 enable_cmd
1361 enable_conhost
1362 enable_control
1363 enable_cscript
1364 enable_dpnsvr
1365 enable_dxdiag
1366 enable_eject
1367 enable_expand
1368 enable_explorer
1369 enable_extrac32
1370 enable_findstr
1371 enable_hh
1372 enable_hostname
1373 enable_icinfo
1374 enable_iexplore
1375 enable_ipconfig
1376 enable_lodctr
1377 enable_mofcomp
1378 enable_mshta
1379 enable_msiexec
1380 enable_net
1381 enable_netsh
1382 enable_netstat
1383 enable_ngen
1384 enable_notepad
1385 enable_oleview
1386 enable_ping
1387 enable_plugplay
1388 enable_presentationfontcache
1389 enable_progman
1390 enable_reg
1391 enable_regasm
1392 enable_regedit
1393 enable_regsvcs
1394 enable_regsvr32
1395 enable_rpcss
1396 enable_rundll32
1397 enable_sc
1398 enable_schtasks
1399 enable_sdbinst
1400 enable_secedit
1401 enable_servicemodelreg
1402 enable_services
1403 enable_spoolsv
1404 enable_start
1405 enable_svchost
1406 enable_systeminfo
1407 enable_taskkill
1408 enable_tasklist
1409 enable_taskmgr
1410 enable_termsv
1411 enable_uninstaller
1412 enable_unlodctr
1413 enable_view
1414 enable_wevtutil
1415 enable_wineboot
1416 enable_winebrowser
1417 enable_winecfg
1418 enable_wineconsole
1419 enable_winedbg
1420 enable_winedevice
1421 enable_winefile
1422 enable_winemenubuilder
1423 enable_winemine
1424 enable_winemsibuilder
1425 enable_winepath
1426 enable_winetest
1427 enable_winhlp32
1428 enable_winver
1429 enable_wmic
1430 enable_wordpad
1431 enable_write
1432 enable_wscript
1433 enable_wusa
1434 enable_xcopy
1435 enable_server
1436 enable_tools
1438 ac_precious_vars='build_alias
1439 host_alias
1440 target_alias
1442 CFLAGS
1443 LDFLAGS
1444 LIBS
1445 CPPFLAGS
1447 CXXFLAGS
1450 XMKMF
1451 XML2_CFLAGS
1452 XML2_LIBS
1453 XSLT_CFLAGS
1454 XSLT_LIBS
1455 DBUS_CFLAGS
1456 DBUS_LIBS
1457 HAL_CFLAGS
1458 HAL_LIBS
1459 GNUTLS_CFLAGS
1460 GNUTLS_LIBS
1461 SANE_CFLAGS
1462 SANE_LIBS
1463 GPHOTO2_CFLAGS
1464 GPHOTO2_LIBS
1465 GPHOTO2_PORT_CFLAGS
1466 GPHOTO2_PORT_LIBS
1467 LCMS2_CFLAGS
1468 LCMS2_LIBS
1469 FREETYPE_CFLAGS
1470 FREETYPE_LIBS
1471 GSTREAMER_CFLAGS
1472 GSTREAMER_LIBS
1473 CAPI20_CFLAGS
1474 CAPI20_LIBS
1475 FONTCONFIG_CFLAGS
1476 FONTCONFIG_LIBS
1477 JPEG_CFLAGS
1478 JPEG_LIBS
1479 PNG_CFLAGS
1480 PNG_LIBS
1481 TIFF_CFLAGS
1482 TIFF_LIBS
1483 MPG123_CFLAGS
1484 MPG123_LIBS'
1487 # Initialize some variables set by options.
1488 ac_init_help=
1489 ac_init_version=false
1490 ac_unrecognized_opts=
1491 ac_unrecognized_sep=
1492 # The variables have the same names as the options, with
1493 # dashes changed to underlines.
1494 cache_file=/dev/null
1495 exec_prefix=NONE
1496 no_create=
1497 no_recursion=
1498 prefix=NONE
1499 program_prefix=NONE
1500 program_suffix=NONE
1501 program_transform_name=s,x,x,
1502 silent=
1503 site=
1504 srcdir=
1505 verbose=
1506 x_includes=NONE
1507 x_libraries=NONE
1509 # Installation directory options.
1510 # These are left unexpanded so users can "make install exec_prefix=/foo"
1511 # and all the variables that are supposed to be based on exec_prefix
1512 # by default will actually change.
1513 # Use braces instead of parens because sh, perl, etc. also accept them.
1514 # (The list follows the same order as the GNU Coding Standards.)
1515 bindir='${exec_prefix}/bin'
1516 sbindir='${exec_prefix}/sbin'
1517 libexecdir='${exec_prefix}/libexec'
1518 datarootdir='${prefix}/share'
1519 datadir='${datarootdir}'
1520 sysconfdir='${prefix}/etc'
1521 sharedstatedir='${prefix}/com'
1522 localstatedir='${prefix}/var'
1523 includedir='${prefix}/include'
1524 oldincludedir='/usr/include'
1525 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1526 infodir='${datarootdir}/info'
1527 htmldir='${docdir}'
1528 dvidir='${docdir}'
1529 pdfdir='${docdir}'
1530 psdir='${docdir}'
1531 libdir='${exec_prefix}/lib'
1532 localedir='${datarootdir}/locale'
1533 mandir='${datarootdir}/man'
1535 ac_prev=
1536 ac_dashdash=
1537 for ac_option
1539 # If the previous option needs an argument, assign it.
1540 if test -n "$ac_prev"; then
1541 eval $ac_prev=\$ac_option
1542 ac_prev=
1543 continue
1546 case $ac_option in
1547 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1548 *=) ac_optarg= ;;
1549 *) ac_optarg=yes ;;
1550 esac
1552 # Accept the important Cygnus configure options, so we can diagnose typos.
1554 case $ac_dashdash$ac_option in
1556 ac_dashdash=yes ;;
1558 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1559 ac_prev=bindir ;;
1560 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1561 bindir=$ac_optarg ;;
1563 -build | --build | --buil | --bui | --bu)
1564 ac_prev=build_alias ;;
1565 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1566 build_alias=$ac_optarg ;;
1568 -cache-file | --cache-file | --cache-fil | --cache-fi \
1569 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1570 ac_prev=cache_file ;;
1571 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1572 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1573 cache_file=$ac_optarg ;;
1575 --config-cache | -C)
1576 cache_file=config.cache ;;
1578 -datadir | --datadir | --datadi | --datad)
1579 ac_prev=datadir ;;
1580 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1581 datadir=$ac_optarg ;;
1583 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1584 | --dataroo | --dataro | --datar)
1585 ac_prev=datarootdir ;;
1586 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1587 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1588 datarootdir=$ac_optarg ;;
1590 -disable-* | --disable-*)
1591 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1592 # Reject names that are not valid shell variable names.
1593 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1594 as_fn_error $? "invalid feature name: $ac_useropt"
1595 ac_useropt_orig=$ac_useropt
1596 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1597 case $ac_user_opts in
1599 "enable_$ac_useropt"
1600 "*) ;;
1601 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1602 ac_unrecognized_sep=', ';;
1603 esac
1604 eval enable_$ac_useropt=no ;;
1606 -docdir | --docdir | --docdi | --doc | --do)
1607 ac_prev=docdir ;;
1608 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1609 docdir=$ac_optarg ;;
1611 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1612 ac_prev=dvidir ;;
1613 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1614 dvidir=$ac_optarg ;;
1616 -enable-* | --enable-*)
1617 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1618 # Reject names that are not valid shell variable names.
1619 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1620 as_fn_error $? "invalid feature name: $ac_useropt"
1621 ac_useropt_orig=$ac_useropt
1622 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1623 case $ac_user_opts in
1625 "enable_$ac_useropt"
1626 "*) ;;
1627 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1628 ac_unrecognized_sep=', ';;
1629 esac
1630 eval enable_$ac_useropt=\$ac_optarg ;;
1632 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1633 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1634 | --exec | --exe | --ex)
1635 ac_prev=exec_prefix ;;
1636 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1637 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1638 | --exec=* | --exe=* | --ex=*)
1639 exec_prefix=$ac_optarg ;;
1641 -gas | --gas | --ga | --g)
1642 # Obsolete; use --with-gas.
1643 with_gas=yes ;;
1645 -help | --help | --hel | --he | -h)
1646 ac_init_help=long ;;
1647 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1648 ac_init_help=recursive ;;
1649 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1650 ac_init_help=short ;;
1652 -host | --host | --hos | --ho)
1653 ac_prev=host_alias ;;
1654 -host=* | --host=* | --hos=* | --ho=*)
1655 host_alias=$ac_optarg ;;
1657 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1658 ac_prev=htmldir ;;
1659 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1660 | --ht=*)
1661 htmldir=$ac_optarg ;;
1663 -includedir | --includedir | --includedi | --included | --include \
1664 | --includ | --inclu | --incl | --inc)
1665 ac_prev=includedir ;;
1666 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1667 | --includ=* | --inclu=* | --incl=* | --inc=*)
1668 includedir=$ac_optarg ;;
1670 -infodir | --infodir | --infodi | --infod | --info | --inf)
1671 ac_prev=infodir ;;
1672 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1673 infodir=$ac_optarg ;;
1675 -libdir | --libdir | --libdi | --libd)
1676 ac_prev=libdir ;;
1677 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1678 libdir=$ac_optarg ;;
1680 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1681 | --libexe | --libex | --libe)
1682 ac_prev=libexecdir ;;
1683 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1684 | --libexe=* | --libex=* | --libe=*)
1685 libexecdir=$ac_optarg ;;
1687 -localedir | --localedir | --localedi | --localed | --locale)
1688 ac_prev=localedir ;;
1689 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1690 localedir=$ac_optarg ;;
1692 -localstatedir | --localstatedir | --localstatedi | --localstated \
1693 | --localstate | --localstat | --localsta | --localst | --locals)
1694 ac_prev=localstatedir ;;
1695 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1696 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1697 localstatedir=$ac_optarg ;;
1699 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1700 ac_prev=mandir ;;
1701 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1702 mandir=$ac_optarg ;;
1704 -nfp | --nfp | --nf)
1705 # Obsolete; use --without-fp.
1706 with_fp=no ;;
1708 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1709 | --no-cr | --no-c | -n)
1710 no_create=yes ;;
1712 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1713 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1714 no_recursion=yes ;;
1716 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1717 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1718 | --oldin | --oldi | --old | --ol | --o)
1719 ac_prev=oldincludedir ;;
1720 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1721 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1722 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1723 oldincludedir=$ac_optarg ;;
1725 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1726 ac_prev=prefix ;;
1727 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1728 prefix=$ac_optarg ;;
1730 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1731 | --program-pre | --program-pr | --program-p)
1732 ac_prev=program_prefix ;;
1733 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1734 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1735 program_prefix=$ac_optarg ;;
1737 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1738 | --program-suf | --program-su | --program-s)
1739 ac_prev=program_suffix ;;
1740 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1741 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1742 program_suffix=$ac_optarg ;;
1744 -program-transform-name | --program-transform-name \
1745 | --program-transform-nam | --program-transform-na \
1746 | --program-transform-n | --program-transform- \
1747 | --program-transform | --program-transfor \
1748 | --program-transfo | --program-transf \
1749 | --program-trans | --program-tran \
1750 | --progr-tra | --program-tr | --program-t)
1751 ac_prev=program_transform_name ;;
1752 -program-transform-name=* | --program-transform-name=* \
1753 | --program-transform-nam=* | --program-transform-na=* \
1754 | --program-transform-n=* | --program-transform-=* \
1755 | --program-transform=* | --program-transfor=* \
1756 | --program-transfo=* | --program-transf=* \
1757 | --program-trans=* | --program-tran=* \
1758 | --progr-tra=* | --program-tr=* | --program-t=*)
1759 program_transform_name=$ac_optarg ;;
1761 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1762 ac_prev=pdfdir ;;
1763 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1764 pdfdir=$ac_optarg ;;
1766 -psdir | --psdir | --psdi | --psd | --ps)
1767 ac_prev=psdir ;;
1768 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1769 psdir=$ac_optarg ;;
1771 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1772 | -silent | --silent | --silen | --sile | --sil)
1773 silent=yes ;;
1775 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1776 ac_prev=sbindir ;;
1777 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1778 | --sbi=* | --sb=*)
1779 sbindir=$ac_optarg ;;
1781 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1782 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1783 | --sharedst | --shareds | --shared | --share | --shar \
1784 | --sha | --sh)
1785 ac_prev=sharedstatedir ;;
1786 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1787 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1788 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1789 | --sha=* | --sh=*)
1790 sharedstatedir=$ac_optarg ;;
1792 -site | --site | --sit)
1793 ac_prev=site ;;
1794 -site=* | --site=* | --sit=*)
1795 site=$ac_optarg ;;
1797 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1798 ac_prev=srcdir ;;
1799 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1800 srcdir=$ac_optarg ;;
1802 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1803 | --syscon | --sysco | --sysc | --sys | --sy)
1804 ac_prev=sysconfdir ;;
1805 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1806 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1807 sysconfdir=$ac_optarg ;;
1809 -target | --target | --targe | --targ | --tar | --ta | --t)
1810 ac_prev=target_alias ;;
1811 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1812 target_alias=$ac_optarg ;;
1814 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1815 verbose=yes ;;
1817 -version | --version | --versio | --versi | --vers | -V)
1818 ac_init_version=: ;;
1820 -with-* | --with-*)
1821 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1822 # Reject names that are not valid shell variable names.
1823 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1824 as_fn_error $? "invalid package name: $ac_useropt"
1825 ac_useropt_orig=$ac_useropt
1826 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1827 case $ac_user_opts in
1829 "with_$ac_useropt"
1830 "*) ;;
1831 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1832 ac_unrecognized_sep=', ';;
1833 esac
1834 eval with_$ac_useropt=\$ac_optarg ;;
1836 -without-* | --without-*)
1837 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1838 # Reject names that are not valid shell variable names.
1839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1840 as_fn_error $? "invalid package name: $ac_useropt"
1841 ac_useropt_orig=$ac_useropt
1842 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1843 case $ac_user_opts in
1845 "with_$ac_useropt"
1846 "*) ;;
1847 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1848 ac_unrecognized_sep=', ';;
1849 esac
1850 eval with_$ac_useropt=no ;;
1852 --x)
1853 # Obsolete; use --with-x.
1854 with_x=yes ;;
1856 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1857 | --x-incl | --x-inc | --x-in | --x-i)
1858 ac_prev=x_includes ;;
1859 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1860 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1861 x_includes=$ac_optarg ;;
1863 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1864 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1865 ac_prev=x_libraries ;;
1866 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1867 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1868 x_libraries=$ac_optarg ;;
1870 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1871 Try \`$0 --help' for more information"
1874 *=*)
1875 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1876 # Reject names that are not valid shell variable names.
1877 case $ac_envvar in #(
1878 '' | [0-9]* | *[!_$as_cr_alnum]* )
1879 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1880 esac
1881 eval $ac_envvar=\$ac_optarg
1882 export $ac_envvar ;;
1885 # FIXME: should be removed in autoconf 3.0.
1886 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1887 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1888 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1889 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1892 esac
1893 done
1895 if test -n "$ac_prev"; then
1896 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1897 as_fn_error $? "missing argument to $ac_option"
1900 if test -n "$ac_unrecognized_opts"; then
1901 case $enable_option_checking in
1902 no) ;;
1903 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1904 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1905 esac
1908 # Check all directory arguments for consistency.
1909 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1910 datadir sysconfdir sharedstatedir localstatedir includedir \
1911 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1912 libdir localedir mandir
1914 eval ac_val=\$$ac_var
1915 # Remove trailing slashes.
1916 case $ac_val in
1917 */ )
1918 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1919 eval $ac_var=\$ac_val;;
1920 esac
1921 # Be sure to have absolute directory names.
1922 case $ac_val in
1923 [\\/$]* | ?:[\\/]* ) continue;;
1924 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1925 esac
1926 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1927 done
1929 # There might be people who depend on the old broken behavior: `$host'
1930 # used to hold the argument of --host etc.
1931 # FIXME: To remove some day.
1932 build=$build_alias
1933 host=$host_alias
1934 target=$target_alias
1936 # FIXME: To remove some day.
1937 if test "x$host_alias" != x; then
1938 if test "x$build_alias" = x; then
1939 cross_compiling=maybe
1940 elif test "x$build_alias" != "x$host_alias"; then
1941 cross_compiling=yes
1945 ac_tool_prefix=
1946 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1948 test "$silent" = yes && exec 6>/dev/null
1951 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1952 ac_ls_di=`ls -di .` &&
1953 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1954 as_fn_error $? "working directory cannot be determined"
1955 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1956 as_fn_error $? "pwd does not report name of working directory"
1959 # Find the source files, if location was not specified.
1960 if test -z "$srcdir"; then
1961 ac_srcdir_defaulted=yes
1962 # Try the directory containing this script, then the parent directory.
1963 ac_confdir=`$as_dirname -- "$as_myself" ||
1964 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1965 X"$as_myself" : 'X\(//\)[^/]' \| \
1966 X"$as_myself" : 'X\(//\)$' \| \
1967 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1968 $as_echo X"$as_myself" |
1969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1970 s//\1/
1973 /^X\(\/\/\)[^/].*/{
1974 s//\1/
1977 /^X\(\/\/\)$/{
1978 s//\1/
1981 /^X\(\/\).*/{
1982 s//\1/
1985 s/.*/./; q'`
1986 srcdir=$ac_confdir
1987 if test ! -r "$srcdir/$ac_unique_file"; then
1988 srcdir=..
1990 else
1991 ac_srcdir_defaulted=no
1993 if test ! -r "$srcdir/$ac_unique_file"; then
1994 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1995 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1997 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1998 ac_abs_confdir=`(
1999 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2000 pwd)`
2001 # When building in place, set srcdir=.
2002 if test "$ac_abs_confdir" = "$ac_pwd"; then
2003 srcdir=.
2005 # Remove unnecessary trailing slashes from srcdir.
2006 # Double slashes in file names in object file debugging info
2007 # mess up M-x gdb in Emacs.
2008 case $srcdir in
2009 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2010 esac
2011 for ac_var in $ac_precious_vars; do
2012 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2013 eval ac_env_${ac_var}_value=\$${ac_var}
2014 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2015 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2016 done
2019 # Report the --help message.
2021 if test "$ac_init_help" = "long"; then
2022 # Omit some internal or obsolete options to make the list less imposing.
2023 # This message is too long to be a string in the A/UX 3.1 sh.
2024 cat <<_ACEOF
2025 \`configure' configures Wine 1.7.39 to adapt to many kinds of systems.
2027 Usage: $0 [OPTION]... [VAR=VALUE]...
2029 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2030 VAR=VALUE. See below for descriptions of some of the useful variables.
2032 Defaults for the options are specified in brackets.
2034 Configuration:
2035 -h, --help display this help and exit
2036 --help=short display options specific to this package
2037 --help=recursive display the short help of all the included packages
2038 -V, --version display version information and exit
2039 -q, --quiet, --silent do not print \`checking ...' messages
2040 --cache-file=FILE cache test results in FILE [disabled]
2041 -C, --config-cache alias for \`--cache-file=config.cache'
2042 -n, --no-create do not create output files
2043 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2045 Installation directories:
2046 --prefix=PREFIX install architecture-independent files in PREFIX
2047 [$ac_default_prefix]
2048 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2049 [PREFIX]
2051 By default, \`make install' will install all the files in
2052 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2053 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2054 for instance \`--prefix=\$HOME'.
2056 For better control, use the options below.
2058 Fine tuning of the installation directories:
2059 --bindir=DIR user executables [EPREFIX/bin]
2060 --sbindir=DIR system admin executables [EPREFIX/sbin]
2061 --libexecdir=DIR program executables [EPREFIX/libexec]
2062 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2063 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2064 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2065 --libdir=DIR object code libraries [EPREFIX/lib]
2066 --includedir=DIR C header files [PREFIX/include]
2067 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2068 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2069 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2070 --infodir=DIR info documentation [DATAROOTDIR/info]
2071 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2072 --mandir=DIR man documentation [DATAROOTDIR/man]
2073 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2074 --htmldir=DIR html documentation [DOCDIR]
2075 --dvidir=DIR dvi documentation [DOCDIR]
2076 --pdfdir=DIR pdf documentation [DOCDIR]
2077 --psdir=DIR ps documentation [DOCDIR]
2078 _ACEOF
2080 cat <<\_ACEOF
2082 X features:
2083 --x-includes=DIR X include files are in DIR
2084 --x-libraries=DIR X library files are in DIR
2086 System types:
2087 --build=BUILD configure for building on BUILD [guessed]
2088 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2089 _ACEOF
2092 if test -n "$ac_init_help"; then
2093 case $ac_init_help in
2094 short | recursive ) echo "Configuration of Wine 1.7.39:";;
2095 esac
2096 cat <<\_ACEOF
2098 Optional Features:
2099 --disable-option-checking ignore unrecognized --enable/--with options
2100 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2101 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2102 --disable-win16 do not include Win16 support
2103 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2104 binaries)
2105 --disable-tests do not build the regression tests
2106 --enable-maintainer-mode
2107 enable maintainer-specific build rules
2108 --disable-largefile omit support for large files
2110 Optional Packages:
2111 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2112 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2113 --without-alsa do not use the Alsa sound support
2114 --without-capi do not use CAPI (ISDN support)
2115 --without-cms do not use CMS (color management support)
2116 --without-coreaudio do not use the CoreAudio sound support
2117 --without-cups do not use CUPS
2118 --without-curses do not use (n)curses
2119 --without-dbus do not use DBus (dynamic device support)
2120 --without-fontconfig do not use fontconfig
2121 --without-freetype do not use the FreeType library
2122 --without-gettext do not use gettext
2123 --with-gettextpo use the GetTextPO library to rebuild po files
2124 --without-gphoto do not use gphoto (Digital Camera support)
2125 --without-glu do not use the GLU library
2126 --without-gnutls do not use GnuTLS (schannel support)
2127 --without-gsm do not use libgsm (GSM 06.10 codec support)
2128 --without-gstreamer do not use GStreamer (codecs support)
2129 --without-hal do not use HAL (dynamic device support)
2130 --without-jpeg do not use JPEG
2131 --without-ldap do not use LDAP
2132 --without-mpg123 do not use the mpg123 library
2133 --without-netapi do not use the Samba NetAPI library
2134 --without-openal do not use OpenAL
2135 --without-opencl do not use OpenCL
2136 --without-opengl do not use OpenGL
2137 --without-osmesa do not use the OSMesa library
2138 --without-oss do not use the OSS sound support
2139 --without-pcap do not use the Packet Capture library
2140 --without-png do not use PNG
2141 --without-pthread do not use the pthread library
2142 --without-sane do not use SANE (scanner support)
2143 --without-tiff do not use TIFF
2144 --without-v4l do not use v4l1 (v4l support)
2145 --without-xcomposite do not use the Xcomposite extension
2146 --without-xcursor do not use the Xcursor extension
2147 --without-xinerama do not use Xinerama (multi-monitor support)
2148 --without-xinput do not use the Xinput extension
2149 --without-xinput2 do not use the Xinput 2 extension
2150 --without-xml do not use XML
2151 --without-xrandr do not use Xrandr (resolution changes)
2152 --without-xrender do not use the Xrender extension
2153 --without-xshape do not use the Xshape extension
2154 --without-xshm do not use XShm (shared memory extension)
2155 --without-xslt do not use XSLT
2156 --without-xxf86vm do not use XFree video mode extension
2157 --without-zlib do not use Zlib (data compression)
2158 --with-wine-tools=DIR use Wine tools from directory DIR
2159 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2160 --with-x use the X Window System
2162 Some influential environment variables:
2163 CC C compiler command
2164 CFLAGS C compiler flags
2165 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2166 nonstandard directory <lib dir>
2167 LIBS libraries to pass to the linker, e.g. -l<library>
2168 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2169 you have headers in a nonstandard directory <include dir>
2170 CXX C++ compiler command
2171 CXXFLAGS C++ compiler flags
2172 CPP C preprocessor
2173 XMKMF Path to xmkmf, Makefile generator for X Window System
2174 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2175 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2176 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2177 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2178 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2179 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2180 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2181 HAL_LIBS Linker flags for hal, overriding pkg-config
2182 GNUTLS_CFLAGS
2183 C compiler flags for gnutls, overriding pkg-config
2184 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2185 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2186 SANE_LIBS Linker flags for libsane, overriding pkg-config
2187 GPHOTO2_CFLAGS
2188 C compiler flags for libgphoto2, overriding pkg-config
2189 GPHOTO2_LIBS
2190 Linker flags for libgphoto2, overriding pkg-config
2191 GPHOTO2_PORT_CFLAGS
2192 C compiler flags for libgphoto2_port, overriding pkg-config
2193 GPHOTO2_PORT_LIBS
2194 Linker flags for libgphoto2_port, overriding pkg-config
2195 LCMS2_CFLAGS
2196 C compiler flags for lcms2, overriding pkg-config
2197 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2198 FREETYPE_CFLAGS
2199 C compiler flags for freetype2, overriding pkg-config
2200 FREETYPE_LIBS
2201 Linker flags for freetype2, overriding pkg-config
2202 GSTREAMER_CFLAGS
2203 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2204 GSTREAMER_LIBS
2205 Linker flags for gstreamer-app-0.10, overriding pkg-config
2206 CAPI20_CFLAGS
2207 C compiler flags for capi20, overriding pkg-config
2208 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2209 FONTCONFIG_CFLAGS
2210 C compiler flags for fontconfig, overriding pkg-config
2211 FONTCONFIG_LIBS
2212 Linker flags for fontconfig, overriding pkg-config
2213 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2214 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2215 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2216 PNG_LIBS Linker flags for libpng, overriding pkg-config
2217 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2218 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2219 MPG123_CFLAGS
2220 C compiler flags for libmpg123, overriding pkg-config
2221 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2223 Use these variables to override the choices made by `configure' or to help
2224 it to find libraries and programs with nonstandard names/locations.
2226 Report bugs to <wine-devel@winehq.org>.
2227 Wine home page: <http://www.winehq.org>.
2228 _ACEOF
2229 ac_status=$?
2232 if test "$ac_init_help" = "recursive"; then
2233 # If there are subdirs, report their specific --help.
2234 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2235 test -d "$ac_dir" ||
2236 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2237 continue
2238 ac_builddir=.
2240 case "$ac_dir" in
2241 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2243 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2244 # A ".." for each directory in $ac_dir_suffix.
2245 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2246 case $ac_top_builddir_sub in
2247 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2248 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2249 esac ;;
2250 esac
2251 ac_abs_top_builddir=$ac_pwd
2252 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2253 # for backward compatibility:
2254 ac_top_builddir=$ac_top_build_prefix
2256 case $srcdir in
2257 .) # We are building in place.
2258 ac_srcdir=.
2259 ac_top_srcdir=$ac_top_builddir_sub
2260 ac_abs_top_srcdir=$ac_pwd ;;
2261 [\\/]* | ?:[\\/]* ) # Absolute name.
2262 ac_srcdir=$srcdir$ac_dir_suffix;
2263 ac_top_srcdir=$srcdir
2264 ac_abs_top_srcdir=$srcdir ;;
2265 *) # Relative name.
2266 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2267 ac_top_srcdir=$ac_top_build_prefix$srcdir
2268 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2269 esac
2270 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2272 cd "$ac_dir" || { ac_status=$?; continue; }
2273 # Check for guested configure.
2274 if test -f "$ac_srcdir/configure.gnu"; then
2275 echo &&
2276 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2277 elif test -f "$ac_srcdir/configure"; then
2278 echo &&
2279 $SHELL "$ac_srcdir/configure" --help=recursive
2280 else
2281 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2282 fi || ac_status=$?
2283 cd "$ac_pwd" || { ac_status=$?; break; }
2284 done
2287 test -n "$ac_init_help" && exit $ac_status
2288 if $ac_init_version; then
2289 cat <<\_ACEOF
2290 Wine configure 1.7.39
2291 generated by GNU Autoconf 2.69
2293 Copyright (C) 2012 Free Software Foundation, Inc.
2294 This configure script is free software; the Free Software Foundation
2295 gives unlimited permission to copy, distribute and modify it.
2296 _ACEOF
2297 exit
2300 ## ------------------------ ##
2301 ## Autoconf initialization. ##
2302 ## ------------------------ ##
2304 # ac_fn_c_try_compile LINENO
2305 # --------------------------
2306 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2307 ac_fn_c_try_compile ()
2309 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2310 rm -f conftest.$ac_objext
2311 if { { ac_try="$ac_compile"
2312 case "(($ac_try" in
2313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2314 *) ac_try_echo=$ac_try;;
2315 esac
2316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2317 $as_echo "$ac_try_echo"; } >&5
2318 (eval "$ac_compile") 2>conftest.err
2319 ac_status=$?
2320 if test -s conftest.err; then
2321 grep -v '^ *+' conftest.err >conftest.er1
2322 cat conftest.er1 >&5
2323 mv -f conftest.er1 conftest.err
2325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2326 test $ac_status = 0; } && {
2327 test -z "$ac_c_werror_flag" ||
2328 test ! -s conftest.err
2329 } && test -s conftest.$ac_objext; then :
2330 ac_retval=0
2331 else
2332 $as_echo "$as_me: failed program was:" >&5
2333 sed 's/^/| /' conftest.$ac_ext >&5
2335 ac_retval=1
2337 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2338 as_fn_set_status $ac_retval
2340 } # ac_fn_c_try_compile
2342 # ac_fn_cxx_try_compile LINENO
2343 # ----------------------------
2344 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2345 ac_fn_cxx_try_compile ()
2347 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2348 rm -f conftest.$ac_objext
2349 if { { ac_try="$ac_compile"
2350 case "(($ac_try" in
2351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2352 *) ac_try_echo=$ac_try;;
2353 esac
2354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2355 $as_echo "$ac_try_echo"; } >&5
2356 (eval "$ac_compile") 2>conftest.err
2357 ac_status=$?
2358 if test -s conftest.err; then
2359 grep -v '^ *+' conftest.err >conftest.er1
2360 cat conftest.er1 >&5
2361 mv -f conftest.er1 conftest.err
2363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2364 test $ac_status = 0; } && {
2365 test -z "$ac_cxx_werror_flag" ||
2366 test ! -s conftest.err
2367 } && test -s conftest.$ac_objext; then :
2368 ac_retval=0
2369 else
2370 $as_echo "$as_me: failed program was:" >&5
2371 sed 's/^/| /' conftest.$ac_ext >&5
2373 ac_retval=1
2375 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2376 as_fn_set_status $ac_retval
2378 } # ac_fn_cxx_try_compile
2380 # ac_fn_c_try_link LINENO
2381 # -----------------------
2382 # Try to link conftest.$ac_ext, and return whether this succeeded.
2383 ac_fn_c_try_link ()
2385 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2386 rm -f conftest.$ac_objext conftest$ac_exeext
2387 if { { ac_try="$ac_link"
2388 case "(($ac_try" in
2389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390 *) ac_try_echo=$ac_try;;
2391 esac
2392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2393 $as_echo "$ac_try_echo"; } >&5
2394 (eval "$ac_link") 2>conftest.err
2395 ac_status=$?
2396 if test -s conftest.err; then
2397 grep -v '^ *+' conftest.err >conftest.er1
2398 cat conftest.er1 >&5
2399 mv -f conftest.er1 conftest.err
2401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2402 test $ac_status = 0; } && {
2403 test -z "$ac_c_werror_flag" ||
2404 test ! -s conftest.err
2405 } && test -s conftest$ac_exeext && {
2406 test "$cross_compiling" = yes ||
2407 test -x conftest$ac_exeext
2408 }; then :
2409 ac_retval=0
2410 else
2411 $as_echo "$as_me: failed program was:" >&5
2412 sed 's/^/| /' conftest.$ac_ext >&5
2414 ac_retval=1
2416 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2417 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2418 # interfere with the next link command; also delete a directory that is
2419 # left behind by Apple's compiler. We do this before executing the actions.
2420 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2421 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2422 as_fn_set_status $ac_retval
2424 } # ac_fn_c_try_link
2426 # ac_fn_c_try_cpp LINENO
2427 # ----------------------
2428 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2429 ac_fn_c_try_cpp ()
2431 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2432 if { { ac_try="$ac_cpp conftest.$ac_ext"
2433 case "(($ac_try" in
2434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2435 *) ac_try_echo=$ac_try;;
2436 esac
2437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2438 $as_echo "$ac_try_echo"; } >&5
2439 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2440 ac_status=$?
2441 if test -s conftest.err; then
2442 grep -v '^ *+' conftest.err >conftest.er1
2443 cat conftest.er1 >&5
2444 mv -f conftest.er1 conftest.err
2446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2447 test $ac_status = 0; } > conftest.i && {
2448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2449 test ! -s conftest.err
2450 }; then :
2451 ac_retval=0
2452 else
2453 $as_echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.$ac_ext >&5
2456 ac_retval=1
2458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2459 as_fn_set_status $ac_retval
2461 } # ac_fn_c_try_cpp
2463 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2464 # -------------------------------------------------------
2465 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2466 # the include files in INCLUDES and setting the cache variable VAR
2467 # accordingly.
2468 ac_fn_c_check_header_mongrel ()
2470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2471 if eval \${$3+:} false; then :
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2473 $as_echo_n "checking for $2... " >&6; }
2474 if eval \${$3+:} false; then :
2475 $as_echo_n "(cached) " >&6
2477 eval ac_res=\$$3
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2479 $as_echo "$ac_res" >&6; }
2480 else
2481 # Is the header compilable?
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2483 $as_echo_n "checking $2 usability... " >&6; }
2484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2485 /* end confdefs.h. */
2487 #include <$2>
2488 _ACEOF
2489 if ac_fn_c_try_compile "$LINENO"; then :
2490 ac_header_compiler=yes
2491 else
2492 ac_header_compiler=no
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2496 $as_echo "$ac_header_compiler" >&6; }
2498 # Is the header present?
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2500 $as_echo_n "checking $2 presence... " >&6; }
2501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2502 /* end confdefs.h. */
2503 #include <$2>
2504 _ACEOF
2505 if ac_fn_c_try_cpp "$LINENO"; then :
2506 ac_header_preproc=yes
2507 else
2508 ac_header_preproc=no
2510 rm -f conftest.err conftest.i conftest.$ac_ext
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2512 $as_echo "$ac_header_preproc" >&6; }
2514 # So? What about this header?
2515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2516 yes:no: )
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2518 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2520 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2522 no:yes:* )
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2524 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2526 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2528 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2530 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2532 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2533 ( $as_echo "## ------------------------------------ ##
2534 ## Report this to wine-devel@winehq.org ##
2535 ## ------------------------------------ ##"
2536 ) | sed "s/^/$as_me: WARNING: /" >&2
2538 esac
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2540 $as_echo_n "checking for $2... " >&6; }
2541 if eval \${$3+:} false; then :
2542 $as_echo_n "(cached) " >&6
2543 else
2544 eval "$3=\$ac_header_compiler"
2546 eval ac_res=\$$3
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2548 $as_echo "$ac_res" >&6; }
2550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2552 } # ac_fn_c_check_header_mongrel
2554 # ac_fn_c_try_run LINENO
2555 # ----------------------
2556 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2557 # that executables *can* be run.
2558 ac_fn_c_try_run ()
2560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2561 if { { ac_try="$ac_link"
2562 case "(($ac_try" in
2563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2564 *) ac_try_echo=$ac_try;;
2565 esac
2566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2567 $as_echo "$ac_try_echo"; } >&5
2568 (eval "$ac_link") 2>&5
2569 ac_status=$?
2570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2571 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2572 { { case "(($ac_try" in
2573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2574 *) ac_try_echo=$ac_try;;
2575 esac
2576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2577 $as_echo "$ac_try_echo"; } >&5
2578 (eval "$ac_try") 2>&5
2579 ac_status=$?
2580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2581 test $ac_status = 0; }; }; then :
2582 ac_retval=0
2583 else
2584 $as_echo "$as_me: program exited with status $ac_status" >&5
2585 $as_echo "$as_me: failed program was:" >&5
2586 sed 's/^/| /' conftest.$ac_ext >&5
2588 ac_retval=$ac_status
2590 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2592 as_fn_set_status $ac_retval
2594 } # ac_fn_c_try_run
2596 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2597 # -------------------------------------------------------
2598 # Tests whether HEADER exists and can be compiled using the include files in
2599 # INCLUDES, setting the cache variable VAR accordingly.
2600 ac_fn_c_check_header_compile ()
2602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2604 $as_echo_n "checking for $2... " >&6; }
2605 if eval \${$3+:} false; then :
2606 $as_echo_n "(cached) " >&6
2607 else
2608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2611 #include <$2>
2612 _ACEOF
2613 if ac_fn_c_try_compile "$LINENO"; then :
2614 eval "$3=yes"
2615 else
2616 eval "$3=no"
2618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2620 eval ac_res=\$$3
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2622 $as_echo "$ac_res" >&6; }
2623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2625 } # ac_fn_c_check_header_compile
2627 # ac_fn_c_check_func LINENO FUNC VAR
2628 # ----------------------------------
2629 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2630 ac_fn_c_check_func ()
2632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2634 $as_echo_n "checking for $2... " >&6; }
2635 if eval \${$3+:} false; then :
2636 $as_echo_n "(cached) " >&6
2637 else
2638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2639 /* end confdefs.h. */
2640 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2642 #define $2 innocuous_$2
2644 /* System header to define __stub macros and hopefully few prototypes,
2645 which can conflict with char $2 (); below.
2646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2647 <limits.h> exists even on freestanding compilers. */
2649 #ifdef __STDC__
2650 # include <limits.h>
2651 #else
2652 # include <assert.h>
2653 #endif
2655 #undef $2
2657 /* Override any GCC internal prototype to avoid an error.
2658 Use char because int might match the return type of a GCC
2659 builtin and then its argument prototype would still apply. */
2660 #ifdef __cplusplus
2661 extern "C"
2662 #endif
2663 char $2 ();
2664 /* The GNU C library defines this for functions which it implements
2665 to always fail with ENOSYS. Some functions are actually named
2666 something starting with __ and the normal name is an alias. */
2667 #if defined __stub_$2 || defined __stub___$2
2668 choke me
2669 #endif
2672 main ()
2674 return $2 ();
2676 return 0;
2678 _ACEOF
2679 if ac_fn_c_try_link "$LINENO"; then :
2680 eval "$3=yes"
2681 else
2682 eval "$3=no"
2684 rm -f core conftest.err conftest.$ac_objext \
2685 conftest$ac_exeext conftest.$ac_ext
2687 eval ac_res=\$$3
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2689 $as_echo "$ac_res" >&6; }
2690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2692 } # ac_fn_c_check_func
2694 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2695 # ----------------------------------------------------
2696 # Tries to find if the field MEMBER exists in type AGGR, after including
2697 # INCLUDES, setting cache variable VAR accordingly.
2698 ac_fn_c_check_member ()
2700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2702 $as_echo_n "checking for $2.$3... " >&6; }
2703 if eval \${$4+:} false; then :
2704 $as_echo_n "(cached) " >&6
2705 else
2706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2707 /* end confdefs.h. */
2710 main ()
2712 static $2 ac_aggr;
2713 if (ac_aggr.$3)
2714 return 0;
2716 return 0;
2718 _ACEOF
2719 if ac_fn_c_try_compile "$LINENO"; then :
2720 eval "$4=yes"
2721 else
2722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2723 /* end confdefs.h. */
2726 main ()
2728 static $2 ac_aggr;
2729 if (sizeof ac_aggr.$3)
2730 return 0;
2732 return 0;
2734 _ACEOF
2735 if ac_fn_c_try_compile "$LINENO"; then :
2736 eval "$4=yes"
2737 else
2738 eval "$4=no"
2740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2744 eval ac_res=\$$4
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2746 $as_echo "$ac_res" >&6; }
2747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749 } # ac_fn_c_check_member
2751 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2752 # -------------------------------------------
2753 # Tests whether TYPE exists after having included INCLUDES, setting cache
2754 # variable VAR accordingly.
2755 ac_fn_c_check_type ()
2757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2759 $as_echo_n "checking for $2... " >&6; }
2760 if eval \${$3+:} false; then :
2761 $as_echo_n "(cached) " >&6
2762 else
2763 eval "$3=no"
2764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2768 main ()
2770 if (sizeof ($2))
2771 return 0;
2773 return 0;
2775 _ACEOF
2776 if ac_fn_c_try_compile "$LINENO"; then :
2777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2781 main ()
2783 if (sizeof (($2)))
2784 return 0;
2786 return 0;
2788 _ACEOF
2789 if ac_fn_c_try_compile "$LINENO"; then :
2791 else
2792 eval "$3=yes"
2794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2798 eval ac_res=\$$3
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2800 $as_echo "$ac_res" >&6; }
2801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2803 } # ac_fn_c_check_type
2804 cat >config.log <<_ACEOF
2805 This file contains any messages produced by compilers while
2806 running configure, to aid debugging if configure makes a mistake.
2808 It was created by Wine $as_me 1.7.39, which was
2809 generated by GNU Autoconf 2.69. Invocation command line was
2811 $ $0 $@
2813 _ACEOF
2814 exec 5>>config.log
2816 cat <<_ASUNAME
2817 ## --------- ##
2818 ## Platform. ##
2819 ## --------- ##
2821 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2822 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2823 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2824 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2825 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2827 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2828 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2830 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2831 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2832 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2833 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2834 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2835 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2836 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2838 _ASUNAME
2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841 for as_dir in $PATH
2843 IFS=$as_save_IFS
2844 test -z "$as_dir" && as_dir=.
2845 $as_echo "PATH: $as_dir"
2846 done
2847 IFS=$as_save_IFS
2849 } >&5
2851 cat >&5 <<_ACEOF
2854 ## ----------- ##
2855 ## Core tests. ##
2856 ## ----------- ##
2858 _ACEOF
2861 # Keep a trace of the command line.
2862 # Strip out --no-create and --no-recursion so they do not pile up.
2863 # Strip out --silent because we don't want to record it for future runs.
2864 # Also quote any args containing shell meta-characters.
2865 # Make two passes to allow for proper duplicate-argument suppression.
2866 ac_configure_args=
2867 ac_configure_args0=
2868 ac_configure_args1=
2869 ac_must_keep_next=false
2870 for ac_pass in 1 2
2872 for ac_arg
2874 case $ac_arg in
2875 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2876 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2877 | -silent | --silent | --silen | --sile | --sil)
2878 continue ;;
2879 *\'*)
2880 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2881 esac
2882 case $ac_pass in
2883 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2885 as_fn_append ac_configure_args1 " '$ac_arg'"
2886 if test $ac_must_keep_next = true; then
2887 ac_must_keep_next=false # Got value, back to normal.
2888 else
2889 case $ac_arg in
2890 *=* | --config-cache | -C | -disable-* | --disable-* \
2891 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2892 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2893 | -with-* | --with-* | -without-* | --without-* | --x)
2894 case "$ac_configure_args0 " in
2895 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2896 esac
2898 -* ) ac_must_keep_next=true ;;
2899 esac
2901 as_fn_append ac_configure_args " '$ac_arg'"
2903 esac
2904 done
2905 done
2906 { ac_configure_args0=; unset ac_configure_args0;}
2907 { ac_configure_args1=; unset ac_configure_args1;}
2909 # When interrupted or exit'd, cleanup temporary files, and complete
2910 # config.log. We remove comments because anyway the quotes in there
2911 # would cause problems or look ugly.
2912 # WARNING: Use '\'' to represent an apostrophe within the trap.
2913 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2914 trap 'exit_status=$?
2915 # Save into config.log some information that might help in debugging.
2917 echo
2919 $as_echo "## ---------------- ##
2920 ## Cache variables. ##
2921 ## ---------------- ##"
2922 echo
2923 # The following way of writing the cache mishandles newlines in values,
2925 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2926 eval ac_val=\$$ac_var
2927 case $ac_val in #(
2928 *${as_nl}*)
2929 case $ac_var in #(
2930 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2931 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2932 esac
2933 case $ac_var in #(
2934 _ | IFS | as_nl) ;; #(
2935 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2936 *) { eval $ac_var=; unset $ac_var;} ;;
2937 esac ;;
2938 esac
2939 done
2940 (set) 2>&1 |
2941 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2942 *${as_nl}ac_space=\ *)
2943 sed -n \
2944 "s/'\''/'\''\\\\'\'''\''/g;
2945 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2946 ;; #(
2948 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2950 esac |
2951 sort
2953 echo
2955 $as_echo "## ----------------- ##
2956 ## Output variables. ##
2957 ## ----------------- ##"
2958 echo
2959 for ac_var in $ac_subst_vars
2961 eval ac_val=\$$ac_var
2962 case $ac_val in
2963 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2964 esac
2965 $as_echo "$ac_var='\''$ac_val'\''"
2966 done | sort
2967 echo
2969 if test -n "$ac_subst_files"; then
2970 $as_echo "## ------------------- ##
2971 ## File substitutions. ##
2972 ## ------------------- ##"
2973 echo
2974 for ac_var in $ac_subst_files
2976 eval ac_val=\$$ac_var
2977 case $ac_val in
2978 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2979 esac
2980 $as_echo "$ac_var='\''$ac_val'\''"
2981 done | sort
2982 echo
2985 if test -s confdefs.h; then
2986 $as_echo "## ----------- ##
2987 ## confdefs.h. ##
2988 ## ----------- ##"
2989 echo
2990 cat confdefs.h
2991 echo
2993 test "$ac_signal" != 0 &&
2994 $as_echo "$as_me: caught signal $ac_signal"
2995 $as_echo "$as_me: exit $exit_status"
2996 } >&5
2997 rm -f core *.core core.conftest.* &&
2998 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2999 exit $exit_status
3001 for ac_signal in 1 2 13 15; do
3002 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3003 done
3004 ac_signal=0
3006 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3007 rm -f -r conftest* confdefs.h
3009 $as_echo "/* confdefs.h */" > confdefs.h
3011 # Predefined preprocessor variables.
3013 cat >>confdefs.h <<_ACEOF
3014 #define PACKAGE_NAME "$PACKAGE_NAME"
3015 _ACEOF
3017 cat >>confdefs.h <<_ACEOF
3018 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3019 _ACEOF
3021 cat >>confdefs.h <<_ACEOF
3022 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3023 _ACEOF
3025 cat >>confdefs.h <<_ACEOF
3026 #define PACKAGE_STRING "$PACKAGE_STRING"
3027 _ACEOF
3029 cat >>confdefs.h <<_ACEOF
3030 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3031 _ACEOF
3033 cat >>confdefs.h <<_ACEOF
3034 #define PACKAGE_URL "$PACKAGE_URL"
3035 _ACEOF
3038 # Let the site file select an alternate cache file if it wants to.
3039 # Prefer an explicitly selected file to automatically selected ones.
3040 ac_site_file1=NONE
3041 ac_site_file2=NONE
3042 if test -n "$CONFIG_SITE"; then
3043 # We do not want a PATH search for config.site.
3044 case $CONFIG_SITE in #((
3045 -*) ac_site_file1=./$CONFIG_SITE;;
3046 */*) ac_site_file1=$CONFIG_SITE;;
3047 *) ac_site_file1=./$CONFIG_SITE;;
3048 esac
3049 elif test "x$prefix" != xNONE; then
3050 ac_site_file1=$prefix/share/config.site
3051 ac_site_file2=$prefix/etc/config.site
3052 else
3053 ac_site_file1=$ac_default_prefix/share/config.site
3054 ac_site_file2=$ac_default_prefix/etc/config.site
3056 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3058 test "x$ac_site_file" = xNONE && continue
3059 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3061 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3062 sed 's/^/| /' "$ac_site_file" >&5
3063 . "$ac_site_file" \
3064 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3066 as_fn_error $? "failed to load site script $ac_site_file
3067 See \`config.log' for more details" "$LINENO" 5; }
3069 done
3071 if test -r "$cache_file"; then
3072 # Some versions of bash will fail to source /dev/null (special files
3073 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3074 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3076 $as_echo "$as_me: loading cache $cache_file" >&6;}
3077 case $cache_file in
3078 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3079 *) . "./$cache_file";;
3080 esac
3082 else
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3084 $as_echo "$as_me: creating cache $cache_file" >&6;}
3085 >$cache_file
3088 # Check that the precious variables saved in the cache have kept the same
3089 # value.
3090 ac_cache_corrupted=false
3091 for ac_var in $ac_precious_vars; do
3092 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3093 eval ac_new_set=\$ac_env_${ac_var}_set
3094 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3095 eval ac_new_val=\$ac_env_${ac_var}_value
3096 case $ac_old_set,$ac_new_set in
3097 set,)
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3099 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3100 ac_cache_corrupted=: ;;
3101 ,set)
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3103 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3104 ac_cache_corrupted=: ;;
3105 ,);;
3107 if test "x$ac_old_val" != "x$ac_new_val"; then
3108 # differences in whitespace do not lead to failure.
3109 ac_old_val_w=`echo x $ac_old_val`
3110 ac_new_val_w=`echo x $ac_new_val`
3111 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3113 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3114 ac_cache_corrupted=:
3115 else
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3117 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3118 eval $ac_var=\$ac_old_val
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3121 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3123 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3124 fi;;
3125 esac
3126 # Pass precious variables to config.status.
3127 if test "$ac_new_set" = set; then
3128 case $ac_new_val in
3129 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3130 *) ac_arg=$ac_var=$ac_new_val ;;
3131 esac
3132 case " $ac_configure_args " in
3133 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3134 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3135 esac
3137 done
3138 if $ac_cache_corrupted; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3142 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3143 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3145 ## -------------------- ##
3146 ## Main body of script. ##
3147 ## -------------------- ##
3149 ac_ext=c
3150 ac_cpp='$CPP $CPPFLAGS'
3151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3157 ac_config_headers="$ac_config_headers include/config.h"
3159 ac_aux_dir=
3160 for ac_dir in tools "$srcdir"/tools; do
3161 if test -f "$ac_dir/install-sh"; then
3162 ac_aux_dir=$ac_dir
3163 ac_install_sh="$ac_aux_dir/install-sh -c"
3164 break
3165 elif test -f "$ac_dir/install.sh"; then
3166 ac_aux_dir=$ac_dir
3167 ac_install_sh="$ac_aux_dir/install.sh -c"
3168 break
3169 elif test -f "$ac_dir/shtool"; then
3170 ac_aux_dir=$ac_dir
3171 ac_install_sh="$ac_aux_dir/shtool install -c"
3172 break
3174 done
3175 if test -z "$ac_aux_dir"; then
3176 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3179 # These three variables are undocumented and unsupported,
3180 # and are intended to be withdrawn in a future Autoconf release.
3181 # They can cause serious problems if a builder's source tree is in a directory
3182 # whose full name contains unusual characters.
3183 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3184 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3185 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3189 libwine_version="1.0"
3193 # Check whether --enable-win16 was given.
3194 if test "${enable_win16+set}" = set; then :
3195 enableval=$enable_win16;
3198 # Check whether --enable-win64 was given.
3199 if test "${enable_win64+set}" = set; then :
3200 enableval=$enable_win64;
3203 # Check whether --enable-tests was given.
3204 if test "${enable_tests+set}" = set; then :
3205 enableval=$enable_tests;
3208 # Check whether --enable-maintainer-mode was given.
3209 if test "${enable_maintainer_mode+set}" = set; then :
3210 enableval=$enable_maintainer_mode;
3215 # Check whether --with-alsa was given.
3216 if test "${with_alsa+set}" = set; then :
3217 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3221 # Check whether --with-capi was given.
3222 if test "${with_capi+set}" = set; then :
3223 withval=$with_capi;
3227 # Check whether --with-cms was given.
3228 if test "${with_cms+set}" = set; then :
3229 withval=$with_cms;
3233 # Check whether --with-coreaudio was given.
3234 if test "${with_coreaudio+set}" = set; then :
3235 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3239 # Check whether --with-cups was given.
3240 if test "${with_cups+set}" = set; then :
3241 withval=$with_cups;
3245 # Check whether --with-curses was given.
3246 if test "${with_curses+set}" = set; then :
3247 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3251 # Check whether --with-dbus was given.
3252 if test "${with_dbus+set}" = set; then :
3253 withval=$with_dbus;
3257 # Check whether --with-fontconfig was given.
3258 if test "${with_fontconfig+set}" = set; then :
3259 withval=$with_fontconfig;
3263 # Check whether --with-freetype was given.
3264 if test "${with_freetype+set}" = set; then :
3265 withval=$with_freetype;
3269 # Check whether --with-gettext was given.
3270 if test "${with_gettext+set}" = set; then :
3271 withval=$with_gettext;
3275 # Check whether --with-gettextpo was given.
3276 if test "${with_gettextpo+set}" = set; then :
3277 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3281 # Check whether --with-gphoto was given.
3282 if test "${with_gphoto+set}" = set; then :
3283 withval=$with_gphoto;
3287 # Check whether --with-glu was given.
3288 if test "${with_glu+set}" = set; then :
3289 withval=$with_glu;
3293 # Check whether --with-gnutls was given.
3294 if test "${with_gnutls+set}" = set; then :
3295 withval=$with_gnutls;
3299 # Check whether --with-gsm was given.
3300 if test "${with_gsm+set}" = set; then :
3301 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3305 # Check whether --with-gstreamer was given.
3306 if test "${with_gstreamer+set}" = set; then :
3307 withval=$with_gstreamer;
3311 # Check whether --with-hal was given.
3312 if test "${with_hal+set}" = set; then :
3313 withval=$with_hal;
3317 # Check whether --with-jpeg was given.
3318 if test "${with_jpeg+set}" = set; then :
3319 withval=$with_jpeg;
3323 # Check whether --with-ldap was given.
3324 if test "${with_ldap+set}" = set; then :
3325 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3329 # Check whether --with-mpg123 was given.
3330 if test "${with_mpg123+set}" = set; then :
3331 withval=$with_mpg123;
3335 # Check whether --with-netapi was given.
3336 if test "${with_netapi+set}" = set; then :
3337 withval=$with_netapi;
3341 # Check whether --with-openal was given.
3342 if test "${with_openal+set}" = set; then :
3343 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3347 # Check whether --with-opencl was given.
3348 if test "${with_opencl+set}" = set; then :
3349 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3353 # Check whether --with-opengl was given.
3354 if test "${with_opengl+set}" = set; then :
3355 withval=$with_opengl;
3359 # Check whether --with-osmesa was given.
3360 if test "${with_osmesa+set}" = set; then :
3361 withval=$with_osmesa;
3365 # Check whether --with-oss was given.
3366 if test "${with_oss+set}" = set; then :
3367 withval=$with_oss;
3371 # Check whether --with-pcap was given.
3372 if test "${with_pcap+set}" = set; then :
3373 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3377 # Check whether --with-png was given.
3378 if test "${with_png+set}" = set; then :
3379 withval=$with_png;
3383 # Check whether --with-pthread was given.
3384 if test "${with_pthread+set}" = set; then :
3385 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3389 # Check whether --with-sane was given.
3390 if test "${with_sane+set}" = set; then :
3391 withval=$with_sane;
3395 # Check whether --with-tiff was given.
3396 if test "${with_tiff+set}" = set; then :
3397 withval=$with_tiff;
3401 # Check whether --with-v4l was given.
3402 if test "${with_v4l+set}" = set; then :
3403 withval=$with_v4l;
3407 # Check whether --with-xcomposite was given.
3408 if test "${with_xcomposite+set}" = set; then :
3409 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3413 # Check whether --with-xcursor was given.
3414 if test "${with_xcursor+set}" = set; then :
3415 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3419 # Check whether --with-xinerama was given.
3420 if test "${with_xinerama+set}" = set; then :
3421 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3425 # Check whether --with-xinput was given.
3426 if test "${with_xinput+set}" = set; then :
3427 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3431 # Check whether --with-xinput2 was given.
3432 if test "${with_xinput2+set}" = set; then :
3433 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3437 # Check whether --with-xml was given.
3438 if test "${with_xml+set}" = set; then :
3439 withval=$with_xml;
3443 # Check whether --with-xrandr was given.
3444 if test "${with_xrandr+set}" = set; then :
3445 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3449 # Check whether --with-xrender was given.
3450 if test "${with_xrender+set}" = set; then :
3451 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3455 # Check whether --with-xshape was given.
3456 if test "${with_xshape+set}" = set; then :
3457 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3461 # Check whether --with-xshm was given.
3462 if test "${with_xshm+set}" = set; then :
3463 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3467 # Check whether --with-xslt was given.
3468 if test "${with_xslt+set}" = set; then :
3469 withval=$with_xslt;
3473 # Check whether --with-xxf86vm was given.
3474 if test "${with_xxf86vm+set}" = set; then :
3475 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
3479 # Check whether --with-zlib was given.
3480 if test "${with_zlib+set}" = set; then :
3481 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3486 # Check whether --with-wine-tools was given.
3487 if test "${with_wine_tools+set}" = set; then :
3488 withval=$with_wine_tools;
3492 # Check whether --with-wine64 was given.
3493 if test "${with_wine64+set}" = set; then :
3494 withval=$with_wine64;
3498 # Make sure we can run config.sub.
3499 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3500 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3503 $as_echo_n "checking build system type... " >&6; }
3504 if ${ac_cv_build+:} false; then :
3505 $as_echo_n "(cached) " >&6
3506 else
3507 ac_build_alias=$build_alias
3508 test "x$ac_build_alias" = x &&
3509 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3510 test "x$ac_build_alias" = x &&
3511 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3512 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3513 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3517 $as_echo "$ac_cv_build" >&6; }
3518 case $ac_cv_build in
3519 *-*-*) ;;
3520 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3521 esac
3522 build=$ac_cv_build
3523 ac_save_IFS=$IFS; IFS='-'
3524 set x $ac_cv_build
3525 shift
3526 build_cpu=$1
3527 build_vendor=$2
3528 shift; shift
3529 # Remember, the first character of IFS is used to create $*,
3530 # except with old shells:
3531 build_os=$*
3532 IFS=$ac_save_IFS
3533 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3537 $as_echo_n "checking host system type... " >&6; }
3538 if ${ac_cv_host+:} false; then :
3539 $as_echo_n "(cached) " >&6
3540 else
3541 if test "x$host_alias" = x; then
3542 ac_cv_host=$ac_cv_build
3543 else
3544 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3545 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3550 $as_echo "$ac_cv_host" >&6; }
3551 case $ac_cv_host in
3552 *-*-*) ;;
3553 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3554 esac
3555 host=$ac_cv_host
3556 ac_save_IFS=$IFS; IFS='-'
3557 set x $ac_cv_host
3558 shift
3559 host_cpu=$1
3560 host_vendor=$2
3561 shift; shift
3562 # Remember, the first character of IFS is used to create $*,
3563 # except with old shells:
3564 host_os=$*
3565 IFS=$ac_save_IFS
3566 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3570 case "$srcdir" in
3571 .) ;;
3572 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3573 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3574 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3575 fi ;;
3576 esac
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3580 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3581 set x ${MAKE-make}
3582 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3583 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3584 $as_echo_n "(cached) " >&6
3585 else
3586 cat >conftest.make <<\_ACEOF
3587 SHELL = /bin/sh
3588 all:
3589 @echo '@@@%%%=$(MAKE)=@@@%%%'
3590 _ACEOF
3591 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3592 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3593 *@@@%%%=?*=@@@%%%*)
3594 eval ac_cv_prog_make_${ac_make}_set=yes;;
3596 eval ac_cv_prog_make_${ac_make}_set=no;;
3597 esac
3598 rm -f conftest.make
3600 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3602 $as_echo "yes" >&6; }
3603 SET_MAKE=
3604 else
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3606 $as_echo "no" >&6; }
3607 SET_MAKE="MAKE=${MAKE-make}"
3610 ac_ext=c
3611 ac_cpp='$CPP $CPPFLAGS'
3612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3615 if test -n "$ac_tool_prefix"; then
3616 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3617 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if ${ac_cv_prog_CC+:} false; then :
3621 $as_echo_n "(cached) " >&6
3622 else
3623 if test -n "$CC"; then
3624 ac_cv_prog_CC="$CC" # Let the user override the test.
3625 else
3626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3627 for as_dir in $PATH
3629 IFS=$as_save_IFS
3630 test -z "$as_dir" && as_dir=.
3631 for ac_exec_ext in '' $ac_executable_extensions; do
3632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3633 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3635 break 2
3637 done
3638 done
3639 IFS=$as_save_IFS
3643 CC=$ac_cv_prog_CC
3644 if test -n "$CC"; then
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3646 $as_echo "$CC" >&6; }
3647 else
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649 $as_echo "no" >&6; }
3654 if test -z "$ac_cv_prog_CC"; then
3655 ac_ct_CC=$CC
3656 # Extract the first word of "gcc", so it can be a program name with args.
3657 set dummy gcc; ac_word=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3661 $as_echo_n "(cached) " >&6
3662 else
3663 if test -n "$ac_ct_CC"; then
3664 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3665 else
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 for as_dir in $PATH
3669 IFS=$as_save_IFS
3670 test -z "$as_dir" && as_dir=.
3671 for ac_exec_ext in '' $ac_executable_extensions; do
3672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3673 ac_cv_prog_ac_ct_CC="gcc"
3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 break 2
3677 done
3678 done
3679 IFS=$as_save_IFS
3683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3684 if test -n "$ac_ct_CC"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3686 $as_echo "$ac_ct_CC" >&6; }
3687 else
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3692 if test "x$ac_ct_CC" = x; then
3693 CC=""
3694 else
3695 case $cross_compiling:$ac_tool_warned in
3696 yes:)
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3699 ac_tool_warned=yes ;;
3700 esac
3701 CC=$ac_ct_CC
3703 else
3704 CC="$ac_cv_prog_CC"
3707 if test -z "$CC"; then
3708 if test -n "$ac_tool_prefix"; then
3709 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3710 set dummy ${ac_tool_prefix}cc; ac_word=$2
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712 $as_echo_n "checking for $ac_word... " >&6; }
3713 if ${ac_cv_prog_CC+:} false; then :
3714 $as_echo_n "(cached) " >&6
3715 else
3716 if test -n "$CC"; then
3717 ac_cv_prog_CC="$CC" # Let the user override the test.
3718 else
3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720 for as_dir in $PATH
3722 IFS=$as_save_IFS
3723 test -z "$as_dir" && as_dir=.
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3726 ac_cv_prog_CC="${ac_tool_prefix}cc"
3727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 break 2
3730 done
3731 done
3732 IFS=$as_save_IFS
3736 CC=$ac_cv_prog_CC
3737 if test -n "$CC"; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3740 else
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3748 if test -z "$CC"; then
3749 # Extract the first word of "cc", so it can be a program name with args.
3750 set dummy cc; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_CC+:} false; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC="$CC" # Let the user override the test.
3758 else
3759 ac_prog_rejected=no
3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 for as_dir in $PATH
3763 IFS=$as_save_IFS
3764 test -z "$as_dir" && as_dir=.
3765 for ac_exec_ext in '' $ac_executable_extensions; do
3766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3767 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3768 ac_prog_rejected=yes
3769 continue
3771 ac_cv_prog_CC="cc"
3772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3773 break 2
3775 done
3776 done
3777 IFS=$as_save_IFS
3779 if test $ac_prog_rejected = yes; then
3780 # We found a bogon in the path, so make sure we never use it.
3781 set dummy $ac_cv_prog_CC
3782 shift
3783 if test $# != 0; then
3784 # We chose a different compiler from the bogus one.
3785 # However, it has the same basename, so the bogon will be chosen
3786 # first if we set CC to just the basename; use the full file name.
3787 shift
3788 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3793 CC=$ac_cv_prog_CC
3794 if test -n "$CC"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3796 $as_echo "$CC" >&6; }
3797 else
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3804 if test -z "$CC"; then
3805 if test -n "$ac_tool_prefix"; then
3806 for ac_prog in cl.exe
3808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3809 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3811 $as_echo_n "checking for $ac_word... " >&6; }
3812 if ${ac_cv_prog_CC+:} false; then :
3813 $as_echo_n "(cached) " >&6
3814 else
3815 if test -n "$CC"; then
3816 ac_cv_prog_CC="$CC" # Let the user override the test.
3817 else
3818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3819 for as_dir in $PATH
3821 IFS=$as_save_IFS
3822 test -z "$as_dir" && as_dir=.
3823 for ac_exec_ext in '' $ac_executable_extensions; do
3824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3825 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3827 break 2
3829 done
3830 done
3831 IFS=$as_save_IFS
3835 CC=$ac_cv_prog_CC
3836 if test -n "$CC"; then
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3838 $as_echo "$CC" >&6; }
3839 else
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3841 $as_echo "no" >&6; }
3845 test -n "$CC" && break
3846 done
3848 if test -z "$CC"; then
3849 ac_ct_CC=$CC
3850 for ac_prog in cl.exe
3852 # Extract the first word of "$ac_prog", so it can be a program name with args.
3853 set dummy $ac_prog; ac_word=$2
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3855 $as_echo_n "checking for $ac_word... " >&6; }
3856 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3857 $as_echo_n "(cached) " >&6
3858 else
3859 if test -n "$ac_ct_CC"; then
3860 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3861 else
3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3863 for as_dir in $PATH
3865 IFS=$as_save_IFS
3866 test -z "$as_dir" && as_dir=.
3867 for ac_exec_ext in '' $ac_executable_extensions; do
3868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3869 ac_cv_prog_ac_ct_CC="$ac_prog"
3870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 break 2
3873 done
3874 done
3875 IFS=$as_save_IFS
3879 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3880 if test -n "$ac_ct_CC"; then
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3882 $as_echo "$ac_ct_CC" >&6; }
3883 else
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3885 $as_echo "no" >&6; }
3889 test -n "$ac_ct_CC" && break
3890 done
3892 if test "x$ac_ct_CC" = x; then
3893 CC=""
3894 else
3895 case $cross_compiling:$ac_tool_warned in
3896 yes:)
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3899 ac_tool_warned=yes ;;
3900 esac
3901 CC=$ac_ct_CC
3908 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3910 as_fn_error $? "no acceptable C compiler found in \$PATH
3911 See \`config.log' for more details" "$LINENO" 5; }
3913 # Provide some information about the compiler.
3914 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3915 set X $ac_compile
3916 ac_compiler=$2
3917 for ac_option in --version -v -V -qversion; do
3918 { { ac_try="$ac_compiler $ac_option >&5"
3919 case "(($ac_try" in
3920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3921 *) ac_try_echo=$ac_try;;
3922 esac
3923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3924 $as_echo "$ac_try_echo"; } >&5
3925 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3926 ac_status=$?
3927 if test -s conftest.err; then
3928 sed '10a\
3929 ... rest of stderr output deleted ...
3930 10q' conftest.err >conftest.er1
3931 cat conftest.er1 >&5
3933 rm -f conftest.er1 conftest.err
3934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3935 test $ac_status = 0; }
3936 done
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3942 main ()
3946 return 0;
3948 _ACEOF
3949 ac_clean_files_save=$ac_clean_files
3950 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3951 # Try to create an executable without -o first, disregard a.out.
3952 # It will help us diagnose broken compilers, and finding out an intuition
3953 # of exeext.
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3955 $as_echo_n "checking whether the C compiler works... " >&6; }
3956 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3958 # The possible output files:
3959 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3961 ac_rmfiles=
3962 for ac_file in $ac_files
3964 case $ac_file in
3965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3966 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3967 esac
3968 done
3969 rm -f $ac_rmfiles
3971 if { { ac_try="$ac_link_default"
3972 case "(($ac_try" in
3973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3974 *) ac_try_echo=$ac_try;;
3975 esac
3976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3977 $as_echo "$ac_try_echo"; } >&5
3978 (eval "$ac_link_default") 2>&5
3979 ac_status=$?
3980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3981 test $ac_status = 0; }; then :
3982 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3983 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3984 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3985 # so that the user can short-circuit this test for compilers unknown to
3986 # Autoconf.
3987 for ac_file in $ac_files ''
3989 test -f "$ac_file" || continue
3990 case $ac_file in
3991 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3993 [ab].out )
3994 # We found the default executable, but exeext='' is most
3995 # certainly right.
3996 break;;
3997 *.* )
3998 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3999 then :; else
4000 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4002 # We set ac_cv_exeext here because the later test for it is not
4003 # safe: cross compilers may not add the suffix if given an `-o'
4004 # argument, so we may need to know it at that point already.
4005 # Even if this section looks crufty: it has the advantage of
4006 # actually working.
4007 break;;
4009 break;;
4010 esac
4011 done
4012 test "$ac_cv_exeext" = no && ac_cv_exeext=
4014 else
4015 ac_file=''
4017 if test -z "$ac_file"; then :
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4019 $as_echo "no" >&6; }
4020 $as_echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4025 as_fn_error 77 "C compiler cannot create executables
4026 See \`config.log' for more details" "$LINENO" 5; }
4027 else
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4029 $as_echo "yes" >&6; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4032 $as_echo_n "checking for C compiler default output file name... " >&6; }
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4034 $as_echo "$ac_file" >&6; }
4035 ac_exeext=$ac_cv_exeext
4037 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4038 ac_clean_files=$ac_clean_files_save
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4040 $as_echo_n "checking for suffix of executables... " >&6; }
4041 if { { ac_try="$ac_link"
4042 case "(($ac_try" in
4043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4044 *) ac_try_echo=$ac_try;;
4045 esac
4046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4047 $as_echo "$ac_try_echo"; } >&5
4048 (eval "$ac_link") 2>&5
4049 ac_status=$?
4050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4051 test $ac_status = 0; }; then :
4052 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4053 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4054 # work properly (i.e., refer to `conftest.exe'), while it won't with
4055 # `rm'.
4056 for ac_file in conftest.exe conftest conftest.*; do
4057 test -f "$ac_file" || continue
4058 case $ac_file in
4059 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4060 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4061 break;;
4062 * ) break;;
4063 esac
4064 done
4065 else
4066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4068 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4069 See \`config.log' for more details" "$LINENO" 5; }
4071 rm -f conftest conftest$ac_cv_exeext
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4073 $as_echo "$ac_cv_exeext" >&6; }
4075 rm -f conftest.$ac_ext
4076 EXEEXT=$ac_cv_exeext
4077 ac_exeext=$EXEEXT
4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4080 #include <stdio.h>
4082 main ()
4084 FILE *f = fopen ("conftest.out", "w");
4085 return ferror (f) || fclose (f) != 0;
4088 return 0;
4090 _ACEOF
4091 ac_clean_files="$ac_clean_files conftest.out"
4092 # Check that the compiler produces executables we can run. If not, either
4093 # the compiler is broken, or we cross compile.
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4095 $as_echo_n "checking whether we are cross compiling... " >&6; }
4096 if test "$cross_compiling" != yes; then
4097 { { ac_try="$ac_link"
4098 case "(($ac_try" in
4099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4101 esac
4102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_link") 2>&5
4105 ac_status=$?
4106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }
4108 if { ac_try='./conftest$ac_cv_exeext'
4109 { { case "(($ac_try" in
4110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4111 *) ac_try_echo=$ac_try;;
4112 esac
4113 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4114 $as_echo "$ac_try_echo"; } >&5
4115 (eval "$ac_try") 2>&5
4116 ac_status=$?
4117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4118 test $ac_status = 0; }; }; then
4119 cross_compiling=no
4120 else
4121 if test "$cross_compiling" = maybe; then
4122 cross_compiling=yes
4123 else
4124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4126 as_fn_error $? "cannot run C compiled programs.
4127 If you meant to cross compile, use \`--host'.
4128 See \`config.log' for more details" "$LINENO" 5; }
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4133 $as_echo "$cross_compiling" >&6; }
4135 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4136 ac_clean_files=$ac_clean_files_save
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4138 $as_echo_n "checking for suffix of object files... " >&6; }
4139 if ${ac_cv_objext+:} false; then :
4140 $as_echo_n "(cached) " >&6
4141 else
4142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143 /* end confdefs.h. */
4146 main ()
4150 return 0;
4152 _ACEOF
4153 rm -f conftest.o conftest.obj
4154 if { { ac_try="$ac_compile"
4155 case "(($ac_try" in
4156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4157 *) ac_try_echo=$ac_try;;
4158 esac
4159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4160 $as_echo "$ac_try_echo"; } >&5
4161 (eval "$ac_compile") 2>&5
4162 ac_status=$?
4163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4164 test $ac_status = 0; }; then :
4165 for ac_file in conftest.o conftest.obj conftest.*; do
4166 test -f "$ac_file" || continue;
4167 case $ac_file in
4168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4169 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4170 break;;
4171 esac
4172 done
4173 else
4174 $as_echo "$as_me: failed program was:" >&5
4175 sed 's/^/| /' conftest.$ac_ext >&5
4177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4179 as_fn_error $? "cannot compute suffix of object files: cannot compile
4180 See \`config.log' for more details" "$LINENO" 5; }
4182 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4185 $as_echo "$ac_cv_objext" >&6; }
4186 OBJEXT=$ac_cv_objext
4187 ac_objext=$OBJEXT
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4189 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4190 if ${ac_cv_c_compiler_gnu+:} false; then :
4191 $as_echo_n "(cached) " >&6
4192 else
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4197 main ()
4199 #ifndef __GNUC__
4200 choke me
4201 #endif
4204 return 0;
4206 _ACEOF
4207 if ac_fn_c_try_compile "$LINENO"; then :
4208 ac_compiler_gnu=yes
4209 else
4210 ac_compiler_gnu=no
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4217 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4218 if test $ac_compiler_gnu = yes; then
4219 GCC=yes
4220 else
4221 GCC=
4223 ac_test_CFLAGS=${CFLAGS+set}
4224 ac_save_CFLAGS=$CFLAGS
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4226 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4227 if ${ac_cv_prog_cc_g+:} false; then :
4228 $as_echo_n "(cached) " >&6
4229 else
4230 ac_save_c_werror_flag=$ac_c_werror_flag
4231 ac_c_werror_flag=yes
4232 ac_cv_prog_cc_g=no
4233 CFLAGS="-g"
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4238 main ()
4242 return 0;
4244 _ACEOF
4245 if ac_fn_c_try_compile "$LINENO"; then :
4246 ac_cv_prog_cc_g=yes
4247 else
4248 CFLAGS=""
4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4253 main ()
4257 return 0;
4259 _ACEOF
4260 if ac_fn_c_try_compile "$LINENO"; then :
4262 else
4263 ac_c_werror_flag=$ac_save_c_werror_flag
4264 CFLAGS="-g"
4265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4269 main ()
4273 return 0;
4275 _ACEOF
4276 if ac_fn_c_try_compile "$LINENO"; then :
4277 ac_cv_prog_cc_g=yes
4279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4284 ac_c_werror_flag=$ac_save_c_werror_flag
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4287 $as_echo "$ac_cv_prog_cc_g" >&6; }
4288 if test "$ac_test_CFLAGS" = set; then
4289 CFLAGS=$ac_save_CFLAGS
4290 elif test $ac_cv_prog_cc_g = yes; then
4291 if test "$GCC" = yes; then
4292 CFLAGS="-g -O2"
4293 else
4294 CFLAGS="-g"
4296 else
4297 if test "$GCC" = yes; then
4298 CFLAGS="-O2"
4299 else
4300 CFLAGS=
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4304 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4305 if ${ac_cv_prog_cc_c89+:} false; then :
4306 $as_echo_n "(cached) " >&6
4307 else
4308 ac_cv_prog_cc_c89=no
4309 ac_save_CC=$CC
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4312 #include <stdarg.h>
4313 #include <stdio.h>
4314 struct stat;
4315 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4316 struct buf { int x; };
4317 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4318 static char *e (p, i)
4319 char **p;
4320 int i;
4322 return p[i];
4324 static char *f (char * (*g) (char **, int), char **p, ...)
4326 char *s;
4327 va_list v;
4328 va_start (v,p);
4329 s = g (p, va_arg (v,int));
4330 va_end (v);
4331 return s;
4334 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4335 function prototypes and stuff, but not '\xHH' hex character constants.
4336 These don't provoke an error unfortunately, instead are silently treated
4337 as 'x'. The following induces an error, until -std is added to get
4338 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4339 array size at least. It's necessary to write '\x00'==0 to get something
4340 that's true only with -std. */
4341 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4343 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4344 inside strings and character constants. */
4345 #define FOO(x) 'x'
4346 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4348 int test (int i, double x);
4349 struct s1 {int (*f) (int a);};
4350 struct s2 {int (*f) (double a);};
4351 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4352 int argc;
4353 char **argv;
4355 main ()
4357 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4359 return 0;
4361 _ACEOF
4362 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4363 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4365 CC="$ac_save_CC $ac_arg"
4366 if ac_fn_c_try_compile "$LINENO"; then :
4367 ac_cv_prog_cc_c89=$ac_arg
4369 rm -f core conftest.err conftest.$ac_objext
4370 test "x$ac_cv_prog_cc_c89" != "xno" && break
4371 done
4372 rm -f conftest.$ac_ext
4373 CC=$ac_save_CC
4376 # AC_CACHE_VAL
4377 case "x$ac_cv_prog_cc_c89" in
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4380 $as_echo "none needed" >&6; } ;;
4381 xno)
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4383 $as_echo "unsupported" >&6; } ;;
4385 CC="$CC $ac_cv_prog_cc_c89"
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4387 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4388 esac
4389 if test "x$ac_cv_prog_cc_c89" != xno; then :
4393 ac_ext=c
4394 ac_cpp='$CPP $CPPFLAGS'
4395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4399 ac_ext=cpp
4400 ac_cpp='$CXXCPP $CPPFLAGS'
4401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4404 if test -z "$CXX"; then
4405 if test -n "$CCC"; then
4406 CXX=$CCC
4407 else
4408 if test -n "$ac_tool_prefix"; then
4409 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4411 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4412 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4414 $as_echo_n "checking for $ac_word... " >&6; }
4415 if ${ac_cv_prog_CXX+:} false; then :
4416 $as_echo_n "(cached) " >&6
4417 else
4418 if test -n "$CXX"; then
4419 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4420 else
4421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4422 for as_dir in $PATH
4424 IFS=$as_save_IFS
4425 test -z "$as_dir" && as_dir=.
4426 for ac_exec_ext in '' $ac_executable_extensions; do
4427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4428 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4430 break 2
4432 done
4433 done
4434 IFS=$as_save_IFS
4438 CXX=$ac_cv_prog_CXX
4439 if test -n "$CXX"; then
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4441 $as_echo "$CXX" >&6; }
4442 else
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4444 $as_echo "no" >&6; }
4448 test -n "$CXX" && break
4449 done
4451 if test -z "$CXX"; then
4452 ac_ct_CXX=$CXX
4453 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4455 # Extract the first word of "$ac_prog", so it can be a program name with args.
4456 set dummy $ac_prog; ac_word=$2
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4458 $as_echo_n "checking for $ac_word... " >&6; }
4459 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4460 $as_echo_n "(cached) " >&6
4461 else
4462 if test -n "$ac_ct_CXX"; then
4463 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4464 else
4465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466 for as_dir in $PATH
4468 IFS=$as_save_IFS
4469 test -z "$as_dir" && as_dir=.
4470 for ac_exec_ext in '' $ac_executable_extensions; do
4471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4472 ac_cv_prog_ac_ct_CXX="$ac_prog"
4473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4474 break 2
4476 done
4477 done
4478 IFS=$as_save_IFS
4482 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4483 if test -n "$ac_ct_CXX"; then
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4485 $as_echo "$ac_ct_CXX" >&6; }
4486 else
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4488 $as_echo "no" >&6; }
4492 test -n "$ac_ct_CXX" && break
4493 done
4495 if test "x$ac_ct_CXX" = x; then
4496 CXX="g++"
4497 else
4498 case $cross_compiling:$ac_tool_warned in
4499 yes:)
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4502 ac_tool_warned=yes ;;
4503 esac
4504 CXX=$ac_ct_CXX
4510 # Provide some information about the compiler.
4511 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4512 set X $ac_compile
4513 ac_compiler=$2
4514 for ac_option in --version -v -V -qversion; do
4515 { { ac_try="$ac_compiler $ac_option >&5"
4516 case "(($ac_try" in
4517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4518 *) ac_try_echo=$ac_try;;
4519 esac
4520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4521 $as_echo "$ac_try_echo"; } >&5
4522 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4523 ac_status=$?
4524 if test -s conftest.err; then
4525 sed '10a\
4526 ... rest of stderr output deleted ...
4527 10q' conftest.err >conftest.er1
4528 cat conftest.er1 >&5
4530 rm -f conftest.er1 conftest.err
4531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4532 test $ac_status = 0; }
4533 done
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4536 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4537 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4538 $as_echo_n "(cached) " >&6
4539 else
4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4544 main ()
4546 #ifndef __GNUC__
4547 choke me
4548 #endif
4551 return 0;
4553 _ACEOF
4554 if ac_fn_cxx_try_compile "$LINENO"; then :
4555 ac_compiler_gnu=yes
4556 else
4557 ac_compiler_gnu=no
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4564 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4565 if test $ac_compiler_gnu = yes; then
4566 GXX=yes
4567 else
4568 GXX=
4570 ac_test_CXXFLAGS=${CXXFLAGS+set}
4571 ac_save_CXXFLAGS=$CXXFLAGS
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4573 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4574 if ${ac_cv_prog_cxx_g+:} false; then :
4575 $as_echo_n "(cached) " >&6
4576 else
4577 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4578 ac_cxx_werror_flag=yes
4579 ac_cv_prog_cxx_g=no
4580 CXXFLAGS="-g"
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4585 main ()
4589 return 0;
4591 _ACEOF
4592 if ac_fn_cxx_try_compile "$LINENO"; then :
4593 ac_cv_prog_cxx_g=yes
4594 else
4595 CXXFLAGS=""
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4600 main ()
4604 return 0;
4606 _ACEOF
4607 if ac_fn_cxx_try_compile "$LINENO"; then :
4609 else
4610 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4611 CXXFLAGS="-g"
4612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4616 main ()
4620 return 0;
4622 _ACEOF
4623 if ac_fn_cxx_try_compile "$LINENO"; then :
4624 ac_cv_prog_cxx_g=yes
4626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4631 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4634 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4635 if test "$ac_test_CXXFLAGS" = set; then
4636 CXXFLAGS=$ac_save_CXXFLAGS
4637 elif test $ac_cv_prog_cxx_g = yes; then
4638 if test "$GXX" = yes; then
4639 CXXFLAGS="-g -O2"
4640 else
4641 CXXFLAGS="-g"
4643 else
4644 if test "$GXX" = yes; then
4645 CXXFLAGS="-O2"
4646 else
4647 CXXFLAGS=
4650 ac_ext=c
4651 ac_cpp='$CPP $CPPFLAGS'
4652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4656 if test -n "$ac_tool_prefix"; then
4657 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4658 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if ${ac_cv_prog_CPPBIN+:} false; then :
4662 $as_echo_n "(cached) " >&6
4663 else
4664 if test -n "$CPPBIN"; then
4665 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4666 else
4667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4668 for as_dir in $PATH
4670 IFS=$as_save_IFS
4671 test -z "$as_dir" && as_dir=.
4672 for ac_exec_ext in '' $ac_executable_extensions; do
4673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4674 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 break 2
4678 done
4679 done
4680 IFS=$as_save_IFS
4684 CPPBIN=$ac_cv_prog_CPPBIN
4685 if test -n "$CPPBIN"; then
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4687 $as_echo "$CPPBIN" >&6; }
4688 else
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4695 if test -z "$ac_cv_prog_CPPBIN"; then
4696 ac_ct_CPPBIN=$CPPBIN
4697 # Extract the first word of "cpp", so it can be a program name with args.
4698 set dummy cpp; ac_word=$2
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700 $as_echo_n "checking for $ac_word... " >&6; }
4701 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4702 $as_echo_n "(cached) " >&6
4703 else
4704 if test -n "$ac_ct_CPPBIN"; then
4705 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4706 else
4707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4708 for as_dir in $PATH
4710 IFS=$as_save_IFS
4711 test -z "$as_dir" && as_dir=.
4712 for ac_exec_ext in '' $ac_executable_extensions; do
4713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4714 ac_cv_prog_ac_ct_CPPBIN="cpp"
4715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4716 break 2
4718 done
4719 done
4720 IFS=$as_save_IFS
4724 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4725 if test -n "$ac_ct_CPPBIN"; then
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4727 $as_echo "$ac_ct_CPPBIN" >&6; }
4728 else
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4730 $as_echo "no" >&6; }
4733 if test "x$ac_ct_CPPBIN" = x; then
4734 CPPBIN="cpp"
4735 else
4736 case $cross_compiling:$ac_tool_warned in
4737 yes:)
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4740 ac_tool_warned=yes ;;
4741 esac
4742 CPPBIN=$ac_ct_CPPBIN
4744 else
4745 CPPBIN="$ac_cv_prog_CPPBIN"
4749 cat >>confdefs.h <<_ACEOF
4750 #define EXEEXT "$ac_exeext"
4751 _ACEOF
4753 if test -n "$ac_tool_prefix"; then
4754 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4755 set dummy ${ac_tool_prefix}ld; ac_word=$2
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 $as_echo_n "checking for $ac_word... " >&6; }
4758 if ${ac_cv_prog_LD+:} false; then :
4759 $as_echo_n "(cached) " >&6
4760 else
4761 if test -n "$LD"; then
4762 ac_cv_prog_LD="$LD" # Let the user override the test.
4763 else
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4765 for as_dir in $PATH
4767 IFS=$as_save_IFS
4768 test -z "$as_dir" && as_dir=.
4769 for ac_exec_ext in '' $ac_executable_extensions; do
4770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4771 ac_cv_prog_LD="${ac_tool_prefix}ld"
4772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4773 break 2
4775 done
4776 done
4777 IFS=$as_save_IFS
4781 LD=$ac_cv_prog_LD
4782 if test -n "$LD"; then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4784 $as_echo "$LD" >&6; }
4785 else
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4792 if test -z "$ac_cv_prog_LD"; then
4793 ac_ct_LD=$LD
4794 # Extract the first word of "ld", so it can be a program name with args.
4795 set dummy ld; ac_word=$2
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797 $as_echo_n "checking for $ac_word... " >&6; }
4798 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4799 $as_echo_n "(cached) " >&6
4800 else
4801 if test -n "$ac_ct_LD"; then
4802 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4803 else
4804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4805 for as_dir in $PATH
4807 IFS=$as_save_IFS
4808 test -z "$as_dir" && as_dir=.
4809 for ac_exec_ext in '' $ac_executable_extensions; do
4810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4811 ac_cv_prog_ac_ct_LD="ld"
4812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4813 break 2
4815 done
4816 done
4817 IFS=$as_save_IFS
4821 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4822 if test -n "$ac_ct_LD"; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4824 $as_echo "$ac_ct_LD" >&6; }
4825 else
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4830 if test "x$ac_ct_LD" = x; then
4831 LD=""
4832 else
4833 case $cross_compiling:$ac_tool_warned in
4834 yes:)
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4837 ac_tool_warned=yes ;;
4838 esac
4839 LD=$ac_ct_LD
4841 else
4842 LD="$ac_cv_prog_LD"
4846 case $host in
4847 *-darwin*)
4848 if test "x$enable_win64" = "xyes"
4849 then
4850 CC="$CC -m64"
4851 CXX="$CXX -m64"
4852 host_cpu="x86_64"
4853 notice_platform="64-bit "
4854 TARGETFLAGS="-m64"
4856 else
4857 CC="$CC -m32"
4858 CXX="$CXX -m32"
4859 host_cpu="i386"
4860 notice_platform="32-bit "
4861 TARGETFLAGS="-m32"
4863 enable_win16=${enable_win16:-yes}
4865 with_fontconfig=${with_fontconfig:-no}
4867 x86_64*|amd64*)
4868 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4869 then
4870 CC="$CC -m32"
4871 CXX="$CXX -m32"
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4873 $as_echo_n "checking whether $CC works... " >&6; }
4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4879 main ()
4883 return 0;
4885 _ACEOF
4886 if ac_fn_c_try_link "$LINENO"; then :
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4888 $as_echo "yes" >&6; }
4889 else
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4891 $as_echo "no" >&6; }
4892 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4894 rm -f core conftest.err conftest.$ac_objext \
4895 conftest$ac_exeext conftest.$ac_ext
4896 host_cpu="i386"
4897 notice_platform="32-bit "
4898 TARGETFLAGS="-m32"
4900 enable_win16=${enable_win16:-yes}
4901 else
4902 if test "x${GCC}" = "xyes"
4903 then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4905 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4907 /* end confdefs.h. */
4908 #include <stdarg.h>
4910 main ()
4912 void func(__builtin_ms_va_list *args);
4914 return 0;
4916 _ACEOF
4917 if ac_fn_c_try_compile "$LINENO"; then :
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4919 $as_echo "yes" >&6; }
4920 else
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922 $as_echo "no" >&6; }
4923 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4927 host_cpu="x86_64"
4928 TARGETFLAGS="-m64"
4932 arm*)
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4934 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h. */
4937 int ac_test(int i) { return i; }
4939 main ()
4941 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4943 return 0;
4945 _ACEOF
4946 if ac_fn_c_try_link "$LINENO"; then :
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4948 $as_echo "yes" >&6; }
4949 else
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4952 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4954 rm -f core conftest.err conftest.$ac_objext \
4955 conftest$ac_exeext conftest.$ac_ext
4956 CFLAGS="$CFLAGS -marm"
4957 TARGETFLAGS="-marm"
4960 *-mingw32*|*-cygwin*)
4961 enable_win16=${enable_win16:-no}
4962 CFLAGS="$CFLAGS -D_WIN32"
4964 i[3456789]86*)
4965 enable_win16=${enable_win16:-yes}
4967 esac
4969 enable_win16=${enable_win16:-no}
4970 enable_win64=${enable_win64:-no}
4972 enable_winetest=${enable_winetest:-$enable_tests}
4974 if test -n "$with_wine64"
4975 then
4976 if test "x$enable_win64" = "xyes"
4977 then
4978 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4979 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4981 enable_fonts=${enable_fonts:-no}
4982 enable_server=${enable_server:-no}
4983 elif test "x$enable_win64" = "xyes"
4984 then
4985 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4989 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4990 if ${wine_cv_toolsdir+:} false; then :
4991 $as_echo_n "(cached) " >&6
4992 else
4993 wine_cv_toolsdir="$with_wine_tools"
4994 if test -z "$with_wine_tools"; then
4995 if test "$cross_compiling" = "yes"; then
4996 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4997 elif test -n "$with_wine64"; then
4998 wine_cv_toolsdir="$with_wine64"
5001 if test -z "$wine_cv_toolsdir"; then
5002 wine_makedep=tools/makedep
5003 wine_cv_toolsdir="\$(top_builddir)"
5004 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5005 wine_makedep=$wine_cv_toolsdir/tools/makedep
5006 case "$wine_cv_toolsdir" in
5007 /*) ;;
5008 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5009 esac
5010 enable_tools=${enable_tools:-no}
5011 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5012 else
5013 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5017 $as_echo "$wine_cv_toolsdir" >&6; }
5018 TOOLSDIR=$wine_cv_toolsdir
5020 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5021 then
5022 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5026 for ac_prog in flex
5028 # Extract the first word of "$ac_prog", so it can be a program name with args.
5029 set dummy $ac_prog; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if ${ac_cv_prog_FLEX+:} false; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$FLEX"; then
5036 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_FLEX="$ac_prog"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5051 IFS=$as_save_IFS
5055 FLEX=$ac_cv_prog_FLEX
5056 if test -n "$FLEX"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5058 $as_echo "$FLEX" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5065 test -n "$FLEX" && break
5066 done
5067 test -n "$FLEX" || FLEX="none"
5069 if test "$FLEX" = "none"
5070 then
5071 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5074 $as_echo_n "checking whether flex is recent enough... " >&6; }
5075 cat >conftest.l <<EOF
5076 %top{
5077 #include "prediluvian.h"
5081 if $FLEX -t conftest.l >/dev/null 2>&5
5082 then
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5084 $as_echo "yes" >&6; }
5085 else
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5088 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5091 for ac_prog in bison
5093 # Extract the first word of "$ac_prog", so it can be a program name with args.
5094 set dummy $ac_prog; ac_word=$2
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5096 $as_echo_n "checking for $ac_word... " >&6; }
5097 if ${ac_cv_prog_BISON+:} false; then :
5098 $as_echo_n "(cached) " >&6
5099 else
5100 if test -n "$BISON"; then
5101 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5102 else
5103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5104 for as_dir in $PATH
5106 IFS=$as_save_IFS
5107 test -z "$as_dir" && as_dir=.
5108 for ac_exec_ext in '' $ac_executable_extensions; do
5109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5110 ac_cv_prog_BISON="$ac_prog"
5111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112 break 2
5114 done
5115 done
5116 IFS=$as_save_IFS
5120 BISON=$ac_cv_prog_BISON
5121 if test -n "$BISON"; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5123 $as_echo "$BISON" >&6; }
5124 else
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5126 $as_echo "no" >&6; }
5130 test -n "$BISON" && break
5131 done
5132 test -n "$BISON" || BISON="none"
5134 if test "$BISON" = "none"
5135 then
5136 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5139 if test -n "$ac_tool_prefix"; then
5140 for ac_prog in ar gar
5142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5143 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5145 $as_echo_n "checking for $ac_word... " >&6; }
5146 if ${ac_cv_prog_AR+:} false; then :
5147 $as_echo_n "(cached) " >&6
5148 else
5149 if test -n "$AR"; then
5150 ac_cv_prog_AR="$AR" # Let the user override the test.
5151 else
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 for as_dir in $PATH
5155 IFS=$as_save_IFS
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5159 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 break 2
5163 done
5164 done
5165 IFS=$as_save_IFS
5169 AR=$ac_cv_prog_AR
5170 if test -n "$AR"; then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5172 $as_echo "$AR" >&6; }
5173 else
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5179 test -n "$AR" && break
5180 done
5182 if test -z "$AR"; then
5183 ac_ct_AR=$AR
5184 for ac_prog in ar gar
5186 # Extract the first word of "$ac_prog", so it can be a program name with args.
5187 set dummy $ac_prog; ac_word=$2
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5189 $as_echo_n "checking for $ac_word... " >&6; }
5190 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5191 $as_echo_n "(cached) " >&6
5192 else
5193 if test -n "$ac_ct_AR"; then
5194 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5195 else
5196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5197 for as_dir in $PATH
5199 IFS=$as_save_IFS
5200 test -z "$as_dir" && as_dir=.
5201 for ac_exec_ext in '' $ac_executable_extensions; do
5202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5203 ac_cv_prog_ac_ct_AR="$ac_prog"
5204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 break 2
5207 done
5208 done
5209 IFS=$as_save_IFS
5213 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5214 if test -n "$ac_ct_AR"; then
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5216 $as_echo "$ac_ct_AR" >&6; }
5217 else
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5219 $as_echo "no" >&6; }
5223 test -n "$ac_ct_AR" && break
5224 done
5226 if test "x$ac_ct_AR" = x; then
5227 AR="ar"
5228 else
5229 case $cross_compiling:$ac_tool_warned in
5230 yes:)
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5233 ac_tool_warned=yes ;;
5234 esac
5235 AR=$ac_ct_AR
5239 if test -n "$ac_tool_prefix"; then
5240 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5241 set dummy ${ac_tool_prefix}strip; ac_word=$2
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5243 $as_echo_n "checking for $ac_word... " >&6; }
5244 if ${ac_cv_prog_STRIP+:} false; then :
5245 $as_echo_n "(cached) " >&6
5246 else
5247 if test -n "$STRIP"; then
5248 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5249 else
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH
5253 IFS=$as_save_IFS
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5257 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 break 2
5261 done
5262 done
5263 IFS=$as_save_IFS
5267 STRIP=$ac_cv_prog_STRIP
5268 if test -n "$STRIP"; then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5270 $as_echo "$STRIP" >&6; }
5271 else
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273 $as_echo "no" >&6; }
5278 if test -z "$ac_cv_prog_STRIP"; then
5279 ac_ct_STRIP=$STRIP
5280 # Extract the first word of "strip", so it can be a program name with args.
5281 set dummy strip; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5285 $as_echo_n "(cached) " >&6
5286 else
5287 if test -n "$ac_ct_STRIP"; then
5288 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5293 IFS=$as_save_IFS
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5297 ac_cv_prog_ac_ct_STRIP="strip"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 break 2
5301 done
5302 done
5303 IFS=$as_save_IFS
5307 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5308 if test -n "$ac_ct_STRIP"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5310 $as_echo "$ac_ct_STRIP" >&6; }
5311 else
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5316 if test "x$ac_ct_STRIP" = x; then
5317 STRIP="strip"
5318 else
5319 case $cross_compiling:$ac_tool_warned in
5320 yes:)
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5323 ac_tool_warned=yes ;;
5324 esac
5325 STRIP=$ac_ct_STRIP
5327 else
5328 STRIP="$ac_cv_prog_STRIP"
5331 ARFLAGS=rc
5333 if test -n "$ac_tool_prefix"; then
5334 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5335 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5337 $as_echo_n "checking for $ac_word... " >&6; }
5338 if ${ac_cv_prog_RANLIB+:} false; then :
5339 $as_echo_n "(cached) " >&6
5340 else
5341 if test -n "$RANLIB"; then
5342 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5343 else
5344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 for as_dir in $PATH
5347 IFS=$as_save_IFS
5348 test -z "$as_dir" && as_dir=.
5349 for ac_exec_ext in '' $ac_executable_extensions; do
5350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5351 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5353 break 2
5355 done
5356 done
5357 IFS=$as_save_IFS
5361 RANLIB=$ac_cv_prog_RANLIB
5362 if test -n "$RANLIB"; then
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5364 $as_echo "$RANLIB" >&6; }
5365 else
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5367 $as_echo "no" >&6; }
5372 if test -z "$ac_cv_prog_RANLIB"; then
5373 ac_ct_RANLIB=$RANLIB
5374 # Extract the first word of "ranlib", so it can be a program name with args.
5375 set dummy ranlib; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5379 $as_echo_n "(cached) " >&6
5380 else
5381 if test -n "$ac_ct_RANLIB"; then
5382 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5383 else
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $PATH
5387 IFS=$as_save_IFS
5388 test -z "$as_dir" && as_dir=.
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5391 ac_cv_prog_ac_ct_RANLIB="ranlib"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 break 2
5395 done
5396 done
5397 IFS=$as_save_IFS
5401 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5402 if test -n "$ac_ct_RANLIB"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5404 $as_echo "$ac_ct_RANLIB" >&6; }
5405 else
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5410 if test "x$ac_ct_RANLIB" = x; then
5411 RANLIB=":"
5412 else
5413 case $cross_compiling:$ac_tool_warned in
5414 yes:)
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5417 ac_tool_warned=yes ;;
5418 esac
5419 RANLIB=$ac_ct_RANLIB
5421 else
5422 RANLIB="$ac_cv_prog_RANLIB"
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5426 $as_echo_n "checking whether ln -s works... " >&6; }
5427 LN_S=$as_ln_s
5428 if test "$LN_S" = "ln -s"; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5430 $as_echo "yes" >&6; }
5431 else
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5433 $as_echo "no, using $LN_S" >&6; }
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5437 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5438 if ${ac_cv_path_GREP+:} false; then :
5439 $as_echo_n "(cached) " >&6
5440 else
5441 if test -z "$GREP"; then
5442 ac_path_GREP_found=false
5443 # Loop through the user's path and test for each of PROGNAME-LIST
5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5445 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5447 IFS=$as_save_IFS
5448 test -z "$as_dir" && as_dir=.
5449 for ac_prog in grep ggrep; do
5450 for ac_exec_ext in '' $ac_executable_extensions; do
5451 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5452 as_fn_executable_p "$ac_path_GREP" || continue
5453 # Check for GNU ac_path_GREP and select it if it is found.
5454 # Check for GNU $ac_path_GREP
5455 case `"$ac_path_GREP" --version 2>&1` in
5456 *GNU*)
5457 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5459 ac_count=0
5460 $as_echo_n 0123456789 >"conftest.in"
5461 while :
5463 cat "conftest.in" "conftest.in" >"conftest.tmp"
5464 mv "conftest.tmp" "conftest.in"
5465 cp "conftest.in" "conftest.nl"
5466 $as_echo 'GREP' >> "conftest.nl"
5467 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5468 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5469 as_fn_arith $ac_count + 1 && ac_count=$as_val
5470 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5471 # Best one so far, save it but keep looking for a better one
5472 ac_cv_path_GREP="$ac_path_GREP"
5473 ac_path_GREP_max=$ac_count
5475 # 10*(2^10) chars as input seems more than enough
5476 test $ac_count -gt 10 && break
5477 done
5478 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5479 esac
5481 $ac_path_GREP_found && break 3
5482 done
5483 done
5484 done
5485 IFS=$as_save_IFS
5486 if test -z "$ac_cv_path_GREP"; then
5487 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5489 else
5490 ac_cv_path_GREP=$GREP
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5495 $as_echo "$ac_cv_path_GREP" >&6; }
5496 GREP="$ac_cv_path_GREP"
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5500 $as_echo_n "checking for egrep... " >&6; }
5501 if ${ac_cv_path_EGREP+:} false; then :
5502 $as_echo_n "(cached) " >&6
5503 else
5504 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5505 then ac_cv_path_EGREP="$GREP -E"
5506 else
5507 if test -z "$EGREP"; then
5508 ac_path_EGREP_found=false
5509 # Loop through the user's path and test for each of PROGNAME-LIST
5510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5513 IFS=$as_save_IFS
5514 test -z "$as_dir" && as_dir=.
5515 for ac_prog in egrep; do
5516 for ac_exec_ext in '' $ac_executable_extensions; do
5517 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5518 as_fn_executable_p "$ac_path_EGREP" || continue
5519 # Check for GNU ac_path_EGREP and select it if it is found.
5520 # Check for GNU $ac_path_EGREP
5521 case `"$ac_path_EGREP" --version 2>&1` in
5522 *GNU*)
5523 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5525 ac_count=0
5526 $as_echo_n 0123456789 >"conftest.in"
5527 while :
5529 cat "conftest.in" "conftest.in" >"conftest.tmp"
5530 mv "conftest.tmp" "conftest.in"
5531 cp "conftest.in" "conftest.nl"
5532 $as_echo 'EGREP' >> "conftest.nl"
5533 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5534 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5535 as_fn_arith $ac_count + 1 && ac_count=$as_val
5536 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5537 # Best one so far, save it but keep looking for a better one
5538 ac_cv_path_EGREP="$ac_path_EGREP"
5539 ac_path_EGREP_max=$ac_count
5541 # 10*(2^10) chars as input seems more than enough
5542 test $ac_count -gt 10 && break
5543 done
5544 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5545 esac
5547 $ac_path_EGREP_found && break 3
5548 done
5549 done
5550 done
5551 IFS=$as_save_IFS
5552 if test -z "$ac_cv_path_EGREP"; then
5553 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5555 else
5556 ac_cv_path_EGREP=$EGREP
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5562 $as_echo "$ac_cv_path_EGREP" >&6; }
5563 EGREP="$ac_cv_path_EGREP"
5566 # Extract the first word of "ldconfig", so it can be a program name with args.
5567 set dummy ldconfig; ac_word=$2
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5569 $as_echo_n "checking for $ac_word... " >&6; }
5570 if ${ac_cv_path_LDCONFIG+:} false; then :
5571 $as_echo_n "(cached) " >&6
5572 else
5573 case $LDCONFIG in
5574 [\\/]* | ?:[\\/]*)
5575 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5579 for as_dir in /sbin /usr/sbin $PATH
5581 IFS=$as_save_IFS
5582 test -z "$as_dir" && as_dir=.
5583 for ac_exec_ext in '' $ac_executable_extensions; do
5584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5585 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 break 2
5589 done
5590 done
5591 IFS=$as_save_IFS
5593 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5595 esac
5597 LDCONFIG=$ac_cv_path_LDCONFIG
5598 if test -n "$LDCONFIG"; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5600 $as_echo "$LDCONFIG" >&6; }
5601 else
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603 $as_echo "no" >&6; }
5607 for ac_prog in msgfmt
5609 # Extract the first word of "$ac_prog", so it can be a program name with args.
5610 set dummy $ac_prog; ac_word=$2
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5612 $as_echo_n "checking for $ac_word... " >&6; }
5613 if ${ac_cv_prog_MSGFMT+:} false; then :
5614 $as_echo_n "(cached) " >&6
5615 else
5616 if test -n "$MSGFMT"; then
5617 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5618 else
5619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5620 for as_dir in $PATH
5622 IFS=$as_save_IFS
5623 test -z "$as_dir" && as_dir=.
5624 for ac_exec_ext in '' $ac_executable_extensions; do
5625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5626 ac_cv_prog_MSGFMT="$ac_prog"
5627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 break 2
5630 done
5631 done
5632 IFS=$as_save_IFS
5636 MSGFMT=$ac_cv_prog_MSGFMT
5637 if test -n "$MSGFMT"; then
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5639 $as_echo "$MSGFMT" >&6; }
5640 else
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 $as_echo "no" >&6; }
5646 test -n "$MSGFMT" && break
5647 done
5648 test -n "$MSGFMT" || MSGFMT="false"
5650 if ${ac_tool_prefix+:} false; then :
5651 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5652 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654 $as_echo_n "checking for $ac_word... " >&6; }
5655 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5656 $as_echo_n "(cached) " >&6
5657 else
5658 if test -n "$PKG_CONFIG"; then
5659 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5660 else
5661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5662 for as_dir in $PATH
5664 IFS=$as_save_IFS
5665 test -z "$as_dir" && as_dir=.
5666 for ac_exec_ext in '' $ac_executable_extensions; do
5667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5668 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5670 break 2
5672 done
5673 done
5674 IFS=$as_save_IFS
5678 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5679 if test -n "$PKG_CONFIG"; then
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5681 $as_echo "$PKG_CONFIG" >&6; }
5682 else
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5684 $as_echo "no" >&6; }
5689 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5690 if test "x$cross_compiling" = xyes; then :
5692 else
5693 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5694 # Extract the first word of "pkg-config", so it can be a program name with args.
5695 set dummy pkg-config; ac_word=$2
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5697 $as_echo_n "checking for $ac_word... " >&6; }
5698 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5699 $as_echo_n "(cached) " >&6
5700 else
5701 if test -n "$PKG_CONFIG"; then
5702 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5703 else
5704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5705 for as_dir in $PATH
5707 IFS=$as_save_IFS
5708 test -z "$as_dir" && as_dir=.
5709 for ac_exec_ext in '' $ac_executable_extensions; do
5710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5711 ac_cv_prog_PKG_CONFIG="pkg-config"
5712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 break 2
5715 done
5716 done
5717 IFS=$as_save_IFS
5721 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5722 if test -n "$PKG_CONFIG"; then
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5724 $as_echo "$PKG_CONFIG" >&6; }
5725 else
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5727 $as_echo "no" >&6; }
5732 else
5733 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5736 if test "x$enable_maintainer_mode" != "xyes"
5737 then
5738 FONTFORGE=""
5739 RSVG=""
5740 CONVERT=""
5741 ICOTOOL=""
5742 else
5743 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5744 for ac_prog in fontforge
5746 # Extract the first word of "$ac_prog", so it can be a program name with args.
5747 set dummy $ac_prog; ac_word=$2
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749 $as_echo_n "checking for $ac_word... " >&6; }
5750 if ${ac_cv_prog_FONTFORGE+:} false; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if test -n "$FONTFORGE"; then
5754 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5755 else
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 for as_dir in $PATH
5759 IFS=$as_save_IFS
5760 test -z "$as_dir" && as_dir=.
5761 for ac_exec_ext in '' $ac_executable_extensions; do
5762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5763 ac_cv_prog_FONTFORGE="$ac_prog"
5764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 break 2
5767 done
5768 done
5769 IFS=$as_save_IFS
5773 FONTFORGE=$ac_cv_prog_FONTFORGE
5774 if test -n "$FONTFORGE"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5776 $as_echo "$FONTFORGE" >&6; }
5777 else
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779 $as_echo "no" >&6; }
5783 test -n "$FONTFORGE" && break
5784 done
5785 test -n "$FONTFORGE" || FONTFORGE="false"
5787 for ac_prog in rsvg-convert rsvg
5789 # Extract the first word of "$ac_prog", so it can be a program name with args.
5790 set dummy $ac_prog; ac_word=$2
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792 $as_echo_n "checking for $ac_word... " >&6; }
5793 if ${ac_cv_prog_RSVG+:} false; then :
5794 $as_echo_n "(cached) " >&6
5795 else
5796 if test -n "$RSVG"; then
5797 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5798 else
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 for as_dir in $PATH
5802 IFS=$as_save_IFS
5803 test -z "$as_dir" && as_dir=.
5804 for ac_exec_ext in '' $ac_executable_extensions; do
5805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5806 ac_cv_prog_RSVG="$ac_prog"
5807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808 break 2
5810 done
5811 done
5812 IFS=$as_save_IFS
5816 RSVG=$ac_cv_prog_RSVG
5817 if test -n "$RSVG"; then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5819 $as_echo "$RSVG" >&6; }
5820 else
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822 $as_echo "no" >&6; }
5826 test -n "$RSVG" && break
5827 done
5828 test -n "$RSVG" || RSVG="false"
5830 for ac_prog in convert
5832 # Extract the first word of "$ac_prog", so it can be a program name with args.
5833 set dummy $ac_prog; ac_word=$2
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5835 $as_echo_n "checking for $ac_word... " >&6; }
5836 if ${ac_cv_prog_CONVERT+:} false; then :
5837 $as_echo_n "(cached) " >&6
5838 else
5839 if test -n "$CONVERT"; then
5840 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5841 else
5842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5843 for as_dir in $PATH
5845 IFS=$as_save_IFS
5846 test -z "$as_dir" && as_dir=.
5847 for ac_exec_ext in '' $ac_executable_extensions; do
5848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5849 ac_cv_prog_CONVERT="$ac_prog"
5850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5851 break 2
5853 done
5854 done
5855 IFS=$as_save_IFS
5859 CONVERT=$ac_cv_prog_CONVERT
5860 if test -n "$CONVERT"; then
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5862 $as_echo "$CONVERT" >&6; }
5863 else
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5865 $as_echo "no" >&6; }
5869 test -n "$CONVERT" && break
5870 done
5871 test -n "$CONVERT" || CONVERT="false"
5873 for ac_prog in icotool
5875 # Extract the first word of "$ac_prog", so it can be a program name with args.
5876 set dummy $ac_prog; ac_word=$2
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5878 $as_echo_n "checking for $ac_word... " >&6; }
5879 if ${ac_cv_prog_ICOTOOL+:} false; then :
5880 $as_echo_n "(cached) " >&6
5881 else
5882 if test -n "$ICOTOOL"; then
5883 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5884 else
5885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5886 for as_dir in $PATH
5888 IFS=$as_save_IFS
5889 test -z "$as_dir" && as_dir=.
5890 for ac_exec_ext in '' $ac_executable_extensions; do
5891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5892 ac_cv_prog_ICOTOOL="$ac_prog"
5893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5894 break 2
5896 done
5897 done
5898 IFS=$as_save_IFS
5902 ICOTOOL=$ac_cv_prog_ICOTOOL
5903 if test -n "$ICOTOOL"; then
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5905 $as_echo "$ICOTOOL" >&6; }
5906 else
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5908 $as_echo "no" >&6; }
5912 test -n "$ICOTOOL" && break
5913 done
5914 test -n "$ICOTOOL" || ICOTOOL="false"
5916 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5917 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5919 if test "$CONVERT" = false
5920 then
5921 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5922 else
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5924 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5925 convert_version=`convert --version | head -n1`
5926 if test "x$convert_version" != "x"
5927 then
5928 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5929 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5930 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5931 then
5932 CONVERT=false
5935 if test "$CONVERT" = false
5936 then
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5938 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5939 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5940 else
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5942 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5946 if test "$ICOTOOL" = false
5947 then
5948 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5949 else
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5951 $as_echo_n "checking for recent enough icotool... " >&6; }
5952 icotool_version=`icotool --version | head -n1`
5953 if test "x$icotool_version" != "x"
5954 then
5955 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5956 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5957 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5958 then
5959 ICOTOOL=false
5960 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5963 if test "$ICOTOOL" = false
5964 then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5966 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5967 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5968 else
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5970 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5974 with_gettext=yes
5975 with_gettextpo=yes
5976 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5979 test "x$with_gettext" != xno || MSGFMT=false
5980 if test "$MSGFMT" != "false"
5981 then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5983 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5984 cat >conftest.po <<EOF
5985 # comment
5986 msgctxt "ctxt"
5987 msgid "id"
5988 msgstr "str"
5990 if $MSGFMT -o /dev/null conftest.po 2>&5
5991 then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5993 $as_echo "yes" >&6; }
5994 else
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
5997 MSGFMT=false
6000 if test "$MSGFMT" = false; then :
6001 case "x$with_gettext" in
6002 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6003 xno) ;;
6004 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6005 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6006 esac
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6011 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6012 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6013 $as_echo_n "(cached) " >&6
6014 else
6015 ac_check_lib_save_LIBS=$LIBS
6016 LIBS="-li386 $LIBS"
6017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6018 /* end confdefs.h. */
6020 /* Override any GCC internal prototype to avoid an error.
6021 Use char because int might match the return type of a GCC
6022 builtin and then its argument prototype would still apply. */
6023 #ifdef __cplusplus
6024 extern "C"
6025 #endif
6026 char i386_set_ldt ();
6028 main ()
6030 return i386_set_ldt ();
6032 return 0;
6034 _ACEOF
6035 if ac_fn_c_try_link "$LINENO"; then :
6036 ac_cv_lib_i386_i386_set_ldt=yes
6037 else
6038 ac_cv_lib_i386_i386_set_ldt=no
6040 rm -f core conftest.err conftest.$ac_objext \
6041 conftest$ac_exeext conftest.$ac_ext
6042 LIBS=$ac_check_lib_save_LIBS
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6045 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6046 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6047 cat >>confdefs.h <<_ACEOF
6048 #define HAVE_LIBI386 1
6049 _ACEOF
6051 LIBS="-li386 $LIBS"
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6056 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6057 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6058 $as_echo_n "(cached) " >&6
6059 else
6060 ac_check_lib_save_LIBS=$LIBS
6061 LIBS="-lossaudio $LIBS"
6062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6063 /* end confdefs.h. */
6065 /* Override any GCC internal prototype to avoid an error.
6066 Use char because int might match the return type of a GCC
6067 builtin and then its argument prototype would still apply. */
6068 #ifdef __cplusplus
6069 extern "C"
6070 #endif
6071 char _oss_ioctl ();
6073 main ()
6075 return _oss_ioctl ();
6077 return 0;
6079 _ACEOF
6080 if ac_fn_c_try_link "$LINENO"; then :
6081 ac_cv_lib_ossaudio__oss_ioctl=yes
6082 else
6083 ac_cv_lib_ossaudio__oss_ioctl=no
6085 rm -f core conftest.err conftest.$ac_objext \
6086 conftest$ac_exeext conftest.$ac_ext
6087 LIBS=$ac_check_lib_save_LIBS
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6090 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6091 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6092 cat >>confdefs.h <<_ACEOF
6093 #define HAVE_LIBOSSAUDIO 1
6094 _ACEOF
6096 LIBS="-lossaudio $LIBS"
6101 OPENGL_LIBS=""
6105 # Check whether --enable-largefile was given.
6106 if test "${enable_largefile+set}" = set; then :
6107 enableval=$enable_largefile;
6110 if test "$enable_largefile" != no; then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6113 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6114 if ${ac_cv_sys_largefile_CC+:} false; then :
6115 $as_echo_n "(cached) " >&6
6116 else
6117 ac_cv_sys_largefile_CC=no
6118 if test "$GCC" != yes; then
6119 ac_save_CC=$CC
6120 while :; do
6121 # IRIX 6.2 and later do not support large files by default,
6122 # so use the C compiler's -n32 option if that helps.
6123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6124 /* end confdefs.h. */
6125 #include <sys/types.h>
6126 /* Check that off_t can represent 2**63 - 1 correctly.
6127 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6128 since some C++ compilers masquerading as C compilers
6129 incorrectly reject 9223372036854775807. */
6130 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6131 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6132 && LARGE_OFF_T % 2147483647 == 1)
6133 ? 1 : -1];
6135 main ()
6139 return 0;
6141 _ACEOF
6142 if ac_fn_c_try_compile "$LINENO"; then :
6143 break
6145 rm -f core conftest.err conftest.$ac_objext
6146 CC="$CC -n32"
6147 if ac_fn_c_try_compile "$LINENO"; then :
6148 ac_cv_sys_largefile_CC=' -n32'; break
6150 rm -f core conftest.err conftest.$ac_objext
6151 break
6152 done
6153 CC=$ac_save_CC
6154 rm -f conftest.$ac_ext
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6158 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6159 if test "$ac_cv_sys_largefile_CC" != no; then
6160 CC=$CC$ac_cv_sys_largefile_CC
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6164 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6165 if ${ac_cv_sys_file_offset_bits+:} false; then :
6166 $as_echo_n "(cached) " >&6
6167 else
6168 while :; do
6169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6170 /* end confdefs.h. */
6171 #include <sys/types.h>
6172 /* Check that off_t can represent 2**63 - 1 correctly.
6173 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6174 since some C++ compilers masquerading as C compilers
6175 incorrectly reject 9223372036854775807. */
6176 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6177 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6178 && LARGE_OFF_T % 2147483647 == 1)
6179 ? 1 : -1];
6181 main ()
6185 return 0;
6187 _ACEOF
6188 if ac_fn_c_try_compile "$LINENO"; then :
6189 ac_cv_sys_file_offset_bits=no; break
6191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6193 /* end confdefs.h. */
6194 #define _FILE_OFFSET_BITS 64
6195 #include <sys/types.h>
6196 /* Check that off_t can represent 2**63 - 1 correctly.
6197 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6198 since some C++ compilers masquerading as C compilers
6199 incorrectly reject 9223372036854775807. */
6200 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6201 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6202 && LARGE_OFF_T % 2147483647 == 1)
6203 ? 1 : -1];
6205 main ()
6209 return 0;
6211 _ACEOF
6212 if ac_fn_c_try_compile "$LINENO"; then :
6213 ac_cv_sys_file_offset_bits=64; break
6215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6216 ac_cv_sys_file_offset_bits=unknown
6217 break
6218 done
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6221 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6222 case $ac_cv_sys_file_offset_bits in #(
6223 no | unknown) ;;
6225 cat >>confdefs.h <<_ACEOF
6226 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6227 _ACEOF
6229 esac
6230 rm -rf conftest*
6231 if test $ac_cv_sys_file_offset_bits = unknown; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6233 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6234 if ${ac_cv_sys_large_files+:} false; then :
6235 $as_echo_n "(cached) " >&6
6236 else
6237 while :; do
6238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6239 /* end confdefs.h. */
6240 #include <sys/types.h>
6241 /* Check that off_t can represent 2**63 - 1 correctly.
6242 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6243 since some C++ compilers masquerading as C compilers
6244 incorrectly reject 9223372036854775807. */
6245 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6246 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6247 && LARGE_OFF_T % 2147483647 == 1)
6248 ? 1 : -1];
6250 main ()
6254 return 0;
6256 _ACEOF
6257 if ac_fn_c_try_compile "$LINENO"; then :
6258 ac_cv_sys_large_files=no; break
6260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6262 /* end confdefs.h. */
6263 #define _LARGE_FILES 1
6264 #include <sys/types.h>
6265 /* Check that off_t can represent 2**63 - 1 correctly.
6266 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6267 since some C++ compilers masquerading as C compilers
6268 incorrectly reject 9223372036854775807. */
6269 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6270 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6271 && LARGE_OFF_T % 2147483647 == 1)
6272 ? 1 : -1];
6274 main ()
6278 return 0;
6280 _ACEOF
6281 if ac_fn_c_try_compile "$LINENO"; then :
6282 ac_cv_sys_large_files=1; break
6284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6285 ac_cv_sys_large_files=unknown
6286 break
6287 done
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6290 $as_echo "$ac_cv_sys_large_files" >&6; }
6291 case $ac_cv_sys_large_files in #(
6292 no | unknown) ;;
6294 cat >>confdefs.h <<_ACEOF
6295 #define _LARGE_FILES $ac_cv_sys_large_files
6296 _ACEOF
6298 esac
6299 rm -rf conftest*
6306 ac_ext=c
6307 ac_cpp='$CPP $CPPFLAGS'
6308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6312 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6313 # On Suns, sometimes $CPP names a directory.
6314 if test -n "$CPP" && test -d "$CPP"; then
6315 CPP=
6317 if test -z "$CPP"; then
6318 if ${ac_cv_prog_CPP+:} false; then :
6319 $as_echo_n "(cached) " >&6
6320 else
6321 # Double quotes because CPP needs to be expanded
6322 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6324 ac_preproc_ok=false
6325 for ac_c_preproc_warn_flag in '' yes
6327 # Use a header file that comes with gcc, so configuring glibc
6328 # with a fresh cross-compiler works.
6329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6330 # <limits.h> exists even on freestanding compilers.
6331 # On the NeXT, cc -E runs the code through the compiler's parser,
6332 # not just through cpp. "Syntax error" is here to catch this case.
6333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6334 /* end confdefs.h. */
6335 #ifdef __STDC__
6336 # include <limits.h>
6337 #else
6338 # include <assert.h>
6339 #endif
6340 Syntax error
6341 _ACEOF
6342 if ac_fn_c_try_cpp "$LINENO"; then :
6344 else
6345 # Broken: fails on valid input.
6346 continue
6348 rm -f conftest.err conftest.i conftest.$ac_ext
6350 # OK, works on sane cases. Now check whether nonexistent headers
6351 # can be detected and how.
6352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6353 /* end confdefs.h. */
6354 #include <ac_nonexistent.h>
6355 _ACEOF
6356 if ac_fn_c_try_cpp "$LINENO"; then :
6357 # Broken: success on invalid input.
6358 continue
6359 else
6360 # Passes both tests.
6361 ac_preproc_ok=:
6362 break
6364 rm -f conftest.err conftest.i conftest.$ac_ext
6366 done
6367 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6368 rm -f conftest.i conftest.err conftest.$ac_ext
6369 if $ac_preproc_ok; then :
6370 break
6373 done
6374 ac_cv_prog_CPP=$CPP
6377 CPP=$ac_cv_prog_CPP
6378 else
6379 ac_cv_prog_CPP=$CPP
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6382 $as_echo "$CPP" >&6; }
6383 ac_preproc_ok=false
6384 for ac_c_preproc_warn_flag in '' yes
6386 # Use a header file that comes with gcc, so configuring glibc
6387 # with a fresh cross-compiler works.
6388 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6389 # <limits.h> exists even on freestanding compilers.
6390 # On the NeXT, cc -E runs the code through the compiler's parser,
6391 # not just through cpp. "Syntax error" is here to catch this case.
6392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6394 #ifdef __STDC__
6395 # include <limits.h>
6396 #else
6397 # include <assert.h>
6398 #endif
6399 Syntax error
6400 _ACEOF
6401 if ac_fn_c_try_cpp "$LINENO"; then :
6403 else
6404 # Broken: fails on valid input.
6405 continue
6407 rm -f conftest.err conftest.i conftest.$ac_ext
6409 # OK, works on sane cases. Now check whether nonexistent headers
6410 # can be detected and how.
6411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6412 /* end confdefs.h. */
6413 #include <ac_nonexistent.h>
6414 _ACEOF
6415 if ac_fn_c_try_cpp "$LINENO"; then :
6416 # Broken: success on invalid input.
6417 continue
6418 else
6419 # Passes both tests.
6420 ac_preproc_ok=:
6421 break
6423 rm -f conftest.err conftest.i conftest.$ac_ext
6425 done
6426 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6427 rm -f conftest.i conftest.err conftest.$ac_ext
6428 if $ac_preproc_ok; then :
6430 else
6431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6433 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6434 See \`config.log' for more details" "$LINENO" 5; }
6437 ac_ext=c
6438 ac_cpp='$CPP $CPPFLAGS'
6439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6445 $as_echo_n "checking for ANSI C header files... " >&6; }
6446 if ${ac_cv_header_stdc+:} false; then :
6447 $as_echo_n "(cached) " >&6
6448 else
6449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6450 /* end confdefs.h. */
6451 #include <stdlib.h>
6452 #include <stdarg.h>
6453 #include <string.h>
6454 #include <float.h>
6457 main ()
6461 return 0;
6463 _ACEOF
6464 if ac_fn_c_try_compile "$LINENO"; then :
6465 ac_cv_header_stdc=yes
6466 else
6467 ac_cv_header_stdc=no
6469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6471 if test $ac_cv_header_stdc = yes; then
6472 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6474 /* end confdefs.h. */
6475 #include <string.h>
6477 _ACEOF
6478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6479 $EGREP "memchr" >/dev/null 2>&1; then :
6481 else
6482 ac_cv_header_stdc=no
6484 rm -f conftest*
6488 if test $ac_cv_header_stdc = yes; then
6489 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6491 /* end confdefs.h. */
6492 #include <stdlib.h>
6494 _ACEOF
6495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6496 $EGREP "free" >/dev/null 2>&1; then :
6498 else
6499 ac_cv_header_stdc=no
6501 rm -f conftest*
6505 if test $ac_cv_header_stdc = yes; then
6506 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6507 if test "$cross_compiling" = yes; then :
6509 else
6510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6511 /* end confdefs.h. */
6512 #include <ctype.h>
6513 #include <stdlib.h>
6514 #if ((' ' & 0x0FF) == 0x020)
6515 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6516 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6517 #else
6518 # define ISLOWER(c) \
6519 (('a' <= (c) && (c) <= 'i') \
6520 || ('j' <= (c) && (c) <= 'r') \
6521 || ('s' <= (c) && (c) <= 'z'))
6522 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6523 #endif
6525 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6527 main ()
6529 int i;
6530 for (i = 0; i < 256; i++)
6531 if (XOR (islower (i), ISLOWER (i))
6532 || toupper (i) != TOUPPER (i))
6533 return 2;
6534 return 0;
6536 _ACEOF
6537 if ac_fn_c_try_run "$LINENO"; then :
6539 else
6540 ac_cv_header_stdc=no
6542 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6543 conftest.$ac_objext conftest.beam conftest.$ac_ext
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6549 $as_echo "$ac_cv_header_stdc" >&6; }
6550 if test $ac_cv_header_stdc = yes; then
6552 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6556 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6557 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6558 inttypes.h stdint.h unistd.h
6559 do :
6560 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6561 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6563 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6564 cat >>confdefs.h <<_ACEOF
6565 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6566 _ACEOF
6570 done
6573 for ac_header in \
6574 AL/al.h \
6575 ApplicationServices/ApplicationServices.h \
6576 AudioToolbox/AudioConverter.h \
6577 AudioUnit/AudioUnit.h \
6578 AudioUnit/AudioComponent.h \
6579 CL/cl.h \
6580 Carbon/Carbon.h \
6581 CoreAudio/CoreAudio.h \
6582 CoreServices/CoreServices.h \
6583 DiskArbitration/DiskArbitration.h \
6584 IOKit/IOKitLib.h \
6585 IOKit/hid/IOHIDLib.h \
6586 OpenAL/al.h \
6587 OpenCL/opencl.h \
6588 QuickTime/ImageCompression.h \
6589 Security/Security.h \
6590 alias.h \
6591 alsa/asoundlib.h \
6592 arpa/inet.h \
6593 arpa/nameser.h \
6594 asm/types.h \
6595 asm/user.h \
6596 curses.h \
6597 direct.h \
6598 dirent.h \
6599 dlfcn.h \
6600 elf.h \
6601 float.h \
6602 fnmatch.h \
6603 getopt.h \
6604 gettext-po.h \
6605 grp.h \
6606 gsm.h \
6607 gsm/gsm.h \
6608 ieeefp.h \
6609 inet/mib2.h \
6610 io.h \
6611 kstat.h \
6612 lber.h \
6613 ldap.h \
6614 libproc.h \
6615 link.h \
6616 linux/cdrom.h \
6617 linux/compiler.h \
6618 linux/filter.h \
6619 linux/hdreg.h \
6620 linux/input.h \
6621 linux/ioctl.h \
6622 linux/joystick.h \
6623 linux/major.h \
6624 linux/param.h \
6625 linux/serial.h \
6626 linux/types.h \
6627 linux/ucdrom.h \
6628 lwp.h \
6629 mach-o/nlist.h \
6630 mach-o/loader.h \
6631 mach/mach.h \
6632 mach/machine.h \
6633 machine/cpu.h \
6634 machine/limits.h \
6635 machine/sysarch.h \
6636 mntent.h \
6637 ncurses.h \
6638 netdb.h \
6639 netinet/in.h \
6640 netinet/in_systm.h \
6641 netinet/tcp.h \
6642 netinet/tcp_fsm.h \
6643 pcap/pcap.h \
6644 poll.h \
6645 port.h \
6646 process.h \
6647 pthread.h \
6648 pwd.h \
6649 sched.h \
6650 scsi/scsi.h \
6651 scsi/scsi_ioctl.h \
6652 scsi/sg.h \
6653 stdbool.h \
6654 stdint.h \
6655 stropts.h \
6656 sys/asoundlib.h \
6657 sys/attr.h \
6658 sys/cdio.h \
6659 sys/elf32.h \
6660 sys/epoll.h \
6661 sys/event.h \
6662 sys/exec_elf.h \
6663 sys/filio.h \
6664 sys/inotify.h \
6665 sys/ioctl.h \
6666 sys/ipc.h \
6667 sys/limits.h \
6668 sys/link.h \
6669 sys/mman.h \
6670 sys/modem.h \
6671 sys/msg.h \
6672 sys/mtio.h \
6673 sys/param.h \
6674 sys/poll.h \
6675 sys/prctl.h \
6676 sys/protosw.h \
6677 sys/ptrace.h \
6678 sys/queue.h \
6679 sys/resource.h \
6680 sys/scsiio.h \
6681 sys/shm.h \
6682 sys/signal.h \
6683 sys/socket.h \
6684 sys/socketvar.h \
6685 sys/sockio.h \
6686 sys/statvfs.h \
6687 sys/strtio.h \
6688 sys/syscall.h \
6689 sys/tihdr.h \
6690 sys/time.h \
6691 sys/timeout.h \
6692 sys/times.h \
6693 sys/uio.h \
6694 sys/user.h \
6695 sys/utsname.h \
6696 sys/vm86.h \
6697 sys/wait.h \
6698 syscall.h \
6699 termios.h \
6700 unistd.h \
6701 utime.h \
6702 valgrind/memcheck.h \
6703 valgrind/valgrind.h \
6704 zlib.h
6706 do :
6707 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6708 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6709 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6710 cat >>confdefs.h <<_ACEOF
6711 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6712 _ACEOF
6716 done
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6719 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6720 if ${ac_cv_header_stat_broken+:} false; then :
6721 $as_echo_n "(cached) " >&6
6722 else
6723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6724 /* end confdefs.h. */
6725 #include <sys/types.h>
6726 #include <sys/stat.h>
6728 #if defined S_ISBLK && defined S_IFDIR
6729 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6730 #endif
6732 #if defined S_ISBLK && defined S_IFCHR
6733 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6734 #endif
6736 #if defined S_ISLNK && defined S_IFREG
6737 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6738 #endif
6740 #if defined S_ISSOCK && defined S_IFREG
6741 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6742 #endif
6744 _ACEOF
6745 if ac_fn_c_try_compile "$LINENO"; then :
6746 ac_cv_header_stat_broken=no
6747 else
6748 ac_cv_header_stat_broken=yes
6750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6753 $as_echo "$ac_cv_header_stat_broken" >&6; }
6754 if test $ac_cv_header_stat_broken = yes; then
6756 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6762 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6763 do :
6764 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6765 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6766 #ifdef HAVE_SYS_PARAM_H
6767 # include <sys/param.h>
6768 #endif
6770 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6771 cat >>confdefs.h <<_ACEOF
6772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6773 _ACEOF
6777 done
6780 for ac_header in \
6781 netinet/ip.h \
6782 net/if.h \
6783 net/if_arp.h \
6784 net/if_dl.h \
6785 net/if_types.h \
6786 net/route.h \
6787 netinet/if_ether.h \
6788 netinet/if_inarp.h \
6789 netinet/in_pcb.h \
6790 netinet/ip_icmp.h \
6791 netinet/ip_var.h \
6792 netinet/udp.h \
6793 netipx/ipx.h \
6794 sys/un.h \
6796 do :
6797 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6798 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6799 #ifdef HAVE_SYS_SOCKET_H
6800 # include <sys/socket.h>
6801 #endif
6802 #ifdef HAVE_SYS_SOCKETVAR_H
6803 # include <sys/socketvar.h>
6804 #endif
6805 #ifdef HAVE_NET_ROUTE_H
6806 # include <net/route.h>
6807 #endif
6808 #ifdef HAVE_NETINET_IN_H
6809 # include <netinet/in.h>
6810 #endif
6811 #ifdef HAVE_NETINET_IN_SYSTM_H
6812 # include <netinet/in_systm.h>
6813 #endif
6814 #ifdef HAVE_NET_IF_H
6815 # include <net/if.h>
6816 #endif
6817 #ifdef HAVE_NETINET_IP_H
6818 # include <netinet/ip.h>
6819 #endif
6821 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6822 cat >>confdefs.h <<_ACEOF
6823 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6824 _ACEOF
6828 done
6831 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6832 do :
6833 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6834 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6835 #ifdef HAVE_ALIAS_H
6836 # include <alias.h>
6837 #endif
6838 #ifdef HAVE_SYS_SOCKET_H
6839 # include <sys/socket.h>
6840 #endif
6841 #ifdef HAVE_SYS_SOCKETVAR_H
6842 # include <sys/socketvar.h>
6843 #endif
6844 #ifdef HAVE_SYS_TIMEOUT_H
6845 # include <sys/timeout.h>
6846 #endif
6847 #ifdef HAVE_NETINET_IN_H
6848 # include <netinet/in.h>
6849 #endif
6850 #ifdef HAVE_NETINET_IN_SYSTM_H
6851 # include <netinet/in_systm.h>
6852 #endif
6853 #ifdef HAVE_NETINET_IP_H
6854 # include <netinet/ip.h>
6855 #endif
6856 #ifdef HAVE_NETINET_IP_VAR_H
6857 # include <netinet/ip_var.h>
6858 #endif
6859 #ifdef HAVE_NETINET_IP_ICMP_H
6860 # include <netinet/ip_icmp.h>
6861 #endif
6862 #ifdef HAVE_NETINET_UDP_H
6863 # include <netinet/udp.h>
6864 #endif
6865 #ifdef HAVE_NETINET_TCP_H
6866 # include <netinet/tcp.h>
6867 #endif
6868 #ifdef HAVE_NETINET_TCP_TIMER_H
6869 #include <netinet/tcp_timer.h>
6870 #endif
6872 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6873 cat >>confdefs.h <<_ACEOF
6874 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6875 _ACEOF
6879 done
6882 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6883 do :
6884 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6885 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6886 #ifdef HAVE_ASM_TYPES_H
6887 # include <asm/types.h>
6888 #endif
6889 #ifdef HAVE_SYS_SOCKET_H
6890 # include <sys/socket.h>
6891 #endif
6892 #ifdef HAVE_LINUX_TYPES_H
6893 # include <linux/types.h>
6894 #endif
6896 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6897 cat >>confdefs.h <<_ACEOF
6898 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6899 _ACEOF
6903 done
6906 for ac_header in mach-o/dyld_images.h
6907 do :
6908 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6909 # include <stdbool.h>
6910 #endif
6911 #ifdef HAVE_STDINT_H
6912 # include <stdint.h>
6913 #endif
6915 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6916 cat >>confdefs.h <<_ACEOF
6917 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6918 _ACEOF
6922 done
6925 for ac_header in resolv.h
6926 do :
6927 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6928 #ifdef HAVE_SYS_SOCKET_H
6929 # include <sys/socket.h>
6930 #endif
6931 #ifdef HAVE_NETINET_IN_H
6932 # include <netinet/in.h>
6933 #endif
6934 #ifdef HAVE_ARPA_NAMESER_H
6935 # include <arpa/nameser.h>
6936 #endif
6938 if test "x$ac_cv_header_resolv_h" = xyes; then :
6939 cat >>confdefs.h <<_ACEOF
6940 #define HAVE_RESOLV_H 1
6941 _ACEOF
6945 done
6948 for ac_header in ifaddrs.h
6949 do :
6950 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6952 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6953 cat >>confdefs.h <<_ACEOF
6954 #define HAVE_IFADDRS_H 1
6955 _ACEOF
6959 done
6962 for ac_header in sys/ucontext.h
6963 do :
6964 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6966 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6967 cat >>confdefs.h <<_ACEOF
6968 #define HAVE_SYS_UCONTEXT_H 1
6969 _ACEOF
6973 done
6976 for ac_header in sys/thr.h
6977 do :
6978 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6979 #ifdef HAVE_SYS_UCONTEXT_H
6980 #include <sys/ucontext.h>
6981 #endif
6983 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6984 cat >>confdefs.h <<_ACEOF
6985 #define HAVE_SYS_THR_H 1
6986 _ACEOF
6990 done
6993 for ac_header in pthread_np.h
6994 do :
6995 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6996 #include <pthread.h>
6997 #endif
6999 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7000 cat >>confdefs.h <<_ACEOF
7001 #define HAVE_PTHREAD_NP_H 1
7002 _ACEOF
7006 done
7009 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7010 do :
7011 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7012 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7013 #include <sys/time.h>
7014 #endif
7015 #include <sys/types.h>
7016 #ifdef HAVE_ASM_TYPES_H
7017 #include <asm/types.h>
7018 #endif
7020 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7021 cat >>confdefs.h <<_ACEOF
7022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7023 _ACEOF
7027 done
7030 for ac_header in libprocstat.h
7031 do :
7032 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7033 #include <sys/param.h>
7034 #endif
7035 #ifdef HAVE_SYS_QUEUE_H
7036 #include <sys/queue.h>
7037 #endif
7038 #ifdef HAVE_SYS_SOCKET_H
7039 #include <sys/socket.h>
7040 #endif
7042 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7043 cat >>confdefs.h <<_ACEOF
7044 #define HAVE_LIBPROCSTAT_H 1
7045 _ACEOF
7049 done
7053 dlldir="\${libdir}/wine"
7055 DLLPREFIX=""
7057 DLLFLAGS="-D_REENTRANT"
7059 LDRPATH_INSTALL=""
7061 LDRPATH_LOCAL=""
7063 LIBEXT="so"
7064 DLLEXT=".so"
7065 IMPLIBEXT="def"
7066 STATIC_IMPLIBEXT="def.a"
7067 # Extract the first word of "ldd", so it can be a program name with args.
7068 set dummy ldd; ac_word=$2
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070 $as_echo_n "checking for $ac_word... " >&6; }
7071 if ${ac_cv_path_LDD+:} false; then :
7072 $as_echo_n "(cached) " >&6
7073 else
7074 case $LDD in
7075 [\\/]* | ?:[\\/]*)
7076 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080 as_dummy="/sbin:/usr/sbin:$PATH"
7081 for as_dir in $as_dummy
7083 IFS=$as_save_IFS
7084 test -z "$as_dir" && as_dir=.
7085 for ac_exec_ext in '' $ac_executable_extensions; do
7086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7087 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7089 break 2
7091 done
7092 done
7093 IFS=$as_save_IFS
7095 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7097 esac
7099 LDD=$ac_cv_path_LDD
7100 if test -n "$LDD"; then
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7102 $as_echo "$LDD" >&6; }
7103 else
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7105 $as_echo "no" >&6; }
7109 if test -n "$ac_tool_prefix"; then
7110 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7111 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7113 $as_echo_n "checking for $ac_word... " >&6; }
7114 if ${ac_cv_prog_READELF+:} false; then :
7115 $as_echo_n "(cached) " >&6
7116 else
7117 if test -n "$READELF"; then
7118 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7119 else
7120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7121 for as_dir in $PATH
7123 IFS=$as_save_IFS
7124 test -z "$as_dir" && as_dir=.
7125 for ac_exec_ext in '' $ac_executable_extensions; do
7126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7127 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7129 break 2
7131 done
7132 done
7133 IFS=$as_save_IFS
7137 READELF=$ac_cv_prog_READELF
7138 if test -n "$READELF"; then
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7140 $as_echo "$READELF" >&6; }
7141 else
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7143 $as_echo "no" >&6; }
7148 if test -z "$ac_cv_prog_READELF"; then
7149 ac_ct_READELF=$READELF
7150 # Extract the first word of "readelf", so it can be a program name with args.
7151 set dummy readelf; ac_word=$2
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7153 $as_echo_n "checking for $ac_word... " >&6; }
7154 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7155 $as_echo_n "(cached) " >&6
7156 else
7157 if test -n "$ac_ct_READELF"; then
7158 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7159 else
7160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7161 for as_dir in $PATH
7163 IFS=$as_save_IFS
7164 test -z "$as_dir" && as_dir=.
7165 for ac_exec_ext in '' $ac_executable_extensions; do
7166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7167 ac_cv_prog_ac_ct_READELF="readelf"
7168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7169 break 2
7171 done
7172 done
7173 IFS=$as_save_IFS
7177 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7178 if test -n "$ac_ct_READELF"; then
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7180 $as_echo "$ac_ct_READELF" >&6; }
7181 else
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7183 $as_echo "no" >&6; }
7186 if test "x$ac_ct_READELF" = x; then
7187 READELF="true"
7188 else
7189 case $cross_compiling:$ac_tool_warned in
7190 yes:)
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7193 ac_tool_warned=yes ;;
7194 esac
7195 READELF=$ac_ct_READELF
7197 else
7198 READELF="$ac_cv_prog_READELF"
7201 wine_rules_file=conf$$rules.make
7202 rm -f $wine_rules_file
7203 ALL_POT_FILES=""
7204 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7205 ALL_TEST_RESOURCES=""
7208 wine_fn_append_file ()
7210 as_fn_append $1 " \\$as_nl $2"
7213 wine_fn_ignore_file ()
7215 case "$1" in
7216 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7217 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7218 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7219 esac
7222 wine_fn_append_rule ()
7224 $as_echo "$1" >>$wine_rules_file
7227 wine_fn_has_flag ()
7229 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7232 wine_fn_depend_rules ()
7234 wine_fn_append_rule \
7235 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7236 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7237 depend: $ac_dir/depend
7238 .PHONY: $ac_dir/depend
7239 $ac_dir/depend: \$(MAKEDEP) dummy
7240 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7243 wine_fn_pot_rules ()
7245 test "x$with_gettextpo" = xyes || return
7247 if wine_fn_has_flag mc
7248 then
7249 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7250 wine_fn_append_rule \
7251 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7252 @cd $ac_dir && \$(MAKE) msg.pot
7253 $ac_dir/msg.pot: tools/wmc include"
7255 if wine_fn_has_flag po
7256 then
7257 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7258 wine_fn_append_rule \
7259 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7260 @cd $ac_dir && \$(MAKE) rsrc.pot
7261 $ac_dir/rsrc.pot: tools/wrc include"
7265 wine_fn_all_rules ()
7267 wine_fn_depend_rules
7268 wine_fn_append_rule \
7269 "all: $ac_dir
7270 .PHONY: $ac_dir
7271 $ac_dir: $ac_dir/Makefile dummy
7272 @cd $ac_dir && \$(MAKE)"
7275 wine_fn_install_rules ()
7277 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7279 wine_fn_append_rule \
7280 ".PHONY: $ac_dir/install $ac_dir/uninstall
7281 $ac_dir/install:: $ac_dir
7282 @cd $ac_dir && \$(MAKE) install
7283 $ac_dir/uninstall:: $ac_dir/Makefile
7284 @cd $ac_dir && \$(MAKE) uninstall
7285 install:: $ac_dir/install
7286 __uninstall__: $ac_dir/uninstall"
7288 if wine_fn_has_flag install-lib
7289 then
7290 wine_fn_append_rule \
7291 ".PHONY: $ac_dir/install-lib
7292 $ac_dir/install-lib:: $ac_dir
7293 @cd $ac_dir && \$(MAKE) install-lib
7294 install-lib:: $ac_dir/install-lib"
7297 if wine_fn_has_flag install-dev
7298 then
7299 wine_fn_append_rule \
7300 ".PHONY: $ac_dir/install-dev
7301 $ac_dir/install-dev:: $ac_dir
7302 @cd $ac_dir && \$(MAKE) install-dev
7303 install-dev:: $ac_dir/install-dev"
7307 wine_fn_clean_rules ()
7309 ac_clean=$@
7310 ac_extraclean="$ac_dir/Makefile"
7311 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7312 case $ac_dir in
7313 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7314 esac
7316 if wine_fn_has_flag clean
7317 then
7318 wine_fn_append_rule \
7319 "__clean__: $ac_dir/clean
7320 .PHONY: $ac_dir/clean
7321 $ac_dir/clean: $ac_dir/Makefile
7322 @cd $ac_dir && \$(MAKE) clean
7323 \$(RM) $ac_extraclean"
7324 else
7325 wine_fn_append_rule \
7326 "__clean__: $ac_dir/clean
7327 .PHONY: $ac_dir/clean
7328 $ac_dir/clean: dummy
7329 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7333 wine_fn_disabled_rules ()
7335 ac_clean=$@
7336 ac_extraclean="$ac_dir/Makefile"
7337 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7339 wine_fn_append_rule \
7340 "__clean__: $ac_dir/clean
7341 .PHONY: $ac_dir/clean
7342 $ac_dir/clean: dummy
7343 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7346 wine_fn_config_makefile ()
7348 ac_dir=$1
7349 ac_enable=$2
7350 ac_flags=$3
7352 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7353 wine_fn_disabled_rules; return
7355 wine_fn_all_rules
7356 wine_fn_install_rules
7357 wine_fn_clean_rules
7360 wine_fn_config_lib ()
7362 ac_name=$1
7363 ac_flags=$2
7364 ac_dir=dlls/$ac_name
7365 ac_deps="include"
7367 if test "x$enable_tools" = xno; then :
7369 else
7370 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7372 wine_fn_all_rules
7373 wine_fn_clean_rules
7375 wine_fn_append_rule \
7376 ".PHONY: $ac_dir/install $ac_dir/uninstall
7377 $ac_dir/install:: $ac_dir
7378 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7379 $ac_dir/uninstall::
7380 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7381 install install-dev:: $ac_dir/install
7382 __uninstall__: $ac_dir/uninstall
7383 __builddeps__: $ac_dir
7384 $ac_dir: $ac_deps"
7387 wine_fn_config_dll ()
7389 ac_name=$1
7390 ac_dir=dlls/$ac_name
7391 ac_enable=$2
7392 ac_flags=$3
7393 ac_implib=${4:-$ac_name}
7394 ac_file=$ac_dir/lib$ac_implib
7395 ac_dll=$ac_name
7396 ac_deps="include"
7397 ac_implibflags=""
7399 if test "x$enable_tools" = xno; then :
7401 else
7402 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7404 case $ac_name in
7405 *16) ac_implibflags=" -m16" ;;
7406 *.*) ;;
7407 *) ac_dll=$ac_dll.dll ;;
7408 esac
7410 ac_clean=
7411 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7412 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7413 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7414 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7416 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7417 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7418 then
7419 wine_fn_depend_rules
7420 wine_fn_clean_rules $ac_clean
7421 else
7422 wine_fn_disabled_rules $ac_clean
7423 return
7425 else
7426 wine_fn_all_rules
7427 wine_fn_clean_rules $ac_clean
7428 wine_fn_append_rule \
7429 "$ac_dir: __builddeps__
7430 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7431 @cd $ac_dir && \$(MAKE) \$@
7432 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7433 install install-lib:: $ac_dir/install-lib
7434 __uninstall__: $ac_dir/uninstall"
7435 if test -n "$DLLEXT"
7436 then
7437 wine_fn_append_rule \
7438 "$ac_dir/install-lib:: $ac_dir
7439 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7440 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7441 $ac_dir/uninstall::
7442 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7443 else
7444 wine_fn_append_rule \
7445 "$ac_dir/install-lib:: $ac_dir
7446 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7447 $ac_dir/uninstall::
7448 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7451 wine_fn_pot_rules
7454 if wine_fn_has_flag staticimplib
7455 then
7456 wine_fn_append_rule \
7457 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7458 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7459 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7460 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7461 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7462 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7463 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7464 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7465 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7466 $ac_dir/uninstall::
7467 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7468 install install-dev:: $ac_dir/install-dev
7469 __uninstall__: $ac_dir/uninstall"
7471 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7472 then
7473 wine_fn_append_rule \
7474 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7475 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7476 $ac_dir/uninstall::
7477 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7480 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7481 then
7482 wine_fn_append_rule \
7483 "__builddeps__: $ac_file.cross.a
7484 $ac_file.cross.a: $ac_dir/Makefile dummy
7485 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7488 elif wine_fn_has_flag implib
7489 then
7490 wine_fn_append_rule \
7491 "__builddeps__: $ac_file.$IMPLIBEXT
7492 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7493 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7494 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7495 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7496 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7497 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7498 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7499 $ac_dir/uninstall::
7500 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7501 install install-dev:: $ac_dir/install-dev
7502 __uninstall__: $ac_dir/uninstall"
7503 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7504 then
7505 wine_fn_append_rule \
7506 "__builddeps__: $ac_file.cross.a
7507 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7508 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7511 if test "$ac_name" != "$ac_implib"
7512 then
7513 wine_fn_append_rule \
7514 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7515 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7516 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7517 clean::
7518 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7519 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7520 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7521 then
7522 wine_fn_append_rule \
7523 "__builddeps__: dlls/lib$ac_implib.cross.a
7524 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7525 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7526 clean::
7527 \$(RM) dlls/lib$ac_implib.cross.a"
7528 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7534 wine_fn_config_program ()
7536 ac_name=$1
7537 ac_dir=programs/$ac_name
7538 ac_enable=$2
7539 ac_flags=$3
7540 ac_program=$ac_name
7542 case $ac_name in
7543 *.*) ;;
7544 *) ac_program=$ac_program.exe ;;
7545 esac
7547 ac_clean=
7548 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7549 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7550 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7551 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7553 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7554 wine_fn_disabled_rules $ac_clean; return
7557 wine_fn_all_rules
7558 wine_fn_clean_rules $ac_clean
7559 wine_fn_append_rule "$ac_dir: __builddeps__"
7560 wine_fn_pot_rules
7562 wine_fn_has_flag install || return
7563 wine_fn_append_rule \
7564 ".PHONY: $ac_dir/install $ac_dir/uninstall
7565 install install-lib:: $ac_dir/install
7566 __uninstall__: $ac_dir/uninstall"
7568 if test -n "$DLLEXT"
7569 then
7570 wine_fn_append_rule \
7571 "$ac_dir/install:: $ac_dir
7572 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7573 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7574 $ac_dir/uninstall::
7575 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7577 if test -z "$with_wine64" && wine_fn_has_flag installbin
7578 then
7579 wine_fn_append_rule \
7580 "$ac_dir/install:: __tooldeps__
7581 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7582 $ac_dir/uninstall::
7583 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7585 else
7586 wine_fn_append_rule \
7587 "$ac_dir/install:: $ac_dir
7588 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7589 $ac_dir/uninstall::
7590 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7593 if test -z "$with_wine64" && wine_fn_has_flag manpage
7594 then
7595 wine_fn_append_rule \
7596 "$ac_dir/install:: $ac_dir
7597 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7598 $ac_dir/uninstall::
7599 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7603 wine_fn_config_test ()
7605 ac_dir=$1
7606 ac_name=$2
7607 ac_flags=$3
7609 ac_clean=
7610 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7611 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7613 if test "x$enable_tests" = xno; then :
7614 wine_fn_disabled_rules $ac_clean; return
7617 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7618 wine_fn_all_rules
7619 wine_fn_clean_rules $ac_clean
7621 wine_fn_append_rule \
7622 "$ac_dir: programs/winetest/Makefile __builddeps__
7623 programs/winetest: $ac_dir
7624 check test: $ac_dir/test
7625 .PHONY: $ac_dir/test
7626 $ac_dir/test: dummy
7627 @cd $ac_dir && \$(MAKE) test
7628 testclean::
7629 \$(RM) $ac_dir/*.ok"
7631 if test -n "$CROSSTARGET"
7632 then
7633 wine_fn_append_rule \
7634 "crosstest: $ac_dir/crosstest
7635 .PHONY: $ac_dir/crosstest
7636 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7637 @cd $ac_dir && \$(MAKE) crosstest"
7641 wine_fn_config_tool ()
7643 ac_dir=$1
7644 ac_flags=$2
7645 if test "x$enable_tools" = xno; then :
7646 return
7649 wine_fn_all_rules
7650 wine_fn_install_rules
7651 wine_fn_clean_rules
7653 wine_fn_append_rule "__tooldeps__: $ac_dir"
7654 wine_fn_append_rule "$ac_dir: libs/port"
7655 case $ac_dir in
7656 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7657 esac
7660 wine_fn_config_symlink ()
7662 ac_linkdir=
7663 if test "x$1" = "x-d"
7664 then
7665 ac_linkdir=$2
7666 shift; shift
7668 ac_links=$@
7669 wine_fn_append_rule \
7670 "$ac_links:
7671 @./config.status \$@
7672 distclean::
7673 \$(RM) $ac_links"
7674 for f in $ac_links; do wine_fn_ignore_file $f; done
7675 test -n "$ac_linkdir" || return
7676 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7679 wine_binary="wine"
7680 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7681 loader_programs="$wine_binary wine-installed"
7682 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7684 LOADER_RULES="
7685 all: wine.inf
7687 install install-lib:: wine-installed
7688 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7690 uninstall::
7691 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7695 case $host_os in
7696 cygwin*|mingw32*)
7697 if test -n "$ac_tool_prefix"; then
7698 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7699 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7701 $as_echo_n "checking for $ac_word... " >&6; }
7702 if ${ac_cv_prog_DLLTOOL+:} false; then :
7703 $as_echo_n "(cached) " >&6
7704 else
7705 if test -n "$DLLTOOL"; then
7706 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7707 else
7708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7709 for as_dir in $PATH
7711 IFS=$as_save_IFS
7712 test -z "$as_dir" && as_dir=.
7713 for ac_exec_ext in '' $ac_executable_extensions; do
7714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7715 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7717 break 2
7719 done
7720 done
7721 IFS=$as_save_IFS
7725 DLLTOOL=$ac_cv_prog_DLLTOOL
7726 if test -n "$DLLTOOL"; then
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7728 $as_echo "$DLLTOOL" >&6; }
7729 else
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7731 $as_echo "no" >&6; }
7736 if test -z "$ac_cv_prog_DLLTOOL"; then
7737 ac_ct_DLLTOOL=$DLLTOOL
7738 # Extract the first word of "dlltool", so it can be a program name with args.
7739 set dummy dlltool; ac_word=$2
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7741 $as_echo_n "checking for $ac_word... " >&6; }
7742 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7743 $as_echo_n "(cached) " >&6
7744 else
7745 if test -n "$ac_ct_DLLTOOL"; then
7746 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7747 else
7748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7749 for as_dir in $PATH
7751 IFS=$as_save_IFS
7752 test -z "$as_dir" && as_dir=.
7753 for ac_exec_ext in '' $ac_executable_extensions; do
7754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7755 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7757 break 2
7759 done
7760 done
7761 IFS=$as_save_IFS
7765 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7766 if test -n "$ac_ct_DLLTOOL"; then
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7768 $as_echo "$ac_ct_DLLTOOL" >&6; }
7769 else
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7771 $as_echo "no" >&6; }
7774 if test "x$ac_ct_DLLTOOL" = x; then
7775 DLLTOOL="false"
7776 else
7777 case $cross_compiling:$ac_tool_warned in
7778 yes:)
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7781 ac_tool_warned=yes ;;
7782 esac
7783 DLLTOOL=$ac_ct_DLLTOOL
7785 else
7786 DLLTOOL="$ac_cv_prog_DLLTOOL"
7789 LIBEXT="dll"
7790 DLLEXT=""
7791 IMPLIBEXT="a"
7792 STATIC_IMPLIBEXT="a"
7793 enable_iphlpapi=${enable_iphlpapi:-no}
7794 enable_kernel32=${enable_kernel32:-no}
7795 enable_msvcrt=${enable_msvcrt:-no}
7796 enable_ntdll=${enable_ntdll:-no}
7797 enable_ws2_32=${enable_ws2_32:-no}
7798 enable_loader=${enable_loader:-no}
7799 enable_server=${enable_server:-no}
7800 with_x=${with_x:-no}
7801 with_pthread=${with_pthread:-no}
7803 crtlibs=""
7804 case $host_os in
7805 mingw32*)
7806 crtlibs="-lmsvcrt"
7807 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7809 esac
7811 libwine_targets="libwine.dll libwine.a"
7812 LIBWINE_RULES="
7813 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7815 all: libwine.dll libwine.a
7817 libwine.a: \$(srcdir)/wine.def
7818 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7820 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7821 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7823 install install-lib:: libwine.dll
7824 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7826 install install-dev:: libwine.a
7827 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7829 uninstall::
7830 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7835 darwin*|macosx*)
7836 LIBEXT="dylib"
7837 DLLFLAGS="$DLLFLAGS -fPIC"
7838 LIBWINE_LDFLAGS="-multiply_defined suppress"
7839 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7840 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7841 COREFOUNDATION_LIBS="-framework CoreFoundation"
7843 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7845 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7847 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7849 CORESERVICES_LIBS="-framework CoreServices"
7851 APPKIT_LIBS="-framework AppKit"
7853 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7855 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7856 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7857 $as_echo_n "(cached) " >&6
7858 else
7859 ac_wine_try_cflags_saved=$CFLAGS
7860 CFLAGS="$CFLAGS -Wl,-no_pie"
7861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7862 /* end confdefs.h. */
7863 int main(int argc, char **argv) { return 0; }
7864 _ACEOF
7865 if ac_fn_c_try_link "$LINENO"; then :
7866 ac_cv_cflags__Wl__no_pie=yes
7867 else
7868 ac_cv_cflags__Wl__no_pie=no
7870 rm -f core conftest.err conftest.$ac_objext \
7871 conftest$ac_exeext conftest.$ac_ext
7872 CFLAGS=$ac_wine_try_cflags_saved
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7875 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7876 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7877 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7879 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7880 then
7881 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7884 if test "$ac_cv_header_Security_Security_h" = "yes"
7885 then
7886 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7888 ac_save_LIBS="$LIBS"
7889 LIBS="$LIBS $SECURITY_LIBS"
7890 for ac_func in SSLCopyPeerCertificates
7891 do :
7892 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7893 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7894 cat >>confdefs.h <<_ACEOF
7895 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7896 _ACEOF
7899 done
7901 LIBS="$ac_save_LIBS"
7902 with_gnutls=${with_gnutls:-no}
7904 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7905 then
7906 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7907 then
7908 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7910 else
7911 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7914 ac_save_LIBS="$LIBS"
7915 LIBS="$LIBS $COREAUDIO_LIBS"
7916 for ac_func in AUGraphAddNode
7917 do :
7918 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7919 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7920 cat >>confdefs.h <<_ACEOF
7921 #define HAVE_AUGRAPHADDNODE 1
7922 _ACEOF
7925 done
7927 LIBS="$ac_save_LIBS"
7929 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7930 then
7931 OPENAL_LIBS="-framework OpenAL"
7934 cat >>confdefs.h <<_ACEOF
7935 #define HAVE_OPENAL 1
7936 _ACEOF
7938 ac_cv_lib_openal=yes
7940 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7941 then
7942 OPENCL_LIBS="-framework OpenCL"
7944 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7946 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7947 then
7948 ac_save_LIBS="$LIBS"
7949 LIBS="$LIBS $IOKIT_LIBS"
7950 for ac_func in IOHIDManagerCreate
7951 do :
7952 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7953 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7954 cat >>confdefs.h <<_ACEOF
7955 #define HAVE_IOHIDMANAGERCREATE 1
7956 _ACEOF
7959 done
7961 LIBS="$ac_save_LIBS"
7963 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7964 then
7965 ac_save_LIBS="$LIBS"
7966 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7968 $as_echo_n "checking for the QuickTime framework... " >&6; }
7969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7970 /* end confdefs.h. */
7971 #include <QuickTime/ImageCompression.h>
7973 main ()
7975 CodecManagerVersion(NULL);
7977 return 0;
7979 _ACEOF
7980 if ac_fn_c_try_link "$LINENO"; then :
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7982 $as_echo "yes" >&6; }
7983 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7985 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7986 else
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7988 $as_echo "no" >&6; }
7989 ac_cv_header_QuickTime_ImageCompression_h=no
7991 rm -f core conftest.err conftest.$ac_objext \
7992 conftest$ac_exeext conftest.$ac_ext
7993 LIBS="$ac_save_LIBS"
7995 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7996 then
7997 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7999 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8000 then
8001 CARBON_LIBS="-framework Carbon"
8005 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8006 then
8007 ac_save_LIBS="$LIBS"
8008 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8009 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8010 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8011 enable_winemac_drv=${enable_winemac_drv:-yes}
8014 LIBS="$ac_save_LIBS"
8017 if test "x$enable_win16" = "xyes"
8018 then
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8020 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8021 if test "$cross_compiling" = yes; then :
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8023 $as_echo "cross-compiling, assuming yes" >&6; }
8024 else
8025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8026 /* end confdefs.h. */
8027 asm(".text\n"
8028 "bad:\tnop;nop\n"
8029 "good:\tnop;nop\n\t"
8030 ".globl _testfunc\n"
8031 "_testfunc:\tcallw good");
8032 extern void testfunc();
8034 main ()
8036 unsigned short *p = (unsigned short *)testfunc;
8037 return p[0] != 0xe866 || p[1] != 0xfffa
8039 return 0;
8041 _ACEOF
8042 if ac_fn_c_try_run "$LINENO"; then :
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8044 $as_echo "yes" >&6; }
8045 else
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047 $as_echo "no" >&6; }
8048 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
8050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8051 conftest.$ac_objext conftest.beam conftest.$ac_ext
8056 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8057 LIBWINE_RULES="
8058 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8060 all: libwine.dylib
8062 libwine.$libwine_version.dylib: \$(OBJS)
8063 \$(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 \$@
8065 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8066 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8068 libwine.dylib: libwine.$libwine_soversion.dylib
8069 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8071 install install-lib:: libwine.$libwine_version.dylib
8072 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8073 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8075 install install-dev::
8076 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8078 uninstall::
8079 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8083 as_fn_append LOADER_RULES "
8084 $wine_binary: main.o wine_info.plist
8085 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8087 wine-installed: main.o wine_info.plist
8088 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8092 linux-android*)
8093 DLLFLAGS="$DLLFLAGS -fPIC"
8094 DLLPREFIX="lib"
8095 LDEXECFLAGS=""
8096 dlldir="\${libdir}"
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8098 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8099 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8100 $as_echo_n "(cached) " >&6
8101 else
8102 ac_wine_try_cflags_saved=$CFLAGS
8103 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8105 /* end confdefs.h. */
8106 int main(int argc, char **argv) { return 0; }
8107 _ACEOF
8108 if ac_fn_c_try_link "$LINENO"; then :
8109 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8110 else
8111 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8113 rm -f core conftest.err conftest.$ac_objext \
8114 conftest$ac_exeext conftest.$ac_ext
8115 CFLAGS=$ac_wine_try_cflags_saved
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8118 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8119 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8120 LDEXECFLAGS="-Wl,--export-dynamic"
8122 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8124 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8125 if eval \${$as_ac_var+:} false; then :
8126 $as_echo_n "(cached) " >&6
8127 else
8128 ac_wine_try_cflags_saved=$CFLAGS
8129 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8131 /* end confdefs.h. */
8132 int main(int argc, char **argv) { return 0; }
8133 _ACEOF
8134 if ac_fn_c_try_link "$LINENO"; then :
8135 eval "$as_ac_var=yes"
8136 else
8137 eval "$as_ac_var=no"
8139 rm -f core conftest.err conftest.$ac_objext \
8140 conftest$ac_exeext conftest.$ac_ext
8141 CFLAGS=$ac_wine_try_cflags_saved
8143 eval ac_res=\$$as_ac_var
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8145 $as_echo "$ac_res" >&6; }
8146 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8147 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8148 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8149 else
8150 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8152 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8153 if eval \${$as_ac_var+:} false; then :
8154 $as_echo_n "(cached) " >&6
8155 else
8156 ac_wine_try_cflags_saved=$CFLAGS
8157 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8159 /* end confdefs.h. */
8160 int main(int argc, char **argv) { return 0; }
8161 _ACEOF
8162 if ac_fn_c_try_link "$LINENO"; then :
8163 eval "$as_ac_var=yes"
8164 else
8165 eval "$as_ac_var=no"
8167 rm -f core conftest.err conftest.$ac_objext \
8168 conftest$ac_exeext conftest.$ac_ext
8169 CFLAGS=$ac_wine_try_cflags_saved
8171 eval ac_res=\$$as_ac_var
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8173 $as_echo "$ac_res" >&6; }
8174 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8175 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8176 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8181 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8182 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8183 $as_echo_n "(cached) " >&6
8184 else
8185 ac_wine_try_cflags_saved=$CFLAGS
8186 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8188 /* end confdefs.h. */
8189 int main(int argc, char **argv) { return 0; }
8190 _ACEOF
8191 if ac_fn_c_try_link "$LINENO"; then :
8192 ac_cv_cflags__Wl___enable_new_dtags=yes
8193 else
8194 ac_cv_cflags__Wl___enable_new_dtags=no
8196 rm -f core conftest.err conftest.$ac_objext \
8197 conftest$ac_exeext conftest.$ac_ext
8198 CFLAGS=$ac_wine_try_cflags_saved
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8201 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8202 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8203 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8206 case $host_cpu in
8207 *i[3456789]86* | x86_64)
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8209 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8210 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8211 $as_echo_n "(cached) " >&6
8212 else
8213 ac_wine_try_cflags_saved=$CFLAGS
8214 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8216 /* end confdefs.h. */
8217 int main(int argc, char **argv) { return 0; }
8218 _ACEOF
8219 if ac_fn_c_try_link "$LINENO"; then :
8220 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8221 else
8222 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8224 rm -f core conftest.err conftest.$ac_objext \
8225 conftest$ac_exeext conftest.$ac_ext
8226 CFLAGS=$ac_wine_try_cflags_saved
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8229 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8230 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8231 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8234 esac
8236 libwine_targets="libwine.so"
8237 LIBWINE_RULES="
8238 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8240 all: libwine.so
8242 libwine.so: \$(OBJS)
8243 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8245 install install-lib:: libwine.so
8246 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8248 uninstall::
8249 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8253 as_fn_append LOADER_RULES "
8254 $wine_binary: main.o
8255 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8257 wine-installed: main.o
8258 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8263 DLLFLAGS="$DLLFLAGS -fPIC"
8264 LDEXECFLAGS=""
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8266 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8267 if ${ac_cv_c_dll_gnuelf+:} false; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 ac_wine_try_cflags_saved=$CFLAGS
8271 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8273 /* end confdefs.h. */
8274 void myfunc() {}
8275 _ACEOF
8276 if ac_fn_c_try_link "$LINENO"; then :
8277 ac_cv_c_dll_gnuelf="yes"
8278 else
8279 ac_cv_c_dll_gnuelf="no"
8281 rm -f core conftest.err conftest.$ac_objext \
8282 conftest$ac_exeext conftest.$ac_ext
8283 CFLAGS=$ac_wine_try_cflags_saved
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8286 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8287 if test "$ac_cv_c_dll_gnuelf" = "yes"
8288 then
8289 LDSHARED="\$(CC) -shared"
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8291 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8292 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8293 $as_echo_n "(cached) " >&6
8294 else
8295 ac_wine_try_cflags_saved=$CFLAGS
8296 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8298 /* end confdefs.h. */
8299 int main(int argc, char **argv) { return 0; }
8300 _ACEOF
8301 if ac_fn_c_try_link "$LINENO"; then :
8302 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8303 else
8304 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8306 rm -f core conftest.err conftest.$ac_objext \
8307 conftest$ac_exeext conftest.$ac_ext
8308 CFLAGS=$ac_wine_try_cflags_saved
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8311 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8312 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8313 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8314 else
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8316 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8317 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8318 $as_echo_n "(cached) " >&6
8319 else
8320 ac_wine_try_cflags_saved=$CFLAGS
8321 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8323 /* end confdefs.h. */
8324 int main(int argc, char **argv) { return 0; }
8325 _ACEOF
8326 if ac_fn_c_try_link "$LINENO"; then :
8327 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8328 else
8329 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8331 rm -f core conftest.err conftest.$ac_objext \
8332 conftest$ac_exeext conftest.$ac_ext
8333 CFLAGS=$ac_wine_try_cflags_saved
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8336 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8337 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8338 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8342 echo '{ global: *; };' >conftest.map
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8344 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8345 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8346 $as_echo_n "(cached) " >&6
8347 else
8348 ac_wine_try_cflags_saved=$CFLAGS
8349 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8352 int main(int argc, char **argv) { return 0; }
8353 _ACEOF
8354 if ac_fn_c_try_link "$LINENO"; then :
8355 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8356 else
8357 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8359 rm -f core conftest.err conftest.$ac_objext \
8360 conftest$ac_exeext conftest.$ac_ext
8361 CFLAGS=$ac_wine_try_cflags_saved
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8364 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8365 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8366 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8368 rm -f conftest.map
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8371 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8372 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8373 $as_echo_n "(cached) " >&6
8374 else
8375 ac_wine_try_cflags_saved=$CFLAGS
8376 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8378 /* end confdefs.h. */
8379 int main(int argc, char **argv) { return 0; }
8380 _ACEOF
8381 if ac_fn_c_try_link "$LINENO"; then :
8382 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8383 else
8384 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8386 rm -f core conftest.err conftest.$ac_objext \
8387 conftest$ac_exeext conftest.$ac_ext
8388 CFLAGS=$ac_wine_try_cflags_saved
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8391 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8392 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8393 LDEXECFLAGS="-Wl,--export-dynamic"
8396 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8398 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8399 if eval \${$as_ac_var+:} false; then :
8400 $as_echo_n "(cached) " >&6
8401 else
8402 ac_wine_try_cflags_saved=$CFLAGS
8403 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8405 /* end confdefs.h. */
8406 int main(int argc, char **argv) { return 0; }
8407 _ACEOF
8408 if ac_fn_c_try_link "$LINENO"; then :
8409 eval "$as_ac_var=yes"
8410 else
8411 eval "$as_ac_var=no"
8413 rm -f core conftest.err conftest.$ac_objext \
8414 conftest$ac_exeext conftest.$ac_ext
8415 CFLAGS=$ac_wine_try_cflags_saved
8417 eval ac_res=\$$as_ac_var
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8419 $as_echo "$ac_res" >&6; }
8420 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8421 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8422 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8423 else
8424 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8426 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8427 if eval \${$as_ac_var+:} false; then :
8428 $as_echo_n "(cached) " >&6
8429 else
8430 ac_wine_try_cflags_saved=$CFLAGS
8431 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8433 /* end confdefs.h. */
8434 int main(int argc, char **argv) { return 0; }
8435 _ACEOF
8436 if ac_fn_c_try_link "$LINENO"; then :
8437 eval "$as_ac_var=yes"
8438 else
8439 eval "$as_ac_var=no"
8441 rm -f core conftest.err conftest.$ac_objext \
8442 conftest$ac_exeext conftest.$ac_ext
8443 CFLAGS=$ac_wine_try_cflags_saved
8445 eval ac_res=\$$as_ac_var
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8447 $as_echo "$ac_res" >&6; }
8448 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8449 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8450 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8455 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8456 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8457 $as_echo_n "(cached) " >&6
8458 else
8459 ac_wine_try_cflags_saved=$CFLAGS
8460 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8462 /* end confdefs.h. */
8463 int main(int argc, char **argv) { return 0; }
8464 _ACEOF
8465 if ac_fn_c_try_link "$LINENO"; then :
8466 ac_cv_cflags__Wl___enable_new_dtags=yes
8467 else
8468 ac_cv_cflags__Wl___enable_new_dtags=no
8470 rm -f core conftest.err conftest.$ac_objext \
8471 conftest$ac_exeext conftest.$ac_ext
8472 CFLAGS=$ac_wine_try_cflags_saved
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8475 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8476 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8477 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8480 case $host_cpu in
8481 *i[3456789]86* | x86_64)
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8483 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8484 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8485 $as_echo_n "(cached) " >&6
8486 else
8487 ac_wine_try_cflags_saved=$CFLAGS
8488 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8491 int main(int argc, char **argv) { return 0; }
8492 _ACEOF
8493 if ac_fn_c_try_link "$LINENO"; then :
8494 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8495 else
8496 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8498 rm -f core conftest.err conftest.$ac_objext \
8499 conftest$ac_exeext conftest.$ac_ext
8500 CFLAGS=$ac_wine_try_cflags_saved
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8503 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8504 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8505 case $host_os in
8506 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8507 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8508 esac
8511 # Extract the first word of "prelink", so it can be a program name with args.
8512 set dummy prelink; ac_word=$2
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8514 $as_echo_n "checking for $ac_word... " >&6; }
8515 if ${ac_cv_path_PRELINK+:} false; then :
8516 $as_echo_n "(cached) " >&6
8517 else
8518 case $PRELINK in
8519 [\\/]* | ?:[\\/]*)
8520 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8524 for as_dir in /sbin /usr/sbin $PATH
8526 IFS=$as_save_IFS
8527 test -z "$as_dir" && as_dir=.
8528 for ac_exec_ext in '' $ac_executable_extensions; do
8529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8530 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8532 break 2
8534 done
8535 done
8536 IFS=$as_save_IFS
8538 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8540 esac
8542 PRELINK=$ac_cv_path_PRELINK
8543 if test -n "$PRELINK"; then
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8545 $as_echo "$PRELINK" >&6; }
8546 else
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8548 $as_echo "no" >&6; }
8552 if test "x$PRELINK" = xfalse
8553 then
8554 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8557 esac
8559 else
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8561 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8562 if ${ac_cv_c_dll_unixware+:} false; then :
8563 $as_echo_n "(cached) " >&6
8564 else
8565 ac_wine_try_cflags_saved=$CFLAGS
8566 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8569 void myfunc() {}
8570 _ACEOF
8571 if ac_fn_c_try_link "$LINENO"; then :
8572 ac_cv_c_dll_unixware="yes"
8573 else
8574 ac_cv_c_dll_unixware="no"
8576 rm -f core conftest.err conftest.$ac_objext \
8577 conftest$ac_exeext conftest.$ac_ext
8578 CFLAGS=$ac_wine_try_cflags_saved
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8581 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8582 if test "$ac_cv_c_dll_unixware" = "yes"
8583 then
8584 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8587 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8588 LIBWINE_RULES="
8589 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8591 all: libwine.so
8593 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8594 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8596 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8597 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8599 libwine.so: libwine.so.$libwine_soversion
8600 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8602 install install-lib:: libwine.so.$libwine_version
8603 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8604 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8606 install install-dev::
8607 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8609 uninstall::
8610 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8614 as_fn_append LOADER_RULES "
8615 $wine_binary: main.o
8616 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8618 wine-installed: main.o
8619 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8622 esac
8624 as_fn_append LIBWINE_RULES "
8625 EXTRA_TARGETS = $libwine_targets
8628 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8629 enable_winemac_drv=${enable_winemac_drv:-no}
8631 CROSSTARGET=""
8633 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8634 then
8635 case "$host_cpu" in
8636 i[3456789]86*)
8637 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
8638 mingw32-gcc" ;;
8639 x86_64)
8640 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 " ;;
8642 ac_prefix_list="" ;;
8643 esac
8644 for ac_prog in $ac_prefix_list
8646 # Extract the first word of "$ac_prog", so it can be a program name with args.
8647 set dummy $ac_prog; ac_word=$2
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8649 $as_echo_n "checking for $ac_word... " >&6; }
8650 if ${ac_cv_prog_CROSSCC+:} false; then :
8651 $as_echo_n "(cached) " >&6
8652 else
8653 if test -n "$CROSSCC"; then
8654 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8655 else
8656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8657 for as_dir in $PATH
8659 IFS=$as_save_IFS
8660 test -z "$as_dir" && as_dir=.
8661 for ac_exec_ext in '' $ac_executable_extensions; do
8662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8663 ac_cv_prog_CROSSCC="$ac_prog"
8664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8665 break 2
8667 done
8668 done
8669 IFS=$as_save_IFS
8673 CROSSCC=$ac_cv_prog_CROSSCC
8674 if test -n "$CROSSCC"; then
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8676 $as_echo "$CROSSCC" >&6; }
8677 else
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8679 $as_echo "no" >&6; }
8683 test -n "$CROSSCC" && break
8684 done
8685 test -n "$CROSSCC" || CROSSCC="false"
8687 if test "$CROSSCC" != "false"
8688 then
8689 ac_save_CC="$CC"
8690 CC="$CROSSCC"
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8692 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8694 /* end confdefs.h. */
8697 main ()
8701 return 0;
8703 _ACEOF
8704 if ac_fn_c_try_compile "$LINENO"; then :
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8706 $as_echo "yes" >&6; }
8707 set x $CROSSCC
8708 shift
8709 while test $# -ge 1
8711 case "$1" in
8712 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8713 esac
8714 shift
8715 done
8716 else
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8718 $as_echo "no" >&6; }
8720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8721 CC="$ac_save_CC"
8726 if test "$ac_cv_header_pthread_h" = "yes"
8727 then
8728 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8729 if test "x$ac_cv_func_pthread_create" = xyes; then :
8731 else
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8733 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8734 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8735 $as_echo_n "(cached) " >&6
8736 else
8737 ac_check_lib_save_LIBS=$LIBS
8738 LIBS="-lpthread $LIBS"
8739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8740 /* end confdefs.h. */
8742 /* Override any GCC internal prototype to avoid an error.
8743 Use char because int might match the return type of a GCC
8744 builtin and then its argument prototype would still apply. */
8745 #ifdef __cplusplus
8746 extern "C"
8747 #endif
8748 char pthread_create ();
8750 main ()
8752 return pthread_create ();
8754 return 0;
8756 _ACEOF
8757 if ac_fn_c_try_link "$LINENO"; then :
8758 ac_cv_lib_pthread_pthread_create=yes
8759 else
8760 ac_cv_lib_pthread_pthread_create=no
8762 rm -f core conftest.err conftest.$ac_objext \
8763 conftest$ac_exeext conftest.$ac_ext
8764 LIBS=$ac_check_lib_save_LIBS
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8767 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8768 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8769 PTHREAD_LIBS="-lpthread"
8776 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8777 case "x$with_pthread" in
8778 xno) ;;
8779 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8780 Wine cannot support threads without libpthread.
8781 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8782 esac
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8787 $as_echo_n "checking for X... " >&6; }
8790 # Check whether --with-x was given.
8791 if test "${with_x+set}" = set; then :
8792 withval=$with_x;
8795 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8796 if test "x$with_x" = xno; then
8797 # The user explicitly disabled X.
8798 have_x=disabled
8799 else
8800 case $x_includes,$x_libraries in #(
8801 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8802 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8803 $as_echo_n "(cached) " >&6
8804 else
8805 # One or both of the vars are not set, and there is no cached value.
8806 ac_x_includes=no ac_x_libraries=no
8807 rm -f -r conftest.dir
8808 if mkdir conftest.dir; then
8809 cd conftest.dir
8810 cat >Imakefile <<'_ACEOF'
8811 incroot:
8812 @echo incroot='${INCROOT}'
8813 usrlibdir:
8814 @echo usrlibdir='${USRLIBDIR}'
8815 libdir:
8816 @echo libdir='${LIBDIR}'
8817 _ACEOF
8818 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8819 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8820 for ac_var in incroot usrlibdir libdir; do
8821 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8822 done
8823 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8824 for ac_extension in a so sl dylib la dll; do
8825 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8826 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8827 ac_im_usrlibdir=$ac_im_libdir; break
8829 done
8830 # Screen out bogus values from the imake configuration. They are
8831 # bogus both because they are the default anyway, and because
8832 # using them would break gcc on systems where it needs fixed includes.
8833 case $ac_im_incroot in
8834 /usr/include) ac_x_includes= ;;
8835 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8836 esac
8837 case $ac_im_usrlibdir in
8838 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8839 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8840 esac
8842 cd ..
8843 rm -f -r conftest.dir
8846 # Standard set of common directories for X headers.
8847 # Check X11 before X11Rn because it is often a symlink to the current release.
8848 ac_x_header_dirs='
8849 /usr/X11/include
8850 /usr/X11R7/include
8851 /usr/X11R6/include
8852 /usr/X11R5/include
8853 /usr/X11R4/include
8855 /usr/include/X11
8856 /usr/include/X11R7
8857 /usr/include/X11R6
8858 /usr/include/X11R5
8859 /usr/include/X11R4
8861 /usr/local/X11/include
8862 /usr/local/X11R7/include
8863 /usr/local/X11R6/include
8864 /usr/local/X11R5/include
8865 /usr/local/X11R4/include
8867 /usr/local/include/X11
8868 /usr/local/include/X11R7
8869 /usr/local/include/X11R6
8870 /usr/local/include/X11R5
8871 /usr/local/include/X11R4
8873 /usr/X386/include
8874 /usr/x386/include
8875 /usr/XFree86/include/X11
8877 /usr/include
8878 /usr/local/include
8879 /usr/unsupported/include
8880 /usr/athena/include
8881 /usr/local/x11r5/include
8882 /usr/lpp/Xamples/include
8884 /usr/openwin/include
8885 /usr/openwin/share/include'
8887 if test "$ac_x_includes" = no; then
8888 # Guess where to find include files, by looking for Xlib.h.
8889 # First, try using that file with no special directory specified.
8890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8891 /* end confdefs.h. */
8892 #include <X11/Xlib.h>
8893 _ACEOF
8894 if ac_fn_c_try_cpp "$LINENO"; then :
8895 # We can compile using X headers with no special include directory.
8896 ac_x_includes=
8897 else
8898 for ac_dir in $ac_x_header_dirs; do
8899 if test -r "$ac_dir/X11/Xlib.h"; then
8900 ac_x_includes=$ac_dir
8901 break
8903 done
8905 rm -f conftest.err conftest.i conftest.$ac_ext
8906 fi # $ac_x_includes = no
8908 if test "$ac_x_libraries" = no; then
8909 # Check for the libraries.
8910 # See if we find them without any special options.
8911 # Don't add to $LIBS permanently.
8912 ac_save_LIBS=$LIBS
8913 LIBS="-lX11 $LIBS"
8914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8915 /* end confdefs.h. */
8916 #include <X11/Xlib.h>
8918 main ()
8920 XrmInitialize ()
8922 return 0;
8924 _ACEOF
8925 if ac_fn_c_try_link "$LINENO"; then :
8926 LIBS=$ac_save_LIBS
8927 # We can link X programs with no special library path.
8928 ac_x_libraries=
8929 else
8930 LIBS=$ac_save_LIBS
8931 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8933 # Don't even attempt the hair of trying to link an X program!
8934 for ac_extension in a so sl dylib la dll; do
8935 if test -r "$ac_dir/libX11.$ac_extension"; then
8936 ac_x_libraries=$ac_dir
8937 break 2
8939 done
8940 done
8942 rm -f core conftest.err conftest.$ac_objext \
8943 conftest$ac_exeext conftest.$ac_ext
8944 fi # $ac_x_libraries = no
8946 case $ac_x_includes,$ac_x_libraries in #(
8947 no,* | *,no | *\'*)
8948 # Didn't find X, or a directory has "'" in its name.
8949 ac_cv_have_x="have_x=no";; #(
8951 # Record where we found X for the cache.
8952 ac_cv_have_x="have_x=yes\
8953 ac_x_includes='$ac_x_includes'\
8954 ac_x_libraries='$ac_x_libraries'"
8955 esac
8957 ;; #(
8958 *) have_x=yes;;
8959 esac
8960 eval "$ac_cv_have_x"
8961 fi # $with_x != no
8963 if test "$have_x" != yes; then
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8965 $as_echo "$have_x" >&6; }
8966 no_x=yes
8967 else
8968 # If each of the values was on the command line, it overrides each guess.
8969 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8970 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8971 # Update the cache value to reflect the command line values.
8972 ac_cv_have_x="have_x=yes\
8973 ac_x_includes='$x_includes'\
8974 ac_x_libraries='$x_libraries'"
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8976 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8979 if test "$no_x" = yes; then
8980 # Not all programs may use this symbol, but it does not hurt to define it.
8982 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8984 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8985 else
8986 if test -n "$x_includes"; then
8987 X_CFLAGS="$X_CFLAGS -I$x_includes"
8990 # It would also be nice to do this for all -L options, not just this one.
8991 if test -n "$x_libraries"; then
8992 X_LIBS="$X_LIBS -L$x_libraries"
8993 # For Solaris; some versions of Sun CC require a space after -R and
8994 # others require no space. Words are not sufficient . . . .
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8996 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8997 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8998 ac_xsave_c_werror_flag=$ac_c_werror_flag
8999 ac_c_werror_flag=yes
9000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9001 /* end confdefs.h. */
9004 main ()
9008 return 0;
9010 _ACEOF
9011 if ac_fn_c_try_link "$LINENO"; then :
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9013 $as_echo "no" >&6; }
9014 X_LIBS="$X_LIBS -R$x_libraries"
9015 else
9016 LIBS="$ac_xsave_LIBS -R $x_libraries"
9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9021 main ()
9025 return 0;
9027 _ACEOF
9028 if ac_fn_c_try_link "$LINENO"; then :
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9030 $as_echo "yes" >&6; }
9031 X_LIBS="$X_LIBS -R $x_libraries"
9032 else
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9034 $as_echo "neither works" >&6; }
9036 rm -f core conftest.err conftest.$ac_objext \
9037 conftest$ac_exeext conftest.$ac_ext
9039 rm -f core conftest.err conftest.$ac_objext \
9040 conftest$ac_exeext conftest.$ac_ext
9041 ac_c_werror_flag=$ac_xsave_c_werror_flag
9042 LIBS=$ac_xsave_LIBS
9045 # Check for system-dependent libraries X programs must link with.
9046 # Do this before checking for the system-independent R6 libraries
9047 # (-lICE), since we may need -lsocket or whatever for X linking.
9049 if test "$ISC" = yes; then
9050 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9051 else
9052 # Martyn Johnson says this is needed for Ultrix, if the X
9053 # libraries were built with DECnet support. And Karl Berry says
9054 # the Alpha needs dnet_stub (dnet does not exist).
9055 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9057 /* end confdefs.h. */
9059 /* Override any GCC internal prototype to avoid an error.
9060 Use char because int might match the return type of a GCC
9061 builtin and then its argument prototype would still apply. */
9062 #ifdef __cplusplus
9063 extern "C"
9064 #endif
9065 char XOpenDisplay ();
9067 main ()
9069 return XOpenDisplay ();
9071 return 0;
9073 _ACEOF
9074 if ac_fn_c_try_link "$LINENO"; then :
9076 else
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9078 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9079 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9080 $as_echo_n "(cached) " >&6
9081 else
9082 ac_check_lib_save_LIBS=$LIBS
9083 LIBS="-ldnet $LIBS"
9084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9087 /* Override any GCC internal prototype to avoid an error.
9088 Use char because int might match the return type of a GCC
9089 builtin and then its argument prototype would still apply. */
9090 #ifdef __cplusplus
9091 extern "C"
9092 #endif
9093 char dnet_ntoa ();
9095 main ()
9097 return dnet_ntoa ();
9099 return 0;
9101 _ACEOF
9102 if ac_fn_c_try_link "$LINENO"; then :
9103 ac_cv_lib_dnet_dnet_ntoa=yes
9104 else
9105 ac_cv_lib_dnet_dnet_ntoa=no
9107 rm -f core conftest.err conftest.$ac_objext \
9108 conftest$ac_exeext conftest.$ac_ext
9109 LIBS=$ac_check_lib_save_LIBS
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9112 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9113 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9114 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9117 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9119 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9120 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9121 $as_echo_n "(cached) " >&6
9122 else
9123 ac_check_lib_save_LIBS=$LIBS
9124 LIBS="-ldnet_stub $LIBS"
9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9128 /* Override any GCC internal prototype to avoid an error.
9129 Use char because int might match the return type of a GCC
9130 builtin and then its argument prototype would still apply. */
9131 #ifdef __cplusplus
9132 extern "C"
9133 #endif
9134 char dnet_ntoa ();
9136 main ()
9138 return dnet_ntoa ();
9140 return 0;
9142 _ACEOF
9143 if ac_fn_c_try_link "$LINENO"; then :
9144 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9145 else
9146 ac_cv_lib_dnet_stub_dnet_ntoa=no
9148 rm -f core conftest.err conftest.$ac_objext \
9149 conftest$ac_exeext conftest.$ac_ext
9150 LIBS=$ac_check_lib_save_LIBS
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9153 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9154 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9155 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9160 rm -f core conftest.err conftest.$ac_objext \
9161 conftest$ac_exeext conftest.$ac_ext
9162 LIBS="$ac_xsave_LIBS"
9164 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9165 # to get the SysV transport functions.
9166 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9167 # needs -lnsl.
9168 # The nsl library prevents programs from opening the X display
9169 # on Irix 5.2, according to T.E. Dickey.
9170 # The functions gethostbyname, getservbyname, and inet_addr are
9171 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9172 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9173 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9177 if test $ac_cv_func_gethostbyname = no; then
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9179 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9180 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9181 $as_echo_n "(cached) " >&6
9182 else
9183 ac_check_lib_save_LIBS=$LIBS
9184 LIBS="-lnsl $LIBS"
9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9188 /* Override any GCC internal prototype to avoid an error.
9189 Use char because int might match the return type of a GCC
9190 builtin and then its argument prototype would still apply. */
9191 #ifdef __cplusplus
9192 extern "C"
9193 #endif
9194 char gethostbyname ();
9196 main ()
9198 return gethostbyname ();
9200 return 0;
9202 _ACEOF
9203 if ac_fn_c_try_link "$LINENO"; then :
9204 ac_cv_lib_nsl_gethostbyname=yes
9205 else
9206 ac_cv_lib_nsl_gethostbyname=no
9208 rm -f core conftest.err conftest.$ac_objext \
9209 conftest$ac_exeext conftest.$ac_ext
9210 LIBS=$ac_check_lib_save_LIBS
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9213 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9214 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9215 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9218 if test $ac_cv_lib_nsl_gethostbyname = no; then
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9220 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9221 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9222 $as_echo_n "(cached) " >&6
9223 else
9224 ac_check_lib_save_LIBS=$LIBS
9225 LIBS="-lbsd $LIBS"
9226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9227 /* end confdefs.h. */
9229 /* Override any GCC internal prototype to avoid an error.
9230 Use char because int might match the return type of a GCC
9231 builtin and then its argument prototype would still apply. */
9232 #ifdef __cplusplus
9233 extern "C"
9234 #endif
9235 char gethostbyname ();
9237 main ()
9239 return gethostbyname ();
9241 return 0;
9243 _ACEOF
9244 if ac_fn_c_try_link "$LINENO"; then :
9245 ac_cv_lib_bsd_gethostbyname=yes
9246 else
9247 ac_cv_lib_bsd_gethostbyname=no
9249 rm -f core conftest.err conftest.$ac_objext \
9250 conftest$ac_exeext conftest.$ac_ext
9251 LIBS=$ac_check_lib_save_LIBS
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9254 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9255 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9256 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9262 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9263 # socket/setsockopt and other routines are undefined under SCO ODT
9264 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9265 # on later versions), says Simon Leinen: it contains gethostby*
9266 # variants that don't use the name server (or something). -lsocket
9267 # must be given before -lnsl if both are needed. We assume that
9268 # if connect needs -lnsl, so does gethostbyname.
9269 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9270 if test "x$ac_cv_func_connect" = xyes; then :
9274 if test $ac_cv_func_connect = no; then
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9276 $as_echo_n "checking for connect in -lsocket... " >&6; }
9277 if ${ac_cv_lib_socket_connect+:} false; then :
9278 $as_echo_n "(cached) " >&6
9279 else
9280 ac_check_lib_save_LIBS=$LIBS
9281 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9285 /* Override any GCC internal prototype to avoid an error.
9286 Use char because int might match the return type of a GCC
9287 builtin and then its argument prototype would still apply. */
9288 #ifdef __cplusplus
9289 extern "C"
9290 #endif
9291 char connect ();
9293 main ()
9295 return connect ();
9297 return 0;
9299 _ACEOF
9300 if ac_fn_c_try_link "$LINENO"; then :
9301 ac_cv_lib_socket_connect=yes
9302 else
9303 ac_cv_lib_socket_connect=no
9305 rm -f core conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9307 LIBS=$ac_check_lib_save_LIBS
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9310 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9311 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9312 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9317 # Guillermo Gomez says -lposix is necessary on A/UX.
9318 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9319 if test "x$ac_cv_func_remove" = xyes; then :
9323 if test $ac_cv_func_remove = no; then
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9325 $as_echo_n "checking for remove in -lposix... " >&6; }
9326 if ${ac_cv_lib_posix_remove+:} false; then :
9327 $as_echo_n "(cached) " >&6
9328 else
9329 ac_check_lib_save_LIBS=$LIBS
9330 LIBS="-lposix $LIBS"
9331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9332 /* end confdefs.h. */
9334 /* Override any GCC internal prototype to avoid an error.
9335 Use char because int might match the return type of a GCC
9336 builtin and then its argument prototype would still apply. */
9337 #ifdef __cplusplus
9338 extern "C"
9339 #endif
9340 char remove ();
9342 main ()
9344 return remove ();
9346 return 0;
9348 _ACEOF
9349 if ac_fn_c_try_link "$LINENO"; then :
9350 ac_cv_lib_posix_remove=yes
9351 else
9352 ac_cv_lib_posix_remove=no
9354 rm -f core conftest.err conftest.$ac_objext \
9355 conftest$ac_exeext conftest.$ac_ext
9356 LIBS=$ac_check_lib_save_LIBS
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9359 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9360 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9361 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9366 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9367 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9368 if test "x$ac_cv_func_shmat" = xyes; then :
9372 if test $ac_cv_func_shmat = no; then
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9374 $as_echo_n "checking for shmat in -lipc... " >&6; }
9375 if ${ac_cv_lib_ipc_shmat+:} false; then :
9376 $as_echo_n "(cached) " >&6
9377 else
9378 ac_check_lib_save_LIBS=$LIBS
9379 LIBS="-lipc $LIBS"
9380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9383 /* Override any GCC internal prototype to avoid an error.
9384 Use char because int might match the return type of a GCC
9385 builtin and then its argument prototype would still apply. */
9386 #ifdef __cplusplus
9387 extern "C"
9388 #endif
9389 char shmat ();
9391 main ()
9393 return shmat ();
9395 return 0;
9397 _ACEOF
9398 if ac_fn_c_try_link "$LINENO"; then :
9399 ac_cv_lib_ipc_shmat=yes
9400 else
9401 ac_cv_lib_ipc_shmat=no
9403 rm -f core conftest.err conftest.$ac_objext \
9404 conftest$ac_exeext conftest.$ac_ext
9405 LIBS=$ac_check_lib_save_LIBS
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9408 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9409 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9410 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9416 # Check for libraries that X11R6 Xt/Xaw programs need.
9417 ac_save_LDFLAGS=$LDFLAGS
9418 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9419 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9420 # check for ICE first), but we must link in the order -lSM -lICE or
9421 # we get undefined symbols. So assume we have SM if we have ICE.
9422 # These have to be linked with before -lX11, unlike the other
9423 # libraries we check for below, so use a different variable.
9424 # John Interrante, Karl Berry
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9426 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9427 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9428 $as_echo_n "(cached) " >&6
9429 else
9430 ac_check_lib_save_LIBS=$LIBS
9431 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9433 /* end confdefs.h. */
9435 /* Override any GCC internal prototype to avoid an error.
9436 Use char because int might match the return type of a GCC
9437 builtin and then its argument prototype would still apply. */
9438 #ifdef __cplusplus
9439 extern "C"
9440 #endif
9441 char IceConnectionNumber ();
9443 main ()
9445 return IceConnectionNumber ();
9447 return 0;
9449 _ACEOF
9450 if ac_fn_c_try_link "$LINENO"; then :
9451 ac_cv_lib_ICE_IceConnectionNumber=yes
9452 else
9453 ac_cv_lib_ICE_IceConnectionNumber=no
9455 rm -f core conftest.err conftest.$ac_objext \
9456 conftest$ac_exeext conftest.$ac_ext
9457 LIBS=$ac_check_lib_save_LIBS
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9460 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9461 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9462 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9465 LDFLAGS=$ac_save_LDFLAGS
9470 if test "$have_x" = "yes"
9471 then
9472 ac_save_CPPFLAGS="$CPPFLAGS"
9473 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9476 $as_echo_n "checking for -lX11... " >&6; }
9477 if ${ac_cv_lib_soname_X11+:} false; then :
9478 $as_echo_n "(cached) " >&6
9479 else
9480 ac_check_soname_save_LIBS=$LIBS
9481 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9483 /* end confdefs.h. */
9485 /* Override any GCC internal prototype to avoid an error.
9486 Use char because int might match the return type of a GCC
9487 builtin and then its argument prototype would still apply. */
9488 #ifdef __cplusplus
9489 extern "C"
9490 #endif
9491 char XCreateWindow ();
9493 main ()
9495 return XCreateWindow ();
9497 return 0;
9499 _ACEOF
9500 if ac_fn_c_try_link "$LINENO"; then :
9501 case "$LIBEXT" in
9502 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9503 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'` ;;
9504 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9505 if ${ac_cv_lib_soname_X11:+false} :; then :
9506 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9507 fi ;;
9508 esac
9510 rm -f core conftest.err conftest.$ac_objext \
9511 conftest$ac_exeext conftest.$ac_ext
9512 LIBS=$ac_check_soname_save_LIBS
9514 if ${ac_cv_lib_soname_X11:+false} :; then :
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9516 $as_echo "not found" >&6; }
9518 else
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9520 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9522 cat >>confdefs.h <<_ACEOF
9523 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9524 _ACEOF
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9529 $as_echo_n "checking for -lXext... " >&6; }
9530 if ${ac_cv_lib_soname_Xext+:} false; then :
9531 $as_echo_n "(cached) " >&6
9532 else
9533 ac_check_soname_save_LIBS=$LIBS
9534 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9538 /* Override any GCC internal prototype to avoid an error.
9539 Use char because int might match the return type of a GCC
9540 builtin and then its argument prototype would still apply. */
9541 #ifdef __cplusplus
9542 extern "C"
9543 #endif
9544 char XextCreateExtension ();
9546 main ()
9548 return XextCreateExtension ();
9550 return 0;
9552 _ACEOF
9553 if ac_fn_c_try_link "$LINENO"; then :
9554 case "$LIBEXT" in
9555 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9556 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'` ;;
9557 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9558 if ${ac_cv_lib_soname_Xext:+false} :; then :
9559 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9560 fi ;;
9561 esac
9563 rm -f core conftest.err conftest.$ac_objext \
9564 conftest$ac_exeext conftest.$ac_ext
9565 LIBS=$ac_check_soname_save_LIBS
9567 if ${ac_cv_lib_soname_Xext:+false} :; then :
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9569 $as_echo "not found" >&6; }
9571 else
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9573 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9575 cat >>confdefs.h <<_ACEOF
9576 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9577 _ACEOF
9579 X_LIBS="$X_LIBS -lXext"
9581 X_LIBS="$X_LIBS -lX11"
9583 for ac_header in X11/Xlib.h \
9584 X11/XKBlib.h \
9585 X11/Xutil.h \
9586 X11/Xcursor/Xcursor.h \
9587 X11/extensions/shape.h \
9588 X11/extensions/XInput.h \
9589 X11/extensions/XInput2.h \
9590 X11/extensions/XShm.h \
9591 X11/extensions/Xcomposite.h \
9592 X11/extensions/Xinerama.h \
9593 X11/extensions/Xrandr.h \
9594 X11/extensions/Xrender.h \
9595 X11/extensions/xf86vmode.h \
9596 X11/extensions/xf86vmproto.h
9597 do :
9598 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9599 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9600 # include <X11/Xlib.h>
9601 #endif
9602 #ifdef HAVE_X11_XUTIL_H
9603 # include <X11/Xutil.h>
9604 #endif
9606 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9607 cat >>confdefs.h <<_ACEOF
9608 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9609 _ACEOF
9613 done
9616 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9617 then
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9619 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9620 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9621 $as_echo_n "(cached) " >&6
9622 else
9623 ac_check_lib_save_LIBS=$LIBS
9624 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9626 /* end confdefs.h. */
9628 /* Override any GCC internal prototype to avoid an error.
9629 Use char because int might match the return type of a GCC
9630 builtin and then its argument prototype would still apply. */
9631 #ifdef __cplusplus
9632 extern "C"
9633 #endif
9634 char XkbQueryExtension ();
9636 main ()
9638 return XkbQueryExtension ();
9640 return 0;
9642 _ACEOF
9643 if ac_fn_c_try_link "$LINENO"; then :
9644 ac_cv_lib_X11_XkbQueryExtension=yes
9645 else
9646 ac_cv_lib_X11_XkbQueryExtension=no
9648 rm -f core conftest.err conftest.$ac_objext \
9649 conftest$ac_exeext conftest.$ac_ext
9650 LIBS=$ac_check_lib_save_LIBS
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9653 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9654 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9656 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9662 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9663 then
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9665 $as_echo_n "checking for -lXcursor... " >&6; }
9666 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9667 $as_echo_n "(cached) " >&6
9668 else
9669 ac_check_soname_save_LIBS=$LIBS
9670 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9674 /* Override any GCC internal prototype to avoid an error.
9675 Use char because int might match the return type of a GCC
9676 builtin and then its argument prototype would still apply. */
9677 #ifdef __cplusplus
9678 extern "C"
9679 #endif
9680 char XcursorImageLoadCursor ();
9682 main ()
9684 return XcursorImageLoadCursor ();
9686 return 0;
9688 _ACEOF
9689 if ac_fn_c_try_link "$LINENO"; then :
9690 case "$LIBEXT" in
9691 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9692 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'` ;;
9693 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9694 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9695 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9696 fi ;;
9697 esac
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 LIBS=$ac_check_soname_save_LIBS
9703 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9705 $as_echo "not found" >&6; }
9707 else
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9709 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9711 cat >>confdefs.h <<_ACEOF
9712 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9713 _ACEOF
9718 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9719 case "x$with_xcursor" in
9720 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9721 xno) ;;
9722 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9723 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9724 esac
9727 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9728 then
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9730 $as_echo_n "checking for -lXi... " >&6; }
9731 if ${ac_cv_lib_soname_Xi+:} false; then :
9732 $as_echo_n "(cached) " >&6
9733 else
9734 ac_check_soname_save_LIBS=$LIBS
9735 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9737 /* end confdefs.h. */
9739 /* Override any GCC internal prototype to avoid an error.
9740 Use char because int might match the return type of a GCC
9741 builtin and then its argument prototype would still apply. */
9742 #ifdef __cplusplus
9743 extern "C"
9744 #endif
9745 char XOpenDevice ();
9747 main ()
9749 return XOpenDevice ();
9751 return 0;
9753 _ACEOF
9754 if ac_fn_c_try_link "$LINENO"; then :
9755 case "$LIBEXT" in
9756 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9757 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'` ;;
9758 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9759 if ${ac_cv_lib_soname_Xi:+false} :; then :
9760 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9761 fi ;;
9762 esac
9764 rm -f core conftest.err conftest.$ac_objext \
9765 conftest$ac_exeext conftest.$ac_ext
9766 LIBS=$ac_check_soname_save_LIBS
9768 if ${ac_cv_lib_soname_Xi:+false} :; then :
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9770 $as_echo "not found" >&6; }
9772 else
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9774 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9776 cat >>confdefs.h <<_ACEOF
9777 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9778 _ACEOF
9783 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9784 case "x$with_xinput" in
9785 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9786 xno) ;;
9787 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9788 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9789 esac
9792 if test "x$ac_cv_lib_soname_Xi" != x
9793 then
9794 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9795 case "x$with_xinput2" in
9796 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9797 xno) ;;
9798 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9799 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9800 esac
9804 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9805 then
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9807 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9808 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9809 $as_echo_n "(cached) " >&6
9810 else
9811 ac_check_lib_save_LIBS=$LIBS
9812 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9814 /* end confdefs.h. */
9816 /* Override any GCC internal prototype to avoid an error.
9817 Use char because int might match the return type of a GCC
9818 builtin and then its argument prototype would still apply. */
9819 #ifdef __cplusplus
9820 extern "C"
9821 #endif
9822 char XShmQueryExtension ();
9824 main ()
9826 return XShmQueryExtension ();
9828 return 0;
9830 _ACEOF
9831 if ac_fn_c_try_link "$LINENO"; then :
9832 ac_cv_lib_Xext_XShmQueryExtension=yes
9833 else
9834 ac_cv_lib_Xext_XShmQueryExtension=no
9836 rm -f core conftest.err conftest.$ac_objext \
9837 conftest$ac_exeext conftest.$ac_ext
9838 LIBS=$ac_check_lib_save_LIBS
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9841 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9842 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9844 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9849 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9850 case "x$with_xshm" in
9851 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9852 xno) ;;
9853 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9854 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9855 esac
9858 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9859 then
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9861 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9862 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9863 $as_echo_n "(cached) " >&6
9864 else
9865 ac_check_lib_save_LIBS=$LIBS
9866 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9868 /* end confdefs.h. */
9870 /* Override any GCC internal prototype to avoid an error.
9871 Use char because int might match the return type of a GCC
9872 builtin and then its argument prototype would still apply. */
9873 #ifdef __cplusplus
9874 extern "C"
9875 #endif
9876 char XShapeQueryExtension ();
9878 main ()
9880 return XShapeQueryExtension ();
9882 return 0;
9884 _ACEOF
9885 if ac_fn_c_try_link "$LINENO"; then :
9886 ac_cv_lib_Xext_XShapeQueryExtension=yes
9887 else
9888 ac_cv_lib_Xext_XShapeQueryExtension=no
9890 rm -f core conftest.err conftest.$ac_objext \
9891 conftest$ac_exeext conftest.$ac_ext
9892 LIBS=$ac_check_lib_save_LIBS
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9895 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9896 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9898 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9903 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9904 case "x$with_xshape" in
9905 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9906 xno) ;;
9907 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9908 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9909 esac
9912 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9913 then
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9915 $as_echo_n "checking for -lXxf86vm... " >&6; }
9916 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9917 $as_echo_n "(cached) " >&6
9918 else
9919 ac_check_soname_save_LIBS=$LIBS
9920 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9924 /* Override any GCC internal prototype to avoid an error.
9925 Use char because int might match the return type of a GCC
9926 builtin and then its argument prototype would still apply. */
9927 #ifdef __cplusplus
9928 extern "C"
9929 #endif
9930 char XF86VidModeQueryExtension ();
9932 main ()
9934 return XF86VidModeQueryExtension ();
9936 return 0;
9938 _ACEOF
9939 if ac_fn_c_try_link "$LINENO"; then :
9940 case "$LIBEXT" in
9941 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9942 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'` ;;
9943 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9944 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9945 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9946 fi ;;
9947 esac
9949 rm -f core conftest.err conftest.$ac_objext \
9950 conftest$ac_exeext conftest.$ac_ext
9951 LIBS=$ac_check_soname_save_LIBS
9953 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9955 $as_echo "not found" >&6; }
9957 else
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9959 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9961 cat >>confdefs.h <<_ACEOF
9962 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9963 _ACEOF
9968 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9969 case "x$with_xxf86vm" in
9970 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9971 xno) ;;
9972 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9973 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9974 esac
9977 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9978 then
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9980 $as_echo_n "checking for -lXrender... " >&6; }
9981 if ${ac_cv_lib_soname_Xrender+:} false; then :
9982 $as_echo_n "(cached) " >&6
9983 else
9984 ac_check_soname_save_LIBS=$LIBS
9985 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9989 /* Override any GCC internal prototype to avoid an error.
9990 Use char because int might match the return type of a GCC
9991 builtin and then its argument prototype would still apply. */
9992 #ifdef __cplusplus
9993 extern "C"
9994 #endif
9995 char XRenderQueryExtension ();
9997 main ()
9999 return XRenderQueryExtension ();
10001 return 0;
10003 _ACEOF
10004 if ac_fn_c_try_link "$LINENO"; then :
10005 case "$LIBEXT" in
10006 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10007 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'` ;;
10008 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10009 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10010 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10011 fi ;;
10012 esac
10014 rm -f core conftest.err conftest.$ac_objext \
10015 conftest$ac_exeext conftest.$ac_ext
10016 LIBS=$ac_check_soname_save_LIBS
10018 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10020 $as_echo "not found" >&6; }
10022 else
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10024 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10026 cat >>confdefs.h <<_ACEOF
10027 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10028 _ACEOF
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10031 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10032 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10033 $as_echo_n "(cached) " >&6
10034 else
10035 ac_check_lib_save_LIBS=$LIBS
10036 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10040 /* Override any GCC internal prototype to avoid an error.
10041 Use char because int might match the return type of a GCC
10042 builtin and then its argument prototype would still apply. */
10043 #ifdef __cplusplus
10044 extern "C"
10045 #endif
10046 char XRenderSetPictureTransform ();
10048 main ()
10050 return XRenderSetPictureTransform ();
10052 return 0;
10054 _ACEOF
10055 if ac_fn_c_try_link "$LINENO"; then :
10056 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10057 else
10058 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10060 rm -f core conftest.err conftest.$ac_objext \
10061 conftest$ac_exeext conftest.$ac_ext
10062 LIBS=$ac_check_lib_save_LIBS
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10065 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10066 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10068 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10073 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10074 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10075 $as_echo_n "(cached) " >&6
10076 else
10077 ac_check_lib_save_LIBS=$LIBS
10078 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10082 /* Override any GCC internal prototype to avoid an error.
10083 Use char because int might match the return type of a GCC
10084 builtin and then its argument prototype would still apply. */
10085 #ifdef __cplusplus
10086 extern "C"
10087 #endif
10088 char XRenderCreateLinearGradient ();
10090 main ()
10092 return XRenderCreateLinearGradient ();
10094 return 0;
10096 _ACEOF
10097 if ac_fn_c_try_link "$LINENO"; then :
10098 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10099 else
10100 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10102 rm -f core conftest.err conftest.$ac_objext \
10103 conftest$ac_exeext conftest.$ac_ext
10104 LIBS=$ac_check_lib_save_LIBS
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10107 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10108 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10110 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10117 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10118 case "x$with_xrender" in
10119 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10120 xno) ;;
10121 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10122 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10123 esac
10126 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10127 then
10128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10130 #include <X11/Xlib.h>
10131 #include <X11/extensions/Xrandr.h>
10133 main ()
10135 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10137 return 0;
10139 _ACEOF
10140 if ac_fn_c_try_compile "$LINENO"; then :
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10142 $as_echo_n "checking for -lXrandr... " >&6; }
10143 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10144 $as_echo_n "(cached) " >&6
10145 else
10146 ac_check_soname_save_LIBS=$LIBS
10147 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10149 /* end confdefs.h. */
10151 /* Override any GCC internal prototype to avoid an error.
10152 Use char because int might match the return type of a GCC
10153 builtin and then its argument prototype would still apply. */
10154 #ifdef __cplusplus
10155 extern "C"
10156 #endif
10157 char XRRQueryExtension ();
10159 main ()
10161 return XRRQueryExtension ();
10163 return 0;
10165 _ACEOF
10166 if ac_fn_c_try_link "$LINENO"; then :
10167 case "$LIBEXT" in
10168 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10169 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'` ;;
10170 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10171 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10172 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10173 fi ;;
10174 esac
10176 rm -f core conftest.err conftest.$ac_objext \
10177 conftest$ac_exeext conftest.$ac_ext
10178 LIBS=$ac_check_soname_save_LIBS
10180 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10182 $as_echo "not found" >&6; }
10184 else
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10186 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10188 cat >>confdefs.h <<_ACEOF
10189 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10190 _ACEOF
10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10194 #include <X11/Xlib.h>
10195 #include <X11/extensions/Xrandr.h>
10197 main ()
10199 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10201 return 0;
10203 _ACEOF
10204 if ac_fn_c_try_compile "$LINENO"; then :
10206 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10214 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10215 case "x$with_xrandr" in
10216 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10217 xno) ;;
10218 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10219 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10220 esac
10223 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10224 then
10225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10226 /* end confdefs.h. */
10227 #include <X11/Xlib.h>
10228 #include <X11/extensions/Xinerama.h>
10230 main ()
10232 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10234 return 0;
10236 _ACEOF
10237 if ac_fn_c_try_compile "$LINENO"; then :
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10239 $as_echo_n "checking for -lXinerama... " >&6; }
10240 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10241 $as_echo_n "(cached) " >&6
10242 else
10243 ac_check_soname_save_LIBS=$LIBS
10244 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10248 /* Override any GCC internal prototype to avoid an error.
10249 Use char because int might match the return type of a GCC
10250 builtin and then its argument prototype would still apply. */
10251 #ifdef __cplusplus
10252 extern "C"
10253 #endif
10254 char XineramaQueryScreens ();
10256 main ()
10258 return XineramaQueryScreens ();
10260 return 0;
10262 _ACEOF
10263 if ac_fn_c_try_link "$LINENO"; then :
10264 case "$LIBEXT" in
10265 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10266 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'` ;;
10267 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10268 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10269 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10270 fi ;;
10271 esac
10273 rm -f core conftest.err conftest.$ac_objext \
10274 conftest$ac_exeext conftest.$ac_ext
10275 LIBS=$ac_check_soname_save_LIBS
10277 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10279 $as_echo "not found" >&6; }
10281 else
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10283 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10285 cat >>confdefs.h <<_ACEOF
10286 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10287 _ACEOF
10292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10294 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10295 case "x$with_xinerama" in
10296 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10297 xno) ;;
10298 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10299 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10300 esac
10303 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10304 then
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10306 $as_echo_n "checking for -lXcomposite... " >&6; }
10307 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10308 $as_echo_n "(cached) " >&6
10309 else
10310 ac_check_soname_save_LIBS=$LIBS
10311 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10315 /* Override any GCC internal prototype to avoid an error.
10316 Use char because int might match the return type of a GCC
10317 builtin and then its argument prototype would still apply. */
10318 #ifdef __cplusplus
10319 extern "C"
10320 #endif
10321 char XCompositeRedirectWindow ();
10323 main ()
10325 return XCompositeRedirectWindow ();
10327 return 0;
10329 _ACEOF
10330 if ac_fn_c_try_link "$LINENO"; then :
10331 case "$LIBEXT" in
10332 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10333 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'` ;;
10334 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10335 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10336 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10337 fi ;;
10338 esac
10340 rm -f core conftest.err conftest.$ac_objext \
10341 conftest$ac_exeext conftest.$ac_ext
10342 LIBS=$ac_check_soname_save_LIBS
10344 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10346 $as_echo "not found" >&6; }
10348 else
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10350 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10352 cat >>confdefs.h <<_ACEOF
10353 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10354 _ACEOF
10359 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10360 case "x$with_xcomposite" in
10361 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10362 xno) ;;
10363 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10364 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10365 esac
10368 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10369 #include <X11/Xlib.h>
10370 #endif
10372 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10374 cat >>confdefs.h <<_ACEOF
10375 #define HAVE_XICCALLBACK_CALLBACK 1
10376 _ACEOF
10380 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10381 #include <X11/Xlib.h>
10382 #endif
10384 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10386 cat >>confdefs.h <<_ACEOF
10387 #define HAVE_XEVENT_XCOOKIE 1
10388 _ACEOF
10395 opengl_msg=""
10396 if test "x$with_opengl" != "xno"
10397 then
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10399 $as_echo_n "checking for -lGL... " >&6; }
10400 if ${ac_cv_lib_soname_GL+:} false; then :
10401 $as_echo_n "(cached) " >&6
10402 else
10403 ac_check_soname_save_LIBS=$LIBS
10404 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10406 /* end confdefs.h. */
10408 /* Override any GCC internal prototype to avoid an error.
10409 Use char because int might match the return type of a GCC
10410 builtin and then its argument prototype would still apply. */
10411 #ifdef __cplusplus
10412 extern "C"
10413 #endif
10414 char glXCreateContext ();
10416 main ()
10418 return glXCreateContext ();
10420 return 0;
10422 _ACEOF
10423 if ac_fn_c_try_link "$LINENO"; then :
10424 case "$LIBEXT" in
10425 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10426 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'` ;;
10427 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10428 if ${ac_cv_lib_soname_GL:+false} :; then :
10429 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10430 fi ;;
10431 esac
10433 rm -f core conftest.err conftest.$ac_objext \
10434 conftest$ac_exeext conftest.$ac_ext
10435 LIBS=$ac_check_soname_save_LIBS
10437 if ${ac_cv_lib_soname_GL:+false} :; then :
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10439 $as_echo "not found" >&6; }
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10441 $as_echo_n "checking for -lGL... " >&6; }
10442 if ${ac_cv_lib_soname_GL+:} false; then :
10443 $as_echo_n "(cached) " >&6
10444 else
10445 ac_check_soname_save_LIBS=$LIBS
10446 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"
10447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10448 /* end confdefs.h. */
10450 /* Override any GCC internal prototype to avoid an error.
10451 Use char because int might match the return type of a GCC
10452 builtin and then its argument prototype would still apply. */
10453 #ifdef __cplusplus
10454 extern "C"
10455 #endif
10456 char glXCreateContext ();
10458 main ()
10460 return glXCreateContext ();
10462 return 0;
10464 _ACEOF
10465 if ac_fn_c_try_link "$LINENO"; then :
10466 case "$LIBEXT" in
10467 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10468 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'` ;;
10469 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10470 if ${ac_cv_lib_soname_GL:+false} :; then :
10471 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10472 fi ;;
10473 esac
10475 rm -f core conftest.err conftest.$ac_objext \
10476 conftest$ac_exeext conftest.$ac_ext
10477 LIBS=$ac_check_soname_save_LIBS
10479 if ${ac_cv_lib_soname_GL:+false} :; then :
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10481 $as_echo "not found" >&6; }
10482 if test -f /usr/X11R6/lib/libGL.a
10483 then
10484 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10485 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10486 else
10487 opengl_msg="No OpenGL library found on this system."
10489 else
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10491 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10493 cat >>confdefs.h <<_ACEOF
10494 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10495 _ACEOF
10497 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"
10499 else
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10501 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10503 cat >>confdefs.h <<_ACEOF
10504 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10505 _ACEOF
10507 OPENGL_LIBS="-lGL"
10509 if test "x$with_glu" != "xno"
10510 then
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10512 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10513 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10514 $as_echo_n "(cached) " >&6
10515 else
10516 ac_check_lib_save_LIBS=$LIBS
10517 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10521 /* Override any GCC internal prototype to avoid an error.
10522 Use char because int might match the return type of a GCC
10523 builtin and then its argument prototype would still apply. */
10524 #ifdef __cplusplus
10525 extern "C"
10526 #endif
10527 char gluLookAt ();
10529 main ()
10531 return gluLookAt ();
10533 return 0;
10535 _ACEOF
10536 if ac_fn_c_try_link "$LINENO"; then :
10537 ac_cv_lib_GLU_gluLookAt=yes
10538 else
10539 ac_cv_lib_GLU_gluLookAt=no
10541 rm -f core conftest.err conftest.$ac_objext \
10542 conftest$ac_exeext conftest.$ac_ext
10543 LIBS=$ac_check_lib_save_LIBS
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10546 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10547 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10551 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10552 case "x$with_glu" in
10553 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10554 xno) ;;
10555 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10556 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10557 esac
10561 if test "x$with_osmesa" != "xno"
10562 then
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10564 $as_echo_n "checking for -lOSMesa... " >&6; }
10565 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10566 $as_echo_n "(cached) " >&6
10567 else
10568 ac_check_soname_save_LIBS=$LIBS
10569 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h. */
10573 /* Override any GCC internal prototype to avoid an error.
10574 Use char because int might match the return type of a GCC
10575 builtin and then its argument prototype would still apply. */
10576 #ifdef __cplusplus
10577 extern "C"
10578 #endif
10579 char glAccum ();
10581 main ()
10583 return glAccum ();
10585 return 0;
10587 _ACEOF
10588 if ac_fn_c_try_link "$LINENO"; then :
10589 case "$LIBEXT" in
10590 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10591 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'` ;;
10592 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10593 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10594 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10595 fi ;;
10596 esac
10598 rm -f core conftest.err conftest.$ac_objext \
10599 conftest$ac_exeext conftest.$ac_ext
10600 LIBS=$ac_check_soname_save_LIBS
10602 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10604 $as_echo "not found" >&6; }
10606 else
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10608 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10610 cat >>confdefs.h <<_ACEOF
10611 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10612 _ACEOF
10616 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10617 case "x$with_osmesa" in
10618 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10619 xno) ;;
10620 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10621 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10622 esac
10626 if test -n "$opengl_msg"; then :
10627 case "x$with_opengl" in
10628 x) as_fn_append wine_warnings "|$opengl_msg
10629 OpenGL and Direct3D won't be supported." ;;
10630 xno) ;;
10631 *) as_fn_error $? "$opengl_msg
10632 OpenGL and Direct3D won't be supported.
10633 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10634 esac
10637 CPPFLAGS="$ac_save_CPPFLAGS"
10638 else
10639 X_CFLAGS=""
10640 X_LIBS=""
10641 enable_winex11_drv=${enable_winex11_drv:-no}
10643 if test "x$X_LIBS" = "x"; then :
10644 case "x$with_x" in
10645 xno) ;;
10646 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10647 without X support, which probably isn't what you want. You will need
10648 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10649 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10650 esac
10653 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10655 if test "$ac_cv_header_CL_cl_h" = "yes"
10656 then
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10658 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10659 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10660 $as_echo_n "(cached) " >&6
10661 else
10662 ac_check_lib_save_LIBS=$LIBS
10663 LIBS="-lOpenCL $LIBS"
10664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10665 /* end confdefs.h. */
10667 /* Override any GCC internal prototype to avoid an error.
10668 Use char because int might match the return type of a GCC
10669 builtin and then its argument prototype would still apply. */
10670 #ifdef __cplusplus
10671 extern "C"
10672 #endif
10673 char clGetPlatformInfo ();
10675 main ()
10677 return clGetPlatformInfo ();
10679 return 0;
10681 _ACEOF
10682 if ac_fn_c_try_link "$LINENO"; then :
10683 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10684 else
10685 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10687 rm -f core conftest.err conftest.$ac_objext \
10688 conftest$ac_exeext conftest.$ac_ext
10689 LIBS=$ac_check_lib_save_LIBS
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10692 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10693 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10694 OPENCL_LIBS="-lOpenCL"
10699 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10700 case "x$with_opencl" in
10701 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10702 xno) ;;
10703 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10704 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10705 esac
10707 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10709 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10710 then
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10712 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10713 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10714 $as_echo_n "(cached) " >&6
10715 else
10716 ac_check_lib_save_LIBS=$LIBS
10717 LIBS="-lpcap $LIBS"
10718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10721 /* Override any GCC internal prototype to avoid an error.
10722 Use char because int might match the return type of a GCC
10723 builtin and then its argument prototype would still apply. */
10724 #ifdef __cplusplus
10725 extern "C"
10726 #endif
10727 char pcap_create ();
10729 main ()
10731 return pcap_create ();
10733 return 0;
10735 _ACEOF
10736 if ac_fn_c_try_link "$LINENO"; then :
10737 ac_cv_lib_pcap_pcap_create=yes
10738 else
10739 ac_cv_lib_pcap_pcap_create=no
10741 rm -f core conftest.err conftest.$ac_objext \
10742 conftest$ac_exeext conftest.$ac_ext
10743 LIBS=$ac_check_lib_save_LIBS
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10746 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10747 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10748 LIBPCAP="-lpcap"
10753 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10754 case "x$with_pcap" in
10755 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10756 xno) ;;
10757 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10758 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10759 esac
10761 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10764 if test "x$with_xml" != "xno"
10765 then
10766 if ${XML2_CFLAGS:+false} :; then :
10767 if ${PKG_CONFIG+:} false; then :
10768 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10771 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10772 if ${XML2_LIBS:+false} :; then :
10773 if ${PKG_CONFIG+:} false; then :
10774 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10777 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10778 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10779 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10780 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10781 ac_save_CPPFLAGS=$CPPFLAGS
10782 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10783 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10784 do :
10785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10786 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10787 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10788 cat >>confdefs.h <<_ACEOF
10789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10790 _ACEOF
10794 done
10796 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"
10797 then
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10799 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10800 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10801 $as_echo_n "(cached) " >&6
10802 else
10803 ac_check_lib_save_LIBS=$LIBS
10804 LIBS="-lxml2 $XML2_LIBS $LIBS"
10805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10808 /* Override any GCC internal prototype to avoid an error.
10809 Use char because int might match the return type of a GCC
10810 builtin and then its argument prototype would still apply. */
10811 #ifdef __cplusplus
10812 extern "C"
10813 #endif
10814 char xmlParseMemory ();
10816 main ()
10818 return xmlParseMemory ();
10820 return 0;
10822 _ACEOF
10823 if ac_fn_c_try_link "$LINENO"; then :
10824 ac_cv_lib_xml2_xmlParseMemory=yes
10825 else
10826 ac_cv_lib_xml2_xmlParseMemory=no
10828 rm -f core conftest.err conftest.$ac_objext \
10829 conftest$ac_exeext conftest.$ac_ext
10830 LIBS=$ac_check_lib_save_LIBS
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10833 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10834 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10836 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10838 else
10839 XML2_LIBS=""
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10843 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10844 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10845 $as_echo_n "(cached) " >&6
10846 else
10847 ac_check_lib_save_LIBS=$LIBS
10848 LIBS="-lxml2 $XML2_LIBS $LIBS"
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10852 /* Override any GCC internal prototype to avoid an error.
10853 Use char because int might match the return type of a GCC
10854 builtin and then its argument prototype would still apply. */
10855 #ifdef __cplusplus
10856 extern "C"
10857 #endif
10858 char xmlReadMemory ();
10860 main ()
10862 return xmlReadMemory ();
10864 return 0;
10866 _ACEOF
10867 if ac_fn_c_try_link "$LINENO"; then :
10868 ac_cv_lib_xml2_xmlReadMemory=yes
10869 else
10870 ac_cv_lib_xml2_xmlReadMemory=no
10872 rm -f core conftest.err conftest.$ac_objext \
10873 conftest$ac_exeext conftest.$ac_ext
10874 LIBS=$ac_check_lib_save_LIBS
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10877 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10878 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10880 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10885 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10886 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10887 $as_echo_n "(cached) " >&6
10888 else
10889 ac_check_lib_save_LIBS=$LIBS
10890 LIBS="-lxml2 $XML2_LIBS $LIBS"
10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10894 /* Override any GCC internal prototype to avoid an error.
10895 Use char because int might match the return type of a GCC
10896 builtin and then its argument prototype would still apply. */
10897 #ifdef __cplusplus
10898 extern "C"
10899 #endif
10900 char xmlNewDocPI ();
10902 main ()
10904 return xmlNewDocPI ();
10906 return 0;
10908 _ACEOF
10909 if ac_fn_c_try_link "$LINENO"; then :
10910 ac_cv_lib_xml2_xmlNewDocPI=yes
10911 else
10912 ac_cv_lib_xml2_xmlNewDocPI=no
10914 rm -f core conftest.err conftest.$ac_objext \
10915 conftest$ac_exeext conftest.$ac_ext
10916 LIBS=$ac_check_lib_save_LIBS
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10919 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10920 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10922 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10927 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10928 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10929 $as_echo_n "(cached) " >&6
10930 else
10931 ac_check_lib_save_LIBS=$LIBS
10932 LIBS="-lxml2 $XML2_LIBS $LIBS"
10933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10934 /* end confdefs.h. */
10936 /* Override any GCC internal prototype to avoid an error.
10937 Use char because int might match the return type of a GCC
10938 builtin and then its argument prototype would still apply. */
10939 #ifdef __cplusplus
10940 extern "C"
10941 #endif
10942 char xmlSchemaSetParserStructuredErrors ();
10944 main ()
10946 return xmlSchemaSetParserStructuredErrors ();
10948 return 0;
10950 _ACEOF
10951 if ac_fn_c_try_link "$LINENO"; then :
10952 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10953 else
10954 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10956 rm -f core conftest.err conftest.$ac_objext \
10957 conftest$ac_exeext conftest.$ac_ext
10958 LIBS=$ac_check_lib_save_LIBS
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10961 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10962 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10964 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10969 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10970 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10971 $as_echo_n "(cached) " >&6
10972 else
10973 ac_check_lib_save_LIBS=$LIBS
10974 LIBS="-lxml2 $XML2_LIBS $LIBS"
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10978 /* Override any GCC internal prototype to avoid an error.
10979 Use char because int might match the return type of a GCC
10980 builtin and then its argument prototype would still apply. */
10981 #ifdef __cplusplus
10982 extern "C"
10983 #endif
10984 char xmlSchemaSetValidStructuredErrors ();
10986 main ()
10988 return xmlSchemaSetValidStructuredErrors ();
10990 return 0;
10992 _ACEOF
10993 if ac_fn_c_try_link "$LINENO"; then :
10994 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10995 else
10996 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10998 rm -f core conftest.err conftest.$ac_objext \
10999 conftest$ac_exeext conftest.$ac_ext
11000 LIBS=$ac_check_lib_save_LIBS
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11003 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11004 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11006 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11011 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11012 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11013 $as_echo_n "(cached) " >&6
11014 else
11015 ac_check_lib_save_LIBS=$LIBS
11016 LIBS="-lxml2 $XML2_LIBS $LIBS"
11017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11023 #ifdef __cplusplus
11024 extern "C"
11025 #endif
11026 char xmlFirstElementChild ();
11028 main ()
11030 return xmlFirstElementChild ();
11032 return 0;
11034 _ACEOF
11035 if ac_fn_c_try_link "$LINENO"; then :
11036 ac_cv_lib_xml2_xmlFirstElementChild=yes
11037 else
11038 ac_cv_lib_xml2_xmlFirstElementChild=no
11040 rm -f core conftest.err conftest.$ac_objext \
11041 conftest$ac_exeext conftest.$ac_ext
11042 LIBS=$ac_check_lib_save_LIBS
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11045 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11046 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11048 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11052 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11054 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11056 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11060 else
11061 XML2_CFLAGS=""
11062 XML2_LIBS=""
11064 CPPFLAGS=$ac_save_CPPFLAGS
11065 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11066 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11069 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11070 case "x$with_xml" in
11071 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11072 xno) ;;
11073 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11074 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11075 esac
11078 if test "x$with_xslt" != "xno"
11079 then
11080 if ${XSLT_CFLAGS:+false} :; then :
11081 if ${PKG_CONFIG+:} false; then :
11082 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11085 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11086 if ${XSLT_LIBS:+false} :; then :
11087 if ${PKG_CONFIG+:} false; then :
11088 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11091 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11092 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11093 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11094 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11095 ac_save_CPPFLAGS=$CPPFLAGS
11096 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11097 for ac_header in libxslt/pattern.h libxslt/transform.h
11098 do :
11099 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11100 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11101 # include <libxslt/pattern.h>
11102 #endif
11104 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11105 cat >>confdefs.h <<_ACEOF
11106 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11107 _ACEOF
11111 done
11113 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11114 then
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11116 $as_echo_n "checking for -lxslt... " >&6; }
11117 if ${ac_cv_lib_soname_xslt+:} false; then :
11118 $as_echo_n "(cached) " >&6
11119 else
11120 ac_check_soname_save_LIBS=$LIBS
11121 LIBS="-lxslt $XSLT_LIBS $LIBS"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11128 #ifdef __cplusplus
11129 extern "C"
11130 #endif
11131 char xsltCompilePattern ();
11133 main ()
11135 return xsltCompilePattern ();
11137 return 0;
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"; then :
11141 case "$LIBEXT" in
11142 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11143 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'` ;;
11144 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11145 if ${ac_cv_lib_soname_xslt:+false} :; then :
11146 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11147 fi ;;
11148 esac
11150 rm -f core conftest.err conftest.$ac_objext \
11151 conftest$ac_exeext conftest.$ac_ext
11152 LIBS=$ac_check_soname_save_LIBS
11154 if ${ac_cv_lib_soname_xslt:+false} :; then :
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11156 $as_echo "not found" >&6; }
11158 else
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11160 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11162 cat >>confdefs.h <<_ACEOF
11163 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11164 _ACEOF
11168 else
11169 XSLT_CFLAGS=""
11171 CPPFLAGS=$ac_save_CPPFLAGS
11172 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11173 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11176 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11177 case "x$with_xslt" in
11178 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11179 xno) ;;
11180 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11181 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11182 esac
11185 if test "x$with_dbus" != "xno"
11186 then
11187 if ${DBUS_CFLAGS:+false} :; then :
11188 if ${PKG_CONFIG+:} false; then :
11189 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11193 if ${DBUS_LIBS:+false} :; then :
11194 if ${PKG_CONFIG+:} false; then :
11195 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11200 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11201 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11202 ac_save_CPPFLAGS=$CPPFLAGS
11203 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11204 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11205 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11207 $as_echo_n "checking for -ldbus-1... " >&6; }
11208 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11209 $as_echo_n "(cached) " >&6
11210 else
11211 ac_check_soname_save_LIBS=$LIBS
11212 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11214 /* end confdefs.h. */
11216 /* Override any GCC internal prototype to avoid an error.
11217 Use char because int might match the return type of a GCC
11218 builtin and then its argument prototype would still apply. */
11219 #ifdef __cplusplus
11220 extern "C"
11221 #endif
11222 char dbus_connection_close ();
11224 main ()
11226 return dbus_connection_close ();
11228 return 0;
11230 _ACEOF
11231 if ac_fn_c_try_link "$LINENO"; then :
11232 case "$LIBEXT" in
11233 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11234 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'` ;;
11235 *) 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'`
11236 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11237 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11238 fi ;;
11239 esac
11241 rm -f core conftest.err conftest.$ac_objext \
11242 conftest$ac_exeext conftest.$ac_ext
11243 LIBS=$ac_check_soname_save_LIBS
11245 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11247 $as_echo "not found" >&6; }
11248 DBUS_CFLAGS=""
11249 else
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11251 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11253 cat >>confdefs.h <<_ACEOF
11254 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11255 _ACEOF
11259 else
11260 DBUS_CFLAGS=""
11264 CPPFLAGS=$ac_save_CPPFLAGS
11265 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11266 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11269 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11270 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11271 case "x$with_dbus" in
11272 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11273 xno) ;;
11274 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11275 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11276 esac
11279 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11280 then
11281 if ${HAL_CFLAGS:+false} :; then :
11282 if ${PKG_CONFIG+:} false; then :
11283 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11287 if ${HAL_LIBS:+false} :; then :
11288 if ${PKG_CONFIG+:} false; then :
11289 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11293 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11294 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11295 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11296 ac_save_CPPFLAGS=$CPPFLAGS
11297 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11298 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11299 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11301 $as_echo_n "checking for -lhal... " >&6; }
11302 if ${ac_cv_lib_soname_hal+:} false; then :
11303 $as_echo_n "(cached) " >&6
11304 else
11305 ac_check_soname_save_LIBS=$LIBS
11306 LIBS="-lhal $HAL_LIBS $LIBS"
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char libhal_ctx_new ();
11318 main ()
11320 return libhal_ctx_new ();
11322 return 0;
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 case "$LIBEXT" in
11327 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11328 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'` ;;
11329 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11330 if ${ac_cv_lib_soname_hal:+false} :; then :
11331 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11332 fi ;;
11333 esac
11335 rm -f core conftest.err conftest.$ac_objext \
11336 conftest$ac_exeext conftest.$ac_ext
11337 LIBS=$ac_check_soname_save_LIBS
11339 if ${ac_cv_lib_soname_hal:+false} :; then :
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11341 $as_echo "not found" >&6; }
11342 HAL_CFLAGS=""
11343 else
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11345 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11347 cat >>confdefs.h <<_ACEOF
11348 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11349 _ACEOF
11353 else
11354 HAL_CFLAGS=""
11358 CPPFLAGS=$ac_save_CPPFLAGS
11359 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11360 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11362 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11363 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11364 case "x$with_hal" in
11365 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11366 xno) ;;
11367 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11368 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11369 esac
11373 if test "x$with_gnutls" != "xno"
11374 then
11375 if ${GNUTLS_CFLAGS:+false} :; then :
11376 if ${PKG_CONFIG+:} false; then :
11377 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11381 if ${GNUTLS_LIBS:+false} :; then :
11382 if ${PKG_CONFIG+:} false; then :
11383 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11388 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11389 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11390 ac_save_CPPFLAGS=$CPPFLAGS
11391 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11392 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11393 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11395 /* end confdefs.h. */
11396 #include <gnutls/gnutls.h>
11397 #include <gnutls/crypto.h>
11399 main ()
11401 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11403 return 0;
11405 _ACEOF
11406 if ac_fn_c_try_compile "$LINENO"; then :
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11408 $as_echo_n "checking for -lgnutls... " >&6; }
11409 if ${ac_cv_lib_soname_gnutls+:} false; then :
11410 $as_echo_n "(cached) " >&6
11411 else
11412 ac_check_soname_save_LIBS=$LIBS
11413 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11415 /* end confdefs.h. */
11417 /* Override any GCC internal prototype to avoid an error.
11418 Use char because int might match the return type of a GCC
11419 builtin and then its argument prototype would still apply. */
11420 #ifdef __cplusplus
11421 extern "C"
11422 #endif
11423 char gnutls_global_init ();
11425 main ()
11427 return gnutls_global_init ();
11429 return 0;
11431 _ACEOF
11432 if ac_fn_c_try_link "$LINENO"; then :
11433 case "$LIBEXT" in
11434 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11435 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'` ;;
11436 *) 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'`
11437 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11438 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'`
11439 fi ;;
11440 esac
11442 rm -f core conftest.err conftest.$ac_objext \
11443 conftest$ac_exeext conftest.$ac_ext
11444 LIBS=$ac_check_soname_save_LIBS
11446 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11448 $as_echo "not found" >&6; }
11449 GNUTLS_CFLAGS=""
11450 else
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11452 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11454 cat >>confdefs.h <<_ACEOF
11455 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11456 _ACEOF
11461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11462 else
11463 GNUTLS_CFLAGS=""
11467 CPPFLAGS=$ac_save_CPPFLAGS
11468 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11469 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11472 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11473 case "x$with_gnutls" in
11474 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11475 xno) ;;
11476 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11477 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11478 esac
11481 CURSES_LIBS=""
11482 if test "$ac_cv_header_ncurses_h" = "yes"
11483 then
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11485 $as_echo_n "checking for -lncurses... " >&6; }
11486 if ${ac_cv_lib_soname_ncurses+:} false; then :
11487 $as_echo_n "(cached) " >&6
11488 else
11489 ac_check_soname_save_LIBS=$LIBS
11490 LIBS="-lncurses $LIBS"
11491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h. */
11494 /* Override any GCC internal prototype to avoid an error.
11495 Use char because int might match the return type of a GCC
11496 builtin and then its argument prototype would still apply. */
11497 #ifdef __cplusplus
11498 extern "C"
11499 #endif
11500 char waddch ();
11502 main ()
11504 return waddch ();
11506 return 0;
11508 _ACEOF
11509 if ac_fn_c_try_link "$LINENO"; then :
11510 case "$LIBEXT" in
11511 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11512 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'` ;;
11513 *) 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'`
11514 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11515 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11516 fi ;;
11517 esac
11519 rm -f core conftest.err conftest.$ac_objext \
11520 conftest$ac_exeext conftest.$ac_ext
11521 LIBS=$ac_check_soname_save_LIBS
11523 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11525 $as_echo "not found" >&6; }
11527 else
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11529 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11531 cat >>confdefs.h <<_ACEOF
11532 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11533 _ACEOF
11535 CURSES_LIBS="-lncurses"
11537 elif test "$ac_cv_header_curses_h" = "yes"
11538 then
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11540 $as_echo_n "checking for -lcurses... " >&6; }
11541 if ${ac_cv_lib_soname_curses+:} false; then :
11542 $as_echo_n "(cached) " >&6
11543 else
11544 ac_check_soname_save_LIBS=$LIBS
11545 LIBS="-lcurses $LIBS"
11546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11547 /* end confdefs.h. */
11549 /* Override any GCC internal prototype to avoid an error.
11550 Use char because int might match the return type of a GCC
11551 builtin and then its argument prototype would still apply. */
11552 #ifdef __cplusplus
11553 extern "C"
11554 #endif
11555 char waddch ();
11557 main ()
11559 return waddch ();
11561 return 0;
11563 _ACEOF
11564 if ac_fn_c_try_link "$LINENO"; then :
11565 case "$LIBEXT" in
11566 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11567 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'` ;;
11568 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11569 if ${ac_cv_lib_soname_curses:+false} :; then :
11570 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11571 fi ;;
11572 esac
11574 rm -f core conftest.err conftest.$ac_objext \
11575 conftest$ac_exeext conftest.$ac_ext
11576 LIBS=$ac_check_soname_save_LIBS
11578 if ${ac_cv_lib_soname_curses:+false} :; then :
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11580 $as_echo "not found" >&6; }
11582 else
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11584 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11586 cat >>confdefs.h <<_ACEOF
11587 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11588 _ACEOF
11590 CURSES_LIBS="-lcurses"
11593 ac_save_LIBS="$LIBS"
11594 LIBS="$LIBS $CURSES_LIBS"
11595 for ac_func in mousemask
11596 do :
11597 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11598 if test "x$ac_cv_func_mousemask" = xyes; then :
11599 cat >>confdefs.h <<_ACEOF
11600 #define HAVE_MOUSEMASK 1
11601 _ACEOF
11604 done
11606 LIBS="$ac_save_LIBS"
11607 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11608 case "x$with_curses" in
11609 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11610 xno) ;;
11611 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11612 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11613 esac
11616 if test "x$with_sane" != "xno"
11617 then
11618 if ${SANE_CFLAGS:+false} :; then :
11619 if ${PKG_CONFIG+:} false; then :
11620 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11623 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11624 if ${SANE_LIBS:+false} :; then :
11625 if ${PKG_CONFIG+:} false; then :
11626 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11629 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11631 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11632 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11633 ac_save_CPPFLAGS=$CPPFLAGS
11634 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11635 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11636 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11638 $as_echo_n "checking for -lsane... " >&6; }
11639 if ${ac_cv_lib_soname_sane+:} false; then :
11640 $as_echo_n "(cached) " >&6
11641 else
11642 ac_check_soname_save_LIBS=$LIBS
11643 LIBS="-lsane $SANE_LIBS $LIBS"
11644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11650 #ifdef __cplusplus
11651 extern "C"
11652 #endif
11653 char sane_init ();
11655 main ()
11657 return sane_init ();
11659 return 0;
11661 _ACEOF
11662 if ac_fn_c_try_link "$LINENO"; then :
11663 case "$LIBEXT" in
11664 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11665 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'` ;;
11666 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11667 if ${ac_cv_lib_soname_sane:+false} :; then :
11668 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11669 fi ;;
11670 esac
11672 rm -f core conftest.err conftest.$ac_objext \
11673 conftest$ac_exeext conftest.$ac_ext
11674 LIBS=$ac_check_soname_save_LIBS
11676 if ${ac_cv_lib_soname_sane:+false} :; then :
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11678 $as_echo "not found" >&6; }
11679 SANE_CFLAGS=""
11680 else
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11682 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11684 cat >>confdefs.h <<_ACEOF
11685 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11686 _ACEOF
11690 else
11691 SANE_CFLAGS=""
11695 CPPFLAGS=$ac_save_CPPFLAGS
11696 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11697 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11700 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11701 case "x$with_sane" in
11702 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11703 xno) ;;
11704 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11705 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11706 esac
11709 if test "x$with_v4l" != "xno"
11710 then
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11712 $as_echo_n "checking for -lv4l1... " >&6; }
11713 if ${ac_cv_lib_soname_v4l1+:} false; then :
11714 $as_echo_n "(cached) " >&6
11715 else
11716 ac_check_soname_save_LIBS=$LIBS
11717 LIBS="-lv4l1 $LIBS"
11718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11719 /* end confdefs.h. */
11721 /* Override any GCC internal prototype to avoid an error.
11722 Use char because int might match the return type of a GCC
11723 builtin and then its argument prototype would still apply. */
11724 #ifdef __cplusplus
11725 extern "C"
11726 #endif
11727 char v4l1_open ();
11729 main ()
11731 return v4l1_open ();
11733 return 0;
11735 _ACEOF
11736 if ac_fn_c_try_link "$LINENO"; then :
11737 case "$LIBEXT" in
11738 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11739 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'` ;;
11740 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11741 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11742 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11743 fi ;;
11744 esac
11746 rm -f core conftest.err conftest.$ac_objext \
11747 conftest$ac_exeext conftest.$ac_ext
11748 LIBS=$ac_check_soname_save_LIBS
11750 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11752 $as_echo "not found" >&6; }
11754 else
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11756 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11758 cat >>confdefs.h <<_ACEOF
11759 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11760 _ACEOF
11765 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11766 case "x$with_v4l" in
11767 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11768 xno) ;;
11769 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11770 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11771 esac
11774 if test "x$with_gphoto" != "xno"
11775 then
11776 if ${GPHOTO2_CFLAGS:+false} :; then :
11777 if ${PKG_CONFIG+:} false; then :
11778 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11781 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11782 if ${GPHOTO2_LIBS:+false} :; then :
11783 if ${PKG_CONFIG+:} false; then :
11784 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11787 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11788 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11789 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11790 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11791 ac_save_CPPFLAGS=$CPPFLAGS
11792 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11793 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11794 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11796 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11797 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11798 $as_echo_n "(cached) " >&6
11799 else
11800 ac_check_lib_save_LIBS=$LIBS
11801 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11803 /* end confdefs.h. */
11805 /* Override any GCC internal prototype to avoid an error.
11806 Use char because int might match the return type of a GCC
11807 builtin and then its argument prototype would still apply. */
11808 #ifdef __cplusplus
11809 extern "C"
11810 #endif
11811 char gp_camera_new ();
11813 main ()
11815 return gp_camera_new ();
11817 return 0;
11819 _ACEOF
11820 if ac_fn_c_try_link "$LINENO"; then :
11821 ac_cv_lib_gphoto2_gp_camera_new=yes
11822 else
11823 ac_cv_lib_gphoto2_gp_camera_new=no
11825 rm -f core conftest.err conftest.$ac_objext \
11826 conftest$ac_exeext conftest.$ac_ext
11827 LIBS=$ac_check_lib_save_LIBS
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11830 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11831 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11833 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11835 else
11836 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11839 else
11840 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11844 CPPFLAGS=$ac_save_CPPFLAGS
11845 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11846 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11848 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11849 if ${PKG_CONFIG+:} false; then :
11850 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11853 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11854 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11855 if ${PKG_CONFIG+:} false; then :
11856 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11859 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11860 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11861 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11862 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11863 ac_save_CPPFLAGS=$CPPFLAGS
11864 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11865 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11866 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11868 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11869 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11870 $as_echo_n "(cached) " >&6
11871 else
11872 ac_check_lib_save_LIBS=$LIBS
11873 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11880 #ifdef __cplusplus
11881 extern "C"
11882 #endif
11883 char gp_port_info_list_new ();
11885 main ()
11887 return gp_port_info_list_new ();
11889 return 0;
11891 _ACEOF
11892 if ac_fn_c_try_link "$LINENO"; then :
11893 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11894 else
11895 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11897 rm -f core conftest.err conftest.$ac_objext \
11898 conftest$ac_exeext conftest.$ac_ext
11899 LIBS=$ac_check_lib_save_LIBS
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11902 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11903 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11905 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11907 else
11908 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11911 else
11912 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11916 CPPFLAGS=$ac_save_CPPFLAGS
11917 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11918 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11921 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11922 case "x$with_gphoto" in
11923 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11924 xno) ;;
11925 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11926 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11927 esac
11929 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11930 case "x$with_gphoto" in
11931 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11932 xno) ;;
11933 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11934 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11935 esac
11939 if test "$ac_cv_header_resolv_h" = "yes"
11940 then
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11942 $as_echo_n "checking for resolver library... " >&6; }
11943 if ${ac_cv_have_resolv+:} false; then :
11944 $as_echo_n "(cached) " >&6
11945 else
11946 ac_save_LIBS="$LIBS"
11947 for lib in '' -lresolv
11949 LIBS="$lib $ac_save_LIBS"
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11952 #ifdef HAVE_NETINET_IN_H
11953 #include <netinet/in.h>
11954 #endif
11955 #include <resolv.h>
11957 main ()
11959 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11961 return 0;
11963 _ACEOF
11964 if ac_fn_c_try_link "$LINENO"; then :
11965 ac_cv_have_resolv=${lib:-"none required"}
11966 else
11967 ac_cv_have_resolv="not found"
11969 rm -f core conftest.err conftest.$ac_objext \
11970 conftest$ac_exeext conftest.$ac_ext
11971 test "x$ac_cv_have_resolv" = "xnot found" || break
11972 done
11973 LIBS="$ac_save_LIBS"
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11976 $as_echo "$ac_cv_have_resolv" >&6; }
11978 case "$ac_cv_have_resolv" in
11979 "not found") ;;
11980 "none required")
11982 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11985 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11987 RESOLV_LIBS=$ac_cv_have_resolv
11989 esac
11992 if test "x$with_cms" != "xno"
11993 then
11994 if ${LCMS2_CFLAGS:+false} :; then :
11995 if ${PKG_CONFIG+:} false; then :
11996 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12000 if ${LCMS2_LIBS:+false} :; then :
12001 if ${PKG_CONFIG+:} false; then :
12002 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12006 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12007 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12008 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12009 ac_save_CPPFLAGS=$CPPFLAGS
12010 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12011 for ac_header in lcms2.h
12012 do :
12013 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12014 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12015 cat >>confdefs.h <<_ACEOF
12016 #define HAVE_LCMS2_H 1
12017 _ACEOF
12021 done
12023 if test "$ac_cv_header_lcms2_h" = "yes"
12024 then
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12026 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12027 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12028 $as_echo_n "(cached) " >&6
12029 else
12030 ac_check_lib_save_LIBS=$LIBS
12031 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12033 /* end confdefs.h. */
12035 /* Override any GCC internal prototype to avoid an error.
12036 Use char because int might match the return type of a GCC
12037 builtin and then its argument prototype would still apply. */
12038 #ifdef __cplusplus
12039 extern "C"
12040 #endif
12041 char cmsOpenProfileFromFile ();
12043 main ()
12045 return cmsOpenProfileFromFile ();
12047 return 0;
12049 _ACEOF
12050 if ac_fn_c_try_link "$LINENO"; then :
12051 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12052 else
12053 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12055 rm -f core conftest.err conftest.$ac_objext \
12056 conftest$ac_exeext conftest.$ac_ext
12057 LIBS=$ac_check_lib_save_LIBS
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12060 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12061 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12063 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12065 else
12066 LCMS2_LIBS=""
12069 else
12070 LCMS2_CFLAGS=""
12071 LCMS2_LIBS=""
12073 CPPFLAGS=$ac_save_CPPFLAGS
12074 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12075 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12078 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12079 case "x$with_cms" in
12080 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12081 xno) ;;
12082 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12083 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12084 esac
12087 if test "x$with_freetype" != "xno"
12088 then
12089 if ${FREETYPE_CFLAGS:+false} :; then :
12090 if ${PKG_CONFIG+:} false; then :
12091 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12094 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12095 if ${FREETYPE_LIBS:+false} :; then :
12096 if ${PKG_CONFIG+:} false; then :
12097 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12100 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12101 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12102 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12103 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12104 ac_save_CPPFLAGS=$CPPFLAGS
12105 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12106 for ac_header in ft2build.h
12107 do :
12108 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12109 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12110 cat >>confdefs.h <<_ACEOF
12111 #define HAVE_FT2BUILD_H 1
12112 _ACEOF
12116 done
12118 if test "$ac_cv_header_ft2build_h" = "yes"
12119 then
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12121 $as_echo_n "checking for -lfreetype... " >&6; }
12122 if ${ac_cv_lib_soname_freetype+:} false; then :
12123 $as_echo_n "(cached) " >&6
12124 else
12125 ac_check_soname_save_LIBS=$LIBS
12126 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12128 /* end confdefs.h. */
12130 /* Override any GCC internal prototype to avoid an error.
12131 Use char because int might match the return type of a GCC
12132 builtin and then its argument prototype would still apply. */
12133 #ifdef __cplusplus
12134 extern "C"
12135 #endif
12136 char FT_Init_FreeType ();
12138 main ()
12140 return FT_Init_FreeType ();
12142 return 0;
12144 _ACEOF
12145 if ac_fn_c_try_link "$LINENO"; then :
12146 case "$LIBEXT" in
12147 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12148 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'` ;;
12149 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12150 if ${ac_cv_lib_soname_freetype:+false} :; then :
12151 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12152 fi ;;
12153 esac
12155 rm -f core conftest.err conftest.$ac_objext \
12156 conftest$ac_exeext conftest.$ac_ext
12157 LIBS=$ac_check_soname_save_LIBS
12159 if ${ac_cv_lib_soname_freetype:+false} :; then :
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12161 $as_echo "not found" >&6; }
12162 FREETYPE_LIBS=""
12163 else
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12165 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12167 cat >>confdefs.h <<_ACEOF
12168 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12169 _ACEOF
12172 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12174 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12175 #include FT_MODULE_H
12177 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12179 cat >>confdefs.h <<_ACEOF
12180 #define HAVE_FT_TRUETYPEENGINETYPE 1
12181 _ACEOF
12187 else
12188 FREETYPE_CFLAGS=""
12189 FREETYPE_LIBS=""
12191 CPPFLAGS=$ac_save_CPPFLAGS
12192 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12193 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12196 if test "x$ac_cv_lib_soname_freetype" = x; then :
12197 case "x$with_freetype" in
12198 xno) ;;
12199 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12200 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12201 esac
12203 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12206 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12207 if ${ac_cv_c_ppdev+:} false; then :
12208 $as_echo_n "(cached) " >&6
12209 else
12210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12211 /* end confdefs.h. */
12212 #ifdef HAVE_SYS_IOCTL_H
12213 # include <sys/ioctl.h>
12214 #endif
12215 #include <linux/ppdev.h>
12217 main ()
12219 ioctl (1,PPCLAIM,0)
12221 return 0;
12223 _ACEOF
12224 if ac_fn_c_try_compile "$LINENO"; then :
12225 ac_cv_c_ppdev="yes"
12226 else
12227 ac_cv_c_ppdev="no"
12229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12232 $as_echo "$ac_cv_c_ppdev" >&6; }
12233 if test "$ac_cv_c_ppdev" = "yes"
12234 then
12236 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12240 ac_wine_check_funcs_save_LIBS="$LIBS"
12241 LIBS="$LIBS $PTHREAD_LIBS"
12242 for ac_func in \
12243 pthread_attr_get_np \
12244 pthread_getattr_np \
12245 pthread_getthreadid_np \
12246 pthread_get_stackaddr_np \
12247 pthread_get_stacksize_np
12248 do :
12249 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12250 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12251 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12252 cat >>confdefs.h <<_ACEOF
12253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12254 _ACEOF
12257 done
12259 LIBS="$ac_wine_check_funcs_save_LIBS"
12261 if test "$ac_cv_header_zlib_h" = "yes"
12262 then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12264 $as_echo_n "checking for inflate in -lz... " >&6; }
12265 if ${ac_cv_lib_z_inflate+:} false; then :
12266 $as_echo_n "(cached) " >&6
12267 else
12268 ac_check_lib_save_LIBS=$LIBS
12269 LIBS="-lz $LIBS"
12270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12273 /* Override any GCC internal prototype to avoid an error.
12274 Use char because int might match the return type of a GCC
12275 builtin and then its argument prototype would still apply. */
12276 #ifdef __cplusplus
12277 extern "C"
12278 #endif
12279 char inflate ();
12281 main ()
12283 return inflate ();
12285 return 0;
12287 _ACEOF
12288 if ac_fn_c_try_link "$LINENO"; then :
12289 ac_cv_lib_z_inflate=yes
12290 else
12291 ac_cv_lib_z_inflate=no
12293 rm -f core conftest.err conftest.$ac_objext \
12294 conftest$ac_exeext conftest.$ac_ext
12295 LIBS=$ac_check_lib_save_LIBS
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12298 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12299 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12301 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12303 Z_LIBS="-lz"
12308 if test "x$Z_LIBS" = "x"; then :
12309 case "x$with_zlib" in
12310 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12311 xno) ;;
12312 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12313 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12314 esac
12317 if test "x$enable_tools" != xno
12318 then
12319 if test "$ac_cv_header_gettext_po_h" = "yes"
12320 then
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12322 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12323 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12324 $as_echo_n "(cached) " >&6
12325 else
12326 ac_check_lib_save_LIBS=$LIBS
12327 LIBS="-lgettextpo $LIBS"
12328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12329 /* end confdefs.h. */
12331 /* Override any GCC internal prototype to avoid an error.
12332 Use char because int might match the return type of a GCC
12333 builtin and then its argument prototype would still apply. */
12334 #ifdef __cplusplus
12335 extern "C"
12336 #endif
12337 char po_message_msgctxt ();
12339 main ()
12341 return po_message_msgctxt ();
12343 return 0;
12345 _ACEOF
12346 if ac_fn_c_try_link "$LINENO"; then :
12347 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12348 else
12349 ac_cv_lib_gettextpo_po_message_msgctxt=no
12351 rm -f core conftest.err conftest.$ac_objext \
12352 conftest$ac_exeext conftest.$ac_ext
12353 LIBS=$ac_check_lib_save_LIBS
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12356 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12357 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12359 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12361 GETTEXTPO_LIBS="-lgettextpo"
12366 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12367 case "x$with_gettextpo" in
12368 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12369 xno) ;;
12370 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12371 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12372 esac
12376 if test "x$with_gstreamer" != "xno"
12377 then
12378 if ${GSTREAMER_CFLAGS:+false} :; then :
12379 if ${PKG_CONFIG+:} false; then :
12380 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12384 if ${GSTREAMER_LIBS:+false} :; then :
12385 if ${PKG_CONFIG+:} false; then :
12386 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12391 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12392 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12393 ac_save_CPPFLAGS=$CPPFLAGS
12394 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12395 ac_gst_incl=""
12396 for i in $GSTREAMER_CFLAGS
12398 case "$i" in
12399 -I*) ac_gst_incl="$ac_gst_incl $i";;
12400 esac
12401 done
12402 GSTREAMER_CFLAGS=$ac_gst_incl
12403 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12404 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12405 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12406 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12407 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12409 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12411 /* end confdefs.h. */
12412 #include <gst/app/gstappsink.h>
12414 main ()
12416 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12418 return 0;
12420 _ACEOF
12421 if ac_fn_c_try_compile "$LINENO"; then :
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12423 $as_echo "yes" >&6; }
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12425 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12426 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12427 $as_echo_n "(cached) " >&6
12428 else
12429 ac_check_lib_save_LIBS=$LIBS
12430 LIBS="-lgstreamer-0.10 $LIBS"
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12434 /* Override any GCC internal prototype to avoid an error.
12435 Use char because int might match the return type of a GCC
12436 builtin and then its argument prototype would still apply. */
12437 #ifdef __cplusplus
12438 extern "C"
12439 #endif
12440 char gst_pad_get_caps_reffed ();
12442 main ()
12444 return gst_pad_get_caps_reffed ();
12446 return 0;
12448 _ACEOF
12449 if ac_fn_c_try_link "$LINENO"; then :
12450 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12451 else
12452 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12454 rm -f core conftest.err conftest.$ac_objext \
12455 conftest$ac_exeext conftest.$ac_ext
12456 LIBS=$ac_check_lib_save_LIBS
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12459 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12460 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12462 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12463 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12464 $as_echo_n "(cached) " >&6
12465 else
12466 ac_check_lib_save_LIBS=$LIBS
12467 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12469 /* end confdefs.h. */
12471 /* Override any GCC internal prototype to avoid an error.
12472 Use char because int might match the return type of a GCC
12473 builtin and then its argument prototype would still apply. */
12474 #ifdef __cplusplus
12475 extern "C"
12476 #endif
12477 char gst_app_buffer_new ();
12479 main ()
12481 return gst_app_buffer_new ();
12483 return 0;
12485 _ACEOF
12486 if ac_fn_c_try_link "$LINENO"; then :
12487 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12488 else
12489 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12491 rm -f core conftest.err conftest.$ac_objext \
12492 conftest$ac_exeext conftest.$ac_ext
12493 LIBS=$ac_check_lib_save_LIBS
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12496 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12497 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12503 else
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12505 $as_echo "no" >&6; }
12507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12511 else
12512 GSTREAMER_CFLAGS=""
12516 CPPFLAGS=$ac_save_CPPFLAGS
12517 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12518 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12521 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12522 case "x$with_gstreamer" in
12523 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12524 xno) ;;
12525 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12526 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12527 esac
12529 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12531 ALSA_LIBS=""
12533 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12534 then
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12536 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12537 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12538 $as_echo_n "(cached) " >&6
12539 else
12540 ac_check_lib_save_LIBS=$LIBS
12541 LIBS="-lasound $LIBS"
12542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12543 /* end confdefs.h. */
12545 /* Override any GCC internal prototype to avoid an error.
12546 Use char because int might match the return type of a GCC
12547 builtin and then its argument prototype would still apply. */
12548 #ifdef __cplusplus
12549 extern "C"
12550 #endif
12551 char snd_pcm_hw_params_get_access_mask ();
12553 main ()
12555 return snd_pcm_hw_params_get_access_mask ();
12557 return 0;
12559 _ACEOF
12560 if ac_fn_c_try_link "$LINENO"; then :
12561 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12562 else
12563 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12565 rm -f core conftest.err conftest.$ac_objext \
12566 conftest$ac_exeext conftest.$ac_ext
12567 LIBS=$ac_check_lib_save_LIBS
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12570 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12571 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12574 #ifdef HAVE_ALSA_ASOUNDLIB_H
12575 #include <alsa/asoundlib.h>
12576 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12577 #include <sys/asoundlib.h>
12578 #endif
12580 main ()
12582 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12584 return 0;
12586 _ACEOF
12587 if ac_fn_c_try_compile "$LINENO"; then :
12588 ALSA_LIBS="-lasound"
12590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12595 if test "x$with_oss" != xno
12596 then
12597 ac_save_CPPFLAGS="$CPPFLAGS"
12598 if test -f /etc/oss.conf
12599 then
12600 . /etc/oss.conf
12602 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12603 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12604 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12605 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12606 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12608 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12610 cat >>confdefs.h <<_ACEOF
12611 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12612 _ACEOF
12614 OSS4_CFLAGS="$ac_oss_incl"
12621 CPPFLAGS="$ac_save_CPPFLAGS"
12622 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12623 then
12624 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12628 if test "x$with_capi" != "xno"
12629 then
12630 if ${CAPI20_CFLAGS:+false} :; then :
12631 if ${PKG_CONFIG+:} false; then :
12632 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12636 if ${CAPI20_LIBS:+false} :; then :
12637 if ${PKG_CONFIG+:} false; then :
12638 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12643 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12644 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12645 ac_save_CPPFLAGS=$CPPFLAGS
12646 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12647 for ac_header in capi20.h linux/capi.h
12648 do :
12649 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12650 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12652 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12653 cat >>confdefs.h <<_ACEOF
12654 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12655 _ACEOF
12659 done
12661 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12662 then
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12664 $as_echo_n "checking for -lcapi20... " >&6; }
12665 if ${ac_cv_lib_soname_capi20+:} false; then :
12666 $as_echo_n "(cached) " >&6
12667 else
12668 ac_check_soname_save_LIBS=$LIBS
12669 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12671 /* end confdefs.h. */
12673 /* Override any GCC internal prototype to avoid an error.
12674 Use char because int might match the return type of a GCC
12675 builtin and then its argument prototype would still apply. */
12676 #ifdef __cplusplus
12677 extern "C"
12678 #endif
12679 char capi20_register ();
12681 main ()
12683 return capi20_register ();
12685 return 0;
12687 _ACEOF
12688 if ac_fn_c_try_link "$LINENO"; then :
12689 case "$LIBEXT" in
12690 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12691 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'` ;;
12692 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12693 if ${ac_cv_lib_soname_capi20:+false} :; then :
12694 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12695 fi ;;
12696 esac
12698 rm -f core conftest.err conftest.$ac_objext \
12699 conftest$ac_exeext conftest.$ac_ext
12700 LIBS=$ac_check_soname_save_LIBS
12702 if ${ac_cv_lib_soname_capi20:+false} :; then :
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12704 $as_echo "not found" >&6; }
12706 else
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12708 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12710 cat >>confdefs.h <<_ACEOF
12711 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12712 _ACEOF
12717 CPPFLAGS=$ac_save_CPPFLAGS
12718 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12719 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12722 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12723 case "x$with_capi" in
12724 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12725 xno) ;;
12726 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12727 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12728 esac
12731 CUPS_CFLAGS=""
12733 if test "x$with_cups" != "xno"
12734 then
12735 ac_save_CPPFLAGS="$CPPFLAGS"
12736 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12737 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12738 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12739 for ac_header in cups/cups.h
12740 do :
12741 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12742 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12743 cat >>confdefs.h <<_ACEOF
12744 #define HAVE_CUPS_CUPS_H 1
12745 _ACEOF
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12747 $as_echo_n "checking for -lcups... " >&6; }
12748 if ${ac_cv_lib_soname_cups+:} false; then :
12749 $as_echo_n "(cached) " >&6
12750 else
12751 ac_check_soname_save_LIBS=$LIBS
12752 LIBS="-lcups $ac_cups_libs $LIBS"
12753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12756 /* Override any GCC internal prototype to avoid an error.
12757 Use char because int might match the return type of a GCC
12758 builtin and then its argument prototype would still apply. */
12759 #ifdef __cplusplus
12760 extern "C"
12761 #endif
12762 char cupsGetDefault ();
12764 main ()
12766 return cupsGetDefault ();
12768 return 0;
12770 _ACEOF
12771 if ac_fn_c_try_link "$LINENO"; then :
12772 case "$LIBEXT" in
12773 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12774 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'` ;;
12775 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12776 if ${ac_cv_lib_soname_cups:+false} :; then :
12777 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12778 fi ;;
12779 esac
12781 rm -f core conftest.err conftest.$ac_objext \
12782 conftest$ac_exeext conftest.$ac_ext
12783 LIBS=$ac_check_soname_save_LIBS
12785 if ${ac_cv_lib_soname_cups:+false} :; then :
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12787 $as_echo "not found" >&6; }
12789 else
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12791 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12793 cat >>confdefs.h <<_ACEOF
12794 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12795 _ACEOF
12797 CUPS_CFLAGS="$ac_cups_cflags"
12801 done
12803 CPPFLAGS="$ac_save_CPPFLAGS"
12805 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12806 case "x$with_cups" in
12807 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12808 xno) ;;
12809 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12810 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12811 esac
12814 if test "x$with_fontconfig" != "xno"
12815 then
12816 if ${FONTCONFIG_CFLAGS:+false} :; then :
12817 if ${PKG_CONFIG+:} false; then :
12818 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12821 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12822 if ${FONTCONFIG_LIBS:+false} :; then :
12823 if ${PKG_CONFIG+:} false; then :
12824 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12827 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12829 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12830 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12831 ac_save_CPPFLAGS=$CPPFLAGS
12832 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12833 for ac_header in fontconfig/fontconfig.h
12834 do :
12835 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12836 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12837 cat >>confdefs.h <<_ACEOF
12838 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12839 _ACEOF
12843 done
12845 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12846 then
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12848 $as_echo_n "checking for -lfontconfig... " >&6; }
12849 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12850 $as_echo_n "(cached) " >&6
12851 else
12852 ac_check_soname_save_LIBS=$LIBS
12853 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12855 /* end confdefs.h. */
12857 /* Override any GCC internal prototype to avoid an error.
12858 Use char because int might match the return type of a GCC
12859 builtin and then its argument prototype would still apply. */
12860 #ifdef __cplusplus
12861 extern "C"
12862 #endif
12863 char FcInit ();
12865 main ()
12867 return FcInit ();
12869 return 0;
12871 _ACEOF
12872 if ac_fn_c_try_link "$LINENO"; then :
12873 case "$LIBEXT" in
12874 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12875 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'` ;;
12876 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12877 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12878 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12879 fi ;;
12880 esac
12882 rm -f core conftest.err conftest.$ac_objext \
12883 conftest$ac_exeext conftest.$ac_ext
12884 LIBS=$ac_check_soname_save_LIBS
12886 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12888 $as_echo "not found" >&6; }
12889 FONTCONFIG_CFLAGS=""
12890 else
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12892 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12894 cat >>confdefs.h <<_ACEOF
12895 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12896 _ACEOF
12900 else
12901 FONTCONFIG_CFLAGS=""
12903 CPPFLAGS=$ac_save_CPPFLAGS
12904 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12905 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12908 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12909 case "x$with_fontconfig" in
12910 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12911 xno) ;;
12912 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12913 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12914 esac
12917 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12918 then
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12920 $as_echo_n "checking for -lgsm... " >&6; }
12921 if ${ac_cv_lib_soname_gsm+:} false; then :
12922 $as_echo_n "(cached) " >&6
12923 else
12924 ac_check_soname_save_LIBS=$LIBS
12925 LIBS="-lgsm $LIBS"
12926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12927 /* end confdefs.h. */
12929 /* Override any GCC internal prototype to avoid an error.
12930 Use char because int might match the return type of a GCC
12931 builtin and then its argument prototype would still apply. */
12932 #ifdef __cplusplus
12933 extern "C"
12934 #endif
12935 char gsm_create ();
12937 main ()
12939 return gsm_create ();
12941 return 0;
12943 _ACEOF
12944 if ac_fn_c_try_link "$LINENO"; then :
12945 case "$LIBEXT" in
12946 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12947 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'` ;;
12948 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12949 if ${ac_cv_lib_soname_gsm:+false} :; then :
12950 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12951 fi ;;
12952 esac
12954 rm -f core conftest.err conftest.$ac_objext \
12955 conftest$ac_exeext conftest.$ac_ext
12956 LIBS=$ac_check_soname_save_LIBS
12958 if ${ac_cv_lib_soname_gsm:+false} :; then :
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12960 $as_echo "not found" >&6; }
12962 else
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12964 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12966 cat >>confdefs.h <<_ACEOF
12967 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12968 _ACEOF
12973 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12974 case "x$with_gsm" in
12975 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12976 xno) ;;
12977 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12978 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12979 esac
12982 if test "x$with_jpeg" != "xno"
12983 then
12984 if ${JPEG_CFLAGS:+false} :; then :
12985 if ${PKG_CONFIG+:} false; then :
12986 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12990 if ${JPEG_LIBS:+false} :; then :
12991 if ${PKG_CONFIG+:} false; then :
12992 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12997 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12998 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12999 ac_save_CPPFLAGS=$CPPFLAGS
13000 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13001 for ac_header in jpeglib.h
13002 do :
13003 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13004 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13005 cat >>confdefs.h <<_ACEOF
13006 #define HAVE_JPEGLIB_H 1
13007 _ACEOF
13011 done
13013 if test "$ac_cv_header_jpeglib_h" = "yes"
13014 then
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13016 $as_echo_n "checking for -ljpeg... " >&6; }
13017 if ${ac_cv_lib_soname_jpeg+:} false; then :
13018 $as_echo_n "(cached) " >&6
13019 else
13020 ac_check_soname_save_LIBS=$LIBS
13021 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13025 /* Override any GCC internal prototype to avoid an error.
13026 Use char because int might match the return type of a GCC
13027 builtin and then its argument prototype would still apply. */
13028 #ifdef __cplusplus
13029 extern "C"
13030 #endif
13031 char jpeg_start_decompress ();
13033 main ()
13035 return jpeg_start_decompress ();
13037 return 0;
13039 _ACEOF
13040 if ac_fn_c_try_link "$LINENO"; then :
13041 case "$LIBEXT" in
13042 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13043 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'` ;;
13044 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13045 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13046 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13047 fi ;;
13048 esac
13050 rm -f core conftest.err conftest.$ac_objext \
13051 conftest$ac_exeext conftest.$ac_ext
13052 LIBS=$ac_check_soname_save_LIBS
13054 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13056 $as_echo "not found" >&6; }
13057 JPEG_CFLAGS=""
13058 else
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13060 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13062 cat >>confdefs.h <<_ACEOF
13063 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13064 _ACEOF
13068 else
13069 JPEG_CFLAGS=""
13071 CPPFLAGS=$ac_save_CPPFLAGS
13072 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13073 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13076 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13077 case "x$with_jpeg" in
13078 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13079 xno) ;;
13080 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13081 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13082 esac
13085 if test "x$with_png" != "xno"
13086 then
13087 if ${PNG_CFLAGS:+false} :; then :
13088 if ${PKG_CONFIG+:} false; then :
13089 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13092 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13093 if ${PNG_LIBS:+false} :; then :
13094 if ${PKG_CONFIG+:} false; then :
13095 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13098 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13100 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13101 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13102 ac_save_CPPFLAGS=$CPPFLAGS
13103 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13104 for ac_header in png.h
13105 do :
13106 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13107 if test "x$ac_cv_header_png_h" = xyes; then :
13108 cat >>confdefs.h <<_ACEOF
13109 #define HAVE_PNG_H 1
13110 _ACEOF
13114 done
13116 if test "$ac_cv_header_png_h" = "yes"
13117 then
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13119 $as_echo_n "checking for -lpng... " >&6; }
13120 if ${ac_cv_lib_soname_png+:} false; then :
13121 $as_echo_n "(cached) " >&6
13122 else
13123 ac_check_soname_save_LIBS=$LIBS
13124 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h. */
13128 /* Override any GCC internal prototype to avoid an error.
13129 Use char because int might match the return type of a GCC
13130 builtin and then its argument prototype would still apply. */
13131 #ifdef __cplusplus
13132 extern "C"
13133 #endif
13134 char png_create_read_struct ();
13136 main ()
13138 return png_create_read_struct ();
13140 return 0;
13142 _ACEOF
13143 if ac_fn_c_try_link "$LINENO"; then :
13144 case "$LIBEXT" in
13145 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13146 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'` ;;
13147 *) 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'`
13148 if ${ac_cv_lib_soname_png:+false} :; then :
13149 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13150 fi ;;
13151 esac
13153 rm -f core conftest.err conftest.$ac_objext \
13154 conftest$ac_exeext conftest.$ac_ext
13155 LIBS=$ac_check_soname_save_LIBS
13157 if ${ac_cv_lib_soname_png:+false} :; then :
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13159 $as_echo "not found" >&6; }
13160 PNG_CFLAGS=""
13161 else
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13163 $as_echo "$ac_cv_lib_soname_png" >&6; }
13165 cat >>confdefs.h <<_ACEOF
13166 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13167 _ACEOF
13169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13170 /* end confdefs.h. */
13171 #include <png.h>
13173 main ()
13175 typeof(png_set_expand_gray_1_2_4_to_8) *p
13177 return 0;
13179 _ACEOF
13180 if ac_fn_c_try_compile "$LINENO"; then :
13182 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13187 else
13188 PNG_CFLAGS=""
13190 CPPFLAGS=$ac_save_CPPFLAGS
13191 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13192 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13195 if test "x$ac_cv_lib_soname_png" = "x"; then :
13196 case "x$with_png" in
13197 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13198 xno) ;;
13199 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13200 This is an error since --with-png was requested." "$LINENO" 5 ;;
13201 esac
13204 if test "x$with_tiff" != "xno"
13205 then
13206 if ${TIFF_CFLAGS:+false} :; then :
13207 if ${PKG_CONFIG+:} false; then :
13208 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13212 if ${TIFF_LIBS:+false} :; then :
13213 if ${PKG_CONFIG+:} false; then :
13214 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13219 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13220 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13221 ac_save_CPPFLAGS=$CPPFLAGS
13222 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13223 for ac_header in tiffio.h
13224 do :
13225 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13226 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13227 cat >>confdefs.h <<_ACEOF
13228 #define HAVE_TIFFIO_H 1
13229 _ACEOF
13233 done
13235 if test "$ac_cv_header_tiffio_h" = "yes"
13236 then
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13238 $as_echo_n "checking for -ltiff... " >&6; }
13239 if ${ac_cv_lib_soname_tiff+:} false; then :
13240 $as_echo_n "(cached) " >&6
13241 else
13242 ac_check_soname_save_LIBS=$LIBS
13243 LIBS="-ltiff $TIFF_LIBS $LIBS"
13244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13245 /* end confdefs.h. */
13247 /* Override any GCC internal prototype to avoid an error.
13248 Use char because int might match the return type of a GCC
13249 builtin and then its argument prototype would still apply. */
13250 #ifdef __cplusplus
13251 extern "C"
13252 #endif
13253 char TIFFClientOpen ();
13255 main ()
13257 return TIFFClientOpen ();
13259 return 0;
13261 _ACEOF
13262 if ac_fn_c_try_link "$LINENO"; then :
13263 case "$LIBEXT" in
13264 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13265 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'` ;;
13266 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13267 if ${ac_cv_lib_soname_tiff:+false} :; then :
13268 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13269 fi ;;
13270 esac
13272 rm -f core conftest.err conftest.$ac_objext \
13273 conftest$ac_exeext conftest.$ac_ext
13274 LIBS=$ac_check_soname_save_LIBS
13276 if ${ac_cv_lib_soname_tiff:+false} :; then :
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13278 $as_echo "not found" >&6; }
13280 else
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13282 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13284 cat >>confdefs.h <<_ACEOF
13285 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13286 _ACEOF
13291 CPPFLAGS=$ac_save_CPPFLAGS
13292 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13293 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13296 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13297 case "x$with_tiff" in
13298 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13299 xno) ;;
13300 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13301 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13302 esac
13305 if test "x$with_mpg123" != "xno"
13306 then
13307 if ${MPG123_CFLAGS:+false} :; then :
13308 if ${PKG_CONFIG+:} false; then :
13309 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13313 if ${MPG123_LIBS:+false} :; then :
13314 if ${PKG_CONFIG+:} false; then :
13315 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13319 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13320 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13321 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13322 ac_save_CPPFLAGS=$CPPFLAGS
13323 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13324 for ac_header in mpg123.h
13325 do :
13326 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13327 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13328 cat >>confdefs.h <<_ACEOF
13329 #define HAVE_MPG123_H 1
13330 _ACEOF
13334 done
13336 if test "$ac_cv_header_mpg123_h" = "yes"
13337 then
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13339 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13340 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13341 $as_echo_n "(cached) " >&6
13342 else
13343 ac_check_lib_save_LIBS=$LIBS
13344 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13346 /* end confdefs.h. */
13348 /* Override any GCC internal prototype to avoid an error.
13349 Use char because int might match the return type of a GCC
13350 builtin and then its argument prototype would still apply. */
13351 #ifdef __cplusplus
13352 extern "C"
13353 #endif
13354 char mpg123_feed ();
13356 main ()
13358 return mpg123_feed ();
13360 return 0;
13362 _ACEOF
13363 if ac_fn_c_try_link "$LINENO"; then :
13364 ac_cv_lib_mpg123_mpg123_feed=yes
13365 else
13366 ac_cv_lib_mpg123_mpg123_feed=no
13368 rm -f core conftest.err conftest.$ac_objext \
13369 conftest$ac_exeext conftest.$ac_ext
13370 LIBS=$ac_check_lib_save_LIBS
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13373 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13374 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13376 else
13377 MPG123_LIBS=""
13380 else
13381 MPG123_CFLAGS=""
13382 MPG123_LIBS=""
13384 CPPFLAGS=$ac_save_CPPFLAGS
13385 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13386 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13389 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13390 case "x$with_mpg123" in
13391 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13392 xno) ;;
13393 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13394 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13395 esac
13397 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}
13399 if test "$ac_cv_header_AL_al_h" = "yes"
13400 then
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13402 $as_echo_n "checking for -lopenal... " >&6; }
13403 if ${ac_cv_lib_soname_openal+:} false; then :
13404 $as_echo_n "(cached) " >&6
13405 else
13406 ac_check_soname_save_LIBS=$LIBS
13407 LIBS="-lopenal $LIBS"
13408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13411 /* Override any GCC internal prototype to avoid an error.
13412 Use char because int might match the return type of a GCC
13413 builtin and then its argument prototype would still apply. */
13414 #ifdef __cplusplus
13415 extern "C"
13416 #endif
13417 char alGetSource3i ();
13419 main ()
13421 return alGetSource3i ();
13423 return 0;
13425 _ACEOF
13426 if ac_fn_c_try_link "$LINENO"; then :
13427 case "$LIBEXT" in
13428 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13429 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'` ;;
13430 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13431 if ${ac_cv_lib_soname_openal:+false} :; then :
13432 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13433 fi ;;
13434 esac
13436 rm -f core conftest.err conftest.$ac_objext \
13437 conftest$ac_exeext conftest.$ac_ext
13438 LIBS=$ac_check_soname_save_LIBS
13440 if ${ac_cv_lib_soname_openal:+false} :; then :
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13442 $as_echo "not found" >&6; }
13444 else
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13446 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13448 cat >>confdefs.h <<_ACEOF
13449 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13450 _ACEOF
13452 OPENAL_LIBS="-lopenal"
13454 ac_cv_lib_openal=yes
13456 cat >>confdefs.h <<_ACEOF
13457 #define HAVE_OPENAL 1
13458 _ACEOF
13462 if test "x$ac_cv_lib_openal" != xyes; then :
13463 case "x$with_openal" in
13464 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13465 xno) ;;
13466 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13467 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13468 esac
13470 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13472 if test "$ac_cv_header_kstat_h" = "yes"
13473 then
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13475 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13476 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13477 $as_echo_n "(cached) " >&6
13478 else
13479 ac_check_lib_save_LIBS=$LIBS
13480 LIBS="-lkstat $LIBS"
13481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13482 /* end confdefs.h. */
13484 /* Override any GCC internal prototype to avoid an error.
13485 Use char because int might match the return type of a GCC
13486 builtin and then its argument prototype would still apply. */
13487 #ifdef __cplusplus
13488 extern "C"
13489 #endif
13490 char kstat_open ();
13492 main ()
13494 return kstat_open ();
13496 return 0;
13498 _ACEOF
13499 if ac_fn_c_try_link "$LINENO"; then :
13500 ac_cv_lib_kstat_kstat_open=yes
13501 else
13502 ac_cv_lib_kstat_kstat_open=no
13504 rm -f core conftest.err conftest.$ac_objext \
13505 conftest$ac_exeext conftest.$ac_ext
13506 LIBS=$ac_check_lib_save_LIBS
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13509 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13510 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13512 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13514 KSTAT_LIBS="-lkstat"
13520 if test "$ac_cv_header_libprocstat_h" = "yes"
13521 then
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13523 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13524 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13525 $as_echo_n "(cached) " >&6
13526 else
13527 ac_check_lib_save_LIBS=$LIBS
13528 LIBS="-lprocstat $LIBS"
13529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13532 /* Override any GCC internal prototype to avoid an error.
13533 Use char because int might match the return type of a GCC
13534 builtin and then its argument prototype would still apply. */
13535 #ifdef __cplusplus
13536 extern "C"
13537 #endif
13538 char procstat_open_sysctl ();
13540 main ()
13542 return procstat_open_sysctl ();
13544 return 0;
13546 _ACEOF
13547 if ac_fn_c_try_link "$LINENO"; then :
13548 ac_cv_lib_procstat_procstat_open_sysctl=yes
13549 else
13550 ac_cv_lib_procstat_procstat_open_sysctl=no
13552 rm -f core conftest.err conftest.$ac_objext \
13553 conftest$ac_exeext conftest.$ac_ext
13554 LIBS=$ac_check_lib_save_LIBS
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13557 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13558 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13560 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13562 PROCSTAT_LIBS="-lprocstat"
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13569 $as_echo_n "checking for -lodbc... " >&6; }
13570 if ${ac_cv_lib_soname_odbc+:} false; then :
13571 $as_echo_n "(cached) " >&6
13572 else
13573 ac_check_soname_save_LIBS=$LIBS
13574 LIBS="-lodbc $LIBS"
13575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13576 /* end confdefs.h. */
13578 /* Override any GCC internal prototype to avoid an error.
13579 Use char because int might match the return type of a GCC
13580 builtin and then its argument prototype would still apply. */
13581 #ifdef __cplusplus
13582 extern "C"
13583 #endif
13584 char SQLConnect ();
13586 main ()
13588 return SQLConnect ();
13590 return 0;
13592 _ACEOF
13593 if ac_fn_c_try_link "$LINENO"; then :
13594 case "$LIBEXT" in
13595 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13596 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'` ;;
13597 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13598 if ${ac_cv_lib_soname_odbc:+false} :; then :
13599 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13600 fi ;;
13601 esac
13603 rm -f core conftest.err conftest.$ac_objext \
13604 conftest$ac_exeext conftest.$ac_ext
13605 LIBS=$ac_check_soname_save_LIBS
13607 if ${ac_cv_lib_soname_odbc:+false} :; then :
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13609 $as_echo "not found" >&6; }
13610 cat >>confdefs.h <<_ACEOF
13611 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13612 _ACEOF
13614 else
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13616 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13618 cat >>confdefs.h <<_ACEOF
13619 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13620 _ACEOF
13625 if test "x$with_netapi" != "xno"
13626 then
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13628 $as_echo_n "checking for -lnetapi... " >&6; }
13629 if ${ac_cv_lib_soname_netapi+:} false; then :
13630 $as_echo_n "(cached) " >&6
13631 else
13632 ac_check_soname_save_LIBS=$LIBS
13633 LIBS="-lnetapi $LIBS"
13634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13637 /* Override any GCC internal prototype to avoid an error.
13638 Use char because int might match the return type of a GCC
13639 builtin and then its argument prototype would still apply. */
13640 #ifdef __cplusplus
13641 extern "C"
13642 #endif
13643 char libnetapi_init ();
13645 main ()
13647 return libnetapi_init ();
13649 return 0;
13651 _ACEOF
13652 if ac_fn_c_try_link "$LINENO"; then :
13653 case "$LIBEXT" in
13654 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13655 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'` ;;
13656 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13657 if ${ac_cv_lib_soname_netapi:+false} :; then :
13658 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13659 fi ;;
13660 esac
13662 rm -f core conftest.err conftest.$ac_objext \
13663 conftest$ac_exeext conftest.$ac_ext
13664 LIBS=$ac_check_soname_save_LIBS
13666 if ${ac_cv_lib_soname_netapi:+false} :; then :
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13668 $as_echo "not found" >&6; }
13669 cat >>confdefs.h <<_ACEOF
13670 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13671 _ACEOF
13673 else
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13675 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13677 cat >>confdefs.h <<_ACEOF
13678 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13679 _ACEOF
13685 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13686 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13687 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13688 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13690 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13691 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13692 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13693 then
13694 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13698 EXTRACFLAGS=""
13700 if test "x${GCC}" = "xyes"
13701 then
13702 EXTRACFLAGS="-Wall -pipe"
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13705 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13706 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13707 $as_echo_n "(cached) " >&6
13708 else
13709 if test "$cross_compiling" = yes; then :
13710 ac_cv_c_gcc_strength_bug="yes"
13711 else
13712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13713 /* end confdefs.h. */
13714 int L[4] = {0,1,2,3};
13716 main ()
13718 static int Array[3];
13719 unsigned int B = 3;
13720 int i;
13721 for(i=0; i<B; i++) Array[i] = i - 3;
13722 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13723 L[i] = 4;
13724 return (Array[1] != -2 || L[2] != 3)
13726 return 0;
13728 _ACEOF
13729 if ac_fn_c_try_run "$LINENO"; then :
13730 ac_cv_c_gcc_strength_bug="no"
13731 else
13732 ac_cv_c_gcc_strength_bug="yes"
13734 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13735 conftest.$ac_objext conftest.beam conftest.$ac_ext
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13740 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13741 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13742 then
13743 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13747 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13748 if ${ac_cv_cflags__fno_builtin+:} false; then :
13749 $as_echo_n "(cached) " >&6
13750 else
13751 ac_wine_try_cflags_saved=$CFLAGS
13752 CFLAGS="$CFLAGS -fno-builtin"
13753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13754 /* end confdefs.h. */
13755 int main(int argc, char **argv) { return 0; }
13756 _ACEOF
13757 if ac_fn_c_try_link "$LINENO"; then :
13758 ac_cv_cflags__fno_builtin=yes
13759 else
13760 ac_cv_cflags__fno_builtin=no
13762 rm -f core conftest.err conftest.$ac_objext \
13763 conftest$ac_exeext conftest.$ac_ext
13764 CFLAGS=$ac_wine_try_cflags_saved
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13767 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13768 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13769 BUILTINFLAG="-fno-builtin"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13773 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13774 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13775 $as_echo_n "(cached) " >&6
13776 else
13777 ac_wine_try_cflags_saved=$CFLAGS
13778 CFLAGS="$CFLAGS -fno-strict-aliasing"
13779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13781 int main(int argc, char **argv) { return 0; }
13782 _ACEOF
13783 if ac_fn_c_try_link "$LINENO"; then :
13784 ac_cv_cflags__fno_strict_aliasing=yes
13785 else
13786 ac_cv_cflags__fno_strict_aliasing=no
13788 rm -f core conftest.err conftest.$ac_objext \
13789 conftest$ac_exeext conftest.$ac_ext
13790 CFLAGS=$ac_wine_try_cflags_saved
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13793 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13794 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13795 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13797 saved_CFLAGS=$CFLAGS
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13799 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13800 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 ac_wine_try_cflags_saved=$CFLAGS
13804 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13807 int main(int argc, char **argv) { return 0; }
13808 _ACEOF
13809 if ac_fn_c_try_link "$LINENO"; then :
13810 ac_cv_cflags__Werror_unknown_warning_option=yes
13811 else
13812 ac_cv_cflags__Werror_unknown_warning_option=no
13814 rm -f core conftest.err conftest.$ac_objext \
13815 conftest$ac_exeext conftest.$ac_ext
13816 CFLAGS=$ac_wine_try_cflags_saved
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13819 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13820 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13821 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13824 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13825 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13826 $as_echo_n "(cached) " >&6
13827 else
13828 ac_wine_try_cflags_saved=$CFLAGS
13829 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13831 /* end confdefs.h. */
13832 int main(int argc, char **argv) { return 0; }
13833 _ACEOF
13834 if ac_fn_c_try_link "$LINENO"; then :
13835 ac_cv_cflags__Wdeclaration_after_statement=yes
13836 else
13837 ac_cv_cflags__Wdeclaration_after_statement=no
13839 rm -f core conftest.err conftest.$ac_objext \
13840 conftest$ac_exeext conftest.$ac_ext
13841 CFLAGS=$ac_wine_try_cflags_saved
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13844 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13845 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13846 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13849 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13850 if ${ac_cv_cflags__Wempty_body+:} false; then :
13851 $as_echo_n "(cached) " >&6
13852 else
13853 ac_wine_try_cflags_saved=$CFLAGS
13854 CFLAGS="$CFLAGS -Wempty-body"
13855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13856 /* end confdefs.h. */
13857 int main(int argc, char **argv) { return 0; }
13858 _ACEOF
13859 if ac_fn_c_try_link "$LINENO"; then :
13860 ac_cv_cflags__Wempty_body=yes
13861 else
13862 ac_cv_cflags__Wempty_body=no
13864 rm -f core conftest.err conftest.$ac_objext \
13865 conftest$ac_exeext conftest.$ac_ext
13866 CFLAGS=$ac_wine_try_cflags_saved
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13869 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13870 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13871 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13874 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13875 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13876 $as_echo_n "(cached) " >&6
13877 else
13878 ac_wine_try_cflags_saved=$CFLAGS
13879 CFLAGS="$CFLAGS -Wignored-qualifiers"
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13882 int main(int argc, char **argv) { return 0; }
13883 _ACEOF
13884 if ac_fn_c_try_link "$LINENO"; then :
13885 ac_cv_cflags__Wignored_qualifiers=yes
13886 else
13887 ac_cv_cflags__Wignored_qualifiers=no
13889 rm -f core conftest.err conftest.$ac_objext \
13890 conftest$ac_exeext conftest.$ac_ext
13891 CFLAGS=$ac_wine_try_cflags_saved
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13894 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13895 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13896 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13899 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13900 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13901 $as_echo_n "(cached) " >&6
13902 else
13903 ac_wine_try_cflags_saved=$CFLAGS
13904 CFLAGS="$CFLAGS -Wstrict-prototypes"
13905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13906 /* end confdefs.h. */
13907 int main(int argc, char **argv) { return 0; }
13908 _ACEOF
13909 if ac_fn_c_try_link "$LINENO"; then :
13910 ac_cv_cflags__Wstrict_prototypes=yes
13911 else
13912 ac_cv_cflags__Wstrict_prototypes=no
13914 rm -f core conftest.err conftest.$ac_objext \
13915 conftest$ac_exeext conftest.$ac_ext
13916 CFLAGS=$ac_wine_try_cflags_saved
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13919 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13920 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13921 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13924 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13925 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13926 $as_echo_n "(cached) " >&6
13927 else
13928 ac_wine_try_cflags_saved=$CFLAGS
13929 CFLAGS="$CFLAGS -Wtype-limits"
13930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13931 /* end confdefs.h. */
13932 int main(int argc, char **argv) { return 0; }
13933 _ACEOF
13934 if ac_fn_c_try_link "$LINENO"; then :
13935 ac_cv_cflags__Wtype_limits=yes
13936 else
13937 ac_cv_cflags__Wtype_limits=no
13939 rm -f core conftest.err conftest.$ac_objext \
13940 conftest$ac_exeext conftest.$ac_ext
13941 CFLAGS=$ac_wine_try_cflags_saved
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13944 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13945 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13946 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13949 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13950 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13951 $as_echo_n "(cached) " >&6
13952 else
13953 ac_wine_try_cflags_saved=$CFLAGS
13954 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13956 /* end confdefs.h. */
13957 int main(int argc, char **argv) { return 0; }
13958 _ACEOF
13959 if ac_fn_c_try_link "$LINENO"; then :
13960 ac_cv_cflags__Wunused_but_set_parameter=yes
13961 else
13962 ac_cv_cflags__Wunused_but_set_parameter=no
13964 rm -f core conftest.err conftest.$ac_objext \
13965 conftest$ac_exeext conftest.$ac_ext
13966 CFLAGS=$ac_wine_try_cflags_saved
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13969 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13970 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13971 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13974 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13975 if ${ac_cv_cflags__Wvla+:} false; then :
13976 $as_echo_n "(cached) " >&6
13977 else
13978 ac_wine_try_cflags_saved=$CFLAGS
13979 CFLAGS="$CFLAGS -Wvla"
13980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13981 /* end confdefs.h. */
13982 int main(int argc, char **argv) { return 0; }
13983 _ACEOF
13984 if ac_fn_c_try_link "$LINENO"; then :
13985 ac_cv_cflags__Wvla=yes
13986 else
13987 ac_cv_cflags__Wvla=no
13989 rm -f core conftest.err conftest.$ac_objext \
13990 conftest$ac_exeext conftest.$ac_ext
13991 CFLAGS=$ac_wine_try_cflags_saved
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13994 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13995 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13996 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13999 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14000 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 ac_wine_try_cflags_saved=$CFLAGS
14004 CFLAGS="$CFLAGS -Wwrite-strings"
14005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14007 int main(int argc, char **argv) { return 0; }
14008 _ACEOF
14009 if ac_fn_c_try_link "$LINENO"; then :
14010 ac_cv_cflags__Wwrite_strings=yes
14011 else
14012 ac_cv_cflags__Wwrite_strings=no
14014 rm -f core conftest.err conftest.$ac_objext \
14015 conftest$ac_exeext conftest.$ac_ext
14016 CFLAGS=$ac_wine_try_cflags_saved
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14019 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14020 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14021 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14025 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14026 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14027 $as_echo_n "(cached) " >&6
14028 else
14029 ac_wine_try_cflags_saved=$CFLAGS
14030 CFLAGS="$CFLAGS -Wpointer-arith"
14031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14032 /* end confdefs.h. */
14033 int main(int argc, char **argv) { return 0; }
14034 _ACEOF
14035 if ac_fn_c_try_link "$LINENO"; then :
14036 ac_cv_cflags__Wpointer_arith=yes
14037 else
14038 ac_cv_cflags__Wpointer_arith=no
14040 rm -f core conftest.err conftest.$ac_objext \
14041 conftest$ac_exeext conftest.$ac_ext
14042 CFLAGS=$ac_wine_try_cflags_saved
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14045 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14046 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14047 saved_string_h_CFLAGS=$CFLAGS
14048 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14050 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14051 if ${ac_cv_c_string_h_warnings+:} false; then :
14052 $as_echo_n "(cached) " >&6
14053 else
14054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14056 #include <string.h>
14058 main ()
14062 return 0;
14064 _ACEOF
14065 if ac_fn_c_try_compile "$LINENO"; then :
14066 ac_cv_c_string_h_warnings=no
14067 else
14068 ac_cv_c_string_h_warnings=yes
14070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14073 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14074 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14075 CFLAGS=$saved_string_h_CFLAGS
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14079 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14080 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14081 $as_echo_n "(cached) " >&6
14082 else
14083 ac_wine_try_cflags_saved=$CFLAGS
14084 CFLAGS="$CFLAGS -Wlogical-op"
14085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h. */
14087 int main(int argc, char **argv) { return 0; }
14088 _ACEOF
14089 if ac_fn_c_try_link "$LINENO"; then :
14090 ac_cv_cflags__Wlogical_op=yes
14091 else
14092 ac_cv_cflags__Wlogical_op=no
14094 rm -f core conftest.err conftest.$ac_objext \
14095 conftest$ac_exeext conftest.$ac_ext
14096 CFLAGS=$ac_wine_try_cflags_saved
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14099 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14100 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14101 saved_string_h_CFLAGS=$CFLAGS
14102 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14104 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14105 if ${ac_cv_c_logicalop_noisy+:} false; then :
14106 $as_echo_n "(cached) " >&6
14107 else
14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14110 #include <string.h>
14111 char*f(const char *h,char n) {return strchr(h,n);}
14113 main ()
14117 return 0;
14119 _ACEOF
14120 if ac_fn_c_try_compile "$LINENO"; then :
14121 ac_cv_c_logicalop_noisy=no
14122 else
14123 ac_cv_c_logicalop_noisy=yes
14125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14128 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14129 CFLAGS=$saved_string_h_CFLAGS
14130 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14133 CFLAGS=$saved_CFLAGS
14135 for ac_flag in $CFLAGS; do
14136 case $ac_flag in
14137 -g) case $host_os in
14138 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14139 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14140 if ${ac_cv_cflags__gstabsp+:} false; then :
14141 $as_echo_n "(cached) " >&6
14142 else
14143 ac_wine_try_cflags_saved=$CFLAGS
14144 CFLAGS="$CFLAGS -gstabs+"
14145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14147 int main(int argc, char **argv) { return 0; }
14148 _ACEOF
14149 if ac_fn_c_try_link "$LINENO"; then :
14150 ac_cv_cflags__gstabsp=yes
14151 else
14152 ac_cv_cflags__gstabsp=no
14154 rm -f core conftest.err conftest.$ac_objext \
14155 conftest$ac_exeext conftest.$ac_ext
14156 CFLAGS=$ac_wine_try_cflags_saved
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14159 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14160 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14161 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14162 fi ;;
14163 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14164 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14165 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14166 $as_echo_n "(cached) " >&6
14167 else
14168 ac_wine_try_cflags_saved=$CFLAGS
14169 CFLAGS="$CFLAGS -gdwarf-2"
14170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14171 /* end confdefs.h. */
14172 int main(int argc, char **argv) { return 0; }
14173 _ACEOF
14174 if ac_fn_c_try_link "$LINENO"; then :
14175 ac_cv_cflags__gdwarf_2=yes
14176 else
14177 ac_cv_cflags__gdwarf_2=no
14179 rm -f core conftest.err conftest.$ac_objext \
14180 conftest$ac_exeext conftest.$ac_ext
14181 CFLAGS=$ac_wine_try_cflags_saved
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14184 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14185 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14186 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14189 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14190 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14191 $as_echo_n "(cached) " >&6
14192 else
14193 ac_wine_try_cflags_saved=$CFLAGS
14194 CFLAGS="$CFLAGS -gstrict-dwarf"
14195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14197 int main(int argc, char **argv) { return 0; }
14198 _ACEOF
14199 if ac_fn_c_try_link "$LINENO"; then :
14200 ac_cv_cflags__gstrict_dwarf=yes
14201 else
14202 ac_cv_cflags__gstrict_dwarf=no
14204 rm -f core conftest.err conftest.$ac_objext \
14205 conftest$ac_exeext conftest.$ac_ext
14206 CFLAGS=$ac_wine_try_cflags_saved
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14209 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14210 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14211 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14212 fi ;;
14213 esac ;;
14214 esac
14215 done
14217 case $host_cpu in
14218 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14219 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14220 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14221 $as_echo_n "(cached) " >&6
14222 else
14223 ac_wine_try_cflags_saved=$CFLAGS
14224 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14227 int main(int argc, char **argv) { return 0; }
14228 _ACEOF
14229 if ac_fn_c_try_link "$LINENO"; then :
14230 ac_cv_cflags__fno_omit_frame_pointer=yes
14231 else
14232 ac_cv_cflags__fno_omit_frame_pointer=no
14234 rm -f core conftest.err conftest.$ac_objext \
14235 conftest$ac_exeext conftest.$ac_ext
14236 CFLAGS=$ac_wine_try_cflags_saved
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14239 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14240 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14241 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14242 fi ;;
14243 esac
14245 case $host in
14246 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14247 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14248 if ${ac_cv_cflags__Wno_format+:} false; then :
14249 $as_echo_n "(cached) " >&6
14250 else
14251 ac_wine_try_cflags_saved=$CFLAGS
14252 CFLAGS="$CFLAGS -Wno-format"
14253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14254 /* end confdefs.h. */
14255 int main(int argc, char **argv) { return 0; }
14256 _ACEOF
14257 if ac_fn_c_try_link "$LINENO"; then :
14258 ac_cv_cflags__Wno_format=yes
14259 else
14260 ac_cv_cflags__Wno_format=no
14262 rm -f core conftest.err conftest.$ac_objext \
14263 conftest$ac_exeext conftest.$ac_ext
14264 CFLAGS=$ac_wine_try_cflags_saved
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14267 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14268 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14269 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14270 fi ;;
14271 esac
14273 if test "x$enable_maintainer_mode" = "xyes"
14274 then
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14276 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14277 if ${ac_cv_cflags__Werror+:} false; then :
14278 $as_echo_n "(cached) " >&6
14279 else
14280 ac_wine_try_cflags_saved=$CFLAGS
14281 CFLAGS="$CFLAGS -Werror"
14282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14284 int main(int argc, char **argv) { return 0; }
14285 _ACEOF
14286 if ac_fn_c_try_link "$LINENO"; then :
14287 ac_cv_cflags__Werror=yes
14288 else
14289 ac_cv_cflags__Werror=no
14291 rm -f core conftest.err conftest.$ac_objext \
14292 conftest$ac_exeext conftest.$ac_ext
14293 CFLAGS=$ac_wine_try_cflags_saved
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14296 $as_echo "$ac_cv_cflags__Werror" >&6; }
14297 if test "x$ac_cv_cflags__Werror" = xyes; then :
14298 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14302 saved_CFLAGS="$CFLAGS"
14303 CFLAGS="$CFLAGS -Werror"
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14305 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14306 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14307 $as_echo_n "(cached) " >&6
14308 else
14309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14311 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14313 main ()
14317 return 0;
14319 _ACEOF
14320 if ac_fn_c_try_compile "$LINENO"; then :
14321 ac_cv_have_ms_hook_prologue="yes"
14322 else
14323 ac_cv_have_ms_hook_prologue="no"
14325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14328 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14329 CFLAGS="$saved_CFLAGS"
14330 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14331 then
14333 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14335 else
14336 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14343 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14344 if ${ac_cv_c_fortify_enabled+:} false; then :
14345 $as_echo_n "(cached) " >&6
14346 else
14347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14348 /* end confdefs.h. */
14349 #include <string.h>
14351 main ()
14353 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14354 #error Fortify enabled
14355 #endif
14357 return 0;
14359 _ACEOF
14360 if ac_fn_c_try_compile "$LINENO"; then :
14361 ac_cv_c_fortify_enabled=no
14362 else
14363 ac_cv_c_fortify_enabled=yes
14365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14368 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14369 if test "$ac_cv_c_fortify_enabled" = yes
14370 then
14371 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14376 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14377 if ${ac_cv_c_extern_prefix+:} false; then :
14378 $as_echo_n "(cached) " >&6
14379 else
14380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14382 extern int ac_test;
14384 main ()
14386 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14388 return 0;
14390 _ACEOF
14391 if ac_fn_c_try_link "$LINENO"; then :
14392 ac_cv_c_extern_prefix="yes"
14393 else
14394 ac_cv_c_extern_prefix="no"
14396 rm -f core conftest.err conftest.$ac_objext \
14397 conftest$ac_exeext conftest.$ac_ext
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14400 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14402 case $host_cpu in
14403 *i[3456789]86*)
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14405 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14406 if ${ac_cv_c_stdcall_suffix+:} false; then :
14407 $as_echo_n "(cached) " >&6
14408 else
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14411 #ifndef _MSC_VER
14412 #define __stdcall __attribute__((__stdcall__))
14413 #endif
14414 int __stdcall ac_test(int i) { return i; }
14416 main ()
14418 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14420 return 0;
14422 _ACEOF
14423 if ac_fn_c_try_link "$LINENO"; then :
14424 ac_cv_c_stdcall_suffix="yes"
14425 else
14426 ac_cv_c_stdcall_suffix="no"
14428 rm -f core conftest.err conftest.$ac_objext \
14429 conftest$ac_exeext conftest.$ac_ext
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14432 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14433 *) ac_cv_c_stdcall_suffix="no" ;;
14434 esac
14437 if test "$ac_cv_c_extern_prefix" = "yes"
14438 then
14439 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14441 asm_name_prefix="_"
14442 else
14443 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14445 asm_name_prefix=""
14449 if test "$ac_cv_c_stdcall_suffix" = "yes"
14450 then
14451 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14453 else
14454 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14460 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14461 if ${ac_cv_asm_func_def+:} false; then :
14462 $as_echo_n "(cached) " >&6
14463 else
14464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14468 main ()
14470 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14472 return 0;
14474 _ACEOF
14475 if ac_fn_c_try_link "$LINENO"; then :
14476 ac_cv_asm_func_def=".def"
14477 else
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14482 main ()
14484 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14486 return 0;
14488 _ACEOF
14489 if ac_fn_c_try_link "$LINENO"; then :
14490 ac_cv_asm_func_def=".type @function"
14491 else
14492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14493 /* end confdefs.h. */
14496 main ()
14498 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14500 return 0;
14502 _ACEOF
14503 if ac_fn_c_try_link "$LINENO"; then :
14504 ac_cv_asm_func_def=".type 2"
14505 else
14506 ac_cv_asm_func_def="unknown"
14508 rm -f core conftest.err conftest.$ac_objext \
14509 conftest$ac_exeext conftest.$ac_ext
14511 rm -f core conftest.err conftest.$ac_objext \
14512 conftest$ac_exeext conftest.$ac_ext
14514 rm -f core conftest.err conftest.$ac_objext \
14515 conftest$ac_exeext conftest.$ac_ext
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14518 $as_echo "$ac_cv_asm_func_def" >&6; }
14521 case "$ac_cv_asm_func_def" in
14522 ".def")
14523 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14525 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14526 ".type @function")
14527 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14529 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14530 ".type 2")
14531 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14533 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14535 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14537 asm_func_header="" ;;
14538 esac
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14541 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14542 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14543 $as_echo_n "(cached) " >&6
14544 else
14545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14547 asm(".text\n\t.long 0");
14549 main ()
14553 return 0;
14555 _ACEOF
14556 if ac_fn_c_try_compile "$LINENO"; then :
14557 ac_cv_c_asm_outside_funcs="yes"
14558 else
14559 ac_cv_c_asm_outside_funcs="no"
14561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14564 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14567 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14568 if ${ac_cv_c_dot_previous+:} false; then :
14569 $as_echo_n "(cached) " >&6
14570 else
14571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */
14575 main ()
14577 asm(".text\nac_test:\t.long 0\n\t.previous");
14579 return 0;
14581 _ACEOF
14582 if ac_fn_c_try_link "$LINENO"; then :
14583 ac_cv_c_dot_previous="yes"
14584 else
14585 ac_cv_c_dot_previous="no"
14587 rm -f core conftest.err conftest.$ac_objext \
14588 conftest$ac_exeext conftest.$ac_ext
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14591 $as_echo "$ac_cv_c_dot_previous" >&6; }
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14594 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14595 if ${ac_cv_c_cfi_support+:} false; then :
14596 $as_echo_n "(cached) " >&6
14597 else
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14600 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14602 main ()
14606 return 0;
14608 _ACEOF
14609 if ac_fn_c_try_compile "$LINENO"; then :
14610 ac_cv_c_cfi_support="yes"
14611 else
14612 ac_cv_c_cfi_support="no"
14614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14617 $as_echo "$ac_cv_c_cfi_support" >&6; }
14619 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14620 asm_func_trailer=""
14621 if test "$ac_cv_c_dot_previous" = "yes"
14622 then
14623 asm_func_trailer="\\n\\t.previous"
14625 if test "$ac_cv_c_cfi_support" = "yes"
14626 then
14627 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14628 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14630 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14632 UNWINDFLAGS=-fasynchronous-unwind-tables
14634 else
14635 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14639 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14642 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14643 then
14644 cat >>confdefs.h <<_ACEOF
14645 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14646 _ACEOF
14648 else
14649 cat >>confdefs.h <<_ACEOF
14650 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14651 _ACEOF
14655 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14658 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14662 case $build_os in
14663 cygwin*|mingw32*) TOOLSEXT=".exe"
14665 esac
14667 case $host_os in
14668 linux*)
14669 case $host_cpu in
14670 *i[3456789]86*|x86_64*)
14671 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14672 loader_programs="$loader_programs $wine_binary-preloader"
14673 as_fn_append LOADER_RULES "
14674 $wine_binary-preloader: preloader.o
14675 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14677 install install-lib:: $wine_binary-preloader
14678 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14680 uninstall::
14681 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14683 preloader_EXTRADEFS = $BUILTINFLAG
14684 " ;;
14685 esac
14687 esac
14688 as_fn_append LOADER_RULES "
14689 PROGRAMS = $loader_programs
14693 ac_save_CFLAGS="$CFLAGS"
14694 CFLAGS="$CFLAGS $BUILTINFLAG"
14695 for ac_func in \
14696 __res_get_state \
14697 __res_getservers \
14698 _finite \
14699 _isnan \
14700 _pclose \
14701 _popen \
14702 _snprintf \
14703 _spawnvp \
14704 _strdup \
14705 _stricmp \
14706 _strnicmp \
14707 _strtoi64 \
14708 _strtoui64 \
14709 _vsnprintf \
14710 asctime_r \
14711 chsize \
14712 dlopen \
14713 epoll_create \
14714 ffs \
14715 finitef \
14716 fnmatch \
14717 fork \
14718 fpclass \
14719 fstatfs \
14720 fstatvfs \
14721 ftruncate \
14722 futimens \
14723 futimes \
14724 futimesat \
14725 getattrlist \
14726 getdirentries \
14727 getopt_long_only \
14728 getpwuid \
14729 gettimeofday \
14730 getuid \
14731 if_nameindex \
14732 isnanf \
14733 kqueue \
14734 lstat \
14735 memmove \
14736 mmap \
14737 pclose \
14738 pipe2 \
14739 poll \
14740 popen \
14741 port_create \
14742 prctl \
14743 pread \
14744 proc_pidinfo \
14745 pwrite \
14746 readdir \
14747 readlink \
14748 sched_yield \
14749 select \
14750 setproctitle \
14751 setrlimit \
14752 settimeofday \
14753 sigaltstack \
14754 sigprocmask \
14755 snprintf \
14756 statfs \
14757 statvfs \
14758 strcasecmp \
14759 strdup \
14760 strerror \
14761 strncasecmp \
14762 strtold \
14763 strtoll \
14764 strtoull \
14765 symlink \
14766 tcdrain \
14767 thr_kill2 \
14768 timegm \
14769 usleep \
14770 vsnprintf
14772 do :
14773 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14774 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14775 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14776 cat >>confdefs.h <<_ACEOF
14777 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14778 _ACEOF
14781 done
14783 CFLAGS="$ac_save_CFLAGS"
14785 if test "$ac_cv_func_dlopen" = no
14786 then
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14788 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14789 if ${ac_cv_lib_dl_dlopen+:} false; then :
14790 $as_echo_n "(cached) " >&6
14791 else
14792 ac_check_lib_save_LIBS=$LIBS
14793 LIBS="-ldl $LIBS"
14794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14795 /* end confdefs.h. */
14797 /* Override any GCC internal prototype to avoid an error.
14798 Use char because int might match the return type of a GCC
14799 builtin and then its argument prototype would still apply. */
14800 #ifdef __cplusplus
14801 extern "C"
14802 #endif
14803 char dlopen ();
14805 main ()
14807 return dlopen ();
14809 return 0;
14811 _ACEOF
14812 if ac_fn_c_try_link "$LINENO"; then :
14813 ac_cv_lib_dl_dlopen=yes
14814 else
14815 ac_cv_lib_dl_dlopen=no
14817 rm -f core conftest.err conftest.$ac_objext \
14818 conftest$ac_exeext conftest.$ac_ext
14819 LIBS=$ac_check_lib_save_LIBS
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14822 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14823 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14824 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14825 DL_LIBS="-ldl"
14830 ac_wine_check_funcs_save_LIBS="$LIBS"
14831 LIBS="$LIBS $DL_LIBS"
14832 for ac_func in dladdr
14833 do :
14834 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14835 if test "x$ac_cv_func_dladdr" = xyes; then :
14836 cat >>confdefs.h <<_ACEOF
14837 #define HAVE_DLADDR 1
14838 _ACEOF
14841 done
14843 LIBS="$ac_wine_check_funcs_save_LIBS"
14845 if test "$ac_cv_func_poll" = no
14846 then
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14848 $as_echo_n "checking for poll in -lpoll... " >&6; }
14849 if ${ac_cv_lib_poll_poll+:} false; then :
14850 $as_echo_n "(cached) " >&6
14851 else
14852 ac_check_lib_save_LIBS=$LIBS
14853 LIBS="-lpoll $LIBS"
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14860 #ifdef __cplusplus
14861 extern "C"
14862 #endif
14863 char poll ();
14865 main ()
14867 return poll ();
14869 return 0;
14871 _ACEOF
14872 if ac_fn_c_try_link "$LINENO"; then :
14873 ac_cv_lib_poll_poll=yes
14874 else
14875 ac_cv_lib_poll_poll=no
14877 rm -f core conftest.err conftest.$ac_objext \
14878 conftest$ac_exeext conftest.$ac_ext
14879 LIBS=$ac_check_lib_save_LIBS
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14882 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14883 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14884 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14885 POLL_LIBS="-lpoll"
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14892 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14893 if ${ac_cv_search_gethostbyname+:} false; then :
14894 $as_echo_n "(cached) " >&6
14895 else
14896 ac_func_search_save_LIBS=$LIBS
14897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14898 /* end confdefs.h. */
14900 /* Override any GCC internal prototype to avoid an error.
14901 Use char because int might match the return type of a GCC
14902 builtin and then its argument prototype would still apply. */
14903 #ifdef __cplusplus
14904 extern "C"
14905 #endif
14906 char gethostbyname ();
14908 main ()
14910 return gethostbyname ();
14912 return 0;
14914 _ACEOF
14915 for ac_lib in '' nsl; do
14916 if test -z "$ac_lib"; then
14917 ac_res="none required"
14918 else
14919 ac_res=-l$ac_lib
14920 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14922 if ac_fn_c_try_link "$LINENO"; then :
14923 ac_cv_search_gethostbyname=$ac_res
14925 rm -f core conftest.err conftest.$ac_objext \
14926 conftest$ac_exeext
14927 if ${ac_cv_search_gethostbyname+:} false; then :
14928 break
14930 done
14931 if ${ac_cv_search_gethostbyname+:} false; then :
14933 else
14934 ac_cv_search_gethostbyname=no
14936 rm conftest.$ac_ext
14937 LIBS=$ac_func_search_save_LIBS
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14940 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14941 ac_res=$ac_cv_search_gethostbyname
14942 if test "$ac_res" != no; then :
14943 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14949 $as_echo_n "checking for library containing connect... " >&6; }
14950 if ${ac_cv_search_connect+:} false; then :
14951 $as_echo_n "(cached) " >&6
14952 else
14953 ac_func_search_save_LIBS=$LIBS
14954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h. */
14957 /* Override any GCC internal prototype to avoid an error.
14958 Use char because int might match the return type of a GCC
14959 builtin and then its argument prototype would still apply. */
14960 #ifdef __cplusplus
14961 extern "C"
14962 #endif
14963 char connect ();
14965 main ()
14967 return connect ();
14969 return 0;
14971 _ACEOF
14972 for ac_lib in '' socket; do
14973 if test -z "$ac_lib"; then
14974 ac_res="none required"
14975 else
14976 ac_res=-l$ac_lib
14977 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14979 if ac_fn_c_try_link "$LINENO"; then :
14980 ac_cv_search_connect=$ac_res
14982 rm -f core conftest.err conftest.$ac_objext \
14983 conftest$ac_exeext
14984 if ${ac_cv_search_connect+:} false; then :
14985 break
14987 done
14988 if ${ac_cv_search_connect+:} false; then :
14990 else
14991 ac_cv_search_connect=no
14993 rm conftest.$ac_ext
14994 LIBS=$ac_func_search_save_LIBS
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14997 $as_echo "$ac_cv_search_connect" >&6; }
14998 ac_res=$ac_cv_search_connect
14999 if test "$ac_res" != no; then :
15000 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15006 $as_echo_n "checking for library containing inet_aton... " >&6; }
15007 if ${ac_cv_search_inet_aton+:} false; then :
15008 $as_echo_n "(cached) " >&6
15009 else
15010 ac_func_search_save_LIBS=$LIBS
15011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15012 /* end confdefs.h. */
15014 /* Override any GCC internal prototype to avoid an error.
15015 Use char because int might match the return type of a GCC
15016 builtin and then its argument prototype would still apply. */
15017 #ifdef __cplusplus
15018 extern "C"
15019 #endif
15020 char inet_aton ();
15022 main ()
15024 return inet_aton ();
15026 return 0;
15028 _ACEOF
15029 for ac_lib in '' resolv; do
15030 if test -z "$ac_lib"; then
15031 ac_res="none required"
15032 else
15033 ac_res=-l$ac_lib
15034 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15036 if ac_fn_c_try_link "$LINENO"; then :
15037 ac_cv_search_inet_aton=$ac_res
15039 rm -f core conftest.err conftest.$ac_objext \
15040 conftest$ac_exeext
15041 if ${ac_cv_search_inet_aton+:} false; then :
15042 break
15044 done
15045 if ${ac_cv_search_inet_aton+:} false; then :
15047 else
15048 ac_cv_search_inet_aton=no
15050 rm conftest.$ac_ext
15051 LIBS=$ac_func_search_save_LIBS
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15054 $as_echo "$ac_cv_search_inet_aton" >&6; }
15055 ac_res=$ac_cv_search_inet_aton
15056 if test "$ac_res" != no; then :
15057 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15062 for ac_func in \
15063 getaddrinfo \
15064 getnameinfo \
15065 getnetbyname \
15066 getprotobyname \
15067 getprotobynumber \
15068 getservbyport \
15069 inet_addr \
15070 inet_network \
15071 inet_ntop \
15072 inet_pton \
15073 sendmsg \
15074 socketpair \
15076 do :
15077 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15078 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15079 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15080 cat >>confdefs.h <<_ACEOF
15081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15082 _ACEOF
15085 done
15088 ac_save_LIBS=$LIBS
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15090 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15091 if ${ac_cv_search_clock_gettime+:} false; then :
15092 $as_echo_n "(cached) " >&6
15093 else
15094 ac_func_search_save_LIBS=$LIBS
15095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15096 /* end confdefs.h. */
15098 /* Override any GCC internal prototype to avoid an error.
15099 Use char because int might match the return type of a GCC
15100 builtin and then its argument prototype would still apply. */
15101 #ifdef __cplusplus
15102 extern "C"
15103 #endif
15104 char clock_gettime ();
15106 main ()
15108 return clock_gettime ();
15110 return 0;
15112 _ACEOF
15113 for ac_lib in '' rt; do
15114 if test -z "$ac_lib"; then
15115 ac_res="none required"
15116 else
15117 ac_res=-l$ac_lib
15118 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15120 if ac_fn_c_try_link "$LINENO"; then :
15121 ac_cv_search_clock_gettime=$ac_res
15123 rm -f core conftest.err conftest.$ac_objext \
15124 conftest$ac_exeext
15125 if ${ac_cv_search_clock_gettime+:} false; then :
15126 break
15128 done
15129 if ${ac_cv_search_clock_gettime+:} false; then :
15131 else
15132 ac_cv_search_clock_gettime=no
15134 rm conftest.$ac_ext
15135 LIBS=$ac_func_search_save_LIBS
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15138 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15139 ac_res=$ac_cv_search_clock_gettime
15140 if test "$ac_res" != no; then :
15141 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15143 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15145 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15149 LIBS=$ac_save_LIBS
15151 LDAP_LIBS=""
15153 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15154 then
15155 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15157 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15159 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15160 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15161 $as_echo_n "(cached) " >&6
15162 else
15163 ac_check_lib_save_LIBS=$LIBS
15164 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15168 /* Override any GCC internal prototype to avoid an error.
15169 Use char because int might match the return type of a GCC
15170 builtin and then its argument prototype would still apply. */
15171 #ifdef __cplusplus
15172 extern "C"
15173 #endif
15174 char ldap_initialize ();
15176 main ()
15178 return ldap_initialize ();
15180 return 0;
15182 _ACEOF
15183 if ac_fn_c_try_link "$LINENO"; then :
15184 ac_cv_lib_ldap_r_ldap_initialize=yes
15185 else
15186 ac_cv_lib_ldap_r_ldap_initialize=no
15188 rm -f core conftest.err conftest.$ac_objext \
15189 conftest$ac_exeext conftest.$ac_ext
15190 LIBS=$ac_check_lib_save_LIBS
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15193 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15194 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15196 $as_echo_n "checking for ber_init in -llber... " >&6; }
15197 if ${ac_cv_lib_lber_ber_init+:} false; then :
15198 $as_echo_n "(cached) " >&6
15199 else
15200 ac_check_lib_save_LIBS=$LIBS
15201 LIBS="-llber $PTHREAD_LIBS $LIBS"
15202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15203 /* end confdefs.h. */
15205 /* Override any GCC internal prototype to avoid an error.
15206 Use char because int might match the return type of a GCC
15207 builtin and then its argument prototype would still apply. */
15208 #ifdef __cplusplus
15209 extern "C"
15210 #endif
15211 char ber_init ();
15213 main ()
15215 return ber_init ();
15217 return 0;
15219 _ACEOF
15220 if ac_fn_c_try_link "$LINENO"; then :
15221 ac_cv_lib_lber_ber_init=yes
15222 else
15223 ac_cv_lib_lber_ber_init=no
15225 rm -f core conftest.err conftest.$ac_objext \
15226 conftest$ac_exeext conftest.$ac_ext
15227 LIBS=$ac_check_lib_save_LIBS
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15230 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15231 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15233 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15235 LDAP_LIBS="-lldap_r -llber"
15242 ac_wine_check_funcs_save_LIBS="$LIBS"
15243 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15244 for ac_func in \
15245 ldap_count_references \
15246 ldap_first_reference \
15247 ldap_next_reference \
15248 ldap_parse_reference \
15249 ldap_parse_sort_control \
15250 ldap_parse_sortresponse_control \
15251 ldap_parse_vlv_control \
15252 ldap_parse_vlvresponse_control
15253 do :
15254 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15255 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15256 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15257 cat >>confdefs.h <<_ACEOF
15258 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15259 _ACEOF
15262 done
15264 LIBS="$ac_wine_check_funcs_save_LIBS"
15266 if test "x$LDAP_LIBS" = "x"; then :
15267 case "x$with_ldap" in
15268 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15269 xno) ;;
15270 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15271 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15272 esac
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15276 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15277 if ${wine_cv_one_arg_mkdir+:} false; then :
15278 $as_echo_n "(cached) " >&6
15279 else
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15282 #include <sys/stat.h>
15284 main ()
15286 mkdir("foo");
15288 return 0;
15290 _ACEOF
15291 if ac_fn_c_try_compile "$LINENO"; then :
15292 wine_cv_one_arg_mkdir=yes
15293 else
15294 wine_cv_one_arg_mkdir=no
15296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15299 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15300 if test "$wine_cv_one_arg_mkdir" = "yes"
15301 then
15303 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15308 $as_echo_n "checking for sched_setaffinity... " >&6; }
15309 if ${wine_cv_have_sched_setaffinity+:} false; then :
15310 $as_echo_n "(cached) " >&6
15311 else
15312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15313 /* end confdefs.h. */
15314 #define _GNU_SOURCE
15315 #include <sched.h>
15317 main ()
15319 sched_setaffinity(0, 0, 0);
15321 return 0;
15323 _ACEOF
15324 if ac_fn_c_try_link "$LINENO"; then :
15325 wine_cv_have_sched_setaffinity=yes
15326 else
15327 wine_cv_have_sched_setaffinity=no
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15333 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15334 if test "$wine_cv_have_sched_setaffinity" = "yes"
15335 then
15337 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15342 $as_echo_n "checking for fallocate... " >&6; }
15343 if ${wine_cv_have_fallocate+:} false; then :
15344 $as_echo_n "(cached) " >&6
15345 else
15346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15348 #define _GNU_SOURCE
15349 #include <fcntl.h>
15351 main ()
15353 fallocate(-1, 0, 0, 0);
15355 return 0;
15357 _ACEOF
15358 if ac_fn_c_try_link "$LINENO"; then :
15359 wine_cv_have_fallocate=yes
15360 else
15361 wine_cv_have_fallocate=no
15363 rm -f core conftest.err conftest.$ac_objext \
15364 conftest$ac_exeext conftest.$ac_ext
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15367 $as_echo "$wine_cv_have_fallocate" >&6; }
15368 if test "$wine_cv_have_fallocate" = "yes"
15369 then
15371 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15377 $as_echo_n "checking for inline... " >&6; }
15378 if ${ac_cv_c_inline+:} false; then :
15379 $as_echo_n "(cached) " >&6
15380 else
15381 ac_cv_c_inline=no
15382 for ac_kw in inline __inline__ __inline; do
15383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15384 /* end confdefs.h. */
15385 #ifndef __cplusplus
15386 typedef int foo_t;
15387 static $ac_kw foo_t static_foo () {return 0; }
15388 $ac_kw foo_t foo () {return 0; }
15389 #endif
15391 _ACEOF
15392 if ac_fn_c_try_compile "$LINENO"; then :
15393 ac_cv_c_inline=$ac_kw
15395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15396 test "$ac_cv_c_inline" != no && break
15397 done
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15401 $as_echo "$ac_cv_c_inline" >&6; }
15403 case $ac_cv_c_inline in
15404 inline | yes) ;;
15406 case $ac_cv_c_inline in
15407 no) ac_val=;;
15408 *) ac_val=$ac_cv_c_inline;;
15409 esac
15410 cat >>confdefs.h <<_ACEOF
15411 #ifndef __cplusplus
15412 #define inline $ac_val
15413 #endif
15414 _ACEOF
15416 esac
15418 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15419 if test "x$ac_cv_type_mode_t" = xyes; then :
15421 cat >>confdefs.h <<_ACEOF
15422 #define HAVE_MODE_T 1
15423 _ACEOF
15427 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15428 if test "x$ac_cv_type_off_t" = xyes; then :
15430 cat >>confdefs.h <<_ACEOF
15431 #define HAVE_OFF_T 1
15432 _ACEOF
15436 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15437 if test "x$ac_cv_type_pid_t" = xyes; then :
15439 cat >>confdefs.h <<_ACEOF
15440 #define HAVE_PID_T 1
15441 _ACEOF
15445 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15446 if test "x$ac_cv_type_size_t" = xyes; then :
15448 cat >>confdefs.h <<_ACEOF
15449 #define HAVE_SIZE_T 1
15450 _ACEOF
15454 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15455 if test "x$ac_cv_type_ssize_t" = xyes; then :
15457 cat >>confdefs.h <<_ACEOF
15458 #define HAVE_SSIZE_T 1
15459 _ACEOF
15463 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15464 if test "x$ac_cv_type_long_long" = xyes; then :
15466 cat >>confdefs.h <<_ACEOF
15467 #define HAVE_LONG_LONG 1
15468 _ACEOF
15472 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15473 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15475 cat >>confdefs.h <<_ACEOF
15476 #define HAVE_FSBLKCNT_T 1
15477 _ACEOF
15481 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15482 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15484 cat >>confdefs.h <<_ACEOF
15485 #define HAVE_FSFILCNT_T 1
15486 _ACEOF
15491 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15492 #include <signal.h>
15494 if test "x$ac_cv_type_sigset_t" = xyes; then :
15496 cat >>confdefs.h <<_ACEOF
15497 #define HAVE_SIGSET_T 1
15498 _ACEOF
15503 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15505 if test "x$ac_cv_type_request_sense" = xyes; then :
15507 cat >>confdefs.h <<_ACEOF
15508 #define HAVE_REQUEST_SENSE 1
15509 _ACEOF
15515 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15516 #ifdef HAVE_SYS_SOCKET_H
15517 #include <sys/socket.h>
15518 #endif
15519 #ifdef HAVE_SYS_SOCKETVAR_H
15520 #include <sys/socketvar.h>
15521 #endif
15522 #ifdef HAVE_NET_ROUTE_H
15523 #include <net/route.h>
15524 #endif
15525 #ifdef HAVE_NETINET_IN_H
15526 #include <netinet/in.h>
15527 #endif
15528 #ifdef HAVE_NETINET_IN_SYSTM_H
15529 #include <netinet/in_systm.h>
15530 #endif
15531 #ifdef HAVE_NETINET_IP_H
15532 #include <netinet/ip.h>
15533 #endif
15534 #ifdef HAVE_NETINET_IN_PCB_H
15535 #include <netinet/in_pcb.h>
15536 #endif
15538 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15540 cat >>confdefs.h <<_ACEOF
15541 #define HAVE_STRUCT_XINPGEN 1
15542 _ACEOF
15548 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15549 #include <link.h>
15550 #endif
15551 #ifdef HAVE_SYS_LINK_H
15552 #include <sys/link.h>
15553 #endif
15555 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15557 cat >>confdefs.h <<_ACEOF
15558 #define HAVE_STRUCT_R_DEBUG 1
15559 _ACEOF
15563 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15564 #include <link.h>
15565 #endif
15566 #ifdef HAVE_SYS_LINK_H
15567 #include <sys/link.h>
15568 #endif
15570 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15572 cat >>confdefs.h <<_ACEOF
15573 #define HAVE_STRUCT_LINK_MAP 1
15574 _ACEOF
15580 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15581 #include <linux/input.h>
15582 #endif
15584 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15586 cat >>confdefs.h <<_ACEOF
15587 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15588 _ACEOF
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15595 $as_echo_n "checking for sigaddset... " >&6; }
15596 if ${wine_cv_have_sigaddset+:} false; then :
15597 $as_echo_n "(cached) " >&6
15598 else
15599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15600 /* end confdefs.h. */
15601 #include <signal.h>
15603 main ()
15605 sigset_t set; sigaddset(&set,SIGTERM);
15607 return 0;
15609 _ACEOF
15610 if ac_fn_c_try_link "$LINENO"; then :
15611 wine_cv_have_sigaddset=yes
15612 else
15613 wine_cv_have_sigaddset=no
15615 rm -f core conftest.err conftest.$ac_objext \
15616 conftest$ac_exeext conftest.$ac_ext
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15619 $as_echo "$wine_cv_have_sigaddset" >&6; }
15620 if test "$wine_cv_have_sigaddset" = "yes"
15621 then
15623 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15629 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15630 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15631 $as_echo_n "(cached) " >&6
15632 else
15633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15635 #include <netdb.h>
15637 main ()
15640 char *name=0;
15641 struct hostent he;
15642 struct hostent *result;
15643 char *buf=0;
15644 int bufsize=0;
15645 int errnr;
15646 char *addr=0;
15647 int addrlen=0;
15648 int addrtype=0;
15649 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15650 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15653 return 0;
15655 _ACEOF
15656 if ac_fn_c_try_link "$LINENO"; then :
15657 wine_cv_linux_gethostbyname_r_6=yes
15658 else
15659 wine_cv_linux_gethostbyname_r_6=no
15662 rm -f core conftest.err conftest.$ac_objext \
15663 conftest$ac_exeext conftest.$ac_ext
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15667 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15668 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15669 then
15671 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15675 if test "$ac_cv_header_linux_joystick_h" = "yes"
15676 then
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15678 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15679 if ${wine_cv_linux_joystick_22_api+:} false; then :
15680 $as_echo_n "(cached) " >&6
15681 else
15682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15683 /* end confdefs.h. */
15685 #include <sys/ioctl.h>
15686 #include <sys/types.h>
15687 #include <linux/joystick.h>
15689 struct js_event blub;
15690 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15691 #error "no 2.2 header"
15692 #endif
15695 main ()
15697 /*empty*/
15699 return 0;
15701 _ACEOF
15702 if ac_fn_c_try_compile "$LINENO"; then :
15703 wine_cv_linux_joystick_22_api=yes
15704 else
15705 wine_cv_linux_joystick_22_api=no
15707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15711 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15712 if test "$wine_cv_linux_joystick_22_api" = "yes"
15713 then
15715 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15721 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15722 #ifdef HAVE_SYS_PARAM_H
15723 # include <sys/param.h>
15724 #endif
15725 #ifdef HAVE_SYS_MOUNT_H
15726 # include <sys/mount.h>
15727 #endif
15728 #ifdef HAVE_SYS_VFS_H
15729 # include <sys/vfs.h>
15730 #endif
15731 #ifdef HAVE_SYS_STATFS_H
15732 # include <sys/statfs.h>
15733 #endif
15735 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15737 cat >>confdefs.h <<_ACEOF
15738 #define HAVE_STRUCT_STATFS_F_BFREE 1
15739 _ACEOF
15743 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15744 #ifdef HAVE_SYS_PARAM_H
15745 # include <sys/param.h>
15746 #endif
15747 #ifdef HAVE_SYS_MOUNT_H
15748 # include <sys/mount.h>
15749 #endif
15750 #ifdef HAVE_SYS_VFS_H
15751 # include <sys/vfs.h>
15752 #endif
15753 #ifdef HAVE_SYS_STATFS_H
15754 # include <sys/statfs.h>
15755 #endif
15757 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15759 cat >>confdefs.h <<_ACEOF
15760 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15761 _ACEOF
15765 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15766 #ifdef HAVE_SYS_PARAM_H
15767 # include <sys/param.h>
15768 #endif
15769 #ifdef HAVE_SYS_MOUNT_H
15770 # include <sys/mount.h>
15771 #endif
15772 #ifdef HAVE_SYS_VFS_H
15773 # include <sys/vfs.h>
15774 #endif
15775 #ifdef HAVE_SYS_STATFS_H
15776 # include <sys/statfs.h>
15777 #endif
15779 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15781 cat >>confdefs.h <<_ACEOF
15782 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15783 _ACEOF
15787 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15788 #ifdef HAVE_SYS_PARAM_H
15789 # include <sys/param.h>
15790 #endif
15791 #ifdef HAVE_SYS_MOUNT_H
15792 # include <sys/mount.h>
15793 #endif
15794 #ifdef HAVE_SYS_VFS_H
15795 # include <sys/vfs.h>
15796 #endif
15797 #ifdef HAVE_SYS_STATFS_H
15798 # include <sys/statfs.h>
15799 #endif
15801 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15803 cat >>confdefs.h <<_ACEOF
15804 #define HAVE_STRUCT_STATFS_F_FFREE 1
15805 _ACEOF
15809 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15810 #ifdef HAVE_SYS_PARAM_H
15811 # include <sys/param.h>
15812 #endif
15813 #ifdef HAVE_SYS_MOUNT_H
15814 # include <sys/mount.h>
15815 #endif
15816 #ifdef HAVE_SYS_VFS_H
15817 # include <sys/vfs.h>
15818 #endif
15819 #ifdef HAVE_SYS_STATFS_H
15820 # include <sys/statfs.h>
15821 #endif
15823 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15825 cat >>confdefs.h <<_ACEOF
15826 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15827 _ACEOF
15831 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15832 #ifdef HAVE_SYS_PARAM_H
15833 # include <sys/param.h>
15834 #endif
15835 #ifdef HAVE_SYS_MOUNT_H
15836 # include <sys/mount.h>
15837 #endif
15838 #ifdef HAVE_SYS_VFS_H
15839 # include <sys/vfs.h>
15840 #endif
15841 #ifdef HAVE_SYS_STATFS_H
15842 # include <sys/statfs.h>
15843 #endif
15845 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15847 cat >>confdefs.h <<_ACEOF
15848 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15849 _ACEOF
15855 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15856 #include <sys/statvfs.h>
15857 #endif
15859 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15861 cat >>confdefs.h <<_ACEOF
15862 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15863 _ACEOF
15869 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15870 #include <dirent.h>
15871 #endif
15873 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15875 cat >>confdefs.h <<_ACEOF
15876 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15877 _ACEOF
15883 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15884 #ifdef HAVE_SYS_SOCKET_H
15885 # include <sys/socket.h>
15886 #endif
15887 #ifdef HAVE_SYS_UN_H
15888 # include <sys/un.h>
15889 #endif
15891 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15893 cat >>confdefs.h <<_ACEOF
15894 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15895 _ACEOF
15899 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15900 #ifdef HAVE_SYS_SOCKET_H
15901 # include <sys/socket.h>
15902 #endif
15903 #ifdef HAVE_SYS_UN_H
15904 # include <sys/un.h>
15905 #endif
15907 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15909 cat >>confdefs.h <<_ACEOF
15910 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15911 _ACEOF
15915 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15916 #ifdef HAVE_SYS_SOCKET_H
15917 # include <sys/socket.h>
15918 #endif
15919 #ifdef HAVE_SYS_UN_H
15920 # include <sys/un.h>
15921 #endif
15923 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15925 cat >>confdefs.h <<_ACEOF
15926 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15927 _ACEOF
15933 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15934 #ifdef HAVE_SCSI_SG_H
15935 #include <scsi/sg.h>
15936 #endif
15938 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15940 cat >>confdefs.h <<_ACEOF
15941 #define HAVE_SCSIREQ_T_CMD 1
15942 _ACEOF
15946 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>
15947 #ifdef HAVE_SCSI_SG_H
15948 #include <scsi/sg.h>
15949 #endif
15951 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15953 cat >>confdefs.h <<_ACEOF
15954 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15955 _ACEOF
15961 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15963 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15965 cat >>confdefs.h <<_ACEOF
15966 #define HAVE_SIGINFO_T_SI_FD 1
15967 _ACEOF
15973 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15974 #ifdef HAVE_SYS_MTIO_H
15975 #include <sys/mtio.h>
15976 #endif
15978 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15980 cat >>confdefs.h <<_ACEOF
15981 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15982 _ACEOF
15986 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15987 #ifdef HAVE_SYS_MTIO_H
15988 #include <sys/mtio.h>
15989 #endif
15991 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15993 cat >>confdefs.h <<_ACEOF
15994 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15995 _ACEOF
15999 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16000 #ifdef HAVE_SYS_MTIO_H
16001 #include <sys/mtio.h>
16002 #endif
16004 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16006 cat >>confdefs.h <<_ACEOF
16007 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16008 _ACEOF
16014 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16015 #include <getopt.h>
16016 #endif
16018 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16020 cat >>confdefs.h <<_ACEOF
16021 #define HAVE_STRUCT_OPTION_NAME 1
16022 _ACEOF
16028 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16029 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16031 cat >>confdefs.h <<_ACEOF
16032 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16033 _ACEOF
16037 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16038 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16040 cat >>confdefs.h <<_ACEOF
16041 #define HAVE_STRUCT_STAT_ST_MTIM 1
16042 _ACEOF
16046 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16047 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16049 cat >>confdefs.h <<_ACEOF
16050 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16051 _ACEOF
16055 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16056 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16058 cat >>confdefs.h <<_ACEOF
16059 #define HAVE_STRUCT_STAT_ST_CTIM 1
16060 _ACEOF
16064 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16065 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16067 cat >>confdefs.h <<_ACEOF
16068 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16069 _ACEOF
16073 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16074 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16076 cat >>confdefs.h <<_ACEOF
16077 #define HAVE_STRUCT_STAT_ST_ATIM 1
16078 _ACEOF
16082 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16083 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16085 cat >>confdefs.h <<_ACEOF
16086 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16087 _ACEOF
16091 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16092 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16094 cat >>confdefs.h <<_ACEOF
16095 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16096 _ACEOF
16100 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16101 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16103 cat >>confdefs.h <<_ACEOF
16104 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16105 _ACEOF
16109 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16110 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16112 cat >>confdefs.h <<_ACEOF
16113 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16114 _ACEOF
16118 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16119 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16121 cat >>confdefs.h <<_ACEOF
16122 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16123 _ACEOF
16127 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16128 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16132 _ACEOF
16138 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
16139 #include <sys/types.h>
16140 #endif
16141 #ifdef HAVE_NETINET_IN_H
16142 #include <netinet/in.h>
16143 #endif
16145 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16147 cat >>confdefs.h <<_ACEOF
16148 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16149 _ACEOF
16155 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16156 #include <resolv.h>
16157 #endif
16159 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16161 cat >>confdefs.h <<_ACEOF
16162 #define HAVE_STRUCT___RES_STATE 1
16163 _ACEOF
16169 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
16170 #include <resolv.h>
16171 #endif
16173 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16175 cat >>confdefs.h <<_ACEOF
16176 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16177 _ACEOF
16183 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16184 #include <sys/types.h>
16185 #endif
16186 #ifdef HAVE_NETINET_IN_H
16187 # include <netinet/in.h>
16188 #endif
16189 #ifdef HAVE_ARPA_NAMESER_H
16190 # include <arpa/nameser.h>
16191 #endif
16193 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16195 cat >>confdefs.h <<_ACEOF
16196 #define HAVE_NS_MSG__MSG_PTR 1
16197 _ACEOF
16203 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16204 #include <sys/types.h>
16205 #endif
16206 #ifdef HAVE_NETINET_IP_H
16207 #include <netinet/ip.h>
16208 #endif
16209 #ifdef HAVE_NETINET_IP_ICMP_H
16210 #include <netinet/ip_icmp.h>
16211 #endif
16212 #ifdef HAVE_NETINET_ICMP_VAR_H
16213 #include <netinet/icmp_var.h>
16214 #endif
16216 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16218 cat >>confdefs.h <<_ACEOF
16219 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16220 _ACEOF
16226 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16227 #include <sys/types.h>
16228 #endif
16229 #ifdef HAVE_ALIAS_H
16230 #include <alias.h>
16231 #endif
16232 #ifdef HAVE_SYS_SOCKET_H
16233 #include <sys/socket.h>
16234 #endif
16235 #ifdef HAVE_SYS_SOCKETVAR_H
16236 #include <sys/socketvar.h>
16237 #endif
16238 #ifdef HAVE_SYS_TIMEOUT_H
16239 #include <sys/timeout.h>
16240 #endif
16241 #ifdef HAVE_NETINET_IN_H
16242 #include <netinet/in.h>
16243 #endif
16244 #ifdef HAVE_NETINET_IN_SYSTM_H
16245 #include <netinet/in_systm.h>
16246 #endif
16247 #ifdef HAVE_NETINET_IP_H
16248 #include <netinet/ip.h>
16249 #endif
16250 #ifdef HAVE_NETINET_IP_VAR_H
16251 #include <netinet/ip_var.h>
16252 #endif
16253 #ifdef HAVE_NETINET_IP_ICMP_H
16254 #include <netinet/ip_icmp.h>
16255 #endif
16256 #ifdef HAVE_NETINET_ICMP_VAR_H
16257 #include <netinet/icmp_var.h>
16258 #endif
16260 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16262 cat >>confdefs.h <<_ACEOF
16263 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16264 _ACEOF
16270 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16271 #include <sys/types.h>
16272 #endif
16273 #ifdef HAVE_SYS_SOCKETVAR_H
16274 #include <sys/socketvar.h>
16275 #endif
16276 #ifdef HAVE_NETINET_IN_H
16277 #include <netinet/in.h>
16278 #endif
16279 #ifdef HAVE_NETINET_IP_VAR_H
16280 #include <netinet/ip_var.h>
16281 #endif
16283 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16285 cat >>confdefs.h <<_ACEOF
16286 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16287 _ACEOF
16293 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
16294 #include <netinet/ip_var.h>
16295 #endif
16297 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16299 cat >>confdefs.h <<_ACEOF
16300 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16301 _ACEOF
16307 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16308 #include <sys/types.h>
16309 #endif
16310 #ifdef HAVE_SYS_SOCKETVAR_H
16311 #include <sys/socketvar.h>
16312 #endif
16313 #ifdef HAVE_NETINET_IN_H
16314 #include <netinet/in.h>
16315 #endif
16316 #ifdef HAVE_NETINET_TCP_H
16317 #include <netinet/tcp.h>
16318 #endif
16319 #ifdef HAVE_NETINET_TCP_VAR_H
16320 #include <netinet/tcp_var.h>
16321 #endif
16323 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16325 cat >>confdefs.h <<_ACEOF
16326 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16327 _ACEOF
16333 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
16334 #include <netinet/tcp_var.h>
16335 #endif
16337 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16339 cat >>confdefs.h <<_ACEOF
16340 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16341 _ACEOF
16347 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16348 #include <sys/types.h>
16349 #endif
16350 #ifdef HAVE_NETINET_IN_H
16351 #include <netinet/in.h>
16352 #endif
16353 #ifdef HAVE_NETINET_IP_VAR_H
16354 #include <netinet/ip_var.h>
16355 #endif
16356 #ifdef HAVE_NETINET_UDP_H
16357 #include <netinet/udp.h>
16358 #endif
16359 #ifdef HAVE_NETINET_UDP_VAR_H
16360 #include <netinet/udp_var.h>
16361 #endif
16363 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16365 cat >>confdefs.h <<_ACEOF
16366 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16367 _ACEOF
16373 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16374 #include <sys/types.h>
16375 #endif
16376 #ifdef HAVE_NET_IF_H
16377 # include <net/if.h>
16378 #endif
16380 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16382 cat >>confdefs.h <<_ACEOF
16383 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16384 _ACEOF
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16391 $as_echo_n "checking for timezone variable... " >&6; }
16392 if ${ac_cv_have_timezone+:} false; then :
16393 $as_echo_n "(cached) " >&6
16394 else
16395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h. */
16397 #include <time.h>
16399 main ()
16401 timezone = 1
16403 return 0;
16405 _ACEOF
16406 if ac_fn_c_try_link "$LINENO"; then :
16407 ac_cv_have_timezone="yes"
16408 else
16409 ac_cv_have_timezone="no"
16411 rm -f core conftest.err conftest.$ac_objext \
16412 conftest$ac_exeext conftest.$ac_ext
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16415 $as_echo "$ac_cv_have_timezone" >&6; }
16416 if test "$ac_cv_have_timezone" = "yes"
16417 then
16419 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16423 $as_echo_n "checking for daylight variable... " >&6; }
16424 if ${ac_cv_have_daylight+:} false; then :
16425 $as_echo_n "(cached) " >&6
16426 else
16427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16428 /* end confdefs.h. */
16429 #include <time.h>
16431 main ()
16433 daylight = 1
16435 return 0;
16437 _ACEOF
16438 if ac_fn_c_try_link "$LINENO"; then :
16439 ac_cv_have_daylight="yes"
16440 else
16441 ac_cv_have_daylight="no"
16443 rm -f core conftest.err conftest.$ac_objext \
16444 conftest$ac_exeext conftest.$ac_ext
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16447 $as_echo "$ac_cv_have_daylight" >&6; }
16448 if test "$ac_cv_have_daylight" = "yes"
16449 then
16451 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16455 ac_save_LIBS="$LIBS"
16456 LIBS="$LIBS -lm"
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16458 $as_echo_n "checking for isfinite... " >&6; }
16459 if ${ac_cv_have_isfinite+:} false; then :
16460 $as_echo_n "(cached) " >&6
16461 else
16462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16463 /* end confdefs.h. */
16464 #define _GNU_SOURCE
16465 #include <math.h>
16467 main ()
16469 float f = 0.0; return isfinite(f)
16471 return 0;
16473 _ACEOF
16474 if ac_fn_c_try_link "$LINENO"; then :
16475 ac_cv_have_isfinite="yes"
16476 else
16477 ac_cv_have_isfinite="no"
16479 rm -f core conftest.err conftest.$ac_objext \
16480 conftest$ac_exeext conftest.$ac_ext
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16483 $as_echo "$ac_cv_have_isfinite" >&6; }
16484 if test "$ac_cv_have_isfinite" = "yes"
16485 then
16487 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16492 $as_echo_n "checking for isinf... " >&6; }
16493 if ${ac_cv_have_isinf+:} false; then :
16494 $as_echo_n "(cached) " >&6
16495 else
16496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16497 /* end confdefs.h. */
16498 #include <math.h>
16500 main ()
16502 float f = 0.0; return isinf(f)
16504 return 0;
16506 _ACEOF
16507 if ac_fn_c_try_link "$LINENO"; then :
16508 ac_cv_have_isinf="yes"
16509 else
16510 ac_cv_have_isinf="no"
16512 rm -f core conftest.err conftest.$ac_objext \
16513 conftest$ac_exeext conftest.$ac_ext
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16516 $as_echo "$ac_cv_have_isinf" >&6; }
16517 if test "$ac_cv_have_isinf" = "yes"
16518 then
16520 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16525 $as_echo_n "checking for isnan... " >&6; }
16526 if ${ac_cv_have_isnan+:} false; then :
16527 $as_echo_n "(cached) " >&6
16528 else
16529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h. */
16531 #include <math.h>
16533 main ()
16535 float f = 0.0; return isnan(f)
16537 return 0;
16539 _ACEOF
16540 if ac_fn_c_try_link "$LINENO"; then :
16541 ac_cv_have_isnan="yes"
16542 else
16543 ac_cv_have_isnan="no"
16545 rm -f core conftest.err conftest.$ac_objext \
16546 conftest$ac_exeext conftest.$ac_ext
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16549 $as_echo "$ac_cv_have_isnan" >&6; }
16550 if test "$ac_cv_have_isnan" = "yes"
16551 then
16553 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16557 for ac_func in \
16558 cbrt \
16559 cbrtf \
16560 exp2 \
16561 exp2f \
16562 llrint \
16563 llrintf \
16564 llround \
16565 llroundf \
16566 log2 \
16567 log2f \
16568 lrint \
16569 lrintf \
16570 lround \
16571 lroundf \
16572 rint \
16573 rintf \
16574 round \
16575 roundf \
16576 trunc \
16577 truncf
16579 do :
16580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16582 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16583 cat >>confdefs.h <<_ACEOF
16584 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16585 _ACEOF
16588 done
16590 LIBS="$ac_save_LIBS"
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16593 $as_echo_n "checking for __builtin_clz... " >&6; }
16594 if ${ac_cv_have___builtin_clz+:} false; then :
16595 $as_echo_n "(cached) " >&6
16596 else
16597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16598 /* end confdefs.h. */
16601 main ()
16603 return __builtin_clz(1)
16605 return 0;
16607 _ACEOF
16608 if ac_fn_c_try_link "$LINENO"; then :
16609 ac_cv_have___builtin_clz="yes"
16610 else
16611 ac_cv_have___builtin_clz="no"
16613 rm -f core conftest.err conftest.$ac_objext \
16614 conftest$ac_exeext conftest.$ac_ext
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16617 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16618 if test "$ac_cv_have___builtin_clz" = "yes"
16619 then
16621 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16626 case $host_cpu in
16627 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16628 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16629 if ${ac_cv_cpp_def___i386__+:} false; then :
16630 $as_echo_n "(cached) " >&6
16631 else
16632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16634 #ifndef __i386__
16636 #endif
16637 _ACEOF
16638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16639 $EGREP "yes" >/dev/null 2>&1; then :
16640 ac_cv_cpp_def___i386__=yes
16641 else
16642 ac_cv_cpp_def___i386__=no
16644 rm -f conftest*
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16648 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16649 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16650 CFLAGS="$CFLAGS -D__i386__"
16651 LINTFLAGS="$LINTFLAGS -D__i386__"
16652 fi ;;
16653 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16654 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16655 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16656 $as_echo_n "(cached) " >&6
16657 else
16658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16660 #ifndef __x86_64__
16662 #endif
16663 _ACEOF
16664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16665 $EGREP "yes" >/dev/null 2>&1; then :
16666 ac_cv_cpp_def___x86_64__=yes
16667 else
16668 ac_cv_cpp_def___x86_64__=no
16670 rm -f conftest*
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16674 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16675 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16676 CFLAGS="$CFLAGS -D__x86_64__"
16677 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16678 fi ;;
16679 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16680 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16681 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16682 $as_echo_n "(cached) " >&6
16683 else
16684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16685 /* end confdefs.h. */
16686 #ifndef __sparc64__
16688 #endif
16689 _ACEOF
16690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16691 $EGREP "yes" >/dev/null 2>&1; then :
16692 ac_cv_cpp_def___sparc64__=yes
16693 else
16694 ac_cv_cpp_def___sparc64__=no
16696 rm -f conftest*
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16700 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16701 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16702 CFLAGS="$CFLAGS -D__sparc64__"
16703 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16704 fi ;;
16705 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16706 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16707 if ${ac_cv_cpp_def___sparc__+:} false; then :
16708 $as_echo_n "(cached) " >&6
16709 else
16710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16711 /* end confdefs.h. */
16712 #ifndef __sparc__
16714 #endif
16715 _ACEOF
16716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16717 $EGREP "yes" >/dev/null 2>&1; then :
16718 ac_cv_cpp_def___sparc__=yes
16719 else
16720 ac_cv_cpp_def___sparc__=no
16722 rm -f conftest*
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16726 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16727 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16728 CFLAGS="$CFLAGS -D__sparc__"
16729 LINTFLAGS="$LINTFLAGS -D__sparc__"
16730 fi ;;
16731 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16732 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16733 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16734 $as_echo_n "(cached) " >&6
16735 else
16736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16737 /* end confdefs.h. */
16738 #ifndef __powerpc64__
16740 #endif
16741 _ACEOF
16742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16743 $EGREP "yes" >/dev/null 2>&1; then :
16744 ac_cv_cpp_def___powerpc64__=yes
16745 else
16746 ac_cv_cpp_def___powerpc64__=no
16748 rm -f conftest*
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16752 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16753 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16754 CFLAGS="$CFLAGS -D__powerpc64__"
16755 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16756 fi ;;
16757 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16758 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16759 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16760 $as_echo_n "(cached) " >&6
16761 else
16762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16763 /* end confdefs.h. */
16764 #ifndef __powerpc__
16766 #endif
16767 _ACEOF
16768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16769 $EGREP "yes" >/dev/null 2>&1; then :
16770 ac_cv_cpp_def___powerpc__=yes
16771 else
16772 ac_cv_cpp_def___powerpc__=no
16774 rm -f conftest*
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16778 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16779 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16780 CFLAGS="$CFLAGS -D__powerpc__"
16781 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16782 fi ;;
16783 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16784 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16785 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16786 $as_echo_n "(cached) " >&6
16787 else
16788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16789 /* end confdefs.h. */
16790 #ifndef __aarch64__
16792 #endif
16793 _ACEOF
16794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16795 $EGREP "yes" >/dev/null 2>&1; then :
16796 ac_cv_cpp_def___aarch64__=yes
16797 else
16798 ac_cv_cpp_def___aarch64__=no
16800 rm -f conftest*
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16804 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16805 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16806 CFLAGS="$CFLAGS -D__aarch64__"
16807 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16808 fi ;;
16809 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16810 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16811 if ${ac_cv_cpp_def___arm__+:} false; then :
16812 $as_echo_n "(cached) " >&6
16813 else
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h. */
16816 #ifndef __arm__
16818 #endif
16819 _ACEOF
16820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16821 $EGREP "yes" >/dev/null 2>&1; then :
16822 ac_cv_cpp_def___arm__=yes
16823 else
16824 ac_cv_cpp_def___arm__=no
16826 rm -f conftest*
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16830 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16831 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16832 CFLAGS="$CFLAGS -D__arm__"
16833 LINTFLAGS="$LINTFLAGS -D__arm__"
16834 fi ;;
16835 esac
16837 case $host_vendor in
16838 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16839 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16840 if ${ac_cv_cpp_def___sun__+:} false; then :
16841 $as_echo_n "(cached) " >&6
16842 else
16843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16844 /* end confdefs.h. */
16845 #ifndef __sun__
16847 #endif
16848 _ACEOF
16849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16850 $EGREP "yes" >/dev/null 2>&1; then :
16851 ac_cv_cpp_def___sun__=yes
16852 else
16853 ac_cv_cpp_def___sun__=no
16855 rm -f conftest*
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16859 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16860 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16861 CFLAGS="$CFLAGS -D__sun__"
16862 LINTFLAGS="$LINTFLAGS -D__sun__"
16863 fi ;;
16864 esac
16870 ac_config_commands="$ac_config_commands include/stamp-h"
16872 $as_echo_n "creating Makefile rules..." >&6
16874 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16875 SOCKET_LIBS = $SOCKET_LIBS
16876 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16877 IOKIT_LIBS = $IOKIT_LIBS
16878 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16879 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16880 CORESERVICES_LIBS = $CORESERVICES_LIBS
16881 APPKIT_LIBS = $APPKIT_LIBS
16882 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16883 SECURITY_LIBS = $SECURITY_LIBS
16884 COREAUDIO_LIBS = $COREAUDIO_LIBS
16885 OPENAL_LIBS = $OPENAL_LIBS
16886 OPENCL_LIBS = $OPENCL_LIBS
16887 QUICKTIME_LIBS = $QUICKTIME_LIBS
16888 CARBON_LIBS = $CARBON_LIBS
16889 PTHREAD_LIBS = $PTHREAD_LIBS
16890 X_CFLAGS = $X_CFLAGS
16891 X_PRE_LIBS = $X_PRE_LIBS
16892 X_LIBS = $X_LIBS
16893 X_EXTRA_LIBS = $X_EXTRA_LIBS
16894 XML2_CFLAGS = $XML2_CFLAGS
16895 XML2_LIBS = $XML2_LIBS
16896 XSLT_CFLAGS = $XSLT_CFLAGS
16897 XSLT_LIBS = $XSLT_LIBS
16898 DBUS_CFLAGS = $DBUS_CFLAGS
16899 DBUS_LIBS = $DBUS_LIBS
16900 HAL_CFLAGS = $HAL_CFLAGS
16901 HAL_LIBS = $HAL_LIBS
16902 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16903 GNUTLS_LIBS = $GNUTLS_LIBS
16904 SANE_CFLAGS = $SANE_CFLAGS
16905 SANE_LIBS = $SANE_LIBS
16906 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16907 GPHOTO2_LIBS = $GPHOTO2_LIBS
16908 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16909 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16910 RESOLV_LIBS = $RESOLV_LIBS
16911 LCMS2_CFLAGS = $LCMS2_CFLAGS
16912 LCMS2_LIBS = $LCMS2_LIBS
16913 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16914 FREETYPE_LIBS = $FREETYPE_LIBS
16915 Z_LIBS = $Z_LIBS
16916 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16917 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16918 GSTREAMER_LIBS = $GSTREAMER_LIBS
16919 ALSA_LIBS = $ALSA_LIBS
16920 OSS4_CFLAGS = $OSS4_CFLAGS
16921 CAPI20_CFLAGS = $CAPI20_CFLAGS
16922 CAPI20_LIBS = $CAPI20_LIBS
16923 CUPS_CFLAGS = $CUPS_CFLAGS
16924 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16925 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16926 JPEG_CFLAGS = $JPEG_CFLAGS
16927 JPEG_LIBS = $JPEG_LIBS
16928 PNG_CFLAGS = $PNG_CFLAGS
16929 PNG_LIBS = $PNG_LIBS
16930 TIFF_CFLAGS = $TIFF_CFLAGS
16931 TIFF_LIBS = $TIFF_LIBS
16932 MPG123_CFLAGS = $MPG123_CFLAGS
16933 MPG123_LIBS = $MPG123_LIBS
16934 KSTAT_LIBS = $KSTAT_LIBS
16935 PROCSTAT_LIBS = $PROCSTAT_LIBS
16936 DL_LIBS = $DL_LIBS
16937 POLL_LIBS = $POLL_LIBS
16938 RT_LIBS = $RT_LIBS
16939 LDAP_LIBS = $LDAP_LIBS
16944 wine_fn_append_rule "
16945 # Rules automatically generated by configure
16947 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16949 .INIT: Makefile
16950 .MAKEFILEDEPS:
16951 all: Makefile
16952 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16953 @./config.status Make.tmp Makefile"
16955 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16956 .gitignore: config.status
16957 @./config.status .gitignore"
16959 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16960 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16962 if test "x$enable_fonts" != xno; then
16963 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16964 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16965 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16966 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16967 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16969 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16970 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16971 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16972 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16973 ac_config_links="$ac_config_links wine:tools/winewrapper"
16974 wine_fn_config_symlink wine
16975 if test "x$enable_win64" != xno; then
16976 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16977 wine_fn_config_symlink wine64
16980 wine_fn_config_dll acledit enable_acledit
16981 wine_fn_config_dll aclui enable_aclui implib
16982 wine_fn_config_dll activeds enable_activeds implib
16983 wine_fn_config_dll actxprxy enable_actxprxy clean
16984 wine_fn_config_lib adsiid
16985 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16986 wine_fn_config_test dlls/advapi32/tests advapi32_test
16987 wine_fn_config_dll advpack enable_advpack implib
16988 wine_fn_config_test dlls/advpack/tests advpack_test
16989 wine_fn_config_dll amstream enable_amstream clean
16990 wine_fn_config_test dlls/amstream/tests amstream_test
16991 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16992 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16993 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16994 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16995 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16996 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16997 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16998 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16999 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17000 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17001 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17002 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17003 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17004 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17005 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17006 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17007 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17008 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17009 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17010 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17011 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17012 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17014 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17015 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17016 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17017 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17019 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17020 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17024 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17027 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17028 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17029 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17030 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17033 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17034 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17035 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17036 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17037 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17038 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17039 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17040 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17041 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17042 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17043 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17044 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17045 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17046 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17047 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17048 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17049 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17050 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17051 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17052 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17053 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17054 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17055 wine_fn_config_dll apphelp enable_apphelp
17056 wine_fn_config_test dlls/apphelp/tests apphelp_test
17057 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17058 wine_fn_config_dll atl enable_atl clean,implib
17059 wine_fn_config_test dlls/atl/tests atl_test
17060 wine_fn_config_dll atl100 enable_atl100 clean,implib
17061 wine_fn_config_test dlls/atl100/tests atl100_test
17062 wine_fn_config_dll atl110 enable_atl110 clean
17063 wine_fn_config_dll atl80 enable_atl80 clean,implib
17064 wine_fn_config_test dlls/atl80/tests atl80_test
17065 wine_fn_config_dll atl90 enable_atl90 clean
17066 wine_fn_config_dll authz enable_authz
17067 wine_fn_config_dll avicap32 enable_avicap32 implib
17068 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17069 wine_fn_config_test dlls/avifil32/tests avifil32_test
17070 wine_fn_config_dll avifile.dll16 enable_win16
17071 wine_fn_config_dll avrt enable_avrt implib
17072 wine_fn_config_dll bcrypt enable_bcrypt
17073 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17074 wine_fn_config_dll browseui enable_browseui clean,po
17075 wine_fn_config_test dlls/browseui/tests browseui_test
17076 wine_fn_config_dll cabinet enable_cabinet implib
17077 wine_fn_config_test dlls/cabinet/tests cabinet_test
17078 wine_fn_config_dll capi2032 enable_capi2032 implib
17079 wine_fn_config_dll cards enable_cards implib
17080 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17081 wine_fn_config_dll clusapi enable_clusapi implib
17082 wine_fn_config_dll combase enable_combase
17083 wine_fn_config_test dlls/combase/tests combase_test
17084 wine_fn_config_dll comcat enable_comcat
17085 wine_fn_config_test dlls/comcat/tests comcat_test
17086 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17087 wine_fn_config_test dlls/comctl32/tests comctl32_test
17088 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17089 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17090 wine_fn_config_dll comm.drv16 enable_win16
17091 wine_fn_config_dll commdlg.dll16 enable_win16
17092 wine_fn_config_dll compobj.dll16 enable_win16
17093 wine_fn_config_dll compstui enable_compstui implib
17094 wine_fn_config_dll comsvcs enable_comsvcs implib
17095 wine_fn_config_dll connect enable_connect
17096 wine_fn_config_dll credui enable_credui implib,po
17097 wine_fn_config_test dlls/credui/tests credui_test
17098 wine_fn_config_dll crtdll enable_crtdll implib
17099 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17100 wine_fn_config_test dlls/crypt32/tests crypt32_test
17101 wine_fn_config_dll cryptdlg enable_cryptdlg po
17102 wine_fn_config_dll cryptdll enable_cryptdll implib
17103 wine_fn_config_dll cryptext enable_cryptext
17104 wine_fn_config_dll cryptnet enable_cryptnet implib
17105 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17106 wine_fn_config_dll cryptui enable_cryptui implib,po
17107 wine_fn_config_test dlls/cryptui/tests cryptui_test
17108 wine_fn_config_dll ctapi32 enable_ctapi32
17109 wine_fn_config_dll ctl3d.dll16 enable_win16
17110 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17111 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17112 wine_fn_config_dll d2d1 enable_d2d1 implib
17113 wine_fn_config_test dlls/d2d1/tests d2d1_test
17114 wine_fn_config_dll d3d10 enable_d3d10 implib
17115 wine_fn_config_test dlls/d3d10/tests d3d10_test
17116 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17117 wine_fn_config_dll d3d10core enable_d3d10core implib
17118 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17119 wine_fn_config_dll d3d11 enable_d3d11
17120 wine_fn_config_dll d3d8 enable_d3d8 implib
17121 wine_fn_config_test dlls/d3d8/tests d3d8_test
17122 wine_fn_config_dll d3d9 enable_d3d9 implib
17123 wine_fn_config_test dlls/d3d9/tests d3d9_test
17124 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17125 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17126 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17127 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17128 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17129 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17130 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17131 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17132 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17133 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17134 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17135 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17136 wine_fn_config_dll d3dim enable_d3dim implib
17137 wine_fn_config_dll d3drm enable_d3drm implib
17138 wine_fn_config_test dlls/d3drm/tests d3drm_test
17139 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17140 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17141 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17142 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17143 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17144 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17145 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17146 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17147 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17148 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17149 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17150 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17151 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17152 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17153 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17154 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17155 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17156 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17157 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17158 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17159 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17160 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17161 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17162 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17163 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17164 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17165 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17166 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17167 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17168 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17169 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17170 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17171 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17172 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17173 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17174 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17175 wine_fn_config_dll dbgeng enable_dbgeng implib
17176 wine_fn_config_dll dbghelp enable_dbghelp implib
17177 wine_fn_config_dll dciman32 enable_dciman32 implib
17178 wine_fn_config_dll ddeml.dll16 enable_win16
17179 wine_fn_config_dll ddraw enable_ddraw clean,implib
17180 wine_fn_config_test dlls/ddraw/tests ddraw_test
17181 wine_fn_config_dll ddrawex enable_ddrawex clean
17182 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17183 wine_fn_config_dll devenum enable_devenum clean,po
17184 wine_fn_config_test dlls/devenum/tests devenum_test
17185 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17186 wine_fn_config_dll difxapi enable_difxapi
17187 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17188 wine_fn_config_test dlls/dinput/tests dinput_test
17189 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17190 wine_fn_config_test dlls/dinput8/tests dinput8_test
17191 wine_fn_config_dll dispdib.dll16 enable_win16
17192 wine_fn_config_dll dispex enable_dispex clean
17193 wine_fn_config_test dlls/dispex/tests dispex_test
17194 wine_fn_config_dll display.drv16 enable_win16
17195 wine_fn_config_dll dmband enable_dmband clean
17196 wine_fn_config_test dlls/dmband/tests dmband_test
17197 wine_fn_config_dll dmcompos enable_dmcompos clean
17198 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17199 wine_fn_config_dll dmime enable_dmime clean
17200 wine_fn_config_test dlls/dmime/tests dmime_test
17201 wine_fn_config_dll dmloader enable_dmloader clean
17202 wine_fn_config_test dlls/dmloader/tests dmloader_test
17203 wine_fn_config_dll dmscript enable_dmscript clean
17204 wine_fn_config_test dlls/dmscript/tests dmscript_test
17205 wine_fn_config_dll dmstyle enable_dmstyle clean
17206 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17207 wine_fn_config_dll dmsynth enable_dmsynth clean
17208 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17209 wine_fn_config_dll dmusic enable_dmusic clean
17210 wine_fn_config_test dlls/dmusic/tests dmusic_test
17211 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17212 wine_fn_config_dll dnsapi enable_dnsapi implib
17213 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17214 wine_fn_config_dll dplay enable_dplay implib
17215 wine_fn_config_dll dplayx enable_dplayx clean,implib
17216 wine_fn_config_test dlls/dplayx/tests dplayx_test
17217 wine_fn_config_dll dpnaddr enable_dpnaddr
17218 wine_fn_config_dll dpnet enable_dpnet clean,implib
17219 wine_fn_config_test dlls/dpnet/tests dpnet_test
17220 wine_fn_config_dll dpnhpast enable_dpnhpast
17221 wine_fn_config_dll dpnlobby enable_dpnlobby
17222 wine_fn_config_dll dpvoice enable_dpvoice clean
17223 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17224 wine_fn_config_dll dpwsockx enable_dpwsockx
17225 wine_fn_config_dll drmclien enable_drmclien
17226 wine_fn_config_dll dsound enable_dsound clean,implib
17227 wine_fn_config_test dlls/dsound/tests dsound_test
17228 wine_fn_config_dll dssenh enable_dssenh
17229 wine_fn_config_test dlls/dssenh/tests dssenh_test
17230 wine_fn_config_dll dswave enable_dswave clean
17231 wine_fn_config_test dlls/dswave/tests dswave_test
17232 wine_fn_config_dll dwmapi enable_dwmapi implib
17233 wine_fn_config_dll dwrite enable_dwrite implib
17234 wine_fn_config_test dlls/dwrite/tests dwrite_test
17235 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17236 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17237 wine_fn_config_lib dxerr8
17238 wine_fn_config_lib dxerr9
17239 wine_fn_config_dll dxgi enable_dxgi implib
17240 wine_fn_config_test dlls/dxgi/tests dxgi_test
17241 wine_fn_config_lib dxguid
17242 wine_fn_config_dll dxva2 enable_dxva2
17243 wine_fn_config_dll evr enable_evr
17244 wine_fn_config_dll explorerframe enable_explorerframe clean
17245 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17246 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17247 wine_fn_config_dll faultrep enable_faultrep implib
17248 wine_fn_config_test dlls/faultrep/tests faultrep_test
17249 wine_fn_config_dll fltlib enable_fltlib
17250 wine_fn_config_dll fntcache enable_fntcache
17251 wine_fn_config_dll fontsub enable_fontsub
17252 wine_fn_config_dll fusion enable_fusion
17253 wine_fn_config_test dlls/fusion/tests fusion_test
17254 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17255 wine_fn_config_dll gameux enable_gameux clean
17256 wine_fn_config_test dlls/gameux/tests gameux_test
17257 wine_fn_config_dll gdi.exe16 enable_win16
17258 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17259 wine_fn_config_test dlls/gdi32/tests gdi32_test
17260 wine_fn_config_dll gdiplus enable_gdiplus implib
17261 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17262 wine_fn_config_dll glu32 enable_glu32 implib
17263 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17264 wine_fn_config_dll gpkcsp enable_gpkcsp
17265 wine_fn_config_dll hal enable_hal
17266 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17267 wine_fn_config_dll hid enable_hid implib
17268 wine_fn_config_dll hlink enable_hlink clean,implib
17269 wine_fn_config_test dlls/hlink/tests hlink_test
17270 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17271 wine_fn_config_dll httpapi enable_httpapi
17272 wine_fn_config_dll iccvid enable_iccvid po
17273 wine_fn_config_dll icmp enable_icmp
17274 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17275 wine_fn_config_test dlls/ieframe/tests ieframe_test
17276 wine_fn_config_dll ifsmgr.vxd enable_win16
17277 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17278 wine_fn_config_dll imagehlp enable_imagehlp implib
17279 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17280 wine_fn_config_dll imm.dll16 enable_win16
17281 wine_fn_config_dll imm32 enable_imm32 implib
17282 wine_fn_config_test dlls/imm32/tests imm32_test
17283 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17284 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17285 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17286 wine_fn_config_dll inetmib1 enable_inetmib1
17287 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17288 wine_fn_config_dll infosoft enable_infosoft clean
17289 wine_fn_config_test dlls/infosoft/tests infosoft_test
17290 wine_fn_config_dll initpki enable_initpki
17291 wine_fn_config_dll inkobj enable_inkobj
17292 wine_fn_config_dll inseng enable_inseng clean
17293 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17294 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17295 wine_fn_config_dll itircl enable_itircl
17296 wine_fn_config_dll itss enable_itss clean
17297 wine_fn_config_test dlls/itss/tests itss_test
17298 wine_fn_config_dll joy.cpl enable_joy_cpl po
17299 wine_fn_config_dll jscript enable_jscript clean,po
17300 wine_fn_config_test dlls/jscript/tests jscript_test
17301 wine_fn_config_dll jsproxy enable_jsproxy implib
17302 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17303 wine_fn_config_test dlls/kernel32/tests kernel32_test
17304 wine_fn_config_dll keyboard.drv16 enable_win16
17305 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17306 wine_fn_config_dll ksuser enable_ksuser
17307 wine_fn_config_dll ktmw32 enable_ktmw32
17308 wine_fn_config_dll loadperf enable_loadperf implib
17309 wine_fn_config_dll localspl enable_localspl po
17310 wine_fn_config_test dlls/localspl/tests localspl_test
17311 wine_fn_config_dll localui enable_localui po
17312 wine_fn_config_test dlls/localui/tests localui_test
17313 wine_fn_config_dll lz32 enable_lz32 implib
17314 wine_fn_config_test dlls/lz32/tests lz32_test
17315 wine_fn_config_dll lzexpand.dll16 enable_win16
17316 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17317 wine_fn_config_test dlls/mapi32/tests mapi32_test
17318 wine_fn_config_dll mapistub enable_mapistub
17319 wine_fn_config_dll mciavi32 enable_mciavi32
17320 wine_fn_config_dll mcicda enable_mcicda
17321 wine_fn_config_dll mciqtz32 enable_mciqtz32
17322 wine_fn_config_dll mciseq enable_mciseq
17323 wine_fn_config_dll mciwave enable_mciwave
17324 wine_fn_config_dll mf enable_mf
17325 wine_fn_config_dll mfplat enable_mfplat
17326 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17327 wine_fn_config_dll mgmtapi enable_mgmtapi
17328 wine_fn_config_dll midimap enable_midimap
17329 wine_fn_config_dll mlang enable_mlang clean,implib
17330 wine_fn_config_test dlls/mlang/tests mlang_test
17331 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17332 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17333 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17334 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17335 wine_fn_config_dll mmdevldr.vxd enable_win16
17336 wine_fn_config_dll mmsystem.dll16 enable_win16
17337 wine_fn_config_dll monodebg.vxd enable_win16
17338 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17339 wine_fn_config_dll mouse.drv16 enable_win16
17340 wine_fn_config_dll mpr enable_mpr implib,po
17341 wine_fn_config_test dlls/mpr/tests mpr_test
17342 wine_fn_config_dll mprapi enable_mprapi implib
17343 wine_fn_config_dll msacm.dll16 enable_win16
17344 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17345 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17346 wine_fn_config_test dlls/msacm32/tests msacm32_test
17347 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17348 wine_fn_config_dll msasn1 enable_msasn1 implib
17349 wine_fn_config_dll mscat32 enable_mscat32
17350 wine_fn_config_dll mscms enable_mscms implib
17351 wine_fn_config_test dlls/mscms/tests mscms_test
17352 wine_fn_config_dll mscoree enable_mscoree clean
17353 wine_fn_config_test dlls/mscoree/tests mscoree_test
17354 wine_fn_config_dll msctf enable_msctf clean
17355 wine_fn_config_test dlls/msctf/tests msctf_test
17356 wine_fn_config_dll msdaps enable_msdaps clean
17357 wine_fn_config_dll msdmo enable_msdmo implib
17358 wine_fn_config_test dlls/msdmo/tests msdmo_test
17359 wine_fn_config_dll msftedit enable_msftedit
17360 wine_fn_config_dll msg711.acm enable_msg711_acm
17361 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17362 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17363 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17364 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17365 wine_fn_config_dll msi enable_msi clean,implib,po
17366 wine_fn_config_test dlls/msi/tests msi_test
17367 wine_fn_config_dll msident enable_msident clean
17368 wine_fn_config_dll msimg32 enable_msimg32 implib
17369 wine_fn_config_dll msimsg enable_msimsg
17370 wine_fn_config_dll msimtf enable_msimtf clean
17371 wine_fn_config_dll msisip enable_msisip
17372 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17373 wine_fn_config_dll msls31 enable_msls31
17374 wine_fn_config_dll msnet32 enable_msnet32
17375 wine_fn_config_dll mspatcha enable_mspatcha
17376 wine_fn_config_dll msrle32 enable_msrle32 po
17377 wine_fn_config_test dlls/msrle32/tests msrle32_test
17378 wine_fn_config_dll mssign32 enable_mssign32
17379 wine_fn_config_dll mssip32 enable_mssip32
17380 wine_fn_config_dll mstask enable_mstask clean
17381 wine_fn_config_test dlls/mstask/tests mstask_test
17382 wine_fn_config_dll msvcirt enable_msvcirt
17383 wine_fn_config_dll msvcm80 enable_msvcm80
17384 wine_fn_config_dll msvcm90 enable_msvcm90
17385 wine_fn_config_dll msvcp100 enable_msvcp100
17386 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17387 wine_fn_config_dll msvcp110 enable_msvcp110
17388 wine_fn_config_dll msvcp120 enable_msvcp120
17389 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17390 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17391 wine_fn_config_dll msvcp60 enable_msvcp60
17392 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17393 wine_fn_config_dll msvcp70 enable_msvcp70
17394 wine_fn_config_dll msvcp71 enable_msvcp71
17395 wine_fn_config_dll msvcp80 enable_msvcp80
17396 wine_fn_config_dll msvcp90 enable_msvcp90
17397 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17398 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17399 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17400 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17401 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17402 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17403 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17404 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17405 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17406 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17407 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17408 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17409 wine_fn_config_dll msvcrt enable_msvcrt implib
17410 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17411 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17412 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17413 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17414 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17415 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17416 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17417 wine_fn_config_dll msvidc32 enable_msvidc32 po
17418 wine_fn_config_dll msvideo.dll16 enable_win16
17419 wine_fn_config_dll mswsock enable_mswsock implib
17420 wine_fn_config_dll msxml enable_msxml clean
17421 wine_fn_config_dll msxml2 enable_msxml2 clean
17422 wine_fn_config_dll msxml3 enable_msxml3 clean
17423 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17424 wine_fn_config_dll msxml4 enable_msxml4 clean
17425 wine_fn_config_dll msxml6 enable_msxml6 clean
17426 wine_fn_config_dll nddeapi enable_nddeapi implib
17427 wine_fn_config_dll ndis.sys enable_ndis_sys
17428 wine_fn_config_dll netapi32 enable_netapi32 implib
17429 wine_fn_config_test dlls/netapi32/tests netapi32_test
17430 wine_fn_config_dll netcfgx enable_netcfgx clean
17431 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17432 wine_fn_config_dll netprofm enable_netprofm clean
17433 wine_fn_config_test dlls/netprofm/tests netprofm_test
17434 wine_fn_config_dll newdev enable_newdev implib
17435 wine_fn_config_dll normaliz enable_normaliz implib
17436 wine_fn_config_dll npmshtml enable_npmshtml
17437 wine_fn_config_dll npptools enable_npptools
17438 wine_fn_config_dll ntdll enable_ntdll implib
17439 wine_fn_config_test dlls/ntdll/tests ntdll_test
17440 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17441 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17442 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17443 wine_fn_config_dll ntprint enable_ntprint
17444 wine_fn_config_test dlls/ntprint/tests ntprint_test
17445 wine_fn_config_dll objsel enable_objsel clean
17446 wine_fn_config_dll odbc32 enable_odbc32 implib
17447 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17448 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17449 wine_fn_config_dll odbccu32 enable_odbccu32
17450 wine_fn_config_dll ole2.dll16 enable_win16
17451 wine_fn_config_dll ole2conv.dll16 enable_win16
17452 wine_fn_config_dll ole2disp.dll16 enable_win16
17453 wine_fn_config_dll ole2nls.dll16 enable_win16
17454 wine_fn_config_dll ole2prox.dll16 enable_win16
17455 wine_fn_config_dll ole2thk.dll16 enable_win16
17456 wine_fn_config_dll ole32 enable_ole32 clean,implib
17457 wine_fn_config_test dlls/ole32/tests ole32_test
17458 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17459 wine_fn_config_test dlls/oleacc/tests oleacc_test
17460 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17461 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17462 wine_fn_config_dll olecli.dll16 enable_win16
17463 wine_fn_config_dll olecli32 enable_olecli32 implib
17464 wine_fn_config_dll oledb32 enable_oledb32 clean
17465 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17466 wine_fn_config_dll oledlg enable_oledlg implib,po
17467 wine_fn_config_dll olepro32 enable_olepro32 implib
17468 wine_fn_config_dll olesvr.dll16 enable_win16
17469 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17470 wine_fn_config_dll olethk32 enable_olethk32
17471 wine_fn_config_dll openal32 enable_openal32
17472 wine_fn_config_dll opencl enable_opencl
17473 wine_fn_config_dll opengl32 enable_opengl32 implib
17474 wine_fn_config_test dlls/opengl32/tests opengl32_test
17475 wine_fn_config_dll packager enable_packager clean
17476 wine_fn_config_test dlls/packager/tests packager_test
17477 wine_fn_config_dll pdh enable_pdh implib
17478 wine_fn_config_test dlls/pdh/tests pdh_test
17479 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17480 wine_fn_config_dll pidgen enable_pidgen
17481 wine_fn_config_dll powrprof enable_powrprof implib
17482 wine_fn_config_dll printui enable_printui
17483 wine_fn_config_dll prntvpt enable_prntvpt
17484 wine_fn_config_dll propsys enable_propsys clean,implib
17485 wine_fn_config_test dlls/propsys/tests propsys_test
17486 wine_fn_config_dll psapi enable_psapi implib
17487 wine_fn_config_test dlls/psapi/tests psapi_test
17488 wine_fn_config_dll pstorec enable_pstorec clean
17489 wine_fn_config_dll qcap enable_qcap
17490 wine_fn_config_test dlls/qcap/tests qcap_test
17491 wine_fn_config_dll qedit enable_qedit clean
17492 wine_fn_config_test dlls/qedit/tests qedit_test
17493 wine_fn_config_dll qmgr enable_qmgr clean
17494 wine_fn_config_test dlls/qmgr/tests qmgr_test
17495 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17496 wine_fn_config_dll quartz enable_quartz clean,implib
17497 wine_fn_config_test dlls/quartz/tests quartz_test clean
17498 wine_fn_config_dll query enable_query
17499 wine_fn_config_dll rasapi16.dll16 enable_win16
17500 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17501 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17502 wine_fn_config_dll rasdlg enable_rasdlg implib
17503 wine_fn_config_dll regapi enable_regapi
17504 wine_fn_config_dll resutils enable_resutils implib
17505 wine_fn_config_dll riched20 enable_riched20 implib
17506 wine_fn_config_test dlls/riched20/tests riched20_test
17507 wine_fn_config_dll riched32 enable_riched32
17508 wine_fn_config_test dlls/riched32/tests riched32_test
17509 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17510 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17511 wine_fn_config_dll rsabase enable_rsabase
17512 wine_fn_config_dll rsaenh enable_rsaenh implib
17513 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17514 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17515 wine_fn_config_dll rtutils enable_rtutils implib
17516 wine_fn_config_dll samlib enable_samlib
17517 wine_fn_config_dll sane.ds enable_sane_ds po
17518 wine_fn_config_dll scarddlg enable_scarddlg
17519 wine_fn_config_dll sccbase enable_sccbase
17520 wine_fn_config_dll schannel enable_schannel
17521 wine_fn_config_test dlls/schannel/tests schannel_test
17522 wine_fn_config_dll schedsvc enable_schedsvc clean
17523 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17524 wine_fn_config_dll scrrun enable_scrrun clean
17525 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17526 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17527 wine_fn_config_dll secur32 enable_secur32 implib
17528 wine_fn_config_test dlls/secur32/tests secur32_test
17529 wine_fn_config_dll security enable_security
17530 wine_fn_config_dll sensapi enable_sensapi implib
17531 wine_fn_config_dll serialui enable_serialui implib,po
17532 wine_fn_config_test dlls/serialui/tests serialui_test
17533 wine_fn_config_dll setupapi enable_setupapi implib,po
17534 wine_fn_config_test dlls/setupapi/tests setupapi_test
17535 wine_fn_config_dll setupx.dll16 enable_win16
17536 wine_fn_config_dll sfc enable_sfc implib
17537 wine_fn_config_dll sfc_os enable_sfc_os implib
17538 wine_fn_config_dll shdoclc enable_shdoclc po
17539 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17540 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17541 wine_fn_config_dll shell.dll16 enable_win16
17542 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17543 wine_fn_config_test dlls/shell32/tests shell32_test
17544 wine_fn_config_dll shfolder enable_shfolder implib
17545 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17546 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17547 wine_fn_config_dll slbcsp enable_slbcsp
17548 wine_fn_config_dll slc enable_slc implib
17549 wine_fn_config_test dlls/slc/tests slc_test
17550 wine_fn_config_dll snmpapi enable_snmpapi implib
17551 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17552 wine_fn_config_dll softpub enable_softpub
17553 wine_fn_config_dll sound.drv16 enable_win16
17554 wine_fn_config_dll spoolss enable_spoolss implib
17555 wine_fn_config_test dlls/spoolss/tests spoolss_test
17556 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17557 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17558 wine_fn_config_dll sti enable_sti clean,implib
17559 wine_fn_config_test dlls/sti/tests sti_test
17560 wine_fn_config_dll storage.dll16 enable_win16
17561 wine_fn_config_dll stress.dll16 enable_win16
17562 wine_fn_config_lib strmbase
17563 wine_fn_config_lib strmiids
17564 wine_fn_config_dll svrapi enable_svrapi
17565 wine_fn_config_dll sxs enable_sxs implib
17566 wine_fn_config_test dlls/sxs/tests sxs_test
17567 wine_fn_config_dll system.drv16 enable_win16
17568 wine_fn_config_dll t2embed enable_t2embed
17569 wine_fn_config_dll tapi32 enable_tapi32 implib
17570 wine_fn_config_dll taskschd enable_taskschd clean
17571 wine_fn_config_test dlls/taskschd/tests taskschd_test
17572 wine_fn_config_dll toolhelp.dll16 enable_win16
17573 wine_fn_config_dll traffic enable_traffic
17574 wine_fn_config_dll twain.dll16 enable_win16
17575 wine_fn_config_dll twain_32 enable_twain_32
17576 wine_fn_config_test dlls/twain_32/tests twain_32_test
17577 wine_fn_config_dll typelib.dll16 enable_win16
17578 wine_fn_config_dll unicows enable_unicows implib
17579 wine_fn_config_dll updspapi enable_updspapi
17580 wine_fn_config_dll url enable_url implib
17581 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17582 wine_fn_config_test dlls/urlmon/tests urlmon_test
17583 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17584 wine_fn_config_dll user.exe16 enable_win16
17585 wine_fn_config_dll user32 enable_user32 clean,implib,po
17586 wine_fn_config_test dlls/user32/tests user32_test
17587 wine_fn_config_dll userenv enable_userenv implib
17588 wine_fn_config_test dlls/userenv/tests userenv_test
17589 wine_fn_config_dll usp10 enable_usp10 implib
17590 wine_fn_config_test dlls/usp10/tests usp10_test
17591 wine_fn_config_lib uuid
17592 wine_fn_config_dll uxtheme enable_uxtheme implib
17593 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17594 wine_fn_config_dll vbscript enable_vbscript clean
17595 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17596 wine_fn_config_dll vcomp enable_vcomp
17597 wine_fn_config_dll vcomp100 enable_vcomp100
17598 wine_fn_config_dll vcomp90 enable_vcomp90
17599 wine_fn_config_dll vdhcp.vxd enable_win16
17600 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17601 wine_fn_config_dll ver.dll16 enable_win16
17602 wine_fn_config_dll version enable_version implib
17603 wine_fn_config_test dlls/version/tests version_test
17604 wine_fn_config_dll vmm.vxd enable_win16
17605 wine_fn_config_dll vnbt.vxd enable_win16
17606 wine_fn_config_dll vnetbios.vxd enable_win16
17607 wine_fn_config_dll vssapi enable_vssapi
17608 wine_fn_config_dll vtdapi.vxd enable_win16
17609 wine_fn_config_dll vwin32.vxd enable_win16
17610 wine_fn_config_dll w32skrnl enable_win16
17611 wine_fn_config_dll w32sys.dll16 enable_win16
17612 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17613 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17614 wine_fn_config_dll wbemprox enable_wbemprox clean
17615 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17616 wine_fn_config_dll webservices enable_webservices implib
17617 wine_fn_config_dll wer enable_wer implib
17618 wine_fn_config_test dlls/wer/tests wer_test
17619 wine_fn_config_dll wevtapi enable_wevtapi
17620 wine_fn_config_dll wiaservc enable_wiaservc clean
17621 wine_fn_config_dll win32s16.dll16 enable_win16
17622 wine_fn_config_dll win87em.dll16 enable_win16
17623 wine_fn_config_dll winaspi.dll16 enable_win16
17624 wine_fn_config_dll windebug.dll16 enable_win16
17625 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17626 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17627 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17628 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17629 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17630 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17631 wine_fn_config_lib winecrt0
17632 wine_fn_config_dll wined3d enable_wined3d implib
17633 wine_fn_config_dll winegstreamer enable_winegstreamer
17634 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17635 wine_fn_config_dll winemac.drv enable_winemac_drv
17636 wine_fn_config_dll winemapi enable_winemapi
17637 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17638 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17639 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17640 wine_fn_config_dll wineps16.drv16 enable_win16
17641 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17642 wine_fn_config_dll winex11.drv enable_winex11_drv
17643 wine_fn_config_dll wing.dll16 enable_win16
17644 wine_fn_config_dll wing32 enable_wing32
17645 wine_fn_config_dll winhttp enable_winhttp clean,implib
17646 wine_fn_config_test dlls/winhttp/tests winhttp_test
17647 wine_fn_config_dll wininet enable_wininet implib,po
17648 wine_fn_config_test dlls/wininet/tests wininet_test
17649 wine_fn_config_dll winmm enable_winmm implib,po
17650 wine_fn_config_test dlls/winmm/tests winmm_test
17651 wine_fn_config_dll winnls.dll16 enable_win16
17652 wine_fn_config_dll winnls32 enable_winnls32 implib
17653 wine_fn_config_dll winscard enable_winscard implib
17654 wine_fn_config_dll winsock.dll16 enable_win16
17655 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17656 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17657 wine_fn_config_dll winsta enable_winsta
17658 wine_fn_config_dll wintab.dll16 enable_win16
17659 wine_fn_config_dll wintab32 enable_wintab32 implib
17660 wine_fn_config_test dlls/wintab32/tests wintab32_test
17661 wine_fn_config_dll wintrust enable_wintrust implib
17662 wine_fn_config_test dlls/wintrust/tests wintrust_test
17663 wine_fn_config_dll wlanapi enable_wlanapi
17664 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17665 wine_fn_config_test dlls/wldap32/tests wldap32_test
17666 wine_fn_config_dll wmi enable_wmi
17667 wine_fn_config_dll wmiutils enable_wmiutils clean
17668 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17669 wine_fn_config_dll wmp enable_wmp clean
17670 wine_fn_config_test dlls/wmp/tests wmp_test
17671 wine_fn_config_dll wmvcore enable_wmvcore
17672 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17673 wine_fn_config_dll wow32 enable_win16 implib
17674 wine_fn_config_dll wpcap enable_wpcap
17675 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17676 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17677 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17678 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17679 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17680 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17681 wine_fn_config_dll wsock32 enable_wsock32 implib
17682 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17683 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17684 wine_fn_config_dll wuapi enable_wuapi clean
17685 wine_fn_config_dll wuaueng enable_wuaueng
17686 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17687 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17688 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17689 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17690 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17691 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17692 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17693 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17694 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17695 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17696 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17697 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17698 wine_fn_config_dll xinput1_1 enable_xinput1_1
17699 wine_fn_config_dll xinput1_2 enable_xinput1_2
17700 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17701 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17702 wine_fn_config_dll xinput1_4 enable_xinput1_4
17703 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17704 wine_fn_config_dll xmllite enable_xmllite implib
17705 wine_fn_config_test dlls/xmllite/tests xmllite_test
17706 wine_fn_config_dll xolehlp enable_xolehlp
17707 wine_fn_config_dll xpsprint enable_xpsprint
17708 wine_fn_config_dll xpssvcs enable_xpssvcs
17709 wine_fn_config_makefile documentation enable_documentation clean
17710 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17711 wine_fn_config_makefile include enable_include clean,install-dev
17712 wine_fn_config_makefile libs/port enable_libs_port
17713 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17714 wine_fn_config_makefile libs/wpp enable_libs_wpp
17715 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17716 wine_fn_config_program arp enable_arp install
17717 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17718 wine_fn_config_program attrib enable_attrib install,po
17719 wine_fn_config_program cabarc enable_cabarc install
17720 wine_fn_config_program cacls enable_cacls install
17721 wine_fn_config_program clock enable_clock install,po
17722 wine_fn_config_program cmd enable_cmd install,po
17723 wine_fn_config_test programs/cmd/tests cmd.exe_test
17724 wine_fn_config_program conhost enable_conhost install
17725 wine_fn_config_program control enable_control install
17726 wine_fn_config_program cscript enable_cscript clean,install
17727 wine_fn_config_program dpnsvr enable_dpnsvr install
17728 wine_fn_config_program dxdiag enable_dxdiag install,po
17729 wine_fn_config_program eject enable_eject install
17730 wine_fn_config_program expand enable_expand install
17731 wine_fn_config_program explorer enable_explorer install,po
17732 wine_fn_config_program extrac32 enable_extrac32 install
17733 wine_fn_config_program findstr enable_findstr install
17734 wine_fn_config_program hh enable_hh install
17735 wine_fn_config_program hostname enable_hostname install,po
17736 wine_fn_config_program icinfo enable_icinfo install
17737 wine_fn_config_program iexplore enable_iexplore install
17738 wine_fn_config_program ipconfig enable_ipconfig install,po
17739 wine_fn_config_program lodctr enable_lodctr install
17740 wine_fn_config_program mofcomp enable_mofcomp install
17741 wine_fn_config_program mshta enable_mshta install
17742 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17743 wine_fn_config_program net enable_net install,po
17744 wine_fn_config_program netsh enable_netsh install
17745 wine_fn_config_program netstat enable_netstat install,po
17746 wine_fn_config_program ngen enable_ngen install
17747 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17748 wine_fn_config_program oleview enable_oleview install,po
17749 wine_fn_config_program ping enable_ping install
17750 wine_fn_config_program plugplay enable_plugplay install
17751 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17752 wine_fn_config_program progman enable_progman install,po
17753 wine_fn_config_program reg enable_reg install,po
17754 wine_fn_config_test programs/reg/tests reg.exe_test
17755 wine_fn_config_program regasm enable_regasm install
17756 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17757 wine_fn_config_test programs/regedit/tests regedit.exe_test
17758 wine_fn_config_program regsvcs enable_regsvcs install
17759 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17760 wine_fn_config_program rpcss enable_rpcss clean,install
17761 wine_fn_config_program rundll.exe16 enable_win16 install
17762 wine_fn_config_program rundll32 enable_rundll32 install
17763 wine_fn_config_program sc enable_sc install
17764 wine_fn_config_program schtasks enable_schtasks install
17765 wine_fn_config_program sdbinst enable_sdbinst install
17766 wine_fn_config_program secedit enable_secedit install
17767 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17768 wine_fn_config_program services enable_services clean,install
17769 wine_fn_config_test programs/services/tests services.exe_test
17770 wine_fn_config_program spoolsv enable_spoolsv install
17771 wine_fn_config_program start enable_start install,po
17772 wine_fn_config_program svchost enable_svchost install
17773 wine_fn_config_program systeminfo enable_systeminfo install
17774 wine_fn_config_program taskkill enable_taskkill install,po
17775 wine_fn_config_program tasklist enable_tasklist install
17776 wine_fn_config_program taskmgr enable_taskmgr install,po
17777 wine_fn_config_program termsv enable_termsv install
17778 wine_fn_config_program uninstaller enable_uninstaller install,po
17779 wine_fn_config_program unlodctr enable_unlodctr install
17780 wine_fn_config_program view enable_view install,po
17781 wine_fn_config_program wevtutil enable_wevtutil install
17782 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17783 wine_fn_config_program winebrowser enable_winebrowser install
17784 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17785 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17786 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17787 wine_fn_config_program winedevice enable_winedevice install
17788 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17789 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17790 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17791 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17792 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17793 wine_fn_config_program winetest enable_winetest clean
17794 wine_fn_config_program winevdm enable_win16 install
17795 wine_fn_config_program winhelp.exe16 enable_win16 install
17796 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17797 wine_fn_config_program winoldap.mod16 enable_win16 install
17798 wine_fn_config_program winver enable_winver install
17799 wine_fn_config_program wmic enable_wmic install,po
17800 wine_fn_config_program wordpad enable_wordpad install,po
17801 wine_fn_config_program write enable_write install,po
17802 wine_fn_config_program wscript enable_wscript clean,install
17803 wine_fn_config_test programs/wscript/tests wscript.exe_test
17804 wine_fn_config_program wusa enable_wusa install
17805 wine_fn_config_program xcopy enable_xcopy install,po
17806 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17807 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17808 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17809 wine_fn_config_tool tools/sfnt2fon clean
17810 wine_fn_config_tool tools/widl clean,install-dev,manpage
17811 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17812 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17813 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17814 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17815 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17817 LINGUAS="\
17818 ar \
17819 bg \
17820 ca \
17821 cs \
17822 da \
17823 de \
17824 el \
17825 en \
17826 en_US \
17827 eo \
17828 es \
17829 fa \
17830 fi \
17831 fr \
17832 he \
17833 hi \
17834 hr \
17835 hu \
17836 it \
17837 ja \
17838 ko \
17839 lt \
17840 ml \
17841 nb_NO \
17842 nl \
17843 or \
17844 pa \
17845 pl \
17846 pt_BR \
17847 pt_PT \
17848 rm \
17849 ro \
17850 ru \
17851 sk \
17852 sl \
17853 sr_RS@cyrillic \
17854 sr_RS@latin \
17855 sv \
17856 te \
17857 th \
17858 tr \
17859 uk \
17860 wa \
17861 zh_CN \
17862 zh_TW"
17867 wine_fn_ignore_file ".gitignore"
17868 wine_fn_ignore_file "Makefile"
17869 wine_fn_ignore_file "TAGS"
17870 wine_fn_ignore_file "tags"
17871 wine_fn_ignore_file "autom4te.cache"
17872 wine_fn_ignore_file "config.cache"
17873 wine_fn_ignore_file "config.log"
17874 wine_fn_ignore_file "config.status"
17875 wine_fn_ignore_file "configure.lineno"
17876 wine_fn_ignore_file "include/config.h"
17877 wine_fn_ignore_file "include/stamp-h"
17878 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17880 if test "x$enable_tools" != xno
17881 then
17882 wine_fn_ignore_file "tools/makedep$ac_exeext"
17883 ac_config_commands="$ac_config_commands tools/makedep"
17887 ac_config_commands="$ac_config_commands Makefile"
17890 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17894 if test "x$enable_maintainer_mode" = xyes
17895 then
17896 wine_fn_append_rule "configure: configure.ac aclocal.m4
17897 autoconf --warnings=all
17898 include/config.h.in: include/stamp-h.in
17899 include/stamp-h.in: configure.ac aclocal.m4
17900 autoheader --warnings=all
17901 @echo timestamp > \$@"
17904 if test "x$with_gettextpo" = xyes
17905 then
17906 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17907 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17908 \$(LINGUAS:%=po/%.po): po/wine.pot
17909 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17910 po/wine.pot: \$(ALL_POT_FILES)
17911 msgcat -o \$@ \$(ALL_POT_FILES)"
17914 if test "$MSGFMT" != false
17915 then
17916 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17917 clean::
17918 \$(RM) \$(LINGUAS:%=po/%.mo)"
17920 posrc="po"
17921 test "$srcdir" = . || posrc="$srcdir/po"
17922 for i in $LINGUAS
17924 wine_fn_ignore_file "po/$i.mo"
17925 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17926 \$(MSGFMT) -o \$@ $posrc/$i.po"
17927 done
17928 else
17929 LINGUAS=
17932 if test "x$enable_tools" != xno
17933 then
17934 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17935 @./config.status tools/makedep
17936 Makefile: tools/makedep$ac_exeext
17937 distclean:: clean
17938 \$(RM) tools/makedep$ac_exeext"
17939 else
17940 wine_fn_append_rule "\$(MAKEDEP):
17941 @echo \"You need to run make in $TOOLSDIR first\" && false"
17944 if test -n "$with_wine64"
17945 then
17946 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17947 fonts server tools:
17948 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17949 $with_wine64/loader/wine:
17950 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17951 $with_wine64/loader/wine-preloader:
17952 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17953 clean::
17954 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17955 else
17956 as_fn_append LOADER_RULES "
17957 install install-lib:: wine.inf install-man-pages
17958 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17959 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17961 uninstall::
17962 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17966 if test "$srcdir" = .
17967 then
17968 ac_config_commands="$ac_config_commands .gitignore"
17972 $as_echo " done" >&6
17973 cat >confcache <<\_ACEOF
17974 # This file is a shell script that caches the results of configure
17975 # tests run on this system so they can be shared between configure
17976 # scripts and configure runs, see configure's option --config-cache.
17977 # It is not useful on other systems. If it contains results you don't
17978 # want to keep, you may remove or edit it.
17980 # config.status only pays attention to the cache file if you give it
17981 # the --recheck option to rerun configure.
17983 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17984 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17985 # following values.
17987 _ACEOF
17989 # The following way of writing the cache mishandles newlines in values,
17990 # but we know of no workaround that is simple, portable, and efficient.
17991 # So, we kill variables containing newlines.
17992 # Ultrix sh set writes to stderr and can't be redirected directly,
17993 # and sets the high bit in the cache file unless we assign to the vars.
17995 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17996 eval ac_val=\$$ac_var
17997 case $ac_val in #(
17998 *${as_nl}*)
17999 case $ac_var in #(
18000 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18001 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18002 esac
18003 case $ac_var in #(
18004 _ | IFS | as_nl) ;; #(
18005 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18006 *) { eval $ac_var=; unset $ac_var;} ;;
18007 esac ;;
18008 esac
18009 done
18011 (set) 2>&1 |
18012 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18013 *${as_nl}ac_space=\ *)
18014 # `set' does not quote correctly, so add quotes: double-quote
18015 # substitution turns \\\\ into \\, and sed turns \\ into \.
18016 sed -n \
18017 "s/'/'\\\\''/g;
18018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18019 ;; #(
18021 # `set' quotes correctly as required by POSIX, so do not add quotes.
18022 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18024 esac |
18025 sort
18027 sed '
18028 /^ac_cv_env_/b end
18029 t clear
18030 :clear
18031 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18032 t end
18033 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18034 :end' >>confcache
18035 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18036 if test -w "$cache_file"; then
18037 if test "x$cache_file" != "x/dev/null"; then
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18039 $as_echo "$as_me: updating cache $cache_file" >&6;}
18040 if test ! -f "$cache_file" || test -h "$cache_file"; then
18041 cat confcache >"$cache_file"
18042 else
18043 case $cache_file in #(
18044 */* | ?:*)
18045 mv -f confcache "$cache_file"$$ &&
18046 mv -f "$cache_file"$$ "$cache_file" ;; #(
18048 mv -f confcache "$cache_file" ;;
18049 esac
18052 else
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18054 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18057 rm -f confcache
18059 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18060 # Let make expand exec_prefix.
18061 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18063 DEFS=-DHAVE_CONFIG_H
18065 ac_libobjs=
18066 ac_ltlibobjs=
18068 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18069 # 1. Remove the extension, and $U if already installed.
18070 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18071 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18072 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18073 # will be set to the directory where LIBOBJS objects are built.
18074 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18075 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18076 done
18077 LIBOBJS=$ac_libobjs
18079 LTLIBOBJS=$ac_ltlibobjs
18083 : "${CONFIG_STATUS=./config.status}"
18084 ac_write_fail=0
18085 ac_clean_files_save=$ac_clean_files
18086 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18088 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18089 as_write_fail=0
18090 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18091 #! $SHELL
18092 # Generated by $as_me.
18093 # Run this file to recreate the current configuration.
18094 # Compiler output produced by configure, useful for debugging
18095 # configure, is in config.log if it exists.
18097 debug=false
18098 ac_cs_recheck=false
18099 ac_cs_silent=false
18101 SHELL=\${CONFIG_SHELL-$SHELL}
18102 export SHELL
18103 _ASEOF
18104 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18105 ## -------------------- ##
18106 ## M4sh Initialization. ##
18107 ## -------------------- ##
18109 # Be more Bourne compatible
18110 DUALCASE=1; export DUALCASE # for MKS sh
18111 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18112 emulate sh
18113 NULLCMD=:
18114 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18115 # is contrary to our usage. Disable this feature.
18116 alias -g '${1+"$@"}'='"$@"'
18117 setopt NO_GLOB_SUBST
18118 else
18119 case `(set -o) 2>/dev/null` in #(
18120 *posix*) :
18121 set -o posix ;; #(
18122 *) :
18124 esac
18128 as_nl='
18130 export as_nl
18131 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18132 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18133 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18134 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18135 # Prefer a ksh shell builtin over an external printf program on Solaris,
18136 # but without wasting forks for bash or zsh.
18137 if test -z "$BASH_VERSION$ZSH_VERSION" \
18138 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18139 as_echo='print -r --'
18140 as_echo_n='print -rn --'
18141 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18142 as_echo='printf %s\n'
18143 as_echo_n='printf %s'
18144 else
18145 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18146 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18147 as_echo_n='/usr/ucb/echo -n'
18148 else
18149 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18150 as_echo_n_body='eval
18151 arg=$1;
18152 case $arg in #(
18153 *"$as_nl"*)
18154 expr "X$arg" : "X\\(.*\\)$as_nl";
18155 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18156 esac;
18157 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18159 export as_echo_n_body
18160 as_echo_n='sh -c $as_echo_n_body as_echo'
18162 export as_echo_body
18163 as_echo='sh -c $as_echo_body as_echo'
18166 # The user is always right.
18167 if test "${PATH_SEPARATOR+set}" != set; then
18168 PATH_SEPARATOR=:
18169 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18170 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18171 PATH_SEPARATOR=';'
18176 # IFS
18177 # We need space, tab and new line, in precisely that order. Quoting is
18178 # there to prevent editors from complaining about space-tab.
18179 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18180 # splitting by setting IFS to empty value.)
18181 IFS=" "" $as_nl"
18183 # Find who we are. Look in the path if we contain no directory separator.
18184 as_myself=
18185 case $0 in #((
18186 *[\\/]* ) as_myself=$0 ;;
18187 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18188 for as_dir in $PATH
18190 IFS=$as_save_IFS
18191 test -z "$as_dir" && as_dir=.
18192 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18193 done
18194 IFS=$as_save_IFS
18197 esac
18198 # We did not find ourselves, most probably we were run as `sh COMMAND'
18199 # in which case we are not to be found in the path.
18200 if test "x$as_myself" = x; then
18201 as_myself=$0
18203 if test ! -f "$as_myself"; then
18204 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18205 exit 1
18208 # Unset variables that we do not need and which cause bugs (e.g. in
18209 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18210 # suppresses any "Segmentation fault" message there. '((' could
18211 # trigger a bug in pdksh 5.2.14.
18212 for as_var in BASH_ENV ENV MAIL MAILPATH
18213 do eval test x\${$as_var+set} = xset \
18214 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18215 done
18216 PS1='$ '
18217 PS2='> '
18218 PS4='+ '
18220 # NLS nuisances.
18221 LC_ALL=C
18222 export LC_ALL
18223 LANGUAGE=C
18224 export LANGUAGE
18226 # CDPATH.
18227 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18230 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18231 # ----------------------------------------
18232 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18233 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18234 # script with STATUS, using 1 if that was 0.
18235 as_fn_error ()
18237 as_status=$1; test $as_status -eq 0 && as_status=1
18238 if test "$4"; then
18239 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18240 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18242 $as_echo "$as_me: error: $2" >&2
18243 as_fn_exit $as_status
18244 } # as_fn_error
18247 # as_fn_set_status STATUS
18248 # -----------------------
18249 # Set $? to STATUS, without forking.
18250 as_fn_set_status ()
18252 return $1
18253 } # as_fn_set_status
18255 # as_fn_exit STATUS
18256 # -----------------
18257 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18258 as_fn_exit ()
18260 set +e
18261 as_fn_set_status $1
18262 exit $1
18263 } # as_fn_exit
18265 # as_fn_unset VAR
18266 # ---------------
18267 # Portably unset VAR.
18268 as_fn_unset ()
18270 { eval $1=; unset $1;}
18272 as_unset=as_fn_unset
18273 # as_fn_append VAR VALUE
18274 # ----------------------
18275 # Append the text in VALUE to the end of the definition contained in VAR. Take
18276 # advantage of any shell optimizations that allow amortized linear growth over
18277 # repeated appends, instead of the typical quadratic growth present in naive
18278 # implementations.
18279 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18280 eval 'as_fn_append ()
18282 eval $1+=\$2
18284 else
18285 as_fn_append ()
18287 eval $1=\$$1\$2
18289 fi # as_fn_append
18291 # as_fn_arith ARG...
18292 # ------------------
18293 # Perform arithmetic evaluation on the ARGs, and store the result in the
18294 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18295 # must be portable across $(()) and expr.
18296 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18297 eval 'as_fn_arith ()
18299 as_val=$(( $* ))
18301 else
18302 as_fn_arith ()
18304 as_val=`expr "$@" || test $? -eq 1`
18306 fi # as_fn_arith
18309 if expr a : '\(a\)' >/dev/null 2>&1 &&
18310 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18311 as_expr=expr
18312 else
18313 as_expr=false
18316 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18317 as_basename=basename
18318 else
18319 as_basename=false
18322 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18323 as_dirname=dirname
18324 else
18325 as_dirname=false
18328 as_me=`$as_basename -- "$0" ||
18329 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18330 X"$0" : 'X\(//\)$' \| \
18331 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18332 $as_echo X/"$0" |
18333 sed '/^.*\/\([^/][^/]*\)\/*$/{
18334 s//\1/
18337 /^X\/\(\/\/\)$/{
18338 s//\1/
18341 /^X\/\(\/\).*/{
18342 s//\1/
18345 s/.*/./; q'`
18347 # Avoid depending upon Character Ranges.
18348 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18349 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18350 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18351 as_cr_digits='0123456789'
18352 as_cr_alnum=$as_cr_Letters$as_cr_digits
18354 ECHO_C= ECHO_N= ECHO_T=
18355 case `echo -n x` in #(((((
18356 -n*)
18357 case `echo 'xy\c'` in
18358 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18359 xy) ECHO_C='\c';;
18360 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18361 ECHO_T=' ';;
18362 esac;;
18364 ECHO_N='-n';;
18365 esac
18367 rm -f conf$$ conf$$.exe conf$$.file
18368 if test -d conf$$.dir; then
18369 rm -f conf$$.dir/conf$$.file
18370 else
18371 rm -f conf$$.dir
18372 mkdir conf$$.dir 2>/dev/null
18374 if (echo >conf$$.file) 2>/dev/null; then
18375 if ln -s conf$$.file conf$$ 2>/dev/null; then
18376 as_ln_s='ln -s'
18377 # ... but there are two gotchas:
18378 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18379 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18380 # In both cases, we have to default to `cp -pR'.
18381 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18382 as_ln_s='cp -pR'
18383 elif ln conf$$.file conf$$ 2>/dev/null; then
18384 as_ln_s=ln
18385 else
18386 as_ln_s='cp -pR'
18388 else
18389 as_ln_s='cp -pR'
18391 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18392 rmdir conf$$.dir 2>/dev/null
18395 # as_fn_mkdir_p
18396 # -------------
18397 # Create "$as_dir" as a directory, including parents if necessary.
18398 as_fn_mkdir_p ()
18401 case $as_dir in #(
18402 -*) as_dir=./$as_dir;;
18403 esac
18404 test -d "$as_dir" || eval $as_mkdir_p || {
18405 as_dirs=
18406 while :; do
18407 case $as_dir in #(
18408 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18409 *) as_qdir=$as_dir;;
18410 esac
18411 as_dirs="'$as_qdir' $as_dirs"
18412 as_dir=`$as_dirname -- "$as_dir" ||
18413 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18414 X"$as_dir" : 'X\(//\)[^/]' \| \
18415 X"$as_dir" : 'X\(//\)$' \| \
18416 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18417 $as_echo X"$as_dir" |
18418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18419 s//\1/
18422 /^X\(\/\/\)[^/].*/{
18423 s//\1/
18426 /^X\(\/\/\)$/{
18427 s//\1/
18430 /^X\(\/\).*/{
18431 s//\1/
18434 s/.*/./; q'`
18435 test -d "$as_dir" && break
18436 done
18437 test -z "$as_dirs" || eval "mkdir $as_dirs"
18438 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18441 } # as_fn_mkdir_p
18442 if mkdir -p . 2>/dev/null; then
18443 as_mkdir_p='mkdir -p "$as_dir"'
18444 else
18445 test -d ./-p && rmdir ./-p
18446 as_mkdir_p=false
18450 # as_fn_executable_p FILE
18451 # -----------------------
18452 # Test if FILE is an executable regular file.
18453 as_fn_executable_p ()
18455 test -f "$1" && test -x "$1"
18456 } # as_fn_executable_p
18457 as_test_x='test -x'
18458 as_executable_p=as_fn_executable_p
18460 # Sed expression to map a string onto a valid CPP name.
18461 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18463 # Sed expression to map a string onto a valid variable name.
18464 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18467 exec 6>&1
18468 ## ----------------------------------- ##
18469 ## Main body of $CONFIG_STATUS script. ##
18470 ## ----------------------------------- ##
18471 _ASEOF
18472 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18475 # Save the log message, to keep $0 and so on meaningful, and to
18476 # report actual input values of CONFIG_FILES etc. instead of their
18477 # values after options handling.
18478 ac_log="
18479 This file was extended by Wine $as_me 1.7.39, which was
18480 generated by GNU Autoconf 2.69. Invocation command line was
18482 CONFIG_FILES = $CONFIG_FILES
18483 CONFIG_HEADERS = $CONFIG_HEADERS
18484 CONFIG_LINKS = $CONFIG_LINKS
18485 CONFIG_COMMANDS = $CONFIG_COMMANDS
18486 $ $0 $@
18488 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18491 _ACEOF
18493 case $ac_config_files in *"
18494 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18495 esac
18497 case $ac_config_headers in *"
18498 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18499 esac
18502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18503 # Files that config.status was made for.
18504 config_files="$ac_config_files"
18505 config_headers="$ac_config_headers"
18506 config_links="$ac_config_links"
18507 config_commands="$ac_config_commands"
18509 _ACEOF
18511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18512 ac_cs_usage="\
18513 \`$as_me' instantiates files and other configuration actions
18514 from templates according to the current configuration. Unless the files
18515 and actions are specified as TAGs, all are instantiated by default.
18517 Usage: $0 [OPTION]... [TAG]...
18519 -h, --help print this help, then exit
18520 -V, --version print version number and configuration settings, then exit
18521 --config print configuration, then exit
18522 -q, --quiet, --silent
18523 do not print progress messages
18524 -d, --debug don't remove temporary files
18525 --recheck update $as_me by reconfiguring in the same conditions
18526 --file=FILE[:TEMPLATE]
18527 instantiate the configuration file FILE
18528 --header=FILE[:TEMPLATE]
18529 instantiate the configuration header FILE
18531 Configuration files:
18532 $config_files
18534 Configuration headers:
18535 $config_headers
18537 Configuration links:
18538 $config_links
18540 Configuration commands:
18541 $config_commands
18543 Report bugs to <wine-devel@winehq.org>.
18544 Wine home page: <http://www.winehq.org>."
18546 _ACEOF
18547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18548 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18549 ac_cs_version="\\
18550 Wine config.status 1.7.39
18551 configured by $0, generated by GNU Autoconf 2.69,
18552 with options \\"\$ac_cs_config\\"
18554 Copyright (C) 2012 Free Software Foundation, Inc.
18555 This config.status script is free software; the Free Software Foundation
18556 gives unlimited permission to copy, distribute and modify it."
18558 ac_pwd='$ac_pwd'
18559 srcdir='$srcdir'
18560 test -n "\$AWK" || AWK=awk
18561 _ACEOF
18563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18564 # The default lists apply if the user does not specify any file.
18565 ac_need_defaults=:
18566 while test $# != 0
18568 case $1 in
18569 --*=?*)
18570 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18571 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18572 ac_shift=:
18574 --*=)
18575 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18576 ac_optarg=
18577 ac_shift=:
18580 ac_option=$1
18581 ac_optarg=$2
18582 ac_shift=shift
18584 esac
18586 case $ac_option in
18587 # Handling of the options.
18588 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18589 ac_cs_recheck=: ;;
18590 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18591 $as_echo "$ac_cs_version"; exit ;;
18592 --config | --confi | --conf | --con | --co | --c )
18593 $as_echo "$ac_cs_config"; exit ;;
18594 --debug | --debu | --deb | --de | --d | -d )
18595 debug=: ;;
18596 --file | --fil | --fi | --f )
18597 $ac_shift
18598 case $ac_optarg in
18599 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18600 '') as_fn_error $? "missing file argument" ;;
18601 esac
18602 as_fn_append CONFIG_FILES " '$ac_optarg'"
18603 ac_need_defaults=false;;
18604 --header | --heade | --head | --hea )
18605 $ac_shift
18606 case $ac_optarg in
18607 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18608 esac
18609 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18610 ac_need_defaults=false;;
18611 --he | --h)
18612 # Conflict between --help and --header
18613 as_fn_error $? "ambiguous option: \`$1'
18614 Try \`$0 --help' for more information.";;
18615 --help | --hel | -h )
18616 $as_echo "$ac_cs_usage"; exit ;;
18617 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18618 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18619 ac_cs_silent=: ;;
18621 # This is an error.
18622 -*) as_fn_error $? "unrecognized option: \`$1'
18623 Try \`$0 --help' for more information." ;;
18625 *) as_fn_append ac_config_targets " $1"
18626 ac_need_defaults=false ;;
18628 esac
18629 shift
18630 done
18632 ac_configure_extra_args=
18634 if $ac_cs_silent; then
18635 exec 6>/dev/null
18636 ac_configure_extra_args="$ac_configure_extra_args --silent"
18639 _ACEOF
18640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18641 if \$ac_cs_recheck; then
18642 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18643 shift
18644 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18645 CONFIG_SHELL='$SHELL'
18646 export CONFIG_SHELL
18647 exec "\$@"
18650 _ACEOF
18651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18652 exec 5>>config.log
18654 echo
18655 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18656 ## Running $as_me. ##
18657 _ASBOX
18658 $as_echo "$ac_log"
18659 } >&5
18661 _ACEOF
18662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18664 # INIT-COMMANDS
18666 wine_fn_output_makedep ()
18668 as_dir=tools; as_fn_mkdir_p
18669 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18671 wine_fn_output_makefile ()
18673 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18674 `cat $wine_rules_file`
18675 _WINE_EOF
18676 as_fn_error $? "could not create Makefile" "$LINENO" 5
18678 wine_fn_output_gitignore ()
18680 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18681 $GITIGNORE
18682 _WINE_EOF
18683 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18686 _ACEOF
18688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18690 # Handling of arguments.
18691 for ac_config_target in $ac_config_targets
18693 case $ac_config_target in
18694 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18695 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18696 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18697 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18698 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18699 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18700 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18701 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18702 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18703 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18704 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18705 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18706 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18707 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18709 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18710 esac
18711 done
18714 # If the user did not use the arguments to specify the items to instantiate,
18715 # then the envvar interface is used. Set only those that are not.
18716 # We use the long form for the default assignment because of an extremely
18717 # bizarre bug on SunOS 4.1.3.
18718 if $ac_need_defaults; then
18719 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18720 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18721 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18722 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18725 # Have a temporary directory for convenience. Make it in the build tree
18726 # simply because there is no reason against having it here, and in addition,
18727 # creating and moving files from /tmp can sometimes cause problems.
18728 # Hook for its removal unless debugging.
18729 # Note that there is a small window in which the directory will not be cleaned:
18730 # after its creation but before its name has been assigned to `$tmp'.
18731 $debug ||
18733 tmp= ac_tmp=
18734 trap 'exit_status=$?
18735 : "${ac_tmp:=$tmp}"
18736 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18738 trap 'as_fn_exit 1' 1 2 13 15
18740 # Create a (secure) tmp directory for tmp files.
18743 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18744 test -d "$tmp"
18745 } ||
18747 tmp=./conf$$-$RANDOM
18748 (umask 077 && mkdir "$tmp")
18749 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18750 ac_tmp=$tmp
18752 # Set up the scripts for CONFIG_FILES section.
18753 # No need to generate them if there are no CONFIG_FILES.
18754 # This happens for instance with `./config.status config.h'.
18755 if test -n "$CONFIG_FILES"; then
18758 ac_cr=`echo X | tr X '\015'`
18759 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18760 # But we know of no other shell where ac_cr would be empty at this
18761 # point, so we can use a bashism as a fallback.
18762 if test "x$ac_cr" = x; then
18763 eval ac_cr=\$\'\\r\'
18765 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18766 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18767 ac_cs_awk_cr='\\r'
18768 else
18769 ac_cs_awk_cr=$ac_cr
18772 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18773 _ACEOF
18777 echo "cat >conf$$subs.awk <<_ACEOF" &&
18778 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18779 echo "_ACEOF"
18780 } >conf$$subs.sh ||
18781 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18782 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18783 ac_delim='%!_!# '
18784 for ac_last_try in false false false false false :; do
18785 . ./conf$$subs.sh ||
18786 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18788 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18789 if test $ac_delim_n = $ac_delim_num; then
18790 break
18791 elif $ac_last_try; then
18792 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18793 else
18794 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18796 done
18797 rm -f conf$$subs.sh
18799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18800 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18801 _ACEOF
18802 sed -n '
18804 s/^/S["/; s/!.*/"]=/
18807 s/^[^!]*!//
18808 :repl
18809 t repl
18810 s/'"$ac_delim"'$//
18811 t delim
18814 s/\(.\{148\}\)..*/\1/
18815 t more1
18816 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18819 b repl
18820 :more1
18821 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18824 s/.\{148\}//
18825 t nl
18826 :delim
18828 s/\(.\{148\}\)..*/\1/
18829 t more2
18830 s/["\\]/\\&/g; s/^/"/; s/$/"/
18833 :more2
18834 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18837 s/.\{148\}//
18838 t delim
18839 ' <conf$$subs.awk | sed '
18840 /^[^""]/{
18842 s/\n//
18844 ' >>$CONFIG_STATUS || ac_write_fail=1
18845 rm -f conf$$subs.awk
18846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18847 _ACAWK
18848 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18849 for (key in S) S_is_set[key] = 1
18850 FS = "\a"
18854 line = $ 0
18855 nfields = split(line, field, "@")
18856 substed = 0
18857 len = length(field[1])
18858 for (i = 2; i < nfields; i++) {
18859 key = field[i]
18860 keylen = length(key)
18861 if (S_is_set[key]) {
18862 value = S[key]
18863 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18864 len += length(value) + length(field[++i])
18865 substed = 1
18866 } else
18867 len += 1 + keylen
18870 print line
18873 _ACAWK
18874 _ACEOF
18875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18876 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18877 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18878 else
18880 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18881 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18882 _ACEOF
18884 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18885 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18886 # trailing colons and then remove the whole line if VPATH becomes empty
18887 # (actually we leave an empty line to preserve line numbers).
18888 if test "x$srcdir" = x.; then
18889 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18891 s///
18892 s/^/:/
18893 s/[ ]*$/:/
18894 s/:\$(srcdir):/:/g
18895 s/:\${srcdir}:/:/g
18896 s/:@srcdir@:/:/g
18897 s/^:*//
18898 s/:*$//
18900 s/\(=[ ]*\).*/\1/
18902 s/\n//
18903 s/^[^=]*=[ ]*$//
18907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18908 fi # test -n "$CONFIG_FILES"
18910 # Set up the scripts for CONFIG_HEADERS section.
18911 # No need to generate them if there are no CONFIG_HEADERS.
18912 # This happens for instance with `./config.status Makefile'.
18913 if test -n "$CONFIG_HEADERS"; then
18914 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18915 BEGIN {
18916 _ACEOF
18918 # Transform confdefs.h into an awk script `defines.awk', embedded as
18919 # here-document in config.status, that substitutes the proper values into
18920 # config.h.in to produce config.h.
18922 # Create a delimiter string that does not exist in confdefs.h, to ease
18923 # handling of long lines.
18924 ac_delim='%!_!# '
18925 for ac_last_try in false false :; do
18926 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18927 if test -z "$ac_tt"; then
18928 break
18929 elif $ac_last_try; then
18930 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18931 else
18932 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18934 done
18936 # For the awk script, D is an array of macro values keyed by name,
18937 # likewise P contains macro parameters if any. Preserve backslash
18938 # newline sequences.
18940 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18941 sed -n '
18942 s/.\{148\}/&'"$ac_delim"'/g
18943 t rset
18944 :rset
18945 s/^[ ]*#[ ]*define[ ][ ]*/ /
18946 t def
18948 :def
18949 s/\\$//
18950 t bsnl
18951 s/["\\]/\\&/g
18952 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18953 D["\1"]=" \3"/p
18954 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18956 :bsnl
18957 s/["\\]/\\&/g
18958 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18959 D["\1"]=" \3\\\\\\n"\\/p
18960 t cont
18961 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18962 t cont
18964 :cont
18966 s/.\{148\}/&'"$ac_delim"'/g
18967 t clear
18968 :clear
18969 s/\\$//
18970 t bsnlc
18971 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18973 :bsnlc
18974 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18975 b cont
18976 ' <confdefs.h | sed '
18977 s/'"$ac_delim"'/"\\\
18978 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18981 for (key in D) D_is_set[key] = 1
18982 FS = "\a"
18984 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18985 line = \$ 0
18986 split(line, arg, " ")
18987 if (arg[1] == "#") {
18988 defundef = arg[2]
18989 mac1 = arg[3]
18990 } else {
18991 defundef = substr(arg[1], 2)
18992 mac1 = arg[2]
18994 split(mac1, mac2, "(") #)
18995 macro = mac2[1]
18996 prefix = substr(line, 1, index(line, defundef) - 1)
18997 if (D_is_set[macro]) {
18998 # Preserve the white space surrounding the "#".
18999 print prefix "define", macro P[macro] D[macro]
19000 next
19001 } else {
19002 # Replace #undef with comments. This is necessary, for example,
19003 # in the case of _POSIX_SOURCE, which is predefined and required
19004 # on some systems where configure will not decide to define it.
19005 if (defundef == "undef") {
19006 print "/*", prefix defundef, macro, "*/"
19007 next
19011 { print }
19012 _ACAWK
19013 _ACEOF
19014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19015 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19016 fi # test -n "$CONFIG_HEADERS"
19019 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19020 shift
19021 for ac_tag
19023 case $ac_tag in
19024 :[FHLC]) ac_mode=$ac_tag; continue;;
19025 esac
19026 case $ac_mode$ac_tag in
19027 :[FHL]*:*);;
19028 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19029 :[FH]-) ac_tag=-:-;;
19030 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19031 esac
19032 ac_save_IFS=$IFS
19033 IFS=:
19034 set x $ac_tag
19035 IFS=$ac_save_IFS
19036 shift
19037 ac_file=$1
19038 shift
19040 case $ac_mode in
19041 :L) ac_source=$1;;
19042 :[FH])
19043 ac_file_inputs=
19044 for ac_f
19046 case $ac_f in
19047 -) ac_f="$ac_tmp/stdin";;
19048 *) # Look for the file first in the build tree, then in the source tree
19049 # (if the path is not absolute). The absolute path cannot be DOS-style,
19050 # because $ac_f cannot contain `:'.
19051 test -f "$ac_f" ||
19052 case $ac_f in
19053 [\\/$]*) false;;
19054 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19055 esac ||
19056 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19057 esac
19058 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19059 as_fn_append ac_file_inputs " '$ac_f'"
19060 done
19062 # Let's still pretend it is `configure' which instantiates (i.e., don't
19063 # use $as_me), people would be surprised to read:
19064 # /* config.h. Generated by config.status. */
19065 configure_input='Generated from '`
19066 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19067 `' by configure.'
19068 if test x"$ac_file" != x-; then
19069 configure_input="$ac_file. $configure_input"
19070 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19071 $as_echo "$as_me: creating $ac_file" >&6;}
19073 # Neutralize special characters interpreted by sed in replacement strings.
19074 case $configure_input in #(
19075 *\&* | *\|* | *\\* )
19076 ac_sed_conf_input=`$as_echo "$configure_input" |
19077 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19078 *) ac_sed_conf_input=$configure_input;;
19079 esac
19081 case $ac_tag in
19082 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19083 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19084 esac
19086 esac
19088 ac_dir=`$as_dirname -- "$ac_file" ||
19089 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19090 X"$ac_file" : 'X\(//\)[^/]' \| \
19091 X"$ac_file" : 'X\(//\)$' \| \
19092 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19093 $as_echo X"$ac_file" |
19094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19095 s//\1/
19098 /^X\(\/\/\)[^/].*/{
19099 s//\1/
19102 /^X\(\/\/\)$/{
19103 s//\1/
19106 /^X\(\/\).*/{
19107 s//\1/
19110 s/.*/./; q'`
19111 as_dir="$ac_dir"; as_fn_mkdir_p
19112 ac_builddir=.
19114 case "$ac_dir" in
19115 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19117 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19118 # A ".." for each directory in $ac_dir_suffix.
19119 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19120 case $ac_top_builddir_sub in
19121 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19122 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19123 esac ;;
19124 esac
19125 ac_abs_top_builddir=$ac_pwd
19126 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19127 # for backward compatibility:
19128 ac_top_builddir=$ac_top_build_prefix
19130 case $srcdir in
19131 .) # We are building in place.
19132 ac_srcdir=.
19133 ac_top_srcdir=$ac_top_builddir_sub
19134 ac_abs_top_srcdir=$ac_pwd ;;
19135 [\\/]* | ?:[\\/]* ) # Absolute name.
19136 ac_srcdir=$srcdir$ac_dir_suffix;
19137 ac_top_srcdir=$srcdir
19138 ac_abs_top_srcdir=$srcdir ;;
19139 *) # Relative name.
19140 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19141 ac_top_srcdir=$ac_top_build_prefix$srcdir
19142 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19143 esac
19144 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19147 case $ac_mode in
19150 # CONFIG_FILE
19153 _ACEOF
19155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19156 # If the template does not know about datarootdir, expand it.
19157 # FIXME: This hack should be removed a few years after 2.60.
19158 ac_datarootdir_hack=; ac_datarootdir_seen=
19159 ac_sed_dataroot='
19160 /datarootdir/ {
19164 /@datadir@/p
19165 /@docdir@/p
19166 /@infodir@/p
19167 /@localedir@/p
19168 /@mandir@/p'
19169 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19170 *datarootdir*) ac_datarootdir_seen=yes;;
19171 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19173 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19174 _ACEOF
19175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19176 ac_datarootdir_hack='
19177 s&@datadir@&$datadir&g
19178 s&@docdir@&$docdir&g
19179 s&@infodir@&$infodir&g
19180 s&@localedir@&$localedir&g
19181 s&@mandir@&$mandir&g
19182 s&\\\${datarootdir}&$datarootdir&g' ;;
19183 esac
19184 _ACEOF
19186 # Neutralize VPATH when `$srcdir' = `.'.
19187 # Shell code in configure.ac might set extrasub.
19188 # FIXME: do we really want to maintain this feature?
19189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19190 ac_sed_extra="$ac_vpsub
19191 $extrasub
19192 _ACEOF
19193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19195 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19196 s|@configure_input@|$ac_sed_conf_input|;t t
19197 s&@top_builddir@&$ac_top_builddir_sub&;t t
19198 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19199 s&@srcdir@&$ac_srcdir&;t t
19200 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19201 s&@top_srcdir@&$ac_top_srcdir&;t t
19202 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19203 s&@builddir@&$ac_builddir&;t t
19204 s&@abs_builddir@&$ac_abs_builddir&;t t
19205 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19206 $ac_datarootdir_hack
19208 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19209 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19211 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19212 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19213 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19214 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19216 which seems to be undefined. Please make sure it is defined" >&5
19217 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19218 which seems to be undefined. Please make sure it is defined" >&2;}
19220 rm -f "$ac_tmp/stdin"
19221 case $ac_file in
19222 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19223 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19224 esac \
19225 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19229 # CONFIG_HEADER
19231 if test x"$ac_file" != x-; then
19233 $as_echo "/* $configure_input */" \
19234 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19235 } >"$ac_tmp/config.h" \
19236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19237 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19239 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19240 else
19241 rm -f "$ac_file"
19242 mv "$ac_tmp/config.h" "$ac_file" \
19243 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19245 else
19246 $as_echo "/* $configure_input */" \
19247 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19248 || as_fn_error $? "could not create -" "$LINENO" 5
19253 # CONFIG_LINK
19256 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19258 else
19259 # Prefer the file from the source tree if names are identical.
19260 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19261 ac_source=$srcdir/$ac_source
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19265 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19267 if test ! -r "$ac_source"; then
19268 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19270 rm -f "$ac_file"
19272 # Try a relative symlink, then a hard link, then a copy.
19273 case $ac_source in
19274 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19275 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19276 esac
19277 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19278 ln "$ac_source" "$ac_file" 2>/dev/null ||
19279 cp -p "$ac_source" "$ac_file" ||
19280 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19283 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19284 $as_echo "$as_me: executing $ac_file commands" >&6;}
19286 esac
19289 case $ac_file$ac_mode in
19290 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19291 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19292 "Makefile":C) wine_fn_output_makefile Makefile ;;
19293 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19295 esac
19296 done # for ac_tag
19299 as_fn_exit 0
19300 _ACEOF
19301 ac_clean_files=$ac_clean_files_save
19303 test $ac_write_fail = 0 ||
19304 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19307 # configure is writing to config.log, and then calls config.status.
19308 # config.status does its own redirection, appending to config.log.
19309 # Unfortunately, on DOS this fails, as config.log is still kept open
19310 # by configure, so config.status won't be able to write to it; its
19311 # output is simply discarded. So we exec the FD to /dev/null,
19312 # effectively closing config.log, so it can be properly (re)opened and
19313 # appended to by config.status. When coming back to configure, we
19314 # need to make the FD available again.
19315 if test "$no_create" != yes; then
19316 ac_cs_success=:
19317 ac_config_status_args=
19318 test "$silent" = yes &&
19319 ac_config_status_args="$ac_config_status_args --quiet"
19320 exec 5>/dev/null
19321 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19322 exec 5>>config.log
19323 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19324 # would make configure fail if this is the last instruction.
19325 $ac_cs_success || as_fn_exit 1
19327 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19329 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19333 if test "$no_create" = "yes"
19334 then
19335 exit 0
19338 ac_save_IFS="$IFS"
19339 if test "x$wine_notices != "x; then
19340 echo >&6
19341 IFS="|"
19342 for msg in $wine_notices; do
19343 IFS="$ac_save_IFS"
19344 if ${msg:+false} :; then :
19346 else
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19348 $as_echo "$as_me: $msg" >&6;}
19350 done
19352 IFS="|"
19353 for msg in $wine_warnings; do
19354 IFS="$ac_save_IFS"
19355 if ${msg:+false} :; then :
19357 else
19358 echo >&2
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19360 $as_echo "$as_me: WARNING: $msg" >&2;}
19362 done
19363 IFS="$ac_save_IFS"
19365 $as_echo "
19366 $as_me: Finished. Do '${ac_make}' to compile Wine.
19367 " >&6